123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMSDT13000" position="absolute 0 0 1199 793" titletext="의료협력진료의뢰회신통계" oninit="SMSDT13000_oninit" onload="SMSDT13000_onload">
- <Layouts>
- <Layout>
- <Grid id="grd_brgstincmexpsprescond2" class="datagrid2" taborder="3" binddataset="ds_main_brgstincmexpspres_brgstincmexpsprescond" useinputpanel="false" position="absolute 0 96 1195 760" autoenter="select" cellsizingtype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="0"/>
- <Column size="200"/>
- <Column size="65"/>
- <Column size="80"/>
- <Column size="65"/>
- <Column size="75"/>
- <Column size="60"/>
- <Column size="65"/>
- <Column size="80"/>
- <Column size="65"/>
- <Column size="75"/>
- <Column size="60"/>
- <Column size="62"/>
- <Column size="80"/>
- <Column size="62"/>
- <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" text="caption1"/>
- <Cell col="2" rowspan="2" text="병(의)원명" taborder="undefined"/>
- <Cell col="3" colspan="5" text="전기간실적" taborder="undefined"/>
- <Cell col="8" colspan="5" text="조회기간실적" taborder="undefined"/>
- <Cell col="13" colspan="4" text="증감" taborder="undefined"/>
- <Cell row="1" col="1" text="caption1"/>
- <Cell row="1" col="3" text="의뢰건수"/>
- <Cell row="1" col="4" text="회신대상건수"/>
- <Cell row="1" col="5" text="회신건수"/>
- <Cell row="1" col="6" text="회신율(%)"/>
- <Cell row="1" col="7" text="N회신"/>
- <Cell row="1" col="8" text="의뢰건수"/>
- <Cell row="1" col="9" text="회신대상건수"/>
- <Cell row="1" col="10" text="회신건수"/>
- <Cell row="1" col="11" text="회신율(%)"/>
- <Cell row="1" col="12" text="N회신"/>
- <Cell row="1" col="13" text="의뢰건수"/>
- <Cell row="1" col="14" text="회신대상건수"/>
- <Cell row="1" col="15" text="회신건수"/>
- <Cell row="1" col="16" text="N회신"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" text="bind:coophospcd"/>
- <Cell col="2" style="align:left middle;padding:2 2 2 2;" text="bind:coophospnm"/>
- <Cell col="3" displaytype="number" style="align:center middle;" text="bind:lstreqpcnt"/>
- <Cell col="4" displaytype="number" style="align:center middle;" text="bind:lstrepltrgtcnt"/>
- <Cell col="5" displaytype="number" style="align:center middle;" text="bind:lstreplcnt"/>
- <Cell col="6" displaytype="number" style="align:center middle;" text="bind:lstreplpet" expr="expr:utlf_isNull(lstreplpet) ? 0 : lstreplpet"/>
- <Cell col="7" displaytype="number" style="align:center middle;" text="bind:lstreplncnt"/>
- <Cell col="8" displaytype="number" style="align:center middle;" text="bind:reqpcnt"/>
- <Cell col="9" displaytype="number" style="align:center middle;" text="bind:repltrgtcnt"/>
- <Cell col="10" displaytype="number" style="align:center middle;" text="bind:replcnt"/>
- <Cell col="11" displaytype="number" style="align:center middle;" text="bind:replpet" expr="expr:utlf_isNull(replpet) ? 0 : replpet"/>
- <Cell col="12" displaytype="number" style="align:center middle;" text="bind:replncnt"/>
- <Cell col="13" displaytype="number" style="align:center middle;" text="bind:diffreqpcnt"/>
- <Cell col="14" displaytype="number" style="align:center middle;" text="bind:diffrepltrgtcnt"/>
- <Cell col="15" displaytype="number" style="align:center middle;" text="bind:diffreplcnt"/>
- <Cell col="16" displaytype="number" style="align:center middle;" text="bind:diffreplncnt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_brgstincmexpsprescond" class="datagrid2" taborder="4" binddataset="ds_main_brgstincmexpspres_brgstincmexpsprescond" useinputpanel="false" position="absolute 0 96 1195 760" autoenter="select" cellsizingtype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="0"/>
- <Column size="166"/>
- <Column size="65"/>
- <Column size="80"/>
- <Column size="77"/>
- <Column size="77"/>
- <Column size="43"/>
- <Column size="65"/>
- <Column size="80"/>
- <Column size="77"/>
- <Column size="77"/>
- <Column size="49"/>
- <Column size="62"/>
- <Column size="80"/>
- <Column size="77"/>
- <Column size="45"/>
- </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" text="caption1"/>
- <Cell col="2" rowspan="2" text="협력병(의)원명" taborder="undefined"/>
- <Cell col="3" colspan="5" text="전기간실적" taborder="undefined"/>
- <Cell col="8" colspan="5" text="조회기간실적" taborder="undefined"/>
- <Cell col="13" colspan="4" text="증감" taborder="undefined"/>
- <Cell row="1" col="1" text="caption1"/>
- <Cell row="1" col="3" text="의뢰건수"/>
- <Cell row="1" col="4" text="회신대상건수"/>
- <Cell row="1" col="5" text="회신건수"/>
- <Cell row="1" col="6" text="회신율(%)"/>
- <Cell row="1" col="7" text="N회신"/>
- <Cell row="1" col="8" text="의뢰건수"/>
- <Cell row="1" col="9" text="회신대상건수"/>
- <Cell row="1" col="10" text="회신건수"/>
- <Cell row="1" col="11" text="회신율(%)"/>
- <Cell row="1" col="12" text="N회신"/>
- <Cell row="1" col="13" text="의뢰건수"/>
- <Cell row="1" col="14" text="회신대상건수"/>
- <Cell row="1" col="15" text="회신건수"/>
- <Cell row="1" col="16" text="N회신"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" text="bind:coophospcd"/>
- <Cell col="2" style="align:left top;padding:5 2 3 2;" text="bind:coophospnm" wordwrap="word"/>
- <Cell col="3" displaytype="number" style="align:center middle;" text="bind:lstreqpcnt"/>
- <Cell col="4" displaytype="number" style="align:center middle;" text="bind:lstrepltrgtcnt"/>
- <Cell col="5" displaytype="number" style="align:center middle;" text="bind:lstreplcnt"/>
- <Cell col="6" displaytype="number" style="align:center middle;" text="bind:lstreplpet" expr="expr:utlf_isNull(lstreplpet) ? 0 : lstreplpet"/>
- <Cell col="7" displaytype="number" style="align:center middle;" text="bind:lstreplncnt"/>
- <Cell col="8" displaytype="number" style="align:center middle;" text="bind:reqpcnt"/>
- <Cell col="9" displaytype="number" style="align:center middle;" text="bind:repltrgtcnt"/>
- <Cell col="10" displaytype="number" style="align:center middle;" text="bind:replcnt"/>
- <Cell col="11" displaytype="number" style="align:center middle;" text="bind:replpet" expr="expr:utlf_isNull(replpet) ? 0 : replpet"/>
- <Cell col="12" displaytype="number" style="align:center middle;" text="bind:replncnt"/>
- <Cell col="13" displaytype="number" style="align:center middle;" text="bind:diffreqpcnt"/>
- <Cell col="14" displaytype="number" style="align:center middle;" text="bind:diffrepltrgtcnt"/>
- <Cell col="15" displaytype="number" style="align:center middle;" text="bind:diffreplcnt"/>
- <Cell col="16" displaytype="number" style="align:center middle;" text="bind:diffreplncnt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_brgstincmexpsprescond3" class="datagrid2" taborder="2" binddataset="ds_main_brgstincmexpspres_brgstincmexpsprescond" useinputpanel="false" position="absolute 0 96 1195 760" autoenter="select" cellsizingtype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="0"/>
- <Column size="158"/>
- <Column size="0"/>
- <Column size="72"/>
- <Column size="70"/>
- <Column size="83"/>
- <Column size="65"/>
- <Column size="70"/>
- <Column size="55"/>
- <Column size="70"/>
- <Column size="83"/>
- <Column size="65"/>
- <Column size="70"/>
- <Column size="55"/>
- <Column size="59"/>
- <Column size="83"/>
- <Column size="60"/>
- <Column size="43"/>
- </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" text="caption1"/>
- <Cell col="2" rowspan="2" text="진료과" taborder="undefined"/>
- <Cell col="3" text="caption2"/>
- <Cell col="4" rowspan="2" text="의사명" taborder="undefined"/>
- <Cell col="5" colspan="5" text="전기간실적" taborder="undefined"/>
- <Cell col="10" colspan="5" text="조회기간실적" taborder="undefined"/>
- <Cell col="15" colspan="4" text="증감" taborder="undefined"/>
- <Cell row="1" col="1" text="caption1"/>
- <Cell row="1" col="3" text="caption2"/>
- <Cell row="1" col="5" text="의뢰건수"/>
- <Cell row="1" col="6" text="회신대상건수"/>
- <Cell row="1" col="7" text="회신건수"/>
- <Cell row="1" col="8" text="회신율(%)"/>
- <Cell row="1" col="9" text="N회신"/>
- <Cell row="1" col="10" text="의뢰건수"/>
- <Cell row="1" col="11" text="회신대상건수"/>
- <Cell row="1" col="12" text="회신건수"/>
- <Cell row="1" col="13" text="회신율(%)"/>
- <Cell row="1" col="14" text="N회신"/>
- <Cell row="1" col="15" text="의뢰건수"/>
- <Cell row="1" col="16" text="회신대상건수"/>
- <Cell row="1" col="17" text="회신건수"/>
- <Cell row="1" col="18" text="N회신"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" text="bind:orddeptcd"/>
- <Cell col="2" style="align:left middle;padding:2 2 2 2;" text="bind:depthngnm" suppress="1" suppressalign="middle,over"/>
- <Cell col="3" text="bind:orddrid"/>
- <Cell col="4" text="bind:orddrnm"/>
- <Cell col="5" displaytype="number" style="align:center middle;" text="bind:lstreqpcnt"/>
- <Cell col="6" displaytype="number" style="align:center middle;" text="bind:lstrepltrgtcnt"/>
- <Cell col="7" displaytype="number" style="align:center middle;" text="bind:lstreplcnt"/>
- <Cell col="8" displaytype="number" style="align:center middle;" text="bind:lstreplpet" expr="expr:utlf_isNull(lstreplpet) ? 0 : lstreplpet"/>
- <Cell col="9" displaytype="number" style="align:center middle;" text="bind:lstreplncnt"/>
- <Cell col="10" displaytype="number" style="align:center middle;" text="bind:reqpcnt"/>
- <Cell col="11" displaytype="number" style="align:center middle;" text="bind:repltrgtcnt"/>
- <Cell col="12" displaytype="number" style="align:center middle;" text="bind:replcnt"/>
- <Cell col="13" displaytype="number" style="align:center middle;" text="bind:replpet" expr="expr:utlf_isNull(replpet) ? 0 : replpet"/>
- <Cell col="14" displaytype="number" style="align:center middle;" text="bind:replncnt"/>
- <Cell col="15" displaytype="number" style="align:center middle;" text="bind:diffreqpcnt"/>
- <Cell col="16" displaytype="number" style="align:center middle;" text="bind:diffrepltrgtcnt"/>
- <Cell col="17" displaytype="number" style="align:center middle;" text="bind:diffreplcnt"/>
- <Cell col="18" displaytype="number" style="align:center middle;" text="bind:diffreplncnt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption6" text="의료협력진료의뢰/회신통계" class="tit_1" position="absolute 0 0 230 24"/>
- <Static id="caption21" text="의료협력진료의뢰회신통계" class="tit_2" position="absolute 0 75 232 97"/>
- <Shape id="line1" linetype="horizontal" class="line_10" position="absolute 0 90 1195 99" anchor="left top right"/>
- <Div id="group4" taborder="5" class="div_SA" position="absolute 0 24 1195 64" anchor="left top right">
- <Layouts>
- <Layout>
- <cp_monthCal id="ipt_fromdd" titletext="monthCalendar" taborder="14" text="cp_monthCal00" scrollbars="none" position="absolute 80 10 148 30"/>
- <cp_monthCal id="ipt_todd" titletext="monthCalendar" taborder="15" text="cp_monthCal00" scrollbars="none" position="absolute 169 10 237 30"/>
- <Button id="button2" taborder="6" text="조회" class="btn1" position="absolute 1125 9 1181 31" anchor="top right" onclick="group4_button2_onclick"/>
- <Shape id="line2" linetype="vertical" position="absolute 1112 9 1118 31" anchor="top right"/>
- <Radio id="rdo_achivflag" taborder="7" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 482 9 922 32" onitemchanged="group4_rdo_achivflag_onitemchanged" index="-1">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">6</Col>
- <Col id="datacolumn">협력병의원별</Col>
- </Row>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">협력병원별</Col>
- </Row>
- <Row>
- <Col id="codecolumn">5</Col>
- <Col id="datacolumn">협력의원별</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">병의원별</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">진료과별</Col>
- </Row>
- <Row>
- <Col id="codecolumn">4</Col>
- <Col id="datacolumn">의사별</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="caption23" text="조회구분 :" class="search_name" position="absolute 256 8 342 32"/>
- <Combo id="cmb_reqflag" taborder="8" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 335 11 403 30" onitemchanged="group4_cmb_reqflag_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">월별</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">년도별</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static id="cap1" text="~" position="absolute 152 10 169 30"/>
- <Static id="caption2" text="조회기간" class="search_name" position="absolute 9 5 77 35"/>
- <Static id="caption3" text="분류 :" class="search_name" position="absolute 422 8 483 34"/>
- <Combo id="cmb_hospgrade" taborder="11" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 1002 11 1109 30" onitemchanged="group4_cmb_hospgrade_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">회신건수기준</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">의뢰등록일기준</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <CheckBox id="chk_dentalyn" taborder="12" text="치과제외" truevalue="Y" position="absolute 918 11 991 31" onclick="group4_chk_dentalyn_onclick"/>
- <Calendar id="ipt_fromentryy" taborder="13" class="input_search" position="absolute 90 10 148 30" mask="yyyy" autoselect="true" dateformat="yyyy" value="null" editformat="yyyy" onchanged="group4_ipt_fromentryy_onchanged"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_excel" taborder="6" text="엑셀저장" class="btn7" position="absolute 1115 72 1195 91" anchor="top right" onclick="btn_excel_onclick"/>
- <Static id="caption1" text="기준" position="absolute 184 77 1014 89"/>
- <Shape id="line37" linetype="horizontal" class="line_6" position="absolute 0 761 1195 767" anchor="left right bottom"/>
- <Button id="btn_search0" taborder="7" text="초기화" class="btn4" position="absolute 1127 766 1195 788" anchor="right bottom" onclick="btn_search0_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_brgstincmexpspres_brgstincmexpsprescond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
- <Column id="depthngnm" type="STRING" size="256" sumtext="진료과명"/>
- <Column id="ordclsdeptflag" type="STRING" size="256" sumtext="분과표시"/>
- <Column id="orddrid" type="STRING" size="256" sumtext="의사id"/>
- <Column id="orddrnm" type="STRING" size="256" sumtext="의사명"/>
- <Column id="coophospcd" type="STRING" size="256" sumtext="병원코드"/>
- <Column id="coophospnm" type="STRING" size="256" sumtext="병원명"/>
- <Column id="lstreqpcnt" type="INT" size="256" sumtext="전월의뢰건수"/>
- <Column id="lstrepltrgtcnt" type="INT" size="256" sumtext="전월회신대상건수"/>
- <Column id="lstreplcnt" type="INT" size="256" sumtext="전월회신건수"/>
- <Column id="lstreplncnt" type="INT" size="256" sumtext="전월간호사회신건수"/>
- <Column id="lstreplpet" type="INT" size="256" sumtext="전월회신율"/>
- <Column id="reqpcnt" type="FLOAT" size="256" sumtext="당월의뢰건수"/>
- <Column id="repltrgtcnt" type="INT" size="256" sumtext="당월회신대상건수"/>
- <Column id="replcnt" type="INT" size="256" sumtext="당월회신건수"/>
- <Column id="replncnt" type="INT" size="256" sumtext="당월간호사회신건수"/>
- <Column id="replpet" type="INT" size="256" sumtext="당월회신율"/>
- <Column id="diffreqpcnt" type="INT" size="256" sumtext="증감의뢰건수"/>
- <Column id="diffrepltrgtcnt" type="INT" size="256" sumtext="증감회신대상건수"/>
- <Column id="diffreplcnt" type="INT" size="256" sumtext="증감회신건수"/>
- <Column id="diffreplncnt" type="INT" size="256" sumtext="증감간호사회신건수"/>
- <Column id="diffreplpet" type="INT" size="256" sumtext="증감회신율"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_search" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="reqflag" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="hospgrade" type="STRING" size="256"/>
- <Column id="achivflag" type="STRING" size="256"/>
- <Column id="fromentryy" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="dentalyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="reqflag">1</Col>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="hospgrade"/>
- <Col id="achivflag">6</Col>
- <Col id="fromentryy"/>
- <Col id="flag"/>
- <Col id="dentalyn"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item2" compid="group4.ipt_fromentryy" propid="value" datasetid="ds_main_search" columnid="fromentryy"/>
- <BindItem id="item3" compid="group4.cmb_reqflag" propid="value" datasetid="ds_main_search" columnid="reqflag"/>
- <BindItem id="item4" compid="group4.rdo_achivflag" propid="value" datasetid="ds_main_search" columnid="achivflag"/>
- <BindItem id="item5" compid="group4.chk_dentalyn" propid="value" datasetid="ds_main_search" columnid="dentalyn"/>
- <BindItem id="item6" compid="group4.cmb_hospgrade" propid="value" datasetid="ds_main_search" columnid="hospgrade"/>
- </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 SMSDT13000_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMSDT13000_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_brgstincmexpsprescond);
- grdf_initGrid(grd_brgstincmexpsprescond2);
- grdf_initGrid(grd_brgstincmexpsprescond3);
-
- fInit();
- }
- function fn_Cal_fromdd()
- {
- var fromdd = group4.ipt_fromdd.getData();
- ds_main_search.setColumn(0, "fromdd", fromdd);
- }
- function fn_Cal_todd()
- {
- var todd = group4.ipt_todd.getData();
- ds_main_search.setColumn(0, "todd", todd);
- }
- function fInit()
- {
- group4.ipt_fromdd.setCallEvent("fn_Cal_fromdd");
- group4.ipt_todd.setCallEvent("fn_Cal_todd");
-
- grd_brgstincmexpsprescond.visible = true;
- grd_brgstincmexpsprescond2.visible = false;
- grd_brgstincmexpsprescond3.visible = false;
-
- ds_main_brgstincmexpspres_brgstincmexpsprescond.clearData();
-
- var CurrentDate = utlf_getCurrentDate();
-
- var LastDate = CurrentDate.toDate().getAddDate(-1,"M").getDateFormat();
- var LastDateYM = LastDate.substr(0,6);
- var CurrentDateYY = CurrentDate.substring(0,4);
-
- dsf_makeValue(ds_main_search, "fromentryy", "string", CurrentDateYY);
- dsf_makeValue(ds_main_search, "toentryy", "string", CurrentDateYY);
-
- dsf_makeValue(ds_main_search, "fromdd", "string", LastDateYM);
- dsf_makeValue(ds_main_search, "todd", "string", LastDateYM);
-
- group4.ipt_fromdd.setData(LastDateYM);
- group4.ipt_todd.setData(LastDateYM);
-
- group4.ipt_fromentryy.visible = false;
- group4.cmb_hospgrade.index = 0;
- ds_main_search.setColumn(0, "reqflag", "1");
- frmf_inputEnterKey("group4.cmb_hospgrade", "onitemchanged", new ItemChangeEventInfo);
- }
- function group4_ipt_fromentryy_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- ds_main_search.setColumn(0, "fromentryy", String(obj.value).substr(0,4));
- }
- function group4_ipt_fromdd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- ds_main_search.setColumn(0, "fromdd", String(obj.value).substr(0,6));
- }
- function group4_ipt_todd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- ds_main_search.setColumn(0, "todd", String(obj.value).substr(0,6));
- }
- function group4_cmb_reqflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- var CurrentDate = utlf_getCurrentDate();
- if(obj.value == "1")
- {
- group4.ipt_fromdd.visible = true;
- group4.ipt_todd.visible = true;
- group4.ipt_fromentryy.visible = false;
- group4.cap1.visible = true;
- }
- else
- {
- group4.ipt_fromdd.visible = false;
- group4.ipt_todd.visible = false;
- group4.ipt_fromentryy.visible = true;
-
- group4.cap1.visible = false;
- }
- ds_send_reqdata.clearData();
- fReqBrgstIncmExpsCond(); //조회함수
- }
- function fReqBrgstIncmExpsCond()
- {
- ds_send_reqdata.clearData();
-
- var fromdd = ds_main_search.getColumn(0, "fromdd");
- var todd = ds_main_search.getColumn(0, "todd");
- var reqflag = ds_main_search.getColumn(0, "reqflag");
- var fromentryy = ds_main_search.getColumn(0, "fromentryy");
- var achivflag = ds_main_search.getColumn(0, "achivflag");
- var hospgrade = ds_main_search.getColumn(0, "hospgrade");
- dsf_makeValue(ds_send_reqdata, "hospgrade", "string", hospgrade);
- dsf_makeValue(ds_send_reqdata, "reqflag", "string", reqflag);
- dsf_makeValue(ds_send_reqdata, "dentalyn", "string", ds_main_search.getColumn(0, "dentalyn"));
- if(achivflag != "4")
- {
- dsf_makeValue(ds_send_reqdata, "achivflag", "string", achivflag);
- }
-
- if(group4.cmb_hospgrade.value == "1")
- {
- dsf_makeValue(ds_send_reqdata, "flag", "string", "1");//플래그 셋팅
- }
- else
- {
- dsf_makeValue(ds_send_reqdata, "flag", "string", "2");//플래그 셋팅
- }
-
- if(reqflag == "1")
- {
- if(utlf_isNull(fromdd))
- {
- sysf_messageBox("조회시작일자는","I003");
- group4.ipt_fromdd.setFocus();
- return;
- }
- if(utlf_isNull(todd))
- {
- sysf_messageBox("조회종료일자는","I003");
- group4.ipt_todd.setFocus();
- return;
- }
- var dateintval = utlf_getDateInterval(fromdd+"01",todd+"31");
- if(fromdd>todd)
- {
- sysf_messageBox("조회시작일보다 큰 조회종료일을 입력하십시요.","I");
- group4.ipt_todd.setFocus();
- return;
- }
- if(dateintval > "370")
- {
- sysf_messageBox("조회기간은 최대 1년까지 할 수 있습니다","I");
- group4.ipt_fromdd.setFocus();
- return;
- }
-
- if(fromdd==todd)
- {
- dsf_makeValue(ds_send_reqdata, "dateflag", "string","1"); // 조회월이 같으면 전기간을 전월로 하기 위해 dateflag셋팅
- }
- else
- {
- dsf_makeValue(ds_send_reqdata, "dateflag", "string","2");
- }
-
- dsf_makeValue(ds_send_reqdata, "fromdd", "string", fromdd);
- dsf_makeValue(ds_send_reqdata, "todd", "string", todd);
-
- dsf_makeValue(ds_send_reqdata, "fromentryy", "string", "");
- }
- else
- {
- if(utlf_isNull(fromentryy))
- {
- sysf_messageBox("조회시작연도는","I003");
- group4.ipt_fromentryy.setFocus();
- return;
- }
-
- dsf_makeValue(ds_send_reqdata, "fromdd", "string", "");
- dsf_makeValue(ds_send_reqdata, "todd", "string", "");
-
- dsf_makeValue(ds_send_reqdata, "fromentryy", "string", fromentryy);
-
- dsf_makeValue(ds_send_reqdata, "dateflag", "string", ""); //년도로 조회시 전기간을 전월로 하기 위한 dateflag 삭제
- }
-
- var oParam = {};
- oParam.id = "TRSDT13001";
- oParam.service = "stscmcnwapp.CoopEndStats";
- oParam.method = "reqGetHealCareCoopRepl";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_brgstincmexpspres_brgstincmexpsprescond=brgstincmexpsprescond";
- oParam.async = false;
- oParam.callback = "cf_TRSDT13001";
- tranf_submit(oParam);
-
- if(achivflag == "3")
- {
- // 진료과별 실적 일때 합계 구한다.
- var idxRow = ds_main_brgstincmexpspres_brgstincmexpsprescond.rowcount;
- var fixRow = 0;
-
- if(idxRow > 0)
- {
- var totallstreqpcnt = 0;
- var totallstrepltrgtcnt = 0;
- var totallstreplcnt = 0;
- var totallstreplncnt = 0;
- var totalreqpcnt = 0;
- var totalrepltrgtcnt = 0;
- var totalreplcnt = 0;
- var totalreplncnt = 0;
- var totaldiffreqpcnt = 0;
- var totaldiffrepltrgtcnt = 0;
- var totaldiffreplcnt = 0;
- var totaldiffreplncnt = 0;
-
- for(var i = 0; i < idxRow; i++)
- {
- var ordclsdeptflag = ds_main_brgstincmexpspres_brgstincmexpsprescond.getColumn(i, "ordclsdeptflag");
- // 분과가 있는 것을 제외하고 합계 구함 (분과 플래그 C)
- var tlstreqpcnt = parseInt(ds_main_brgstincmexpspres_brgstincmexpsprescond.getColumn(i, "lstreqpcnt")) + parseInt(totallstreqpcnt);
- var tlstrepltrgtcnt = parseInt(ds_main_brgstincmexpspres_brgstincmexpsprescond.getColumn(i, "lstrepltrgtcnt")) + parseInt(totallstrepltrgtcnt);
- var tlstreplcnt = parseInt(ds_main_brgstincmexpspres_brgstincmexpsprescond.getColumn(i, "lstreplcnt")) + parseInt(totallstreplcnt);
- var tlstreplncnt = parseInt(ds_main_brgstincmexpspres_brgstincmexpsprescond.getColumn(i, "lstreplncnt")) + parseInt(totallstreplncnt);
- var treqpcnt = parseInt(ds_main_brgstincmexpspres_brgstincmexpsprescond.getColumn(i, "reqpcnt")) + parseInt(totalreqpcnt);
- var trepltrgtcnt = parseInt(ds_main_brgstincmexpspres_brgstincmexpsprescond.getColumn(i, "repltrgtcnt")) + parseInt(totalrepltrgtcnt);
- var treplcnt = parseInt(ds_main_brgstincmexpspres_brgstincmexpsprescond.getColumn(i, "replcnt")) + parseInt(totalreplcnt);
- var treplncnt = parseInt(ds_main_brgstincmexpspres_brgstincmexpsprescond.getColumn(i, "replncnt")) + parseInt(totalreplncnt);
- var tdiffreqpcnt = parseInt(ds_main_brgstincmexpspres_brgstincmexpsprescond.getColumn(i, "diffreqpcnt")) + parseInt(totaldiffreqpcnt);
- var tdiffrepltrgtcnt = parseInt(ds_main_brgstincmexpspres_brgstincmexpsprescond.getColumn(i, "diffrepltrgtcnt")) + parseInt(totaldiffrepltrgtcnt);
- var tdiffreplcnt = parseInt(ds_main_brgstincmexpspres_brgstincmexpsprescond.getColumn(i, "diffreplcnt")) + parseInt(totaldiffreplcnt);
- var tdiffreplncnt = parseInt(ds_main_brgstincmexpspres_brgstincmexpsprescond.getColumn(i, "diffreplncnt")) + parseInt(totaldiffreplncnt);
-
- var totallstreqpcnt = tlstreqpcnt;
- var totallstrepltrgtcnt = tlstrepltrgtcnt;
- var totallstreplcnt = tlstreplcnt;
- var totallstreplncnt = tlstreplncnt;
- var totalreqpcnt = treqpcnt;
- var totalrepltrgtcnt = trepltrgtcnt;
- var totalreplcnt = treplcnt;
- var totalreplncnt = treplncnt;
- var totaldiffreqpcnt = tdiffreqpcnt;
- var totaldiffrepltrgtcnt = tdiffrepltrgtcnt;
- var totaldiffreplcnt = tdiffreplcnt;
- var totaldiffreplncnt = tdiffreplncnt;
- }
- //회신율 구함 (회신건수/회신대상건수*100)
- var totallstreplpet = totallstreplcnt/(totallstrepltrgtcnt*100);
- var totalreplpet = totalreplcnt/(totalrepltrgtcnt*100);
- var totaldiffreplpet = totalreplpet-totallstreplpet;
- dsf_makeValue(ds_main_brgstincmexpspres_brgstincmexpsprescond, "depthngnm", "string", "합계", i);
- dsf_makeValue(ds_main_brgstincmexpspres_brgstincmexpsprescond, "lstreqpcnt", "string", totallstreqpcnt, i);
- dsf_makeValue(ds_main_brgstincmexpspres_brgstincmexpsprescond, "lstrepltrgtcnt", "string", totallstrepltrgtcnt, i);
- dsf_makeValue(ds_main_brgstincmexpspres_brgstincmexpsprescond, "lstreplcnt", "string", totallstreplcnt, i);
- dsf_makeValue(ds_main_brgstincmexpspres_brgstincmexpsprescond, "lstreplpet", "string", totallstreplpet, i);
- dsf_makeValue(ds_main_brgstincmexpspres_brgstincmexpsprescond, "lstreplncnt", "string", totallstreplncnt, i);
- dsf_makeValue(ds_main_brgstincmexpspres_brgstincmexpsprescond, "reqpcnt", "string", totalreqpcnt, i);
- dsf_makeValue(ds_main_brgstincmexpspres_brgstincmexpsprescond, "repltrgtcnt", "string", totalrepltrgtcnt, i);
- dsf_makeValue(ds_main_brgstincmexpspres_brgstincmexpsprescond, "replcnt", "string", totalreplcnt, i);
- dsf_makeValue(ds_main_brgstincmexpspres_brgstincmexpsprescond, "replpet", "string", totalreplpet, i);
- dsf_makeValue(ds_main_brgstincmexpspres_brgstincmexpsprescond, "diffreqpcnt", "string", totaldiffreqpcnt, i);
- dsf_makeValue(ds_main_brgstincmexpspres_brgstincmexpsprescond, "diffrepltrgtcnt", "string", totaldiffrepltrgtcnt, i);
- dsf_makeValue(ds_main_brgstincmexpspres_brgstincmexpsprescond, "diffreplcnt", "string", totaldiffreplcnt, i);
- dsf_makeValue(ds_main_brgstincmexpspres_brgstincmexpsprescond, "diffreplpet", "string", totaldiffreplpet, i);
- dsf_makeValue(ds_main_brgstincmexpspres_brgstincmexpsprescond, "diffreplncnt", "string", totaldiffreplncnt, i);
- }
- }
- }
- function cf_TRSDT13001(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0)
- {
- return;
- }
- else
- {
- for(var i = 0; i < ds_main_brgstincmexpspres_brgstincmexpsprescond.rowcount; i++)
- {
- // if(ds_main_brgstincmexpspres_brgstincmexpsprescond.getColumn(i, 1) != "합계")
- // {
- //회신율 구함 (회신건수/회신대상건수*100)
- var lstreplcnt = parseInt(ds_main_brgstincmexpspres_brgstincmexpsprescond.getColumn(i, "lstreplcnt"));
- var lstrepltrgtcnt = parseInt(ds_main_brgstincmexpspres_brgstincmexpsprescond.getColumn(i, "lstrepltrgtcnt"));
-
- var lstper = Math.round((lstreplcnt/lstrepltrgtcnt) * 100 , 2);
- dsf_makeValue(ds_main_brgstincmexpspres_brgstincmexpsprescond, "lstreplpet", "float", lstper > 100 ? 100 : lstper, i);
-
- var replcnt = parseInt(ds_main_brgstincmexpspres_brgstincmexpsprescond.getColumn(i, "replcnt"));
- var repltrgtcnt = parseInt(ds_main_brgstincmexpspres_brgstincmexpsprescond.getColumn(i, "repltrgtcnt"));
-
- var repper = Math.round((replcnt / repltrgtcnt) * 100, 2);
- dsf_makeValue(ds_main_brgstincmexpspres_brgstincmexpsprescond, "replpet", "float", repper > 100 ? 100 : repper, i);
- // }
- }
- }
- }
- function group4_rdo_achivflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- var achivflag = obj.value;
-
- if(achivflag == "1" || achivflag == "5" || achivflag == "6" ) //협력병원/협력의원
- {
- dsf_makeValue(ds_send_reqdata, "achivflag", "string", "3");
- grd_brgstincmexpsprescond.visible = true;
- grd_brgstincmexpsprescond2.visible = false;
- grd_brgstincmexpsprescond3.visible = false;
- }
- else if(achivflag == "2") // 병의원 실적 일 때
- {
- grd_brgstincmexpsprescond.visible = false;
- grd_brgstincmexpsprescond2.visible = true;
- grd_brgstincmexpsprescond3.visible = false;
- }
- else if(achivflag == "3" ) // 진료과별 실적 일 때
- {
- grd_brgstincmexpsprescond.visible = false;
- grd_brgstincmexpsprescond2.visible = false;
- grd_brgstincmexpsprescond3.visible = true;
-
- grd_brgstincmexpsprescond3.setFormatColProperty(4, "size", 0); //의사명 컬럼 숨김
- }
- else // 의사별 실적 일 때
- {
- grd_brgstincmexpsprescond.visible = false;
- grd_brgstincmexpsprescond2.visible = false;
- grd_brgstincmexpsprescond3.visible = true;
- grd_brgstincmexpsprescond3.setFormatColProperty(4, "size", 72); //의사명 컬럼 보임
- }
-
- ds_main_brgstincmexpspres_brgstincmexpsprescond.clearData();
- fReqBrgstIncmExpsCond();
- }
- function group4_chk_dentalyn_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(obj.value == "Y")
- {
- }
- else
- {
- ds_main_search.setColumn(0, "dentalyn", "");
- }
-
- ds_main_brgstincmexpspres_brgstincmexpsprescond.clearData();
- fReqBrgstIncmExpsCond();
- }
- function group4_cmb_hospgrade_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- if (obj.value == "2")
- {
- caption1.text = "의뢰등록일기준:마감자료 중 조회기간에 의뢰등록된 건 기준(회신서는 날짜에 상관없이 출력되어야 함)";
- }
- else
- {
- caption1.text = "회신건수기준:마감자료 중 조회기간에 의뢰등록 및 회신서 출력건 대상 ";
- }
-
- fReqBrgstIncmExpsCond();
- }
- function group4_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- fReqBrgstIncmExpsCond();
- }
- function btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- fExcel();
- }
- function fExcel()
- {
- var achivflag = ds_main_search.getColumn(0, "achivflag");
- var title = "Excel";
- var gridID = grd_brgstincmexpsprescond;
-
- if (ds_main_brgstincmexpspres_brgstincmexpsprescond.rowcount == 0)
- {
- sysf_messageBox("엑셀파일로 저장할 리스트 내역이", "I004");
- return;
- }
-
- if(achivflag == '1' || achivflag == '5' || achivflag == '6') // 협력병원/협력의원 실적
- {
- title = "의료협력진료의뢰회신통계";
- gridID = grd_brgstincmexpsprescond;
- }
- else if(achivflag == '2') // 병의원 실적
- {
- title = "의료협력진료의뢰회신통계";
- gridID = grd_brgstincmexpsprescond2;
- }
- else // 진료과별 실적 및 의사별 실적
- {
- title = "의료협력진료의뢰회신통계";
- gridID = grd_brgstincmexpsprescond3;
- }
-
- grdf_exportExcel(gridID, title, "SheetName", "true", "", "");
- }
- function btn_search0_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_brgstincmexpspres_brgstincmexpsprescond.clearData();
- }
- ]]></Script>
- </Form>
- </FDL>
|