SPMMO15000_수술마취대기자확정.xrw 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>수술마취확정</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <opanstschecnfm>
  11. <status/>
  12. <opcnfmdd/>
  13. <oproomcd/>
  14. <opfromtmcd/>
  15. <opendtmcd/>
  16. <opusetm/>
  17. <anstdrid1/>
  18. <anstdrid2/>
  19. <anstdrid3/>
  20. <anstmthdcd/>
  21. <anstdetlmthdcd/>
  22. <oprsrvno/>
  23. <ophistno/>
  24. <ageflag/>
  25. <ccrtno/>
  26. <anstreqflag/>
  27. <mainoprsrvno/>
  28. <opstatcd/>
  29. <oppatflagcd/>
  30. <pid/>
  31. <hngnm/>
  32. <sa/>
  33. <opflagcd/>
  34. <perfdeptcd/>
  35. <perfdrid/>
  36. <diagcd/>
  37. <opcd/>
  38. <orddeptcd/>
  39. <cnstopflag/>
  40. <anstccrtno/>
  41. <maincnopflag/>
  42. <reopflag/>
  43. <painlessflag/>
  44. <reqrsncd/>
  45. <aprvreqno/>
  46. </opanstschecnfm>
  47. <rgstinfo/>
  48. </main>
  49. <send>
  50. <reqdata/>
  51. <savedata/>
  52. </send>
  53. <hidden/>
  54. <init>
  55. <oproomlist/>
  56. <userlist/>
  57. <M0017/>
  58. <M0014/>
  59. <M0243/>
  60. <M0244/>
  61. <M0245/>
  62. <hardcd/>
  63. </init>
  64. <temp>
  65. </temp>
  66. </root>
  67. </instance>
  68. <script type="javascript" ev:event="xforms-ready">
  69. <![CDATA[
  70. fInitialize_SPMMO15000();
  71. ]]>
  72. </script>
  73. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  74. <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
  75. <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
  76. <submission id="TRMMB04103" mediatype="application/x-www-form-urlencoded" method="post"/>
  77. <submission id="TXMMO05404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/opanstpatinfo"/>
  78. <submission id="TXMMO05406" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/opanstschecnfm" resultref="/root/main/opanstpatinfo"/>
  79. <submission id="TRMMO05704" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/oproomlist"/>
  80. <submission id="TRMMO05705" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/scheregtimelist"/>
  81. <submission id="TRMMO05402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/rgstinfo"/>
  82. </model>
  83. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  84. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  85. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  86. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  87. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  88. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  89. <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMO05400.js"/>
  90. <script type="javascript" src="../../../emr/prcpmngtweb/js/SPMMO05400.js"/>
  91. <script type="javascript" src="../../../emr/prcpmngtweb/js/SPMMO08800.js"/>
  92. <script type="javascript" src="../../../emr/prcpmngtweb/js/SPMMO15000.js"/>
  93. </xhtml:head>
  94. <xhtml:body pagewidth="430" pageheight="285" guideline="1,517;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  95. <select1 id="combo16" ref="/root/main/opanstschecnfm/anstdrid3" appearance="minimal" editmode="search" itemcount="15" style="left:101px; top:146px; width:120px; height:19px; ">
  96. <choices>
  97. <itemset nodeset="/root/init/userlist/usercombo">
  98. <label ref="usernm"/>
  99. <value ref="userid"/>
  100. </itemset>
  101. </choices>
  102. <script type="javascript" ev:event="xforms-value-changed">
  103. <![CDATA[
  104. var anstdrid1 = model.getValue("/root/main/opanstschecnfm/anstdrid1");
  105. var anstdrid2 = model.getValue("/root/main/opanstschecnfm/anstdrid2");
  106. var anstdrid3 = model.getValue("/root/main/opanstschecnfm/anstdrid3");
  107. if(anstdrid3 != "-"){
  108. if(anstdrid1 == anstdrid3 || anstdrid2 == anstdrid3){
  109. messageBox("동일한 마취의를 선택", "E001");
  110. model.setValue("/root/main/opanstschecnfm/anstdrid1", "-");
  111. model.refresh();
  112. }
  113. }
  114. ]]>
  115. </script>
  116. </select1>
  117. <input id="input7" ref="/root/main/opanstschecnfm/opcnfmdd" inputtype="date" format="yyyy-mm-dd" style="left:101px; top:27px; width:124px; height:19px; "/>
  118. <line id="line8" class="line_1" style="x1:2px; y1:20px; x2:408px; y2:20px; "/>
  119. <line id="line9" class="line_3" style="x1:0px; y1:241px; x2:406px; y2:241px; "/>
  120. <input id="input8" ref="/root/main/opanstschecnfm/opusetm" disabled="true" format="nn:ss" style="left:288px; top:74px; width:60px; height:19px; "/>
  121. <button id="button1" class="btn2_letter2" visibility="hidden" style="left:349px; top:74px; width:42px; height:19px; ">
  122. <caption>설정</caption>
  123. <script type="javascript" ev:event="DOMActivate">
  124. <![CDATA[
  125. fAddERSetOpTime();
  126. //fERAddOpenOpScheTime();
  127. ]]>
  128. </script>
  129. </button>
  130. <caption id="caption40" class="cell_1" style="left:2px; top:169px; width:96px; height:23px; vertical-align:middle; ">마취방법</caption>
  131. <caption id="caption30" class="cell_1" style="left:2px; top:25px; width:96px; height:23px; vertical-align:middle; ">수술일자</caption>
  132. <caption id="caption42" class="cell_1" style="left:2px; top:145px; width:96px; height:23px; vertical-align:middle; ">마취의3</caption>
  133. <caption id="caption31" class="cell_1" style="left:2px; top:73px; width:96px; height:23px; vertical-align:middle; ">수술시간</caption>
  134. <select1 id="cmb_chngoproomcd" ref="/root/main/opanstschecnfm/oproomcd" disabled="false" appearance="minimal" style="left:101px; top:51px; width:124px; height:19px; ">
  135. <choices>
  136. <itemset nodeset="/root/init/oproomlist/oproomlist">
  137. <label ref="oproomnm"/>
  138. <value ref="oproomcd"/>
  139. </itemset>
  140. </choices>
  141. <script type="javascript" ev:event="xforms-select">
  142. <![CDATA[
  143. ipt_fmtm.disabled = false;
  144. ipt_endtm.disabled = false;
  145. ]]>
  146. </script>
  147. </select1>
  148. <select1 id="cmb_chnganstdetlmthdcd" ref="/root/main/opanstschecnfm/anstdetlmthdcd" appearance="minimal" style="left:196px; top:170px; width:118px; height:19px; ">
  149. <choices>
  150. <itemset>
  151. <label ref="cdnm"/>
  152. <value ref="cdid"/>
  153. </itemset>
  154. </choices>
  155. </select1>
  156. <caption id="caption35" class="cell_1" style="left:2px; top:97px; width:96px; height:23px; vertical-align:middle; ">마취의1</caption>
  157. <caption id="caption36" class="cell_1" style="left:2px; top:121px; width:96px; height:23px; vertical-align:middle; ">마취의2</caption>
  158. <select1 id="cmb_chngageflag" ref="/root/main/opanstschecnfm/ageflag" appearance="minimal" style="left:101px; top:195px; width:198px; height:19px; ">
  159. <choices>
  160. <item>
  161. <label>신생아-1달이하</label>
  162. <value>01</value>
  163. </item>
  164. <item>
  165. <label>1달-1년</label>
  166. <value>10</value>
  167. </item>
  168. <item>
  169. <label>1년초과-3년이하</label>
  170. <value>11</value>
  171. </item>
  172. <item>
  173. <label>3년초과-5년이하</label>
  174. <value>12</value>
  175. </item>
  176. <item>
  177. <label>5년초과-8년이하</label>
  178. <value>13</value>
  179. </item>
  180. <item>
  181. <label>12년초과-15년이하</label>
  182. <value>14</value>
  183. </item>
  184. <item>
  185. <label>성인-16세이상</label>
  186. <value>20</value>
  187. </item>
  188. </choices>
  189. </select1>
  190. <caption id="caption37" class="cell_1" style="left:2px; top:193px; width:96px; height:23px; vertical-align:middle; ">나이구분</caption>
  191. <caption id="caption38" style="left:188px; top:75px; width:15px; height:20px; ">~</caption>
  192. <select1 id="cmb_chnganstmthdcd" ref="/root/main/opanstschecnfm/anstmthdcd" appearance="minimal" style="left:101px; top:170px; width:93px; height:19px; ">
  193. <choices>
  194. <itemset nodeset="/root/init/M0017/M0017">
  195. <label ref="cdnm"/>
  196. <value ref="cdid"/>
  197. </itemset>
  198. </choices>
  199. <script type="javascript" ev:event="xforms-value-changed">
  200. <![CDATA[
  201. fChngAnstMthdCmb(cmb_chnganstmthdcd, cmb_chnganstdetlmthdcd, "/root/main/opanstschecnfm/anstdetlmthdcd");
  202. cmb_chnganstdetlmthdcd.select(0);
  203. model.refresh();
  204. ]]>
  205. </script>
  206. </select1>
  207. <caption id="caption39" class="cell_1" style="left:2px; top:49px; width:97px; height:23px; vertical-align:middle; ">수술방</caption>
  208. <select1 id="combo12" ref="/root/main/opanstschecnfm/opendtmcd" disabled="true" visibility="hidden" appearance="minimal" style="left:200px; top:247px; width:85px; height:19px; ">
  209. <choices>
  210. <itemset nodeset="/root/init/M0014/M0014">
  211. <label ref="cdnm"/>
  212. <value ref="cdid"/>
  213. </itemset>
  214. </choices>
  215. </select1>
  216. <select1 id="combo7" ref="/root/main/opanstschecnfm/opfromtmcd" disabled="true" visibility="hidden" appearance="minimal" style="left:100px; top:247px; width:85px; height:19px; ">
  217. <choices>
  218. <itemset nodeset="/root/init/M0014/M0014">
  219. <label ref="cdnm"/>
  220. <value ref="cdid"/>
  221. </itemset>
  222. </choices>
  223. </select1>
  224. <caption id="caption28" class="tit_2" style="left:3px; top:4px; width:107px; height:13px; vertical-align:middle; ">수술마취 확정</caption>
  225. <input id="ipt_fmtm" ref="/root/main/opanstschecnfm/opfromtmcd" format="hh:nn" style="left:101px; top:74px; width:85px; height:19px; "/>
  226. <input id="ipt_endtm" ref="/root/main/opanstschecnfm/opendtmcd" format="hh:nn" style="left:200px; top:74px; width:85px; height:19px; "/>
  227. <select1 id="combo13" ref="/root/main/opanstschecnfm/anstdrid1" appearance="minimal" editmode="search" itemcount="15" style="left:101px; top:98px; width:119px; height:19px; ">
  228. <choices>
  229. <itemset nodeset="/root/init/userlist/usercombo">
  230. <label ref="usernm"/>
  231. <value ref="userid"/>
  232. </itemset>
  233. </choices>
  234. <script type="javascript" ev:event="xforms-value-changed">
  235. <![CDATA[
  236. var anstdrid1 = model.getValue("/root/main/opanstschecnfm/anstdrid1");
  237. var anstdrid2 = model.getValue("/root/main/opanstschecnfm/anstdrid2");
  238. var anstdrid3 = model.getValue("/root/main/opanstschecnfm/anstdrid3");
  239. if(anstdrid1 != "-"){
  240. if(anstdrid1 == anstdrid2 || anstdrid1 == anstdrid3){
  241. messageBox("동일한 마취의를 선택", "E001");
  242. model.setValue("/root/main/opanstschecnfm/anstdrid1", "-");
  243. model.refresh();
  244. }
  245. }
  246. ]]>
  247. </script>
  248. <script type="javascript" ev:event="DOMFocusIn">
  249. <![CDATA[
  250. fChngOpTm("/root/main/opanstschecnfm");
  251. model.refresh();
  252. ]]>
  253. </script>
  254. </select1>
  255. <select1 id="combo14" ref="/root/main/opanstschecnfm/anstdrid2" appearance="minimal" editmode="search" itemcount="15" style="left:101px; top:123px; width:120px; height:19px; ">
  256. <choices>
  257. <itemset nodeset="/root/init/userlist/usercombo">
  258. <label ref="usernm"/>
  259. <value ref="userid"/>
  260. </itemset>
  261. </choices>
  262. <script type="javascript" ev:event="xforms-value-changed">
  263. <![CDATA[
  264. var anstdrid1 = model.getValue("/root/main/opanstschecnfm/anstdrid1");
  265. var anstdrid2 = model.getValue("/root/main/opanstschecnfm/anstdrid2");
  266. var anstdrid3 = model.getValue("/root/main/opanstschecnfm/anstdrid3");
  267. if(anstdrid2 != "-"){
  268. if(anstdrid1 == anstdrid2 || anstdrid2 == anstdrid3){
  269. messageBox("동일한 마취의를 선택", "E001");
  270. model.setValue("/root/main/opanstschecnfm/anstdrid1", "-");
  271. model.refresh();
  272. }
  273. }
  274. ]]>
  275. </script>
  276. </select1>
  277. <button id="button43" class="btn4_letter2" style="left:353px; top:247px; width:56px; height:22px; ">
  278. <caption>취소</caption>
  279. <script type="javascript" ev:event="DOMActivate">
  280. <![CDATA[
  281. fClkBtnScheCncl();
  282. ]]>
  283. </script>
  284. </button>
  285. <button id="button44" class="btn4_letter2" style="left:295px; top:247px; width:56px; height:22px; ">
  286. <caption>확인</caption>
  287. <script type="javascript" ev:event="DOMActivate">
  288. <![CDATA[
  289. fClkBtnScheCnfm();
  290. ]]>
  291. </script>
  292. </button>
  293. <caption id="cap_cnfm" class="color_sat" visibility="hidden" style="left:108px; top:4px; width:151px; height:13px; vertical-align:middle; ">"협진환자 입니다."</caption>
  294. <select id="checkbox1" ref="/root/main/opanstschecnfm/maincnopflag" disabled="true" overflow="visible" appearance="full" checkvalue="Y,N" style="left:101px; top:220px; width:100px; height:20px; border-style:none; ">
  295. <choices>
  296. <item>
  297. <label>주수술로 변경</label>
  298. <value>Y</value>
  299. </item>
  300. </choices>
  301. </select>
  302. <caption id="caption2" class="cell_1" style="left:2px; top:217px; width:96px; height:23px; vertical-align:middle; ">주/부 변경</caption>
  303. <caption id="caption1" class="color_sat" visibility="hidden" style="left:108px; top:1px; width:291px; height:35px; vertical-align:middle; ">
  304. <![CDATA["주수술로 의뢰된 수술이 취소되었습니다.
  305. 협진 수술을 진행하려면 주수술로 변경해야 합니다."]]>
  306. </caption>
  307. <line id="line1" class="line_1" visibility="hidden" style="x1:2px; y1:33px; x2:408px; y2:33px; "/>
  308. <line id="line2" class="line_3" visibility="hidden" style="x1:2px; y1:254px; x2:408px; y2:254px; "/>
  309. </xhtml:body>
  310. </xhtml:html>