123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPPIF80204" position="absolute 0 0 1210 787" titletext="과별삭감현황조회" oninit="SPPIF80204_oninit" onload="SPPIF80204_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 1 13 1196 757" id="grp_biz" scrollbars="autoboth" anchor="all">
- <Layouts>
- <Layout>
- <Div position="absolute 0 11 1194 49" align="align:center top;" id="grp_sea" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Button position="absolute 1123 7 1179 29" id="button1" class="btn1" text="조회" anchor="top right" onclick="grp_biz_grp_sea_button1_onclick"/>
- <Shape position="absolute 1095 7 1101 29" linetype="vertical" id="line13" class="line_4" anchor="top right"/>
- <Calendar position="absolute 93 10 163 29" id="ipt_fromdd" class="input_search" mask="yyyy-mm" anchor="default" dateformat="yyyy-MM" value="null" editformat="yyyy-MM" onchanged="grp_biz_grp_sea_ipt_fromdd_onchanged"/>
- <Static text="청구기간 :" position="absolute 15 11 101 28" id="caption13" class="search_name" anchor="default"/>
- <Static text="~" position="absolute 165 10 185 30" id="caption3" anchor="default"/>
- <Calendar position="absolute 178 10 248 29" id="ipt_todd" class="input_search" mask="yyyy-mm" anchor="default" dateformat="yyyy-MM" value="null" editformat="yyyy-MM" onchanged="grp_biz_grp_sea_ipt_todd_onchanged"/>
- <Static text="진료과 :" position="absolute 667 10 742 27" id="caption1" class="search_name" anchor="default"/>
- <Static text="보험유형 :" position="absolute 270 12 360 29" id="caption2" class="search_name" anchor="default"/>
- <Static text="청구분야 :" position="absolute 882 10 991 27" id="caption4" class="search_name" anchor="default"/>
- <Combo position="absolute 734 9 849 28" id="combo1" class="combo_search" innerdataset="@ds_init_list_deptlist" datacolumn="depthngnm" codecolumn="deptcd" anchor="default"/>
- <Combo position="absolute 965 9 1080 28" id="cmb_judgrid" class="combo_search" innerdataset="@ds_init_P0458list" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
- <cp_checkboxList id="checkbox1" titletext="CheckBox List" taborder="1" text="cp_checkboxList00" scrollbars="none" position="absolute 356 9 630 31" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Button position="absolute 1115 57 1195 76" id="button12" class="btn7" text="엑셀저장" anchor="top right" onclick="grp_biz_button12_onclick"/>
- <Shape position="absolute -1 76 1194 82" linetype="horizontal" id="line2" class="line_1" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
- <Static text="과별삭감현황조회" position="absolute 0 60 265 83" id="caption10" class="tit_2" anchor="default"/>
- <Button position="absolute 1064 57 1114 76" id="button2" class="btn6" text="출력" anchor="top right" onclick="grp_biz_button2_onclick"/>
- <Grid position="absolute 0 81 1195 741" id="datagrid1" class="datagrid2" binddataset="ds_main_list_deptitemcutamtlist" anchor="all" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="45"/>
- <Column size="90"/>
- <Column size="85"/>
- <Column size="55"/>
- <Column size="85"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="90"/>
- <Column size="85"/>
- <Column size="55"/>
- <Column size="85"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="90"/>
- <Column size="85"/>
- <Column size="90"/>
- <Column size="55"/>
- <Column size="100"/>
- <Column size="44"/>
- <Column size="45"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- <Row size="24" band="summ"/>
- </Rows>
- <Band id="head">
- <Cell text="부서코드"/>
- <Cell col="1" rowspan="3" text="부서명" taborder="undefined"/>
- <Cell col="2" colspan="6" text="합계" taborder="undefined"/>
- <Cell col="8" colspan="6" text="입원" taborder="undefined"/>
- <Cell col="14" colspan="9" text="외래" taborder="undefined"/>
- <Cell row="1" text="부서코드"/>
- <Cell row="1" col="2" rowspan="2" text="청구 건수" taborder="undefined"/>
- <Cell row="1" col="3" rowspan="2" text="청구총진료비" taborder="undefined"/>
- <Cell row="1" col="4" rowspan="2" text="청구액" taborder="undefined"/>
- <Cell row="1" col="5" rowspan="2" text="삭감건수" taborder="undefined"/>
- <Cell row="1" col="6" rowspan="2" text="삭감액" taborder="undefined"/>
- <Cell row="1" col="7" rowspan="2" text="삭감율" taborder="undefined"/>
- <Cell row="1" col="8" rowspan="2" text="청구 건수" taborder="undefined"/>
- <Cell row="1" col="9" rowspan="2" text="청구총진료비" taborder="undefined"/>
- <Cell row="1" col="10" rowspan="2" text="청구액" taborder="undefined"/>
- <Cell row="1" col="11" rowspan="2" text="삭감건수" taborder="undefined"/>
- <Cell row="1" col="12" rowspan="2" text="삭감액" taborder="undefined"/>
- <Cell row="1" col="13" rowspan="2" text="삭감율" taborder="undefined"/>
- <Cell row="1" col="14" rowspan="2" text="청구 건수" taborder="undefined"/>
- <Cell row="1" col="15" rowspan="2" text="청구총진료비" taborder="undefined"/>
- <Cell row="1" col="16" rowspan="2" text="청구액" taborder="undefined"/>
- <Cell row="1" col="17" rowspan="2" text="삭감액소계 (원내+원외)" taborder="undefined"/>
- <Cell row="1" col="18" colspan="3" text="원내" taborder="undefined"/>
- <Cell row="1" col="21" rowspan="2" text="환수 건수" taborder="undefined"/>
- <Cell row="1" col="22" rowspan="2" text="원외환수액" taborder="undefined"/>
- <Cell row="2" text="부서코드"/>
- <Cell row="2" col="18" text="삭감건수"/>
- <Cell row="2" col="19" text="삭감액"/>
- <Cell row="2" col="20" text="삭감율"/>
- </Band>
- <Band id="body">
- <Cell text="bind:judgrid"/>
- <Cell col="1" style="align:left middle;" text="bind:judgrnm"/>
- <Cell col="2" displaytype="number" text="bind:totcnt"/>
- <Cell col="3" displaytype="number" text="bind:totamt"/>
- <Cell col="4" displaytype="number" text="bind:clamamt"/>
- <Cell col="5" displaytype="number" text="bind:adjtcnt"/>
- <Cell col="6" displaytype="number" text="bind:adjtamt"/>
- <Cell col="7" displaytype="number" text="bind:adjtamtper"/>
- <Cell col="8" displaytype="number" text="bind:totcnt_i"/>
- <Cell col="9" displaytype="number" text="bind:totalamt_i"/>
- <Cell col="10" displaytype="number" text="bind:clamamt_i"/>
- <Cell col="11" displaytype="number" text="bind:totadjtcnt_i"/>
- <Cell col="12" displaytype="number" text="bind:totadjtamt_i"/>
- <Cell col="13" displaytype="number" text="bind:totadjtamt_iper"/>
- <Cell col="14" displaytype="number" text="bind:totcnt_o"/>
- <Cell col="15" displaytype="number" text="bind:totalamt_o"/>
- <Cell col="16" displaytype="number" text="bind:clamamt_o"/>
- <Cell col="17" displaytype="number" text="bind:totadjtamt_o"/>
- <Cell col="18" displaytype="number" text="bind:adjtcnt_in"/>
- <Cell col="19" displaytype="number" text="bind:adjtamt_in"/>
- <Cell col="20" displaytype="number" text="bind:adjtamt_inper"/>
- <Cell col="21" displaytype="number" text="bind:adjtcnt_out"/>
- <Cell col="22" displaytype="number" text="bind:adjtamt_out"/>
- </Band>
- <Band id="summary">
- <Cell/>
- <Cell col="1" style="align:left middle;" text="합계"/>
- <Cell col="2" displaytype="number" style="align:right middle;" text="expr:getSum('totcnt')"/>
- <Cell col="3" displaytype="number" style="align:right middle;" text="expr:getSum('totamt')"/>
- <Cell col="4" displaytype="number" style="align:right middle;" text="expr:getSum('clamamt')"/>
- <Cell col="5" displaytype="number" style="align:right middle;" text="expr:getSum('adjtcnt')"/>
- <Cell col="6" displaytype="number" style="align:right middle;" text="expr:getSum('adjtamt')"/>
- <Cell col="7" displaytype="number" style="align:right middle;" text="expr:getSum('adjtamtper')"/>
- <Cell col="8" displaytype="number" style="align:right middle;" text="expr:getSum('totcnt_i')"/>
- <Cell col="9" displaytype="number" style="align:right middle;" text="expr:getSum('totalamt_i')"/>
- <Cell col="10" displaytype="number" style="align:right middle;" text="expr:getSum('clamamt_i')"/>
- <Cell col="11" displaytype="number" style="align:right middle;" text="expr:getSum('totadjtcnt_i')"/>
- <Cell col="12" displaytype="number" style="align:right middle;" text="expr:getSum('totadjtamt_i')"/>
- <Cell col="13" displaytype="number" style="align:right middle;" text="expr:getSum('totadjtamt_iper')"/>
- <Cell col="14" displaytype="number" style="align:right middle;" text="expr:getSum('totcnt_o')"/>
- <Cell col="15" displaytype="number" style="align:right middle;" text="expr:getSum('totalamt_o')"/>
- <Cell col="16" displaytype="number" style="align:right middle;" text="expr:getSum('clamamt_o')"/>
- <Cell col="17" displaytype="number" style="align:right middle;" text="expr:getSum('totadjtamt_o')"/>
- <Cell col="18" displaytype="number" style="align:right middle;" text="expr:getSum('adjtcnt_in')"/>
- <Cell col="19" displaytype="number" style="align:right middle;" text="expr:getSum('adjtamt_in')"/>
- <Cell col="20" displaytype="number" style="align:right middle;" text="expr:getSum('adjtamt_inper')"/>
- <Cell col="21" displaytype="number" style="align:right middle;" text="expr:getSum('adjtcnt_out')"/>
- <Cell col="22" displaytype="number" style="align:right middle;" text="expr:getSum('adjtamt_out')"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="※청구월 기준 조회 입니다." position="absolute 130 55 290 75" id="caption5" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 757 1195 784" id="grp_btn" anchor="left right bottom">
- <Layouts>
- <Layout width="1195" height="27"/>
- </Layouts>
- </Div>
- <Div position="absolute 1 751 1196 779" id="group1" scrollbars="autoboth" anchor="left right bottom">
- <Layouts>
- <Layout>
- <Button position="absolute 1138 5 1194 27" id="button45" class="btn4" text="닫기" anchor="right bottom" onclick="group1_button45_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="과별삭감현황조회" class="tit_1" position="absolute 1 0 249 23"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_chk_checkbox1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">건강보험</Col>
- <Col id="value">11</Col>
- </Row>
- <Row>
- <Col id="label">의료급여1종</Col>
- <Col id="value">21</Col>
- </Row>
- <Row>
- <Col id="label">의료급여2종</Col>
- <Col id="value">22</Col>
- </Row>
- <Row>
- <Col id="label">산재</Col>
- <Col id="value">41</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="insukind" type="STRING" size="256"/>
- <Column id="ordfildcd" type="STRING" size="256"/>
- <Column id="judgrid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="ioflag">I</Col>
- <Col id="insukind">11^21^22^41</Col>
- <Col id="ordfildcd">-</Col>
- <Col id="judgrid"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_list_deptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="depthngnm" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_P0458list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_list_deptitemcutamtlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="judgrid" type="STRING" size="256" sumtext="부서명"/>
- <Column id="judgrnm" type="STRING" size="256" sumtext="부서명"/>
- <Column id="totcnt" type="STRING" size="256" sumtext="항목명"/>
- <Column id="totamt" type="STRING" size="256" sumtext="총진료비"/>
- <Column id="clamamt" type="STRING" size="256" sumtext="삼감건수"/>
- <Column id="adjtamt" type="STRING" size="256" sumtext="삼감건수"/>
- <Column id="adjtamtper" type="STRING" size="256" sumtext="삼감건수"/>
- <Column id="totcnt_i" type="STRING" size="256" sumtext="실삭감액"/>
- <Column id="totalamt_i" type="STRING" size="256" sumtext="삭감율"/>
- <Column id="clamamt_i" type="STRING" size="256" sumtext="삭감구성비"/>
- <Column id="totadjtamt_i" type="STRING" size="256" sumtext="총진료비"/>
- <Column id="totadjtamt_iper" type="STRING" size="256" sumtext="총진료비"/>
- <Column id="totcnt_o" type="STRING" size="256" sumtext="삼감건수"/>
- <Column id="totalamt_o" type="STRING" size="256" sumtext="실삭감액"/>
- <Column id="clamamt_o" type="STRING" size="256" sumtext="삭감율"/>
- <Column id="totadjtamt_o" type="STRING" size="256" sumtext="실삭감액"/>
- <Column id="adjtcnt_in" type="STRING" size="256" sumtext="삭감구성비"/>
- <Column id="adjtamt_in" type="STRING" size="256" sumtext="총진료비"/>
- <Column id="adjtamt_inper" type="STRING" size="256" sumtext="총진료비"/>
- <Column id="adjtcnt_out" type="STRING" size="256" sumtext="삼감건수"/>
- <Column id="adjtamt_out" type="STRING" size="256" sumtext="실삭감액"/>
- <Column id="adjtcnt" type="STRING" size="256" sumtext="실삭감액"/>
- <Column id="totadjtcnt_i" type="STRING" size="256" sumtext="실삭감액"/>
- <Column id="totadjtcnt_o" type="STRING" size="256" sumtext="실삭감액"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_biz.grp_sea.ipt_fromdd" propid="value" datasetid="ds_send" columnid="fromdd"/>
- <BindItem id="item1" compid="grp_biz.grp_sea.ipt_todd" propid="value" datasetid="ds_send" columnid="todd"/>
- <BindItem id="item2" compid="grp_biz.grp_sea.combo1" propid="value" datasetid="ds_send" columnid="judgrid"/>
- <BindItem id="item3" compid="grp_biz.grp_sea.cmb_judgrid" propid="value" datasetid="ds_send" columnid="ordfildcd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-05-24
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-05-24 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "pam_pamcomnxp::PAM001.xjs";
- include "pam_pamcomnxp::PAM.xjs";
- function SPPIF80204_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPPIF80204_onload(obj:Form, e:LoadEventInfo)
- {
- var sProp="col=4,row=1,cellspacing=4,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow='visible'";
- grp_biz.grp_sea.checkbox1.setInitComp(sProp, ds_chk_checkbox1,"value","label","fn_cmpEvent");
-
- grp_biz.grp_sea.checkbox1.setCheckAll(false);//초기화
- var insukind = ds_send.getColumn(0, "insukind");
- grp_biz.grp_sea.checkbox1.setData(utlf_transNullToEmpty(insukind).split("^"), "", false);
-
- CommCode_Load();
-
- ds_main_list_deptitemcutamtlist.clearData();
-
- ds_send.setColumn(0, "fromdd", String(utlf_getCurrentDate()).substr(0,6));
- ds_send.setColumn(0, "todd", String(utlf_getCurrentDate()).substr(0,6));
-
- frmf_addComboItem("grp_biz.grp_sea.cmb_judgrid","의과전체","A","above");
- }
- function fn_cmpEvent()
- {
- var insukind = grp_biz.grp_sea.checkbox1.getData();
- ds_send.setColumn(0, "insukind", chk);
- }
- function CommCode_Load()
- {
- dsf_createDsRow("ds_tmp", [ {col:"instcd", type:"STRING", size:256, val: sysf_getUserInfo("dutplceinstcd")}
- , {col:"ordfildcd", type:"STRING", size:256, val: ""}
- , {col:"ordflag", type:"STRING", size:256, val: ""}]);
-
- var oParam = {};
- oParam.id = "TRPIJ00203";
- oParam.service = "bfjudgapp.InHospJudgTrgtMan";
- oParam.method = "reqGetDeptList";
- oParam.inds = "req=ds_tmp";
- oParam.outds = "ds_init_list1_deptlist=deptlist";
- oParam.async = false;
- //oParam.callback = "cf_TRPIJ00203";
- tranf_submit(oParam);
-
- var arrParam = [{dsNm: "ds_init_P0028list", cdGrpId: "P0028"}
- ,{dsNm: "ds_init_P0155list", cdGrpId: "P0155"}
- ,{dsNm: "ds_init_M0530list", cdGrpId: "M0530"}
- ,{dsNm: "ds_init_M0029list", cdGrpId: "M0029"}
- ,{dsNm: "ds_init_P0443list", cdGrpId: "P0443"}
- ,{dsNm: "ds_init_P0458list", cdGrpId: "P0458"}]
-
- appf_getCodeList(arrParam);
- }
- function grp_biz_grp_sea_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- var oParam = {};
- oParam.id = "TRPIF80105";
- oParam.service = "clamuncoapp.ClamUnco";
- oParam.method = "reqGetJudgrAllCutamtList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_list_deptitemcutamtlist=deptitemcutamtlist";
- oParam.async = true;
- oParam.callback = "responseHandlerTRPIF80205";
- tranf_submit(oParam);
- }
- function responseHandlerTRPIF80205()
- {
- frmf_closeLoadingBar();
- }
- function grp_biz_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "/root/main/list/deptitemcutamtlist", ds_main_list_deptitemcutamtlist);
- rptf_setNodeListToDOM(objDOM, "/root/send", ds_send);
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
-
- var option =// "open=1;save=1;directprint=0;printdialog=0;print=1;zoom=0;";
-
- rptf_exeReportPreview30(["RPPIF80202"],[objParam], option);
- }
- function grp_biz_button12_onclick(obj:Button, e:ClickEventInfo)
- {
- if(ds_main_list_deptitemcutamtlist.rowcount == 0)
- {
- sysf_messageBox("엑셀저장할 내역이", "I004");
- }
- else
- {
- grdf_exportExcel(grp_biz.datagrid1, "과별삭감현황조회", "see");
- }
- }
- function group1_button45_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- function grp_biz_grp_sea_ipt_fromdd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- var date = obj.value;
-
- ds_send.setColumn(0, "fromdd", String(date).substr(0,6));
- ds_send.setColumn(0, "todd", String(date).substr(0,6));
- }
- function grp_biz_grp_sea_ipt_todd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- var date = obj.value;
-
- ds_send.setColumn(0, "todd", String(date).substr(0,6));
- }
- ]]></Script>
- </Form>
- </FDL>
|