123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMSTP00700" position="absolute 0 0 1173 770" titletext="입원환자 일계표" onload="SMSTP00700_onload" oninit="SMSTP00700_oninit">
- <Layouts>
- <Layout>
- <Static id="caption6" text="입원환자 일계표" class="tit_1" position="absolute 0 0 135 25" anchor="left top"/>
- <Button id="btn_clear" taborder="1" text="초기화" onclick="group4_btn_clear_onclick" class="btn4" position="absolute 1103 744 1171 766" anchor="right bottom"/>
- <Div id="group2" anchor="left top right" taborder="2" style="align: top;" class="div_SA" position="absolute 0 25 1171 65">
- <Layouts>
- <Layout width="1172" height="35">
- <Static id="caption2" text="기준일자 :" class="search_name" position="absolute 16 12 102 29" anchor="left top"/>
- <Button id="button1" taborder="0" text="조회" onclick="group2_button1_onclick" class="btn1" position="absolute 1099 10 1155 32" anchor="top right"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1090 10 1093 32" anchor="top right" style="border: solid #ffe4bb #ffe4bb;"/>
- <Calendar id="ipt_pid" taborder="1" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd" class="input_s_essential" position="absolute 97 11 197 30" anchor="left top" onkeypress="group2_ipt_pid_onkeypress"/>
- <Static id="caption1" text="통계구분 :" class="search_name" position="absolute 334 12 420 29" anchor="left top"/>
- <Radio id="radio1" taborder="3" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 415 11 823 31" anchor="left top" columncount="-1" rowcount="-1" onitemchanged="group2_radio1_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">D</Col>
- <Col id="datacolumn">입원환자 일계표</Col>
- </Row>
- <Row>
- <Col id="codecolumn">W</Col>
- <Col id="datacolumn">병상별 환자 현황</Col>
- </Row>
- <Row>
- <Col id="codecolumn">B</Col>
- <Col id="datacolumn">병동별 환자 현황</Col>
- </Row>
- <Row>
- <Col id="codecolumn">S</Col>
- <Col id="datacolumn">요일별 통계</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Calendar id="input1" taborder="2" autoselect="true" dateformat="yyyy-MM-dd" class="input_s_essential" position="absolute 222 11 322 30" anchor="left top" onkeypress="group2_input1_onkeypress"/>
- <Static id="caption3" text="~" position="absolute 208 15 217 30" anchor="left top"/>
- <Combo id="combo1" taborder="4" innerdataset="ds_hidden_init_insukind" codecolumn="cd" datacolumn="nm" visible="false" position="absolute 969 11 1069 30" anchor="left top" columncount="-1" rowcount="-1"/>
- <Static id="caption9" text="보험유형 :" class="search_name" visible="false" position="absolute 884 12 974 29" anchor="left top"/>
- <CheckBox id="bool1" taborder="5" value="N" truevalue="Y" falsevalue="N" visible="false" position="absolute 849 12 864 28" anchor="left top"/>
- </Layout>
- </Layouts>
- </Div>
- <Tab id="switch1" anchor="all" taborder="3" tabindex="1" position="absolute 0 55 1171 746" style="buttonbackground:stretch 10,10;background:stretch 10,26;border:0 solid #ffffffff #ffffffff;">
- <Tabpages>
- <Tabpage id="case_d" selected="true">
- <Layouts>
- <Layout>
- <Shape id="line1" class="line_10" position="absolute 0 29 1170 33" anchor="left top right"/>
- <Grid id="grd_d" class="datagrid2" taborder="3" binddataset="ds_main_dept_datalist" useinputpanel="false" position="absolute 0 33 1170 673" anchor="all" style="align:center ;" autoenter="select" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="120"/>
- <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"/>
- <Column size="90"/>
- <Column size="90"/>
- </Columns>
- <Rows>
- <Row size="32" band="head"/>
- <Row size="23"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="진료과"/>
- <Cell col="2" text="진료의사"/>
- <Cell col="3" text="전일재원수"/>
- <Cell col="4" text="입원환자수"/>
- <Cell col="5" text="퇴원환자수"/>
- <Cell col="6" text="당일입퇴원 환자수"/>
- <Cell col="7" text="퇴원연인원"/>
- <Cell col="8" text="전과증가"/>
- <Cell col="9" text="전과감소"/>
- <Cell col="10" text="금일재원수"/>
- <Cell col="11" text="평균 재원일수"/>
- <Cell col="12" text="선택진료수"/>
- <Cell col="13" text="선택진료비율"/>
- <Cell col="14" text="최종수정일시"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow + 1"/>
- <Cell col="1" style="align:center middle;" text="bind:orddeptnm"/>
- <Cell col="2" style="align:center middle;" text="bind:medispclnm"/>
- <Cell col="3" displaytype="number" style="align:center middle;" text="bind:yesterday_adm_cnt"/>
- <Cell col="4" displaytype="number" style="align:center middle;" text="bind:today_in_cnt"/>
- <Cell col="5" displaytype="number" style="align:center middle;" text="bind:today_dsch_cnt"/>
- <Cell col="6" displaytype="number" style="align:center middle;" text="bind:today_indsch_cnt"/>
- <Cell col="7" displaytype="number" style="align:center middle;" text="bind:today_dsch_daycnt"/>
- <Cell col="8" displaytype="number" style="align:center middle;" text="bind:change_add"/>
- <Cell col="9" displaytype="number" style="align:center middle;" text="bind:change_redu"/>
- <Cell col="10" displaytype="number" style="align:center middle;" text="bind:today_adm_cnt"/>
- <Cell col="11" displaytype="number" style="align:center middle;" text="bind:avrg_adm_cnt"/>
- <Cell col="12" displaytype="number" style="align:center middle;" text="bind:spec_cnt"/>
- <Cell col="13" style="align:center middle;" text="bind:spec_ratio"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption7" text="입원환자 일계표" class="tit_2" position="absolute 0 12 140 30" anchor="left top"/>
- <CheckBox id="chkDoct" taborder="4" text="진료의사별 조회" value="N" truevalue="Y" falsevalue="N" position="absolute 128 9 243 29" anchor="left top" innerdataset="[object Dataset]" datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" titletext="CheckBox List" scrollbars="none" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="100" onclick="switch1_case_d_chkDoct_onclick">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">진료의사별 조회</Col>
- </Row>
- </Rows>
- </Dataset>
- </CheckBox>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case_w">
- <Layouts>
- <Layout>
- <Grid id="grd_w" class="datagrid2" taborder="0" binddataset="ds_main_ward_datalist" useinputpanel="false" extendsizetype="row" position="absolute 0 32 1170 672" anchor="all" style="align:center ;" autoenter="select" cellsizingtype="col" oncellclick="switch1_case_w_grd_w_oncellclick" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="100"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="38"/>
- <Column size="110"/>
- <Column size="110"/>
- </Columns>
- <Rows>
- <Row size="32" band="head"/>
- <Row size="23"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="병동"/>
- <Cell col="2" colspan="2" text="특실" taborder="undefined"/>
- <Cell col="4" colspan="2" text="1인실" taborder="undefined"/>
- <Cell col="6" colspan="2" text="2인실" taborder="undefined"/>
- <Cell col="8" colspan="2" text="3인실" taborder="undefined"/>
- <Cell col="10" colspan="2" text="4인실" taborder="undefined"/>
- <Cell col="12" colspan="2" text="5인실" taborder="undefined"/>
- <Cell col="14" colspan="2" text="6인실" taborder="undefined"/>
- <Cell col="16" colspan="2" text="7인실" taborder="undefined"/>
- <Cell col="18" colspan="2" text="8인실" taborder="undefined"/>
- <Cell col="20" colspan="2" text="중환자실" taborder="undefined"/>
- <Cell col="22" colspan="2" text="합계" taborder="undefined"/>
- <Cell col="24" text="병동별 가동율(%)"/>
- <Cell col="25" text="평균 가동율(%)"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow + 1"/>
- <Cell col="1" style="align:center top;padding:5 2 3 2;" text="bind:ward" wordwrap="word"/>
- <Cell col="2" text="bind:ward_vip_tot"/>
- <Cell col="3" text="bind:ward_vip_cnt"/>
- <Cell col="4" text="bind:ward_1_tot"/>
- <Cell col="5" text="bind:ward_1_cnt"/>
- <Cell col="6" text="bind:ward_2_tot"/>
- <Cell col="7" text="bind:ward_2_cnt"/>
- <Cell col="8" text="bind:ward_3_tot"/>
- <Cell col="9" text="bind:ward_3_cnt"/>
- <Cell col="10" text="bind:ward_4_tot"/>
- <Cell col="11" text="bind:ward_4_cnt"/>
- <Cell col="12" text="bind:ward_5_tot"/>
- <Cell col="13" text="bind:ward_5_cnt"/>
- <Cell col="14" text="bind:ward_6_tot"/>
- <Cell col="15" text="bind:ward_6_cnt"/>
- <Cell col="16" text="bind:ward_7_tot"/>
- <Cell col="17" text="bind:ward_7_cnt"/>
- <Cell col="18" text="bind:ward_8_tot"/>
- <Cell col="19" text="bind:ward_8_cnt"/>
- <Cell col="20" text="bind:ward_sd_tot"/>
- <Cell col="21" text="bind:ward_sd_cnt"/>
- <Cell col="22" text="bind:ward_tot"/>
- <Cell col="23" text="bind:ward_cnt"/>
- <Cell col="24" displaytype="number" style="align:center middle;" text="bind:ward_use"/>
- <Cell col="25" displaytype="number" style="align:center middle;" text="bind:avg_use"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line2" class="line_10" position="absolute 0 28 1170 32" anchor="left top right"/>
- <Static id="caption4" text="병상별 환자 현황" class="tit_2" position="absolute 0 11 124 28"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case_b">
- <Layouts>
- <Layout>
- <Grid id="grd_b" class="datagrid2" taborder="1" binddataset="ds_main_wardbed_datalist" useinputpanel="false" position="absolute 0 32 1170 672" anchor="all" style="align:center ;" autoenter="select" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="23" band="head"/>
- <Row size="23"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="병동"/>
- <Cell col="2" text="입원"/>
- <Cell col="3" text="재원"/>
- <Cell col="4" text="퇴원"/>
- <Cell col="5" text="보험유형"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow + 1"/>
- <Cell col="1" text="bind:ward"/>
- <Cell col="2" displaytype="number" style="align:center middle;" text="bind:incnt"/>
- <Cell col="3" displaytype="number" style="align:center middle;" text="bind:admcnt"/>
- <Cell col="4" displaytype="number" style="align:center middle;" text="bind:dschcnt"/>
- <Cell col="5" text="bind:insukind"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line3" class="line_10" position="absolute 0 28 1170 32" anchor="left top right"/>
- <Static id="caption5" text="병동별 환자 현황" class="tit_2" position="absolute 1 11 141 28" anchor="left top"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case_s">
- <Layouts>
- <Layout>
- <Grid id="grd_s" class="datagrid2" taborder="1" binddataset="ds_main_weekday_datalist" useinputpanel="false" position="absolute 0 32 1170 672" anchor="all" style="align:center ;" autoenter="select" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="150"/>
- <Column size="75"/>
- <Column size="75"/>
- <Column size="75"/>
- <Column size="75"/>
- <Column size="75"/>
- <Column size="75"/>
- <Column size="75"/>
- <Column size="75"/>
- </Columns>
- <Rows>
- <Row size="23" band="head"/>
- <Row size="23"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="시작일"/>
- <Cell col="2" text="종료일"/>
- <Cell col="3" text="구분"/>
- <Cell col="4" text="월요일"/>
- <Cell col="5" text="화요일"/>
- <Cell col="6" text="수요일"/>
- <Cell col="7" text="목요일"/>
- <Cell col="8" text="금요일"/>
- <Cell col="9" text="토요일"/>
- <Cell col="10" text="일요일"/>
- <Cell col="11" text="합계"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow + 1"/>
- <Cell col="1" displaytype="date" text="bind:fromdd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
- <Cell col="2" displaytype="date" text="bind:todd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
- <Cell col="3" style="align:left middle;" text="bind:gubn"/>
- <Cell col="4" displaytype="number" style="align:center middle;" text="bind:mon"/>
- <Cell col="5" displaytype="number" style="align:center middle;" text="bind:tue"/>
- <Cell col="6" displaytype="number" style="align:center middle;" text="bind:wed"/>
- <Cell col="7" displaytype="number" style="align:center middle;" text="bind:thu"/>
- <Cell col="8" displaytype="number" style="align:center middle;" text="bind:fri"/>
- <Cell col="9" displaytype="number" style="align:center middle;" text="bind:sat"/>
- <Cell col="10" displaytype="number" style="align:center middle;" text="bind:sun"/>
- <Cell col="11" displaytype="number" style="align:center middle;" text="bind:tot"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line4" class="line_10" position="absolute 0 28 1170 32" anchor="left top right"/>
- <Static id="caption8" text="요일별 통계" class="tit_2" position="absolute 0 11 92 28" anchor="left top"/>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Button id="btn_updtexcel" taborder="4" text="엑셀저장" onclick="group1_btn_updtexcel_onclick" class="btn7" position="absolute 1095 76 1170 95" anchor="top right"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="statisticflag" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="srchflag" type="STRING" size="256"/>
- <Column id="insukind" type="STRING" size="256"/>
- <Column id="insukindyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="statisticflag"/>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="srchflag"/>
- <Col id="insukind"/>
- <Col id="insukindyn"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_dept_datalist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
- <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과명"/>
- <Column id="medispcl" type="STRING" size="256" sumtext="진료의사"/>
- <Column id="medispclnm" type="STRING" size="256" sumtext="진료의사명"/>
- <Column id="yesterday_adm_cnt" type="STRING" size="256" sumtext="전일재원수"/>
- <Column id="today_in_cnt" type="STRING" size="256" sumtext="입원환자수"/>
- <Column id="today_dsch_cnt" type="STRING" size="256" sumtext="퇴원환자수"/>
- <Column id="today_indsch_cnt" type="STRING" size="256" sumtext="당일입퇴원환자수"/>
- <Column id="today_dsch_daycnt" type="STRING" size="256" sumtext="퇴원연인원"/>
- <Column id="change_add" type="STRING" size="256" sumtext="전과증가"/>
- <Column id="change_redu" type="STRING" size="256" sumtext="전과감소"/>
- <Column id="today_adm_cnt" type="STRING" size="256" sumtext="금일재원수"/>
- <Column id="avrg_adm_cnt" type="STRING" size="256" sumtext="평균재원환자수"/>
- <Column id="spec_cnt" type="STRING" size="256" sumtext="선택진료수"/>
- <Column id="spec_ratio" type="STRING" size="256" sumtext="선택진료비율"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_ward_datalist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ward" type="STRING" size="256" sumtext="병동"/>
- <Column id="ward_vip_tot" type="STRING" size="256" sumtext="특실병실수"/>
- <Column id="ward_vip_cnt" type="STRING" size="256" sumtext="특실재실수"/>
- <Column id="ward_1_tot" type="STRING" size="256" sumtext="1인실병실수"/>
- <Column id="ward_1_cnt" type="STRING" size="256" sumtext="1인재실수"/>
- <Column id="ward_2_tot" type="STRING" size="256" sumtext="2인실병실수"/>
- <Column id="ward_2_cnt" type="STRING" size="256" sumtext="2인재실수"/>
- <Column id="ward_3_tot" type="STRING" size="256" sumtext="3인실병실수"/>
- <Column id="ward_3_cnt" type="STRING" size="256" sumtext="3인재실수"/>
- <Column id="ward_4_tot" type="STRING" size="256" sumtext="4인실병실수"/>
- <Column id="ward_4_cnt" type="STRING" size="256" sumtext="4인재실수"/>
- <Column id="ward_5_tot" type="STRING" size="256" sumtext="5인실병실수"/>
- <Column id="ward_5_cnt" type="STRING" size="256" sumtext="5인재실수"/>
- <Column id="ward_6_tot" type="STRING" size="256" sumtext="6인실병실수"/>
- <Column id="ward_6_cnt" type="STRING" size="256" sumtext="6인재실수"/>
- <Column id="ward_7_tot" type="STRING" size="256" sumtext="7인실병실수"/>
- <Column id="ward_7_cnt" type="STRING" size="256" sumtext="7인재실수"/>
- <Column id="ward_8_tot" type="STRING" size="256" sumtext="8인실병실수"/>
- <Column id="ward_8_cnt" type="STRING" size="256" sumtext="8인재실수"/>
- <Column id="ward_sd_tot" type="STRING" size="256" sumtext="중환자실합계"/>
- <Column id="ward_sd_cnt" type="STRING" size="256" sumtext="중환자재실수"/>
- <Column id="ward_tot" type="STRING" size="256" sumtext="병실합계"/>
- <Column id="ward_cnt" type="STRING" size="256" sumtext="재실합계"/>
- <Column id="ward_use" type="STRING" size="256" sumtext="병동가동율"/>
- <Column id="avg_use" type="STRING" size="256" sumtext="평균가동율"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_wardbed_datalist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ward" type="STRING" size="256" sumtext="병동"/>
- <Column id="incnt" type="STRING" size="256" sumtext="입원환자수"/>
- <Column id="admcnt" type="STRING" size="256" sumtext="재원환자수"/>
- <Column id="dschcnt" type="STRING" size="256" sumtext="퇴원환자수"/>
- <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_weekday_datalist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256" sumtext="시작일자"/>
- <Column id="todd" type="STRING" size="256" sumtext="종료일자"/>
- <Column id="gubn" type="STRING" size="256" sumtext="구분"/>
- <Column id="mon" type="STRING" size="256" sumtext="월요일"/>
- <Column id="tue" type="STRING" size="256" sumtext="화요일"/>
- <Column id="wed" type="STRING" size="256" sumtext="수요일"/>
- <Column id="thu" type="STRING" size="256" sumtext="목요일"/>
- <Column id="fri" type="STRING" size="256" sumtext="금요일"/>
- <Column id="sat" type="STRING" size="256" sumtext="토요일"/>
- <Column id="sun" type="STRING" size="256" sumtext="일요일"/>
- <Column id="tot" type="STRING" size="256" sumtext="합계"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="statisticflag" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="srchflag" type="STRING" size="256"/>
- <Column id="insukind" type="STRING" size="256"/>
- <Column id="insukindyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="statisticflag"/>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="srchflag"/>
- <Col id="insukind"/>
- <Col id="insukindyn"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_init_insukind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.ipt_pid" propid="value" datasetid="ds_init_cond" columnid="fromdd"/>
- <BindItem id="item1" compid="group2.radio1" propid="value" datasetid="ds_init_cond" columnid="statisticflag"/>
- <BindItem id="item2" compid="group2.input1" propid="value" datasetid="ds_init_cond" columnid="todd"/>
- <BindItem id="item3" compid="group2.combo1" propid="value" datasetid="ds_init_cond" columnid="insukind"/>
- <BindItem id="item4" compid="group2.bool1" propid="value" datasetid="ds_init_cond" columnid="insukindyn"/>
- <BindItem id="item5" compid="switch1.case_d.chkDoct" propid="value" datasetid="ds_init_cond" columnid="srchflag"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[ include "com_commonxp::comm_main.xjs";
- include "com_basiccodexp::ZBC001.xjs";
- include "pam_pamcomnxp::PAM.xjs";
- include "pam_opatmngtxp::PMOCOM.xjs";
-
- var XXX_defSize = 90;
- function SMSTP00700_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMSTP00700_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(switch1.case_b.grd_b);
- grdf_initGrid(switch1.case_d.grd_d);
- grdf_initGrid(switch1.case_s.grd_s);
- grdf_initGrid(switch1.case_w.grd_w);
-
- switch1.case_d.grd_d.setFormatColProperty( 2, "size", 0);
- fInitialize();
- }
- function fInitialize()
- {
- ds_send.clearData();
- ds_send.addRow();
-
- ds_init_cond.clearData();
- ds_init_cond.addRow();
-
- ds_main_dept_datalist.clearData();
- ds_main_ward_datalist.clearData();
- ds_main_wardbed_datalist.clearData();
- ds_main_weekday_datalist.clearData();
-
- // 날자 입력 항목에 오늘 날자 세팅
- var curDate = utlf_getCurrentDate();
- ds_init_cond.setColumn( 0, "fromdd", curDate-1);
- ds_init_cond.setColumn( 0, "todd", curDate-1);
-
- ds_init_cond.setColumn( 0, "statisticflag", 'D');
-
- ds_init_cond.setColumn( 0, "statisticflag", 'W');
- // 원무사용 기초코드 조회(진료과,의사,할인,미수코드)
- dsf_makeValue(ds_init_cond, "sess_posinstcd", "string", sysf_getUserInfo("dutplceinstcd"));
-
- var oParam = {};
- oParam.id = "TRPAMCOM01";
- oParam.service = "pamcomnapp.PamComn";
- oParam.method = "reqGetComCD";
- oParam.inds = "req=ds_init_cond";
- oParam.outds = "=disccd ds_hidden_init_insukind=insukind =suppkind "
- +"=orddeptcd =orddrid =reducd "
- +"=uncocd ds_init_proccd= =subjno =rcptflag";
- oParam.async = false;
- //oParam.callback = "cf_TRPAMCOM01";
- tranf_submit(oParam);
-
- frmf_inputEnterKey("group2.radio1", "onitemchanged", new ItemChangeEventInfo );
- }
- function group2_radio1_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- var rsrvgubn = obj.value;
- if (rsrvgubn == "D")
- {
- switch1.tabindex = 0;
- group2.caption9.visible = false;
- group2.combo1.visible = false;
- group2.bool1.visible = false;
- }
- else if (rsrvgubn == "W")
- {
- switch1.tabindex = 1;
- group2.caption9.visible = false;
- group2.combo1.visible = false;
- group2.bool1.visible = false;
- }
- else if (rsrvgubn == "B")
- {
- switch1.tabindex = 2;
- group2.caption9.visible = true;
- group2.combo1.visible = true;
- group2.bool1.visible = true;
- }
- else if (rsrvgubn == "S")
- {
- switch1.tabindex = 3;
- group2.caption9.visible = false;
- group2.combo1.visible = false;
- group2.bool1.visible = false;
- }
- }
- function group2_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- // 집계 대상 테이블 변경으로 인한 주석처리 PAM.PMIMSPAT -> STS.SDCHADPT 수정 by 조중래 20150812
- // if( ds_init_cond.getColumn(0, "statisticflag") == "W") {
- // //병상 집계기준 일자와 통합통계 기준일자가 달라서 병상 집계기준일자에 1일을 더해준다.
- // var fromdate = ds_init_cond.getColumn(0, "fromdd");
- // var todate = ds_init_cond.getColumn(0, "todd");
- // var fromdd = ((fromdate.toDate("YYYYMMDD")).getAddDate(1, "D")).getDateFormat("YYYYMMDD") ;
- // var todd = ((todate.toDate("YYYYMMDD")).getAddDate(1, "D")).getDateFormat("YYYYMMDD") ;
- //
- // ds_send.setColumn( 0, "fromdd", fromdd);
- // ds_send.setColumn( 0, "todd", todd);
- // } else {
- // ds_send.setColumn( 0, "fromdd", ds_init_cond.getColumn(0, "fromdd"));
- // ds_send.setColumn( 0, "todd", ds_init_cond.getColumn(0, "todd"));
- // }
- ds_send.setColumn( 0, "fromdd", ds_init_cond.getColumn(0, "fromdd"));
- ds_send.setColumn( 0, "todd", ds_init_cond.getColumn(0, "todd"));
- ds_send.setColumn( 0, "statisticflag", ds_init_cond.getColumn(0, "statisticflag"));
- ds_send.setColumn( 0, "srchflag", ds_init_cond.getColumn(0, "srchflag"));
- ds_send.setColumn( 0, "insukind", ds_init_cond.getColumn(0, "insukind"));
- ds_send.setColumn( 0, "insukindyn", ds_init_cond.getColumn(0, "insukindyn"));
-
- var oParam = {};
- oParam.id = "TRSTP00701";
- oParam.service = "stspamapp.StsPam";
- oParam.method = "reqGetInPatSts";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_dept_datalist=dept ds_main_ward_datalist=ward ds_main_wardbed_datalist=wardbed ds_main_weekday_datalist=weekday";
- oParam.async = false;
- oParam.callback = "cf_TXSTP00701";
- tranf_submit(oParam);
- }
- function cf_TXSTP00701(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0) return;
- else
- {
- }
- }
- function switch1_case_d_chkDoct_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if (obj.value == "Y")
- {
- switch1.case_d.grd_d.setFormatColProperty( 2, "size", 120);
- }
- else
- {
- switch1.case_d.grd_d.setFormatColProperty( 2, "size", 0);
- }
- }
- function group1_btn_updtexcel_onclick(obj:Button, e:ClickEventInfo)
- {
- if (group2.radio1.value == "D")
- {
- grdf_exportExcel(switch1.case_d.grd_d, "SheetName", "Sheet1", true, "", "user", true);
- }
- else if (group2.radio1.value == "W")
- {
- grdf_exportExcel(switch1.case_w.grd_w, "병상별 환자 현황", "Sheet1", true, "", "user", true);
- }
- else if (group2.radio1.value == "B")
- {
- grdf_exportExcel(switch1.case_b.grd_b, "병동별 환자 현황", "Sheet1", true, "", "user", true);
- }
- else if (group2.radio1.value == "S")
- {
- grdf_exportExcel(switch1.case_s.grd_s, "요일별 통계", "Sheet1", true, "", "user", true);
- }
- }
- function group4_btn_clear_onclick(obj:Button, e:ClickEventInfo)
- {
- fInitialize();
- }
- ]]></Script>
- </Form>
- </FDL>
|