123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SSMNW00100" position="absolute 0 0 1196 762" titletext="중환자실 이용현황" onload="SSMNW00100_onload" scrollbars="none">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 1197 26" id="group1" positiontype="position">
- <Layouts>
- <Layout>
- <Static text="중환자실 이용현황" position="absolute 0 0 207 26" id="caption6" class="tit_1" anchor="default" positiontype="position"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 13 1195 759" id="group3" scrollbars="autoboth" positiontype="position" anchor="all">
- <Layouts>
- <Layout>
- <Div position="absolute 0 10 1194 45" align="align:center top;" id="grp_sea" anchor="left top right" positiontype="position" class="div_SA">
- <Layouts>
- <Layout width="1194" height="35">
- <Button text="조회" position="absolute 1128 7 1184 27" id="button1" class="btn1" onclick="button1_onclick" anchor="top right" positiontype="position"/>
- <Shape linetype="vertical" position="absolute 1109 7 1115 29" id="line13" class="line_4" anchor="top right" positiontype="position"/>
- <Static text="중환자실별 :" position="absolute 20 10 125 27" id="caption3" class="search_name" anchor="default" positiontype="position"/>
- <Combo position="absolute 130 9 265 29" id="cmb_wardcd" class="combo_search" anchor="default" positiontype="position" innerdataset="@ds_data_deptlist" codecolumn="deptcd" datacolumn="deptnm" onitemchanged="group3_grp_sea_cmb_wardcd_onitemchanged"/>
- <Static text="해당기간 :" position="absolute 310 10 400 27" id="caption2" class="search_name" anchor="default" positiontype="position"/>
- <Calendar position="absolute 401 9 491 29" align="align:center middle;" id="ipt_yearmonth" class="input_s_essential" mask="@@@@-@@" anchor="default" dateformat="yyyy-MM" value="null" editformat="yyyy-MM-dd" positiontype="position"/>
- <Calendar position="absolute 393 9 483 29" align="align:center middle;" id="ipt_year" class="input_s_essential" mask="@@@@" anchor="default" editformat="yyyy" dateformat="yyyy" value="null" positiontype="position"/>
- <Calendar position="absolute 393 9 483 29" align="align:center middle;" id="ipt_fromyear" class="input_s_essential" mask="@@@@" anchor="default" editformat="yyyy" dateformat="yyyy" value="null" positiontype="position"/>
- <Calendar position="absolute 510 9 600 29" align="align:center middle;" id="ipt_toyear" class="input_s_essential" mask="@@@@" anchor="default" dateformat="yyyy" value="null" editformat="yyyy" positiontype="position"/>
- <Static text="~" position="absolute 494 10 511 27" id="cpt_dash" class="search_no_b" visible="false" anchor="default" positiontype="position"/>
- <Calendar position="absolute 393 9 483 29" align="align:center middle;" id="ipt_fromdd" class="input_s_essential" mask="@@@@-@@-@@" anchor="default" dateformat="yyyy" value="null" editformat="yyyy" positiontype="position"/>
- <Calendar position="absolute 510 9 600 29" align="align:center middle;" id="ipt_todd" class="input_s_essential" mask="@@@@-@@-@@" anchor="default" editformat="yyyy" dateformat="yyyy" value="null" positiontype="position"/>
- <Static text="조회구분 :" position="absolute 655 10 760 27" id="caption1" class="search_name" anchor="default" positiontype="position"/>
- <Radio position="absolute 750 8 910 27" id="rdo_refflag" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" onitemchanged="group3_grp_sea_rdo_refflag_onitemchanged" positiontype="position">
- <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">B</Col>
- <Col id="datacolumn">진료과별</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- </Layout>
- </Layouts>
- </Div>
- <Tab position="absolute 0 59 1186 746" id="swt_icupatlist" anchor="all" onchanged="group3_swt_icupatlist_onchanged" positiontype="position">
- <Tabpages>
- <Tabpage id="case_year" text="연도별">
- <Layouts>
- <Layout>
- <Grid position="absolute 1 0 1186 660" id="grd_icupatyearlist" binddataset="ds_grid_icupatyearlist" anchor="all" positiontype="position">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="175"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <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"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" text="구분"/>
- <Cell col="1"/>
- <Cell col="2"/>
- <Cell col="3"/>
- <Cell col="4"/>
- <Cell col="5"/>
- <Cell col="6"/>
- <Cell col="7"/>
- <Cell col="8"/>
- <Cell col="9"/>
- <Cell row="1" col="1"/>
- <Cell row="1" col="2"/>
- <Cell row="1" col="3"/>
- <Cell row="1" col="4"/>
- <Cell row="1" col="5"/>
- <Cell row="1" col="6"/>
- <Cell row="1" col="7"/>
- <Cell row="1" col="8"/>
- <Cell row="1" col="9"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="bind:item"/>
- <Cell col="1" displaytype="number" text="bind:year0"/>
- <Cell col="2" displaytype="number" text="bind:year1"/>
- <Cell col="3" displaytype="number" text="bind:per0"/>
- <Cell col="4" displaytype="number" text="bind:year1"/>
- <Cell col="5" displaytype="number" text="bind:year2"/>
- <Cell col="6" displaytype="number" text="bind:per1"/>
- <Cell col="7" displaytype="number" text="bind:year2"/>
- <Cell col="8" displaytype="number" text="bind:year3"/>
- <Cell col="9" displaytype="number" text="bind:per2"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 1 0 1186 660" id="grd_icupatordyearlist" binddataset="ds_grid_icupatordyearlist" visible="true" anchor="all" scrollbars="none" positiontype="position">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="175"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <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"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" text="구분"/>
- <Cell col="1"/>
- <Cell col="2"/>
- <Cell col="3"/>
- <Cell col="4"/>
- <Cell col="5"/>
- <Cell col="6"/>
- <Cell col="7"/>
- <Cell col="8"/>
- <Cell col="9"/>
- <Cell row="1" col="1"/>
- <Cell row="1" col="2"/>
- <Cell row="1" col="3"/>
- <Cell row="1" col="4"/>
- <Cell row="1" col="5"/>
- <Cell row="1" col="6"/>
- <Cell row="1" col="7"/>
- <Cell row="1" col="8"/>
- <Cell row="1" col="9"/>
- </Band>
- <Band id="body">
- <Cell text="bind:item"/>
- <Cell col="1" displaytype="number" text="bind:y01"/>
- <Cell col="2" displaytype="number" text="bind:y02"/>
- <Cell col="3" displaytype="number" text="bind:per1"/>
- <Cell col="4" displaytype="number" text="bind:y03"/>
- <Cell col="5" displaytype="number" text="bind:y04"/>
- <Cell col="6" displaytype="number" text="bind:per2"/>
- <Cell col="7" displaytype="number" text="bind:y05"/>
- <Cell col="8" displaytype="number" text="bind:y06"/>
- <Cell col="9" displaytype="number" text="bind:per3"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case_month" text="월별">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 0 1186 660" id="grd_icupatmonthlist" binddataset="ds_grid_icupatmonthlist" anchor="all" positiontype="position">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="175"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="구분"/>
- <Cell col="1" text="1월"/>
- <Cell col="2" text="2월"/>
- <Cell col="3" text="3월"/>
- <Cell col="4" text="4월"/>
- <Cell col="5" text="5월"/>
- <Cell col="6" text="6월"/>
- <Cell col="7" text="7월"/>
- <Cell col="8" text="8월"/>
- <Cell col="9" text="9월"/>
- <Cell col="10" text="10월"/>
- <Cell col="11" text="11월"/>
- <Cell col="12" text="12월"/>
- <Cell col="13" text="Total/평균"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="bind:item"/>
- <Cell col="1" text="bind:m01"/>
- <Cell col="2" text="bind:m02"/>
- <Cell col="3" text="bind:m03"/>
- <Cell col="4" text="bind:m04"/>
- <Cell col="5" text="bind:m05"/>
- <Cell col="6" text="bind:m06"/>
- <Cell col="7" text="bind:m07"/>
- <Cell col="8" text="bind:m08"/>
- <Cell col="9" text="bind:m09"/>
- <Cell col="10" text="bind:m10"/>
- <Cell col="11" text="bind:m11"/>
- <Cell col="12" text="bind:m12"/>
- <Cell col="13" text="bind:total"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case_day" text="일별">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 1 1186 660" id="grd_icupatdaylist" binddataset="ds_grid_icupatdaylist" anchor="all" positiontype="position">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="175"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="64"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="구분"/>
- <Cell col="1" text="1일"/>
- <Cell col="2" text="2일"/>
- <Cell col="3" text="3일"/>
- <Cell col="4" text="4일"/>
- <Cell col="5" text="5일"/>
- <Cell col="6" text="6일"/>
- <Cell col="7" text="7일"/>
- <Cell col="8" text="8일"/>
- <Cell col="9" text="9일"/>
- <Cell col="10" text="10일"/>
- <Cell col="11" text="11일"/>
- <Cell col="12" text="12일"/>
- <Cell col="13" text="13일"/>
- <Cell col="14" text="14일"/>
- <Cell col="15" text="15일"/>
- <Cell col="16" text="16일"/>
- <Cell col="17" text="17일"/>
- <Cell col="18" text="18일"/>
- <Cell col="19" text="19일"/>
- <Cell col="20" text="20일"/>
- <Cell col="21" text="21일"/>
- <Cell col="22" text="22일"/>
- <Cell col="23" text="23일"/>
- <Cell col="24" text="24일"/>
- <Cell col="25" text="25일"/>
- <Cell col="26" text="26일"/>
- <Cell col="27" text="27일"/>
- <Cell col="28" text="28일"/>
- <Cell col="29" text="29일"/>
- <Cell col="30" text="30일"/>
- <Cell col="31" text="31일"/>
- <Cell col="32" text="Total/평균"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="bind:item"/>
- <Cell col="1" text="bind:d01"/>
- <Cell col="2" text="bind:d02"/>
- <Cell col="3" text="bind:d03"/>
- <Cell col="4" text="bind:d04"/>
- <Cell col="5" text="bind:d05"/>
- <Cell col="6" text="bind:d06"/>
- <Cell col="7" text="bind:d07"/>
- <Cell col="8" text="bind:d08"/>
- <Cell col="9" text="bind:d09"/>
- <Cell col="10" text="bind:d10"/>
- <Cell col="11" text="bind:d11"/>
- <Cell col="12" text="bind:d12"/>
- <Cell col="13" text="bind:d13"/>
- <Cell col="14" text="bind:d14"/>
- <Cell col="15" text="bind:d15"/>
- <Cell col="16" text="bind:d16"/>
- <Cell col="17" text="bind:d17"/>
- <Cell col="18" text="bind:d18"/>
- <Cell col="19" text="bind:d19"/>
- <Cell col="20" text="bind:d20"/>
- <Cell col="21" text="bind:d21"/>
- <Cell col="22" text="bind:d22"/>
- <Cell col="23" text="bind:d23"/>
- <Cell col="24" text="bind:d24"/>
- <Cell col="25" text="bind:d25"/>
- <Cell col="26" text="bind:d26"/>
- <Cell col="27" text="bind:d27"/>
- <Cell col="28" text="bind:d28"/>
- <Cell col="29" text="bind:d29"/>
- <Cell col="30" text="bind:d30"/>
- <Cell col="31" text="bind:d31"/>
- <Cell col="32" text="bind:total"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case_term" text="자유기간별">
- <Layouts>
- <Layout>
- <Grid position="absolute 1 0 1186 660" id="grd_patordtermdaylist" binddataset="ds_grid_icupattermdaylist" anchor="all" visible="true" positiontype="position">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="175"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="구분"/>
- <Cell col="1" text="1일"/>
- <Cell col="2" text="2일"/>
- <Cell col="3" text="3일"/>
- <Cell col="4" text="4일"/>
- <Cell col="5" text="5일"/>
- <Cell col="6" text="6일"/>
- <Cell col="7" text="7일"/>
- <Cell col="8" text="8일"/>
- <Cell col="9" text="9일"/>
- <Cell col="10" text="10일"/>
- </Band>
- <Band id="body">
- <Cell text="bind:item"/>
- <Cell col="1" text="bind:d01"/>
- <Cell col="2" text="bind:d02"/>
- <Cell col="3" text="bind:d03"/>
- <Cell col="4" text="bind:d04"/>
- <Cell col="5" text="bind:d05"/>
- <Cell col="6" text="bind:d06"/>
- <Cell col="7" text="bind:d07"/>
- <Cell col="8" text="bind:d08"/>
- <Cell col="9" text="bind:d09"/>
- <Cell col="10" text="bind:d10"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 1 0 1186 660" id="grd_pattermdaylist" binddataset="ds_grid_icupattermdaylist" anchor="all" visible="false" positiontype="position">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="175"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="구분"/>
- </Band>
- <Band id="body">
- <Cell text="bind:item"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Button text="엑셀" position="absolute 1140 57 1192 77" id="btn_excel" class="btn7" onclick="btn_excel_onclick" anchor="top right" positiontype="position"/>
- <Button text="용어정의" position="absolute 1075 57 1139 77" id="button3" class="btn2" onclick="button3_onclick" anchor="top right" positiontype="position"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="yearmonth" type="STRING" size="256"/>
- <Column id="year" type="STRING" size="256"/>
- <Column id="fromyear" type="STRING" size="256"/>
- <Column id="toyear" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="refflag" type="STRING" size="256"/>
- <Column id="wardcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_deptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="deptnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_grid_icupatyearlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="year" type="STRING"/>
- <Column id="item" type="STRING"/>
- <Column id="itemcnt" type="STRING"/>
- <Column id="sort" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_icupatordyearlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="item" type="STRING"/>
- <Column id="y01" type="STRING"/>
- <Column id="y02" type="STRING"/>
- <Column id="per1" type="STRING"/>
- <Column id="y03" type="STRING"/>
- <Column id="y04" type="STRING"/>
- <Column id="per2" type="STRING"/>
- <Column id="y05" type="STRING"/>
- <Column id="y06" type="STRING"/>
- <Column id="per3" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_icupatmonthlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="item" type="STRING"/>
- <Column id="m01" type="STRING"/>
- <Column id="m02" type="STRING"/>
- <Column id="m03" type="STRING"/>
- <Column id="m04" type="STRING"/>
- <Column id="m05" type="STRING"/>
- <Column id="m06" type="STRING"/>
- <Column id="m07" type="STRING"/>
- <Column id="m08" type="STRING"/>
- <Column id="m09" type="STRING"/>
- <Column id="m10" type="STRING"/>
- <Column id="m11" type="STRING"/>
- <Column id="m12" type="STRING"/>
- <Column id="total" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_icupatdaylist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="item" type="STRING"/>
- <Column id="d01" type="STRING"/>
- <Column id="d02" type="STRING"/>
- <Column id="d03" type="STRING"/>
- <Column id="d04" type="STRING"/>
- <Column id="d05" type="STRING"/>
- <Column id="d06" type="STRING"/>
- <Column id="d07" type="STRING"/>
- <Column id="d08" type="STRING"/>
- <Column id="d09" type="STRING"/>
- <Column id="d10" type="STRING"/>
- <Column id="d11" type="STRING"/>
- <Column id="d12" type="STRING"/>
- <Column id="d13" type="STRING"/>
- <Column id="d14" type="STRING"/>
- <Column id="d15" type="STRING"/>
- <Column id="d16" type="STRING"/>
- <Column id="d17" type="STRING"/>
- <Column id="d18" type="STRING"/>
- <Column id="d19" type="STRING"/>
- <Column id="d20" type="STRING"/>
- <Column id="d21" type="STRING"/>
- <Column id="d22" type="STRING"/>
- <Column id="d23" type="STRING"/>
- <Column id="d24" type="STRING"/>
- <Column id="d25" type="STRING"/>
- <Column id="d26" type="STRING"/>
- <Column id="d27" type="STRING"/>
- <Column id="d28" type="STRING"/>
- <Column id="d29" type="STRING"/>
- <Column id="d30" type="STRING"/>
- <Column id="d31" type="STRING"/>
- <Column id="total" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_grd_pattermdaylist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="item" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_grd_patordtermdaylist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="item" type="STRING"/>
- <Column id="d01" type="STRING"/>
- <Column id="d02" type="STRING"/>
- <Column id="d03" type="STRING"/>
- <Column id="d04" type="STRING"/>
- <Column id="d05" type="STRING"/>
- <Column id="d06" type="STRING"/>
- <Column id="d07" type="STRING"/>
- <Column id="d08" type="STRING"/>
- <Column id="d09" type="STRING"/>
- <Column id="d10" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_icupattermdaylist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="year" type="STRING"/>
- <Column id="item" type="STRING"/>
- <Column id="itemcnt" type="STRING"/>
- <Column id="sort" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_icupatyearlist_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group3.grp_sea.ipt_fromdd" propid="value" datasetid="ds_cond" columnid="fromdd"/>
- <BindItem id="item1" compid="group3.grp_sea.ipt_todd" propid="value" datasetid="ds_cond" columnid="todd"/>
- <BindItem id="item2" compid="group3.grp_sea.ipt_fromyear" propid="value" datasetid="ds_cond" columnid="fromyear"/>
- <BindItem id="item3" compid="group3.grp_sea.ipt_toyear" propid="value" datasetid="ds_cond" columnid="toyear"/>
- <BindItem id="item4" compid="group3.grp_sea.ipt_year" propid="value" datasetid="ds_cond" columnid="year"/>
- <BindItem id="item5" compid="group3.grp_sea.ipt_yearmonth" propid="value" datasetid="ds_cond" columnid="yearmonth"/>
- <BindItem id="item6" compid="group3.grp_sea.cmb_wardcd" propid="value" datasetid="ds_cond" columnid="wardcd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : Himed
- * Job Name :
- * File Name : SSMNW00100_중환자실 월별연도별 이용현황.xfdl
- * Creator :
- * Make Date : 2014-08-20
- *
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2014-08-20 Converting Program(TF->XP)
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // xjs Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "emr_carecomxp::SPMNZ001.xjs";
-
- /***********************************************************************************************
- * 함수명 : fInit
- * 설 명 : 초기화시
- ************************************************************************************************/
- function fInit(){
- ds_cond.enableevent = false;
- ds_cond.setColumn(0,"yearmonth", utlf_getCurrentDate().substr(0,6) );
- ds_cond.setColumn(0,"year", utlf_getCurrentDate().substr(0,4) );
- ds_cond.setColumn(0,"fromyear",utlf_getCurrentDate().substr(0,4) );
- ds_cond.setColumn(0,"toyear",utlf_getCurrentDate().substr(0,4) );
- ds_cond.setColumn(0,"fromdd",utlf_getCurrentDate());
- ds_cond.setColumn(0,"todd",utlf_getCurrentDate());
- ds_cond.setColumn(0,"refflag","A");
- ds_cond.setColumn(0,"wardcd","");
- ds_cond.enableevent = true;
-
- group3.grp_sea.rdo_refflag.index=0;
- group3.grp_sea.ipt_fromyear.visible=false;
- group3.grp_sea.ipt_toyear.visible=false;
- group3.grp_sea.ipt_year.visible=false;//월별
- group3.grp_sea.ipt_yearmonth.visible=false;//일별
- group3.grp_sea.ipt_fromdd.visible=true;//연도별
- group3.grp_sea.ipt_todd.visible=true;//연도별
- group3.grp_sea.cpt_dash.visible=true;//연도별
-
- group3.swt_icupatlist.case_year.grd_icupatyearlist.visible=true;//통계항목별
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.visible=false;//진료과별
-
- if(frmf_getMenuParam() == "SSMNW00200"){ // 자유기간 이용현황 메뉴선택 일 경우
- group3.grp_sea.rdo_refflag.index=0;
- group3.grp_sea.ipt_fromyear.visible=false;
- group3.grp_sea.ipt_toyear.visible=false;
- group3.grp_sea.ipt_year.visible=false;//월별
- group3.grp_sea.ipt_yearmonth.visible=false;//일별
- group3.grp_sea.ipt_fromdd.visible=true;//연도별
- group3.grp_sea.ipt_todd.visible=true;//연도별
- group3.grp_sea.cpt_dash.visible=true;//연도별
-
- }else{
- group3.grp_sea.rdo_refflag.index=0;
- group3.grp_sea.ipt_fromyear.visible=false;
- group3.grp_sea.ipt_toyear.visible=false;
- group3.grp_sea.ipt_year.visible=false;//월별
- group3.grp_sea.ipt_yearmonth.visible=false;//일별
- group3.grp_sea.ipt_fromdd.visible=true;//연도별
- group3.grp_sea.ipt_todd.visible=true;//연도별
- group3.grp_sea.cpt_dash.visible=true;//연도별
- group3.swt_icupatlist.removeTabpage(3);
- }
-
- tranf_submit({
- id: "TRSNW00101"
- , service: "stsenrapp.StsEnrIcuMngt"
- , method: "reqGetDeptList"
- , outds: "ds_data_deptlist=deptlist"
- , async: false
- });
-
- }
- /***********************************************************************************************
- * 함수명 : fSwitchSrchICUPatList
- * 설 명 : 탭에 따른 조회
- ************************************************************************************************/
- function fSwitchSrchICUPatList(){
- var tabID = group3.swt_icupatlist.tabindex;
- switch( tabID){
- // 연도별
- case 0: fSrchICUYearInfo(); // 중환자실 연도별현황 조회
- break;
- // 월별
- case 1: fSrchICUMonthInfo(); // 중환자실 월별현황 조회
- break;
- // 일자별
- case 2: fSrchICUDayInfo(); // 중환자실 일별현황 조회
- break;
- // 자유기간별
- case 3: fSrchICUTermDayInfo(); // 중환자실 자유기간별현황 조회
- break;
- }
- }
- /***********************************************************************************************
- * 함수명 : fSrchICUYearInfo
- * 설 명 : 중환자실 연도별현황 조회
- ************************************************************************************************/
- function fSrchICUYearInfo(){
- group3.grp_sea.ipt_fromdd.updateToDataset();
- group3.grp_sea.ipt_todd.updateToDataset();
- var cnt = 0;
- var fromyear = group3.grp_sea.ipt_fromdd.value;
- var toyear = group3.grp_sea.ipt_todd.value;
- var interval = utlf_getDateInterval(fromyear, toyear, "yyyy");
- var maxyear = 3; // 조회기간 제한
- var tempyear = "";
-
- // 조회구간이 3년을 넘으면 제어
- if(interval >= maxyear){
- sysf_messageBox("조회구간은 최대 3년만 가능합니다.","I");
- return;
- }
-
- //통계항목별
- if( group3.grp_sea.rdo_refflag.value =="A"){
-
- if(fromyear > toyear){
- sysf_messageBox("해당기간이 올바르지 않습니다.","E", "확인 후 다시 조회하십시오.");
- group3.ipt_fromdd.setFocus("ipt_fromyear");
- return;
- }
-
- ds_grid_icupatyearlist.clearData();
- ds_grid_icupatyearlist_temp.clearData();
-
- dsf_createDsRow("ds_temp", [{col: "fromyear", val:String(fromyear).toDate().getAddDate(-1,"Y").getDateFormat("YYYY") }
- ,{col:"toyear", val:String(toyear).toDate().getDateFormat("YYYY") }
- ,{col: "wardcd", val:group3.grp_sea.cmb_wardcd.value}
- ,{col: "refflag", val:group3.grp_sea.rdo_refflag.value }]);
- tranf_submit({
- id: "TRSNW00104"
- , service: "stsenrapp.StsEnrIcuMngt"
- , method: "reqGetICUYearList"
- , inds: "req=ds_temp"
- , outds: "ds_grid_icupatyearlist_temp=icupatyearlist"
- , async: false
- });
-
- if(ds_grid_icupatyearlist_temp.rowcount > 0) {
-
- if(interval == 0){
- group3.swt_icupatlist.case_year.grd_icupatyearlist.enableredraw=false;
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setCellProperty("Head", 1, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4));
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setCellProperty("Head", 2, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4));
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setCellProperty("Head", 3, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4));
- group3.swt_icupatlist.case_year.grd_icupatyearlist.mergeContentsCell("Head",0,1,0,3,3,false);
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setCellProperty("Head", 8, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4) +"년");
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setCellProperty("Head", 9, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4)-1+"년");
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setCellProperty("Head", 10, "text", "증감(%)");
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setFormatColProperty(4,"size",0);
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setFormatColProperty(5,"size",0);
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setFormatColProperty(6,"size",0);
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setFormatColProperty(7,"size",0);
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setFormatColProperty(8,"size",0);
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setFormatColProperty(9,"size",0);
- group3.swt_icupatlist.case_year.grd_icupatyearlist.enableredraw=true;
- cnt = 2;
- }
- if(interval ==1){
- group3.swt_icupatlist.case_year.grd_icupatyearlist.enableredraw=false;
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setCellProperty("Head", 1, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4));
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setCellProperty("Head", 2, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4));
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setCellProperty("Head", 3, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4));
- group3.swt_icupatlist.case_year.grd_icupatyearlist.mergeContentsCell("Head",0,1,0,3,3,false);
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setCellProperty("Head", 2, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4)-1);
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setCellProperty("Head", 3, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4)-1);
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setCellProperty("Head", 4, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4)-1);
- group3.swt_icupatlist.case_year.grd_icupatyearlist.mergeContentsCell("Head",0,4,0,6,3,false);
-
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setCellProperty("Head", 6, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4) +"년");
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setCellProperty("Head", 7, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4)-1+"년");
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setCellProperty("Head", 8, "text", "증감(%)");
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setCellProperty("Head", 9, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4)-1 +"년");
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setCellProperty("Head", 10, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4)-2+"년");
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setCellProperty("Head", 11, "text", "증감(%)");
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setFormatColProperty(4,"size",80);
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setFormatColProperty(5,"size",80);
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setFormatColProperty(6,"size",80);
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setFormatColProperty(7,"size",0);
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setFormatColProperty(8,"size",0);
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setFormatColProperty(9,"size",0);
- group3.swt_icupatlist.case_year.grd_icupatyearlist.enableredraw=true;
- cnt = 3;
- }
- if(interval ==2){
- group3.swt_icupatlist.case_year.grd_icupatyearlist.enableredraw=false;
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setCellProperty("Head", 1, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4));
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setCellProperty("Head", 2, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4));
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setCellProperty("Head", 3, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4));
- group3.swt_icupatlist.case_year.grd_icupatyearlist.mergeContentsCell("Head",0,1,0,3,3,false);
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setCellProperty("Head", 2, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4)-1);
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setCellProperty("Head", 3, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4)-1);
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setCellProperty("Head", 4, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4)-1);
- group3.swt_icupatlist.case_year.grd_icupatyearlist.mergeContentsCell("Head",0,4,0,6,3,false);
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setCellProperty("Head", 3, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4)-2);
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setCellProperty("Head", 4, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4)-2);
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setCellProperty("Head", 5, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4)-2);
- group3.swt_icupatlist.case_year.grd_icupatyearlist.mergeContentsCell("Head",0,7,0,9,3,false);
-
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setCellProperty("Head", 4, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4) +"년");
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setCellProperty("Head", 5, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4)-1+"년");
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setCellProperty("Head", 6, "text", "증감(%)");
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setCellProperty("Head", 7, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4)-1 +"년");
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setCellProperty("Head", 8, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4)-2+"년");
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setCellProperty("Head", 9, "text", "증감(%)");
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setCellProperty("Head", 10, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4)-2 +"년");
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setCellProperty("Head", 11, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4)-3+"년");
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setCellProperty("Head", 12, "text", "증감(%)");
-
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setFormatColProperty(4,"size",80);
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setFormatColProperty(5,"size",80);
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setFormatColProperty(6,"size",80);
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setFormatColProperty(7,"size",80);
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setFormatColProperty(8,"size",80);
- group3.swt_icupatlist.case_year.grd_icupatyearlist.setFormatColProperty(9,"size",80);
- group3.swt_icupatlist.case_year.grd_icupatyearlist.enableredraw=true;
- cnt = 4;
- }
- tempyear = ds_temp.getColumn(0,"toyear");
-
- for (var k=0; k < 28; k++){
- ds_grid_icupatyearlist.addRow();
- }
- for (var i=0; i < cnt; i++){
- for (var j=0; j < ds_grid_icupatyearlist.rowcount; j++){
-
- if( !utlf_isNull(ds_grid_icupatyearlist_temp.lookup("year", tempyear, "year"))){
- itemcnt = ds_grid_icupatyearlist_temp.lookupExpr("year=='"+tempyear+"' && sort=='"+(j+1)+"'","itemcnt")
- item = ds_grid_icupatyearlist_temp.lookupExpr("year=='"+tempyear+"' && sort=='"+(j+1)+"'","item")
- sort = ds_grid_icupatyearlist_temp.lookupExpr("year=='"+tempyear+"' && sort=='"+(j+1)+"'","sort")
- per = utlf_transNull(ds_grid_icupatyearlist_temp.lookupExpr("year=='"+(tempyear-1)+"' && sort=='"+(j+1)+"'","itemcnt"),0);
- ds_grid_icupatyearlist.addColumn("year"+ i,"string");
- ds_grid_icupatyearlist.addColumn("per"+ i,"string");
- ds_grid_icupatyearlist.setColumn(j, "item", item)
- ds_grid_icupatyearlist.setColumn(j, "year"+ i, itemcnt)
- ds_grid_icupatyearlist.setColumn(j, "per"+ i, Math.round((Number(itemcnt) - Number(per)) / Number(per) * 100 *100)/100 )
- ds_grid_icupatyearlist.setColumn(j, "sort", sort)
- }
- }
- tempyear --;
- }
-
- }
- }else{
-
- ds_grid_icupatordyearlist.clearData();
- dsf_createDsRow("ds_temp", [{col: "fromyear", val:ds_cond.getColumn(0,"fromyear").toDate().getAddDate(0,"Y").getDateFormat("YYYY") }
- ,{col:"toyear", val:ds_cond.getColumn(0,"toyear") }
- ,{col: "wardcd", val:ds_cond.getColumn(0,"wardcd") }
- ,{col: "refflag", val:group3.grp_sea.rdo_refflag.value }]);
- tranf_submit({
- id: "TRSNW00106"
- , service: "stsenrapp.StsEnrIcuMngt"
- , method: "reqGetOrdICUYearList"
- , inds: "req=ds_temp"
- , outds: "ds_grid_icupatordyearlist=icupatyearlist"
- , async: false
- //, callback: "cbk_TRMNR08501"
- });
-
- // 연도별 그리드 만들기(가로형태로)
- if(ds_grid_icupatordyearlist.rowcount > 0) {
- if(interval == 0){
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.enableredraw=false;
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setCellProperty("Head", 1, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4));
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setCellProperty("Head", 2, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4));
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setCellProperty("Head", 3, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4));
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.mergeContentsCell("Head",0,1,0,3,3,false);
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setCellProperty("Head", 8, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4) +"년");
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setCellProperty("Head", 9, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4)-1+"년");
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setCellProperty("Head", 10, "text", "증감(%)");
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setFormatColProperty(4,"size",0);
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setFormatColProperty(5,"size",0);
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setFormatColProperty(6,"size",0);
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setFormatColProperty(7,"size",0);
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setFormatColProperty(8,"size",0);
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setFormatColProperty(9,"size",0);
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.enableredraw=true;
- }
- if(interval ==1){
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.enableredraw=false;
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setCellProperty("Head", 1, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4));
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setCellProperty("Head", 2, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4));
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setCellProperty("Head", 3, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4));
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.mergeContentsCell("Head",0,1,0,3,3,false);
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setCellProperty("Head", 2, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4)-1);
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setCellProperty("Head", 3, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4)-1);
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setCellProperty("Head", 4, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4)-1);
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.mergeContentsCell("Head",0,4,0,6,3,false);
-
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setCellProperty("Head", 6, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4) +"년");
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setCellProperty("Head", 7, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4)-1+"년");
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setCellProperty("Head", 8, "text", "증감(%)");
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setCellProperty("Head", 9, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4)-1 +"년");
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setCellProperty("Head", 10, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4)-2+"년");
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setCellProperty("Head", 11, "text", "증감(%)");
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setFormatColProperty(4,"size",80);
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setFormatColProperty(5,"size",80);
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setFormatColProperty(6,"size",80);
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setFormatColProperty(7,"size",0);
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setFormatColProperty(8,"size",0);
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setFormatColProperty(9,"size",0);
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.enableredraw=true;
- }
- if(interval ==2){
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.enableredraw=false;
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setCellProperty("Head", 1, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4));
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setCellProperty("Head", 2, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4));
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setCellProperty("Head", 3, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4));
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.mergeContentsCell("Head",0,1,0,3,3,false);
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setCellProperty("Head", 2, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4)-1);
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setCellProperty("Head", 3, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4)-1);
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setCellProperty("Head", 4, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4)-1);
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.mergeContentsCell("Head",0,4,0,6,3,false);
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setCellProperty("Head", 3, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4)-2);
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setCellProperty("Head", 4, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4)-2);
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setCellProperty("Head", 5, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4)-2);
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.mergeContentsCell("Head",0,7,0,9,3,false);
-
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setCellProperty("Head", 4, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4) +"년");
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setCellProperty("Head", 5, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4)-1+"년");
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setCellProperty("Head", 6, "text", "증감(%)");
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setCellProperty("Head", 7, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4)-1 +"년");
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setCellProperty("Head", 8, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4)-2+"년");
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setCellProperty("Head", 9, "text", "증감(%)");
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setCellProperty("Head", 10, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4)-2 +"년");
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setCellProperty("Head", 11, "text", String(group3.grp_sea.ipt_todd.value).substr(0,4)-3+"년");
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setCellProperty("Head", 12, "text", "증감(%)");
-
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setFormatColProperty(4,"size",80);
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setFormatColProperty(5,"size",80);
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setFormatColProperty(6,"size",80);
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setFormatColProperty(7,"size",80);
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setFormatColProperty(8,"size",80);
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.setFormatColProperty(9,"size",80);
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.enableredraw=true;
- }
- }
- }
-
- }
- /***********************************************************************************************
- * 함수명 : fSrchICUMonthInfo
- * 설 명 : 중환자실 월별현황 조회
- ************************************************************************************************/
- function fSrchICUMonthInfo(){
- ds_grid_icupatmonthlist.clearData();
- dsf_createDsRow("ds_temp", [{col: "year", val:ds_cond.getColumn(0,"year").substr(0,4) }
- ,{col: "wardcd", val:ds_cond.getColumn(0,"wardcd") }
- ,{col: "refflag", val:group3.grp_sea.rdo_refflag.value }]);
- tranf_submit({
- id: "TRSNW00103"
- , service: "stsenrapp.StsEnrIcuMngt"
- , method: "reqGetICUMonthList"
- , inds: "req=ds_temp"
- , outds: "ds_grid_icupatmonthlist=icupatmonthlist"
- , async: false
- //, callback: "cbk_TRMNR08501"
- });
- }
- /***********************************************************************************************
- * 함수명 : fSrchICUDayInfo
- * 설 명 : 중환자실 일별현황 조회
- ************************************************************************************************/
- function fSrchICUDayInfo(){
- ds_grid_icupatdaylist.clearData();
- dsf_createDsRow("ds_temp", [{col: "yearmonth", val:ds_cond.getColumn(0,"yearmonth").substr(0,6) }
- ,{col: "wardcd", val:ds_cond.getColumn(0,"wardcd") }
- ,{col: "refflag", val:group3.grp_sea.rdo_refflag.value }]);
- tranf_submit({
- id: "TRSNW00102"
- , service: "stsenrapp.StsEnrIcuMngt"
- , method: "reqGetICUDayList"
- , inds: "req=ds_temp"
- , outds: "ds_grid_icupatdaylist=icupatdaylist"
- , async: false
- });
-
- }
- /***********************************************************************************************
- * 함수명 : fSrchICUTermDayInfo
- * 설 명 : 중환자실 자유기간별현황 조회
- ************************************************************************************************/
- function fSrchICUTermDayInfo(){
- ds_grid_icupattermdaylist.clearData();
- dsf_createDsRow("ds_temp", [{col: "fromdd", val:ds_cond.getColumn(0,"fromdd") }
- ,{col:"todd", val:ds_cond.getColumn(0,"todd") }
- ,{col: "wardcd", val:ds_cond.getColumn(0,"wardcd") }
- ,{col: "refflag", val:group3.grp_sea.rdo_refflag.value }]);
- tranf_submit({
- id: "TRSNW00105"
- , service: "stsenrapp.StsEnrIcuMngt"
- , method: "reqGetICUTermDayList"
- , inds: "req=ds_temp"
- , outds: "ds_grid_icupattermdaylist=icupattermdaylist"
- , async: false
- //, callback: "cbk_TRMNR08501"
- });
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components :
- * Components ID : SSMNW00100
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 온로드
- ****************************************************************************************/
- function SSMNW00100_onload(obj:Form, e:LoadEventInfo)
- {
- /* 폼 로드 */
- frmf_initForm(obj);
- lf_commoduleDataSetShow();
- fInit(); // 초기화
- }
- /****************************************************************************************
- * Components :
- * Components ID : button1
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- fSwitchSrchICUPatList(); // 탭에 따른 조회
-
- }
- /****************************************************************************************
- * Components :
- * Components ID : btn_excel
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 엑셀 클릭시
- ****************************************************************************************/
- function btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- var tabID = group3.swt_icupatlist.tabindex;
- var refflag = group3.grp_sea.rdo_refflag.value;
- switch( tabID ){
- // 연도별
- case 0:
- if(refflag == "A"){
- grdf_exportExcel(group3.swt_icupatlist.case_year.grd_icupatyearlist, "연도별", "sheet1", true);
- } else {
- grdf_exportExcel(group3.swt_icupatlist.case_year.grd_icupatordyearlist, "연도별", "sheet1", true);
- }
- break;
- // 월별
- case 1:
- grdf_exportExcel(group3.swt_icupatlist.case_month.grd_icupatmonthlist, "월별", "sheet1", true);
- break;
- // 일자별
- case 2:
- grdf_exportExcel(group3.swt_icupatlist.case_day.grd_icupatdaylist, "일자별", "sheet1", true);
- break;
- // 자유기간별
- case 3:
- if(refflag == "A"){
- grdf_exportExcel(group3.swt_icupatlist.case_term.grd_pattermdaylist, "자유기간별", "sheet1", true);
- } else {
- grdf_exportExcel(group3.swt_icupatlist.case_term.grd_patordtermdaylist, "자유기간별", "sheet1", true);
- }
-
- break;
- }
-
- }
- /****************************************************************************************
- * Components :
- * Components ID : btn_excel
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 엑셀 클릭시
- ****************************************************************************************/
- function group3_swt_icupatlist_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- var tabID =group3.swt_icupatlist.tabindex;
- switch( tabID){
- // 연도별
- case 0:
- group3.grp_sea.ipt_fromyear.visible=false;
- group3.grp_sea.ipt_toyear.visible=false;
- group3.grp_sea.ipt_year.visible=false;//월별
- group3.grp_sea.ipt_yearmonth.visible=false;//일별
- group3.grp_sea.ipt_fromdd.visible=true;//연도별
- group3.grp_sea.ipt_todd.visible=true;//연도별
- group3.grp_sea.cpt_dash.visible=true;//연도별
- fSrchICUYearInfo(); // 중환자실 연도별현황 조회
- break;
- // 월별
- case 1:
- group3.grp_sea.ipt_fromyear.visible=false;
- group3.grp_sea.ipt_toyear.visible=false;
- group3.grp_sea.ipt_year.visible=true;//월별
- group3.grp_sea.ipt_yearmonth.visible=false;//일별
- group3.grp_sea.ipt_fromdd.visible=false;//연도별
- group3.grp_sea.ipt_todd.visible=false;//연도별
- group3.grp_sea.cpt_dash.visible=false;//연도별
- fSrchICUMonthInfo(); // 중환자실 월별현황 조회
- break;
- // 일자별
- case 2:
- group3.grp_sea.ipt_fromyear.visible=false;
- group3.grp_sea.ipt_toyear.visible=false;
- group3.grp_sea.ipt_year.visible=false;//월별
- group3.grp_sea.ipt_yearmonth.visible=true;//일별
- group3.grp_sea.ipt_fromdd.visible=false;//연도별
- group3.grp_sea.ipt_todd.visible=false;//연도별
- group3.grp_sea.cpt_dash.visible=false;//연도별
- fSrchICUDayInfo(); // 중환자실 일별현황 조회
- break;
- // 자유기간별
- case 3:
- group3.grp_sea.ipt_fromyear.visible=true;
- group3.grp_sea.ipt_toyear.visible=true;
- group3.grp_sea.ipt_year.visible=false;//월별
- group3.grp_sea.ipt_yearmonth.visible=false;//일별
- group3.grp_sea.ipt_fromdd.visible=false;//연도별
- group3.grp_sea.ipt_todd.visible=false;//연도별
- group3.grp_sea.cpt_dash.visible=true;//연도별
- fSrchICUTermDayInfo(); // 중환자실 자유기간별현황 조회
- break;
- }
- }
- /****************************************************************************************
- * Components :
- * Components ID :
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 탭변경시
- ****************************************************************************************/
- function group3_grp_sea_rdo_refflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- if ( obj.value =="A"){
- group3.grp_sea.cmb_wardcd.enable=true;
- group3.swt_icupatlist.case_year.grd_icupatyearlist.visible=true;
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.visible=false;
- }else {
- group3.grp_sea.cmb_wardcd.enable=false;
- group3.swt_icupatlist.case_year.grd_icupatyearlist.visible=false;
- group3.swt_icupatlist.case_year.grd_icupatordyearlist.visible=true;
- }
-
- fSwitchSrchICUPatList();
- }
- /****************************************************************************************
- * Components :
- * Components ID :
- * Event : button3
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 용어정의 클릭시
- ****************************************************************************************/
- function button3_onclick(obj:Button, e:ClickEventInfo)
- {
- //SSMNW00500
- var objArg = new Object();
- var sRtnValue = frmf_modal("SSMNW00500", "SSMNW00500", objArg,"1","10","10","","","","","","","M");
- if ( !(sRtnValue instanceof Object ) ) return;
- }
- function group3_grp_sea_cmb_wardcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fSwitchSrchICUPatList();
- }
- ]]></Script>
- </Form>
- </FDL>
|