123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAES03400" position="absolute 0 0 1212 756" titletext="월별 환자수 통계" onload="SMAES03400_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 13 1211 755" id="grp_biz" anchor="all">
- <Layouts>
- <Layout>
- <Div position="absolute 0 12 1211 72" align="align:center top;" id="grp_sea" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Static text="조회기간 :" position="absolute 15 11 101 28" id="caption2" class="search_name" anchor="default"/>
- <Shape position="absolute 1131 7 1137 52" linetype="vertical" id="line13" class="line_4" anchor="top right"/>
- <Button position="absolute 1144 20 1200 42" id="btn_sea" class="btn1" taborder="4" text="조회" anchor="top right" onclick="grp_biz_grp_sea_btn_sea_onclick"/>
- <Static text="~" position="absolute 195 10 207 27" id="caption5" class="search_no_b" anchor="default"/>
- <Static text="비교기간 :" position="absolute 15 35 101 52" id="caption3" class="search_name" anchor="default"/>
- <Static text="~" position="absolute 195 33 207 50" id="caption4" class="search_no_b" anchor="default"/>
- <Static text="처방과 :" position="absolute 340 11 418 28" id="caption7" class="search_name" anchor="default"/>
- <Static text="치료실 :" position="absolute 575 11 661 28" id="caption8" class="search_name" anchor="default"/>
- <Static text="치료사 :" position="absolute 340 35 418 52" id="caption9" class="search_name" anchor="default"/>
- <Combo position="absolute 417 9 532 28" id="cmb_orddept" innerdataset="@ds_inti_orddeptcd" datacolumn="nm" codecolumn="cd" anchor="default"/>
- <Combo position="absolute 417 33 532 52" id="cmb_execdrid" innerdataset="@ds_inti_execdrid" datacolumn="nm" codecolumn="cd" anchor="default"/>
- <Combo position="absolute 652 9 767 28" id="cmb_curerm" innerdataset="@ds_inti_curerm" datacolumn="nm" codecolumn="cd" anchor="default"/>
- <Static text="구분 :" position="absolute 575 35 637 52" id="caption11" class="search_name" anchor="default"/>
- <Radio position="absolute 652 33 792 51" id="radio1" columncount="3" 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">F</Col>
- <Col id="datacolumn">초환</Col>
- </Row>
- <Row>
- <Col id="codecolumn">R</Col>
- <Col id="datacolumn">재환</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static text="구분 :" position="absolute 822 35 884 52" id="caption13" class="search_name" anchor="default"/>
- <Radio position="absolute 885 33 1025 51" id="radio3" columncount="3" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">I</Col>
- <Col id="datacolumn">입원</Col>
- </Row>
- <Row>
- <Col id="codecolumn">O</Col>
- <Col id="datacolumn">외래</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <cp_monthCal id="ipt_fromdd" titletext="monthCalendar" taborder="5" onlbuttonup="grp_biz_grp_sea_ipt_fromdd_onlbuttonup" scrollbars="none" position="absolute 104 8 192 28"/>
- <cp_monthCal id="ipt_todd" titletext="monthCalendar" taborder="6" onlbuttonup="grp_biz_grp_sea_ipt_fromdd_onlbuttonup" scrollbars="none" position="absolute 210 8 298 28"/>
- <cp_monthCal id="input2" titletext="monthCalendar" taborder="7" onlbuttonup="grp_biz_grp_sea_input2_onlbuttonup" scrollbars="none" position="absolute 104 33 192 53"/>
- <cp_monthCal id="input1" titletext="monthCalendar" taborder="8" onlbuttonup="grp_biz_grp_sea_ipt_fromdd_onlbuttonup" scrollbars="none" position="absolute 210 33 298 53"/>
- </Layout>
- </Layouts>
- </Div>
- <Tab position="absolute 0 76 1211 742" id="switch1" anchor="all">
- <Tabpages>
- <Tabpage text="치료실" id="case1">
- <Layouts>
- <Layout>
- <Grid id="grd_list" taborder="0" binddataset="ds_main_list_item" useinputpanel="false" cellsizingtype="col" position="absolute 0 0 1211 639" anchor="all" selecttype="multirow">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="150"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- <Row size="24" band="summ"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" text="치료실" taborder="undefined"/>
- <Cell col="1" taborder="undefined"/>
- <Cell col="2" taborder="undefined"/>
- <Cell col="3" taborder="undefined"/>
- <Cell col="4" taborder="undefined"/>
- <Cell col="5" taborder="undefined"/>
- <Cell col="6" taborder="undefined"/>
- <Cell col="7" taborder="undefined"/>
- <Cell col="8" taborder="undefined"/>
- <Cell col="9" taborder="undefined"/>
- <Cell col="10" taborder="undefined"/>
- <Cell col="11" taborder="undefined"/>
- <Cell col="12" 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 row="1" col="1" text="1월"/>
- <Cell row="1" col="2" text="2월"/>
- <Cell row="1" col="3" text="3월"/>
- <Cell row="1" col="4" text="4월"/>
- <Cell row="1" col="5" text="5월"/>
- <Cell row="1" col="6" text="6월"/>
- <Cell row="1" col="7" text="7월"/>
- <Cell row="1" col="8" text="8월"/>
- <Cell row="1" col="9" text="9월"/>
- <Cell row="1" col="10" text="10월"/>
- <Cell row="1" col="11" text="11월"/>
- <Cell row="1" col="12" text="12월"/>
- </Band>
- <Band id="body">
- <Cell displaytype="text" text="bind:curerm"/>
- <Cell col="1" displaytype="number" text="bind:a_month1"/>
- <Cell col="2" displaytype="number" text="bind:a_month2"/>
- <Cell col="3" displaytype="number" text="bind:a_month3"/>
- <Cell col="4" displaytype="number" text="bind:a_month4"/>
- <Cell col="5" displaytype="number" text="bind:a_month5"/>
- <Cell col="6" displaytype="number" text="bind:a_month6"/>
- <Cell col="7" displaytype="number" text="bind:a_month7"/>
- <Cell col="8" displaytype="number" text="bind:a_month8"/>
- <Cell col="9" displaytype="number" text="bind:a_month9"/>
- <Cell col="10" displaytype="number" text="bind:a_month10"/>
- <Cell col="11" displaytype="number" text="bind:a_month11"/>
- <Cell col="12" displaytype="number" text="bind:a_month12"/>
- <Cell col="13" displaytype="number" text="bind:a_monthsum"/>
- <Cell col="14" displaytype="number" text="bind:totexeccnt"/>
- <Cell col="15" displaytype="number" text="bind:totrsrvcnt"/>
- <Cell col="16" displaytype="number" text="bind:comparerate" mask="##0%"/>
- </Band>
- <Band id="summary">
- <Cell text="합계"/>
- <Cell col="1" displaytype="number" text="expr:lf_setSum('a_month1')"/>
- <Cell col="2" displaytype="number" text="expr:lf_setSum('a_month2')"/>
- <Cell col="3" displaytype="number" text="expr:lf_setSum('a_month3')"/>
- <Cell col="4" displaytype="number" text="expr:lf_setSum('a_month4')"/>
- <Cell col="5" displaytype="number" text="expr:lf_setSum('a_month5')"/>
- <Cell col="6" displaytype="number" text="expr:lf_setSum('a_month6')"/>
- <Cell col="7" displaytype="number" text="expr:lf_setSum('a_month7')"/>
- <Cell col="8" displaytype="number" text="expr:lf_setSum('a_month8')"/>
- <Cell col="9" displaytype="number" text="expr:lf_setSum('a_month9')"/>
- <Cell col="10" displaytype="number" text="expr:lf_setSum('a_month10')"/>
- <Cell col="11" displaytype="number" text="expr:lf_setSum('a_month11')"/>
- <Cell col="12" displaytype="number" text="expr:lf_setSum('a_month12')"/>
- <Cell col="13" displaytype="number" text="expr:lf_setSum('a_monthsum')"/>
- <Cell col="14" displaytype="number" text="expr:lf_setSum('totexeccnt')"/>
- <Cell col="15" displaytype="number" text="expr:lf_setSum('totrsrvcnt')"/>
- <Cell col="16" displaytype="number" text="expr:lf_setSum('comparerate')" mask="##0%"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="처방과" id="case2">
- <Layouts>
- <Layout>
- <Grid id="grd_list1" taborder="0" binddataset="ds_main_list1_item" useinputpanel="false" position="absolute 0 0 1211 639" anchor="all" selecttype="multirow">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="150"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- <Row size="24" band="summ"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" text="처방과" taborder="undefined"/>
- <Cell col="1" taborder="undefined"/>
- <Cell col="2" taborder="undefined"/>
- <Cell col="3" taborder="undefined"/>
- <Cell col="4" taborder="undefined"/>
- <Cell col="5" taborder="undefined"/>
- <Cell col="6" taborder="undefined"/>
- <Cell col="7" taborder="undefined"/>
- <Cell col="8" taborder="undefined"/>
- <Cell col="9" taborder="undefined"/>
- <Cell col="10" taborder="undefined"/>
- <Cell col="11" taborder="undefined"/>
- <Cell col="12" 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 row="1" col="1" text="1월"/>
- <Cell row="1" col="2" text="2월"/>
- <Cell row="1" col="3" text="3월"/>
- <Cell row="1" col="4" text="4월"/>
- <Cell row="1" col="5" text="5월"/>
- <Cell row="1" col="6" text="6월"/>
- <Cell row="1" col="7" text="7월"/>
- <Cell row="1" col="8" text="8월"/>
- <Cell row="1" col="9" text="9월"/>
- <Cell row="1" col="10" text="10월"/>
- <Cell row="1" col="11" text="11월"/>
- <Cell row="1" col="12" text="12월"/>
- </Band>
- <Band id="body">
- <Cell displaytype="text" text="bind:curerm"/>
- <Cell col="1" displaytype="number" text="bind:a_month1"/>
- <Cell col="2" displaytype="number" text="bind:a_month2"/>
- <Cell col="3" displaytype="number" text="bind:a_month3"/>
- <Cell col="4" displaytype="number" text="bind:a_month4"/>
- <Cell col="5" displaytype="number" text="bind:a_month5"/>
- <Cell col="6" displaytype="number" text="bind:a_month6"/>
- <Cell col="7" displaytype="number" text="bind:a_month7"/>
- <Cell col="8" displaytype="number" text="bind:a_month8"/>
- <Cell col="9" displaytype="number" text="bind:a_month9"/>
- <Cell col="10" displaytype="number" text="bind:a_month10"/>
- <Cell col="11" displaytype="number" text="bind:a_month11"/>
- <Cell col="12" displaytype="number" text="bind:a_month12"/>
- <Cell col="13" displaytype="number" text="bind:a_monthsum"/>
- <Cell col="14" displaytype="number" text="bind:totexeccnt"/>
- <Cell col="15" displaytype="number" text="bind:totrsrvcnt"/>
- <Cell col="16" displaytype="number" text="bind:comparerate" mask="##0%"/>
- </Band>
- <Band id="summary">
- <Cell text="합계"/>
- <Cell col="1" displaytype="number" text="expr:lf_setSum2('a_month1')"/>
- <Cell col="2" displaytype="number" text="expr:lf_setSum2('a_month2')"/>
- <Cell col="3" displaytype="number" text="expr:lf_setSum2('a_month3')"/>
- <Cell col="4" displaytype="number" text="expr:lf_setSum2('a_month4')"/>
- <Cell col="5" displaytype="number" text="expr:lf_setSum2('a_month5')"/>
- <Cell col="6" displaytype="number" text="expr:lf_setSum2('a_month6')"/>
- <Cell col="7" displaytype="number" text="expr:lf_setSum2('a_month7')"/>
- <Cell col="8" displaytype="number" text="expr:lf_setSum2('a_month8')"/>
- <Cell col="9" displaytype="number" text="expr:lf_setSum2('a_month9')"/>
- <Cell col="10" displaytype="number" text="expr:lf_setSum2('a_month10')"/>
- <Cell col="11" displaytype="number" text="expr:lf_setSum2('a_month11')"/>
- <Cell col="12" displaytype="number" text="expr:lf_setSum2('a_month12')"/>
- <Cell col="13" displaytype="number" text="expr:lf_setSum2('a_monthsum')"/>
- <Cell col="14" displaytype="number" text="expr:lf_setSum2('totexeccnt')"/>
- <Cell col="15" displaytype="number" text="expr:lf_setSum2('totrsrvcnt')"/>
- <Cell col="16" displaytype="number" text="expr:lf_setSum2('comparerate')" mask="##0%"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Static text="재활의학팀치료 환자수" position="absolute 130 81 330 102" id="caption1" class="tit_2" anchor="default"/>
- <Button position="absolute 1133 76 1211 98" id="btn_excsave" class="btn7" text="엑셀저장" onclick="grp_biz_btn_excsave_onclick" anchor="top right"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="월별통계" class="tit_1" position="absolute 0 0 100 25"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="hidden" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_inti" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="inti" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="inti"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_list_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="curerm" type="STRING" size="256"/>
- <Column id="i_month01" type="STRING" size="256"/>
- <Column id="o_month01" type="STRING" size="256"/>
- <Column id="a_month01" type="STRING" size="256"/>
- <Column id="i_month02" type="STRING" size="256"/>
- <Column id="o_month02" type="STRING" size="256"/>
- <Column id="a_month02" type="STRING" size="256"/>
- <Column id="i_month03" type="STRING" size="256"/>
- <Column id="o_month03" type="STRING" size="256"/>
- <Column id="a_month03" type="STRING" size="256"/>
- <Column id="i_month04" type="STRING" size="256"/>
- <Column id="o_month04" type="STRING" size="256"/>
- <Column id="a_month04" type="STRING" size="256"/>
- <Column id="i_month05" type="STRING" size="256"/>
- <Column id="o_month05" type="STRING" size="256"/>
- <Column id="a_month05" type="STRING" size="256"/>
- <Column id="i_month06" type="STRING" size="256"/>
- <Column id="o_month06" type="STRING" size="256"/>
- <Column id="a_month06" type="STRING" size="256"/>
- <Column id="i_month07" type="STRING" size="256"/>
- <Column id="o_month07" type="STRING" size="256"/>
- <Column id="a_month07" type="STRING" size="256"/>
- <Column id="i_month08" type="STRING" size="256"/>
- <Column id="o_month08" type="STRING" size="256"/>
- <Column id="a_month08" type="STRING" size="256"/>
- <Column id="i_month09" type="STRING" size="256"/>
- <Column id="o_month09" type="STRING" size="256"/>
- <Column id="a_month09" type="STRING" size="256"/>
- <Column id="i_month10" type="STRING" size="256"/>
- <Column id="o_month10" type="STRING" size="256"/>
- <Column id="a_month10" type="STRING" size="256"/>
- <Column id="i_month11" type="STRING" size="256"/>
- <Column id="o_month11" type="STRING" size="256"/>
- <Column id="a_month11" type="STRING" size="256"/>
- <Column id="i_month12" type="STRING" size="256"/>
- <Column id="o_month12" type="STRING" size="256"/>
- <Column id="a_month12" type="STRING" size="256"/>
- <Column id="i_monthsum" type="STRING" size="256"/>
- <Column id="o_monthsum" type="STRING" size="256"/>
- <Column id="a_monthsum" type="STRING" size="256"/>
- <Column id="totexeccnt" type="STRING" size="256"/>
- <Column id="totrsrvcnt" type="STRING" size="256"/>
- <Column id="comparerate" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="curerm"/>
- <Col id="i_month01"/>
- <Col id="o_month01"/>
- <Col id="a_month01"/>
- <Col id="i_month02"/>
- <Col id="o_month02"/>
- <Col id="a_month02"/>
- <Col id="i_month03"/>
- <Col id="o_month03"/>
- <Col id="a_month03"/>
- <Col id="i_month04"/>
- <Col id="o_month04"/>
- <Col id="a_month04"/>
- <Col id="i_month05"/>
- <Col id="o_month05"/>
- <Col id="a_month05"/>
- <Col id="i_month06"/>
- <Col id="o_month06"/>
- <Col id="a_month06"/>
- <Col id="i_month07"/>
- <Col id="o_month07"/>
- <Col id="a_month07"/>
- <Col id="i_month08"/>
- <Col id="o_month08"/>
- <Col id="a_month08"/>
- <Col id="i_month09"/>
- <Col id="o_month09"/>
- <Col id="a_month09"/>
- <Col id="i_month10"/>
- <Col id="o_month10"/>
- <Col id="a_month10"/>
- <Col id="i_month11"/>
- <Col id="o_month11"/>
- <Col id="a_month11"/>
- <Col id="i_month12"/>
- <Col id="o_month12"/>
- <Col id="a_month12"/>
- <Col id="i_monthsum"/>
- <Col id="o_monthsum"/>
- <Col id="a_monthsum"/>
- <Col id="totexeccnt"/>
- <Col id="totrsrvcnt"/>
- <Col id="comparerate"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_list1_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="curerm" type="STRING" size="256"/>
- <Column id="i_month01" type="STRING" size="256"/>
- <Column id="o_month01" type="STRING" size="256"/>
- <Column id="a_month01" type="STRING" size="256"/>
- <Column id="i_month02" type="STRING" size="256"/>
- <Column id="o_month02" type="STRING" size="256"/>
- <Column id="a_month02" type="STRING" size="256"/>
- <Column id="i_month03" type="STRING" size="256"/>
- <Column id="o_month03" type="STRING" size="256"/>
- <Column id="a_month03" type="STRING" size="256"/>
- <Column id="i_month04" type="STRING" size="256"/>
- <Column id="o_month04" type="STRING" size="256"/>
- <Column id="a_month04" type="STRING" size="256"/>
- <Column id="i_month05" type="STRING" size="256"/>
- <Column id="o_month05" type="STRING" size="256"/>
- <Column id="a_month05" type="STRING" size="256"/>
- <Column id="i_month06" type="STRING" size="256"/>
- <Column id="o_month06" type="STRING" size="256"/>
- <Column id="a_month06" type="STRING" size="256"/>
- <Column id="i_month07" type="STRING" size="256"/>
- <Column id="o_month07" type="STRING" size="256"/>
- <Column id="a_month07" type="STRING" size="256"/>
- <Column id="i_month08" type="STRING" size="256"/>
- <Column id="o_month08" type="STRING" size="256"/>
- <Column id="a_month08" type="STRING" size="256"/>
- <Column id="i_month09" type="STRING" size="256"/>
- <Column id="o_month09" type="STRING" size="256"/>
- <Column id="a_month09" type="STRING" size="256"/>
- <Column id="i_month10" type="STRING" size="256"/>
- <Column id="o_month10" type="STRING" size="256"/>
- <Column id="a_month10" type="STRING" size="256"/>
- <Column id="i_month11" type="STRING" size="256"/>
- <Column id="o_month11" type="STRING" size="256"/>
- <Column id="a_month11" type="STRING" size="256"/>
- <Column id="i_month12" type="STRING" size="256"/>
- <Column id="o_month12" type="STRING" size="256"/>
- <Column id="a_month12" type="STRING" size="256"/>
- <Column id="i_monthsum" type="STRING" size="256"/>
- <Column id="o_monthsum" type="STRING" size="256"/>
- <Column id="a_monthsum" type="STRING" size="256"/>
- <Column id="totexeccnt" type="STRING" size="256"/>
- <Column id="totrsrvcnt" type="STRING" size="256"/>
- <Column id="comparerate" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="curerm"/>
- <Col id="i_month01"/>
- <Col id="o_month01"/>
- <Col id="a_month01"/>
- <Col id="i_month02"/>
- <Col id="o_month02"/>
- <Col id="a_month02"/>
- <Col id="i_month03"/>
- <Col id="o_month03"/>
- <Col id="a_month03"/>
- <Col id="i_month04"/>
- <Col id="o_month04"/>
- <Col id="a_month04"/>
- <Col id="i_month05"/>
- <Col id="o_month05"/>
- <Col id="a_month05"/>
- <Col id="i_month06"/>
- <Col id="o_month06"/>
- <Col id="a_month06"/>
- <Col id="i_month07"/>
- <Col id="o_month07"/>
- <Col id="a_month07"/>
- <Col id="i_month08"/>
- <Col id="o_month08"/>
- <Col id="a_month08"/>
- <Col id="i_month09"/>
- <Col id="o_month09"/>
- <Col id="a_month09"/>
- <Col id="i_month10"/>
- <Col id="o_month10"/>
- <Col id="a_month10"/>
- <Col id="i_month11"/>
- <Col id="o_month11"/>
- <Col id="a_month11"/>
- <Col id="i_month12"/>
- <Col id="o_month12"/>
- <Col id="a_month12"/>
- <Col id="i_monthsum"/>
- <Col id="o_monthsum"/>
- <Col id="a_monthsum"/>
- <Col id="totexeccnt"/>
- <Col id="totrsrvcnt"/>
- <Col id="comparerate"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_inti_prcpcd" 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_inti_execdrid" 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_inti_curerm" 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_inti_orddeptcd" 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="keep">
- <ColumnInfo>
- <Column id="srchdate" type="STRING" size="256"/>
- <Column id="suppdeptcd" type="STRING" size="256"/>
- <Column id="execfromdd" type="STRING" size="256"/>
- <Column id="exectodd" type="STRING" size="256"/>
- <Column id="comparefromdd" type="STRING" size="256"/>
- <Column id="comparetodd" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="fstpatyn" type="STRING" size="256"/>
- <Column id="curerm" type="STRING" size="256"/>
- <Column id="curedr" type="STRING" size="256"/>
- <Column id="prcpcd" type="STRING" size="256"/>
- <Column id="execdrid" type="STRING" size="256"/>
- <Column id="srchflag" type="STRING" size="256"/>
- <Column id="srchioflag" type="STRING" size="256"/>
- <Column id="srchtab" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchdate"/>
- <Col id="srchflag">T</Col>
- <Col id="fstpatyn"/>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_biz.grp_sea.ipt_todd" propid="value" datasetid="ds_send" columnid="exectodd"/>
- <BindItem id="item1" compid="grp_biz.grp_sea.ipt_fromdd" propid="value" datasetid="ds_send" columnid="execfromdd"/>
- <BindItem id="item2" compid="grp_biz.grp_sea.input1" propid="value" datasetid="ds_send" columnid="comparetodd"/>
- <BindItem id="item3" compid="grp_biz.grp_sea.input2" propid="value" datasetid="ds_send" columnid="comparefromdd"/>
- <BindItem id="item4" compid="grp_biz.grp_sea.cmb_orddept" propid="value" datasetid="ds_send" columnid="orddeptcd"/>
- <BindItem id="item5" compid="grp_biz.grp_sea.cmb_execdrid" propid="value" datasetid="ds_send" columnid="execdrid"/>
- <BindItem id="item6" compid="grp_biz.grp_sea.cmb_curerm" propid="value" datasetid="ds_send" columnid="curerm"/>
- <BindItem id="item7" compid="grp_biz.grp_sea.radio1" propid="value" datasetid="ds_send" columnid="fstpatyn"/>
- <BindItem id="item8" compid="grp_biz.grp_sea.radio3" propid="value" datasetid="ds_send" columnid="srchioflag"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-09-30
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-09-30 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "ast_examcurexp::AEZ0001.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- var gSuppdeptcd = "";
- var splitIndex = 0;
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : N/A
- * Description :
- ****************************************************************************************/
- function setTitle() {
- ds_main_list_item.clearData();
- ds_main_list1_item.clearData();
- if(splitIndex == 0) {
- grp_biz.switch1.case1.grd_list.splitContentsCell("Head",0,1,0,1,true);
- grp_biz.switch1.case2.grd_list1.splitContentsCell("Head",0,1,0,1,true);
- } else {
- grp_biz.switch1.case1.grd_list.splitContentsCell("Head",0,1,0,splitIndex,true);
- grp_biz.switch1.case2.grd_list1.splitContentsCell("Head",0,1,0,splitIndex,true);
- grp_biz.switch1.case1.grd_list.splitContentsCell("Head",0,splitIndex+1,0,12,true);
- grp_biz.switch1.case2.grd_list1.splitContentsCell("Head",0,splitIndex+1,0,12,true);
- }
- // 치료 Title Setting
- ds_send.setColumn(0,"execfromdd",grp_biz.grp_sea.ipt_fromdd.getData())
- ds_send.setColumn(0,"exectodd",grp_biz.grp_sea.ipt_todd.getData())
- var stYearMonth = ds_send.getColumn(0, "execfromdd") + "01";
- var dtYearMonth = stYearMonth.toDate();
- var stEndMonth = ds_send.getColumn(0, "exectodd") + "01";
- var dtEndMonth = stEndMonth.toDate();
- var stYearHeader = "치료실^ ";
- var stMonthHeader = "치료실^ ";
- var stYearHeader1 = "처방코드^";
- var stMonthHeader1 = "처방코드^";
-
- for (var i = 1; i <= 12; i++) {
- // 년도
- var stYear = dtYearMonth.getDateFormat("YYYY");
- // 월
- var stMonth = dtYearMonth.getDateFormat("MM");
- stYearHeader = stYear + "년 ";
- stMonthHeader = stMonth + "월 ";
- // stYearHeader1 = stYear + "년^";
- // stMonthHeader1 = stMonth + "월^";
- grp_biz.switch1.case1.grd_list.setCellProperty("Head",i,"text",stYearHeader);
- grp_biz.switch1.case2.grd_list1.setCellProperty("Head",i,"text",stYearHeader);
- grp_biz.switch1.case1.grd_list.setCellProperty("Head",i+16,"text",stMonthHeader);
- grp_biz.switch1.case2.grd_list1.setCellProperty("Head",i+16,"text",stMonthHeader);
-
- if(dtYearMonth.getDateFormat("YYYYMM") > dtEndMonth.getDateFormat("YYYYMM")) {
- grp_biz.switch1.case1.grd_list.setFormatColProperty(i,"size",0);
- grp_biz.switch1.case2.grd_list1.setFormatColProperty(i,"size",0);
- } else {
- grp_biz.switch1.case1.grd_list.setFormatColProperty(i,"size",60);
- grp_biz.switch1.case2.grd_list1.setFormatColProperty(i,"size",60);
- }
- dtYearMonth.getAddDate(1, "M");
- }
-
- var titletext = "";
- var startcol = 0;
- var changeYn = "N"
- for(var i = 12 ; i >= 1 ; i--) {
- var stYearHeader2 = grp_biz.switch1.case1.grd_list.getCellProperty("Head",i,"text");
- if(i == 12) {
- startcol = i;
- titletext = stYearHeader2;
- } else if(i < 12 && titletext != stYearHeader2 && changeYn == "N") {
- grp_biz.switch1.case1.grd_list.mergeContentsCell("Head",0,i+1,0,startcol,i+1,false);
- grp_biz.switch1.case2.grd_list1.mergeContentsCell("Head",0,i+1,0,startcol,i+1,false);
- startcol = i;
- titletext = stYearHeader2;
- changeYn = "Y";
- splitIndex = i;
- } else if(i == 1 && startcol == 12){
- grp_biz.switch1.case1.grd_list.mergeContentsCell("Head",0,1,0,12,1,false);
- grp_biz.switch1.case2.grd_list1.mergeContentsCell("Head",0,1,0,12,1,false);
- splitIndex = 0;
- } else if(i == 1 && changeYn == "Y"){
- grp_biz.switch1.case1.grd_list.mergeContentsCell("Head",0,1,0,startcol,1,false);
- grp_biz.switch1.case2.grd_list1.mergeContentsCell("Head",0,1,0,startcol,1,false);
- }
- }
- // stYearHeader = stYearHeader + "합계^비교기간건수^증감^증감율|";
- // stMonthHeader = stMonthHeader + "합계^비교기간건수^증감^증감율";
- // stYearHeader1 = stYearHeader1 + "합계^비교기간건수^증감^증감율|";
- // stMonthHeader1 = stMonthHeader1 + "합계^비교기간건수^증감^증감율";
- // grp_biz.switch1.case1.grd_list.caption = stYearHeader + stMonthHeader;
- // grp_biz.switch1.case2.grd_list1.caption = stYearHeader1 + stMonthHeader1;
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SMAES03400_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
- lf_aezfSetSuppDeptcd(); //AEZ0001.xjs
- gSuppdeptcd = frmf_getParameter("AST_DEPTCD");
-
- // 진료과/진료의 조회
- dsf_createDs("ds_init_disccd");
- dsf_createDs("ds_init_insukind");
- dsf_createDs("ds_init_suppkind");
- dsf_createDs("ds_init_orddeptcd");
- dsf_createDs("ds_init_orddrid");
- dsf_createDs("ds_init_centcdlist");
- dsf_createDs("ds_init_subdeptcdlist");
- dsf_createDs("ds_init_reducd");
- dsf_createDs("ds_init_uncocd");
- dsf_createDs("ds_init_overcapa");
- dsf_createDs("ds_init_hospgrde");
- dsf_createDs("ds_init_P0022");
- dsf_createDs("ds_init_naticd");
- dsf_createDsRow("ds_req", [
- {col:"sess_posinstcd", type:"STRING", size:256, val:""}
- , {col:"dridsorttype", type:"STRING", size:256, val:""}
- ]);
- var oParam = {};
- oParam.id = "TRPMOCOM01";
- oParam.service = "pamcomnapp.PamComn";
- oParam.method = "reqGetComCD";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_init_disccd=disccd ds_init_insukind=insukind ds_init_suppkind=suppkind ds_init_orddeptcd=orddeptcd ds_init_orddrid=orddrid "
- +"ds_init_centcdlist=centcd ds_init_subdeptcdlist=subdeptcd ds_init_reducd=reducd ds_init_uncocd=uncocd ds_init_overcapa=overcapa "
- +"ds_init_hospgrde=hospgrde ds_init_P0022=P0022 ds_init_naticd=naticd";
- oParam.async = false;
- oParam.callback = "cf_TRPMOCOM01";
- tranf_submit(oParam);
-
- dsf_createDsRow("ds_req", [
- {col:"suppdeptcd", type:"STRING", size:256, val:gSuppdeptcd}
- , {col:"rbasecdflag", type:"STRING", size:256, val:"0"}
- ]);
- var oParam = {};
- oParam.id = "TRAES09000";
- oParam.service = "examcurestatsapp.RehbMediSc";
- oParam.method = "reqGetCode";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_inti_execdrid=execdrid ds_inti_curerm=curerm ds_inti_prcpcd=prcpcd ds_inti_orddeptcd=orddeptcd";
- oParam.async = false;
- oParam.callback = "cf_TRAES09000";
- tranf_submit(oParam);
-
- ds_send.setColumn( 0, "suppdeptcd", gSuppdeptcd);
- var fromdd = utlf_getCurrentDate().substr(0,4) + "01"
- var todd = utlf_getCurrentDate().substr(0,4) + "12";
- var comparefromdd = utlf_getCurrentDate().substr(0,6).toDate().getAddDate(-1,"Y").getDateFormat("YYYY") + "01";
- var comparetodd = comparefromdd.substr(0,4) + todd.substr(4,2);
- frmf_addComboItem("grp_biz.grp_sea.cmb_orddept","--전체--","","above");
- frmf_addComboItem("grp_biz.grp_sea.cmb_curerm","--전체--","","above");
- // frmf_addComboItem("grp_biz.grp_sea.cmb_prcpcd","--전체--","","above");
- frmf_addComboItem("grp_biz.grp_sea.cmb_execdrid","--전체--","","above");
-
- grp_biz.grp_sea.cmb_curerm.index = 0;
- grp_biz.grp_sea.cmb_execdrid.index = 0;
- grp_biz.grp_sea.cmb_orddept.index = 0;
- // grp_biz.grp_sea.cmb_prcpcd.index = 0;
-
- ds_main_list_item.clearData();
- ds_send.setColumn( 0, "srchflag","P");
- ds_send.setColumn( 0, "srchioflag","A");
- ds_send.setColumn( 0, "execfromdd", fromdd);
- ds_send.setColumn( 0, "exectodd", todd);
- ds_send.setColumn( 0, "comparefromdd",comparefromdd);
- ds_send.setColumn( 0, "comparetodd",comparetodd);
-
- grp_biz.grp_sea.ipt_fromdd.setData(fromdd);
- grp_biz.grp_sea.ipt_todd.setData(todd);
-
- grp_biz.grp_sea.input2.setData(comparefromdd);
- grp_biz.grp_sea.input1.setData(comparetodd);
-
- setTitle();
- }
- function cf_TRPMOCOM01(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- ds_init_orddrid.updateColID("nmspecyn","nmsp");
- }
- function cf_TRAES09000(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- ds_inti_execdrid.updateColID("basecd","cd");
- ds_inti_execdrid.updateColID("basecdflagdesc","nm");
- ds_inti_curerm.updateColID("basecd","cd");
- ds_inti_curerm.updateColID("basecdflagdesc","nm");
- ds_inti_prcpcd.updateColID("basecd","cd");
- ds_inti_prcpcd.updateColID("basecdflagdesc","nm");
- }
- function grp_biz_grp_sea_ipt_fromdd_onlbuttonup(obj:cp_monthCal, e:MouseEventInfo)
- {
- var curDate = obj.getData().toDate().getAddDate(12,"M").getDateFormat("YYYYMM");
- grp_biz.grp_sea.ipt_todd.setData(curDate);
- setTitle();
- }
- function grp_biz_grp_sea_input2_onlbuttonup(obj:cp_monthCal, e:MouseEventInfo)
- {
- var curDate = obj.getData().toDate().getAddDate(12,"M").getDateFormat("YYYYMM");
- grp_biz.grp_sea.input1.setData(curDate);
- setTitle();
- }
- // function grp_biz_grp_sea_cmb_curerm_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- // {
- // //2010.07.13 치료실,처방코드별로 조회 - 박재영
- // ds_inti_prcpcd.clearData();
- //
- // dsf_createDsRow("ds_req", [
- // {col:"suppdeptcd", type:"STRING", size:256, val:gSuppdeptcd}
- // , {col:"rbasecdflag", type:"STRING", size:256, val:"0"}
- // , {col:"curerm", type:"STRING", size:256, val:e.postvalue}
- // ]);
- // var oParam = {};
- // oParam.id = "TRAES09002";
- // oParam.service = "examcurestatsapp.RehbMediSc";
- // oParam.method = "reqGetCode";
- // oParam.inds = "req=ds_req";
- // oParam.outds = "ds_inti_prcpcd=prcpcd";
- // oParam.async = false;
- // oParam.callback = "cf_TRAES09002";
- //
- // tranf_submit(oParam);
- //
- // frmf_addComboItem("grp_biz.grp_sea.cmb_prcpcd","--전체--","","above");
- // grp_biz.grp_sea.cmb_prcpcd.index = 0;
- // }
- //
- // function cf_TRAES09002(sSvcId, nErrorCode, sErrorMsg) {
- // if(nErrorCode < 0) return;
- // ds_inti_prcpcd.updateColID("basecd","cd");
- // ds_inti_prcpcd.updateColID("basecdflagdesc","nm");
- // }
- function grp_biz_grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_list_item.clearData();
- //R:치료실,C:치료코드,D:처방과,E:치료사
- dsf_createDs("ds_req1")
- ds_req1.copyData(ds_send);
- ds_req1.setColumn( 0, "srchtab","R");
- dsf_setFixVal(ds_req1, "systflag:C");
- var oParam = {};
- oParam.id = "TRAES01301";
- oParam.service = "examcurestatsapp.RehbMediSc";
- oParam.method = "reqGetRehbStats";
- oParam.inds = "req=ds_req1";
- oParam.outds = "ds_main_list_item=item";
- oParam.async = true;
- //oParam.callback = "cf_TRAES01301";
- tranf_submit(oParam);
-
- dsf_createDs("ds_req2")
- ds_req2.copyData(ds_send);
- ds_req2.setColumn( 0, "srchtab","D");
- dsf_setFixVal(ds_req2, "systflag:C");
- var oParam = {};
- oParam.id = "TRAES01302";
- oParam.service = "examcurestatsapp.RehbMediSc";
- oParam.method = "reqGetRehbStats";
- oParam.inds = "req=ds_req2";
- oParam.outds = "ds_main_list1_item=item";
- oParam.async = true;
- //oParam.callback = "cf_TRAES01302";
- tranf_submit(oParam);
- }
- function lf_setSum(colNm){
- var totsum = 0 ;
-
- if(colNm == "comparerate") {
- var totrsrvcnt = ds_main_list_item.getSum("totrsrvcnt");
- var totexeccnt = ds_main_list_item.getSum("totexeccnt");
- totsum = (totrsrvcnt / totexeccnt * 100);
- totsum = totsum.toString().getRound(-1,"HALF_UP");
- } else {
- totsum = ds_main_list_item.getSum(colNm);
- }
-
- return totsum;
- }
- function lf_setSum2(colNm){
- var totsum = 0 ;
-
- if(colNm == "comparerate") {
- var totrsrvcnt = ds_main_list1_item.getSum("totrsrvcnt");
- var totexeccnt = ds_main_list1_item.getSum("totexeccnt");
- totsum = (totrsrvcnt / totexeccnt * 100);
- totsum = totsum.toString().getRound(-1,"HALF_UP");
- } else {
- totsum = ds_main_list1_item.getSum(colNm);
- }
-
- return totsum;
- }
- function grp_biz_btn_excsave_onclick(obj:Button, e:ClickEventInfo)
- {
- if(grp_biz.switch1.tabindex == 0) {
- if( ds_main_list_item.rowcount > 0 ){
- grdf_exportExcel(grp_biz.switch1.case1.grd_list, "SheetName", "SheetName", false, "", "user", false);
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
- } else {
- if( ds_main_list1_item.rowcount > 0 ){
- grdf_exportExcel(grp_biz.switch1.case2.grd_list1, "SheetName", "SheetName", false, "", "user", false);
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|