123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAES04400" position="absolute 0 0 1205 739" titletext="장비별 통합 통계" oninit="SMAES04400_oninit" onload="SMAES04400_onload">
- <Layouts>
- <Layout>
- <Tab id="switch1" taborder="1" tabindex="0" position="absolute 0 68 1195 733" anchor="all" onchanged="switch1_onchanged">
- <Tabpages>
- <Tabpage id="case1" text="일별">
- <Layouts>
- <Layout>
- <Grid id="grd_daylist" taborder="0" binddataset="ds_main_list_item" useinputpanel="false" position="absolute 0 11 1193 634" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="19"/>
- <Column size="110"/>
- <Column size="120"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="60"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="검사실"/>
- <Cell col="2" text="장비명"/>
- <Cell col="3" text="1일"/>
- <Cell col="4" text="2일"/>
- <Cell col="5" text="3일"/>
- <Cell col="6" text="4일"/>
- <Cell col="7" text="5일"/>
- <Cell col="8" text="6일"/>
- <Cell col="9" text="7일"/>
- <Cell col="10" text="8일"/>
- <Cell col="11" text="9일"/>
- <Cell col="12" text="10일"/>
- <Cell col="13" text="11일"/>
- <Cell col="14" text="12일"/>
- <Cell col="15" text="13일"/>
- <Cell col="16" text="14일"/>
- <Cell col="17" text="15일"/>
- <Cell col="18" text="16일"/>
- <Cell col="19" text="17일"/>
- <Cell col="20" text="18일"/>
- <Cell col="21" text="19일"/>
- <Cell col="22" text="20일"/>
- <Cell col="23" text="21일"/>
- <Cell col="24" text="22일"/>
- <Cell col="25" text="23일"/>
- <Cell col="26" text="24일"/>
- <Cell col="27" text="25일"/>
- <Cell col="28" text="26일"/>
- <Cell col="29" text="27일"/>
- <Cell col="30" text="28일"/>
- <Cell col="31" text="29일"/>
- <Cell col="32" text="30일"/>
- <Cell col="33" text="31일"/>
- <Cell col="34" text="합계"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" text="bind:systkey1"/>
- <Cell col="2" text="bind:systkey2"/>
- <Cell col="3" displaytype="number" text="bind:item01"/>
- <Cell col="4" displaytype="number" text="bind:item02"/>
- <Cell col="5" displaytype="number" text="bind:item03"/>
- <Cell col="6" displaytype="number" text="bind:item04"/>
- <Cell col="7" displaytype="number" text="bind:item05"/>
- <Cell col="8" displaytype="number" text="bind:item06"/>
- <Cell col="9" displaytype="number" text="bind:item07"/>
- <Cell col="10" displaytype="number" text="bind:item08"/>
- <Cell col="11" displaytype="number" text="bind:item09"/>
- <Cell col="12" displaytype="number" text="bind:item10"/>
- <Cell col="13" displaytype="number" text="bind:item11"/>
- <Cell col="14" displaytype="number" text="bind:item12"/>
- <Cell col="15" displaytype="number" text="bind:item13"/>
- <Cell col="16" displaytype="number" text="bind:item14"/>
- <Cell col="17" displaytype="number" text="bind:item15"/>
- <Cell col="18" displaytype="number" text="bind:item16"/>
- <Cell col="19" displaytype="number" text="bind:item17"/>
- <Cell col="20" displaytype="number" text="bind:item18"/>
- <Cell col="21" displaytype="number" text="bind:item19"/>
- <Cell col="22" displaytype="number" text="bind:item20"/>
- <Cell col="23" displaytype="number" text="bind:item21"/>
- <Cell col="24" displaytype="number" text="bind:item22"/>
- <Cell col="25" displaytype="number" text="bind:item23"/>
- <Cell col="26" displaytype="number" text="bind:item24"/>
- <Cell col="27" displaytype="number" text="bind:item25"/>
- <Cell col="28" displaytype="number" text="bind:item26"/>
- <Cell col="29" displaytype="number" text="bind:item27"/>
- <Cell col="30" displaytype="number" text="bind:item28"/>
- <Cell col="31" displaytype="number" text="bind:item29"/>
- <Cell col="32" displaytype="number" text="bind:item30"/>
- <Cell col="33" displaytype="number" text="bind:item31"/>
- <Cell col="34" displaytype="number" text="bind:total"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case2" text="월별">
- <Layouts>
- <Layout>
- <Grid id="grd_monthlist" taborder="0" binddataset="ds_main_list_item" useinputpanel="false" position="absolute 0 11 1193 634" anchor="all" oncellclick="switch1_case2_grd_monthlist_oncellclick" onheadclick="switch1_case2_grd_monthlist_onheadclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="23"/>
- <Column size="110"/>
- <Column size="120"/>
- <Column size="47"/>
- <Column size="47"/>
- <Column size="47"/>
- <Column size="47"/>
- <Column size="47"/>
- <Column size="47"/>
- <Column size="47"/>
- <Column size="47"/>
- <Column size="47"/>
- <Column size="47"/>
- <Column size="47"/>
- <Column size="47"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- </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" colspan="12" text="2006년" 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 row="1" col="3" text="1월"/>
- <Cell row="1" col="4" text="2월"/>
- <Cell row="1" col="5" text="3월"/>
- <Cell row="1" col="6" text="4월"/>
- <Cell row="1" col="7" text="5월"/>
- <Cell row="1" col="8" text="6월"/>
- <Cell row="1" col="9" text="7월"/>
- <Cell row="1" col="10" text="8월"/>
- <Cell row="1" col="11" text="9월"/>
- <Cell row="1" col="12" text="10월"/>
- <Cell row="1" col="13" text="11월"/>
- <Cell row="1" col="14" text="12월"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" text="bind:systkey1"/>
- <Cell col="2" text="bind:systkey2"/>
- <Cell col="3" text="bind:item01"/>
- <Cell col="4" text="bind:item02"/>
- <Cell col="5" text="bind:item03"/>
- <Cell col="6" text="bind:item04"/>
- <Cell col="7" text="bind:item05"/>
- <Cell col="8" text="bind:item06"/>
- <Cell col="9" text="bind:item07"/>
- <Cell col="10" text="bind:item08"/>
- <Cell col="11" text="bind:item09"/>
- <Cell col="12" text="bind:item10"/>
- <Cell col="13" text="bind:item11"/>
- <Cell col="14" text="bind:item12"/>
- <Cell col="15" text="bind:total"/>
- <Cell col="16" text="bind:comparecnt"/>
- <Cell col="17" text="bind:comparerate"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case3" text="분기별">
- <Layouts>
- <Layout>
- <Grid id="grd_qurtlist" taborder="0" binddataset="ds_main_list_item" useinputpanel="false" position="absolute 0 11 1193 634" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="23"/>
- <Column size="110"/>
- <Column size="120"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- </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" colspan="2" text="1분기" taborder="undefined"/>
- <Cell col="5" colspan="2" text="2분기" taborder="undefined"/>
- <Cell col="7" colspan="2" text="3분기" taborder="undefined"/>
- <Cell col="9" colspan="2" text="4분기" 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 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="환자수"/>
- <Cell row="1" col="8" text="증감율"/>
- <Cell row="1" col="9" text="환자수"/>
- <Cell row="1" col="10" text="증감율"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" text="bind:systkey1"/>
- <Cell col="2" text="bind:systkey2"/>
- <Cell col="3" displaytype="number" text="bind:item01"/>
- <Cell col="4" displaytype="number" text="bind:item02"/>
- <Cell col="5" displaytype="number" text="bind:item03"/>
- <Cell col="6" displaytype="number" text="bind:item04"/>
- <Cell col="7" displaytype="number" text="bind:item05"/>
- <Cell col="8" displaytype="number" text="bind:item06"/>
- <Cell col="9" displaytype="number" text="bind:item07"/>
- <Cell col="10" displaytype="number" text="bind:item08"/>
- <Cell col="11" displaytype="number" text="bind:total"/>
- <Cell col="12" displaytype="number" text="bind:comparecnt"/>
- <Cell col="13" displaytype="number" text="bind:comparerate"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case4" text="년도별">
- <Layouts>
- <Layout>
- <Grid id="grd_yearlist" taborder="0" binddataset="ds_main_list_item" useinputpanel="false" position="absolute 0 11 1193 634" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="110"/>
- <Column size="120"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="검사실"/>
- <Cell col="2" text="장비명"/>
- <Cell col="3" text="2005년"/>
- <Cell col="4" text="2006년"/>
- <Cell col="5" text="2007년"/>
- <Cell col="6" text="2008년"/>
- <Cell col="7" text="2009년"/>
- <Cell col="8" text="합계"/>
- <Cell col="9" text="전년도합계"/>
- <Cell col="10" text="증감율(%)"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" text="bind:systkey1"/>
- <Cell col="2" text="bind:systkey2"/>
- <Cell col="3" displaytype="number" text="bind:item01"/>
- <Cell col="4" displaytype="number" text="bind:item02"/>
- <Cell col="5" displaytype="number" text="bind:item03"/>
- <Cell col="6" displaytype="number" text="bind:item04"/>
- <Cell col="7" displaytype="number" text="bind:item05"/>
- <Cell col="8" displaytype="number" text="bind:total"/>
- <Cell col="9" displaytype="number" text="bind:comparecnt"/>
- <Cell col="10" displaytype="number" text="bind:comparerate"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Static id="caption6" text="장비별 통합 통계" class="tit_1" position="absolute 0 0 207 23"/>
- <Shape id="line1" class="line_10" position="absolute -1 100 1194 106" anchor="left top right"/>
- <Div id="grp_sea" taborder="2" class="div_SA" position="absolute 0 24 1195 54" anchor="left top right">
- <Layouts>
- <Layout>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1107 5 1113 25" anchor="top right"/>
- <Button id="btn_sea" taborder="7" text="조회" class="btn1" position="absolute 1120 4 1176 26" anchor="top right" onclick="grp_sea_btn_sea_onclick"/>
- <Static id="caption3" text="기준년월 :" class="search_name" position="absolute 255 7 341 24"/>
- <Static id="caption5" text="통계구분 :" class="search_name" position="absolute 10 7 96 24"/>
- <Combo id="cmb_statsflag" taborder="8" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 105 6 230 25" onitemchanged="grp_sea_cmb_statsflag_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">S</Col>
- <Col id="datacolumn">가동시간</Col>
- </Row>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">가동율</Col>
- </Row>
- <Row>
- <Col id="codecolumn">P</Col>
- <Col id="datacolumn">환자수</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Calendar id="input4" taborder="9" class="input_default" position="absolute 345 6 435 25" mask="yyyy-mm" dateformat="yyyy-MM" value="null" editformat="yyyy-MM" autoselect="true" onchanged="grp_sea_input4_onchanged"/>
- <Combo id="cmb_excuroomgrp" taborder="10" innerdataset="@ds_init_initexcuroomgrp" codecolumn="basecdcnts" datacolumn="basecdcnts2" class="combo_default" position="absolute 530 6 648 25" onitemchanged="grp_sea_cmb_excuroomgrp_onitemchanged"/>
- <Combo id="cmb_excuroom" taborder="11" innerdataset="@ds_init_cmb_info_excuroom_initexcuroom" codecolumn="basecd" datacolumn="basecdflagdesc" class="combo_default" position="absolute 650 6 780 25" onitemchanged="grp_sea_cmb_excuroom_onitemchanged"/>
- <Static id="caption7" text="검사실 :" class="search_name" position="absolute 450 7 530 24"/>
- <Static id="caption12" text="구분 :" class="search_name" visible="false" position="absolute 845 7 907 24"/>
- <Radio id="radio2" taborder="12" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" visible="false" position="absolute 909 5 1045 23" onitemchanged="grp_sea_radio2_onitemchanged">
- <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>
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_excsave" taborder="3" text="엑셀저장" class="btn7" position="absolute 1114 71 1194 90" anchor="top right" onclick="btn_excsave_onclick"/>
- <Radio id="rdo_srchioflag" taborder="4" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 260 71 375 89" onitemchanged="rdo_srchioflag_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">G</Col>
- <Col id="datacolumn">일반</Col>
- </Row>
- <Row>
- <Col id="codecolumn">H</Col>
- <Col id="datacolumn">회기별</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_initexcuroomgrp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="basecdcnts" type="STRING" size="256" sumtext="검사그룹코드"/>
- <Column id="basecdcnts2" type="STRING" size="256" sumtext="검사그룹코드명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_info_excuroom_initexcuroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="basecd" type="STRING" size="256" sumtext="검사실코드"/>
- <Column id="basecdflagdesc" type="STRING" size="256" sumtext="검사실코드"/>
- <Column id="basecdcnts" type="STRING" size="256" sumtext="검사실코드"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_list_item" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="systkey1" type="STRING" size="256" sumtext="구분1"/>
- <Column id="systkey2" type="STRING" size="256" sumtext="소계" prop="TEXT"/>
- <Column id="systkey3" type="STRING" size="256" sumtext="구분3"/>
- <Column id="item01" type="BIGDECIMAL" size="256" sumtext="1일"/>
- <Column id="item02" type="BIGDECIMAL" size="256" sumtext="2일"/>
- <Column id="item03" type="BIGDECIMAL" size="256" sumtext="3일"/>
- <Column id="item04" type="BIGDECIMAL" size="256" sumtext="4일"/>
- <Column id="item05" type="BIGDECIMAL" size="256" sumtext="5일"/>
- <Column id="item06" type="BIGDECIMAL" size="256" sumtext="6일"/>
- <Column id="item07" type="BIGDECIMAL" size="256" sumtext="7일"/>
- <Column id="item08" type="BIGDECIMAL" size="256" sumtext="8일"/>
- <Column id="item09" type="BIGDECIMAL" size="256" sumtext="9일"/>
- <Column id="item10" type="BIGDECIMAL" size="256" sumtext="10일"/>
- <Column id="item11" type="BIGDECIMAL" size="256" sumtext="11일"/>
- <Column id="item12" type="BIGDECIMAL" size="256" sumtext="12일"/>
- <Column id="item13" type="BIGDECIMAL" size="256" sumtext="13일"/>
- <Column id="item14" type="BIGDECIMAL" size="256" sumtext="14일"/>
- <Column id="item15" type="BIGDECIMAL" size="256" sumtext="15일"/>
- <Column id="item16" type="BIGDECIMAL" size="256" sumtext="16일"/>
- <Column id="item17" type="BIGDECIMAL" size="256" sumtext="17일"/>
- <Column id="item18" type="BIGDECIMAL" size="256" sumtext="18일"/>
- <Column id="item19" type="BIGDECIMAL" size="256" sumtext="19일"/>
- <Column id="item20" type="BIGDECIMAL" size="256" sumtext="20일"/>
- <Column id="item21" type="BIGDECIMAL" size="256" sumtext="21일"/>
- <Column id="item22" type="BIGDECIMAL" size="256" sumtext="22일"/>
- <Column id="item23" type="BIGDECIMAL" size="256" sumtext="23일"/>
- <Column id="item24" type="BIGDECIMAL" size="256" sumtext="24일"/>
- <Column id="item25" type="BIGDECIMAL" size="256" sumtext="25일"/>
- <Column id="item26" type="BIGDECIMAL" size="256" sumtext="26일"/>
- <Column id="item27" type="BIGDECIMAL" size="256" sumtext="27일"/>
- <Column id="item28" type="BIGDECIMAL" size="256" sumtext="28일"/>
- <Column id="item29" type="BIGDECIMAL" size="256" sumtext="29일"/>
- <Column id="item30" type="BIGDECIMAL" size="256" sumtext="30일"/>
- <Column id="item31" type="BIGDECIMAL" size="256" sumtext="31일"/>
- <Column id="total" type="BIGDECIMAL" size="256" sumtext="합계"/>
- <Column id="comparecnt" type="BIGDECIMAL" size="256" sumtext="전년도합계"/>
- <Column id="comparerate" type="BIGDECIMAL" size="256" sumtext="증감율"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="excuroomgrpcdid" type="STRING" size="256" sumtext="검사실그룹코드"/>
- <Column id="basesuppdeptcd" type="STRING" size="256" sumtext="부서코드"/>
- <Column id="rbasecdflag" type="STRING" size="256" sumtext="검사실기본코드구분,검사실"/>
- <Column id="kbasecdflag" type="STRING" size="256" sumtext="검사실기본코드구분,장비코드"/>
- <Column id="nbasecdflag" type="STRING" size="256" sumtext="핵종코드"/>
- <Column id="initflag" type="STRING" size="256" sumtext="astlib,병동병실코드구분,1:병동조회"/>
- <Column id="alladdyn" type="STRING" size="256" sumtext="검사살전체선택"/>
- <Column id="flag" type="STRING" size="256" sumtext="검사살전체선택"/>
- <Column id="baseroomflag" type="STRING" size="256" sumtext="검사실구분코드"/>
- <Column id="srchflag" type="STRING" size="256" sumtext="조회구분"/>
- <Column id="basecdcnts" type="STRING" size="256" sumtext="검사실그룹코드"/>
- <Column id="ebasecdflag" type="STRING" size="256" sumtext="실시자기본코드구분"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="suppdeptcd" type="STRING" size="256"/>
- <Column id="srchdate" type="STRING" size="256"/>
- <Column id="srchioflag" type="STRING" size="256"/>
- <Column id="srchstatsflag" type="STRING" size="256"/>
- <Column id="excuroomgrpcdid" type="STRING" size="256"/>
- <Column id="excuroomcdid" type="STRING" size="256"/>
- <Column id="srchseanflag" type="STRING" size="256"/>
- <Column id="srchflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchstatsflag">A</Col>
- <Col id="srchioflag">A</Col>
- <Col id="srchflag">D</Col>
- <Col id="srchseanflag">G</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_sea.cmb_statsflag" propid="value" datasetid="ds_send" columnid="srchstatsflag"/>
- <BindItem id="item1" compid="grp_sea.input4" propid="value" datasetid="ds_send" columnid="srchdate"/>
- <BindItem id="item2" compid="grp_sea.radio2" propid="value" datasetid="ds_send" columnid="srchioflag"/>
- <BindItem id="item3" compid="grp_sea.cmb_excuroom" propid="value" datasetid="ds_send" columnid="excuroomcdid"/>
- <BindItem id="item4" compid="grp_sea.cmb_excuroomgrp" propid="value" datasetid="ds_send" columnid="excuroomgrpcdid"/>
- <BindItem id="item5" compid="rdo_srchioflag" propid="value" datasetid="ds_send" columnid="srchseanflag"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "ast_examcurexp::AEZ0001.xjs";
- var vSuppdeptcd;
- function SMAES04400_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMAES04400_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(switch1.case1.grd_daylist);
- grdf_initGrid(switch1.case2.grd_monthlist);
- grdf_initGrid(switch1.case3.grd_qurtlist);
- grdf_initGrid(switch1.case4.grd_yearlist);
-
- lf_aezfSetSuppDeptcd();
-
- vSuppdeptcd = frmf_getPrestDeptCd();
-
- ds_send.setColumn(0, "suppdeptcd", vSuppdeptcd);
- ds_send.setColumn(0, "srchdate", String(utlf_getCurrentDate()).substr(0,6));
- ds_send.setColumn(0, "srchstatsflag", "A");
- ds_send.setColumn(0, "srchioflag", "A");
- ds_req.setColumn(0, "basesuppdeptcd", vSuppdeptcd);
-
- switch1.tabindex = 0;
-
- dsf_setFixVal(ds_req, "rbasecdflag:R,kbasecdflag:J,nbasecdflag:N,initflag:1,alladdyn:Y,baseroomflag:1,srchflag:A");
-
- var oParam = {};
- oParam.id = "TRAES09001";
- oParam.service = "examcurestatsapp.NmedStats";
- oParam.method = "reqGetCode";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_init_initexcuroomgrp=initexcuroomgrp";
- oParam.async = false;
- //oParam.callback = "cf_TRAES09001";
- tranf_submit(oParam);
-
- frmf_addComboItem("grp_sea.cmb_excuroomgrp","--전체--","","above");
- grp_sea.cmb_excuroomgrp.index = 0;
-
- setTitle();
-
- rdo_srchioflag.visible = false;
- }
- function setTitle()
- {
- var srchstatsflag = ds_send.getColumn(0, "srchstatsflag");
- var baseDate = ds_send.getColumn(0, "srchdate") + "01";
-
- ds_main_list_item.clearData();
-
- if(srchstatsflag == "S")
- {
- switch1.case1.grd_daylist.setCellProperty("Head", 34, "text", "합계");
-
- switch1.case2.grd_monthlist.setCellProperty("Head", 4, "text", "합계");
- switch1.case2.grd_monthlist.setCellProperty("Head", 5, "text", "전년도합계");
- switch1.case3.grd_qurtlist.setCellProperty("Head", 10, "text", "환자수");
- switch1.case3.grd_qurtlist.setCellProperty("Head", 11, "text", "증감율");
- switch1.case3.grd_qurtlist.setCellProperty("Head", 12, "text", "환자수");
- switch1.case3.grd_qurtlist.setCellProperty("Head", 13, "text", "증감율");
- switch1.case3.grd_qurtlist.setCellProperty("Head", 14, "text", "환자수");
- switch1.case3.grd_qurtlist.setCellProperty("Head", 15, "text", "증감율");
- switch1.case3.grd_qurtlist.setCellProperty("Head", 16, "text", "환자수");
- switch1.case3.grd_qurtlist.setCellProperty("Head", 17, "text", "증감율");
-
- switch1.case3.grd_qurtlist.setCellProperty("Head", 7, "text", "합계");
- switch1.case3.grd_qurtlist.setCellProperty("Head", 8, "text", "전년도합계");
- switch1.case4.grd_yearlist.setCellProperty("Head", 8, "text", "합계");
- switch1.case4.grd_yearlist.setCellProperty("Head", 9, "text", "전년도합계");
- }
- else if(srchstatsflag == "A")
- {
- switch1.case1.grd_daylist.setCellProperty("Head", 34, "text", "가동율");
-
- switch1.case2.grd_monthlist.setCellProperty("Head", 4, "text", "평균가동율");
- switch1.case2.grd_monthlist.setCellProperty("Head", 5, "text", "전년도가동율");
- switch1.case3.grd_qurtlist.setCellProperty("Head", 10, "text", "가동율");
- switch1.case3.grd_qurtlist.setCellProperty("Head", 11, "text", "증감율");
- switch1.case3.grd_qurtlist.setCellProperty("Head", 12, "text", "가동율");
- switch1.case3.grd_qurtlist.setCellProperty("Head", 13, "text", "증감율");
- switch1.case3.grd_qurtlist.setCellProperty("Head", 14, "text", "가동율");
- switch1.case3.grd_qurtlist.setCellProperty("Head", 15, "text", "증감율");
- switch1.case3.grd_qurtlist.setCellProperty("Head", 16, "text", "가동율");
- switch1.case3.grd_qurtlist.setCellProperty("Head", 17, "text", "증감율");
-
- switch1.case3.grd_qurtlist.setCellProperty("Head", 7, "text", "평균가동율");
- switch1.case3.grd_qurtlist.setCellProperty("Head", 8, "text", "전년도가동율");
- switch1.case4.grd_yearlist.setCellProperty("Head", 8, "text", "평균가동율");
- switch1.case4.grd_yearlist.setCellProperty("Head", 9, "text", "전년도가동율");
- }
- else
- {
- switch1.case1.grd_daylist.setCellProperty("Head", 34, "text", "합계");
-
- switch1.case2.grd_monthlist.setCellProperty("Head", 4, "text", "합계");
- switch1.case2.grd_monthlist.setCellProperty("Head", 5, "text", "전년도합계");
- switch1.case3.grd_qurtlist.setCellProperty("Head", 10, "text", "환자수");
- switch1.case3.grd_qurtlist.setCellProperty("Head", 11, "text", "증감율");
- switch1.case3.grd_qurtlist.setCellProperty("Head", 12, "text", "환자수");
- switch1.case3.grd_qurtlist.setCellProperty("Head", 13, "text", "증감율");
- switch1.case3.grd_qurtlist.setCellProperty("Head", 14, "text", "환자수");
- switch1.case3.grd_qurtlist.setCellProperty("Head", 15, "text", "증감율");
- switch1.case3.grd_qurtlist.setCellProperty("Head", 16, "text", "환자수");
- switch1.case3.grd_qurtlist.setCellProperty("Head", 17, "text", "증감율");
-
- switch1.case3.grd_qurtlist.setCellProperty("Head", 7, "text", "합계");
- switch1.case3.grd_qurtlist.setCellProperty("Head", 8, "text", "전년도합계");
- switch1.case4.grd_yearlist.setCellProperty("Head", 8, "text", "합계");
- switch1.case4.grd_yearlist.setCellProperty("Head", 9, "text", "전년도합계");
- }
-
- var sDayCnt = baseDate.toDate().getMonthDay();
- var baseYear = baseDate.substr(0,4);
- if(sDayCnt > 30)
- {
- switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item29"), "size", 38);
- switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item30"), "size", 38);
- switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item31"), "size", 38);
- }
- else if(sDayCnt == 29)
- {
- switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item29"), "size", 38);
- switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item30"), "size", 0);
- switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item31"), "size", 0);
- }
- else if(sDayCnt < 29)
- {
- switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item29"), "size", 0);
- switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item30"), "size", 0);
- switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item31"), "size", 0);
- }
- else
- {
- switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item29"), "size", 38);
- switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item30"), "size", 38);
- switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item31"), "size", 0);
- }
-
- switch1.case2.grd_monthlist.setCellProperty("Head", 3, "text", baseYear);
-
- for(var i = 7; i > 3; i--)
- {
- switch1.case4.grd_yearlist.setCellProperty("Head", i, "text", baseYear);
- baseYear = parseInt(baseYear)-1;
- }
- }
- function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- getNmedSytsStatsCaseList();
- }
- function getNmedSytsStatsCaseList()
- {
- if(switch1.tabindex == 0)
- {
- ds_send.setColumn(0, "srchflag", "D");
- }
- else if(switch1.tabindex == 1)
- {
- ds_send.setColumn(0, "srchflag", "M");
- }
- else if(switch1.tabindex == 2)
- {
- ds_send.setColumn(0, "srchflag", "Q");
- }
- else if(switch1.tabindex == 3)
- {
- ds_send.setColumn(0, "srchflag", "Y");
- }
-
- ds_main_list_item.clearData();
-
- var oParam = {};
- oParam.id = "TRAES04401";
- oParam.service = "examcurestatsapp.NmedStats";
- oParam.method = "reqGetNmedEqmtSytsStatsCaseList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_list_item=item";
- oParam.async = false;
- oParam.callback = "cf_TRAES04401";
- tranf_submit(oParam);
- }
- function cf_TRAES04401(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0)
- {
- return;
- }
- else
- {
- var cnt = ds_main_list_item.rowcount;
-
- if (cnt > 1)
- {
- var srchstatsflag = ds_send.getColumn(0, "srchstatsflag");
-
-
- }
- }
- }
- function grp_sea_cmb_statsflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- setTitle();
- }
- function grp_sea_input4_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- ds_send.setColumn(0, "srchdate", String(obj.value).substr(0,6))
- setTitle();
- }
- function grp_sea_cmb_excuroomgrp_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- var excuroomgrpcdid = obj.value;
-
- if (utlf_isNull(excuroomgrpcdid))
- {
- grp_sea.cmb_excuroom.enable = false;
- }
- else
- {
- grp_sea.cmb_excuroom.enable = true;
- }
-
- ds_req.setColumn(0, "excuroomgrpcdid", excuroomgrpcdid);
- ds_req.setColumn(0, "basecdcnts", excuroomgrpcdid);
-
- dsf_setFixVal(ds_req, "rbasecdflag:R,kbasecdflag:J,nbasecdflag:N,initflag:1,alladdyn:Y,flag:nuclear,baseroomflag:1,srchflag:P,ebasecdflag:E");
-
- var oParam = {};
- oParam.id = "TRAEA01418";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetInitNuclExamCureInfo";
- oParam.inds = "reqparam=ds_req";
- oParam.outds = "ds_init_cmb_info_excuroom_initexcuroom=initexcuroom";
- oParam.async = false;
- //oParam.callback = "cf_TRAEA01418";
- tranf_submit(oParam);
-
- ds_main_list_item.clearData();
- }
- function grp_sea_cmb_excuroom_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- getNmedSytsStatsCaseList();
- }
- function grp_sea_radio2_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- getNmedSytsStatsCaseList();
- }
- function rdo_srchioflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- getNmedSytsStatsCaseList();
- }
- function switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- if(obj.tabindex == 0)
- {
- ds_main_list_item.clearData();
- rdo_srchioflag.visible = false;
-
- getNmedSytsStatsCaseList();
- }
- else if(obj.tabindex == 1)
- {
- ds_main_list_item.clearData();
- rdo_srchioflag.visible = false;
- getNmedSytsStatsCaseList();
- }
- else if(obj.tabindex == 2)
- {
- ds_main_list_item.clearData();
- rdo_srchioflag.visible = true;
- getNmedSytsStatsCaseList();
- }
- else if(obj.tabindex == 3)
- {
- ds_main_list_item.clearData();
- rdo_srchioflag.visible = false;
- getNmedSytsStatsCaseList();
- }
- }
- function btn_excsave_onclick(obj:Button, e:ClickEventInfo)
- {
- if(switch1.tabindex == 0)
- {
- grdf_exportExcel(switch1.case1.grd_daylist, "", "see");
- }
- else if(switch1.tabindex == 1)
- {
- grdf_exportExcel(switch1.case2.grd_monthlist, "", "");
- }
- else if(switch1.tabindex == 2)
- {
- grdf_exportExcel(switch1.case3.grd_qurtlist, "", "");
- }
- else if(switch1.tabindex == 3)
- {
- grdf_exportExcel(switch1.case4.grd_yearlist, "", "");
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|