123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <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">
- <xhtml:head>
- <xhtml:title>과별진료비삭감현황조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <send>
- <fromdd/>
- <todd/>
- <ioflag>I</ioflag>
- <insukind>'11','21','22','41'</insukind>
- <ordfildcd>!=</ordfildcd>
- </send>
- <main>
- <list>
- <deptcutamtlist>
- <instcd/>
- <orddeptcd/>
- <orddeptnm/>
- <totcnt/>
- <totalamt/>
- <cutcnt/>
- <totamt/>
- <item01/>
- <item02/>
- <item03/>
- <item04/>
- <itemblood/>
- <item05/>
- <item06/>
- <item07/>
- <item08/>
- <item09/>
- <item10/>
- <itemss/>
- <itemct/>
- <itemmri/>
- <itempetct/>
- <instcd/>
- <orddeptcd/>
- <orddeptnm/>
- <totcnt/>
- <totalamt/>
- <cutcnt/>
- <totamt/>
- <item01per/>
- <item02per/>
- <item03per/>
- <item04per/>
- <itembloodper/>
- <item05per/>
- <item06per/>
- <item07per/>
- <item08per/>
- <item09per/>
- <item10per/>
- <itemssper/>
- <itemctper/>
- <itemmriper/>
- <itempetctper/>
- </deptcutamtlist>
- </list>
- </main>
- <init>
- <P0028list>
- <P0028>
- <cdid/>
- <cdnm/>
- </P0028>
- </P0028list>
- <P0155list>
- <P0155>
- <cdid/>
- <cdnm/>
- </P0155>
- </P0155list>
- <M0530list>
- <M0530>
- <cdid/>
- <cdnm/>
- </M0530>
- </M0530list>
- <M0029list>
- <M0029>
- <cdid/>
- <cdnm/>
- </M0029>
- </M0029list>
- <P0443list/>
- <P0444list/>
- </init>
- <hidden>
- <U0001>
- <cd/>
- <nm>전체</nm>
- </U0001>
- <U0002list>
- <U0002>
- <cdid/>
- <cdnm/>
- </U0002>
- </U0002list>
- <sppmc02500>
- <cond>
- <srchcond/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <insukind/>
- </cond>
- </sppmc02500>
- <excel>
- <seqno/>
- <printno/>
- </excel>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- CommCode_Load();
-
- // 그리드 초기화(행을 모두 삭제한다.)
- model.removeNodeset("/root/main/list/deptcutamtlist");
- model.refresh();
-
- model.setValue("/root/send/fromdd", getCurrentDate());
- model.setValue("/root/send/todd", getCurrentDate());
- ipt_fromdd.refresh();
- ipt_todd.refresh();
-
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPIF80201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list"/>
- <submission id="TRPIJ00203" mediatype="application/x-www-form-urlencoded" method="post"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelperAsync.js"/>
- <script type="javascript" src="../../../com/instantmsgweb/js/ZMI001.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript">
- <![CDATA[
- // 공통코드 Load작업
- function CommCode_Load() {
- // 관련 Control 초기화
- zbcfGetCodeList(new Array("P0028", "P0155", "M0530","M0029","P0443", "P0444"), new Array("/root/init/P0028list", "/root/init/P0155list", "/root/init/M0530list", "/root/init/M0029list","/root/init/P0443list", "/root/init/P0444list"));
- }
- function responseHandlerTRPIF80201() {
- //copyNodeType("/root/main/list1","/root/hidden/list1","after");
- //model.removeNodeset("/root/hidden/list1/clbs");
- multilinegrid1.cellStyle("border-bottom-style",1,multilinegrid1.colRef("totamt"), multilinegrid1.rows-1 , multilinegrid1.colRef("totamt")) = "hidden";
- multilinegrid1.cellStyle("border-bottom-style",1,multilinegrid1.colRef("item01"), multilinegrid1.rows-1 , multilinegrid1.colRef("itempetct")) = "hidden";
- var totalamt = parseInt(model.getXPathValue("sum(/root/main/list/deptcutamtlist[*]/totalamt)"));
- var totcnt = parseInt(model.getXPathValue("sum(/root/main/list/deptcutamtlist[*]/totcnt)"));
- var cutcnt = parseInt(model.getXPathValue("sum(/root/main/list/deptcutamtlist[*]/cutcnt)"));
- var totamt = parseInt(model.getXPathValue("sum(/root/main/list/deptcutamtlist[*]/totamt)"));
- var item01 = parseInt(model.getXPathValue("sum(/root/main/list/deptcutamtlist[*]/item01)"));
- var item02 = parseInt(model.getXPathValue("sum(/root/main/list/deptcutamtlist[*]/item02)"));
- var item03 = parseInt(model.getXPathValue("sum(/root/main/list/deptcutamtlist[*]/item03)"));
- var item04 = parseInt(model.getXPathValue("sum(/root/main/list/deptcutamtlist[*]/item04)"));
- var itemblood = parseInt(model.getXPathValue("sum(/root/main/list/deptcutamtlist[*]/itemblood)"));
- var item05 = parseInt(model.getXPathValue("sum(/root/main/list/deptcutamtlist[*]/item05)"));
- var item06 = parseInt(model.getXPathValue("sum(/root/main/list/deptcutamtlist[*]/item06)"));
- var item07 = parseInt(model.getXPathValue("sum(/root/main/list/deptcutamtlist[*]/item07)"));
- var item08 = parseInt(model.getXPathValue("sum(/root/main/list/deptcutamtlist[*]/item08)"));
- var item09 = parseInt(model.getXPathValue("sum(/root/main/list/deptcutamtlist[*]/item09)"));
- var item10 = parseInt(model.getXPathValue("sum(/root/main/list/deptcutamtlist[*]/item10)"));
- var itemss = parseInt(model.getXPathValue("sum(/root/main/list/deptcutamtlist[*]/itemss)"));
- var itemct = parseInt(model.getXPathValue("sum(/root/main/list/deptcutamtlist[*]/itemct)"));
- var itemmri = parseInt(model.getXPathValue("sum(/root/main/list/deptcutamtlist[*]/itemmri)"));
- var itempetct = parseInt(model.getXPathValue("sum(/root/main/list/deptcutamtlist[*]/itempetct)"));
-
- multilinegrid1.addRow();
- var maxcnt = model.getXPathValue("count(/root/main/list/deptcutamtlist[*]/orddeptcd)") ;
-
- model.setXPathValue("/root/main/list/deptcutamtlist["+maxcnt+"]/orddeptcd", 0);
- model.setValue("/root/main/list/deptcutamtlist["+maxcnt+"]/orddeptnm", '총 합계');
- model.setXPathValue("/root/main/list/deptcutamtlist["+maxcnt+"]/totalamt", totalamt);
- model.setXPathValue("/root/main/list/deptcutamtlist["+maxcnt+"]/amtper", (totamt/totalamt*100).toFixed(2) );
- model.setXPathValue("/root/main/list/deptcutamtlist["+maxcnt+"]/totcnt", totcnt);
- model.setXPathValue("/root/main/list/deptcutamtlist["+maxcnt+"]/cutcnt", cutcnt);
- model.setXPathValue("/root/main/list/deptcutamtlist["+maxcnt+"]/totamt", totamt);
- model.setXPathValue("/root/main/list/deptcutamtlist["+maxcnt+"]/item01", item01);
- model.setXPathValue("/root/main/list/deptcutamtlist["+maxcnt+"]/item02", item02);
- model.setXPathValue("/root/main/list/deptcutamtlist["+maxcnt+"]/item03", item03);
- model.setXPathValue("/root/main/list/deptcutamtlist["+maxcnt+"]/item04", item04);
- model.setXPathValue("/root/main/list/deptcutamtlist["+maxcnt+"]/itemblood", itemblood);
- model.setXPathValue("/root/main/list/deptcutamtlist["+maxcnt+"]/item05", item05);
- model.setXPathValue("/root/main/list/deptcutamtlist["+maxcnt+"]/item06", item06);
- model.setXPathValue("/root/main/list/deptcutamtlist["+maxcnt+"]/item07", item07);
- model.setXPathValue("/root/main/list/deptcutamtlist["+maxcnt+"]/item08", item08);
- model.setXPathValue("/root/main/list/deptcutamtlist["+maxcnt+"]/item09", item09);
- model.setXPathValue("/root/main/list/deptcutamtlist["+maxcnt+"]/item10", item10);
- model.setXPathValue("/root/main/list/deptcutamtlist["+maxcnt+"]/itemss", itemss);
- model.setXPathValue("/root/main/list/deptcutamtlist["+maxcnt+"]/itemct", itemct);
- model.setXPathValue("/root/main/list/deptcutamtlist["+maxcnt+"]/itemmri", itemmri);
- model.setXPathValue("/root/main/list/deptcutamtlist["+maxcnt+"]/itempetct", itempetct);
- model.setXPathValue("/root/main/list/deptcutamtlist["+maxcnt+"]/item01per", (item01/totamt*100).toFixed(2) );
- model.setXPathValue("/root/main/list/deptcutamtlist["+maxcnt+"]/item02per", (item02/totamt*100).toFixed(2));
- model.setXPathValue("/root/main/list/deptcutamtlist["+maxcnt+"]/item03per", (item03/totamt*100).toFixed(2) );
- model.setXPathValue("/root/main/list/deptcutamtlist["+maxcnt+"]/item04per", (item04/totamt*100).toFixed(2) );
- model.setXPathValue("/root/main/list/deptcutamtlist["+maxcnt+"]/itembloodper", (itemblood/totamt*100).toFixed(2) );
- model.setXPathValue("/root/main/list/deptcutamtlist["+maxcnt+"]/item05per", (item05/totamt*100).toFixed(2));
- model.setXPathValue("/root/main/list/deptcutamtlist["+maxcnt+"]/item06per", (item06/totamt*100).toFixed(2));
- model.setXPathValue("/root/main/list/deptcutamtlist["+maxcnt+"]/item07per", (item07/totamt*100).toFixed(2));
- model.setXPathValue("/root/main/list/deptcutamtlist["+maxcnt+"]/item08per", (item08/totamt*100).toFixed(2) );
- model.setXPathValue("/root/main/list/deptcutamtlist["+maxcnt+"]/item09per", (item09/totamt*100).toFixed(2) );
- model.setXPathValue("/root/main/list/deptcutamtlist["+maxcnt+"]/item10per", (item10/totamt*100).toFixed(2) );
- model.setXPathValue("/root/main/list/deptcutamtlist["+maxcnt+"]/itemssper", (itemss/totamt*100).toFixed(2) );
- model.setXPathValue("/root/main/list/deptcutamtlist["+maxcnt+"]/itemctper", (itemct/totamt*100).toFixed(2) );
- model.setXPathValue("/root/main/list/deptcutamtlist["+maxcnt+"]/itemmriper", (itemmri/totamt*100).toFixed(2));
- model.setXPathValue("/root/main/list/deptcutamtlist["+maxcnt+"]/itempetctper", (itempetct/totamt*100).toFixed(2) );
-
- model.refresh();
-
- removeLoadingWindow();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body class="datagrid2" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:311px; height:15px; ">과별진료비삭감현황조회</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:38px; vertical-align:top; ">
- <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; "/>
- <button id="button1" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var sWindowMsg = "데이터 조회 중입니다...";
- callLoadingWindow(sWindowMsg);
-
- asyncSend("TRPIF80201", "/root/send", "/root/main/list", "responseHandlerTRPIF80201");
- //submit("TRPIF80201");
-
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1098px; y1:7px; x2:1098px; y2:29px; "/>
- <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" inputtype="date" format="yyyy-mm" style="left:75px; top:10x; width:70px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ipt_todd.value = ipt_fromdd.value.substr(0,6);
- model.refreshpart("/root/send/todd");
- ]]>
- </script>
- </input>
- <caption id="caption13" class="search_name" style="left:10px; top:9px; width:71px; height:17px; ">기간 :</caption>
- <caption id="caption3" style="left:147px; top:10px; width:20px; height:20px; ">~</caption>
- <input id="ipt_todd" ref="/root/send/todd" class="input_search" inputtype="date" format="yyyy-mm" style="left:160px; top:10px; width:70px; height:19px; "/>
- <caption id="caption1" class="search_name" style="left:237px; top:9x; width:90px; height:17px; ">내원유형 :</caption>
- <caption id="caption2" class="search_name" style="left:417px; top:9px; width:90px; height:17px; ">보험유형 :</caption>
- <caption id="caption4" class="search_name" style="left:688px; top:9px; width:90px; height:17px; ">분야 :</caption>
- <select1 id="radio1" ref="/root/send/ioflag" appearance="full" cols="2" overflow="visible" style="left:325px; top:10px; width:95px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- button1.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <select1 id="radio2" ref="/root/send/insukind" appearance="full" cols="4" overflow="visible" style="left:507px; top:10px; width:190px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>'11','21','22','41'</value>
- </item>
- <item>
- <label>보험</label>
- <value>'11'</value>
- </item>
- <item>
- <label>보호</label>
- <value>'21','22'</value>
- </item>
- <item>
- <label>산재</label>
- <value>'41'</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- button1.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <select1 id="radio3" ref="/root/send/ordfildcd" appearance="full" cols="2" overflow="visible" style="left:749px; top:10px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>의과</label>
- <value>!=</value>
- </item>
- <item>
- <label>치과</label>
- <value>=</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- button1.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- </group>
- <button id="button12" class="btn2_letter4" style="left:1130px; top:55px; width:64px; height:19px; ">
- <caption>액셀저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, '과별진료비삭감현황조회', "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") {
- multilinegrid1.saveExcel(fileName, "sheetname:sheet1;exporttype:multi");
- }
- ]]>
- </script>
- </button>
- <line id="line2" class="line_1" style="x1:0px; y1:75px; x2:1195px; y2:75px; "/>
- <caption id="caption10" class="tit_2" style="left:0px; top:58px; width:265px; height:15px; ">과별진료비삭감현황조회</caption>
- <multilinegrid id="multilinegrid1" nodeset="/root/main/list/deptcutamtlist" caption="진료과^총진료비^진료과^총진료비^총인원^총삭감액^삭감인원^진찰료^입원료^내복약^주사료^마취료^물리치료료^정신요법료^수술처치료^수혈료^검사료^방사선료^특수^CT료^MRI^Pet CT|진료과^총진료비^진료과^총진료비^총인원^총삭감액^삭감인원^진찰료^입원료^내복약^주사료^마취료^물리치료료^정신요법료^수술처치료^수혈료^검사료^방사선료^특수^CT료^MRI^Pet CT" colsep="^" colwidth="20, 17, 102, 80, 44, 70, 37, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70" rowheader="seq" rowsep="|" mergecellsfixedrows="bycolrec" style="left:0px; top:80px; width:1195px; height:650px; ">
- <row>
- <col ref="instcd" rowspan="2" visibility="hidden"/>
- <col ref="orddeptcd" rowspan="2" visibility="hidden"/>
- <col ref="orddeptnm" rowspan="2" style="text-align:left; vertical-align:top; "/>
- <col ref="totalamt" rowspan="2" format="#,###" style="text-align:right; vertical-align:top; "/>
- <col ref="totcnt" rowspan="2" format="#,###" style="text-align:right; vertical-align:top; "/>
- <col ref="totamt" format="#,###" style="text-align:right; border-bottom-color:#ffffff; border-bottom-style:hidden; "/>
- <col ref="cutcnt" rowspan="2" format="#,###" style="text-align:right; vertical-align:top; "/>
- <col ref="item01" format="#,###" style="text-align:right; border-bottom-color:#ffffff; "/>
- <col ref="item02" format="#,###" style="text-align:right; border-bottom-color:#ffffff; "/>
- <col ref="item03" format="#,###" style="text-align:right; border-bottom-color:#ffffff; "/>
- <col ref="item04" format="#,###" style="text-align:right; border-bottom-color:#ffffff; "/>
- <col ref="item05" format="#,###" style="text-align:right; border-bottom-color:#ffffff; "/>
- <col ref="item06" format="#,###" style="text-align:right; border-bottom-color:#ffffff; "/>
- <col ref="item07" format="#,###" style="text-align:right; border-bottom-color:#ffffff; "/>
- <col ref="item08" format="#,###" style="text-align:right; border-bottom-color:#ffffff; "/>
- <col ref="itemblood" format="#,###" style="text-align:right; border-bottom-color:#ffffff; border-top-style:none; "/>
- <col ref="item09" format="#,###" style="text-align:right; border-bottom-color:#ffffff; "/>
- <col ref="item10" format="#,###" style="text-align:right; border-bottom-color:#ffffff; "/>
- <col ref="itemss" format="#,###" style="text-align:right; border-bottom-color:#ffffff; "/>
- <col ref="itemct" format="#,###" style="text-align:right; border-bottom-color:#ffffff; "/>
- <col ref="itemmri" format="#,###" style="text-align:right; border-bottom-color:#ffffff; "/>
- <col ref="itempetct" format="#,###" style="text-align:right; border-bottom-color:#ffffff; "/>
- </row>
- <row>
- <col ref="amtper" format="###.00" style="text-align:right; border-top-color:#ffffff; border-top-style:hidden; "/>
- <col ref="item01per" format="###.00" style="text-align:right; border-top-color:#ffffff; "/>
- <col ref="item02per" format="###.00" style="text-align:right; border-top-color:#ffffff; "/>
- <col ref="item03per" format="###.00" style="text-align:right; border-top-color:#ffffff; "/>
- <col ref="item04per" format="###.00" style="text-align:right; border-top-color:#ffffff; "/>
- <col ref="item05per" format="###.00" style="text-align:right; border-top-color:#ffffff; "/>
- <col ref="item06per" format="###.00" style="text-align:right; border-top-color:#ffffff; "/>
- <col ref="item07per" format="###.00" style="text-align:right; border-top-color:#ffffff; "/>
- <col ref="item08per" format="###.00" style="text-align:right; border-top-color:#ffffff; "/>
- <col ref="itembloodper" format="###.00" style="text-align:right; border-top-color:#ffffff; border-top-style:none; "/>
- <col ref="item09per" format="###.00" style="text-align:right; border-top-color:#ffffff; "/>
- <col ref="item10per" format="###.00" style="text-align:right; border-top-color:#ffffff; "/>
- <col ref="itemssper" format="###.00" style="text-align:right; border-top-color:#ffffff; "/>
- <col ref="itemctper" format="###.00" style="text-align:right; border-top-color:#ffffff; "/>
- <col ref="itemmriper" format="###.00" style="text-align:right; border-top-color:#ffffff; "/>
- <col ref="itempetctper" format="###.00" style="text-align:right; border-top-color:#ffffff; "/>
- </row>
- </multilinegrid>
- <button id="button2" class="btn2_letter2" style="left:1087px; top:55px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- exeReportPreview("RPPIF80200", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; "/>
- <group id="group1" scroll="auto" style="left:0px; top:755px; width:1195px; height:28px; ">
- <button id="button45" class="btn4_letter2" style="left:1138px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|