SMMND00100_인공신장실메인.xfdl 167 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMND00100" position="absolute 0 0 1232 790" titletext="인공신장실 메인" onload="SMMND00100_onload" ontimer="SMMND00100_ontimer">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group1" position="absolute 0 0 1188 25" style="">
  8. <Layouts>
  9. <Layout>
  10. <Static id="caption6" class="tit_1" position="absolute 0 0 114 23" style="" text="투석환자조회" anchor="default"/>
  11. </Layout>
  12. </Layouts>
  13. </Div>
  14. <Div id="group3" scrollbars="autoboth" position="absolute 0 15 1232 790" style="" anchor="all">
  15. <Layouts>
  16. <Layout>
  17. <Tab id="switch1" class="sw_box" position="absolute 0 25 1232 775" style="buttonbackground:stretch 10,10;background:stretch 10,26;border:1 solid darkgray darkgray;" anchor="all">
  18. <Tabpages>
  19. <Tabpage id="case1" selected="true" anchor="default">
  20. <Layouts>
  21. <Layout>
  22. <Grid id="grd_hdschelist" binddataset="ds_main_hdschelist_hdscheinfo" class="datagrid2" position="absolute 8 82 1220 704" style="" ontextchanged="group3_switch1_case1_grd_hdschelist_ontextchanged" oncelldblclick="group3_switch1_case1_grd_hdschelist_oncelldblclick" anchor="all" onrbuttonup="group3_switch1_case1_grd_hdschelist_onrbuttonup" cellsizingtype="both" selecttype="multirow" autosizingtype="row" extendsizetype="row">
  23. <Formats>
  24. <Format id="default">
  25. <Columns>
  26. <Column size="24" band="left"/>
  27. <Column size="30"/>
  28. <Column size="35"/>
  29. <Column size="35"/>
  30. <Column size="28"/>
  31. <Column size="28"/>
  32. <Column size="30"/>
  33. <Column size="30"/>
  34. <Column size="30"/>
  35. <Column size="29"/>
  36. <Column size="40"/>
  37. <Column size="75"/>
  38. <Column size="65"/>
  39. <Column size="45"/>
  40. <Column size="35"/>
  41. <Column size="97"/>
  42. <Column size="65"/>
  43. <Column size="30"/>
  44. <Column size="30"/>
  45. <Column size="30"/>
  46. <Column size="55"/>
  47. <Column size="100"/>
  48. <Column size="235"/>
  49. <Column size="107"/>
  50. <Column size="70"/>
  51. <Column size="70"/>
  52. <Column size="75"/>
  53. <Column size="0"/>
  54. <Column size="0"/>
  55. <Column size="100"/>
  56. <Column size="0"/>
  57. <Column size="0"/>
  58. <Column size="0"/>
  59. <Column size="0"/>
  60. <Column size="0"/>
  61. <Column size="0"/>
  62. <Column size="0"/>
  63. <Column size="0"/>
  64. <Column size="0"/>
  65. <Column size="0"/>
  66. <Column size="0"/>
  67. <Column size="0"/>
  68. <Column size="0"/>
  69. <Column size="0"/>
  70. <Column size="0"/>
  71. <Column size="0"/>
  72. <Column size="0"/>
  73. <Column size="0"/>
  74. <Column size="0"/>
  75. <Column size="0"/>
  76. <Column size="0"/>
  77. <Column size="0"/>
  78. <Column size="0"/>
  79. <Column size="0"/>
  80. <Column size="0"/>
  81. <Column size="0"/>
  82. </Columns>
  83. <Rows>
  84. <Row size="34" band="head"/>
  85. <Row size="24"/>
  86. </Rows>
  87. <Band id="head">
  88. <Cell/>
  89. <Cell col="1" text="Shift"/>
  90. <Cell col="2" text="투석&#10;자리"/>
  91. <Cell col="3" colspan="3" text="특이" taborder="undefined"/>
  92. <Cell col="6" text="혈액"/>
  93. <Cell col="7" text="접촉"/>
  94. <Cell col="8" text="공기"/>
  95. <Cell col="9" text="비말"/>
  96. <Cell col="10" text="부적합"/>
  97. <Cell col="11" text="등록번호"/>
  98. <Cell col="12" text="환자명"/>
  99. <Cell col="13" text="S/A"/>
  100. <Cell col="14" text="구분"/>
  101. <Cell col="15" text="진료과"/>
  102. <Cell col="16" text="진료의"/>
  103. <Cell col="17" text="처방"/>
  104. <Cell col="18" text="시행"/>
  105. <Cell col="19" text="희귀"/>
  106. <Cell col="20" text="중증도"/>
  107. <Cell col="21" text="중증도 저장일시"/>
  108. <Cell col="22" text="최근투석일자/&#10;최근Hemoglobin 일자,수치"/>
  109. <Cell col="23" text="예약일자/&#10;Hemodialysis수납"/>
  110. <Cell col="24" text="본원투석&#10;시작일자"/>
  111. <Cell col="25" text="유지환자&#10;등록일자"/>
  112. <Cell col="26" text="보험구분"/>
  113. <Cell col="27" text="수납일자"/>
  114. <Cell col="28" text="수납시간"/>
  115. <Cell col="29" text="특이사항"/>
  116. <Cell col="30" text="caption1"/>
  117. <Cell col="31" text="matnflag"/>
  118. <Cell col="32" text="histstat"/>
  119. <Cell col="33" text="acptyn"/>
  120. <Cell col="34" text="prcsflag"/>
  121. <Cell col="35" text="rcptflag"/>
  122. <Cell col="36" text="rcptdt"/>
  123. <Cell col="37" text="shiftflag"/>
  124. </Band>
  125. <Band id="body">
  126. <Cell celltype="head" style="background:#b2e6e1ff;background2:#b2e6e1ff;" expr="currow + 1" autosizerow="limitmin" autosizecol="default"/>
  127. <Cell col="1" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:shiftnm" tooltiptype="none" tooltiptext="bind:shiftnm" autosizerow="limitmin"/>
  128. <Cell col="2" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:dialseatflag" tooltiptype="none" tooltiptext="bind:dialseatflag" autosizerow="limitmin"/>
  129. <Cell col="3" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:fnexamyn" tooltiptype="none" tooltiptext="bind:fnexamyn" autosizerow="limitmin"/>
  130. <Cell col="4" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:vipyn" tooltiptype="none" tooltiptext="bind:vipyn" autosizerow="limitmin"/>
  131. <Cell col="5" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:spcffactyn" tooltiptype="none" tooltiptext="bind:spcffactyn" autosizerow="limitmin"/>
  132. <Cell col="6" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));backgroundimage:EXPR(disp1 == 'Y' ? 'theme://images/btn_top_infection0.gif' : '');" text="bind:disp1" tooltiptype="none" tooltiptext="bind:disp1" autosizerow="limitmin"/>
  133. <Cell col="7" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));backgroundimage:EXPR(disp2 == 'Y' ? 'theme://images/btn_top_infection1.gif' : '');" text="bind:disp2" tooltiptype="none" tooltiptext="bind:disp2" autosizerow="limitmin"/>
  134. <Cell col="8" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));backgroundimage:EXPR(disp3 == 'Y' ? 'theme://images/btn_top_infection2.gif' : '');" text="bind:disp3" tooltiptype="none" tooltiptext="bind:disp3" autosizerow="limitmin"/>
  135. <Cell col="9" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));backgroundimage:EXPR(disp4 == 'Y' ? 'theme://images/btn_top_infection2.gif' : '');" text="bind:disp4"/>
  136. <Cell col="10" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:unablspc"/>
  137. <Cell col="11" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:pid" tooltiptype="none" tooltiptext="bind:pid" autosizerow="limitmin"/>
  138. <Cell col="12" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:hngnm" tooltiptype="none" tooltiptext="bind:hngnm" autosizerow="limitmin"/>
  139. <Cell col="13" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:sexage" tooltiptype="none" tooltiptext="bind:sexage" autosizerow="limitmin"/>
  140. <Cell col="14" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:ioflag" tooltiptype="none" tooltiptext="bind:ioflag" autosizerow="limitmin"/>
  141. <Cell col="15" style="align:left middle;background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:orddeptnm" tooltiptype="none" tooltiptext="bind:orddeptnm" autosizerow="limitmin"/>
  142. <Cell col="16" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:drnm" tooltiptype="none" tooltiptext="bind:drnm" autosizerow="limitmin"/>
  143. <Cell col="17" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:prcpflag" tooltiptype="none" tooltiptext="bind:prcpflag" autosizerow="limitmin"/>
  144. <Cell col="18" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:execyn" tooltiptype="none" tooltiptext="bind:execyn" autosizerow="limitmin"/>
  145. <Cell col="19" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:rooasignyn" tooltiptype="none" tooltiptext="bind:rooasignyn" autosizerow="limitmin"/>
  146. <Cell col="20" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:inptrslt" tooltiptype="none" tooltiptext="bind:inptrslt" autosizerow="limitmin"/>
  147. <Cell col="21" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:inptrsltdt" tooltiptype="none" tooltiptext="bind:inptrsltdt" autosizerow="limitmin"/>
  148. <Cell col="22" style="align:left middle;background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:rectdialdd" tooltiptype="none" tooltiptext="bind:rectdialdd" autosizerow="limitmin"/>
  149. <Cell col="23" style="align:left middle;background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:rsrvdd" tooltiptype="none" tooltiptext="bind:rsrvdd" autosizerow="limitmin"/>
  150. <Cell col="24" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:roothospdialfromdd" tooltiptype="none" tooltiptext="bind:roothospdialfromdd" autosizerow="limitmin"/>
  151. <Cell col="25" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:maintepatrgstdd" tooltiptype="none" tooltiptext="bind:maintepatrgstdd" autosizerow="limitmin"/>
  152. <Cell col="26" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:insunm" tooltiptype="none" tooltiptext="bind:insunm" autosizerow="limitmin"/>
  153. <Cell col="27" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:rcptdt" tooltiptype="none" tooltiptext="bind:rcptdt" autosizerow="limitmin"/>
  154. <Cell col="28" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:rcpttm" tooltiptype="none" tooltiptext="bind:rcpttm" autosizerow="limitmin"/>
  155. <Cell col="29" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" tooltiptype="none" autosizerow="limitmin"/>
  156. <Cell col="30" text="bind:ioflagvalue"/>
  157. <Cell col="31" text="bind:matnflag"/>
  158. <Cell col="32" text="bind:histstat"/>
  159. <Cell col="33" text="bind:acptyn"/>
  160. <Cell col="34" text="bind:prcsflag"/>
  161. <Cell col="35" text="bind:rcptflag"/>
  162. <Cell col="36" text="bind:rcptdt"/>
  163. <Cell col="37" text="bind:indd"/>
  164. <Cell col="38" text="bind:cretno"/>
  165. <Cell col="39" text="bind:seqno"/>
  166. <Cell col="40" text="bind:instcd"/>
  167. <Cell col="41" text="bind:orddd"/>
  168. <Cell col="42" text="bind:acptseqno"/>
  169. <Cell col="43" text="bind:orgorddd"/>
  170. <Cell col="44" text="bind:orddrid"/>
  171. <Cell col="45" text="bind:elbulbodstat"/>
  172. <Cell col="46" text="bind:nursacptyn"/>
  173. <Cell col="47" text="bind:histstat"/>
  174. <Cell col="48" text="bind:histstat"/>
  175. <Cell col="49" text="bind:histstat"/>
  176. <Cell col="50" text="bind:histstat"/>
  177. <Cell col="51" text="bind:rgstno"/>
  178. <Cell col="52" text="bind:roomcd"/>
  179. <Cell col="53" text="bind:shiftflag"/>
  180. <Cell col="54" text="bind:acptresn"/>
  181. <Cell col="55" text="bind:medamtpostyn"/>
  182. </Band>
  183. </Format>
  184. </Formats>
  185. </Grid>
  186. <Div id="group2" position="absolute 8 8 1220 44" style="align: top;" anchor="left top right" class="div_SA2">
  187. <Layouts>
  188. <Layout>
  189. <Static id="caption1" class="search_name" position="absolute 16 9 97 27" style="" text="예약일자 :" anchor="default"/>
  190. <Button id="btn_srchhdpatinfo" class="btn1" position="absolute 1065 8 1121 28" style="" text="조회" onclick="group3_switch1_case1_group2_btn_srchhdpatinfo_onclick" anchor="top right"/>
  191. <Shape id="line13" linetype="vertical" position="absolute 1155 7 1158 29" style="border: solid #ffe4bb #ffe4bb;" anchor="top right"/>
  192. <Static id="caption3" class="search_name" position="absolute 360 9 437 27" style="" text="진료구분 :" anchor="default"/>
  193. <Calendar id="ipt_rsrvfromdd" class="input_essential" position="absolute 105 8 200 28" style="" anchor="default" onkillfocus="group3_switch1_case1_group2_ipt_rsrvfromdd_onkillfocus" dateformat="yyyy-MM-dd" value="null" autoselect="true"/>
  194. <Static id="caption5" position="absolute 207 10 222 27" style="" text="~" anchor="default"/>
  195. <Calendar id="ipt_rsrvtodd" class="input_essential" position="absolute 225 8 320 28" style="" anchor="default" onkillfocus="group3_switch1_case1_group2_ipt_rsrvtodd_onkillfocus" dateformat="yyyy-MM-dd" value="null" autoselect="true"/>
  196. <Combo datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="cmb_ioflag" class="combo_search" position="absolute 450 8 510 28" style="" onitemchanged="group3_switch1_case1_group2_cmb_ioflag_onitemchanged" anchor="default">
  197. <Dataset id="innerdataset">
  198. <ColumnInfo>
  199. <Column id="codecolumn"/>
  200. <Column id="datacolumn"/>
  201. </ColumnInfo>
  202. <Rows>
  203. <Row>
  204. <Col id="codecolumn"/>
  205. <Col id="datacolumn">전체</Col>
  206. </Row>
  207. <Row>
  208. <Col id="codecolumn">I</Col>
  209. <Col id="datacolumn">입원</Col>
  210. </Row>
  211. <Row>
  212. <Col id="codecolumn">O</Col>
  213. <Col id="datacolumn">외래</Col>
  214. </Row>
  215. <Row>
  216. <Col id="codecolumn">E</Col>
  217. <Col id="datacolumn">응급</Col>
  218. </Row>
  219. </Rows>
  220. </Dataset>
  221. </Combo>
  222. <Shape id="line3" class="line_4" linetype="vertical" position="absolute 1037 9 1040 26" style="border: solid #ffe4bb #ffe4bb;" anchor="top right"/>
  223. <Button id="button3" class="btn7" position="absolute 1124 8 1204 28" style="" text="엑셀저장" onclick="group3_switch1_case1_group2_button3_onclick" anchor="top right"/>
  224. <Static id="caption9" class="search_name" position="absolute 528 9 597 27" style="" text="SHIFT :" anchor="default"/>
  225. <Radio datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="rdo_shift" position="absolute 592 8 828 28" style="textpadding:0 5 0 3;padding:1 0 0 0;" anchor="default">
  226. <Dataset id="innerdataset">
  227. <ColumnInfo>
  228. <Column id="codecolumn" size="256"/>
  229. <Column id="datacolumn" size="256"/>
  230. </ColumnInfo>
  231. <Rows>
  232. <Row>
  233. <Col id="codecolumn">A</Col>
  234. <Col id="datacolumn">전체</Col>
  235. </Row>
  236. <Row>
  237. <Col id="codecolumn">1</Col>
  238. <Col id="datacolumn">1</Col>
  239. </Row>
  240. <Row>
  241. <Col id="codecolumn">2</Col>
  242. <Col id="datacolumn">2</Col>
  243. </Row>
  244. <Row>
  245. <Col id="codecolumn">3</Col>
  246. <Col id="datacolumn">3</Col>
  247. </Row>
  248. <Row>
  249. <Col id="codecolumn">5</Col>
  250. <Col id="datacolumn">응급</Col>
  251. </Row>
  252. <Row>
  253. <Col id="codecolumn">7</Col>
  254. <Col id="datacolumn">소아</Col>
  255. </Row>
  256. </Rows>
  257. </Dataset>
  258. </Radio>
  259. <Static id="caption10" class="search_name" position="absolute 830 10 899 27" style="" text="내환자 :" anchor="default"/>
  260. <Combo innerdataset="ds_init_settingrn_settingrnlist" datacolumn="settingrnnm" codecolumn="settingrnid" columncount="-1" rowcount="-1" id="cmb_mypid" class="combo_search" position="absolute 910 8 1005 28" style="" onitemchanged="group3_switch1_case1_group2_cmb_mypid_onitemchanged" anchor="default" index="-1"/>
  261. </Layout>
  262. </Layouts>
  263. </Div>
  264. <Shape id="line1" class="line_10" linetype="horizontal" position="absolute 8 78 1220 82" anchor="left top right"/>
  265. <Shape id="roundrect5" anchor="left bottom" type="roundrectangle" position="absolute 5 706 240 733" style="border: solid #7cbbdd #7cbbdd;background:transparent ;"/>
  266. <Static id="caption4" position="absolute 16 711 50 728" style="background:#e1ffe1 ;" anchor="left bottom"/>
  267. <Static id="caption8" position="absolute 60 710 232 730" style="" text=": 입원/외래 전환이 필요한 경우" anchor="left bottom"/>
  268. <Shape id="rectangle1" anchor="left bottom" type="rectangle" position="absolute 15 711 51 728" style="fillbrush:solid #e1ffe1ff true;"/>
  269. <TextArea id="tar_blodprep" enable="True" position="absolute 106 47 785 75" style="background:stretch 5,5;align:middle;" anchor="default"/>
  270. <Static id="caption68" class="search_name" position="absolute 15 52 97 70" style="" text="혈액준비 :" anchor="default"/>
  271. <Button id="btn_mywork" class="btn2" position="absolute 1134 57 1220 77" style="" text="HD worklist" onclick="group3_switch1_case1_btn_mywork_onclick" anchor="top right"/>
  272. <Button id="btn_mypat" class="btn2" position="absolute 1057 57 1132 77" style="" text="내환자세팅" onclick="group3_switch1_case1_btn_mypat_onclick" anchor="top right"/>
  273. <Edit id="out_jeawon" class="output_fix" position="absolute 1008 57 1055 77" style="background:URL('theme://images\bg_edit_R.png') stretch 5,5;align:center; :disabled {background:gray stretch 5,5;}" anchor="top right" readonly="true" ondblclick="group3_switch1_case1_out_jeawon_ondblclick" oneditdblclick="group3_switch1_case1_out_jeawon_oneditdblclick" enable="true"/>
  274. <Button id="btn_jaewon" class="btn2" position="absolute 942 57 1006 77" style="" text="재원환자" onclick="group3_switch1_case1_btn_jaewon_onclick" anchor="top right"/>
  275. <Div id="group7" position="absolute 290 235 764 292" style="background:#87cefaff;shadow:outer 3,3 3 gray;" anchor="default" visible="false">
  276. <Layouts>
  277. <Layout>
  278. <Static id="caption12" class="tit_2" position="absolute 8 8 283 25" style="" text="환자의 이동방법을 선택하십시오." anchor="default"/>
  279. <Button id="button10" class="btn2" taborder="22" position="absolute 379 29 421 49" style="" text="확인" onclick="group3_switch1_case1_group7_button10_onclick" anchor="default"/>
  280. <Button id="button11" class="btn2" taborder="22" position="absolute 424 29 466 49" style="" text="취소" onclick="group3_switch1_case1_group7_button11_onclick" anchor="default"/>
  281. <Radio datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="radio3" class="radio_search" position="absolute 24 30 369 49" style="" onitemchanged="group3_switch1_case1_group7_radio3_onitemchanged" anchor="default">
  282. <Dataset id="innerdataset">
  283. <ColumnInfo>
  284. <Column id="codecolumn"/>
  285. <Column id="datacolumn"/>
  286. </ColumnInfo>
  287. <Rows>
  288. <Row>
  289. <Col id="codecolumn">Foot</Col>
  290. <Col id="datacolumn">걸어서(Foot)</Col>
  291. </Row>
  292. <Row>
  293. <Col id="codecolumn">Wheel</Col>
  294. <Col id="datacolumn">휠체어이용(Wheel)</Col>
  295. </Row>
  296. <Row>
  297. <Col id="codecolumn">Car</Col>
  298. <Col id="datacolumn">침대차이용(Car)</Col>
  299. </Row>
  300. </Rows>
  301. </Dataset>
  302. </Radio>
  303. </Layout>
  304. </Layouts>
  305. </Div>
  306. <Button id="btn_print" taborder="1" text="프린터설정" onclick="group3_btn_print_onclick" class="btn3" position="absolute 847 57 936 77" anchor="top right"/>
  307. </Layout>
  308. </Layouts>
  309. </Tabpage>
  310. <Tabpage id="case2" anchor="default">
  311. <Layouts>
  312. <Layout>
  313. <Div id="group5" position="absolute 8 8 1222 43" style="align: top;" anchor="left top right" class="div_SA2">
  314. <Layouts>
  315. <Layout>
  316. <Static id="caption2" class="search_name" position="absolute 16 9 105 26" style="" text="업무일자 :" anchor="default"/>
  317. <Calendar id="input1" class="input_s_essential" position="absolute 105 8 200 27" style="" anchor="default" onkillfocus="group3_switch1_case2_group5_input1_onkillfocus" dateformat="yyyy-MM-dd" value="null" autoselect="true"/>
  318. <Static id="caption7" position="absolute 207 12 222 29" style="" text="~" anchor="default"/>
  319. <Calendar id="input4" class="input_s_essential" position="absolute 225 8 320 27" style="" anchor="default" onkillfocus="group3_switch1_case2_group5_input4_onkillfocus" dateformat="yyyy-MM-dd" value="null" autoselect="true"/>
  320. <Button id="button4" class="btn7" position="absolute 1125 8 1205 28" style="" text="엑셀저장" onclick="group3_switch1_case2_group5_button4_onclick" anchor="top right"/>
  321. <Shape id="line5" linetype="vertical" class="line_4" position="absolute 769 9 772 26" anchor="top right" style="border: solid #ffe4bb #ffe4bb;"/>
  322. <Button id="button2" taborder="1" text="조회" onclick="group3_switch1_case2_group5_button2_onclick" class="btn1" position="absolute 781 8 837 28" anchor="top right"/>
  323. <Button id="button5" taborder="2" text="PD등록" onclick="group3_switch1_case2_group5_button5_onclick" class="btn4" position="absolute 840 8 920 28" anchor="top right"/>
  324. <Button id="button8" taborder="3" text="예약정보" onclick="group3_switch1_case2_group5_button8_onclick" class="btn4" position="absolute 923 8 1003 28" anchor="top right"/>
  325. <Button id="button1" taborder="4" text="T-Set관리현황" onclick="group3_switch1_case2_group5_button1_onclick" class="btn4" position="absolute 1006 8 1122 28" anchor="top right"/>
  326. </Layout>
  327. </Layouts>
  328. </Div>
  329. <Shape id="line6" class="line_1" linetype="horizontal" position="absolute 8 47 1222 51" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
  330. <Grid id="grd_pdschelist" binddataset="ds_main_pdschelist_pdscheinfo" class="datagrid2" position="absolute 8 51 1222 728" style="" ontextchanged="group3_switch1_case2_grd_pdschelist_ontextchanged" oncelldblclick="group3_switch1_case2_grd_pdschelist_oncelldblclick" anchor="all" onrbuttonup="group3_switch1_case2_grd_pdschelist_onrbuttonup" selecttype="multirow">
  331. <Formats>
  332. <Format id="default">
  333. <Columns>
  334. <Column size="20"/>
  335. <Column size="0"/>
  336. <Column size="0"/>
  337. <Column size="34"/>
  338. <Column size="21"/>
  339. <Column size="20"/>
  340. <Column size="30"/>
  341. <Column size="30"/>
  342. <Column size="30"/>
  343. <Column size="30"/>
  344. <Column size="59"/>
  345. <Column size="70"/>
  346. <Column size="44"/>
  347. <Column size="32"/>
  348. <Column size="100"/>
  349. <Column size="59"/>
  350. <Column size="73"/>
  351. <Column size="65"/>
  352. <Column size="30"/>
  353. <Column size="30"/>
  354. <Column size="73"/>
  355. <Column size="233"/>
  356. <Column size="103"/>
  357. <Column size="91"/>
  358. <Column size="0"/>
  359. <Column size="68"/>
  360. <Column size="42"/>
  361. <Column size="43"/>
  362. <Column size="32"/>
  363. <Column size="54"/>
  364. <Column size="35"/>
  365. <Column size="43"/>
  366. <Column size="119"/>
  367. <Column size="82"/>
  368. <Column size="0"/>
  369. <Column size="0"/>
  370. <Column size="0"/>
  371. <Column size="0"/>
  372. <Column size="0"/>
  373. <Column size="0"/>
  374. <Column size="0"/>
  375. <Column size="0"/>
  376. <Column size="0"/>
  377. </Columns>
  378. <Rows>
  379. <Row size="33" band="head"/>
  380. <Row size="25"/>
  381. </Rows>
  382. <Band id="head">
  383. <Cell/>
  384. <Cell col="1" text="접수"/>
  385. <Cell col="2" text="진행&#10;상태"/>
  386. <Cell col="3" colspan="3" text="특이" taborder="undefined"/>
  387. <Cell col="6" text="혈액"/>
  388. <Cell col="7" text="접촉"/>
  389. <Cell col="8" text="공기"/>
  390. <Cell col="9" text="비말"/>
  391. <Cell col="10" text="등록번호"/>
  392. <Cell col="11" text="환자명"/>
  393. <Cell col="12" text="S/A"/>
  394. <Cell col="13" text="구분"/>
  395. <Cell col="14" text="진료과"/>
  396. <Cell col="15" text="유지구분"/>
  397. <Cell col="16" text="유지환자&#10;등록일자"/>
  398. <Cell col="17" text="진료의"/>
  399. <Cell col="18" text="처방"/>
  400. <Cell col="19" text="희귀"/>
  401. <Cell col="20" text="본원투석&#10;시작일자"/>
  402. <Cell col="21" text="최근&#10;투석일자"/>
  403. <Cell col="22" text="예약일자"/>
  404. <Cell col="23" text="예약내용"/>
  405. <Cell col="24" text="수납"/>
  406. <Cell col="25" text="투석종류"/>
  407. <Cell col="26" text="투석액&#10;교환"/>
  408. <Cell col="27" text="카테터&#10;고정"/>
  409. <Cell col="28" text="출구&#10;소독"/>
  410. <Cell col="29" text="도관&#10;길들이기"/>
  411. <Cell col="30" text="부종&#10;확인"/>
  412. <Cell col="31" text="T-Set&#10;교환"/>
  413. <Cell col="32" text="교육"/>
  414. <Cell col="33" text="보험구분"/>
  415. <Cell col="34" text="histstat"/>
  416. <Cell col="35" text="orddd"/>
  417. <Cell col="36" text="acptseqno"/>
  418. <Cell col="37" text="orgorddd"/>
  419. <Cell col="38" text="cretno"/>
  420. <Cell col="39" text="indd"/>
  421. <Cell col="40" text="seqno"/>
  422. </Band>
  423. <Band id="body">
  424. <Cell celltype="head" expr="currow + 1"/>
  425. <Cell col="1" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:acptyn"/>
  426. <Cell col="2" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:prcsflag"/>
  427. <Cell col="3" style="background:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');background2:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');" text="bind:fnexamyn"/>
  428. <Cell col="4" style="background:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');background2:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');" text="bind:vipyn"/>
  429. <Cell col="5" style="background:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');background2:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');" text="bind:spcffactyn"/>
  430. <Cell col="6" style="background:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');background2:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');backgroundimage:EXPR(disp1 == 'Y' ? 'theme://images/btn_top_infection0.gif' : '');" text="bind:disp1"/>
  431. <Cell col="7" style="background:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');background2:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');backgroundimage:EXPR(disp2 == 'Y' ? 'theme://images/btn_top_infection1.gif' : '');" text="bind:disp2"/>
  432. <Cell col="8" style="background:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');background2:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');backgroundimage:EXPR(disp3 == 'Y' ? 'theme://images/btn_top_infection2.gif' : '');" text="bind:disp3"/>
  433. <Cell col="9" style="background:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');background2:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');backgroundimage:EXPR(disp4 == 'Y' ? 'theme://images/btn_top_infection2.gif' : '');" text="bind:disp4"/>
  434. <Cell col="10" style="background:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');background2:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');" text="bind:pid"/>
  435. <Cell col="11" style="background:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');background2:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');" text="bind:hngnm"/>
  436. <Cell col="12" style="background:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');background2:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');" text="bind:sexage"/>
  437. <Cell col="13" style="background:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');background2:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');" text="bind:ioflag"/>
  438. <Cell col="14" style="align:left middle;background:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');background2:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');" text="bind:orddeptnm"/>
  439. <Cell col="15" style="background:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');background2:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');" text="bind:matnflag" combodataset="ds_cmb_matnflag" combocodecol="value" combodatacol="label"/>
  440. <Cell col="16" displaytype="date" style="background:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');background2:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');" text="bind:maintepatrgstdd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  441. <Cell col="17" style="background:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');background2:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');" text="bind:drnm"/>
  442. <Cell col="18" style="background:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');background2:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');" text="bind:prcpflag"/>
  443. <Cell col="19" style="background:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');background2:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');" text="bind:rooasignyn"/>
  444. <Cell col="20" displaytype="date" style="background:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');background2:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');" text="bind:roothospdialfromdd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  445. <Cell col="21" displaytype="normal" style="align:left middle;background:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');background2:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');" text="bind:rectdialdd"/>
  446. <Cell col="22" style="align:left middle;background:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');background2:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');" text="bind:rsrvdd"/>
  447. <Cell col="23" style="background:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');background2:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');" text="bind:rsrvcnts"/>
  448. <Cell col="24" style="background:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');background2:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');" text="bind:rcptflag"/>
  449. <Cell col="25" style="background:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');background2:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');" text="bind:dialkindflag"/>
  450. <Cell col="26" style="background:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');background2:EXPR(medamtpostyn == 'V' ? 'yellow' : ioflagvalue != histstat ? '#e1ffe1' : '');" text="bind:dialblodyn"/>
  451. <Cell col="27" text="bind:catefixyn"/>
  452. <Cell col="28" text="bind:dinfyn"/>
  453. <Cell col="29" text="bind:pipeyn"/>
  454. <Cell col="30" text="bind:edemacnfmyn"/>
  455. <Cell col="31" text="bind:tsetyn"/>
  456. <Cell col="32" text="bind:educnts"/>
  457. <Cell col="33" text="bind:insunm"/>
  458. <Cell col="34" text="bind:histstat"/>
  459. <Cell col="35" text="bind:orddd"/>
  460. <Cell col="36" text="bind:acptseqno"/>
  461. <Cell col="37" text="bind:orgorddd"/>
  462. <Cell col="38" text="bind:cretno"/>
  463. <Cell col="39" text="bind:indd"/>
  464. <Cell col="40" text="bind:seqno"/>
  465. <Cell col="41" text="bind:rgstno"/>
  466. <Cell col="42" text="bind:roomcd"/>
  467. <Cell col="43" text="bind:medamtpostyn"/>
  468. </Band>
  469. </Format>
  470. </Formats>
  471. </Grid>
  472. <Div id="group8" position="absolute 290 235 760 291" style="background:#87cefaff;shadow:outer 3,3 3 gray;" anchor="default" visible="false">
  473. <Layouts>
  474. <Layout>
  475. <Static id="caption13" class="tit_2" position="absolute 8 8 283 28" style="" text="환자의 이동방법을 선택하십시오." anchor="default"/>
  476. <Button id="button12" class="btn2" taborder="22" position="absolute 375 28 417 48" style="" text="확인" onclick="group3_switch1_case2_group8_button12_onclick" anchor="default"/>
  477. <Button id="button13" class="btn2" taborder="22" position="absolute 420 28 462 48" style="" text="취소" onclick="group3_switch1_case2_group8_button13_onclick" anchor="default"/>
  478. <Radio datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="radio1" class="radio_search" position="absolute 20 29 365 48" style="" onitemchanged="group3_switch1_case2_group8_radio1_onitemchanged" anchor="default">
  479. <Dataset id="innerdataset">
  480. <ColumnInfo>
  481. <Column id="codecolumn"/>
  482. <Column id="datacolumn"/>
  483. </ColumnInfo>
  484. <Rows>
  485. <Row>
  486. <Col id="codecolumn">Foot</Col>
  487. <Col id="datacolumn">걸어서(Foot)</Col>
  488. </Row>
  489. <Row>
  490. <Col id="codecolumn">Wheel</Col>
  491. <Col id="datacolumn">휠체어이용(Wheel)</Col>
  492. </Row>
  493. <Row>
  494. <Col id="codecolumn">Car</Col>
  495. <Col id="datacolumn">침대차이용(Car)</Col>
  496. </Row>
  497. </Rows>
  498. </Dataset>
  499. </Radio>
  500. </Layout>
  501. </Layouts>
  502. </Div>
  503. </Layout>
  504. </Layouts>
  505. </Tabpage>
  506. <Tabpage id="case3">
  507. <Layouts>
  508. <Layout>
  509. <Div id="group5" anchor="left top right" taborder="0" style="align: top;" class="div_SA2" position="absolute 8 8 1222 43">
  510. <Layouts>
  511. <Layout>
  512. <Static id="caption2" text="업무일자 :" class="search_name" position="absolute 16 9 105 26"/>
  513. <Button id="button2" taborder="1" text="조회" onclick="group3_switch1_case3_group5_button2_onclick" class="btn1" position="absolute 781 8 837 28" anchor="top right"/>
  514. <Calendar id="input1" taborder="2" autoselect="true" dateformat="yyyy-MM-dd" onkillfocus="group3_switch1_case2_group5_input1_onkillfocus" class="input_s_essential" position="absolute 105 8 200 27"/>
  515. <Static id="caption7" text="~" position="absolute 207 12 222 29"/>
  516. <Calendar id="input4" taborder="3" autoselect="true" dateformat="yyyy-MM-dd" onkillfocus="group3_switch1_case2_group5_input4_onkillfocus" class="input_s_essential" position="absolute 225 8 320 27"/>
  517. <Shape id="line5" linetype="vertical" class="line_4" position="absolute 769 9 772 26" anchor="top right" style="border: solid #ffe4bb #ffe4bb;"/>
  518. <Button id="button4" taborder="4" text="엑셀저장" onclick="group3_switch1_case2_group5_button4_onclick" class="btn7" position="absolute 1125 8 1205 28" anchor="top right"/>
  519. <Button id="btn_crrt" taborder="5" text="CRRT 등록" class="btn4" position="absolute 840 8 945 28" anchor="top right" onclick="group3_switch1_case3_group5_btn_crrt_onclick"/>
  520. <Button id="button8" taborder="6" text="예약정보" class="btn4" position="absolute 947 8 1027 28" anchor="top right" onclick="group3_switch1_case3_group5_button8_onclick"/>
  521. </Layout>
  522. </Layouts>
  523. </Div>
  524. <Shape id="line6" class="line_1" position="absolute 8 47 1222 51" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
  525. <Grid id="grd_pdschelist" class="datagrid2" taborder="1" binddataset="ds_main_pdschelist_pdscheinfo" useinputpanel="false" selecttype="multirow" onrbuttonup="group3_switch1_case2_grd_pdschelist_onrbuttonup" ontextchanged="group3_switch1_case2_grd_pdschelist_ontextchanged" position="absolute 8 51 1222 728" anchor="all" oncelldblclick="group3_switch1_case3_grd_pdschelist_oncelldblclick">
  526. <Formats>
  527. <Format id="default">
  528. <Columns>
  529. <Column size="20"/>
  530. <Column size="0"/>
  531. <Column size="0"/>
  532. <Column size="34"/>
  533. <Column size="21"/>
  534. <Column size="20"/>
  535. <Column size="30"/>
  536. <Column size="30"/>
  537. <Column size="30"/>
  538. <Column size="31"/>
  539. <Column size="59"/>
  540. <Column size="70"/>
  541. <Column size="40"/>
  542. <Column size="32"/>
  543. <Column size="100"/>
  544. <Column size="59"/>
  545. <Column size="73"/>
  546. <Column size="65"/>
  547. <Column size="30"/>
  548. <Column size="30"/>
  549. <Column size="73"/>
  550. <Column size="233"/>
  551. <Column size="103"/>
  552. <Column size="91"/>
  553. <Column size="0"/>
  554. <Column size="68"/>
  555. <Column size="0"/>
  556. <Column size="0"/>
  557. <Column size="0"/>
  558. <Column size="0"/>
  559. <Column size="0"/>
  560. <Column size="0"/>
  561. <Column size="0"/>
  562. <Column size="82"/>
  563. <Column size="0"/>
  564. <Column size="0"/>
  565. <Column size="0"/>
  566. <Column size="0"/>
  567. <Column size="0"/>
  568. <Column size="0"/>
  569. <Column size="0"/>
  570. <Column size="0"/>
  571. <Column size="0"/>
  572. </Columns>
  573. <Rows>
  574. <Row size="33" band="head"/>
  575. <Row size="25"/>
  576. </Rows>
  577. <Band id="head">
  578. <Cell/>
  579. <Cell col="1" text="접수"/>
  580. <Cell col="2" text="진행&#10;상태"/>
  581. <Cell col="3" colspan="3" text="특이" taborder="undefined"/>
  582. <Cell col="6" text="혈액"/>
  583. <Cell col="7" text="접촉"/>
  584. <Cell col="8" text="공기"/>
  585. <Cell col="9" text="비말"/>
  586. <Cell col="10" text="등록번호"/>
  587. <Cell col="11" text="환자명"/>
  588. <Cell col="12" text="S/A"/>
  589. <Cell col="13" text="구분"/>
  590. <Cell col="14" text="진료과"/>
  591. <Cell col="15" text="유지구분"/>
  592. <Cell col="16" text="유지환자&#10;등록일자"/>
  593. <Cell col="17" text="진료의"/>
  594. <Cell col="18" text="처방"/>
  595. <Cell col="19" text="희귀"/>
  596. <Cell col="20" text="본원투석&#10;시작일자"/>
  597. <Cell col="21" text="최근&#10;투석일자"/>
  598. <Cell col="22" text="예약일자"/>
  599. <Cell col="23" text="예약내용"/>
  600. <Cell col="24" text="수납"/>
  601. <Cell col="25" text="투석종류"/>
  602. <Cell col="26" text="투석액&#10;교환"/>
  603. <Cell col="27" text="카테터&#10;고정"/>
  604. <Cell col="28" text="출구&#10;소독"/>
  605. <Cell col="29" text="도관&#10;길들이기"/>
  606. <Cell col="30" text="부종&#10;확인"/>
  607. <Cell col="31" text="T-Set&#10;교환"/>
  608. <Cell col="32" text="교육"/>
  609. <Cell col="33" text="보험구분"/>
  610. <Cell col="34" text="histstat"/>
  611. <Cell col="35" text="orddd"/>
  612. <Cell col="36" text="acptseqno"/>
  613. <Cell col="37" text="orgorddd"/>
  614. <Cell col="38" text="cretno"/>
  615. <Cell col="39" text="indd"/>
  616. <Cell col="40" text="seqno"/>
  617. </Band>
  618. <Band id="body">
  619. <Cell style="background:#b2e6e1ff;background2:#b2e6e1ff;" expr="currow + 1"/>
  620. <Cell col="1" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:acptyn"/>
  621. <Cell col="2" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:prcsflag"/>
  622. <Cell col="3" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:fnexamyn"/>
  623. <Cell col="4" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:vipyn"/>
  624. <Cell col="5" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:spcffactyn"/>
  625. <Cell col="6" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));backgroundimage:EXPR(disp1 == 'Y' ? 'theme://images/btn_top_infection0.gif' : '');" text="bind:disp1"/>
  626. <Cell col="7" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));backgroundimage:EXPR(disp2 == 'Y' ? 'theme://images/btn_top_infection1.gif' : '');" text="bind:disp2"/>
  627. <Cell col="8" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));backgroundimage:EXPR(disp3 == 'Y' ? 'theme://images/btn_top_infection2.gif' : '');" text="bind:disp3"/>
  628. <Cell col="9" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));backgroundimage:EXPR(disp4 == 'Y' ? 'theme://images/btn_top_infection2.gif' : '');" text="bind:disp4"/>
  629. <Cell col="10" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:pid"/>
  630. <Cell col="11" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:hngnm"/>
  631. <Cell col="12" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:sexage"/>
  632. <Cell col="13" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:ioflag"/>
  633. <Cell col="14" style="align:left middle;background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:orddeptnm"/>
  634. <Cell col="15" displaytype="combo" edittype="expr:expr:matnflag == '5' ? 'none' : 'combo'" style="align:center;background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:matnflag" combodataset="ds_cmb_matnflag" combocodecol="value" combodatacol="label" combodisplay="edit"/>
  635. <Cell col="16" displaytype="date" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:maintepatrgstdd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  636. <Cell col="17" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:drnm"/>
  637. <Cell col="18" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:prcpflag"/>
  638. <Cell col="19" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:rooasignyn"/>
  639. <Cell col="20" displaytype="date" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:roomhospdialdd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  640. <Cell col="21" displaytype="normal" style="align:left middle;background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:rectdialdd"/>
  641. <Cell col="22" style="align:left middle;background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:rsrvdd"/>
  642. <Cell col="23" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:rsrvcnts"/>
  643. <Cell col="24" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:rcptflag"/>
  644. <Cell col="25" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:dialkindflag"/>
  645. <Cell col="26" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:dialblodyn"/>
  646. <Cell col="27" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:catefixyn"/>
  647. <Cell col="28" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:dinfyn"/>
  648. <Cell col="29" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:pipeyn"/>
  649. <Cell col="30" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:edemacnfmyn"/>
  650. <Cell col="31" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:tsetyn"/>
  651. <Cell col="32" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:educnts"/>
  652. <Cell col="33" style="background:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));background2:EXPR(ioflagvalue != histstat ? '#e1ffe1' :(medamtpostyn == 'V' ? 'yellow' : '#ffffff'));" text="bind:insunm"/>
  653. <Cell col="34" text="bind:histstat"/>
  654. <Cell col="35" text="bind:orddd"/>
  655. <Cell col="36" text="bind:acptseqno"/>
  656. <Cell col="37" text="bind:orgorddd"/>
  657. <Cell col="38" text="bind:cretno"/>
  658. <Cell col="39" text="bind:indd"/>
  659. <Cell col="40" text="bind:seqno"/>
  660. <Cell col="41" text="bind:rgstno"/>
  661. <Cell col="42" text="bind:roomcd"/>
  662. <Cell col="43" text="bind:medamtpostyn"/>
  663. </Band>
  664. </Format>
  665. </Formats>
  666. </Grid>
  667. </Layout>
  668. </Layouts>
  669. </Tabpage>
  670. </Tabpages>
  671. </Tab>
  672. <Div id="group6" position="absolute 400 317 605 374" style="background:#87cefaff;shadow:outer 3,3 3 gray;" anchor="default" visible="false">
  673. <Layouts>
  674. <Layout>
  675. <Static id="caption11" class="tit_2" position="absolute 8 8 196 25" style="" text="출력할 장수를 입력하십시오." anchor="default"/>
  676. <MaskEdit id="ipt_patcntctel" class="input_default" taborder="9" mask="###" position="absolute 31 29 91 49" style="" anchor="default" onkeyup="group3_group6_ipt_patcntctel_onkeyup"/>
  677. <Button id="btn_prtlabel" class="btn2" taborder="22" position="absolute 94 29 136 49" style="" text="확인" onclick="group3_group6_btn_prtlabel_onclick" anchor="default"/>
  678. <Button id="button9" class="btn2" taborder="22" position="absolute 139 29 181 49" style="" text="취소" onclick="group3_group6_button9_onclick" anchor="default"/>
  679. </Layout>
  680. </Layouts>
  681. </Div>
  682. <Button id="btn_pdlist" class="btn_tab" position="absolute 113 10 226 36" style="" text="복막투석 스케줄" onclick="group3_btn_pdlist_onclick" anchor="default"/>
  683. <Button id="btn_hdlist" class="btn_tab_S" position="absolute 0 9 113 36" style="" text="혈액투석 스케줄" onclick="group3_btn_hdlist_onclick" anchor="default"/>
  684. <Button id="btn_crrtlist" taborder="1" text="CRRT 스케줄" class="btn_tab" position="absolute 225 10 338 36" onclick="group3_btn_crrtlist_onclick"/>
  685. </Layout>
  686. </Layouts>
  687. </Div>
  688. <Div id="group4" scrollbars="autoboth" position="absolute 10 739 1176 744" style="">
  689. <Layouts>
  690. <Layout/>
  691. </Layouts>
  692. </Div>
  693. <Shape id="rectangle3" anchor="default" type="rectangle" position="absolute 449 31 469 46" style="fillbrush:solid #ffff00ff true;background:#ffff00ff;"/>
  694. <Static id="caption27" position="absolute 474 31 560 46" style="" text="V 진료비후불"/>
  695. </Layout>
  696. </Layouts>
  697. <Objects>
  698. <Dataset id="ds_main_hdschelist_precondlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  699. <ColumnInfo>
  700. <Column id="blodpreplist" type="STRING" size="256"/>
  701. </ColumnInfo>
  702. <Rows>
  703. <Row>
  704. <Col id="blodpreplist"/>
  705. </Row>
  706. </Rows>
  707. </Dataset>
  708. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  709. <ColumnInfo>
  710. <Column id="init" type="STRING" size="256"/>
  711. </ColumnInfo>
  712. </Dataset>
  713. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  714. <ColumnInfo>
  715. <Column id="hidden" type="STRING" size="256"/>
  716. </ColumnInfo>
  717. <Rows>
  718. <Row>
  719. <Col id="hidden"/>
  720. </Row>
  721. </Rows>
  722. </Dataset>
  723. <Dataset id="ds_main_condition" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  724. <ColumnInfo>
  725. <Column id="rsrvfromdd" type="STRING" size="256"/>
  726. <Column id="rsrvtodd" type="STRING" size="256"/>
  727. <Column id="ioflag" type="STRING" size="256"/>
  728. <Column id="shift" type="STRING" size="256"/>
  729. <Column id="mypid" type="STRING" size="256"/>
  730. <Column id="method" type="STRING" size="256"/>
  731. </ColumnInfo>
  732. <Rows>
  733. <Row>
  734. <Col id="rsrvfromdd"/>
  735. <Col id="rsrvtodd"/>
  736. <Col id="ioflag"/>
  737. <Col id="shift"/>
  738. <Col id="mypid"/>
  739. <Col id="method"/>
  740. </Row>
  741. </Rows>
  742. </Dataset>
  743. <Dataset id="ds_main_poplist_pdpopinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  744. <ColumnInfo/>
  745. </Dataset>
  746. <Dataset id="ds_main_poplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  747. <ColumnInfo/>
  748. </Dataset>
  749. <Dataset id="ds_main_hdschelist_hdscheinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  750. <ColumnInfo>
  751. <Column id="acptyn" type="STRING" size="256"/>
  752. <Column id="prcsflag" type="STRING" size="256"/>
  753. <Column id="fnexamyn" type="STRING" size="256"/>
  754. <Column id="vipyn" type="STRING" size="256"/>
  755. <Column id="spcffactyn" type="STRING" size="256"/>
  756. <Column id="pid" type="STRING" size="256"/>
  757. <Column id="hngnm" type="STRING" size="256"/>
  758. <Column id="sexage" type="STRING" size="256"/>
  759. <Column id="ioflag" type="STRING" size="256"/>
  760. <Column id="orddeptnm" type="STRING" size="256"/>
  761. <Column id="maintepatrgstdd" type="STRING" size="256"/>
  762. <Column id="drnm" type="STRING" size="256"/>
  763. <Column id="prcpflag" type="STRING" size="256"/>
  764. <Column id="roothospdialfromdd" type="STRING" size="256"/>
  765. <Column id="rectdialdd" type="STRING" size="256"/>
  766. <Column id="rsrvdd" type="STRING" size="256"/>
  767. <Column id="shiftflag" type="STRING" size="256"/>
  768. <Column id="dialseatflag" type="STRING" size="256"/>
  769. <Column id="rcptflag" type="STRING" size="256"/>
  770. <Column id="rcptdt" type="STRING" size="256"/>
  771. <Column id="rcpttm" type="STRING" size="256"/>
  772. <Column id="execyn" type="STRING" size="256"/>
  773. <Column id="matnflag" type="STRING" size="256"/>
  774. <Column id="inptrslt" type="STRING" size="256"/>
  775. <Column id="inptrsltdt" type="STRING" size="256"/>
  776. <Column id="insunm" type="STRING" size="256"/>
  777. <Column id="histstat" type="STRING" size="256"/>
  778. <Column id="indd" type="STRING" size="256"/>
  779. <Column id="cretno" type="STRING" size="256"/>
  780. <Column id="seqno" type="STRING" size="256"/>
  781. <Column id="instcd" type="STRING" size="256"/>
  782. <Column id="orddd" type="STRING" size="256"/>
  783. <Column id="acptseqno" type="STRING" size="256"/>
  784. <Column id="orgorddd" type="STRING" size="256"/>
  785. <Column id="orddrid" type="STRING" size="256"/>
  786. <Column id="elbulbodstat" type="STRING" size="256"/>
  787. <Column id="nursacptyn" type="STRING" size="256"/>
  788. <Column id="rooasignyn" type="STRING" size="256"/>
  789. <Column id="rgstno" type="STRING" size="256"/>
  790. <Column id="roomcd" type="STRING" size="256"/>
  791. <Column id="shiftnm" type="STRING" size="256"/>
  792. <Column id="acptresn" type="STRING" size="256"/>
  793. <Column id="disp1" type="STRING" size="256"/>
  794. <Column id="disp2" type="STRING" size="256"/>
  795. <Column id="disp3" type="STRING" size="256"/>
  796. <Column id="medamtpostyn" type="STRING" size="256"/>
  797. <Column id="unablspc" type="STRING" size="256"/>
  798. <Column id="disp4" type="STRING" size="256"/>
  799. </ColumnInfo>
  800. <Rows>
  801. <Row>
  802. <Col id="acptyn"/>
  803. <Col id="prcsflag"/>
  804. <Col id="fnexamyn"/>
  805. <Col id="vipyn"/>
  806. <Col id="spcffactyn"/>
  807. <Col id="pid"/>
  808. <Col id="hngnm"/>
  809. <Col id="sexage"/>
  810. <Col id="ioflag"/>
  811. <Col id="orddeptnm"/>
  812. <Col id="maintepatrgstdd"/>
  813. <Col id="drnm"/>
  814. <Col id="prcpflag"/>
  815. <Col id="roothospdialfromdd"/>
  816. <Col id="rectdialdd"/>
  817. <Col id="rsrvdd"/>
  818. <Col id="shiftflag"/>
  819. <Col id="dialseatflag"/>
  820. <Col id="rcptflag"/>
  821. <Col id="rcptdt"/>
  822. <Col id="rcpttm"/>
  823. <Col id="execyn"/>
  824. <Col id="matnflag"/>
  825. <Col id="inptrslt"/>
  826. <Col id="inptrsltdt"/>
  827. <Col id="insunm"/>
  828. <Col id="histstat"/>
  829. <Col id="indd"/>
  830. <Col id="cretno"/>
  831. <Col id="seqno"/>
  832. <Col id="instcd"/>
  833. <Col id="orddd"/>
  834. <Col id="acptseqno"/>
  835. <Col id="orgorddd"/>
  836. <Col id="orddrid"/>
  837. <Col id="elbulbodstat"/>
  838. <Col id="nursacptyn"/>
  839. <Col id="rooasignyn"/>
  840. <Col id="rgstno"/>
  841. <Col id="roomcd"/>
  842. <Col id="shiftnm"/>
  843. <Col id="acptresn"/>
  844. <Col id="disp1"/>
  845. <Col id="disp2"/>
  846. <Col id="disp3"/>
  847. <Col id="medamtpostyn"/>
  848. </Row>
  849. </Rows>
  850. </Dataset>
  851. <Dataset id="ds_main_hdschelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  852. <ColumnInfo/>
  853. </Dataset>
  854. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  855. <ColumnInfo>
  856. <Column id="reqdata" type="STRING" size="256"/>
  857. </ColumnInfo>
  858. <Rows>
  859. <Row>
  860. <Col id="reqdata"/>
  861. </Row>
  862. </Rows>
  863. </Dataset>
  864. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  865. <ColumnInfo>
  866. <Column id="paminfo" type="STRING" size="256"/>
  867. <Column id="ebulstat" type="STRING" size="256"/>
  868. <Column id="printcnt" type="STRING" size="256"/>
  869. <Column id="barcdprntsetup" type="STRING" size="256"/>
  870. </ColumnInfo>
  871. </Dataset>
  872. <Dataset id="ds_main_poplist_pdpopinfo_menu" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  873. <ColumnInfo>
  874. <Column id="hardcdnm" type="STRING" size="256"/>
  875. <Column id="hardcd" type="STRING" size="256"/>
  876. </ColumnInfo>
  877. <Rows>
  878. <Row>
  879. <Col id="hardcdnm">유지환자 관리</Col>
  880. <Col id="hardcd">OpenMatnPatMngt</Col>
  881. </Row>
  882. <Row>
  883. <Col id="hardcdnm">간호정보 조사</Col>
  884. <Col id="hardcd">OpenCareInfo</Col>
  885. </Row>
  886. <Row>
  887. <Col id="hardcdnm">복막투석 실시관리</Col>
  888. <Col id="hardcd">OepnPDExecRec</Col>
  889. </Row>
  890. <Row>
  891. <Col id="hardcdnm">복막투석 도관기록</Col>
  892. <Col id="hardcd">OepnPDPipeRec</Col>
  893. </Row>
  894. <Row>
  895. <Col id="hardcdnm">상담기록</Col>
  896. <Col id="hardcd">OepnCnstRec</Col>
  897. </Row>
  898. <Row>
  899. <Col id="hardcdnm">처방확인</Col>
  900. <Col id="hardcd">OepnSrchOrdInfo</Col>
  901. </Row>
  902. <Row>
  903. <Col id="hardcdnm">환자이름표출력</Col>
  904. <Col id="hardcd">fOpenNamePrint</Col>
  905. </Row>
  906. </Rows>
  907. </Dataset>
  908. <Dataset id="ds_main_poplist_hdpopinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  909. <ColumnInfo/>
  910. </Dataset>
  911. <Dataset id="ds_main_wardpatinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  912. <ColumnInfo/>
  913. </Dataset>
  914. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  915. <ColumnInfo/>
  916. </Dataset>
  917. <Dataset id="ds_temp_gettoplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  918. <ColumnInfo/>
  919. </Dataset>
  920. <Dataset id="ds_main_pdschelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  921. <ColumnInfo/>
  922. </Dataset>
  923. <Dataset id="ds_main_hdschelist_blodprep" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  924. <ColumnInfo>
  925. <Column id="patnm" type="STRING" size="256"/>
  926. </ColumnInfo>
  927. <Rows>
  928. <Row>
  929. <Col id="patnm"/>
  930. </Row>
  931. </Rows>
  932. </Dataset>
  933. <Dataset id="ds_main_poplist_hdpopinfo_menu" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  934. <ColumnInfo>
  935. <Column id="hardcdnm" type="STRING" size="256"/>
  936. <Column id="hardcd" type="STRING" size="256"/>
  937. </ColumnInfo>
  938. <Rows>
  939. <Row>
  940. <Col id="hardcdnm">HD Scheduling</Col>
  941. <Col id="hardcd">OpenHDScheduling</Col>
  942. </Row>
  943. <Row>
  944. <Col id="hardcdnm">유지환자 관리</Col>
  945. <Col id="hardcd">OpenMatnPatMngt</Col>
  946. </Row>
  947. <Row>
  948. <Col id="hardcdnm">간호정보 조사</Col>
  949. <Col id="hardcd">OpenCareInfo</Col>
  950. </Row>
  951. <Row>
  952. <Col id="hardcdnm">혈액투석 간호기록</Col>
  953. <Col id="hardcd">OepnHDCareRec</Col>
  954. </Row>
  955. <Row>
  956. <Col id="hardcdnm">혈액투석 도관기록</Col>
  957. <Col id="hardcd">OepnHDPipeRec</Col>
  958. </Row>
  959. <Row>
  960. <Col id="hardcdnm">상담기록</Col>
  961. <Col id="hardcd">OepnCnstRec</Col>
  962. </Row>
  963. <Row>
  964. <Col id="hardcdnm">처방확인</Col>
  965. <Col id="hardcd">OepnSrchOrdInfo</Col>
  966. </Row>
  967. <Row>
  968. <Col id="hardcdnm">환자이름표출력</Col>
  969. <Col id="hardcd">fOpenNamePrint</Col>
  970. </Row>
  971. <Row>
  972. <Col id="hardcdnm">환자라벨출력</Col>
  973. <Col id="hardcd">fOpenLabelPrint</Col>
  974. </Row>
  975. <Row>
  976. <Col id="hardcdnm">SMS 전송</Col>
  977. <Col id="hardcd">fSendSMS</Col>
  978. </Row>
  979. </Rows>
  980. </Dataset>
  981. <Dataset id="ds_main_wardpatinfo_settingrn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  982. <ColumnInfo>
  983. <Column id="settingrnnm" type="STRING" size="256"/>
  984. <Column id="settingrnid" type="STRING" size="256"/>
  985. </ColumnInfo>
  986. <Rows>
  987. <Row>
  988. <Col id="settingrnnm"/>
  989. <Col id="settingrnid"/>
  990. </Row>
  991. </Rows>
  992. </Dataset>
  993. <Dataset id="ds_main_hdschelist_table" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  994. <ColumnInfo>
  995. <Column id="column" type="STRING" size="256"/>
  996. <Column id="column" type="STRING" size="256"/>
  997. <Column id="column" type="STRING" size="256"/>
  998. <Column id="column" type="STRING" size="256"/>
  999. <Column id="column" type="STRING" size="256"/>
  1000. <Column id="column" type="STRING" size="256"/>
  1001. <Column id="column" type="STRING" size="256"/>
  1002. <Column id="column" type="STRING" size="256"/>
  1003. <Column id="column" type="STRING" size="256"/>
  1004. <Column id="column" type="STRING" size="256"/>
  1005. <Column id="column" type="STRING" size="256"/>
  1006. <Column id="column" type="STRING" size="256"/>
  1007. <Column id="column" type="STRING" size="256"/>
  1008. <Column id="column" type="STRING" size="256"/>
  1009. <Column id="column" type="STRING" size="256"/>
  1010. <Column id="column" type="STRING" size="256"/>
  1011. <Column id="column" type="STRING" size="256"/>
  1012. <Column id="column" type="STRING" size="256"/>
  1013. <Column id="column" type="STRING" size="256"/>
  1014. <Column id="column" type="STRING" size="256"/>
  1015. <Column id="column" type="STRING" size="256"/>
  1016. <Column id="column" type="STRING" size="256"/>
  1017. <Column id="column" type="STRING" size="256"/>
  1018. <Column id="column" type="STRING" size="256"/>
  1019. <Column id="column" type="STRING" size="256"/>
  1020. <Column id="column" type="STRING" size="256"/>
  1021. <Column id="column" type="STRING" size="256"/>
  1022. <Column id="column" type="STRING" size="256"/>
  1023. <Column id="column" type="STRING" size="256"/>
  1024. <Column id="column" type="STRING" size="256"/>
  1025. <Column id="column" type="STRING" size="256"/>
  1026. <Column id="column" type="STRING" size="256"/>
  1027. <Column id="column" type="STRING" size="256"/>
  1028. <Column id="column" type="STRING" size="256"/>
  1029. <Column id="column" type="STRING" size="256"/>
  1030. <Column id="column" type="STRING" size="256"/>
  1031. <Column id="column" type="STRING" size="256"/>
  1032. <Column id="column" type="STRING" size="256"/>
  1033. <Column id="column" type="STRING" size="256"/>
  1034. </ColumnInfo>
  1035. <Rows>
  1036. <Row>
  1037. <Col id="column"/>
  1038. <Col id="column"/>
  1039. <Col id="column"/>
  1040. <Col id="column"/>
  1041. <Col id="column"/>
  1042. <Col id="column"/>
  1043. <Col id="column"/>
  1044. <Col id="column"/>
  1045. <Col id="column"/>
  1046. <Col id="column"/>
  1047. <Col id="column"/>
  1048. <Col id="column"/>
  1049. <Col id="column"/>
  1050. <Col id="column"/>
  1051. <Col id="column"/>
  1052. <Col id="column"/>
  1053. <Col id="column"/>
  1054. <Col id="column"/>
  1055. <Col id="column"/>
  1056. <Col id="column"/>
  1057. <Col id="column"/>
  1058. <Col id="column"/>
  1059. <Col id="column"/>
  1060. <Col id="column"/>
  1061. <Col id="column"/>
  1062. <Col id="column"/>
  1063. <Col id="column"/>
  1064. <Col id="column"/>
  1065. <Col id="column"/>
  1066. <Col id="column"/>
  1067. <Col id="column"/>
  1068. <Col id="column"/>
  1069. <Col id="column"/>
  1070. <Col id="column"/>
  1071. <Col id="column"/>
  1072. <Col id="column"/>
  1073. <Col id="column"/>
  1074. <Col id="column"/>
  1075. <Col id="column"/>
  1076. </Row>
  1077. </Rows>
  1078. </Dataset>
  1079. <Dataset id="ds_temp_gettoplist_gettopinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  1080. <ColumnInfo>
  1081. <Column id="pid" type="STRING" size="256"/>
  1082. <Column id="cretno" type="STRING" size="256"/>
  1083. <Column id="seqno" type="STRING" size="256"/>
  1084. <Column id="instcd" type="STRING" size="256"/>
  1085. <Column id="indd" type="STRING" size="256"/>
  1086. <Column id="orddd" type="STRING" size="256"/>
  1087. <Column id="acptseqno" type="STRING" size="256"/>
  1088. <Column id="orgorddd" type="STRING" size="256"/>
  1089. </ColumnInfo>
  1090. <Rows>
  1091. <Row>
  1092. <Col id="pid"/>
  1093. <Col id="cretno"/>
  1094. <Col id="seqno"/>
  1095. <Col id="instcd"/>
  1096. <Col id="indd"/>
  1097. <Col id="orddd"/>
  1098. <Col id="acptseqno"/>
  1099. <Col id="orgorddd"/>
  1100. </Row>
  1101. </Rows>
  1102. </Dataset>
  1103. <Dataset id="ds_main_inptcnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  1104. <ColumnInfo>
  1105. <Column id="inptcnt" type="STRING" size="256"/>
  1106. </ColumnInfo>
  1107. <Rows>
  1108. <Row>
  1109. <Col id="inptcnt"/>
  1110. </Row>
  1111. </Rows>
  1112. </Dataset>
  1113. <Dataset id="ds_main_pdschelist_pdscheinfo" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  1114. <ColumnInfo>
  1115. <Column id="fnexamyn" type="STRING" size="256" sumtext="신환여부"/>
  1116. <Column id="vipyn" type="STRING" size="256" sumtext="VIP구분"/>
  1117. <Column id="spcffactyn" type="STRING" size="256" sumtext="특이사항"/>
  1118. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  1119. <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
  1120. <Column id="sexage" type="STRING" size="256" sumtext="성별/나이"/>
  1121. <Column id="matnflag" type="STRING" size="256" sumtext="유지구분"/>
  1122. <Column id="ioflag" type="STRING" size="256" sumtext="입원외래구분"/>
  1123. <Column id="rsrvdd" type="STRING" size="256" sumtext="예약일자"/>
  1124. <Column id="rsrvcnts" type="STRING" size="256" sumtext="예약내용"/>
  1125. <Column id="drnm" type="STRING" size="256" sumtext="진료의"/>
  1126. <Column id="insunm" type="STRING" size="256" sumtext="보험구분"/>
  1127. <Column id="histstat" type="STRING" size="256" sumtext="입원외래구분"/>
  1128. <Column id="maintepatrgstdd" type="STRING" size="256" sumtext="유지환자등록일자"/>
  1129. <Column id="roomhospdialdd" type="STRING" size="256" sumtext="본원투석일자"/>
  1130. <Column id="dialkindflag" type="STRING" size="256" sumtext="투석종류"/>
  1131. <Column id="tsetyn" type="STRING" size="256" sumtext="T-Set교환여부"/>
  1132. <Column id="educnts" type="STRING" size="256" sumtext="교육여부"/>
  1133. <Column id="catefixyn" type="STRING" size="256" sumtext="카테터고정"/>
  1134. <Column id="dinfyn" type="STRING" size="256" sumtext="출구소독"/>
  1135. <Column id="pipeyn" type="STRING" size="256" sumtext="도관길들이기"/>
  1136. <Column id="edemacnfmyn" type="STRING" size="256" sumtext="부종확인"/>
  1137. <Column id="dialblodyn" type="STRING" size="256" sumtext="투석액교환"/>
  1138. <Column id="prcpflag" type="STRING" size="256" sumtext="투석처방여부"/>
  1139. <Column id="rectdialdd" type="STRING" size="256" sumtext="최근투석일"/>
  1140. <Column id="rcptflag" type="STRING" size="256" sumtext="수납여부"/>
  1141. <Column id="rcptdt" type="STRING" size="256" sumtext="수납일자"/>
  1142. <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
  1143. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  1144. <Column id="seqno" type="STRING" size="256" sumtext="일련번호 "/>
  1145. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  1146. <Column id="acptseqno" type="STRING" size="256" sumtext="등록일련번호"/>
  1147. <Column id="orgorddd" type="STRING" size="256" sumtext="원진료일자"/>
  1148. <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과명"/>
  1149. <Column id="instcd" type="STRING" size="256" sumtext="기관코드 "/>
  1150. <Column id="elbulbodstat" type="STRING" size="256" sumtext="전광판구분"/>
  1151. <Column id="prcsflag" type="STRING" size="256" sumtext="진행상태"/>
  1152. <Column id="acptyn" type="STRING" size="256" sumtext="외래간호여부"/>
  1153. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
  1154. <Column id="orddrid" type="STRING" size="256" sumtext="진료의ID"/>
  1155. <Column id="nursacptyn" type="STRING" size="256" sumtext="진료의ID"/>
  1156. <Column id="rooasignyn" type="STRING" size="256" sumtext="희귀등록사인여부"/>
  1157. <Column id="rgstno" type="STRING" size="256" sumtext="주민번호"/>
  1158. <Column id="roomcd" type="STRING" size="256" sumtext="병실코드"/>
  1159. <!-- 2012.07.14 by kya 혈액,접촉,공기 감염칼럼 추가 -->
  1160. <Column id="disp1" type="STRING" size="256" sumtext="혈액"/>
  1161. <Column id="disp2" type="STRING" size="256" sumtext="접촉"/>
  1162. <Column id="disp3" type="STRING" size="256" sumtext="공기"/>
  1163. <!-- 2012.09.01 by kya 진료비후불제 추가 -->
  1164. <Column id="medamtpostyn" type="STRING" size="256" sumtext="진료비후불제"/>
  1165. <Column id="roothospdialfromdd" type="STRING" size="256"/>
  1166. <Column id="ioflagvalue" type="STRING" size="256"/>
  1167. <Column id="disp4" type="STRING" size="256"/>
  1168. </ColumnInfo>
  1169. <Rows>
  1170. <Row>
  1171. <Col id="acptyn"/>
  1172. <Col id="prcsflag"/>
  1173. <Col id="fnexamyn"/>
  1174. <Col id="vipyn"/>
  1175. <Col id="spcffactyn"/>
  1176. <Col id="pid"/>
  1177. <Col id="hngnm"/>
  1178. <Col id="sexage"/>
  1179. <Col id="ioflag"/>
  1180. <Col id="orddeptnm"/>
  1181. <Col id="matnflag"/>
  1182. <Col id="maintepatrgstdd"/>
  1183. <Col id="drnm"/>
  1184. <Col id="prcpflag"/>
  1185. <Col id="roothospdialfromdd"/>
  1186. <Col id="rectdialdd"/>
  1187. <Col id="rsrvdd"/>
  1188. <Col id="rsrvcnts"/>
  1189. <Col id="rcptflag"/>
  1190. <Col id="dialkindflag"/>
  1191. <Col id="dialblodyn"/>
  1192. <Col id="catefixyn"/>
  1193. <Col id="dinfyn"/>
  1194. <Col id="pipeyn"/>
  1195. <Col id="edemacnfmyn"/>
  1196. <Col id="tsetyn"/>
  1197. <Col id="educnts"/>
  1198. <Col id="insunm"/>
  1199. <Col id="histstat"/>
  1200. <Col id="orddd"/>
  1201. <Col id="acptseqno"/>
  1202. <Col id="orgorddd"/>
  1203. <Col id="cretno"/>
  1204. <Col id="indd"/>
  1205. <Col id="seqno"/>
  1206. <Col id="orgorddd"/>
  1207. <Col id="orddrid"/>
  1208. <Col id="orddd"/>
  1209. <Col id="nursacptyn"/>
  1210. <Col id="elbulbodstat"/>
  1211. <Col id="rooasignyn"/>
  1212. <Col id="rgstno"/>
  1213. <Col id="roomcd"/>
  1214. <Col id="disp1"/>
  1215. <Col id="disp2"/>
  1216. <Col id="disp3"/>
  1217. <Col id="medamtpostyn"/>
  1218. </Row>
  1219. </Rows>
  1220. </Dataset>
  1221. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1222. <Dataset id="ds_init_settingrn_settingrnlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1223. <Dataset id="ds_main_ebulstat_ebulstat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1224. <Dataset id="ds_code_codeinfo_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1225. <Dataset id="ds_main_paminfo_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1226. <Dataset id="ds_send_infection" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1227. <Dataset id="ds_send_hdscheinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1228. <Dataset id="ds_barcdprntsetup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1229. <ColumnInfo>
  1230. <Column id="pid" type="STRING" size="256"/>
  1231. <Column id="patnm" type="STRING" size="256"/>
  1232. <Column id="sexage" type="STRING" size="256"/>
  1233. <Column id="rgstno" type="STRING" size="256"/>
  1234. <Column id="ioflag" type="STRING" size="256"/>
  1235. <Column id="roomcd" type="STRING" size="256"/>
  1236. <Column id="orddd" type="STRING" size="256"/>
  1237. <Column id="orddeptnm" type="STRING" size="256"/>
  1238. </ColumnInfo>
  1239. </Dataset>
  1240. <Dataset id="ds_cmb_matnflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1241. <ColumnInfo>
  1242. <Column id="label" type="STRING" size="256"/>
  1243. <Column id="value" type="STRING" size="256"/>
  1244. </ColumnInfo>
  1245. <Rows>
  1246. <Row>
  1247. <Col id="label">유지</Col>
  1248. <Col id="value">1</Col>
  1249. </Row>
  1250. <Row>
  1251. <Col id="label">전원</Col>
  1252. <Col id="value">2</Col>
  1253. </Row>
  1254. <Row>
  1255. <Col id="label">사망</Col>
  1256. <Col id="value">3</Col>
  1257. </Row>
  1258. <Row>
  1259. <Col id="label">신장이식</Col>
  1260. <Col id="value">4</Col>
  1261. </Row>
  1262. <Row>
  1263. <Col id="label">전환</Col>
  1264. <Col id="value">5</Col>
  1265. </Row>
  1266. <Row>
  1267. <Col id="label">중단</Col>
  1268. <Col id="value">6</Col>
  1269. </Row>
  1270. </Rows>
  1271. </Dataset>
  1272. <Dataset id="ds_BarCodeNode" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1273. <ColumnInfo>
  1274. <Column id="pid" type="STRING" size="256"/>
  1275. <Column id="patnm" type="STRING" size="256"/>
  1276. <Column id="sexage" type="STRING" size="256"/>
  1277. <Column id="rgstno" type="STRING" size="256"/>
  1278. <Column id="ioflag" type="STRING" size="256"/>
  1279. <Column id="roomcd" type="STRING" size="256"/>
  1280. <Column id="orddd" type="STRING" size="256"/>
  1281. <Column id="orddeptnm" type="STRING" size="256"/>
  1282. </ColumnInfo>
  1283. </Dataset>
  1284. </Objects>
  1285. <Bind>
  1286. <BindItem id="item0" compid="group3.switch1.case1.group2.ipt_rsrvfromdd" propid="value" datasetid="ds_main_condition" columnid="rsrvfromdd"/>
  1287. <BindItem id="item1" compid="group3.switch1.case1.group2.ipt_rsrvtodd" propid="value" datasetid="ds_main_condition" columnid="rsrvtodd"/>
  1288. <BindItem id="item2" compid="group3.switch1.case1.group2.cmb_ioflag" propid="value" datasetid="ds_main_condition" columnid="ioflag"/>
  1289. <BindItem id="item3" compid="group3.switch1.case1.group2.rdo_shift" propid="value" datasetid="ds_main_condition" columnid="shift"/>
  1290. <BindItem id="item4" compid="group3.switch1.case1.group2.cmb_mypid" propid="value" datasetid="ds_main_condition" columnid="mypid"/>
  1291. <BindItem id="item5" compid="group3.switch1.case1.tar_blodprep" propid="value" datasetid="ds_main_hdschelist_precondlist" columnid="blodpreplist"/>
  1292. <BindItem id="item6" compid="group3.switch1.case1.out_jeawon" propid="value" datasetid="ds_main_inptcnt" columnid="inptcnt"/>
  1293. <BindItem id="item7" compid="group3.switch1.case1.group7.radio3" propid="value" datasetid="ds_main_condition" columnid="method"/>
  1294. <BindItem id="item8" compid="group3.switch1.case2.group5.input1" propid="value" datasetid="ds_main_condition" columnid="rsrvfromdd"/>
  1295. <BindItem id="item9" compid="group3.switch1.case2.group5.input4" propid="value" datasetid="ds_main_condition" columnid="rsrvtodd"/>
  1296. <BindItem id="item10" compid="group3.switch1.case2.group8.radio1" propid="value" datasetid="ds_main_condition" columnid="method"/>
  1297. <BindItem id="item11" compid="group3.group6.ipt_patcntctel" propid="value" datasetid="ds_main" columnid="printcnt"/>
  1298. <BindItem id="item12" compid="group3.switch1.case3.group5.input1" propid="value" datasetid="ds_main_condition" columnid="rsrvfromdd"/>
  1299. <BindItem id="item13" compid="group3.switch1.case3.group5.input4" propid="value" datasetid="ds_main_condition" columnid="rsrvtodd"/>
  1300. </Bind>
  1301. <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs";
  1302. //include 'emr_dialroomxp::SMMND00100.xjs';
  1303. include 'emr_carecomxp::CareCom.xjs';
  1304. include 'lis_commonxp::LZZ001.xjs';
  1305. include 'lis_commonxp::LLZ001.xjs';
  1306. include "com_commodulexp::SSZFM00901.xjs";
  1307. include "com_commodulexp::SSZFM01001.xjs";
  1308. var arErrorCode = new HashArray();
  1309. var onactivateflag = false;
  1310. // header파일 중 SMMND00100.js 파일 시작
  1311. /*
  1312. 인공신장실메인 (SMMND00100.xrw - JScript )
  1313. - Version :
  1314. 1) : Ver.1.00.01
  1315. */
  1316. /**
  1317. * _group :
  1318. * _ver : 2007.05.09
  1319. * _by : 김진아
  1320. * _---------------------------------------------------
  1321. * _type : function
  1322. * _access : public
  1323. * _desc : 화면 초기화
  1324. * _param :
  1325. * _return :
  1326. * _---------------------------------------------------
  1327. */
  1328. function fDone(){
  1329. //**상단정보 초기화**//
  1330. appf_delPatientInfos(); //화면상단정보 삭제
  1331. sysf_setGlobalVariable("paminfo", ""); //원무정보 reset
  1332. if(ds_main_paminfo_list.rowcount> 0) {
  1333. ds_main_paminfo_list.clearData();
  1334. }
  1335. var sRtn = utlf_getCurrentDate(); //현재일자 리턴
  1336. group3.switch1.case1.group2.ipt_rsrvfromdd.value = sRtn;
  1337. group3.switch1.case1.group2.ipt_rsrvtodd.value = sRtn;
  1338. group3.switch1.case1.group2.rdo_shift.value = "A";
  1339. }
  1340. /**
  1341. * _group :
  1342. * _ver : 2007.05.09
  1343. * _by : 김진아
  1344. * _---------------------------------------------------
  1345. * _type : function
  1346. * _access : public
  1347. * _desc : 혈액투석 스케줄 조회
  1348. * _param :
  1349. * _return :
  1350. * _---------------------------------------------------
  1351. */
  1352. function fSrchHDList(){
  1353. // 조회기간 체크
  1354. if(ds_main_condition.getColumn(0, "rsrvfromdd") > ds_main_condition.getColumn(0, "rsrvtodd")) {
  1355. sysf_messageBox("예약일자 기간이 올바르지 않습니다.", "E");
  1356. var currentDate = utlf_getCurrentDate(); // 현재일자
  1357. dsf_makeValue( ds_main_condition, "rsrvfromdd", "string", currentDate);
  1358. dsf_makeValue( ds_main_condition, "rsrvtodd", "string", currentDate);
  1359. //group3.switch1.case1.group2.ipt_rsrvfromdd.refresh();
  1360. //group3.switch1.case1.group2.ipt_rsrvtodd.refresh();
  1361. }
  1362. if(ds_main_condition.getColumn(0, "rsrvfromdd")=="" || ds_main_condition.getColumn(0, "rsrvtodd")=="") {
  1363. sysf_messageBox("예약일자는", "I003", "");
  1364. return;
  1365. }
  1366. // ds_send.clearData();
  1367. // dsf_makeValue( ds, "send", "string", "" );
  1368. ds_send_reqdata.clearData();
  1369. ds_send_reqdata.addRow();
  1370. dsf_makeValue( ds_send_reqdata, "rsrvfromdd", "string", ds_main_condition.getColumn(0, "rsrvfromdd"));
  1371. dsf_makeValue( ds_send_reqdata, "rsrvtodd", "string", ds_main_condition.getColumn(0, "rsrvtodd"));
  1372. dsf_makeValue( ds_send_reqdata, "ioflag", "string", ds_main_condition.getColumn(0, "ioflag"));
  1373. dsf_makeValue( ds_send_reqdata, "shift", "string", ds_main_condition.getColumn(0, "shift"));
  1374. //20090109 dhkim
  1375. //내환자 추가
  1376. dsf_makeValue( ds_send_reqdata, "mypid", "string", ds_main_condition.getColumn(0, "mypid"));
  1377. ds_main_hdschelist.clearData();
  1378. //submit("TRMND00101", false);
  1379. // if (submit("TRMND00101")){
  1380. var oParam = {};
  1381. oParam.id = "TRMND00101";
  1382. oParam.service = "dialapp.DialPatMngt";
  1383. oParam.method = "reqGetHDScheInfo";
  1384. oParam.inds = "req=ds_send_reqdata";
  1385. oParam.outds = "ds_main_hdschelist_hdscheinfo=hdscheinfo ds_main_hdschelist_blodprep=precondlist";
  1386. oParam.async = false;
  1387. oParam.callback = "cf_TRMND00101";
  1388. tranf_submit(oParam);
  1389. if(arErrorCode.pop("TRMND00101") > -1) {
  1390. if(ds_main_hdschelist_hdscheinfo.rowcount >= 1){
  1391. //for (var i = 0; i < ds_main_hdschelist_hdscheinfo.rowcount; i ++){
  1392. //group3.switch1.case1.grd_hdschelist.tooltipText(i, 5) = group3.switch1.case1.grd_hdschelist.getCellProperty("body", i, "text"); //.valueMatrix(i, 48);
  1393. group3.switch1.case1.grd_hdschelist.setCellProperty("body", 5, "tooltiptext", group3.switch1.case1.grd_hdschelist.getCellProperty("body", 48, "text")); //.valueMatrix(i, 48);
  1394. //}
  1395. }else{
  1396. ds_main_hdschelist_hdscheinfo.addRow();
  1397. }
  1398. }
  1399. //group3.switch1.case1.grd_hdschelist.refresh();
  1400. group3.switch1.case1.grd_hdschelist.style.backgroundColor = "white"; //.allstyle("all", "background-color")
  1401. //혈액준비환자리스트 조합
  1402. var blodpreppatlist="";
  1403. for(var i = 0; i < ds_main_hdschelist_blodprep.rowcount; i++) {
  1404. if (i == 0) {
  1405. blodpreppatlist += ds_main_hdschelist_blodprep.getColumn(i, "patnm");
  1406. } else {
  1407. blodpreppatlist += ", " + ds_main_hdschelist_blodprep.getColumn(i, "patnm");
  1408. }
  1409. }
  1410. dsf_makeValue( ds_main_hdschelist_precondlist, "blodpreplist", "string", blodpreppatlist);
  1411. //group3.switch1.case1.tar_blodprep.refresh();
  1412. for(var i = 0; i < ds_main_hdschelist_hdscheinfo.rowcount;i++){
  1413. //간호테이블의 입원외래구분과 실제 환자의 입원외래구분이 다른경우 셀 색상표시
  1414. //var xIoflagPath = ds_main_hdschelist_hdscheinfo.getColumn( i, "ioflagvalue");
  1415. var sIoflag = ds_main_hdschelist_hdscheinfo.getColumn( i, "ioflagvalue"); // 간호테이블의 입원외래 구분
  1416. var sHistStat = ds_main_hdschelist_hdscheinfo.getColumn(i, "histstat");
  1417. var sMedamtpostyn = ds_main_hdschelist_hdscheinfo.getColumn(i, "medamtpostyn"); //진료비후불제
  1418. //응급실 환자일 경우 "E" --> "I" 로 변경
  1419. if(sIoflag == "E"){
  1420. sIoflag = "I";
  1421. // ds_main_hdschelist_hdscheinfo.setColumn( i, "ioflagvalue", "I");
  1422. }
  1423. if(sHistStat == "E"){
  1424. sHistStat = "I";
  1425. //ds_main_hdschelist_hdscheinfo.setColumn( i, "histstat", "I");
  1426. }
  1427. // background와 backgroundimage에 expr로 대체함.
  1428. // if( sIoflag != sHistStat){
  1429. // group3.switch1.case1.grd_hdschelist.cellstyle("background-color", i, 0, i, 26) = "#e1ffe1";
  1430. // }
  1431. //
  1432. // //start
  1433. // //20120903 by kya 진료비후불표시
  1434. // if(sMedamtpostyn == "V"){
  1435. // group3.switch1.case1.grd_hdschelist.cellstyle("background-color", i, 0, i, 26) = "yellow";
  1436. // }
  1437. // //end
  1438. //
  1439. // //2012.07.13 by kya 감염정보표시
  1440. // var disp1 = ds_main_hdschelist_hdscheinfo.getColumn(i, "disp1");
  1441. // var disp2 = ds_main_hdschelist_hdscheinfo.getColumn(i, "disp2");
  1442. // var disp3 = ds_main_hdschelist_hdscheinfo.getColumn(i, "disp3");
  1443. //
  1444. // if (disp1 == "Y") {
  1445. // group3.switch1.case1.grd_hdschelist.cellstyle("background-image", i, group3.switch1.case1.grd_hdschelist.colRef("disp1")) = "../../.._com_hismainweb_images_btn_top_infection0.gif";
  1446. // }else{
  1447. // group3.switch1.case1.grd_hdschelist.cellstyle("background-image", i, group3.switch1.case1.grd_hdschelist.colRef("disp1")) = "";
  1448. // }
  1449. // if (disp2 == "Y") {
  1450. // group3.switch1.case1.grd_hdschelist.cellstyle("background-image", i, group3.switch1.case1.grd_hdschelist.colRef("disp2")) = "../../.._com_hismainweb_images_btn_top_infection1.gif";
  1451. // }else{
  1452. // group3.switch1.case1.grd_hdschelist.cellstyle("background-image", i, group3.switch1.case1.grd_hdschelist.colRef("disp2")) = "";
  1453. // }
  1454. // if (disp3 == "Y") {
  1455. // group3.switch1.case1.grd_hdschelist.cellstyle("background-image", i, group3.switch1.case1.grd_hdschelist.colRef("disp3")) = "../../.._com_hismainweb_images_btn_top_infection2.gif";
  1456. // }else{
  1457. // group3.switch1.case1.grd_hdschelist.cellstyle("background-image", i, group3.switch1.case1.grd_hdschelist.colRef("disp3")) = "";
  1458. // }
  1459. }
  1460. }
  1461. function cf_TRMND00101(sSvcId, nErrorCode, sErrorMsg) {
  1462. arErrorCode.push(sSvcId, nErrorCode);
  1463. }
  1464. /**
  1465. * _group :
  1466. * _ver : 2007.05.09
  1467. * _by : 김진아
  1468. * _---------------------------------------------------
  1469. * _type : function
  1470. * _access : public
  1471. * _desc : 엑셀저장
  1472. * _param :
  1473. * _return :
  1474. * _---------------------------------------------------
  1475. */
  1476. function fSaveExcel(grd){
  1477. // var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  1478. //
  1479. // if (fileName != "")
  1480. // {
  1481. grdf_exportExcel(grd, "Sheet1", "인공신장실", false, "" , 'user' , true);
  1482. // }
  1483. }
  1484. /**
  1485. * _group :
  1486. * _ver : 2007.05.10
  1487. * _by : 김진아
  1488. * _---------------------------------------------------
  1489. * _type : function
  1490. * _access : public
  1491. * _desc : 복막투석 스케줄 조회
  1492. * _param :
  1493. * _return :
  1494. * _---------------------------------------------------
  1495. */
  1496. function fSrchPDList(){
  1497. // 조회기간 체크
  1498. if(ds_main_condition.getColumn(0, "rsrvfromdd") > ds_main_condition.getColumn(0, "rsrvtodd")) {
  1499. sysf_messageBox("예약일자 기간이 올바르지 않습니다.", "E", "다시 입력하십시오.");
  1500. ds_main_condition.setColumn( 0, "rsrvfromdd", "");
  1501. ds_main_condition.setColumn( 0, "rsrvtodd", "");
  1502. //model.refresh();
  1503. return;
  1504. }
  1505. if(utlf_isNull(ds_main_condition.getColumn(0, "rsrvfromdd")) || utlf_isNull(ds_main_condition.getColumn(0, "rsrvtodd")))
  1506. {
  1507. sysf_messageBox("예약일자는", "I003", "");
  1508. return;
  1509. }
  1510. // ds_send.clearData();
  1511. // dsf_makeValue( ds, "send", "string", "" );
  1512. dsf_makeValue( ds_send_reqdata, "rsrvfromdd", "string", ds_main_condition.getColumn(0, "rsrvfromdd"));
  1513. dsf_makeValue( ds_send_reqdata, "rsrvtodd", "string", ds_main_condition.getColumn(0, "rsrvtodd"));
  1514. dsf_makeValue( ds_send_reqdata, "dialflag", "string", "H"); //20170804 추가
  1515. ds_main_pdschelist.clearData();
  1516. // submit("TRMND00102");
  1517. var oParam = {};
  1518. oParam.id = "TRMND00102";
  1519. oParam.service = "dialapp.DialPatMngt";
  1520. oParam.method = "reqGetPDScheInfo";
  1521. oParam.inds = "req=ds_send_reqdata";
  1522. oParam.outds = "ds_main_pdschelist_pdscheinfo=pdscheinfo";
  1523. oParam.async = false;
  1524. tranf_submit(oParam);
  1525. ds_main_pdschelist_pdscheinfo.deleteColumn("roothospdialfromdd")
  1526. if(utlf_isNull(ds_main_pdschelist_pdscheinfo.getColumnInfo("roothospdialfromdd"))) {
  1527. ds_main_pdschelist_pdscheinfo.updateColID("roomhospdialdd", "roothospdialfromdd");
  1528. }
  1529. ds_main_pdschelist_pdscheinfo.addColumn("ioflagvalue", "string")
  1530. for(var i=0;i < ds_main_pdschelist_pdscheinfo.rowcount;i++){
  1531. //간호테이블의 입원외래구분과 실제 환자의 입원외래구분이 다른경우 셀 색상표시
  1532. //var xIoflagPath = "ds_main_pdschelist_pdscheinfo[" + i + "]_ioflagvalue";
  1533. var sIoflag = ds_main_pdschelist_pdscheinfo.getColumn( i, "ioflagvalue"); //model.getValue(xIoflagPath); // 간호테이블의 입원외래 구분
  1534. var sHistStat = ds_main_pdschelist_pdscheinfo.getColumn(i, "histstat");
  1535. var sMedamtpostyn = ds_main_pdschelist_pdscheinfo.getColumn(i, "medamtpostyn"); //진료비후불제
  1536. }
  1537. }
  1538. /**
  1539. * _group :
  1540. * _ver : 2017.08.02
  1541. * by : 권영애
  1542. * _---------------------------------------------------
  1543. * _type : function
  1544. * _access : public
  1545. * _desc : CRRT 스케줄 조회
  1546. * _param :
  1547. * _return :
  1548. * _---------------------------------------------------
  1549. */
  1550. function fSrchCRRTList(){
  1551. // 조회기간 체크
  1552. if(ds_main_condition.getColumn(0, "rsrvfromdd") > ds_main_condition.getColumn(0, "rsrvtodd")) {
  1553. sysf_messageBox("예약일자 기간이 올바르지 않습니다.", "E", "다시 입력하십시오.");
  1554. ds_main_condition.setColumn( 0, "rsrvfromdd", "");
  1555. ds_main_condition.setColumn( 0, "rsrvtodd", "");
  1556. return;
  1557. }
  1558. if(ds_main_condition.getColumn(0, "rsrvfromdd")=="" || ds_main_condition.getColumn(0, "rsrvtodd")=="") {
  1559. sysf_messageBox("예약일자는", "I003", "");
  1560. return;
  1561. }
  1562. dsf_makeValue( ds_send_reqdata, "rsrvfromdd", "string", ds_main_condition.getColumn(0, "rsrvfromdd"));
  1563. dsf_makeValue( ds_send_reqdata, "rsrvtodd", "string", ds_main_condition.getColumn(0, "rsrvtodd"));
  1564. dsf_makeValue( ds_send_reqdata, "dialflag", "string", "C"); //20170804 추가
  1565. ds_main_pdschelist.clearData();
  1566. var oParam = {};
  1567. oParam.id = "TRMND00102";
  1568. oParam.service = "dialapp.DialPatMngt";
  1569. oParam.method = "reqGetPDScheInfo";
  1570. oParam.inds = "req=ds_send_reqdata";
  1571. oParam.outds = "ds_main_pdschelist_pdscheinfo=pdscheinfo";
  1572. oParam.async = false;
  1573. tranf_submit(oParam);
  1574. if(utlf_isNull(ds_main_pdschelist_pdscheinfo.getColumnInfo("roothospdialfromdd"))) {
  1575. ds_main_pdschelist_pdscheinfo.updateColID("roomhospdialdd", "roothospdialfromdd");
  1576. }
  1577. for(var i=0;i < ds_main_pdschelist_pdscheinfo.rowcount;i++){
  1578. //간호테이블의 입원외래구분과 실제 환자의 입원외래구분이 다른경우 셀 색상표시
  1579. //var xIoflagPath = "ds_main_pdschelist_pdscheinfo[" + i + "]_ioflagvalue";
  1580. var sIoflag = ds_main_pdschelist_pdscheinfo.getColumn( i, "ioflagvalue"); //model.getValue(xIoflagPath); // 간호테이블의 입원외래 구분
  1581. var sHistStat = ds_main_pdschelist_pdscheinfo.getColumn(i, "histstat");
  1582. var sMedamtpostyn = ds_main_pdschelist_pdscheinfo.getColumn(i, "medamtpostyn"); //진료비후불제
  1583. //응급실 환자일 경우 "E" --> "I" 로 변경
  1584. if(sIoflag == "E"){
  1585. sIoflag = "I";
  1586. }
  1587. if(sHistStat == "E"){
  1588. sHistStat = "I";
  1589. }
  1590. }
  1591. }
  1592. /**
  1593. * _group :
  1594. * _ver : 2007.05.22
  1595. * _by : 김진아
  1596. * _---------------------------------------------------
  1597. * _type : function
  1598. * _access : public
  1599. * _desc : 화면상단 정보설정
  1600. * _param : 그리드 ID (pGrd), 투석구분(pFlag)
  1601. * _return :
  1602. * _---------------------------------------------------
  1603. */
  1604. function fsetHngBaseInfo(pDataSet, pFlag){
  1605. appf_delPatientInfos();
  1606. sysf_setGlobalVariable("paminfo", ""); //원무정보 reset
  1607. if(ds_main_paminfo_list.rowcount> 0) {
  1608. ds_main_paminfo_list.clearData();
  1609. }
  1610. var sIoflag = "";
  1611. var sPid = "";
  1612. var sCretno = "";
  1613. var sSeqno = "";
  1614. var sInstcd = "";
  1615. var sIndd = "";
  1616. var sOrddd = "";
  1617. var sAcptseqno = "";
  1618. var sOrgorddd = "";
  1619. var sOrddd = "";
  1620. var sRsrvdd = "";
  1621. var iRow = pDataSet.rowposition;
  1622. if(pFlag == "H"){
  1623. sIoflag = ds_main_hdschelist_hdscheinfo.getColumn(iRow , "histstat" ); //원무 입원외래구분(histstat)
  1624. sPid = ds_main_hdschelist_hdscheinfo.getColumn(iRow , "pid" ); //등록번호
  1625. sCretno = ds_main_hdschelist_hdscheinfo.getColumn(iRow , "cretno" ); //생성번호
  1626. sSeqno = ds_main_hdschelist_hdscheinfo.getColumn(iRow , "seqno" ); //일련번호
  1627. sInstcd = ds_main_hdschelist_hdscheinfo.getColumn(iRow , "instcd" ); //기관코드
  1628. sIndd = ds_main_hdschelist_hdscheinfo.getColumn(iRow , "indd" ); //입원일자
  1629. sOrddd = ds_main_hdschelist_hdscheinfo.getColumn(iRow , "orddd" ); //진료일자
  1630. sAcptseqno = ds_main_hdschelist_hdscheinfo.getColumn(iRow , "acptseqno" ); //등록일련번호
  1631. sOrgorddd = ds_main_hdschelist_hdscheinfo.getColumn(iRow , "orgorddd" ); //원진료일자
  1632. sOrddd = ds_main_hdschelist_hdscheinfo.getColumn(iRow , "orddd" ); //진료일자
  1633. sRsrvdd = String(ds_main_hdschelist_hdscheinfo.getColumn(iRow , "rsrvdd" )); //투석예약일자
  1634. //--------(20110309) 경북대
  1635. sRsrvdd = sRsrvdd.substr(0,10);
  1636. sRsrvdd = sRsrvdd.replace("-","");
  1637. sRsrvdd = sRsrvdd.replace("-","");
  1638. //--------(20110309) 경북대
  1639. var sIo = ds_main_hdschelist_hdscheinfo.getColumn(iRow, "ioflagvalue");
  1640. var sHist = ds_main_hdschelist_hdscheinfo.getColumn(iRow, "histstat");
  1641. }else if(pFlag == "P")
  1642. {
  1643. sIoflag = ds_main_pdschelist_pdscheinfo.getColumn(iRow , "histstat" ); //원무 입원외래구분(histstat)
  1644. sPid = ds_main_pdschelist_pdscheinfo.getColumn(iRow , "pid" ); //등록번호
  1645. sCretno = ds_main_pdschelist_pdscheinfo.getColumn(iRow , "cretno" ); //생성번호
  1646. sSeqno = ds_main_pdschelist_pdscheinfo.getColumn(iRow , "seqno" ); //일련번호
  1647. sInstcd = ds_main_pdschelist_pdscheinfo.getColumn(iRow , "instcd" ); //기관코드
  1648. sIndd = ds_main_pdschelist_pdscheinfo.getColumn(iRow , "indd" ); //입원일자
  1649. sOrddd = ds_main_pdschelist_pdscheinfo.getColumn(iRow , "orddd" ); //진료일자
  1650. sAcptseqno = ds_main_pdschelist_pdscheinfo.getColumn(iRow , "acptseqno" ); //등록일련번호
  1651. sOrgorddd = ds_main_pdschelist_pdscheinfo.getColumn(iRow , "orgorddd" ); //원진료일자
  1652. sOrddd = ds_main_pdschelist_pdscheinfo.getColumn(iRow , "orddd" ); //진료일자
  1653. sRsrvdd = String(ds_main_pdschelist_pdscheinfo.getColumn(iRow , "rsrvdd" )); //투석예약일자
  1654. //--------(20110309) 경북대
  1655. sRsrvdd = sRsrvdd.substr(0,10);
  1656. sRsrvdd = sRsrvdd.replace("-","");
  1657. sRsrvdd = sRsrvdd.replace("-","");
  1658. //--------(20110309) 경북대
  1659. var sIo = ds_main_pdschelist_pdscheinfo.getColumn(iRow, "ioflagvalue");
  1660. var sHist = ds_main_pdschelist_pdscheinfo.getColumn(iRow, "histstat");
  1661. }else if(pFlag == "C"){ /*CRRT*/
  1662. // 상단 환자정보 parameter
  1663. sIoflag = ds_main_pdschelist_pdscheinfo.getColumn(iRow , "histstat" ); //원무 입원외래구분(histstat)
  1664. sPid = ds_main_pdschelist_pdscheinfo.getColumn(iRow , "pid" ); //등록번호
  1665. sCretno = ds_main_pdschelist_pdscheinfo.getColumn(iRow , "cretno" ); //생성번호
  1666. sSeqno = ds_main_pdschelist_pdscheinfo.getColumn(iRow , "seqno" ); //일련번호
  1667. sInstcd = ds_main_pdschelist_pdscheinfo.getColumn(iRow , "instcd" ); //기관코드
  1668. sIndd = ds_main_pdschelist_pdscheinfo.getColumn(iRow , "indd" ); //입원일자
  1669. sOrddd = ds_main_pdschelist_pdscheinfo.getColumn(iRow , "orddd" ); //진료일자
  1670. sAcptseqno = ds_main_pdschelist_pdscheinfo.getColumn(iRow , "acptseqno" ); //등록일련번호
  1671. sOrgorddd = ds_main_pdschelist_pdscheinfo.getColumn(iRow , "orgorddd" ); //원진료일자
  1672. sOrddd = ds_main_pdschelist_pdscheinfo.getColumn(iRow , "orddd" ); //진료일자
  1673. sRsrvdd = String(ds_main_pdschelist_pdscheinfo.getColumn(iRow , "rsrvdd" )); //투석예약일자
  1674. //--------(20110309) 경북대
  1675. sRsrvdd = sRsrvdd.substr(0,10);
  1676. sRsrvdd = sRsrvdd.replace("-","");
  1677. sRsrvdd = sRsrvdd.replace("-","");
  1678. //--------(20110309) 경북대
  1679. var sIo = ds_main_pdschelist_pdscheinfo.getColumn(iRow, "ioflagvalue");
  1680. var sHist = ds_main_pdschelist_pdscheinfo.getColumn(iRow, "histstat");
  1681. }
  1682. var sParam;
  1683. if(sIo == "E"){
  1684. sIo = "I";
  1685. }
  1686. if(sHist == "E"){
  1687. sHist = "I";
  1688. }
  1689. //20140618 by kya 수정
  1690. if(sHist == "D"){
  1691. sHist = "I";
  1692. sIoflag = "I" ;
  1693. }
  1694. if( sIo != sHist){
  1695. if(sHist == "I") {
  1696. sysf_messageBox("입원전환이 필요한 환자입니다. 투석외래예약건중 수납된것들은 수납취소후 수납 취소하십시오.", "I");
  1697. } else {
  1698. sysf_messageBox("외래전환이 필요한 환자입니다.", "I");
  1699. }
  1700. //model.property("pid") = sPid;
  1701. sysf_setModelProperty("pid", sPid)
  1702. frmf_modal("SMMND01100", "SMMND01100", "", "", "1", "5", "5", "", "", "", "", "", "M");
  1703. //model.property("pid") = "";
  1704. sysf_setModelProperty("pid", "")
  1705. }
  1706. if(sIoflag == "O")
  1707. {
  1708. sParam = (sIoflag + "▦" + sPid + "▦" + sOrddd + "▦" + sCretno + "▦" + sInstcd + "▦" + sAcptseqno + "▦" + sOrgorddd );
  1709. }
  1710. else
  1711. { //입원_응급환자일 경우(histstat : "I", "E")
  1712. sParam = (sIoflag + "▦" + sPid + "▦" + sIndd + "▦" + sCretno + "▦" + sInstcd + "▦" + sRsrvdd );
  1713. }
  1714. //trace("sParam = " + sParam);
  1715. //frmf_setParameter("condparam", sParam);
  1716. // frmf_modal("SPMMO08900", "SPMMO08900", "", "", "1", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden", "", "", "M");
  1717. appf_initPatientInfo(sParam);
  1718. var node = sysf_getGlobalVariable("paminfo");
  1719. //trace("node = " + node);
  1720. dsf_setCSVToDs("ds_main_paminfo_list", node);
  1721. }
  1722. /**
  1723. * _group :
  1724. * _ver : 2007.08.28
  1725. * _by : 김진아
  1726. * _---------------------------------------------------
  1727. * _type : function
  1728. * _access : public
  1729. * _desc : 오른쪽 버튼 메뉴
  1730. * _param : sDialFlag ("H":혈액투석, "P":복막투석)
  1731. * _return :
  1732. * _---------------------------------------------------
  1733. */
  1734. var eScreenX = "";
  1735. var eScreenY = "";
  1736. function fSubMenu(sDialFlag, e) {
  1737. dsf_makeValue( ds_temp, "dialflag", "string", sDialFlag);
  1738. if (e.button == "rbutton") {
  1739. if(sDialFlag == "H") {
  1740. //window.setPopupMenu(true, "ds_main_poplist_hdpopinfo_menu", "name", "func", false);
  1741. //frmf_createPopupMenuDs("pmn_popupMenu1", "pmn_popupMenu1_onmenuclick", ds_main_poplist_hdpopinfo_menu);
  1742. pmn_popupMenu1.trackPopup(e.screenX, e.screenY);
  1743. eScreenX = e.screenX;
  1744. eScreenY = e.screenY;
  1745. } else if(sDialFlag == "P") {
  1746. //window.setPopupMenu(true, "ds_main_poplist_pdpopinfo_menu", "name", "func", false);
  1747. //frmf_createPopupMenuDs("pmn_popupMenu2", "pmn_popupMenu2_onmenuclick", ds_main_poplist_pdpopinfo_menu);
  1748. pmn_popupMenu2.trackPopup(e.screenX, e.screenY);
  1749. eScreenX = e.screenX;
  1750. eScreenY = e.screenY;
  1751. } else {
  1752. //window.setPopupMenu(false);
  1753. }
  1754. }else {
  1755. //window.setPopupMenu(false);
  1756. }
  1757. }
  1758. function pmn_popupMenu1_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
  1759. {
  1760. eval(e.id+"()");
  1761. }
  1762. function pmn_popupMenu2_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
  1763. {
  1764. eval(e.id+"()");
  1765. }
  1766. /**
  1767. * _group :
  1768. * _ver : 2007.08.28
  1769. * _by : 김진아
  1770. * _---------------------------------------------------
  1771. * _type : function
  1772. * _access : public
  1773. * _desc : HDScheduling 열기
  1774. * _param :
  1775. * _return :
  1776. * _---------------------------------------------------
  1777. */
  1778. function OpenHDScheduling() {
  1779. var sDialFlag = ds_temp.getColumn(0, "dialflag");
  1780. // 상단정보 설정
  1781. fsetHngBaseInfo(ds_main_hdschelist_hdscheinfo, sDialFlag);
  1782. frmf_modal("SMMND01100", "SMMND01100", "", "", "1", "5", "5", "", "", "", "", "", "M");
  1783. fSrchHDList(); //혈액투석 스케줄 조회
  1784. }
  1785. /**
  1786. * _group :
  1787. * _ver : 2007.08.28
  1788. * _by : 김진아
  1789. * _---------------------------------------------------
  1790. * _type : function
  1791. * _access : public
  1792. * _desc : 유지환자 관리 열기
  1793. * _param :
  1794. * _return :
  1795. * _---------------------------------------------------
  1796. */
  1797. function OpenMatnPatMngt() {
  1798. var sDialFlag = ds_temp.getColumn(0, "dialflag");
  1799. // 상단정보 설정
  1800. if(sDialFlag == "H") fsetHngBaseInfo(ds_main_hdschelist_hdscheinfo, sDialFlag);
  1801. else if(sDialFlag == "P") fsetHngBaseInfo(ds_main_pdschelist_pdscheinfo, sDialFlag);
  1802. frmf_modal("SMMND01200", "SMMND01200", "", "", "1", "5", "5", "", "", "", "", "", "M");
  1803. if(sDialFlag == "H") fSrchHDList(); //혈액투석 스케줄 조회
  1804. else if(sDialFlag == "P") fSrchPDList(); //복막투석 스케줄 조회
  1805. }
  1806. /**
  1807. * _group :
  1808. * _ver : 2007.08.28
  1809. * _by : 김진아
  1810. * _---------------------------------------------------
  1811. * _type : function
  1812. * _access : public
  1813. * _desc : 간호정보 조사 열기
  1814. * _param :
  1815. * _return :
  1816. * _---------------------------------------------------
  1817. */
  1818. function OpenCareInfo() {
  1819. var sDialFlag = ds_temp.getColumn(0, "dialflag");
  1820. // 상단정보 설정
  1821. if(sDialFlag == "H") fsetHngBaseInfo(ds_main_hdschelist_hdscheinfo, sDialFlag);
  1822. else if(sDialFlag == "P") fsetHngBaseInfo(ds_main_pdschelist_pdscheinfo, sDialFlag);
  1823. frmf_modal("SMMND00300", "SMMND00300", "", "", "1", "5", "5", "", "", "", "", "", "M");
  1824. if(sDialFlag == "H") fSrchHDList(); //혈액투석 스케줄 조회
  1825. else if(sDialFlag == "P") fSrchPDList(); //복막투석 스케줄 조회
  1826. }
  1827. /**
  1828. * _group :
  1829. * _ver : 2007.08.28
  1830. * _by : 김진아
  1831. * _---------------------------------------------------
  1832. * _type : function
  1833. * _access : public
  1834. * _desc : 혈액투석 간호기록 열기
  1835. * _param :
  1836. * _return :
  1837. * _---------------------------------------------------
  1838. */
  1839. function OepnHDCareRec() {
  1840. var iRow = ds_main_hdschelist_hdscheinfo.rowposition;
  1841. var sDialFlag = ds_temp.getColumn(0, "dialflag");
  1842. // 상단정보 설정
  1843. fsetHngBaseInfo(ds_main_hdschelist_hdscheinfo, sDialFlag);
  1844. var objArg = new Object();
  1845. objArg.rsrvdd = ds_main_hdschelist_hdscheinfo.getColumn(iRow, "rsrvdd");
  1846. frmf_modal("SMMND00700", "SMMND00700",objArg, "", "1", "5", "5", "", "", "", "", "", "M");
  1847. fSrchHDList(); //혈액투석 스케줄 조회
  1848. }
  1849. /**
  1850. * _group :
  1851. * _ver : 2007.08.28
  1852. * _by : 김진아
  1853. * _---------------------------------------------------
  1854. * _type : function
  1855. * _access : public
  1856. * _desc : 혈액투석 도관기록 열기
  1857. * _param :
  1858. * _return :
  1859. * _---------------------------------------------------
  1860. */
  1861. function OepnHDPipeRec() {
  1862. var sDialFlag = ds_temp.getColumn(0, "dialflag");
  1863. // 상단정보 설정
  1864. fsetHngBaseInfo(ds_main_hdschelist_hdscheinfo, sDialFlag);
  1865. frmf_modal("SMMND01300", "SMMND01300", "", "", "1", "5", "5", "", "", "", "", "", "M");
  1866. fSrchHDList(); //혈액투석 스케줄 조회
  1867. }
  1868. /**
  1869. * _group :
  1870. * _ver : 2007.08.28
  1871. * _by : 김진아
  1872. * _---------------------------------------------------
  1873. * _type : function
  1874. * _access : public
  1875. * _desc : 상담기록 열기
  1876. * _param :
  1877. * _return :
  1878. * _---------------------------------------------------
  1879. */
  1880. function OepnCnstRec() {
  1881. var sDialFlag = ds_temp.getColumn(0, "dialflag");
  1882. // 상단정보 설정
  1883. if(sDialFlag == "H") fsetHngBaseInfo(ds_main_hdschelist_hdscheinfo, sDialFlag);
  1884. else if(sDialFlag == "P") fsetHngBaseInfo(ds_main_pdschelist_pdscheinfo, sDialFlag);
  1885. frmf_modal("SMMND01900", "SMMND01900", "", "", "1", "5", "5", "", "", "", "", "", "M");
  1886. }
  1887. /**
  1888. * _group :
  1889. * _ver : 2007.08.28
  1890. * _by : 김진아
  1891. * _---------------------------------------------------
  1892. * _type : function
  1893. * _access : public
  1894. * _desc : 복막투석 실시관리 열기
  1895. * _param :
  1896. * _return :
  1897. * _---------------------------------------------------
  1898. */
  1899. function OepnPDExecRec() {
  1900. var sDialFlag = ds_temp.getColumn(0, "dialflag");
  1901. // 상단정보 설정
  1902. fsetHngBaseInfo(ds_main_pdschelist_pdscheinfo, sDialFlag);
  1903. frmf_modal("SMMND00800", "SMMND00800", "", "", "1", "5", "5", "", "", "", "", "", "M");
  1904. fSrchPDList(); //복막투석 스케줄 조회
  1905. }
  1906. /**
  1907. * _group :
  1908. * _ver : 2007.08.28
  1909. * _by : 김진아
  1910. * _---------------------------------------------------
  1911. * _type : function
  1912. * _access : public
  1913. * _desc : 복막투석 도관기록 열기
  1914. * _param :
  1915. * _return :
  1916. * _---------------------------------------------------
  1917. */
  1918. function OepnPDPipeRec() {
  1919. var sDialFlag = ds_temp.getColumn(0, "dialflag");
  1920. // 상단정보 설정
  1921. fsetHngBaseInfo(ds_main_pdschelist_pdscheinfo, sDialFlag);
  1922. frmf_modal("SMMND01400", "SMMND01400", "", "", "1", "5", "5", "", "", "", "", "", "M");
  1923. fSrchPDList(); //복막투석 스케줄 조회
  1924. }
  1925. /**
  1926. * _group :
  1927. * _ver : 2007.09.27
  1928. * _by : 김진아
  1929. * _---------------------------------------------------
  1930. * _type : function
  1931. * _access : public
  1932. * _desc : 처방확인(환자진료정보조회) 열기
  1933. * _param :
  1934. * _return :
  1935. * _---------------------------------------------------
  1936. */
  1937. function OepnSrchOrdInfo() {
  1938. var sDialFlag = ds_temp.getColumn(0, "dialflag");
  1939. // 상단정보 설정
  1940. if(sDialFlag == "H") fsetHngBaseInfo(ds_main_hdschelist_hdscheinfo, sDialFlag);
  1941. else if(sDialFlag == "P") fsetHngBaseInfo(ds_main_pdschelist_pdscheinfo, sDialFlag);
  1942. frmf_modal("SMMMO02500", "SMMMO02500", "", "", "1", "5", "5", "", "", "", "", "", "M");
  1943. if(sDialFlag == "H") fSrchHDList(); //혈액투석 스케줄 조회
  1944. else if(sDialFlag == "P") fSrchPDList(); //복막투석 스케줄 조회
  1945. else if(sDialFlag == "C") fSrchCRRTList(); //CRRT 스케줄 조회
  1946. }
  1947. /**
  1948. * creat : 20090108
  1949. * author : dhkim
  1950. * desc : 내환자세팅된 간호사 load
  1951. */
  1952. function fLoadMyPatSetting(){
  1953. ds_send.clearData();
  1954. ds_send.addRow();
  1955. dsf_makeValue( ds_send, "wardcd", "string", sysf_getUserInfo("dutplcecd"));
  1956. var oParam = {};
  1957. oParam.id = "TRMND03402";
  1958. oParam.service = "dialapp.DialPatMngt";
  1959. oParam.method = "reqGetWMInitData";
  1960. oParam.inds = "reqcond=ds_send";
  1961. oParam.outds = "ds_init_settingrn_settingrnlist=settingrnlist";
  1962. oParam.async = false;
  1963. oParam.callback = "cf_TRMND03402";
  1964. tranf_submit(oParam);
  1965. if(arErrorCode.pop("TRMND03402") < 0) {
  1966. sysf_messageBox('조회를 실패하였습니다.', 'E999');
  1967. return;
  1968. }
  1969. // if(ds_init_settingrn_settingrnlist.rowcount <= 0){
  1970. // group3.switch1.case1.group2.cmb_mypid.index = -1;
  1971. // }
  1972. // else {
  1973. // group3.switch1.case1.group2.cmb_mypid.index = 0;
  1974. // }
  1975. if(ds_init_settingrn_settingrnlist.rowcount < 1)
  1976. {
  1977. group3.switch1.case1.group2.cmb_mypid.value = "";
  1978. }
  1979. if(utlf_isNull(ds_main_condition.getColumn(0, "mypid")))
  1980. {
  1981. group3.switch1.case1.group2.cmb_mypid.index = 0;
  1982. }
  1983. }
  1984. function cf_TRMND03402(sSvcId, nErrorCode, sErrorMsg) {
  1985. arErrorCode.push(sSvcId, nErrorCode);
  1986. }
  1987. /**
  1988. * _group :
  1989. * _ver : 20009.10.08
  1990. * _by : 김양수
  1991. * _---------------------------------------------------
  1992. * _type : function
  1993. * _access : public
  1994. * _desc : 환자라벨출력
  1995. * _param :
  1996. * _return :
  1997. * _---------------------------------------------------
  1998. */
  1999. function fOpenLabelPrint(){
  2000. if(ds_main.rowcount <= 0) {
  2001. ds_main.addRow();
  2002. }
  2003. ds_main.setColumn( 0, "printcnt","1");
  2004. ds_main.updatecontrol = true;
  2005. var sMoniterIndex = system.getMonitorIndex(system.cursorx, system.cursory);
  2006. var sObjScreenSize = system.getScreenRect(sMoniterIndex);
  2007. var sScreenLeft = sObjScreenSize.left;
  2008. var sScreenTop = sObjScreenSize.top;
  2009. var oldwidth = group3.group6.position.width;
  2010. var oldheight = group3.group6.position.height;
  2011. group3.group6.position.left = eScreenX - sScreenLeft - 10;
  2012. group3.group6.position.width = oldwidth;
  2013. group3.group6.position.top = eScreenY - sScreenTop - 150;
  2014. group3.group6.position.height = oldheight;
  2015. group3.group6.ipt_patcntctel.setFocus();
  2016. //model.refresh();
  2017. group3.group6.visible = true;
  2018. }
  2019. /**
  2020. * _group :
  2021. * _ver : 2011.09.16
  2022. * _by : 권영애
  2023. * _---------------------------------------------------
  2024. * _type : function
  2025. * _access : public
  2026. * _desc : 환자이름표출력
  2027. * _param :
  2028. * _return :
  2029. * _---------------------------------------------------
  2030. */
  2031. function fOpenNamePrint_old() {
  2032. var row = ds_main_hdschelist_hdscheinfo.rowposition; //group3.switch1.case1.grd_hdschelist.row;
  2033. if (row >= 0) {
  2034. ds_send.clearData();
  2035. dsf_makeValue( ds_send, "hdscheinfo", "string", "" );
  2036. var spid = ds_main_hdschelist_hdscheinfo.getColumn(row, "pid" );
  2037. dsf_makeValue( ds_send_hdscheinfo, "pid", "string", spid );
  2038. dsf_makeValue( ds_send_hdscheinfo, "hngnm", "string", ds_main_hdschelist_hdscheinfo.getColumn(row, "hngnm" ));
  2039. dsf_makeValue( ds_send_hdscheinfo, "sexage", "string", ds_main_hdschelist_hdscheinfo.getColumn(row, "sexage" ));
  2040. dsf_makeValue( ds_send_hdscheinfo, "ioflag", "string", ds_main_hdschelist_hdscheinfo.getColumn(row, "ioflag" ));
  2041. dsf_makeValue( ds_send_hdscheinfo, "drnm", "string", ds_main_hdschelist_hdscheinfo.getColumn(row, "drnm" ));
  2042. dsf_makeValue( ds_send_hdscheinfo, "orddeptnm", "string", ds_main_hdschelist_hdscheinfo.getColumn(row, "orddeptnm"));
  2043. dsf_makeValue( ds_send_hdscheinfo, "method", "string", ds_main_hdschelist_hdscheinfo.getColumn(row, "dialseatflag"));
  2044. //20150325 소방정보 추가
  2045. dsf_makeValue( ds_send_hdscheinfo, "dialseatflag", "string", ds_main_condition.getColumn(0, "method"));
  2046. var objDOM = rptf_createDOM();
  2047. var objParam = new Object();
  2048. rptf_setNodeListToDOM(objDOM, "root/send/hdscheinfo" , ds_send_hdscheinfo);
  2049. objParam.xml_data_XML1 = objDOM.documentElement.source;
  2050. var option = "open=1;save=1;directprint=0;printdialog=1;print=1;zoom=0";
  2051. rptf_exeReportPreview30(["RPMND00100"],[objParam], option); //미리보기출력
  2052. //exeReportPreview("RPMND00100", "XMLSTR", "ds_main_prtinfo", "", "true", "", "", "", "", "", "", "grp_report"); //미리보기 없이 출력
  2053. }
  2054. }
  2055. function fOpenNamePrint() {
  2056. if(group3.switch1.tabindex == 0) { //.btn_hdlist.selected == true) { // 혈액투석 스케줄 에서 호출
  2057. group3.switch1.case1.group7.visible = true;
  2058. }else{
  2059. group3.switch1.case2.group8.visible = true;
  2060. }
  2061. }
  2062. /**
  2063. * _group :
  2064. * _ver : 2015.03.25
  2065. * _by : 권영애
  2066. * _---------------------------------------------------
  2067. * _type : function
  2068. * _access : public
  2069. * _desc : 환자이름표출력에서 소방관련 정보 포함
  2070. * _param :
  2071. * _return :
  2072. * _---------------------------------------------------
  2073. */
  2074. //정보호출
  2075. function fGetPatName() {
  2076. if(group3.switch1.tabindex == 0) { //group3.btn_hdlist.selected == true) { // 혈액투석 스케줄 에서 호출
  2077. var row_om = ds_main_hdschelist_hdscheinfo.rowposition; //group3.switch1.case1.grd_hdschelist.row;
  2078. if (row_om >= 0) {
  2079. ds_send_hdscheinfo.clearData();
  2080. ds_send_hdscheinfo.addRow();
  2081. dsf_makeValue( ds_send, "hdscheinfo", "string", "" );
  2082. var spid = ds_main_hdschelist_hdscheinfo.getColumn( row_om, "pid" );
  2083. dsf_makeValue( ds_send_hdscheinfo, "pid", "string", spid );
  2084. dsf_makeValue( ds_send_hdscheinfo, "hngnm", "string", ds_main_hdschelist_hdscheinfo.getColumn( row_om, "hngnm" ));
  2085. dsf_makeValue( ds_send_hdscheinfo, "sexage", "string", ds_main_hdschelist_hdscheinfo.getColumn( row_om, "sexage" ));
  2086. dsf_makeValue( ds_send_hdscheinfo, "ioflag", "string", ds_main_hdschelist_hdscheinfo.getColumn( row_om, "ioflag" ));
  2087. dsf_makeValue( ds_send_hdscheinfo, "drnm", "string", ds_main_hdschelist_hdscheinfo.getColumn( row_om, "drnm" ));
  2088. dsf_makeValue( ds_send_hdscheinfo, "orddeptnm", "string", ds_main_hdschelist_hdscheinfo.getColumn(row_om, "orddeptnm"));
  2089. dsf_makeValue( ds_send_hdscheinfo, "dialseatflag", "string", ds_main_hdschelist_hdscheinfo.getColumn(row_om, "dialseatflag"));
  2090. //20150325 소방정보 추가
  2091. dsf_makeValue( ds_send_hdscheinfo, "method", "string", ds_main_condition.getColumn(0, "method"));
  2092. var objDOM = rptf_createDOM();
  2093. var objParam = new Object();
  2094. rptf_setNodeListToDOM(objDOM, "root/send/hdscheinfo" , ds_send_hdscheinfo);
  2095. objParam.xml_data_XML1 = objDOM.documentElement.source;
  2096. var option = "open=1;save=1;directprint=0;printdialog=1;print=1;zoom=0";
  2097. rptf_exeReportPreview30(["RPMND00100"],[objParam], option); //미리보기출력
  2098. //exeReportPreview("RPMND00100", "XMLSTR", "ds_main_prtinfo", "", "true", "", "", "", "", "", "", "grp_report"); //미리보기 없이 출력
  2099. }
  2100. }else { // 복막투석에서 호출
  2101. var row_nr = ds_main_pdschelist_pdscheinfo.rowposition; //group3.switch1.case2.grd_pdschelist.row;
  2102. if (row_nr >= 0) {
  2103. ds_send_hdscheinfo.clearData();
  2104. ds_send_hdscheinfo.addRow();
  2105. var spid = ds_main_pdschelist_pdscheinfo.getColumn( row_nr, "pid" );
  2106. dsf_makeValue( ds_send_hdscheinfo, "pid", "string", spid );
  2107. dsf_makeValue( ds_send_hdscheinfo, "hngnm", "string", ds_main_pdschelist_pdscheinfo.getColumn( row_nr, "hngnm" ));
  2108. dsf_makeValue( ds_send_hdscheinfo, "sexage", "string", ds_main_pdschelist_pdscheinfo.getColumn( row_nr, "sexage" ));
  2109. dsf_makeValue( ds_send_hdscheinfo, "ioflag", "string", ds_main_pdschelist_pdscheinfo.getColumn( row_nr, "ioflag" ));
  2110. dsf_makeValue( ds_send_hdscheinfo, "drnm", "string", ds_main_pdschelist_pdscheinfo.getColumn( row_nr, "drnm" ));
  2111. dsf_makeValue( ds_send_hdscheinfo, "orddeptnm", "string", ds_main_pdschelist_pdscheinfo.getColumn(row_nr, "orddeptnm"));
  2112. dsf_makeValue( ds_send_hdscheinfo, "dialseatflag", "string", ds_main_pdschelist_pdscheinfo.getColumn(row_nr, "dialseatflag"));
  2113. //20150325 소방정보 추가
  2114. dsf_makeValue( ds_send_hdscheinfo, "method", "string", ds_main_condition.getColumn(0, "method"));
  2115. var objDOM = rptf_createDOM();
  2116. var objParam = new Object();
  2117. rptf_setNodeListToDOM(objDOM, "root/send/hdscheinfo" , ds_send_hdscheinfo);
  2118. objParam.xml_data_XML1 = objDOM.documentElement.source;
  2119. var option = "open=1;save=1;directprint=0;printdialog=1;print=1;zoom=0";
  2120. rptf_exeReportPreview30(["RPMND00100"],[objParam], option); //미리보기출력
  2121. //exeReportPreview("RPMND00100", "XMLSTR", "ds_main_prtinfo", "", "true", "", "", "", "", "", "", "grp_report"); //미리보기 없이 출력
  2122. }
  2123. }
  2124. }
  2125. /**
  2126. * _group :
  2127. * _ver : 2012.10.15
  2128. * _by : 권영애
  2129. * _---------------------------------------------------
  2130. * _type : function
  2131. * _access : public
  2132. * _desc : SMS 전송
  2133. * _param :
  2134. * _return :
  2135. * _---------------------------------------------------
  2136. */
  2137. function fSendSMS() {
  2138. frmf_open("SPZMS00100", "SPZMS00100", "", "", "", "100", "100", "", "", "", "", "", "M");
  2139. }
  2140. // header파일 중 SMMND00100.js 파일 끝
  2141. function SMMND00100_onload(obj:Form, e:LoadEventInfo) {
  2142. frmf_initForm(obj);
  2143. grdf_initGrid(group3.switch1.case1.grd_hdschelist);
  2144. grdf_initGrid(group3.switch1.case2.grd_pdschelist);
  2145. grdf_initGrid(group3.switch1.case3.grd_pdschelist);
  2146. //grdf_setGridSort(grd_XXX);
  2147. //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
  2148. this.setTimer(1, 100);
  2149. }
  2150. function lf_onload() {
  2151. //그리드 초기화
  2152. ds_main_hdschelist_hdscheinfo.clearData();
  2153. ds_main_pdschelist_pdscheinfo.clearData();
  2154. var vincentinstcd;
  2155. fGetNursHardCdInfo("'077'", utlf_getCurrentDate());
  2156. for(var i = 0; i < ds_code_codeinfo_codelist.rowcount; i++){
  2157. switch (ds_code_codeinfo_codelist.getColumn(i, "cdgrupid")){
  2158. case "077":
  2159. switch(ds_code_codeinfo_codelist.getColumn(i, "supcdid")){
  2160. case "04": // (01:서울성모,02:의정부성모,03:부천성가, 04:수원빈센트)
  2161. vincentinstcd = ds_code_codeinfo_codelist.getColumn(i, "cdid");
  2162. break;
  2163. }
  2164. }
  2165. }
  2166. //빈센트 병원일때만 원무수납일시, 시간 추가
  2167. var instcd = sysf_getUserInfo("dutplceinstcd");
  2168. if (instcd == vincentinstcd){
  2169. //group3.switch1.case1.grd_hdschelist.attribute("frozencols") = "11";
  2170. }
  2171. else{
  2172. //group3.switch1.case1.grd_hdschelist.attribute("frozencols") = "0";
  2173. group3.switch1.case1.grd_hdschelist.setFormatColProperty( 24, "size", 0); //본원투석일자
  2174. group3.switch1.case1.grd_hdschelist.setFormatColProperty( 25, "size", 0); //유지일자
  2175. }
  2176. //setHelp(); // 온라인 도움말 화면이 있는 경우 ready 에서 실행.
  2177. fDone();
  2178. fSrchHDList(); //혈액투석 스케줄 조회
  2179. //내환자 setting 간호사 load
  2180. fLoadMyPatSetting();
  2181. //var userid = sysf_getUserInfo('userid');
  2182. //if(userid == 'ENR' || userid == 'enr' || userid == 'DEV512' || userid == 'dev512'){
  2183. // group3.switch1.case1.btn_mypat.visible = true;
  2184. // group3.switch1.case1.btn_mywork.visible = true;
  2185. //}else{
  2186. // group3.switch1.case1.btn_mypat.visible = "hidden";
  2187. // group3.switch1.case1.btn_mywork.visible = "hidden";
  2188. //}
  2189. // 20141229 kya 재원중인 환자건수
  2190. group3.switch1.case1.btn_jaewon.click(); //.dispatch("onclick");
  2191. //menu Create
  2192. frmf_createPopupMenuDs("pmn_popupMenu1", "pmn_popupMenu1_onmenuclick", ds_main_poplist_hdpopinfo_menu);
  2193. frmf_createPopupMenuDs("pmn_popupMenu2", "pmn_popupMenu2_onmenuclick", ds_main_poplist_pdpopinfo_menu);
  2194. killTimer(1);
  2195. }
  2196. function group3_btn_pdlist_onclick(obj:Button, e:ClickEventInfo) {
  2197. lf_btn_Selected("btn_pdlist");
  2198. group3.switch1.tabindex = 1;
  2199. fSrchPDList(); //복막투석 스케줄 조회
  2200. }
  2201. function lf_btn_Selected(btnId){
  2202. if( utlf_isNull(btnId) ) return;
  2203. group3.btn_hdlist.class = "btn_tab";
  2204. group3.btn_pdlist.class = "btn_tab";
  2205. group3.btn_crrtlist.class = "btn_tab";
  2206. var btnObj = group3.components[btnId];
  2207. btnObj.setSelectStatus(true);
  2208. btnObj.class = "btn_tab_S";
  2209. }
  2210. function group3_btn_hdlist_onclick(obj:Button, e:ClickEventInfo) {
  2211. lf_btn_Selected("btn_hdlist");
  2212. group3.switch1.tabindex = 0;
  2213. fSrchHDList(); //혈책투석 스케줄 조회
  2214. }
  2215. function group3_switch1_case1_grd_hdschelist_ontextchanged(obj:Grid, e:GridEditTextChangedEventInfo) {
  2216. var iRow = ds_main_hdschelist_hdscheinfo.rowposition; //group3.switch1.case1.grd_hdschelist.row;
  2217. dsf_makeValue( ds_send_reqdata, "pid", "string", ds_main_hdschelist_hdscheinfo.getColumn(iRow, "pid"));
  2218. dsf_makeValue( ds_send_reqdata, "orddd", "string", ds_main_hdschelist_hdscheinfo.getColumn(iRow, "orddd"));
  2219. dsf_makeValue( ds_send_reqdata, "orddeptcd", "string", ds_main_hdschelist_hdscheinfo.getColumn(iRow, "orddeptcd"));
  2220. dsf_makeValue( ds_send_reqdata, "orddrid", "string", ds_main_hdschelist_hdscheinfo.getColumn(iRow, "orddrid"));
  2221. //if(submit("TRMNO00105")) {
  2222. var oParam = {};
  2223. oParam.id = "TRMNO00105";
  2224. oParam.service = "outcareapp.OutCareMngt";
  2225. oParam.method = "reqGetEbulStat";
  2226. oParam.inds = "opatref=ds_send_reqdata";
  2227. oParam.outds = "ds_main_ebulstat_ebulstat=ebulstat";
  2228. oParam.async = false;
  2229. oParam.callback = "cf_TRMNO00105";
  2230. tranf_submit(oParam);
  2231. /*
  2232. function cf_TRMNO00105(sSvcId, nErrorCode, sErrorMsg) {
  2233. if(nErrorCode < 0) return;
  2234. }
  2235. arErrorCode.pop("TRMNO00105") < 0
  2236. */
  2237. if(arErrorCode.pop("TRMNO00105") > -1) {
  2238. var ebulstat = ds_main_ebulstat_ebulstat.getColumn(0, "ebulstat");
  2239. if(ds_main_hdschelist_hdscheinfo.getColumn(iRow, "elbulbodstat") == ebulstat) {
  2240. if(ebulstat == "2" ) {
  2241. sysf_messageBox("진료후에는 간호접수를 취소", "E001");
  2242. ds_main_hdschelist.setColumn( iRow , "acptyn", "true");
  2243. } else {
  2244. var stat;
  2245. var elbulbodstat;
  2246. var curdd = utlf_getCurrentDate();
  2247. var orddd = ds_main_hdschelist_hdscheinfo.getColumn(iRow, "orddd");
  2248. if(ebulstat == "1") {
  2249. if(curdd == orddd) {
  2250. dsf_makeValue( ds_send_reqdata, "elbulbodstat", "string", "0");
  2251. dsf_makeValue( ds_send_reqdata, "nursacptyn", "string", "N");
  2252. stat = "";
  2253. elbulbodstat = "0";
  2254. } else {
  2255. sysf_messageBox("과접수 취소를 ", "E001");
  2256. ds_main_hdschelist.setColumn( iRow , "acptyn", "true");
  2257. //group3.switch1.case1.grd_hdschelist.rebuild();
  2258. }
  2259. } else {
  2260. if(curdd == orddd) {
  2261. dsf_makeValue( ds_send_reqdata, "elbulbodstat", "string", "1");
  2262. dsf_makeValue( ds_send_reqdata, "nursacptyn", "string", "Y");
  2263. stat ="대기";
  2264. elbulbodstat = "1";
  2265. } else if (orddd == ""){
  2266. sysf_messageBox("과접수를 ", "E001", "외래예약여부를 확인하십시오.");
  2267. ds_main_hdschelist.setColumn( iRow , "acptyn", "false");
  2268. //group3.switch1.case1.grd_hdschelist.rebuild();
  2269. return;
  2270. } else {
  2271. sysf_messageBox("과접수를 ", "E001", "예약(진료)일자를 확인하십시오.");
  2272. ds_main_hdschelist.setColumn( iRow , "acptyn", "false");
  2273. //group3.switch1.case1.grd_hdschelist.rebuild();
  2274. return;
  2275. }
  2276. }
  2277. dsf_makeValue( ds_send_reqdata, "orddd", "string", ds_main_hdschelist_hdscheinfo.getColumn(iRow, "orddd"));
  2278. dsf_makeValue( ds_send_reqdata, "orddeptcd", "string", ds_main_hdschelist_hdscheinfo.getColumn(iRow, "orddeptcd"));
  2279. dsf_makeValue( ds_send_reqdata, "orddrid", "string", ds_main_hdschelist_hdscheinfo.getColumn(iRow, "orddrid"));
  2280. dsf_makeValue( ds_send_reqdata, "pid", "string", ds_main_hdschelist_hdscheinfo.getColumn(iRow, "pid"));
  2281. //if(submit("TXMNO00100")) {
  2282. var oParam = {};
  2283. oParam.id = "TXMNO00100";
  2284. oParam.service = "outcareapp.OutCareMngt";
  2285. oParam.method = "reqSetPatList";
  2286. oParam.inds = "opatref=ds_send_reqdata";
  2287. oParam.outds = "";
  2288. oParam.async = false;
  2289. oParam.callback = "cf_TXMNO00100";
  2290. tranf_submit(oParam);
  2291. if(arErrorCode.pop("TXMNO00100") > -1) {
  2292. ds_main_hdschelist.setColumn( iRow , "prcsflag", stat);
  2293. ds_main_hdschelist.setColumn( iRow , "elbulbodstat", elbulbodstat);
  2294. }
  2295. }
  2296. }
  2297. else {
  2298. sysf_messageBox("다시조회하겠습니다. 현재 전광판의 상태가 ", "E004");
  2299. group3.switch1.case1.group2.btn_srchhdpatinfo.dispatch("DOMActivate");
  2300. return;
  2301. }
  2302. }
  2303. }
  2304. function cf_TRMNO00105(sSvcId, nErrorCode, sErrorMsg) {
  2305. arErrorCode.push(sSvcId, nErrorCode);
  2306. }
  2307. function group3_switch1_case1_grd_hdschelist_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
  2308. if(e.row > -1) {
  2309. fsetHngBaseInfo(ds_main_hdschelist_hdscheinfo, "H");
  2310. //2012.08.14 by kya, 감염상세정보 보여주기
  2311. if (e.col == group3.switch1.case1.grd_hdschelist.getBindCellIndex("body", "disp1")){
  2312. dsf_makeValue( ds_send, "infection", "string", "B");
  2313. var objArg = new Object();
  2314. objArg.arg_isolkind = ds_send.getColumn(0, "infection");
  2315. frmf_open("SPASB01600", "SPASB01600", objArg, "", "", "", "", "", "", "", "", "", "M");
  2316. }else if (e.col == group3.switch1.case1.grd_hdschelist.getBindCellIndex("body", "disp2")){
  2317. dsf_makeValue( ds_send, "infection", "string", "C");
  2318. var objArg = new Object();
  2319. objArg.arg_isolkind = ds_send.getColumn(0, "infection");
  2320. frmf_open("SPASB01600", "SPASB01600", objArg, "", "", "", "", "", "", "", "", "", "M");
  2321. }else if (e.col == group3.switch1.case1.grd_hdschelist.getBindCellIndex("body", "disp3")){
  2322. dsf_makeValue( ds_send, "infection", "string", "A");
  2323. var objArg = new Object();
  2324. objArg.arg_isolkind = ds_send.getColumn(0, "infection");
  2325. frmf_open("SPASB01600", "SPASB01600", objArg, "", "", "", "", "", "", "", "", "", "M");
  2326. }else if (e.col == group3.switch1.case1.grd_hdschelist.getBindCellIndex("body", "disp4")){
  2327. dsf_makeValue( ds_send, "infection", "string", "D");
  2328. var objArg = new Object();
  2329. objArg.arg_isolkind = ds_send.getColumn(0, "infection");
  2330. frmf_open("SPASB01600", "SPASB01600", objArg, "", "", "", "", "", "", "", "", "", "M");
  2331. }
  2332. }
  2333. }
  2334. function group3_switch1_case1_group2_btn_srchhdpatinfo_onclick(obj:Button, e:ClickEventInfo) {
  2335. grdf_clearSort(group3.switch1.case1.grd_hdschelist);
  2336. grdf_clearSort(group3.switch1.case2.grd_pdschelist);
  2337. fSrchHDList(); //혈액투석 스케줄 조회
  2338. }
  2339. function group3_switch1_case1_group2_ipt_rsrvfromdd_onkillfocus(obj:Calendar, e:KillFocusEventInfo) {
  2340. // fSrchHDList(); //혈책투석 스케줄 조회
  2341. }
  2342. function group3_switch1_case1_group2_ipt_rsrvtodd_onkillfocus(obj:Calendar, e:KillFocusEventInfo) {
  2343. // fSrchHDList(); //혈책투석 스케줄 조회
  2344. }
  2345. function group3_switch1_case1_group2_cmb_ioflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
  2346. fSrchHDList(); //혈책투석 스케줄 조회
  2347. }
  2348. function group3_switch1_case1_group2_button3_onclick(obj:Button, e:ClickEventInfo) {
  2349. fSaveExcel(group3.switch1.case1.grd_hdschelist);
  2350. }
  2351. function group3_switch1_case1_group2_cmb_mypid_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
  2352. fSrchHDList(); //혈책투석 스케줄 조회
  2353. }
  2354. function group3_switch1_case1_btn_mywork_onclick(obj:Button, e:ClickEventInfo) {
  2355. frmf_modal("SMMND03400", "SMMND03400", "", "", "", "", "", "", "", "", "", "", "M");
  2356. }
  2357. function group3_switch1_case1_btn_mypat_onclick(obj:Button, e:ClickEventInfo) {
  2358. var objArg = new Object();
  2359. objArg.arg_rsrvfromdd = ds_main_condition.getColumn(0, "rsrvfromdd");
  2360. objArg.arg_rsrvtodd = ds_main_condition.getColumn(0, "rsrvtodd");
  2361. frmf_modal("SMMND03300", "SMMND03300", objArg, "", "", "", "", "", "", "", "", "", "M");
  2362. fLoadMyPatSetting();
  2363. fSrchHDList();
  2364. }
  2365. function group3_switch1_case1_out_jeawon_onclick(obj:Edit, e:MouseEventInfo) {
  2366. frmf_modal("SMMND05300", "SMMND05300", "", "", "", "", "", "", "", "", "", "", "M"); //유지환자 중 입원환자리스트로 분기
  2367. }
  2368. function group3_switch1_case1_btn_jaewon_onclick(obj:Button, e:ClickEventInfo) {
  2369. // 20141229 kya 재원중인 환자건수
  2370. ds_send_reqdata.clearData();
  2371. ds_send_reqdata.addRow();
  2372. var workdd = utlf_getCurrentDate();
  2373. dsf_makeValue( ds_send_reqdata, "workdd", "string", workdd); //업무일자
  2374. var startdd = workdd.toDate().getAddDate(-4,"D").getDateFormat("YYYYMMDD");
  2375. dsf_makeValue( ds_send_reqdata, "startdd", "string", startdd); //업무일자
  2376. //submit("TRMND00106");
  2377. var oParam = {};
  2378. oParam.id = "TRMND00106";
  2379. oParam.service = "dialapp.DialPatMngt";
  2380. oParam.method = "reqGetDialINPTCount";
  2381. oParam.inds = "req=ds_send_reqdata";
  2382. oParam.outds = "ds_main_inptcnt=inptcnt";
  2383. oParam.async = false;
  2384. tranf_submit(oParam);
  2385. //model.refresh();
  2386. }
  2387. function group3_switch1_case1_group7_button10_onclick(obj:Button, e:ClickEventInfo) {
  2388. fGetPatName();
  2389. group1.visible = false;
  2390. }
  2391. function group3_switch1_case1_group7_button11_onclick(obj:Button, e:ClickEventInfo) {
  2392. group3.switch1.case1.group7.visible = false;
  2393. }
  2394. function group3_switch1_case1_group7_radio3_onitemchanged(obj:Radio, e:ItemChangeEventInfo) {
  2395. }
  2396. function group3_switch1_case2_group5_button2_onclick(obj:Button, e:ClickEventInfo) {
  2397. fSrchPDList(); //복막투석 스케줄 조회
  2398. }
  2399. function group3_switch1_case2_group5_input1_onkillfocus(obj:Calendar, e:KillFocusEventInfo) {
  2400. // fSrchPDList(); //복막투석 스케줄 조회
  2401. }
  2402. function group3_switch1_case2_group5_input4_onkillfocus(obj:Calendar, e:KillFocusEventInfo) {
  2403. // fSrchPDList(); //복막투석 스케줄 조회
  2404. }
  2405. function group3_switch1_case2_group5_button4_onclick(obj:Button, e:ClickEventInfo) {
  2406. fSaveExcel(group3.switch1.case2.grd_pdschelist);
  2407. }
  2408. function group3_switch1_case2_group5_button5_onclick(obj:Button, e:ClickEventInfo) {
  2409. var xpos = e.screenX - 400;
  2410. var ypos = e.screenY ;
  2411. if(group3.switch1.case2.grd_pdschelist.currentrow >= 0 ) {
  2412. // 상단정보 설정
  2413. fsetHngBaseInfo(ds_main_pdschelist_pdscheinfo, "P");
  2414. }
  2415. // PD등록 팝업
  2416. var objArg = new Object();
  2417. objArg.arg_ds_temp = ds_main_paminfo_list;
  2418. frmf_modal("SMMND02900", "SMMND02900", objArg, "", "1", xpos, ypos, "", "", "", "", "", "M");
  2419. }
  2420. function group3_switch1_case2_group5_button8_onclick(obj:Button, e:ClickEventInfo) {
  2421. var xpos = e.screenX - 400;
  2422. var ypos = e.screenY ;
  2423. if(group3.switch1.case2.grd_pdschelist.currentrow >= 0 ) {
  2424. // 상단정보 설정
  2425. fsetHngBaseInfo(ds_main_pdschelist_pdscheinfo, "P");
  2426. }
  2427. // 예약등록 팝업
  2428. frmf_modal("SMMND03000", "SMMND03000", "", "", "1", xpos, ypos, "", "", "", "", "", "M");
  2429. //frmf_modal("SMMND05500", "SMMND05500", "", "", "1", xpos, ypos, "", "", "", "", "", "M");
  2430. fSrchPDList(); //복막투석 스케줄 조회
  2431. }
  2432. function group3_switch1_case2_group5_button1_onclick(obj:Button, e:ClickEventInfo) {
  2433. // T-Set관리현황 팝업
  2434. frmf_open("SMMND02600", "SMMND02600", "", "", "1", "1", "1", "", "", "", "", "", "M");
  2435. }
  2436. function group3_switch1_case2_grd_pdschelist_ontextchanged(obj:Grid, e:GridEditTextChangedEventInfo) {
  2437. var iRow = group3.switch1.case2.grd_pdschelist.row;
  2438. dsf_makeValue( ds_send_reqdata, "pid", "string", ds_main_pdschelist_pdscheinfo.getColumn(iRow, "pid"));
  2439. dsf_makeValue( ds_send_reqdata, "orddd", "string", ds_main_pdschelist_pdscheinfo.getColumn(iRow, "orddd"));
  2440. dsf_makeValue( ds_send_reqdata, "orddeptcd", "string", ds_main_pdschelist_pdscheinfo.getColumn(iRow, "orddeptcd"));
  2441. dsf_makeValue( ds_send_reqdata, "orddrid", "string", ds_main_pdschelist_pdscheinfo.getColumn(iRow, "orddrid"));
  2442. // if(submit("TRMNO00105")) {
  2443. var oParam = {};
  2444. oParam.id = "TRMNO00105";
  2445. oParam.service = "outcareapp.OutCareMngt";
  2446. oParam.method = "reqGetEbulStat";
  2447. oParam.inds = "opatref=ds_send_reqdata";
  2448. oParam.outds = "ds_main_ebulstat_ebulstat=ebulstat";
  2449. oParam.async = false;
  2450. oParam.callback = "cf_TRMNO00105";
  2451. tranf_submit(oParam);
  2452. if(arErrorCode.pop("TRMNO00105") > -1) {
  2453. var ebulstat = ds_main_ebulstat_ebulstat.getColumn(0, "ebulstat");
  2454. if(ds_main_pdschelist_pdscheinfo.getColumn(iRow, "elbulbodstat") == ebulstat) {
  2455. if(ebulstat == "2" ) {
  2456. sysf_messageBox("진료후에는 간호접수를 취소", "E001");
  2457. ds_main_pdschelist.setColumn( iRow , "acptyn", "true");
  2458. } else {
  2459. var stat;
  2460. var elbulbodstat;
  2461. var curdd = utlf_getCurrentDate();
  2462. var orddd = ds_main_pdschelist_pdscheinfo.getColumn(iRow, "orddd");
  2463. if(ebulstat == "1") {
  2464. if(curdd == orddd) {
  2465. dsf_makeValue( ds_send_reqdata, "elbulbodstat", "string", "0");
  2466. dsf_makeValue( ds_send_reqdata, "nursacptyn", "string", "N");
  2467. stat = "";
  2468. elbulbodstat = "0";
  2469. } else {
  2470. sysf_messageBox("과접수 취소를 ", "E001");
  2471. ds_main_pdschelist.setColumn( iRow , "acptyn", "true");
  2472. group3.switch1.case2.grd_pdschelist.rebuild();
  2473. }
  2474. } else {
  2475. if(curdd == orddd) {
  2476. dsf_makeValue( ds_send_reqdata, "elbulbodstat", "string", "1");
  2477. dsf_makeValue( ds_send_reqdata, "nursacptyn", "string", "Y");
  2478. stat ="대기";
  2479. elbulbodstat = "1";
  2480. } else {
  2481. sysf_messageBox("과접수를 ", "E001");
  2482. ds_main_pdschelist.setColumn( iRow , "acptyn", "false");
  2483. group3.switch1.case2.grd_pdschelist.rebuild();
  2484. return;
  2485. }
  2486. }
  2487. dsf_makeValue( ds_send_reqdata, "orddd", "string", ds_main_pdschelist_pdscheinfo.getColumn(iRow, "orddd"));
  2488. dsf_makeValue( ds_send_reqdata, "orddeptcd", "string", ds_main_pdschelist_pdscheinfo.getColumn(iRow, "orddeptcd"));
  2489. dsf_makeValue( ds_send_reqdata, "orddrid", "string", ds_main_pdschelist_pdscheinfo.getColumn(iRow, "orddrid"));
  2490. dsf_makeValue( ds_send_reqdata, "pid", "string", ds_main_pdschelist_pdscheinfo.getColumn(iRow, "pid"));
  2491. //if(submit("TXMNO00100")) {
  2492. var oParam = {};
  2493. oParam.id = "TXMNO00100";
  2494. oParam.service = "outcareapp.OutCareMngt";
  2495. oParam.method = "reqSetPatList";
  2496. oParam.inds = "opatref=ds_send_reqdata";
  2497. oParam.outds = "";
  2498. oParam.async = false;
  2499. oParam.callback = "cf_TXMNO00100";
  2500. tranf_submit(oParam);
  2501. if(arErrorCode.pop("TXMNO00100") > -1) {
  2502. ds_main_pdschelist.setColumn( iRow , "prcsflag", stat);
  2503. ds_main_pdschelist.setColumn( iRow , "elbulbodstat", elbulbodstat);
  2504. }
  2505. }
  2506. }
  2507. else {
  2508. sysf_messageBox("다시조회하겠습니다. 현재 전광판의 상태가 ", "E004");
  2509. group3.switch1.case1.group2.btn_srchhdpatinfo.dispatch("DOMActivate");
  2510. return;
  2511. }
  2512. }
  2513. }
  2514. function cf_TRMNO00105(sSvcId, nErrorCode, sErrorMsg) {
  2515. arErrorCode.push(sSvcId, nErrorCode);
  2516. }
  2517. function cf_TXMNO00100(sSvcId, nErrorCode, sErrorMsg) {
  2518. arErrorCode.push(sSvcId, nErrorCode);
  2519. }
  2520. function group3_switch1_case2_grd_pdschelist_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
  2521. if (e.row > -1) {
  2522. fsetHngBaseInfo(ds_main_pdschelist_pdscheinfo, "P");
  2523. //2012.08.14 by kya, 감염상세정보 보여주기
  2524. if (e.cell == group3.switch1.case2.grd_pdschelist.getBindCellIndex("body", "disp1")){
  2525. dsf_makeValue( ds_send, "infection", "string", "B");
  2526. var objArg = new Object();
  2527. objArg.arg_isolkind = ds_send.getColumn(0, "infection");
  2528. frmf_open("SPASB01600", "SPASB01600", objArg, "", "", "", "", "", "", "", "", "", "M");
  2529. }else if (e.cell == group3.switch2.case1.grd_pdschelist.getBindCellIndex("body", "disp2")){
  2530. dsf_makeValue( ds_send, "infection", "string", "C");
  2531. var objArg = new Object();
  2532. objArg.arg_isolkind = ds_send.getColumn(0, "infection");
  2533. frmf_open("SPASB01600", "SPASB01600", objArg, "", "", "", "", "", "", "", "", "", "M");
  2534. }else if (e.cell == group3.switch1.case2.grd_pdschelist.getBindCellIndex("body", "disp3")){
  2535. dsf_makeValue( ds_send, "infection", "string", "A");
  2536. var objArg = new Object();
  2537. objArg.arg_isolkind = ds_send.getColumn(0, "infection");
  2538. frmf_open("SPASB01600", "SPASB01600", objArg, "", "", "", "", "", "", "", "", "", "M");
  2539. }else if (e.col == group3.switch1.case2.grd_pdschelist.getBindCellIndex("body", "disp4")){
  2540. dsf_makeValue( ds_send, "infection", "string", "D");
  2541. var objArg = new Object();
  2542. objArg.arg_isolkind = ds_send.getColumn(0, "infection");
  2543. frmf_open("SPASB01600", "SPASB01600", objArg, "", "", "", "", "", "", "", "", "", "M");
  2544. }
  2545. }
  2546. }
  2547. function group3_switch1_case2_group8_button12_onclick(obj:Button, e:ClickEventInfo) {
  2548. fGetPatName();
  2549. group1.visible = false;
  2550. }
  2551. function group3_switch1_case2_group8_button13_onclick(obj:Button, e:ClickEventInfo) {
  2552. group3.switch1.case2.group8.visible = false;
  2553. }
  2554. function group3_switch1_case2_group8_radio1_onitemchanged(obj:Radio, e:ItemChangeEventInfo) {
  2555. }
  2556. function group3_group6_ipt_patcntctel_onkeyup(obj:MaskEdit, e:KeyEventInfo) {
  2557. if(e.keycode == 13)
  2558. {
  2559. frmf_inputEnterKey("group3.group6.btn_prtlabel", "onclick", new ClickEventInfo);
  2560. }
  2561. }
  2562. // function group3_group6_btn_prtlabel_onclick(obj:Button, e:ClickEventInfo) {
  2563. //
  2564. // var sDialFlag = ds_temp.getColumn(0, "dialflag");
  2565. // if(sDialFlag == "H"){ //혈액
  2566. // var row = ds_main_hdschelist_hdscheinfo.rowposition;
  2567. // var pid = ds_main_hdschelist_hdscheinfo.getColumn(row, "pid");
  2568. // var patnm = ds_main_hdschelist_hdscheinfo.getColumn(row, "hngnm");
  2569. // var sexage = ds_main_hdschelist_hdscheinfo.getColumn(row, "sexage");
  2570. // var rgstno = ds_main_hdschelist_hdscheinfo.getColumn(row, "rgstno");
  2571. // var ioflag = ds_main_hdschelist_hdscheinfo.getColumn(row, "histstat");
  2572. // var roomcd = "";
  2573. // if(ioflag == "O"){
  2574. // var orddd = ds_main_hdschelist_hdscheinfo.getColumn(row, "orddd");
  2575. // }else{
  2576. // var orddd = ds_main_hdschelist_hdscheinfo.getColumn(row, "indd");
  2577. // roomcd = ds_main_hdschelist_hdscheinfo.getColumn(row, "roomcd");
  2578. // }
  2579. // var orddeptnm = ds_main_hdschelist_hdscheinfo.getColumn(row, "orddeptnm");
  2580. // }else if(sDialFlag == "P"){ //복막
  2581. // var row = ds_main_pdschelist_pdscheinfo.rowposition;
  2582. // var pid = ds_main_pdschelist_pdscheinfo.getColumn(row, "pid");
  2583. // var patnm = ds_main_pdschelist_pdscheinfo.getColumn(row, "hngnm");
  2584. // var sexage = ds_main_pdschelist_pdscheinfo.getColumn(row, "sexage");
  2585. // var rgstno = ds_main_pdschelist_pdscheinfo.getColumn(row, "rgstno");
  2586. // var ioflag = ds_main_pdschelist_pdscheinfo.getColumn(row, "histstat");
  2587. // var roomcd = "";
  2588. // if(ioflag == "O"){
  2589. // var orddd = ds_main_pdschelist_pdscheinfo.getColumn(row, "orddd");
  2590. // }else{
  2591. // var orddd = ds_main_pdschelist_pdscheinfo.getColumn(row, "indd");
  2592. // roomcd = ds_main_pdschelist_pdscheinfo.getColumn(row, "roomcd");
  2593. // }
  2594. // var orddeptnm = ds_main_pdschelist_pdscheinfo.getColumn(row, "orddeptnm");
  2595. // }
  2596. //
  2597. //
  2598. // // 환자 정보 라벨 출력
  2599. // // fCarePatLabel(pid, patnm, sexage, rgstno, orddd, prtcnt, scrnid, barcdRef); // CareCom.js
  2600. // ds_barcdprntsetup.clearData();
  2601. // ds_barcdprntsetup.addRow();
  2602. // ds_barcdprntsetup.setColumn(0,"pid", pid);
  2603. // ds_barcdprntsetup.setColumn(0,"patnm", patnm);
  2604. // ds_barcdprntsetup.setColumn(0,"sexage", sexage);
  2605. // ds_barcdprntsetup.setColumn(0,"rgstno", rgstno);
  2606. // ds_barcdprntsetup.setColumn(0,"ioflag", ioflag);
  2607. // ds_barcdprntsetup.setColumn(0,"roomcd", roomcd);
  2608. // ds_barcdprntsetup.setColumn(0,"orddd", orddd);
  2609. // ds_barcdprntsetup.setColumn(0,"orddeptnm", orddeptnm);
  2610. //
  2611. // var prtcnt = group3.group6.ipt_patcntctel.value;
  2612. // trace("prtcnt = " + prtcnt);
  2613. //
  2614. // if(prtcnt > 0){
  2615. // var sOption = "copies=" + prtcnt;
  2616. // rptf_printRexbar("RPMND00200","","/root/BarCodeNode",ds_barcdprntsetup,"","", sOption); //인공신장실전용
  2617. // }
  2618. //
  2619. // group3.group6.visible = false;
  2620. //
  2621. // }
  2622. function lf_complete() {
  2623. this.setTimer(1,100);
  2624. }
  2625. function group3_group6_btn_prtlabel_onclick(obj:Button, e:ClickEventInfo) {
  2626. var sDialFlag = ds_temp.getColumn(0, "dialflag");
  2627. if(sDialFlag == "H"){ //혈액
  2628. var row = ds_main_hdschelist_hdscheinfo.rowposition;
  2629. var pid = ds_main_hdschelist_hdscheinfo.getColumn(row, "pid");
  2630. var patnm = ds_main_hdschelist_hdscheinfo.getColumn(row, "hngnm");
  2631. var sexage = ds_main_hdschelist_hdscheinfo.getColumn(row, "sexage");
  2632. var rgstno = ds_main_hdschelist_hdscheinfo.getColumn(row, "rgstno");
  2633. var ioflag = ds_main_hdschelist_hdscheinfo.getColumn(row, "histstat");
  2634. var roomcd = "";
  2635. if(ioflag == "O"){
  2636. var orddd = ds_main_hdschelist_hdscheinfo.getColumn(row, "orddd");
  2637. }else{
  2638. var orddd = ds_main_hdschelist_hdscheinfo.getColumn(row, "indd");
  2639. roomcd = ds_main_hdschelist_hdscheinfo.getColumn(row, "roomcd");
  2640. }
  2641. var orddeptnm = ds_main_hdschelist_hdscheinfo.getColumn(row, "orddeptnm");
  2642. }else if(sDialFlag == "P"){ //복막
  2643. var row = ds_main_pdschelist_pdscheinfo.rowposition;
  2644. var pid = ds_main_pdschelist_pdscheinfo.getColumn(row, "pid");
  2645. var patnm = ds_main_pdschelist_pdscheinfo.getColumn(row, "hngnm");
  2646. var sexage = ds_main_pdschelist_pdscheinfo.getColumn(row, "sexage");
  2647. var rgstno = ds_main_pdschelist_pdscheinfo.getColumn(row, "rgstno");
  2648. var ioflag = ds_main_pdschelist_pdscheinfo.getColumn(row, "histstat");
  2649. var roomcd = "";
  2650. if(ioflag == "O"){
  2651. var orddd = ds_main_pdschelist_pdscheinfo.getColumn(row, "orddd");
  2652. }else{
  2653. var orddd = ds_main_pdschelist_pdscheinfo.getColumn(row, "indd");
  2654. roomcd = ds_main_pdschelist_pdscheinfo.getColumn(row, "roomcd");
  2655. }
  2656. var orddeptnm = ds_main_pdschelist_pdscheinfo.getColumn(row, "orddeptnm");
  2657. }
  2658. var prtcnt = group3.group6.ipt_patcntctel.value;
  2659. // 환자 정보 라벨 출력
  2660. // fCarePatLabel(pid, patnm, sexage, rgstno, orddd, prtcnt, scrnid, barcdRef); // CareCom.js
  2661. if(prtcnt > 0){
  2662. //1. 바코드 라벨 설정값 조회
  2663. //var scrnid = "SMMNR00600";
  2664. var scrnid = "SMMNR00600";
  2665. ds_barcdprntsetup.clearData(); //CareCom에서 이 Dataset으로 사용하여 변경함.
  2666. fGetBarCodeInfo(scrnid); // CareCom.js
  2667. var pParamObj = new Object();
  2668. pParamObj.pathYN = "Y";
  2669. pParamObj.nullColumnYN = "Y";
  2670. var sXML = ds_barcdprntsetup.getColumn(0,"prntsetupinfo");
  2671. lf_convertXmlToDs(sXML,pParamObj);
  2672. //2. 바코드 라벨 환경설정
  2673. var barcdRef = "ds_barcdprntsetup";
  2674. lzzfMakeBrcdPrntObjHanDo("CommAX", barcdRef); //LZZ001.js
  2675. var portOpenTF = fSetNursBarcdInfo(barcdRef); // CareCom.js 바코드프린터별 환경설정(Zebra,SATO)
  2676. var sPrntKind = ds_data_setupinfo.getColumn(0,"prntkind");
  2677. var sCommKind = ds_data_setupinfo.getColumn(0,"commkind");
  2678. // trace("portOpenTF : "+portOpenTF+" / "+sCommKind);
  2679. if (portOpenTF != "TRUE" && sCommKind == "02" ){
  2680. portOpenTF = "TRUE";
  2681. }
  2682. //3. 환자라벨출력
  2683. //fPrtCarePatNameLabel(barcdRef, pid,roomcd, patnm, sexage, rgstno, orddd, orddeptnm, prtcnt, portOpenTF); //CareCom.js
  2684. ds_BarCodeNode.clearData();
  2685. ds_BarCodeNode.addRow();
  2686. ds_BarCodeNode.setColumn(0,"pid", pid);
  2687. ds_BarCodeNode.setColumn(0,"patnm", patnm);
  2688. ds_BarCodeNode.setColumn(0,"sexage", sexage);
  2689. ds_BarCodeNode.setColumn(0,"rgstno", rgstno);
  2690. ds_BarCodeNode.setColumn(0,"ioflag", ioflag);
  2691. ds_BarCodeNode.setColumn(0,"roomcd", roomcd);
  2692. ds_BarCodeNode.setColumn(0,"orddd", orddd);
  2693. ds_BarCodeNode.setColumn(0,"orddeptnm", orddeptnm);
  2694. var sOption = "copies=" + prtcnt;
  2695. rptf_printRexbar("RPMND00200","","/root/BarCodeNode",ds_BarCodeNode, "", "", sOption);
  2696. }
  2697. group3.group6.visible = false;
  2698. }
  2699. function group3_group6_button9_onclick(obj:Button, e:ClickEventInfo) {
  2700. dsf_makeValue( ds_main, "printcnt", "string", "1");
  2701. group3.group6.visible = false;
  2702. }
  2703. function group3_switch1_case1_grd_hdschelist_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
  2704. {
  2705. if(e.row >= 0 && e.col >= 0
  2706. && e.row < group3.switch1.case1.grd_hdschelist.rowcount
  2707. && e.col < group3.switch1.case1.grd_hdschelist.getFormatColCount() ) {
  2708. fSubMenu("H", e); // HD메인 오른쪽 버튼기능
  2709. return true;
  2710. }
  2711. }
  2712. function group3_switch1_case2_grd_pdschelist_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
  2713. {
  2714. if(e.row >= 0 && e.col >= 0
  2715. && e.row < group3.switch1.case2.grd_pdschelist.rowcount
  2716. && e.col < group3.switch1.case2.grd_pdschelist.getFormatColCount() ) {
  2717. fSubMenu("P", e); // PD메인 오른쪽 버튼기능
  2718. return true;
  2719. }
  2720. }
  2721. function SMMND00100_ontimer(obj:Form, e:TimerEventInfo)
  2722. {
  2723. if(e.timerid == 1) {
  2724. lf_onload();
  2725. }
  2726. }
  2727. function group3_switch1_case1_out_jeawon_oneditdblclick(obj:Edit, e:EditClickEventInfo)
  2728. {
  2729. //modal("SMMND05300"); //유지환자 중 입원환자리스트로 분기
  2730. frmf_modal("SMMND05300", "SMMND05300", "", "", "", "", "", "", "", "", "", "", "M");
  2731. }
  2732. function group3_switch1_case3_group5_btn_crrt_onclick(obj:Button, e:ClickEventInfo)
  2733. {
  2734. var xpos = e.screenX - 400;
  2735. var ypos = e.screenY ;
  2736. if(group3.switch1.case2.grd_pdschelist.currentrow >= 0 ) {
  2737. // 상단정보 설정
  2738. fsetHngBaseInfo(ds_main_pdschelist_pdscheinfo, "P");
  2739. }
  2740. // PD등록 팝업
  2741. var objArg = new Object();
  2742. objArg.arg_ds_temp = ds_main_paminfo_list;
  2743. frmf_modal("SMMND05400", "SMMND05400", objArg, "", "1", xpos, ypos, "", "", "", "", "", "M");
  2744. }
  2745. function group3_btn_crrtlist_onclick(obj:Button, e:ClickEventInfo)
  2746. {
  2747. lf_btn_Selected("btn_crrtlist");
  2748. group3.switch1.tabindex = 2;
  2749. fSrchCRRTList();
  2750. }
  2751. function group3_switch1_case3_group5_button2_onclick(obj:Button, e:ClickEventInfo)
  2752. {
  2753. fSrchCRRTList(); //복막투석 스케줄 조회
  2754. }
  2755. function group3_switch1_case3_group5_button8_onclick(obj:Button, e:ClickEventInfo)
  2756. {
  2757. var xpos = e.screenX - 400;
  2758. var ypos = e.screenY ;
  2759. if(group3.switch1.case2.grd_pdschelist.currentrow >= 0 ) {
  2760. // 상단정보 설정
  2761. fsetHngBaseInfo(ds_main_pdschelist_pdscheinfo, "P");
  2762. }
  2763. // 예약등록 팝업
  2764. frmf_modal("SMMND05500", "SMMND05500", "", "", "1", xpos, ypos, "", "", "", "", "", "M");
  2765. //fSrchPDList(); //복막투석 스케줄 조회
  2766. }
  2767. function group3_btn_print_onclick(obj:Button, e:ClickEventInfo)
  2768. {
  2769. //20101118_KNUH_김병국주석처리 수정
  2770. // 바코드 프린터 설정_20090521(ByJA)
  2771. var scrnid = "SMMND00100";
  2772. ds_barcdprntsetup.clearData();
  2773. fGetBarCodeInfo(scrnid); // CareCom.js
  2774. var objArg = new Object();
  2775. objArg.arg_sSetupInfo = ds_barcdprntsetup.getColumn(0,"prntsetupinfo");
  2776. frmf_open("SPZUR00300", "SPZUR00300", objArg, null, "","","", null, null, null, null, null, "M");
  2777. // modal("SPZUR00300" , "","","","","/root/main/barcdprntsetup/prntsetupinfo/setupinfo", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
  2778. }
  2779. function group3_switch1_case3_grd_pdschelist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  2780. {
  2781. if (e.row > -1) {
  2782. fsetHngBaseInfo(ds_main_pdschelist_pdscheinfo, "C");
  2783. //2012.08.14 by kya, 감염상세정보 보여주기
  2784. if (e.cell == group3.switch1.case3.grd_pdschelist.getBindCellIndex("body", "disp1")){
  2785. dsf_makeValue( ds_send, "infection", "string", "B");
  2786. var objArg = new Object();
  2787. objArg.arg_isolkind = ds_send.getColumn(0, "infection");
  2788. frmf_open("SPASB01600", "SPASB01600", objArg, "", "", "", "", "", "", "", "", "", "M");
  2789. }else if (e.cell == group3.switch1.case3.grd_pdschelist.getBindCellIndex("body", "disp2")){
  2790. dsf_makeValue( ds_send, "infection", "string", "C");
  2791. var objArg = new Object();
  2792. objArg.arg_isolkind = ds_send.getColumn(0, "infection");
  2793. frmf_open("SPASB01600", "SPASB01600", objArg, "", "", "", "", "", "", "", "", "", "M");
  2794. }else if (e.cell == group3.switch1.case3.grd_pdschelist.getBindCellIndex("body", "disp3")){
  2795. dsf_makeValue( ds_send, "infection", "string", "A");
  2796. var objArg = new Object();
  2797. objArg.arg_isolkind = ds_send.getColumn(0, "infection");
  2798. frmf_open("SPASB01600", "SPASB01600", objArg, "", "", "", "", "", "", "", "", "", "M");
  2799. }else if (e.col == group3.switch1.case3.grd_pdschelist.getBindCellIndex("body", "disp4")){
  2800. dsf_makeValue( ds_send, "infection", "string", "D");
  2801. var objArg = new Object();
  2802. objArg.arg_isolkind = ds_send.getColumn(0, "infection");
  2803. frmf_open("SPASB01600", "SPASB01600", objArg, "", "", "", "", "", "", "", "", "", "M");
  2804. }
  2805. }
  2806. }
  2807. ]]></Script>
  2808. </Form>
  2809. </FDL>