SMMNP06000_DSC main.xfdl 104 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNP06000" position="absolute 0 0 1202 784" titletext="DSC main" oninit="SMMNP06000_oninit" onload="SMMNP06000_onload" ontimer="SMMNP06000_ontimer">
  5. <Layouts>
  6. <Layout>
  7. <Tab position="absolute 0 81 1202 762" id="swt_main" onchanged="swt_main_onchanged" anchor="all" onlbuttondown="swt_main_onlbuttondown" style="buttonpadding:4 16 4 16;border:0 solid #808080ff,1 solid #808080ff,1 solid #808080ff,1 solid #808080ff;">
  8. <Tabpages>
  9. <Tabpage text=" DSC Main " id="case_dm">
  10. <Layouts>
  11. <Layout>
  12. <Button position="absolute 1154 4 1196 24" id="button2" class="btn2" text="출력" onclick="swt_main_case_dm_button2_onclick" anchor="top right"/>
  13. <Grid position="absolute 4 29 1196 361" id="grd_dscList" class="datagrid2" binddataset="ds_main_dsc_dscList" oncelldblclick="swt_main_case_dm_grd_dscList_oncelldblclick" onrbuttondown="swt_main_case_dm_grd_dscList_onrbuttondown" onrbuttonup="swt_main_case_dm_grd_dscList_onrbuttonup" oncellclick="swt_main_case_dm_grd_dscList_oncellclick" cellsizingtype="col" cellsizebandtype="allband" scrollpixel="all" anchor="left top right" autoenter="key" oncloseup="swt_main_case_dm_grd_dscList_oncloseup" onlbuttonup="swt_main_case_dm_grd_dscList_onlbuttonup">
  14. <Formats>
  15. <Format id="default">
  16. <Columns>
  17. <Column size="20" band="left"/>
  18. <Column size="102" band="left"/>
  19. <Column size="102" band="left"/>
  20. <Column size="20" band="left"/>
  21. <Column size="30" band="left"/>
  22. <Column size="35" band="left"/>
  23. <Column size="57" band="left"/>
  24. <Column size="25"/>
  25. <Column size="25"/>
  26. <Column size="60"/>
  27. <Column size="61"/>
  28. <Column size="48"/>
  29. <Column size="72"/>
  30. <Column size="49"/>
  31. <Column size="65"/>
  32. <Column size="50"/>
  33. <Column size="180"/>
  34. <Column size="39"/>
  35. <Column size="39"/>
  36. <Column size="87"/>
  37. <Column size="60"/>
  38. <Column size="65"/>
  39. <Column size="50"/>
  40. <Column size="30"/>
  41. <Column size="65"/>
  42. <Column size="0"/>
  43. <Column size="0"/>
  44. <Column size="0"/>
  45. <Column size="0"/>
  46. <Column size="0"/>
  47. <Column size="0"/>
  48. <Column size="0"/>
  49. <Column size="0"/>
  50. <Column size="0"/>
  51. <Column size="0"/>
  52. <Column size="0"/>
  53. <Column size="0"/>
  54. <Column size="0"/>
  55. <Column size="0"/>
  56. <Column size="0"/>
  57. <Column size="0"/>
  58. <Column size="0"/>
  59. </Columns>
  60. <Rows>
  61. <Row size="26" band="head"/>
  62. <Row size="24"/>
  63. </Rows>
  64. <Band id="head">
  65. <Cell/>
  66. <Cell col="1" text="입실시각"/>
  67. <Cell col="2" text="퇴실시각"/>
  68. <Cell col="3" colspan="2" text="재원&#10;상태" taborder="undefined"/>
  69. <Cell col="5" text="심사&#10;대상"/>
  70. <Cell col="6" text="수술상태"/>
  71. <Cell col="7" text="C&#10;P"/>
  72. <Cell col="8" text="협&#10;진"/>
  73. <Cell col="9" text="등록번호"/>
  74. <Cell col="10" text="이름"/>
  75. <Cell col="11" text="S/A"/>
  76. <Cell col="12" text="수술일자"/>
  77. <Cell col="13" text="방"/>
  78. <Cell col="14" text="수술시간"/>
  79. <Cell col="15" text="소요&#10;시간"/>
  80. <Cell col="16" text="수술명"/>
  81. <Cell col="17" text="수술&#10;부위"/>
  82. <Cell col="18" text="구분"/>
  83. <Cell col="19" text="과"/>
  84. <Cell col="20" text="주치의"/>
  85. <Cell col="21" text="집도의"/>
  86. <Cell col="22" text="마취&#10;방법"/>
  87. <Cell col="23" text="진정"/>
  88. <Cell col="24" text="수술 전&#10;검사"/>
  89. <Cell col="25" text="수술&#10;처방"/>
  90. <Cell col="26" text="미확인&#10;처방"/>
  91. <Cell col="27" text="기록&#10;유무"/>
  92. <Cell col="28"/>
  93. <Cell col="29"/>
  94. <Cell col="30"/>
  95. <Cell col="31"/>
  96. <Cell col="32"/>
  97. <Cell col="33"/>
  98. <Cell col="34"/>
  99. <Cell col="35"/>
  100. <Cell col="36" text="입원&#10;처방"/>
  101. <Cell col="37" text="외래&#10;처방"/>
  102. <Cell col="38"/>
  103. <Cell col="39"/>
  104. <Cell col="40"/>
  105. <Cell col="41"/>
  106. </Band>
  107. <Band id="body">
  108. <Cell celltype="head"/>
  109. <Cell col="1" displaytype="text" edittype="expr:bind:colEdittype" text="bind:careinrmdd" mask="####-##-## ##:##" maskchar=" " edittrimtype="both" editautoselect="true"/>
  110. <Cell col="2" style="align:left;" text="bind:dschdd" mask="expr:utlf_isNull(dschdd) || dschdd == '-' ? '' : ds_main_dsc_dscList.getColumn(currow, 'dschdd').length == 8 ? '####-##-##' : '####-##-## ##:##'" maskchar=" "/>
  111. <Cell col="3" style="linetype:onlyhorz;" text="bind:chngroomstat"/>
  112. <Cell col="4" text="bind:indschstat"/>
  113. <Cell col="5" text="bind:judyn"/>
  114. <Cell col="6" displaytype="combo" style="align:center;" text="bind:opstatcd" combodataset="ds_init_M0065list_M0065" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  115. <Cell col="7" text="bind:cpgappno"/>
  116. <Cell col="8" text="bind:cnstyn"/>
  117. <Cell col="9" text="bind:pid"/>
  118. <Cell col="10" text="bind:hngnm"/>
  119. <Cell col="11" text="bind:sexage"/>
  120. <Cell col="12" displaytype="date" text="bind:opcnfmdd" calendardisplaynulltype="none"/>
  121. <Cell col="13" text="bind:oproomcd"/>
  122. <Cell col="14" text="bind:opfromtmcd" mask="expr:utlf_isNull(opfromtmcd) ? '' : '##:##'"/>
  123. <Cell col="15" text="bind:opusetm" mask="expr:utlf_isNull(opusetm) ? '' : '##:##'"/>
  124. <Cell col="16" style="align:left;" text="bind:opcd"/>
  125. <Cell col="17" style="align:left;" text="bind:oppart"/>
  126. <Cell col="18" text="bind:opflagcd"/>
  127. <Cell col="19" style="align:left;" text="bind:orddeptcd"/>
  128. <Cell col="20" text="bind:atdoctid"/>
  129. <Cell col="21" text="bind:perfdrnm"/>
  130. <Cell col="22" style="align:left;" text="bind:anstmthdcd"/>
  131. <Cell col="23" text="bind:calmflag"/>
  132. <Cell col="24" displaytype="combo" edittype="combo" style="align:center;" text="bind:dsclabflag" combodataset="ds_dsclabflag" combocodecol="value" combodatacol="label"/>
  133. <Cell col="25" text="bind:iprch2"/>
  134. <Cell col="26" text="bind:uncn"/>
  135. <Cell col="27" text="bind:oprdyn"/>
  136. <Cell col="28" text="bind:oppatflagcd"/>
  137. <Cell col="29" text="bind:iocls"/>
  138. <Cell col="30" text="bind:indd"/>
  139. <Cell col="31" text="bind:cretno"/>
  140. <Cell col="32" text="bind:seqno"/>
  141. <Cell col="33" text="bind:ccrtstat"/>
  142. <Cell col="34" text="bind:tmpcareinrmdd"/>
  143. <Cell col="35" text="bind:oprsrvno"/>
  144. <Cell col="36" text="bind:iprccount"/>
  145. <Cell col="37" text="bind:oprccount"/>
  146. <Cell col="38" text="bind:rcptyn"/>
  147. <Cell col="39" text="bind:chngmedispclid"/>
  148. <Cell col="40" text="bind:perfdrid"/>
  149. <Cell col="41" text="bind:perfdeptcd"/>
  150. </Band>
  151. </Format>
  152. </Formats>
  153. </Grid>
  154. <Shape position="absolute 4 24 1196 30" linetype="horizontal" id="line1" class="line_10" anchor="left top right"/>
  155. <Button position="absolute 1098 4 1151 24" id="btn_excel" class="btn2" text="Excel" onclick="swt_main_case_dm_btn_excel_onclick" anchor="top right"/>
  156. <Button position="absolute 1009 4 1095 24" id="btn_save" class="btn5" text="입실시각저장" onclick="swt_main_case_dm_btn_save_onclick" anchor="top right"/>
  157. <Grid position="absolute 597 392 1196 610" id="grd_cartlist" binddataset="ds_main_MmohiprcLists_CartList" cellsizingtype="col" scrollpixel="all" anchor="all" extendsizetype="row" autosizingtype="row" autofittype="col">
  158. <Formats>
  159. <Format id="default">
  160. <Columns>
  161. <Column size="60"/>
  162. <Column size="65"/>
  163. <Column size="261"/>
  164. <Column size="77"/>
  165. <Column size="46"/>
  166. <Column size="31"/>
  167. <Column size="30"/>
  168. </Columns>
  169. <Rows>
  170. <Row size="24" band="head"/>
  171. <Row size="24" band="head"/>
  172. <Row size="24"/>
  173. </Rows>
  174. <Band id="head">
  175. <Cell colspan="7" text="수술마취 확정 간호처방" taborder="undefined"/>
  176. <Cell row="1" text="종류"/>
  177. <Cell row="1" col="1" text="코드"/>
  178. <Cell row="1" col="2" text="처방(물품)명"/>
  179. <Cell row="1" col="3" text="규격"/>
  180. <Cell row="1" col="4" text="모델"/>
  181. <Cell row="1" col="5" text="단위"/>
  182. <Cell row="1" col="6" text="수량"/>
  183. </Band>
  184. <Band id="body">
  185. <Cell style="align:left;" text="bind:kindcd"/>
  186. <Cell col="1" style="align:left top;padding:4 2 2 2;" text="bind:goodcd" wordwrap="word" autosizerow="limitmin"/>
  187. <Cell col="2" style="align:left top;padding:4 2 2 2;" text="bind:goodengnm" wordwrap="word" autosizerow="limitmin"/>
  188. <Cell col="3" style="align:left top;padding:4 2 2 2;" text="bind:goodspec" wordwrap="word" autosizerow="limitmin"/>
  189. <Cell col="4" style="align:left;" text="bind:goodmodel"/>
  190. <Cell col="5" style="align:left;padding:2 2 2 2;" text="bind:deliveunit"/>
  191. <Cell col="6" style="align:left;" text="bind:goodqty"/>
  192. </Band>
  193. </Format>
  194. </Formats>
  195. </Grid>
  196. <Static text="수술처방 상세내역" position="absolute 4 370 145 390" id="caption20" class="tit_2"/>
  197. <Grid position="absolute 4 392 595 610" id="grd_otptlist" binddataset="ds_main_MmohiprcLists_CureList" cellsizingtype="col" scrollpixel="all" anchor="left top bottom" extendsizetype="row" autosizingtype="row" autofittype="col">
  198. <Formats>
  199. <Format id="default">
  200. <Columns>
  201. <Column size="58"/>
  202. <Column size="64"/>
  203. <Column size="295"/>
  204. <Column size="50"/>
  205. <Column size="58"/>
  206. <Column size="60"/>
  207. </Columns>
  208. <Rows>
  209. <Row size="24" band="head"/>
  210. <Row size="24" band="head"/>
  211. <Row size="24"/>
  212. </Rows>
  213. <Band id="head">
  214. <Cell colspan="6" text="수술료/마취료" taborder="undefined"/>
  215. <Cell row="1" text="종류"/>
  216. <Cell row="1" col="1" text="코드"/>
  217. <Cell row="1" col="2" text="처방코드/처방명"/>
  218. <Cell row="1" col="3" text="구분"/>
  219. <Cell row="1" col="4" text="급/비"/>
  220. <Cell row="1" col="5" text="선택진료"/>
  221. </Band>
  222. <Band id="body">
  223. <Cell style="align:left;" text="bind:kindcd"/>
  224. <Cell col="1" style="align:left;" text="bind:prcpcd"/>
  225. <Cell col="2" style="align:left top;padding:4 2 2 2;" text="bind:ordname" wordwrap="word" autosizerow="limitmin"/>
  226. <Cell col="3" style="align:left top;padding:4 2 2 2;" text="bind:opcls" wordwrap="word" autosizerow="limitmin"/>
  227. <Cell col="4" style="align:left;" text="bind:payflagcd"/>
  228. <Cell col="5" text="bind:choiordflag"/>
  229. </Band>
  230. </Format>
  231. </Formats>
  232. </Grid>
  233. <Shape position="absolute 4 387 1196 393" linetype="horizontal" id="line6" class="line_10" anchor="left top right"/>
  234. <Shape position="absolute 4 360 1196 366" linetype="horizontal" id="line3" class="line_3" anchor="left top right"/>
  235. <Static position="absolute 1120 371 1135 386" id="caption9" class="color_6" style="background:#ff0000ff;" anchor="top right"/>
  236. <Static text="수술취소" position="absolute 1137 369 1195 389" id="caption10" anchor="top right"/>
  237. <Edit readonly="true" position="absolute 4 4 917 24" id="out_msg" visible="false" class="output" anchor="left top right"/>
  238. <Button position="absolute 920 4 1006 24" id="btn_outcancel" class="btn5" enable="false" visible="true" text="간호퇴실취소" onclick="swt_main_case_dm_btn_outcancel_onclick" anchor="top right"/>
  239. </Layout>
  240. </Layouts>
  241. </Tabpage>
  242. <Tabpage text="Order Manage" id="case_om" style="anchor:default;margin:5 5 5 5;">
  243. <Layouts>
  244. <Layout>
  245. <Div position="absolute 0 0 1190 634" id="import3" url="emr_wardorderxp::SMMNW00300_OrderManage.xfdl" anchor="all"/>
  246. </Layout>
  247. </Layouts>
  248. </Tabpage>
  249. </Tabpages>
  250. </Tab>
  251. <Div position="absolute 0 24 1202 78" align="align:center top;" id="group2" class="div_SA" anchor="left top right">
  252. <Layouts>
  253. <Layout>
  254. <Static text="업무일자 :" position="absolute 5 7 79 27" id="caption8" class="search_name" anchor="default"/>
  255. <Static text="수술진행 :" position="absolute 636 7 714 27" id="caption11" class="search_name" anchor="default"/>
  256. <Static text="구 분 :" position="absolute 244 7 302 27" id="caption1" class="search_name" anchor="default"/>
  257. <Static text="집도의 :" position="absolute 244 29 305 49" id="caption54" class="search_name" anchor="default"/>
  258. <Shape position="absolute 1107 29 1113 49" linetype="vertical" id="line25" class="line_4" anchor="top right"/>
  259. <Calendar position="absolute 84 6 204 26" align="align:center middle;" id="ipt_opcnfmdd" class="input_default" taborder="1" anchor="default" autoselect="true" onchanged="group2_ipt_opcnfmdd_onchanged"/>
  260. <Radio position="absolute 310 6 510 26" id="rdo_dscflag" class="radio_search" taborder="15" columncount="4" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" onitemchanged="group2_rdo_dscflag_onitemchanged">
  261. <Dataset id="innerdataset">
  262. <ColumnInfo>
  263. <Column id="codecolumn"/>
  264. <Column id="datacolumn"/>
  265. </ColumnInfo>
  266. <Rows>
  267. <Row>
  268. <Col id="codecolumn">I</Col>
  269. <Col id="datacolumn">입원</Col>
  270. </Row>
  271. <Row>
  272. <Col id="codecolumn">D</Col>
  273. <Col id="datacolumn">DSC</Col>
  274. </Row>
  275. <Row>
  276. <Col id="codecolumn">T</Col>
  277. <Col id="datacolumn">퇴실완료</Col>
  278. </Row>
  279. </Rows>
  280. </Dataset>
  281. </Radio>
  282. <Radio position="absolute 717 6 1023 26" id="rdo_opflag" class="radio_search" taborder="15" columncount="-1" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" rowcount="-1" style="textpadding:0 5 0 3;" onitemchanged="group2_rdo_opflag_onitemchanged">
  283. <Dataset id="innerdataset">
  284. <ColumnInfo>
  285. <Column id="codecolumn"/>
  286. <Column id="datacolumn"/>
  287. </ColumnInfo>
  288. <Rows>
  289. <Row>
  290. <Col id="codecolumn">00</Col>
  291. <Col id="datacolumn">전체</Col>
  292. </Row>
  293. <Row>
  294. <Col id="codecolumn">20</Col>
  295. <Col id="datacolumn">수술예정</Col>
  296. </Row>
  297. <Row>
  298. <Col id="codecolumn">30</Col>
  299. <Col id="datacolumn">수술대기</Col>
  300. </Row>
  301. <Row>
  302. <Col id="codecolumn">40</Col>
  303. <Col id="datacolumn">수술중</Col>
  304. </Row>
  305. <Row>
  306. <Col id="codecolumn">50</Col>
  307. <Col id="datacolumn">종료</Col>
  308. </Row>
  309. </Rows>
  310. </Dataset>
  311. </Radio>
  312. <Button position="absolute 1121 29 1177 49" id="button9" class="btn1" text="조회" anchor="top right" onclick="group2_button9_onclick"/>
  313. <Static text="진 료 과 :" position="absolute 5 29 77 49" id="caption2" class="search_name" anchor="default"/>
  314. <Combo position="absolute 84 29 204 49" id="cmb_orddeptlist" class="combo_default" innerdataset="@ds_main_cond_orddeptlist_dept" datacolumn="depthngnm" codecolumn="deptcd" anchor="default" onitemchanged="group2_cmb_orddeptlist_onitemchanged" displayrowcount="20"/>
  315. <Combo position="absolute 310 29 400 49" id="cmb_drcd" class="combo_default" innerdataset="@ds_init_drcdlist" datacolumn="usernm" codecolumn="userid" anchor="default" onitemchanged="group2_cmb_drcd_onitemchanged"/>
  316. <Static text="수술방 :" position="absolute 436 29 498 49" id="caption4" class="search_name" anchor="default"/>
  317. <Combo position="absolute 505 29 601 49" id="cmb_oproomcd" class="combo_default" innerdataset="@ds_init_omcdlist" datacolumn="oproomnm" codecolumn="oproomcd" anchor="default" onitemchanged="group2_cmb_oproomcd_onitemchanged" displayrowcount="20"/>
  318. <Static text="등록번호 :" position="absolute 636 29 711 49" id="caption7" class="search_name" anchor="default"/>
  319. <Button position="absolute 810 28 830 48" id="button16" class="icon_search" taborder="6" text="" anchor="default" onclick="group2_button16_onclick"/>
  320. <Edit position="absolute 716 29 807 49" id="ipt_pid" class="input_default" anchor="default" autoselect="true" onkeyup="group2_ipt_pid_onkeyup"/>
  321. <Edit readonly="true" position="absolute 833 29 928 49" id="opt_hngnm" anchor="default" class="output"/>
  322. <Edit readonly="true" position="absolute 979 29 1079 49" id="opt_rrgstno" anchor="default" class="output"/>
  323. <Edit readonly="true" position="absolute 931 29 976 49" id="opt_gndrage" anchor="default" class="output"/>
  324. <CheckBox position="absolute 1115 6 1185 26" id="chk_opflagex" visible="false" anchor="default" text="취소제외" truevalue="99" onclick="group2_chk_opflagex_onclick"/>
  325. </Layout>
  326. </Layouts>
  327. </Div>
  328. <Static text="일일수술실" position="absolute 0 0 100 25" id="caption6" class="tit_1"/>
  329. <Div position="absolute 10 743 210 763" id="group1" anchor="left bottom">
  330. <Layouts>
  331. <Layout>
  332. <Static text="*일반/반환/퇴원" position="absolute 10 0 110 20" id="cap_prcp" visible="false" anchor="default"/>
  333. <Static position="absolute 132 2 147 17" id="cap_color" class="color_6" visible="false" anchor="default" style="background:#ffccccff;"/>
  334. <Static text="미확인" position="absolute 152 0 190 20" id="cap_uncnfm" visible="false" anchor="default"/>
  335. </Layout>
  336. </Layouts>
  337. </Div>
  338. <Div position="absolute 2 724 1198 753" id="grp_btn" scrollbars="autoboth" anchor="left right bottom">
  339. <Layouts>
  340. <Layout>
  341. <Shape position="absolute 2 2 897 29" id="sha_state" type="roundrectangle" anchor="default" style="fillbrush:solid #fffbf2ff true;"/>
  342. <Static text="재원상태 ◆:입원의뢰서 ■:전실승인 @:병동입원 ⓓ:퇴원예고 ⓒ:간호사퇴원정리완료 ⓘ:심사중 ⓕ:심사완료 (-):전실감 진료비후수납" position="absolute 12 5 834 25" id="cap_state" anchor="default"/>
  343. <Button position="absolute 1079 6 1195 26" id="btn_inrsrv" class="btn3" text="입원의뢰서조회" anchor="top right" onclick="grp_btn_btn_inrsrv_onclick"/>
  344. <Button position="absolute 982 6 1074 26" id="button1" class="btn3" text="프린터설정" anchor="top right" onclick="grp_btn_button1_onclick"/>
  345. <Static position="absolute 734 6 754 21" id="caption17" anchor="default" style="background:#ffff00ff;"/>
  346. </Layout>
  347. </Layouts>
  348. </Div>
  349. <Button position="absolute 1133 765 1197 784" id="button12" class="btn2" visible="false" text="컬럼설정" onclick="button12_onclick" anchor="right bottom"/>
  350. <Div position="absolute 485 230 674 280" id="group5" visible="false" style="background:#87cefaff;">
  351. <Layouts>
  352. <Layout>
  353. <Static text="출력할 장수를 입력하십시오." position="absolute 0 5 188 19" id="caption3" class="tit_2"/>
  354. <Edit position="absolute 27 25 87 44" align="align:right middle;" id="ipt_patcntctel" class="input_default" autoselect="true" onkeyup="group5_ipt_patcntctel_onkeyup" style="align:right middle;"/>
  355. <Button position="absolute 90 25 132 44" id="btn_prtlabel" class="btn5" text="확인" onclick="group5_btn_prtlabel_onclick"/>
  356. <Button position="absolute 135 25 177 44" id="button3" class="btn5" text="취소" onclick="group5_button3_onclick"/>
  357. </Layout>
  358. </Layouts>
  359. </Div>
  360. <PopupMenu id="pMenu_inmenumenu" innerdataset="@ds_main_menuitems_inmenu_item" idcolumn="func" captioncolumn="name" levelcolumn="lev" position="absolute 5 785 185 827" style="buttonsize:-1;" onmenuclick="pMenu_inmenumenu_onmenuclick"/>
  361. <PopupMenu id="pMenu_grdmenumenu" innerdataset="@ds_main_menuitems_grdmenu_item" idcolumn="func" captioncolumn="name" levelcolumn="lev" position="absolute 195 785 305 947" style="buttonsize:-1;" onmenuclick="pMenu_grdmenumenu_onmenuclick"/>
  362. </Layout>
  363. </Layouts>
  364. <Objects>
  365. <Dataset id="ds_main_cond_orddeptlist_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  366. <ColumnInfo>
  367. <Column id="depthngnm" type="STRING"/>
  368. <Column id="deptcd" type="STRING"/>
  369. </ColumnInfo>
  370. </Dataset>
  371. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  372. <ColumnInfo>
  373. <Column id="scrnid" type="STRING" size="256" sumtext="수행부서"/>
  374. <Column id="deptcd" type="STRING" size="256" sumtext="수행부서"/>
  375. <Column id="opdeptcd" type="STRING" size="256" sumtext="수행부서"/>
  376. <Column id="opcnfmdd" type="STRING" size="256" sumtext="수술일자"/>
  377. <Column id="dscflag" type="STRING" size="256" sumtext="구분"/>
  378. <Column id="opflag" type="STRING" size="256" sumtext="수술진행"/>
  379. <Column id="opflagex" type="STRING" size="256" sumtext="수술취소제외"/>
  380. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
  381. <Column id="drcd" type="STRING" size="256" sumtext="집도의"/>
  382. <Column id="oproomcd" type="STRING" size="256" sumtext="수술방"/>
  383. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  384. <Column id="instcd" type="STRING" size="256"/>
  385. <Column id="orddd" type="STRING" size="256"/>
  386. <Column id="cretno" type="STRING" size="256"/>
  387. <Column id="oprsrvno" type="STRING" size="256"/>
  388. <Column id="seqflag" type="STRING" size="256"/>
  389. </ColumnInfo>
  390. <Rows>
  391. <Row/>
  392. </Rows>
  393. </Dataset>
  394. <Dataset id="ds_barcdprntsetup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  395. <ColumnInfo>
  396. <Column id="prntsetupinfo" type="STRING" size="256" sumtext="코드"/>
  397. <Column id="macaddr" type="STRING" size="256" sumtext="macaddr"/>
  398. </ColumnInfo>
  399. </Dataset>
  400. <Dataset id="ds_init_drcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  401. <ColumnInfo>
  402. <Column id="userid" type="STRING" size="256" sumtext="집도의id"/>
  403. <Column id="usernm" type="STRING" size="256" sumtext="집도의명"/>
  404. </ColumnInfo>
  405. </Dataset>
  406. <Dataset id="ds_init_omcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  407. <ColumnInfo>
  408. <Column id="oproomcd" type="STRING" size="256" sumtext="수술실코드"/>
  409. <Column id="oproomnm" type="STRING" size="256" sumtext="수술실명"/>
  410. </ColumnInfo>
  411. </Dataset>
  412. <Dataset id="ds_main_dsc_dscList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" onrowposchanged="ds_main_dsc_dscList_onrowposchanged">
  413. <ColumnInfo>
  414. <Column id="careinrmdd" type="STRING" size="256" sumtext=" 01 입실시각 "/>
  415. <Column id="dschdd" type="STRING" size="256" sumtext=" 02 퇴실시각 "/>
  416. <Column id="chngroomstat" type="STRING" size="256" sumtext=" 03 재원상태 "/>
  417. <Column id="indschstat" type="STRING" size="256" sumtext=" 03 재원상태 "/>
  418. <Column id="opstatcd" type="STRING" size="256" sumtext=" 04 수술상태 "/>
  419. <Column id="cpgappno" type="STRING" size="256" sumtext=" 05 CP "/>
  420. <Column id="pid" type="STRING" size="256" sumtext=" 06 등록번호 "/>
  421. <Column id="hngnm" type="STRING" size="256" sumtext=" 07 이름 "/>
  422. <Column id="sexage" type="STRING" size="256" sumtext=" 08 S/A "/>
  423. <Column id="opcnfmdd" type="STRING" size="256" sumtext=" 09 수술일자 "/>
  424. <Column id="oproomcd" type="STRING" size="256" sumtext=" 10 수술방 "/>
  425. <Column id="opfromtmcd" type="STRING" size="256" sumtext=" 11 수술시간 "/>
  426. <Column id="opusetm" type="STRING" size="256" sumtext=" 12 소요시간 "/>
  427. <Column id="opcd" type="STRING" size="256" sumtext=" 13 수술명 "/>
  428. <Column id="opflagcd" type="STRING" size="256" sumtext=" 14 구분 "/>
  429. <Column id="orddeptcd" type="STRING" size="256" sumtext=" 15 과 "/>
  430. <Column id="medispclid" type="STRING" size="256" sumtext=" 16 주치의 "/>
  431. <Column id="perfdrnm" type="STRING" size="256" sumtext=" 17 집도의 "/>
  432. <Column id="anstmthdcd" type="STRING" size="256" sumtext=" 18 마취방법 "/>
  433. <Column id="iprch2" type="STRING" size="256" sumtext=" 19 수술처방 "/>
  434. <Column id="uncn" type="STRING" size="256" sumtext=" 20 미확인처방건수"/>
  435. <Column id="oprdyn" type="STRING" size="256" sumtext=" 21 기록여부 "/>
  436. <Column id="oppatflagcd" type="STRING" size="256" sumtext=" 22 환자구분 "/>
  437. <Column id="iocls" type="STRING" size="256" sumtext=" 23 입원외래구분 "/>
  438. <Column id="indd" type="STRING" size="256" sumtext=" 24 입원일자 "/>
  439. <Column id="cretno" type="STRING" size="256" sumtext=" 25 입원생성번호 "/>
  440. <Column id="oprsrvno" type="STRING" size="256" sumtext=" 26 수술예약번호 "/>
  441. <Column id="ccrtstat" type="STRING" size="256" sumtext=" 27 CaseCart 상태 "/>
  442. <Column id="seqno" type="STRING" size="256" sumtext=" 28 일련번호 "/>
  443. <Column id="mskind" type="STRING" size="256" sumtext=" 29 주부유형 "/>
  444. <Column id="histstat" type="STRING" size="256" sumtext=" 30 이력상태 "/>
  445. <Column id="perfdeptcd" type="STRING" size="256" sumtext=" 31 집도과 "/>
  446. <Column id="ophistno" type="STRING" size="256" sumtext=" 32 집도과 "/>
  447. <Column id="perfdrid" type="STRING" size="256" sumtext=" 33 집도의ID "/>
  448. <Column id="instcd" type="STRING" size="256" sumtext=" 34 기관코드 "/>
  449. <Column id="careinrmdd" type="STRING" size="256" sumtext=" 35 입실시각 "/>
  450. <Column id="iprccount" type="STRING" size="256" sumtext=" 36 입원처방갯수 "/>
  451. <Column id="oprccount" type="STRING" size="256" sumtext=" 37 외래처방갯수 "/>
  452. <Column id="cnstyn" type="STRING" size="256" sumtext=" 38 협진수술여부 "/>
  453. <Column id="rcptyn" type="STRING" size="256" sumtext=" 39 퇴원수납여부 "/>
  454. <Column id="chngmedispclid" type="STRING" size="256" sumtext=" 40 주치의ID "/>
  455. <Column id="roomcd" type="STRING" size="256" sumtext=" 41 roomcd "/>
  456. <Column id="seqflag" type="STRING" size="256" sumtext=" 42 seqflag "/>
  457. <Column id="oppart" type="STRING" size="256" sumtext=" 43 oppart "/>
  458. <Column id="dsclabflag" type="STRING" size="256" sumtext="DSC 수술 전 검사"/>
  459. <Column id="calmflag" type="STRING" size="256" sumtext="진정유무"/>
  460. <Column id="brateflag" type="STRING" size="256" sumtext="수납요율(입/퇴)"/>
  461. <Column id="judyn" type="STRING" size="256" sumtext="외퇴 심사대상 유무"/>
  462. <Column id="medipostyn" type="STRING" size="256" sumtext="진료비후불대상자"/>
  463. </ColumnInfo>
  464. </Dataset>
  465. <Dataset id="ds_main_MmohiprcLists_CartList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  466. <ColumnInfo>
  467. <Column id="kindcd" type="STRING" size="256" sumtext=" 수술마취간호처방종류 "/>
  468. <Column id="goodcd" type="STRING" size="256" sumtext=" 처방코드 "/>
  469. <Column id="goodengnm" type="STRING" size="256" sumtext=" 처방명 "/>
  470. <Column id="goodspec" type="STRING" size="256" sumtext=" 규격 "/>
  471. <Column id="goodmodel" type="STRING" size="256" sumtext=" 모델 "/>
  472. <Column id="deliveunit" type="STRING" size="256" sumtext=" 단위 "/>
  473. <Column id="goodqty" type="STRING" size="256" sumtext=" 수량 "/>
  474. </ColumnInfo>
  475. </Dataset>
  476. <Dataset id="ds_main_MmohiprcLists_CureList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  477. <ColumnInfo>
  478. <Column id="kindcd" type="STRING" size="256" sumtext=" 수술마취료종류 "/>
  479. <Column id="ordname" type="STRING" size="256" sumtext=" 처방/처방명 "/>
  480. <Column id="opcls" type="STRING" size="256" sumtext=" 주부구분 "/>
  481. <Column id="payflagcd" type="STRING" size="256" sumtext=" 급여비급여구분 "/>
  482. <Column id="prcpcd" type="STRING" size="256" sumtext=" 처방코드 "/>
  483. <Column id="choiordflag" type="STRING" size="256" sumtext=" 선택진료 여부 "/>
  484. <Column id="hosinhosoutflag" type="STRING" size="256" sumtext="원내/외 "/>
  485. </ColumnInfo>
  486. </Dataset>
  487. <Dataset id="ds_main_rghtref_rghtreflist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  488. <ColumnInfo>
  489. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  490. <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
  491. <Column id="gndrage" type="STRING" size="256" sumtext="S/A"/>
  492. <Column id="rrgstno" type="STRING" size="256" sumtext="주민번호"/>
  493. <Column id="btype" type="STRING" size="256" sumtext="혈액형"/>
  494. </ColumnInfo>
  495. <Rows>
  496. <Row/>
  497. </Rows>
  498. </Dataset>
  499. <Dataset id="ds_send_patnameinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  500. <ColumnInfo>
  501. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  502. <Column id="wardcd" type="STRING" size="256" sumtext="병동코드"/>
  503. </ColumnInfo>
  504. <Rows>
  505. <Row/>
  506. </Rows>
  507. </Dataset>
  508. <Dataset id="ds_temp2_patnamelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  509. <ColumnInfo>
  510. <Column id="roomcd" type="STRING" size="256" sumtext="병실"/>
  511. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  512. <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
  513. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  514. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  515. <Column id="orddeptnm" type="STRING" size="256" sumtext="부서명"/>
  516. <Column id="medispclnm" type="STRING" size="256" sumtext="주치의"/>
  517. <Column id="atdoctnm" type="STRING" size="256" sumtext="담당의"/>
  518. <Column id="indd" type="STRING" size="256" sumtext="입원일"/>
  519. <Column id="chdoctor" type="STRING" size="256" sumtext="선택여부"/>
  520. <Column id="bdbtype" type="STRING" size="256" sumtext="혈액형"/>
  521. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  522. <Column id="prtkind" type="STRING" size="256" sumtext="출력물종류"/>
  523. </ColumnInfo>
  524. </Dataset>
  525. <Dataset id="ds_send_dscList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  526. <ColumnInfo>
  527. <Column id="status" type="STRING" size="256" sumtext=" 00 상태값 "/>
  528. <Column id="careinrmdd" type="STRING" size="256" sumtext=" 01 입실시각 "/>
  529. <Column id="dschdd" type="STRING" size="256" sumtext=" 02 퇴실시각 "/>
  530. <Column id="chngroomstat" type="STRING" size="256" sumtext=" 03 재원상태 "/>
  531. <Column id="indschstat" type="STRING" size="256" sumtext=" 03 재원상태 "/>
  532. <Column id="opstatcd" type="STRING" size="256" sumtext=" 04 수술상태 "/>
  533. <Column id="cpgappno" type="STRING" size="256" sumtext=" 05 CP "/>
  534. <Column id="pid" type="STRING" size="256" sumtext=" 06 등록번호 "/>
  535. <Column id="hngnm" type="STRING" size="256" sumtext=" 07 이름 "/>
  536. <Column id="sexage" type="STRING" size="256" sumtext=" 08 S/A "/>
  537. <Column id="opcnfmdd" type="STRING" size="256" sumtext=" 09 수술일자 "/>
  538. <Column id="oproomcd" type="STRING" size="256" sumtext=" 10 수술방 "/>
  539. <Column id="opfromtmcd" type="STRING" size="256" sumtext=" 11 수술시간 "/>
  540. <Column id="opusetm" type="STRING" size="256" sumtext=" 12 소요시간 "/>
  541. <Column id="opcd" type="STRING" size="256" sumtext=" 13 수술명 "/>
  542. <Column id="opflagcd" type="STRING" size="256" sumtext=" 14 구분 "/>
  543. <Column id="orddeptcd" type="STRING" size="256" sumtext=" 15 과 "/>
  544. <Column id="atdoctid" type="STRING" size="256" sumtext=" 16 주치의 "/>
  545. <Column id="perfdrnm" type="STRING" size="256" sumtext=" 17 집도의 "/>
  546. <Column id="anstmthdcd" type="STRING" size="256" sumtext=" 18 마취방법 "/>
  547. <Column id="iprch2" type="STRING" size="256" sumtext=" 19 수술처방 "/>
  548. <Column id="uncn" type="STRING" size="256" sumtext=" 20 미확인처방건수"/>
  549. <Column id="oprdyn" type="STRING" size="256" sumtext=" 21 기록여부 "/>
  550. <Column id="oppatflagcd" type="STRING" size="256" sumtext=" 22 환자구분 "/>
  551. <Column id="iocls" type="STRING" size="256" sumtext=" 23 입원외래구분 "/>
  552. <Column id="indd" type="STRING" size="256" sumtext=" 24 입원일자 "/>
  553. <Column id="cretno" type="STRING" size="256" sumtext=" 25 입원생성번호 "/>
  554. <Column id="oprsrvno" type="STRING" size="256" sumtext=" 26 수술예약번호 "/>
  555. <Column id="ccrtstat" type="STRING" size="256" sumtext=" 27 CaseCart 상태 "/>
  556. <Column id="seqno" type="STRING" size="256" sumtext=" 28 일련번호 "/>
  557. <Column id="mskind" type="STRING" size="256" sumtext=" 29 주부유형 "/>
  558. <Column id="histstat" type="STRING" size="256" sumtext=" 30 이력상태 "/>
  559. <Column id="perfdeptcd" type="STRING" size="256" sumtext=" 31 집도과 "/>
  560. <Column id="ophistno" type="STRING" size="256" sumtext=" 32 집도과 "/>
  561. <Column id="perfdrid" type="STRING" size="256" sumtext=" 33 집도의ID "/>
  562. <Column id="instcd" type="STRING" size="256" sumtext=" 34 기관코드 "/>
  563. <Column id="tmpcareinrmdd" type="STRING" size="256" sumtext=" 35 입실시각 "/>
  564. <Column id="iprccount" type="STRING" size="256" sumtext=" 36 입원처방갯수 "/>
  565. <Column id="oprccount" type="STRING" size="256" sumtext=" 37 외래처방갯수 "/>
  566. <Column id="cnstyn" type="STRING" size="256" sumtext=" 38 협진수술여부 "/>
  567. <Column id="rcptyn" type="STRING" size="256" sumtext=" 39 퇴원수납여부 "/>
  568. <Column id="chngmedispclid" type="STRING" size="256" sumtext=" 40 주치의ID "/>
  569. <Column id="medispclid" type="STRING" size="256" sumtext=" 40 주치의ID "/>
  570. <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
  571. </ColumnInfo>
  572. </Dataset>
  573. <Dataset id="ds_rtndata_dsc_dscList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  574. <ColumnInfo>
  575. <Column id="careinrmdd" type="STRING" size="256" sumtext=" 01 입실시각 "/>
  576. <Column id="dschdd" type="STRING" size="256" sumtext=" 02 퇴실시각 "/>
  577. <Column id="chngroomstat" type="STRING" size="256" sumtext=" 03 재원상태 "/>
  578. <Column id="indschstat" type="STRING" size="256" sumtext=" 03 재원상태 "/>
  579. <Column id="opstatcd" type="STRING" size="256" sumtext=" 04 수술상태 "/>
  580. <Column id="cpgappno" type="STRING" size="256" sumtext=" 05 CP "/>
  581. <Column id="pid" type="STRING" size="256" sumtext=" 06 등록번호 "/>
  582. <Column id="hngnm" type="STRING" size="256" sumtext=" 07 이름 "/>
  583. <Column id="sexage" type="STRING" size="256" sumtext=" 08 S/A "/>
  584. <Column id="opcnfmdd" type="STRING" size="256" sumtext=" 09 수술일자 "/>
  585. <Column id="oproomcd" type="STRING" size="256" sumtext=" 10 수술방 "/>
  586. <Column id="opfromtmcd" type="STRING" size="256" sumtext=" 11 수술시간 "/>
  587. <Column id="opusetm" type="STRING" size="256" sumtext=" 12 소요시간 "/>
  588. <Column id="opcd" type="STRING" size="256" sumtext=" 13 수술명 "/>
  589. <Column id="opflagcd" type="STRING" size="256" sumtext=" 14 구분 "/>
  590. <Column id="orddeptcd" type="STRING" size="256" sumtext=" 15 과 "/>
  591. <Column id="medispclid" type="STRING" size="256" sumtext=" 16 주치의 "/>
  592. <Column id="perfdrnm" type="STRING" size="256" sumtext=" 17 집도의 "/>
  593. <Column id="anstmthdcd" type="STRING" size="256" sumtext=" 18 마취방법 "/>
  594. <Column id="iprch2" type="STRING" size="256" sumtext=" 19 수술처방 "/>
  595. <Column id="uncn" type="STRING" size="256" sumtext=" 20 미확인처방건수"/>
  596. <Column id="oprdyn" type="STRING" size="256" sumtext=" 21 기록여부 "/>
  597. <Column id="oppatflagcd" type="STRING" size="256" sumtext=" 22 환자구분 "/>
  598. <Column id="iocls" type="STRING" size="256" sumtext=" 23 입원외래구분 "/>
  599. <Column id="indd" type="STRING" size="256" sumtext=" 24 입원일자 "/>
  600. <Column id="cretno" type="STRING" size="256" sumtext=" 25 입원생성번호 "/>
  601. <Column id="oprsrvno" type="STRING" size="256" sumtext=" 26 수술예약번호 "/>
  602. <Column id="ccrtstat" type="STRING" size="256" sumtext=" 27 CaseCart 상태 "/>
  603. <Column id="seqno" type="STRING" size="256" sumtext=" 28 일련번호 "/>
  604. <Column id="mskind" type="STRING" size="256" sumtext=" 29 주부유형 "/>
  605. <Column id="histstat" type="STRING" size="256" sumtext=" 30 이력상태 "/>
  606. <Column id="perfdeptcd" type="STRING" size="256" sumtext=" 31 집도과 "/>
  607. <Column id="ophistno" type="STRING" size="256" sumtext=" 32 집도과 "/>
  608. <Column id="perfdrid" type="STRING" size="256" sumtext=" 33 집도의ID "/>
  609. <Column id="instcd" type="STRING" size="256" sumtext=" 34 기관코드 "/>
  610. <Column id="careinrmdd" type="STRING" size="256" sumtext=" 35 입실시각 "/>
  611. <Column id="iprccount" type="STRING" size="256" sumtext=" 36 입원처방갯수 "/>
  612. <Column id="oprccount" type="STRING" size="256" sumtext=" 37 외래처방갯수 "/>
  613. <Column id="cnstyn" type="STRING" size="256" sumtext=" 38 협진수술여부 "/>
  614. <Column id="rcptyn" type="STRING" size="256" sumtext=" 39 퇴원수납여부 "/>
  615. <Column id="chngmedispclid" type="STRING" size="256" sumtext=" 40 주치의ID "/>
  616. </ColumnInfo>
  617. </Dataset>
  618. <Dataset id="ds_result_prcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  619. <ColumnInfo>
  620. <Column id="status" type="STRING" size="256" sumtext="전환여부"/>
  621. <Column id="prcpdd" type="STRING" size="256" sumtext="처방일"/>
  622. <Column id="prcpno" type="STRING" size="256" sumtext="처방번호"/>
  623. <Column id="prcphistno" type="STRING" size="256" sumtext="처방이력번호"/>
  624. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  625. <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
  626. <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
  627. <Column id="prcpqty" type="STRING" size="256" sumtext="처방수량"/>
  628. <Column id="prcptims" type="STRING" size="256" sumtext="처방횟수"/>
  629. <Column id="prcpdayno" type="STRING" size="256" sumtext="처방일수"/>
  630. <Column id="prcpclscd" type="STRING" size="256" sumtext="처방종류"/>
  631. <Column id="prcpgenrflag" type="STRING" size="256" sumtext="외래입원구분"/>
  632. <Column id="prcpkindcd" type="STRING" size="256" sumtext="처방종류"/>
  633. <Column id="prcphopedd" type="STRING" size="256" sumtext="처방희망일"/>
  634. <Column id="prcpstatcd" type="STRING" size="256" sumtext="상태값"/>
  635. <Column id="prcpexecdeptcd" type="STRING" size="256" sumtext="시행부서"/>
  636. <Column id="prcpqtyunitflag" type="STRING" size="256" sumtext="처방수량단위구분"/>
  637. <Column id="erprcpflag" type="STRING" size="256" sumtext="응급처방구분"/>
  638. <Column id="precureprcpflag" type="STRING" size="256" sumtext="선처치처방구분"/>
  639. <Column id="nigtprcpflag" type="STRING" size="256" sumtext="야간처방구분"/>
  640. <Column id="portprcpflag" type="STRING" size="256" sumtext="포터블처방구분"/>
  641. <Column id="fixprcpflag" type="STRING" size="256" sumtext="정액처방구분"/>
  642. <Column id="choiordflag" type="STRING" size="256" sumtext="선택진료구분"/>
  643. <Column id="anamneflag" type="STRING" size="256" sumtext="기왕증(력)구분"/>
  644. <Column id="prcpdirecflag" type="STRING" size="256" sumtext="처방방향구분"/>
  645. <Column id="offictourhealexamflag" type="STRING" size="256" sumtext="출장건진구분"/>
  646. <Column id="stemcellflag" type="STRING" size="256" sumtext="조혈모(줄기)세포구분"/>
  647. <Column id="angioflagcd" type="STRING" size="256" sumtext="Angio구분"/>
  648. <Column id="opansflagcd" type="STRING" size="256" sumtext="수술마취구분"/>
  649. <Column id="hosinhosoutflag" type="STRING" size="256" sumtext="원내/원외구분"/>
  650. <Column id="hosinprcpresncd" type="STRING" size="256" sumtext="원내처방사유코드"/>
  651. <Column id="prcpauthflag" type="STRING" size="256" sumtext="처방권한구분"/>
  652. <Column id="prcpinptflag" type="STRING" size="256" sumtext="처방입력구분"/>
  653. <Column id="prcpsignflag" type="STRING" size="256" sumtext="처방서명구분"/>
  654. <Column id="oprsrvno" type="STRING" size="256" sumtext="수술예약번호"/>
  655. <Column id="drugmthdspccd" type="STRING" size="256" sumtext="투여방법검체코드"/>
  656. <Column id="aftcertflag" type="STRING" size="256" sumtext="후인증 구분"/>
  657. <Column id="aftcertdrid" type="STRING" size="256" sumtext="후인증 대상의사 ID"/>
  658. <Column id="drugspd" type="STRING" size="256" sumtext="투여속도"/>
  659. <Column id="drugspdunitflag" type="STRING" size="256" sumtext="투여속도단위구분"/>
  660. <Column id="powdflag" type="STRING" size="256" sumtext="파우더구분"/>
  661. <Column id="prnprcpflag" type="STRING" size="256" sumtext="PRN처방구분"/>
  662. <Column id="prepprcpflag" type="STRING" size="256" sumtext="Prep처방구분"/>
  663. <Column id="selfprcpflag" type="STRING" size="256" sumtext="자가처방구분"/>
  664. <Column id="selfdrugflag" type="STRING" size="256" sumtext="SELF약구분"/>
  665. <Column id="asttestflag" type="STRING" size="256" sumtext="AST검사구분"/>
  666. <Column id="drugpackflag" type="STRING" size="256" sumtext="투약포장구분"/>
  667. <Column id="drugindependpackflag" type="STRING" size="256" sumtext="따로포장구분"/>
  668. <Column id="prcpmixno" type="STRING" size="256" sumtext="처방Mix번호"/>
  669. <Column id="erreadflag" type="STRING" size="256" sumtext="응급판독구분"/>
  670. <Column id="rehbprcpcurefreqflag" type="STRING" size="256" sumtext="재활처방치료빈도"/>
  671. <Column id="tnsuseflag" type="STRING" size="256" sumtext="수혈사용구분"/>
  672. <Column id="tnsfiltflag" type="STRING" size="256" sumtext="수혈필터구분"/>
  673. <Column id="irpayflag" type="STRING" size="256" sumtext="Irradiation급비구분"/>
  674. <Column id="irflag" type="STRING" size="256" sumtext="Irradiation구분"/>
  675. <Column id="diagtestconttestintvlflag" type="STRING" size="256" sumtext="진단검사연속검사시간간격"/>
  676. <Column id="diagtestconttestbasetm" type="STRING" size="256" sumtext="진단검사연속검사기본시간"/>
  677. <Column id="diagtestconttestorgtims" type="STRING" size="256" sumtext="진단검사연속검사원횟수"/>
  678. <Column id="matrallsizespecid" type="STRING" size="256" sumtext="재료AllSize규격ID"/>
  679. <Column id="exptmthdfact" type="STRING" size="256" sumtext="예외용법설명"/>
  680. <Column id="prcpdelivefact" type="STRING" size="256" sumtext="전달사항"/>
  681. <Column id="tootfact" type="STRING" size="256" sumtext="치식사항"/>
  682. <Column id="clinccmtcnts" type="STRING" size="256" sumtext="임상소견내용"/>
  683. <Column id="spcldrug" type="STRING" size="256" sumtext="특별약품구분"/>
  684. <Column id="anticanflag" type="STRING" size="256" sumtext="항암제구분"/>
  685. <Column id="prcpsetcd" type="STRING" size="256" sumtext="처방SET코드"/>
  686. <Column id="inclprcpno" type="STRING" size="256" sumtext="종속처방번호"/>
  687. <Column id="inclprcpcd" type="STRING" size="256" sumtext="종속처방코드"/>
  688. <Column id="testreqlnkno" type="STRING" size="256" sumtext="의뢰지번호"/>
  689. </ColumnInfo>
  690. </Dataset>
  691. <Dataset id="ds_send_judginfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  692. <ColumnInfo>
  693. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  694. <Column id="indd" type="STRING" size="256" sumtext="내원일시"/>
  695. <Column id="cretno" type="STRING" size="256" sumtext="cretno"/>
  696. </ColumnInfo>
  697. <Rows>
  698. <Row/>
  699. </Rows>
  700. </Dataset>
  701. <Dataset id="ds_judginfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  702. <ColumnInfo>
  703. <Column id="dschjudgprcsstat" type="STRING" size="256" sumtext="심사상태"/>
  704. </ColumnInfo>
  705. </Dataset>
  706. <Dataset id="ds_send_data26" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  707. <ColumnInfo>
  708. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  709. <Column id="indd" type="STRING" size="256" sumtext="진료일자"/>
  710. <Column id="instcd" type="STRING" size="256" sumtext="기관기호"/>
  711. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
  712. <Column id="medispclid" type="STRING" size="256" sumtext="진료의"/>
  713. <Column id="ordtype" type="STRING" size="256" sumtext="진료형태"/>
  714. <Column id="orddd" type="STRING" size="256"/>
  715. <Column id="orddrid" type="STRING" size="256"/>
  716. </ColumnInfo>
  717. <Rows>
  718. <Row/>
  719. </Rows>
  720. </Dataset>
  721. <Dataset id="ds_tempchk_specapp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  722. <ColumnInfo>
  723. <Column id="rgstyn" type="STRING" size="256" sumtext="등록여부"/>
  724. </ColumnInfo>
  725. </Dataset>
  726. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  727. <ColumnInfo>
  728. <Column id="opdeptcd" type="STRING" size="256"/>
  729. <Column id="opcnfmdd" type="STRING" size="256"/>
  730. <Column id="dscflag" type="STRING" size="256"/>
  731. <Column id="opflag" type="STRING" size="256"/>
  732. <Column id="opflagex" type="STRING" size="256"/>
  733. <Column id="usernm" type="STRING" size="256"/>
  734. <Column id="orddd" type="STRING" size="256"/>
  735. <Column id="opddfr" type="STRING" size="256"/>
  736. <Column id="opddto" type="STRING" size="256"/>
  737. <Column id="oprosette" type="STRING" size="256"/>
  738. <Column id="oproomcd" type="STRING" size="256"/>
  739. <Column id="orddept" type="STRING" size="256"/>
  740. <Column id="orddr" type="STRING" size="256"/>
  741. <Column id="opstat" type="STRING" size="256"/>
  742. <Column id="opflag1" type="STRING" size="256"/>
  743. <Column id="opflag2" type="STRING" size="256"/>
  744. <Column id="opflag3" type="STRING" size="256"/>
  745. <Column id="opflag4" type="STRING" size="256"/>
  746. <Column id="anstmthdcd1" type="STRING" size="256"/>
  747. <Column id="anstmthdcd2" type="STRING" size="256"/>
  748. <Column id="anstmthdcd3" type="STRING" size="256"/>
  749. <Column id="calmflag" type="STRING" size="256"/>
  750. <Column id="pid" type="STRING" size="256"/>
  751. <Column id="hngnm" type="STRING" size="256"/>
  752. <Column id="ccrtstat" type="STRING" size="256"/>
  753. <Column id="oppatflag1" type="STRING" size="256"/>
  754. <Column id="oppatflag4" type="STRING" size="256"/>
  755. <Column id="oppatflag3" type="STRING" size="256"/>
  756. <Column id="oppatflag5" type="STRING" size="256"/>
  757. <Column id="oppatflag2" type="STRING" size="256"/>
  758. <Column id="refdeptflag" type="STRING" size="256"/>
  759. <Column id="prestimportid" type="STRING" size="256"/>
  760. <Column id="wardcd" type="STRING" size="256"/>
  761. <Column id="section" type="STRING" size="256"/>
  762. <Column id="sortflag" type="STRING" size="256"/>
  763. <Column id="settingrnid" type="STRING" size="256"/>
  764. <Column id="orddeptcd" type="STRING" size="256"/>
  765. <Column id="medispclid" type="STRING" size="256"/>
  766. <Column id="atdoctid" type="STRING" size="256"/>
  767. <Column id="indschacptstat" type="STRING" size="256"/>
  768. <Column id="outdt" type="STRING" size="256"/>
  769. <Column id="srchinstcd" type="STRING" size="256"/>
  770. </ColumnInfo>
  771. <Rows>
  772. <Row/>
  773. </Rows>
  774. </Dataset>
  775. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  776. <ColumnInfo>
  777. <Column id="msg" type="STRING" size="256"/>
  778. <Column id="userscrnenvinfo" type="STRING" size="256"/>
  779. </ColumnInfo>
  780. <Rows>
  781. <Row/>
  782. </Rows>
  783. </Dataset>
  784. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  785. <ColumnInfo>
  786. <Column id="prncnt" type="STRING" size="256"/>
  787. </ColumnInfo>
  788. <Rows>
  789. <Row/>
  790. </Rows>
  791. </Dataset>
  792. <Dataset id="ds_main_menuitems_inmenu_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  793. <ColumnInfo>
  794. <Column id="name" type="STRING" size="256"/>
  795. <Column id="func" type="STRING" size="256"/>
  796. <Column id="lev" type="STRING" size="256"/>
  797. </ColumnInfo>
  798. <Rows>
  799. <Row>
  800. <Col id="name">입실시각 적용(환자팔찌출력)</Col>
  801. <Col id="func">fSetIntime</Col>
  802. <Col id="lev">0</Col>
  803. </Row>
  804. <Row>
  805. <Col id="name">입실시각 취소</Col>
  806. <Col id="func">fClsIntime</Col>
  807. <Col id="lev">0</Col>
  808. </Row>
  809. </Rows>
  810. </Dataset>
  811. <Dataset id="ds_main_menuitems_grdmenu_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  812. <ColumnInfo>
  813. <Column id="name" type="STRING" size="256"/>
  814. <Column id="func" type="STRING" size="256"/>
  815. <Column id="lev" type="STRING" size="256"/>
  816. </ColumnInfo>
  817. <Rows>
  818. <Row>
  819. <Col id="name">환자이름표출력</Col>
  820. <Col id="func">fOpenNamePrint</Col>
  821. <Col id="lev">0</Col>
  822. </Row>
  823. <Row>
  824. <Col id="name">환자팔찌 재출력</Col>
  825. <Col id="func">fOpenPatBC</Col>
  826. <Col id="lev">0</Col>
  827. </Row>
  828. <Row>
  829. <Col id="name">검사결과 조회</Col>
  830. <Col id="func">fOpenTestRslt</Col>
  831. <Col id="lev">0</Col>
  832. </Row>
  833. <Row>
  834. <Col id="name">수술준비확인</Col>
  835. <Col id="func">fOpenTPR</Col>
  836. <Col id="lev">0</Col>
  837. </Row>
  838. <Row>
  839. <Col id="name">투약기록</Col>
  840. <Col id="func">fOpenMediRecord</Col>
  841. <Col id="lev">0</Col>
  842. </Row>
  843. <Row>
  844. <Col id="name">간호처방</Col>
  845. <Col id="func">fOpenCarePrcp</Col>
  846. <Col id="lev">0</Col>
  847. </Row>
  848. <Row>
  849. <Col id="name">퇴실정리</Col>
  850. <Col id="func">fOpenOutRm</Col>
  851. <Col id="lev">0</Col>
  852. </Row>
  853. <Row>
  854. <Col id="name">Name Label</Col>
  855. <Col id="func">fLabelPrt</Col>
  856. <Col id="lev">0</Col>
  857. </Row>
  858. </Rows>
  859. </Dataset>
  860. <Dataset id="ds_dsclabflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  861. <ColumnInfo>
  862. <Column id="label" type="STRING" size="256"/>
  863. <Column id="value" type="STRING" size="256"/>
  864. </ColumnInfo>
  865. <Rows>
  866. <Row>
  867. <Col id="label">유</Col>
  868. <Col id="value">Y</Col>
  869. </Row>
  870. <Row>
  871. <Col id="label">무</Col>
  872. <Col id="value">N</Col>
  873. </Row>
  874. <Row>
  875. <Col id="label">해당없음</Col>
  876. <Col id="value">X</Col>
  877. </Row>
  878. </Rows>
  879. </Dataset>
  880. <Dataset id="ds_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  881. <ColumnInfo>
  882. <Column id="cdid" type="STRING" size="256"/>
  883. <Column id="cdnm" type="STRING" size="256"/>
  884. </ColumnInfo>
  885. </Dataset>
  886. <Dataset id="ds_init_M0065list_M0065" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  887. <ColumnInfo>
  888. <Column id="cdid" type="STRING" size="255"/>
  889. <Column id="cdnm" type="STRING" size="255"/>
  890. </ColumnInfo>
  891. </Dataset>
  892. <Dataset id="ds_init_M0020list_M0020" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  893. <Dataset id="ds_init_userscrnenvinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  894. <ColumnInfo>
  895. <Column id="compscd" type="STRING" size="256" sumtext="구성코드"/>
  896. <Column id="compscnts" type="STRING" size="256" sumtext="구성내용"/>
  897. <Column id="compsrefcnts" type="STRING" size="256" sumtext="구성참조내용"/>
  898. <Column id="compssizecnts" type="STRING" size="256" sumtext="구성크기내용"/>
  899. </ColumnInfo>
  900. </Dataset>
  901. <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  902. <ColumnInfo>
  903. <Column id="pid" type="STRING" size="256" sumtext="환자등록번호"/>
  904. <Column id="bindyn" type="STRING" size="256" sumtext="환자등록번호"/>
  905. <Column id="hngnm" type="STRING" size="256" sumtext="한글이름"/>
  906. <Column id="hngnm2" type="STRING" size="256" sumtext="표시이름"/>
  907. <Column id="engnm" type="STRING" size="256" sumtext="영문이름"/>
  908. <Column id="chinm" type="STRING" size="256" sumtext="영문이름"/>
  909. <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호앞6자리"/>
  910. <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호뒤7자리"/>
  911. <Column id="rrgstno3" type="STRING" size="256" sumtext="주민번호뒤4자리와별표3자리"/>
  912. <Column id="lastinsukind" type="STRING" size="256" sumtext="최근보험유형"/>
  913. <Column id="brthdd" type="STRING" size="256" sumtext="생년월일"/>
  914. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  915. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  916. <Column id="bindpid" type="STRING" size="256" sumtext="합본등록번호"/>
  917. <Column id="hometel" type="STRING" size="256" sumtext="집전화번호"/>
  918. <Column id="mpphontel" type="STRING" size="256" sumtext="휴대전화번호"/>
  919. <Column id="etctel1" type="STRING" size="256" sumtext="기타전화번호1"/>
  920. <Column id="etctel2" type="STRING" size="256" sumtext="기타전화번호2"/>
  921. <Column id="smsaprvyn" type="STRING" size="256" sumtext="SMS전송 승인 여부"/>
  922. <Column id="email" type="STRING" size="256" sumtext="이메일 게정"/>
  923. <Column id="zipcd1" type="STRING" size="256" sumtext="우편번호 앞 3자리"/>
  924. <Column id="zipcd2" type="STRING" size="256" sumtext="우편번호 뒤 3자리"/>
  925. <Column id="zipcdseq" type="STRING" size="256" sumtext="우편일련번호"/>
  926. <Column id="addr" type="STRING" size="256" sumtext="기본주소"/>
  927. <Column id="detladdr" type="STRING" size="256" sumtext="상세주소"/>
  928. <Column id="btype" type="STRING" size="256" sumtext="혈액형"/>
  929. <Column id="rh" type="STRING" size="256" sumtext="RH혈액형"/>
  930. <Column id="forgeryn" type="STRING" size="256" sumtext="외국인여부"/>
  931. <Column id="nati" type="STRING" size="256" sumtext="국적"/>
  932. <Column id="psptno" type="STRING" size="256" sumtext="여권번호"/>
  933. <Column id="recmyn" type="STRING" size="256" sumtext="추천여부"/>
  934. <Column id="recmerid" type="STRING" size="256" sumtext="추천인ID"/>
  935. <Column id="recmernm" type="STRING" size="256" sumtext="추천인명"/>
  936. <Column id="recmerrela" type="STRING" size="256" sumtext="추천인과의 관계"/>
  937. <Column id="vipyn" type="STRING" size="256" sumtext="VIP여부"/>
  938. <Column id="viprem" type="STRING" size="256" sumtext="VIP비고"/>
  939. <Column id="religncd" type="STRING" size="256" sumtext="종교코드"/>
  940. <Column id="baptnm" type="STRING" size="256" sumtext="세례명"/>
  941. <Column id="chchnm" type="STRING" size="256" sumtext="성당명"/>
  942. <Column id="dethyn" type="STRING" size="256" sumtext="사망여부"/>
  943. <Column id="dethdt" type="STRING" size="256" sumtext="사망일시"/>
  944. <Column id="dethdd" type="STRING" size="256" sumtext="사망일자"/>
  945. <Column id="dethtm" type="STRING" size="256" sumtext="사망시간"/>
  946. <Column id="chosresn" type="STRING" size="256" sumtext="내원사유"/>
  947. <Column id="animyn" type="STRING" size="256" sumtext="동물여부"/>
  948. <Column id="exptresncd" type="STRING" size="256" sumtext="원외예외사유코드"/>
  949. <Column id="inhospyn" type="STRING" size="256" sumtext="재원여부"/>
  950. <Column id="handicapryn" type="STRING" size="256" sumtext="장애인여부"/>
  951. <Column id="pidflag" type="STRING" size="256" sumtext="등록번호구분"/>
  952. <Column id="remfact" type="STRING" size="256" sumtext="참고사항"/>
  953. <Column id="ptunyn" type="STRING" size="256" sumtext="미수안내"/>
  954. <Column id="lastorddd" type="STRING" size="256" sumtext="최근내원일"/>
  955. <Column id="lastorddeptcd" type="STRING" size="256" sumtext="최근내원과"/>
  956. <Column id="outuncoamt" type="STRING" size="256" sumtext="외래미수금"/>
  957. <Column id="dschuncoamt" type="STRING" size="256" sumtext="입원미수금"/>
  958. <Column id="kioskrcptnoyn" type="STRING" size="256" sumtext="무인수납불가여부"/>
  959. <Column id="carnum" type="STRING" size="256" sumtext="차량번호"/>
  960. <Column id="acptdd" type="STRING" size="256" sumtext="가예약 접수일자"/>
  961. <Column id="acptno" type="STRING" size="256" sumtext="가예약 접수일련번호"/>
  962. <Column id="patspcfyn" type="STRING" size="256" sumtext="특이환자여부"/>
  963. <Column id="tdaydsch" type="STRING" size="256" sumtext="특이환자여부"/>
  964. <Column id="mig" type="STRING" size="256" sumtext="마이그레이션여부"/>
  965. <Column id="scanyn" type="STRING" size="256" sumtext="동의서출력여부"/>
  966. <Column id="spifscanyn" type="STRING" size="256" sumtext="선택진료신청서스캔여부"/>
  967. <Column id="isolinfo" type="STRING" size="256" sumtext="격리환자정보"/>
  968. <Column id="builno" type="STRING" size="256" sumtext="도로명주소 코드"/>
  969. </ColumnInfo>
  970. <Rows>
  971. <Row/>
  972. </Rows>
  973. </Dataset>
  974. <Dataset id="ds_main_colsetinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  975. <ColumnInfo>
  976. <Column id="scrnid" type="STRING" size="256"/>
  977. <Column id="grdid" type="STRING" size="256"/>
  978. </ColumnInfo>
  979. <Rows>
  980. <Row/>
  981. </Rows>
  982. </Dataset>
  983. <Dataset id="ds_chngcol" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  984. <ColumnInfo>
  985. <Column id="chngcolflag" type="STRING" size="256"/>
  986. </ColumnInfo>
  987. <Rows>
  988. <Row/>
  989. </Rows>
  990. </Dataset>
  991. <Dataset id="ds_main_paminfo_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  992. <Dataset id="ds_send_temp2_patnamelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  993. <ColumnInfo>
  994. <Column id="roomcd" type="STRING" size="256" sumtext="병실"/>
  995. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  996. <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
  997. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  998. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  999. <Column id="orddeptnm" type="STRING" size="256" sumtext="부서명"/>
  1000. <Column id="medispclnm" type="STRING" size="256" sumtext="주치의"/>
  1001. <Column id="atdoctnm" type="STRING" size="256" sumtext="담당의"/>
  1002. <Column id="indd" type="STRING" size="256" sumtext="입원일"/>
  1003. <Column id="chdoctor" type="STRING" size="256" sumtext="선택여부"/>
  1004. <Column id="bdbtype" type="STRING" size="256" sumtext="혈액형"/>
  1005. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  1006. <Column id="prtkind" type="STRING" size="256" sumtext="출력물종류"/>
  1007. </ColumnInfo>
  1008. </Dataset>
  1009. <Dataset id="ds_main_prntsetupinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1010. <ColumnInfo>
  1011. <Column id="prntsetupinfo" type="STRING" size="256" sumtext="코드"/>
  1012. <Column id="macaddr" type="STRING" size="256" sumtext="macaddr"/>
  1013. </ColumnInfo>
  1014. </Dataset>
  1015. </Objects>
  1016. <Bind>
  1017. <BindItem id="item0" compid="group2.ipt_opcnfmdd" propid="value" datasetid="ds_main_cond" columnid="opcnfmdd"/>
  1018. <BindItem id="item1" compid="group2.cmb_orddeptlist" propid="value" datasetid="ds_main_cond" columnid="orddeptcd"/>
  1019. <BindItem id="item2" compid="group2.rdo_dscflag" propid="value" datasetid="ds_main_cond" columnid="dscflag"/>
  1020. <BindItem id="item3" compid="group2.cmb_drcd" propid="value" datasetid="ds_main_cond" columnid="medispclid"/>
  1021. <BindItem id="item4" compid="group2.cmb_oproomcd" propid="value" datasetid="ds_main_cond" columnid="oproomcd"/>
  1022. <BindItem id="item5" compid="group2.rdo_opflag" propid="value" datasetid="ds_main_cond" columnid="opflag"/>
  1023. <BindItem id="item6" compid="group2.chk_opflagex" propid="value" datasetid="ds_main_cond" columnid="opflagex"/>
  1024. <BindItem id="item7" compid="group2.ipt_pid" propid="value" datasetid="ds_main_rghtref_rghtreflist" columnid="pid"/>
  1025. <BindItem id="item8" compid="group2.opt_hngnm" propid="value" datasetid="ds_main_rghtref_rghtreflist" columnid="hngnm"/>
  1026. <BindItem id="item9" compid="group2.opt_gndrage" propid="value" datasetid="ds_main_rghtref_rghtreflist" columnid="gndrage"/>
  1027. <BindItem id="item10" compid="group2.opt_rrgstno" propid="value" datasetid="ds_main_rghtref_rghtreflist" columnid="rrgstno"/>
  1028. <BindItem id="item11" compid="group5.ipt_patcntctel" propid="value" datasetid="ds_temp" columnid="prncnt"/>
  1029. </Bind>
  1030. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  1031. * System Name : 경대 의료정보시스템
  1032. * Job Name : emr_opanstxp -> SMMNP06000
  1033. * Creator : yjh
  1034. * Make Date : 2017-03-10
  1035. * Description :
  1036. *---------------------------------------------------------------------------------------
  1037. * Modify Date Modifier Modify Description
  1038. *---------------------------------------------------------------------------------------
  1039. * 2017-03-10 yjh TF->XP
  1040. *
  1041. *---------------------------------------------------------------------------------------
  1042. ****************************************************************************************/
  1043. //=======================================================================================
  1044. // Lib Include
  1045. //---------------------------------------------------------------------------------------
  1046. include "com_commonxp::comm_main.xjs";
  1047. include "emr_opanstxp::SMMNP06000.xjs";
  1048. include "emr_carecomxp::CareCom.xjs";
  1049. include "lis_commonxp::LLZ001.xjs";
  1050. include "com_commodulexp::SSZFM00901.xjs";
  1051. include "com_commodulexp::SSZFM00701.xjs";
  1052. include "pam_ipatmngtxp::PMI001.xjs";
  1053. include "pam_pamcomnxp::PAM.xjs";
  1054. include "emr_prcpmngtxp::MMOCommon.xjs";
  1055. //=======================================================================================
  1056. // Global Form Variable
  1057. //---------------------------------------------------------------------------------------
  1058. var fv_OrderDepth = swt_main.case_om.import3;
  1059. var arErrorCode = new HashArray();
  1060. var fv_DsWardDepth = this;
  1061. //=======================================================================================
  1062. // Function
  1063. //---------------------------------------------------------------------------------------
  1064. //=======================================================================================
  1065. // Event
  1066. //---------------------------------------------------------------------------------------
  1067. /****************************************************************************************
  1068. * Components : Form
  1069. * Components ID : SMMNP06000
  1070. * Event : oninit
  1071. * Argument : 01.obj : Object Event has occurred
  1072. * : 02.e : Event Object
  1073. * Description : 화면 처음 초기화시
  1074. ****************************************************************************************/
  1075. function SMMNP06000_oninit(obj:Form, e:InitEventInfo)
  1076. {
  1077. frmf_initForm(obj); //폼 초기화
  1078. }
  1079. /****************************************************************************************
  1080. * Components : Form
  1081. * Components ID : SMMNP06000
  1082. * Event : onload
  1083. * Argument : 01.obj : Object Event has occurred
  1084. * : 02.e : Event Object
  1085. * Description : 화면 로딩 완료시
  1086. ****************************************************************************************/
  1087. function SMMNP06000_onload(obj:Form, e:LoadEventInfo)
  1088. {
  1089. ds_main_cond.setColumn(0, "opdeptcd", "01");
  1090. ds_main_cond.setColumn(0, "dscflag", "D");
  1091. ds_main_cond.setColumn(0, "opflag", "00");
  1092. ds_temp.setColumn(0, "prncnt", "1");
  1093. grdf_setGridSort(swt_main.case_dm.grd_dscList);
  1094. grdf_setRowTypeIcon(swt_main.case_dm.grd_dscList, 0);
  1095. this.setTimer(0, 100);
  1096. // fInitScreen();
  1097. // var scrnid = "SMMNP06000";
  1098. // //model.removeNodeset("/root/main/barcdprntsetup");
  1099. //
  1100. //
  1101. // //model.resetInstanceNode("/root/send/reqdata");
  1102. // ds_send.setColumn(0, "scrnid", scrnid);
  1103. //
  1104. // var oParam = {};
  1105. // oParam.id = "TRLLC90101";
  1106. // oParam.service = "diagtestapplib.LisCommon";
  1107. // oParam.method = "reqGetSetUpInfo";
  1108. // oParam.inds = "scrnid=ds_send";
  1109. // oParam.outds = "ds_barcdprntsetup=getSetUpInfo";
  1110. // oParam.async = false;
  1111. // //oParam.callback = "cf_TRLLC90101";
  1112. //
  1113. // tranf_submit(oParam);
  1114. //
  1115. // lf_reqOrderInfoOfCol("SMMNP06000", "swt_main.case_dm.grd_dscList", "DM");
  1116. //
  1117. // // 노드값을 컬럼 값으로 가져옴에 따라 DS 로 변환 처리 ---------------------------------------------------
  1118. //
  1119. // //XML string 값을 파라미터로 넘김
  1120. // //성공시 : 'success' 실패시 : 'error' 값을 리턴함
  1121. // var sParamObj = new Object();
  1122. // sParamObj.pathYN = 'N'; //dsvaluepath 컬럼 사용여부
  1123. //
  1124. // var pXmlStr = ds_barcdprntsetup.getColumn(0, "prntsetupinfo");
  1125. //
  1126. // var succYn = lf_convertXmlToDs(pXmlStr, sParamObj);
  1127. //
  1128. // sysf_trace(succYn);
  1129. //
  1130. // // => retrun DS
  1131. // // : ds_data_setupinfo(prntkind, commkind)
  1132. // // : ds_data_comm01(setupval)
  1133. // // : ds_data_comm02(comm, databit, stopbit, baudrate, parity, setupval)
  1134. // // : ds_data_comm03(setupval)
  1135. // // : ds_data_blank(left, top)
  1136. //
  1137. // // ------------------------------------------------------------------------------------------------------------
  1138. //
  1139. // lzzfMakeBrcdPrntObjHanDo("CommAX");
  1140. }
  1141. /****************************************************************************************
  1142. * Components : CheckBox
  1143. * Components ID : chk_opflagex
  1144. * Event : onclick
  1145. * Argument : 01.obj : Object Event has occurred
  1146. * : 02.e : Event Object
  1147. * Description : 체크박스 값 변경시
  1148. ****************************************************************************************/
  1149. function group2_chk_opflagex_onclick(obj:CheckBox, e:ClickEventInfo)
  1150. {
  1151. if( obj.value != "99" ){
  1152. ds_main_cond.setColumn(0, "opflagex", "");
  1153. }
  1154. fInqurySelectedPrgm(); // 수술일자변경시 하단리스트 재조회
  1155. }
  1156. /****************************************************************************************
  1157. * Components : Button
  1158. * Components ID : button2
  1159. * Event : onclick
  1160. * Argument : 01.obj : Object Event has occurred
  1161. * : 02.e : Event Object
  1162. * Description : 출력버튼 클릭시
  1163. ****************************************************************************************/
  1164. function swt_main_case_dm_button2_onclick(obj:Button, e:ClickEventInfo)
  1165. {
  1166. fPrntList();
  1167. }
  1168. /****************************************************************************************
  1169. * Components : Grid
  1170. * Components ID : grd_dscList
  1171. * Event : oncelldblclick
  1172. * Argument : 01.obj : Object Event has occurred
  1173. * : 02.e : Event Object
  1174. * Description : 그리드 셀 더블클릭시
  1175. ****************************************************************************************/
  1176. function swt_main_case_dm_grd_dscList_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1177. {
  1178. //20080917
  1179. fMsgDisp();//메세지 지우기
  1180. if (utlf_isNull(ds_main_dsc_dscList.getColumn(ds_main_dsc_dscList.rowposition, "pid"))) return;
  1181. // 상단환자정보 조회
  1182. fSetPatInfo();
  1183. // 하단 처방상세조회, 수술상세조회
  1184. // fDscDataView(grd_dscList.row);
  1185. // 20200205 김현석 신종 코로라 바이러스 알림
  1186. fCheckDur();
  1187. swt_main.case_dm.grd_dscList.setFocus();
  1188. swt_main.case_dm.grd_dscList.showEditor(true);
  1189. }
  1190. function fGetNurceCodeInfo(pCode, pDate)
  1191. {
  1192. dsf_makeValue(ds_send_tmp,"cdgrupid","string",pCode); // 조회할 CdGrupID 코드정보
  1193. dsf_makeValue(ds_send_tmp,"srchdd", "string",pDate); // 조회기준일자
  1194. // submit("TRMNW00001",false); // wardcareweb
  1195. var oParam = {};
  1196. oParam.id = "TRMNW00001";
  1197. oParam.service = "wardcareapp.WardCareMngt";
  1198. oParam.method = "reqGetNursHardCdInfo";
  1199. oParam.inds = "req=ds_send_tmp";
  1200. oParam.outds = "ds_codelist_tmp=codelist";
  1201. oParam.async = false;
  1202. oParam.callback = "";
  1203. tranf_submit(oParam);
  1204. }
  1205. // 20200205 김현석 신종 코로라 바이러스 알림
  1206. function fCheckDur()
  1207. {
  1208. // dsf_createDs("ds_auth_isolatepat");
  1209. // lf_getHardCDList("N", 10024, null, ds_auth_isolatepat);
  1210. dsf_createDs("ds_send_tmp");
  1211. dsf_createDs("ds_codelist_tmp");
  1212. fGetNurceCodeInfo("'O60'", utlf_getCurrentDate());
  1213. var chkYn = "N";
  1214. if (ds_codelist_tmp.rowcount > 0)
  1215. {
  1216. var chkYn = utlf_transNullToEmpty(ds_codelist_tmp.getColumn(0, "cdid"));
  1217. }
  1218. //if(ds_auth_isolatepat.findRow("hardcd", sysf_getUserInfo("dutplcecd")) > -1)
  1219. if (chkYn == "Y")
  1220. {
  1221. var sPid = ds_main_dsc_dscList.getColumn(ds_main_dsc_dscList.rowposition, "pid");
  1222. // if (gv_bIsPreview == true) // 개발자 모드
  1223. // {
  1224. // if ( ! utlf_isNull(ds_main_rghtref_rghtreflist.getColumn(0, "pid")) )
  1225. // sPid = ds_main_rghtref_rghtreflist.getColumn(0, "pid");
  1226. // trace("fCheckDur : " + sPid);
  1227. // }
  1228. frmf_setParameter("SPMMD00100_ifyn", "Y");
  1229. frmf_setParameter("SPMMD00100_pid", sPid);
  1230. var argxpt = system.clientToScreenX(this, 0) + 450;
  1231. var argypt = system.clientToScreenY(this, 0) + 150;
  1232. frmf_modal("SPMMO51000", "SPMMO51000", null, false, null, argxpt, argypt, null, null, null, null, null, "M");
  1233. }
  1234. }
  1235. /****************************************************************************************
  1236. * Components : Grid
  1237. * Components ID : grd_dscList
  1238. * Event : onrbuttondown
  1239. * Argument : 01.obj : Object Event has occurred
  1240. * : 02.e : Event Object
  1241. * Description : 마우스 우클릭시
  1242. ****************************************************************************************/
  1243. function swt_main_case_dm_grd_dscList_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
  1244. {
  1245. if(e.row < 0 || e.col < 0) return;
  1246. grdf_setSelectedCell(obj, e);
  1247. }
  1248. /****************************************************************************************
  1249. * Components : Grid
  1250. * Components ID : grd_dscList
  1251. * Event : onrbuttonup
  1252. * Argument : 01.obj : Object Event has occurred
  1253. * : 02.e : Event Object
  1254. * Description : 마우스 우클릭시
  1255. ****************************************************************************************/
  1256. function swt_main_case_dm_grd_dscList_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
  1257. {
  1258. if(e.row < 0 || e.col < 0) return;
  1259. grdf_setSelectedCell(obj, e);
  1260. if (utlf_isNull(ds_main_dsc_dscList.getColumn(ds_main_dsc_dscList.rowposition, "pid"))) return;
  1261. var colnm = utlf_transNullToEmpty(swt_main.case_dm.grd_dscList.getCellText(-1, swt_main.case_dm.grd_dscList.currentcol));
  1262. var tmpcareinrmdd = ds_main_dsc_dscList.getColumn(ds_main_dsc_dscList.rowposition, "tmpcareinrmdd");
  1263. var oppatflagcd = ds_main_dsc_dscList.getColumn(ds_main_dsc_dscList.rowposition, "oppatflagcd");
  1264. //20101214_KNUH_Start seqflag 추가
  1265. var seqflag = ds_main_dsc_dscList.getColumn(ds_main_dsc_dscList.rowposition, "seqflag"); ;
  1266. //20101214_KNUH_End
  1267. colnm = colnm.substring(0,2);
  1268. var sdschdd1 = utlf_transNullToEmpty(ds_main_dsc_dscList.getColumn(ds_main_dsc_dscList.rowposition, "dschdd"));
  1269. sdschdd1 = sdschdd1.replace("-","");
  1270. sdschdd1 = sdschdd1.substring(0,1);
  1271. //---(수술환자+angio(수술정보없음)
  1272. // if(oppatflagcd=="D"&&colnm== "입실"&&tmpcareinrmdd.substring(0,1)=="-") { // DSC 환자, 입실시각칼럼, 입실시각이 적용되지 않은 경우("-")에만 입실시각 메뉴 나타나도록
  1273. // fShowPopupMenu("grd_dscList","/root/main/menuitems/inmenu/item");
  1274. // }else {
  1275. // fShowPopupMenu("grd_dscList","/root/main/menuitems/grdmenu/item");
  1276. // }
  1277. if(seqflag == "1") {
  1278. if (group2.rdo_dscflag.value == "D") {
  1279. //if(colnm== "입실"&&tmpcareinrmdd.substring(0,1)=="-") { // DSC 환자, 입실시각칼럼, 입실시각이 적용되지 않은 경우("-")에만 입실시각 메뉴 나타나도록
  1280. if(colnm== "입실") { // DSC 환자, 입실시각칼럼, 입실시각이 적용되지 않은 경우("-")에만 입실시각 메뉴 나타나도록
  1281. pMenu_inmenumenu.trackPopup(e.screenX, e.screenY);
  1282. }else {
  1283. pMenu_grdmenumenu.trackPopup(e.screenX, e.screenY);
  1284. }
  1285. } else {
  1286. pMenu_grdmenumenu.trackPopup(e.screenX, e.screenY);
  1287. }
  1288. }
  1289. }
  1290. var lastrow1 = -1;
  1291. var lastcol1 = -1;
  1292. var bDrop1 = false;
  1293. /****************************************************************************************
  1294. * Components : Grid
  1295. * Components ID : grd_dscList
  1296. * Event : oncellclick
  1297. * Argument : 01.obj : Object Event has occurred
  1298. * : 02.e : Event Object
  1299. * Description : 그리드 셀 클릭시
  1300. ****************************************************************************************/
  1301. function swt_main_case_dm_grd_dscList_oncellclick(obj:Grid, e:GridClickEventInfo)
  1302. {
  1303. fMsgDisp();
  1304. //간호퇴실정리상태인 환자만 간호퇴실취소버튼을 활성화
  1305. var pGrd = swt_main.case_dm.grd_dscList;
  1306. var sPath = ds_main_dsc_dscList;
  1307. var sChk = ds_main_dsc_dscList.getColumn(ds_main_dsc_dscList.rowposition, "indschstat" );
  1308. var dschdd = ds_main_dsc_dscList.getColumn(ds_main_dsc_dscList.rowposition, "dschdd");
  1309. if(sChk == 'ⓒ' || (sChk == "◆" && !utlf_isNull(dschdd))){//간호퇴원정리완료상태
  1310. swt_main.case_dm.btn_outcancel.enable = true;
  1311. }else{
  1312. swt_main.case_dm.btn_outcancel.enable = false;
  1313. }
  1314. lastrow1 = -1;
  1315. lastcol1 = -1;
  1316. }
  1317. function swt_main_case_dm_grd_dscList_oncloseup(obj:Grid, e:GridEditEventInfo)
  1318. {
  1319. var dsGridBind = eval(obj.binddataset);
  1320. var preVal = utlf_transNullToEmpty(dsGridBind.getColumn(e.row, e.col));
  1321. var posVal = utlf_transNullToEmpty(e.value);
  1322. if( bDrop1 == true && (!utlf_isNull(posVal) || preVal != posVal) ){
  1323. obj.showEditor(false);
  1324. }
  1325. bDrop1 = false;
  1326. lastrow1 = e.row;
  1327. lastcol1 = e.col;
  1328. }
  1329. function swt_main_case_dm_grd_dscList_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
  1330. {
  1331. grdf_setSelectedCell(obj, e);
  1332. var dsGridBind = eval(obj.binddataset);
  1333. // Combo DropDown Click 처리
  1334. obj.autoenter = "key";
  1335. if( e.fromreferenceobject.name == "dropbutton" ){
  1336. bDrop1 = true;
  1337. }
  1338. if( e.row > -1 && obj.getCellProperty("body", e.col, "edittype") == "combo" ){
  1339. // Combo 선택시 활성화 및 combodatacol 변경
  1340. if( grdf_getSelectedCols(obj).length == 0 && grdf_getSelectedRows(obj).length == 0 && obj.getEditText() == undefined ){
  1341. obj.showEditor(true);
  1342. }else{
  1343. if(!obj.isDropdownCombo() && (lastrow1 != e.row || lastcol1 != e.col)) {
  1344. obj.setCellPos(e.col);
  1345. dsGridBind.rowposition = e.row;
  1346. obj.showEditor(true);
  1347. if(bDrop1) {
  1348. obj.dropdownCombo();
  1349. }
  1350. }
  1351. }
  1352. }else{
  1353. obj.autoenter = "key";
  1354. }
  1355. }
  1356. /****************************************************************************************
  1357. * Components : Dataset
  1358. * Components ID : ds_main_dsc_dscList
  1359. * Event : onrowposchanged
  1360. * Argument : 01.obj : Object Event has occurred
  1361. * : 02.e : Event Object
  1362. * Description : 데이터셋 rowposition 변경시
  1363. ****************************************************************************************/
  1364. function ds_main_dsc_dscList_onrowposchanged(obj:Dataset, e:DSRowPosChangeEventInfo)
  1365. {
  1366. fMsgDisp();//메세지 지우기
  1367. }
  1368. /****************************************************************************************
  1369. * Components : Button
  1370. * Components ID : btn_excel
  1371. * Event : onclick
  1372. * Argument : 01.obj : Object Event has occurred
  1373. * : 02.e : Event Object
  1374. * Description : 엑셀버튼 클릭시
  1375. ****************************************************************************************/
  1376. function swt_main_case_dm_btn_excel_onclick(obj:Button, e:ClickEventInfo)
  1377. {
  1378. fPrntExcl();
  1379. }
  1380. /****************************************************************************************
  1381. * Components : Button
  1382. * Components ID : btn_save
  1383. * Event : onclick
  1384. * Argument : 01.obj : Object Event has occurred
  1385. * : 02.e : Event Object
  1386. * Description : 입실시각저장버튼 클릭시
  1387. ****************************************************************************************/
  1388. function swt_main_case_dm_btn_save_onclick(obj:Button, e:ClickEventInfo)
  1389. {
  1390. fSaveDscList();
  1391. }
  1392. /****************************************************************************************
  1393. * Components : Button
  1394. * Components ID : btn_outcancel
  1395. * Event : onclick
  1396. * Argument : 01.obj : Object Event has occurred
  1397. * : 02.e : Event Object
  1398. * Description : 간호퇴실취소버튼 클릭시
  1399. ****************************************************************************************/
  1400. function swt_main_case_dm_btn_outcancel_onclick(obj:Button, e:ClickEventInfo)
  1401. {
  1402. fOutCancel();
  1403. }
  1404. /****************************************************************************************
  1405. * Components : Tab
  1406. * Components ID : swt_main
  1407. * Event : onchanged
  1408. * Argument : 01.obj : Object Event has occurred
  1409. * : 02.e : Event Object
  1410. * Description : 탭 변경시
  1411. ****************************************************************************************/
  1412. function swt_main_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  1413. {
  1414. switch( e.postindex ){
  1415. case 0 :
  1416. grp_btn.visible = true;
  1417. //------------------------------------
  1418. ds_main_cond.setColumn(0, "prestimportid", "dm");
  1419. lf_reqOrderInfoOfCol("SMMNP06000", "swt_main.case_dm.grd_dscList", "DM");
  1420. this.setTimer(1, 100);
  1421. //fInqurySelectedPrgm();
  1422. break;
  1423. case 1 :
  1424. grp_btn.visible = false;
  1425. //------------------------------------
  1426. ds_main_cond.setColumn(0, "prestimportid", "om");
  1427. this.setTimer(1, 100);
  1428. //fInqurySelectedPrgm();
  1429. break;
  1430. // case 2 :
  1431. // if( swt_main.case_dm.grd_dscList.currentrow < 0 ) {
  1432. // sysf_messageBox("환자를 선택하셔야 합니다.!", "E000");
  1433. // swt_main.tabindex = 0;
  1434. //
  1435. // return;
  1436. // }
  1437. // var xPathMainCond = ds_main_cond;
  1438. // ds_main_cond.setColumn(0, "prestimportid", "rp");
  1439. // //20090702 dhkim itc요청사항(외래예약처방을 전송하는 기능추가(dsc/dcc/chemo))
  1440. // //상단에서 정보 가져옴
  1441. //
  1442. // this.setTimer(1, 100);
  1443. // //fInqurySelectedPrgm();
  1444. //
  1445. // break;
  1446. default :
  1447. break;
  1448. }
  1449. }
  1450. /****************************************************************************************
  1451. * Components : Calendar
  1452. * Components ID : ipt_opcnfmdd
  1453. * Event : onchanged
  1454. * Argument : 01.obj : Object Event has occurred
  1455. * : 02.e : Event Object
  1456. * Description : 달력 값 변경시
  1457. ****************************************************************************************/
  1458. function group2_ipt_opcnfmdd_onchanged(obj:Calendar, e:ChangeEventInfo)
  1459. {
  1460. fInqurySelectedPrgm(); // 수술일자변경시 하단리스트 재조회
  1461. }
  1462. /****************************************************************************************
  1463. * Components : Radio
  1464. * Components ID : rdo_dscflag
  1465. * Event : onitemchanged
  1466. * Argument : 01.obj : Object Event has occurred
  1467. * : 02.e : Event Object
  1468. * Description : 라디오 값 변경시
  1469. ****************************************************************************************/
  1470. function group2_rdo_dscflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  1471. {
  1472. fInqurySelectedPrgm(); // 수술일자변경시 하단리스트 재조회
  1473. }
  1474. /****************************************************************************************
  1475. * Components : Radio
  1476. * Components ID : rdo_opflag
  1477. * Event : onitemchanged
  1478. * Argument : 01.obj : Object Event has occurred
  1479. * : 02.e : Event Object
  1480. * Description : 라디오 값 변경시
  1481. ****************************************************************************************/
  1482. function group2_rdo_opflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  1483. {
  1484. fInqurySelectedPrgm(); // 수술일자변경시 하단리스트 재조회
  1485. }
  1486. /****************************************************************************************
  1487. * Components : Button
  1488. * Components ID : button9
  1489. * Event : onclick
  1490. * Argument : 01.obj : Object Event has occurred
  1491. * : 02.e : Event Object
  1492. * Description : 조회버튼 클릭시
  1493. ****************************************************************************************/
  1494. function group2_button9_onclick(obj:Button, e:ClickEventInfo)
  1495. {
  1496. fInqurySelectedPrgm();
  1497. }
  1498. /****************************************************************************************
  1499. * Components : Combo
  1500. * Components ID : cmb_orddeptlist
  1501. * Event : onitemchanged
  1502. * Argument : 01.obj : Object Event has occurred
  1503. * : 02.e : Event Object
  1504. * Description : 콤보 값 변경시
  1505. ****************************************************************************************/
  1506. function group2_cmb_orddeptlist_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1507. {
  1508. ds_send.setColumn(0, "deptcd" ,group2.cmb_orddeptlist.value );
  1509. var oParam = {};
  1510. oParam.id = "TRMNP06002";
  1511. oParam.service = "opanstapp.OpAnstDscMngt";
  1512. oParam.method = "reqGetDrcdlist";
  1513. oParam.inds = "req=ds_send";
  1514. oParam.outds = "ds_init_drcdlist=drcdlist";
  1515. oParam.async = false;
  1516. //oParam.callback = "cf_TRMNP06002";
  1517. tranf_submit(oParam);
  1518. fInqurySelectedPrgm(); // 수술일자변경시 하단리스트 재조회
  1519. }
  1520. /****************************************************************************************
  1521. * Components : Combo
  1522. * Components ID : cmb_drcd
  1523. * Event : onitemchanged
  1524. * Argument : 01.obj : Object Event has occurred
  1525. * : 02.e : Event Object
  1526. * Description : 콤보 값 변경시
  1527. ****************************************************************************************/
  1528. function group2_cmb_drcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1529. {
  1530. fInqurySelectedPrgm(); // 수술일자변경시 하단리스트 재조회
  1531. }
  1532. /****************************************************************************************
  1533. * Components : Combo
  1534. * Components ID : cmb_oproomcd
  1535. * Event : onitemchanged
  1536. * Argument : 01.obj : Object Event has occurred
  1537. * : 02.e : Event Object
  1538. * Description : 콤보 값 변경시
  1539. ****************************************************************************************/
  1540. function group2_cmb_oproomcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1541. {
  1542. fInqurySelectedPrgm(); // 수술일자변경시 하단리스트 재조회
  1543. }
  1544. /****************************************************************************************
  1545. * Components : Button
  1546. * Components ID : button16
  1547. * Event : onclick
  1548. * Argument : 01.obj : Object Event has occurred
  1549. * : 02.e : Event Object
  1550. * Description : 돋보기버튼 클릭시
  1551. ****************************************************************************************/
  1552. function group2_button16_onclick(obj:Button, e:ClickEventInfo)
  1553. {
  1554. fSearchPatInfo("1");
  1555. }
  1556. /****************************************************************************************
  1557. * Components : Edit
  1558. * Components ID : ipt_pid
  1559. * Event : onkeyup
  1560. * Argument : 01.obj : Object Event has occurred
  1561. * : 02.e : Event Object
  1562. * Description : 에디터 키 입력시
  1563. ****************************************************************************************/
  1564. function group2_ipt_pid_onkeyup(obj:Edit, e:KeyEventInfo)
  1565. {
  1566. if(e.keycode == 13) {
  1567. obj.updateToDataset();
  1568. fpidref();
  1569. }
  1570. }
  1571. /****************************************************************************************
  1572. * Components : Button
  1573. * Components ID : btn_inrsrv
  1574. * Event : onclick
  1575. * Argument : 01.obj : Object Event has occurred
  1576. * : 02.e : Event Object
  1577. * Description : 입원의뢰서조회버튼 클릭시
  1578. ****************************************************************************************/
  1579. function grp_btn_btn_inrsrv_onclick(obj:Button, e:ClickEventInfo)
  1580. {
  1581. frmf_modal("SPMNW10100","SPMNW10100",null,"","","","","","","","","","M");
  1582. }
  1583. /****************************************************************************************
  1584. * Components : Button
  1585. * Components ID : button1
  1586. * Event : onclick
  1587. * Argument : 01.obj : Object Event has occurred
  1588. * : 02.e : Event Object
  1589. * Description : 프린터설정버튼 클릭시
  1590. ****************************************************************************************/
  1591. function grp_btn_button1_onclick(obj:Button, e:ClickEventInfo)
  1592. {
  1593. // 바코드 프린터 설정_20090521(ByJA)
  1594. var scrnid = "SMMNP06000";
  1595. ds_barcdprntsetup.clearData();
  1596. fGetBarCodeInfo(scrnid); // CareCom.js
  1597. // 노드값을 컬럼 값으로 가져옴에 따라 DS 로 변환 처리 ---------------------------------------------------
  1598. //XML string 값을 파라미터로 넘김
  1599. //성공시 : 'success' 실패시 : 'error' 값을 리턴함
  1600. var sParamObj = new Object();
  1601. sParamObj.pathYN = 'N'; //dsvaluepath 컬럼 사용여부
  1602. var pXmlStr = ds_barcdprntsetup.getColumn(0, "prntsetupinfo");
  1603. var succYn = lf_convertXmlToDs(pXmlStr, sParamObj);
  1604. sysf_trace(succYn);
  1605. // => retrun DS
  1606. // : ds_data_setupinfo(prntkind, commkind)
  1607. // : ds_data_comm01(setupval)
  1608. // : ds_data_comm02(comm, databit, stopbit, baudrate, parity, setupval)
  1609. // : ds_data_comm03(setupval)
  1610. // : ds_data_blank(left, top)
  1611. // ------------------------------------------------------------------------------------------------------------
  1612. var count = ds_data_setupinfo.rowcount;
  1613. if(count == 0) {
  1614. ds_data_setupinfo.addRow();
  1615. }
  1616. var objArg = new Object();
  1617. objArg.arg_sSetupInfo = ds_barcdprntsetup.getColumn(0, "prntsetupinfo");
  1618. objArg.arg_sCallBackFunction = "lf_convertXmlToDs";
  1619. frmf_modal("SPZUR00300","SPZUR00300",objArg,"","","","","","","","","","M");
  1620. }
  1621. /****************************************************************************************
  1622. * Components : Button
  1623. * Components ID : button12
  1624. * Event : onclick
  1625. * Argument : 01.obj : Object Event has occurred
  1626. * : 02.e : Event Object
  1627. * Description : 컬럼설정버튼 클릭시
  1628. ****************************************************************************************/
  1629. function button12_onclick(obj:Button, e:ClickEventInfo)
  1630. {
  1631. var prestimportid = ds_main_cond.getColumn(0, "prestimportid");
  1632. var compscd = "";
  1633. if(prestimportid == "dm") { // 통원수술센터 메인
  1634. compscd = "DM";
  1635. ds_main_colsetinfo.setColumn(0, "scrnid", "SMMNP06000");
  1636. ds_main_colsetinfo.setColumn(0, "grdid", "grd_dscList");
  1637. // } else if (prestimportid =="rp") { // 예약처방전송
  1638. // compscd = "RP";
  1639. // ds_main_colsetinfo.setColumn(0, "scrnid", "SMMNI02100");
  1640. // ds_main_colsetinfo.setColumn(0, "grdid", "grd_prcplist");
  1641. } else if (prestimportid =="om") { // Order Manage
  1642. compscd = "OM";
  1643. ds_main_colsetinfo.setColumn(0, "scrnid", "SMMNW00300");
  1644. ds_main_colsetinfo.setColumn(0, "grdid", "grd_omprcplist");
  1645. } else {
  1646. compscd = "DM";
  1647. ds_main_colsetinfo.setColumn(0, "scrnid", "SMMNP06000");
  1648. ds_main_colsetinfo.setColumn(0, "grdid", "grd_dscList");
  1649. }
  1650. var grdid = ds_main_colsetinfo.getColumn(0, "grdid");
  1651. var scrnid = ds_main_colsetinfo.getColumn(0, "scrnid");
  1652. frmf_setParameter("SPMNP06000_param_scrnid", scrnid);
  1653. frmf_setParameter("SPMNP06000_param_grdid", grdid);
  1654. frmf_setParameter("SPMNP06000_param_compscd", compscd);
  1655. frmf_modal("SPMNP06000","SPMNP06000",null,"","","","","","","","","","M");
  1656. var useyn = frmf_getParameter("SPMNP06000_rtn_useyn");
  1657. if(useyn == "Y"){
  1658. ds_chngcol.setColumn(0, "chngcolflag", "Y");
  1659. fInqurySelectedPrgm();
  1660. }
  1661. }
  1662. /****************************************************************************************
  1663. * Components : Edit
  1664. * Components ID : ipt_patcntctel
  1665. * Event : onkeyup
  1666. * Argument : 01.obj : Object Event has occurred
  1667. * : 02.e : Event Object
  1668. * Description : 에디터 키 입력시
  1669. ****************************************************************************************/
  1670. function group5_ipt_patcntctel_onkeyup(obj:Edit, e:KeyEventInfo)
  1671. {
  1672. if( e.keycode == 13 ){
  1673. group5.btn_prtlabel.click();
  1674. }
  1675. }
  1676. /****************************************************************************************
  1677. * Components : Button
  1678. * Components ID : btn_prtlabel
  1679. * Event : onclick
  1680. * Argument : 01.obj : Object Event has occurred
  1681. * : 02.e : Event Object
  1682. * Description : 확인버튼 클릭시
  1683. ****************************************************************************************/
  1684. function group5_btn_prtlabel_onclick(obj:Button, e:ClickEventInfo)
  1685. {
  1686. var iRow = swt_main.case_dm.grd_dscList.currentrow;
  1687. var pid = ds_main_dsc_dscList.getColumn(iRow, "pid");
  1688. var hngnm = ds_main_dsc_dscList.getColumn(iRow, "hngnm");
  1689. var sexage = ds_main_dsc_dscList.getColumn(iRow, "sexage");
  1690. var oproomcdnm = ds_main_dsc_dscList.getColumn(iRow, "oproomcd");
  1691. var depthngnm = ds_main_dsc_dscList.getColumn(iRow, "orddeptcd");
  1692. var prncnt = ds_temp.getColumn(0, "prncnt");
  1693. fPrintNameLabel(pid, hngnm, sexage, oproomcdnm, depthngnm, prncnt);
  1694. group5.visible = false;
  1695. ds_temp.setColumn(0, "prncnt","1");
  1696. }
  1697. /****************************************************************************************
  1698. * Components : Button
  1699. * Components ID : button3
  1700. * Event : onclick
  1701. * Argument : 01.obj : Object Event has occurred
  1702. * : 02.e : Event Object
  1703. * Description : 취소버튼 클릭시
  1704. ****************************************************************************************/
  1705. function group5_button3_onclick(obj:Button, e:ClickEventInfo)
  1706. {
  1707. ds_temp.setColumn(0, "prncnt","1");
  1708. group5.visible = false;
  1709. }
  1710. /****************************************************************************************
  1711. * Components : Tab
  1712. * Components ID : swt_main
  1713. * Event : onlbuttondown
  1714. * Argument : 01.obj : Object Event has occurred
  1715. * : 02.e : Event Object
  1716. * Description : 탭 클릭시
  1717. ****************************************************************************************/
  1718. function swt_main_onlbuttondown(obj:Tab, e:TabMouseEventInfo)
  1719. {
  1720. if(e.fromreferenceobject.name == "swt_main"){
  1721. var sIdx = obj.getIndex(e.clientX, e.canvasY);
  1722. if( sIdx != -1){
  1723. if( e.index == sIdx ){
  1724. obj.tabindex = sIdx;
  1725. frmf_inputEnterKey("swt_main", "onchanged", new TabIndexChangeEventInfo);
  1726. }
  1727. }
  1728. }
  1729. }
  1730. /****************************************************************************************
  1731. * Components : Form
  1732. * Components ID : SMMNP06000
  1733. * Event : ontimer
  1734. * Argument : 01.obj : Object Event has occurred
  1735. * : 02.e : Event Object
  1736. * Description : timer 발생시
  1737. ****************************************************************************************/
  1738. function SMMNP06000_ontimer(obj:Form, e:TimerEventInfo)
  1739. {
  1740. if( e.timerid == 0 ){
  1741. this.killTimer(0);
  1742. fInitScreen();
  1743. var scrnid = "SMMNP06000";
  1744. //model.removeNodeset("/root/main/barcdprntsetup");
  1745. //model.resetInstanceNode("/root/send/reqdata");
  1746. ds_send.setColumn(0, "scrnid", scrnid);
  1747. var oParam = {};
  1748. oParam.id = "TRLLC90101";
  1749. oParam.service = "diagtestapplib.LisCommon";
  1750. oParam.method = "reqGetSetUpInfo";
  1751. oParam.inds = "scrnid=ds_send";
  1752. oParam.outds = "ds_barcdprntsetup=getSetUpInfo";
  1753. oParam.async = false;
  1754. //oParam.callback = "cf_TRLLC90101";
  1755. tranf_submit(oParam);
  1756. lf_reqOrderInfoOfCol("SMMNP06000", "swt_main.case_dm.grd_dscList", "DM");
  1757. // 노드값을 컬럼 값으로 가져옴에 따라 DS 로 변환 처리 ---------------------------------------------------
  1758. //XML string 값을 파라미터로 넘김
  1759. //성공시 : 'success' 실패시 : 'error' 값을 리턴함
  1760. var sParamObj = new Object();
  1761. sParamObj.pathYN = 'N'; //dsvaluepath 컬럼 사용여부
  1762. var pXmlStr = ds_barcdprntsetup.getColumn(0, "prntsetupinfo");
  1763. var succYn = lf_convertXmlToDs(pXmlStr, sParamObj);
  1764. sysf_trace(succYn);
  1765. // => retrun DS
  1766. // : ds_data_setupinfo(prntkind, commkind)
  1767. // : ds_data_comm01(setupval)
  1768. // : ds_data_comm02(comm, databit, stopbit, baudrate, parity, setupval)
  1769. // : ds_data_comm03(setupval)
  1770. // : ds_data_blank(left, top)
  1771. // ------------------------------------------------------------------------------------------------------------
  1772. lzzfMakeBrcdPrntObjHanDo("CommAX");
  1773. }else if( e.timerid == 1 ){
  1774. this.killTimer(1);
  1775. fInqurySelectedPrgm();
  1776. }
  1777. }
  1778. /****************************************************************************************
  1779. * Components : PopupMenu
  1780. * Components ID : pMenu_inmenumenu
  1781. * Event : onmenuclick
  1782. * Argument : 01.obj : Object Event has occurred
  1783. * : 02.e : Event Object
  1784. * Description : 팝업메뉴 클릭시
  1785. ****************************************************************************************/
  1786. function pMenu_inmenumenu_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
  1787. {
  1788. switch( e.id ){
  1789. case "fSetIntime" :
  1790. fSetIntime();
  1791. break;
  1792. case "fClsIntime" :
  1793. fClsIntime();
  1794. break;
  1795. default :
  1796. break;
  1797. }
  1798. }
  1799. /****************************************************************************************
  1800. * Components : PopupMenu
  1801. * Components ID : pMenu_grdmenumenu
  1802. * Event : onmenuclick
  1803. * Argument : 01.obj : Object Event has occurred
  1804. * : 02.e : Event Object
  1805. * Description : 팝업메뉴 클릭시
  1806. ****************************************************************************************/
  1807. function pMenu_grdmenumenu_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
  1808. {
  1809. switch( e.id ){
  1810. case "fOpenNamePrint" :
  1811. fOpenNamePrint();
  1812. break;
  1813. case "fOpenPatBC" :
  1814. fOpenPatBC();
  1815. break;
  1816. case "fOpenTestRslt" :
  1817. fOpenTestRslt();
  1818. break;
  1819. case "fOpenTPR" :
  1820. fOpenTPR();
  1821. break;
  1822. case "fOpenMediRecord" :
  1823. fOpenMediRecord();
  1824. break;
  1825. case "fOpenCarePrcp" :
  1826. fOpenCarePrcp();
  1827. break;
  1828. case "fOpenOutRm" :
  1829. fOpenOutRm();
  1830. break;
  1831. case "fLabelPrt" :
  1832. fLabelPrt();
  1833. break;
  1834. default :
  1835. break;
  1836. }
  1837. }
  1838. ]]></Script>
  1839. </Form>
  1840. </FDL>