SMPID23600_재정산내역조회.xrw 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * @(#)SMPID23600_재정산 내역 조회.xrw
  4. * 수정이력
  5. * - 2013.09.29 / 최초작성 / 이은정
  6. -->
  7. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  8. <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">
  9. <xhtml:head>
  10. <xhtml:title>재정산 내역 조회</xhtml:title>
  11. <model id="model1">
  12. <instance id="instance1">
  13. <root xmlns="">
  14. <main>
  15. <list1>
  16. <clbs/>
  17. </list1>
  18. </main>
  19. <send>
  20. <item1>
  21. <clamym/>
  22. <pid/>
  23. <pidsn/>
  24. <ordym/>
  25. <judgrid/>
  26. <ioflag>O</ioflag>
  27. <ordfildcdyn/>
  28. <searchgb>SD</searchgb>
  29. </item1>
  30. <list1>
  31. <clbs>
  32. </clbs>
  33. </list1>
  34. </send>
  35. <init>
  36. <!-- 진료분야 -->
  37. <P0291list>
  38. <P0291>
  39. <cdnm/>
  40. <cdid/>
  41. </P0291>
  42. </P0291list>
  43. <!-- 청구구분 -->
  44. <P0155list>
  45. <P0155>
  46. <cdnm/>
  47. <cdid/>
  48. </P0155>
  49. </P0155list>
  50. <P0008list>
  51. <P0008>
  52. <cdnm/>
  53. <cdid/>
  54. </P0008>
  55. </P0008list>
  56. </init>
  57. <hidden>
  58. <item1>
  59. <clamym/>
  60. <clamdg/>
  61. <pid/>
  62. <pidsn/>
  63. <ordym/>
  64. </item1>
  65. <sppmc02500>
  66. <cond>
  67. <!-- SPPMC02500_환자조회 화면으로 검색조건을 보내는 경로임 -->
  68. <srchcond/>
  69. <pid/>
  70. <hngnm/>
  71. <rrgstno1/>
  72. <rrgstno2/>
  73. </cond>
  74. </sppmc02500>
  75. <item1>
  76. <maxclamdg/>
  77. </item1>
  78. <smpid20400>
  79. <rslt>
  80. <oldPid/>
  81. </rslt>
  82. <cond>
  83. <pid/>
  84. </cond>
  85. </smpid20400>
  86. </hidden>
  87. </root>
  88. </instance>
  89. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  90. <submission id="TRPID20309" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item1/ioflag" resultref="root/hidden/tmp"/>
  91. <submission id="TRPID20201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item1" resultref="/root/init/tmp"/>
  92. <submission id="TRPID20407" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item1" resultref="/root/init/clamdg"/>
  93. <script type="javascript" ev:event="xforms-ready">
  94. <![CDATA[
  95. // 화면을 초기화한다.
  96. fInitialize();
  97. ]]>
  98. </script>
  99. <submission id="TRPID23601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item1" resultref="/root/main"/>
  100. </model>
  101. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  102. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  103. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  104. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  105. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  106. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  107. <script type="javascript">
  108. <![CDATA[
  109. var gToday = new Date();
  110. var gBaseyear = gToday.getDateFormat("YYYY"); // (dateHelper.js)에서 제공하는 함수를 사용하여 해당 년를 구한다.
  111. var gBasemonth = gToday.getDateFormat("MM");
  112. var gBaseday = gToday.getDateFormat("DD");
  113. var gCurrentdd = gBaseyear + gBasemonth + gBaseday;
  114. var gCurrentym = gBaseyear + gBasemonth;
  115. // -----------------------
  116. // ▶ 화면초기화
  117. // -----------------------
  118. function fInitialize() {
  119. // ---------------------------------------------------------------
  120. // 공통코드를 조회한다.
  121. // (ZBC001.js) com.ZBCMCODE 에서 기초코드 값 Get
  122. // ---------------------------------------------------------------
  123. zbcfGetCodeList(
  124. new Array( "P0291","P0008"
  125. ),
  126. new Array("/root/init/P0291list","/root/init/P0008list"
  127. ) );
  128. var lv_date = gCurrentym.toDate("YYYYMM" + "01");
  129. lv_date = lv_date.getAddDate(-1, "M")
  130. gCurrentym = lv_date.getDateFormat("YYYYMM")
  131. model.setValue("/root/send/item1/clamym", gCurrentym);
  132. model.setValue("/root/send/item1/ordym", gCurrentym);
  133. // ---------------------------------------------------------------
  134. // 청구과, 심사자, 진료과, 주치의, 청구차수, 삼시자선택 초기화
  135. // ---------------------------------------------------------------
  136. model.refresh();
  137. submit("TRPID20201",false);
  138. }
  139. // ----------------------------------------------------------------------
  140. // ▶ 동일진료일 명세서조회
  141. // ----------------------------------------------------------------------
  142. function fGetDocuList() {
  143. var chk = true;
  144. if (model.getValue("/root/send/item1/clamym") == "") {
  145. chk = false;
  146. messageBox("청구년월은", "I003"); //I003=필수입력입니다.
  147. model.setFocus("ipt_clamym");
  148. }
  149. if (chk == true) {
  150. submit("TRPID23601");
  151. }
  152. }
  153. ]]>
  154. </script>
  155. </xhtml:head>
  156. <xhtml:body pagewidth="1020" pageheight="660" guideline="1,1163;2,727;2,739;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  157. <group id="grp_tle" style="left:0px; top:0px; width:865px; height:13px; ">
  158. <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:216px; height:15px; ">재정산 내역 조회</caption>
  159. </group>
  160. <group id="grp_biz" scroll="auto" style="left:0px; top:28px; width:995px; height:592px; ">
  161. <datagrid id="grd_clbsmast" nodeset="/root/main/list1/clbs" class="datagrid2" caption="환자번호^환자명^진료과^진료개시일^수가코드^원내/외&#xA;구분^수납일자^보험유형^보험유형^보조유형^보조유형^급비구분^급비구분^수가명|환자번호^환자명^진료과^진료개시일^수가코드^원내/외&#xA;구분^수납일자^사후^원무^사후^원무^사후^원무^수가명" colsep="^" colwidth="65, 55, 110, 70, 90, 53, 70, 35, 35, 35, 35, 35, 35, 220" dataheight="23" ellipsis="true" extendlastcol="scroll" frozencols="8" mergecellsfixedcols="bycol" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="|" tooltip="true" style="left:0px; top:77px; width:990px; height:514px; ">
  162. <col ref="pid" style="text-align:center; "/>
  163. <col ref="patnm" style="left:332px; top:32px; width:53px; height:23px; text-align:center; "/>
  164. <col disabled="true" ref="orddeptcd" type="combo" style="text-align:center; ">
  165. <choices>
  166. <itemset nodeset="/root/init/tmp/orddeptcd/orddeptcdlist">
  167. <label ref="nm"/>
  168. <value ref="cd"/>
  169. </itemset>
  170. </choices>
  171. </col>
  172. <col ref="ordfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
  173. <col ref="snglcalcscorcd"/>
  174. <col ref="ioflag"/>
  175. <col ref="rcptexecdd"/>
  176. <col ref="insukind_s"/>
  177. <col ref="insukind_o"/>
  178. <col ref="suppkind_s"/>
  179. <col ref="suppkind_o"/>
  180. <col ref="payflag_s"/>
  181. <col ref="payflag_o"/>
  182. <col ref="hngnm"/>
  183. </datagrid>
  184. <caption id="cap_judgtrgtman" class="tit_2" style="left:4px; top:56px; width:126px; height:13px; ">대상자조회</caption>
  185. <line id="line1" class="line_1" style="x1:0px; y1:72px; x2:988px; y2:72px; "/>
  186. <group id="group1" style="left:0px; top:5px; width:995px; height:40px; vertical-align:top; ">
  187. <shape id="roundrect3" appearance="roundrect" style="left:0px; top:0px; width:995px; height:40px; "/>
  188. <caption id="caption30" class="search_name" style="left:8px; top:11px; width:87px; height:17px; ">청구년월 :</caption>
  189. <input id="ipt_clamym" ref="/root/send/item1/clamym" class="input_search" navindex="1" inputtype="date" format="yyyy-mm" style="left:95px; top:10px; width:69px; height:19px; text-align:center; "/>
  190. <!-- 기존 ID : 1214 => P0235 => P0291 -->
  191. <!-- 기존 : /root/InitData2/comccodem => P0287 확인해볼 것 -->
  192. <button id="btn_select" class="btn1_letter2" navindex="32" style="left:925px; top:9px; width:56px; height:22px; ">
  193. <caption>조회</caption>
  194. <script type="javascript" ev:event="DOMActivate">
  195. <![CDATA[
  196. fGetDocuList();
  197. ]]>
  198. </script>
  199. </button>
  200. <line id="line3" class="line_4" style="x1:910px; y1:4px; x2:910px; y2:37px; "/>
  201. </group>
  202. <button id="btn_excelsave" class="btn2_letter4" _auth="P" style="left:926px; top:52px; width:64px; height:19px; ">
  203. <caption>엑셀저장</caption>
  204. <script type="javascript" ev:event="DOMActivate">
  205. <![CDATA[
  206. grd_clbsmast.gridToInstance();
  207. if (grd_clbsmast.rows > 1) {
  208. var fileName = window.fileDialog("save", "", false, "중복 명세서조회", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  209. if (fileName != "") {
  210. grd_clbsmast.saveExcel(fileName, "sheetname:;colhiddenextend:true;rowhiddenextend:false;col_3:label;col_4:label;col_5:label;col_6:label;", true, true, "", "", true);
  211. }
  212. } else {
  213. messageBox("엑셀저장할 내역이", "I004"); ///엑셀저장할 내역이 없습니다.
  214. }
  215. ]]>
  216. </script>
  217. </button>
  218. </group>
  219. <button id="btn_cancel" class="btn4_letter2" style="left:934px; top:622px; width:56px; height:22px; ">
  220. <caption>종료</caption>
  221. <close ev:event="DOMActivate"/>
  222. </button>
  223. </xhtml:body>
  224. </xhtml:html>