123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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="">
- <main>
- <list1>
- <summary/>
- </list1>
- <list2>
- <pat/>
- </list2>
- <list3>
- <day/>
- </list3>
- </main>
- <init>
- <!-- <sppid21600>
- <cond>
- <pid/>
- <indd/>
- <fromdd/>
- <todd/>
- <calcscorcd/>
- <insukindcd/>
- <insukind/>
- <suppkindcd/>
- <suppkind/>
- <ownbrate/>
- </cond>
- </sppid21600>-->
- <P0008list>
- <P0008>
- <cdnm>전체</cdnm>
- <cdid/>
- </P0008>
- </P0008list>
- <init_pam/>
- <judgrid/>
- </init>
- <hidden>
- </hidden>
- <temp>
- <insukind/>
- <fromdd/>
- <todd/>
- <orddeptcd/>
- <orddrid/>
- <insupynpy1/>
- <judgrid/>
- <ordtype>Y</ordtype>
- <brateflag>Y</brateflag>
- </temp>
- <init_pam>
- <init>
- <orddeptcd>
- <cd/>
- <nm/>
- <deptengabbr/>
- <reqdeptno/>
- </orddeptcd>
- <orddrid>
- <cd/>
- <nm/>
- <dp/>
- <sp/>
- </orddrid>
- </init>
- </init_pam>
- <send>
- <fromdd/>
- <todd/>
- <insukind/>
- <orddeptcd/>
- <orddrid/>
- <insupynpy1/>
- <judgrid/>
- <pid/>
- <indd/>
- <cretno/>
- <ordtype/>
- <brateflag/>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- model.setValue("/root/temp/fromdd",getCurrentDate());
- model.setValue("/root/temp/todd",getCurrentDate());
- submit("TRPID23105");
- submit("TRPAMCOM01");
- addComboItem("cmb_orddeptcd","전체","","above");
- ]]>
- </script>
- <submission id="TRPAMCOM01" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init_pam/init"/>
- <submission id="TRPID23105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/judgrid"/>
- <submission id="TRPID23102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/insukind"/>
- <submission id="TRPIJ02701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list3"/>
- <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRPIJ02702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list2"/>
- <submission id="TRPIJ02703" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list1"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.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/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../pam/calcscormngtweb/js/PIC001.js"/>
- <script type="javascript">
- <![CDATA[
- function fInitialize(){
- zbcfGetCodeList(new Array("P0008"),new Array("/root/init/P0008list"),false);
- opt_insupynpy1.visible = false; //전체,전액본인,일반(옵션)
- caption12.visible = false; //비급여구분(라벨)
- model.refresh();
- }
-
- function fSave(flag) {
- //alert(flag);
- model.makeValue("/root/send/updatedata/histstat", flag);
-
- if (submit("TXPID23100") == true) {
- //btn_srch.dispatch("onclick"); //저장처리 후, 내역 재조회(조회 이벤트 호출)
- }
- }
-
- // 청구년월 증감 함수
- function CalMonth(idc, av_date)
- {
- var lv_date = av_date.toDate("YYYYMM" + "01");
- lv_date = lv_date.getAddDate(idc, "M")
-
- return lv_date.getDateFormat("YYYYMM");
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1210" pageheight="752" guideline="1,1007;1,1025;1,1038;1,-17;1,1095;1,1008;1,1011;1,1012;1,1083;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:1160px; height:690px; ">
- <caption id="caption10" class="tit_2" style="left:5px; top:5px; width:183px; height:14px; ">급여구분별 진료비 구성현황</caption>
- <group id="group2" style="left:5px; top:20px; width:1150px; height:65px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrerct_search" appearance="roundrect" style="left:5px; top:0px; width:1145px; height:65px; "/>
- <button id="btn_srch" class="btn1_letter2" style="left:1080px; top:20px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- if(model.getValue("/root/temp/fromdd") == "" || model.getValue("/root/temp/todd") == ""){
- messageBox("퇴원일자는", "I003");
- return;
- }
-
- var dateDif = getDateInterval(model.getValue("/root/temp/fromdd"), model.getValue("/root/temp/todd"));
- if (dateDif < 0) {
- messageBox("검색 시작일자가 종료일자 보다 이후", "E008"); ///검색 시작일자가 종료일자 보다 이후 입니다.
- return;
- }
- else if (dateDif > 14) {
- messageBox("검색기간은 최대 2주(14일)", "E008"); ///검색기간은 최대 2주(14일) 입니다.
- return;
- }
- model.setValue("/root/send/orddeptcd","");
- model.setValue("/root/send/orddrid","");
- model.setValue("/root/send/judgrid","");
- model.setValue("/root/send/pid","");
- model.setValue("/root/send/indd","");
- model.setValue("/root/send/cretno","");
-
- model.setValue("/root/send/fromdd",model.getValue("/root/temp/fromdd").removeMask('\n'));
- model.setValue("/root/send/todd",model.getValue("/root/temp/todd").removeMask('\n'));
- model.setValue("/root/send/insukind",model.getValue("/root/temp/insukind").removeMask('\n'));
- model.setValue("/root/send/orddeptcd",model.getValue("/root/temp/orddeptcd").removeMask('\n'));
- model.setValue("/root/send/orddrid",model.getValue("/root/temp/orddrid").removeMask('\n'));
- model.setValue("/root/send/insupynpy1",model.getValue("/root/temp/insupynpy1").removeMask('\n'));
- model.setValue("/root/send/judgrid",model.getValue("/root/temp/judgrid").removeMask('\n'));
- model.setValue("/root/send/ordtype",model.getValue("/root/temp/ordtype").removeMask('\n'));
- model.setValue("/root/send/brateflag",model.getValue("/root/temp/brateflag").removeMask('\n'));
- if (swt_fee.selectedIndex == 0 ) { //요약탭
- model.removeNodeset("/root/main/list1/summary");
- model.refresh();
- submit("TRPIJ02703");
- for(var i = 2; i<grd_summary.rows; i++){
- grd_summary.cellStyle('background-color', i, 10) = "#ffff00";
- grd_summary.cellStyle('background-color', i, 11) = "#ffff00";
- }
- } else if(swt_fee.selectedIndex == 1){ //일자탭
- model.removeNodeset("/root/main/list3/day");
- model.refresh();
- submit("TRPIJ02701");
- } else if(swt_fee.selectedIndex == 2){ //환자탭
- model.removeNodeset("/root/main/list2/pat");
- model.refresh();
- submit("TRPIJ02702");
- for(var j = 2; j<grdpatlist.rows; j++){
- grdpatlist.cellStyle('background-color', j, 12) = "#ffff00";
- grdpatlist.cellStyle('background-color', j, 13) = "#ffff00";
- }
- }
-
- ]]>
- </script>
- </button>
- <caption id="caption5" class="search_name" style="left:15px; top:6px; width:86px; height:17px; ">퇴원일자 :</caption>
- <input id="ipt_fromdd" ref="/root/temp/fromdd" class="input_search" inputtype="date" style="left:113px; top:5px; width:85px; height:19px; "/>
- <caption id="caption6" style="left:200px; top:5px; width:11px; height:18px; ">~</caption>
- <input id="ipt_todd" ref="/root/temp/todd" class="input_search" inputtype="date" style="left:215px; top:5px; width:85px; height:19px; "/>
- <!-- rdo_mchrgcode : 세부계산내역 조회용이 아닌 "코드조회" 에 사용될 수가코드 검색용 Radio 구분임 -->
- <caption id="caption7" class="search_name" style="left:350px; top:5px; width:100px; height:17px; ">보험유형 :</caption>
- <line id="line1" class="line_4" style="x1:1060px; y1:5px; x2:1060px; y2:57px; "/>
- <caption id="caption9" class="search_name" style="left:818px; top:5px; width:86px; height:17px; ">진료의사 :</caption>
- <caption id="caption11" class="search_name" style="left:594px; top:5px; width:77px; height:17px; ">진료과 :</caption>
- <select1 id="cmb_orddeptcd" ref="/root/temp/orddeptcd" class="combo_search" appearance="minimal" style="left:680px; top:5px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init_pam/init/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var varorddeptcd= cmb_orddeptcd.value;
- cmb_orddrid.choices.itemset.attribute("nodeset") = "/root/init_pam/init/orddrid[dp = '" + cmb_orddeptcd.value + "']";
- if (varorddeptcd == null || varorddeptcd == "" || varorddeptcd == " " || varorddeptcd == "-"){
- model.setValue("/root/temp/orddrid", "");
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_orddrid" ref="/root/temp/orddrid" class="combo_search" appearance="minimal" style="left:913px; top:5px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init_pam/init/orddrid">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var orddeptcd = model.getValue("/root/temp/orddeptcd");
-
- if (orddeptcd == null || orddeptcd == "" || orddeptcd == " " || orddeptcd == "-")
- {
- messageBox("진료과 선택을 먼저 하십시요!","E999","");
- model.setValue("/root/temp/orddrid","");
- //cmb_orddrid.dispatch("xforms-value-changed");
- model.refresh();
- model.setFocus("cmb_orddeptcd");
- return;
- }
- ]]>
- </script>
- </select1>
- <select1 id="cmb_preinsukind" ref="/root/temp/insukind" class="combo_search" appearance="minimal" style="left:450px; top:5px; width:105px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0008list/P0008">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- ]]>
- </script>
- </select1>
- <caption id="caption3" class="search_name" style="left:350px; top:30px; width:75px; height:17px; ">심사자 :</caption>
- <select1 id="cmb_judgrid" ref="/root/temp/judgrid" class="combo_search" appearance="minimal" style="left:450px; top:30px; width:105px; height:19px; ">
- <choices>
- <itemset nodeset="/root/temp/judgrid">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="opt_insupynpy1" ref="/root/temp/insupynpy1" appearance="full" cols="5" rows="1" overflow="visible" style="left:122px; top:35px; width:180px; height:15px; font-weight:bold; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>전액본인</label>
- <value>1</value>
- </item>
- <item>
- <label>비급여</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <select id="chkOrdType" ref="/root/temp/ordtype" overflow="visible" appearance="full" style="left:596px; top:35px; width:140px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>응급실퇴원 제외</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chkBrateFlag" ref="/root/temp/brateflag" overflow="visible" appearance="full" style="left:816px; top:35px; width:150px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>6시간퇴원 제외</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <caption id="caption12" class="search_name" style="left:15px; top:35px; width:104px; height:17px; ">비급여 구분 :</caption>
- </group>
- <button id="btn_summary" class="btn_sw" group="tab" selected="true" style="left:6px; top:95px; width:65px; height:22px; ">
- <caption>요약</caption>
- <toggle case="case_outrgst" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- swt_fee.selectedIndex = 0;
- opt_insupynpy1.visible = false; //전체,전액본인,일반(옵션)
- caption12.visible = false; //비급여구분(라벨)
- //btn_srch.dispatch("onclick");
- ]]>
- </script>
- </button>
- <button id="btn_pat" class="btn_sw" group="tab" selected="false" style="left:73px; top:95px; width:65px; height:22px; ">
- <caption>환자별</caption>
- <toggle case="case_outupdt" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- swt_fee.selectedIndex = 2;
- opt_insupynpy1.visible = false; //전체,전액본인,일반(옵션)
- caption12.visible = false; //비급여구분(라벨)
- //btn_srch.dispatch("onclick");
- ]]>
- </script>
- </button>
- <switch id="swt_fee" style="left:5px; top:115px; width:1150px; height:570px; border-color:#c7a3cf; border-style:solid; ">
- <case id="case_summary" selected="true">
- <line id="line17" class="line_1" style="x1:0px; y1:25px; x2:1145px; y2:25px; "/>
- <button id="btn_cnclexcel" class="btn2_letter4" style="left:1065px; top:5px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grd_summary.rows > 1) {
- var fileName = window.fileDialog("save", "", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") {
- grd_summary.saveExcel(fileName, "sheetname:;colhiddenextend:false;rowhiddenextend:false;", true, true, "", "", true);
- }
- } else {
- messageBox("엑셀저장할 대상자가", "I004"); ///엑셀저장할 대상자가 없습니다.
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_summary" nodeset="/root/main/list1/summary" caption="진료과^진료의^심사자^총진료비^급여총액^비급여총액^비급여액^전액본인^선택진료^급여비^비급여비^비급여중비율^비급여중비율^비급여중비율^orddeptcd^orddrid^judgrid1|진료과^진료의^심사자^총진료비^급여총액^비급여총액^비급여액^전액본인^선택진료^급여비^비급여비^비급여^전액본인^선택^orddeptcd^orddrid^judgrid1" colsep="^" colwidth="57, 57, 57, 77, 77, 77, 77, 77, 77, 55, 55, 55, 55, 55, 100, 100, 100" ellipsis="true" explorerbar="sortshowmove" frozencols="3" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:30px; width:1145px; height:475px; ">
- <col ref="deptnm" style="text-align:center; "/>
- <col ref="drname" style="text-align:center; "/>
- <col ref="judgrid" style="text-align:center; "/>
- <col ref="total" format="#,###" style="text-align:right; "/>
- <col ref="payamt" format="#,###" style="text-align:right; "/>
- <col ref="totnopy" format="#,###" style="text-align:right; "/>
- <col ref="nopyamt" format="#,###" style="text-align:right; "/>
- <col ref="allownownbamt" format="#,###" style="text-align:right; "/>
- <col ref="specamt" format="#,###" style="text-align:right; "/>
- <col ref="divpayamt" style="text-align:right; "/>
- <col ref="divtotnopy" style="text-align:right; "/>
- <col ref="divnopyamt" style="text-align:right; "/>
- <col ref="divallownownbamt" style="text-align:right; "/>
- <col ref="divspecamt" style="text-align:right; "/>
- <col ref="orddeptcd" visibility="hidden"/>
- <col ref="orddrid" visibility="hidden"/>
- <col ref="judgrid1" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var row = grd_summary.row - 1;
-
- if( isDataCell() && row > 0 ){
- model.setValue("/root/send/fromdd",model.getValue("/root/temp/fromdd").removeMask('\n'));
- model.setValue("/root/send/todd",model.getValue("/root/temp/todd").removeMask('\n'));
- model.setValue("/root/send/insukind",model.getValue("/root/temp/insukind").removeMask('\n'));
- model.setValue("/root/send/orddeptcd",model.getValue("/root/temp/orddeptcd").removeMask('\n'));
- model.setValue("/root/send/orddrid",model.getValue("/root/temp/orddrid").removeMask('\n'));
- model.setValue("/root/send/insupynpy1",model.getValue("/root/temp/insupynpy1").removeMask('\n'));
- model.setValue("/root/send/judgrid",model.getValue("/root/temp/judgrid").removeMask('\n'));
-
- model.setValue("/root/send/orddeptcd",model.getValue("/root/main/list1/summary[" + row + "]/orddeptcd"));
- model.setValue("/root/send/orddrid",model.getValue("/root/main/list1/summary[" + row + "]/orddrid"));
- model.setValue("/root/send/judgrid",model.getValue("/root/main/list1/summary[" + row + "]/judgrid1"));
- submit("TRPIJ02702");
- for(var j = 2; j<grdpatlist.rows; j++){
- grdpatlist.cellStyle('background-color', j, 12) = "#ffff00";
- grdpatlist.cellStyle('background-color', j, 13) = "#ffff00";
- }
- swt_fee.selectedIndex = 2;
- btn_summary.selected = false;
- btn_pat.selected = true;
- btn_day.selected = false;
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_summary.gridToInstance(); // Sort 된 Grid 상의 Data 순서와 Instance Node 상의 Data 순서를 동일하게 맞춰준다.
- ]]>
- </script>
- </datagrid>
- <caption id="caption8" style="left:5px; top:510px; width:589px; height:15px; ">[참고] 총진료비 = 급여총액+ 비급여총액 비급여총액 = 비급여액(일반처방 SUM)+ 전액본인 +선택진료</caption>
- </case>
- <case id="case_day" style="vertical-align:top; ">
- <line id="line3" class="line_1" style="x1:0px; y1:30px; x2:1145px; y2:30px; "/>
- <button id="button1" class="btn2_letter4" style="left:1075px; top:5px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grddaylist.rows > 1) {
- var fileName = window.fileDialog("save", "", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") {
- grddaylist.saveExcel(fileName, "sheetname:;colhiddenextend:false;rowhiddenextend:false;", true, true, "", "", true);
- }
- } else {
- messageBox("엑셀저장할 대상자가", "I004"); ///엑셀저장할 대상자가 없습니다.
- }
- ]]>
- </script>
- </button>
- <caption id="caption1" style="left:5px; top:515px; width:814px; height:15px; ">
- <![CDATA[[참고1] 계산수량 : 투여량*횟수*일수 금액 :가산액포함 비급여총액 : 금액+선택진료비 @ : 전액본인 가능한 고시 약제
- ]]>
- </caption>
- <datagrid id="grddaylist" nodeset="/root/main/list3/day" class="datagrid2" visibility="visible" caption="등록번호^수진자^유형^보조^입원일^퇴원일^항^목^G^그룹코드^싱글코드^@^한글명^급비^단가^계산수량^금액^선택진료비^비급여총액^진료과^진료의^심사자|등록번호^수진자^유형^보조^입원일^퇴원일^항^목^G^그룹코드^싱글코드^@^한글명^급비^단가^계산수량^금액^선택진료비^비급여총액^진료과^진료의^심사자" colsep="^" colwidth="54, 46, 19, 19, 68, 68, 19, 18, 17, 67, 68, 19, 179, 27, 56, 31, 56, 56, 56, 48, 49, 49" explorerbar="sortshowmove" frozencols="6" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:30px; width:1145px; height:480px; ">
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="insukind" format="yyyy-mm" style="text-align:center; "/>
- <col ref="suppkind" style="text-align:center; "/>
- <col ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="grupcalcscorcls1" style="text-align:center; "/>
- <col ref="grupcalcscorcls2" style="text-align:center; "/>
- <col ref="grupflag" style="text-align:center; "/>
- <col ref="grupcalcscorcd" style="text-align:left; "/>
- <col ref="snglcalcscorcd" style="text-align:left; "/>
- <col ref="insupynpy1" style="text-align:center; "/>
- <col ref="code_hngnm" style="text-align:left; "/>
- <col ref="calcpayflag" style="text-align:center; "/>
- <col ref="appunitcost" format="#,###" style="text-align:right; "/>
- <col ref="calcqty" style="text-align:center; "/>
- <col ref="amt" format="#,###" style="text-align:right; "/>
- <col ref="specamt" format="#,###" style="text-align:right; "/>
- <col ref="total" format="#,###" style="text-align:right; "/>
- <col ref="deptnm" style="text-align:center; "/>
- <col ref="drname" style="text-align:center; "/>
- <col ref="judgrid" style="text-align:center; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
-
-
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grddaylist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <line id="line2" class="line_1" style="x1:0px; y1:25px; x2:1145px; y2:25px; "/>
- <caption id="caption2" style="left:0px; top:530px; width:350px; height:15px; ">
- <![CDATA[ [참고2] 급여처방 및 계산내역상 0원처리 된 처방 제외
- ]]>
- </caption>
- </case>
- <case id="case_pat">
- <line id="line4" class="line_1" style="x1:0px; y1:25px; x2:1145px; y2:25px; "/>
- <button id="button2" class="btn2_letter4" style="left:1075px; top:5px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grdpatlist.rows > 1) {
- var fileName = window.fileDialog("save", "", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") {
- grdpatlist.saveExcel(fileName, "sheetname:;colhiddenextend:false;rowhiddenextend:false;", true, true, "", "", true);
- }
- } else {
- messageBox("엑셀저장할 대상자가", "I004"); ///엑셀저장할 대상자가 없습니다.
- }
- ]]>
- </script>
- </button>
- <caption id="caption4" style="left:5px; top:515px; width:589px; height:15px; ">[참고] 총진료비 = 급여총액+ 비급여총액 비급여총액 = 비급여액(일반처방 SUM)+ 전액본인 +선택진료</caption>
- <datagrid id="grdpatlist" nodeset="/root/main/list2/pat" class="datagrid2" visibility="visible" caption="등록번호^수진자^유형^보조^입원일^퇴원일^총진료비^급여총액^비급여총액^비급여액^전액본인^선택진료^급여비^비급여비^비급여중 비율^비급여중 비율^비급여중 비율^진료과^진료의^심사자^cretno|등록번호^수진자^유형^보조^입원일^퇴원일^총진료비^급여총액^비급여총액^비급여액^전액본인^선택진료^급여비^비급여비^비급여^전액본인^선택^진료과^진료의^심사자^cretno" colsep="^" colwidth="58, 47, 25, 25, 77, 77, 74, 71, 71, 71, 71, 68, 45, 45, 45, 55, 45, 53, 56, 55, 100" explorerbar="sortshowmove" frozencols="5" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:30px; width:1145px; height:480px; ">
- <col ref="pid" style="text-align:right; "/>
- <col ref="hngnm" style="text-align:right; "/>
- <col ref="insukind" format="yyyy-mm" style="text-align:right; "/>
- <col ref="suppkind" style="text-align:right; "/>
- <col ref="indd" format="yyyy-mm-dd" style="text-align:right; "/>
- <col ref="dschdd" format="yyyy-mm-dd" style="text-align:right; "/>
- <col ref="total" format="#,###" style="text-align:right; "/>
- <col ref="payamt" format="#,###" style="text-align:right; "/>
- <col ref="totnopy" format="#,###" style="text-align:right; "/>
- <col ref="nopyamt" format="#,###" style="text-align:right; "/>
- <col ref="allownownbamt" format="#,###" style="text-align:right; "/>
- <col ref="specamt" format="#,###" style="text-align:right; "/>
- <col ref="divpayamt" style="text-align:right; "/>
- <col ref="divtotnopy" style="text-align:right; "/>
- <col ref="divnopyamt" style="text-align:right; "/>
- <col ref="divallownownbamt" style="text-align:right; "/>
- <col ref="divspecamt" style="text-align:right; "/>
- <col ref="deptnm" style="text-align:right; "/>
- <col ref="drname" style="text-align:right; "/>
- <col ref="judgrid" style="text-align:right; "/>
- <col ref="cretno" visibility="hidden" style="text-align:right; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var row = grdpatlist.row - 1;
-
- if( isDataCell() && row > 0 ){
- model.setValue("/root/send/fromdd",model.getValue("/root/temp/fromdd").removeMask('\n'));
- model.setValue("/root/send/todd",model.getValue("/root/temp/todd").removeMask('\n'));
- model.setValue("/root/send/insukind",model.getValue("/root/temp/insukind").removeMask('\n'));
- model.setValue("/root/send/orddeptcd",model.getValue("/root/temp/orddeptcd").removeMask('\n'));
- model.setValue("/root/send/orddrid",model.getValue("/root/temp/orddrid").removeMask('\n'));
- model.setValue("/root/send/insupynpy1",model.getValue("/root/temp/insupynpy1").removeMask('\n'));
- model.setValue("/root/send/judgrid",model.getValue("/root/temp/judgrid").removeMask('\n'));
- model.setValue("/root/send/pid",model.getValue("/root/main/list2/pat[" + row + "]/pid"));
- model.setValue("/root/send/indd",model.getValue("/root/main/list2/pat[" + row + "]/indd"));
- model.setValue("/root/send/cretno",model.getValue("/root/main/list2/pat[" + row + "]/cretno"));
- submit("TRPIJ02701");
- swt_fee.selectedIndex = 1;
- btn_summary.selected = false;
- btn_pat.selected = false;
- btn_day.selected = true;
- caption12.visible = true; //비급여구분(라벨)
- opt_insupynpy1.visible = true; //전체,전액본인,일반(옵션)
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grdpatlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- <button id="btn_day" class="btn_sw" group="tab" selected="false" style="left:140px; top:95px; width:65px; height:22px; ">
- <caption>일자별</caption>
- <toggle case="case_outcncl" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- swt_fee.selectedIndex = 1;
- opt_insupynpy1.visible = true; //전체,전액본인,일반(옵션)
- caption12.visible = true; //비급여구분(라벨)
- //btn_srch.dispatch("onclick");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|