SMPIJ04100_심사완료후처방변경현황.xrw 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  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. <list1>
  11. <gridchgpat/>
  12. </list1>
  13. <list2>
  14. <gridchgiscl/>
  15. </list2>
  16. </main>
  17. <send>
  18. <send_stat>
  19. <stat>A</stat>
  20. <fromdd/>
  21. <todd/>
  22. <pid/>
  23. </send_stat>
  24. <send_pid>
  25. <pid/>
  26. <indd/>
  27. <cretno/>
  28. <fromdd/>
  29. <todd/>
  30. <dschjudgprcsstat/>
  31. <judgdt/>
  32. </send_pid>
  33. </send>
  34. <hidden/>
  35. </root>
  36. </instance>
  37. <script type="javascript" ev:event="xforms-ready">
  38. <![CDATA[
  39. model.setValue("/root/send/send_stat/stat",'A');
  40. var dd = getCurrentDate();
  41. model.setValue("/root/send/send_stat/fromdd", (dd.toDate().getAddDate(-1, "D")).getDateFormat());
  42. model.setValue("/root/send/send_stat/todd", (dd.toDate().getAddDate(-1, "D")).getDateFormat());
  43. ipt_fromdd.disabled = true;
  44. ipt_todd.disabled = true;
  45. ]]>
  46. </script>
  47. <submission id="TRPIJ04100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_stat" resultref="/root/main/list1"/>
  48. <submission id="TRPIJ04101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_pid" resultref="/root/main/list2"/>
  49. </model>
  50. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  51. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  52. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  53. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  54. </xhtml:head>
  55. <xhtml:body pagewidth="1110" pageheight="780" guideline="1,1097;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  56. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:6px; width:1097px; height:44px; background-color:#fffbf2; border-color:#ffd799; "/>
  57. <caption id="caption5" class="search_name" style="left:498px; top:17px; width:86px; height:17px; ">등록번호 :</caption>
  58. <caption id="caption2" class="search_name" style="left:15px; top:17px; width:86px; height:17px; ">구분 :</caption>
  59. <caption id="caption3" class="tit_2" style="left:0px; top:59px; width:225px; height:21px; vertical-align:middle; ">심사 완료 후 처방변경 현황</caption>
  60. <line id="line1" class="line_1" style="x1:0px; y1:75px; x2:1097px; y2:75px; "/>
  61. <input id="ipt_pid" ref="/root/send/send_stat/pid" class="input_search" style="left:590px; top:20px; width:80px; height:19px; ">
  62. <script type="javascript" ev:event="onkeydown">
  63. <![CDATA[
  64. inputEnterKey("btn_srch", "DOMActivate");
  65. ]]>
  66. </script>
  67. </input>
  68. <caption id="caption4" style="left:294px; top:15px; width:15px; height:30px; ">~</caption>
  69. <caption id="caption6" class="tit_2" style="left:0px; top:235px; width:118px; height:13px; vertical-align:middle; ">처방 변경 내역</caption>
  70. <line id="line2" class="line_1" style="x1:0px; y1:250px; x2:1097px; y2:250px; "/>
  71. <button id="btn_srch" class="btn1_letter2" style="left:1002px; top:17px; width:56px; height:22px; ">
  72. <caption>조회</caption>
  73. <script type="javascript" ev:event="DOMActivate">
  74. <![CDATA[
  75. model.resetInstanceNode("/root/main/list2/gridchgiscl");
  76. model.refresh();
  77. submit ( "TRPIJ04100" , true);
  78. ]]>
  79. </script>
  80. </button>
  81. <select1 id="rdo_stat" ref="/root/send/send_stat/stat" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:80px; top:20px; width:130px; height:20px; border-style:none; ">
  82. <choices>
  83. <item>
  84. <label>재원</label>
  85. <value>A</value>
  86. </item>
  87. <item>
  88. <label>퇴원</label>
  89. <value>D</value>
  90. </item>
  91. </choices>
  92. <script type="javascript" ev:event="xforms-select">
  93. <![CDATA[
  94. if (rdo_stat.value == "A") {
  95. ipt_fromdd.disabled = true;
  96. ipt_todd.disabled = true;
  97. }
  98. else if (rdo_stat.value == "D") {
  99. ipt_fromdd.disabled = false;
  100. ipt_todd.disabled = false;
  101. var dd = getCurrentDate();
  102. model.setValue("/root/send/send_stat/fromdd", (dd.toDate().getAddDate(-1, "D")).getDateFormat());
  103. model.setValue("/root/send/send_stat/todd", (dd.toDate().getAddDate(-1, "D")).getDateFormat());
  104. model.setFocus("ipt_fromdd");
  105. }
  106. ]]>
  107. </script>
  108. </select1>
  109. <input id="ipt_fromdd" ref="/root/send/send_stat/fromdd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:200px; top:20px; width:90px; height:19px; "/>
  110. <input id="ipt_todd" ref="/root/send/send_stat/todd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:312px; top:20px; width:90px; height:19px; "/>
  111. <datagrid id="grd_chgpat" nodeset="/root/main/list1/gridchgpat" autosizemouse="true" caption="등록번호^환자명^입원일자^주^상태^퇴원일자^유형시작^유형종료^보험^보조^심사상태^심사자^최종심사자^심사완료일시^생성^최종 처방변경일^cretno" colsep="^" colwidth="71, 71, 80, 26, 48, 80, 80, 80, 34, 34, 70, 69, 69, 109, 34, 97, 50" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="byrow" tooltip="true" style="left:0px; top:79px; width:1097px; height:146px; ">
  112. <col ref="pid" style="text-align:center; "/>
  113. <col ref="patnm" style="text-align:center; "/>
  114. <col ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
  115. <col ref="mskind" style="text-align:center; "/>
  116. <col ref="indschstat" style="text-align:center; "/>
  117. <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
  118. <col ref="fromdd" format="yyyy-mm-dd" style="text-align:center; "/>
  119. <col ref="todd" format="yyyy-mm-dd" style="text-align:center; "/>
  120. <col ref="insukind" style="text-align:center; "/>
  121. <col ref="suppkind" style="text-align:center; "/>
  122. <col disabled="true" ref="dschjudgprcsstat" type="combo" style="text-align:center; ">
  123. <choices>
  124. <item>
  125. <label>미심</label>
  126. <value>A</value>
  127. </item>
  128. <item>
  129. <label>심사중</label>
  130. <value>B</value>
  131. </item>
  132. <item>
  133. <label>완료</label>
  134. <value>C</value>
  135. </item>
  136. <item>
  137. <label>통합</label>
  138. <value>E</value>
  139. </item>
  140. <item>
  141. <label>예고</label>
  142. <value>G</value>
  143. </item>
  144. </choices>
  145. </col>
  146. <col ref="judgmdlnm" style="text-align:center; "/>
  147. <col ref="lastjudgendnm" style="text-align:center; "/>
  148. <col ref="judgdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  149. <col ref="clamyn" style="text-align:center; "/>
  150. <col ref="judgchgdd" format="yyyy-mm-dd" style="text-align:center; "/>
  151. <col ref="cretno" visibility="hidden"/>
  152. <script type="javascript" ev:event="ondblclick">
  153. <![CDATA[
  154. var currow = grd_chgpat.row;
  155. model.setValue("/root/send/send_pid/pid", model.getValue("/root/main/list1/gridchgpat[" + currow + "]/pid"));
  156. model.setValue("/root/send/send_pid/indd", model.getValue("/root/main/list1/gridchgpat[" + currow + "]/indd"));
  157. model.setValue("/root/send/send_pid/cretno", model.getValue("/root/main/list1/gridchgpat[" + currow + "]/cretno"));
  158. model.setValue("/root/send/send_pid/fromdd", model.getValue("/root/main/list1/gridchgpat[" + currow + "]/fromdd"));
  159. model.setValue("/root/send/send_pid/todd", model.getValue("/root/main/list1/gridchgpat[" + currow + "]/todd"));
  160. model.setValue("/root/send/send_pid/dschjudgprcsstat", model.getValue("/root/main/list1/gridchgpat[" + currow + "]/dschjudgprcsstat"));
  161. model.setValue("/root/send/send_pid/judgdt", model.getValue("/root/main/list1/gridchgpat[" + currow + "]/judgdt"));
  162. model.refresh();
  163. submit ( "TRPIJ04101" , true);
  164. ]]>
  165. </script>
  166. </datagrid>
  167. <datagrid id="grd_chgiscl" nodeset="/root/main/list2/gridchgiscl" autosizemouse="true" caption="구분^상태^처방일자^그룹코드^수가코드^처방명^실시일자^실시&#xA;시간^처방^처방^처방^처방^계산^계산^계산^계산^금액|구분^상태^처방일자^그룹코드^수가코드^처방명^실시일자^실시&#xA;시간^1회량^횟수^일수^급비^1회량^횟수^일수^급비^금액" colsep="^" colwidth="50, 40, 73, 73, 73, 235, 73, 40, 40, 34, 34, 50, 40, 34, 34, 50, 71" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:255px; width:1097px; height:495px; ">
  168. <col ref="calcyn" style="text-align:center; "/>
  169. <col ref="calcstat" style="text-align:center; "/>
  170. <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
  171. <col ref="grupcalcscorcd"/>
  172. <col ref="snglcalcscorcd"/>
  173. <col ref="hngnm"/>
  174. <col ref="execdd" format="yyyy-mm-dd" style="text-align:center; "/>
  175. <col ref="exectm" format="hh:nn" style="text-align:center; "/>
  176. <col ref="ordqty" style="text-align:right; "/>
  177. <col ref="ordtims" style="text-align:right; "/>
  178. <col ref="orddays" style="text-align:right; "/>
  179. <col ref="prcppayflag" style="text-align:center; "/>
  180. <col ref="calcqty" style="text-align:right; "/>
  181. <col ref="calctims" style="text-align:right; "/>
  182. <col ref="calcdays" style="text-align:right; "/>
  183. <col ref="calcpayflag" style="text-align:center; "/>
  184. <col ref="amt" format="(-)#,###" style="text-align:right; "/>
  185. </datagrid>
  186. </xhtml:body>
  187. </xhtml:html>