123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMSTP01200" position="absolute 0 0 1206 787" titletext="Untitle" oninit="SMSTP01200_oninit" onload="SMSTP01200_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 25 1195 65" id="group4" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Button position="absolute 1053 10 1109 32" id="btn_search" class="btn1" text="조회" anchor="top right" onclick="group4_btn_search_onclick"/>
- <Button position="absolute 1114 10 1186 32" id="btn_excel" class="btn7" visible="true" text="EXCEL" anchor="top right" onclick="group4_btn_excel_onclick"/>
- <Static text="조회구분" position="absolute 216 12 314 29" id="caption2" class="search_name" anchor="default"/>
- <Shape position="absolute 1043 9 1049 33" linetype="vertical" id="line2" class="line_4" anchor="top right"/>
- <Static text="조회기간" position="absolute 15 12 113 29" id="caption1" class="search_name" anchor="default"/>
- <Calendar position="absolute 100 11 190 30" align="align:center middle;" id="ipt_enddd" class="input_search" mask="yyyy-mm" anchor="default" autoselect="true" dateformat="yyyy-MM" value="null" editformat="yyyy-MM" onchanged="group4_ipt_enddd_onchanged" style="align:center middle;"/>
- <Radio position="absolute 294 10 957 28" id="rdo_dataflag" columncount="-1" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" rowcount="-1">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">입원실인원</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">입원연인원(재원환자)</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">퇴원실인원</Col>
- </Row>
- <Row>
- <Col id="codecolumn">4</Col>
- <Col id="datacolumn">퇴원연인원</Col>
- </Row>
- <Row>
- <Col id="codecolumn">5</Col>
- <Col id="datacolumn">외래신환</Col>
- </Row>
- <Row>
- <Col id="codecolumn">6</Col>
- <Col id="datacolumn">외래구환(재진)</Col>
- </Row>
- <Row>
- <Col id="codecolumn">7</Col>
- <Col id="datacolumn">외래연인원</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <CheckBox id="chk_child" taborder="1" text="어린이병원" truevalue="Y" position="absolute 919 12 1000 27" onclick="group4_chk_child_onclick"/>
- <Button id="caption4" taborder="2" text="[?]" position="absolute 1004 14 1021 27" style="background:transparent;border:0 double #808080ff ;color:#262626ff;font:Dotum,9;" ondblclick="group4_caption4_ondblclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Tab position="absolute 0 80 1195 774" id="switch1" anchor="all" onchanged="switch1_onchanged">
- <Tabpages>
- <Tabpage text="일자별" id="case1">
- <Layouts>
- <Layout>
- <Shape position="absolute 0 0 1195 6" linetype="horizontal" id="line1" class="line_10" anchor="left top right"/>
- <Grid position="absolute 0 5 1195 655" id="grd_daylist" class="datagrid2" binddataset="ds_main_day_daylist" autoenter="select" cellsizingtype="col" anchor="all" onheadclick="switch1_case1_grd_daylist_onheadclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="150" band="left"/>
- <Column size="100" band="left"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="60"/>
- <Column size="60"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" text="진료과" taborder="undefined"/>
- <Cell col="1" rowspan="2" text="진료의사" taborder="undefined"/>
- <Cell col="2" text="1"/>
- <Cell col="3" text="2"/>
- <Cell col="4" text="3"/>
- <Cell col="5" text="4"/>
- <Cell col="6" text="5"/>
- <Cell col="7" text="6"/>
- <Cell col="8" text="7"/>
- <Cell col="9" text="8"/>
- <Cell col="10" text="9"/>
- <Cell col="11" text="10"/>
- <Cell col="12" text="11"/>
- <Cell col="13" text="12"/>
- <Cell col="14" text="13"/>
- <Cell col="15" text="14"/>
- <Cell col="16" text="15"/>
- <Cell col="17" text="16"/>
- <Cell col="18" text="17"/>
- <Cell col="19" text="18"/>
- <Cell col="20" text="19"/>
- <Cell col="21" text="20"/>
- <Cell col="22" text="21"/>
- <Cell col="23" text="22"/>
- <Cell col="24" text="23"/>
- <Cell col="25" text="24"/>
- <Cell col="26" text="25"/>
- <Cell col="27" text="26"/>
- <Cell col="28" text="27"/>
- <Cell col="29" text="28"/>
- <Cell col="30" text="29"/>
- <Cell col="31" text="30"/>
- <Cell col="32" text="31"/>
- <Cell col="33" rowspan="2" text="합계" taborder="undefined"/>
- <Cell col="34" rowspan="2" text="일평균" taborder="undefined"/>
- <Cell row="1" col="2" text="월"/>
- <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="화"/>
- <Cell row="1" col="11" text="수"/>
- <Cell row="1" col="12" text="목"/>
- <Cell row="1" col="13" text="금"/>
- <Cell row="1" col="14" text="토"/>
- <Cell row="1" col="15" text="일"/>
- <Cell row="1" col="16" text="월"/>
- <Cell row="1" col="17" text="화"/>
- <Cell row="1" col="18" text="수"/>
- <Cell row="1" col="19" text="목"/>
- <Cell row="1" col="20" text="금"/>
- <Cell row="1" col="21" text="토"/>
- <Cell row="1" col="22" text="일"/>
- <Cell row="1" col="23" text="월"/>
- <Cell row="1" col="24" text="화"/>
- <Cell row="1" col="25" text="수"/>
- <Cell row="1" col="26" text="목"/>
- <Cell row="1" col="27" text="금"/>
- <Cell row="1" col="28" text="토"/>
- <Cell row="1" col="29" text="일"/>
- <Cell row="1" col="30" text="월"/>
- <Cell row="1" col="31" text="화"/>
- <Cell row="1" col="32" text="수"/>
- </Band>
- <Band id="body">
- <Cell text="bind:orddeptnm" suppress="1" suppressalign="middle,over"/>
- <Cell col="1" text="bind:orddrnm" suppress="2" suppressalign="middle,over"/>
- <Cell col="2" displaytype="number" text="bind:pcnt_1"/>
- <Cell col="3" displaytype="number" text="bind:pcnt_2"/>
- <Cell col="4" displaytype="number" text="bind:pcnt_3"/>
- <Cell col="5" displaytype="number" text="bind:pcnt_4"/>
- <Cell col="6" displaytype="number" text="bind:pcnt_5"/>
- <Cell col="7" displaytype="number" text="bind:pcnt_6"/>
- <Cell col="8" displaytype="number" text="bind:pcnt_7"/>
- <Cell col="9" displaytype="number" text="bind:pcnt_8"/>
- <Cell col="10" displaytype="number" text="bind:pcnt_9"/>
- <Cell col="11" displaytype="number" text="bind:pcnt_10"/>
- <Cell col="12" displaytype="number" text="bind:pcnt_11"/>
- <Cell col="13" displaytype="number" text="bind:pcnt_12"/>
- <Cell col="14" displaytype="number" text="bind:pcnt_13"/>
- <Cell col="15" displaytype="number" text="bind:pcnt_14"/>
- <Cell col="16" displaytype="number" text="bind:pcnt_15"/>
- <Cell col="17" displaytype="number" text="bind:pcnt_16"/>
- <Cell col="18" displaytype="number" text="bind:pcnt_17"/>
- <Cell col="19" displaytype="number" text="bind:pcnt_18"/>
- <Cell col="20" displaytype="number" text="bind:pcnt_19"/>
- <Cell col="21" displaytype="number" text="bind:pcnt_20"/>
- <Cell col="22" displaytype="number" text="bind:pcnt_21"/>
- <Cell col="23" displaytype="number" text="bind:pcnt_22"/>
- <Cell col="24" displaytype="number" text="bind:pcnt_23"/>
- <Cell col="25" displaytype="number" text="bind:pcnt_24"/>
- <Cell col="26" displaytype="number" text="bind:pcnt_25"/>
- <Cell col="27" displaytype="number" text="bind:pcnt_26"/>
- <Cell col="28" displaytype="number" text="bind:pcnt_27"/>
- <Cell col="29" displaytype="number" text="bind:pcnt_28"/>
- <Cell col="30" displaytype="number" text="bind:pcnt_29"/>
- <Cell col="31" displaytype="number" text="bind:pcnt_30"/>
- <Cell col="32" displaytype="number" text="bind:pcnt_31"/>
- <Cell col="33" displaytype="number" text="bind:total"/>
- <Cell col="34" displaytype="number" text="bind:day_avg"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="월별" id="case2">
- <Layouts>
- <Layout>
- <Shape position="absolute 0 0 1195 6" linetype="horizontal" id="line3" class="line_10" anchor="left top right"/>
- <Grid position="absolute 0 5 1195 655" id="grd_monthlist" class="datagrid2" binddataset="ds_main_month_monthlist" autoenter="select" cellsizingtype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="110"/>
- <Column size="90"/>
- <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="65"/>
- <Column size="65"/>
- <Column size="65"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="진료과"/>
- <Cell col="1" text="진료의사"/>
- <Cell col="2" text="1월"/>
- <Cell col="3" text="2월"/>
- <Cell col="4" text="3월"/>
- <Cell col="5" text="4월"/>
- <Cell col="6" text="5월"/>
- <Cell col="7" text="6월"/>
- <Cell col="8" text="7월"/>
- <Cell col="9" text="8월"/>
- <Cell col="10" text="9월"/>
- <Cell col="11" text="10월"/>
- <Cell col="12" text="11월"/>
- <Cell col="13" text="12월"/>
- <Cell col="14" text="합계"/>
- <Cell col="15" text="월평균"/>
- <Cell col="16" text="일평균"/>
- </Band>
- <Band id="body">
- <Cell text="bind:orddeptnm" suppress="1" suppressalign="middle,over"/>
- <Cell col="1" text="bind:orddrnm" suppress="2" suppressalign="middle,over"/>
- <Cell col="2" displaytype="number" text="bind:pcnt_jan"/>
- <Cell col="3" displaytype="number" text="bind:pcnt_feb"/>
- <Cell col="4" displaytype="number" text="bind:pcnt_mar"/>
- <Cell col="5" displaytype="number" text="bind:pcnt_apr"/>
- <Cell col="6" displaytype="number" text="bind:pcnt_may"/>
- <Cell col="7" displaytype="number" text="bind:pcnt_jun"/>
- <Cell col="8" displaytype="number" text="bind:pcnt_jul"/>
- <Cell col="9" displaytype="number" text="bind:pcnt_aug"/>
- <Cell col="10" displaytype="number" text="bind:pcnt_sep"/>
- <Cell col="11" displaytype="number" text="bind:pcnt_oct"/>
- <Cell col="12" displaytype="number" text="bind:pcnt_nov"/>
- <Cell col="13" displaytype="number" text="bind:pcnt_dec"/>
- <Cell col="14" displaytype="number" text="bind:total"/>
- <Cell col="15" displaytype="number" text="bind:month_avg"/>
- <Cell col="16" displaytype="number" text="bind:day_avg"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="연령별/성별" id="case3">
- <Layouts>
- <Layout>
- <Shape position="absolute 0 0 1195 6" linetype="horizontal" id="line4" class="line_10" anchor="left top right"/>
- <Grid position="absolute 0 5 1195 655" id="grd_agelist" class="datagrid4" binddataset="ds_main_age_agelist" autoenter="select" cellsizingtype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" text="나이" taborder="undefined"/>
- <Cell col="1" colspan="2" text="1월" taborder="undefined"/>
- <Cell col="3" colspan="2" text="2월" taborder="undefined"/>
- <Cell col="5" colspan="2" text="3월" taborder="undefined"/>
- <Cell col="7" colspan="2" text="4월" taborder="undefined"/>
- <Cell col="9" colspan="2" text="5월" taborder="undefined"/>
- <Cell col="11" colspan="2" text="6월" taborder="undefined"/>
- <Cell col="13" colspan="2" text="7월" taborder="undefined"/>
- <Cell col="15" colspan="2" text="8월" taborder="undefined"/>
- <Cell col="17" colspan="2" text="9월" taborder="undefined"/>
- <Cell col="19" colspan="2" text="10월" taborder="undefined"/>
- <Cell col="21" colspan="2" text="11월" taborder="undefined"/>
- <Cell col="23" colspan="2" text="12월" taborder="undefined"/>
- <Cell col="25" colspan="2" text="월총합" taborder="undefined"/>
- <Cell col="27" colspan="2" text="비율" taborder="undefined"/>
- <Cell row="1" col="1" text="남"/>
- <Cell row="1" col="2" text="여"/>
- <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="여"/>
- <Cell row="1" col="11" text="남"/>
- <Cell row="1" col="12" text="여"/>
- <Cell row="1" col="13" text="남"/>
- <Cell row="1" col="14" text="여"/>
- <Cell row="1" col="15" text="남"/>
- <Cell row="1" col="16" text="여"/>
- <Cell row="1" col="17" text="남"/>
- <Cell row="1" col="18" text="여"/>
- <Cell row="1" col="19" text="남"/>
- <Cell row="1" col="20" text="여"/>
- <Cell row="1" col="21" text="남"/>
- <Cell row="1" col="22" text="여"/>
- <Cell row="1" col="23" text="남"/>
- <Cell row="1" col="24" text="여"/>
- <Cell row="1" col="25" text="남"/>
- <Cell row="1" col="26" text="여"/>
- <Cell row="1" col="27" text="남"/>
- <Cell row="1" col="28" text="여"/>
- </Band>
- <Band id="body">
- <Cell text="bind:age_level"/>
- <Cell col="1" displaytype="number" text="bind:pcnt_jan_m"/>
- <Cell col="2" displaytype="number" text="bind:pcnt_jan_f"/>
- <Cell col="3" displaytype="number" text="bind:pcnt_feb_m"/>
- <Cell col="4" displaytype="number" text="bind:pcnt_feb_f"/>
- <Cell col="5" displaytype="number" text="bind:pcnt_mar_m"/>
- <Cell col="6" displaytype="number" text="bind:pcnt_mar_f"/>
- <Cell col="7" displaytype="number" text="bind:pcnt_apr_m"/>
- <Cell col="8" displaytype="number" text="bind:pcnt_apr_f"/>
- <Cell col="9" displaytype="number" text="bind:pcnt_may_m"/>
- <Cell col="10" displaytype="number" text="bind:pcnt_may_f"/>
- <Cell col="11" displaytype="number" text="bind:pcnt_jun_m"/>
- <Cell col="12" displaytype="number" text="bind:pcnt_jun_f"/>
- <Cell col="13" displaytype="number" text="bind:pcnt_jul_m"/>
- <Cell col="14" displaytype="number" text="bind:pcnt_jul_f"/>
- <Cell col="15" displaytype="number" text="bind:pcnt_aug_m"/>
- <Cell col="16" displaytype="number" text="bind:pcnt_aug_f"/>
- <Cell col="17" displaytype="number" text="bind:pcnt_sep_m"/>
- <Cell col="18" displaytype="number" text="bind:pcnt_sep_f"/>
- <Cell col="19" displaytype="number" text="bind:pcnt_oct_m"/>
- <Cell col="20" displaytype="number" text="bind:pcnt_oct_f"/>
- <Cell col="21" displaytype="number" text="bind:pcnt_nov_m"/>
- <Cell col="22" displaytype="number" text="bind:pcnt_nov_f"/>
- <Cell col="23" displaytype="number" text="bind:pcnt_dec_m"/>
- <Cell col="24" displaytype="number" text="bind:pcnt_decR"/>
- <Cell col="25" displaytype="number" text="bind:total_m"/>
- <Cell col="26" displaytype="number" text="bind:total_f"/>
- <Cell col="27" displaytype="number" text="bind:ratio_m"/>
- <Cell col="28" displaytype="number" text="bind:ratio_f"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Static id="caption60" text="입원/외래 인원통계실적" class="tit_1" position="absolute 0 0 183 25"/>
- <Div id="group1" taborder="1" style="background:#fffbf2ff;border:1 solid #ffd799ff ;bordertype:round 2 2 ;align:left middle;" text="[자료 집계 기준] - 외래환자 : 어린이병원 외래센터센터 접수, 응급실 소아환자 - 입원환자 : 소아청소년과(세부분과포함) + 어린이병동(5동) 입원환자 + 그 외 병동 만18세이하 환자로 집계(중복 제외) * 소아외과계 진료과 정형외과, 신경외과, 외과, 비뇨기과, 정신건강의의학과, 재활의학과, 피부과, 안과" visible="false" position="absolute 730 67 1195 175">
- <Layouts>
- <Layout>
- <Static id="Static00" text="[자료 집계 기준] - 외래환자 : 어린이병원 외래센터센터 접수, 응급실 소아환자 - 입원환자 : 소아청소년과(세부분과포함) + 어린이병동(5동) 입원환자 + 그 외 병동 만18세이하 환자로 집계(중복 제외) * 소아외과계 진료과 정형외과, 신경외과, 외과, 비뇨기과, 정신건강의의학과, 재활의학과, 피부과, 안과" position="absolute 3 4 460 104" style="align:left top;" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="enddd" type="STRING" size="256"/>
- <Column id="dataflag" type="STRING" size="256"/>
- <Column id="caseflag" type="STRING" size="256"/>
- <Column id="childyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="enddd"/>
- <Col id="dataflag">1</Col>
- <Col id="caseflag"/>
- <Col id="childyn"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_day_daylist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과"/>
- <Column id="orddrnm" type="STRING" size="256" sumtext="진료의사"/>
- <Column id="pcnt_1" type="STRING" size="256" sumtext="1일"/>
- <Column id="pcnt_2" type="STRING" size="256" sumtext="2일"/>
- <Column id="pcnt_3" type="STRING" size="256" sumtext="3일"/>
- <Column id="pcnt_4" type="STRING" size="256" sumtext="4일"/>
- <Column id="pcnt_5" type="STRING" size="256" sumtext="5일"/>
- <Column id="pcnt_6" type="STRING" size="256" sumtext="6일"/>
- <Column id="pcnt_7" type="STRING" size="256" sumtext="7일"/>
- <Column id="pcnt_8" type="STRING" size="256" sumtext="8일"/>
- <Column id="pcnt_9" type="STRING" size="256" sumtext="9일"/>
- <Column id="pcnt_10" type="STRING" size="256" sumtext="10일"/>
- <Column id="pcnt_11" type="STRING" size="256" sumtext="11일"/>
- <Column id="pcnt_12" type="STRING" size="256" sumtext="12일"/>
- <Column id="pcnt_13" type="STRING" size="256" sumtext="13일"/>
- <Column id="pcnt_14" type="STRING" size="256" sumtext="14일"/>
- <Column id="pcnt_15" type="STRING" size="256" sumtext="15일"/>
- <Column id="pcnt_16" type="STRING" size="256" sumtext="16일"/>
- <Column id="pcnt_17" type="STRING" size="256" sumtext="17일"/>
- <Column id="pcnt_18" type="STRING" size="256" sumtext="18일"/>
- <Column id="pcnt_19" type="STRING" size="256" sumtext="19일"/>
- <Column id="pcnt_20" type="STRING" size="256" sumtext="20일"/>
- <Column id="pcnt_21" type="STRING" size="256" sumtext="21일"/>
- <Column id="pcnt_22" type="STRING" size="256" sumtext="22일"/>
- <Column id="pcnt_23" type="STRING" size="256" sumtext="23일"/>
- <Column id="pcnt_24" type="STRING" size="256" sumtext="24일"/>
- <Column id="pcnt_25" type="STRING" size="256" sumtext="25일"/>
- <Column id="pcnt_26" type="STRING" size="256" sumtext="26일"/>
- <Column id="pcnt_27" type="STRING" size="256" sumtext="27일"/>
- <Column id="pcnt_28" type="STRING" size="256" sumtext="28일"/>
- <Column id="pcnt_29" type="STRING" size="256" sumtext="29일"/>
- <Column id="pcnt_30" type="STRING" size="256" sumtext="30일"/>
- <Column id="pcnt_31" type="STRING" size="256" sumtext="31일"/>
- <Column id="total" type="STRING" size="256" sumtext="전체환자수"/>
- <Column id="day_avg" type="STRING" size="256" sumtext="일평균"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_month_monthlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과"/>
- <Column id="orddrnm" type="STRING" size="256" sumtext="진료의사"/>
- <Column id="pcnt_jan" type="STRING" size="256" sumtext="1월 환자수"/>
- <Column id="pcnt_feb" type="STRING" size="256" sumtext="2월 환자수"/>
- <Column id="pcnt_mar" type="STRING" size="256" sumtext="3월 환자수"/>
- <Column id="pcnt_apr" type="STRING" size="256" sumtext="4월 환자수"/>
- <Column id="pcnt_may" type="STRING" size="256" sumtext="5월 환자수"/>
- <Column id="pcnt_jun" type="STRING" size="256" sumtext="6월 환자수"/>
- <Column id="pcnt_jul" type="STRING" size="256" sumtext="7월 환자수"/>
- <Column id="pcnt_aug" type="STRING" size="256" sumtext="8월 환자수"/>
- <Column id="pcnt_sep" type="STRING" size="256" sumtext="9월 환자수"/>
- <Column id="pcnt_oct" type="STRING" size="256" sumtext="10월 환자수"/>
- <Column id="pcnt_nov" type="STRING" size="256" sumtext="11월 환자수"/>
- <Column id="pcnt_dec" type="STRING" size="256" sumtext="12월 환자수"/>
- <Column id="total" type="STRING" size="256" sumtext="전체환자수"/>
- <Column id="month_avg" type="STRING" size="256" sumtext="월평균"/>
- <Column id="day_avg" type="STRING" size="256" sumtext="일평균"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_age_agelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="age_level" type="STRING" size="256" sumtext="나이"/>
- <Column id="pcnt_jan_m" type="STRING" size="256" sumtext="1월 환자수(남)"/>
- <Column id="pcnt_jan_f" type="STRING" size="256" sumtext="1월 환자수(여)"/>
- <Column id="pcnt_feb_m" type="STRING" size="256" sumtext="2월 환자수(남)"/>
- <Column id="pcnt_feb_f" type="STRING" size="256" sumtext="2월 환자수(여)"/>
- <Column id="pcnt_mar_m" type="STRING" size="256" sumtext="3월 환자수(남)"/>
- <Column id="pcnt_mar_f" type="STRING" size="256" sumtext="3월 환자수(여)"/>
- <Column id="pcnt_apr_m" type="STRING" size="256" sumtext="4월 환자수(남)"/>
- <Column id="pcnt_apr_f" type="STRING" size="256" sumtext="4월 환자수(여)"/>
- <Column id="pcnt_may_m" type="STRING" size="256" sumtext="5월 환자수(남)"/>
- <Column id="pcnt_may_f" type="STRING" size="256" sumtext="5월 환자수(여)"/>
- <Column id="pcnt_jun_m" type="STRING" size="256" sumtext="6월 환자수(남)"/>
- <Column id="pcnt_jun_f" type="STRING" size="256" sumtext="6월 환자수(여)"/>
- <Column id="pcnt_jul_m" type="STRING" size="256" sumtext="7월 환자수(남)"/>
- <Column id="pcnt_jul_f" type="STRING" size="256" sumtext="7월 환자수(여)"/>
- <Column id="pcnt_aug_m" type="STRING" size="256" sumtext="8월 환자수(남)"/>
- <Column id="pcnt_aug_f" type="STRING" size="256" sumtext="8월 환자수(여)"/>
- <Column id="pcnt_sep_m" type="STRING" size="256" sumtext="9월 환자수(남)"/>
- <Column id="pcnt_sep_f" type="STRING" size="256" sumtext="9월 환자수(여)"/>
- <Column id="pcnt_oct_m" type="STRING" size="256" sumtext="10월 환자수(남)"/>
- <Column id="pcnt_oct_f" type="STRING" size="256" sumtext="10월 환자수(여)"/>
- <Column id="pcnt_nov_m" type="STRING" size="256" sumtext="11월 환자수(남)"/>
- <Column id="pcnt_nov_f" type="STRING" size="256" sumtext="11월 환자수(여)"/>
- <Column id="pcnt_dec_m" type="STRING" size="256" sumtext="12월 환자수(남)"/>
- <Column id="pcnt_dec_f" type="STRING" size="256" sumtext="12월 환자수(여)"/>
- <Column id="total_m" type="STRING" size="256" sumtext="전체환자수(남)"/>
- <Column id="total_f" type="STRING" size="256" sumtext="전체환자수(여)"/>
- <Column id="ratio_m" type="STRING" size="256" sumtext="전체환자수(남)"/>
- <Column id="ratio_f" type="STRING" size="256" sumtext="전체환자수(여)"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item2" compid="group4.chk_child" propid="value" datasetid="ds_send" columnid="childyn"/>
- <BindItem id="item0" compid="group4.rdo_dataflag" propid="value" datasetid="ds_send" columnid="dataflag"/>
- <BindItem id="item1" compid="group4.ipt_enddd" propid="value" datasetid="ds_send" columnid="enddd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-05-24
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-05-24 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- var arErrorCode = new HashArray();
- function SMSTP01200_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMSTP01200_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(switch1.case1.grd_daylist);
- grdf_initGrid(switch1.case2.grd_monthlist);
- grdf_initGrid(switch1.case3.grd_agelist);
-
- ds_send.setColumn(0, "enddd",utlf_getCurrentDate());
- ds_send.setColumn(0, "caseflag", "D");
-
- if (sysf_getUserInfo("dutplceinstcd") == "032")
- {
- group4.chk_child.visible = true;
- }
-
- fSetDayGridHead();
- }
- function fSetDayGridHead()
- {
- var enddd = String(ds_send.getColumn(0, "enddd"));
- var CellCount = switch1.case1.grd_daylist.getFormatColCount("Head");
- //말일 구하기
- var LastDay = utlf_getDayCountForMonth(enddd.substr(0,4), enddd.substr(4,2));
-
- //그리드 날짜 컬럼 상태
- for (var i = 0; i < CellCount; i++)
- {
- if ( i < (LastDay+2) || i == parseInt(CellCount-1) || i == parseInt(CellCount-2))
- {
- if(i == 0)
- {
- switch1.case1.grd_daylist.setFormatColProperty(0, "size", 100);
- }
- else if(i == 1)
- {
- switch1.case1.grd_daylist.setFormatColProperty(1, "size", 80);
- }
- else
- {
- switch1.case1.grd_daylist.setFormatColProperty(i, "size", 60);
- }
- }
- else
- {
- switch1.case1.grd_daylist.setFormatColProperty(i, "size", 0);
- }
- }
-
- var weekDay;
- for (var i = 0; i <= LastDay; i++)
- {
- enddd = String(enddd).substr(0,6) + parseInt(i+1).toString().getLeftPad(2, "0");
- if (enddd.toDate().getDay() == 0)
- {
- weekDay = "일";
- }
- else if (enddd.toDate().getDay() == 1)
- {
- weekDay = "월";
- }
- else if (enddd.toDate().getDay() == 2)
- {
- weekDay = "화";
- }
- else if (enddd.toDate().getDay() == 3)
- {
- weekDay = "수";
- }
- else if (enddd.toDate().getDay() == 4)
- {
- weekDay = "목";
- }
- else if (enddd.toDate().getDay() == 5)
- {
- weekDay = "금";
- }
- else if (enddd.toDate().getDay() == 6)
- {
- weekDay = "토";
- }
-
- switch1.case1.grd_daylist.setCellProperty("Head", parseInt(CellCount+i), "text", weekDay);
- }
- }
- function group4_ipt_enddd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- if(switch1.tabindex == 0)
- {
- ds_send.setColumn(0, "enddd", String(obj.value).substr(0,6));
- }
- else
- {
- ds_send.setColumn(0, "enddd", String(obj.value).substr(0,4));
- }
-
- fSetDayGridHead();
- }
- function group4_chk_child_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(obj.value == "Y")
- {}
- else
- {
- ds_send.setColumn(0, "childyn", "");
- }
- }
- function group4_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- if (ds_send.getColumn(0, "caseflag") == "D")
- {
- var oParam = {};
- oParam.id = "TRSTP01202";
- oParam.service = "stspamapp.StsPam";
- oParam.method = "retGetDayPersonSTS";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_day_daylist=daylist";
- oParam.async = false;
- //oParam.callback = "cf_callback";
- tranf_submit(oParam);
- }
- else if (ds_send.getColumn(0, "caseflag") == "M")
- {
- var oParam = {};
- oParam.id = "TRSTP01201";
- oParam.service = "stspamapp.StsPam";
- oParam.method = "retGetMonthPersonSTS";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_month_monthlist=monthlist";
- oParam.async = false;
- //oParam.callback = "cf_callback";
- tranf_submit(oParam);
- }
- else if (ds_send.getColumn(0, "caseflag") == "S")
- {
- var oParam = {};
- oParam.id = "TRSTP01201";
- oParam.service = "stspamapp.StsPam";
- oParam.method = "retGetAgePersonSTS";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_age_agelist=agelist";
- oParam.async = false;
- oParam.callback = "cf_callback";
- tranf_submit(oParam);
- if(arErrorCode.pop("TRSTP01201") > -1)
- {
- var total_m = ds_main_age_agelist.getColumn(ds_main_age_agelist.rowcount-1, "total_m");
- var total_f = ds_main_age_agelist.getColumn(ds_main_age_agelist.rowcount-1, "total_f");
-
- var scount = ds_main_age_agelist.rowcount;
-
- for (var i = 0; i < scount ; i++)
- {
- var age_m = ds_main_age_agelist.getColumn(i, "total_m");
- var age_f = ds_main_age_agelist.getColumn(i, "total_f");
-
- var ratio_m = (age_m/total_m*100).toString();
- var ratio_f = (age_f/total_f*100).toString();
-
- ratio_m = ratio_m.getRound("-2", "HALF_UP");
- ratio_f = ratio_f.getRound("-2", "HALF_UP");
-
- ds_main_age_agelist.setColumn(i, "ratio_m", ratio_m);
- ds_main_age_agelist.setColumn(i, "ratio_f", ratio_f);
- }
- }
- }
- }
- function cf_callback(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- if(obj.tabindex == 0)
- {
- ds_send.setColumn(0, "caseflag", "D");
- group4.ipt_enddd.dateformat = "yyyy-MM";
- group4.ipt_enddd.editformat = "yyyy-MM";
- }
- else if(obj.tabindex == 1)
- {
- ds_send.setColumn(0, "caseflag", "M");
- group4.ipt_enddd.dateformat = "yyyy";
- group4.ipt_enddd.editformat = "yyyy";
- }
- else if(obj.tabindex == 2)
- {
- ds_send.setColumn(0, "caseflag", "S");
- group4.ipt_enddd.dateformat = "yyyy";
- group4.ipt_enddd.editformat = "yyyy";
- }
- }
- function group4_btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- var xlsTitle = "";
-
- if (ds_send.getColumn(0, "caseflag") == "D")
- {
- xlsTitle = "일자별 인원통계_" + group4.rdo_dataflag.text+"("+String(group4.ipt_enddd.value).substr(0,4) + "년" + String(group4.ipt_enddd.value).substr(4,2) + "월"+")";
-
- grdf_exportExcel(switch1.case1.grd_daylist, xlsTitle, xlsTitle, "true", "", "");
- }
- else if (ds_send.getColumn(0, "caseflag") == "M")
- {
- xlsTitle = "월별 인원통계_" + group4.rdo_dataflag.text+"("+String(group4.ipt_enddd.value).substr(0,4) + "년"+")";
-
- grdf_exportExcel(switch1.case2.grd_monthlist, xlsTitle, xlsTitle, "true", "", "");
- }
- else if (ds_send.getColumn(0, "caseflag") == "S")
- {
- xlsTitle = "연령별성별 인원통계_" + group4.rdo_dataflag.text+"("+String(group4.ipt_enddd.value).substr(0,4) + "년"+")";
-
- grdf_exportExcel(switch1.case3.grd_agelist, xlsTitle, xlsTitle, "true", "", "");
- }
- }
- function group4_caption4_ondblclick(obj:Button, e:MouseEventInfo)
- {
- if (group1.visible)
- {
- group1.visible = false;
- }
- else
- {
- group1.visible = true;
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|