SPPIJ02601_수기료계산.xrw 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  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. <temp/>
  10. <main>
  11. <list1/>
  12. <item11/>
  13. </main>
  14. <hidden/>
  15. <send>
  16. <pid/>
  17. <indd/>
  18. <cretno/>
  19. <ordfromdd/>
  20. <ordtodd/>
  21. <calckind>D</calckind>
  22. </send>
  23. </root>
  24. </instance>
  25. <script type="javascript" ev:event="xforms-ready">
  26. <![CDATA[
  27. submit("TRPIJ02601")
  28. setTree(datagrid1, 0, 0, true);
  29. model.makeValue("/root/send/calckind","D");
  30. radio1.refresh();
  31. ]]>
  32. </script>
  33. <script type="javascript">
  34. <![CDATA[
  35. ]]>
  36. </script>
  37. <submission id="TRPIJ02601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main"/>
  38. <submission id="TXPIJ03001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/item1/result"/>
  39. <submission id="TRPIJ00207" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/item11"/>
  40. </model>
  41. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  42. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  43. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  44. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  45. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  46. </xhtml:head>
  47. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  48. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  49. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:150px; height:15px; ">수기료계산</caption>
  50. </group>
  51. <group id="group3" style="left:0px; top:13px; width:1195px; height:762px; ">
  52. <group id="group2" style="left:0px; top:10px; width:1194px; height:50px; ">
  53. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
  54. <caption id="caption10" class="search_name" style="left:10px; top:12px; width:86px; height:17px; ">환자번호 :</caption>
  55. <input id="input4" ref="/root/send/pid" class="input_s_essential" disabled="true" dragmode="false" visibility="visible" imemode="hangul" style="left:100px; top:10px; width:120px; height:19px; ">
  56. <script type="javascript" ev:event="onkeypress">
  57. <![CDATA[
  58. if( event.keyCode == 13){
  59. setInputNodeCurText();
  60. }
  61. ]]>
  62. </script>
  63. </input>
  64. </group>
  65. <caption id="caption2" class="tit_2" style="left:5px; top:65px; width:300px; height:14px; font-family:돋움; vertical-align:middle; ">일당수기료 내역</caption>
  66. <line id="line1" class="line_1" style="x1:0px; y1:80px; x2:845px; y2:80px; "/>
  67. <caption id="caption9" class="tit_2" style="left:855px; top:65px; width:320px; height:14px; font-family:돋움; vertical-align:middle; ">일당수기료 계산 대상일자</caption>
  68. <datagrid id="grd_ipsc" nodeset="/root/main/list2/grdlist2" caption="^실시일자^수가코드^수가명칭^상태" colsep="^" colwidth="22, 81, 100, 264, 100" frozencols="1" mergecellsfixedrows="bycolrec" rowsep="|" style="left:850px; top:85px; width:344px; height:634px; text-align:center; ">
  69. <col ref="ipsc_chk" type="checkbox" style="text-align:center; "/>
  70. <col ref="ipsc_recaldd" format="yyyy-mm-dd" style="left:21px; top:23px; width:81px; height:23px; text-align:center; "/>
  71. <col ref="exec_calcscorcd" style="text-align:left; "/>
  72. <col ref="exec_calcscornm" style="text-align:left; "/>
  73. <col disabled="true" ref="exec_execprcpstatcd" type="combo">
  74. <choices>
  75. <itemset nodeset="/root/init/M0011list/M0011">
  76. <label ref="cdnm"/>
  77. <value ref="cdid"/>
  78. </itemset>
  79. </choices>
  80. </col>
  81. </datagrid>
  82. <line id="line4" class="line_1" style="x1:850px; y1:80px; x2:1194px; y2:80px; "/>
  83. <datagrid id="datagrid1" nodeset="/root/main/list1/grdlist1" caption="±^수가코드^수가명^실시일자^일수^급여^전액본인부담^비급여^선택진료^요율^급여청구^급여본인부담" colsep="^" colwidth="24, 100, 224, 70, 30, 80, 80, 80, 80, 30, 80, 80" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:85px; width:846px; height:635px; ">
  84. <col ref="rn"/>
  85. <col ref="snglcalcscorcd"/>
  86. <col ref="hngnm"/>
  87. <col ref="execdd" format="yyyy-mm-dd"/>
  88. <col ref="calcdays" style="text-align:right; "/>
  89. <col ref="payamt" format="#,###" style="text-align:right; "/>
  90. <col ref="allownbamt" format="#,###" style="text-align:right; "/>
  91. <col ref="nopyamt" format="#,###" style="text-align:right; "/>
  92. <col ref="specamt" format="#,###" style="text-align:right; "/>
  93. <col ref="payownbrate" format="#,###" style="text-align:right; "/>
  94. <col ref="payinsubamt" format="#,###" style="text-align:right; "/>
  95. <col ref="payownbamt" format="#,###" style="text-align:right; "/>
  96. </datagrid>
  97. <group id="group4" style="left:0px; top:725px; width:1194px; height:35px; ">
  98. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  99. <caption id="caption45" class="search_name" style="left:10px; top:10px; width:100px; height:17px; ">
  100. <![CDATA[계산일자 :]]>
  101. <script type="javascript" ev:event="ondblclick">
  102. <![CDATA[
  103. /*
  104. if (model.getValue("/root/main/h_inpt/inpt/inpt_pid") == "") {
  105. return;
  106. }
  107. if (input5.visible == true) {
  108. input5.visible = false;
  109. } else {
  110. input5.visible = true;
  111. }
  112. if (model.getValue("/root/main/h_inpt/inpt/inpt_indd") != "") {
  113. model.setValue("/root/send/data3/calcbasefromdd", model.getValue("/root/main/h_inpt/inpt/inpt_indd"));
  114. model.refresh();
  115. }
  116. */
  117. ]]>
  118. </script>
  119. </caption>
  120. <input id="ipt_hopedd" ref="/root/send/ordfromdd" class="input_search" inputtype="date" style="left:105px; top:10px; width:90; height:19px; text-align:center; ">
  121. <script type="javascript" ev:event="xforms-value-changed">
  122. <![CDATA[
  123. submit("TRPIJ02601")
  124. ]]>
  125. </script>
  126. </input>
  127. <input id="input5" ref="/root/send/ordtodd" class="input_search" inputtype="date" style="left:224px; top:10px; width:90px; height:19px; text-align:center; ">
  128. <script type="javascript" ev:event="xforms-value-changed">
  129. <![CDATA[
  130. submit("TRPIJ02601")
  131. ]]>
  132. </script>
  133. </input>
  134. <button id="btn_calc" class="btn1_letter2" style="left:1070px; top:5px; width:56px; height:22px; background-color:#808080; ">
  135. <caption>계산</caption>
  136. <script type="javascript" ev:event="DOMActivate">
  137. <![CDATA[
  138. if (model.getValue("/root/send/ordfromdd") > model.getValue("/root/send/ordtodd")) {
  139. messageBox("계산일자 시작일이 종료일보다 더 큽니다. 시작일을 확인 해주십시요.", "E999");
  140. return;
  141. }
  142. submit("TRPIJ00207");
  143. var indschacptstat = model.getValue("/root/main/item11/endcnclstat/indschacptstat");
  144. var dschjudgprcsstat = model.getValue("/root/main/item11/endcnclstat/dschjudgprcsstat");
  145. var dschnotiyn = model.getValue("/root/main/item11/endcnclstat/dschnotiyn");
  146. if (dschjudgprcsstat == "C" || dschjudgprcsstat == "E"){
  147. messageBox("이미 마감처리가 된 환자입니다. 심사취소 ", "E001");
  148. return;
  149. }
  150. var msg = messageBox("수기료계산을 시작","S001");
  151. if (msg == 6) { // 수기료계산을 적용한다.
  152. if (model.getValue("/root/send/calckind") == "C") {
  153. if (getNodesetCount("/root/main/list2/grdlist2") > 0) {
  154. model.makeValue("/root/send/grdlist2",grd_ipsc.getUpdateDataAll("i"));
  155. } else {
  156. messageBox("리스트에 대상자가","I004");
  157. return false;
  158. }
  159. } else {
  160. }
  161. submit("TXPIJ03001");
  162. messageBox("수기료 계산이","I002");
  163. submit("TRPIJ02601");
  164. }
  165. ]]>
  166. </script>
  167. </button>
  168. <caption id="caption1" style="left:197px; top:10px; width:25px; height:19px; text-align:center; ">~</caption>
  169. <button id="button2" class="btn1_letter2" style="left:1130px; top:5px; width:56px; height:22px; ">
  170. <caption>닫기</caption>
  171. <script type="javascript" ev:event="DOMActivate">
  172. <![CDATA[
  173. //JUDGFLAG = opener.javascript.getParameter("judgflag");
  174. //if (JUDGFLAG == "Y") {
  175. // modal("../../../pam/bfjudgweb/xrw/SMPIJ00300", "1","","", "SMPIJ00300", "","");
  176. // fGetItemInfo();
  177. //}
  178. window.close();
  179. ]]>
  180. </script>
  181. </button>
  182. <caption id="caption3" class="search_name" style="left:325px; top:10px; width:100px; height:17px; ">
  183. <![CDATA[계산종류 :]]>
  184. <script type="javascript" ev:event="ondblclick">
  185. <![CDATA[
  186. /*
  187. if (model.getValue("/root/main/h_inpt/inpt/inpt_pid") == "") {
  188. return;
  189. }
  190. if (input5.visible == true) {
  191. input5.visible = false;
  192. } else {
  193. input5.visible = true;
  194. }
  195. if (model.getValue("/root/main/h_inpt/inpt/inpt_indd") != "") {
  196. model.setValue("/root/send/data3/calcbasefromdd", model.getValue("/root/main/h_inpt/inpt/inpt_indd"));
  197. model.refresh();
  198. }
  199. */
  200. ]]>
  201. </script>
  202. </caption>
  203. <select1 id="radio1" ref="/root/send/calckind" appearance="full" cols="2" overflow="visible" style="left:415px; top:10px; width:205px; height:20px; border-style:none; ">
  204. <choices>
  205. <item>
  206. <label>일자별</label>
  207. <value>D</value>
  208. </item>
  209. <item>
  210. <label>대상별</label>
  211. <value>C</value>
  212. </item>
  213. </choices>
  214. </select1>
  215. </group>
  216. </group>
  217. </xhtml:body>
  218. </xhtml:html>