SPPIE00740_정산요약보기.xrw 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. [개발이력]
  4. 2007.06.01 / 최초작성 / 이종찬
  5. [개발사상]
  6. 본 업무 화면에서는 접수정보와 검토서정보를 동시에 생성한다.
  7. [할 일]
  8. (-) 이전자료 존재여부를 확인 할 수 있도록 하고, 삭제를 가능하도록 할 것인지 고객과 협의 해야 함
  9. (-) 재청구여부와 청구일자를 구체적으로 어떻게 사용 할 것인지 확인 후 적용해야 함
  10. [테스트]
  11. 필수입력: 청구년월('200606')
  12. 조작: 저장 버튼을 누른다.
  13. -->
  14. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  15. <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">
  16. <xhtml:head>
  17. <xhtml:title>업로드정보</xhtml:title>
  18. <model id="model1">
  19. <instance id="instance1">
  20. <root xmlns="">
  21. <main>
  22. <list01>
  23. <gridsummary>
  24. <judgdg/>
  25. <acptdd/>
  26. <acptno/>
  27. <ioflag/>
  28. <ordfildcd/>
  29. <clamno/>
  30. <clamcnt/>
  31. <cnt/>
  32. <fileflag/>
  33. <insukind/>
  34. <ordym/>
  35. <calcjudgdg/>
  36. <calcnotino/>
  37. </gridsummary>
  38. </list01>
  39. </main>
  40. <send>
  41. <termflag/>
  42. <fromterm/>
  43. <toterm/>
  44. <acptno/>
  45. <setno/>
  46. <chosflag/>
  47. <clamno/>
  48. <ordfildcd/>
  49. <sendf202>
  50. <judgdg/>
  51. <clamno/>
  52. <acptno/>
  53. <setno/>
  54. </sendf202>
  55. <sendf203>
  56. <judgdg/>
  57. <clamno/>
  58. <acptno/>
  59. <setno/>
  60. <docuseqno/>
  61. </sendf203>
  62. <summary>
  63. <termflag>1</termflag>
  64. <fromterm/>
  65. <toterm/>
  66. <acptno/>
  67. <clamno/>
  68. </summary>
  69. </send>
  70. <init>
  71. <P0028list>
  72. <P0028>
  73. <cdid/>
  74. <cdnm/>
  75. </P0028>
  76. </P0028list>
  77. <P0235list>
  78. <P0235>
  79. <cdid/>
  80. <cdnm/>
  81. </P0235>
  82. </P0235list>
  83. </init>
  84. <hidden/>
  85. </root>
  86. </instance>
  87. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  88. <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post"/>
  89. </model>
  90. <script type="javascript" ev:event="xforms-ready">
  91. <![CDATA[
  92. CommCode_Load();
  93. ]]>
  94. </script>
  95. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  96. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  97. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  98. <script type="javascript">
  99. <![CDATA[
  100. // 공통코드 Load작업
  101. function CommCode_Load() {
  102. zbcfGetCodeList(new Array("P0235"), new Array("/root/init/P0235list"), false);
  103. zbcfGetCodeList(new Array("P0028"), new Array("/root/init/P0028list"), false);
  104. model.refresh();
  105. }
  106. ]]>
  107. </script>
  108. </xhtml:head>
  109. <xhtml:body pagewidth="720" pageheight="560" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  110. <group id="group1" style="left:0px; top:0px; width:700px; height:13px; ">
  111. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:700px; height:14px; ">정산요약보기</caption>
  112. </group>
  113. <group id="group3" scroll="auto" style="left:0px; top:13px; width:700px; height:492px; ">
  114. <line id="line1" class="line_1" style="x1:0px; y1:28px; x2:700px; y2:28px; "/>
  115. <caption id="caption2" class="tit_2" style="left:5px; top:13px; width:98px; height:14px; ">요약정보</caption>
  116. <button id="button3" class="btn2_letter4" style="left:634px; top:7px; width:64px; height:19px; ">
  117. <caption>엑셀저장</caption>
  118. <script type="javascript" ev:event="DOMActivate">
  119. <![CDATA[
  120. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  121. if (fileName != "")
  122. {
  123. grd_summary.saveExcel(fileName, "SheetName", true, true, "", "", "");
  124. }
  125. ]]>
  126. </script>
  127. </button>
  128. <datagrid id="grd_summary" nodeset="/root/main/list01/gridsummary" class="datagrid1" visibility="visible" caption="진료년월^정산심사차수^정산통보번호^환수/환급^접수번호^내원구분^분야^청구번호^건수^입금액^fileflag^^생성^등록번호^청구일자^입원일자^적용일자^환자유형^조합기호^장애수첩^접수번호^심사차수^일련번호^처리구분^총진료비(청구)^본인부담(청구)^청구금액^비고^생성여부" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:34px; width:700px; height:455px; ">
  129. <col ref="ordym" style="text-align:center; "/>
  130. <col ref="calcjudgdg" style="text-align:center; "/>
  131. <col ref="calcnotino"/>
  132. <col style="text-align:center; "/>
  133. <col ref="acptno" style="text-align:center; "/>
  134. <col disabled="true" ref="ioflag" type="combo" style="text-align:center; ">
  135. <choices>
  136. <itemset nodeset="/root/init/P0028list/P0028">
  137. <label ref="cdnm"/>
  138. <value ref="cdid"/>
  139. </itemset>
  140. </choices>
  141. </col>
  142. <col disabled="true" ref="ordfildcd" type="combo" style="text-align:center; ">
  143. <choices>
  144. <itemset nodeset="/root/init/P0235list/P0235">
  145. <label ref="cdnm"/>
  146. <value ref="cdid"/>
  147. </itemset>
  148. </choices>
  149. </col>
  150. <col ref="clamno" style="text-align:center; "/>
  151. <col ref="cnt" format="#,###" style="text-align:right; "/>
  152. <col/>
  153. <col ref="fileflag" visibility="hidden"/>
  154. <script type="javascript" ev:event="ondblclick">
  155. <![CDATA[
  156. // 2007.07.19 업로드정보 화면을 클릭하면 해당 조회화면으로 조회조건을 넘긴다.
  157. if( grd_summary.isCell(event.target) && grd_summary.row >= grd_summary.fixedRows ){
  158. var row = grd_summary.selectedRow(0);
  159. // 여기에서 각 노드에 조회 조건을 저장한다.
  160. model.setValue("root/send/summary/acptno",grd_summary.textmatrix(row,5)); // 접수번호
  161. model.setValue("root/send/summary/clamno",grd_summary.textmatrix(row,8)); // 청구번호
  162. model.setValue("root/send/summary/fromterm",grd_summary.textmatrix(row,2)); // 심사차수
  163. model.setValue("root/send/summary/toterm",grd_summary.textmatrix(row,2)); // 심사차수
  164. var text = grd_summary.textmatrix(row,11);
  165. // 2007.10.17 원외추가심결인 경우 3번째 컬럼 값(정산통보번호)으로 심사차수를 지정한다.
  166. if(text == "050"){
  167. model.setValue("root/send/summary/fromterm",grd_summary.textmatrix(row,3)); // 심사차수
  168. model.setValue("root/send/summary/toterm",grd_summary.textmatrix(row,3)); // 심사차수
  169. }
  170. // 선택항목이 요양급여인 경우
  171. if(text == "040"){
  172. // 2007.12.13 modaless로 화면을 호출한다.
  173. // window.load("SMPIE01400_요양급여정산내역서(F040)조회.xrw", "modal", "pop", "width:1140; height:640;", "/root/send/summary", "/root/send/summary");
  174. open("SMPIE01400","","400","400","SMPIE01400","/root/send/summary", "/root/send/summary","", false);
  175. }else if(text == "050"){
  176. // 2007.12.13 modaless로 화면을 호출한다.
  177. // window.load("SMPIE01500_의료급여정산내역서(F050)조회.xrw", "modal", "pop", "width:1140; height:640;", "/root/send/summary", "/root/send/summary");
  178. open("SMPIE01500","","400","400","SMPIE01500","/root/send/summary", "/root/send/summary","", false);
  179. }else if(text == "070"){
  180. // 2007.12.13 modaless로 화면을 호출한다.
  181. // window.load("SMPIE01600_원외처방정산내역서(F070)조회.xrw", "modal", "pop", "width:1140; height:640;", "/root/send/summary", "/root/send/summary");
  182. open("SMPIE01600","","400","400","SMPIE01600","/root/send/summary", "/root/send/summary","", false);
  183. }
  184. }
  185. ]]>
  186. </script>
  187. </datagrid>
  188. </group>
  189. <group id="grp_btn" scroll="auto" style="left:0px; top:510px; width:700px; height:27px; ">
  190. <line id="line33" class="line_6" style="x1:0px; y1:0px; x2:700px; y2:0px; "/>
  191. <button id="button1" class="btn4_letter2" style="left:644px; top:5px; width:56px; height:22px; ">
  192. <caption>닫기</caption>
  193. <script type="javascript" ev:event="DOMActivate">
  194. <![CDATA[
  195. // 윈도우 닫기
  196. window.close();
  197. ]]>
  198. </script>
  199. </button>
  200. </group>
  201. </xhtml:body>
  202. </xhtml:html>