SMAER00200_실시관리(진방).xfdl 181 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAER00200" position="absolute 0 0 1201 805" titletext="실시관리(영상의학과)" oninit="SMAER00200_oninit" onload="SMAER00200_onload">
  5. <Layouts>
  6. <Layout>
  7. <Tab id="switch1" taborder="3" tabindex="0" position="absolute 0 100 273 776" anchor="left top bottom" onchanged="switch1_onchanged" class="tab_Normal">
  8. <Tabpages>
  9. <Tabpage id="case2" text="미실시">
  10. <Layouts>
  11. <Layout>
  12. <Shape id="line10" linetype="horizontal" class="line_10" position="absolute 0 0 273 6"/>
  13. <Grid id="grd_mainordlist2" taborder="1" binddataset="ds_main_ordlist2_mainordlist" useinputpanel="false" position="absolute 0 5 273 638" autoenter="select" cellsizingtype="both" anchor="left top bottom" autosizingtype="row" extendsizetype="row" oncellclick="switch1_case2_grd_mainordlist2_oncellclick">
  14. <Formats>
  15. <Format id="default">
  16. <Columns>
  17. <Column size="0"/>
  18. <Column size="54"/>
  19. <Column size="54"/>
  20. <Column size="57"/>
  21. <Column size="35"/>
  22. <Column size="0"/>
  23. <Column size="59"/>
  24. <Column size="0"/>
  25. <Column size="0"/>
  26. <Column size="0"/>
  27. <Column size="0"/>
  28. <Column size="0"/>
  29. <Column size="0"/>
  30. <Column size="0"/>
  31. <Column size="37"/>
  32. <Column size="0"/>
  33. </Columns>
  34. <Rows>
  35. <Row size="29" band="head"/>
  36. <Row size="24"/>
  37. </Rows>
  38. <Band id="head">
  39. <Cell text="No"/>
  40. <Cell col="1" text="접수일시"/>
  41. <Cell col="2" text="등록번호"/>
  42. <Cell col="3" text="환자명"/>
  43. <Cell col="4" text="구분"/>
  44. <Cell col="5" text="I/O"/>
  45. <Cell col="6" text="병실"/>
  46. <Cell col="7" text="예약"/>
  47. <Cell col="8" text="과"/>
  48. <Cell col="9" text="처방일련번호"/>
  49. <Cell col="10" text="진료과코드"/>
  50. <Cell col="11" text="예약일자"/>
  51. <Cell col="12" text="접수일련번호"/>
  52. <Cell col="13" text="검사실코드"/>
  53. <Cell col="14" text="처방&#13;&#10;일자"/>
  54. <Cell col="15" text="aftrcptinfo"/>
  55. </Band>
  56. <Band id="body">
  57. <Cell text="bind:no"/>
  58. <Cell col="1" displaytype="date" style="background:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');background2:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');" text="bind:acpttm" mask="HH:mm:ss" calendardisplaynulltype="nulltext"/>
  59. <Cell col="2" style="background:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');background2:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');" text="bind:pid"/>
  60. <Cell col="3" style="background:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');background2:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');" text="bind:patnm"/>
  61. <Cell col="4" style="background:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');background2:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');" text="bind:patgb"/>
  62. <Cell col="5" displaytype="combo" edittype="combo" style="background:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');background2:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');" text="bind:prcpgenrflag"/>
  63. <Cell col="6" style="background:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');background2:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');" text="bind:roomcd"/>
  64. <Cell col="7" style="background:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');background2:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');" text="bind:rsrvtm"/>
  65. <Cell col="8" style="background:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');background2:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');" text="bind:depthngnm"/>
  66. <Cell col="9" style="background:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');background2:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');" text="bind:execprcpuniqno"/>
  67. <Cell col="10" style="background:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');background2:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');" text="bind:orddeptcd"/>
  68. <Cell col="11" style="background:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');background2:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');" text="bind:rsrvdd"/>
  69. <Cell col="12" style="background:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');background2:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');" text="bind:acptseqno"/>
  70. <Cell col="13" style="background:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');background2:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');" text="bind:excuroomcd"/>
  71. <Cell col="14" style="align:left middle;padding:3 3 3 3;background:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');background2:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');" text="bind:prcpdd" wordwrap="word" autosizerow="limitmin"/>
  72. <Cell col="15" text="bind:aftrcptinfo"/>
  73. </Band>
  74. </Format>
  75. </Formats>
  76. </Grid>
  77. </Layout>
  78. </Layouts>
  79. </Tabpage>
  80. <Tabpage id="case3" text="실시">
  81. <Layouts>
  82. <Layout>
  83. <Shape id="line11" linetype="horizontal" class="line_10" position="absolute 0 0 273 6"/>
  84. <Grid id="grd_mainordlist3" taborder="1" binddataset="ds_main_ordlist3_mainordlist" useinputpanel="false" position="absolute 0 5 273 638" autoenter="select" cellsizingtype="both" anchor="left top bottom" extendsizetype="row" autosizingtype="row" oncellclick="switch1_case3_grd_mainordlist3_oncellclick">
  85. <Formats>
  86. <Format id="default">
  87. <Columns>
  88. <Column size="21"/>
  89. <Column size="72"/>
  90. <Column size="67"/>
  91. <Column size="32"/>
  92. <Column size="73"/>
  93. <Column size="0"/>
  94. <Column size="0"/>
  95. <Column size="0"/>
  96. <Column size="0"/>
  97. <Column size="0"/>
  98. <Column size="0"/>
  99. <Column size="37"/>
  100. <Column size="0"/>
  101. <Column size="0"/>
  102. </Columns>
  103. <Rows>
  104. <Row size="29" band="head"/>
  105. <Row size="24"/>
  106. </Rows>
  107. <Band id="head">
  108. <Cell text="No"/>
  109. <Cell col="1" text="등록번호"/>
  110. <Cell col="2" text="환자명"/>
  111. <Cell col="3" text="I/O"/>
  112. <Cell col="4" text="병실"/>
  113. <Cell col="5" text="접수"/>
  114. <Cell col="6" text="예약"/>
  115. <Cell col="7" text="과"/>
  116. <Cell col="8" text="처방일련번호"/>
  117. <Cell col="9" text="진료과코드"/>
  118. <Cell col="10" text="검사실"/>
  119. <Cell col="11" text="처방&#13;&#10;일자"/>
  120. <Cell col="12" text="aftrcptinfo"/>
  121. <Cell col="13" text="예약일자"/>
  122. </Band>
  123. <Band id="body">
  124. <Cell style="background:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');background2:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');" text="bind:no"/>
  125. <Cell col="1" style="background:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');background2:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');" text="bind:pid"/>
  126. <Cell col="2" style="background:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');background2:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');" text="bind:patnm"/>
  127. <Cell col="3" displaytype="combo" edittype="combo" style="align:center middle;background:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');background2:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');" text="bind:prcpgenrflag" combodataset="ds_init_baseinfo_initprcpgenrflagcd_M0010" combocodecol="cdid" combodatacol="cdnm"/>
  128. <Cell col="4" style="background:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');background2:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');" text="bind:roomcd"/>
  129. <Cell col="5" style="background:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');background2:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');" text="bind:acpttm"/>
  130. <Cell col="6" style="background:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');background2:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');" text="bind:rsrvtm"/>
  131. <Cell col="7" style="background:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');background2:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');" text="bind:depthngnm"/>
  132. <Cell col="8" style="background:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');background2:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');" text="bind:execprcpuniqno"/>
  133. <Cell col="9" style="background:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');background2:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');" text="bind:orddeptcd"/>
  134. <Cell col="10" style="background:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');background2:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');" text="bind:excuroomcd"/>
  135. <Cell col="11" style="align:left middle;padding:2 2 2 2;background:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');background2:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');" text="bind:prcpdd" wordwrap="word" autosizerow="limitmin"/>
  136. <Cell col="12" text="bind:aftrcptinfo"/>
  137. <Cell col="13" text="bind:rsrvdd"/>
  138. </Band>
  139. </Format>
  140. </Formats>
  141. </Grid>
  142. </Layout>
  143. </Layouts>
  144. </Tabpage>
  145. <Tabpage id="case5" text="결과">
  146. <Layouts>
  147. <Layout>
  148. <Shape id="line9" linetype="horizontal" class="line_10" position="absolute 0 0 273 6"/>
  149. <Grid id="grd_mainordlist5" taborder="1" binddataset="ds_main_ordlist5_mainordlist" useinputpanel="false" position="absolute 0 5 273 638" autoenter="select" cellsizingtype="col" anchor="left top bottom" oncellclick="switch1_case5_grd_mainordlist5_oncellclick">
  150. <Formats>
  151. <Format id="default">
  152. <Columns>
  153. <Column size="23"/>
  154. <Column size="64"/>
  155. <Column size="69"/>
  156. <Column size="29"/>
  157. <Column size="75"/>
  158. <Column size="100"/>
  159. <Column size="100"/>
  160. <Column size="100"/>
  161. <Column size="100"/>
  162. <Column size="100"/>
  163. <Column size="100"/>
  164. <Column size="100"/>
  165. <Column size="100"/>
  166. <Column size="0"/>
  167. </Columns>
  168. <Rows>
  169. <Row size="24" band="head"/>
  170. <Row size="24"/>
  171. </Rows>
  172. <Band id="head">
  173. <Cell text="No"/>
  174. <Cell col="1" text="등록번호"/>
  175. <Cell col="2" text="환자명"/>
  176. <Cell col="3" text="I/O"/>
  177. <Cell col="4" text="병실"/>
  178. <Cell col="5" text="접수"/>
  179. <Cell col="6" text="예약"/>
  180. <Cell col="7" text="과"/>
  181. <Cell col="8" text="처방일련번호"/>
  182. <Cell col="9" text="진료과코드"/>
  183. <Cell col="10" text="예약일자"/>
  184. <Cell col="11" text="검사실"/>
  185. <Cell col="12" text="처방일자"/>
  186. <Cell col="13" text="aftrcptinfo"/>
  187. </Band>
  188. <Band id="body">
  189. <Cell style="background:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');background2:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');" text="bind:no"/>
  190. <Cell col="1" style="background:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');background2:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');" text="bind:pid"/>
  191. <Cell col="2" style="background:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');background2:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');" text="bind:patnm"/>
  192. <Cell col="3" style="background:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');background2:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');" text="bind:prcpgenrflag"/>
  193. <Cell col="4" style="background:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');background2:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');" text="bind:roomcd"/>
  194. <Cell col="5" style="background:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');background2:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');" text="bind:acpttm"/>
  195. <Cell col="6" style="background:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');background2:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');" text="bind:rsrvtm"/>
  196. <Cell col="7" style="background:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');background2:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');" text="bind:depthngnm"/>
  197. <Cell col="8" style="background:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');background2:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');" text="bind:execprcpuniqno"/>
  198. <Cell col="9" style="background:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');background2:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');" text="bind:orddeptcd"/>
  199. <Cell col="10" style="background:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');background2:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');" text="bind:rsrvdd"/>
  200. <Cell col="11" style="background:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');background2:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');" text="bind:excuroomcd"/>
  201. <Cell col="12" style="background:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');background2:EXPR(aftrcptinfo == 'A' ? '#fab7bf' : '');" text="bind:prcpdd"/>
  202. <Cell col="13" text="bind:aftrcptinfo"/>
  203. </Band>
  204. </Format>
  205. </Formats>
  206. </Grid>
  207. </Layout>
  208. </Layouts>
  209. </Tabpage>
  210. </Tabpages>
  211. </Tab>
  212. <Combo id="chk_ioflag" taborder="20" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 213 95 267 114" onitemchanged="chk_ioflag_onitemchanged">
  213. <Dataset id="innerdataset">
  214. <ColumnInfo>
  215. <Column id="codecolumn"/>
  216. <Column id="datacolumn"/>
  217. </ColumnInfo>
  218. <Rows>
  219. <Row>
  220. <Col id="codecolumn">ALL</Col>
  221. <Col id="datacolumn">전체</Col>
  222. </Row>
  223. <Row>
  224. <Col id="codecolumn">S</Col>
  225. <Col id="datacolumn">건진</Col>
  226. </Row>
  227. <Row>
  228. <Col id="codecolumn">A</Col>
  229. <Col id="datacolumn">영상</Col>
  230. </Row>
  231. </Rows>
  232. </Dataset>
  233. </Combo>
  234. <Static id="caption6" text="실시 관리(영상의학과)" class="tit_1" position="absolute 0 0 193 24"/>
  235. <Div id="group2" taborder="1" class="div_SA" position="absolute 0 24 1195 84" anchor="left top right">
  236. <Layouts>
  237. <Layout>
  238. <Shape id="line1" linetype="vertical" visible="false" position="absolute 1120 9 1126 52" anchor="top right"/>
  239. <Static id="caption10" text="실시자4 :" class="search_name" position="absolute 792 35 877 52"/>
  240. <Static id="caption1" text="등록번호 :" class="search_name" position="absolute 230 10 305 27" style="background:#f2b20cff;"/>
  241. <Static id="caption11" text="구 분 :" class="search_name" position="absolute 12 10 87 27"/>
  242. <Button id="button61" taborder="1" class="icon_search" visible="false" position="absolute 424 0 440 16"/>
  243. <Static id="caption3" text="검사실 :" class="search_name" position="absolute 12 35 92 52"/>
  244. <Static id="caption5" text="적용일자 :" class="search_name" position="absolute 915 11 1006 28"/>
  245. <Combo id="cmb_execrid1" taborder="2" innerdataset="@ds_init_cmb_info_initexecrid1" codecolumn="basecd" datacolumn="basecdflagdesc" class="combo_search" position="absolute 315 34 405 53" style="font:Dotum,9,bold;"/>
  246. <Static id="caption7" text="실시자1 :" class="search_name" position="absolute 230 37 315 54"/>
  247. <Combo id="cmb_execrid2" taborder="3" innerdataset="@ds_init_cmb_info_initexecrid2" codecolumn="basecd" datacolumn="basecdflagdesc" class="combo_search" position="absolute 498 34 588 53" style="font:Dotum,9,bold;"/>
  248. <Static id="caption8" text="실시자2 :" class="search_name" position="absolute 422 36 507 53"/>
  249. <Combo id="cmb_execrid3" taborder="4" innerdataset="@ds_init_cmb_info_initexecrid3" codecolumn="basecd" datacolumn="basecdflagdesc" class="combo_search" position="absolute 685 34 770 53" style="font:Dotum,9,bold;"/>
  250. <Static id="caption9" text="실시자3 :" class="search_name" position="absolute 604 37 689 54"/>
  251. <Edit id="output1" taborder="5" readonly="true" position="absolute 559 9 609 28" style="border:1 solid #f2b20cff ;padding:0 0 0 0;align:center middle;font:Dotum,9,bold;"/>
  252. <Edit id="output3" taborder="7" readonly="true" position="absolute 484 9 558 28" style="border:1 solid #f2b20cff ;font:Dotum,12,bold;"/>
  253. <Button id="btn_sea" taborder="8" text="조회" class="btn1" visible="false" position="absolute 1131 20 1187 42" anchor="top right" onclick="group2_btn_sea_onclick"/>
  254. <Combo id="cmb_excuroomgrp" taborder="9" innerdataset="@ds_init_cmb_info_initexcuroomgrp" codecolumn="basecdcnts" datacolumn="basecdcnts2" class="combo_s_essential" position="absolute 82 9 204 28" style="border:2 solid #808080ff ;font:Dotum,9,bold;" index="-1" onitemchanged="group2_cmb_excuroomgrp_onitemchanged"/>
  255. <Combo id="cmb_excuroom" taborder="10" innerdataset="@ds_init_cmb_info2_initexecroom" codecolumn="basecd" datacolumn="basecdflagdesc" class="combo_default" position="absolute 82 34 204 53" style="border:2 solid lightgrey ;font:Dotum,9,bold;" onitemchanged="group2_cmb_excuroom_onitemchanged"/>
  256. <Edit id="ipt_pid" taborder="11" class="input_search" position="absolute 315 9 404 28" style="border:1 solid #f2b20cff ;font:Dotum,12,bold;" onkeyup="group2_ipt_pid_onkeyup"/>
  257. <Calendar id="ipt_date1" taborder="12" class="input_default" position="absolute 991 8 1106 30" style="border:2 solid lightgrey lightgrey;font:Dotum,9,bold;" autoselect="true"/>
  258. <Edit id="output2" taborder="13" readonly="true" position="absolute 610 9 670 28" style="border:1 solid #f2b20cff ;padding:0 0 0 0;align:center middle;font:Dotum,9,bold;"/>
  259. <Edit id="output4" taborder="14" readonly="true" position="absolute 739 9 756 28" style="border:1 solid #f2b20cff ;padding:0 0 0 0;align:center middle;"/>
  260. <Edit id="output5" taborder="15" readonly="true" position="absolute 757 9 782 28" style="border:1 solid #f2b20cff ;"/>
  261. <Static id="caption18" text="환자명 :" class="cell_1" position="absolute 423 9 483 28" style="background:#f2b20cff;font:Dotum,9,bold;"/>
  262. <Static id="caption19" text="S/A :" class="cell_1" position="absolute 685 9 738 28" style="background:#f2b20cff;font:Dotum,9,bold;"/>
  263. <Edit id="output6" taborder="16" readonly="true" position="absolute 783 9 903 28" style="border:1 solid #f2b20cff ;"/>
  264. <Combo id="cmb_execrid4" taborder="6" innerdataset="@ds_init_cmb_info_initexecrid4" codecolumn="basecd" datacolumn="basecdflagdesc" class="combo_search" position="absolute 873 34 968 53" style="font:Dotum,9,bold;"/>
  265. </Layout>
  266. </Layouts>
  267. </Div>
  268. <Button id="btn_roommodify" taborder="2" text="실수정" class="btn2" position="absolute 875 95 928 114" onclick="btn_roommodify_onclick"/>
  269. <Grid id="datagrid3" taborder="4" binddataset="ds_main_subordlist_subordlist3" useinputpanel="false" position="absolute 277 599 1039 669" autoenter="select" cellsizingtype="col" anchor="left top bottom">
  270. <Formats>
  271. <Format id="default">
  272. <Columns>
  273. <Column size="89"/>
  274. <Column size="352"/>
  275. <Column size="106"/>
  276. <Column size="100"/>
  277. <Column size="91"/>
  278. </Columns>
  279. <Rows>
  280. <Row size="24" band="head"/>
  281. <Row size="24"/>
  282. </Rows>
  283. <Band id="head">
  284. <Cell text="일자"/>
  285. <Cell col="1" text="상병명"/>
  286. <Cell col="2" text="상병코드"/>
  287. <Cell col="3" text="진료과"/>
  288. <Cell col="4" text="등록의사"/>
  289. </Band>
  290. <Band id="body">
  291. <Cell displaytype="date" text="bind:diagdd" calendardisplaynulltype="nulltext"/>
  292. <Cell col="1" style="align:left middle;padding:2 2 2 2;" text="bind:diagengnm"/>
  293. <Cell col="2" text="bind:diagcd"/>
  294. <Cell col="3" text="bind:orddeptnm"/>
  295. <Cell col="4" text="bind:orddrnm"/>
  296. </Band>
  297. </Format>
  298. </Formats>
  299. </Grid>
  300. <Grid id="datagrid4" taborder="5" binddataset="ds_main_ordlist2_subordlist4" useinputpanel="false" position="absolute 1052 119 1195 668" autoenter="select" cellsizingtype="col" anchor="all" oncelldblclick="datagrid4_oncelldblclick">
  301. <Formats>
  302. <Format id="default">
  303. <Columns>
  304. <Column size="62"/>
  305. <Column size="33"/>
  306. <Column size="38"/>
  307. <Column size="0"/>
  308. <Column size="0"/>
  309. <Column size="0"/>
  310. </Columns>
  311. <Rows>
  312. <Row size="24" band="head"/>
  313. <Row size="24"/>
  314. </Rows>
  315. <Band id="head">
  316. <Cell text="검사실"/>
  317. <Cell col="1" text="인원"/>
  318. <Cell col="2" text="건수"/>
  319. <Cell col="3" text="검사실코드"/>
  320. <Cell col="4" text="검사실그룹코드"/>
  321. <Cell col="5" text="openyn"/>
  322. </Band>
  323. <Band id="body">
  324. <Cell style="align:left top;padding:5 2 3 2;background:EXPR(baseroomopenyn == 'N' ? '#43c8f5' : '');background2:EXPR(baseroomopenyn == 'N' ? '#43c8f5' : '');" text="bind:basecdflagdesc" wordwrap="word" taborder="0"/>
  325. <Cell col="1" style="background:EXPR(baseroomopenyn == 'N' ? '#43c8f5' : '');background2:EXPR(baseroomopenyn == 'N' ? '#43c8f5' : '');" text="bind:cnt"/>
  326. <Cell col="2" style="background:EXPR(baseroomopenyn == 'N' ? '#43c8f5' : '');background2:EXPR(baseroomopenyn == 'N' ? '#43c8f5' : '');" text="bind:partcntstats"/>
  327. <Cell col="3" text="bind:basecd"/>
  328. <Cell col="4" text="bind:basecdcnts"/>
  329. <Cell col="5" text="bind:baseroomopenyn"/>
  330. </Band>
  331. </Format>
  332. </Formats>
  333. </Grid>
  334. <Static id="caption2" text="처방목록" class="tit_2" position="absolute 277 98 354 119"/>
  335. <Static id="caption22" text="상병" class="tit_2" position="absolute 277 578 354 599"/>
  336. <Static id="caption12" text="처방 Comment" class="tit_2" position="absolute 277 673 400 694" anchor="left bottom"/>
  337. <Static id="caption4" text="보류처방목록" class="tit_2" position="absolute 277 403 390 424"/>
  338. <Shape id="line2" linetype="horizontal" class="line_10" position="absolute 277 594 1039 600"/>
  339. <Shape id="line3" linetype="horizontal" class="line_10" position="absolute 277 419 1039 425"/>
  340. <Static id="caption15" text="실별대기현황&#13;&#10; //messageBox(&quot;실별대기자현황 구현중입니다.&quot;,&quot;I999&quot;);&#13;&#10; btn_case2.selected = true;&#13;&#10; model.toggle(&quot;case2&quot;);&#13;&#10; model.refresh();&#13;&#10; fGetExamCureAcptList(&quot;J&quot;);&#13;&#10; " class="tit_2" position="absolute 1052 98 1185 119"/>
  341. <TextArea id="tar_prcpremfact" taborder="6" position="absolute 277 694 561 754" wordwrap="word" autoselect="true" anchor="left bottom"/>
  342. <Shape id="line5" linetype="horizontal" class="line_10" position="absolute 277 114 1039 120"/>
  343. <Shape id="line6" linetype="horizontal" class="line_10" position="absolute 277 689 561 695" anchor="left bottom"/>
  344. <Shape id="line4" linetype="horizontal" class="line_10" position="absolute 1052 114 1195 120" anchor="left top right"/>
  345. <Static id="caption13" text="접수/예약 Comment" class="tit_2" position="absolute 566 673 740 694" anchor="left bottom"/>
  346. <TextArea id="tar_acptrem" taborder="7" position="absolute 566 694 877 754" wordwrap="word" autoselect="true" anchor="left bottom"/>
  347. <Shape id="line7" linetype="horizontal" class="line_10" position="absolute 566 689 877 695" anchor="left bottom"/>
  348. <Button id="btn_save" taborder="8" text="저장" class="btn2" visible="false" position="absolute 1149 670 1191 689" anchor="right bottom"/>
  349. <Grid id="grd_subordlist1" taborder="9" binddataset="ds_main_subordlist_subordlist1" useinputpanel="false" position="absolute 277 119 1039 394" autoenter="select" cellsizingtype="both" autosizingtype="row" extendsizetype="row" oncellclick="grd_subordlist1_oncellclick" onexpandup="grd_subordlist1_onexpandup" oncelldblclick="grd_subordlist1_oncelldblclick" onrbuttonup="grd_subordlist1_onrbuttonup" cellclickbound="cell">
  350. <Formats>
  351. <Format id="default">
  352. <Columns>
  353. <Column size="23" band="left"/>
  354. <Column size="24"/>
  355. <Column size="69"/>
  356. <Column size="68"/>
  357. <Column size="54"/>
  358. <Column size="0"/>
  359. <Column size="171"/>
  360. <Column size="57"/>
  361. <Column size="0"/>
  362. <Column size="43"/>
  363. <Column size="0"/>
  364. <Column size="0"/>
  365. <Column size="0"/>
  366. <Column size="35"/>
  367. <Column size="0"/>
  368. <Column size="70"/>
  369. <Column size="55"/>
  370. <Column size="0"/>
  371. <Column size="0"/>
  372. <Column size="50"/>
  373. <Column size="59"/>
  374. <Column size="0"/>
  375. <Column size="83"/>
  376. <Column size="0"/>
  377. <Column size="74"/>
  378. <Column size="0"/>
  379. <Column size="0"/>
  380. <Column size="0"/>
  381. <Column size="0"/>
  382. <Column size="0"/>
  383. <Column size="0"/>
  384. <Column size="0"/>
  385. <Column size="0"/>
  386. <Column size="0"/>
  387. <Column size="0"/>
  388. <Column size="0"/>
  389. <Column size="0"/>
  390. <Column size="0"/>
  391. <Column size="0"/>
  392. <Column size="0"/>
  393. <Column size="0"/>
  394. <Column size="0"/>
  395. <Column size="0"/>
  396. <Column size="0"/>
  397. <Column size="0"/>
  398. <Column size="0"/>
  399. <Column size="0"/>
  400. <Column size="0"/>
  401. <Column size="0"/>
  402. <Column size="0"/>
  403. <Column size="0"/>
  404. <Column size="0"/>
  405. <Column size="0"/>
  406. <Column size="0"/>
  407. <Column size="0"/>
  408. <Column size="0"/>
  409. <Column size="0"/>
  410. <Column size="0"/>
  411. <Column size="0"/>
  412. <Column size="0"/>
  413. <Column size="0"/>
  414. <Column size="0"/>
  415. <Column size="30"/>
  416. <Column size="100"/>
  417. </Columns>
  418. <Rows>
  419. <Row size="24" band="head"/>
  420. <Row size="24"/>
  421. </Rows>
  422. <Band id="head">
  423. <Cell/>
  424. <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
  425. <Cell col="2" text="접수일시"/>
  426. <Cell col="3" text="처방일자"/>
  427. <Cell col="4" text=" 상태"/>
  428. <Cell col="5" text="상태"/>
  429. <Cell col="6" text="처방명"/>
  430. <Cell col="7" text="검사실"/>
  431. <Cell col="8" text="검사실그룹"/>
  432. <Cell col="9" text="동의서"/>
  433. <Cell col="10" text="스캔"/>
  434. <Cell col="11" text="repeat"/>
  435. <Cell col="12" text="조영제"/>
  436. <Cell col="13" text="취소"/>
  437. <Cell col="14" text="예약일시"/>
  438. <Cell col="15" text="실시일시"/>
  439. <Cell col="16" text="전송여부"/>
  440. <Cell col="17" text="처방종류"/>
  441. <Cell col="18" text="검사실"/>
  442. <Cell col="19" text="처방과"/>
  443. <Cell col="20" text="처방의사"/>
  444. <Cell col="21" text="구분"/>
  445. <Cell col="22" text="적용일자"/>
  446. <Cell col="23" text="execprcpuniqno"/>
  447. <Cell col="24" text="검사코드"/>
  448. <Cell col="25" text="prcpexecdeptcd"/>
  449. <Cell col="26" text="rgstdeptcd"/>
  450. <Cell col="27" text="rgstrid"/>
  451. <Cell col="28" text="pid"/>
  452. <Cell col="29" text="portprcpflag"/>
  453. <Cell col="30" text="inflag"/>
  454. <Cell col="31" text="rcptacptyn"/>
  455. <Cell col="32" text="ExecBaseFlag"/>
  456. <Cell col="33" text="lrgcd"/>
  457. <Cell col="34" text="mdlcd"/>
  458. <Cell col="35" text="excupartcd"/>
  459. <Cell col="36" text="modality"/>
  460. <Cell col="37" text="rcptno"/>
  461. <Cell col="38" text="acptrem"/>
  462. <Cell col="39" text="execrem"/>
  463. <Cell col="40" text="prcpdelivefact"/>
  464. <Cell col="41" text="execrid1"/>
  465. <Cell col="42" text="execrid2"/>
  466. <Cell col="43" text="execrid3"/>
  467. <Cell col="44" text="execrid4"/>
  468. <Cell col="45" text="acptid"/>
  469. <Cell col="46" text="rcptdd"/>
  470. <Cell col="47" text="carecnfmdd"/>
  471. <Cell col="48" text="orddd"/>
  472. <Cell col="49" text="cretno"/>
  473. <Cell col="50" text="basesuppdeptcd"/>
  474. <Cell col="51" text="orddepthngnm"/>
  475. <Cell col="52" text="rgsttm"/>
  476. <Cell col="53" text="pacsnocretyn"/>
  477. <Cell col="54" text="orddeptcd"/>
  478. <Cell col="55" text="orddrid"/>
  479. <Cell col="56" text="prcpno"/>
  480. <Cell col="57" text="precureprcpflag"/>
  481. <Cell col="58" text="clincstdycd"/>
  482. <Cell col="59" text="wardcd"/>
  483. <Cell col="60" text="roomcd"/>
  484. <Cell col="61" text="basecdnm"/>
  485. <Cell col="62" text="MIG"/>
  486. <Cell col="63" text="execdeptcd"/>
  487. </Band>
  488. <Band id="body">
  489. <Cell celltype="head"/>
  490. <Cell col="1" displaytype="checkbox" edittype="checkbox" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:check" expr="expr:check == 'Y' ? 1 : 0"/>
  491. <Cell col="2" displaytype="text" style="align:center middle;padding:2 2 2 2;background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:acptdt" wordwrap="word" mask="####-##-## ##:##:##" maskchar=" " calendardisplaynulltype="nulltext"/>
  492. <Cell col="3" displaytype="date" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:prcpdd" calendardisplaynulltype="nulltext"/>
  493. <Cell col="4" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:dispexecprcpstatnm"/>
  494. <Cell col="5" displaytype="combo" edittype="combo" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:execprcpstatcd"/>
  495. <Cell col="6" style="align:left middle;padding:5 5 5 5;background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');font:arial,9,bold;" text="bind:prcpnm" wordwrap="word" autosizerow="limitmin"/>
  496. <Cell col="7" displaytype="combo" edittype="combo" style="align:center middle;padding:2 2 2 2;background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:excuroomcd" wordwrap="word" combodataset="ds_init_cmb_info2_initexecroom" combocodecol="basecd" combodatacol="basecdflagdesc"/>
  497. <Cell col="8" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:excuroomgrpcd"/>
  498. <Cell col="9" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:rsrvtmplyn"/>
  499. <Cell col="10" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:scantmplyn"/>
  500. <Cell col="11" displaytype="checkbox" edittype="checkbox" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:reqagnphoyn"/>
  501. <Cell col="12" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:dyetrivialyn"/>
  502. <Cell col="13" displaytype="text" edittype="text" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:basecd" expandshow="show"/>
  503. <Cell col="14" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:rsrvdt" mask="yyyy-mm-dd hh:nn:ss"/>
  504. <Cell col="15" style="align:left middle;padding:3 3 3 3;background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:excuexectodt" wordwrap="word" mask="expr:excuexectodt == '-' ? '' : '####-##-## ##:##:##'" maskchar=" " calendardisplaynulltype="nulltext"/>
  505. <Cell col="16" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:pacsnocretcdyn"/>
  506. <Cell col="17" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:prcpkindcd"/>
  507. <Cell col="18" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:examroomnm"/>
  508. <Cell col="19" style="align:center middle;padding:2 2 2 2;background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:rgstdepthngnm" wordwrap="word"/>
  509. <Cell col="20" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:rgstridnm"/>
  510. <Cell col="21" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:prcpgenrflag"/>
  511. <Cell col="22" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:prcphopedd"/>
  512. <Cell col="23" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:execprcpuniqno"/>
  513. <Cell col="24" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:calcscorcd"/>
  514. <Cell col="25" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:prcpexecdeptcd"/>
  515. <Cell col="26" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:rgstdeptcd"/>
  516. <Cell col="27" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:rgstrid"/>
  517. <Cell col="28" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:pid"/>
  518. <Cell col="29" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:portprcpflag"/>
  519. <Cell col="30" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:inflag"/>
  520. <Cell col="31" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:rcptacptyn"/>
  521. <Cell col="32" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:execbaseflag"/>
  522. <Cell col="33" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:lrgcd"/>
  523. <Cell col="34" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:mdlcd"/>
  524. <Cell col="35" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:excupartcd"/>
  525. <Cell col="36" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:modality"/>
  526. <Cell col="37" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:rcptno"/>
  527. <Cell col="38" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:acptrem"/>
  528. <Cell col="39" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:execrem"/>
  529. <Cell col="40" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:prcpdelivefact"/>
  530. <Cell col="41" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:execrid1"/>
  531. <Cell col="42" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:execrid2"/>
  532. <Cell col="43" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:execrid3"/>
  533. <Cell col="44" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:execrid4"/>
  534. <Cell col="45" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:acptid"/>
  535. <Cell col="46" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:rcptdd"/>
  536. <Cell col="47" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:carecnfmdd"/>
  537. <Cell col="48" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:orddd"/>
  538. <Cell col="49" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:cretno"/>
  539. <Cell col="50" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:basesuppdeptcd"/>
  540. <Cell col="51" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:orddepthngnm"/>
  541. <Cell col="52" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:rgsttm"/>
  542. <Cell col="53" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:pacsnocretyn"/>
  543. <Cell col="54" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:orddeptcd"/>
  544. <Cell col="55" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:orddrid"/>
  545. <Cell col="56" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:prcpno"/>
  546. <Cell col="57" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:precureprcpflag"/>
  547. <Cell col="58" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:clincstdycd"/>
  548. <Cell col="59" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:wardcd"/>
  549. <Cell col="60" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:roomcd"/>
  550. <Cell col="61" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:basecdnm"/>
  551. <Cell col="62" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:migyn"/>
  552. <Cell col="63" style="background:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');background2:EXPR(dispexecprcpstatnm == '실시취소' ? '#b9e5fb' : '');" text="bind:execdeptcd"/>
  553. </Band>
  554. </Format>
  555. </Formats>
  556. </Grid>
  557. <Grid id="grd_subordlist2" taborder="10" binddataset="ds_main_subordlist_subordlist2" useinputpanel="false" position="absolute 277 424 1039 574" autoenter="select" cellsizingtype="col" cellclickbound="cell">
  558. <Formats>
  559. <Format id="default">
  560. <Columns>
  561. <Column size="20" band="left"/>
  562. <Column size="24"/>
  563. <Column size="127"/>
  564. <Column size="82"/>
  565. <Column size="46"/>
  566. <Column size="294"/>
  567. <Column size="87"/>
  568. <Column size="70"/>
  569. <Column size="0"/>
  570. <Column size="0"/>
  571. </Columns>
  572. <Rows>
  573. <Row size="24" band="head"/>
  574. <Row size="24"/>
  575. </Rows>
  576. <Band id="head">
  577. <Cell/>
  578. <Cell col="1"/>
  579. <Cell col="2" text="가야할곳"/>
  580. <Cell col="3" text="처방일자"/>
  581. <Cell col="4" text="분류"/>
  582. <Cell col="5" text="처방명"/>
  583. <Cell col="6" text="처방코드"/>
  584. <Cell col="7" text="상태"/>
  585. <Cell col="8" text="execrid1"/>
  586. <Cell col="9" text="execprcpuniqno"/>
  587. </Band>
  588. <Band id="body">
  589. <Cell celltype="head"/>
  590. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:check" expr="expr:check == 'Y' ? 1 : 0"/>
  591. <Cell col="2" displaytype="combo" edittype="combo" text="bind:excuroomcd" combodataset="ds_init_cmb_info_initexecroom" combocodecol="basecd" combodatacol="basecdflagdesc"/>
  592. <Cell col="3" displaytype="date" text="bind:prcpdd" calendardisplaynulltype="nulltext"/>
  593. <Cell col="4" text="bind:ordkind"/>
  594. <Cell col="5" style="align:left middle;padding:2 2 2 2;" text="bind:prcpnm"/>
  595. <Cell col="6" style="align:left middle;padding:2 2 2 2;" text="bind:calcscorcd"/>
  596. <Cell col="7" displaytype="combo" edittype="combo" style="align:left middle;padding:2 2 2 2;" text="bind:execprcpstatcd" combodataset="ds_init_baseinfo_initexecprcpstatcd_M0011" combocodecol="cdid" combodatacol="cdnm"/>
  597. <Cell col="8" text="bind:execrid1"/>
  598. <Cell col="9" text="bind:execprcpuniqno"/>
  599. </Band>
  600. </Format>
  601. </Formats>
  602. </Grid>
  603. <Button id="btn_holdcncl" taborder="11" class="icon_top" position="absolute 607 399 633 419" onclick="btn_holdcncl_onclick"/>
  604. <Button id="btn_hold" taborder="12" class="icon_bottom" position="absolute 577 399 603 419" onclick="btn_hold_onclick"/>
  605. <Div id="grp_datagrid1" taborder="13" position="absolute 728 217 1164 663" style="background:#ffffffff;border:1 solid black ;">
  606. <Layouts>
  607. <Layout width="436" height="446">
  608. <Grid id="datagrid1" taborder="1" binddataset="ds_main_subpopordlist_subordlist5" useinputpanel="false" position="absolute 3 24 430 413" anchor="default" autoenter="select" cellsizingtype="col">
  609. <Formats>
  610. <Format id="default">
  611. <Columns>
  612. <Column size="21"/>
  613. <Column size="69"/>
  614. <Column size="66"/>
  615. <Column size="129"/>
  616. <Column size="80"/>
  617. <Column size="39"/>
  618. <Column size="0"/>
  619. <Column size="0"/>
  620. <Column size="0"/>
  621. <Column size="0"/>
  622. <Column size="0"/>
  623. </Columns>
  624. <Rows>
  625. <Row size="24" band="head"/>
  626. <Row size="24"/>
  627. </Rows>
  628. <Band id="head">
  629. <Cell displaytype="checkbox" edittype="checkbox"/>
  630. <Cell col="1" text="등록번호"/>
  631. <Cell col="2" text="환자명"/>
  632. <Cell col="3" text="처방명"/>
  633. <Cell col="4" text="접수시간"/>
  634. <Cell col="5" text="병실"/>
  635. <Cell col="6" text="검사실코드"/>
  636. <Cell col="7" text="유일번호"/>
  637. <Cell col="8" text="처방일자"/>
  638. <Cell col="9" text="수행부서코드"/>
  639. <Cell col="10" text="PACS연동코드"/>
  640. </Band>
  641. <Band id="body">
  642. <Cell displaytype="checkbox" edittype="checkbox" text="bind:check" expr="expr:check == 'Y' ? 1 : 0"/>
  643. <Cell col="1" text="bind:pid"/>
  644. <Cell col="2" text="bind:patnm"/>
  645. <Cell col="3" text="bind:prcpnm"/>
  646. <Cell col="4" displaytype="date" text="bind:acpttm" mask="HH:mm:ss" calendardisplaynulltype="nulltext"/>
  647. <Cell col="5" text="bind:roomcd"/>
  648. <Cell col="6" text="bind:excuroomcd"/>
  649. <Cell col="7" text="bind:execprcpuniqno"/>
  650. <Cell col="8" text="bind:prcpdd"/>
  651. <Cell col="9" text="bind:basesuppdeptcd"/>
  652. <Cell col="10" text="bind:pacsnocretyn"/>
  653. </Band>
  654. </Format>
  655. </Formats>
  656. </Grid>
  657. <Button id="btn_cls" taborder="2" text="닫기" class="btn4" position="absolute 376 417 432 439" anchor="default" onclick="grp_datagrid1_btn_cls_onclick"/>
  658. <Button id="btn_accept" taborder="3" text="환자받기" class="btn4" position="absolute 295 417 375 439" anchor="default" onclick="grp_datagrid1_btn_accept_onclick"/>
  659. <Static id="caption16" text="환자받기" class="tit_2" position="absolute 4 6 117 27" anchor="default"/>
  660. </Layout>
  661. </Layouts>
  662. </Div>
  663. <Button id="btn_init" taborder="14" text="초기화" class="btn2" visible="false" position="absolute 757 70 810 89" onclick="btn_init_onclick"/>
  664. <Button id="button3" taborder="15" text="대기현황" class="btn2" visible="false" position="absolute 969 65 1033 84"/>
  665. <CheckBox id="chk_ioflag11" taborder="16" position="absolute 199 95 244 111" text="건진" truevalue="S" visible="false" onclick="chk_ioflag11_onclick"/>
  666. <Button id="button14" taborder="17" text="다중검사현황" class="btn2" visible="false" position="absolute 879 65 968 84" onclick="button14_onclick"/>
  667. <Edit id="ipt_dyes" taborder="18" visible="false" position="absolute 352 95 507 114" style="color:#ff0000ff;font:Dotum,9,bold;"/>
  668. <CheckBox id="chk_holdlistflag" taborder="19" position="absolute 147 96 205 112" text="보류" truevalue="Y" onclick="chk_holdlistflag_onclick"/>
  669. <Button id="btn_exec" taborder="21" text="실 시" class="btn2" position="absolute 930 95 983 114" onclick="btn_exec_onclick"/>
  670. <Button id="btn_execcncl" taborder="22" text="취 소" class="btn2" position="absolute 985 95 1038 114" onclick="btn_execcncl_onclick"/>
  671. <Div id="group4" taborder="23" visible="false" position="absolute 401 139 888 374" style="background:#ffffffff;border:1 solid black ;">
  672. <Layouts>
  673. <Layout>
  674. <Grid id="datagrid2" taborder="1" binddataset="ds_main_exculist_mainordlist8" useinputpanel="false" position="absolute 11 28 474 203" anchor="default" autoenter="select" cellsizingtype="col">
  675. <Formats>
  676. <Format id="default">
  677. <Columns>
  678. <Column size="100"/>
  679. <Column size="78"/>
  680. <Column size="80"/>
  681. <Column size="78"/>
  682. <Column size="59"/>
  683. <Column size="64"/>
  684. </Columns>
  685. <Rows>
  686. <Row size="24" band="head"/>
  687. <Row size="24"/>
  688. </Rows>
  689. <Band id="head">
  690. <Cell text="검사명"/>
  691. <Cell col="1" text="처방일"/>
  692. <Cell col="2" text="예약일"/>
  693. <Cell col="3" text="검사일"/>
  694. <Cell col="4" text="구분"/>
  695. <Cell col="5" text="발생구분"/>
  696. </Band>
  697. <Band id="body">
  698. <Cell text="bind:prcpnm"/>
  699. <Cell col="1" text="bind:prcpdd" mask="yyyy-mm-dd"/>
  700. <Cell col="2" text="bind:rsrvdd" mask="yyyy-mm-dd"/>
  701. <Cell col="3" text="bind:execdd" mask="yyyy-mm-dd"/>
  702. <Cell col="4" text="bind:payflagcdnm"/>
  703. <Cell col="5" text="bind:prcpgenrflag"/>
  704. </Band>
  705. </Format>
  706. </Formats>
  707. </Grid>
  708. <Button id="button11" taborder="2" text="닫기" class="btn4" position="absolute 418 205 474 227" anchor="default" onclick="group4_button11_onclick"/>
  709. <Static id="caption23" text="골밀도 검사현황" class="tit_2" position="absolute 12 8 149 29" anchor="default"/>
  710. </Layout>
  711. </Layouts>
  712. </Div>
  713. <Div id="group7" taborder="24" visible="false" position="absolute 477 441 756 560" style="background:#d6dadcff;border:1 solid #080808ff ;">
  714. <Layouts>
  715. <Layout>
  716. <Button id="button12" taborder="1" text="확인" class="btn5" visible="false" position="absolute 228 96 270 115" anchor="default" onclick="group7_button12_onclick"/>
  717. <Shape id="line_isol" linetype="horizontal" class="line_10" visible="false" position="absolute 10 21 270 27" anchor="default"/>
  718. <Shape id="line_isol2" linetype="horizontal" class="line_3" visible="false" position="absolute 10 92 270 98" anchor="default"/>
  719. <TextArea id="txt_isol" taborder="2" visible="false" position="absolute 10 26 271 92" anchor="default" wordwrap="word" autoselect="true"/>
  720. <Static id="cpt_isoltitle" text="감염정보" class="tit_2" visible="false" position="absolute 11 5 126 26" anchor="default"/>
  721. </Layout>
  722. </Layouts>
  723. </Div>
  724. <Static id="cpt_isolinfo" position="absolute 823 94 868 114"/>
  725. <Static id="cap_aftrcptinfo" visible="false" position="absolute 515 96 575 112" style="background:#ffff99ff;align:center middle;font:Dotum,9,bold;"/>
  726. <Static id="caption14" text="실시 Comment" class="tit_2" position="absolute 883 673 1001 694" anchor="left bottom"/>
  727. <TextArea id="tar_execrem" taborder="25" position="absolute 882 694 1195 755" wordwrap="word" autoselect="true" anchor="left right bottom"/>
  728. <Shape id="line8" linetype="horizontal" class="line_10" position="absolute 883 689 1195 695" anchor="left right bottom"/>
  729. <Button id="button26" taborder="26" text="PACS조회" class="btn3" position="absolute 244 776 336 798" anchor="left bottom" onclick="button26_onclick"/>
  730. <Button id="button6" taborder="27" text="재진예약" class="btn3" position="absolute 81 776 161 798" anchor="left bottom" onclick="button6_onclick"/>
  731. <Button id="button7" taborder="28" text="추가처방" class="btn3" position="absolute 162 776 242 798" anchor="left bottom" onclick="button7_onclick"/>
  732. <Button id="button25" taborder="29" text="자체예약" class="btn3" position="absolute 0 776 80 798" anchor="left bottom" onclick="button25_onclick"/>
  733. <Button id="button13" taborder="30" text="결과조회" class="btn3" position="absolute 338 776 418 798" anchor="left bottom" onclick="button13_onclick"/>
  734. <Button id="button1" taborder="31" text="접수관리" class="btn3" position="absolute 420 776 500 798" anchor="left bottom" onclick="button1_onclick"/>
  735. <Button id="button4" taborder="32" text="촬영배정" class="btn3" position="absolute 502 776 582 798" anchor="left bottom" onclick="button4_onclick"/>
  736. <Button id="button5" taborder="33" text="환자정보" class="btn3" position="absolute 583 776 663 798" anchor="left bottom" onclick="button5_onclick"/>
  737. <Button id="btn_open" taborder="34" text="OPEN" class="btn4" enable="false" position="absolute 1113 31 1190 53" anchor="top right" onclick="btn_open_onclick"/>
  738. <Button id="btn_close" taborder="35" text="CLOSE" class="btn4" enable="false" position="absolute 1113 57 1190 79" anchor="top right" onclick="btn_close_onclick"/>
  739. <Button id="button2" taborder="36" text="검사OCR" class="btn3" position="absolute 664 776 744 798" anchor="left bottom" onclick="button2_onclick"/>
  740. <Button id="button8" taborder="37" text="라벨출력" class="btn3" position="absolute 772 776 852 798" anchor="left bottom" onclick="button8_onclick"/>
  741. <Button id="button9" taborder="38" text="영상검사" class="btn3" position="absolute 853 776 933 798" anchor="left bottom" onclick="button9_onclick"/>
  742. <Button id="button10" taborder="39" text="ANGIO" class="btn3" position="absolute 934 776 1014 798" anchor="left bottom" onclick="button10_onclick"/>
  743. <Edit id="input1" taborder="40" class="input_search" position="absolute 751 778 771 797" anchor="left bottom"/>
  744. <Button id="btn_Daemon" taborder="41" text="데몬실행" class="btn3" visible="false" position="absolute 1115 775 1195 797" anchor="right bottom" onclick="btn_Daemon_onclick"/>
  745. <Button id="btn_caption6" taborder="42" position="absolute 0 0 194 24" style="background:transparent;border:2 none #33bbbbff #effcfbff;" ondblclick="btn_caption6_ondblclick"/>
  746. <PopupMenu id="pmn_menu1" position="absolute 1220 33 1384 421" innerdataset="@ds_init_popupmenu_grid01" levelcolumn="level" idcolumn="func" captioncolumn="label" onmenuclick="pmn_menu1_onmenuclick" onmouseleave="pmn_menu1_onmouseleave"/>
  747. <Button id="btn_isolinfo" taborder="43" position="absolute 823 94 868 114" style="background:transparent;border:2 none #33bbbbff #effcfbff;" ondblclick="btn_isolinfo_ondblclick"/>
  748. <Button id="btn_case2" taborder="44" position="absolute 0 91 47 115" class="btn_tab_S" text="미실시" onclick="btn_case2_onclick"/>
  749. <Button id="btn_case3" taborder="45" text="실시" class="btn_tab" position="absolute 48 91 95 115" onclick="btn_case3_onclick"/>
  750. <Button id="btn_case5" taborder="46" class="btn_tab" position="absolute 96 91 143 115" text="결과" onclick="btn_case5_onclick"/>
  751. </Layout>
  752. </Layouts>
  753. <Objects>
  754. <Dataset id="ds_send_data_cmb_info_initexcuroomgrp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  755. <ColumnInfo>
  756. <Column id="excuroomgrpcdid" type="STRING" size="256"/>
  757. </ColumnInfo>
  758. <Rows>
  759. <Row/>
  760. </Rows>
  761. </Dataset>
  762. <Dataset id="ds_send_data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  763. <ColumnInfo>
  764. <Column id="srchpid" type="STRING" size="256"/>
  765. <Column id="srchdate1" type="STRING" size="256"/>
  766. <Column id="acptlistflag" type="STRING" size="256"/>
  767. <Column id="ioflag" type="STRING" size="256"/>
  768. <Column id="openyn" type="STRING" size="256"/>
  769. <Column id="holdlistflag" type="STRING" size="256"/>
  770. <Column id="basesuppdeptcd" type="STRING" size="256"/>
  771. </ColumnInfo>
  772. <Rows>
  773. <Row>
  774. <Col id="srchpid"/>
  775. <Col id="srchdate1"/>
  776. <Col id="acptlistflag"/>
  777. <Col id="ioflag">ALL</Col>
  778. <Col id="openyn"/>
  779. <Col id="holdlistflag"/>
  780. </Row>
  781. </Rows>
  782. </Dataset>
  783. <Dataset id="ds_send_data_cmb_info_initexecrid1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  784. <ColumnInfo>
  785. <Column id="execrid1cdid" type="STRING" size="256"/>
  786. </ColumnInfo>
  787. <Rows>
  788. <Row/>
  789. </Rows>
  790. </Dataset>
  791. <Dataset id="ds_send_data_cmb_info_initexecrid2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  792. <ColumnInfo>
  793. <Column id="execrid2cdid" type="STRING" size="256"/>
  794. </ColumnInfo>
  795. <Rows>
  796. <Row/>
  797. </Rows>
  798. </Dataset>
  799. <Dataset id="ds_send_data_cmb_info_initexecrid3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  800. <ColumnInfo>
  801. <Column id="execrid3cdid" type="STRING" size="256"/>
  802. </ColumnInfo>
  803. <Rows>
  804. <Row/>
  805. </Rows>
  806. </Dataset>
  807. <Dataset id="ds_send_data_cmb_info_initexecrid4" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  808. <ColumnInfo>
  809. <Column id="execrid4cdid" type="STRING" size="256"/>
  810. </ColumnInfo>
  811. <Rows>
  812. <Row/>
  813. </Rows>
  814. </Dataset>
  815. <Dataset id="ds_main_patinfo_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  816. <ColumnInfo>
  817. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  818. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  819. <Column id="hngnm" type="STRING" size="256" sumtext="이름"/>
  820. <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호1"/>
  821. <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호2"/>
  822. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  823. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  824. <Column id="brthdd" type="STRING" size="256" sumtext="생일"/>
  825. <Column id="hometel" type="STRING" size="256" sumtext="집전화"/>
  826. <Column id="mpphontel" type="STRING" size="256" sumtext="핸드폰"/>
  827. <Column id="etctel1" type="STRING" size="256" sumtext="기타연락처"/>
  828. <Column id="zipcd1" type="STRING" size="256" sumtext="우편번호1"/>
  829. <Column id="zipcd2" type="STRING" size="256" sumtext="우편번호2"/>
  830. <Column id="zipcdseq" type="STRING" size="256" sumtext="우편번호seq"/>
  831. <Column id="addr" type="STRING" size="256" sumtext="주소"/>
  832. <Column id="detladdr" type="STRING" size="256" sumtext="상세주소"/>
  833. <Column id="email" type="STRING" size="256" sumtext="이메일"/>
  834. <Column id="recmyn" type="STRING" size="256" sumtext="관계여부"/>
  835. <Column id="recmernm" type="STRING" size="256" sumtext="관계"/>
  836. <Column id="recmerrela" type="STRING" size="256" sumtext="종교"/>
  837. <Column id="vipyn" type="STRING" size="256" sumtext="VIP여부"/>
  838. <Column id="viprem" type="STRING" size="256" sumtext="VIP"/>
  839. <Column id="religncd" type="STRING" size="256" sumtext="종교"/>
  840. <Column id="remfact" type="STRING" size="256" sumtext="참고"/>
  841. <Column id="orddd" type="STRING" size="256" sumtext="진료일"/>
  842. <Column id="ward" type="STRING" size="256" sumtext="병동"/>
  843. </ColumnInfo>
  844. </Dataset>
  845. <Dataset id="ds_send_data_cmb_info_initexecroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  846. <ColumnInfo>
  847. <Column id="excuroomcdid" type="STRING" size="256"/>
  848. </ColumnInfo>
  849. <Rows>
  850. <Row/>
  851. </Rows>
  852. </Dataset>
  853. <Dataset id="ds_init_cmb_info_initexcuroomgrp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  854. <ColumnInfo>
  855. <Column id="basecdcnts" type="STRING" size="256"/>
  856. <Column id="basecdcnts2" type="STRING" size="256"/>
  857. </ColumnInfo>
  858. </Dataset>
  859. <Dataset id="ds_init_cmb_info2_initexecroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  860. <Dataset id="ds_init_cmb_info_initexecrid1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  861. <Dataset id="ds_init_cmb_info_initexecrid2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  862. <Dataset id="ds_init_cmb_info_initexecrid3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  863. <Dataset id="ds_init_cmb_info_initexecrid4" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  864. <Dataset id="ds_main_ordlist2_mainordlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  865. <ColumnInfo>
  866. <Column id="no" type="STRING" size="256" sumtext="번호"/>
  867. <Column id="acpttm" type="STRING" size="256" sumtext="접수일시"/>
  868. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  869. <Column id="sna" type="STRING" size="256" sumtext="성별/나이"/>
  870. <Column id="cdid" type="STRING" size="256" sumtext="중증분류상태코드"/>
  871. <Column id="cdnm" type="STRING" size="256" sumtext="중증분류상태값"/>
  872. <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
  873. <Column id="patgb" type="STRING" size="256" sumtext="환자구분"/>
  874. <Column id="prcpgenrflag" type="STRING" size="256" sumtext="입원외래구분"/>
  875. <Column id="roomcd" type="STRING" size="256" sumtext="병실코드"/>
  876. <Column id="depthngnm" type="STRING" size="256" sumtext="진료과명"/>
  877. <Column id="execprcpuniqno" type="INT" size="256" sumtext="실시처방유일번호"/>
  878. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
  879. <Column id="rsrvdd" type="STRING" size="256" sumtext="예약일자"/>
  880. <Column id="excuroomcd" type="STRING" size="256" sumtext="검사실코드"/>
  881. <Column id="rsrvtm" type="STRING" size="256" sumtext="예약시간"/>
  882. <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
  883. <Column id="rsrvyn" type="STRING" size="256" sumtext="예약Transaction분기여부,예약도실변경/예약취소시"/>
  884. <Column id="autoassignyn" type="STRING" size="256" sumtext="자동방배정여부,예약/자동접수취소시"/>
  885. <Column id="aftrcptinfo" type="STRING" size="256" sumtext="후수납상태"/>
  886. <!-- 20150305 kya -->
  887. <Column id="largeclass" type="STRING" size="256" sumtext="R1/M1 예약인지 접수인지구분"/>
  888. <!-- 20150305 kya -->
  889. <Column id="spcffactyn" type="STRING" size="256" sumtext="특이환자"/>
  890. <!-- 20150306 kya -->
  891. <Column id="ioflag" type="STRING" size="256" sumtext="입원외래구분"/>
  892. <!-- 20150515 kya -->
  893. <Column id="rtno" type="STRING" size="256" sumtext="라벨출력건수로 사용"/>
  894. <!-- 20160927 kya 외상환자유무 -->
  895. <Column id="trdiagyn" type="STRING" size="256" sumtext="외상환자유무"/>
  896. <!-- 20170707 kya 사망유무 -->
  897. <Column id="dethyn" type="STRING" size="256" sumtext="사망유무"/>
  898. </ColumnInfo>
  899. </Dataset>
  900. <Dataset id="ds_main_ordlist3_mainordlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  901. <ColumnInfo>
  902. <Column id="no" type="STRING" size="256" sumtext="번호"/>
  903. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  904. <Column id="sna" type="STRING" size="256" sumtext="성별/나이"/>
  905. <Column id="cdid" type="STRING" size="256" sumtext="중증분류상태코드"/>
  906. <Column id="cdnm" type="STRING" size="256" sumtext="중증분류상태값"/>
  907. <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
  908. <Column id="prcpgenrflag" type="STRING" size="256" sumtext="입원외래구분"/>
  909. <Column id="roomcd" type="STRING" size="256" sumtext="병실코드"/>
  910. <Column id="depthngnm" type="STRING" size="256" sumtext="진료과명"/>
  911. <Column id="execprcpuniqno" type="INT" size="256" sumtext="실시처방번호"/>
  912. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
  913. <Column id="rsrvdd" type="STRING" size="256" sumtext="예약일자"/>
  914. <Column id="excuroomcd" type="STRING" size="256" sumtext="검사실코드"/>
  915. <Column id="acpttm" type="STRING" size="256" sumtext="접수시간"/>
  916. <Column id="rsrvtm" type="STRING" size="256" sumtext="예약시간"/>
  917. <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
  918. <Column id="aftrcptinfo" type="STRING" size="256" sumtext="후수납상태"/>
  919. <!-- 20150305 kya -->
  920. <Column id="spcffactyn" type="STRING" size="256" sumtext="특이환자"/>
  921. <!-- 20160927 kya 외상환자유무 -->
  922. <Column id="trdiagyn" type="STRING" size="256" sumtext="외상환자유무"/>
  923. </ColumnInfo>
  924. </Dataset>
  925. <Dataset id="ds_main_ordlist5_mainordlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  926. <ColumnInfo>
  927. <Column id="no" type="STRING" size="256" sumtext="번호"/>
  928. <Column id="acpttm" type="STRING" size="256" sumtext="접수일시"/>
  929. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  930. <Column id="sna" type="STRING" size="256" sumtext="성별/나이"/>
  931. <Column id="cdid" type="STRING" size="256" sumtext="중증분류상태코드"/>
  932. <Column id="cdnm" type="STRING" size="256" sumtext="중증분류상태값"/>
  933. <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
  934. <Column id="patgb" type="STRING" size="256" sumtext="환자구분"/>
  935. <Column id="prcpgenrflag" type="STRING" size="256" sumtext="입원외래구분"/>
  936. <Column id="roomcd" type="STRING" size="256" sumtext="병실코드"/>
  937. <Column id="depthngnm" type="STRING" size="256" sumtext="진료과명"/>
  938. <Column id="execprcpuniqno" type="INT" size="256" sumtext="실시처방유일번호"/>
  939. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
  940. <Column id="rsrvdd" type="STRING" size="256" sumtext="예약일자"/>
  941. <Column id="excuroomcd" type="STRING" size="256" sumtext="검사실코드"/>
  942. <Column id="rsrvtm" type="STRING" size="256" sumtext="예약시간"/>
  943. <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
  944. <Column id="rsrvyn" type="STRING" size="256" sumtext="예약Transaction분기여부,예약도실변경/예약취소시"/>
  945. <Column id="autoassignyn" type="STRING" size="256" sumtext="자동방배정여부,예약/자동접수취소시"/>
  946. <Column id="aftrcptinfo" type="STRING" size="256" sumtext="후수납상태"/>
  947. <Column id="excuexectodt" type="STRING" size="256" sumtext="판독일시"/>
  948. </ColumnInfo>
  949. </Dataset>
  950. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  951. <ColumnInfo>
  952. <Column id="textdyes" type="STRING" size="256"/>
  953. </ColumnInfo>
  954. <Rows>
  955. <Row>
  956. <Col id="textdyes">부작용내역이존재합니다.</Col>
  957. </Row>
  958. </Rows>
  959. </Dataset>
  960. <Dataset id="ds_main_subordlist_subordlist1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_subordlist_subordlist1_oncolumnchanged">
  961. <ColumnInfo>
  962. <Column id="check" type="STRING" size="256" sumtext="선택"/>
  963. <Column id="acptdt" type="STRING" size="256" sumtext="접수일시"/>
  964. <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
  965. <Column id="dispexecprcpstatnm" type="STRING" size="256" sumtext="화면표시용_실시처방상태구분코드"/>
  966. <Column id="execprcpstatcd" type="STRING" size="256" sumtext="실시처방상태구분코드"/>
  967. <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
  968. <Column id="excuroomcd" type="STRING" size="256" sumtext="검사실코드"/>
  969. <Column id="excuroomcd" type="STRING" size="256" sumtext="검사실코드"/>
  970. <Column id="excuroomgrpcd" type="STRING" size="256" sumtext="검사실그룹코드"/>
  971. <Column id="rsrvtmplyn" type="STRING" size="256" sumtext="동의서유무"/>
  972. <Column id="scantmplyn" type="STRING" size="256" sumtext="동의서스캔유무"/>
  973. <Column id="reqagnphoyn" type="STRING" size="256" sumtext="중복검사여부"/>
  974. <Column id="dyetrivialyn" type="STRING" size="256" sumtext="조영제부작용여부"/>
  975. <Column id="basecd" type="STRING" size="256" sumtext="취소코드"/>
  976. <Column id="rsrvdt" type="STRING" size="256" sumtext="예약일시"/>
  977. <Column id="excuexectodt" type="STRING" size="256" sumtext="실시일시"/>
  978. <Column id="pacsnocretcdyn" type="STRING" size="256" sumtext="PACS전송여부"/>
  979. <Column id="prcpkindcd" type="STRING" size="256" sumtext="처방종류구분코드"/>
  980. <Column id="basecdflagdesc" type="STRING" size="256" sumtext="검사실명"/>
  981. <Column id="rgstdepthngnm" type="STRING" size="256" sumtext="최초처방등록과명"/>
  982. <Column id="rgstridnm" type="STRING" size="256" sumtext="최초처방등록의사명"/>
  983. <Column id="prcpgenrflag" type="STRING" size="256" sumtext="입원외래구분"/>
  984. <Column id="prcphopedd" type="STRING" size="256" sumtext="처방희망일자"/>
  985. <Column id="execprcpuniqno" type="INT" size="256" sumtext="실시처방유일번호"/>
  986. <Column id="calcscorcd" type="STRING" size="256" sumtext="수가코드"/>
  987. <Column id="prcpexecdeptcd" type="STRING" size="256" sumtext="처방실시부서코드"/>
  988. <Column id="rgstdeptcd" type="STRING" size="256" sumtext="최초처방등록과코드"/>
  989. <Column id="rgstrid" type="STRING" size="256" sumtext="최초처방등록의사코드"/>
  990. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  991. <Column id="portprcpflag" type="STRING" size="256" sumtext="포터블처방여부"/>
  992. <Column id="inflag" type="STRING" size="256" sumtext="재원여부"/>
  993. <Column id="rcptacptyn" type="STRING" size="256" sumtext="미수납접수여부"/>
  994. <Column id="execbaseflag" type="STRING" size="256" sumtext="실시기준여부"/>
  995. <Column id="lrgcd" type="STRING" size="256" sumtext="대분류코드(검사실그룹)"/>
  996. <Column id="mdlcd" type="STRING" size="256" sumtext="소분류코드(부위)"/>
  997. <Column id="excupartcd" type="STRING" size="256" sumtext="검사치료부위코드"/>
  998. <Column id="modality" type="STRING" size="256" sumtext="Modality"/>
  999. <Column id="rcptno" type="INT" size="256" sumtext="영수증번호"/>
  1000. <Column id="acptrem" type="STRING" size="256" sumtext="접수참고사항"/>
  1001. <Column id="execrem" type="STRING" size="256" sumtext="실시참고사항"/>
  1002. <Column id="prcpdelivefact" type="STRING" size="256" sumtext="처방참고사항"/>
  1003. <Column id="execrid1" type="STRING" size="256" sumtext="실시자ID1,실시된처방내역조회경우"/>
  1004. <Column id="execrid2" type="STRING" size="256" sumtext="실시자ID2,실시된처방내역조회경우"/>
  1005. <Column id="execrid3" type="STRING" size="256" sumtext="실시자ID3,실시된처방내역조회경우"/>
  1006. <Column id="execrid4" type="STRING" size="256" sumtext="실시자ID4,실시된처방내역조회경우"/>
  1007. <Column id="acptid" type="STRING" size="256" sumtext="접수자ID=보류자ID(접수보류상태시),실시된처방내역조회경우"/>
  1008. <Column id="rcptdd" type="STRING" size="256" sumtext="수납일자"/>
  1009. <Column id="carecnfmdd" type="STRING" size="256" sumtext="간호확인일자"/>
  1010. <!-- 추가처방시 pid, prcpgenrflag, orddd, cretno가 필요함 -->
  1011. <Column id="orddd" type="STRING" size="256" sumtext="입원/진료일자"/>
  1012. <Column id="cretno" type="STRING" size="256" sumtext="원무생성번호"/>
  1013. <Column id="basesuppdeptcd" type="STRING" size="256" sumtext="부서코드"/>
  1014. <Column id="orddepthngnm" type="STRING" size="256" sumtext="진료과명"/>
  1015. <Column id="rgsttm" type="STRING" size="256" sumtext="PACS연동, 처방시간"/>
  1016. <Column id="pacsnocretyn" type="STRING" size="256" sumtext="PACS전송여부,AEBMECCD"/>
  1017. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
  1018. <Column id="orddrid" type="STRING" size="256" sumtext="진료의ID"/>
  1019. <Column id="prcpno" type="INT" size="256" sumtext="처방일련번호"/>
  1020. <Column id="precureprcpflag" type="STRING" size="256" sumtext="선처치여부"/>
  1021. <Column id="clincstdycd" type="STRING" size="256" sumtext="임상연구코드"/>
  1022. <Column id="wardcd" type="STRING" size="256" sumtext="병동코드"/>
  1023. <Column id="wardcddeptengabbr" type="STRING" size="256" sumtext="병동코드"/>
  1024. <Column id="roomcd" type="STRING" size="256" sumtext="병실코드"/>
  1025. <Column id="migyn" type="STRING" size="256" sumtext="MigrationData여부"/>
  1026. <Column id="prcpkindnm" type="STRING" size="256" sumtext="처방종류"/>
  1027. <Column id="inclprcpcd" type="STRING" size="256" sumtext="시행부서코드"/>
  1028. <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호앞자리"/>
  1029. <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호뒷자리"/>
  1030. <Column id="orddrnm" type="STRING" size="256" sumtext="진료의명"/>
  1031. <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
  1032. <Column id="clinccmtcnts" type="STRING" size="256" sumtext="처방comment"/>
  1033. <Column id="eqmtifyn" type="STRING" size="256" sumtext="장비연동여부"/>
  1034. <!-- <column id="acptseqno" type="int" desc="접수일련번호" ref="examcureexecprcplist.acptseqno"/> -->
  1035. <!-- 2011.1.4 c y w -->
  1036. <Column id="wardcdnm" type="STRING" size="256" sumtext="병동코드명"/>
  1037. <Column id="excucdnm" type="STRING" size="256" sumtext="처방명2"/>
  1038. <!-- 2011.02.14 c y w -->
  1039. <Column id="choiordflag" type="STRING" size="256" sumtext="선택진료여부"/>
  1040. <Column id="specdrid" type="STRING" size="256" sumtext="선택진료의ID"/>
  1041. <Column id="specdrnm" type="STRING" size="256" sumtext="선택진료의명"/>
  1042. <Column id="dschdd" type="STRING" size="256" sumtext="퇴원일자"/>
  1043. <Column id="prcphistno" type="INT" size="256" sumtext="처방이력번호"/>
  1044. <!-- 20130412 처방입력일시 추가 -->
  1045. <Column id="rgstdt" type="STRING" size="256" sumtext="처방입력일시"/>
  1046. <!-- 20150210 kya 진정요청여부 추가 -->
  1047. <Column id="sedreqyn" type="STRING" size="256" sumtext="진정요청여부"/>
  1048. <!-- 20150803 kya 환자/판독 참고사항 -->
  1049. <Column id="patrem" type="STRING" size="256" sumtext="환자/판독참고사항"/>
  1050. <!-- 20151015 kya ocrtag -->
  1051. <Column id="ocrtag" type="STRING" size="256" sumtext="ocrtag"/>
  1052. <!-- 20160613 kya eGFR, 당뇨유무 추가 -->
  1053. <Column id="egfr" type="STRING" size="256" sumtext="eGFR"/>
  1054. <Column id="metformin" type="STRING" size="256" sumtext="당뇨약유무"/>
  1055. </ColumnInfo>
  1056. </Dataset>
  1057. <Dataset id="ds_main_subordlist_subordlist2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_subordlist_subordlist2_oncolumnchanged">
  1058. <ColumnInfo>
  1059. <Column id="check" type="STRING" size="256" sumtext="선택"/>
  1060. <Column id="basecdflagdesc" type="STRING" size="256" sumtext="검사실명"/>
  1061. <Column id="excuroomcd" type="STRING" size="256" sumtext="검사실코드"/>
  1062. <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
  1063. <Column id="ordkind" type="STRING" size="256" sumtext="분류"/>
  1064. <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
  1065. <Column id="calcscorcd" type="STRING" size="256" sumtext="처방코드"/>
  1066. <Column id="execprcpstatcd" type="STRING" size="256" sumtext="실시처방상태코드"/>
  1067. <Column id="execrid1" type="STRING" size="256" sumtext="실시자ID1"/>
  1068. <Column id="execprcpuniqno" type="STRING" size="256" sumtext="실시처방유일번호"/>
  1069. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  1070. <Column id="basesuppdeptcd" type="STRING" size="256" sumtext="부서코드"/>
  1071. <Column id="pacsnocretyn" type="STRING" size="256" sumtext="PACS연동여부(AEBMECCD)"/>
  1072. <Column id="prcpdelivefact" type="STRING" size="256" sumtext="PACS연동, 처방참고사항"/>
  1073. <Column id="orddepthngnm" type="STRING" size="256" sumtext="진료과명"/>
  1074. <Column id="orddd" type="STRING" size="256" sumtext="PACS연동, 진료(입원)일"/>
  1075. <Column id="orddeptcd" type="STRING" size="256" sumtext="PACS연동, 진료과코드"/>
  1076. <Column id="patnm" type="STRING" size="256" sumtext="PACS연동, 환자명"/>
  1077. <Column id="rgsttm" type="STRING" size="256" sumtext="PACS연동, 처방시간"/>
  1078. <Column id="prcpgenrflag" type="STRING" size="256" sumtext="입원외래응급구분"/>
  1079. <Column id="prcpnm" type="STRING" size="256" sumtext="처방코드명"/>
  1080. <Column id="rgstrid" type="STRING" size="256" sumtext="최초처방부서의사ID"/>
  1081. <Column id="orddepthngnm" type="STRING" size="256" sumtext="진료과명"/>
  1082. <Column id="prcpexecdeptcd" type="STRING" size="256" sumtext="처방실시부서코드"/>
  1083. </ColumnInfo>
  1084. </Dataset>
  1085. <Dataset id="ds_init_cmb_info_initexecroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1086. <Dataset id="ds_init_baseinfo_initexecprcpstatcd_M0011" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1087. <Dataset id="ds_main_subordlist_subordlist3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1088. <ColumnInfo>
  1089. <Column id="diagdd" type="STRING" size="256" sumtext="상병진단일자"/>
  1090. <Column id="diagengnm" type="STRING" size="256" sumtext="상병코드한글명"/>
  1091. <Column id="diagcd" type="STRING" size="256" sumtext="상병코드"/>
  1092. <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과코드명"/>
  1093. <Column id="orddrnm" type="STRING" size="256" sumtext="진료의사ID"/>
  1094. </ColumnInfo>
  1095. </Dataset>
  1096. <Dataset id="ds_main_ordlist2_subordlist4" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1097. <ColumnInfo>
  1098. <Column id="basecdflagdesc" type="STRING" size="256" sumtext="검사실명"/>
  1099. <Column id="cnt" type="STRING" size="256" sumtext="대기인원수"/>
  1100. <Column id="partcntstats" type="STRING" size="256" sumtext="부위건수"/>
  1101. <Column id="basecd" type="STRING" size="256" sumtext="검사실코드"/>
  1102. <Column id="basecdcnts" type="STRING" size="256" sumtext="검사실그룹코드"/>
  1103. <Column id="baseroomopenyn" type="STRING" size="256" sumtext="검사실개폐여부"/>
  1104. </ColumnInfo>
  1105. </Dataset>
  1106. <Dataset id="ds_main_exculist_mainordlist8" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1107. <ColumnInfo>
  1108. <Column id="prcpcd" type="STRING" size="256" sumtext="검사코드"/>
  1109. <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
  1110. <Column id="rsrvdd" type="STRING" size="256" sumtext="예약일자"/>
  1111. <Column id="execdd" type="STRING" size="256" sumtext="검사일자"/>
  1112. <Column id="payflagcdnm" type="STRING" size="256" sumtext="구분명"/>
  1113. <Column id="prcpgenrflag" type="STRING" size="256" sumtext="발생구분"/>
  1114. <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
  1115. <Column id="payflagcd" type="STRING" size="256" sumtext="구분"/>
  1116. </ColumnInfo>
  1117. </Dataset>
  1118. <Dataset id="ds_main_subpopordlist_subordlist5" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_subpopordlist_subordlist5_oncolumnchanged">
  1119. <ColumnInfo>
  1120. <!-- <column id="check" desc="선택" ref="examcureexecprcplist.check"/>
  1121. <column id="prcpnm" type="cdata" desc="처방명" ref="examcureexecprcplist.prcpnm"/>
  1122. <column id="pid" desc="등록번호" ref="examcureexecprcplist.pid"/>
  1123. <column id="patnm" type="cdata" desc="환자명" ref="examcureexecprcplist.patnm"/>
  1124. <column id="acptdt" desc="접수일시" ref="examcureexecprcplist.acptdt"/>
  1125. <column id="excuroomcd" desc="검사실코드" ref="examcureexecprcplist.excuroomcd"/>
  1126. <column id="execprcpuniqno" type="int" desc="실시처방유일번호" ref="examcureexecprcplist.execprcpuniqno"/>
  1127. <column id="prcpdd" desc="처방일자" ref="examcureexecprcplist.prcpdd"/>
  1128. <column id="basesuppdeptcd" desc="처방일자" ref="examcureexecprcplist.basesuppdeptcd"/>
  1129. <column id="pacsnocretcdyn" desc="처방일자" ref="examcureexecprcplist.pacsnocretcdyn"/>
  1130. -->
  1131. <Column id="check1" type="STRING" size="256" sumtext="선택"/>
  1132. <Column id="rsrvdt" type="STRING" size="256" sumtext="예약일시"/>
  1133. <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
  1134. <Column id="execprcpstatcd" type="STRING" size="256" sumtext="실시처방상태구분코드"/>
  1135. <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
  1136. <Column id="basecd" type="STRING" size="256" sumtext="취소코드"/>
  1137. <Column id="prcpkindcd" type="STRING" size="256" sumtext="처방종류구분코드"/>
  1138. <Column id="basecdflagdesc" type="STRING" size="256" sumtext="검사실명"/>
  1139. <Column id="rgstdepthngnm" type="STRING" size="256" sumtext="최초처방등록과명"/>
  1140. <Column id="rgstridnm" type="STRING" size="256" sumtext="최초처방등록의사명"/>
  1141. <Column id="prcpgenrflag" type="STRING" size="256" sumtext="입원외래구분"/>
  1142. <Column id="prcphopedd" type="STRING" size="256" sumtext="처방희망일자"/>
  1143. <Column id="execprcpuniqno" type="INT" size="256" sumtext="실시처방유일번호"/>
  1144. <Column id="calcscorcd" type="STRING" size="256" sumtext="수가코드"/>
  1145. <Column id="prcpexecdeptcd" type="STRING" size="256" sumtext="처방실시부서코드"/>
  1146. <Column id="excuroomcd" type="STRING" size="256" sumtext="검사실코드"/>
  1147. <Column id="rgstdeptcd" type="STRING" size="256" sumtext="최초처방등록과코드"/>
  1148. <Column id="rgstrid" type="STRING" size="256" sumtext="최초처방등록의사코드"/>
  1149. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  1150. <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
  1151. <Column id="sna" type="STRING" size="256" sumtext="성별/나이"/>
  1152. <Column id="portprcpflag" type="STRING" size="256" sumtext="포터블처방여부"/>
  1153. <Column id="inflag" type="STRING" size="256" sumtext="재원여부"/>
  1154. <Column id="rcptacptyn" type="STRING" size="256" sumtext="미수납접수여부"/>
  1155. <Column id="execbaseflag" type="STRING" size="256" sumtext="실시기준여부"/>
  1156. <Column id="lrgcd" type="STRING" size="256" sumtext="대분류코드(검사실그룹)"/>
  1157. <Column id="mdlcd" type="STRING" size="256" sumtext="소분류코드(부위)"/>
  1158. <Column id="excupartcd" type="STRING" size="256" sumtext="검사치료부위코드"/>
  1159. <Column id="modality" type="STRING" size="256" sumtext="Modality"/>
  1160. <Column id="rcptno" type="INT" size="256" sumtext="영수증번호"/>
  1161. <Column id="acptseqno" type="INT" size="256" sumtext="접수일련번호"/>
  1162. <Column id="acptrem" type="STRING" size="256" sumtext="접수참고사항"/>
  1163. <Column id="execrem" type="STRING" size="256" sumtext="실시참고사항"/>
  1164. <Column id="prcpdelivefact" type="STRING" size="256" sumtext="처방참고사항"/>
  1165. <Column id="rsrvtmplyn" type="STRING" size="256" sumtext="동의서유무"/>
  1166. <Column id="dyetrivialyn" type="STRING" size="256" sumtext="조영제부작용여부"/>
  1167. <Column id="acptdt" type="STRING" size="256" sumtext="접수일시"/>
  1168. <Column id="acpttm" type="STRING" size="256" sumtext="접수시간"/>
  1169. <Column id="pacsnocretyn" type="STRING" size="256" sumtext="PACS전송여부,AEBMECCD"/>
  1170. <Column id="acptid" type="STRING" size="256" sumtext="접수자ID=보류자ID(접수보류상태시),실시된처방내역조회경우"/>
  1171. <Column id="rcptdd" type="STRING" size="256" sumtext="수납일자"/>
  1172. <Column id="carecnfmdd" type="STRING" size="256" sumtext="간호확인일자"/>
  1173. <Column id="execrid1" type="STRING" size="256" sumtext="실시자ID1,실시된처방내역조회경우"/>
  1174. <Column id="execrid2" type="STRING" size="256" sumtext="실시자ID2,실시된처방내역조회경우"/>
  1175. <Column id="execrid3" type="STRING" size="256" sumtext="실시자ID3,실시된처방내역조회경우"/>
  1176. <Column id="execrid4" type="STRING" size="256" sumtext="실시자ID4,실시된처방내역조회경우"/>
  1177. <Column id="reqagnphoyn" type="STRING" size="256" sumtext="중복검사여부"/>
  1178. <!-- 추가처방시 pid, prcpgenrflag, orddd, cretno가 필요함 -->
  1179. <Column id="orddd" type="STRING" size="256" sumtext="입원/진료일자"/>
  1180. <Column id="cretno" type="STRING" size="256" sumtext="원무생성번호"/>
  1181. <Column id="basesuppdeptcd" type="STRING" size="256" sumtext="부서코드"/>
  1182. <Column id="orddepthngnm" type="STRING" size="256" sumtext="진료과명"/>
  1183. <Column id="rgsttm" type="STRING" size="256" sumtext="PACS연동, 처방시간"/>
  1184. <Column id="pacsnocretcdyn" type="STRING" size="256" sumtext="PACS전송여부"/>
  1185. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
  1186. <Column id="orddrid" type="STRING" size="256" sumtext="진료의ID"/>
  1187. <Column id="rsrvyn" type="STRING" size="256" sumtext="접수,예약구분"/>
  1188. <Column id="roomcd" type="STRING" size="256" sumtext="병실정보"/>
  1189. </ColumnInfo>
  1190. </Dataset>
  1191. <Dataset id="ds_main_subordlist_isolinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1192. <ColumnInfo>
  1193. <Column id="isoldispcd" type="STRING" size="256"/>
  1194. </ColumnInfo>
  1195. <Rows>
  1196. <Row/>
  1197. </Rows>
  1198. </Dataset>
  1199. <Dataset id="ds_main_subordlist_subordlist6" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1200. <ColumnInfo>
  1201. <Column id="prcpdelivefactsum" type="STRING" size="256"/>
  1202. </ColumnInfo>
  1203. <Rows>
  1204. <Row/>
  1205. </Rows>
  1206. </Dataset>
  1207. <Dataset id="ds_main_comment1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1208. <Dataset id="ds_init_popupmenu_grid01" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1209. <ColumnInfo>
  1210. <Column id="label" type="STRING" size="256"/>
  1211. <Column id="func" type="STRING" size="256"/>
  1212. <Column id="level" type="STRING" size="256"/>
  1213. </ColumnInfo>
  1214. <Rows>
  1215. <Row>
  1216. <Col id="label">예약관리</Col>
  1217. <Col id="func">fRsrvTrans</Col>
  1218. </Row>
  1219. <Row>
  1220. <Col id="label">접수관리</Col>
  1221. <Col id="func">fLinkAcptMngt</Col>
  1222. </Row>
  1223. <Row>
  1224. <Col id="label">PACS조회(등록번호)</Col>
  1225. <Col id="func">fPACSInfo</Col>
  1226. </Row>
  1227. <Row>
  1228. <Col id="label">PACS조회(처방기준)</Col>
  1229. <Col id="func">fPACSPrcpInfo</Col>
  1230. </Row>
  1231. <Row>
  1232. <Col id="label">영상검사필름내역</Col>
  1233. <Col id="func">fFilmInfo</Col>
  1234. </Row>
  1235. <Row>
  1236. <Col id="label">환자정보</Col>
  1237. <Col id="func">fPatidInfo</Col>
  1238. </Row>
  1239. <Row>
  1240. <Col id="label">촬영실배정관리</Col>
  1241. <Col id="func">fPhotoAssignMngt</Col>
  1242. </Row>
  1243. <Row>
  1244. <Col id="label">처방발행</Col>
  1245. <Col id="func">fAddPrcpMngt</Col>
  1246. </Row>
  1247. <Row>
  1248. <Col id="label">라벨출력</Col>
  1249. <Col id="func">fLabelPrint</Col>
  1250. </Row>
  1251. <Row>
  1252. <Col id="label">병리라벨출력</Col>
  1253. <Col id="func">fPathLabelPrint</Col>
  1254. </Row>
  1255. <Row>
  1256. <Col id="label">재진예약조회</Col>
  1257. <Col id="func">fPamRsrvInfo</Col>
  1258. </Row>
  1259. <Row>
  1260. <Col id="label">통합검사결과조회</Col>
  1261. <Col id="func">fTotalResultInfo</Col>
  1262. </Row>
  1263. <Row>
  1264. <Col id="label">조영제부작용관리</Col>
  1265. <Col id="func">fAngioInfo</Col>
  1266. </Row>
  1267. <Row>
  1268. <Col id="label">동의서출력확인</Col>
  1269. <Col id="func">fOCRInfo</Col>
  1270. </Row>
  1271. <Row>
  1272. <Col id="label">등록번호Copy</Col>
  1273. <Col id="func">fPidCopy</Col>
  1274. </Row>
  1275. <Row>
  1276. <Col id="label">이송요원호출</Col>
  1277. <Col id="func">fTranEmpCall</Col>
  1278. </Row>
  1279. <Row>
  1280. <Col id="label">골밀도검사현황</Col>
  1281. <Col id="func">fBmdList</Col>
  1282. </Row>
  1283. <Row>
  1284. <Col id="label">간호일지 TYPE II(ANGIO)</Col>
  1285. <Col id="func">fNurseRecII</Col>
  1286. </Row>
  1287. <Row>
  1288. <Col id="label">간호일지 TYPE II(심도자)</Col>
  1289. <Col id="func">fNurseRecIII</Col>
  1290. </Row>
  1291. </Rows>
  1292. </Dataset>
  1293. <Dataset id="ds_pacsuserinfo_userinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1294. <Dataset id="ds_init_cmb_info4_initpoproom_A700" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1295. <Dataset id="ds_barcdprntsetup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1296. <Dataset id="ds_init_cmb_info2_initexecrid1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1297. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1298. <Dataset id="ds_main_subordlist_dyeslist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1299. <ColumnInfo>
  1300. <Column id="dyesyn" type="STRING" size="256" sumtext="조영제부작용여부"/>
  1301. <!-- 2010.10.29 c y w 조영제부작용수치조회 -->
  1302. <Column id="reptrslt" type="STRING" size="256" sumtext="조영제부작용수치"/>
  1303. </ColumnInfo>
  1304. </Dataset>
  1305. <Dataset id="ds_init_open" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1306. <ColumnInfo>
  1307. <Column id="baseroomopenyn" type="STRING" size="256" sumtext="개폐여부"/>
  1308. <Column id="openyn" type="STRING" size="256"/>
  1309. </ColumnInfo>
  1310. <Rows>
  1311. <Row/>
  1312. </Rows>
  1313. </Dataset>
  1314. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1315. <Dataset id="ds_send_data_grd_info_grid_data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1316. <Dataset id="ds_hidden_isolinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1317. <Dataset id="ds_source_sourceinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1318. <Dataset id="ds_send_GosiPrcpRcpyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1319. <Dataset id="ds_hidden_prcprcptyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1320. <ColumnInfo>
  1321. <Column id="prcprcptyn" type="STRING" size="256"/>
  1322. </ColumnInfo>
  1323. </Dataset>
  1324. <Dataset id="ds_data_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1325. <Dataset id="ds_hidden_cnclcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1326. <ColumnInfo>
  1327. <Column id="cnclcd" type="STRING" size="256"/>
  1328. </ColumnInfo>
  1329. <Rows>
  1330. <Row/>
  1331. </Rows>
  1332. </Dataset>
  1333. <Dataset id="ds_send_data_tobeacptprcp_tobeacptprcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1334. <Dataset id="ds_send_data_tobeacptcnclprcp_tobeacptcnclprcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1335. <Dataset id="ds_send_data_tobesetexamcureroomcode_tobesetexamcureroomcodelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1336. <Dataset id="ds_send_data_tobeholdprcp_tobeholdprcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1337. <Dataset id="ds_send_data_tobeholdcnclprcp_tobeholdcnclprcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1338. <Dataset id="ds_send_data_tobesetexamcureacceptroomcode_tobesetexamcureacceptroomcodelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1339. <Dataset id="ds_hidden_barprntinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1340. <ColumnInfo>
  1341. <Column id="comport" type="STRING" size="256"/>
  1342. <Column id="setting" type="STRING" size="256"/>
  1343. <Column id="ip" type="STRING" size="256"/>
  1344. <Column id="patdonor" type="STRING" size="256"/>
  1345. </ColumnInfo>
  1346. <Rows>
  1347. <Row>
  1348. <Col id="comport">2</Col>
  1349. <Col id="setting">9600,n,8,1</Col>
  1350. <Col id="ip"/>
  1351. <Col id="patdonor">1</Col>
  1352. </Row>
  1353. </Rows>
  1354. </Dataset>
  1355. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1356. <ColumnInfo>
  1357. <Column id="Message" type="STRING" size="256"/>
  1358. </ColumnInfo>
  1359. <Rows>
  1360. <Row/>
  1361. </Rows>
  1362. </Dataset>
  1363. <Dataset id="ds_hidden_popdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1364. <ColumnInfo>
  1365. <Column id="pid" type="STRING" size="256"/>
  1366. </ColumnInfo>
  1367. <Rows>
  1368. <Row/>
  1369. </Rows>
  1370. </Dataset>
  1371. </Objects>
  1372. <Bind>
  1373. <BindItem id="item0" compid="group2.cmb_excuroomgrp" propid="value" datasetid="ds_send_data_cmb_info_initexcuroomgrp" columnid="excuroomgrpcdid"/>
  1374. <BindItem id="item1" compid="group2.cmb_excuroom" propid="value" datasetid="ds_send_data_cmb_info_initexecroom" columnid="excuroomcdid"/>
  1375. <BindItem id="item2" compid="group2.ipt_pid" propid="value" datasetid="ds_send_data" columnid="srchpid"/>
  1376. <BindItem id="item3" compid="group2.cmb_execrid1" propid="value" datasetid="ds_send_data_cmb_info_initexecrid1" columnid="execrid1cdid"/>
  1377. <BindItem id="item4" compid="group2.output3" propid="value" datasetid="ds_main_patinfo_patinfolist" columnid="hngnm"/>
  1378. <BindItem id="item5" compid="group2.output1" propid="value" datasetid="ds_main_patinfo_patinfolist" columnid="rrgstno1"/>
  1379. <BindItem id="item6" compid="group2.output2" propid="value" datasetid="ds_main_patinfo_patinfolist" columnid="rrgstno2"/>
  1380. <BindItem id="item7" compid="group2.output4" propid="value" datasetid="ds_main_patinfo_patinfolist" columnid="sex"/>
  1381. <BindItem id="item8" compid="group2.output5" propid="value" datasetid="ds_main_patinfo_patinfolist" columnid="age"/>
  1382. <BindItem id="item9" compid="group2.output6" propid="value" datasetid="ds_main_patinfo_patinfolist" columnid="ward"/>
  1383. <BindItem id="item10" compid="group2.ipt_date1" propid="value" datasetid="ds_send_data" columnid="srchdate1"/>
  1384. <BindItem id="item11" compid="group2.cmb_execrid4" propid="value" datasetid="ds_send_data_cmb_info_initexecrid4" columnid="execrid4cdid"/>
  1385. <BindItem id="item12" compid="group2.cmb_execrid3" propid="value" datasetid="ds_send_data_cmb_info_initexecrid3" columnid="execrid3cdid"/>
  1386. <BindItem id="item13" compid="group2.cmb_execrid2" propid="value" datasetid="ds_send_data_cmb_info_initexecrid2" columnid="execrid2cdid"/>
  1387. <BindItem id="item14" compid="chk_ioflag11" propid="value" datasetid="ds_send_data" columnid="ioflag"/>
  1388. <BindItem id="item15" compid="chk_holdlistflag" propid="value" datasetid="ds_send_data" columnid="holdlistflag"/>
  1389. <BindItem id="item16" compid="chk_ioflag" propid="value" datasetid="ds_send_data" columnid="ioflag"/>
  1390. <BindItem id="item17" compid="ipt_dyes" propid="value" datasetid="ds_init" columnid="textdyes"/>
  1391. <BindItem id="item18" compid="group7.txt_isol" propid="value" datasetid="ds_main_subordlist_isolinfo" columnid="isoldispcd"/>
  1392. <BindItem id="item19" compid="tar_prcpremfact" propid="value" datasetid="ds_main_subordlist_subordlist6" columnid="prcpdelivefactsum"/>
  1393. <BindItem id="item20" compid="tar_acptrem" propid="value" datasetid="ds_main_comment1" columnid="acptrem"/>
  1394. <BindItem id="item21" compid="tar_execrem" propid="value" datasetid="ds_main_comment1" columnid="execrem"/>
  1395. </Bind>
  1396. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  1397. * System Name :
  1398. * Job Name :
  1399. * Creator :
  1400. * Make Date : 2015-11-13
  1401. * Description :
  1402. *---------------------------------------------------------------------------------------
  1403. * Modify Date Modifier Modify Description
  1404. *---------------------------------------------------------------------------------------
  1405. * 2015-11-13 Live Converter TF->XP
  1406. *
  1407. *---------------------------------------------------------------------------------------
  1408. ****************************************************************************************/
  1409. include "com_commonxp::comm_main.xjs";
  1410. include "ast_examcurexp::AEZ0001.xjs";
  1411. include "ast_examcurexp::combolist.xjs"
  1412. include "lis_commonxp::LZZ001.xjs"
  1413. include "lis_commonxp::LLZ001.xjs"
  1414. include "emr_wardcarexp::SMMNB01810.xjs";
  1415. var arErrorCode = new HashArray();
  1416. var vSuppdeptcd ;
  1417. function SMAER00200_oninit(obj:Form, e:InitEventInfo)
  1418. {
  1419. frmf_initForm(obj);
  1420. }
  1421. function SMAER00200_onload(obj:Form, e:LoadEventInfo)
  1422. {
  1423. grdf_initGrid(switch1.case2.grd_mainordlist2);
  1424. grdf_initGrid(switch1.case3.grd_mainordlist3);
  1425. grdf_initGrid(switch1.case5.grd_mainordlist5);
  1426. grdf_initGrid(grd_subordlist1);
  1427. grdf_setRowTypeIcon(grd_subordlist1, 0);
  1428. grdf_initGrid(datagrid4);
  1429. grdf_initGrid(grd_subordlist2);
  1430. grdf_setRowTypeIcon(grd_subordlist2, 0);
  1431. grdf_initGrid(datagrid3);
  1432. grdf_initGrid(group4.datagrid2);
  1433. grdf_initGrid(grp_datagrid1.datagrid1);
  1434. grdf_setToolTipBind(switch1.case2.grd_mainordlist2);
  1435. grdf_setToolTipBind(switch1.case3.grd_mainordlist3);
  1436. grdf_setToolTipBind(switch1.case5.grd_mainordlist5);
  1437. grdf_setToolTipBind(datagrid4);
  1438. grdf_setToolTipBind(grd_subordlist1);
  1439. grdf_setToolTipBind(grd_subordlist2);
  1440. grdf_setToolTipBind(datagrid3);
  1441. var posdeptnm = sysf_getUserInfo("posdeptnm");
  1442. obj.title = "자체예약관리(" + posdeptnm + ")";
  1443. caption6.text = "자체예약관리(" + posdeptnm + ")";
  1444. lf_aezfSetSuppDeptcd();
  1445. vSuppdeptcd = frmf_getPrestDeptCd();
  1446. ds_send_data.setColumn(0, "basesuppdeptcd", vSuppdeptcd);
  1447. fInitTar();
  1448. fInitGrid();
  1449. btn_execcncl.enable = false;
  1450. btn_hold.enable = false;
  1451. btn_holdcncl.enable = false;
  1452. grp_datagrid1.visible = false;
  1453. // 검사실개폐 캡션 초기화
  1454. btn_open.enable = false;
  1455. btn_close.enable = false;
  1456. // 조영제부작용 여부 초기화
  1457. ipt_dyes.visible = false;
  1458. //dsf_setFixVal(oDataset, "rbasecdflag:R,ebasecdflag:E,initflag:1");
  1459. dsf_createDsRow("ds_send_globalinstance", [{col:"basesuppdeptcd", type:"STRING", size:256 , val : vSuppdeptcd}
  1460. , {col:"rbasecdflag", type:"STRING", size:256 , val : "R"}
  1461. , {col:"ebasecdflag", type:"STRING", size:256 , val : "E"}
  1462. , {col:"instcd", type:"STRING", size:256 , val : ""}
  1463. , {col:"initflag", type:"STRING", size:256 , val : "1"}
  1464. , {col:"alladdyn", type:"STRING", size:256 , val : ""}
  1465. , {col:"basecdcnts", type:"STRING", size:256 , val : group2.cmb_excuroomgrp.value}]);
  1466. var oParam = {};
  1467. oParam.id = "TRAEA01301";
  1468. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  1469. oParam.method = "reqGetInitExamCureRoomGrpCodeList";
  1470. oParam.inds = "reqparam=ds_send_globalinstance";
  1471. oParam.outds = "ds_init_cmb_info_initexcuroomgrp=initexcuroomgrp "
  1472. +"ds_=initexcuroomgrp2 "
  1473. +"ds_init_cmb_info_initexecroom=initexcuroom "
  1474. +"ds_init_cmb_info_initexecrid1=initexecrid "
  1475. +"ds_=initexecrid "
  1476. +"ds_=initexecrid "
  1477. +"ds_=initexecrid "
  1478. +"ds_=initexcuward "
  1479. +"ds_=suppdept "
  1480. +"ds_=initsystgrd "
  1481. +"ds_=initsystmdl "
  1482. +"ds_=initsystchief";
  1483. oParam.async = false;
  1484. //oParam.callback = "cf_TRAEA01301";
  1485. tranf_submit(oParam);
  1486. var oParam = {};
  1487. oParam.id = "TRAEA01306";
  1488. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  1489. oParam.method = "reqGetInitPhotoExamCureRoomCodeList";
  1490. oParam.inds = "reqparam=ds_send_globalinstance";
  1491. oParam.outds = "ds_init_cmb_info2_initexecroom=initexcuroom "
  1492. +"ds_init_cmb_info2_initexecrid1=initexecrid "
  1493. +"ds_=initexecrid "
  1494. +"ds_=initexecrid "
  1495. +"ds_=initexecrid";
  1496. oParam.async = false;
  1497. //oParam.callback = "cf_TRAEA01306";
  1498. tranf_submit(oParam);
  1499. ds_init_cmb_info_initexecrid2.copyData(ds_init_cmb_info2_initexecrid1);
  1500. ds_init_cmb_info_initexecrid3.copyData(ds_init_cmb_info2_initexecrid1);
  1501. ds_init_cmb_info_initexecrid4.copyData(ds_init_cmb_info2_initexecrid1);
  1502. var arrParam = [{dsNm: "ds_init_baseinfo_initexecprcpstatcd_M0011", cdGrpId: "M0011"}
  1503. ,{dsNm: "ds_init_baseinfo_initprcpgenrflagcd_M0010", cdGrpId: "M0010"}]
  1504. appf_getCodeList(arrParam);
  1505. // var oParam = {};
  1506. // oParam.id = "TRZBC00101";
  1507. // oParam.service = "basiccodeapp.BasicCodeUser";
  1508. // oParam.method = "reqGetCodeLists";
  1509. // oParam.inds = "cmd=ds_ req=ds_";
  1510. // oParam.outds = "ds_=${repeat_ref}";
  1511. // oParam.async = false;
  1512. // oParam.callback = "cf_TRZBC00101";
  1513. //
  1514. // tranf_submit(oParam);
  1515. group2.ipt_date1.value = utlf_getCurrentDate();
  1516. var equaluserid = ds_init_cmb_info_initexecrid1.getColumn(0, "equaluserid");
  1517. ds_send_data_cmb_info_initexecrid1.setColumn(0, "execrid1cdid", equaluserid);
  1518. ds_init_cmb_info_initexcuroomgrp.setColumn(0, "basecdcnts", "");
  1519. ds_init_cmb_info2_initexecroom.setColumn(0, "basecd", "");
  1520. group2.cmb_excuroomgrp.index = 0;
  1521. group2.cmb_excuroom.index = 0;
  1522. grd_subordlist1.setCellProperty("Head", 1, "text", 0);
  1523. // PACS 연동 초기화
  1524. //zepfpacsInit();
  1525. // dsf_createDsRow("ds_req", [{col:"userid", type:"STRING", size:256 , val : sysf_getUserInfo("userid")}]);
  1526. // var oParam = {};
  1527. // oParam.id = "TRZEP00101";
  1528. // oParam.service = "userdeptinfoapp.UserInfo";
  1529. // oParam.method = "reqGetUserPassword";
  1530. // oParam.inds = "req=ds_req";
  1531. // oParam.outds = "ds_pacsuserinfo_userinfo=userpwd";
  1532. // oParam.async = false;
  1533. // //oParam.callback = "cf_TRP00101";
  1534. //
  1535. // tranf_submit(oParam);
  1536. // 라벨출력 초기화
  1537. //바코드 출력
  1538. dsf_createDsRow("ds_req", [{col:"scrnid", type:"STRING", size:256, val:frmf_getScreenID()}]);
  1539. var oParam = {}; // 20090617 SATO 관련 추가
  1540. oParam.id = "TRLLC90101";
  1541. oParam.service = "diagtestapplib.LisCommon";
  1542. oParam.method = "reqGetSetUpInfo";
  1543. oParam.inds = "scrnid=ds_req";
  1544. oParam.outds = "ds_barcdprntsetup=getSetUpInfo";
  1545. oParam.async = false;
  1546. //oParam.callback = "cf_TRLLC90101";
  1547. tranf_submit(oParam);
  1548. lf_convertXmlToDs(ds_barcdprntsetup.getColumn(0,"prntsetupinfo"));
  1549. lzzfMakeBrcdPrntObjHanDo("CommAX");
  1550. // 검사실 코드 조회 추가
  1551. var arrParam = [{dsNm: "ds_init_cmb_info4_initpoproom_A700" , cdGrpId: "A700"}]
  1552. lf_getAstCodeList(arrParam);
  1553. ds_init_cmb_info4_initpoproom_A700.deleteRow(0);
  1554. // var oParam = {};
  1555. // oParam.id = "TRAAA00001";
  1556. // oParam.service = "examcurebaseapp.ComCode";
  1557. // oParam.method = "reqGetComboList";
  1558. // oParam.inds = "cmd=ds_ req=ds_";
  1559. // oParam.outds = "ds_=${repeat_ref}";
  1560. // oParam.async = false;
  1561. // oParam.callback = "cf_TRAAA00001";
  1562. //
  1563. // tranf_submit(oParam);
  1564. //2011.01.31 건진처방 구분
  1565. var menuparam = frmf_getMenuParam();
  1566. if(!utlf_isNull(menuparam))
  1567. {
  1568. ds_send_data.setColumn(0,"ioflag", menuparam);
  1569. }
  1570. }
  1571. function fInitTar()
  1572. {
  1573. dsf_makeValue(ds_main_subordlist_subordlist6, "prcpdelivefactsum", "string", "-");
  1574. dsf_makeValue(ds_main_comment1, "acptrem", "string", "-");
  1575. dsf_makeValue(ds_main_comment1, "execrem", "string", "-");
  1576. ipt_dyes.visible = false;
  1577. }
  1578. function fInitGrid()
  1579. {
  1580. ds_main_ordlist2_mainordlist.clearData();
  1581. ds_main_ordlist3_mainordlist.clearData();
  1582. ds_main_ordlist5_mainordlist.clearData();
  1583. ds_main_subordlist_subordlist1.clearData();
  1584. ds_main_subordlist_subordlist2.clearData();
  1585. ds_main_subordlist_subordlist3.clearData();
  1586. }
  1587. function btn_caption6_ondblclick(obj:Button, e:MouseEventInfo)
  1588. {
  1589. frmf_open("SMAER00010", "SMAER00010", "", "", "", "", "", "", "", "", "", "", "M");
  1590. }
  1591. function group2_cmb_excuroomgrp_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1592. {
  1593. dsf_makeValue(ds_send_globalinstance, "basecdcnts", "string", obj.value);
  1594. var oParam = {};
  1595. oParam.id = "TRAEA01306";
  1596. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  1597. oParam.method = "reqGetInitPhotoExamCureRoomCodeList";
  1598. oParam.inds = "reqparam=ds_send_globalinstance";
  1599. oParam.outds = "ds_init_cmb_info2_initexecroom=initexcuroom "
  1600. +"ds_init_cmb_info2_initexecrid1=initexecrid "
  1601. +"ds_=initexecrid "
  1602. +"ds_=initexecrid "
  1603. +"ds_=initexecrid";
  1604. oParam.async = false;
  1605. //oParam.callback = "cf_TRAEA01306";
  1606. tranf_submit(oParam);
  1607. ds_init_cmb_info_initexecrid3.copyData(ds_init_cmb_info_initexecrid2);
  1608. ds_init_cmb_info_initexecrid4.copyData(ds_init_cmb_info_initexecrid2);
  1609. ds_send_data_cmb_info_initexecroom.setColumn(0, "excuroomcdid", "");
  1610. ds_init_cmb_info_initexecrid1.clearData();
  1611. ds_init_cmb_info_initexecrid2.clearData();
  1612. ds_init_cmb_info_initexecrid3.clearData();
  1613. ds_init_cmb_info_initexecrid4.clearData();
  1614. var srchLength1 = ds_init_cmb_info2_initexecrid1.rowcount;
  1615. if ( srchLength1 > 0 )
  1616. {
  1617. ds_init_cmb_info_initexecrid1.copyData(ds_init_cmb_info2_initexecrid1);
  1618. ds_init_cmb_info_initexecrid2.copyData(ds_init_cmb_info2_initexecrid1);
  1619. ds_init_cmb_info_initexecrid3.copyData(ds_init_cmb_info2_initexecrid1);
  1620. ds_init_cmb_info_initexecrid4.copyData(ds_init_cmb_info2_initexecrid1);
  1621. }
  1622. ds_init_cmb_info2_initexecrid1.clearData();
  1623. fInitGrid();
  1624. }
  1625. function group2_ipt_pid_onkeyup(obj:Edit, e:KeyEventInfo)
  1626. {
  1627. if(e.keycode == 13)
  1628. {
  1629. obj.updateToDataset();
  1630. var chk = lf_aezfGetSrchPatInfo("1", ds_send_data.getColumn(0, "srchpid"), sysf_getUserInfo("dutplceinstcd"), "patchosinfo", "ds_main_patinfo_patinfolist" );
  1631. if ( chk == "0" )
  1632. {
  1633. return;
  1634. }
  1635. group2.btn_sea.click();
  1636. }
  1637. }
  1638. function group2_cmb_excuroom_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1639. {
  1640. if(switch1.tabindex == 0)
  1641. {
  1642. fGetExamCureAcptList("J"); // 접수
  1643. }
  1644. else if(switch1.tabindex == 1)
  1645. {
  1646. fGetExamCureAcptList("S"); // 실시
  1647. }
  1648. else
  1649. {
  1650. fGetExamCureAcptList("Z"); // 결과
  1651. }
  1652. }
  1653. function fGetExamCureAcptList(acptlistflag)
  1654. {
  1655. if ( ds_send_data.getColumn(0, "ioflag") == "S" )
  1656. {
  1657. ds_send_data.setColumn(0, "ioflag", "S");
  1658. }
  1659. else if ( ds_send_data.getColumn(0, "ioflag") == "A" )
  1660. {
  1661. ds_send_data.setColumn(0, "ioflag", "A");
  1662. }
  1663. else
  1664. {
  1665. ds_send_data.setColumn(0, "ioflag", "");
  1666. }
  1667. // flag Setting
  1668. dsf_makeValue(ds_send_data, "acptlistflag", "string", acptlistflag);
  1669. fInitTar();
  1670. fInitGrid();
  1671. ds_main_ordlist2_subordlist4.clearData();
  1672. switch (acptlistflag)
  1673. {
  1674. case "J": //접수
  1675. switch1.tabindex = 0;
  1676. ds_send.clear();
  1677. dsf_makeValue(ds_send, "initexcuroomgrp", "string", ds_send_data_cmb_info_initexcuroomgrp.getColumn(0, "excuroomgrpcdid"));
  1678. dsf_makeValue(ds_send, "initexcuroom", "string", ds_send_data_cmb_info_initexecroom.getColumn(0, "excuroomcdid"));
  1679. dsf_makeValue(ds_send, "srchpid", "string", ds_send_data.getColumn(0, "srchpid"));
  1680. dsf_makeValue(ds_send, "srchdate1", "string", ds_send_data.getColumn(0, "srchdate1"));
  1681. dsf_makeValue(ds_send, "srchdate2", "string", ds_send_data.getColumn(0, "srchdate1"));
  1682. dsf_makeValue(ds_send, "basesuppdeptcd", "string", ds_send_data.getColumn(0, "basesuppdeptcd"));
  1683. dsf_makeValue(ds_send, "acptlistflag", "string", ds_send_data.getColumn(0, "acptlistflag"));
  1684. dsf_makeValue(ds_send, "rbasecdflag", "string", "R")
  1685. dsf_makeValue(ds_send, "zbasecdflag", "string", "Z")
  1686. dsf_makeValue(ds_send, "execprcpstat440cd", "string", "440")
  1687. dsf_makeValue(ds_send, "transactiongubn", "string", "2")
  1688. dsf_makeValue(ds_send, "largeclass", "string", "M1")
  1689. dsf_makeValue(ds_send, "ioflag", "string", ds_send_data.getColumn(0, "ioflag"));
  1690. dsf_makeValue(ds_send, "holdlistflag", "string", ds_send_data.getColumn(0, "holdlistflag"));
  1691. dsf_makeValue(ds_send, "serdiagflag", "string", "");
  1692. var oParam = {};
  1693. oParam.id = "TRAER00203";
  1694. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  1695. oParam.method = "reqGetExamCureAcptList";
  1696. oParam.inds = "reqparam=ds_send";
  1697. oParam.outds = "ds_main_ordlist2_mainordlist=examcureacptlist "
  1698. +"ds_main_ordlist2_subordlist4=examcureroomwaitcntlist "
  1699. +"ds_main_ordlist2_subordlist4=examcureholdroomwaitcntlist";
  1700. oParam.async = false;
  1701. //oParam.callback = "cf_TRAER00203";
  1702. tranf_submit(oParam);
  1703. btn_roommodify.enable = true;
  1704. btn_exec.enable = true;
  1705. btn_execcncl.enable = false;
  1706. btn_hold.enable = true;
  1707. btn_holdcncl.enable = true;
  1708. // 접수상태에서만 대기자 현황을 조회하는데, 개폐여부가 'N'이면 폐쇄되었다는 대기현황에 색상 표시를 해준다. 20071115
  1709. // fSetSubDetailGrid() 그리드 내 EXPR 구현 2019-04-23 이아영
  1710. // 장준원, 20080910
  1711. ds_main_ordlist2_mainordlist.keystring = "S:acpttm+";
  1712. // fSetGrdMainordlist() 그리드 내 EXPR 구현 2019-04-23 이아영
  1713. break;
  1714. case "S": //실시
  1715. switch1.tabindex = 1;
  1716. ds_send.clear();
  1717. dsf_makeValue(ds_send, "initexcuroomgrp", "string", ds_send_data_cmb_info_initexcuroomgrp.getColumn(0, "excuroomgrpcdid"));
  1718. dsf_makeValue(ds_send, "initexcuroom", "string", ds_send_data_cmb_info_initexecroom.getColumn(0, "excuroomcdid"));
  1719. dsf_makeValue(ds_send, "srchpid", "string", ds_send_data.getColumn(0, "srchpid"));
  1720. dsf_makeValue(ds_send, "srchdate1", "string", ds_send_data.getColumn(0, "srchdate1"));
  1721. dsf_makeValue(ds_send, "srchdate2", "string", ds_send_data.getColumn(0, "srchdate1"));
  1722. dsf_makeValue(ds_send, "basesuppdeptcd", "string", ds_send_data.getColumn(0, "basesuppdeptcd"));
  1723. dsf_makeValue(ds_send, "acptlistflag", "string", ds_send_data.getColumn(0, "acptlistflag"));
  1724. dsf_makeValue(ds_send, "transactiongubn", "string", "2")
  1725. dsf_makeValue(ds_send, "largeclass", "string", "M1")
  1726. dsf_makeValue(ds_send, "ioflag", "string", ds_send_data.getColumn(0, "ioflag"));
  1727. var oParam = {};
  1728. oParam.id = "TRAER00204";
  1729. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  1730. oParam.method = "reqGetExamCureAcptList";
  1731. oParam.inds = "reqparam=ds_send";
  1732. oParam.outds = "ds_main_ordlist3_mainordlist=examcureexeclist";
  1733. oParam.async = false;
  1734. //oParam.callback = "cf_TRAER00204";
  1735. tranf_submit(oParam);
  1736. btn_roommodify.enable = false;
  1737. btn_exec.enable = false;
  1738. btn_execcncl.enable = true;
  1739. btn_hold.enable = false;
  1740. btn_holdcncl.enable = false;
  1741. break;
  1742. case "Z": //결과
  1743. switch1.tabindex = 2;
  1744. ds_send.clear();
  1745. dsf_makeValue(ds_send, "initexcuroomgrp", "string", ds_send_data_cmb_info_initexcuroomgrp.getColumn(0, "excuroomgrpcdid"));
  1746. dsf_makeValue(ds_send, "initexcuroom", "string", ds_send_data_cmb_info_initexecroom.getColumn(0, "excuroomcdid"));
  1747. dsf_makeValue(ds_send, "srchpid", "string", ds_send_data.getColumn(0, "srchpid"));
  1748. dsf_makeValue(ds_send, "srchdate1", "string", ds_send_data.getColumn(0, "srchdate1"));
  1749. dsf_makeValue(ds_send, "srchdate2", "string", ds_send_data.getColumn(0, "srchdate1"));
  1750. dsf_makeValue(ds_send, "basesuppdeptcd", "string", ds_send_data.getColumn(0, "basesuppdeptcd"));
  1751. dsf_makeValue(ds_send, "acptlistflag", "string", ds_send_data.getColumn(0, "acptlistflag"));
  1752. dsf_makeValue(ds_send, "rbasecdflag", "string", "R")
  1753. dsf_makeValue(ds_send, "zbasecdflag", "string", "Z")
  1754. dsf_makeValue(ds_send, "execprcpstat440cd", "string", "440")
  1755. dsf_makeValue(ds_send, "transactiongubn", "string", "2")
  1756. dsf_makeValue(ds_send, "largeclass", "string", "M1")
  1757. dsf_makeValue(ds_send, "ioflag", "string", ds_send_data.getColumn(0, "ioflag"));
  1758. dsf_makeValue(ds_send, "holdlistflag", "string", ds_send_data.getColumn(0, "holdlistflag"));
  1759. var oParam = {};
  1760. oParam.id = "TRAER00205";
  1761. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  1762. oParam.method = "reqGetExamCureAcptList";
  1763. oParam.inds = "reqparam=ds_send";
  1764. oParam.outds = "ds_main_ordlist5_mainordlist=examcureacptlist ds_=examcureroomwaitcntlist ds_=examcureholdroomwaitcntlist";
  1765. oParam.async = false;
  1766. //oParam.callback = "cf_TRAER00205";
  1767. tranf_submit(oParam);
  1768. btn_roommodify.enable = false;
  1769. btn_exec.enable = false;
  1770. btn_execcncl.enable = false;
  1771. btn_hold.enable = false;
  1772. btn_holdcncl.enable = false;
  1773. break;
  1774. default:
  1775. break;
  1776. }
  1777. // 조영제부작용 여부 내역을 체크한다.
  1778. if ( !utlf_isNull(ds_send_data.getColumn(0, "srchpid")))
  1779. {
  1780. var oParam = {};
  1781. oParam.id = "TRAEA00211";
  1782. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  1783. oParam.method = "reqGetDyesList";
  1784. oParam.inds = "reqparam=ds_send_data";
  1785. oParam.outds = "ds_main_subordlist_dyeslist=dyesyn";
  1786. oParam.async = false;
  1787. //oParam.callback = "cf_TRAEA00211";
  1788. tranf_submit(oParam);
  1789. if(ds_main_subordlist_dyeslist.getColumn(0, "dyesyn") == "Y" )
  1790. {
  1791. ipt_dyes.visible = true;
  1792. }
  1793. else
  1794. {
  1795. ipt_dyes.visible = false;
  1796. }
  1797. }
  1798. ds_send_data.setColumn(0, "srchpid","");
  1799. if (!utlf_isNull(ds_send_data_cmb_info_initexecroom.getColumn(0, "excuroomcdid")))
  1800. {
  1801. ds_send.clear();
  1802. dsf_makeValue(ds_send, "initexcuroom", "string", ds_send_data_cmb_info_initexecroom.getColumn(0, "excuroomcdid"));
  1803. dsf_makeValue(ds_send, "basesuppdeptcd", "string", ds_send_data.getColumn(0, "basesuppdeptcd"));
  1804. dsf_makeValue(ds_send, "rbasecdflag", "string", "R")
  1805. // 검사실개폐여부
  1806. var oParam = {};
  1807. oParam.id = "TRAER00206";
  1808. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  1809. oParam.method = "reqGetInitExamCureRoomOpenyn";
  1810. oParam.inds = "reqparam=ds_send";
  1811. oParam.outds = "ds_init_open=openyn";
  1812. oParam.async = false;
  1813. //oParam.callback = "cf_TRAER00206";
  1814. tranf_submit(oParam);
  1815. if ( ds_init_open.getColumn(0, "baseroomopenyn") == "Y" )
  1816. {
  1817. btn_open.enable = false;
  1818. btn_close.enable = true;
  1819. }
  1820. else if ( ds_init_open.getColumn(0, "baseroomopenyn") == "N" )
  1821. {
  1822. btn_open.enable = true;
  1823. btn_close.enable = false;
  1824. }
  1825. else
  1826. {
  1827. btn_open.enable = false;
  1828. btn_close.enable = false;
  1829. sysf_messageBox("검사실 개폐여부 기준자료를 입력하지 않았습니다.","I999");
  1830. }
  1831. }
  1832. }
  1833. function switch1_case2_grd_mainordlist2_oncellclick(obj:Grid, e:GridClickEventInfo)
  1834. {
  1835. if (e.row >= 0 && e.cell > 0)
  1836. {
  1837. fGetExamCurePrcpList(ds_main_ordlist2_mainordlist);
  1838. fPopUpPatList(); //미실시 환자 정보 팝업창 띄우는 함수 추가 2009.07.18 임여원
  1839. }
  1840. var TMPexcuroomgrpcdid = ds_send_data_cmb_info_initexcuroomgrp.getColumn(0, "excuroomgrpcdid") ;
  1841. if ( TMPexcuroomgrpcdid == "CT" || TMPexcuroomgrpcdid == "SP" || TMPexcuroomgrpcdid == "MRI" )
  1842. { // CT, SP, MRI 일경우만 확인
  1843. if ( ds_temp.getColumn(0, "prcprcptyn") == "J")
  1844. { // 미실시 Tab에서만 Check
  1845. fget0701GosiPrcpRcptChk(); //2009-06-29 7/1 본인부담율 인상으로 인한 메세지 처리
  1846. }
  1847. }
  1848. }
  1849. function fGetExamCurePrcpList(maingridlistid)
  1850. {
  1851. if ( maingridlistid.rowposition < 0 ) return;
  1852. fInitTar();
  1853. var row = maingridlistid.rowposition;
  1854. var pid = maingridlistid.getColumn(row, "pid");
  1855. var prcpdd = maingridlistid.getColumn(row, "prcpdd"); // pid, prcpdd, prcpgenrflag, orddeptcd 상병조회에서 모두사용함.
  1856. var prcpgenrflag = maingridlistid.getColumn(row, "prcpgenrflag");
  1857. var orddeptcd = maingridlistid.getColumn(row, "orddeptcd");
  1858. var aftrcptinfo = maingridlistid.getColumn(row, "aftrcptinfo");
  1859. cap_aftrcptinfo.visible = false;
  1860. // 후수납 상태 표시
  1861. if (aftrcptinfo == "A")
  1862. {
  1863. sysf_messageBox("미수납 처방입니다.","I999");
  1864. cap_aftrcptinfo.text = "";
  1865. }
  1866. else if (aftrcptinfo == "V")
  1867. {
  1868. cap_aftrcptinfo.text = "VIP";
  1869. cap_aftrcptinfo.visible = true;
  1870. }
  1871. else if (aftrcptinfo == "P")
  1872. {
  1873. cap_aftrcptinfo.text = "당일결과";
  1874. cap_aftrcptinfo.visible = true;
  1875. }
  1876. else
  1877. {
  1878. cap_aftrcptinfo.text = "";
  1879. }
  1880. // 환자정보 가져오기
  1881. var chk = lf_aezfGetSrchPatInfo("1", pid, sysf_getUserInfo("dutplceinstcd"), "patchosinfo", "ds_main_patinfo_patinfolist" );
  1882. if ( chk == "0" )
  1883. {
  1884. return;
  1885. }
  1886. ds_send_data.setColumn(0, "srchpid", pid);
  1887. var acptlistflag = "";
  1888. dsf_makeValue(ds_send_data_grd_info_grid_data, "pid", "String", pid);
  1889. dsf_makeValue(ds_send_data_grd_info_grid_data, "prcpdd", "String", prcpdd);
  1890. dsf_makeValue(ds_send_data_grd_info_grid_data, "prcpgenrflag", "String", prcpgenrflag);
  1891. dsf_makeValue(ds_send_data_grd_info_grid_data, "orddeptcd", "String", orddeptcd);
  1892. if ( switch1.tabindex == 0)
  1893. {
  1894. btn_exec.enable = true;
  1895. btn_execcncl.enable = false;
  1896. acptlistflag = "J"; // 접수
  1897. dsf_makeValue(ds_send_data_grd_info_grid_data, "largeclass", "string", "M1");
  1898. }
  1899. if ( switch1.tabindex == 1)
  1900. {
  1901. acptlistflag = "S"; // 실시
  1902. dsf_makeValue(ds_send_data_grd_info_grid_data, "largeclass", "string", "M1");
  1903. }
  1904. if ( switch1.tabindex == 2)
  1905. {
  1906. acptlistflag = "Z"; // 결과
  1907. dsf_makeValue(ds_send_data_grd_info_grid_data, "largeclass", "string", "M1");
  1908. }
  1909. dsf_makeValue(ds_send_data, "acptlistflag", "string", acptlistflag);
  1910. dsf_makeValue(ds_send_data_grd_info_grid_data, "initexcuroomgrp", "string", ds_send_data_cmb_info_initexcuroomgrp.getColumn(0, "excuroomgrpcdid"));
  1911. dsf_makeValue(ds_send_data_grd_info_grid_data, "initexcuroom", "string", ds_send_data_cmb_info_initexecroom.getColumn(0, "excuroomcdid"));
  1912. dsf_makeValue(ds_send_data_grd_info_grid_data, "srchdate1", "string", ds_send_data.getColumn(0, "srchdate1"));
  1913. dsf_makeValue(ds_send_data_grd_info_grid_data, "srchdate2", "string", ds_send_data.getColumn(0, "srchdate1"));
  1914. dsf_makeValue(ds_send_data_grd_info_grid_data, "basesuppdeptcd", "string", ds_send_data.getColumn(0, "basesuppdeptcd"));
  1915. dsf_makeValue(ds_send_data_grd_info_grid_data, "acptlistflag", "string", acptlistflag);
  1916. dsf_makeValue(ds_send_data_grd_info_grid_data, "srchpid", "string", pid);
  1917. dsf_makeValue(ds_send_data_grd_info_grid_data, "srchgubn", "string", "2");
  1918. dsf_makeValue(ds_send_data_grd_info_grid_data, "orddd", "string", prcpdd);
  1919. dsf_makeValue(ds_send_data_grd_info_grid_data, "holdlistflag", "string", ds_send_data.getColumn(0, "holdlistflag"));
  1920. dsf_makeValue(ds_send_data_grd_info_grid_data, "chkflag", "string", "A");
  1921. dsf_makeValue(ds_send_data_grd_info_grid_data, "suppdeptcd1", "string", ds_send_data.getColumn(0, "basesuppdeptcd"));
  1922. dsf_makeValue(ds_send_data_grd_info_grid_data, "setexecrid1cdid", "string", "");
  1923. dsf_makeValue(ds_send_data_grd_info_grid_data, "dschdd", "string", "");
  1924. dsf_makeValue(ds_send_data_grd_info_grid_data, "menuparam", "string", "");
  1925. var oParam = {};
  1926. oParam.id = "TRAER00211";
  1927. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  1928. oParam.method = "reqGetExamCureExecPrcpList";
  1929. oParam.inds = "reqparam=ds_send_data_grd_info_grid_data";
  1930. oParam.outds = "ds_main_subordlist_subordlist1=examcureexecprcplist "
  1931. +"ds_main_subordlist_subordlist6=examcureexecprcpdelivefactsum "
  1932. +"ds_main_subordlist_subordlist2=examcureexecholdprcplist "
  1933. +"ds_main_subordlist_subordlist3=examcureexecdiaglist "
  1934. +"ds_main_subordlist_dyeslist=dyesyn "
  1935. +"ds_=patisolinfolist "
  1936. +"ds_=exculist "
  1937. +"ds_main_patinfo_patinfolist=patinfolist "
  1938. +"ds_=prcprcptinfo "
  1939. +"ds_=examcureexecetcprcplist "
  1940. +"ds_=conflictyn";
  1941. oParam.async = false;
  1942. //oParam.callback = "cf_TRAER00211";
  1943. tranf_submit(oParam);
  1944. ds_main_subordlist_subordlist1.clearSelect();
  1945. ds_main_subordlist_subordlist1.rowposition = -1;
  1946. ds_main_subordlist_subordlist1.addColumn("basecd", "string");
  1947. ds_main_subordlist_subordlist1.addColumn("basecdnm", "string");
  1948. if(ds_main_subordlist_subordlist1.getColumnInfo("check1"))
  1949. {
  1950. ds_main_subordlist_subordlist1.updateColID("check1", "check");
  1951. }
  1952. if(ds_main_subordlist_subordlist2.getColumnInfo("check1"))
  1953. {
  1954. ds_main_subordlist_subordlist2.updateColID("check1", "check");
  1955. }
  1956. // 조영제 부작용 내역 체크
  1957. if ( ds_main_subordlist_dyeslist.getColumn(0, "dyesyn") == "Y" )
  1958. {
  1959. ipt_dyes.visible = true;
  1960. }
  1961. else
  1962. {
  1963. ipt_dyes.visible = false;
  1964. }
  1965. // 접수상태에서만 처방 현황을 조회하는데, 검사취소했던 내역이 있으면 색상 표시를 해준다. 20080609
  1966. // 접수/실시상태에서만 처방중 조영제 기준코드가 있으면 검사명의 색상 표시를 해준다. 20081110
  1967. //fSetGrdSubOrdListGrid();
  1968. // ADR정보 조회 후 표기, 20081013, 장준원
  1969. dsf_makeValue(ds_hidden_isolinfo, "isoldata", "string", "");
  1970. if (!utlf_isNull(ds_main_subordlist_isolinfo.getColumn(0, "isoldispcd")))
  1971. {
  1972. ds_hidden_isolinfo.setColumn(0, "isoldata", "확인");
  1973. }
  1974. }
  1975. function fPopUpPatList()
  1976. {
  1977. var sgrup = ds_send_data_cmb_info_initexcuroomgrp.getColumn(0, "excuroomgrpcdid");
  1978. if(!utlf_isNull(ds_init_cmb_info4_initpoproom_A700.lookup("cdid", sgrup)))
  1979. {
  1980. ds_source_sourceinfo.clearData();
  1981. var idxRows = ds_main_subordlist_subordlist1.rowcount;
  1982. for(var i = 0; i < idxRows; i++)
  1983. {
  1984. dsf_makeValue(ds_source_sourceinfo, "prcpnm", "string", ds_main_subordlist_subordlist1.getColumn(i, "prcpnm"), i);
  1985. var clinccmtcnts = ds_main_subordlist_subordlist1.getColumn(i, "prcpdelivefact")+"/"+ds_main_subordlist_subordlist1.getColumn(i, "clinccmtcnts");
  1986. dsf_makeValue(ds_source_sourceinfo, "clinccmtcnts", "string",clinccmtcnts, i);
  1987. dsf_makeValue(ds_source_sourceinfo, "pid", "string",ds_main_subordlist_subordlist1.getColumn(i, "pid"), i);
  1988. dsf_makeValue(ds_source_sourceinfo, "patnm", "string",ds_main_subordlist_subordlist1.getColumn(i, "patnm"), i);
  1989. dsf_makeValue(ds_source_sourceinfo, "examroomnm", "string",ds_main_subordlist_subordlist1.getColumn(i, "examroomnm"), i);
  1990. dsf_makeValue(ds_source_sourceinfo, "brthdd", "string",ds_main_subordlist_subordlist1.getColumn(i, "brthdd"), i);
  1991. }
  1992. var sysMessageobj = frmf_findPopup("SPAEA05400");// 미실시환자 정보 창 객체 getViewer("SPAEA05400");
  1993. trace(frmf_findPopup)
  1994. if(!utlf_isNull(sysMessageobj)) // 미실시환자 팝업창 열린 상태
  1995. {
  1996. sysMessageobj.ds_parameter.setColumn(0, "flag","N");
  1997. sysMessageobj.ds_main_source_sourceinfo.copyData(ds_source_sourceinfo);
  1998. // /root/source에 있는 데이터를 팝업창의 root.main.source 로 보내줌
  1999. sysMessageobj.fInitPatList(); // 미실시 환자 정보 창이 열려있을 때 내용 띄워주는 초기화 함수 호출
  2000. }
  2001. else // 미실시환자 팝업창 처음 띄웠을 때
  2002. {
  2003. var objArg = new Object();
  2004. objArg.arg_ds_main_source_sourceinfo = ds_source_sourceinfo;
  2005. frmf_open("SPAEA05400", "SPAEA05400", objArg, "", "", "", "", "", "", "", "", "", "M");
  2006. }
  2007. }
  2008. }
  2009. function fget0701GosiPrcpRcptChk()
  2010. {
  2011. if(frmf_getMenuParam() != "S") // 건진제외
  2012. {
  2013. var flagvalue = ds_send_globalinstance.getColumn(0, "basesuppdeptcd") ;
  2014. var tmpPID = utlf_transNullToEmpty(ds_main_ordlist2_mainordlist.getColumn(ds_main_ordlist2_mainordlist.rowposition, "pid")); // 등록번호
  2015. flagvalue = "'" + flagvalue + "'";
  2016. dsf_makeValue(ds_send_GosiPrcpRcpyn, "instcd", "string", sysf_getUserInfo("dutplceinstcd"));
  2017. dsf_makeValue(ds_send_GosiPrcpRcpyn, "pid", "string", tmpPID);
  2018. dsf_makeValue(ds_send_GosiPrcpRcpyn, "flagvalue", "string", flagvalue);
  2019. dsf_makeValue(ds_send_GosiPrcpRcpyn, "flag", "string", "2");
  2020. var oParam = {};
  2021. oParam.id = "TRAEA01100";
  2022. oParam.service = "pamcomnapp.PamComn";
  2023. oParam.method = "get0701GosiPrcpRcptChk";
  2024. oParam.inds = "req=ds_send_GosiPrcpRcpyn";
  2025. oParam.outds = "ds_hidden_prcprcptyn=prcprcptyn";
  2026. oParam.async = false;
  2027. oParam.callback = "cf_TRAEA01100";
  2028. tranf_submit(oParam);
  2029. if(arErrorCode.pop("TRAEA01100") > -1)
  2030. {
  2031. if ( ds_hidden_prcprcptyn.getColumn(0, "prcprcptyn") == "Y")
  2032. {
  2033. sysf_messageBox(" 본인부담요율 변동 환자입니다. 수납으로 정산 안내하시길 바랍니다. ", "E999"); //재활 그외는 메세지창으로
  2034. }
  2035. }
  2036. }
  2037. }
  2038. function cf_TRAEA01100(sSvcId, nErrorCode, sErrorMsg) {
  2039. arErrorCode.push(sSvcId, nErrorCode);
  2040. }
  2041. function switch1_case3_grd_mainordlist3_oncellclick(obj:Grid, e:GridClickEventInfo)
  2042. {
  2043. if (e.row >= 0 && e.cell > 0)
  2044. {
  2045. fGetExamCurePrcpList(ds_main_ordlist3_mainordlist);
  2046. }
  2047. }
  2048. function switch1_case5_grd_mainordlist5_oncellclick(obj:Grid, e:GridClickEventInfo)
  2049. {
  2050. fGetExamCurePrcpList(ds_main_ordlist5_mainordlist);
  2051. }
  2052. function chk_holdlistflag_onclick(obj:CheckBox, e:ClickEventInfo)
  2053. {
  2054. if(obj.value == "Y")
  2055. {
  2056. }
  2057. else
  2058. {
  2059. ds_send_data.setColumn(0, "holdlistflag", "");
  2060. }
  2061. fGetToggleAcptList();
  2062. }
  2063. function fGetToggleAcptList()
  2064. {
  2065. if ( switch1.tabindex == 0 ) fGetExamCureAcptList("J"); // 접수
  2066. if ( switch1.tabindex == 1 ) fGetExamCureAcptList("S"); // 실시
  2067. if ( switch1.tabindex == 2 ) fGetExamCureAcptList("Z"); // 결과
  2068. }
  2069. function chk_ioflag11_onclick(obj:CheckBox, e:ClickEventInfo)
  2070. {
  2071. if ( chk_ioflag.value == "S" ) ds_send_data.setColumn(0, "ioflag", "S");
  2072. else ds_send_data.setColumn(0, "ioflag", "");
  2073. fGetToggleAcptList();
  2074. }
  2075. function chk_ioflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  2076. {
  2077. if ( obj.value == "S" ) ds_send_data.setColumn(0, "ioflag", "S");
  2078. else if ( obj.value == "A" ) ds_send_data.setColumn(0, "ioflag", "A");
  2079. else ds_send_data.setColumn(0, "ioflag", "");
  2080. fGetToggleAcptList();
  2081. }
  2082. function ds_main_subordlist_subordlist1_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  2083. {
  2084. if(e.columnid == "check")
  2085. {
  2086. obj.setColumn(e.row, "check", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  2087. }
  2088. }
  2089. function grd_subordlist1_oncellclick(obj:Grid, e:GridClickEventInfo)
  2090. {
  2091. if ( ds_main_subordlist_subordlist1.rowposition < 0) return;
  2092. if ( e.row >= 0 && e.cell > 0)
  2093. {
  2094. var i = ds_main_subordlist_subordlist1.rowposition;
  2095. dsf_makeValue(ds_main_comment1, "acptrem", "string", ds_main_subordlist_subordlist1.getColumn(i, "acptrem"));
  2096. dsf_makeValue(ds_main_comment1, "execrem", "string", ds_main_subordlist_subordlist1.getColumn(i, "execrem"));
  2097. dsf_makeValue(ds_main_subordlist_subordlist6, "prcpdelivefactsum", "string", ds_main_subordlist_subordlist1.getColumn(i, "prcpdelivefact"));
  2098. }
  2099. }
  2100. function grd_subordlist1_onexpandup(obj:Grid, e:GridMouseEventInfo)
  2101. {
  2102. if (switch1.tabindex == 0 || switch1.tabindex == 2)
  2103. {
  2104. sysf_messageBox("실시취소는 [실시완료상태]에서만 가능합니다.","I999");
  2105. return "0";
  2106. }
  2107. ds_hidden_cnclcdlist.clearData();
  2108. ds_hidden_cnclcdlist.addRow();
  2109. frmf_modal("SPAEA01500", "SPAEA01500", "", "", "", "", "", "", "", "", "", "", "M");
  2110. if ( !utlf_isNull(ds_hidden_cnclcdlist.getColumn(0, "cnclcd")))
  2111. {
  2112. ds_main_subordlist_subordlist1.setColumn(ds_main_subordlist_subordlist1.rowposition, "basecd", ds_hidden_cnclcdlist.getColumn(0, "cnclcd"));
  2113. var row = ds_main_subordlist_subordlist1.rowposition;
  2114. ds_main_subordlist_subordlist1.setColumn(row, "check", "Y");
  2115. var rtn = fExeExec(2);
  2116. if ( rtn != "0" )
  2117. {
  2118. fGetToggleAcptList();
  2119. }
  2120. }
  2121. }
  2122. function fExeExec(gubn)
  2123. {
  2124. if (utlf_isNull(ds_send_data_cmb_info_initexcuroomgrp.getColumn(0, "excuroomgrpcdid")))
  2125. {
  2126. sysf_messageBox("[필수항목]구분을 선택하십시오.","I999");
  2127. return true;
  2128. }
  2129. if (utlf_isNull(ds_send_data_cmb_info_initexecroom.getColumn(0, "excuroomcdid")))
  2130. {
  2131. sysf_messageBox("[필수항목]검사실 정보를 선택하십시오.","I999");
  2132. return true;
  2133. }
  2134. var check = "";
  2135. var loopcnt = 0;
  2136. var loop = ds_main_subordlist_subordlist1.rowcount;
  2137. var chk230 = "N";
  2138. var chk440 = "N";
  2139. for(var i = 0; i < loop; i++)
  2140. {
  2141. check = ds_main_subordlist_subordlist1.getColumn(i, "check");
  2142. if ( check == "Y" )
  2143. {
  2144. if ( ds_main_subordlist_subordlist1.getColumn(i, "execprcpstatcd") == "230" )
  2145. {
  2146. chk230 = "Y";
  2147. }
  2148. else if ( ds_main_subordlist_subordlist1.getColumn(i, "execprcpstatcd") == "440" )
  2149. {
  2150. chk440 = "Y";
  2151. }
  2152. loopcnt++;
  2153. }
  2154. }
  2155. if ( loopcnt == 0 )
  2156. {
  2157. sysf_messageBox("처방내역을 선택해 주십시오.","I999");
  2158. return "0";
  2159. }
  2160. if ( gubn == "1" && utlf_isNull(group2.cmb_execrid1.value))
  2161. {
  2162. sysf_messageBox("실시자ID1을 선택해 주십시오.","I999");
  2163. return "0";
  2164. }
  2165. // 2개 이상체크가 된 경우, 접수와 수납상태가 공존하면 실시불가능하다.
  2166. if ( loopcnt > 1 )
  2167. {
  2168. if ( chk230 == "Y" && chk440 == "Y" )
  2169. {
  2170. sysf_messageBox("[접수와 수납상태]를 동시에 실시처리는 불가합니다.","I999");
  2171. return "0";
  2172. }
  2173. }
  2174. // 외래의 미수납처방과 미수납접수여부 체크한다.
  2175. for( var i = 0 ; i < loop ; i++ )
  2176. {
  2177. check = utlf_transNullToEmpty(ds_main_subordlist_subordlist1.getColumn(i, "check"));
  2178. execprcpstatcd = utlf_transNullToEmpty(ds_main_subordlist_subordlist1.getColumn(i, "execprcpstatcd"));
  2179. prcpgenrflag = utlf_transNullToEmpty(ds_main_subordlist_subordlist1.getColumn(i, "prcpgenrflag"));
  2180. prcpnm = utlf_transNullToEmpty(ds_main_subordlist_subordlist1.getColumn(i, "prcpnm"));
  2181. rcptacptyn = utlf_transNullToEmpty(ds_main_subordlist_subordlist1.getColumn(i, "rcptacptyn"));
  2182. precureprcpflag = utlf_transNullToEmpty(ds_main_subordlist_subordlist1.getColumn(i, "precureprcpflag"));
  2183. clincstdycd = utlf_transNullToEmpty(ds_main_subordlist_subordlist1.getColumn(i, "clincstdycd"));
  2184. if ( check == "Y" )
  2185. {
  2186. /*
  2187. * 20070520, 처방,간호확인만 된것은 미수납이기에 접수불가함, 단, 미수납접수여부가 허용일경우는 체크한다.
  2188. */
  2189. if( execprcpstatcd == "000" || execprcpstatcd == "100" )
  2190. {
  2191. if( prcpgenrflag == "O" )
  2192. {
  2193. if( rcptacptyn == "Y" )
  2194. { // 미수납접수여부 허용
  2195. if ( sysf_messageBox(prcpnm + "은 미수납접수여부를 허용한 검사코드입니다. 접수를 ","Q002")==6 )
  2196. {
  2197. if ( clincstdycd != "-" )
  2198. { // 임상연구용일 경우 접수 허용
  2199. sysf_messageBox(prcpnm + "은 임상연구용 처방입니다.","I999");
  2200. }
  2201. }
  2202. else
  2203. {
  2204. return "0";
  2205. }
  2206. }
  2207. else
  2208. {
  2209. if ( precureprcpflag == "Y" )
  2210. { // 선처치일 경우 접수 허용
  2211. sysf_messageBox(prcpnm + "은 선치치 처방입니다.","I999");
  2212. }
  2213. else
  2214. {
  2215. if ( clincstdycd != "-" )
  2216. { // 임상연구용일 경우 접수 허용
  2217. sysf_messageBox(prcpnm + "은 임상연구용 처방입니다.","I999");
  2218. }
  2219. else
  2220. {
  2221. sysf_messageBox(prcpnm + "은 미수납된 처방이므로 접수할 수 없습니다.","I999");
  2222. return "0";
  2223. }
  2224. }
  2225. }
  2226. }
  2227. }
  2228. }
  2229. }
  2230. var a = utlf_transNullToEmpty(group2.cmb_execrid1.value);
  2231. var b = utlf_transNullToEmpty(group2.cmb_execrid2.value);
  2232. var c = utlf_transNullToEmpty(group2.cmb_execrid3.value);
  2233. var d = utlf_transNullToEmpty(group2.cmb_execrid4.value);
  2234. if ( b == "" ) b="-";
  2235. if ( c == "" ) c="-";
  2236. if ( d == "" ) d="-";
  2237. // 실시
  2238. if(gubn == 1)
  2239. {
  2240. for(var i = 0; i < loop; i++)
  2241. {
  2242. check = ds_main_subordlist_subordlist1.getColumn(i, "check");
  2243. if ( check == "Y" )
  2244. {
  2245. ds_main_subordlist_subordlist1.setColumn(i, "execrem", tar_execrem.value);
  2246. ds_main_subordlist_subordlist1.setColumn(i, "execrid1", a);
  2247. ds_main_subordlist_subordlist1.setColumn(i, "execrid2", b);
  2248. ds_main_subordlist_subordlist1.setColumn(i, "execrid3", c);
  2249. ds_main_subordlist_subordlist1.setColumn(i, "execrid4", d);
  2250. // 처방상태가 000, 100, 230 일경우에 실시로직을 태운다.
  2251. if ( ds_main_subordlist_subordlist1.getColumn(i, "execprcpstatcd") == "000" ||
  2252. ds_main_subordlist_subordlist1.getColumn(i, "execprcpstatcd") == "100" ||
  2253. ds_main_subordlist_subordlist1.getColumn(i, "execprcpstatcd") == "230" )
  2254. {
  2255. dsf_makeValue(ds_main_subordlist_subordlist1, "transactiongubn", "String" , "1", i);
  2256. dsf_makeValue(ds_main_subordlist_subordlist1, "execbaseflag", "String" , "A", i);
  2257. }
  2258. else
  2259. {
  2260. dsf_makeValue(ds_main_subordlist_subordlist1, "transactiongubn", "String" , "2", i);
  2261. }
  2262. }
  2263. }
  2264. ds_main_subordlist_subordlist1.filterstr = "check == 'Y'";
  2265. ds_send_data_tobeacptprcp_tobeacptprcplist.copyData(ds_main_subordlist_subordlist1, true);
  2266. ds_main_subordlist_subordlist1.filterstr = "";
  2267. if ( ds_send_data_tobeacptprcp_tobeacptprcplist.rowcount == 0)
  2268. {
  2269. sysf_messageBox("처방내역을 선택해 주십시오.","I999");
  2270. return "0";
  2271. }
  2272. }
  2273. // 실시취소
  2274. if(gubn == 2)
  2275. {
  2276. for(var i = 0; i < loop; i++ )
  2277. {
  2278. check = ds_main_subordlist_subordlist1.getColumn(i, "check");
  2279. if ( check == "Y" )
  2280. {
  2281. // 취소코드 사유 Test 하기 위해, 20070705 ////
  2282. ds_main_subordlist_subordlist1.setColumn(i, "basecd", ds_hidden_cnclcdlist.getColumn(0, "cnclcd") );
  2283. ds_main_subordlist_subordlist1.setColumn(i, "execrem", "-" );
  2284. if ( ds_main_subordlist_subordlist1.getColumn(i, "execbaseflag") == "A" ) // 실시기준여부가 접수인경우
  2285. {
  2286. ds_main_subordlist_subordlist1.setColumn(i, "acptrem", "-");
  2287. }
  2288. }
  2289. }
  2290. ds_main_subordlist_subordlist1.filterstr = "check == 'Y'";
  2291. ds_send_data_tobeacptcnclprcp_tobeacptcnclprcplist.copyData(ds_main_subordlist_subordlist1, true);
  2292. ds_main_subordlist_subordlist1.filterstr = "";
  2293. if ( ds_send_data_tobeacptcnclprcp_tobeacptcnclprcplist.rowcount == 0)
  2294. {
  2295. sysf_messageBox("처방내역을 선택해 주십시오.","I999");
  2296. return "0";
  2297. }
  2298. }
  2299. if ( gubn == 1 )
  2300. {
  2301. if ( sysf_messageBox("실시내역을 ","Q002")==6 )
  2302. {
  2303. dsf_setFixVal(ds_send_data_tobeacptprcp_tobeacptprcplist, "largeclass:M1,tretflagcd:610,execprcpstat440cd:440,execprcpstat610cd:610,excuexectodt:00000000000000,excuexecfromdt1:00000000000000,excueqcd1:EQCD1,excuexecfromdt2:00000000000000,excueqcd2:-,excuexecfromdt3:00000000000000,excueqcd3:-,excuexecfromdt4:00000000000000,excueqcd4:-,excuexecfromdt5:00000000000000,excueqcd5:-,opdrid:-,indd:00000000,icfflag:-,arvdt:-,autroomassgyn:N,rsltdd:00000000,rslttm:000000,rsltno:0,rsltseqno:0,cnfmdt:00000000000000,cnfmmanid:-,eqmtifimgyn:N,ocrimgyn:N,rslttmplyn:N,deptrem:-,patrem:-");
  2304. var oParam = {};
  2305. oParam.id = "TXAER00201";
  2306. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  2307. oParam.method = "reqExeAcptExamCureExecPrcpList";
  2308. oParam.inds = "reqparam=ds_send_data_tobeacptprcp_tobeacptprcplist";
  2309. oParam.outds = "ds_=item";
  2310. oParam.async = false;
  2311. //oParam.callback = "cf_TXAER00201";
  2312. tranf_submit(oParam);
  2313. }
  2314. else
  2315. {
  2316. ds_send_data_tobeacptprcp_tobeacptprcplist.clearData();
  2317. return "0";
  2318. }
  2319. }
  2320. else if ( gubn == 2 )
  2321. {
  2322. if ( sysf_messageBox("실시취소내역을 ","Q002")==6 )
  2323. {
  2324. ds_send_data_tobeacptcnclprcp_tobeacptcnclprcplist.updateColID("basecd", "cnclresncd");
  2325. ds_send_data_tobeacptcnclprcp_tobeacptcnclprcplist.updateColID("basecdnm", "cnclresncdnm");
  2326. dsf_setFixVal(ds_send_data_tobeacptcnclprcp_tobeacptcnclprcplist, "transactiongubn:4,largeclass:M1,execprcpstat440cd:440,execprcpstat610cd:610,execprcpstatXcd:X,execprcpstat230cd:230,execprcpstat000cd:000,execprcpstatYcd:Y,execdd:00000000,exectm:000000,execrid1:-,acptdd:00000000,acpttm:000000,acptpsnid:-,pacsno:-,cnclflag:E,tretflagcd:610,indd:00000000,icfflag:-,reqagnphoyn:N,wardcd:-,roomcd:-,arvdt:-,execrid2:-,execrid3:-,execrid4:-,excuexectodt:00000000000000,excuexecfromdt1:00000000000000,excueqcd1:-,excuexecfromdt2:00000000000000,excueqcd2:-,excuexecfromdt3:00000000000000,excueqcd3:-,excuexecfromdt4:00000000000000,excueqcd4:-,excuexecfromdt5:00000000000000,excueqcd5:-,opdrid:-,autroomassgyn:N,rsltdd:00000000,rslttm:000000,rsltno:0,rsltseqno:0,cnfmdt:00000000000000,cnfmmanid:-,eqmtifimgyn:N,ocrimgyn:N,rslttmplyn:N,deptrem:-,patrem:-");
  2327. var oParam = {};
  2328. oParam.id = "TXAER00202";
  2329. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  2330. oParam.method = "reqExeAcptExamCureExecPrcpList";
  2331. oParam.inds = "reqparam=ds_send_data_tobeacptcnclprcp_tobeacptcnclprcplist";
  2332. oParam.outds = "ds_=item";
  2333. oParam.async = false;
  2334. //oParam.callback = "cf_TXAER00202";
  2335. tranf_submit(oParam);
  2336. }
  2337. else
  2338. {
  2339. ds_send_data_tobeacptcnclprcp_tobeacptcnclprcplist.clearData();
  2340. return "0";
  2341. }
  2342. }
  2343. // cmb_execrid2.deselect(0);
  2344. // cmb_execrid3.deselect(0);
  2345. // cmb_execrid4.deselect(0);
  2346. }
  2347. function grd_subordlist1_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  2348. {
  2349. var colidx = e.cell;
  2350. var rownum = e.row;
  2351. var pacsnocrecdtyn = ds_main_subordlist_subordlist1.getColumn(rownum, "pacsnocretcdyn");
  2352. if( obj.getBindCellIndex("Body", "pacsnocretcdyn") && pacsnocrecdtyn == "Y" )
  2353. {
  2354. if ( switch1.tabindex == 0 || switch1.tabindex == 1)
  2355. {
  2356. var check = "";
  2357. var loopcnt = 0;
  2358. var loop = ds_main_subordlist_subordlist1.rowcount;
  2359. for(var i = 0; i < loop; i++)
  2360. {
  2361. check = ds_main_subordlist_subordlist1.getColumn(i, "check");
  2362. if ( check == "Y" )
  2363. {
  2364. loopcnt++;
  2365. }
  2366. }
  2367. if ( loopcnt == 0 )
  2368. {
  2369. sysf_messageBox("처방내역을 선택해 주십시오.","I999");
  2370. return "0";
  2371. }
  2372. var cnt = 0;
  2373. for(var i = 0; i < ds_main_subordlist_subordlist1.rowcount; i++)
  2374. {
  2375. if ( ds_main_subordlist_subordlist1.getRowType(i) == 4 ) cnt++;
  2376. }
  2377. if ( cnt == 0 )
  2378. {
  2379. sysf_messageBox("PACS재전송에 대한 상태변경이 존재하지 않습니다.","I999");
  2380. return;
  2381. }
  2382. fSetExamCureRoomCodeList(grd_subordlist1, "PACS 재전송을 ");
  2383. }
  2384. else
  2385. {
  2386. sysf_messageBox("PACS재전송 기능은 미실시(접수) or 실시완료된 처방조회에서만 가능합니다.","I999");
  2387. return;
  2388. }
  2389. }
  2390. }
  2391. function fSetExamCureRoomCodeList(maingridlistid, selstring)
  2392. {
  2393. var objDs = this.objects[maingridlistid.binddataset];
  2394. if ( objDs.rowposition < 0 ) return;
  2395. ds_send_data_tobesetexamcureroomcode_tobesetexamcureroomcodelist.clearData();
  2396. var updategrid = grdf_getGridUpdateData(maingridlistid);
  2397. ds_send_data_tobesetexamcureroomcode_tobesetexamcureroomcodelist.copyData(updategrid, true);
  2398. var oParam = {};
  2399. oParam.id = "TXAER00210";
  2400. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  2401. oParam.method = "reqExeUpdtExamCureRoomCodeList";
  2402. oParam.inds = "reqparam=ds_send_data_tobesetexamcureroomcode_tobesetexamcureroomcodelist";
  2403. oParam.outds = "ds_=item";
  2404. oParam.async = false;
  2405. oParam.callback = "cf_TXAER00210";
  2406. tranf_submit(oParam);
  2407. if(arErrorCode.pop("TXAER00210") < 0)
  2408. {
  2409. ds_send_data_tobesetexamcureroomcode_tobesetexamcureroomcodelist.clearData();
  2410. return;
  2411. }
  2412. fGetExamCureAcptList("J");
  2413. }
  2414. function cf_TXAER00210(sSvcId, nErrorCode, sErrorMsg) {
  2415. arErrorCode.push(sSvcId, nErrorCode);
  2416. }
  2417. function grd_subordlist1_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
  2418. {
  2419. ds_main_subordlist_subordlist1.clearSelect();
  2420. ds_main_subordlist_subordlist1.rowposition = e.row;
  2421. ds_main_subordlist_subordlist1.selectRow(e.row)
  2422. pmn_menu1.trackPopup(e.screenX,e.screenY);
  2423. }
  2424. function pmn_menu1_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
  2425. {
  2426. obj.closePopup();
  2427. eval(e.id +"();");
  2428. }
  2429. function pmn_menu1_onmouseleave(obj:PopupMenu, e:MenuMouseEventInfo)
  2430. {
  2431. obj.closePopup();
  2432. }
  2433. function ds_main_subordlist_subordlist2_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  2434. {
  2435. if(e.columnid == "check")
  2436. {
  2437. obj.setColumn(e.row, "check", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  2438. }
  2439. }
  2440. function btn_hold_onclick(obj:Button, e:ClickEventInfo)
  2441. {
  2442. var execprcpstatcd = "";
  2443. var srchLength1 = ds_main_subordlist_subordlist1.rowcount;
  2444. for(var i = 0; i < srchLength1; i++ )
  2445. {
  2446. execprcpstatcd = ds_main_subordlist_subordlist1.getColumn(i, "execprcpstatcd");
  2447. if ( execprcpstatcd == "000" ||execprcpstatcd == "100" ||execprcpstatcd == "230" ) // 처방,간호확인,수납
  2448. {
  2449. sysf_messageBox("검사통합예약실에서 배정된 검사는 보류 처리가 불가합니다.","I999");
  2450. return true;
  2451. }
  2452. }
  2453. fExeHold(1);
  2454. }
  2455. function btn_holdcncl_onclick(obj:Button, e:ClickEventInfo)
  2456. {
  2457. fExeHold(2);
  2458. }
  2459. function fExeHold(gubn)
  2460. {
  2461. var check = "";
  2462. var loopcnt = 0;
  2463. if ( gubn == 1 )
  2464. {
  2465. var loop = ds_main_subordlist_subordlist1.rowcount;
  2466. }
  2467. else if ( gubn == 2 )
  2468. {
  2469. var loop = ds_main_subordlist_subordlist2.rowcount;
  2470. }
  2471. // 보류
  2472. if(gubn == 1)
  2473. {
  2474. for(var i = 0; i < loop; i++)
  2475. {
  2476. ds_main_subordlist_subordlist1.setColumn(i, "check", "Y");
  2477. }
  2478. ds_main_subordlist_subordlist1.filterstr = "check == 'Y'";
  2479. ds_send_data_tobeholdprcp_tobeholdprcplist.copyData(ds_main_subordlist_subordlist1, true);
  2480. ds_main_subordlist_subordlist1.filterstr = "";
  2481. if ( ds_send_data_tobeholdprcp_tobeholdprcplist.rowcount == 0)
  2482. {
  2483. sysf_messageBox("처방내역을 선택해 주십시오.","I999");
  2484. return "0";
  2485. }
  2486. }
  2487. // 보류취소
  2488. if(gubn == 2)
  2489. {
  2490. for(var i = 0; i < loop; i++)
  2491. {
  2492. ds_main_subordlist_subordlist2.setColumn(i, "check", "Y");
  2493. }
  2494. ds_main_subordlist_subordlist2.filterstr = "check == 'Y'";
  2495. ds_send_data_tobeholdcnclprcp_tobeholdcnclprcplist.copyData(ds_main_subordlist_subordlist2, true);
  2496. ds_main_subordlist_subordlist2.filterstr = "";
  2497. if ( ds_send_data_tobeholdcnclprcp_tobeholdcnclprcplist.rowcount == 0)
  2498. {
  2499. sysf_messageBox("보류처방내역을 선택해 주십시오.","I999");
  2500. return "0";
  2501. }
  2502. }
  2503. if ( gubn == 1 )
  2504. {
  2505. if ( sysf_messageBox("보류내역을 ","Q002")==6 )
  2506. {
  2507. if ( switch1.tabindex == 0)
  2508. {
  2509. dsf_setFixVal(ds_send_data_tobeholdprcp_tobeholdprcplist, "cnclgubn:1,execprcpstat440cd:440,execprcpstat450cd:450");
  2510. var oParam = {};
  2511. oParam.id = "TXAER00220";
  2512. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  2513. oParam.method = "reqExeHoldExamCureExecPrcpList";
  2514. oParam.inds = "reqparam=ds_send_data_tobeholdprcp_tobeholdprcplist";
  2515. oParam.outds = "ds_=item";
  2516. oParam.async = false;
  2517. //oParam.callback = "cf_TXAER00220";
  2518. tranf_submit(oParam);
  2519. btn_case2.click();
  2520. }
  2521. else
  2522. {
  2523. sysf_messageBox("보류시행은 미실시일 경우만 적용합니다.","I999");
  2524. return "0";
  2525. }
  2526. }
  2527. else
  2528. {
  2529. ds_send_data_tobeholdprcp_tobeholdprcplist.clearData();
  2530. return "0";
  2531. }
  2532. }
  2533. else if ( gubn == 2 )
  2534. {
  2535. if ( sysf_messageBox("보류취소내역을 ","Q002")==6 )
  2536. {
  2537. if ( switch1.tabindex == 0)
  2538. {
  2539. ds_send_data_tobeholdcnclprcp_tobeholdcnclprcplist.updateColID("excuroomnm", "examroomnm");
  2540. dsf_setFixVal(ds_send_data_tobeholdcnclprcp_tobeholdcnclprcplist, "cnclgubn:2,holdid:-,execprcpstat440cd:440,execprcpstat450cd:450");
  2541. var oParam = {};
  2542. oParam.id = "TXAER00221";
  2543. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  2544. oParam.method = "reqExeHoldExamCureExecPrcpList";
  2545. oParam.inds = "reqparam=ds_send_data_tobeholdcnclprcp_tobeholdcnclprcplist";
  2546. oParam.outds = "ds_=item";
  2547. oParam.async = false;
  2548. //oParam.callback = "cf_TXAER00221";
  2549. tranf_submit(oParam);
  2550. btn_case2.click();
  2551. }
  2552. else
  2553. {
  2554. sysf_messageBox("보류취소시행은 미실시일 경우만 적용합니다.","I999");
  2555. return "0";
  2556. }
  2557. }
  2558. else
  2559. {
  2560. ds_send_data_tobeholdcnclprcp_tobeholdcnclprcplist.clearData();
  2561. return "0";
  2562. }
  2563. }
  2564. }
  2565. function datagrid4_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  2566. {
  2567. if ( ds_main_ordlist2_subordlist4.rowposition < 0) return;
  2568. if ( ds_main_ordlist2_subordlist4.getColumn(ds_main_ordlist2_subordlist4.rowposition, "cnt") == 0 ) return;
  2569. if ( utlf_isNull(ds_send_data_cmb_info_initexecroom.getColumn(0, "excuroomcdid")))
  2570. {
  2571. sysf_messageBox("환자받기는 받을 검사실을 선택하셔야 합니다.","I999");
  2572. return;
  2573. }
  2574. if(ds_main_ordlist2_subordlist4.getColumn(ds_main_ordlist2_subordlist4.rowposition, "basecd") == ds_send_data_cmb_info_initexecroom.getColumn(0, "excuroomcdid"))
  2575. {
  2576. sysf_messageBox("환자받기는 다른 검사실에서만 적용합니다.","I999");
  2577. return;
  2578. }
  2579. if ( switch1.tabindex != 0)
  2580. {
  2581. sysf_messageBox("환자받기는 미실시(접수)된 대상조회에서만 가능합니다.","I999");
  2582. return true;
  2583. }
  2584. grp_datagrid1.visible = true;
  2585. ds_main_subpopordlist_subordlist5.clearData();
  2586. fGetExamCurePrcpAceptList(ds_main_ordlist2_subordlist4);
  2587. }
  2588. function fGetExamCurePrcpAceptList(maingridlistid)
  2589. {
  2590. var row = maingridlistid.rowposition;
  2591. var excuroomcd = maingridlistid.getColumn(row, "basecd");
  2592. dsf_makeValue(ds_send_data_grd_info_grid_data, "excuroomcd", "String", excuroomcd);
  2593. dsf_makeValue(ds_send_data_grd_info_grid_data, "largeclass", "String", "M1");
  2594. dsf_makeValue(ds_send_data, "acptlistflag", "String", "J");
  2595. dsf_makeValue(ds_send_data_grd_info_grid_data, "acptlistflag", "String", "J");
  2596. dsf_makeValue(ds_send_data_grd_info_grid_data, "initexcuroom", "String", excuroomcd);
  2597. dsf_makeValue(ds_send_data_grd_info_grid_data, "srchdate1", "String", ds_send_data.getColumn(0, "srchdate1"));
  2598. dsf_makeValue(ds_send_data_grd_info_grid_data, "srchdate2", "String", ds_send_data.getColumn(0, "srchdate1"));
  2599. dsf_makeValue(ds_send_data_grd_info_grid_data, "basesuppdeptcd", "String", ds_send_data.getColumn(0, "basesuppdeptcd"));
  2600. dsf_makeValue(ds_send_data_grd_info_grid_data, "srchgubn", "String", "2");
  2601. var oParam = {};
  2602. oParam.id = "TRAER00212";
  2603. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  2604. oParam.method = "reqGetExamCurePrcpList";
  2605. oParam.inds = "reqparam=ds_send_data_grd_info_grid_data";
  2606. oParam.outds = "ds_main_subpopordlist_subordlist5=examcureexecprcplist";
  2607. oParam.async = false;
  2608. //oParam.callback = "cf_TRAER00212";
  2609. tranf_submit(oParam);
  2610. ds_main_subpopordlist_subordlist5.updateColID("check1", "check");
  2611. }
  2612. function ds_main_subpopordlist_subordlist5_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  2613. {
  2614. if(e.columnid == "check")
  2615. {
  2616. obj.setColumn(e.row, "check", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  2617. var pid = obj.getColumn(e.row, "pid");
  2618. var check = obj.getColumn(e.row, "check");
  2619. var loop = obj.rowcount;
  2620. for(var i = 0; i < loop; i++)
  2621. {
  2622. if ( obj.getColumn(i, "pid") == pid )
  2623. {
  2624. obj.setColumn(i, "check", "Y");
  2625. }
  2626. }
  2627. }
  2628. }
  2629. function group4_button11_onclick(obj:Button, e:ClickEventInfo)
  2630. {
  2631. group4.visible = false;
  2632. }
  2633. function group7_button12_onclick(obj:Button, e:ClickEventInfo)
  2634. {
  2635. group7.visible = false;
  2636. group7.txt_isol.visible = false;
  2637. group7.button12.visible = false;
  2638. group7.line_isol.visible = false;
  2639. group7.line_isol2.visible = false;
  2640. group7.cpt_isoltitle.visible = false;
  2641. }
  2642. function grp_datagrid1_btn_accept_onclick(obj:Button, e:ClickEventInfo)
  2643. {
  2644. if ( switch1.tabindex == 0)
  2645. {
  2646. fSetExamCureAcceptRoomCodeList(ds_main_subpopordlist_subordlist5);
  2647. }
  2648. else
  2649. {
  2650. sysf_messageBox("[환자받기]는 미실시(접수) Tab에서만 가능합니다.","I999");
  2651. return;
  2652. }
  2653. }
  2654. function fSetExamCureAcceptRoomCodeList(maingridlistid)
  2655. {
  2656. // 환자받기 확인창 없앰.. 20080910
  2657. if ( maingridlistid.rowposition == 0 ) return;
  2658. var check = "";
  2659. var loopcnt = 0;
  2660. var loop = maingridlistid.rowcount;
  2661. for(var i = 0; i < loop; i++)
  2662. {
  2663. check = maingridlistid.getColumn(i, "check");
  2664. if ( check == "Y" )
  2665. {
  2666. maingridlistid.setColumn(i, "excuroomcd", ds_send_data_cmb_info_initexecroom.getColumn(0, "excuroomcdid"));
  2667. loopcnt++;
  2668. }
  2669. }
  2670. if ( loopcnt == 0 )
  2671. {
  2672. sysf_messageBox("처방내역을 선택해 주십시오.","I999");
  2673. return;
  2674. }
  2675. ds_send_data_tobesetexamcureacceptroomcode_tobesetexamcureacceptroomcodelist.clearData();
  2676. ds_main_subpopordlist_subordlist5.filterstr = "check == 'Y'";
  2677. ds_send_data_tobesetexamcureacceptroomcode_tobesetexamcureacceptroomcodelist.copyData(ds_main_subpopordlist_subordlist5, true);
  2678. ds_main_subpopordlist_subordlist5.filterstr = "";
  2679. if ( ds_send_data_tobesetexamcureacceptroomcode_tobesetexamcureacceptroomcodelist.rowcount == 0)
  2680. {
  2681. sysf_messageBox("처방내역을 선택해 주십시오.","I999");
  2682. return;
  2683. }
  2684. var oParam = {};
  2685. oParam.id = "TXAER00211";
  2686. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  2687. oParam.method = "reqExeUpdtExamCureRoomCodeList";
  2688. oParam.inds = "reqparam=ds_send_data_tobesetexamcureacceptroomcode_tobesetexamcureacceptroomcodelist";
  2689. oParam.outds = "ds_=item";
  2690. oParam.async = false;
  2691. oParam.callback = "cf_TXAER00211";
  2692. tranf_submit(oParam);
  2693. if(arErrorCode.pop("TXAER00211") < 0)
  2694. {
  2695. ds_send_data_tobesetexamcureacceptroomcode_tobesetexamcureacceptroomcodelist.clearData();
  2696. return;
  2697. }
  2698. if ( grp_datagrid1.visible == true ) grp_datagrid1.visible = false;
  2699. fGetExamCureAcptList("J");
  2700. }
  2701. function cf_TXAER00211(sSvcId, nErrorCode, sErrorMsg) {
  2702. arErrorCode.push(sSvcId, nErrorCode);
  2703. }
  2704. function grp_datagrid1_btn_cls_onclick(obj:Button, e:ClickEventInfo)
  2705. {
  2706. ds_main_subpopordlist_subordlist5.clearData();
  2707. grp_datagrid1.visible = false;
  2708. }
  2709. function btn_open_onclick(obj:Button, e:ClickEventInfo)
  2710. {
  2711. if ( btn_open.enable == true)
  2712. {
  2713. if ( sysf_messageBox("검사실를 오픈 기능을 ","Q002")==6 )
  2714. {
  2715. ds_send_data.setColumn(0, "openyn", "Y");
  2716. dsf_makeValue(ds_send_data, "initexcuroom", "string", ds_send_data_cmb_info_initexecroom.getColumn(0, "excuroomcdid"));
  2717. dsf_makeValue(ds_send_data, "rbasecdflag", "string", "R");
  2718. var oParam = {};
  2719. oParam.id = "TXAER00212";
  2720. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  2721. oParam.method = "reqExeInitExamCureRoomOpenyn";
  2722. oParam.inds = "reqparam=ds_send_data";
  2723. oParam.outds = "ds_=item";
  2724. oParam.async = false;
  2725. oParam.callback = "cf_TXAER00212";
  2726. tranf_submit(oParam);
  2727. if(arErrorCode.pop("TXAER00212") > -1)
  2728. {
  2729. btn_open.enable = false;
  2730. btn_close.enable = true;
  2731. btn_roommodify.enable = true;
  2732. btn_exec.enable = true;
  2733. btn_execcncl.enable = true;
  2734. grp_datagrid1.btn_accept.enable = true;
  2735. btn_hold.enable = true;
  2736. btn_holdcncl.enable = true;
  2737. btn_init.enable = true;
  2738. }
  2739. }
  2740. else
  2741. {
  2742. return;
  2743. }
  2744. }
  2745. }
  2746. function cf_TXAER00212(sSvcId, nErrorCode, sErrorMsg) {
  2747. arErrorCode.push(sSvcId, nErrorCode);
  2748. }
  2749. function btn_close_onclick(obj:Button, e:ClickEventInfo)
  2750. {
  2751. if ( btn_close.enable == true)
  2752. {
  2753. if ( sysf_messageBox("검사실를 폐쇄 기능을 ","Q002")==6 )
  2754. {
  2755. ds_send_data.setColumn(0, "openyn", "N");
  2756. dsf_makeValue(ds_send_data, "initexcuroom", "string", ds_send_data_cmb_info_initexecroom.getColumn(0, "excuroomcdid"));
  2757. dsf_makeValue(ds_send_data, "rbasecdflag", "string", "R");
  2758. var oParam = {};
  2759. oParam.id = "TXAER00212";
  2760. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  2761. oParam.method = "reqExeInitExamCureRoomOpenyn";
  2762. oParam.inds = "reqparam=ds_send_data";
  2763. oParam.outds = "ds_=item";
  2764. oParam.async = false;
  2765. oParam.callback = "cf_TXAER00212";
  2766. tranf_submit(oParam);
  2767. if(arErrorCode.pop("TXAER00212") > -1)
  2768. {
  2769. btn_open.enable = true;
  2770. btn_close.enable = false;
  2771. btn_roommodify.enable = false;
  2772. btn_exec.enable = false;
  2773. btn_execcncl.enable = false;
  2774. grp_datagrid1.btn_accept.enable = false;
  2775. btn_hold.enable = false;
  2776. btn_holdcncl.enable = false;
  2777. btn_init.enable = false;
  2778. }
  2779. }
  2780. else
  2781. {
  2782. return;
  2783. }
  2784. }
  2785. }
  2786. function group2_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  2787. {
  2788. if ( switch1.tabindex == 0) fGetExamCureAcptList("J"); // 접수
  2789. if ( switch1.tabindex == 1) fGetExamCureAcptList("S"); // 실시
  2790. if ( switch1.tabindex == 2) fGetExamCureAcptList("Z"); // 결과
  2791. }
  2792. function btn_init_onclick(obj:Button, e:ClickEventInfo)
  2793. {
  2794. btn_execcncl.enable = false;
  2795. btn_hold.enable = false;
  2796. btn_holdcncl.enable = false;
  2797. grp_datagrid1.visible = false;
  2798. group2.ipt_date1.value = utlf_getCurrentDate();
  2799. group2.cmb_excuroomgrp.index = 0;
  2800. group2.cmb_excuroom.index = 0;
  2801. dsf_deleteDs("ds_send_globalinstance");
  2802. dsf_createDsRow("ds_send_globalinstance", [{col:"basesuppdeptcd", type:"STRING", size:256 , val : vSuppdeptcd}
  2803. , {col:"rbasecdflag", type:"STRING", size:256 , val : "R"}
  2804. , {col:"ebasecdflag", type:"STRING", size:256 , val : "E"}
  2805. , {col:"instcd", type:"STRING", size:256 , val : ""}
  2806. , {col:"initflag", type:"STRING", size:256 , val : "1"}
  2807. , {col:"alladdyn", type:"STRING", size:256 , val : ""}
  2808. , {col:"basecdcnts", type:"STRING", size:256 , val : group2.cmb_excuroomgrp.value}]);
  2809. var oParam = {};
  2810. oParam.id = "TRAEA01301";
  2811. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  2812. oParam.method = "reqGetInitExamCureRoomGrpCodeList";
  2813. oParam.inds = "reqparam=ds_send_globalinstance";
  2814. oParam.outds = "ds_init_cmb_info_initexcuroomgrp=initexcuroomgrp "
  2815. +"ds_=initexcuroomgrp2 "
  2816. +"ds_init_cmb_info_initexecroom=initexcuroom "
  2817. +"ds_init_cmb_info_initexecrid1=initexecrid "
  2818. +"ds_=initexecrid "
  2819. +"ds_=initexecrid "
  2820. +"ds_=initexecrid "
  2821. +"ds_=initexcuward "
  2822. +"ds_=suppdept "
  2823. +"ds_=initsystgrd "
  2824. +"ds_=initsystmdl "
  2825. +"ds_=initsystchief";
  2826. oParam.async = false;
  2827. //oParam.callback = "cf_TRAEA01301";
  2828. tranf_submit(oParam);
  2829. group2.cmb_execrid2.index = 0;
  2830. group2.cmb_execrid3.index = 0;
  2831. group2.cmb_execrid4.index = 0;
  2832. var equaluserid = ds_init_cmb_info_initexecrid1.getColumn(0, "equaluserid");
  2833. ds_send_data_cmb_info_initexecrid1.setColumn(0, "execrid1cdid", equaluserid);
  2834. fInitTar();
  2835. fInitGrid();
  2836. }
  2837. function btn_isolinfo_ondblclick(obj:Button, e:MouseEventInfo)
  2838. {
  2839. group7.visible = true;
  2840. group7.txt_isol.visible = true;
  2841. group7.button12.visible = true;
  2842. group7.line_isol.visible = true;
  2843. group7.line_isol2.visible = true;
  2844. group7.cpt_isoltitle.visible = true;
  2845. }
  2846. function btn_roommodify_onclick(obj:Button, e:ClickEventInfo)
  2847. {
  2848. if ( switch1.tabindex == 0)
  2849. {
  2850. if (utlf_isNull(ds_send_data_cmb_info_initexcuroomgrp.getColumn(0, "excuroomgrpcdid")))
  2851. {
  2852. sysf_messageBox("[필수항목]구분을 선택하십시오.","I999");
  2853. return true;
  2854. }
  2855. var check = "";
  2856. var loopcnt = 0;
  2857. var loop = ds_main_subordlist_subordlist1.rowcount;
  2858. for(var i = 0; i < loop; i++)
  2859. {
  2860. check = ds_main_subordlist_subordlist1.getColumn(i, "check");
  2861. if ( check == "Y" )
  2862. {
  2863. loopcnt++;
  2864. }
  2865. }
  2866. if ( loopcnt == 0 )
  2867. {
  2868. sysf_messageBox("처방내역을 선택해 주십시오.","I999");
  2869. return "0";
  2870. }
  2871. var cnt = 0;
  2872. for(var i = 0; i < ds_main_subordlist_subordlist1.rowcount; i++)
  2873. {
  2874. if ( ds_main_subordlist_subordlist1.getRowType(i) == 4 ) cnt++;
  2875. }
  2876. if ( cnt == 0 )
  2877. {
  2878. sysf_messageBox("실수정에 대한 상태변경이 존재하지 않습니다.","I999");
  2879. return;
  2880. }
  2881. fSetExamCureRoomCodeList(grd_subordlist1, "검사실 수정을 ");
  2882. }
  2883. else
  2884. {
  2885. sysf_messageBox("실수정은 미실시(접수)된 대상조회에서만 가능합니다.","I999");
  2886. return;
  2887. }
  2888. }
  2889. function btn_exec_onclick(obj:Button, e:ClickEventInfo)
  2890. {
  2891. var rtn = fExeExec(1);
  2892. if ( rtn != "0" )
  2893. {
  2894. fGetToggleAcptList();
  2895. }
  2896. }
  2897. function btn_execcncl_onclick(obj:Button, e:ClickEventInfo)
  2898. {
  2899. ds_hidden_cnclcdlist.clearData();
  2900. ds_hidden_cnclcdlist.addRow();
  2901. frmf_modal("SPAEA01500", "SPAEA01500", "", "", "", "", "", "", "", "", "", "", "M");
  2902. if (!utlf_isNull(ds_hidden_cnclcdlist.getColumn(0, "cnclcd")))
  2903. {
  2904. ds_main_subordlist_subordlist1.setColumn(ds_main_subordlist_subordlist1.rowposition, "basecd", ds_hidden_cnclcdlist.getColumn(0, "cnclcd"));
  2905. ds_main_subordlist_subordlist1.setColumn(ds_main_subordlist_subordlist1.rowposition, "basecdnm", ds_hidden_cnclcdlist.getColumn(0, "cnclcdnm"));
  2906. var row = ds_main_subordlist_subordlist1.rowposition;
  2907. ds_main_subordlist_subordlist1.setColumn(row, "check", "Y");
  2908. var rtn = fExeExec(2);
  2909. if ( rtn != "0" )
  2910. {
  2911. fGetToggleAcptList();
  2912. }
  2913. }
  2914. }
  2915. function button25_onclick(obj:Button, e:ClickEventInfo)
  2916. {
  2917. fRsrvTrans();
  2918. }
  2919. function fRsrvTrans()
  2920. {
  2921. if ( switch1.tabindex == 0) lf_aezfPopUpRsrvSample("SMAEA02000", switch1.case2.grd_mainordlist2);
  2922. if ( switch1.tabindex == 1) lf_aezfPopUpRsrvSample("SMAEA02000", switch1.case3.grd_mainordlist3);
  2923. if ( switch1.tabindex == 2) lf_aezfPopUpRsrvSample("SMAEA02000", switch1.case5.grd_mainordlist5);
  2924. }
  2925. function button6_onclick(obj:Button, e:ClickEventInfo)
  2926. {
  2927. fPamRsrvInfo();
  2928. }
  2929. function fPamRsrvInfo()
  2930. {
  2931. if ( switch1.tabindex == 0) fPopUpReRsrv("SMPMO00300", switch1.case2.grd_mainordlist2, "ds_main_ordlist2_mainordlist");
  2932. if ( switch1.tabindex == 1) fPopUpReRsrv("SMPMO00300", switch1.case3.grd_mainordlist3, "ds_main_ordlist3_mainordlist");
  2933. if ( switch1.tabindex == 2) fPopUpReRsrv("SMPMO00300", switch1.case5.grd_mainordlist5, "ds_main_ordlist5_mainordlist");
  2934. }
  2935. function fPopUpReRsrv(displayid, maingridlistid, path)
  2936. {
  2937. if ( eval(path).rowposition < 0 ) return;
  2938. var row = eval(path).rowposition;
  2939. frmf_setParameter("SMPMO00300_PARM1", sysf_getUserInfo("dutplcecd")); //진료과코드
  2940. frmf_setParameter("SMPMO00300_PARM2", sysf_getUserInfo("userid")); //진료의사코드
  2941. frmf_setParameter("SMPMO00300_PARM3", eval(path).getColumn(row, "pid" )); //환자번호
  2942. frmf_open(displayid, displayid, "", "", "", "", "", "", "", "", "", "", "M");
  2943. }
  2944. function button7_onclick(obj:Button, e:ClickEventInfo)
  2945. {
  2946. fAddPrcpMngt();
  2947. }
  2948. function fAddPrcpMngt()
  2949. {
  2950. lf_aezfAddPrcpMngt(grd_subordlist1, "ds_main_subordlist_subordlist1");
  2951. }
  2952. function button26_onclick(obj:Button, e:ClickEventInfo)
  2953. {
  2954. fPACSInfo();
  2955. }
  2956. function fPACSInfo()
  2957. {
  2958. if ( ds_main_ordlist2_mainordlist.rowposition < 0 ) return;
  2959. if ( ds_main_ordlist3_mainordlist.rowposition < 0 ) return;
  2960. if ( ds_main_ordlist5_mainordlist.rowposition < 0 ) return;
  2961. if ( switch1.tabindex == 0) fClickPACSPatResultList(switch1.case2.grd_mainordlist2);
  2962. if ( switch1.tabindex == 1) fClickPACSPatResultList(switch1.case3.grd_mainordlist3);
  2963. if ( switch1.tabindex == 2) fClickPACSPatResultList(switch1.case5.grd_mainordlist5);
  2964. }
  2965. function button13_onclick(obj:Button, e:ClickEventInfo)
  2966. {
  2967. fTotalResultInfo();
  2968. }
  2969. function fTotalResultInfo()
  2970. {
  2971. if ( switch1.tabindex == 0) lf_aezfPopUpModalessSample("SMAER00800", switch1.case2.grd_mainordlist2);
  2972. if ( switch1.tabindex == 1) lf_aezfPopUpModalessSample("SMAER00800", switch1.case3.grd_mainordlist3);
  2973. if ( switch1.tabindex == 2) lf_aezfPopUpModalessSample("SMAER00800", switch1.case5.grd_mainordlist5);
  2974. }
  2975. function button1_onclick(obj:Button, e:ClickEventInfo)
  2976. {
  2977. fLinkAcptMngt();
  2978. }
  2979. function fLinkAcptMngt()
  2980. {
  2981. frmf_open("SMAEA01300", "SMAEA01300", "", "", "", "", "", "", "", "", "", "", "M");
  2982. }
  2983. function button4_onclick(obj:Button, e:ClickEventInfo)
  2984. {
  2985. fPhotoAssignMngt();
  2986. }
  2987. function fPhotoAssignMngt()
  2988. {
  2989. frmf_open("SMAEA01600", "SMAEA01600", "", "", "", "", "", "", "", "", "", "", "M");
  2990. }
  2991. function button5_onclick(obj:Button, e:ClickEventInfo)
  2992. {
  2993. fPatidInfo();
  2994. }
  2995. function fPatidInfo()
  2996. {
  2997. var pid = ds_main_subordlist_subordlist1.getColumn(ds_main_subordlist_subordlist1.rowposition, "pid");
  2998. frmf_setParameter ( "SMMMO02500_cond" , pid);
  2999. frmf_open("SMMMO02500", "SMMMO02500", "", "", "", "", "", "", "", "", "", "", "M");
  3000. }
  3001. function button2_onclick(obj:Button, e:ClickEventInfo)
  3002. {
  3003. fOCRInfo();
  3004. }
  3005. function fOCRInfo()
  3006. {
  3007. lf_aezfOcrListPrint(grd_subordlist1, ds_main_subordlist_subordlist1.rowposition, "pid", "orddd", "orddeptcd", "orddepthngnm", "orddrid", "orddrnm", "prcpgenrflag", "patnm", "roomcd", "rrgstno1", "rrgstno2", "cretno");
  3008. }
  3009. function button8_onclick(obj:Button, e:ClickEventInfo)
  3010. {
  3011. var portOpenTF = ""; //오픈 성공 여부
  3012. CommAX.CommPort = ds_hidden_barprntinfo.getColumn(0, "comport"); // 출력 Port
  3013. CommAX.Settings = ds_hidden_barprntinfo.getColumn(0, "setting"); // Comm 설정
  3014. portOpenTF = CommAX.PortOpen("true");
  3015. if(portOpenTF == "TRUE")
  3016. {
  3017. fLabelPrint();
  3018. CommAX.PortOpen("false");
  3019. }
  3020. else
  3021. {
  3022. sysf_messageBox("아래 사항을 확인후 재출력해주십시오."
  3023. + " \n 1.프린트설정 화면에서 통신유형을 com 으로 선택한 경우 port 번호 확인"
  3024. + " \n 2.케이블 확인"
  3025. + " \n 3.먼저 출력중인 바코드 확인(모두 출력된 후 재출력하십시오.)", "I", "");
  3026. return;
  3027. }
  3028. }
  3029. function fLabelPrint()
  3030. {
  3031. var sSndMsg = "";
  3032. var sBcNo = "";
  3033. var iprintcnt = 0;
  3034. if (utlf_isNull(ds_send_data_cmb_info_initexcuroomgrp.getColumn(0, "excuroomgrpcdid")))
  3035. {
  3036. sysf_messageBox("검사실그룹이 선택되지 ", "E007");
  3037. return;
  3038. }
  3039. var pid = ds_main_subordlist_subordlist1.getColumn(ds_main_subordlist_subordlist1.rowposition, "pid");
  3040. var patnm = ds_main_subordlist_subordlist1.getColumn(ds_main_subordlist_subordlist1.rowposition, "patnm");
  3041. var gbn = ds_main_subordlist_subordlist1.getColumn(ds_main_subordlist_subordlist1.rowposition, "rrgstno2").substring(0, 1);
  3042. var rrgstno1 = ds_main_subordlist_subordlist1.getColumn(ds_main_subordlist_subordlist1.rowposition, "rrgstno1");
  3043. var rrgstno2 = ds_main_subordlist_subordlist1.getColumn(ds_main_subordlist_subordlist1.rowposition, "rrgstno2");
  3044. var barpid = pid;
  3045. var excugrp = ds_send_data_cmb_info_initexcuroomgrp.getColumn(0, "excuroomgrpcdid");
  3046. var currentdate = utlf_getCurrentDate();
  3047. if ( gbn == "1" )
  3048. {
  3049. var sex = "M";
  3050. var age = lf_aezfgetFullAge(rrgstno1+rrgstno2);
  3051. }
  3052. else
  3053. {
  3054. var sex = "F";
  3055. var age = lf_aezfgetFullAge(rrgstno1+rrgstno2);
  3056. }
  3057. if ( utlf_isNull(pid))
  3058. {
  3059. sysf_messageBox("처방목록이 선택되지 ", "E007");
  3060. return;
  3061. }
  3062. sSndMsg = "";
  3063. //시작(X, Y)
  3064. sSndMsg += lzzfBP_StartFormat(0, 0);
  3065. sSndMsg += "^BY2,2.5^FO" + "200" + "," + "30"; // 바코드 Width 조절
  3066. sSndMsg += "^BCN,70,N,N,N^FD" + "*"+barpid+excugrp+"*" + "^FS";
  3067. // 등록번호 + 그룹코드
  3068. sSndMsg += lzzfBP_ChangeFont("C", 7, 7); // 폰트 설정
  3069. sSndMsg += lzzfBP_FieldDataA(265, 105, "*"+pid+' '+excugrp+"*" );
  3070. // 등록번호 --
  3071. sSndMsg += lzzfBP_ChangeFont("C", 45, 15); // 폰트 설정
  3072. sSndMsg += lzzfBP_FieldDataA(85, 150, pid );
  3073. //환자명 --
  3074. sSndMsg += lzzfBP_ChangeFont("C", 45, 15); // 폰트 설정
  3075. sSndMsg += CommAX.PrtImgOut(100, 210, patnm, 2, 2); //가로시작위치, 세로시작위치, 출력할문자열, 1,1 (비율)
  3076. sSndMsg += CommAX.HanImageData();
  3077. // 성별
  3078. sSndMsg += lzzfBP_ChangeFont("C", 45, 15); // 폰트 설정
  3079. sSndMsg += lzzfBP_FieldDataA(400, 210, sex );
  3080. // 나이
  3081. sSndMsg += lzzfBP_ChangeFont("C", 45, 15); // 폰트 설정
  3082. sSndMsg += lzzfBP_FieldDataA(550, 210, age );
  3083. // 그룹코드
  3084. sSndMsg += lzzfBP_ChangeFont("C", 45, 15); // 폰트 설정
  3085. sSndMsg += lzzfBP_FieldDataA(550, 150, excugrp );
  3086. // 주민번호
  3087. sSndMsg += lzzfBP_ChangeFont("C", 35, 15); // 폰트 설정
  3088. sSndMsg += lzzfBP_FieldDataA(400, 270, rrgstno1+"-"+gbn );
  3089. //종료(매수)
  3090. sSndMsg += lzzfBP_EndFormat();
  3091. CommAX.SendMessage(sSndMsg);
  3092. ds_hidden.setColumn(0, "Message", CommAX.Message);
  3093. }
  3094. function button9_onclick(obj:Button, e:ClickEventInfo)
  3095. {
  3096. fFilmInfo();
  3097. }
  3098. function fFilmInfo()
  3099. {
  3100. ds_hidden_popdata.setColumn(0, "pid", ds_main_subordlist_subordlist1.getColumn(ds_main_subordlist_subordlist1.rowposition, "pid"));
  3101. var objArg = new Object();
  3102. objArg.arg_ds_hidden_popdata = ds_hidden_popdata;
  3103. frmf_open("SMAEF00200", "SMAEF00200", objArg, "", "", "", "", "", "", "", "", "", "M");
  3104. //ds_hidden_popdata.setColumn(0, "pid", "");
  3105. }
  3106. function button10_onclick(obj:Button, e:ClickEventInfo)
  3107. {
  3108. fAngioMain();
  3109. }
  3110. function fAngioMain()
  3111. {
  3112. frmf_open("SPAEA00300", "SPAEA00300", "", "", "", "", "", "", "", "", "", "", "M");
  3113. }
  3114. function btn_Daemon_onclick(obj:Button, e:ClickEventInfo)
  3115. {
  3116. var oParam = {};
  3117. oParam.id = "TRAER00213";
  3118. oParam.service = "astcommonapp.SetPacsDaemon";
  3119. oParam.method = "reqSetPacsDaemon";
  3120. oParam.inds = "reqparam=ds_send_data";
  3121. oParam.outds = "ds_=garbage1";
  3122. oParam.async = false;
  3123. oParam.callback = "cf_TRAER00213";
  3124. tranf_submit(oParam);
  3125. if(arErrorCode.pop("TRAER00213") > -1)
  3126. {
  3127. alert('성공');
  3128. }
  3129. else
  3130. {
  3131. alert('실패');
  3132. }
  3133. }
  3134. function cf_TRAER00213(sSvcId, nErrorCode, sErrorMsg) {
  3135. arErrorCode.push(sSvcId, nErrorCode);
  3136. }
  3137. function fPACSPrcpInfo()
  3138. {
  3139. if (ds_main_subordlist_subordlist1.rowposition < 0 ) return;
  3140. fClickPACSPrcpResultList(ds_main_subordlist_subordlist1);
  3141. }
  3142. function fClickPACSPrcpResultList(grdobj)
  3143. {
  3144. if ( grdobj.rowposition >= 0)
  3145. {
  3146. var rowidx = grdobj.rowposition;
  3147. var pid = ds_main_ordlist2_mainordlist.getColumn(rowidx, "pid");
  3148. var pacsorderid = ds_main_subordlist_subordlist1.getColumn(rowidx, "prcpdd")+ds_main_subordlist_subordlist1.getColumn(rowidx, "execprcpuniqno");
  3149. zepfpacsAll(pacsorderid, pid);
  3150. }
  3151. }
  3152. function fPathLabelPrint()
  3153. {
  3154. dsf_createDs("ds_SMLLC00300");
  3155. dsf_makeValue(ds_SMLLC00300, "regnopatnm", "string", ds_main_subordlist_subordlist1.getColumn(ds_main_subordlist_subordlist1.rowposition, "pid"));
  3156. var objArg = new Object();
  3157. objArg.arg_ds_hidden_SFlag = ds_SMLLC00300;
  3158. frmf_modal("SMLLC00300", "SMLLC00300", objArg, "", "", "", "", "", "", "", "", "", "M");
  3159. dsf_deleteDs("ds_SMLLC00300");
  3160. }
  3161. function fAngioInfo()
  3162. {
  3163. frmf_setParameter("opener_parameter_id", ds_main_subordlist_subordlist1.getColumn(ds_main_subordlist_subordlist1.rowposition, "pid"));
  3164. frmf_open("SMAER00700", "SMAER00700", "", "", "", "", "", "", "", "", "", "", "M");
  3165. }
  3166. function fPidCopy()
  3167. {
  3168. aezfSendMarkBuf(grd_subordlist1, "pid");
  3169. }
  3170. function fTranEmpCall()
  3171. {
  3172. // status : "RD"
  3173. // pid : 등록번호
  3174. // prcpnm : 처방명
  3175. // kind : 종류(1:검사, 2:전동, 3:수술, 4:입원, 5:기타)
  3176. // rsrvdt : 예약일시
  3177. // arvposcd : 도착 부서코드
  3178. // startposcd : 출발 부서코드
  3179. var pid = ds_main_subordlist_subordlist1.getColumn(ds_main_subordlist_subordlist1.rowposition, "pid");
  3180. var prcpnm = ds_main_subordlist_subordlist1.getColumn(ds_main_subordlist_subordlist1.rowposition, "prcpnm");
  3181. var kind = "1";
  3182. var rsrvdt = String(utlf_getCurrentTime()).substr(0,4) ;
  3183. var startposcd = ds_main_subordlist_subordlist1.getColumn(ds_main_subordlist_subordlist1.rowposition, "excuroomgrpcd");
  3184. var arvposcd = ds_main_subordlist_subordlist1.getColumn(ds_main_subordlist_subordlist1.rowposition, "wardcd");
  3185. var calldeptflag = "B";
  3186. if ( !utlf_isNull(pid))
  3187. {
  3188. fInsTranCallRD(pid, prcpnm, kind, rsrvdt, calldeptflag, arvposcd, startposcd);
  3189. }
  3190. }
  3191. function fBmdList()
  3192. {
  3193. if ( switch1.tabindex == 0)
  3194. {
  3195. var row = ds_main_ordlist2_mainordlist.rowposition;
  3196. dsf_makeValue(ds_send_data, "pid", "string", ds_main_ordlist2_mainordlist.getColumn(row, "pid"));
  3197. }
  3198. if ( switch1.tabindex == 1)
  3199. {
  3200. var row = ds_main_ordlist3_mainordlist.rowposition;
  3201. dsf_makeValue(ds_send_data, "pid", "string", ds_main_ordlist3_mainordlist.getColumn(row, "pid"));
  3202. }
  3203. if ( switch1.tabindex == 2)
  3204. {
  3205. var row = ds_main_ordlist5_mainordlist.rowposition;
  3206. dsf_makeValue(ds_send_data, "pid", "string", ds_main_ordlist5_mainordlist.getColumn(row, "pid"));
  3207. }
  3208. if (utlf_isNull(ds_send_data.getColumn(0, "pid"))) return;
  3209. var oParam = {};
  3210. oParam.id = "TRAER00214";
  3211. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  3212. oParam.method = "reqGetBonedenList";
  3213. oParam.inds = "reqparam=ds_send_data";
  3214. oParam.outds = "ds_main_exculist_mainordlist8=mainordlist8";
  3215. oParam.async = false;
  3216. //oParam.callback = "cf_TRAER00214";
  3217. tranf_submit(oParam);
  3218. group4.visible = true;
  3219. }
  3220. function fNurseRecII()
  3221. {
  3222. lf_aezfGetNurseRecII(ds_main_subordlist_subordlist1, ds_main_subordlist_subordlist1.rowposition, "1");
  3223. }
  3224. function fNurseRecIII()
  3225. {
  3226. lf_aezfGetNurseRecII(ds_main_subordlist_subordlist1, ds_main_subordlist_subordlist1.rowposition, "2");
  3227. }
  3228. function switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  3229. {
  3230. // if(obj.tabindex == 0)
  3231. // {
  3232. // dsf_makeValue(ds_send_data, "srchpid", "string", "");
  3233. // fGetExamCureAcptList("J");
  3234. //
  3235. // dsf_makeValue(ds_temp, "prcprcptyn", "string", "J"); //2009-06-30 2009-06-30 7/1 본인부담율 인상으로 인한 메세지 처리(적용)
  3236. // }
  3237. // else if(obj.tabindex == 1)
  3238. // {
  3239. // dsf_makeValue(ds_send_data, "srchpid", "string", "");
  3240. // fGetExamCureAcptList("S");
  3241. //
  3242. // dsf_makeValue(ds_temp, "prcprcptyn", "string", "S"); //2009-06-30 2009-06-30 7/1 본인부담율 인상으로 인한 메세지 처리(적용)
  3243. // }
  3244. // else
  3245. // {
  3246. // sysf_messageBox("기능구현이 완료되지 않았습니다.","I999");
  3247. // return;
  3248. // dsf_makeValue(ds_send_data, "srchpid", "string", "");
  3249. // fGetExamCureAcptList("Z");
  3250. // dsf_makeValue(ds_temp, "prcprcptyn", "string", "Z"); //2009-06-30 2009-06-30 7/1 본인부담율 인상으로 인한 메세지 처리(적용)
  3251. // }
  3252. }
  3253. function btn_case2_onclick(obj:Button, e:ClickEventInfo)
  3254. {
  3255. obj.class = "btn_tab_S";
  3256. btn_case3.class = "btn_tab";
  3257. btn_case5.class = "btn_tab";
  3258. switch1.tabindex = 0;
  3259. dsf_makeValue(ds_send_data, "srchpid", "string", "");
  3260. fGetExamCureAcptList("J");
  3261. dsf_makeValue(ds_temp, "prcprcptyn", "string", "J");
  3262. }
  3263. function btn_case3_onclick(obj:Button, e:ClickEventInfo)
  3264. {
  3265. obj.class = "btn_tab_S";
  3266. btn_case2.class = "btn_tab";
  3267. btn_case5.class = "btn_tab";
  3268. switch1.tabindex = 1;
  3269. dsf_makeValue(ds_send_data, "srchpid", "string", "");
  3270. fGetExamCureAcptList("S");
  3271. dsf_makeValue(ds_temp, "prcprcptyn", "string", "S")
  3272. }
  3273. function btn_case5_onclick(obj:Button, e:ClickEventInfo)
  3274. {
  3275. obj.class = "btn_tab_S";
  3276. btn_case2.class = "btn_tab";
  3277. btn_case3.class = "btn_tab";
  3278. switch1.tabindex = 2;
  3279. sysf_messageBox("기능구현이 완료되지 않았습니다.","I999");
  3280. return;
  3281. dsf_makeValue(ds_send_data, "srchpid", "string", "");
  3282. fGetExamCureAcptList("Z");
  3283. dsf_makeValue(ds_temp, "prcprcptyn", "string", "Z");
  3284. }
  3285. ]]></Script>
  3286. </Form>
  3287. </FDL>