SMPMB02510_휴진의사처방관리.xrw 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477
  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. <send>
  10. <ordtype>O</ordtype>
  11. <orddesc>
  12. <pid/>
  13. <orddd/>
  14. <cretno/>
  15. <prcpdd/>
  16. <prcpno/>
  17. <prcphistno/>
  18. <execprcpuniqno/>
  19. <snglcalcscorcd/>
  20. <calcseqno/>
  21. <calcscorseqno/>
  22. <orddrnm/>
  23. <readdrnm/>
  24. <execrnm/>
  25. <orgorddrnm/>
  26. <orgreaddrnm/>
  27. <orgexecrnm/>
  28. </orddesc>
  29. <chgdesc>
  30. <orddeptcd/>
  31. <orddrid/>
  32. <readdeptcd/>
  33. <readdrid/>
  34. <execdeptcd/>
  35. <execrid/>
  36. <specdeptcd/>
  37. <specdrid/>
  38. </chgdesc>
  39. <holiflag>Y</holiflag>
  40. <fromdd/>
  41. <todd/>
  42. <pid/>
  43. </send>
  44. <main>
  45. <sliplist/>
  46. </main>
  47. <init>
  48. <orddeptcd>
  49. <orddeptcdlist>
  50. <cd/>
  51. <nm/>
  52. </orddeptcdlist>
  53. </orddeptcd>
  54. <orddrid>
  55. <orddridlist>
  56. <cd/>
  57. <nm/>
  58. <dp/>
  59. <sp/>
  60. </orddridlist>
  61. </orddrid>
  62. </init>
  63. <hidden>
  64. <tmp/>
  65. <tmp2/>
  66. </hidden>
  67. </root>
  68. </instance>
  69. <script type="javascript" ev:event="xforms-ready">
  70. <![CDATA[
  71. pamGetDeptCDDrIDList();
  72. addComboItem("cmb_orddeptcd", "전체","", "above");
  73. addComboItem("cmb_orddrid", "전체","", "above");
  74. model.refresh();
  75. ]]>
  76. </script>
  77. <script type="javascript">
  78. <![CDATA[
  79. ]]>
  80. </script>
  81. <submission id="TRPMB02510" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/sliplist"/>
  82. <submission id="TRPAM00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/hidden/tmp"/>
  83. <submission id="TXPMB02511" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/tmp2"/>
  84. <submission id="TXPMB02512" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/tmp2"/>
  85. </model>
  86. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  87. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  88. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  89. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  90. </xhtml:head>
  91. <xhtml:body pagewidth="1100" pageheight="800" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  92. <datagrid id="datagrid1" nodeset="/root/main/sliplist" caption="환자번호^구분^진료일자^진료과^orddeptcd^진료의^진료의^처방코드^처방코드^처방명^판독의^판독의^선택&#xA;YN^시행일자(시간)^시행일자(시간)^시행부서^execdeptcd^시행의사^시행의사^현진료의사^현판독의사^현실시의사^휴진의사^휴진기간^cretno^calcseqno^calcscorseqno^prcpdd^prcpno^prcphistno^execprcpseqno^execprcpuniqno" colsep="^" colwidth="66, 45, 73, 100, 53, 56, 50, 80, 80, 198, 65, 50, 35, 66, 47, 100, 100, 65, 50, 70, 70, 70, 100, 100, 66, 80, 99, 55, 60, 71, 100, 100" explorerbar="sortmove" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:15px; top:65px; width:1065px; height:440px; ">
  93. <col ref="pid" style="text-align:center; "/>
  94. <col disabled="true" ref="ordtype" type="combo" style="text-align:center; ">
  95. <choices>
  96. <item>
  97. <label>외래</label>
  98. <value>O</value>
  99. </item>
  100. <item>
  101. <label>입원</label>
  102. <value>I</value>
  103. </item>
  104. </choices>
  105. </col>
  106. <col ref="orddd" style="text-align:center; "/>
  107. <col ref="orddeptnm"/>
  108. <col ref="orddeptcd" visibility="hidden"/>
  109. <col ref="orddrnm" style="text-align:center; "/>
  110. <col ref="orddrid" style="text-align:center; "/>
  111. <col ref="grupcalcscorcd"/>
  112. <col ref="snglcalcscorcd"/>
  113. <col ref="ordhngnm"/>
  114. <col ref="readdrnm" style="text-align:center; "/>
  115. <col ref="readdrid"/>
  116. <col ref="specordyn" style="text-align:center; "/>
  117. <col ref="execdd" style="text-align:center; "/>
  118. <col ref="exectm" style="text-align:center; "/>
  119. <col ref="execdeptnm"/>
  120. <col ref="execdeptcd" visibility="hidden"/>
  121. <col ref="execrnm" style="text-align:center; "/>
  122. <col ref="execrid" style="text-align:center; "/>
  123. <col ref="orgorddrnm" style="text-align:center; "/>
  124. <col ref="orgreaddrnm" style="text-align:center; "/>
  125. <col ref="orgexecrnm" style="text-align:center; "/>
  126. <col ref="holiorddrnm"/>
  127. <col ref="holifromtodd"/>
  128. <col ref="cretno" visibility="visible"/>
  129. <col ref="calcseqno" visibility="visible"/>
  130. <col ref="calcscorseqno" visibility="visible"/>
  131. <col ref="prcpdd" visibility="visible"/>
  132. <col ref="prcpno" visibility="visible"/>
  133. <col ref="prcphistno" visibility="visible"/>
  134. <col ref="execprcpseqno" visibility="visible"/>
  135. <col ref="execprcpuniqno" visibility="visible"/>
  136. <script type="javascript" ev:event="ondblclick">
  137. <![CDATA[
  138. // 선택된 처방상세 데이터 세팅
  139. model.setValue("/root/send/orddesc/pid", model.getValue("/root/main/sliplist[" + datagrid1.row + "]/pid"));
  140. model.setValue("/root/send/orddesc/orddd", model.getValue("/root/main/sliplist[" + datagrid1.row + "]/orddd"));
  141. model.setValue("/root/send/orddesc/cretno", model.getValue("/root/main/sliplist[" + datagrid1.row + "]/cretno"));
  142. model.setValue("/root/send/orddesc/prcpdd", model.getValue("/root/main/sliplist[" + datagrid1.row + "]/prcpdd"));
  143. model.setValue("/root/send/orddesc/prcpno", model.getValue("/root/main/sliplist[" + datagrid1.row + "]/prcpno"));
  144. model.setValue("/root/send/orddesc/prcphistno", model.getValue("/root/main/sliplist[" + datagrid1.row + "]/prcphistno"));
  145. model.setValue("/root/send/orddesc/execprcpuniqno", model.getValue("/root/main/sliplist[" + datagrid1.row + "]/execprcpuniqno"));
  146. model.setValue("/root/send/orddesc/snglcalcscorcd", model.getValue("/root/main/sliplist[" + datagrid1.row + "]/snglcalcscorcd"));
  147. model.setValue("/root/send/orddesc/calcseqno", model.getValue("/root/main/sliplist[" + datagrid1.row + "]/calcseqno"));
  148. model.setValue("/root/send/orddesc/calcscorseqno", model.getValue("/root/main/sliplist[" + datagrid1.row + "]/calcscorseqno"));
  149. model.setValue("/root/send/orddesc/orddrnm", model.getValue("/root/main/sliplist[" + datagrid1.row + "]/orddrnm"));
  150. model.setValue("/root/send/orddesc/readdrnm", model.getValue("/root/main/sliplist[" + datagrid1.row + "]/readdrnm"));
  151. model.setValue("/root/send/orddesc/execrnm", model.getValue("/root/main/sliplist[" + datagrid1.row + "]/execrnm"));
  152. model.setValue("/root/send/orddesc/orgorddrnm", model.getValue("/root/main/sliplist[" + datagrid1.row + "]/orgorddrnm"));
  153. model.setValue("/root/send/orddesc/orgreaddrnm", model.getValue("/root/main/sliplist[" + datagrid1.row + "]/orgreaddrnm"));
  154. model.setValue("/root/send/orddesc/orgexecrnm", model.getValue("/root/main/sliplist[" + datagrid1.row + "]/orgexecrnm"));
  155. model.refresh();
  156. ]]>
  157. </script>
  158. <script type="javascript" ev:event="onaftersort">
  159. <![CDATA[
  160. datagrid1.gridToInstance();
  161. ]]>
  162. </script>
  163. </datagrid>
  164. <shape id="roundrect1" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:15px; top:10px; width:1065px; height:45px; "/>
  165. <select1 id="radio1" ref="/root/send/ordtype" navindex="2" appearance="full" cols="3" overflow="visible" style="left:295px; top:24px; width:95px; height:20px; border-style:none; ">
  166. <choices>
  167. <item>
  168. <label>외래</label>
  169. <value>O</value>
  170. </item>
  171. <item>
  172. <label>입원</label>
  173. <value>I</value>
  174. </item>
  175. </choices>
  176. </select1>
  177. <button id="button1" class="btn1_letter2" navindex="6" style="left:1010px; top:22px; width:56px; height:22px; text-align:left; ">
  178. <caption>조회</caption>
  179. <script type="javascript" ev:event="DOMActivate">
  180. <![CDATA[
  181. /*
  182. 검색조건체크
  183. */
  184. if (model.getValue("/root/send/holiflag") == "Y"
  185. && model.getValue("/root/send/ordtype") == "I"
  186. && isNull(model.getValue("/root/send/fromdd"))
  187. && isNull(model.getValue("/root/send/todd")) ) {
  188. messageBox("입원데이터의 조회는 반드시 기간을 설정해주세요", "C0800");
  189. return;
  190. }
  191. if (model.getValue("/root/send/holiflag") != "Y"
  192. && isNull(model.getValue("/root/send/fromdd"))
  193. && isNull(model.getValue("/root/send/todd")) ) {
  194. messageBox("일반데이터의 조회는 반드시 기간을 설정해주세요", "C000");
  195. return;
  196. }
  197. // 수정정보 초기화
  198. model.resetInstanceNode("/root/send/orddesc");
  199. model.resetInstanceNode("/root/send/chgdesc");
  200. submit("TRPMB02510");
  201. caption20.value = datagrid1.rows - 1;
  202. caption20.refresh();
  203. ]]>
  204. </script>
  205. </button>
  206. <select1 id="cmb_orddeptcd" ref="/root/send/chgdesc/orddeptcd" appearance="minimal" style="left:15px; top:697px; width:160px; height:19px; ">
  207. <choices>
  208. <itemset nodeset="/root/init/orddeptcd/orddeptcdlist">
  209. <label ref="nm"/>
  210. <value ref="cd"/>
  211. </itemset>
  212. </choices>
  213. <script type="javascript" ev:event="xforms-value-changed">
  214. <![CDATA[
  215. if (isNull(model.getValue("/root/send/chgdesc/orddeptcd"))) {
  216. cmb_orddrid.choices.itemset.attribute("nodeset") = "/root/init/orddrid/orddridlist";
  217. } else {
  218. cmb_orddrid.choices.itemset.attribute("nodeset") = "/root/init/orddrid/orddridlist[dp = '" + cmb_orddeptcd.value + "']";
  219. }
  220. model.setValue("/root/send/chgdesc/orddrid", "");
  221. cmb_orddrid.refresh();
  222. ]]>
  223. </script>
  224. </select1>
  225. <select1 id="cmb_orddrid" ref="/root/send/chgdesc/orddrid" appearance="minimal" style="left:180px; top:697px; width:100px; height:19px; ">
  226. <choices>
  227. <itemset nodeset="/root/init/orddrid/orddridlist">
  228. <label ref="nm"/>
  229. <value ref="cd"/>
  230. </itemset>
  231. </choices>
  232. </select1>
  233. <input id="input1" ref="/root/send/orddesc/pid" disabled="true" style="left:15px; top:555px; width:55px; height:19px; "/>
  234. <input id="input2" ref="/root/send/orddesc/orddd" disabled="true" style="left:75px; top:555px; width:80px; height:19px; "/>
  235. <input id="input3" ref="/root/send/orddesc/cretno" disabled="true" style="left:160px; top:555px; width:50px; height:19px; "/>
  236. <caption id="caption1" class="cell_1" style="left:15px; top:533px; width:55px; height:20px; ">pid</caption>
  237. <caption id="caption2" class="cell_1" style="left:75px; top:533px; width:80px; height:20px; ">orddd(indd)</caption>
  238. <caption id="caption3" class="cell_1" style="left:160px; top:533px; width:50px; height:20px; ">cretno</caption>
  239. <caption id="caption4" class="cell_1" style="left:790px; top:533px; width:80px; height:20px; ">calcseqno</caption>
  240. <button id="button2" class="btn4_letter4" style="left:870px; top:695px; width:80px; height:22px; ">
  241. <caption>슬립적용</caption>
  242. <script type="javascript" ev:event="DOMActivate">
  243. <![CDATA[
  244. // 사용자 확인
  245. var userId = getUserId();
  246. if (userId != 'PAM' && userId != '09166' && userId != '93899' && userId != '10258') {
  247. messageBox("업무처리중 오류가 발생하였습니다. \r\n", "C000");
  248. return;
  249. }
  250. if (isNull(model.getValue("/root/send/orddesc/pid"))) {
  251. messageBox("처방이 선택되지 않았습니다.", "C000");
  252. return;
  253. }
  254. if (isNull(model.getValue("/root/send/chgdesc/orddrid"))
  255. && isNull(model.getValue("/root/send/chgdesc/readdrid"))
  256. && isNull(model.getValue("/root/send/chgdesc/execrid"))) {
  257. messageBox("진료의 또는 판독의 또는 실시의가 선택되지 않았습니다.", "C000");
  258. return;
  259. }
  260. if (submit("TXPMB02511")) {
  261. messageBox("정상적으로 처리되었습니다.", "I000");
  262. }
  263. ]]>
  264. </script>
  265. </button>
  266. <input id="input5" ref="/root/send/orddesc/calcseqno" disabled="true" style="left:790px; top:555px; width:80px; height:19px; "/>
  267. <caption id="caption6" style="left:180px; top:675px; width:100px; height:20px; background-color:#b7cfff; ">진료의사</caption>
  268. <caption id="caption5" class="cell_1" style="left:875px; top:533px; width:100px; height:20px; ">cslcscorseqno</caption>
  269. <input id="input4" ref="/root/send/orddesc/calcscorseqno" disabled="true" style="left:875px; top:555px; width:100px; height:19px; "/>
  270. <caption id="caption8" class="cell_1" style="left:15px; top:605px; width:100px; height:20px; ">진료의사</caption>
  271. <input id="input6" ref="/root/send/orddesc/orddrnm" disabled="true" style="left:15px; top:627px; width:100px; height:19px; "/>
  272. <caption id="caption9" style="left:15px; top:585px; width:184px; height:20px; ">[대상자자료(복사본) 의사정보]</caption>
  273. <caption id="caption7" style="left:15px; top:675px; width:160px; height:20px; background-color:#b7cfff; ">진료의사부서</caption>
  274. <caption id="caption10" style="left:350px; top:585px; width:100px; height:20px; ">[현재자료(원본)]</caption>
  275. <caption id="caption11" class="cell_2" style="left:350px; top:605px; width:100px; height:20px; ">진료의사</caption>
  276. <input id="input7" ref="/root/send/orddesc/orgorddrnm" disabled="true" style="left:350px; top:627px; width:100px; height:19px; "/>
  277. <input id="input8" ref="/root/send/orddesc/orgreaddrnm" disabled="true" style="left:455px; top:627px; width:100px; height:19px; "/>
  278. <caption id="caption12" class="cell_2" style="left:455px; top:605px; width:100px; height:20px; ">판독의사</caption>
  279. <input id="input9" ref="/root/send/orddesc/orgexecrnm" disabled="true" style="left:560px; top:627px; width:100px; height:19px; "/>
  280. <caption id="caption13" class="cell_2" style="left:560px; top:605px; width:100px; height:20px; ">실시의사</caption>
  281. <select1 id="cmb_readdrid" ref="/root/send/chgdesc/readdrid" appearance="minimal" style="left:470px; top:697px; width:100px; height:19px; ">
  282. <choices>
  283. <itemset nodeset="/root/init/orddrid/orddridlist">
  284. <label ref="nm"/>
  285. <value ref="cd"/>
  286. </itemset>
  287. </choices>
  288. </select1>
  289. <select1 id="cmb_readdeptcd" ref="/root/send/chgdesc/readdeptcd" appearance="minimal" style="left:305px; top:697px; width:160px; height:19px; ">
  290. <choices>
  291. <itemset nodeset="/root/init/orddeptcd/orddeptcdlist">
  292. <label ref="nm"/>
  293. <value ref="cd"/>
  294. </itemset>
  295. </choices>
  296. <script type="javascript" ev:event="xforms-value-changed">
  297. <![CDATA[
  298. if (isNull(model.getValue("/root/send/chgdesc/readdeptcd"))) {
  299. cmb_readdrid.choices.itemset.attribute("nodeset") = "/root/init/orddrid/orddridlist";
  300. } else {
  301. cmb_readdrid.choices.itemset.attribute("nodeset") = "/root/init/orddrid/orddridlist[dp = '" + cmb_readdeptcd.value + "']";
  302. }
  303. model.setValue("/root/send/chgdesc/readdrid", "");
  304. cmb_readdrid.refresh();
  305. ]]>
  306. </script>
  307. </select1>
  308. <caption id="caption14" style="left:470px; top:675px; width:100px; height:20px; background-color:#b7cfff; ">판독의사</caption>
  309. <caption id="caption15" style="left:305px; top:675px; width:160px; height:20px; background-color:#b7cfff; ">판독의사부서</caption>
  310. <select1 id="cmb_execrid" ref="/root/send/chgdesc/execrid" appearance="minimal" style="left:760px; top:697px; width:100px; height:19px; ">
  311. <choices>
  312. <itemset nodeset="/root/init/orddrid/orddridlist">
  313. <label ref="nm"/>
  314. <value ref="cd"/>
  315. </itemset>
  316. </choices>
  317. </select1>
  318. <select1 id="cmb_execdeptcd" ref="/root/send/chgdesc/execdeptcd" appearance="minimal" style="left:595px; top:697px; width:160px; height:19px; ">
  319. <choices>
  320. <itemset nodeset="/root/init/orddeptcd/orddeptcdlist">
  321. <label ref="nm"/>
  322. <value ref="cd"/>
  323. </itemset>
  324. </choices>
  325. <script type="javascript" ev:event="xforms-value-changed">
  326. <![CDATA[
  327. if (isNull(model.getValue("/root/send/chgdesc/execdeptcd"))) {
  328. cmb_execrid.choices.itemset.attribute("nodeset") = "/root/init/orddrid/orddridlist";
  329. } else {
  330. cmb_execrid.choices.itemset.attribute("nodeset") = "/root/init/orddrid/orddridlist[dp = '" + cmb_execdeptcd.value + "']";
  331. }
  332. model.setValue("/root/send/chgdesc/execrid", "");
  333. cmb_execrid.refresh();
  334. ]]>
  335. </script>
  336. </select1>
  337. <caption id="caption16" style="left:760px; top:675px; width:100px; height:20px; background-color:#b7cfff; ">실시의사</caption>
  338. <caption id="caption17" style="left:595px; top:675px; width:160px; height:20px; background-color:#b7cfff; ">실시의사부서</caption>
  339. <caption id="caption18" style="left:15px; top:655px; width:276px; height:20px; ">[슬립 수정내용(원본에 적용)]</caption>
  340. <caption id="caption19" style="left:950px; top:510px; width:80px; height:20px; ">데이터 건수 :</caption>
  341. <caption id="caption20" format="#,###" style="left:980px; top:510px; width:100px; height:20px; text-align:right; ">0</caption>
  342. <caption id="caption21" class="cell_1" style="left:120px; top:605px; width:100px; height:20px; ">판독의사</caption>
  343. <input id="input10" ref="/root/send/orddesc/readdrnm" disabled="true" style="left:120px; top:627px; width:100px; height:19px; "/>
  344. <input id="input11" ref="/root/send/orddesc/execrnm" disabled="true" style="left:225px; top:627px; width:100px; height:19px; "/>
  345. <caption id="caption22" class="cell_1" style="left:225px; top:605px; width:100px; height:20px; ">실시의사</caption>
  346. <input id="input12" ref="/root/send/fromdd" navindex="4" inputtype="date" style="left:710px; top:24px; width:100px; height:19px; "/>
  347. <input id="input13" ref="/root/send/todd" navindex="5" inputtype="date" style="left:830px; top:24px; width:100px; height:19px; ">
  348. <script type="javascript" ev:event="onkeypress">
  349. <![CDATA[
  350. if(event.keyCode == "13") {
  351. setInputNodeCurText();
  352. button1.dispatch("onkeypress");
  353. }
  354. ]]>
  355. </script>
  356. </input>
  357. <caption id="caption23" style="left:810px; top:27px; width:20px; height:15px; text-align:center; ">~</caption>
  358. <select1 id="radio2" ref="/root/send/holiflag" navindex="1" appearance="full" cols="2" overflow="visible" style="left:95px; top:24px; width:170px; height:20px; border-style:none; ">
  359. <choices>
  360. <item>
  361. <label>휴진데이터</label>
  362. <value>Y</value>
  363. </item>
  364. <item>
  365. <label>일반데이터</label>
  366. <value>N</value>
  367. </item>
  368. </choices>
  369. </select1>
  370. <caption id="caption24" class="search_name" style="left:625px; top:25px; width:85px; height:17px; ">진료일자</caption>
  371. <caption id="caption25" class="search_name" style="left:30px; top:25px; width:55px; height:17px; ">기간</caption>
  372. <caption id="caption26" class="search_name" style="left:415px; top:25px; width:76px; height:17px; ">환자번호</caption>
  373. <input id="input14" ref="/root/send/pid" navindex="3" style="left:500px; top:24px; width:100px; height:19px; ">
  374. <script type="javascript" ev:event="onkeypress">
  375. <![CDATA[
  376. if(event.keyCode == "13") {
  377. setInputNodeCurText();
  378. button1.dispatch("onkeypress");
  379. }
  380. ]]>
  381. </script>
  382. </input>
  383. <select1 id="cmb_specdeptcd" ref="/root/send/chgdesc/specdeptcd" appearance="minimal" style="left:15px; top:767px; width:160px; height:19px; ">
  384. <choices>
  385. <itemset nodeset="/root/init/orddeptcd/orddeptcdlist">
  386. <label ref="nm"/>
  387. <value ref="cd"/>
  388. </itemset>
  389. </choices>
  390. <script type="javascript" ev:event="xforms-value-changed">
  391. <![CDATA[
  392. if (isNull(model.getValue("/root/send/chgdesc/specdeptcd"))) {
  393. cmb_specdrid.choices.itemset.attribute("nodeset") = "/root/init/orddrid/orddridlist";
  394. } else {
  395. cmb_specdrid.choices.itemset.attribute("nodeset") = "/root/init/orddrid/orddridlist[dp = '" + cmb_specdeptcd.value + "']";
  396. }
  397. model.setValue("/root/send/chgdesc/specdrid", "");
  398. cmb_specdrid.refresh();
  399. ]]>
  400. </script>
  401. </select1>
  402. <select1 id="cmb_specdrid" ref="/root/send/chgdesc/specdrid" appearance="minimal" style="left:180px; top:767px; width:100px; height:19px; ">
  403. <choices>
  404. <itemset nodeset="/root/init/orddrid/orddridlist">
  405. <label ref="nm"/>
  406. <value ref="cd"/>
  407. </itemset>
  408. </choices>
  409. </select1>
  410. <caption id="caption27" style="left:15px; top:745px; width:160px; height:20px; background-color:#b1b1fc; ">특진의사부서</caption>
  411. <caption id="caption28" style="left:180px; top:745px; width:100px; height:20px; background-color:#bebefc; ">특진의사</caption>
  412. <caption id="caption29" style="left:15px; top:725px; width:260px; height:20px; ">[처방 수정내용(원본에 적용)]</caption>
  413. <button id="button3" class="btn4_letter4" style="left:290px; top:765px; width:80px; height:22px; ">
  414. <caption>처방적용</caption>
  415. <script type="javascript" ev:event="DOMActivate">
  416. <![CDATA[
  417. // 사용자 확인
  418. var userId = getUserId();
  419. if (userId != 'PAM' && userId != '09166' && userId != '93899' && userId != '10258') {
  420. messageBox("업무처리중 오류가 발생하였습니다. \r\n", "C000");
  421. return;
  422. }
  423. if (isNull(model.getValue("/root/send/orddesc/pid"))) {
  424. messageBox("처방이 선택되지 않았습니다.", "C000");
  425. return;
  426. }
  427. if (isNull(model.getValue("/root/send/chgdesc/specdrid"))) {
  428. messageBox("선택진료의가 선택되지 않았습니다.", "C000");
  429. return;
  430. }
  431. if (submit("TXPMB02512")) {
  432. messageBox("정상적으로 처리되었습니다.", "I000");
  433. }
  434. ]]>
  435. </script>
  436. </button>
  437. <caption id="caption30" class="cell_1" style="left:215px; top:533px; width:100px; height:20px; ">prcpdd</caption>
  438. <input id="input15" ref="/root/send/orddesc/prcpdd" disabled="true" style="left:215px; top:555px; width:100px; height:19px; "/>
  439. <caption id="caption31" class="cell_1" style="left:320px; top:533px; width:100px; height:20px; ">prcpno</caption>
  440. <input id="input16" ref="/root/send/orddesc/prcpno" disabled="true" style="left:320px; top:555px; width:100px; height:19px; "/>
  441. <caption id="caption32" class="cell_1" style="left:425px; top:533px; width:100px; height:20px; ">prcphistno</caption>
  442. <input id="input17" ref="/root/send/orddesc/prcphistno" disabled="true" style="left:425px; top:555px; width:100px; height:19px; "/>
  443. <caption id="caption33" style="left:15px; top:515px; width:202px; height:20px; ">[대상자자료(복사본) 처방/슬립정보]</caption>
  444. <caption id="caption34" class="cell_1" style="left:530px; top:533px; width:125px; height:20px; ">execprcpuniqno</caption>
  445. <input id="input18" ref="/root/send/orddesc/execprcpuniqno" disabled="true" style="left:530px; top:555px; width:125px; height:19px; "/>
  446. <caption id="caption35" class="cell_1" style="left:660px; top:533px; width:125px; height:20px; ">snglcalcscorcd</caption>
  447. <input id="input19" ref="/root/send/orddesc/snglcalcscorcd" disabled="true" style="left:660px; top:555px; width:125px; height:19px; "/>
  448. </xhtml:body>
  449. </xhtml:html>