SPPIF80205_심사자별항목별삭감현황조회.xrw 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408
  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. <send>
  10. <fromdd/>
  11. <todd/>
  12. <ioflag>I</ioflag>
  13. <insukind>11^21^22^41</insukind>
  14. <ordfildcd>-</ordfildcd>
  15. <judgrid/>
  16. </send>
  17. <main>
  18. <list>
  19. <deptitemcutamtlist>
  20. <judgrid/>
  21. <judgrnm/>
  22. <clinclrg/>
  23. <ediamta/>
  24. <cutcnta/>
  25. <realcutamta/>
  26. <cutpera/>
  27. <cuttotpera/>
  28. <ediamti/>
  29. <cutcnti/>
  30. <realcutamti/>
  31. <cutperi/>
  32. <cuttotperi/>
  33. <ediamto/>
  34. <cutcnto/>
  35. <realcutamto/>
  36. <cutpero/>
  37. <cuttotpero/>
  38. </deptitemcutamtlist>
  39. </list>
  40. </main>
  41. <init>
  42. <P0028list>
  43. <P0028>
  44. <cdid/>
  45. <cdnm/>
  46. </P0028>
  47. </P0028list>
  48. <P0155list>
  49. <P0155>
  50. <cdid/>
  51. <cdnm/>
  52. </P0155>
  53. </P0155list>
  54. <M0530list>
  55. <M0530>
  56. <cdid/>
  57. <cdnm/>
  58. </M0530>
  59. </M0530list>
  60. <M0029list>
  61. <M0029>
  62. <cdid/>
  63. <cdnm/>
  64. </M0029>
  65. </M0029list>
  66. <P0443list/>
  67. <P0458list/>
  68. <list1/>
  69. </init>
  70. <hidden>
  71. <U0001>
  72. <cd/>
  73. <nm>전체</nm>
  74. </U0001>
  75. <U0002list>
  76. <U0002>
  77. <cdid/>
  78. <cdnm/>
  79. </U0002>
  80. </U0002list>
  81. <sppmc02500>
  82. <cond>
  83. <srchcond/>
  84. <pid/>
  85. <hngnm/>
  86. <rrgstno1/>
  87. <rrgstno2/>
  88. <insukind/>
  89. </cond>
  90. </sppmc02500>
  91. <excel>
  92. <seqno/>
  93. <printno/>
  94. </excel>
  95. </hidden>
  96. </root>
  97. </instance>
  98. <script type="javascript" ev:event="xforms-ready">
  99. <![CDATA[
  100. CommCode_Load();
  101. submit("TRPIJ00202",false);
  102. // 그리드 초기화(행을 모두 삭제한다.)
  103. model.removeNodeset("/root/main/list/deptcutamtlist");
  104. model.setValue("/root/send/fromdd", getCurrentDate().substr(0,6));
  105. model.setValue("/root/send/todd", getCurrentDate().substr(0,6));
  106. model.refresh();
  107. addComboItem("cmb_judgrid","의과전체", "A","above");
  108. ]]>
  109. </script>
  110. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  111. <submission id="TRPIJ00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/list1"/>
  112. <submission id="TRPIF80206" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list"/>
  113. <submission id="TRPIJ00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/send" resultref="/root/hidden"/>
  114. </model>
  115. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  116. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  117. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  118. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  119. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  120. <script type="javascript" src="../../../com/commonweb/js/tfHelperAsync.js"/>
  121. <script type="javascript" src="../../../com/instantmsgweb/js/ZMI001.js"/>
  122. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  123. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  124. <script type="javascript">
  125. <![CDATA[
  126. // 공통코드 Load작업
  127. function CommCode_Load() {
  128. // 관련 Control 초기화
  129. submit("TRPIJ00203");
  130. zbcfGetCodeList(new Array("P0028", "P0155", "M0530","M0029","P0443", "P0458"),
  131. new Array("/root/init/P0028list", "/root/init/P0155list", "/root/init/M0530list", "/root/init/M0029list","/root/init/P0443list", "/root/init/P0458list"));
  132. }
  133. function responseHandlerTRPIF80206() {
  134. datagrid1.addRow();
  135. var nodecnt = parseInt(model.getXPathValue("count(/root/main/list/deptitemcutamtlist[*]/ediamta)"));
  136. if (nodecnt > 2){
  137. var ediamtatot = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/ediamta)"));
  138. var realcutamtatot = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/realcutamta)"));
  139. var ediamtitot = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/ediamti)"));
  140. var realcutamtitot = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/realcutamti)"));
  141. var ediamtotot = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/ediamto)"));
  142. var realcutamtotot = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/realcutamto)"));
  143. var cutcntatot = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/cutcnta)"));
  144. var cutcntitot = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/cutcnti)"));
  145. var cutcntotot = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/cutcnto)"));
  146. model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/judgrnm", "합계");
  147. model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/ediamta", ediamtatot);
  148. model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/ediamti", ediamtitot);
  149. model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/ediamto", ediamtotot);
  150. model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/realcutamta", realcutamtatot);
  151. model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/realcutamti", realcutamtitot);
  152. model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/realcutamto", realcutamtotot);
  153. model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/cutcnta", cutcntatot);
  154. model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/cutcnti", cutcntitot);
  155. model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/cutcnto", cutcntotot);
  156. model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/cutpera", (parseInt(model.getValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/realcutamta"))/ediamtatot*100).toFixed(2));
  157. model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/cutperi", (parseInt(model.getValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/realcutamti"))/ediamtitot*100).toFixed(2));
  158. model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/cutpero", (parseInt(model.getValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/realcutamto"))/ediamtotot*100).toFixed(2));
  159. model.refresh();
  160. var ediamta = 0;
  161. var ediamti = 0;
  162. var ediamto = 0;
  163. for (var i=1; i <= nodecnt; i++) {
  164. var judgrid = model.getXPathValue("sum(/root/main/list/deptitemcutamtlist["+i+"]/judgrid)");
  165. var deptediamtatot = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[judgrid='"+judgrid+"']/ediamta)"));
  166. var deptediamtitot = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[judgrid='"+judgrid+"']/ediamti)"));
  167. var deptediamtotot = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[judgrid='"+judgrid+"']/ediamto)"));
  168. ediamta = parseInt(model.getValue("/root/main/list/deptitemcutamtlist["+i+"]/ediamta"));
  169. ediamti = parseInt(model.getValue("/root/main/list/deptitemcutamtlist["+i+"]/ediamti"));
  170. ediamto = parseInt(model.getValue("/root/main/list/deptitemcutamtlist["+i+"]/ediamto"));
  171. model.setValue("/root/main/list/deptitemcutamtlist["+i+"]/cuttotpera", (ediamta/deptediamtatot*100).toFixed(2));
  172. model.setValue("/root/main/list/deptitemcutamtlist["+i+"]/cuttotperi", (ediamti/deptediamtitot*100).toFixed(2));
  173. model.setValue("/root/main/list/deptitemcutamtlist["+i+"]/cuttotpero", (ediamto/deptediamtotot*100).toFixed(2));
  174. }
  175. }
  176. model.refresh();
  177. removeLoadingWindow();
  178. for (var i=2; i < datagrid1.cols; i++) {
  179. datagrid1.mergeCol(i) = false;
  180. }
  181. datagrid1.merge();
  182. }
  183. ]]>
  184. </script>
  185. </xhtml:head>
  186. <xhtml:body class="datagrid2" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  187. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  188. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:311px; height:15px; ">심사자별항목별삭감현황조회</caption>
  189. </group>
  190. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  191. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:38px; vertical-align:top; ">
  192. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  193. <button id="button1" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  194. <caption>조회</caption>
  195. <script type="javascript" ev:event="DOMActivate">
  196. <![CDATA[
  197. var sWindowMsg = "데이터 조회 중입니다...";
  198. callLoadingWindow(sWindowMsg);
  199. asyncSend("TRPIF80206", "/root/send", "/root/main/list", "responseHandlerTRPIF80206");
  200. ]]>
  201. </script>
  202. </button>
  203. <line id="line13" class="line_4" style="x1:1098px; y1:7px; x2:1098px; y2:29px; "/>
  204. <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" inputtype="date" format="yyyy-mm" style="left:105px; top:10px; width:70px; height:19px; ">
  205. <script type="javascript" ev:event="xforms-value-changed">
  206. <![CDATA[
  207. ipt_todd.value = ipt_fromdd.value.substr(0,6);
  208. model.refreshpart("/root/send/todd");
  209. ]]>
  210. </script>
  211. </input>
  212. <caption id="caption13" class="search_name" style="left:10px; top:9px; width:86px; height:17px; ">청구기간 :</caption>
  213. <caption id="caption3" style="left:177px; top:10px; width:20px; height:20px; ">~</caption>
  214. <input id="ipt_todd" ref="/root/send/todd" class="input_search" inputtype="date" format="yyyy-mm" style="left:190px; top:10px; width:70px; height:19px; "/>
  215. <caption id="caption1" class="search_name" style="left:667px; top:10px; width:75px; height:17px; ">심사자 :</caption>
  216. <caption id="caption2" class="search_name" style="left:275px; top:9px; width:90px; height:17px; ">보험유형 :</caption>
  217. <caption id="caption4" class="search_name" style="left:882px; top:10px; width:109px; height:17px; ">청구분야 :</caption>
  218. <select1 id="combo1" ref="/root/send/judgrid" class="combo_search" appearance="minimal" style="left:747px; top:10px; width:115px; height:19px; ">
  219. <choices>
  220. <itemset nodeset="/root/list/judglist">
  221. <label ref="judgnm"/>
  222. <value ref="judgid"/>
  223. </itemset>
  224. </choices>
  225. </select1>
  226. <select1 id="cmb_judgrid" ref="/root/send/ordfildcd" class="combo_search" appearance="minimal" style="left:972px; top:10px; width:115px; height:19px; ">
  227. <choices>
  228. <itemset nodeset="/root/init/P0458list/P0458">
  229. <label ref="cdnm"/>
  230. <value ref="cdid"/>
  231. </itemset>
  232. </choices>
  233. </select1>
  234. <select id="checkbox1" ref="/root/send/insukind" overflow="visible" appearance="full" cols="5" sep="^" style="left:365px; top:10px; width:305px; height:20px; border-style:none; ">
  235. <choices>
  236. <item>
  237. <label>건강보험</label>
  238. <value>11</value>
  239. </item>
  240. <item>
  241. <label>의료급여1종</label>
  242. <value>21</value>
  243. </item>
  244. <item>
  245. <label>의료급여2종</label>
  246. <value>22</value>
  247. </item>
  248. <item>
  249. <label>산재</label>
  250. <value>41</value>
  251. </item>
  252. </choices>
  253. <script type="javascript" ev:event="xforms-select">
  254. <![CDATA[
  255. ]]>
  256. </script>
  257. </select>
  258. </group>
  259. <button id="button12" class="btn2_letter4" style="left:1130px; top:55px; width:64px; height:19px; ">
  260. <caption>액셀저장</caption>
  261. <script type="javascript" ev:event="onclick">
  262. <![CDATA[
  263. var fileName = window.fileDialog("save", ",", false, caption10.value, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  264. if (fileName != "") {
  265. datagrid1.saveExcel(fileName, "sheetname:sheet1;exporttype:multi");
  266. }
  267. ]]>
  268. </script>
  269. </button>
  270. <line id="line2" class="line_1" style="x1:0px; y1:75px; x2:1195px; y2:75px; "/>
  271. <caption id="caption10" class="tit_2" style="left:0px; top:58px; width:265px; height:15px; ">심사자별항목별삭감현황조회</caption>
  272. <button id="button2" class="btn2_letter2" style="left:1087px; top:55px; width:42px; height:19px; ">
  273. <caption>출력</caption>
  274. <script type="javascript" ev:event="onclick">
  275. <![CDATA[
  276. exeReportPreview("RPPIF80201", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
  277. ]]>
  278. </script>
  279. </button>
  280. <datagrid id="datagrid1" nodeset="/root/main/list/deptitemcutamtlist" class="datagrid2" caption="심사자ID^심사자명^항목명^합계^합계^합계^합계^합계^입원^입원^입원^입원^입원^외래^외래^외래^외래^외래|심사자ID^심사자명^항목명^청구진료비^삭감&#xA;건수^삭감액^삭감율^삭감&#xA;구성비^청구진료비^삭감&#xA;건수^삭감액^삭감율^삭감&#xA;구성비^청구진료비^삭감&#xA;건수^삭감액^삭감율^삭감구성비|심사자ID^심사자명^항목명^청구진료비^삭감&#xA;건수^삭감액^삭감율^삭감&#xA;구성비^청구진료비^삭감&#xA;건수^삭감액^삭감율^삭감&#xA;구성비^청구진료비^삭감&#xA;건수^삭감액^삭감율^삭감구성비" colsep="^" colwidth="26, 141, 80, 100, 40, 85, 45, 45, 100, 40, 85, 45, 45, 100, 40, 85, 45, 45" mergecells="bycol" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:80px; width:1195px; height:660px; ">
  281. <col ref="judgrid" visibility="hidden"/>
  282. <col ref="judgrnm"/>
  283. <col disabled="true" ref="clinclrg" type="combo">
  284. <choices>
  285. <item>
  286. <label>전체</label>
  287. <value>-</value>
  288. </item>
  289. <item>
  290. <label>진찰</label>
  291. <value>01</value>
  292. </item>
  293. <item>
  294. <label>입원</label>
  295. <value>02</value>
  296. </item>
  297. <item>
  298. <label>투약</label>
  299. <value>03</value>
  300. </item>
  301. <item>
  302. <label>주사</label>
  303. <value>04</value>
  304. </item>
  305. <item>
  306. <label>마취</label>
  307. <value>05</value>
  308. </item>
  309. <item>
  310. <label>이학</label>
  311. <value>06</value>
  312. </item>
  313. <item>
  314. <label>정신</label>
  315. <value>07</value>
  316. </item>
  317. <item>
  318. <label>수술</label>
  319. <value>08</value>
  320. </item>
  321. <item>
  322. <label>검사</label>
  323. <value>09</value>
  324. </item>
  325. <item>
  326. <label>방사선</label>
  327. <value>10</value>
  328. </item>
  329. <item>
  330. <label>특수</label>
  331. <value>SS</value>
  332. </item>
  333. <item>
  334. <label>Pet CT</label>
  335. <value>PCT</value>
  336. </item>
  337. <item>
  338. <label>CT</label>
  339. <value>CT</value>
  340. </item>
  341. <item>
  342. <label>혈액</label>
  343. <value>BLD</value>
  344. </item>
  345. <item>
  346. <label>기타</label>
  347. <value>ETC</value>
  348. </item>
  349. <item>
  350. <label>정액</label>
  351. <value>ZZ</value>
  352. </item>
  353. </choices>
  354. </col>
  355. <col ref="ediamta" format="#,###" style="text-align:right; "/>
  356. <col ref="cutcnta" format="#,###" style="text-align:right; "/>
  357. <col ref="realcutamta" format="#,###" style="text-align:right; "/>
  358. <col ref="cutpera" format="#,###.00" style="text-align:right; "/>
  359. <col ref="cuttotpera" format="#,###.00" style="text-align:right; "/>
  360. <col ref="ediamti" format="#,###" style="text-align:right; "/>
  361. <col ref="cutcnti" format="#,###" style="text-align:right; "/>
  362. <col ref="realcutamti" format="#,###" style="text-align:right; "/>
  363. <col ref="cutperi" format="#,###.00" style="text-align:right; "/>
  364. <col ref="cuttotperi" format="#,###.00" style="text-align:right; "/>
  365. <col ref="ediamto" format="#,###" style="text-align:right; "/>
  366. <col ref="cutcnto" format="#,###" style="text-align:right; "/>
  367. <col ref="realcutamto" format="#,###" style="text-align:right; "/>
  368. <col ref="cutpero" format="#,###.00" style="text-align:right; "/>
  369. <col ref="cuttotpero" format="#,###.00" style="text-align:right; "/>
  370. </datagrid>
  371. <caption id="caption5" style="left:200px; top:55px; width:160px; height:20px; ">※청구월 기준 조회 입니다.</caption>
  372. </group>
  373. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; "/>
  374. <group id="group1" scroll="auto" style="left:0px; top:755px; width:1195px; height:28px; ">
  375. <button id="button45" class="btn4_letter2" style="left:1138px; top:5px; width:56px; height:22px; ">
  376. <caption>닫기</caption>
  377. <script type="javascript" ev:event="onclick">
  378. <![CDATA[
  379. window.close();
  380. ]]>
  381. </script>
  382. </button>
  383. </group>
  384. </xhtml:body>
  385. </xhtml:html>