SMPIF73201_진료비청구심사조정내역(기간별).xrw 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307
  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>진료비 청구심사 조정내역</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <datagrid>
  11. <ioflag/>
  12. <insuflag/>
  13. <ordfildcd/>
  14. <bfcnt/>
  15. <afcnt/>
  16. <bfeditotordamt/>
  17. <afeditotordamt/>
  18. <bfinsuclamamt/>
  19. <afinsuclamamt/>
  20. <bfownbmaxexamt/>
  21. <afownbmaxexamt/>
  22. <bfhedisuppamt/>
  23. <afhedisuppamt/>
  24. <bfledisuppamt/>
  25. <afledisuppamt/>
  26. <bfedihandcaprfundamt/>
  27. <afedihandcaprfundamt/>
  28. <bfallinsuclamamt/>
  29. <afallinsuclamamt/>
  30. <afdiffamt/>
  31. <avrgeditotordamt/>
  32. </datagrid>
  33. </main>
  34. <hidden>
  35. <isexist/>
  36. </hidden>
  37. <send>
  38. <clamym/>
  39. <datagrid/>
  40. <research/>
  41. <clamtoym/>
  42. <ordfildcd/>
  43. </send>
  44. <init>
  45. <P0291list/>
  46. </init>
  47. </root>
  48. </instance>
  49. <script type="javascript" ev:event="xforms-ready">
  50. <![CDATA[
  51. // 화면을 초기화한다.
  52. fInitialize();
  53. ]]>
  54. </script>
  55. <submission id="TRPIF73200" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/datagrid"/>
  56. <submission id="TXPIF73200" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/tmp"/>
  57. </model>
  58. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  59. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  60. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  61. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  62. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  63. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  64. <script type="javascript">
  65. <![CDATA[
  66. // -----------------------
  67. // ▶ 화면초기화
  68. // -----------------------
  69. function fInitialize() {
  70. zbcfGetCodeList(
  71. new Array("P0291" // 보험유형
  72. ),
  73. new Array("/root/init/P0291list"
  74. ) );
  75. //addComboItem( "cmb_ordfildcd", "정신과", "7", "above");
  76. //addComboItem( "cmb_ordfildcd", "소계", "소계", "above");
  77. ipt_clamym.value = getCurrentDate().substring(0,6);
  78. ipt_clamym.refresh();
  79. ipt_clamtoym.value = getCurrentDate().substring(0,6);
  80. ipt_clamtoym.refresh();
  81. if ( model.getValue("/root/main/datagrid[1]/isexist") == "O") {
  82. btn_prnt.disabled = false;
  83. } else {
  84. btn_prnt.disabled = true;
  85. }
  86. }
  87. function fGetDocuList () {
  88. submit("TRPIF73200");
  89. for (i=grd_clbsmast.fixedRows; i < grd_clbsmast.rows; i++) {
  90. if (grd_clbsmast.valueMatrix(i, grd_clbsmast.colRef("isexist")) == 'I') {
  91. grd_clbsmast.rowStatus(i) = 3;
  92. }
  93. }
  94. grd_clbsmast.subtotalposition="below";
  95. for (i=3; i < grd_clbsmast.cols; i++) {
  96. grd_clbsmast.subtotal("sum", grd_clbsmast.colRef("ioflag"), i, "(-)#,###", "background-color:#99ff99", 3, "합계" , false);
  97. }
  98. for (i=4; i < grd_clbsmast.cols; i++) {
  99. grd_clbsmast.subtotal("sum", grd_clbsmast.colRef("insuflag"), i, "(-)#,###", "background-color:#99ccff", null, null, true);
  100. }
  101. grd_clbsmast.merge();
  102. for (i=grd_clbsmast.fixedRows; i < grd_clbsmast.rows; i++) {
  103. if (grd_clbsmast.isSubtotal(i) == true ) {
  104. grd_clbsmast.valueMatrix(i, grd_clbsmast.colRef("avrgeditotordamt")) = grd_clbsmast.valueMatrix(i, grd_clbsmast.colRef("afeditotordamt")) / grd_clbsmast.valueMatrix(i, grd_clbsmast.colRef("afcnt"));
  105. }
  106. }
  107. if ( model.getValue("/root/main/datagrid[1]/isexist") == "O") {
  108. btn_prnt.disabled = false;
  109. } else {
  110. btn_prnt.disabled = true;
  111. }
  112. }
  113. function fGetListExistChk() {
  114. if (grd_clbsmast.valueMatrix(grd_clbsmast.fixedRows + 1, grd_clbsmast.colRef("isexist")) == 'O') {
  115. model.setValue("/root/hidden/isexist", "Y");
  116. } else {
  117. model.setValue("/root/hidden/isexist", "N");
  118. }
  119. }
  120. ]]>
  121. </script>
  122. </xhtml:head>
  123. <xhtml:body pagewidth="1215" pageheight="800" guideline="1,1197;2,771;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  124. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  125. <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:163px; height:14px; ">진료비 청구심사 조정내역</caption>
  126. </group>
  127. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:762px; ">
  128. <datagrid id="grd_clbsmast" nodeset="/root/main/datagrid" class="datagrid2" caption="구분^구분^진료과^건수^건수^총진료비^총진료비^청구액^청구액^상한액^상한액^희귀^희귀^결핵^결핵^장애인^장애인^청구액&#xA;상한+희귀+결핵^청구액&#xA;상한+희귀+결핵^청구차액^청구차액&#xA;상한+희귀+결핵^건당 진료비^caption1^caption2|구분^구분^진료과^심사전^심사후^심사전^심사후^심사전^심사후^심사전^심사후^심사전^심사후^심사전^심사후^심사전^심사후^심사전^심사후^청구차액^청구차액&#xA;상한+희귀+결핵^건당 진료비^caption1^caption2" colsep="^" colwidth="48, 58, 60, 50, 50, 95, 95, 95, 95, 70, 70, 70, 70, 70, 70, 70, 84, 95, 95, 100, 100, 100, 100, 100" dataheight="23" ellipsis="true" extendlastcol="scroll" frozencols="9" mergecells="byrestriccol" mergecellsfixedcols="bycol" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="32" rowsep="|" tooltip="true" style="left:0px; top:72px; width:1194px; height:686px; ">
  129. <col disabled="true" ref="ioflag" type="combo">
  130. <choices>
  131. <item>
  132. <label>입원</label>
  133. <value>I</value>
  134. </item>
  135. <item>
  136. <label>외래</label>
  137. <value>O</value>
  138. </item>
  139. </choices>
  140. </col>
  141. <col disabled="true" ref="insuflag" type="combo" visibility="visible">
  142. <choices>
  143. <item>
  144. <label>건강보험</label>
  145. <value>1</value>
  146. </item>
  147. <item>
  148. <label>DRG</label>
  149. <value>D</value>
  150. </item>
  151. <item>
  152. <label>의료급여</label>
  153. <value>2</value>
  154. </item>
  155. <item>
  156. <label>자보</label>
  157. <value>3</value>
  158. </item>
  159. <item>
  160. <label>산재</label>
  161. <value>4</value>
  162. </item>
  163. <item>
  164. <label>기타</label>
  165. <value>5</value>
  166. </item>
  167. <item>
  168. <label>장기이식</label>
  169. <value>9</value>
  170. </item>
  171. </choices>
  172. </col>
  173. <col id="cmb_ordfildcd" disabled="true" ref="ordfildcd" type="combo">
  174. <choices>
  175. <item>
  176. <label>의과</label>
  177. <value>1</value>
  178. </item>
  179. <item>
  180. <label>치과</label>
  181. <value>6</value>
  182. </item>
  183. <item>
  184. <label>정신과</label>
  185. <value>7</value>
  186. </item>
  187. <item>
  188. <label>DRG</label>
  189. <value>D</value>
  190. </item>
  191. <item>
  192. <label>완화</label>
  193. <value>B</value>
  194. </item>
  195. <item>
  196. <label>소계</label>
  197. <value/>
  198. </item>
  199. </choices>
  200. </col>
  201. <col ref="bfcnt" type="output" format="(-)#,###" style="text-align:right; "/>
  202. <col ref="afcnt" type="output" format="(-)#,###" style="text-align:right; "/>
  203. <col ref="bfeditotordamt" type="output" format="(-)#,###" style="text-align:right; "/>
  204. <col ref="afeditotordamt" type="output" format="(-)#,###" style="text-align:right; "/>
  205. <col ref="bfinsuclamamt" type="output" format="(-)#,###" style="text-align:right; "/>
  206. <col ref="afinsuclamamt" type="output" format="(-)#,###" style="text-align:right; "/>
  207. <col ref="bfownbmaxexamt" type="output" format="(-)#,###" style="left:332px; top:32px; width:53px; height:23px; text-align:right; "/>
  208. <col ref="afownbmaxexamt" type="output" format="(-)#,###" style="text-align:right; "/>
  209. <col ref="bfhedisuppamt" type="output" format="(-)#,###" style="text-align:right; "/>
  210. <col ref="afhedisuppamt" type="output" format="(-)#,###" style="text-align:right; "/>
  211. <col ref="bfledisuppamt" type="output" format="(-)#,###" style="text-align:right; "/>
  212. <col ref="afledisuppamt" type="output" format="(-)#,###" style="text-align:right; "/>
  213. <col ref="bfedihandcaprfundamt" type="output" format="(-)#,###" style="text-align:right; "/>
  214. <col ref="afedihandcaprfundamt" type="output" format="(-)#,###" style="left:1234px; top:72px; width:88px; height:23px; text-align:right; "/>
  215. <col ref="bfallinsuclamamt" visibility="visible" format="#,###" style="text-align:right; "/>
  216. <col ref="afallinsuclamamt" visibility="visible" format="#,###" style="text-align:right; "/>
  217. <col ref="afdiffamt" format="#,###" style="text-align:right; "/>
  218. <col ref="afalldiffamt" format="#,###" style="text-align:right; "/>
  219. <col ref="avrgeditotordamt" format="#,###" style="text-align:right; "/>
  220. <col ref="isexist" visibility="hidden"/>
  221. <col ref="uncaym" visibility="hidden"/>
  222. </datagrid>
  223. <caption id="cap_judgtrgtman" class="tit_2" style="left:5px; top:52px; width:245px; height:15px; ">진료비 청구심사 조정내역</caption>
  224. <line id="line1" class="line_1" style="x1:0px; y1:67px; x2:1194px; y2:67px; "/>
  225. <group id="group1" style="left:0px; top:4px; width:1195px; height:41px; vertical-align:top; ">
  226. <shape id="roundrect3" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
  227. <caption id="caption30" class="search_name" style="left:10px; top:7px; width:85px; height:17px; ">청구년월</caption>
  228. <input id="ipt_clamym" ref="/root/send/clamym" class="input_search" navindex="1" editable="true" inputtype="date" format="yyyy-mm" style="left:91px; top:7px; width:69px; height:19px; text-align:center; ">
  229. <script type="javascript" ev:event="xforms-value-changed">
  230. <![CDATA[
  231. ]]>
  232. </script>
  233. </input>
  234. <button id="btn_select" class="btn1_letter2" navindex="32" style="left:1130px; top:6px; width:56px; height:22px; ">
  235. <caption>조회</caption>
  236. <script type="javascript" ev:event="DOMActivate">
  237. <![CDATA[
  238. model.setValue("/root/send/research", "");
  239. fGetDocuList();
  240. fGetListExistChk();
  241. ]]>
  242. </script>
  243. </button>
  244. <line id="line3" class="line_4" style="x1:1120px; y1:7px; x2:1120px; y2:29px; "/>
  245. <caption id="caption1" style="left:171px; top:6px; width:20px; height:20px; ">~</caption>
  246. <input id="ipt_clamtoym" ref="/root/send/clamtoym" class="input_search" navindex="1" editable="true" inputtype="date" format="yyyy-mm" style="left:200px; top:7px; width:69px; height:19px; text-align:center; ">
  247. <script type="javascript" ev:event="xforms-value-changed">
  248. <![CDATA[
  249. ]]>
  250. </script>
  251. </input>
  252. <select1 id="combo1" ref="/root/send/ordfildcd" appearance="minimal" style="left:379px; top:7px; width:100px; height:19px; ">
  253. <choices>
  254. <item>
  255. <label>전체</label>
  256. <value/>
  257. </item>
  258. <item>
  259. <label>치과</label>
  260. <value>6</value>
  261. </item>
  262. </choices>
  263. </select1>
  264. <caption id="caption2" class="search_name" style="left:294px; top:7px; width:85px; height:17px; ">진료분야</caption>
  265. </group>
  266. <button id="btn_prnt" class="btn6_letter2" style="left:1138px; top:45px; width:56px; height:22px; ">
  267. <caption>출력</caption>
  268. <script type="javascript" ev:event="DOMActivate">
  269. <![CDATA[
  270. grd_clbsmast.gridToInstance();
  271. exeReportPreview("RPPIF73201", "XMLSTR", "","", "false","","","","","false");
  272. ]]>
  273. </script>
  274. </button>
  275. </group>
  276. </xhtml:body>
  277. </xhtml:html>