123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNE02100" position="absolute 0 0 1195 743" titletext="과별 환자 현황" oninit="SMMNE02100_oninit" onload="SMMNE02100_onload" ontimer="SMMNE02100_ontimer">
- <Layouts>
- <Layout>
- <Div position="absolute 0 13 1195 743" id="grp_biz" scrollbars="autoboth" taborder="0" anchor="all">
- <Layouts>
- <Layout width="1195" height="744">
- <Static text="응급센터 환자현황(과별)(일별)" position="absolute 0 51 215 68" align="align:center middle;" id="caption1" class="tit_2" anchor="default"/>
- <Div position="absolute 0 11 1195 46" align="align:center top;" id="group2" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Static text="검색일자 :" position="absolute 15 10 106 30" id="caption2" class="search_name" anchor="default"/>
- <Calendar position="absolute 94 9 194 29" id="fromdd" class="input_s_essential" dateformat="yyyy-MM-dd" value="null" autoselect="true" autoskip="true" taborder="0" anchor="default"/>
- <Static text="~" position="absolute 196 11 211 31" id="caption5" class="search_no_b" anchor="default"/>
- <Calendar position="absolute 210 9 310 29" id="todd" class="input_s_essential" dateformat="yyyy-MM-dd" value="null" autoselect="true" autoskip="true" taborder="1" anchor="default"/>
- <Radio position="absolute 330 9 430 29" id="kindflag" class="radio_search" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="grp_biz_group2_kindflag_onitemchanged" index="0" value="1" taborder="2" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">일별</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">월별</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Button position="absolute 1013 8 1069 28" id="button1" class="btn1" text="조회" onclick="grp_biz_group2_button1_onclick" taborder="3" anchor="top right"/>
- <Button position="absolute 1071 8 1127 28" id="button7" class="btn7" text="엑셀" onclick="grp_biz_group2_button7_onclick" taborder="4" anchor="top right"/>
- <Button position="absolute 1129 8 1183 28" id="button8" class="btn2" text="초기화" onclick="grp_biz_group2_button8_onclick" taborder="5" anchor="top right"/>
- <Shape position="absolute 992 7 998 29" linetype="vertical" id="line5" class="line_4" anchor="top right"/>
- </Layout>
- </Layouts>
- </Div>
- <Static text="과별 통계" position="absolute 0 634 89 650" align="align:center middle;" id="caption45" class="tit_2" anchor="default"/>
- <Shape position="absolute 0 651 1195 657" linetype="horizontal" id="line7" class="line_10" anchor="left right bottom"/>
- <Grid position="absolute 0 657 1195 730" id="datagrid1" class="datagrid2" binddataset="ds_grd_sum" anchor="left right bottom">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="90"/>
- <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="61"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="Total"/>
- <Cell col="1" text="MD"/>
- <Cell col="2" text="MH"/>
- <Cell col="3" text="MG"/>
- <Cell col="4" text="MI"/>
- <Cell col="5" text="ME"/>
- <Cell col="6" text="MC"/>
- <Cell col="7" text="MP"/>
- <Cell col="8" text="MN"/>
- <Cell col="9" text="MR"/>
- <Cell col="10" text="MO"/>
- <Cell col="11" text="NU"/>
- <Cell col="12" text="NP"/>
- <Cell col="13" text="GS"/>
- <Cell col="14" text="OS"/>
- <Cell col="15" text="NS"/>
- <Cell col="16" text="CS"/>
- <Cell col="17" text="PS"/>
- <Cell col="18" text="OBGY"/>
- <Cell col="19" text="OD"/>
- <Cell col="20" text="PD"/>
- <Cell col="21" text="EY"/>
- <Cell col="22" text="ET"/>
- <Cell col="23" text="DR"/>
- <Cell col="24" text="UR"/>
- <Cell col="25" text="DT"/>
- <Cell col="26" text="ETC"/>
- <Cell col="27" text="ED"/>
- <Cell col="28" text="RM"/>
- <Cell col="29" text="FM"/>
- <Cell col="30" text="HC"/>
- <Cell col="31" text="계"/>
- <Cell col="32" text="입원수"/>
- <Cell col="33" text="ICU"/>
- <Cell col="34" text="사망"/>
- <Cell col="35" text="DOA"/>
- <Cell col="36" text="수술입원수"/>
- <Cell col="37" text="CPR"/>
- <Cell col="38" text="외래처치건수"/>
- </Band>
- <Band id="body">
- <Cell text="bind:srctm"/>
- <Cell col="1" text="bind:deptmdcnt"/>
- <Cell col="2" text="bind:deptmhcnt"/>
- <Cell col="3" text="bind:deptmgcnt"/>
- <Cell col="4" text="bind:deptmicnt"/>
- <Cell col="5" text="bind:deptmecnt"/>
- <Cell col="6" text="bind:deptmccnt"/>
- <Cell col="7" text="bind:deptmpcnt"/>
- <Cell col="8" text="bind:deptmncnt"/>
- <Cell col="9" text="bind:deptmrcnt"/>
- <Cell col="10" text="bind:deptmocnt"/>
- <Cell col="11" text="bind:deptnucnt"/>
- <Cell col="12" text="bind:deptnpcnt"/>
- <Cell col="13" text="bind:deptgscnt"/>
- <Cell col="14" text="bind:deptoscnt"/>
- <Cell col="15" text="bind:deptnscnt"/>
- <Cell col="16" text="bind:deptcscnt"/>
- <Cell col="17" text="bind:deptpscnt"/>
- <Cell col="18" text="bind:deptobgycnt"/>
- <Cell col="19" text="bind:deptodcnt"/>
- <Cell col="20" text="bind:deptpdcnt"/>
- <Cell col="21" text="bind:depteycnt"/>
- <Cell col="22" text="bind:deptetcnt"/>
- <Cell col="23" text="bind:deptdrcnt"/>
- <Cell col="24" text="bind:depturcnt"/>
- <Cell col="25" text="bind:deptdtcnt"/>
- <Cell col="26" text="bind:deptetccnt"/>
- <Cell col="27" text="bind:deptedcnt"/>
- <Cell col="28" text="bind:deptrmcnt"/>
- <Cell col="29" text="bind:deptfmcnt"/>
- <Cell col="30" text="bind:depthccnt"/>
- <Cell col="31" text="bind:pattotal"/>
- <Cell col="32" text="bind:inpatcnt"/>
- <Cell col="33" text="bind:icupatcnt"/>
- <Cell col="34" text="bind:diepatcnt"/>
- <Cell col="35" text="bind:doapatcnt"/>
- <Cell col="36" text="bind:opinpatcnt"/>
- <Cell col="37" text="bind:cprpatcnt"/>
- <Cell col="38" text="bind:outcurecnt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 0 73 1194 629" id="grd_monthlist" class="datagrid2" visible="false" binddataset="ds_grd_monthlist" oncelldblclick="grp_biz_grd_monthlist_oncelldblclick" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="70"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="41"/>
- <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="61"/>
- <Column size="50"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="70"/>
- <Column size="40"/>
- <Column size="80"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="월"/>
- <Cell col="2" text="MD"/>
- <Cell col="3" text="MH"/>
- <Cell col="4" text="MG"/>
- <Cell col="5" text="MI"/>
- <Cell col="6" text="ME"/>
- <Cell col="7" text="MC"/>
- <Cell col="8" text="MP"/>
- <Cell col="9" text="MN"/>
- <Cell col="10" text="MR"/>
- <Cell col="11" text="MO"/>
- <Cell col="12" text="NU"/>
- <Cell col="13" text="NP"/>
- <Cell col="14" text="GS"/>
- <Cell col="15" text="OS"/>
- <Cell col="16" text="NS"/>
- <Cell col="17" text="CS"/>
- <Cell col="18" text="PS"/>
- <Cell col="19" text="OBGY"/>
- <Cell col="20" text="OD"/>
- <Cell col="21" text="PD"/>
- <Cell col="22" text="EY"/>
- <Cell col="23" text="ET"/>
- <Cell col="24" text="DR"/>
- <Cell col="25" text="UR"/>
- <Cell col="26" text="DT"/>
- <Cell col="27" text="ETC"/>
- <Cell col="28" text="ED"/>
- <Cell col="29" text="RM"/>
- <Cell col="30" text="FM"/>
- <Cell col="31" text="HC"/>
- <Cell col="32" text="계"/>
- <Cell col="33" text="입원수"/>
- <Cell col="34" text="ICU"/>
- <Cell col="35" text="사망"/>
- <Cell col="36" text="DOA"/>
- <Cell col="37" text="수술입원수"/>
- <Cell col="38" text="CPR"/>
- <Cell col="39" text="외래처치건수"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" displaytype="date" text="bind:srctm" mask="yyyy-MM"/>
- <Cell col="2" text="bind:deptmdcnt"/>
- <Cell col="3" text="bind:deptmhcnt"/>
- <Cell col="4" text="bind:deptmgcnt"/>
- <Cell col="5" text="bind:deptmicnt"/>
- <Cell col="6" text="bind:deptmecnt"/>
- <Cell col="7" text="bind:deptmccnt"/>
- <Cell col="8" text="bind:deptmpcnt"/>
- <Cell col="9" text="bind:deptmncnt"/>
- <Cell col="10" text="bind:deptmrcnt"/>
- <Cell col="11" text="bind:deptmocnt"/>
- <Cell col="12" text="bind:deptnucnt"/>
- <Cell col="13" text="bind:deptnpcnt"/>
- <Cell col="14" text="bind:deptgscnt"/>
- <Cell col="15" text="bind:deptoscnt"/>
- <Cell col="16" text="bind:deptnscnt"/>
- <Cell col="17" text="bind:deptcscnt"/>
- <Cell col="18" text="bind:deptpscnt"/>
- <Cell col="19" text="bind:deptobgycnt"/>
- <Cell col="20" text="bind:deptodcnt"/>
- <Cell col="21" text="bind:deptpdcnt"/>
- <Cell col="22" text="bind:depteycnt"/>
- <Cell col="23" text="bind:deptetcnt"/>
- <Cell col="24" text="bind:deptdrcnt"/>
- <Cell col="25" text="bind:depturcnt"/>
- <Cell col="26" text="bind:deptdtcnt"/>
- <Cell col="27" text="bind:deptetccnt"/>
- <Cell col="28" text="bind:deptedcnt"/>
- <Cell col="29" text="bind:deptrmcnt"/>
- <Cell col="30" text="bind:deptfmcnt"/>
- <Cell col="31" text="bind:depthccnt"/>
- <Cell col="32" text="bind:pattotal"/>
- <Cell col="33" text="bind:inpatcnt"/>
- <Cell col="34" text="bind:icupatcnt"/>
- <Cell col="35" text="bind:diepatcnt"/>
- <Cell col="36" text="bind:doapatcnt"/>
- <Cell col="37" text="bind:opinpatcnt"/>
- <Cell col="38" text="bind:cprpatcnt"/>
- <Cell col="39" text="bind:outcurecnt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="응급센터 환자현황(과별)(월별)" position="absolute 0 51 215 67" align="align:center middle;" id="caption3" class="tit_2" visible="false" anchor="default"/>
- <Grid position="absolute 0 73 1195 629" id="grd_daylist" class="datagrid2" binddataset="ds_grd_daylist" oncelldblclick="grp_biz_grd_daylist_oncelldblclick" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="70"/>
- <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="61"/>
- <Column size="50"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="70"/>
- <Column size="40"/>
- <Column size="80"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="일"/>
- <Cell col="2" text="MD"/>
- <Cell col="3" text="MH"/>
- <Cell col="4" text="MG"/>
- <Cell col="5" text="MI"/>
- <Cell col="6" text="ME"/>
- <Cell col="7" text="MC"/>
- <Cell col="8" text="MP"/>
- <Cell col="9" text="MN"/>
- <Cell col="10" text="MR"/>
- <Cell col="11" text="MO"/>
- <Cell col="12" text="NU"/>
- <Cell col="13" text="NP"/>
- <Cell col="14" text="GS"/>
- <Cell col="15" text="OS"/>
- <Cell col="16" text="NS"/>
- <Cell col="17" text="CS"/>
- <Cell col="18" text="PS"/>
- <Cell col="19" text="OBGY"/>
- <Cell col="20" text="OD"/>
- <Cell col="21" text="PD"/>
- <Cell col="22" text="EY"/>
- <Cell col="23" text="ET"/>
- <Cell col="24" text="DR"/>
- <Cell col="25" text="UR"/>
- <Cell col="26" text="DT"/>
- <Cell col="27" text="ETC"/>
- <Cell col="28" text="ED"/>
- <Cell col="29" text="RM"/>
- <Cell col="30" text="FM"/>
- <Cell col="31" text="HC"/>
- <Cell col="32" text="계"/>
- <Cell col="33" text="입원수"/>
- <Cell col="34" text="ICU"/>
- <Cell col="35" text="사망"/>
- <Cell col="36" text="DOA"/>
- <Cell col="37" text="수술입원수"/>
- <Cell col="38" text="CPR"/>
- <Cell col="39" text="외래처치건수"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" displaytype="date" text="bind:srctm" mask="yyyy-MM-dd"/>
- <Cell col="2" text="bind:deptmdcnt"/>
- <Cell col="3" text="bind:deptmhcnt"/>
- <Cell col="4" text="bind:deptmgcnt"/>
- <Cell col="5" text="bind:deptmicnt"/>
- <Cell col="6" text="bind:deptmecnt"/>
- <Cell col="7" text="bind:deptmccnt"/>
- <Cell col="8" text="bind:deptmpcnt"/>
- <Cell col="9" text="bind:deptmncnt"/>
- <Cell col="10" text="bind:deptmrcnt"/>
- <Cell col="11" text="bind:deptmocnt"/>
- <Cell col="12" text="bind:deptnucnt"/>
- <Cell col="13" text="bind:deptnpcnt"/>
- <Cell col="14" text="bind:deptgscnt"/>
- <Cell col="15" text="bind:deptoscnt"/>
- <Cell col="16" text="bind:deptnscnt"/>
- <Cell col="17" text="bind:deptcscnt"/>
- <Cell col="18" text="bind:deptpscnt"/>
- <Cell col="19" text="bind:deptobgycnt"/>
- <Cell col="20" text="bind:deptodcnt"/>
- <Cell col="21" text="bind:deptpdcnt"/>
- <Cell col="22" text="bind:depteycnt"/>
- <Cell col="23" text="bind:deptetcnt"/>
- <Cell col="24" text="bind:deptdrcnt"/>
- <Cell col="25" text="bind:depturcnt"/>
- <Cell col="26" text="bind:deptdtcnt"/>
- <Cell col="27" text="bind:deptetccnt"/>
- <Cell col="28" text="bind:deptedcnt"/>
- <Cell col="29" text="bind:deptrmcnt"/>
- <Cell col="30" text="bind:deptfmcnt"/>
- <Cell col="31" text="bind:depthccnt"/>
- <Cell col="32" text="bind:pattotal"/>
- <Cell col="33" text="bind:inpatcnt"/>
- <Cell col="34" text="bind:icupatcnt"/>
- <Cell col="35" text="bind:diepatcnt"/>
- <Cell col="36" text="bind:doapatcnt"/>
- <Cell col="37" text="bind:opinpatcnt"/>
- <Cell col="38" text="bind:cprpatcnt"/>
- <Cell col="39" text="bind:outcurecnt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="사망은 D,O,A포함, 입원은 ICU 포함" position="absolute 230 52 510 69" align="align:center middle;" id="caption10" class="hand" anchor="default"/>
- <Static text="00:00 ~ 24:00 기준" position="absolute 495 52 735 69" align="align:center middle;" id="caption9" class="hand" anchor="default"/>
- <Shape id="line6" class="line_10" position="absolute 0 68 1195 74" anchor="left top right"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="과별 환자현황" class="tit_1" position="absolute 0 0 115 25"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grd_monthlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srctm" type="STRING" size="256" sumtext="조회구분"/>
- <Column id="deptmdcnt" type="STRING" size="256" sumtext="내과방문환자수"/>
- <Column id="deptmhcnt" type="STRING" size="256" sumtext="혈액내과방문환자수"/>
- <Column id="deptmgcnt" type="STRING" size="256" sumtext="소화기내과방문환자수"/>
- <Column id="deptmicnt" type="STRING" size="256" sumtext="감염내과방문환자수"/>
- <Column id="deptmecnt" type="STRING" size="256" sumtext="내분비내과방문환자수"/>
- <Column id="deptmccnt" type="STRING" size="256" sumtext="순환기내과방문환자수"/>
- <Column id="deptmpcnt" type="STRING" size="256" sumtext="호흡기내과방문환자수"/>
- <Column id="deptmncnt" type="STRING" size="256" sumtext="신장내과방문환자수"/>
- <Column id="deptmrcnt" type="STRING" size="256" sumtext="류마티스내과방문환자수"/>
- <Column id="deptmocnt" type="STRING" size="256" sumtext="종양내과방문환자수"/>
- <Column id="deptnucnt" type="STRING" size="256" sumtext="신경과방문환자수"/>
- <Column id="deptnpcnt" type="STRING" size="256" sumtext="정신과방문환자수"/>
- <Column id="deptgscnt" type="STRING" size="256" sumtext="외과방문환자수"/>
- <Column id="deptoscnt" type="STRING" size="256" sumtext="정형외과방문환자수"/>
- <Column id="deptnscnt" type="STRING" size="256" sumtext="신경외과방문환자수"/>
- <Column id="deptcscnt" type="STRING" size="256" sumtext="흉부외과방문환자수"/>
- <Column id="deptpscnt" type="STRING" size="256" sumtext="성형외과방문환자수"/>
- <Column id="deptobgycnt" type="STRING" size="256" sumtext="산부인과방문환자수"/>
- <Column id="deptodcnt" type="STRING" size="256" sumtext="산업의학과방문환자수"/>
- <Column id="deptpdcnt" type="STRING" size="256" sumtext="소아과방문환자수"/>
- <Column id="depteycnt" type="STRING" size="256" sumtext="안과방문환자수"/>
- <Column id="deptetcnt" type="STRING" size="256" sumtext="이비인후과방문환자수"/>
- <Column id="deptdrcnt" type="STRING" size="256" sumtext="피부과방문환자수"/>
- <Column id="depturcnt" type="STRING" size="256" sumtext="비뇨기과방문환자수"/>
- <Column id="depthccnt" type="STRING" size="256" sumtext="비뇨기과방문환자수"/>
- <Column id="deptdtcnt" type="STRING" size="256" sumtext="치과방문환자수"/>
- <Column id="deptedcnt" type="STRING" size="256" sumtext="응급의학과방문환자수"/>
- <Column id="deptrmcnt" type="STRING" size="256" sumtext="재활의학과방문환자수"/>
- <Column id="deptfmcnt" type="STRING" size="256" sumtext="가정의학과방문환자수"/>
- <Column id="deptfmcnt" type="STRING" size="256" sumtext="호스피스과방문환자수"/>
- <Column id="deptetccnt" type="STRING" size="256" sumtext="기타학과방문환자수"/>
- <Column id="pattotal" type="STRING" size="256" sumtext="총환자수"/>
- <Column id="inpatcnt" type="STRING" size="256" sumtext="입원환자수"/>
- <Column id="icupatcnt" type="STRING" size="256" sumtext="중환자실입원환자수"/>
- <Column id="diepatcnt" type="STRING" size="256" sumtext="사망자수"/>
- <Column id="doapatcnt" type="STRING" size="256" sumtext="DAO환자수"/>
- <Column id="opinpatcnt" type="STRING" size="256" sumtext="수술입원환자수"/>
- <Column id="cprpatcnt" type="STRING" size="256" sumtext="CPR환자수"/>
- <Column id="outcurecnt" type="STRING" size="256" sumtext="외래처치환자수"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_daylist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srctm" type="STRING" size="256" sumtext="조회구분"/>
- <Column id="deptmdcnt" type="STRING" size="256" sumtext="내과방문환자수"/>
- <Column id="deptmhcnt" type="STRING" size="256" sumtext="혈액내과방문환자수"/>
- <Column id="deptmgcnt" type="STRING" size="256" sumtext="소화기내과방문환자수"/>
- <Column id="deptmicnt" type="STRING" size="256" sumtext="감염내과방문환자수"/>
- <Column id="deptmecnt" type="STRING" size="256" sumtext="내분비내과방문환자수"/>
- <Column id="deptmccnt" type="STRING" size="256" sumtext="순환기내과방문환자수"/>
- <Column id="deptmpcnt" type="STRING" size="256" sumtext="호흡기내과방문환자수"/>
- <Column id="deptmncnt" type="STRING" size="256" sumtext="신장내과방문환자수"/>
- <Column id="deptmrcnt" type="STRING" size="256" sumtext="류마티스내과방문환자수"/>
- <Column id="deptmocnt" type="STRING" size="256" sumtext="종양내과방문환자수"/>
- <Column id="deptnucnt" type="STRING" size="256" sumtext="신경과방문환자수"/>
- <Column id="deptnpcnt" type="STRING" size="256" sumtext="정신과방문환자수"/>
- <Column id="deptgscnt" type="STRING" size="256" sumtext="외과방문환자수"/>
- <Column id="deptoscnt" type="STRING" size="256" sumtext="정형외과방문환자수"/>
- <Column id="deptnscnt" type="STRING" size="256" sumtext="신경외과방문환자수"/>
- <Column id="deptcscnt" type="STRING" size="256" sumtext="흉부외과방문환자수"/>
- <Column id="deptpscnt" type="STRING" size="256" sumtext="성형외과방문환자수"/>
- <Column id="deptobgycnt" type="STRING" size="256" sumtext="산부인과방문환자수"/>
- <Column id="deptodcnt" type="STRING" size="256" sumtext="산업의학과방문환자수"/>
- <Column id="deptpdcnt" type="STRING" size="256" sumtext="소아과방문환자수"/>
- <Column id="depteycnt" type="STRING" size="256" sumtext="안과방문환자수"/>
- <Column id="deptetcnt" type="STRING" size="256" sumtext="이비인후과방문환자수"/>
- <Column id="deptdrcnt" type="STRING" size="256" sumtext="피부과방문환자수"/>
- <Column id="depturcnt" type="STRING" size="256" sumtext="비뇨기과방문환자수"/>
- <Column id="deptdtcnt" type="STRING" size="256" sumtext="치과방문환자수"/>
- <Column id="deptedcnt" type="STRING" size="256" sumtext="응급의학과방문환자수"/>
- <Column id="deptrmcnt" type="STRING" size="256" sumtext="재활의학과방문환자수"/>
- <Column id="deptfmcnt" type="STRING" size="256" sumtext="가정의학과방문환자수"/>
- <Column id="depthccnt" type="STRING" size="256" sumtext="비뇨기과방문환자수"/>
- <Column id="deptetccnt" type="STRING" size="256" sumtext="기타학과방문환자수"/>
- <Column id="pattotal" type="STRING" size="256" sumtext="총환자수"/>
- <Column id="inpatcnt" type="STRING" size="256" sumtext="입원환자수"/>
- <Column id="icupatcnt" type="STRING" size="256" sumtext="중환자실입원환자수"/>
- <Column id="diepatcnt" type="STRING" size="256" sumtext="사망자수"/>
- <Column id="doapatcnt" type="STRING" size="256" sumtext="DAO환자수"/>
- <Column id="opinpatcnt" type="STRING" size="256" sumtext="수술입원환자수"/>
- <Column id="cprpatcnt" type="STRING" size="256" sumtext="CPR환자수"/>
- <Column id="outcurecnt" type="STRING" size="256" sumtext="외래처치환자수"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_sum" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srctm" type="STRING" size="256" sumtext="조회구분"/>
- <Column id="deptmdcnt" type="STRING" size="256" sumtext="내과방문환자수"/>
- <Column id="deptmhcnt" type="STRING" size="256" sumtext="혈액내과방문환자수"/>
- <Column id="deptmgcnt" type="STRING" size="256" sumtext="소화기내과방문환자수"/>
- <Column id="deptmicnt" type="STRING" size="256" sumtext="감염내과방문환자수"/>
- <Column id="deptmecnt" type="STRING" size="256" sumtext="내분비내과방문환자수"/>
- <Column id="deptmccnt" type="STRING" size="256" sumtext="순환기내과방문환자수"/>
- <Column id="deptmpcnt" type="STRING" size="256" sumtext="호흡기내과방문환자수"/>
- <Column id="deptmncnt" type="STRING" size="256" sumtext="신장내과방문환자수"/>
- <Column id="deptmrcnt" type="STRING" size="256" sumtext="류마티스내과방문환자수"/>
- <Column id="deptmocnt" type="STRING" size="256" sumtext="종양내과방문환자수"/>
- <Column id="deptnucnt" type="STRING" size="256" sumtext="신경과방문환자수"/>
- <Column id="deptnpcnt" type="STRING" size="256" sumtext="정신과방문환자수"/>
- <Column id="deptgscnt" type="STRING" size="256" sumtext="외과방문환자수"/>
- <Column id="deptoscnt" type="STRING" size="256" sumtext="정형외과방문환자수"/>
- <Column id="deptnscnt" type="STRING" size="256" sumtext="신경외과방문환자수"/>
- <Column id="deptcscnt" type="STRING" size="256" sumtext="흉부외과방문환자수"/>
- <Column id="deptpscnt" type="STRING" size="256" sumtext="성형외과방문환자수"/>
- <Column id="deptobgycnt" type="STRING" size="256" sumtext="산부인과방문환자수"/>
- <Column id="deptodcnt" type="STRING" size="256" sumtext="산업의학과방문환자수"/>
- <Column id="deptpdcnt" type="STRING" size="256" sumtext="소아과방문환자수"/>
- <Column id="depteycnt" type="STRING" size="256" sumtext="안과방문환자수"/>
- <Column id="deptetcnt" type="STRING" size="256" sumtext="이비인후과방문환자수"/>
- <Column id="deptdrcnt" type="STRING" size="256" sumtext="피부과방문환자수"/>
- <Column id="depturcnt" type="STRING" size="256" sumtext="비뇨기과방문환자수"/>
- <Column id="deptdtcnt" type="STRING" size="256" sumtext="치과방문환자수"/>
- <Column id="deptedcnt" type="STRING" size="256" sumtext="응급의학과방문환자수"/>
- <Column id="deptrmcnt" type="STRING" size="256" sumtext="재활의학과방문환자수"/>
- <Column id="deptfmcnt" type="STRING" size="256" sumtext="가정의학과방문환자수"/>
- <Column id="depthccnt" type="STRING" size="256" sumtext="비뇨기과방문환자수"/>
- <Column id="deptetccnt" type="STRING" size="256" sumtext="기타학과방문환자수"/>
- <Column id="pattotal" type="STRING" size="256" sumtext="총환자수"/>
- <Column id="inpatcnt" type="STRING" size="256" sumtext="입원환자수"/>
- <Column id="icupatcnt" type="STRING" size="256" sumtext="중환자실입원환자수"/>
- <Column id="diepatcnt" type="STRING" size="256" sumtext="사망자수"/>
- <Column id="doapatcnt" type="STRING" size="256" sumtext="DAO환자수"/>
- <Column id="opinpatcnt" type="STRING" size="256" sumtext="수술입원환자수"/>
- <Column id="cprpatcnt" type="STRING" size="256" sumtext="CPR환자수"/>
- <Column id="outcurecnt" type="STRING" size="256" sumtext="외래처치환자수"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_patlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="sex" type="STRING" size="256" sumtext="성별"/>
- <Column id="age" type="STRING" size="256" sumtext="나이"/>
- <Column id="rrgstno" type="STRING" size="256" sumtext="주민등록번호"/>
- <Column id="orddept" type="STRING" size="256" sumtext="진료과"/>
- <Column id="chosdt" type="STRING" size="256" sumtext="내원일시"/>
- <Column id="outrmdt" type="STRING" size="256" sumtext="퇴실일시"/>
- <Column id="staytm" type="STRING" size="256" sumtext="체류시간"/>
- <Column id="deptnm" type="STRING" size="256" sumtext="부서명"/>
- <Column id="srchdate" type="STRING" size="256" sumtext="조회일자"/>
- <Column id="outcure" type="STRING" size="256" sumtext="외래처치"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <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
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
-
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument :
- * Description :
- ****************************************************************************************/
- function fInit(){
- grp_biz.group2.fromdd.value = utlf_getCurrentDate();
- grp_biz.group2.todd.value = utlf_getCurrentDate();
-
- // 일별 캡션 활성화
- grp_biz.caption1.visible = true;
- grp_biz.caption3.visible = false;
-
- grp_biz.grd_daylist.visible = true;
- grp_biz.grd_monthlist.visible = false;
-
- //속도개선
- this.setTimer(0, 100);
- //fSearchList();
- }
-
- /****************************************************************************************
- * Argument :
- * Description :
- ****************************************************************************************/
- function fSearchList(){
- dsf_createDsRow("ds_send",
- [
- { col:"fromdd", type:"string", size:256, val: grp_biz.group2.fromdd.value },
- { col:"todd", type:"string", size:256, val: grp_biz.group2.todd.value },
- { col:"kindflag", type:"string", size:256, val: grp_biz.group2.kindflag.value }
- ],
- true);
-
- var oParam = {};
- oParam.id = "TRMNE02101";
- oParam.service = "ercareapp.ERPatMngt";
- oParam.method = "reqGetDeptPatPresCond";
- oParam.inds = "cond=ds_send";
- oParam.outds = "ds_grd_monthlist=deptinfomm ds_grd_daylist=deptinfodd ds_grd_sum=deptsum";
- oParam.async = false;
- //oParam.callback = "cf_TRMNE02101";
- tranf_submit(oParam);
- }
- var printSrcTitle = '';
- function fSrcPat(plag, col, row){
- var sSrcData = "";
- var sSrcData2 = "";
- var title = "";
- var srcdate = "";
-
- printSrcTitle = '조회(';
- if(plag == 'D'){
- srcdate = new String(ds_grd_daylist.getColumn(row, "srctm"));
- printSrcTitle += '일) : ' + srcdate.substr(0, 4) + '-' + srcdate.substr(4, 2) + '-' + srcdate.substr(6, 2);
- }
- else{
- srcdate = ds_grd_monthlist.getColumn(row, "srctm");
- printSrcTitle += '월) : ' + srcdate.substr(0, 4) + '-' + srcdate.substr(4, 2);
- }
-
- //sysf_trace("srcdate: " + srcdate);
-
- switch(col){
- case 2 : sSrcData = "E01"; break;//MD
- case 3 : sSrcData = "E07"; break;//MH
- case 4 : sSrcData = "E02"; break;//MG
- case 5 : sSrcData = "E09"; break;//MI
- case 6 : sSrcData = "E04"; break;//ME
- case 7 : sSrcData = "E03"; break;//MC
- case 8 : sSrcData = "E05"; break;//MP
- case 9 : sSrcData = "E06"; break;//MN
- case 10: sSrcData = "E10"; break;//MR
- case 11: sSrcData = "E08"; break;//MO
- case 12: sSrcData = "E11"; break;//NU
- case 13: sSrcData = "E12"; break;//NP
- case 14: sSrcData = "E13"; break;//GS
- case 15: sSrcData = "E14"; break;//OS
- case 16: sSrcData = "E15"; break;//NS
- case 17: sSrcData = "E16"; break;//CS
- case 18: sSrcData = "E17"; break;//PS
- case 19: sSrcData = "E19"; break;//OBGY
- case 20: sSrcData = "E34"; break;//OD
- case 21: sSrcData = "E20"; break;//PD
- case 22: sSrcData = "E21"; break;//EY
- case 23: sSrcData = "E22"; break;//ET
- case 24: sSrcData = "E23"; break;//DR
- case 25: sSrcData = "E24"; break;//UR
- case 26: sSrcData = "E32"; break;//DT
- case 27: sSrcData = "ETC"; break;//'E18', 'E25', 'E26', 'E27', 'E28', 'E29'
- case 28: sSrcData = "E33"; break;//ED
- case 29: sSrcData = "E30"; break;//RM
- case 30: sSrcData = "E31"; break;//FM
- case 31: sSrcData = "HC" ; sSrcData2 = "Y"; title = "호스피스"; break;
- case 32: sSrcData = "TT" ; titletotm = "전체"; break;// 계ㅇㅇ// ???????? what the?
- case 33: sSrcData = "INR"; sSrcData2 = "Y"; title = "입원"; break; // 입원수
- case 34: sSrcData = "ICU"; sSrcData2 = "Y"; title = "ICU"; break; // ICU
- case 35: sSrcData = "DIE"; sSrcData2 = "Y"; title = "사망"; break; // 사망
- case 36: sSrcData = "DOA"; sSrcData2 = "Y"; title = "DOA"; break; // DOA
- case 37: sSrcData = "OP" ; sSrcData2 = "Y"; title = "수술입원"; break; // 수술입원
- case 38: sSrcData = "CPR"; sSrcData2 = "Y"; title = "CPR"; break; // CPR
- case 39: sSrcData = "OUT"; sSrcData2 = "Y"; title = "외래처치"; break; // 외래처치ㅇㅇ
- }
- // 쿼리 전송 dataset
- dsf_createDsRow("ds_req",
- [
- { col:"srcdate", type:"string", size:256, val: srcdate },
- { col:"srcdata", type:"string", size:256, val: sSrcData },
- { col:"flag", type:"string", size:256, val: plag },
- { col:"srcdata2", type:"string", size:256, val: sSrcData2 }
- ],
- true);
-
- //sysf_trace("data: " + sSrcData + ", " + srcdate + ", " + plag + ", " + sSrcData2);
-
- // 팝업 화면의 그리드에 바인드 할 데이터를 쿼리
- var oParam = {};
- oParam.id = "TRMNE02102";
- oParam.service = "ercareapp.ERPatMngt";
- oParam.method = "reqGetDeptPatPresCondList";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_patlist=patlist";
- oParam.async = false;
- oParam.callback = "cf_TRMNE02102";
- tranf_submit(oParam);
- }
- function cf_TRMNE02102(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
-
- fShowModal("SMMNE03400");
- }
- function fShowModal(pProgID) {
- var args = {};
- args.arg_ds_patlist = ds_patlist;
- //srctm = new String(srctm);
- args.arg_srchdate= printSrcTitle;
-
- frmf_modal(pProgID, pProgID, args, "", "", "", "", "", "", "", "", "", "M");
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument :
- * Description : oninit
- ****************************************************************************************/
- function SMMNE02100_oninit(obj:Form, e:InitEventInfo){
-
- }
- /****************************************************************************************
- * Argument :
- * Description : onload
- ****************************************************************************************/
- function SMMNE02100_onload(obj:Form, e:LoadEventInfo){
- // 화면공통
- frmf_initForm(obj);
-
- fInit();
- }
- /****************************************************************************************
- * Argument :
- * Description : 일별/월별 라디오 선택
- ****************************************************************************************/
- function grp_biz_group2_kindflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo){
- var checked = grp_biz.group2.kindflag.value;
- if(checked == '1'){
- grp_biz.caption1.visible = true;
- grp_biz.caption3.visible = false;
-
- grp_biz.grd_daylist.visible = true;
- grp_biz.grd_monthlist.visible = false;
-
- grp_biz.group2.fromdd.editformat = 'yyyy-MM-dd';
- grp_biz.group2.fromdd.dateformat = 'yyyy-MM-dd';
-
- grp_biz.group2.todd.editformat = 'yyyy-MM-dd';
- grp_biz.group2.todd.dateformat = 'yyyy-MM-dd';
- }
- else{
- grp_biz.caption1.visible = false;
- grp_biz.caption3.visible = true;
-
- grp_biz.grd_daylist.visible = false;
- grp_biz.grd_monthlist.visible = true;
-
- grp_biz.group2.fromdd.editformat = 'yyyy-MM';
- grp_biz.group2.fromdd.dateformat = 'yyyy-MM';
-
- grp_biz.group2.todd.editformat = 'yyyy-MM';
- grp_biz.group2.todd.dateformat = 'yyyy-MM';
- }
- fSearchList();
- }
- /****************************************************************************************
- * Argument :
- * Description : 조회버튼 클릭
- ****************************************************************************************/
- function grp_biz_group2_button1_onclick(obj:Button, e:ClickEventInfo){
- fSearchList();
- }
- /****************************************************************************************
- * Argument :
- * Description : 일별 그리드 셀 더블클릭
- ****************************************************************************************/
- function grp_biz_grd_daylist_oncelldblclick(obj:Grid, e:GridClickEventInfo){
- if(e.col > 1){
- fSrcPat('D', e.col, e.row);
- }
-
- }
- /****************************************************************************************
- * Argument :
- * Description : 월별 그리드 셀 더블클릭
- ****************************************************************************************/
- function grp_biz_grd_monthlist_oncelldblclick(obj:Grid, e:GridClickEventInfo){
- if(e.col > 1){
- fSrcPat('M', e.col, e.row);
- }
- }
- /****************************************************************************************
- * Argument :
- * Description : 엑셀 버튼 클릭
- ****************************************************************************************/
- function grp_biz_group2_button7_onclick(obj:Button, e:ClickEventInfo){
- var fromdd = new String(grp_biz.group2.fromdd.value);
- var todd = new String(grp_biz.group2.todd.value);
- var grd_export = grp_biz.grd_daylist;
-
- // 월별인 경우
- if(grp_biz.group2.kindflag.value == "2"){
- fromdd = fromdd.substr(0, 6);
- todd = todd.substr(0, 6);
- grd_export = grp_biz.grd_monthlist;
- }
-
- var fileString = (fromdd != todd) ? fromdd + "~" + todd : fromdd;
-
- grdf_exportExcel(grd_export, "과별환자현황(" + fileString + ")", "Sheet1", true, "", "user", true);
- }
- /****************************************************************************************
- * Argument :
- * Description : 초기화 버튼 클릭
- ****************************************************************************************/
- function grp_biz_group2_button8_onclick(obj:Button, e:ClickEventInfo){
- fInit();
- }
- function SMMNE02100_ontimer(obj:Form, e:TimerEventInfo)
- {
- if (e.timerid == 0) {
- this.killTimer(0);
- fSearchList();
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|