SMPIJ01700_입원기간중외래미실행오더조회.xrw 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  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>입원기간중 외래미실행 오더조회(SMPIJ01700)</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <send>
  10. <pid/>
  11. <patnm/>
  12. <insukind/>
  13. <fromdd/>
  14. <todd/>
  15. <chkflag/>
  16. </send>
  17. <main>
  18. <list01>
  19. <gridexopmech/>
  20. </list01>
  21. <patinfo>
  22. <patinfolist/>
  23. </patinfo>
  24. <popup1>
  25. <gridpatinfo>
  26. <patnm/>
  27. <insukind/>
  28. <orddeptcd/>
  29. <indd/>
  30. <dschdd/>
  31. </gridpatinfo>
  32. </popup1>
  33. </main>
  34. <init>
  35. <P0008list>
  36. <P0008/>
  37. </P0008list>
  38. </init>
  39. <hidden>
  40. <sppmc02500>
  41. <cond>
  42. <!-- SPPMC02500_환자조회 화면으로 검색조건을 보내는 경로임 -->
  43. <srchcond/>
  44. <pid/>
  45. <hngnm/>
  46. <rrgstno1/>
  47. <rrgstno2/>
  48. </cond>
  49. </sppmc02500>
  50. </hidden>
  51. </root>
  52. </instance>
  53. <script type="javascript" ev:event="xforms-ready">
  54. <![CDATA[
  55. // 공통코드를 조회한다.
  56. // (ZBC001.js) com.ZBCMCODE에서 기초코드 값을 가져와서 Combo 컨트롤 item으로 설정하기 위해 사용한다.
  57. zbcfGetCodeList(new Array("P0008" ), new Array("/root/init/P0008list") );
  58. grp_patinfo.visible = false;
  59. model.removeNodeset("/root/main/list01");
  60. if (checkOpener()) {
  61. var pid = model.getValue("/root/send/pid");
  62. if (pid != "") {
  63. var controlObj = document.controls("btn_search");
  64. controlObj.dispatch("onclick");
  65. }
  66. }
  67. model.refresh();
  68. ]]>
  69. </script>
  70. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  71. <submission id="TRPIJ01701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/popup1"/>
  72. <submission id="TRPIJ01702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list01"/>
  73. </model>
  74. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  75. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  76. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  77. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  78. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  79. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  80. </xhtml:head>
  81. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  82. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  83. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:269px; height:14px; ">입원기간중외래미실행오더조회</caption>
  84. </group>
  85. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:771px; ">
  86. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  87. <button id="btn_search" class="btn1_letter2" style="left:1121px; top:17px; width:56px; height:22px; ">
  88. <caption>조회</caption>
  89. <script type="javascript" ev:event="onclick">
  90. <![CDATA[
  91. model.removeNodeset("/root/main/list01");
  92. submit("TRPIJ01702");
  93. model.refresh()
  94. ]]>
  95. </script>
  96. </button>
  97. <line id="line13" style="x1:1105px; y1:17px; x2:1105px; y2:39px; border-color:#ffe4bb; border-left-style:solid; "/>
  98. <datagrid id="grd_exopmech" nodeset="/root/main/list01/gridexopmech" caption="환자번호^처방코드^처방명^수가명(한글명)^진료과^수납일자^처방일자^실시일자" colsep="^" colwidth="82, 94, 340, 210, 80, 87, 87, 87" dataheight="25" defaultrows="0" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:75px; width:1194px; height:696px; ">
  99. <col ref="pid" style="text-align:center; "/>
  100. <col ref="prcpcd" style="text-align:center; "/>
  101. <col ref="prcpnm"/>
  102. <col ref="hngnm"/>
  103. <col ref="orddeptnm" style="text-align:center; "/>
  104. <col ref="rcptdd" format="yyyy-mm-dd" style="text-align:center; "/>
  105. <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
  106. <col ref="execdate" style="text-align:center; "/>
  107. </datagrid>
  108. <caption id="caption3" class="tit_2" style="left:6px; top:55px; width:212px; height:14px; ">입원기간중외래미실행오더</caption>
  109. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
  110. <caption id="caption1" class="search_name" style="left:15px; top:19px; width:86px; height:17px; ">환자번호 :</caption>
  111. <input id="ipt_pid" ref="/root/send/pid" class="input_search" inputtype="button" style="left:104px; top:18px; width:75px; height:19px; ">
  112. <script type="javascript" ev:event="onbuttonclick">
  113. <![CDATA[
  114. if (ipt_pid.value) {
  115. model.setValue("/root/hidden/sppmc02500/cond/srchcond", "1"); // 검색조건 : 등록번호로 설정
  116. model.setValue("/root/hidden/sppmc02500/cond/pid", ipt_pid.value);
  117. } else {
  118. model.resetInstanceNode("/root/hidden/sppmc02500/cond");
  119. }
  120. modal("SPPMC02500", 1,150, 150, "SPPMC02500", "/root/hidden/sppmc02500/cond", "/root/send", "", "");
  121. var srch_pid = model.getValue("/root/main/patinfo/patinfolist/pid");
  122. ipt_pid.value = model.getValue("/root/main/patinfo/patinfolist/pid");
  123. opt_patnm.value = model.getValue("/root/main/patinfo/patinfolist/hngnm");
  124. submit("TRPIJ01701");
  125. grp_patinfo.visible = true;
  126. model.refresh();
  127. ]]>
  128. </script>
  129. </input>
  130. <output id="opt_patnm" ref="/root/send/patnm" class="output_fix" style="left:183px; top:18px; width:80px; height:19px; "/>
  131. <caption id="caption2" class="search_name" style="left:304px; top:19px; width:93px; height:17px; ">보험유형 :</caption>
  132. <select1 id="cmb_insukind" ref="/root/send/insukind" class="combo_search" disabled="true" navindex="1" appearance="minimal" style="left:393px; top:18px; width:100px; height:19px; ">
  133. <choices>
  134. <itemset nodeset="/root/init/P0008list/P0008">
  135. <label ref="cdnm"/>
  136. <value ref="cdid"/>
  137. </itemset>
  138. </choices>
  139. </select1>
  140. <caption id="caption4" class="search_name" style="left:519px; top:19px; width:93px; height:17px; ">입원기간 :</caption>
  141. <caption id="caption5" style="left:699px; top:22px; width:15px; height:15px; ">~</caption>
  142. <button id="button3" class="btn2_letter4" style="left:1130px; top:49px; width:64px; height:19px; ">
  143. <caption>엑셀저장</caption>
  144. </button>
  145. <input id="ipt_indd" ref="/root/send/fromdd" class="input_search" inputtype="date" style="left:608px; top:18px; width:87px; height:19px; "/>
  146. <input id="ipt_dschdd" ref="/root/send/todd" class="input_search" inputtype="date" style="left:720px; top:18px; width:85px; height:19px; "/>
  147. <select1 id="chkflag" ref="/root/send/chkflag" overflow="visible" appearance="full" cols="3" rows="1" style="left:830px; top:20px; width:205px; height:16px; border-style:none; ">
  148. <choices>
  149. <item>
  150. <label>외래검사</label>
  151. <value>1</value>
  152. </item>
  153. <item>
  154. <label>미실행검사</label>
  155. <value>2</value>
  156. </item>
  157. <item>
  158. <label>MRI</label>
  159. <value>3</value>
  160. </item>
  161. </choices>
  162. </select1>
  163. <button id="button27" class="icon_search" style="left:273px; top:19px; width:16px; height:16px; ">
  164. <caption/>
  165. <script type="javascript" ev:event="onclick">
  166. <![CDATA[
  167. if(ipt_pid.value == "") {
  168. messageBox("환자번호를","C001");
  169. model.setFocus("ipt_pid");
  170. return false;
  171. }
  172. submit("TRPIJ01701");
  173. grp_patinfo.visible = true;
  174. model.refresh();
  175. ]]>
  176. </script>
  177. </button>
  178. </group>
  179. <group id="grp_patinfo" visibility="hidden" style="left:285px; top:172px; width:512px; height:355px; border-color:#c7a3cf; border-style:solid; ">
  180. <caption id="cpt_detail" class="tit_2" style="left:5px; top:0px; width:118px; height:14px; ">환자정보</caption>
  181. <line id="line4" class="line_1" style="x1:0px; y1:15px; x2:510px; y2:15px; "/>
  182. <button id="btn_ok" class="btn4_letter2" style="left:391px; top:327px; width:56px; height:22px; ">
  183. <caption>확인</caption>
  184. <script type="javascript" ev:event="DOMActivate">
  185. <![CDATA[
  186. var row = grd_patinfo.row;
  187. //메모를 변경후 저장버튼을 클릭하며 변경된 메모 내역을 저장한다.
  188. cmb_insukind.value = grd_patinfo.valueMatrix(row,1);
  189. ipt_indd.value = grd_patinfo.valueMatrix(row,3);
  190. ipt_dschdd.value = grd_patinfo.valueMatrix(row,4);
  191. grp_patinfo.visible = false;
  192. ]]>
  193. </script>
  194. </button>
  195. <button id="btn_close" class="btn4_letter2" style="left:451px; top:327px; width:56px; height:22px; ">
  196. <caption>
  197. <![CDATA[닫기]]>
  198. </caption>
  199. <script type="javascript" ev:event="DOMActivate">
  200. <![CDATA[
  201. grp_patinfo.visible = false;
  202. ]]>
  203. </script>
  204. </button>
  205. <datagrid id="grd_patinfo" nodeset="/root/main/popup1/gridpatinfo" caption="환자명^보험유형^진료과^입원일자^퇴원일자" colsep="^" colwidth="100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:4px; top:24px; width:502px; height:295px; ">
  206. <col ref="patnm" style="text-align:center; "/>
  207. <col ref="insukind" type="combo" style="text-align:center; ">
  208. <choices>
  209. <itemset nodeset="/root/init/P0008list/P0008">
  210. <label ref="cdnm"/>
  211. <value ref="cdid"/>
  212. </itemset>
  213. </choices>
  214. </col>
  215. <col ref="orddeptcd" style="text-align:center; "/>
  216. <col ref="indd" style="text-align:center; "/>
  217. <col ref="dschdd" style="text-align:center; "/>
  218. <script type="javascript" ev:event="ondblclick">
  219. <![CDATA[
  220. var row = grd_patinfo.row;
  221. //메모를 변경후 저장버튼을 클릭하며 변경된 메모 내역을 저장한다.
  222. cmb_insukind.value = grd_patinfo.valueMatrix(row,1);
  223. ipt_indd.value = grd_patinfo.valueMatrix(row,3);
  224. ipt_dschdd.value = grd_patinfo.valueMatrix(row,4);
  225. grp_patinfo.visible = false;
  226. ]]>
  227. </script>
  228. </datagrid>
  229. </group>
  230. </xhtml:body>
  231. </xhtml:html>