SMPIF90100_심사자별청구삭감현황.xrw 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * @(#)SMPIF90100_심사자별 청구삭감현황.xrw
  4. * 수정이력
  5. * - 2010.08.11 / 최초작성 / 김상민
  6. ************************************************
  7. -->
  8. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  9. <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">
  10. <xhtml:head>
  11. <xhtml:title>심사자별 청구삭감현황</xhtml:title>
  12. <model id="model1">
  13. <instance id="instance1">
  14. <root xmlns="">
  15. <main>
  16. <list1>
  17. <gridclamcut>
  18. <judgrnm/>
  19. <clamym/>
  20. <orddeptabbr/>
  21. <deptcd/>
  22. <totclamcnt/>
  23. <totclamamt/>
  24. <totcutamt/>
  25. <totincutamt/>
  26. <totoutcutamt/>
  27. <totcut1/>
  28. <totcut2/>
  29. <intotcnt/>
  30. <intotamt/>
  31. <intotcutamt/>
  32. <incut/>
  33. <inincutamt/>
  34. <indrugcutamt/>
  35. <outtotcnt/>
  36. <outtotamt/>
  37. <outcutamt/>
  38. <outcut/>
  39. <outincutamt/>
  40. <outdrugcutamt/>
  41. </gridclamcut>
  42. <out_cmmt>
  43. <cmmt/>
  44. </out_cmmt>
  45. </list1>
  46. </main>
  47. <send>
  48. <clamymfrom/>
  49. <clamymto/>
  50. <clamflag/>
  51. <ioflag/>
  52. <insukind/>
  53. <basedd2/>
  54. <in_cond1/>
  55. <in_cond2/>
  56. <judgrid/>
  57. <in_cond3/>
  58. <cmmt_type/>
  59. <sclamflag/>
  60. <sinsukind/>
  61. </send>
  62. <init>
  63. <U0001list/>
  64. </init>
  65. </root>
  66. </instance>
  67. <script type="javascript" ev:event="xforms-ready">
  68. <![CDATA[
  69. // 화면 초기화
  70. fInitialize();
  71. ]]>
  72. </script>
  73. <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  74. <submission id="TRPIB00603" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/U0001list"/>
  75. <submission id="TRPIF90101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list1"/>
  76. </model>
  77. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  78. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  79. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  80. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  81. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  82. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  83. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  84. <script type="javascript">
  85. <![CDATA[
  86. // 화면 초기화
  87. function fInitialize()
  88. {
  89. //rdo_code.value = "calcscorcd"; // 수가 선택
  90. model.removeNodeset("/root/main/list1/gridclamcut"); // 그리드 초기화
  91. submit("TRPIB00603"); // 심사자 콤보리스트
  92. // 청구년월, 차수 셋팅 시작
  93. var today = new Date();
  94. var baseyear = today.getDateFormat("YYYY"); // (dateHelper.js)에서 제공하는 함수를 사용하여 해당 년를 구한다.
  95. var basemonth = today.getDateFormat("MM");
  96. var currentym = baseyear + basemonth;
  97. model.setValue("/root/send/clamymfrom",currentym);
  98. model.setValue("/root/send/clamymto",currentym);
  99. ipt_clamymfrom.refresh();
  100. ipt_clamymto.refresh();
  101. var curDate = getCurrentDate();
  102. model.setValue("/root/send/basedd2", curDate);
  103. cb_cond2_3.value = "0,3";
  104. checkbox1.value = "11";
  105. rdo_ioflag.value = "A";
  106. model.setValue("/root/send/in_cond3", "1");
  107. model.refresh();
  108. }
  109. // 조회
  110. function fSearch()
  111. {
  112. var chk_clamymfrom = model.getValue("/root/send/clamymfrom");
  113. var chk_clamymto = model.getValue("/root/send/clamymto");
  114. if ( chk_clamymfrom == "" || chk_clamymto == "")
  115. {
  116. messageBox("조회기준 일자는 ", "I003");
  117. model.setFocus("chk_clamymfrom");
  118. return;
  119. }
  120. var af = model.getValue("/root/send/clamflag");
  121. var bf = model.getValue("");
  122. var cf = model.getValue("/root/send/insukind");
  123. var df = model.getValue("");
  124. model.resetInstanceNode("/root/send/sclamflag");
  125. model.resetInstanceNode("/root/send/sinsukind");
  126. var afcnt = af.length;
  127. var cfcnt = cf.length;
  128. //청구형태 세팅
  129. if(model.getValue("/root/send/clamflag") != " " || model.getValue("/root/send/clamflag") != "" ) {
  130. bf = af.replace("^", "','");
  131. bf = af.replace(",", "','");
  132. for(var i=1; i < afcnt; i++){
  133. bf = bf.replace("^", "','");
  134. if(bf.substr(0,1) != "'"){
  135. bf = "'" + bf + "'";
  136. }
  137. }
  138. }
  139. model.setValue("/root/send/sclamflag", bf);
  140. //보험유형 세팅
  141. if(model.getValue("/root/send/insukind") != " " || model.getValue("/root/send/insukind") != "" ) {
  142. df = cf.replace("^", "','");
  143. df = cf.replace(",", "','");
  144. for(var i=1; i < cfcnt; i++){
  145. df = df.replace("^", "','");
  146. if(df.substr(0,1) != "'"){
  147. df = "'" + df + "'";
  148. }
  149. }
  150. }
  151. model.setValue("/root/send/sinsukind", df);
  152. var in_cond1 = model.getValue("/root/send/in_cond1");
  153. var in_cond2 = model.getValue("/root/send/in_cond2");
  154. //보류건 및 반송건 체크 세팅
  155. if(in_cond1 == "Y" && in_cond2 == "Y"){
  156. model.setValue("/root/send/cmmt_type", "A");
  157. }else if(in_cond1 == "Y" && in_cond2 != "Y"){
  158. model.setValue("/root/send/cmmt_type", "B");
  159. }else if(in_cond1 != "Y" && in_cond2 == "Y"){
  160. model.setValue("/root/send/cmmt_type", "C");
  161. }else{
  162. model.setValue("/root/send/cmmt_type", "D");
  163. }
  164. submit("TRPIF90101");
  165. }
  166. ]]>
  167. </script>
  168. </xhtml:head>
  169. <xhtml:body pagewidth="1211" pageheight="784" guideline="1,1213;2,784;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  170. <group id="group1" style="left:0px; top:0px; width:1190px; height:13px; ">
  171. <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:173px; height:14px; ">심사자별 청구삭감현황</caption>
  172. </group>
  173. <group id="group2" scroll="no" style="left:0px; top:13px; width:1190px; height:762px; ">
  174. <group id="group4" style="left:0px; top:10px; width:1190px; height:120px; vertical-align:top; ">
  175. <shape id="roundrect2" appearance="roundrect" style="left:0px; top:0px; width:1190px; height:120px; "/>
  176. <caption id="caption5" class="search_name" style="left:5px; top:10px; width:86px; height:17px; ">조회기준 :</caption>
  177. <input id="ipt_clamymfrom" ref="/root/send/clamymfrom" class="input_search" navindex="1" inputtype="date" format="yyyy-mm" style="left:200px; top:10px; width:75px; height:19px; ">
  178. <script type="javascript" ev:event="xforms-value-changed">
  179. <![CDATA[
  180. model.setValue("/root/send/clamymto",model.getValue("/root/send/clamymfrom"));
  181. ]]>
  182. </script>
  183. </input>
  184. <line id="line2" class="line_4" style="x1:1109px; y1:5px; x2:1109px; y2:109px; "/>
  185. <button id="button1" class="btn1_letter2" navindex="2" style="left:1120px; top:50px; width:56px; height:22px; ">
  186. <caption>조회</caption>
  187. <script type="javascript" ev:event="DOMActivate">
  188. <![CDATA[
  189. fSearch();
  190. ]]>
  191. </script>
  192. </button>
  193. <caption id="caption9" class="search_name" style="left:835px; top:10px; width:76px; height:17px; ">내원유형</caption>
  194. <select1 id="rdo_ioflag" ref="/root/send/ioflag" class="combo_search" appearance="minimal" style="left:915px; top:10px; width:100px; height:19px; ">
  195. <choices>
  196. <item>
  197. <label>전체</label>
  198. <value>A</value>
  199. </item>
  200. <item>
  201. <label>입원</label>
  202. <value>I</value>
  203. </item>
  204. <item>
  205. <label>외래</label>
  206. <value>O</value>
  207. </item>
  208. </choices>
  209. </select1>
  210. <input id="ipt_clamymto" ref="/root/send/clamymto" class="input_search" navindex="1" inputtype="date" format="yyyy-mm" style="left:295px; top:10px; width:75px; height:19px; ">
  211. <script type="javascript" ev:event="xforms-value-changed">
  212. <![CDATA[
  213. ]]>
  214. </script>
  215. </input>
  216. <caption id="caption2" style="left:280px; top:10px; width:15px; height:20px; ">~</caption>
  217. <caption id="caption15" class="search_name" style="left:835px; top:50px; width:73px; height:17px; ">심사자</caption>
  218. <select1 id="combo1" ref="/root/send/judgrid" navindex="1" appearance="minimal" style="left:915px; top:50px; width:100px; height:19px; ">
  219. <choices>
  220. <itemset nodeset="/root/init/U0001list/U0001">
  221. <label ref="cdnm"/>
  222. <value ref="cdid"/>
  223. </itemset>
  224. </choices>
  225. </select1>
  226. <select id="checkbox1" ref="/root/send/insukind" navindex="1" overflow="visible" appearance="full" cols="4" sep="^" style="left:96px; top:50px; width:235px; height:20px; border-style:none; ">
  227. <choices>
  228. <item>
  229. <label>건강보험</label>
  230. <value>11</value>
  231. </item>
  232. <item>
  233. <label>의료급여</label>
  234. <value>21,22</value>
  235. </item>
  236. <!-- 자보 조회조건 삭제 2011.04.29 김광성
  237. <item>
  238. <label>자보</label>
  239. <value>31</value>
  240. </item>
  241. -->
  242. <item>
  243. <label>산재</label>
  244. <value>41</value>
  245. </item>
  246. </choices>
  247. </select>
  248. <caption id="caption3" class="search_name" style="left:6px; top:49px; width:96px; height:17px; ">보험유형 :</caption>
  249. <select id="cb_cond2_3" ref="/root/send/clamflag" navindex="1" overflow="visible" appearance="full" cols="4" sep="^" style="left:513px; top:10px; width:277px; height:19px; ">
  250. <choices>
  251. <item>
  252. <label>원청구</label>
  253. <value>0,3</value>
  254. </item>
  255. <item>
  256. <label>누락청구</label>
  257. <value>4</value>
  258. </item>
  259. <item>
  260. <label>추가청구</label>
  261. <value>2</value>
  262. </item>
  263. <item>
  264. <label>보완청구</label>
  265. <value>1</value>
  266. </item>
  267. </choices>
  268. </select>
  269. <caption id="cp_text2_3" class="search_name" style="left:420px; top:10px; width:90px; height:17px; ">청구형태 :</caption>
  270. <select id="cb_cond7_8" ref="/root/send/in_cond1" navindex="1" overflow="visible" appearance="full" cols="4" sep="^" style="left:609px; top:50px; width:90px; height:19px; ">
  271. <choices>
  272. <item>
  273. <label>보류건 제외</label>
  274. <value>Y</value>
  275. </item>
  276. </choices>
  277. </select>
  278. <select id="cb_cond9_8" ref="/root/send/in_cond2" navindex="1" overflow="visible" appearance="full" cols="4" sep="^" style="left:694px; top:50px; width:90px; height:19px; ">
  279. <choices>
  280. <item>
  281. <label>반송건 제외</label>
  282. <value>Y</value>
  283. </item>
  284. </choices>
  285. </select>
  286. <caption id="cp_text9_8" class="search_name" style="left:421px; top:50px; width:90px; height:17px; ">기준일시</caption>
  287. <input id="cb_cond4_8" ref="/root/send/basedd2" class="input_search" navindex="2" inputtype="date" format="yyyy-mm-dd" style="left:514px; top:50px; width:90px; height:19px; text-align:center; ">
  288. <script type="javascript" ev:event="xforms-value-changed">
  289. <![CDATA[
  290. ]]>
  291. </script>
  292. </input>
  293. <output id="output1" ref="/root/main/list1/out_cmmt/cmmt" style="left:55px; top:90px; width:975px; height:19px; "/>
  294. <select1 id="combo2" ref="/root/send/in_cond3" appearance="minimal" style="left:96px; top:10px; width:100px; height:19px; ">
  295. <choices>
  296. <item>
  297. <label>청구년월</label>
  298. <value>1</value>
  299. </item>
  300. <item>
  301. <label>미수년월</label>
  302. <value>2</value>
  303. </item>
  304. </choices>
  305. </select1>
  306. </group>
  307. <button id="button2" class="btn2_letter4" style="left:1121px; top:136px; width:64px; height:19px; ">
  308. <caption>엑셀저장</caption>
  309. <script type="javascript" ev:event="DOMActivate">
  310. <![CDATA[
  311. if (grdclamcut.rows > 1) {
  312. var fileName = window.fileDialog("save", "", false, "심사자별 청구삭감현황_" + getCurrentDate(), "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  313. if (fileName != "") {
  314. grdclamcut.saveExcel(fileName, "sheetname:;colhiddenextend:false;rowhiddenextend:false;", true, true, "", "", true);
  315. }
  316. } else {
  317. messageBox("엑셀저장할 대상이 ", "I004"); ///엑셀저장할 대상자가 없습니다.
  318. }
  319. ]]>
  320. </script>
  321. </button>
  322. <datagrid id="grdclamcut" nodeset="/root/main/list1/gridclamcut" class="datagrid2" caption="심사자명^청구월^진료과^진료과^전체^전체^전체^전체^전체^전체^전체^입원^입원^입원^입원^입원^입원^외래^외래^외래^외래^외래^외래|심사자명^청구월^진료과^진료과^청구건수^총진료비^삭감액계^원내삭감^윈외삭감^삭감율1^삭감율2^청구건수^총진료비^삭감액전체^삭감율2^원내삭감^원외삭감^청구건수^총진료비^삭감액전체^삭감율2^원내삭감^원외삭감" colsep="^" colwidth="80, 75, 45, 120, 70, 100, 90, 90, 90, 60, 60, 70, 100, 90, 60, 90, 90, 70, 100, 90, 60, 90, 90" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:155px; width:1190px; height:565px; ">
  323. <col disabled="true" ref="judgrnm"/>
  324. <col disabled="true" ref="clamym"/>
  325. <col disabled="true" ref="orddeptabbr"/>
  326. <col disabled="true" ref="deptcd"/>
  327. <col disabled="true" ref="totclamcnt"/>
  328. <col disabled="true" ref="totclamamt"/>
  329. <col disabled="true" ref="totcutamt"/>
  330. <col disabled="true" ref="totincutamt"/>
  331. <col disabled="true" ref="totoutcutamt"/>
  332. <col disabled="true" ref="totcut1"/>
  333. <col disabled="true" ref="totcut2"/>
  334. <col disabled="true" ref="intotcnt"/>
  335. <col disabled="true" ref="intotamt"/>
  336. <col disabled="true" ref="intotcutamt"/>
  337. <col disabled="true" ref="incut"/>
  338. <col disabled="true" ref="inincutamt"/>
  339. <col disabled="true" ref="indrugcutamt"/>
  340. <col disabled="true" ref="outtotcnt"/>
  341. <col disabled="true" ref="outtotamt"/>
  342. <col disabled="true" ref="outcutamt"/>
  343. <col disabled="true" ref="outcut"/>
  344. <col disabled="true" ref="outincutamt"/>
  345. <col disabled="true" ref="outdrugcutamt"/>
  346. </datagrid>
  347. <caption id="caption4" style="left:5px; top:730px; width:970px; height:20px; font-size:10pt; font-weight:bold; color:#ff0000; ">*삭감율1:(원내삭감액/청구총진료비)*100 *삭감율2: (원내+원외 삭감액)/청구총진료비*100</caption>
  348. </group>
  349. </xhtml:body>
  350. </xhtml:html>