SPMMO05400_수술마취일정변경.xrw 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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. <opanstschechng>
  11. <diagstatus/>
  12. <opstatus/>
  13. <anststatus/>
  14. <opcnfmdd/>
  15. <oproomcd/>
  16. <opfromtmcd/>
  17. <opendtmcd/>
  18. <opusetm/>
  19. <diagnm/>
  20. <opnm/>
  21. <perfdeptcd/>
  22. <perfdrid/>
  23. <anstdrid1/>
  24. <anstdrid2/>
  25. <anstdrid3/>
  26. <anstmthdcd/>
  27. <anstdetlmthdcd/>
  28. <opflagcd/>
  29. <oprsrvno/>
  30. <ophistno/>
  31. <diagcd/>
  32. <opcd/>
  33. <reqdd/>
  34. <opstatcd/>
  35. <pid/>
  36. <oppatflagcd/>
  37. <ageflag/>
  38. <ccrtno/>
  39. <ccrtstat/>
  40. <orgdiagcd/>
  41. <hngnm/>
  42. <sa/>
  43. <cnstopflag/>
  44. <moproomcd/>
  45. <mopfromtmcd/>
  46. <mopendtmcd/>
  47. <anstccrtno/>
  48. <mainoprsrvno/>
  49. <maincnopflag/>
  50. </opanstschechng>
  51. <rgstinfo/>
  52. </main>
  53. <send>
  54. <reqdata/>
  55. <savedata/>
  56. </send>
  57. <hidden/>
  58. <init>
  59. <userlist/>
  60. <userlist2/>
  61. <orddept/>
  62. <M0014/>
  63. <M0017/>
  64. <M0243/>
  65. <M0244/>
  66. <M0245/>
  67. <oproomlist/>
  68. <hardcd/>
  69. </init>
  70. <temp>
  71. <opanstschechng/>
  72. </temp>
  73. </root>
  74. </instance>
  75. <script type="javascript" ev:event="xforms-ready">
  76. <![CDATA[
  77. fInitialize_SPMMO05400();
  78. ]]>
  79. </script>
  80. <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
  81. <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
  82. <submission id="TRMMB04103" mediatype="application/x-www-form-urlencoded" method="post"/>
  83. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  84. <submission id="TRMMO05704" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/oproomlist"/>
  85. <submission id="TXMMO05402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/temp"/>
  86. <submission id="TRMMO05705" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/scheregtimelist"/>
  87. <submission id="TXMMO05406" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/opanstschechng" resultref="/root/main/opanstpatinfo"/>
  88. <submission id="TRMMO05402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/rgstinfo"/>
  89. </model>
  90. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  91. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  92. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  93. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  94. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  95. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  96. <script type="javascript" src="../../../emr/prcpmngtweb/js/SPMMO05400.js"/>
  97. <script type="javascript" src="../../../emr/prcpmngtweb/js/SPMMO08800.js"/>
  98. </xhtml:head>
  99. <xhtml:body pagewidth="533" pageheight="305" guideline="1,533;2,304;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  100. <button id="btn_schecnfm" class="btn4_letter2" style="left:400px; top:271px; width:56px; height:22px; ">
  101. <caption>확인</caption>
  102. <script type="javascript" ev:event="DOMActivate">
  103. <![CDATA[
  104. fClkScheChngBtn();
  105. ]]>
  106. </script>
  107. </button>
  108. <button id="btn_schecncl" class="btn4_letter2" style="left:458px; top:271px; width:56px; height:22px; ">
  109. <caption>취소</caption>
  110. <script type="javascript" ev:event="DOMActivate">
  111. <![CDATA[
  112. opener.javascript.setParameter("SPMMO05400_rtn_useyn", "N");
  113. window.close();
  114. ]]>
  115. </script>
  116. </button>
  117. <button id="button5" class="btn2_letter2" visibility="hidden" style="left:363px; top:52px; width:42px; height:19px; ">
  118. <caption>설정</caption>
  119. <script type="javascript" ev:event="DOMActivate">
  120. <![CDATA[
  121. fOpenOpScheTime();
  122. ]]>
  123. </script>
  124. </button>
  125. <caption id="caption20" class="cell_1" style="left:223px; top:147px; width:108px; height:23px; vertical-align:middle; ">마취의2</caption>
  126. <caption id="caption21" class="cell_1" style="left:1px; top:194px; width:96px; height:23px; vertical-align:middle; ">나이구분</caption>
  127. <caption id="caption10" class="cell_1" style="left:1px; top:50px; width:96px; height:23px; vertical-align:middle; ">수술시간</caption>
  128. <select1 id="combo1" ref="/root/main/opanstschechng/ageflag" appearance="minimal" style="left:99px; top:197px; width:198px; height:19px; ">
  129. <choices>
  130. <item>
  131. <label>신생아-1달이하</label>
  132. <value>01</value>
  133. </item>
  134. <item>
  135. <label>1달-1년</label>
  136. <value>10</value>
  137. </item>
  138. <item>
  139. <label>1년초과-3년이하</label>
  140. <value>11</value>
  141. </item>
  142. <item>
  143. <label>3년초과-5년이하</label>
  144. <value>12</value>
  145. </item>
  146. <item>
  147. <label>5년초과-8년이하</label>
  148. <value>13</value>
  149. </item>
  150. <item>
  151. <label>12년초과-15년이하</label>
  152. <value>14</value>
  153. </item>
  154. <item>
  155. <label>성인-16세이상</label>
  156. <value>20</value>
  157. </item>
  158. </choices>
  159. </select1>
  160. <caption id="caption22" class="cell_1" style="left:223px; top:123px; width:108px; height:23px; vertical-align:middle; ">집도의</caption>
  161. <caption id="caption23" class="cell_1" style="left:1px; top:26px; width:96px; height:23px; vertical-align:middle; ">수술일자</caption>
  162. <caption id="caption12" class="tit_2" style="left:3px; top:4px; width:151px; height:13px; vertical-align:middle; ">수술마취일정 변경</caption>
  163. <caption id="caption24" style="left:263px; top:53px; width:15px; height:20px; ">~</caption>
  164. <caption id="caption13" class="cell_1" style="left:1px; top:74px; width:96px; height:23px; vertical-align:middle; ">진단코드/명</caption>
  165. <caption id="caption25" class="cell_1" style="left:226px; top:26px; width:108px; height:23px; vertical-align:middle; ">수술방</caption>
  166. <select1 id="combo4" ref="/root/main/opanstschechng/oproomcd" appearance="minimal" style="left:335px; top:28px; width:119px; height:19px; ">
  167. <choices>
  168. <itemset nodeset="/root/init/oproomlist/oproomlist">
  169. <label ref="oproomnm"/>
  170. <value ref="oproomcd"/>
  171. </itemset>
  172. </choices>
  173. <script type="javascript" ev:event="xforms-value-changed">
  174. <![CDATA[
  175. //수술방 변경시 바로 수술시간 설정 화면을 띄운다.
  176. //fOpenOpScheTime();
  177. ]]>
  178. </script>
  179. </select1>
  180. <caption id="caption14" class="cell_1" style="left:1px; top:98px; width:96px; height:23px; vertical-align:middle; ">수술코드/명</caption>
  181. <select1 id="radio2" ref="/root/main/opanstschechng/opflagcd" appearance="full" cellspacing="10" cols="3" overflow="visible" style="left:99px; top:220px; width:165px; height:20px; border-style:none; ">
  182. <choices>
  183. <item>
  184. <label>정규</label>
  185. <value>1</value>
  186. </item>
  187. <item>
  188. <label>응급</label>
  189. <value>2</value>
  190. </item>
  191. <item>
  192. <label>추가</label>
  193. <value>3</value>
  194. </item>
  195. </choices>
  196. </select1>
  197. <select1 id="cmb_perfdeptcd2" ref="/root/main/opanstschechng/perfdeptcd" appearance="minimal" style="left:99px; top:125px; width:119px; height:19px; ">
  198. <choices>
  199. <itemset nodeset="/root/init/orddept/dept">
  200. <label ref="depthngnm"/>
  201. <value ref="deptcd"/>
  202. </itemset>
  203. </choices>
  204. <script type="javascript" ev:event="xforms-value-changed">
  205. <![CDATA[
  206. mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist2", cmb_perfdeptcd2.value, "0330");
  207. model.setValue("/root/main/opanstschechng/perfdrid", "");
  208. model.refresh();
  209. ]]>
  210. </script>
  211. </select1>
  212. <caption id="caption26" class="cell_1" style="left:0px; top:170px; width:97px; height:23px; vertical-align:middle; ">마취의3</caption>
  213. <select1 id="combo10" ref="/root/main/opanstschechng/perfdrid" appearance="minimal" style="left:333px; top:126px; width:119px; height:19px; ">
  214. <choices>
  215. <itemset nodeset="/root/init/userlist2/usercombo">
  216. <label ref="usernm"/>
  217. <value ref="userid"/>
  218. </itemset>
  219. </choices>
  220. <script type="javascript" ev:event="xforms-value-changed">
  221. <![CDATA[
  222. fOpenCCrtSearchNoCond();
  223. ]]>
  224. </script>
  225. </select1>
  226. <select1 id="combo5" ref="/root/main/opanstschechng/opfromtmcd" disabled="true" visibility="hidden" appearance="minimal" style="left:105px; top:270px; width:85px; height:19px; ">
  227. <choices>
  228. <itemset nodeset="/root/init/M0014/M0014">
  229. <label ref="cdnm"/>
  230. <value ref="cdid"/>
  231. </itemset>
  232. </choices>
  233. </select1>
  234. <input id="input1" ref="/root/main/opanstschechng/opcnfmdd" disabled="true" navindex="1" inputtype="date" format="yyyy-mm-dd" style="left:99px; top:28px; width:124px; height:19px; ">
  235. <script type="javascript" ev:event="xforms-value-changed">
  236. <![CDATA[
  237. model.setValue("/root/main/opanstschechng/oproomcd", "");
  238. model.setValue("/root/main/opanstschechng/opfromtmcd", "");
  239. model.setValue("/root/main/opanstschechng/opendtmcd", "");
  240. model.refresh();
  241. ]]>
  242. </script>
  243. </input>
  244. <caption id="caption15" class="cell_1" style="left:1px; top:122px; width:96px; height:23px; vertical-align:middle; ">집도과</caption>
  245. <caption id="caption27" class="cell_1" style="left:1px; top:218px; width:96px; height:23px; vertical-align:middle; ">수술구분</caption>
  246. <select1 id="combo11" ref="/root/main/opanstschechng/anstdrid3" appearance="minimal" editmode="search" itemcount="15" style="left:99px; top:173px; width:119px; height:19px; ">
  247. <choices>
  248. <itemset nodeset="/root/init/userlist/usercombo">
  249. <label ref="usernm"/>
  250. <value ref="userid"/>
  251. </itemset>
  252. </choices>
  253. <script type="javascript" ev:event="xforms-value-changed">
  254. <![CDATA[
  255. var anstmthdcd = model.getValue("/root/main/opanstschechng/anstmthdcd");
  256. if(anstmthdcd == "03"){
  257. messageBox("국소마취는 마취의 배정을", "E001");
  258. model.setValue("/root/main/opanstschechng/anstdrid3", "");
  259. model.refresh();
  260. return;
  261. }
  262. var anstdrid1 = model.getValue("/root/main/opanstschechng/anstdrid1");
  263. var anstdrid2 = model.getValue("/root/main/opanstschechng/anstdrid2");
  264. var anstdrid3 = model.getValue("/root/main/opanstschechng/anstdrid3");
  265. if(anstdrid3 != "-"){
  266. if(anstdrid1 == anstdrid3 || anstdrid2 == anstdrid3){
  267. messageBox("동일한 마취의를 선택", "E001");
  268. model.setValue("/root/main/opanstschechng/anstdrid3", "");
  269. model.refresh();
  270. }
  271. }
  272. ]]>
  273. </script>
  274. </select1>
  275. <input id="input2" ref="/root/main/opanstschechng/opusetm" disabled="true" format="nn:ss" style="left:99px; top:52px; width:74px; height:19px; "/>
  276. <select1 id="combo6" ref="/root/main/opanstschechng/opendtmcd" disabled="true" visibility="hidden" appearance="minimal" style="left:200px; top:270px; width:85px; height:19px; ">
  277. <choices>
  278. <itemset nodeset="/root/init/M0014/M0014">
  279. <label ref="cdnm"/>
  280. <value ref="cdid"/>
  281. </itemset>
  282. </choices>
  283. </select1>
  284. <caption id="caption17" class="cell_1" style="left:223px; top:171px; width:78px; height:23px; vertical-align:middle; ">마취방법</caption>
  285. <input id="input3" ref="/root/main/opanstschechng/diagnm" navindex="5" style="left:190px; top:77px; width:325px; height:19px; ">
  286. <script type="javascript" ev:event="onkeypress">
  287. <![CDATA[
  288. inputEnterKey("btn_diagnm", "DOMActivate");
  289. ]]>
  290. </script>
  291. </input>
  292. <select1 id="cmb_anstdetl" ref="/root/main/opanstschechng/anstdetlmthdcd" appearance="minimal" style="left:398px; top:173px; width:118px; height:19px; ">
  293. <choices>
  294. <itemset>
  295. <label ref="cdnm"/>
  296. <value ref="cdid"/>
  297. </itemset>
  298. </choices>
  299. </select1>
  300. <select1 id="combo8" ref="/root/main/opanstschechng/anstdrid1" appearance="minimal" editmode="search" itemcount="15" style="left:99px; top:149px; width:119px; height:19px; ">
  301. <choices>
  302. <itemset nodeset="/root/init/userlist/usercombo">
  303. <label ref="usernm"/>
  304. <value ref="userid"/>
  305. </itemset>
  306. </choices>
  307. <script type="javascript" ev:event="xforms-value-changed">
  308. <![CDATA[
  309. var anstmthdcd = model.getValue("/root/main/opanstschechng/anstmthdcd");
  310. if(anstmthdcd == "03"){
  311. messageBox("국소마취는 마취의 배정을", "E001");
  312. model.setValue("/root/main/opanstschechng/anstdrid1", "");
  313. model.refresh();
  314. return;
  315. }
  316. var anstdrid1 = model.getValue("/root/main/opanstschechng/anstdrid1");
  317. var anstdrid2 = model.getValue("/root/main/opanstschechng/anstdrid2");
  318. var anstdrid3 = model.getValue("/root/main/opanstschechng/anstdrid3");
  319. if(anstdrid1 != "-"){
  320. if(anstdrid1 == anstdrid2 || anstdrid1 == anstdrid3){
  321. messageBox("동일한 마취의를 선택", "E001");
  322. model.setValue("/root/main/opanstschechng/anstdrid1", "");
  323. model.refresh();
  324. }
  325. }
  326. ]]>
  327. </script>
  328. </select1>
  329. <input id="input4" ref="/root/main/opanstschechng/opnm" style="left:190px; top:101px; width:325px; height:19px; ">
  330. <script type="javascript" ev:event="onkeypress">
  331. <![CDATA[
  332. inputEnterKey("btn_opcd", "DOMActivate");
  333. ]]>
  334. </script>
  335. </input>
  336. <input id="input5" ref="/root/main/opanstschechng/diagcd" navindex="4" style="left:99px; top:77px; width:89px; height:19px; ">
  337. <script type="javascript" ev:event="onkeypress">
  338. <![CDATA[
  339. inputEnterKey("btn_diagcd", "DOMActivate");
  340. ]]>
  341. </script>
  342. <script type="javascript" ev:event="DOMFocusIn">
  343. <![CDATA[
  344. fChngOpTm("/root/main/opanstschechng");
  345. model.refresh();
  346. ]]>
  347. </script>
  348. </input>
  349. <select1 id="cmb_anstmthdcd2" ref="/root/main/opanstschechng/anstmthdcd" appearance="minimal" style="left:303px; top:173px; width:93px; height:19px; ">
  350. <choices>
  351. <itemset nodeset="/root/init/M0017/M0017">
  352. <label ref="cdnm"/>
  353. <value ref="cdid"/>
  354. </itemset>
  355. </choices>
  356. <script type="javascript" ev:event="xforms-value-changed">
  357. <![CDATA[
  358. fChngAnstMthdCmb(cmb_anstmthdcd2, cmb_anstdetl, "/root/main/opanstschechng/anstdetlmthdcd");
  359. if(cmb_anstmthdcd2.value == "03"){ //마취방법이 국소인 경우, 마취의를 해체한다.
  360. model.setValue("/root/main/opanstschechng/anstdrid1", "");
  361. model.setValue("/root/main/opanstschechng/anstdrid2", "");
  362. model.setValue("/root/main/opanstschechng/anstdrid3", "");
  363. }
  364. model.refresh();
  365. ]]>
  366. </script>
  367. </select1>
  368. <select1 id="combo9" ref="/root/main/opanstschechng/anstdrid2" appearance="minimal" editmode="search" itemcount="15" style="left:333px; top:150px; width:119px; height:19px; ">
  369. <choices>
  370. <itemset nodeset="/root/init/userlist/usercombo">
  371. <label ref="usernm"/>
  372. <value ref="userid"/>
  373. </itemset>
  374. </choices>
  375. <script type="javascript" ev:event="xforms-value-changed">
  376. <![CDATA[
  377. var anstmthdcd = model.getValue("/root/main/opanstschechng/anstmthdcd");
  378. if(anstmthdcd == "03"){
  379. messageBox("국소마취는 마취의 배정을", "E001");
  380. model.setValue("/root/main/opanstschechng/anstdrid2", "");
  381. model.refresh();
  382. return;
  383. }
  384. var anstdrid1 = model.getValue("/root/main/opanstschechng/anstdrid1");
  385. var anstdrid2 = model.getValue("/root/main/opanstschechng/anstdrid2");
  386. var anstdrid3 = model.getValue("/root/main/opanstschechng/anstdrid3");
  387. if(anstdrid2 != "-"){
  388. if(anstdrid1 == anstdrid2 || anstdrid2 == anstdrid3){
  389. messageBox("동일한 마취의를 선택", "E001");
  390. model.setValue("/root/main/opanstschechng/anstdrid2", "-");
  391. model.refresh();
  392. }
  393. }
  394. ]]>
  395. </script>
  396. </select1>
  397. <caption id="caption19" class="cell_1" style="left:1px; top:146px; width:96px; height:23px; vertical-align:middle; ">마취의1</caption>
  398. <line id="line6" class="line_1" style="x1:0px; y1:21px; x2:517px; y2:21px; "/>
  399. <input id="input6" ref="/root/main/opanstschechng/opcd" style="left:99px; top:101px; width:89px; height:19px; ">
  400. <script type="javascript" ev:event="onkeypress">
  401. <![CDATA[
  402. inputEnterKey("btn_opcd", "DOMActivate");
  403. ]]>
  404. </script>
  405. </input>
  406. <line id="line7" class="line_3" style="x1:0px; y1:266px; x2:516px; y2:266px; "/>
  407. <button id="btn_opcd" disabled="true" visibility="hidden" style="left:420px; top:218px; width:57px; height:20px; ">
  408. <caption>btn_opcd</caption>
  409. <script type="javascript" ev:event="DOMActivate">
  410. <![CDATA[
  411. fOpenCcrtSearch();
  412. ]]>
  413. </script>
  414. </button>
  415. <button id="btn_diagcd" visibility="hidden" style="left:300px; top:220px; width:55px; height:15px; ">
  416. <caption>button1</caption>
  417. <script type="javascript" ev:event="DOMActivate">
  418. <![CDATA[
  419. fOpenSrchDiagCD();
  420. ]]>
  421. </script>
  422. </button>
  423. <button id="btn_diagnm" visibility="hidden" style="left:365px; top:219px; width:55px; height:15px; ">
  424. <caption>button2</caption>
  425. <script type="javascript" ev:event="DOMActivate">
  426. <![CDATA[
  427. fOpenSrchDiagNM();
  428. ]]>
  429. </script>
  430. </button>
  431. <input id="ipt_fmtm" ref="/root/main/opanstschechng/opfromtmcd" navindex="2" format="hh:nn" style="left:176px; top:52px; width:85px; height:19px; "/>
  432. <input id="ipt_endtm" ref="/root/main/opanstschechng/opendtmcd" navindex="3" format="hh:nn" style="left:275px; top:52px; width:85px; height:19px; ">
  433. <script type="javascript" ev:event="DOMFocusIn">
  434. <![CDATA[
  435. fChngOpTm("/root/main/opanstschechng");
  436. model.refresh();
  437. ]]>
  438. </script>
  439. <script type="javascript" ev:event="DOMFocusOut">
  440. <![CDATA[
  441. fChngOpTm("/root/main/opanstschechng");
  442. model.refresh();
  443. ]]>
  444. </script>
  445. </input>
  446. <caption id="caption1" class="color_sat" visibility="hidden" style="left:133px; top:4px; width:151px; height:13px; vertical-align:middle; ">"협진환자 입니다."</caption>
  447. <caption id="caption2" class="cell_1" style="left:0px; top:242px; width:96px; height:23px; vertical-align:middle; ">주/부 변경</caption>
  448. <select id="checkbox1" ref="/root/main/opanstschechng/maincnopflag" disabled="true" overflow="visible" appearance="full" checkvalue="Y,N" style="left:98px; top:245px; width:100px; height:20px; border-style:none; ">
  449. <choices>
  450. <item>
  451. <label>주수술로 변경</label>
  452. <value>Y</value>
  453. </item>
  454. </choices>
  455. </select>
  456. </xhtml:body>
  457. </xhtml:html>