SMPMI00800_입원현황판.xfdl 118 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMPMI00800" position="absolute 0 0 1252 708" titletext="병실현황판" onload="SMPMI00800_onload" onkeydown="SMPMI00800_onkeydown" oninit="SMPMI00800_oninit">
  5. <Layouts>
  6. <Layout>
  7. <Button id="button3" taborder="2" onlbuttonup="button3_onlbuttonup" class="icon_bottom" position="absolute 1209 652 1235 672" anchor="left bottom" text="" positiontype="position" onclick="button3_onclick"/>
  8. <Button id="button4" taborder="3" onlbuttonup="button4_onlbuttonup" class="icon_top" position="absolute 1180 652 1206 672" anchor="left bottom" text="" positiontype="position" onclick="button4_onclick"/>
  9. <Button id="button7" taborder="22" class="icon_top" position="absolute 1180 652 1206 672" anchor="left bottom" text="" positiontype="position" onclick="button7_onclick"/>
  10. <Button id="button8" taborder="23" class="icon_bottom" position="absolute 1209 652 1235 672" anchor="left bottom" text="" positiontype="position" onclick="button8_onclick" visible="true" enable="false"/>
  11. <Shape id="roundrect2" type="roundrectangle" position="absolute 0 653 604 683" anchor="left bottom"/>
  12. <Shape id="rdt_rcpt" type="roundrectangle" position="absolute 640 653 793 683" anchor="left bottom"/>
  13. <Grid id="grd_allrsrv" taborder="4" useinputpanel="false" position="absolute 789 96 1235 506" binddataset="ds_grid_grd_allrsrv" positiontype="position" ondbclick="grd_allrsrv_ondbclick" oncelldblclick="grd_allrsrv_oncelldblclick" autofittype="col" anchor="default">
  14. <Formats>
  15. <Format id="default">
  16. <Columns>
  17. <Column size="80"/>
  18. <Column size="80"/>
  19. <Column size="100"/>
  20. <Column size="103"/>
  21. <Column size="0"/>
  22. </Columns>
  23. <Rows>
  24. <Row size="22" band="head"/>
  25. <Row size="20"/>
  26. </Rows>
  27. <Band id="head">
  28. <Cell text="환자번호"/>
  29. <Cell col="1" text="성명"/>
  30. <Cell col="2" text="진료과"/>
  31. <Cell col="3" text="접수일자"/>
  32. <Cell col="4" text="진료타입"/>
  33. </Band>
  34. <Band id="body">
  35. <Cell edittype="none" style="align:center;" text="bind:pid"/>
  36. <Cell col="1" edittype="none" style="align:left middle;" text="bind:hngnm"/>
  37. <Cell col="2" displaytype="combo" edittype="none" style="align:left middle;" text="bind:orddeptcd" combodataset="ds_init_orddeptcd" combocodecol="cd" combodatacol="nm"/>
  38. <Cell col="3" displaytype="date" edittype="none" style="align:center middle;" text="bind:acptdd" calendardisplaynulltype="none"/>
  39. <Cell col="4" edittype="none" style="align:center middle;" text="bind:ordtype"/>
  40. <Cell col="5"/>
  41. <Cell col="6"/>
  42. </Band>
  43. </Format>
  44. </Formats>
  45. </Grid>
  46. <Static id="caption2" text="현황판" class="tit_2" position="absolute 0 76 76 95" style="align:left top;" positiontype="position" anchor="default"/>
  47. <Grid id="grd_inprescondrefsum" taborder="5" useinputpanel="false" position="absolute 0 93 786 163" style="align:center middle;" binddataset="ds_grid_grd_inprescondrefsum" positiontype="position" anchor="default" cellsizingtype="col" autoenter="select" autofittype="col">
  48. <Formats>
  49. <Format id="default">
  50. <Columns>
  51. <Column size="67"/>
  52. <Column size="60"/>
  53. <Column size="60"/>
  54. <Column size="60"/>
  55. <Column size="60"/>
  56. <Column size="60"/>
  57. <Column size="60"/>
  58. <Column size="60"/>
  59. <Column size="62"/>
  60. <Column size="62"/>
  61. <Column size="60"/>
  62. <Column size="116"/>
  63. </Columns>
  64. <Rows>
  65. <Row size="22" band="head"/>
  66. <Row size="23"/>
  67. </Rows>
  68. <Band id="head">
  69. <Cell/>
  70. <Cell col="1" text="특실(VIP)"/>
  71. <Cell col="2" text="1인실"/>
  72. <Cell col="3" text="2인실"/>
  73. <Cell col="4" text="3인실"/>
  74. <Cell col="5" text="4인실"/>
  75. <Cell col="6" text="5인실"/>
  76. <Cell col="7" text="6인실"/>
  77. <Cell col="8" text="7인실"/>
  78. <Cell col="9" text="8인실"/>
  79. <Cell col="10" text="중환자실"/>
  80. <Cell col="11" text="총계"/>
  81. </Band>
  82. <Band id="body">
  83. <Cell celltype="head" edittype="none" text="bind:gubun"/>
  84. <Cell col="1" edittype="none" text="bind:roomgrdecd_no1"/>
  85. <Cell col="2" edittype="none" text="bind:roomgrdecd_no2"/>
  86. <Cell col="3" edittype="none" text="bind:roomgrdecd_no3"/>
  87. <Cell col="4" edittype="none" text="bind:roomgrdecd_no4"/>
  88. <Cell col="5" edittype="none" text="bind:roomgrdecd_no5"/>
  89. <Cell col="6" edittype="none" text="bind:roomgrdecd_no6"/>
  90. <Cell col="7" edittype="none" text="bind:roomgrdecd_no7"/>
  91. <Cell col="8" text="bind:roomgrdecd_no8"/>
  92. <Cell col="9" text="bind:roomgrdecd_no9"/>
  93. <Cell col="10" edittype="none" text="bind:roomgrdecd_no10"/>
  94. <Cell col="11" edittype="none" text="bind:totalcnt"/>
  95. </Band>
  96. </Format>
  97. </Formats>
  98. </Grid>
  99. <Static id="caption1" text="예약환자" class="tit_2" position="absolute 789 76 936 96" style="align:left top;" positiontype="position" anchor="default"/>
  100. <Static id="caption5" text="전과전실신청" class="tit_2" position="absolute 789 512 894 532" style="align:left top;" anchor="default" positiontype="position"/>
  101. <Combo id="combo1" taborder="14" position="absolute 1065 73 1235 93" anchor="default" positiontype="position" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="combo1_onitemchanged">
  102. <Dataset id="innerdataset">
  103. <ColumnInfo>
  104. <Column id="codecolumn" size="256"/>
  105. <Column id="datacolumn" size="256"/>
  106. </ColumnInfo>
  107. <Rows>
  108. <Row>
  109. <Col id="codecolumn">A</Col>
  110. <Col id="datacolumn">전체</Col>
  111. </Row>
  112. <Row>
  113. <Col id="codecolumn">T</Col>
  114. <Col id="datacolumn">입원예약</Col>
  115. </Row>
  116. <Row>
  117. <Col id="codecolumn">I</Col>
  118. <Col id="datacolumn">입원결정서</Col>
  119. </Row>
  120. <Row>
  121. <Col id="codecolumn">E</Col>
  122. <Col id="datacolumn">응급실입원결정서</Col>
  123. </Row>
  124. <Row>
  125. <Col id="codecolumn">D</Col>
  126. <Col id="datacolumn">DSC/CHEMO입원결정서</Col>
  127. </Row>
  128. <Row>
  129. <Col id="codecolumn">B</Col>
  130. <Col id="datacolumn">신생아변경리스트</Col>
  131. </Row>
  132. </Rows>
  133. </Dataset>
  134. </Combo>
  135. <Grid id="grd_babylist" taborder="15" useinputpanel="false" visible="false" position="absolute 789 96 1235 506" binddataset="ds_grid_grd_babylist" positiontype="position" ondbclick="grd_babylist_ondbclick" oncelldblclick="grd_babylist_oncelldblclick" anchor="default">
  136. <Formats>
  137. <Format id="default">
  138. <Columns>
  139. <Column size="55" band="left"/>
  140. <Column size="55" band="left"/>
  141. <Column size="75" band="left"/>
  142. <Column size="66"/>
  143. <Column size="97"/>
  144. <Column size="60"/>
  145. <Column size="80"/>
  146. <Column size="70"/>
  147. <Column size="80"/>
  148. <Column size="80"/>
  149. <Column size="0"/>
  150. </Columns>
  151. <Rows>
  152. <Row size="22" band="head"/>
  153. <Row size="20"/>
  154. </Rows>
  155. <Band id="head">
  156. <Cell text="환자번호"/>
  157. <Cell col="1" text="성명"/>
  158. <Cell col="2" text="입원일자"/>
  159. <Cell col="3" text="주/부유형"/>
  160. <Cell col="4" text="진료과"/>
  161. <Cell col="5" text="담당교수"/>
  162. <Cell col="6" text="병동"/>
  163. <Cell col="7" text="병실"/>
  164. <Cell col="8" text="병실등급"/>
  165. <Cell col="9" text="병실형태"/>
  166. <Cell col="10" text="생성번호"/>
  167. </Band>
  168. <Band id="body">
  169. <Cell text="bind:icdr_pid"/>
  170. <Cell col="1" style="align:left middle;" text="bind:icdr_hngnm"/>
  171. <Cell col="2" displaytype="date" text="bind:icdr_indd" calendardisplaynulltype="none"/>
  172. <Cell col="3" displaytype="combo" edittype="combo" text="bind:icdr_mskind" combodataset="ds_initZ_P0006" combocodecol="cdid" combodatacol="cdnm"/>
  173. <Cell col="4" displaytype="combo" edittype="combo" text="bind:icdr_orddeptcd" combodataset="ds_init_orddeptcd" combocodecol="cd" combodatacol="nm"/>
  174. <Cell col="5" displaytype="combo" edittype="combo" text="bind:icdr_medispclid" combodataset="ds_init_orddrid" combocodecol="cd" combodatacol="nm"/>
  175. <Cell col="6" displaytype="combo" edittype="combo" text="bind:icdr_wardcd" combodataset="ds_init_wardcd" combocodecol="cd" combodatacol="nm"/>
  176. <Cell col="7" text="bind:icdr_roomcd" combodataset="ds_init_roomcd" combocodecol="cd" combodatacol="nm"/>
  177. <Cell col="8" displaytype="combo" edittype="combo" text="bind:icdr_roomgrdecd" combodataset="ds_init_roomgrdecd" combocodecol="cd" combodatacol="nm"/>
  178. <Cell col="9" displaytype="combo" edittype="combo" text="bind:icdr_roomtypecd" combodataset="ds_init_roomtypecd" combocodecol="cd" combodatacol="nm"/>
  179. <Cell col="10" text="bind:icdr_cretno"/>
  180. <Cell col="11"/>
  181. <Cell col="12"/>
  182. </Band>
  183. </Format>
  184. </Formats>
  185. </Grid>
  186. <Grid id="grd_chngdeptroomlist" taborder="16" useinputpanel="false" position="absolute 789 529 1235 650" style="align:center middle;" anchor="left top bottom" binddataset="ds_grid_grd_chngdeptroomlist" positiontype="position" ondbclick="grd_chngdeptroomlist_ondbclick" oncelldblclick="grd_chngdeptroomlist_oncelldblclick">
  187. <Formats>
  188. <Format id="default">
  189. <Columns>
  190. <Column size="29" band="left"/>
  191. <Column size="89" band="left"/>
  192. <Column size="63" band="left"/>
  193. <Column size="33"/>
  194. <Column size="50"/>
  195. <Column size="40"/>
  196. <Column size="53"/>
  197. <Column size="51"/>
  198. <Column size="50"/>
  199. <Column size="40"/>
  200. <Column size="53"/>
  201. <Column size="50"/>
  202. <Column size="70"/>
  203. <Column size="40"/>
  204. </Columns>
  205. <Rows>
  206. <Row size="22" band="head"/>
  207. <Row size="22" band="head"/>
  208. <Row size="20"/>
  209. </Rows>
  210. <Band id="head">
  211. <Cell rowspan="2" taborder="undefined"/>
  212. <Cell col="1" rowspan="2" text="환자번호"/>
  213. <Cell col="2" rowspan="2" text="성명"/>
  214. <Cell col="3" rowspan="2" text="구분"/>
  215. <Cell col="4" colspan="4" text="From"/>
  216. <Cell col="8" colspan="4" text="To"/>
  217. <Cell col="12" rowspan="2" text="신청일자"/>
  218. <Cell col="13" rowspan="2" text="신청&#10;시간"/>
  219. <Cell row="1" col="4" text="병동"/>
  220. <Cell row="1" col="5" text="병실"/>
  221. <Cell row="1" col="6" text="과"/>
  222. <Cell row="1" col="7" text="담당교수"/>
  223. <Cell row="1" col="8" text="병동"/>
  224. <Cell row="1" col="9" text="병실"/>
  225. <Cell row="1" col="10" text="과"/>
  226. <Cell row="1" col="11" text="담당교수"/>
  227. </Band>
  228. <Band id="body">
  229. <Cell celltype="head" expr="currow+1"/>
  230. <Cell col="1" style="align:center middle;" text="bind:pid"/>
  231. <Cell col="2" style="align:center middle;" text="bind:hngnm"/>
  232. <Cell col="3" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:appflagcd" combodataset="ds_init_appflag" combocodecol="value" combodatacol="label"/>
  233. <Cell col="4" displaytype="combo" edittype="combo" style="align:center top;padding:5 2 3 2;" text="bind:prestwardcd" wordwrap="word" combodataset="ds_init_wardcd" combocodecol="cd" combodatacol="nm"/>
  234. <Cell col="5" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:prestroomcd" combodataset="ds_init_roomcd" combocodecol="cd" combodatacol="nm"/>
  235. <Cell col="6" displaytype="combo" edittype="combo" style="align:center top;padding:5 2 3 2;" text="bind:prestorddeptcd" wordwrap="word" combodataset="ds_init_orddeptcd" combocodecol="cd" combodatacol="nm"/>
  236. <Cell col="7" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:prestmedispclid" combodataset="ds_init_orddrid" combocodecol="cd" combodatacol="nm"/>
  237. <Cell col="8" displaytype="combo" edittype="combo" style="align:center top;padding:5 2 3 2;" text="bind:chngwardcd" wordwrap="word" combodataset="ds_init_wardcd" combocodecol="cd" combodatacol="nm"/>
  238. <Cell col="9" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:chngroomcd" combodataset="ds_init_roomcd" combocodecol="cd" combodatacol="nm"/>
  239. <Cell col="10" displaytype="combo" edittype="combo" style="align:center top;padding:5 2 3 2;" text="bind:chngorddeptcd" wordwrap="word" combodataset="ds_init_orddeptcd" combocodecol="cd" combodatacol="nm"/>
  240. <Cell col="11" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:chngmedispclid" combodataset="ds_init_orddrid" combocodecol="cd" combodatacol="nm"/>
  241. <Cell col="12" displaytype="date" style="align:center middle;" text="bind:appdd" calendardisplaynulltype="none"/>
  242. <Cell col="13" style="align:center middle;" text="bind:apptm" mask="##:##" maskchar=" "/>
  243. <Cell col="14"/>
  244. <Cell col="15"/>
  245. </Band>
  246. </Format>
  247. </Formats>
  248. </Grid>
  249. <Button id="button2" taborder="17" class="icon_left" position="absolute 733 72 759 92" text="" positiontype="position" onclick="button2_onclick" anchor="default" visible="true" enable="false"/>
  250. <Button id="button5" taborder="18" class="icon_right" position="absolute 760 72 786 92" text="" positiontype="position" onclick="button5_onclick" anchor="default"/>
  251. <CheckBox id="chk_aprv" taborder="19" text="전과전실승인" truevalue="Y" position="absolute 965 73 1057 93" anchor="default" positiontype="position" onchanged="chk_aprv_onchanged" visible="false"/>
  252. <Grid id="grd_inhpdeci" taborder="20" useinputpanel="false" position="absolute 789 96 1235 506" visible="false" binddataset="ds_grid_grd_inhpdeci" positiontype="position" ondbclick="grd_inhpdeci_ondbclick" onbuttondown="grd_inhpdeci_onbuttondown" oncelldblclick="grd_inhpdeci_oncelldblclick" anchor="default" onrbuttondown="grd_inhpdeci_onrbuttondown">
  253. <Formats>
  254. <Format id="default">
  255. <Columns>
  256. <Column size="60" band="left"/>
  257. <Column size="82" band="left"/>
  258. <Column size="40"/>
  259. <Column size="115"/>
  260. <Column size="80"/>
  261. <Column size="80"/>
  262. <Column size="32"/>
  263. <Column size="40"/>
  264. <Column size="60"/>
  265. <Column size="80"/>
  266. <Column size="80"/>
  267. <Column size="60"/>
  268. <Column size="90"/>
  269. <Column size="70"/>
  270. <Column size="90"/>
  271. <Column size="60"/>
  272. <Column size="90"/>
  273. <Column size="110"/>
  274. <Column size="110"/>
  275. <Column size="200"/>
  276. <Column size="200"/>
  277. <Column size="70"/>
  278. <Column size="40"/>
  279. <Column size="50"/>
  280. <Column size="50"/>
  281. <Column size="85"/>
  282. <Column size="0"/>
  283. <Column size="0"/>
  284. </Columns>
  285. <Rows>
  286. <Row size="22" band="head"/>
  287. <Row size="20"/>
  288. </Rows>
  289. <Band id="head">
  290. <Cell text="환자번호"/>
  291. <Cell col="1" text="성명"/>
  292. <Cell col="2" text="성별"/>
  293. <Cell col="3" text="병실형태"/>
  294. <Cell col="4" text="입원예정일"/>
  295. <Cell col="5" text="진료과"/>
  296. <Cell col="6" text="번호"/>
  297. <Cell col="7" text="시간"/>
  298. <Cell col="8" text="환자유형"/>
  299. <Cell col="9" text="지시의사"/>
  300. <Cell col="10" text="지시일자"/>
  301. <Cell col="11" text="담당교수"/>
  302. <Cell col="12" text="환자희망입원일"/>
  303. <Cell col="13" text="접수일자"/>
  304. <Cell col="14" text="승인병동"/>
  305. <Cell col="15" text="승인병실"/>
  306. <Cell col="16" text="희망병동"/>
  307. <Cell col="17" text="희망병실등급FROM"/>
  308. <Cell col="18" text="희망병실등급TO"/>
  309. <Cell col="19" text="진료 참고사항"/>
  310. <Cell col="20" text="원무 참고사항"/>
  311. <Cell col="21" text="입원일자"/>
  312. <Cell col="22" text="시간"/>
  313. <Cell col="23" text="O2여부"/>
  314. <Cell col="24" text="Suction"/>
  315. <Cell col="25" text="예상입원기간"/>
  316. <Cell col="26" text="erreglyn"/>
  317. <Cell col="27" text="rsrvprcsstat"/>
  318. </Band>
  319. <Band id="body">
  320. <Cell edittype="none" style="align:center middle;" text="bind:pid"/>
  321. <Cell col="1" edittype="none" style="align:left middle;" text="bind:hngnm"/>
  322. <Cell col="2" text="bind:sexnm"/>
  323. <Cell col="3" displaytype="combo" edittype="none" style="align:left middle;" text="bind:assgroomtype" combodataset="ds_init_roomtypecd" combocodecol="cd" combodatacol="nm"/>
  324. <Cell col="4" displaytype="date" edittype="none" style="align:center middle;" text="bind:inhopedd" calendardisplaynulltype="none"/>
  325. <Cell col="5" displaytype="combo" edittype="none" style="align:left middle;" text="bind:orddeptcd" combodataset="ds_init_orddeptcd" combocodecol="cd" combodatacol="nm" combodisplaynulltype="nulltext"/>
  326. <Cell col="6" edittype="none" style="align:center middle;" text="bind:inrsrvacptseqno"/>
  327. <Cell col="7" edittype="none" style="align:center middle;" text="bind:inrsrvacpttm" mask="##:##"/>
  328. <Cell col="8" displaytype="combo" edittype="none" style="align:center middle;" text="bind:insukind" combodataset="ds_init_insukind" combocodecol="cd" combodatacol="nm"/>
  329. <Cell col="9" displaytype="combo" edittype="none" style="align:center middle;" text="bind:indirecdrid" combodataset="ds_init_orddrid" combocodecol="cd" combodatacol="nm"/>
  330. <Cell col="10" displaytype="date" edittype="none" style="align:center middle;" text="bind:indirecdd" calendardisplaynulltype="none"/>
  331. <Cell col="11" displaytype="combo" edittype="none" style="align:center middle;" text="bind:orddrid" combodataset="ds_init_orddrid" combocodecol="cd" combodatacol="nm"/>
  332. <Cell col="12" displaytype="date" edittype="none" style="align:center middle;" text="bind:patinhopedd" calendardisplaynulltype="none"/>
  333. <Cell col="13" displaytype="date" edittype="none" style="align:center middle;" text="bind:inrsrvacptdd" calendardisplaynulltype="none"/>
  334. <Cell col="14" displaytype="combo" edittype="none" style="align:center middle;" text="bind:chngwardcd" combodataset="ds_init_wardcd" combocodecol="cd" combodatacol="nm"/>
  335. <Cell col="15" edittype="none" style="align:center middle;" text="bind:chngroomcd" combodataset="ds_init_roomcd" combocodecol="cd" combodatacol="nm"/>
  336. <Cell col="16" displaytype="combo" edittype="none" style="align:center middle;" text="bind:inhopeward" combodataset="ds_init_wardcd" combocodecol="cd" combodatacol="nm"/>
  337. <Cell col="17" displaytype="combo" edittype="none" style="align:center middle;" text="bind:inhoperoomgrdefrom" combodataset="ds_init_roomgrdecd" combocodecol="cd" combodatacol="nm"/>
  338. <Cell col="18" displaytype="combo" edittype="none" style="align:center middle;" text="bind:inhoperoomgrdeto" combodataset="ds_init_roomgrdecd" combocodecol="cd" combodatacol="nm"/>
  339. <Cell col="19" displaytype="normal" edittype="none" style="align:center middle;" text="bind:drrem"/>
  340. <Cell col="20" edittype="none" style="align:center middle;" text="bind:inrsrvrem"/>
  341. <Cell col="21" displaytype="date" edittype="none" style="align:center middle;" text="bind:indd" calendardisplaynulltype="none"/>
  342. <Cell col="22" edittype="none" style="align:center middle;" text="bind:intm" mask="##:##"/>
  343. <Cell col="23" displaytype="combo" edittype="none" style="align:center middle;" text="bind:oxyyn"/>
  344. <Cell col="24" displaytype="combo" edittype="none" style="align:center middle;" text="bind:suctyn"/>
  345. <Cell col="25" edittype="none" style="align:center middle;" text="bind:fcstinterm"/>
  346. <Cell col="26" text="bind:erreglyn"/>
  347. <Cell col="27" text="bind:rsrvprcsstat"/>
  348. <Cell col="28"/>
  349. <Cell col="29"/>
  350. <Cell col="30"/>
  351. <Cell col="31"/>
  352. </Band>
  353. </Format>
  354. </Formats>
  355. </Grid>
  356. <Grid id="grd_inprescondrefrsrv" taborder="21" useinputpanel="false" position="absolute 789 95 1235 505" anchor="default" binddataset="ds_grid_grd_inprescondrefrsrv" positiontype="position" ondbclick="grd_inprescondrefrsrv_ondbclick" onbuttondown="grd_inprescondrefrsrv_onbuttondown" oncellclick="grd_inprescondrefrsrv_oncellclick" onrbuttondown="grd_inprescondrefrsrv_onrbuttondown">
  357. <Formats>
  358. <Format id="default">
  359. <Columns>
  360. <Column size="25" band="left"/>
  361. <Column size="25" band="left"/>
  362. <Column size="68" band="left"/>
  363. <Column size="73" band="left"/>
  364. <Column size="28"/>
  365. <Column size="75"/>
  366. <Column size="77"/>
  367. <Column size="43"/>
  368. <Column size="85"/>
  369. <Column size="66"/>
  370. <Column size="66"/>
  371. <Column size="109"/>
  372. <Column size="80"/>
  373. <Column size="83"/>
  374. <Column size="85"/>
  375. <Column size="85"/>
  376. <Column size="50"/>
  377. <Column size="50"/>
  378. <Column size="50"/>
  379. <Column size="55"/>
  380. <Column size="0"/>
  381. <Column size="0"/>
  382. </Columns>
  383. <Rows>
  384. <Row size="22" band="head"/>
  385. <Row size="20"/>
  386. </Rows>
  387. <Band id="head">
  388. <Cell/>
  389. <Cell col="1"/>
  390. <Cell col="2" text="환자번호"/>
  391. <Cell col="3" text="성명"/>
  392. <Cell col="4" text="나이"/>
  393. <Cell col="5" text="수술예정일"/>
  394. <Cell col="6" text="접수일자"/>
  395. <Cell col="7" text="예약"/>
  396. <Cell col="8" text="진료과"/>
  397. <Cell col="9" text="배정병동"/>
  398. <Cell col="10" text="배정병실"/>
  399. <Cell col="11" text="배정병실등급"/>
  400. <Cell col="12" text="배정병실형태"/>
  401. <Cell col="13" text="희망병동"/>
  402. <Cell col="14" text="희망등급From"/>
  403. <Cell col="15" text="희망등급To"/>
  404. <Cell col="16" text="격리실"/>
  405. <Cell col="17" text="O2"/>
  406. <Cell col="18" text="Suction"/>
  407. <Cell col="19" text="노블레스"/>
  408. <Cell col="20" text="caption1"/>
  409. <Cell col="21" text="caption2"/>
  410. </Band>
  411. <Band id="body">
  412. <Cell celltype="head" expr="expr:currow + 1"/>
  413. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chk"/>
  414. <Cell col="2" edittype="none" style="align:left middle;color:EXPR(lf_grd_inprescondrefrsrv_Color(currow));color2:EXPR(lf_grd_inprescondrefrsrv_Color(currow));" text="bind:pid"/>
  415. <Cell col="3" edittype="none" style="align:left middle;color:EXPR(lf_grd_inprescondrefrsrv_Color(currow));color2:EXPR(lf_grd_inprescondrefrsrv_Color(currow));" text="bind:hngnm"/>
  416. <Cell col="4" style="color:EXPR(lf_grd_inprescondrefrsrv_Color(currow));color2:EXPR(lf_grd_inprescondrefrsrv_Color(currow));" text="bind:age"/>
  417. <Cell col="5" displaytype="date" edittype="none" style="align:center middle;color:EXPR(lf_grd_inprescondrefrsrv_Color(currow));color2:EXPR(lf_grd_inprescondrefrsrv_Color(currow));" text="bind:scheopdd" calendardisplaynulltype="none"/>
  418. <Cell col="6" displaytype="date" edittype="none" style="align:center middle;color:EXPR(lf_grd_inprescondrefrsrv_Color(currow));color2:EXPR(lf_grd_inprescondrefrsrv_Color(currow));" text="bind:inrsrvacptdd" calendardisplaynulltype="none"/>
  419. <Cell col="7" displaytype="combo" edittype="none" style="align:center middle;color:EXPR(lf_grd_inprescondrefrsrv_Color(currow));color2:EXPR(lf_grd_inprescondrefrsrv_Color(currow));" text="bind:inrsrvstat" combodataset="ds_initZ_P0017" combocodecol="cdid" combodatacol="cdnm"/>
  420. <Cell col="8" displaytype="combo" edittype="none" style="align:left middle;color:EXPR(lf_grd_inprescondrefrsrv_Color(currow));color2:EXPR(lf_grd_inprescondrefrsrv_Color(currow));" text="bind:orddeptcd" combodataset="ds_init_orddeptcd" combocodecol="cd" combodatacol="nm"/>
  421. <Cell col="9" displaytype="combo" edittype="none" style="align:center middle;color:EXPR(lf_grd_inprescondrefrsrv_Color(currow));color2:EXPR(lf_grd_inprescondrefrsrv_Color(currow));" text="bind:assgward" combodataset="ds_init_wardcd" combocodecol="cd" combodatacol="nm"/>
  422. <Cell col="10" displaytype="combo" edittype="none" style="align:center middle;color:EXPR(lf_grd_inprescondrefrsrv_Color(currow));color2:EXPR(lf_grd_inprescondrefrsrv_Color(currow));" text="bind:assgroom" combodataset="ds_init_roomcd" combocodecol="cd" combodatacol="nm"/>
  423. <Cell col="11" displaytype="combo" edittype="none" style="align:center middle;color:EXPR(lf_grd_inprescondrefrsrv_Color(currow));color2:EXPR(lf_grd_inprescondrefrsrv_Color(currow));" text="bind:assgroomgrde" combodataset="ds_init_roomgrdecd" combocodecol="cd" combodatacol="nm"/>
  424. <Cell col="12" displaytype="combo" edittype="none" style="align:center middle;color:EXPR(lf_grd_inprescondrefrsrv_Color(currow));color2:EXPR(lf_grd_inprescondrefrsrv_Color(currow));" text="bind:assgroomtype" combodataset="ds_init_roomtypecd" combocodecol="cd" combodatacol="nm"/>
  425. <Cell col="13" displaytype="combo" edittype="none" style="align:center middle;color:EXPR(lf_grd_inprescondrefrsrv_Color(currow));color2:EXPR(lf_grd_inprescondrefrsrv_Color(currow));" text="bind:inhopeward" combodataset="ds_init_wardcd" combocodecol="cd" combodatacol="nm"/>
  426. <Cell col="14" displaytype="combo" edittype="none" style="align:center middle;color:EXPR(lf_grd_inprescondrefrsrv_Color(currow));color2:EXPR(lf_grd_inprescondrefrsrv_Color(currow));" text="bind:inhoperoomgrdefrom" combodataset="ds_init_roomgrdecd" combocodecol="cd" combodatacol="nm"/>
  427. <Cell col="15" displaytype="combo" edittype="none" style="align:center middle;color:EXPR(lf_grd_inprescondrefrsrv_Color(currow));color2:EXPR(lf_grd_inprescondrefrsrv_Color(currow));" text="bind:inhoperoomgrdeto" combodataset="ds_init_roomgrdecd" combocodecol="cd" combodatacol="nm"/>
  428. <Cell col="16" displaytype="combo" edittype="none" style="align:center middle;color:EXPR(lf_grd_inprescondrefrsrv_Color(currow));color2:EXPR(lf_grd_inprescondrefrsrv_Color(currow));" text="bind:isolroomyn" combodataset="ds_initZ_P0170" combocodecol="cdid" combodatacol="cdnm"/>
  429. <Cell col="17" displaytype="normal" edittype="none" style="align:center middle;color:EXPR(lf_grd_inprescondrefrsrv_Color(currow));color2:EXPR(lf_grd_inprescondrefrsrv_Color(currow));" text="bind:oxyyn"/>
  430. <Cell col="18" displaytype="normal" edittype="none" style="align:center middle;color:EXPR(lf_grd_inprescondrefrsrv_Color(currow));color2:EXPR(lf_grd_inprescondrefrsrv_Color(currow));" text="bind:suctyn"/>
  431. <Cell col="19" displaytype="normal" edittype="none" style="align:center middle;color:EXPR(lf_grd_inprescondrefrsrv_Color(currow));color2:EXPR(lf_grd_inprescondrefrsrv_Color(currow));" text="bind:nblsyn"/>
  432. <Cell col="20" text="bind:inrsrvacptseqno"/>
  433. <Cell col="21" text="bind:erreglyn"/>
  434. <Cell col="22"/>
  435. <Cell col="23"/>
  436. <Cell col="24"/>
  437. <Cell col="25"/>
  438. <Cell col="26"/>
  439. </Band>
  440. </Format>
  441. </Formats>
  442. </Grid>
  443. <Static id="caption24" text="예약환자" position="absolute 1172 508 1228 528" style="align:center middle;" anchor="default" positiontype="position"/>
  444. <Static id="caption25" text="결정서환자" position="absolute 1083 508 1145 528" style="align:center middle;" anchor="default" positiontype="position"/>
  445. <Static id="caption9" class="color_5" position="absolute 1064 510 1079 525" style="background:#cc3300ff;align:center middle;" anchor="default" positiontype="position"/>
  446. <Static id="caption19" class="color_6" position="absolute 1158 509 1173 524" style="background:black;align:center middle;" anchor="default" positiontype="position"/>
  447. <Button id="btn_init" taborder="26" text="초기화" class="btn4" visible="false" position="absolute 1090 685 1159 705" anchor="left bottom" positiontype="position" onclick="btn_init_onclick"/>
  448. <Button id="btn_roomassg" taborder="27" text="병실배정" class="btn3" position="absolute 85 685 167 705" anchor="left bottom" positiontype="position" onclick="btn_roomassg_onclick"/>
  449. <Button id="btn_inrgst" taborder="28" text="입원등록" class="btn3" position="absolute 170 685 252 705" anchor="left bottom" positiontype="position" onclick="btn_inrgst_onclick"/>
  450. <Button id="btn_inhospupdt" taborder="29" text="재원변경" class="btn3" position="absolute 255 685 337 705" anchor="left bottom" positiontype="position" onclick="btn_inhospupdt_onclick"/>
  451. <Button id="btn_inrsrv" taborder="30" text="입원예약" class="btn3" position="absolute 0 685 82 705" anchor="left bottom" positiontype="position" onclick="btn_inrsrv_onclick"/>
  452. <Button id="btn_roompatinfo" taborder="31" text="병실환자정보" class="btn3" position="absolute 614 685 722 705" anchor="left bottom" positiontype="position" onclick="btn_roompatinfo_onclick"/>
  453. <Button id="btn_chngdeptroomaprv" taborder="32" text="전과전실승인" class="btn3" position="absolute 340 685 448 705" anchor="left bottom" positiontype="position" onclick="btn_chngdeptroomaprv_onclick"/>
  454. <Button id="button1" taborder="33" text="전과전실신청승인조회" class="btn3" position="absolute 451 685 611 705" anchor="left bottom" positiontype="position" onclick="button1_onclick"/>
  455. <Button id="btn_SMASB02100" taborder="34" text="격리병실신청현황" class="btn3" position="absolute 725 685 859 705" anchor="left bottom" visible="true" positiontype="position" onclick="btn_SMASB02100_onclick"/>
  456. <Button id="button6" taborder="35" text="병동매니저관리" class="btn3" position="absolute 862 685 983 705" anchor="left bottom" positiontype="position" onclick="button6_onclick"/>
  457. <PopupMenu id="inprescondrefrsrv_popup" position="absolute 940 206 1076 272" captioncolumn="captioncolumn" enablecolumn="enablecolumn" idcolumn="idcolumn" levelcolumn="levelcolumn" userdatacolumn="userdatacolumn" iconcolumn="iconcolumn" checkboxcolumn="checkboxcolumn" hotkeycolumn="hotkeycolumn" onmenuclick="inprescondrefrsrv_popup_onmenuclick" anchor="default">
  458. <Dataset id="innerdataset">
  459. <ColumnInfo>
  460. <Column id="idcolumn" size="256"/>
  461. <Column id="captioncolumn" size="256"/>
  462. <Column id="levelcolumn" size="256"/>
  463. <Column id="enablecolumn" size="256"/>
  464. <Column id="iconcolumn" size="256"/>
  465. <Column id="checkboxcolumn" size="256"/>
  466. <Column id="hotkeycolumn" size="256"/>
  467. <Column id="userdatacolumn" size="256"/>
  468. </ColumnInfo>
  469. <Rows>
  470. <Row>
  471. <Col id="idcolumn">ER</Col>
  472. <Col id="captioncolumn">ER로전환</Col>
  473. <Col id="levelcolumn"/>
  474. <Col id="enablecolumn"/>
  475. <Col id="iconcolumn"/>
  476. <Col id="checkboxcolumn"/>
  477. <Col id="hotkeycolumn"/>
  478. <Col id="userdatacolumn"/>
  479. </Row>
  480. <Row>
  481. <Col id="idcolumn">SDW</Col>
  482. <Col id="captioncolumn">SDW/CHEMO로전환</Col>
  483. <Col id="levelcolumn"/>
  484. <Col id="enablecolumn"/>
  485. <Col id="iconcolumn"/>
  486. <Col id="checkboxcolumn"/>
  487. <Col id="hotkeycolumn"/>
  488. <Col id="userdatacolumn"/>
  489. </Row>
  490. <Row>
  491. <Col id="idcolumn">D</Col>
  492. <Col id="captioncolumn">삭제</Col>
  493. <Col id="levelcolumn"/>
  494. <Col id="enablecolumn"/>
  495. <Col id="iconcolumn"/>
  496. <Col id="checkboxcolumn"/>
  497. <Col id="hotkeycolumn"/>
  498. <Col id="userdatacolumn"/>
  499. </Row>
  500. </Rows>
  501. </Dataset>
  502. </PopupMenu>
  503. <PopupMenu id="inhpdeci_popup" position="absolute 822 119 961 207" idcolumn="idcolumn" captioncolumn="captioncolumn" levelcolumn="levelcolumn" enablecolumn="enablecolumn" iconcolumn="iconcolumn" checkboxcolumn="checkboxcolumn" hotkeycolumn="hotkeycolumn" userdatacolumn="userdatacolumn" onmenuclick="inhpdeci_popup_onmenuclick" anchor="default">
  504. <Dataset id="innerdataset">
  505. <ColumnInfo>
  506. <Column id="idcolumn" size="256"/>
  507. <Column id="captioncolumn" size="256"/>
  508. <Column id="levelcolumn" size="256"/>
  509. <Column id="enablecolumn" size="256"/>
  510. <Column id="iconcolumn" size="256"/>
  511. <Column id="checkboxcolumn" size="256"/>
  512. <Column id="hotkeycolumn" size="256"/>
  513. <Column id="userdatacolumn" size="256"/>
  514. </ColumnInfo>
  515. <Rows>
  516. <Row>
  517. <Col id="idcolumn">O</Col>
  518. <Col id="captioncolumn">외래로전환</Col>
  519. <Col id="levelcolumn"/>
  520. <Col id="enablecolumn"/>
  521. <Col id="iconcolumn"/>
  522. <Col id="checkboxcolumn"/>
  523. <Col id="hotkeycolumn"/>
  524. <Col id="userdatacolumn"/>
  525. </Row>
  526. <Row>
  527. <Col id="idcolumn">SDW</Col>
  528. <Col id="captioncolumn">SDW/CHEMO로전환</Col>
  529. <Col id="levelcolumn"/>
  530. <Col id="enablecolumn"/>
  531. <Col id="iconcolumn"/>
  532. <Col id="checkboxcolumn"/>
  533. <Col id="hotkeycolumn"/>
  534. <Col id="userdatacolumn"/>
  535. </Row>
  536. <Row>
  537. <Col id="idcolumn">D</Col>
  538. <Col id="captioncolumn">삭제</Col>
  539. <Col id="levelcolumn"/>
  540. <Col id="enablecolumn"/>
  541. <Col id="iconcolumn"/>
  542. <Col id="checkboxcolumn"/>
  543. <Col id="hotkeycolumn"/>
  544. <Col id="userdatacolumn"/>
  545. </Row>
  546. <Row>
  547. <Col id="idcolumn">PRCS</Col>
  548. <Col id="captioncolumn">입원수속보완/완료</Col>
  549. <Col id="levelcolumn"/>
  550. <Col id="enablecolumn"/>
  551. <Col id="iconcolumn"/>
  552. <Col id="checkboxcolumn"/>
  553. <Col id="hotkeycolumn"/>
  554. <Col id="userdatacolumn"/>
  555. </Row>
  556. </Rows>
  557. </Dataset>
  558. </PopupMenu>
  559. <Static id="caption13" text="입원수속보완" visible="false" position="absolute 975 508 1049 528" style="align:center middle;" anchor="default" positiontype="position"/>
  560. <Static id="caption14" class="color_5" visible="false" position="absolute 957 510 972 525" style="background:#cc99ffff;color:#444444ff;align:center middle;" anchor="default" positiontype="position"/>
  561. <Grid id="grd_inprescondreflist" taborder="41" binddataset="ds_grid_grd_inprescondreflist" autoenter="select" useinputpanel="false" selecttype="cell" oncelldblclick="grd_inprescondreflist_oncelldblclick" usebitmapcache="true" position="absolute 0 164 786 649" anchor="left top bottom" autosizingtype="none" cellsizingtype="col" extendsizetype="col">
  562. <Formats>
  563. <Format id="default">
  564. <Columns>
  565. <Column size="82" band="left"/>
  566. <Column size="80"/>
  567. <Column size="80"/>
  568. <Column size="80"/>
  569. <Column size="80"/>
  570. <Column size="80"/>
  571. <Column size="80"/>
  572. <Column size="80"/>
  573. <Column size="80"/>
  574. <Column size="80"/>
  575. <Column size="80"/>
  576. <Column size="80"/>
  577. <Column size="80"/>
  578. <Column size="80"/>
  579. <Column size="80"/>
  580. <Column size="80"/>
  581. <Column size="80"/>
  582. <Column size="80"/>
  583. <Column size="80"/>
  584. <Column size="80"/>
  585. <Column size="80"/>
  586. <Column size="80"/>
  587. <Column size="80"/>
  588. <Column size="80"/>
  589. <Column size="80"/>
  590. </Columns>
  591. <Rows>
  592. <Row size="0" band="head"/>
  593. <Row size="20"/>
  594. </Rows>
  595. <Band id="head">
  596. <Cell/>
  597. <Cell col="1"/>
  598. <Cell col="2"/>
  599. <Cell col="3"/>
  600. <Cell col="4"/>
  601. <Cell col="5"/>
  602. <Cell col="6"/>
  603. <Cell col="7"/>
  604. <Cell col="8"/>
  605. <Cell col="9"/>
  606. <Cell col="10"/>
  607. <Cell col="11"/>
  608. <Cell col="12"/>
  609. <Cell col="13"/>
  610. <Cell col="14"/>
  611. <Cell col="15"/>
  612. <Cell col="16"/>
  613. <Cell col="17"/>
  614. <Cell col="18"/>
  615. <Cell col="19"/>
  616. <Cell col="20"/>
  617. <Cell col="21"/>
  618. <Cell col="22"/>
  619. <Cell col="23"/>
  620. <Cell col="24"/>
  621. </Band>
  622. <Band id="body">
  623. <Cell celltype="head" text="bind:wardcd" suppress="1" suppressalign="middle,over" tooltiptext="bind:wardcd"/>
  624. <Cell col="1" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,1));background2:EXPR(lf_iGridColor(currow,1));color:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,1):&quot;&quot;);color2:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,1):&quot;&quot;);" text="bind:nmroom_no1" tooltiptext="bind:nmroom_no1"/>
  625. <Cell col="2" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,2));background2:EXPR(lf_iGridColor(currow,2));color:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,2):&quot;&quot;);color2:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,2):&quot;&quot;);" text="bind:nmroom_no2" tooltiptext="bind:nmroom_no2"/>
  626. <Cell col="3" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,3));background2:EXPR(lf_iGridColor(currow,3));color:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,3):&quot;&quot;);color2:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,3):&quot;&quot;);" text="bind:nmroom_no3" tooltiptext="bind:nmroom_no3"/>
  627. <Cell col="4" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,4));background2:EXPR(lf_iGridColor(currow,4));color:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,4):&quot;&quot;);color2:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,4):&quot;&quot;);" text="bind:nmroom_no4" tooltiptext="bind:nmroom_no4"/>
  628. <Cell col="5" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,5));background2:EXPR(lf_iGridColor(currow,5));color:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,5):&quot;&quot;);color2:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,5):&quot;&quot;);" text="bind:nmroom_no5" tooltiptext="bind:nmroom_no5"/>
  629. <Cell col="6" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,6));background2:EXPR(lf_iGridColor(currow,6));color:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,6):&quot;&quot;);color2:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,6):&quot;&quot;);" text="bind:nmroom_no6" tooltiptext="bind:nmroom_no6"/>
  630. <Cell col="7" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,7));background2:EXPR(lf_iGridColor(currow,7));color:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,7):&quot;&quot;);color2:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,7):&quot;&quot;);" text="bind:nmroom_no7" tooltiptext="bind:nmroom_no7"/>
  631. <Cell col="8" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,8));background2:EXPR(lf_iGridColor(currow,8));color:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,8):&quot;&quot;);color2:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,8):&quot;&quot;);" text="bind:nmroom_no8" tooltiptext="bind:nmroom_no8"/>
  632. <Cell col="9" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,9));background2:EXPR(lf_iGridColor(currow,9));color:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,9):&quot;&quot;);color2:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,9):&quot;&quot;);" text="bind:nmroom_no9" tooltiptext="bind:nmroom_no9"/>
  633. <Cell col="10" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,10));background2:EXPR(lf_iGridColor(currow,10));color:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,10):&quot;&quot;);color2:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,10):&quot;&quot;);" text="bind:nmroom_no10" tooltiptext="bind:nmroom_no10"/>
  634. <Cell col="11" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,11));background2:EXPR(lf_iGridColor(currow,11));color:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,11):&quot;&quot;);color2:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,11):&quot;&quot;);" text="bind:nmroom_no11" tooltiptext="bind:nmroom_no11"/>
  635. <Cell col="12" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,12));background2:EXPR(lf_iGridColor(currow,12));color:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,12):&quot;&quot;);color2:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,12):&quot;&quot;);" text="bind:nmroom_no12" tooltiptext="bind:nmroom_no12"/>
  636. <Cell col="13" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,13));background2:EXPR(lf_iGridColor(currow,13));color:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,13):&quot;&quot;);color2:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,13):&quot;&quot;);" text="bind:nmroom_no13" tooltiptext="bind:nmroom_no13"/>
  637. <Cell col="14" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,14));background2:EXPR(lf_iGridColor(currow,14));color:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,14):&quot;&quot;);color2:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,14):&quot;&quot;);" text="bind:nmroom_no14" tooltiptext="bind:nmroom_no14"/>
  638. <Cell col="15" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,15));background2:EXPR(lf_iGridColor(currow,15));color:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,15):&quot;&quot;);color2:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,15):&quot;&quot;);" text="bind:nmroom_no15" tooltiptext="bind:nmroom_no15"/>
  639. <Cell col="16" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,16));background2:EXPR(lf_iGridColor(currow,16));color:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,16):&quot;&quot;);color2:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,16):&quot;&quot;);" text="bind:nmroom_no16" tooltiptext="bind:nmroom_no16"/>
  640. <Cell col="17" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,17));background2:EXPR(lf_iGridColor(currow,17));color:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,17):&quot;&quot;);color2:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,17):&quot;&quot;);" text="bind:nmroom_no17" tooltiptext="bind:nmroom_no17"/>
  641. <Cell col="18" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,18));background2:EXPR(lf_iGridColor(currow,18));color:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,18):&quot;&quot;);color2:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,18):&quot;&quot;);" text="bind:nmroom_no18" tooltiptext="bind:nmroom_no18"/>
  642. <Cell col="19" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,19));background2:EXPR(lf_iGridColor(currow,19));color:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,19):&quot;&quot;);color2:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,19):&quot;&quot;);" text="bind:nmroom_no19" tooltiptext="bind:nmroom_no19"/>
  643. <Cell col="20" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,20));background2:EXPR(lf_iGridColor(currow,20));color:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,20):&quot;&quot;);color2:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,20):&quot;&quot;);" text="bind:nmroom_no20" tooltiptext="bind:nmroom_no20"/>
  644. <Cell col="21" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,21));background2:EXPR(lf_iGridColor(currow,21));color:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,21):&quot;&quot;);color2:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,21):&quot;&quot;);" text="bind:nmroom_no21" tooltiptext="bind:nmroom_no21"/>
  645. <Cell col="22" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,22));background2:EXPR(lf_iGridColor(currow,22));color:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,22):&quot;&quot;);color2:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,22):&quot;&quot;);" text="bind:nmroom_no22" tooltiptext="bind:nmroom_no22"/>
  646. <Cell col="23" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,23));background2:EXPR(lf_iGridColor(currow,23));color:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,23):&quot;&quot;);color2:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,23):&quot;&quot;);" text="bind:nmroom_no23" tooltiptext="bind:nmroom_no23"/>
  647. <Cell col="24" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,24));background2:EXPR(lf_iGridColor(currow,24));color:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,24):&quot;&quot;);color2:EXPR(Div00.bool4.value == &quot;N&quot; ? lf_iFontSet(currow,24):&quot;&quot;);" text="bind:nmroom_no24" tooltiptext="bind:nmroom_no24"/>
  648. </Band>
  649. </Format>
  650. </Formats>
  651. </Grid>
  652. <CheckBox id="chk_rcpt" taborder="39" truevalue="1" onchanged="chk_rcpt_onchanged" position="absolute 766 658 782 678" anchor="left bottom" style="align:left top;"/>
  653. <Static id="caption57" text="특수병상코드 보기" position="absolute 648 655 753 675" anchor="left bottom" style="align:center bottom;"/>
  654. <Div id="Div01" taborder="38" text="Div01" position="absolute 647 523 794 652" visible="false" anchor="left bottom" class="div_DA">
  655. <Layouts>
  656. <Layout>
  657. <Static id="cpt_rcpt" text="IS 격리&#13;&#10;OF 장기이식무균4인실&#13;&#10;PD PD단기병상&#13;&#10;RI RI방&#13;&#10;SR 수면뇌파실&#13;&#10;SU 스트록유닛&#13;&#10;VR VRE&#13;&#10;WR 백혈수치방(격리)&#13;&#10;---------------------" visible="false" position="absolute 7 6 136 128" style="align:center middle;" anchor="default"/>
  658. </Layout>
  659. </Layouts>
  660. </Div>
  661. <Div id="group4" taborder="43" position="absolute 0 26 787 66" class="div_SA">
  662. <Layouts>
  663. <Layout width="814" height="46">
  664. <Static id="caption4" text="병동" class="search_name" position="absolute 8 10 56 30" anchor="default"/>
  665. <Button id="btn_srch1" taborder="1" text="조회" onclick="btn_srch1_onclick" class="btn1" position="absolute 724 10 780 30" anchor="default"/>
  666. <Combo id="cmb_srchward" taborder="2" innerdataset="@ds_init_wardcd" codecolumn="cd" datacolumn="nm" displayrowcount="50" position="absolute 56 10 156 30" anchor="default"/>
  667. <Combo id="combo2" taborder="3" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="group4_combo2_onitemchanged" position="absolute 587 10 687 30" anchor="default" visible="false">
  668. <Dataset id="innerdataset">
  669. <ColumnInfo>
  670. <Column id="codecolumn" size="256"/>
  671. <Column id="datacolumn" size="256"/>
  672. </ColumnInfo>
  673. <Rows>
  674. <Row>
  675. <Col id="codecolumn">-</Col>
  676. <Col id="datacolumn">전체</Col>
  677. </Row>
  678. <Row>
  679. <Col id="codecolumn">M</Col>
  680. <Col id="datacolumn">본관</Col>
  681. </Row>
  682. <Row>
  683. <Col id="codecolumn">S</Col>
  684. <Col id="datacolumn">별관</Col>
  685. </Row>
  686. </Rows>
  687. </Dataset>
  688. </Combo>
  689. <Static id="caption8" text="건물" class="search_name" position="absolute 539 10 581 30" anchor="default" visible="false"/>
  690. <CheckBox id="bool4" taborder="4" text="즐겨찾기" value="N" truevalue="Y" falsevalue="N" visible="true" position="absolute 176 10 276 30" anchor="default"/>
  691. </Layout>
  692. </Layouts>
  693. </Div>
  694. <Static id="caption6" text="병실현황판" class="tit_1" position="absolute 0 0 100 26"/>
  695. <Static id="caption16" text="※공용병상일 경우 빈병상은 표시되지 않습니다" position="absolute 80 76 555 95" style="color:blue;align:left top;font:Dotum,9,bold;"/>
  696. <Static id="caption43" text="전실신청" position="absolute 198 662 254 676" anchor="left bottom"/>
  697. <Static id="caption45" text="병실배정" position="absolute 287 662 337 676" anchor="left bottom"/>
  698. <Static id="caption56" position="absolute 269 661 284 676" style="background:#11ddffff;" anchor="left bottom"/>
  699. <Static id="caption46" text="범 례" class="cell_2" position="absolute 5 659 75 679" anchor="left bottom"/>
  700. <Static id="caption47" class="color_1" position="absolute 95 661 110 676" anchor="left bottom"/>
  701. <Static id="caption48" text="퇴원예고" position="absolute 113 662 163 676" anchor="left bottom"/>
  702. <Static id="caption42" class="color_2" position="absolute 180 661 195 676" anchor="left bottom"/>
  703. <Static id="caption10" text="(*) 당일입원" position="absolute 437 662 507 676" anchor="left bottom"/>
  704. <Static id="caption11" text="(+) 전실승인" position="absolute 524 662 594 676" anchor="left bottom"/>
  705. <Static id="caption00" text="공용병상" position="absolute 370 662 420 676" anchor="left bottom"/>
  706. <Static id="caption15" position="absolute 352 661 367 676" style="background:#00ff00ff;" anchor="left bottom"/>
  707. <Div id="group2" taborder="42" position="absolute 789 27 1235 67" class="div_SA2">
  708. <Layouts>
  709. <Layout width="406" height="39">
  710. <Button id="btn_srch2" taborder="1" text="조회" onclick="btn_srch2_onclick" onlbuttonup="btn_srch2_onlbuttonup" class="btn1" position="absolute 378 10 434 30" anchor="default"/>
  711. <Calendar id="ipt_srchintodd" taborder="2" dateformat="yyyy-MM-dd" class="input_default" position="absolute 193 10 283 30" anchor="default" autoselect="true" autoskip="true" style="background:URL('theme://images/bg_edit_N.png') stretch 5,5;"/>
  712. <Static id="caption7" text="~" position="absolute 177 10 188 30" style="align:center middle;" anchor="default"/>
  713. <Calendar id="ipt_srchinfromdd" taborder="3" dateformat="yyyy-MM-dd" class="input_default" position="absolute 82 10 172 30" anchor="default" autoselect="true" autoskip="true"/>
  714. <Static id="caption3" text="입원일자" class="search_name" position="absolute 8 10 82 30" anchor="default"/>
  715. </Layout>
  716. </Layouts>
  717. </Div>
  718. </Layout>
  719. </Layouts>
  720. <Objects>
  721. <Dataset id="ds_grid_grd_allrsrv" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  722. <ColumnInfo>
  723. <Column id="pid" type="STRING"/>
  724. <Column id="hngnm" type="STRING"/>
  725. <Column id="orddeptcd" type="STRING"/>
  726. <Column id="acptdd" type="STRING"/>
  727. <Column id="ordtype" type="STRING"/>
  728. </ColumnInfo>
  729. </Dataset>
  730. <Dataset id="ds_grid_grd_inprescondrefsum" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  731. <ColumnInfo>
  732. <Column id="gubun" type="STRING" size="256" sumtext="구분"/>
  733. <Column id="roomgrdecd_no1" type="STRING" size="256" sumtext="병실구분1"/>
  734. <Column id="roomgrdecd_no2" type="STRING" size="256" sumtext="병실구분2"/>
  735. <Column id="roomgrdecd_no3" type="STRING" size="256" sumtext="병실구분3"/>
  736. <Column id="roomgrdecd_no4" type="STRING" size="256" sumtext="병실구분4"/>
  737. <Column id="roomgrdecd_no5" type="STRING" size="256" sumtext="병실구분5"/>
  738. <Column id="roomgrdecd_no6" type="STRING" size="256" sumtext="병실구분6"/>
  739. <Column id="roomgrdecd_no7" type="STRING" size="256" sumtext="병실구분7"/>
  740. <Column id="roomgrdecd_no8" type="STRING" size="256" sumtext="병실구분8"/>
  741. <Column id="roomgrdecd_no9" type="STRING" size="256" sumtext="병실구분9"/>
  742. <Column id="roomgrdecd_no10" type="STRING" size="256" sumtext="병실구분9"/>
  743. <Column id="totalcnt" type="STRING" size="256" sumtext="총계"/>
  744. </ColumnInfo>
  745. </Dataset>
  746. <Dataset id="ds_grid_grd_inprescondreflist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  747. <ColumnInfo>
  748. <Column id="wardcd" type="STRING" size="255"/>
  749. <Column id="room_no1" type="STRING" size="255"/>
  750. <Column id="room_no2" type="STRING" size="255"/>
  751. <Column id="room_no3" type="STRING" size="255"/>
  752. <Column id="room_no4" type="STRING" size="255"/>
  753. <Column id="room_no5" type="STRING" size="255"/>
  754. <Column id="room_no6" type="STRING" size="255"/>
  755. <Column id="room_no7" type="STRING" size="255"/>
  756. <Column id="room_no8" type="STRING" size="255"/>
  757. <Column id="room_no9" type="STRING" size="255"/>
  758. <Column id="room_no10" type="STRING" size="255"/>
  759. <Column id="room_no11" type="STRING" size="255"/>
  760. <Column id="room_no12" type="STRING" size="255"/>
  761. <Column id="room_no13" type="STRING" size="255"/>
  762. <Column id="room_no14" type="STRING" size="255"/>
  763. <Column id="room_no15" type="STRING" size="255"/>
  764. <Column id="room_no16" type="STRING" size="255"/>
  765. <Column id="room_no17" type="STRING" size="255"/>
  766. <Column id="room_no18" type="STRING" size="255"/>
  767. <Column id="room_no19" type="STRING" size="255"/>
  768. <Column id="room_no20" type="STRING" size="255"/>
  769. <Column id="room_no21" type="STRING" size="255"/>
  770. <Column id="room_no22" type="STRING" size="255"/>
  771. <Column id="room_no23" type="STRING" size="255"/>
  772. <Column id="room_no24" type="STRING" size="255"/>
  773. <Column id="nmroom_no1" type="STRING" size="255"/>
  774. <Column id="nmroom_no2" type="STRING" size="255"/>
  775. <Column id="nmroom_no3" type="STRING" size="255"/>
  776. <Column id="nmroom_no4" type="STRING" size="255"/>
  777. <Column id="nmroom_no5" type="STRING" size="255"/>
  778. <Column id="nmroom_no6" type="STRING" size="255"/>
  779. <Column id="nmroom_no7" type="STRING" size="255"/>
  780. <Column id="nmroom_no8" type="STRING" size="255"/>
  781. <Column id="nmroom_no9" type="STRING" size="255"/>
  782. <Column id="nmroom_no10" type="STRING" size="255"/>
  783. <Column id="nmroom_no11" type="STRING" size="255"/>
  784. <Column id="nmroom_no12" type="STRING" size="255"/>
  785. <Column id="nmroom_no13" type="STRING" size="255"/>
  786. <Column id="nmroom_no14" type="STRING" size="255"/>
  787. <Column id="nmroom_no15" type="STRING" size="255"/>
  788. <Column id="nmroom_no16" type="STRING" size="255"/>
  789. <Column id="nmroom_no17" type="STRING" size="255"/>
  790. <Column id="nmroom_no18" type="STRING" size="255"/>
  791. <Column id="nmroom_no19" type="STRING" size="255"/>
  792. <Column id="nmroom_no20" type="STRING" size="255"/>
  793. <Column id="nmroom_no21" type="STRING" size="255"/>
  794. <Column id="nmroom_no22" type="STRING" size="255"/>
  795. <Column id="nmroom_no23" type="STRING" size="255"/>
  796. <Column id="nmroom_no24" type="STRING" size="255"/>
  797. <Column id="room_bed_no" type="STRING" size="256"/>
  798. <column id="room_sex1"/>
  799. <column id="room_sex2"/>
  800. <column id="room_sex3"/>
  801. <column id="room_sex4"/>
  802. <column id="room_sex5"/>
  803. <column id="room_sex6"/>
  804. <column id="room_sex7"/>
  805. <column id="room_sex8"/>
  806. <column id="room_sex9"/>
  807. <column id="room_sex10"/>
  808. <column id="room_sex11"/>
  809. <column id="room_sex12"/>
  810. <column id="room_sex13"/>
  811. <column id="room_sex14"/>
  812. <column id="room_sex15"/>
  813. <column id="room_sex16"/>
  814. <column id="room_sex17"/>
  815. <column id="room_sex18"/>
  816. <column id="room_sex19"/>
  817. <column id="room_sex20"/>
  818. <column id="room_sex21"/>
  819. <column id="room_sex22"/>
  820. <column id="room_sex23"/>
  821. <column id="room_sex24"/>
  822. </ColumnInfo>
  823. </Dataset>
  824. <Dataset id="ds_grid_grd_babylist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  825. <ColumnInfo>
  826. <Column id="icdr_pid" type="STRING"/>
  827. <Column id="icdr_hngnm" type="STRING"/>
  828. <Column id="icdr_indd" type="STRING"/>
  829. <Column id="icdr_mskind" type="STRING"/>
  830. <Column id="icdr_orddeptcd" type="STRING"/>
  831. <Column id="icdr_medispclid" type="STRING"/>
  832. <Column id="icdr_wardcd" type="STRING"/>
  833. <Column id="icdr_roomcd" type="STRING"/>
  834. <Column id="icdr_roomgrdecd" type="STRING"/>
  835. <Column id="icdr_roomtypecd" type="STRING"/>
  836. <Column id="icdr_cretno" type="STRING"/>
  837. </ColumnInfo>
  838. </Dataset>
  839. <Dataset id="ds_grid_grd_chngdeptroomlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  840. <ColumnInfo>
  841. <Column id="pid" type="STRING" size="255"/>
  842. <Column id="indd" type="STRING" size="255"/>
  843. <Column id="cretno" type="BIGDECIMAL" size="255"/>
  844. <Column id="seqno" type="BIGDECIMAL" size="255"/>
  845. <Column id="instcd" type="STRING" size="255"/>
  846. <Column id="mskind" type="STRING" size="255"/>
  847. <Column id="histstat" type="STRING" size="255"/>
  848. <Column id="acptflagcd" type="STRING" size="255"/>
  849. <Column id="appflagcd" type="STRING" size="255"/>
  850. <Column id="appdd" type="STRING" size="255"/>
  851. <Column id="apptm" type="STRING" size="255"/>
  852. <Column id="appid" type="STRING" size="255"/>
  853. <Column id="pamacptdd" type="STRING" size="255"/>
  854. <Column id="pamacpttm" type="STRING" size="255"/>
  855. <Column id="pamacptid" type="STRING" size="255"/>
  856. <Column id="prestwardcd" type="STRING" size="255"/>
  857. <Column id="prestroomcd" type="STRING" size="255"/>
  858. <Column id="prestbedcd" type="STRING" size="255"/>
  859. <Column id="prestroomgrde" type="STRING" size="255"/>
  860. <Column id="prestroomtype" type="STRING" size="255"/>
  861. <Column id="prestcentcd" type="STRING" size="255"/>
  862. <Column id="prestsuporddeptcd" type="STRING" size="255"/>
  863. <Column id="prestorddeptcd" type="STRING" size="255"/>
  864. <Column id="prestmedispclid" type="STRING" size="255"/>
  865. <Column id="prestatdoctid" type="STRING" size="255"/>
  866. <Column id="chngwardcd" type="STRING" size="255"/>
  867. <Column id="chngroomcd" type="STRING" size="255"/>
  868. <Column id="chngbedcd" type="STRING" size="255"/>
  869. <Column id="chngroomgrde" type="STRING" size="255"/>
  870. <Column id="chngroomtype" type="STRING" size="255"/>
  871. <Column id="oxyyn" type="STRING" size="255"/>
  872. <Column id="suctyn" type="STRING" size="255"/>
  873. <Column id="chngcentcd" type="STRING" size="255"/>
  874. <Column id="chngsuporddeptcd" type="STRING" size="255"/>
  875. <Column id="chngorddeptcd" type="STRING" size="255"/>
  876. <Column id="chngmedispclid" type="STRING" size="255"/>
  877. <Column id="chngatdoctid" type="STRING" size="255"/>
  878. <Column id="specordyn" type="STRING" size="255"/>
  879. <Column id="enddd" type="STRING" size="255"/>
  880. <Column id="endtm" type="STRING" size="255"/>
  881. <Column id="endid" type="STRING" size="255"/>
  882. <Column id="prestremcd" type="STRING" size="255"/>
  883. <Column id="chngprestrem" type="STRING" size="255"/>
  884. <Column id="fstrgstrid" type="STRING" size="255"/>
  885. <Column id="fstrgstdt" type="STRING" size="255"/>
  886. <Column id="lastupdtrid" type="STRING" size="255"/>
  887. <Column id="lastupdtdt" type="STRING" size="255"/>
  888. <Column id="hngnm" type="STRING" size="255"/>
  889. </ColumnInfo>
  890. </Dataset>
  891. <Dataset id="ds_grid_grd_inhpdeci" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  892. <ColumnInfo>
  893. <Column id="pid" type="STRING"/>
  894. <Column id="hngnm" type="STRING"/>
  895. <Column id="assgroomtype" type="STRING"/>
  896. <Column id="inhopedd" type="STRING"/>
  897. <Column id="orddeptcd" type="STRING"/>
  898. <Column id="inrsrvacptseqno" type="STRING"/>
  899. <Column id="inrsrvacpttm" type="STRING"/>
  900. <Column id="insukind" type="STRING"/>
  901. <Column id="indirecdrid" type="STRING"/>
  902. <Column id="indirecdd" type="STRING"/>
  903. <Column id="orddrid" type="STRING"/>
  904. <Column id="patinhopedd" type="STRING"/>
  905. <Column id="inrsrvacptdd" type="STRING"/>
  906. <Column id="chngwardcd" type="STRING"/>
  907. <Column id="chngroomcd" type="STRING"/>
  908. <Column id="inhopeward" type="STRING"/>
  909. <Column id="inhoperoomgrdefrom" type="STRING"/>
  910. <Column id="inhoperoomgrdeto" type="STRING"/>
  911. <Column id="drrem" type="STRING"/>
  912. <Column id="inrsrvrem" type="STRING"/>
  913. <Column id="indd" type="STRING"/>
  914. <Column id="intm" type="STRING"/>
  915. <Column id="oxyyn" type="STRING"/>
  916. <Column id="suctyn" type="STRING"/>
  917. <Column id="fcstinterm" type="STRING"/>
  918. <Column id="erreglyn" type="STRING"/>
  919. <Column id="rsrvprcsstat" type="STRING"/>
  920. <Column id="sex" type="STRING" size="256"/>
  921. <Column id="sexnm" type="STRING" size="256"/>
  922. </ColumnInfo>
  923. </Dataset>
  924. <Dataset id="ds_grid_grd_inprescondrefrsrv" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  925. <ColumnInfo>
  926. <Column id="chk" type="STRING" size="256"/>
  927. <Column id="pid" type="STRING" size="255"/>
  928. <Column id="hngnm" type="STRING" size="255"/>
  929. <Column id="rrgstno" type="STRING" size="255"/>
  930. <Column id="inrsrvacptdd" type="STRING" size="255"/>
  931. <Column id="orddeptcd" type="STRING" size="255"/>
  932. <Column id="inrsrvacptseqno" type="BIGDECIMAL" size="255"/>
  933. <Column id="instcd" type="STRING" size="255"/>
  934. <Column id="inrsrvacpttm" type="STRING" size="255"/>
  935. <Column id="inrsrvstat" type="STRING" size="255"/>
  936. <Column id="inrsrvprcpno" type="BIGDECIMAL" size="255"/>
  937. <Column id="insukind" type="STRING" size="255"/>
  938. <Column id="suppkind" type="STRING" size="255"/>
  939. <Column id="suppkindresn" type="STRING" size="255"/>
  940. <Column id="insuno" type="STRING" size="255"/>
  941. <Column id="indirecdrid" type="STRING" size="255"/>
  942. <Column id="indirecdd" type="STRING" size="255"/>
  943. <Column id="orddrid" type="STRING" size="255"/>
  944. <Column id="inhopedd" type="STRING" size="255"/>
  945. <Column id="patinhopedd" type="STRING" size="255"/>
  946. <Column id="inhopeward" type="STRING" size="255"/>
  947. <Column id="inhoperoomgrdefrom" type="STRING" size="255"/>
  948. <Column id="inhoperoomgrdeto" type="STRING" size="255"/>
  949. <Column id="assgward" type="STRING" size="255"/>
  950. <Column id="assgroom" type="STRING" size="255"/>
  951. <Column id="assgroomgrde" type="STRING" size="255"/>
  952. <Column id="assgroomtype" type="STRING" size="255"/>
  953. <Column id="inflag" type="STRING" size="255"/>
  954. <Column id="drgyn" type="STRING" size="255"/>
  955. <Column id="bmtyn" type="STRING" size="255"/>
  956. <Column id="cpyn" type="STRING" size="255"/>
  957. <Column id="cpcd" type="STRING" size="255"/>
  958. <Column id="fcstinterm" type="BIGDECIMAL" size="255"/>
  959. <Column id="erreglyn" type="STRING" size="255"/>
  960. <Column id="isolroomyn" type="STRING" size="255"/>
  961. <Column id="oxyyn" type="STRING" size="255"/>
  962. <Column id="suctyn" type="STRING" size="255"/>
  963. <Column id="specroomyn" type="STRING" size="255"/>
  964. <Column id="scheopdd" type="STRING" size="255"/>
  965. <Column id="inrsrvgrad" type="STRING" size="255"/>
  966. <Column id="inrsrvrem" type="STRING" size="255"/>
  967. <Column id="drrem" type="STRING" size="255"/>
  968. <Column id="inrsrvcnclresn" type="STRING" size="255"/>
  969. <Column id="incncldd" type="STRING" size="255"/>
  970. <Column id="incncltm" type="STRING" size="255"/>
  971. <Column id="nblsyn" type="STRING" size="255"/>
  972. <Column id="fstrgstrid" type="STRING" size="255"/>
  973. <Column id="fstrgstdt" type="STRING" size="255"/>
  974. <Column id="lastupdtrid" type="STRING" size="255"/>
  975. <Column id="lastupdtdt" type="STRING" size="255"/>
  976. <Column id="age" type="STRING" size="256"/>
  977. </ColumnInfo>
  978. </Dataset>
  979. <Dataset id="ds_cond_srch" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  980. <ColumnInfo>
  981. <column id="data1"/>
  982. <column id="wardcd"/>
  983. <column id="building"/>
  984. <column id="favorite"/>
  985. </ColumnInfo>
  986. <Rows>
  987. <Row/>
  988. </Rows>
  989. </Dataset>
  990. <Dataset id="ds_init_wardcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  991. <ColumnInfo>
  992. <Column id="cd"/>
  993. <Column id="nm"/>
  994. <Column id="ofg"/>
  995. <Column id="build"/>
  996. <Column id="depthardcd"/>
  997. </ColumnInfo>
  998. </Dataset>
  999. <Dataset id="ds_cond_rsrv" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1000. <ColumnInfo>
  1001. <column id="data1"/>
  1002. <column id="data2"/>
  1003. <column id="data4"/>
  1004. <column id="inrsrvacptdd"/>
  1005. <column id="orddeptcd"/>
  1006. <column id="pid"/>
  1007. <column id="ordtype"/>
  1008. <column id="aprv_flag"/>
  1009. <Column id="indd" type="STRING" size="256"/>
  1010. <Column id="intodd" type="STRING" size="256"/>
  1011. </ColumnInfo>
  1012. <Rows>
  1013. <Row/>
  1014. </Rows>
  1015. </Dataset>
  1016. <Dataset id="ds_init_disccd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1017. <ColumnInfo>
  1018. <Column type="String" id="cd"/>
  1019. <Column id="nm"/>
  1020. <Column type="String" id="autocretyn"/>
  1021. <Column id="cmmt"/>
  1022. <Column id="emplyn"/>
  1023. </ColumnInfo>
  1024. </Dataset>
  1025. <Dataset id="ds_init_insukind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1026. <ColumnInfo>
  1027. <Column type="String" id="cd"/>
  1028. <Column id="nm"/>
  1029. </ColumnInfo>
  1030. </Dataset>
  1031. <Dataset id="ds_init_orddeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1032. <ColumnInfo>
  1033. <Column id="cd"/>
  1034. <Column id="nm"/>
  1035. <Column id="depthardcd"/>
  1036. <Column id="deptengabbr"/>
  1037. <Column id="reqdeptno"/>
  1038. <Column id="orddeptflag"/>
  1039. </ColumnInfo>
  1040. </Dataset>
  1041. <Dataset id="ds_init_orddrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1042. <ColumnInfo>
  1043. <Column id="cd"/>
  1044. <Column id="nm"/>
  1045. <Column id="dp"/>
  1046. <Column id="sp"/>
  1047. <Column id="nmspecyn"/>
  1048. <Column id="drengabbr"/>
  1049. <Column id="jobposcd"/>
  1050. <Column id="depthardcd"/>
  1051. </ColumnInfo>
  1052. </Dataset>
  1053. <Dataset id="ds_init_roomcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1054. <ColumnInfo>
  1055. <Column id="cd"/>
  1056. <Column id="nm"/>
  1057. <Column id="wd"/>
  1058. <Column id="gr"/>
  1059. <Column id="ty"/>
  1060. <Column id="sex"/>
  1061. </ColumnInfo>
  1062. </Dataset>
  1063. <Dataset id="ds_init_suppkind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1064. <ColumnInfo>
  1065. <Column type="String" id="cd"/>
  1066. <Column id="nm"/>
  1067. <Column type="String" id="up"/>
  1068. <Column type="String" id="io"/>
  1069. </ColumnInfo>
  1070. </Dataset>
  1071. <Dataset id="ds_init_roomgrdecd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1072. <Dataset id="ds_init_roomgrde/roomgrdelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1073. <ColumnInfo>
  1074. <Column type="String" id="cdid"/>
  1075. <Column type="String" id="cdnm"/>
  1076. <Column type="String" id="newcdid"/>
  1077. <Column type="String" id="typecd"/>
  1078. <Column type="String" id="yn"/>
  1079. <Column type="String" id="cdyn"/>
  1080. </ColumnInfo>
  1081. </Dataset>
  1082. <ColumnInfo>
  1083. <Column type="String" id="cdid"/>
  1084. <Column type="String" id="cdnm"/>
  1085. <Column type="String" id="newcdid"/>
  1086. <Column type="String" id="typecd"/>
  1087. <Column type="String" id="yn"/>
  1088. <Column type="String" id="cdyn"/>
  1089. </ColumnInfo>
  1090. </Dataset>
  1091. <Dataset id="ds_initZ_P0006" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1092. <Dataset id="ds_init_roomtypecd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1093. <ColumnInfo>
  1094. <Column id="cd"/>
  1095. <Column id="nm"/>
  1096. </ColumnInfo>
  1097. </Dataset>
  1098. <Dataset id="ds_initZ_P0017" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1099. <Dataset id="ds_initZ_P0170" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1100. <Dataset id="ds_data_roomcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1101. <ColumnInfo>
  1102. <Column id="cd"/>
  1103. <Column id="nm"/>
  1104. <Column id="wd"/>
  1105. <Column id="gr"/>
  1106. <Column id="ty"/>
  1107. <Column id="sex"/>
  1108. </ColumnInfo>
  1109. <Rows>
  1110. <Row/>
  1111. </Rows>
  1112. </Dataset>
  1113. <Dataset id="ds_data_grd_inprescondrefrsrv" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1114. <ColumnInfo>
  1115. <Column id="chk" type="STRING" size="256"/>
  1116. <Column id="pid" type="STRING" size="255"/>
  1117. <Column id="hngnm" type="STRING" size="255"/>
  1118. <Column id="rrgstno" type="STRING" size="255"/>
  1119. <Column id="inrsrvacptdd" type="STRING" size="255"/>
  1120. <Column id="orddeptcd" type="STRING" size="255"/>
  1121. <Column id="inrsrvacptseqno" type="BIGDECIMAL" size="255"/>
  1122. <Column id="instcd" type="STRING" size="255"/>
  1123. <Column id="inrsrvacpttm" type="STRING" size="255"/>
  1124. <Column id="inrsrvstat" type="STRING" size="255"/>
  1125. <Column id="inrsrvprcpno" type="BIGDECIMAL" size="255"/>
  1126. <Column id="insukind" type="STRING" size="255"/>
  1127. <Column id="suppkind" type="STRING" size="255"/>
  1128. <Column id="suppkindresn" type="STRING" size="255"/>
  1129. <Column id="insuno" type="STRING" size="255"/>
  1130. <Column id="indirecdrid" type="STRING" size="255"/>
  1131. <Column id="indirecdd" type="STRING" size="255"/>
  1132. <Column id="orddrid" type="STRING" size="255"/>
  1133. <Column id="inhopedd" type="STRING" size="255"/>
  1134. <Column id="patinhopedd" type="STRING" size="255"/>
  1135. <Column id="inhopeward" type="STRING" size="255"/>
  1136. <Column id="inhoperoomgrdefrom" type="STRING" size="255"/>
  1137. <Column id="inhoperoomgrdeto" type="STRING" size="255"/>
  1138. <Column id="assgward" type="STRING" size="255"/>
  1139. <Column id="assgroom" type="STRING" size="255"/>
  1140. <Column id="assgroomgrde" type="STRING" size="255"/>
  1141. <Column id="assgroomtype" type="STRING" size="255"/>
  1142. <Column id="inflag" type="STRING" size="255"/>
  1143. <Column id="drgyn" type="STRING" size="255"/>
  1144. <Column id="bmtyn" type="STRING" size="255"/>
  1145. <Column id="cpyn" type="STRING" size="255"/>
  1146. <Column id="cpcd" type="STRING" size="255"/>
  1147. <Column id="fcstinterm" type="BIGDECIMAL" size="255"/>
  1148. <Column id="erreglyn" type="STRING" size="255"/>
  1149. <Column id="isolroomyn" type="STRING" size="255"/>
  1150. <Column id="oxyyn" type="STRING" size="255"/>
  1151. <Column id="suctyn" type="STRING" size="255"/>
  1152. <Column id="specroomyn" type="STRING" size="255"/>
  1153. <Column id="scheopdd" type="STRING" size="255"/>
  1154. <Column id="inrsrvgrad" type="STRING" size="255"/>
  1155. <Column id="inrsrvrem" type="STRING" size="255"/>
  1156. <Column id="drrem" type="STRING" size="255"/>
  1157. <Column id="inrsrvcnclresn" type="STRING" size="255"/>
  1158. <Column id="incncldd" type="STRING" size="255"/>
  1159. <Column id="incncltm" type="STRING" size="255"/>
  1160. <Column id="nblsyn" type="STRING" size="255"/>
  1161. <Column id="fstrgstrid" type="STRING" size="255"/>
  1162. <Column id="fstrgstdt" type="STRING" size="255"/>
  1163. <Column id="lastupdtrid" type="STRING" size="255"/>
  1164. <Column id="lastupdtdt" type="STRING" size="255"/>
  1165. </ColumnInfo>
  1166. <Rows>
  1167. <Row/>
  1168. </Rows>
  1169. </Dataset>
  1170. <Dataset id="ds_temp_rmenu" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1171. <ColumnInfo>
  1172. <Column id="label" type="STRING" size="256"/>
  1173. <Column id="func" type="STRING" size="256"/>
  1174. </ColumnInfo>
  1175. <Rows>
  1176. <Row>
  1177. <Col id="label">ER로 전환</Col>
  1178. <Col id="func">ER</Col>
  1179. </Row>
  1180. <Row>
  1181. <Col id="label">SDW/CHEMO로 전환</Col>
  1182. <Col id="func">SDW</Col>
  1183. </Row>
  1184. <Row>
  1185. <Col id="label">삭제</Col>
  1186. <Col id="func">D</Col>
  1187. </Row>
  1188. </Rows>
  1189. </Dataset>
  1190. <Dataset id="ds_data_grd_inhpdeci" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1191. <ColumnInfo>
  1192. <Column id="pid" type="STRING"/>
  1193. <Column id="hngnm" type="STRING"/>
  1194. <Column id="assgroomtype" type="STRING"/>
  1195. <Column id="inhopedd" type="STRING"/>
  1196. <Column id="orddeptcd" type="STRING"/>
  1197. <Column id="inrsrvacptseqno" type="STRING"/>
  1198. <Column id="inrsrvacpttm" type="STRING"/>
  1199. <Column id="insukind" type="STRING"/>
  1200. <Column id="indirecdrid" type="STRING"/>
  1201. <Column id="indirecdd" type="STRING"/>
  1202. <Column id="orddrid" type="STRING"/>
  1203. <Column id="patinhopedd" type="STRING"/>
  1204. <Column id="inrsrvacptdd" type="STRING"/>
  1205. <Column id="chngwardcd" type="STRING"/>
  1206. <Column id="chngroomcd" type="STRING"/>
  1207. <Column id="inhopeward" type="STRING"/>
  1208. <Column id="inhoperoomgrdefrom" type="STRING"/>
  1209. <Column id="inhoperoomgrdeto" type="STRING"/>
  1210. <Column id="drrem" type="STRING"/>
  1211. <Column id="inrsrvrem" type="STRING"/>
  1212. <Column id="indd" type="STRING"/>
  1213. <Column id="intm" type="STRING"/>
  1214. <Column id="oxyyn" type="STRING"/>
  1215. <Column id="suctyn" type="STRING"/>
  1216. <Column id="fcstinterm" type="STRING"/>
  1217. <Column id="erreglyn" type="STRING"/>
  1218. <Column id="rsrvprcsstat" type="STRING"/>
  1219. <Column id="sex" type="STRING" size="256"/>
  1220. </ColumnInfo>
  1221. <Rows>
  1222. <Row/>
  1223. </Rows>
  1224. </Dataset>
  1225. <Dataset id="ds_init_appflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1226. <ColumnInfo>
  1227. <Column id="label" type="STRING" size="256"/>
  1228. <Column id="value" type="STRING" size="256"/>
  1229. </ColumnInfo>
  1230. <Rows>
  1231. <Row>
  1232. <Col id="label">전실</Col>
  1233. <Col id="value">1</Col>
  1234. </Row>
  1235. <Row>
  1236. <Col id="label">전과</Col>
  1237. <Col id="value">2</Col>
  1238. </Row>
  1239. <Row>
  1240. <Col id="label">전실전과</Col>
  1241. <Col id="value">3</Col>
  1242. </Row>
  1243. </Rows>
  1244. </Dataset>
  1245. <Dataset id="dsPam_SMPMI00400" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1246. <ColumnInfo>
  1247. <Column id="pid" type="STRING" size="256"/>
  1248. <Column id="indd" type="STRING" size="256"/>
  1249. <Column id="mskind" type="STRING" size="256"/>
  1250. <Column id="creatno" type="STRING" size="256"/>
  1251. </ColumnInfo>
  1252. <Rows>
  1253. <Row/>
  1254. </Rows>
  1255. </Dataset>
  1256. </Objects>
  1257. <Bind>
  1258. <BindItem id="item5" compid="combo1" propid="value" datasetid="ds_cond_rsrv" columnid="ordtype"/>
  1259. <BindItem id="item6" compid="chk_aprv" propid="value" datasetid="ds_cond_rsrv" columnid="aprv_flag"/>
  1260. <BindItem id="item1" compid="group4.cmb_srchward" propid="value" datasetid="ds_cond_srch" columnid="wardcd"/>
  1261. <BindItem id="item0" compid="group4.combo2" propid="value" datasetid="ds_cond_srch" columnid="building"/>
  1262. <BindItem id="item2" compid="group4.bool4" propid="value" datasetid="ds_cond_srch" columnid="favorite"/>
  1263. <BindItem id="item4" compid="group2.ipt_srchintodd" propid="value" datasetid="ds_cond_rsrv" columnid="data4"/>
  1264. <BindItem id="item3" compid="group2.ipt_srchinfromdd" propid="value" datasetid="ds_cond_rsrv" columnid="data2"/>
  1265. </Bind>
  1266. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  1267. * System Name :
  1268. * Job Name :
  1269. * Creator :
  1270. * Make Date : 2015-10-27
  1271. * Description :
  1272. *---------------------------------------------------------------------------------------
  1273. * Modify Date Modifier Modify Description
  1274. *---------------------------------------------------------------------------------------
  1275. * 2015-10-27 Live Converter TF->XP
  1276. *
  1277. *---------------------------------------------------------------------------------------
  1278. ****************************************************************************************/
  1279. include "com_commonxp::comm_main.xjs";
  1280. include "com_commodulexp::SMZFS00501.xjs";
  1281. include "com_commodulexp::SSZFM00401.xjs";
  1282. var paraPID = "";
  1283. var paraHNGNM = "";
  1284. var paraIDX = "";
  1285. function SMPMI00800_oninit(obj: Form, e: InitEventInfo) {
  1286. frmf_initForm(obj);
  1287. }
  1288. function lf_cellColor() {
  1289. var nGridColCount = grd_inprescondreflist.getCellCount("Body");
  1290. for (var i = 0; i < nGridColCount; i++) {
  1291. grd_inprescondreflist.setCellProperty("body", i, "background", "");
  1292. grd_inprescondreflist.setCellProperty("body", i, "background2", "");
  1293. var nexpr = 'expr:lf_iBendCnt(currow, self.col) < 0 ? "red" : lf_iGridColor(currow, self.col)';
  1294. grd_inprescondreflist.setCellProperty("body", i, "background", nexpr);
  1295. grd_inprescondreflist.setCellProperty("body", i, "background2", nexpr);
  1296. }
  1297. }
  1298. function lf_iBendCnt(row, col) {
  1299. var a = this.ds_grid_grd_inprescondreflist.getColID(col + 1);
  1300. col = "nm" + a;
  1301. var nRoomBedNo = ds_grid_grd_inprescondreflist.getColumn(row, "room_bed_no");
  1302. if (nRoomBedNo == 0) {
  1303. var sRoomCd = ds_grid_grd_inprescondreflist.getColumn(row, col);
  1304. var iFirstIndex = sRoomCd.lastIndexOf('(');
  1305. var iLastIndex = sRoomCd.lastIndexOf(')');
  1306. var iBedCnt = parseInt(sRoomCd.substring(iFirstIndex + 1, iLastIndex));
  1307. return iBedCnt;
  1308. }
  1309. }
  1310. function lf_search() {
  1311. ds_cond_srch.setColumn(0, "data1", "1");
  1312. var oParam = {};
  1313. oParam.id = "TRPMI00801";
  1314. oParam.service = "ipatmngtapp.IPatRef";
  1315. oParam.method = "reqGetInPresCondRef";
  1316. oParam.inds = "req=ds_cond_srch";
  1317. oParam.outds = "ds_grid_grd_inprescondreflist=inprescondreflist";
  1318. oParam.async = true;
  1319. oParam.callback = "cf_TRPMI00801";
  1320. tranf_submit(oParam);
  1321. ds_cond_srch.setColumn(0, "data1", "2");
  1322. oParam = {};
  1323. oParam.id = "TRPMI00802";
  1324. oParam.service = "ipatmngtapp.IPatRef";
  1325. oParam.method = "reqGetInPresCondRef";
  1326. oParam.inds = "req=ds_cond_srch";
  1327. oParam.outds = "ds_grid_grd_inprescondrefsum=inprescondrefsum";
  1328. oParam.async = false;
  1329. tranf_submit(oParam);
  1330. ds_grid_grd_inprescondrefsum.clearSelect();
  1331. ds_cond_rsrv.setColumn(0, "data1", "3");
  1332. oParam = {};
  1333. oParam.id = "TRPMI00803";
  1334. oParam.service = "ipatmngtapp.IPatRef";
  1335. oParam.method = "reqGetInPresCondRef";
  1336. oParam.inds = "req=ds_cond_rsrv";
  1337. oParam.outds = "ds_grid_grd_inprescondrefrsrv=inprescondrefrsrv";
  1338. oParam.async = true;
  1339. tranf_submit(oParam);
  1340. // 전과전실 신청내역
  1341. ds_cond_srch.setColumn(0, "data1", "4");
  1342. oParam = {};
  1343. oParam.id = "TRPMI00804";
  1344. oParam.service = "ipatmngtapp.InhospUpdt";
  1345. oParam.method = "reqGetChngroomApp1";
  1346. oParam.inds = "req=ds_cond_srch";
  1347. oParam.outds = "ds_grid_grd_chngdeptroomlist=cdcr";
  1348. oParam.async = true;
  1349. tranf_submit(oParam);
  1350. }
  1351. function cf_TRPMI00801(strSvcID, nErrorCode, strErrorMsg) {
  1352. if (nErrorCode == 0) {
  1353. ds_grid_grd_inprescondreflist.clearSelect();
  1354. //lf_cellColor(); // 병실병상수및 남여구분을 색상처리한다.
  1355. if (ds_cond_srch.getColumn(0, 'favorite') == "N") {
  1356. //lf_fontColor(); // 환자의 남녀구분
  1357. }
  1358. }
  1359. }
  1360. function lf_fontColor() {
  1361. if (ds_grid_grd_inprescondreflist.rowcount > 0) {
  1362. var nGridColCount = grd_inprescondreflist.getCellCount("Body");
  1363. for (var i = 0; i < nGridColCount; i++) {
  1364. grd_inprescondreflist.setCellProperty("body", i, "color", "");
  1365. grd_inprescondreflist.setCellProperty("body", i, "color", "");
  1366. var nexpr = 'expr:lf_iFontSet(currow, col)';
  1367. grd_inprescondreflist.setCellProperty("body", i, "color", nexpr);
  1368. grd_inprescondreflist.setCellProperty("body", i, "color", nexpr);
  1369. }
  1370. }
  1371. }
  1372. function lf_iFontSet(row, col) {
  1373. var vRow = ds_grid_grd_inprescondreflist.getColumn(row, "room_bed_no");
  1374. if (vRow != 0) {
  1375. var vCol = ds_grid_grd_inprescondreflist.getColumn(row, col + 49);
  1376. var fontColor = "";
  1377. if (vCol.substr(0, 1) == 'F') {
  1378. fontColor = "#FF0066";
  1379. } else if (vCol.substr(0, 1) == 'M') {
  1380. fontColor = "#3366FF";
  1381. } else {
  1382. fontColor = "#DFDFDF";
  1383. }
  1384. return fontColor;
  1385. }
  1386. }
  1387. function btn_roomassg_onclick(obj: Button, e: ClickEventInfo) {
  1388. var objArg = new Object();
  1389. objArg.sPid = paraPID;
  1390. frmf_modal("SMPMI00300", "SMPMI00300", objArg, "", "", "", "", "", "", "", "", "", "M");
  1391. }
  1392. function btn_inrgst_onclick(obj: Button, e: ClickEventInfo) {
  1393. var objArg = new Object();
  1394. if (!utlf_isNull(paraPID)) {
  1395. frmf_setParameter("SMPAO00100_ipt_pid", paraPID);
  1396. } else {
  1397. frmf_setParameter("SMPAO00100_ipt_pid", "");
  1398. }
  1399. frmf_modal("SMPMI00100", "SMPMI00100", objArg, "", "", "", "", "", "", "", "", "", "M");
  1400. }
  1401. function btn_inhospupdt_onclick(obj: Button, e: ClickEventInfo) {
  1402. dsPam_SMPMI00400.setColumn(0, "pid", paraPID);
  1403. // 재원변경관리 팝업 호출
  1404. frmf_modal("SMPMI00400", "SMPMI00400", { dsPam: dsPam_SMPMI00400 }, "", "", "", "", "", "", "", "", "", "M");
  1405. }
  1406. function btn_inrsrv_onclick(obj: Button, e: ClickEventInfo) {
  1407. var objParam = new Object();
  1408. if (!utlf_isNull(paraPID)) {
  1409. objParam.pid = paraPID;
  1410. }
  1411. frmf_modal("SMPMI00200", "SMPMI00200", objParam, "", "", "", "", "", "", "", "", "", "M");
  1412. }
  1413. function btn_roompatinfo_onclick(obj: Button, e: ClickEventInfo) {
  1414. var objArg = new Object();
  1415. objArg.sRoomcd = "";
  1416. objArg.sSrchcond = "1";
  1417. frmf_modal("SPPMI01800", "SPPMI01800", objArg, "", "", "", "", "", "", "", "", "", "M");
  1418. }
  1419. function btn_chngdeptroomaprv_onclick(obj: Button, e: ClickEventInfo) {
  1420. if (paraIDX == "-1") return;
  1421. if (!utlf_isNull(paraPID)) {
  1422. frmf_setParameter("PID", paraPID);
  1423. } else {
  1424. frmf_setParameter("PID", "");
  1425. }
  1426. frmf_modal("SMPMI01600", "SMPMI01600", "", "", "", "", "", "", "", "", "", "", "M");
  1427. }
  1428. function button1_onclick(obj: Button, e: ClickEventInfo) {
  1429. frmf_modal("SPPMI03300", "SPPMI03300", "", "", "", "", "", "", "", "", "", "", "M");
  1430. }
  1431. function btn_SMASB02100_onclick(obj: Button, e: ClickEventInfo) {
  1432. frmf_modal("SMASB02100", "SMASB02100", "", "", "", "", "", "", "", "", "", "", "M");
  1433. }
  1434. function button6_onclick(obj: Button, e: ClickEventInfo) {
  1435. frmf_modal("SMPMB03000", "SMPMB03000", "", "", "", "", "", "", "", "", "", "", "M");
  1436. if (sysf_messageBox("현재 화면을 다시 ", "Q005") == 6) {
  1437. this.reload();
  1438. }
  1439. }
  1440. function btn_srch2_onclick(obj: Button, e: ClickEventInfo) {
  1441. var chk = ds_cond_rsrv.getColumn(0, 'ordtype');
  1442. if (utlf_isNull(chk)) {
  1443. chk = "I";
  1444. }
  1445. //2008.04.21 조회 버튼 클릭 시 진료타입에 맞게 조회 되도록 수정 - 이성인
  1446. lf_cmbOrdtype();
  1447. }
  1448. function btn_srch1_onclick(obj: Button, e: ClickEventInfo) {
  1449. lf_search();
  1450. }
  1451. function button2_onclick(obj: Button, e: ClickEventInfo) {
  1452. //grd_inprescondreflist.position = "absolute 0 164 786 649";
  1453. grd_inprescondreflist.position.right = group4.position.right;
  1454. button2.enable = false;
  1455. button5.enable = true;
  1456. combo1.visible = true;
  1457. caption1.visible = true;
  1458. caption5.visible = true;
  1459. grd_chngdeptroomlist.visible = true;
  1460. grd_babylist.visible = true;
  1461. grd_allrsrv.visible = true;
  1462. grd_inhpdeci.visible = true;
  1463. grd_inprescondrefrsrv.visible = true;
  1464. chk_aprv.visible = true;
  1465. caption24.visible = true;
  1466. caption25.visible = true;
  1467. caption9.visible = true;
  1468. caption19.visible = true;
  1469. caption13.visible = true;
  1470. }
  1471. function button5_onclick(obj: Button, e: ClickEventInfo) {
  1472. button8.click();
  1473. button2.enable = true;
  1474. button5.enable = false;
  1475. grd_inprescondreflist.position.right = group2.position.right;//.position = "absolute 0 164 1234 649";
  1476. combo1.visible = false;
  1477. caption1.visible = false;
  1478. caption5.visible = false;
  1479. grd_chngdeptroomlist.visible = false;
  1480. grd_babylist.visible = false;
  1481. grd_allrsrv.visible = false;
  1482. grd_inhpdeci.visible = false;
  1483. grd_inprescondrefrsrv.visible = false;
  1484. chk_aprv.visible = false;
  1485. caption24.visible = false;
  1486. caption25.visible = false;
  1487. caption9.visible = false;
  1488. caption19.visible = false;
  1489. caption13.visible = false;
  1490. }
  1491. function button7_onclick(obj: Button, e: ClickEventInfo) {
  1492. button2.click();
  1493. button7.enable = false;
  1494. button8.enable = true;
  1495. grd_chngdeptroomlist.position.top = grd_inprescondrefrsrv.position.top;
  1496. caption5.position.top = caption1.position.top// = "absolute 797 66 902 524";
  1497. combo1.visible = false;
  1498. caption1.visible = false;
  1499. grd_babylist.visible = false;
  1500. grd_allrsrv.visible = false;
  1501. grd_inhpdeci.visible = false;
  1502. grd_inprescondrefrsrv.visible = false;
  1503. chk_aprv.visible = false;
  1504. caption24.visible = false;
  1505. caption25.visible = false;
  1506. caption9.visible = false;
  1507. caption19.visible = false;
  1508. caption13.visible = false;
  1509. }
  1510. function button8_onclick(obj: Button, e: ClickEventInfo) {
  1511. // grd_chngdeptroomlist.position = "absolute 797 524 1243 828";
  1512. // caption5.position = "absolute 797 504 902 524";
  1513. grd_chngdeptroomlist.position.top = 531;
  1514. caption5.position.top = 514;
  1515. button7.enable = true;
  1516. button8.enable = false;
  1517. combo1.visible = true;
  1518. caption1.visible = true;
  1519. grd_babylist.visible = true;
  1520. grd_allrsrv.visible = true;
  1521. grd_inhpdeci.visible = true;
  1522. grd_inprescondrefrsrv.visible = true;
  1523. chk_aprv.visible = true;
  1524. caption24.visible = true;
  1525. caption25.visible = true;
  1526. caption9.visible = true;
  1527. caption19.visible = true;
  1528. var sOrdType = ds_cond_rsrv.getColumn(0, 'ordtype');
  1529. if (sOrdType == "E" || sOrdType == "D") {
  1530. caption13.visible = true;
  1531. }
  1532. }
  1533. function SMPMI00800_onload(obj: Form, e: LoadEventInfo) {
  1534. // 공통코드를 조회한다.
  1535. var arrParam = new Array();
  1536. arrParam = [{ dsNm: "ds_initZ_P0006", cdGrpId: "P0006", showValue: false }
  1537. , { dsNm: "ds_initZ_P0017", cdGrpId: "P0017", showValue: false }
  1538. , { dsNm: "ds_initZ_P0170", cdGrpId: "P0170", showValue: false }];
  1539. appf_getCodeList(arrParam, true, true, ""); //비동기
  1540. dsf_createDsRow("ds_cond_pamcomn"
  1541. , [{ col: "sess_posinstcd", val: sysf_getUserInfo("dutplceinstcd") }
  1542. , { col: "ioflag", val: "I" }
  1543. { col: "dridsorttype", val: "" }]);
  1544. var oParam = {};
  1545. oParam.id = "TRPMI00106";
  1546. oParam.service = "pamcomnapp.PamComn";
  1547. oParam.method = "reqGetComCD";
  1548. oParam.inds = "req=ds_cond_pamcomn";
  1549. oParam.outds = "ds_init_disccd=disccd ds_init_insukind=insukind ds_init_suppkind=suppkind ds_init_orddeptcd=orddeptcd ds_init_orddrid=orddrid ds_init_wardcd=wardcd ds_init_roomcd=roomcd ds_=bedcd ds_init_roomgrdecd=roomgrdecd ds_=roomgrdelist ds_init_roomtypecd=roomtypecd ds_=flag ds_=proccd ds_=centcd ds_=hospgrde ds_=naticd ds_=erorddrid ds_=insucd ds_=uncocd";
  1550. oParam.async = false;
  1551. tranf_submit(oParam);
  1552. grdf_setGridSort(grd_babylist);
  1553. grdf_setGridSort(grd_chngdeptroomlist);
  1554. grdf_setGridSort(grd_inprescondrefrsrv);
  1555. grdf_setGridSort(grd_inhpdeci);
  1556. grdf_setGridSort(grd_allrsrv);
  1557. chk_aprv.visible = false;
  1558. ds_cond_rsrv.setColumn(0, 'data2', utlf_getCurrentDate());
  1559. ds_cond_rsrv.setColumn(0, 'data4', utlf_getCurrentDate());
  1560. //잠시 주석으로 막음 -> 요구 사항 확인 뒤 처리 예정 2014.10.07
  1561. ds_cond_srch.setColumn(0, "favorite", "Y");
  1562. ds_cond_srch.setColumn(0, 'building', '-');
  1563. ds_cond_rsrv.setColumn(0, 'ordtype', 'I');
  1564. ds_cond_srch.setColumn(0, 'wardcd', '');
  1565. lf_search();
  1566. }
  1567. function combo1_onitemchanged(obj: Combo, e: ItemChangeEventInfo) {
  1568. lf_cmbOrdtype();
  1569. }
  1570. function lf_cmbOrdtype() {
  1571. var sordtype = ds_cond_rsrv.getColumn(0, 'ordtype');
  1572. //2008-04-21
  1573. if (sordtype == "A") {
  1574. //2008.04.21 조회 조건에 전체 추가 - 이성인
  1575. caption1.text = "전체리스트";
  1576. ds_cond_rsrv.setColumn(0, "data1", "4");
  1577. // 2008.09.08 전과전실승인 리스트만 조회할 수 있도록 추가 - 최병진
  1578. chk_aprv.visible = false;
  1579. ds_cond_rsrv.setColumn(0, "aprv_flag", "");
  1580. var oParam = {};
  1581. oParam.id = "TRPMI00807";
  1582. oParam.service = "ipatmngtapp.IPatRef";
  1583. oParam.method = "reqGetInPresCondRef";
  1584. oParam.inds = "req=ds_cond_rsrv";
  1585. oParam.outds = "ds_grid_grd_allrsrv=allrsrv";
  1586. oParam.async = false;
  1587. //oParam.callback = "cf_TRPMI00807";
  1588. tranf_submit(oParam);
  1589. grd_allrsrv.visible = true;
  1590. grd_inhpdeci.visible = false;
  1591. grd_inprescondrefrsrv.visible = false;
  1592. grd_babylist.visible = false;
  1593. caption13.visible = false;
  1594. caption14.visible = false;
  1595. } else if (sordtype == "I" || sordtype == "T") {
  1596. // 입원예약자 내역
  1597. caption1.text = "예약환자";
  1598. ds_cond_rsrv.setColumn(0, "data1", "3");
  1599. ds_cond_rsrv.setColumn(0, "aprv_flag", "");
  1600. // 2008.09.08 전과전실승인 리스트만 조회할 수 있도록 추가 - 최병진
  1601. chk_aprv.visible = false;
  1602. var oParam = {};
  1603. oParam.id = "TRPMI00803";
  1604. oParam.service = "ipatmngtapp.IPatRef";
  1605. oParam.method = "reqGetInPresCondRef";
  1606. oParam.inds = "req=ds_cond_rsrv";
  1607. oParam.outds = "ds_grid_grd_inprescondrefrsrv=inprescondrefrsrv";
  1608. oParam.async = false;
  1609. //oParam.callback = "cf_TRPMI00803";
  1610. tranf_submit(oParam);
  1611. grd_allrsrv.visible = false;
  1612. grd_inhpdeci.visible = false;
  1613. grd_inprescondrefrsrv.visible = true;
  1614. grd_babylist.visible = false;
  1615. caption13.visible = false;
  1616. caption14.visible = false;
  1617. } else if (sordtype == "E") {
  1618. // 응급실 입원결정서 신청내역
  1619. caption1.text = "응급실입원결정서";
  1620. chk_aprv.visible = true;
  1621. var oParam = {};
  1622. oParam.id = "TRPMI00805";
  1623. oParam.service = "ipatmngtapp.InhospUpdt";
  1624. oParam.method = "reqGetInHpDeciRefList";
  1625. oParam.inds = "req=ds_cond_rsrv";
  1626. oParam.outds = "ds_grid_grd_inhpdeci=inhpdecilist";
  1627. oParam.async = false;
  1628. //oParam.callback = "cf_TRPMI00805";
  1629. tranf_submit(oParam);
  1630. grd_allrsrv.visible = false;
  1631. grd_inhpdeci.visible = true;
  1632. grd_inprescondrefrsrv.visible = false;
  1633. grd_babylist.visible = false;
  1634. caption13.visible = true;
  1635. caption14.visible = true;
  1636. } else if (sordtype == "D") {
  1637. caption1.text = "SDW 입원결정서";
  1638. // 2008.09.08 전과전실승인 리스트만 조회할 수 있도록 추가 - 최병진
  1639. chk_aprv.visible = true;
  1640. var oParam = {};
  1641. oParam.id = "TRPMI00805";
  1642. oParam.service = "ipatmngtapp.InhospUpdt";
  1643. oParam.method = "reqGetInHpDeciRefList";
  1644. oParam.inds = "req=ds_cond_rsrv";
  1645. oParam.outds = "ds_grid_grd_inhpdeci=inhpdecilist";
  1646. oParam.async = false;
  1647. //oParam.callback = "cf_TRPMI00805";
  1648. tranf_submit(oParam);
  1649. grd_allrsrv.visible = false;
  1650. grd_inhpdeci.visible = true;
  1651. grd_inprescondrefrsrv.visible = false;
  1652. grd_babylist.visible = false;
  1653. caption13.visible = true;
  1654. caption14.visible = true;
  1655. } else if (sordtype == "B") {
  1656. //2007.12.12 신생아 변경리스트 (정상-> 환아,중환아,인큐베이터로 변경된 내역 보여달라 요청)
  1657. caption1.text = "신생아변경리스트";
  1658. ds_cond_rsrv.setColumn(0, "indd", ds_cond_rsrv.getColumn(0, 'data2'));
  1659. ds_cond_rsrv.setColumn(0, "intodd", ds_cond_rsrv.getColumn(0, 'data4'));
  1660. //2008.04.21 입원기간으로 조회 할수있게 수정 - 이성인
  1661. var oParam = {};
  1662. oParam.id = "TRPMI00806";
  1663. oParam.service = "ipatmngtapp.InhospUpdt";
  1664. oParam.method = "reqGetInBabyList";
  1665. oParam.inds = "req=ds_cond_rsrv";
  1666. oParam.outds = "ds_grid_grd_babylist=inbabylist";
  1667. oParam.async = false;
  1668. //oParam.callback = "cf_TRPMI00806";
  1669. tranf_submit(oParam);
  1670. grd_allrsrv.visible = false;
  1671. grd_babylist.visible = true;
  1672. grd_inhpdeci.visible = false;
  1673. caption13.visible = false;
  1674. caption14.visible = false;
  1675. // 2008.09.08 전과전실승인 리스트만 조회할 수 있도록 추가 - 최병진
  1676. chk_aprv.visible = false;
  1677. grd_inprescondrefrsrv.visible = false;
  1678. }
  1679. }
  1680. function cf_TRPMI00803(strSvcID, nErrorCode, strErrorMsg) {
  1681. if (nErrorCode == 0) {
  1682. if (ds_grid_grd_inprescondrefrsrv.rowcount > 0) {
  1683. var nGridColCount = grd_inprescondrefrsrv.getCellCount("Body");
  1684. ds_grid_grd_inprescondrefrsrv.clearSelect();
  1685. for (var i = 0; i < nGridColCount; i++) {
  1686. grd_inprescondrefrsrv.setCellProperty("Body", i, "color", 'EXPR(inrsrvstat == "S"?"#cc3300":"")');
  1687. grd_inprescondrefrsrv.setCellProperty("Body", i, "color2", 'EXPR(inrsrvstat == "S"?"#cc3300":"")');
  1688. }
  1689. }
  1690. }
  1691. }
  1692. function cf_TRPMI00805(strSvcID, nErrorCode, strErrorMsg) {
  1693. if (nErrorCode == 0) {
  1694. // 2009.06.03 - 입원수속보완 color
  1695. if (ds_grid_grd_inhpdeci.rowcount > 0) {
  1696. var nGridColCount = grd_inhpdeci.getCellCount("Body");
  1697. ds_grid_grd_inhpdeci.clearSelect();
  1698. for (var i = 0; i < nGridColCount; i++) {
  1699. grd_inhpdeci.setCellProperty("Body", i, "background", 'EXPR(rsrvprcsstat == "B"?"#cc99ff":"")');
  1700. grd_inhpdeci.setCellProperty("Body", i, "background2", 'EXPR(rsrvprcsstat == "B"?"#cc99ff":"")');
  1701. }
  1702. }
  1703. }
  1704. }
  1705. function grd_inprescondreflist_oncelldblclick(obj: Grid, e: GridClickEventInfo) {
  1706. if (ds_grid_grd_inprescondreflist.rowcount > 0) {
  1707. var v_colValue = ds_grid_grd_inprescondreflist.getColumn(e.row, e.col + 1);
  1708. if (utlf_isNull(v_colValue)) return;
  1709. var v_colValue1 = v_colValue.substr(4, 10); // 병실정보에 쓰임
  1710. var v_colValue2 = v_colValue.substr(1, 10); // 환자정보에 쓰임
  1711. var v_rowgubun = ds_grid_grd_inprescondreflist.getColumn(e.row, "room_bed_no");
  1712. if (v_rowgubun == '0') {
  1713. if (!utlf_isNull(paraPID)) {
  1714. var pMessage = paraHNGNM + "님의 병실배정을 ";
  1715. var rtn_msg = sysf_messageBox(pMessage, "S001");
  1716. if (rtn_msg == 6) {
  1717. var room_info = ds_init_roomcd.filter("cd == '" + v_colValue1 + "'");
  1718. ds_grid_grd_inprescondrefrsrv.setColumn(paraIDX, "assgward", ds_init_roomcd.getColumn(0, "wd"));
  1719. ds_grid_grd_inprescondrefrsrv.setColumn(paraIDX, "assgroom", v_colValue1);
  1720. ds_grid_grd_inprescondrefrsrv.setColumn(paraIDX, "assgroomgrde", ds_init_roomcd.getColumn(0, "gr"));
  1721. ds_grid_grd_inprescondrefrsrv.setColumn(paraIDX, "assgroomtype", ds_init_roomcd.getColumn(0, "ty"));
  1722. ds_data_grd_inprescondrefrsrv.copyRow(0, ds_grid_grd_inprescondrefrsrv, paraIDX);
  1723. ds_data_grd_inprescondrefrsrv.addColumn("status", "string");
  1724. ds_data_grd_inprescondrefrsrv.setColumn(0, "status", "U");
  1725. ds_init_roomcd.filter("");
  1726. var oParam = {};
  1727. oParam.id = "TXPMI00801";
  1728. oParam.service = "ipatmngtapp.InRsrv";
  1729. oParam.method = "reqSetInhpRsrvList1";
  1730. oParam.inds = "req=ds_data_grd_inprescondrefrsrv";
  1731. oParam.outds = "";
  1732. oParam.async = false;
  1733. oParam.callback = "cf_TXPMI00801";
  1734. tranf_submit(oParam);
  1735. }
  1736. } else {
  1737. //20200207 병실환자정보 ROOMCD 전달 임승주 수정
  1738. frmf_setParameter("SMPMI01800_ROOMCD", v_colValue1);
  1739. //var objArg = new Object();
  1740. //objArg.sRoomcd = v_colValue1;
  1741. //objArg.sSrchcond = "1";
  1742. frmf_modal("SPPMI01800", "SPPMI01800", "");
  1743. }
  1744. } else {
  1745. //20200207 전과전실 승인 PID 전달 임승주 수정
  1746. frmf_setParameter("SMPMI01600_PID", v_colValue2);
  1747. if (!utlf_isNull(v_colValue2)) {
  1748. frmf_modal("SMPMI01600", "SMPMI01600", "", "", "", "", "", "", "", "", "", "", "M");
  1749. }
  1750. }
  1751. }
  1752. }
  1753. function cf_TXPMI00801(strSvcID, nErrorCode, strErrorMsg) {
  1754. if (nErrorCode == 0) {
  1755. ds_cond_rsrv.setColumn(0, "data1", "3");
  1756. var oParam = {};
  1757. oParam.id = "TRPMI00803";
  1758. oParam.service = "ipatmngtapp.IPatRef";
  1759. oParam.method = "reqGetInPresCondRef";
  1760. oParam.inds = "req=ds_cond_rsrv";
  1761. oParam.outds = "ds_grid_grd_inprescondrefrsrv=inprescondrefrsrv";
  1762. oParam.async = false;
  1763. //oParam.callback = "cf_TRPMI00803";
  1764. tranf_submit(oParam);
  1765. sysf_messageBox("병실배정 저장이", "I001");
  1766. } else {
  1767. sysf_messageBox("병실배정 저장이 ", "E009");
  1768. }
  1769. }
  1770. function chk_rcpt_onchanged(obj: CheckBox, e: CheckBoxChangeEventInfo) {
  1771. if (e.postvalue == 1) {
  1772. Div01.visible = true;
  1773. Div01.cpt_rcpt.visible = true;
  1774. //Static02.position = "absolute 810 635 965 778";
  1775. } else {
  1776. Div01.visible = false;
  1777. Div01.cpt_rcpt.visible = false;
  1778. //Static02.position = "absolute 809 753 964 777";
  1779. }
  1780. }
  1781. function grd_inprescondrefrsrv_oncellclick(obj: Grid, e: GridClickEventInfo) {
  1782. // 데이터 선택이 하나의 ROW만 되도록 한다. ( RADIO 를 쓰면 무조건 하나는 선택해야하므로 선택했다가 취소하는경우가 안된다.)
  1783. var chk = ds_grid_grd_inprescondrefrsrv.getColumn(e.row, "chk");
  1784. if (chk == '1') {
  1785. for (var i = 0; i < ds_grid_grd_inprescondrefrsrv.rowcount; i++) {
  1786. ds_grid_grd_inprescondrefrsrv.setColumn(i, "chk", "0");
  1787. }
  1788. ds_grid_grd_inprescondrefrsrv.setColumn(e.row, "chk", "1");
  1789. var sPid = ds_grid_grd_inprescondrefrsrv.getColumn(e.row, "pid");
  1790. var sHngnm = ds_grid_grd_inprescondrefrsrv.getColumn(e.row, "hngnm")
  1791. var sIndex = e.row;
  1792. paraPID = sPid;
  1793. paraHNGNM = sHngnm;
  1794. paraIDX = sIndex;
  1795. } else {
  1796. paraPID = "";
  1797. paraHNGNM = "";
  1798. paraIDX = "-1";
  1799. }
  1800. }
  1801. function grd_inhpdeci_oncelldblclick(obj: Grid, e: GridClickEventInfo) {
  1802. if (ds_grid_grd_inhpdeci.rowcount > 0) {
  1803. // 현재선택한 전과전실 데이터의 전과전실승인 프로그램으로 연동한다.
  1804. var sPid = ds_grid_grd_inhpdeci.getColumn(e.row, "pid")
  1805. frmf_setParameter("PID", sPid);
  1806. if (!utlf_isNull(sPid)) {
  1807. //frmf_modal("SMPMI01600","SMPMI01600");
  1808. frmf_modal("SMPMI01600", "SMPMI01600", "", "", "", "", "", "", "", "", "", "", "M");
  1809. }
  1810. }
  1811. }
  1812. function grd_chngdeptroomlist_oncelldblclick(obj: Grid, e: GridClickEventInfo) {
  1813. if (ds_grid_grd_chngdeptroomlist.rowcount > 0) {
  1814. // 현재선택한 전과전실 데이터의 전과전실승인 프로그램으로 연동한다.
  1815. var sPid = ds_grid_grd_chngdeptroomlist.getColumn(e.row, "pid")
  1816. frmf_setParameter("PID", sPid);
  1817. if (!utlf_isNull(sPid)) {
  1818. frmf_modal("SMPMI01600", "SMPMI01600", "", "", "", "", "", "", "", "", "", "", "M");
  1819. //frmf_modal("SMPMI01600","SMPMI01600");
  1820. }
  1821. }
  1822. }
  1823. function grd_allrsrv_oncelldblclick(obj: Grid, e: GridClickEventInfo) {
  1824. if (ds_grid_grd_allrsrv.rowcount > 0) {
  1825. var chk = ds_grid_grd_allrsrv.getColumn(e.row, "ordtype");
  1826. var sPid = ds_grid_grd_allrsrv.getColumn(e.row, "pid");
  1827. if (!utlf_isNull(sPid)) {
  1828. if (chk == "I") {
  1829. //예약환자
  1830. frmf_setParameter("SMPMI00102_pid", ds_grid_grd_inprescondrefrsrv.getColumn(e.row, "pid"));
  1831. frmf_modal("SMPMI00102", "SMPMI00102", "", "", "", "", "", "", "", "", "", "", "M");
  1832. // var objArg = new Object();
  1833. // objArg.pid = ds_grid_grd_inprescondrefrsrv.getColumn(e.row,"pid");
  1834. // //입원등록 파라메터 확인필요
  1835. // //frmf_modal("SMPMI00102","SMPMI00102",objArg);
  1836. // frmf_modal("SMPMI00102", "SMPMI00102", objArg, "", "", "", "", "", "", "", "", "", "M");
  1837. } else if (chk == "E" || chk == "D") {
  1838. //응급실입원결정서
  1839. frmf_setParameter("PID", sPid);
  1840. frmf_modal("SMPMI01600", "SMPMI01600", "", "", "", "", "", "", "", "", "", "", "M");
  1841. //frmf_modal("SMPMI01600","SMPMI01600");
  1842. // 현재선택한 응급실 결정서 데이터의 전과전실승인 프로그램으로 연동한다.
  1843. } else if (chk == "B") {
  1844. //신생아변경리스트
  1845. dsPam_SMPMI00400.setColumn(0, "pid", sPid);
  1846. // 재원변경관리 팝업 호출
  1847. frmf_modal("SMPMI00400", "SMPMI00400", { dsPam: dsPam_SMPMI00400 }, "", "", "", "", "", "", "", "", "", "M");
  1848. //alert("재원변경 개발중");
  1849. }//else end
  1850. }
  1851. }
  1852. }
  1853. function grd_babylist_oncelldblclick(obj: Grid, e: GridClickEventInfo) {
  1854. if (ds_grid_grd_babylist.rowcount > 0) {
  1855. var sPid = ds_grid_grd_babylist.getColumn(ds_grid_grd_babylist.rowposition, "pid");
  1856. //if (!utlf_isNull(sPid)) {
  1857. dsPam_SMPMI00400.setColumn(0, "pid", sPid);
  1858. // 재원변경관리 팝업 호출
  1859. frmf_modal("SMPMI00400", "SMPMI00400", { dsPam: dsPam_SMPMI00400 }, "", "", "", "", "", "", "", "", "", "M");
  1860. //}
  1861. }
  1862. }
  1863. function group4_combo2_onitemchanged(obj: Combo, e: ItemChangeEventInfo) {
  1864. var build = ds_cond_srch.getColumn(0, 'building');
  1865. if (build == "-") {
  1866. ds_init_wardcd.filter("");
  1867. ds_cond_srch.setColumn(0, 'wardcd', '');
  1868. } else {
  1869. ds_init_wardcd.filter("build == '" + build + "'");
  1870. ds_cond_srch.setColumn(0, 'wardcd', '');
  1871. }
  1872. }
  1873. function grd_inprescondrefrsrv_onrbuttondown(obj: Grid, e: GridMouseEventInfo) {
  1874. if (e.row > -1) {
  1875. ds_grid_grd_inprescondrefrsrv.selectRow(e.row);
  1876. inprescondrefrsrv_popup.trackPopup(e.screenX, e.screenY);
  1877. }
  1878. }
  1879. function grd_inhpdeci_onrbuttondown(obj: Grid, e: GridMouseEventInfo) {
  1880. if (e.row > -1) {
  1881. ds_grid_grd_inhpdeci.selectRow(e.row);
  1882. inhpdeci_popup.trackPopup(e.screenX, e.screenY);
  1883. }
  1884. }
  1885. function inprescondrefrsrv_popup_onmenuclick(obj: PopupMenu, e: MenuClickEventInfo) {
  1886. var funcNm = e.id;
  1887. var pid = ds_grid_grd_inprescondrefrsrv.getColumn(ds_grid_grd_inprescondrefrsrv.rowposition, "pid");
  1888. if (funcNm == "ER") {
  1889. lf_chngDeciType("IE");
  1890. } else if (funcNm == "SDW") {
  1891. lf_chngDeciType("ID");
  1892. } else if (funcNm == "D") {
  1893. lf_setDeciCancel(pid);
  1894. }
  1895. inprescondrefrsrv_popup.closePopup();
  1896. }
  1897. function inhpdeci_popup_onmenuclick(obj: PopupMenu, e: MenuClickEventInfo) {
  1898. var funcNm = e.id;
  1899. var ordType = ds_cond_rsrv.getColumn(0, 'ordtype');
  1900. var pid = ds_grid_grd_inhpdeci.getColumn(ds_grid_grd_inhpdeci.rowposition, "pid");
  1901. if (ordType == "E") {
  1902. if (funcNm == "O") {
  1903. lf_chngDeciType("EI");
  1904. } else if (funcNm == "SDW") {
  1905. lf_chngDeciType("ED");
  1906. } else if (funcNm == "D") {
  1907. lf_setDeciCancel(pid);
  1908. } else if (funcNm == "PRCS") {
  1909. lf_setRsrvPrcs();
  1910. }
  1911. } else if (ordType == "D") {
  1912. if (funcNm == "O") {
  1913. lf_chngDeciType("DI");
  1914. } else if (funcNm == "SDW") {
  1915. lf_chngDeciType("DE");
  1916. } else if (funcNm == "D") {
  1917. lf_setDeciCancel(pid);
  1918. } else if (funcNm == "PRCS") {
  1919. lf_setRsrvPrcs();
  1920. }
  1921. }
  1922. }
  1923. // 입원결정서 변경 함수
  1924. function lf_chngDeciType(pParam) {
  1925. var sAdrvFlag = ds_cond_rsrv.getColumn(0, 'aprv_flag');
  1926. //var sAdrvFlag = model.getValue("/root/send/aprv_flag"); // 전과전실승인 체크박스 체크여부
  1927. // 전과전실승인된 입원결정서는 수정할 수 없도록 막는다.
  1928. if (sAdrvFlag == "Y") {
  1929. sysf_messageBox("전과전실승인된 내역은 변경할 수 없습니다!!", "I");
  1930. return;
  1931. }
  1932. var result = sysf_messageBox("변경하시겠습니까?", "Q");
  1933. if (result != "6") return;
  1934. if (utlf_isNull(pParam)) {
  1935. sysf_messageBox("변경상태가 입력되지 않았습니다.", "I");
  1936. return;
  1937. } else {
  1938. if (pParam == "IE") {
  1939. // 입원 -> 응급
  1940. ds_data_grd_inprescondrefrsrv.clearData();
  1941. ds_data_grd_inprescondrefrsrv.addRow();
  1942. var idx = ds_grid_grd_inprescondrefrsrv.rowposition;
  1943. ds_data_grd_inprescondrefrsrv.copyRow(0, ds_grid_grd_inprescondrefrsrv, idx);
  1944. ds_data_grd_inprescondrefrsrv.setColumn(0, "erreglyn", "E");
  1945. } else if (pParam == "ID") {
  1946. // 입원 -> SDW/CHEMO
  1947. ds_data_grd_inprescondrefrsrv.clearData();
  1948. ds_data_grd_inprescondrefrsrv.addRow();
  1949. var idx = ds_grid_grd_inprescondrefrsrv.rowposition;
  1950. ds_data_grd_inprescondrefrsrv.copyRow(0, ds_grid_grd_inprescondrefrsrv, idx);
  1951. ds_data_grd_inprescondrefrsrv.setColumn(0, "erreglyn", "D");
  1952. } else if (pParam == "EI") {
  1953. // ER -> 입원
  1954. ds_data_grd_inhpdeci.clearData();
  1955. ds_data_grd_inhpdeci.addRow();
  1956. var idx = ds_grid_grd_inhpdeci.rowposition;
  1957. ds_data_grd_inhpdeci.copyRow(0, ds_grid_grd_inhpdeci, idx);
  1958. ds_data_grd_inhpdeci.setColumn(0, "erreglyn", "I");
  1959. } else if (pParam == "ED") {
  1960. // ER -> SDW/CHEMO
  1961. ds_data_grd_inhpdeci.clearData();
  1962. ds_data_grd_inhpdeci.addRow();
  1963. var idx = ds_grid_grd_inhpdeci.rowposition;
  1964. ds_data_grd_inhpdeci.copyRow(0, ds_grid_grd_inhpdeci, idx);
  1965. ds_data_grd_inhpdeci.setColumn(0, "erreglyn", "D");
  1966. } else if (pParam == "DI") {
  1967. // SDW/CHEMO -> 입원
  1968. ds_data_grd_inhpdeci.clearData();
  1969. ds_data_grd_inhpdeci.addRow();
  1970. var idx = ds_grid_grd_inhpdeci.rowposition;
  1971. ds_data_grd_inhpdeci.copyRow(0, ds_grid_grd_inhpdeci, idx);
  1972. ds_data_grd_inhpdeci.setColumn(0, "erreglyn", "I");
  1973. } else if (pParam == "DE") {
  1974. // SDW/CHEMO -> ER
  1975. ds_data_grd_inhpdeci.clearData();
  1976. ds_data_grd_inhpdeci.addRow();
  1977. var idx = ds_grid_grd_inhpdeci.rowposition;
  1978. ds_data_grd_inhpdeci.copyRow(0, ds_grid_grd_inhpdeci, idx);
  1979. ds_data_grd_inhpdeci.setColumn(0, "erreglyn", "E");
  1980. } else {
  1981. sysf_messageBox("변경상태가 올바르지 않습니다.", "I");
  1982. return;
  1983. }
  1984. var setCondData = "";
  1985. if (pParam == "IE" || pParam == "ID") {
  1986. setCondData = "ds_data_grd_inprescondrefrsrv";
  1987. ds_data_grd_inprescondrefrsrv.addColumn("rsrvflag", "string");
  1988. ds_data_grd_inprescondrefrsrv.addColumn("status", "string");
  1989. ds_data_grd_inprescondrefrsrv.setColumn(0, "rsrvflag", "AA");
  1990. ds_data_grd_inprescondrefrsrv.setColumn(0, "status", "U");
  1991. } else if (pParam == "EI" || pParam == "ED" || pParam == "DI" || pParam == "DE") {
  1992. setCondData = "ds_data_grd_inhpdeci";
  1993. ds_data_grd_inhpdeci.addColumn("rsrvflag", "string");
  1994. ds_data_grd_inhpdeci.addColumn("status", "string");
  1995. ds_data_grd_inhpdeci.setColumn(0, "rsrvflag", "AA");
  1996. ds_data_grd_inhpdeci.setColumn(0, "status", "U");
  1997. }
  1998. var oParam = {};
  1999. oParam.id = "TXPMI00201";
  2000. oParam.service = "ipatmngtapp.InRsrv";
  2001. oParam.method = "reqExeInhpRsrv";
  2002. oParam.inds = "s_adrv=" + setCondData;
  2003. oParam.outds = "";
  2004. oParam.async = false;
  2005. oParam.callback = "cf_TXPMI00201";
  2006. tranf_submit(oParam);
  2007. }
  2008. }
  2009. function cf_TXPMI00201(strSvcID, nErrorCode, strErrorMsg) {
  2010. if (nErrorCode == 0) {
  2011. sysf_messageBox("수정 되었습니다.", "I");
  2012. group2.btn_srch2.click();
  2013. }
  2014. }
  2015. // 입원결정서 삭제 - [결정서 삭제/복원] 팝업 오픈
  2016. function lf_setDeciCancel(pid) {
  2017. // var sParam = "";
  2018. // var idx = 0;
  2019. var sOrdType = ds_cond_rsrv.getColumn(0, 'ordtype');
  2020. var sAdrvFlag = ds_cond_rsrv.getColumn(0, 'aprv_flag');
  2021. // 전과전실승인된 입원결정서는 수정할 수 없도록 막는다.
  2022. if (sAdrvFlag == "Y") {
  2023. sysf_messageBox("전과전실승인된 내역은 변경할 수 없습니다!!", "I");
  2024. return;
  2025. }
  2026. // // 입원예약
  2027. // if (sOrdType == "I") {
  2028. // idx = ds_grid_grd_inprescondrefrsrv.rowposition;
  2029. // sParam = ds_grid_grd_inprescondrefrsrv.getColumn(idx,"pid");
  2030. // // 응급 or // SDW/CHEMO
  2031. // } else if (sOrdType == "E" || sOrdType == "D") {
  2032. // idx = ds_grid_grd_inhpdeci.rowposition;
  2033. // sParam = ds_grid_grd_inhpdeci.getColumn(idx,"pid");
  2034. // } else {
  2035. // sysf_messageBox("팝업 메뉴 조건이 아닙니다.", "I");
  2036. // return;
  2037. // }
  2038. var objArg = new Object();
  2039. if (!utlf_isNull(pid)) {
  2040. objArg.sPid = pid;
  2041. frmf_modal("SPPMI03400", "SPPMI03400", objArg);
  2042. } else {
  2043. sysf_messageBox("취소 할 환자를 선택 해 주세요.", "I");
  2044. }
  2045. group2.btn_srch2.click();
  2046. }
  2047. // 입원수속 보완/해제 ( B : 보완, C : 완료)
  2048. function lf_setRsrvPrcs() {
  2049. var idx = ds_grid_grd_inhpdeci.rowposition;
  2050. var sOrdType = ds_cond_rsrv.getColumn(0, 'ordtype');
  2051. var sRsrvPrcsStat = "";
  2052. var sSetRsrvPrcsStat = "";
  2053. // 입원예약
  2054. if (sOrdType == "I") {
  2055. return;
  2056. }
  2057. // 응급, SDW/CHEMO
  2058. if (sOrdType == "E" || sOrdType == "D") {
  2059. sRsrvPrcsStat = ds_grid_grd_inhpdeci.getColumn(idx, "rsrvprcsstat");
  2060. if (sRsrvPrcsStat == "-" || sRsrvPrcsStat == "A" || sRsrvPrcsStat == "C") {
  2061. var result = sysf_messageBox("[입원수속보완]을 설정하시겠니까?", "Q");
  2062. if (result == "6") {
  2063. sSetRsrvPrcsStat = "B";
  2064. // 수정이력 20100304 JHP 아니오 눌렀을때 return false한다. 아니면 그냥 진행되서 오류난다.
  2065. } else {
  2066. return false;
  2067. }
  2068. } else if (sRsrvPrcsStat == "B") {
  2069. var result = sysf_messageBox("[입원수속보완]을 해제(완료) 하시겠니까?", "Q");
  2070. if (result == "6") {
  2071. sSetRsrvPrcsStat = "C";
  2072. // 수정이력 20100304 JHP 아니오 눌렀을때 return false한다. 아니면 그냥 진행되서 오류난다.
  2073. } else {
  2074. return false;
  2075. }
  2076. } else {
  2077. sysf_messageBox("[입원수속보완] 상태값이 올바르지 않습니다.!!", "I");
  2078. }
  2079. ds_data_grd_inhpdeci.clearData();
  2080. ds_data_grd_inhpdeci.addRow();
  2081. ds_data_grd_inhpdeci.copyRow(0, ds_grid_grd_inhpdeci, idx);
  2082. ds_data_grd_inhpdeci.setColumn(0, "erreglyn", sOrdType);
  2083. ds_data_grd_inhpdeci.setColumn(0, "rsrvprcsstat", sSetRsrvPrcsStat);
  2084. ds_data_grd_inhpdeci.addColumn("rsrvflag", "string");
  2085. ds_data_grd_inhpdeci.addColumn("status", "string");
  2086. ds_data_grd_inhpdeci.setColumn(0, "rsrvflag", "AB");
  2087. ds_data_grd_inhpdeci.setColumn(0, "status", "U");
  2088. var oParam = {};
  2089. oParam.id = "TXPMI00201";
  2090. oParam.service = "ipatmngtapp.InRsrv";
  2091. oParam.method = "reqExeInhpRsrv";
  2092. oParam.inds = "s_adrv=ds_data_grd_inhpdeci";
  2093. oParam.outds = "";
  2094. oParam.async = false;
  2095. oParam.callback = "cf_TXPMI00201";
  2096. tranf_submit(oParam);
  2097. }
  2098. }
  2099. function lf_iGridColor(row, col) {
  2100. var vRow = ds_grid_grd_inprescondreflist.getColumn(row, "room_bed_no");
  2101. var bind = lf_getCellBindCol(col);
  2102. var statusColor;
  2103. if (vRow != 0) {
  2104. var colRemBindCol = bind.replace("nm", "");
  2105. if (colRemBindCol == "wardcd") return;
  2106. var vCol = ds_grid_grd_inprescondreflist.getColumn(row, colRemBindCol);
  2107. var vStatus = vCol.substr(0, 1);
  2108. if (vStatus == '0') { //재원환자
  2109. statusColor = "#dcdcdc";
  2110. } else if (vStatus == '1') { //전실승인환자
  2111. statusColor = "#fcd2c1";
  2112. } else if (vStatus == '2') { //이중병실환자
  2113. statusColor = "#ffe79d";
  2114. } else if (vStatus == '3') { //전실승인이중병실환자
  2115. statusColor = "#11ddff";
  2116. } else if (vStatus == '4') { //예약환자
  2117. statusColor = "#40e0d0";
  2118. } else if (vStatus == '5') { //전실신청
  2119. statusColor = "#ffe79dff";
  2120. } else if (vStatus == '6') { //퇴원예고
  2121. statusColor = "#fcd2c1ff";
  2122. }
  2123. var vCol2 = ds_grid_grd_inprescondreflist.getColumn(row, bind);
  2124. var v_public = vCol2.indexOf("(공)");
  2125. if (v_public > 0) {
  2126. statusColor = "#00FF00";
  2127. //ds_grid_grd_inprescondreflist.setColumn(row, bind, vCol2.replace("(공)", ""))
  2128. }
  2129. } else {
  2130. var sRoomCd = ds_grid_grd_inprescondreflist.getColumn(row, bind);
  2131. var iFirstIndex = sRoomCd.lastIndexOf('(');
  2132. var iLastIndex = sRoomCd.lastIndexOf(')');
  2133. var iBedCnt = parseInt(sRoomCd.substring(iFirstIndex + 1, iLastIndex), 10);
  2134. if (utlf_isNull(iBedCnt)) iBedCnt = 1;
  2135. if (iBedCnt < 0) {
  2136. statusColor = "red";
  2137. } else {
  2138. statusColor = "#f7a08b";
  2139. }
  2140. }
  2141. return statusColor;
  2142. }
  2143. function lf_getCellBindCol(nCell) {
  2144. var text = utlf_trim(grd_inprescondreflist.getCellProperty("body", nCell, "text"));
  2145. return text.replace(/bind:/, "").replace(/BIND:/, "");
  2146. }
  2147. function SMPMI00800_onkeydown(obj: Form, e: KeyEventInfo) {
  2148. //팝업화면으로 사용 될 경우
  2149. if (frmf_checkOpener()) {
  2150. if (e.keycode == 27) {
  2151. this.close();
  2152. }
  2153. }
  2154. }
  2155. function lf_grd_inprescondrefrsrv_Color(row) {
  2156. var statusColor = "";
  2157. var sordtype = ds_cond_rsrv.getColumn(0, "ordtype");
  2158. if (sordtype == "I" || sordtype == "T") {
  2159. var sInrsrvstat = ds_grid_grd_inprescondrefrsrv.getColumn(row, "inrsrvstat");
  2160. if (sInrsrvstat == "S" || sInrsrvstat == "R") {
  2161. statusColor = "#cc3300";
  2162. }
  2163. // 입원결정서 - 예약
  2164. if (sInrsrvstat == "T") {
  2165. statusColor = "#0066ff";
  2166. }
  2167. } else if (sordtype == "E") {
  2168. var sRsrvprcsstat = ds_grid_grd_inprescondrefrsrv.getColumn(row, "rsrvprcsstat");
  2169. if (sRsrvprcsstat == "B") {
  2170. statusColor = "#cc99ff";
  2171. } else {
  2172. statusColor = "#ffffff";
  2173. }
  2174. } else if (sordtype == "D") {
  2175. var sRsrvprcsstat = ds_grid_grd_inprescondrefrsrv.getColumn(row, "rsrvprcsstat");
  2176. if (sRsrvprcsstat == "B") {
  2177. statusColor = "#cc99ff";
  2178. }
  2179. }
  2180. return statusColor;
  2181. }
  2182. function btn_init_onclick(obj: Button, e: ClickEventInfo) {
  2183. }
  2184. ]]></Script>
  2185. </Form>
  2186. </FDL>