SPMNW01300_퇴원약조회퇴원후외래처방조회.xrw 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  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. <drugdschinfo>
  11. <drugdschlist>
  12. <prcpcd/>
  13. <prcpnm/>
  14. <prcpvol/>
  15. <prcpvolunitflag/>
  16. <prcpqty/>
  17. <prcpqtyunitflag/>
  18. <prcptims/>
  19. <prcpdayno/>
  20. <payflagcd/>
  21. </drugdschlist>
  22. <excudschlist>
  23. <prcpcd/>
  24. <prcpnm/>
  25. <prcpvol/>
  26. <prcpvolunitflag/>
  27. <prcpqty/>
  28. <prcpqtyunitflag/>
  29. <prcptims/>
  30. <prcpdayno/>
  31. <payflagcd/>
  32. <prcphopedd/>
  33. </excudschlist>
  34. <inexcudschlist>
  35. <prcpcd/>
  36. <prcpkindcd/>
  37. <prcpnm/>
  38. <prcpvol/>
  39. <prcpvolunitflag/>
  40. <prcpqty/>
  41. <prcpqtyunitflag/>
  42. <prcptims/>
  43. <prcpdayno/>
  44. <payflagcd/>
  45. <prcphopedd/>
  46. </inexcudschlist>
  47. </drugdschinfo>
  48. </main>
  49. <send>
  50. <dschdclrdt/>
  51. <pid/>
  52. <orddd/>
  53. </send>
  54. <target>
  55. <pidinfo>
  56. <dschdclrdt/>
  57. <pid/>
  58. <orddd/>
  59. <hngnm/>
  60. </pidinfo>
  61. </target>
  62. </root>
  63. </instance>
  64. <script type="javascript" ev:event="xforms-ready">
  65. <![CDATA[
  66. model.removeNodeset("/root/main/drugdschinfo"); // 퇴원약 그리드 초기화
  67. model.removeNodeset("/root/main/drugdschinfo"); // 퇴원 후 외래 검사처방 그리드 초기화
  68. model.removeNodeset("/root/main/drugdschinfo"); // 입원전 검사처방 그리드 초기화
  69. grd_drugdschlist.refresh();
  70. grd_excudschlist.refresh();
  71. grd_inexcudschlist.refresh();
  72. if (model.getvalue("/root/target/pidinfo/pid") != "") {
  73. model.removeNodeset("/root/send");
  74. model.makeValue("/root/send/pid" , model.getValue("/root/target/pidinfo/pid" ));
  75. model.makeValue("/root/send/dschdclrdt", model.getValue("/root/target/pidinfo/dschdclrdt"));
  76. model.makeValue("/root/send/orddd" , model.getValue("/root/target/pidinfo/orddd" ));
  77. model.makeValue("/root/send/cretno" , model.getValue("/root/target/pidinfo/cretno" ));
  78. model.makeValue("/root/send/wardcd" , model.getValue("/root/target/pidinfo/wardcd" ));
  79. submit("TRMNW01301");
  80. } else {
  81. messageBox("선택된 환자가 없습니다.", "E");
  82. }
  83. ]]>
  84. </script>
  85. <submission id="TRMNW01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/drugdschinfo"/>
  86. </model>
  87. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  88. </xhtml:head>
  89. <xhtml:body pagewidth="980" pageheight="750" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  90. <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:960px; height:735px; ">
  91. <button id="btn_excudsch" class="btn2_letter6" style="left:859px; top:263px; width:86px; height:19px; ">
  92. <caption>ZOOM IN</caption>
  93. <script type="javascript" ev:event="DOMActivate">
  94. <![CDATA[
  95. if(btn_excudsch.attribute("text") == "ZOOM IN"){
  96. btn_drugdsch.attribute("text") = "ZOOM OUT"
  97. grd_excudschlist.attribute("left") = "5";
  98. grd_excudschlist.attribute("height") = "675";
  99. grd_excudschlist.attribute("top") = "55";
  100. cpt_zoomtitle.attribute("text") = "퇴원후 외래 검사처방";
  101. grd_drugdschlist.attribute("width") = "0";
  102. grd_drugdschlist.attribute("height") = "0";
  103. grd_inexcudschlist.attribute("width") = "0";
  104. grd_inexcudschlist.attribute("height") = "0";
  105. }
  106. model.refresh();
  107. ]]>
  108. </script>
  109. </button>
  110. <button id="btn_inexcudsch" class="btn2_letter6" style="left:859px; top:498px; width:86px; height:19px; ">
  111. <caption>ZOOM IN</caption>
  112. <script type="javascript" ev:event="DOMActivate">
  113. <![CDATA[
  114. if(btn_inexcudsch.attribute("text") == "ZOOM IN"){
  115. btn_drugdsch.attribute("text") = "ZOOM OUT"
  116. grd_inexcudschlist.attribute("left") = "5";
  117. grd_inexcudschlist.attribute("height") = "675";
  118. grd_inexcudschlist.attribute("top") = "55";
  119. cpt_zoomtitle.attribute("text") = "입원전 검사처방";
  120. grd_drugdschlist.attribute("width") = "0";
  121. grd_drugdschlist.attribute("height") = "0";
  122. grd_excudschlist.attribute("width") = "0";
  123. grd_excudschlist.attribute("height") = "0";
  124. }
  125. model.refresh();
  126. ]]>
  127. </script>
  128. </button>
  129. <line id="line3" class="line_1" style="x1:5px; y1:520px; x2:945px; y2:520px; "/>
  130. <line id="line2" class="line_1" style="x1:5px; y1:285px; x2:945px; y2:285px; "/>
  131. <caption id="caption3" class="tit_2" style="left:10px; top:505px; width:113px; height:13px; ">입원전 검사처방</caption>
  132. <caption id="caption2" class="tit_2" style="left:10px; top:270px; width:144px; height:14px; ">퇴원후 외래 처방</caption>
  133. <caption id="cpt_zoomtitle" class="tit_2" style="left:10px; top:35px; width:205px; height:13px; ">퇴원약</caption>
  134. <line id="line1" class="line_1" style="x1:5px; y1:50px; x2:945px; y2:50px; "/>
  135. <output id="out_pid" ref="/root/target/pidinfo/pid" class="output_fix" style="left:67px; top:5px; width:85px; height:19px; text-align:right; "/>
  136. <caption id="caption20" class="cell_1" style="left:5px; top:3px; width:60px; height:23px; text-align:center; vertical-align:middle; ">등록번호</caption>
  137. <caption id="caption21" class="cell_1" style="left:155px; top:3px; width:60px; height:23px; text-align:center; vertical-align:middle; ">환자명</caption>
  138. <output id="out_hnnm" ref="/root/target/pidinfo/hngnm" class="output_fix" style="left:217px; top:5px; width:85px; height:19px; text-align:center; "/>
  139. <line id="line4" class="line_1" style="x1:5px; y1:0px; x2:303px; y2:0px; "/>
  140. <line id="line5" class="line_3" style="x1:5px; y1:25px; x2:303px; y2:25px; "/>
  141. <button id="btn_drugdsch" class="btn2_letter6" style="left:859px; top:28px; width:86px; height:19px; ">
  142. <caption>ZOOM IN</caption>
  143. <script type="javascript" ev:event="DOMActivate">
  144. <![CDATA[
  145. if(btn_drugdsch.attribute("text") == "ZOOM IN"){
  146. btn_drugdsch.attribute("text") = "ZOOM OUT"
  147. grd_drugdschlist.attribute("top") = "55";
  148. grd_drugdschlist.attribute("height") = "675";
  149. cpt_zoomtitle.attribute("text") = "퇴원약";
  150. grd_excudschlist.attribute("width") = "0";
  151. grd_excudschlist.attribute("height") = "0";
  152. grd_inexcudschlist.attribute("width") = "0";
  153. grd_inexcudschlist.attribute("height") = "0";
  154. } else{
  155. btn_drugdsch.attribute("text") = "ZOOM IN"
  156. cpt_zoomtitle.attribute("text") = "퇴원약"
  157. grd_drugdschlist.attribute("top") = "55"; // 퇴원약
  158. grd_drugdschlist.attribute("width") = "940";
  159. grd_drugdschlist.attribute("height") = "205";
  160. grd_excudschlist.attribute("top") = "290"; // 퇴원후 외래 검사처방
  161. grd_excudschlist.attribute("width") = "940";
  162. grd_excudschlist.attribute("height") = "205";
  163. grd_inexcudschlist.attribute("top") = "525"; // 입원전 검사처방
  164. grd_inexcudschlist.attribute("width") = "940";
  165. grd_inexcudschlist.attribute("height") = "205";
  166. }
  167. model.refresh();
  168. ]]>
  169. </script>
  170. </button>
  171. <datagrid id="grd_drugdschlist" nodeset="/root/main/drugdschinfo/drugdschlist" scroll="autovscroll" autoresize="true" caption="처방코드^처방명[* : 혼동주의/고위험 약제]^용량^용량^수량^수량^횟수^일수^급^처방상태^약국집계상태" colsep="^" colwidth="114, 283, 64, 50, 63, 50, 51, 50, 30, 70, 80" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:5px; top:55px; width:940px; height:205px; ">
  172. <col ref="prcpcd"/>
  173. <col ref="prcpnm"/>
  174. <col ref="prcpvol" style="text-align:right; "/>
  175. <col ref="prcpvolunitflag"/>
  176. <col ref="prcpqty" style="text-align:right; "/>
  177. <col ref="prcpqtyunitflag"/>
  178. <col ref="prcptims" style="text-align:center; "/>
  179. <col ref="prcpdayno" style="text-align:center; "/>
  180. <col ref="payflagcd" style="text-align:center; "/>
  181. <col ref="prcpstatcd" style="text-align:center; "/>
  182. <col ref="drugstat" style="text-align:center; "/>
  183. </datagrid>
  184. <datagrid id="grd_inexcudschlist" nodeset="/root/main/drugdschinfo/inexcudschlist" autoresize="true" caption="처방코드^구분^처방명^용량^용량^수량^수량^횟수^일수^급^의사희망일" colsep="^" colwidth="100, 104, 257, 30, 30, 30, 30, 31, 31, 30, 82" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:5px; top:525px; width:940px; height:205px; ">
  185. <col ref="prcpcd" style="left:20px; top:23px; width:90px; height:23px; "/>
  186. <col ref="prcpkindcd" style="left:120px; top:23px; width:94px; height:23px; "/>
  187. <col ref="prcpnm" style="left:224px; top:23px; width:230px; height:23px; "/>
  188. <col ref="prcpvol" style="left:464px; top:23px; width:20px; height:23px; text-align:right; "/>
  189. <col ref="prcpvolunitflag" style="left:494px; top:23px; width:20px; height:23px; "/>
  190. <col ref="prcpqty" style="left:524px; top:23px; width:20px; height:23px; text-align:right; "/>
  191. <col ref="prcpqtyunitflag" style="left:554px; top:23px; width:20px; height:23px; "/>
  192. <col ref="prcptims" style="left:584px; top:23px; width:23px; height:23px; text-align:center; "/>
  193. <col ref="prcpdayno" style="left:617px; top:23px; width:23px; height:23px; text-align:center; "/>
  194. <col ref="payflagcd" style="left:650px; top:23px; width:33px; height:23px; text-align:center; "/>
  195. <col ref="prcphopedd" format="yyyy-mm-dd" style="left:693px; top:23px; width:72px; height:23px; text-align:center; "/>
  196. </datagrid>
  197. <datagrid id="grd_excudschlist" nodeset="/root/main/drugdschinfo/excudschlist" autoresize="true" caption="처방코드^처방명^용량^용량^수량^수량^횟수^일수^급^의사희망일" colsep="^" colwidth="113, 252, 52, 35, 52, 35, 50, 51, 30, 85" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:5px; top:290px; width:940px; height:205px; ">
  198. <col ref="prcpcd"/>
  199. <col ref="prcpnm"/>
  200. <col ref="prcpvol" style="text-align:right; "/>
  201. <col ref="prcpvolunitflag"/>
  202. <col ref="prcpqty" style="text-align:right; "/>
  203. <col ref="prcpqtyunitflag"/>
  204. <col ref="prcptims" style="text-align:center; "/>
  205. <col ref="prcpdayno" style="text-align:center; "/>
  206. <col ref="payflagcd" style="text-align:center; "/>
  207. <col ref="prcphopedd" format="yyyy-mm-dd" style="text-align:center; "/>
  208. </datagrid>
  209. </group>
  210. </xhtml:body>
  211. </xhtml:html>