123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPIJ02700" position="absolute 0 0 1150 675" titletext="급여구분별 진료비 구성현황" oninit="SMPIJ02700_oninit" onload="SMPIJ02700_onload">
- <Layouts>
- <Layout>
- <Static text="급여구분별 진료비 구성현황" position="absolute 0 0 199 22" id="caption10" class="tit_2" anchor="default"/>
- <Div position="absolute 0 17 1150 82" align="align:center top;" id="group2" anchor="left top right" class="div_SA">
- <Layouts>
- <Layout>
- <Button position="absolute 1080 20 1136 42" id="btn_srch" class="btn1" text="조회" anchor="top right" onclick="group2_btn_srch_onclick"/>
- <Static text="퇴원일자 :" position="absolute 15 9 101 26" id="caption5" class="search_name" anchor="default"/>
- <Static text="~" position="absolute 201 9 212 27" id="caption6" anchor="default"/>
- <Calendar position="absolute 215 7 306 27" id="ipt_todd" class="input_search" anchor="default" dateformat="yyyy-MM-dd" autoselect="true"/>
- <Static text="보험유형 :" position="absolute 350 8 450 25" id="caption7" class="search_name" anchor="default"/>
- <Shape position="absolute 1057 5 1063 57" linetype="vertical" id="line1" class="line_4" anchor="top right"/>
- <Static text="진료의사 :" position="absolute 818 11 904 28" id="caption9" class="search_name" anchor="default"/>
- <Static text="진료과 :" position="absolute 594 10 671 27" id="caption11" class="search_name" anchor="default"/>
- <Combo position="absolute 669 9 789 28" id="cmb_orddeptcd" class="combo_search" innerdataset="@ds_init_pam_init_orddeptcd" datacolumn="nm" codecolumn="cd" anchor="default" onitemchanged="group2_cmb_orddeptcd_onitemchanged"/>
- <Combo position="absolute 903 8 1023 27" id="cmb_orddrid" class="combo_search" innerdataset="@ds_init_pam_init_orddrid" datacolumn="nm" codecolumn="cd" anchor="default" onitemchanged="group2_cmb_orddrid_onitemchanged"/>
- <Combo position="absolute 450 7 555 26" id="cmb_preinsukind" class="combo_search" innerdataset="@ds_init_P0008list" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
- <Static text="심사자 :" position="absolute 350 33 425 50" id="caption3" class="search_name" anchor="default"/>
- <Combo position="absolute 450 33 555 52" id="cmb_judgrid" class="combo_search" innerdataset="@ds_temp_judgrid" datacolumn="nm" codecolumn="cd" anchor="default"/>
- <Radio position="absolute 115 35 295 50" id="opt_insupynpy1" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">
- </Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">전액본인</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">비급여</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <CheckBox position="absolute 596 35 736 50" id="chkOrdType" text="응급실퇴원 제외" anchor="default" truevalue="Y"/>
- <CheckBox position="absolute 816 32 966 52" id="chkBrateFlag" text="6시간퇴원 제외" anchor="default" truevalue="Y"/>
- <Static text="비급여 구분 :" position="absolute 15 35 119 52" id="caption12" class="search_name" anchor="default"/>
- <Calendar id="ipt_fromdd" taborder="1" position="absolute 107 7 198 27" dateformat="yyyy-MM-dd" autoselect="true" onchanged="group2_ipt_fromdd_onchanged"/>
- </Layout>
- </Layouts>
- </Div>
- <Tab id="swt_fee" anchor="all" taborder="1" onchanged="swt_fee_onchanged" tabindex="0" position="absolute 0 87 1150 675">
- <Tabpages>
- <Tabpage id="case_summary" text="요약">
- <Layouts>
- <Layout>
- <Shape id="line17" class="line_10" position="absolute 0 22 1145 28" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
- <Button id="btn_cnclexcel" taborder="1" text="엑셀저장" class="btn7" position="absolute 1065 3 1145 22" anchor="top right" onclick="swt_fee_case_summary_btn_cnclexcel_onclick"/>
- <Grid id="grd_summary" taborder="2" binddataset="ds_main_list1_summary" useinputpanel="false" autofittype="col" oncelldblclick="swt_fee_case_summary_grd_summary_oncelldblclick" position="absolute 0 27 1145 502" anchor="all" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="27"/>
- <Column size="57"/>
- <Column size="57"/>
- <Column size="57"/>
- <Column size="77"/>
- <Column size="77"/>
- <Column size="77"/>
- <Column size="77"/>
- <Column size="77"/>
- <Column size="77"/>
- <Column size="55"/>
- <Column size="55"/>
- <Column size="55"/>
- <Column size="55"/>
- <Column size="55"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" taborder="undefined"/>
- <Cell col="1" rowspan="2" text="진료과" taborder="undefined"/>
- <Cell col="2" rowspan="2" text="진료의" taborder="undefined"/>
- <Cell col="3" rowspan="2" text="심사자" taborder="undefined"/>
- <Cell col="4" rowspan="2" text="총진료비" taborder="undefined"/>
- <Cell col="5" rowspan="2" text="급여총액" taborder="undefined"/>
- <Cell col="6" rowspan="2" text="비급여총액" taborder="undefined"/>
- <Cell col="7" rowspan="2" text="비급여액" taborder="undefined"/>
- <Cell col="8" rowspan="2" text="전액본인" taborder="undefined"/>
- <Cell col="9" rowspan="2" text="선택진료" taborder="undefined"/>
- <Cell col="10" rowspan="2" text="급여비" taborder="undefined"/>
- <Cell col="11" rowspan="2" text="비급여비" taborder="undefined"/>
- <Cell col="12" colspan="3" text="비급여중비율" taborder="undefined"/>
- <Cell col="15" text="orddeptcd"/>
- <Cell col="16" text="orddrid"/>
- <Cell col="17" text="judgrid1"/>
- <Cell row="1" col="12" text="비급여"/>
- <Cell row="1" col="13" text="전액본인"/>
- <Cell row="1" col="14" text="선택"/>
- <Cell row="1" col="15" text="orddeptcd"/>
- <Cell row="1" col="16" text="orddrid"/>
- <Cell row="1" col="17" text="judgrid1"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" text="bind:deptnm"/>
- <Cell col="2" text="bind:drname"/>
- <Cell col="3" text="bind:judgrid"/>
- <Cell col="4" displaytype="number" text="bind:total"/>
- <Cell col="5" displaytype="number" text="bind:payamt"/>
- <Cell col="6" displaytype="number" text="bind:totnopy"/>
- <Cell col="7" displaytype="number" text="bind:nopyamt"/>
- <Cell col="8" displaytype="number" text="bind:allownownbamt"/>
- <Cell col="9" displaytype="number" text="bind:specamt"/>
- <Cell col="10" displaytype="number" style="background:#ffff00ff;background2:#ffff00ff;" text="bind:divpayamt"/>
- <Cell col="11" displaytype="number" style="background:#ffff00ff;background2:#ffff00ff;" text="bind:divtotnopy"/>
- <Cell col="12" text="bind:divnopyamt"/>
- <Cell col="13" text="bind:divallownownbamt"/>
- <Cell col="14" text="bind:divspecamt"/>
- <Cell col="15" text="bind:orddeptcd"/>
- <Cell col="16" text="bind:orddrid"/>
- <Cell col="17" text="bind:judgrid1"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption8" text="[참고] 총진료비 = 급여총액+ 비급여총액 비급여총액 = 비급여액(일반처방 SUM)+ 전액본인 +선택진료" position="absolute 5 510 594 525" anchor="left bottom"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case_pat" text="환자별">
- <Layouts>
- <Layout>
- <Shape id="line4" class="line_10" position="absolute 0 22 1145 28" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
- <Button id="button2" taborder="1" text="엑셀저장" class="btn7" position="absolute 1065 3 1145 22" anchor="top right" onclick="swt_fee_case_pat_button2_onclick"/>
- <Static id="caption4" text="[참고] 총진료비 = 급여총액+ 비급여총액 비급여총액 = 비급여액(일반처방 SUM)+ 전액본인 +선택진료" position="absolute 5 515 594 530" anchor="left right bottom"/>
- <Grid id="grdpatlist" class="datagrid2" taborder="2" useinputpanel="false" autofittype="col" oncelldblclick="swt_fee_case_pat_grdpatlist_oncelldblclick" position="absolute 0 27 1145 502" anchor="all" binddataset="ds_main_list2_pat" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="26"/>
- <Column size="58"/>
- <Column size="47"/>
- <Column size="25"/>
- <Column size="25"/>
- <Column size="77"/>
- <Column size="77"/>
- <Column size="74"/>
- <Column size="71"/>
- <Column size="71"/>
- <Column size="71"/>
- <Column size="71"/>
- <Column size="68"/>
- <Column size="45"/>
- <Column size="56"/>
- <Column size="45"/>
- <Column size="55"/>
- <Column size="45"/>
- <Column size="53"/>
- <Column size="56"/>
- <Column size="55"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" taborder="undefined"/>
- <Cell col="1" rowspan="2" text="등록번호" taborder="undefined"/>
- <Cell col="2" rowspan="2" text="수진자" taborder="undefined"/>
- <Cell col="3" rowspan="2" text="유형" taborder="undefined"/>
- <Cell col="4" rowspan="2" text="보조" taborder="undefined"/>
- <Cell col="5" rowspan="2" text="입원일" taborder="undefined"/>
- <Cell col="6" rowspan="2" text="퇴원일" taborder="undefined"/>
- <Cell col="7" rowspan="2" text="총진료비" taborder="undefined"/>
- <Cell col="8" rowspan="2" text="급여총액" taborder="undefined"/>
- <Cell col="9" rowspan="2" text="비급여총액" taborder="undefined"/>
- <Cell col="10" rowspan="2" text="비급여액" taborder="undefined"/>
- <Cell col="11" rowspan="2" text="전액본인" taborder="undefined"/>
- <Cell col="12" rowspan="2" text="선택진료" taborder="undefined"/>
- <Cell col="13" rowspan="2" text="급여비" taborder="undefined"/>
- <Cell col="14" rowspan="2" text="비급여비" taborder="undefined"/>
- <Cell col="15" colspan="3" text="비급여중 비율" taborder="undefined"/>
- <Cell col="18" rowspan="2" text="진료과" taborder="undefined"/>
- <Cell col="19" rowspan="2" text="진료의" taborder="undefined"/>
- <Cell col="20" rowspan="2" text="심사자" taborder="undefined"/>
- <Cell col="21" text="cretno"/>
- <Cell row="1" col="15" text="비급여"/>
- <Cell row="1" col="16" text="전액본인"/>
- <Cell row="1" col="17" text="선택"/>
- <Cell row="1" col="21" text="cretno"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" text="bind:pid"/>
- <Cell col="2" text="bind:hngnm"/>
- <Cell col="3" text="bind:insukind"/>
- <Cell col="4" text="bind:suppkind"/>
- <Cell col="5" displaytype="date" text="bind:indd" mask="yyyy-MM-dd"/>
- <Cell col="6" displaytype="date" text="bind:dschdd" mask="yyyy-MM-dd"/>
- <Cell col="7" displaytype="number" text="bind:total"/>
- <Cell col="8" displaytype="number" text="bind:payamt"/>
- <Cell col="9" displaytype="number" text="bind:totnopy"/>
- <Cell col="10" displaytype="number" text="bind:nopyamt"/>
- <Cell col="11" displaytype="number" text="bind:allownownbamt"/>
- <Cell col="12" displaytype="number" style="background:#ffff00ff;background2:#ffff00ff;" text="bind:specamt"/>
- <Cell col="13" displaytype="normal" style="background:#ffff00ff;background2:#ffff00ff;" text="bind:divpayamt"/>
- <Cell col="14" displaytype="normal" text="bind:divtotnopy"/>
- <Cell col="15" displaytype="normal" text="bind:divnopyamt"/>
- <Cell col="16" displaytype="number" text="bind:divallownownbamt"/>
- <Cell col="17" displaytype="number" text="bind:divspecamt"/>
- <Cell col="18" text="bind:deptnm"/>
- <Cell col="19" text="bind:drname"/>
- <Cell col="20" text="bind:judgrid"/>
- <Cell col="21" text="bind:cretno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case_day" text="일자별">
- <Layouts>
- <Layout>
- <Shape id="line3" linetype="vertical" class="line_1" position="absolute 0 27 1145 33"/>
- <Button id="button1" taborder="3" text="엑셀저장" class="btn7" position="absolute 1065 3 1145 22" anchor="top right" onclick="swt_fee_case_day_button1_onclick"/>
- <Static id="caption1" text="[참고1] 계산수량 : 투여량*횟수*일수 금액 :가산액포함 비급여총액 : 금액+선택진료비 @ : 전액본인 가능한 고시 약제 " onclick="swt_fee_case_day_caption1_onclick" position="absolute 5 505 835 536" anchor="left right bottom"/>
- <Grid id="grddaylist" class="datagrid2" taborder="4" binddataset="ds_main_list3_day" useinputpanel="false" autofittype="col" position="absolute 0 27 1145 502" anchor="all" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="54"/>
- <Column size="46"/>
- <Column size="24"/>
- <Column size="25"/>
- <Column size="68"/>
- <Column size="68"/>
- <Column size="22"/>
- <Column size="22"/>
- <Column size="17"/>
- <Column size="67"/>
- <Column size="67"/>
- <Column size="19"/>
- <Column size="179"/>
- <Column size="27"/>
- <Column size="56"/>
- <Column size="31"/>
- <Column size="56"/>
- <Column size="63"/>
- <Column size="71"/>
- <Column size="48"/>
- <Column size="49"/>
- <Column size="49"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" taborder="undefined"/>
- <Cell col="1" rowspan="2" text="등록번호" taborder="undefined"/>
- <Cell col="2" rowspan="2" text="수진자" taborder="undefined"/>
- <Cell col="3" rowspan="2" text="유 형" taborder="undefined"/>
- <Cell col="4" rowspan="2" text="보 조" taborder="undefined"/>
- <Cell col="5" rowspan="2" text="입원일" taborder="undefined"/>
- <Cell col="6" rowspan="2" text="퇴원일" taborder="undefined"/>
- <Cell col="7" rowspan="2" text="항" taborder="undefined"/>
- <Cell col="8" rowspan="2" text="목" taborder="undefined"/>
- <Cell col="9" rowspan="2" text="G" taborder="undefined"/>
- <Cell col="10" rowspan="2" text="그룹코드" taborder="undefined"/>
- <Cell col="11" rowspan="2" text="싱글코드" taborder="undefined"/>
- <Cell col="12" rowspan="2" text="@" taborder="undefined"/>
- <Cell col="13" rowspan="2" text="한글명" taborder="undefined"/>
- <Cell col="14" rowspan="2" text="급비" taborder="undefined"/>
- <Cell col="15" rowspan="2" text="단가" taborder="undefined"/>
- <Cell col="16" rowspan="2" text="계산 수량" taborder="undefined"/>
- <Cell col="17" rowspan="2" text="금액" taborder="undefined"/>
- <Cell col="18" rowspan="2" text="선택진료비" taborder="undefined"/>
- <Cell col="19" rowspan="2" text="비급여총액" taborder="undefined"/>
- <Cell col="20" rowspan="2" text="진료과" taborder="undefined"/>
- <Cell col="21" rowspan="2" text="진료의" taborder="undefined"/>
- <Cell col="22" rowspan="2" text="심사자" taborder="undefined"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" text="bind:pid"/>
- <Cell col="2" text="bind:hngnm"/>
- <Cell col="3" text="bind:insukind"/>
- <Cell col="4" text="bind:suppkind"/>
- <Cell col="5" displaytype="date" text="bind:indd" mask="yyyy-MM-dd"/>
- <Cell col="6" displaytype="date" text="bind:dschdd" mask="yyyy-MM-dd"/>
- <Cell col="7" text="bind:grupcalcscorcls1"/>
- <Cell col="8" text="bind:grupcalcscorcls2"/>
- <Cell col="9" text="bind:grupflag"/>
- <Cell col="10" text="bind:grupcalcscorcd"/>
- <Cell col="11" text="bind:snglcalcscorcd"/>
- <Cell col="12" text="bind:insupynpy1"/>
- <Cell col="13" style="align:left middle;" text="bind:code_hngnm"/>
- <Cell col="14" text="bind:calcpayflag"/>
- <Cell col="15" displaytype="number" text="bind:appunitcost"/>
- <Cell col="16" text="bind:calcqty"/>
- <Cell col="17" displaytype="number" text="bind:amt"/>
- <Cell col="18" displaytype="number" text="bind:specamt"/>
- <Cell col="19" displaytype="number" text="bind:total"/>
- <Cell col="20" text="bind:deptnm"/>
- <Cell col="21" text="bind:drname"/>
- <Cell col="22" text="bind:judgrid"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line2" class="line_10" position="absolute 0 22 1145 28" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
- <Static id="caption2" text=" [참고2] 급여처방 및 계산내역상 0원처리 된 처방 제외 " position="absolute 0 523 350 554" anchor="left bottom"/>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_P0008list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="false" 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_init_pam_init_orddeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="false" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_pam_init_orddrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_judgrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="orddrid" type="STRING" size="256"/>
- <Column id="judgrid" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="insukind" type="STRING" size="256"/>
- <Column id="insupynpy1" type="STRING" size="256"/>
- <Column id="ordtype" type="STRING" size="256"/>
- <Column id="brateflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_list1_summary" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptnm" type="STRING" size="256" sumtext="진료과"/>
- <Column id="drname" type="STRING" size="256" sumtext="주치의"/>
- <Column id="judgrid" type="STRING" size="256" sumtext="심사자"/>
- <Column id="total" type="STRING" size="256" sumtext="총진료비"/>
- <Column id="payamt" type="STRING" size="256" sumtext="급여총액"/>
- <Column id="totnopy" type="STRING" size="256" sumtext="비급여총액"/>
- <Column id="nopyamt" type="STRING" size="256" sumtext="비급여액"/>
- <Column id="allownownbamt" type="STRING" size="256" sumtext="전액본인"/>
- <Column id="specamt" type="STRING" size="256" sumtext="선택진료"/>
- <Column id="divpayamt" type="BIGDECIMAL" size="256" sumtext="급여비"/>
- <Column id="divtotnopy" type="BIGDECIMAL" size="256" sumtext="비급여비"/>
- <Column id="divnopyamt" type="BIGDECIMAL" size="256" sumtext="(비율)비급여비"/>
- <Column id="divallownownbamt" type="BIGDECIMAL" size="256" sumtext="(비율)전액본인"/>
- <Column id="divspecamt" type="BIGDECIMAL" size="256" sumtext="(비율)선택"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
- <Column id="orddrid" type="STRING" size="256" sumtext="주치의"/>
- <Column id="judgrid1" type="STRING" size="256" sumtext="심사자1"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_list2_pat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_list3_day" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="수진자"/>
- <Column id="insukind" type="STRING" size="256" sumtext="유형"/>
- <Column id="suppkind" type="STRING" size="256" sumtext="보조"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원일"/>
- <Column id="dschdd" type="STRING" size="256" sumtext="퇴원일"/>
- <Column id="grupcalcscorcls1" type="STRING" size="256" sumtext="그룹항"/>
- <Column id="grupcalcscorcls2" type="STRING" size="256" sumtext="그룹목"/>
- <Column id="grupflag" type="STRING" size="256" sumtext="G"/>
- <Column id="grupcalcscorcd" type="STRING" size="256" sumtext="그룹코드"/>
- <Column id="snglcalcscorcd" type="STRING" size="256" sumtext="싱글코드"/>
- <Column id="insupynpy1" type="STRING" size="256" sumtext="@"/>
- <Column id="code_hngnm" type="STRING" size="256" sumtext="한글명"/>
- <Column id="calcpayflag" type="STRING" size="256" sumtext="급비"/>
- <Column id="appunitcost" type="STRING" size="256" sumtext="단가"/>
- <Column id="calcqty" type="STRING" size="256" sumtext="계산수량"/>
- <Column id="amt" type="STRING" size="256" sumtext="금액"/>
- <Column id="specamt" type="STRING" size="256" sumtext="선택진료비"/>
- <Column id="total" type="STRING" size="256" sumtext="비급여총액"/>
- <Column id="deptnm" type="STRING" size="256" sumtext="진료과"/>
- <Column id="drname" type="STRING" size="256" sumtext="주치의"/>
- <Column id="judgrid" type="STRING" size="256" sumtext="심사자"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="insukind" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="orddrid" type="STRING" size="256"/>
- <Column id="insupynpy1" type="STRING" size="256"/>
- <Column id="judgrid" type="STRING" size="256"/>
- <Column id="ordtype" type="STRING" size="256"/>
- <Column id="brateflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="insukind"/>
- <Col id="orddeptcd"/>
- <Col id="orddrid"/>
- <Col id="insupynpy1"/>
- <Col id="judgrid"/>
- <Col id="ordtype">Y</Col>
- <Col id="brateflag">Y</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item1" compid="group2.ipt_todd" propid="value" datasetid="ds_temp" columnid="todd"/>
- <BindItem id="item2" compid="group2.cmb_preinsukind" propid="value" datasetid="ds_temp" columnid="insukind"/>
- <BindItem id="item3" compid="group2.cmb_orddrid" propid="value" datasetid="ds_temp" columnid="orddrid"/>
- <BindItem id="item4" compid="group2.opt_insupynpy1" propid="value" datasetid="ds_temp" columnid="insupynpy1"/>
- <BindItem id="item5" compid="group2.cmb_judgrid" propid="value" datasetid="ds_temp" columnid="judgrid"/>
- <BindItem id="item6" compid="group2.chkOrdType" propid="value" datasetid="ds_temp" columnid="ordtype"/>
- <BindItem id="item7" compid="group2.chkBrateFlag" propid="value" datasetid="ds_temp" columnid="brateflag"/>
- <BindItem id="item0" compid="group2.ipt_fromdd" propid="value" datasetid="ds_temp" columnid="fromdd"/>
- <BindItem id="item8" compid="group2.cmb_orddeptcd" propid="value" datasetid="ds_temp" columnid="orddeptcd"/>
- </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";
- function SMPIJ02700_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMPIJ02700_onload(obj:Form, e:LoadEventInfo)
- {
- fInitialize();
-
- ds_temp.setColumn(0, "fromdd", utlf_getCurrentDate());
- ds_temp.setColumn(0, "todd", utlf_getCurrentDate());
-
- dsf_createDsRow("ds_tmp", [ { col: "pid", type: "string", size: 256, val: ""}
- , { col: "sess_posinstcd", type: "string", size: 256, val: ""}]);
-
- var oParam = {};
- oParam.id = "TRPID23105";
- oParam.service = "aftjudgapp.OutAddAccount";
- oParam.method = "reqGetJudgList";
- oParam.inds = "req=ds_tmp";
- oParam.outds = "ds_temp_judgrid=judgrid";
- oParam.async = false;
- //oParam.callback = "cf_TRPID23105";
- tranf_submit(oParam);
-
-
- var oParam = {};
- oParam.id = "TRPAMCOM01";
- oParam.service = "pamcomnapp.PamComn";
- oParam.method = "reqGetComCD";
- oParam.inds = "req=ds_tmp";
- oParam.outds = "ds_init_pam_init_orddeptcd=orddeptcd ds_init_pam_init_orddrid=orddrid";
- oParam.async = false;
- //oParam.callback = "cf_TRPAMCOM01";
- tranf_submit(oParam);
-
- frmf_addComboItem("group2.cmb_orddeptcd","전체","","above");
- frmf_addComboItem("group2.cmb_preinsukind","전체","","above");
-
- group2.cmb_orddeptcd.index = 0;
- group2.cmb_preinsukind.index = 0;
- }
- function fInitialize()
- {
- var arrParam = [{dsNm: "ds_init_P0008list", cdGrpId: "P0008"}]
-
- appf_getCodeList(arrParam);
-
- group2.opt_insupynpy1.visible = false;
- group2.caption12.visible = false;
- }
- function group2_cmb_orddeptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- var varorddeptcd= obj.value;
-
- ds_init_pam_init_orddrid.filterstr = "dp == '"+varorddeptcd+"'";
-
- if(utlf_isNull(varorddeptcd) || varorddeptcd == "-")
- {
- ds_init_pam_init_orddrid.filterstr = "";
- }
- }
- function group2_cmb_orddrid_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- var orddeptcd = ds_temp.getColumn(0, "orddeptcd");
-
- if (utlf_isNull(orddeptcd)|| orddeptcd == "-")
- {
- sysf_messageBox("진료과 선택을 먼저 하십시요!","E999","");
-
- ds_temp.setColumn(0, "orddrid", "");
- group2.cmb_orddeptcd.setFocus();
-
- return;
- }
- }
- function group2_btn_srch_onclick(obj:Button, e:ClickEventInfo)
- {
- if(utlf_isNull(ds_temp.getColumn(0, "fromdd")) || utlf_isNull(ds_temp.getColumn(0, "todd")))
- {
- sysf_messageBox("퇴원일자는", "I003");
- return;
- }
-
- var dateDif = utlf_getDateInterval(ds_temp.getColumn(0, "fromdd"), ds_temp.getColumn(0, "todd"));
- if (dateDif < 0)
- {
- sysf_messageBox("검색 시작일자가 종료일자 보다 이후", "E008");
- return;
- }
- else if (dateDif > 14)
- {
- sysf_messageBox("검색기간은 최대 2주(14일)", "E008");
- return;
- }
-
- ds_send.setColumn(0, "orddeptcd", "");
- ds_send.setColumn(0, "orddrid", "");
- ds_send.setColumn(0, "judgrid", "");
- ds_send.setColumn(0, "pid", "");
- ds_send.setColumn(0, "indd", "");
- ds_send.setColumn(0, "cretno", "");
-
- ds_send.setColumn(0, "fromdd", ds_temp.getColumn(0, "fromdd"));
- ds_send.setColumn(0, "todd", ds_temp.getColumn(0, "todd"));
- ds_send.setColumn(0, "insukind", ds_temp.getColumn(0, "insukind"));
- ds_send.setColumn(0, "orddeptcd", ds_temp.getColumn(0, "orddeptcd"));
- ds_send.setColumn(0, "orddrid", ds_temp.getColumn(0, "orddrid"));
- ds_send.setColumn(0, "insupynpy1", ds_temp.getColumn(0, "insupynpy1"));
- ds_send.setColumn(0, "judgrid", ds_temp.getColumn(0, "judgrid"));
- ds_send.setColumn(0, "brateflag", ds_temp.getColumn(0, "brateflag"));
- ds_send.setColumn(0, "ordtype", ds_temp.getColumn(0, "ordtype"));
-
- if(swt_fee.tabindex == 0)
- {
- ds_main_list1_summary.clearData();
-
- var oParam = {};
- oParam.id = "TRPIJ02703";
- oParam.service = "bfjudgapp.PayDivFee";
- oParam.method = "reqGetSummaryList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_list1_summary=summary";
- oParam.async = false;
- //oParam.callback = "cf_TRPIJ02703";
- tranf_submit(oParam);
- }
- else if(swt_fee.tabindex == 2)
- {
- ds_main_list3_day.clearData();
- var oParam = {};
- oParam.id = "TRPIJ02701";
- oParam.service = "bfjudgapp.PayDivFee";
- oParam.method = "reqGetDayList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_list3_day=day";
- oParam.async = false;
- //oParam.callback = "cf_TRPIJ02701";
- tranf_submit(oParam);
- }
- else if(swt_fee.tabindex == 1)
- {
- ds_main_list2_pat.clearData();
-
- var oParam = {};
- oParam.id = "TRPIJ02702";
- oParam.service = "bfjudgapp.PayDivFee";
- oParam.method = "reqGetPatList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_list2_pat=pat";
- oParam.async = false;
- //oParam.callback = "cf_TRPIJ02702";
- tranf_submit(oParam);
- }
- }
- function swt_fee_case_summary_grd_summary_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var row = e.row;
-
- if( row > -1 )
- {
- ds_send.setColumn(0, "fromdd", ds_temp.getColumn(0, "fromdd"));
- ds_send.setColumn(0, "todd", ds_temp.getColumn(0, "todd"));
- ds_send.setColumn(0, "insukind", ds_temp.getColumn(0, "insukind"));
- ds_send.setColumn(0, "orddeptcd", ds_temp.getColumn(0, "orddeptcd"));
- ds_send.setColumn(0, "orddrid", ds_temp.getColumn(0, "orddrid"));
- ds_send.setColumn(0, "insupynpy1", ds_temp.getColumn(0, "insupynpy1"));
- ds_send.setColumn(0, "judgrid", ds_temp.getColumn(0, "judgrid"));
-
- ds_send.setColumn(0, "orddeptcd", ds_main_list1_summary.getColumn(row, "orddeptcd"));
- ds_send.setColumn(0, "orddrid", ds_main_list1_summary.getColumn(row, "orddrid"));
- ds_send.setColumn(0, "judgrid", ds_main_list1_summary.getColumn(row, "judgrid1"));
-
- var oParam = {};
- oParam.id = "TRPIJ02702";
- oParam.service = "bfjudgapp.PayDivFee";
- oParam.method = "reqGetPatList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_list2_pat=pat";
- oParam.async = false;
- //oParam.callback = "cf_TRPIJ02702";
- tranf_submit(oParam);
-
- ds_main_list2_pat.rowposition = -1;
- swt_fee.tabindex = 1;
- }
- }
- function swt_fee_case_pat_grdpatlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var row = e.row;
-
- if( row > -1 )
- {
- ds_send.setColumn(0, "fromdd", ds_temp.getColumn(0, "fromdd"));
- ds_send.setColumn(0, "todd", ds_temp.getColumn(0, "todd"));
- ds_send.setColumn(0, "insukind", ds_temp.getColumn(0, "insukind"));
- ds_send.setColumn(0, "orddeptcd", ds_temp.getColumn(0, "orddeptcd"));
- ds_send.setColumn(0, "orddrid", ds_temp.getColumn(0, "orddrid"));
- ds_send.setColumn(0, "insupynpy1", ds_temp.getColumn(0, "insupynpy1"));
- ds_send.setColumn(0, "judgrid", ds_temp.getColumn(0, "judgrid"));
-
- ds_send.setColumn(0, "pid", ds_main_list2_pat.getColumn(row, "pid"));
- ds_send.setColumn(0, "indd", ds_main_list2_pat.getColumn(row, "indd"));
- ds_send.setColumn(0, "cretno", ds_main_list2_pat.getColumn(row, "cretno"));
-
- var oParam = {};
- oParam.id = "TRPIJ02701";
- oParam.service = "bfjudgapp.PayDivFee";
- oParam.method = "reqGetDayList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_list3_day=day";
- oParam.async = false;
- //oParam.callback = "cf_TRPIJ02701";
- tranf_submit(oParam);
-
- swt_fee.tabindex = 2;
-
- group2.caption12.visible = true;
- group2.opt_insupynpy1.visible = true;
- }
- }
- function swt_fee_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- if(obj.tabindex == 0)
- {
- group2.opt_insupynpy1.visible = false;
- group2.caption12.visible = false;
- }
- else if(obj.tabindex == 1)
- {
- group2.opt_insupynpy1.visible = false;
- group2.caption12.visible = false;
- }
- else if(obj.tabindex == 2)
- {
- group2.opt_insupynpy1.visible = true;
- group2.caption12.visible = true;
- }
- }
- function swt_fee_case_summary_btn_cnclexcel_onclick(obj:Button, e:ClickEventInfo)
- {
- if(ds_main_list1_summary.rowcount == 0)
- {
- sysf_messageBox("엑셀저장할 내역이", "I004");
- }
- else
- {
- grdf_exportExcel(swt_fee.case_summary.grd_summary, "", "see");
- }
- }
- function swt_fee_case_pat_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- if(ds_main_list2_pat.rowcount == 0)
- {
- sysf_messageBox("엑셀저장할 내역이", "I004");
- }
- else
- {
- grdf_exportExcel(swt_fee.case_pat.grdpatlist, "", "see");
- }
- }
- function swt_fee_case_day_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- if(ds_main_list3_day.rowcount == 0)
- {
- sysf_messageBox("엑셀저장할 내역이", "I004");
- }
- else
- {
- grdf_exportExcel(swt_fee.case_day.grddaylist, "", "see");
- }
- }
- function group2_ipt_fromdd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- group2.ipt_todd.setFocus();
- }
- ]]></Script>
- </Form>
- </FDL>
|