123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPMI03700" position="absolute 0 0 1206 768" titletext="재원병실현황" onload="SMPMI03700_onload">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 87 1193 167" id="grid_list2" class="datagrid2" binddataset="ds_main_gridlist_trsinfo">
- <Formats>
- <Format id="default">
- <Columns>
- <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="55"/>
- <Column size="55"/>
- <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="110"/>
- <Column size="110"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="30" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell colspan="2" text="응급실" taborder="undefined"/>
- <Cell col="2" colspan="2" text="수술실" taborder="undefined"/>
- <Cell col="4" colspan="2" text="내과중환자실" taborder="undefined"/>
- <Cell col="6" colspan="2" text="외과중환자실" taborder="undefined"/>
- <Cell col="8" colspan="2" text="외과입원실" taborder="undefined"/>
- <Cell col="10" colspan="2" text="신생아중환자실" taborder="undefined"/>
- <Cell col="12" colspan="2" text="신경과중환자실" taborder="undefined"/>
- <Cell col="14" colspan="2" text="신경과입원실" taborder="undefined"/>
- <Cell col="16" colspan="2" text="신경외과중환자실" taborder="undefined"/>
- <Cell col="18" colspan="2" text="약물중환자실" taborder="undefined"/>
- <Cell col="20" colspan="2" text="화상중환자실" taborder="undefined"/>
- <Cell col="22" colspan="2" text="외상중환자실" taborder="undefined"/>
- <Cell col="24" colspan="2" text="흉부중환자실" taborder="undefined"/>
- <Cell col="26" colspan="2" text="일반중환자실" taborder="undefined"/>
- <Cell col="28" colspan="2" text="일반병실" taborder="undefined"/>
- <Cell col="30" colspan="2" text="인큐베이터" taborder="undefined"/>
- <Cell col="32" text="전체재원환자수 (응급, 수술실제외)"/>
- <Cell col="33" text="전체병상수 (응급,수술실제외)"/>
- <Cell col="34" text="응급당직"/>
- </Band>
- <Band id="body">
- <Cell style="align:center middle;" text="bind:sum_0001"/>
- <Cell col="1" style="align:center middle;" text="bind:bed_0001"/>
- <Cell col="2" style="align:center middle;" text="bind:sum_0004"/>
- <Cell col="3" style="align:center middle;" text="bind:bed_0004"/>
- <Cell col="4" style="align:center middle;" text="bind:sum_0005"/>
- <Cell col="5" style="align:center middle;" text="bind:bed_0005"/>
- <Cell col="6" style="align:center middle;" text="bind:sum_0006"/>
- <Cell col="7" style="align:center middle;" text="bind:bed_0006"/>
- <Cell col="8" style="align:center middle;" text="bind:sum_0007"/>
- <Cell col="9" style="align:center middle;" text="bind:bed_0007"/>
- <Cell col="10" style="align:center middle;" text="bind:sum_0008"/>
- <Cell col="11" style="align:center middle;" text="bind:bed_0008"/>
- <Cell col="12" style="align:center middle;" text="bind:sum_0009"/>
- <Cell col="13" style="align:center middle;" text="bind:bed_0009"/>
- <Cell col="14" style="align:center middle;" text="bind:sum_0010"/>
- <Cell col="15" style="align:center middle;" text="bind:bed_0010"/>
- <Cell col="16" style="align:center middle;" text="bind:sum_0011"/>
- <Cell col="17" style="align:center middle;" text="bind:bed_0011"/>
- <Cell col="18" style="align:center middle;" text="bind:sum_0012"/>
- <Cell col="19" style="align:center middle;" text="bind:bed_0012"/>
- <Cell col="20" style="align:center middle;" text="bind:sum_0013"/>
- <Cell col="21" style="align:center middle;" text="bind:bed_0013"/>
- <Cell col="22" style="align:center middle;" text="bind:sum_0014"/>
- <Cell col="23" style="align:center middle;" text="bind:bed_0014"/>
- <Cell col="24" style="align:center middle;" text="bind:sum_0022"/>
- <Cell col="25" style="align:center middle;" text="bind:bed_0022"/>
- <Cell col="26" text="bind:sum_0023"/>
- <Cell col="27" text="bind:bed_0023"/>
- <Cell col="28" style="align:center middle;" text="bind:sum_0024"/>
- <Cell col="29" style="align:center middle;" text="bind:bed_0024"/>
- <Cell col="30" style="align:center middle;" text="bind:sum_0020"/>
- <Cell col="31" style="align:center middle;" text="bind:bed_0020"/>
- <Cell col="32" style="align:center middle;" text="bind:bed_incnt"/>
- <Cell col="33" style="align:center middle;" text="bind:bed_allcnt"/>
- <Cell col="34" style="align:left middle;" text="bind:bed_0002"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption6" text="재원병상현황" class="tit_1" position="absolute 0 0 160 25"/>
- <Div id="group2" taborder="1" class="div_SA" position="absolute 0 25 1193 60">
- <Layouts>
- <Layout width="1193" height="35">
- <Static id="caption2" text="병실구분 :" class="search_name" position="absolute 16 9 102 26"/>
- <Button id="button1" taborder="1" text="조회" class="btn1" position="absolute 1123 7 1179 29" onclick="group2_button1_onclick"/>
- <Shape id="line13" linetype="vertical" position="absolute 1105 7 1111 29"/>
- <Combo id="cm_gubun" taborder="2" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_essential" position="absolute 105 8 305 27" onitemchanged="group2_cm_gubun_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">0000</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">0001</Col>
- <Col id="datacolumn">응급실</Col>
- </Row>
- <Row>
- <Col id="codecolumn">0004</Col>
- <Col id="datacolumn">수술실</Col>
- </Row>
- <Row>
- <Col id="codecolumn">0005</Col>
- <Col id="datacolumn">내과중환자실</Col>
- </Row>
- <Row>
- <Col id="codecolumn">0006</Col>
- <Col id="datacolumn">외과중환자실</Col>
- </Row>
- <Row>
- <Col id="codecolumn">0008</Col>
- <Col id="datacolumn">신생아중환자실</Col>
- </Row>
- <Row>
- <Col id="codecolumn">0009</Col>
- <Col id="datacolumn">신경과중환자실</Col>
- </Row>
- <Row>
- <Col id="codecolumn">0011</Col>
- <Col id="datacolumn">신경외과중환자실</Col>
- </Row>
- <Row>
- <Col id="codecolumn">0022</Col>
- <Col id="datacolumn">흉부중환자실</Col>
- </Row>
- <Row>
- <Col id="codecolumn">0023</Col>
- <Col id="datacolumn">일반중환자실</Col>
- </Row>
- <Row>
- <Col id="codecolumn">0024</Col>
- <Col id="datacolumn">일반병실</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption20" text="병실정보" class="tit_2" position="absolute 5 177 105 193"/>
- <Shape id="line8" class="line_1" position="absolute 0 196 720 202" style="strokepen:3 solid #33bbbbff;"/>
- <Grid id="grd_list" class="datagrid2" taborder="2" binddataset="ds_main_gridlist_roominfolist" useinputpanel="false" position="absolute 0 200 720 750" summarytype="top" oncellclick="grd_list_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="105"/>
- <Column size="70"/>
- <Column size="80"/>
- <Column size="90"/>
- <Column size="130"/>
- <Column size="80"/>
- <Column size="40"/>
- <Column size="46"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- <Row size="24" band="summ"/>
- </Rows>
- <Band id="head">
- <Cell text="병동"/>
- <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="wardcd1"/>
- </Band>
- <Band id="body">
- <Cell celltype="body" displaytype="normal" style="align:center middle;background:#b6e8e3ff;background2:#b6e8e3ff;" text="bind:wardcd" wordwrap="char" suppress="1" suppressalign="middle,over" enable="false"/>
- <Cell col="1" displaytype="normal" style="align:center middle;" text="bind:roomcd" enable="false"/>
- <Cell col="2" displaytype="normal" style="align:center middle;" text="bind:roomtelno" enable="false"/>
- <Cell col="3" displaytype="combo" text="bind:roomtypecd" combodataset="ds_init_P0026list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="4" displaytype="combo" text="bind:roomgrdecd" wordwrap="char" combodataset="ds_hidden_init_roomgrdecd" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="5" displaytype="normal" style="align:center middle;" text="bind:bedcnt" enable="false"/>
- <Cell col="6" displaytype="normal" style="align:center middle;" text="bind:inpatcnt" enable="false"/>
- <Cell col="7" displaytype="normal" style="align:center middle;" text="bind:remaindercnt" enable="false"/>
- <Cell col="8" text="bind:wardcd1"/>
- </Band>
- <Band id="summary">
- <Cell celltype="head" style="background:#fcd2c1ff;color:black;font:Dotum,9,bold;" text="합계"/>
- <Cell col="1" style="background:#fcd2c1ff;color:black;font:Dotum,9,bold;"/>
- <Cell col="2" style="background:#fcd2c1ff;color:black;font:Dotum,9,bold;"/>
- <Cell col="3" style="background:#fcd2c1ff;color:black;font:Dotum,9,bold;"/>
- <Cell col="4" style="background:#fcd2c1ff;color:black;font:Dotum,9,bold;"/>
- <Cell col="5" displaytype="number" style="align:center middle;background:#fcd2c1ff;color:black;font:Dotum,9,bold;" text="expr:getSum('bedcnt')"/>
- <Cell col="6" displaytype="number" style="align:center middle;background:#fcd2c1ff;color:black;font:Dotum,9,bold;" text="expr:getSum('inpatcnt')"/>
- <Cell col="7" displaytype="number" style="align:center middle;background:#fcd2c1ff;color:black;font:Dotum,9,bold;" text="expr:getSum('remaindercnt')"/>
- <Cell col="8"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line1" class="line_1" position="absolute 724 196 1194 202" style="strokepen:3 solid #33bbbbff;"/>
- <Static id="caption5" text="재원환자내역" class="tit_2" position="absolute 729 177 829 193"/>
- <Grid id="datagrid1" class="datagrid2" taborder="3" binddataset="ds_main_gridpatlist" useinputpanel="false" position="absolute 724 200 1194 750">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="80"/>
- <Column size="60"/>
- <Column size="77"/>
- <Column size="39"/>
- <Column size="38"/>
- <Column size="100"/>
- <Column size="91"/>
- <Column size="83"/>
- <Column size="100"/>
- <Column size="111"/>
- <Column size="111"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="환자번호"/>
- <Cell col="2" text="성명"/>
- <Cell col="3" text="입원일자"/>
- <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="주민번호"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" displaytype="normal" edittype="none" text="bind:pid" enable="false"/>
- <Cell col="2" displaytype="normal" edittype="none" text="bind:hngnm" wordwrap="char" enable="false"/>
- <Cell col="3" displaytype="date" style="align:center middle;" text="bind:indd" mask="yyyy-MM-dd" calendardisplaynulltype="none" enable="false"/>
- <Cell col="4" style="align:center middle;" text="bind:sex" enable="false"/>
- <Cell col="5" style="align:center middle;" text="bind:age" enable="false"/>
- <Cell col="6" displaytype="combo" style="align:center middle;" text="bind:orddeptcd" wordwrap="char" combodataset="ds_hidden_init_orddeptcd" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="7" displaytype="combo" style="align:center middle;" text="bind:medispclid" wordwrap="char" combodataset="ds_hidden_init_orddrid" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="8" displaytype="combo" style="align:center middle;" text="bind:insukind" wordwrap="char" combodataset="ds_hidden_init_insukind" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="9" displaytype="combo" style="align:center middle;" text="bind:suppkind" combodataset="ds_hidden_init_suppkind" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="10" displaytype="expr:(dschdclrdt == '-') ? 'normal' : 'date'" style="align:left middle;" text="bind:dschdclrdt" mask="expr:(dschdclrdt == '-') ? '' : 'yyyy-MM-dd hh:mm'" calendardisplaynulltype="none"/>
- <Cell col="11" displaytype="expr:(dschnotidt == '-') ? 'normal' : 'date'" style="align:left middle;" text="bind:dschnotidt" mask="expr:(dschnotidt == '-') ? '' : 'yyyy-MM-dd hh:mm'" calendardisplaynulltype="none"/>
- <Cell col="12" style="align:center middle;" text="bind:rrgstno" enable="false"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line2" class="line_1" position="absolute 0 83 1193 89" style="strokepen:3 solid #33bbbbff;"/>
- <Static id="caption1" text="응급전송정보" class="tit_2" position="absolute 5 64 105 80"/>
- <Button id="button3" taborder="4" text="엑셀" class="btn2" position="absolute 678 175 720 194" onclick="button3_onclick"/>
- <Button id="button7" taborder="5" text="엑셀저장" class="btn2" position="absolute 1127 175 1191 194" onclick="button7_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_P0025list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_P0026list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_P0338list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_P0313list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_P0325list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_pam_P0041list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_session" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="roomflag" type="STRING" size="256"/>
- <Column id="sess_posinstcd" type="STRING" size="256"/>
- <Column id="roomcd" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="eryn" type="STRING" size="256"/>
- <Column id="wardcd1" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="roomflag">0000</Col>
- <Col id="sess_posinstcd"/>
- <Col id="roomcd"/>
- <Col id="ioflag"/>
- <Col id="eryn"/>
- <Col id="wardcd1"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_init_disccd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_init_insukind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_init_suppkind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_init_orddeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_init_orddrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_init_wardcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_init_roomcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_init_roomgrdecd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_init_flag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_gridpatlist" 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="hngnm" type="STRING" size="256" sumtext="성명"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
- <Column id="sex" type="STRING" size="256" sumtext="성별"/>
- <Column id="age" type="STRING" size="256" sumtext="나이"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
- <Column id="medispclid" type="STRING" size="256" sumtext="진료의"/>
- <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="suppkind" type="STRING" size="256" sumtext="보조유형"/>
- <Column id="dschdclrdt" type="STRING" size="256" sumtext="퇴원예고일시"/>
- <Column id="dschnotidt" type="STRING" size="256" sumtext="퇴원통보일시"/>
- <Column id="rrgstno" type="STRING" size="256" sumtext="주민번호"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_gridlist_roominfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="wardcd" type="STRING" size="256" sumtext="병동코드"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="병실코드"/>
- <Column id="roomtelno" type="STRING" size="256" sumtext="병실전화"/>
- <Column id="roomtypecd" type="STRING" size="256" sumtext="형태"/>
- <Column id="roomgrdecd" type="STRING" size="256" sumtext="등급"/>
- <Column id="bedcnt" type="STRING" size="256" sumtext="병상수"/>
- <Column id="inpatcnt" type="STRING" size="256" sumtext="재원병상수"/>
- <Column id="remaindercnt" type="STRING" size="256" sumtext="잔여병상수"/>
- <Column id="wardcd1" type="STRING" size="256" sumtext="병동코드1"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_gridlist_trsinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_sort" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="nm" type="STRING" size="256"/>
- <Column id="cd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.cm_gubun" propid="value" datasetid="ds_send" columnid="roomflag"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-10-27
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-10-27 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include 'com_commonxp::comm_main.xjs';
- include 'pam_pamcomnxp::PAM001.xjs';
- include 'pam_opatmngtxp::PMOCOM.xjs';
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Local methods
- //---------------------------------------------------------------------------------------
- /**
- * [fRoomChk description]
- * @return {[type]} [description]
- */
- function fRoomChk() {
- if (ds_send.getColumn(0, 'roomflag') == "0001") {
- ds_send.setColumn(0, "eryn", "Y");
- }
- else {
- // 2009.09.10 - zzui - 병실정보 응급의료센터 제외 - 시작
- var erYN = ds_init_pam_P0041list.getColumn(ds_init_pam_P0041list.findRow('cdid', 'G01'), "cdnm");
- ds_send.setColumn(0, "eryn", erYN);
- // 2009.09.10 - zzui - 병실정보 응급의료센터 제외 - 끝
- }
- dsf_createDsRow('ds_TRPMI03701', [
- { col: 'roomflag', type: 'string', size: 256, val: '' },
- { col: 'eryn', type: 'string', size: 256, val: '' }
- ], false);
- ds_TRPMI03701.copyRow(0, ds_send, 0);
- ds_main_gridlist_roominfolist.clearData();
- ds_main_gridlist_trsinfo.clearData();
- var oParam = {};
- oParam.id = "TRPMI03701";
- oParam.service = "ipatmngtapp.ErRgst";
- oParam.method = "reqGetInRoomSpec";
- oParam.inds = "req=ds_TRPMI03701";
- oParam.outds = "ds_main_gridlist_roominfolist=roominfolist ds_main_gridlist_trsinfo=trsinfo";
- oParam.async = false;
- tranf_submit(oParam);
- ds_main_gridlist_trsinfo.addColumn('sum_0014', 'string');
- ds_main_gridlist_trsinfo.setColumn(0, 'sum_0014', ds_main_gridlist_trsinfo.addColumn('bed_0014', 'string'));
- }
- /**
- * submit 후 호출 될 공통 콜백
- * @param {[type]} sSvcId [description]
- * @param {[type]} nErrorCode [description]
- * @param {[type]} sErrorMsg [description]
- * @return {Function} [description]
- */
- function callback(sSvcId, nErrorCode, sErrorMsg){
- arErrorCode.push(sSvcId, nErrorCode);
- }
- //=======================================================================================
- // Events
- //---------------------------------------------------------------------------------------
- /**
- * onload 이벤트 발생 시 호출
- * @param {[type]} obj:Form [description]
- * @param {[type]} e:LoadEventInfo [description]
- */
- function SMPMI03700_onload(obj: Form, e: LoadEventInfo) {
- frmf_initForm(obj);
-
- grdf_setGridSort(datagrid1);
- appf_getCodeList([
- { dsNm: 'ds_init_P0025list', cdGrpId: 'P0025' },
- { dsNm: 'ds_init_P0026list', cdGrpId: 'P0026' },
- { dsNm: 'ds_init_P0338list', cdGrpId: 'P0338' },
- { dsNm: 'ds_init_P0313list', cdGrpId: 'P0313' },
- { dsNm: 'ds_init_P0325list', cdGrpId: 'P0325' }
- ]);
- // 2009.09.10 - zzui : 병실정보 응급의료센터 제외
- pamfGetCodeList([{ dsNm: 'ds_init_pam_P0041list', cdGrpId: 'P0041' }]);
- //세션정보 추출하기
- fGetUserInfosSampling();
- ds_send.setColumn(0, "sess_posinstcd", ds_hidden_session.getColumn(0, "sess_posinstcd"));
- ds_send.setColumn(0, "ioflag", "I");
- dsf_createDsRow('ds_TRPMI00106', [
- { col: 'sess_posinstcd', type: 'string', size: 256, val: '' },
- { col: 'ioflag', type: 'string', size: 256, val: '' },
- { col: 'dridsorttype', type: 'string', size: 256, val: '' }
- ], false);
- ds_TRPMI00106.copyRow(0, ds_send, 0);
- var oParam = {};
- oParam.id = "TRPMI00106";
- oParam.service = "pamcomnapp.PamComn";
- oParam.method = "reqGetComCD";
- oParam.inds = "req=ds_TRPMI00106";
- oParam.outds = "ds_hidden_init_disccd=disccd ds_hidden_init_insukind=insukind ds_hidden_init_suppkind=suppkind "
- + "ds_hidden_init_orddeptcd=orddeptcd ds_hidden_init_orddrid=orddrid ds_hidden_init_wardcd=wardcd "
- + "ds_hidden_init_roomcd=roomcd ds_hidden_init_roomgrdecd=roomgrdecd ds_hidden_init_flag=flag";
- oParam.async = false;
- tranf_submit(oParam);
- fRoomChk();
- // 2009.09.01 - 전체병실조회
- ds_send.setColumn(0, "roomcd", "");
- // 2009.09.10 - zzui - 병실정보 응급의료센터 제외 - 시작
- var erYN = ds_init_pam_P0041list.getColumn(ds_init_pam_P0041list.findRow('cdid', 'G01'), "cdnm");
- ds_send.setColumn(0, "eryn", erYN);
- // 2009.09.10 - zzui - 병실정보 응급의료센터 제외 - 끝
- if (ds_send.getColumn(0, 'roomflag') == "0000") {
- ds_send.setColumn(0, "roomflag", "");
- }
- dsf_createDsRow('ds_TRPMI03702', [
- { col: 'roomcd', type: 'string', size: 256, val: '' },
- { col: 'eryn', type: 'string', size: 256, val: '' },
- { col: 'roomflag', type: 'string', size: 256, val: '' }
- ], false);
- ds_TRPMI03702.copyRow(0, ds_send, 0);
- ds_main_gridpatlist.clearData();
- oParam = {};
- oParam.id = "TRPMI03702";
- oParam.service = "ipatmngtapp.ErRgst";
- oParam.method = "reqGetInRoomPatSpec";
- oParam.inds = "req=ds_TRPMI03702";
- oParam.outds = "ds_main_gridpatlist=patlist";
- oParam.async = false;
- tranf_submit(oParam);
- if (utlf_transNullToEmpty(ds_send.getColumn(0, 'roomflag')) == "") {
- ds_send.setColumn(0, "roomflag", "0000");
- }
- }
- /**
- * 조회 버튼 클릭 이벤트
- * @param {[type]} obj: Button [description]
- * @param {[type]} e: ClickEventInfo [description]
- * @return {[type]} [description]
- */
- function group2_button1_onclick(obj: Button, e: ClickEventInfo) {
- ds_main_gridlist_roominfolist.clearData();
- ds_main_gridlist_trsinfo.clearData();
- fRoomChk();
- var sFlag = ds_send.getColumn(0, "roomflag");
- if (sFlag == "0000") {
- // 2009.09.01 - 전체병실조회
- ds_send.setColumn(0, "roomcd", "");
- // 2009.09.10 - zzui - 병실정보 응급의료센터 제외 - 시작
- var erYN = ds_init_pam_P0041list.getColumn(ds_init_pam_P0041list.findRow('cdid', 'G01'), "cdnm");
- ds_send.setColumn(0, "eryn", erYN);
- // 2009.09.10 - zzui - 병실정보 응급의료센터 제외 - 끝
- dsf_createDsRow('ds_TRPMI03702', [
- { col: 'roomcd', type: 'string', size: 256, val: '' },
- { col: 'eryn', type: 'string', size: 256, val: '' },
- { col: 'roomflag', type: 'string', size: 256, val: '' }
- ], false);
- ds_TRPMI03702.copyRow(0, ds_send, 0);
- ds_main_gridpatlist.clearData();
- var oParam = {};
- oParam.id = "TRPMI03702";
- oParam.service = "ipatmngtapp.ErRgst";
- oParam.method = "reqGetInRoomPatSpec";
- oParam.inds = "req=ds_TRPMI03702";
- oParam.outds = "ds_main_gridpatlist=patlist";
- oParam.async = false;
- tranf_submit(oParam);
- }
- }
- /**
- * 엑셀 버튼 클릭 이벤트
- * @param {[type]} obj: Button [description]
- * @param {[type]} e: ClickEventInfo [description]
- * @return {[type]} [description]
- */
- function button3_onclick(obj: Button, e: ClickEventInfo) {
- grdf_exportExcel(grd_list, "병실정보", "SheetName", false, "" , 'user' , true);
- }
- /**
- * 병실정보 그리드 셀 클릭 이벤트
- * @param {[type]} obj: Grid [description]
- * @param {[type]} e: GridClickEventInfo [description]
- * @return {[type]} [description]
- */
- function grd_list_oncellclick(obj: Grid, e: GridClickEventInfo) {
- var scurrentrow = grd_list.currentrow;
- if (ds_send.getColumn(0, "roomflag") == "0000") {
- ds_send.setColumn(0, "roomflag", "");
- }
- if (ds_send.getColumn(0, "roomflag") == "0001") {
- ds_send.setColumn(0, "eryn", "Y");
- }
- else {
- // 2009.09.10 - zzui - 병실정보 응급의료센터 제외 - 시작
- var erYN = ds_init_pam_P0041list.getColumn(ds_init_pam_P0041list.findRow('cdid', 'G01'), "cdnm");
- ds_send.setColumn(0, "eryn", erYN);
- // 2009.09.10 - zzui - 병실정보 응급의료센터 제외 - 끝
- }
- ds_send.setColumn(0, "roomcd", ds_main_gridlist_roominfolist.getColumn(scurrentrow, "roomcd"));
- dsf_createDsRow('ds_TRPMI03702', [
- { col: 'roomcd', type: 'string', size: 256, val: '' },
- { col: 'eryn', type: 'string', size: 256, val: '' },
- { col: 'roomflag', type: 'string', size: 256, val: '' }
- ], false);
- ds_TRPMI03702.copyRow(0, ds_send, 0);
- ds_main_gridpatlist.clearData();
- var oParam = {};
- oParam.id = "TRPMI03702";
- oParam.service = "ipatmngtapp.ErRgst";
- oParam.method = "reqGetInRoomPatSpec";
- oParam.inds = "req=ds_TRPMI03702";
- oParam.outds = "ds_main_gridpatlist=patlist";
- oParam.async = false;
- tranf_submit(oParam);
- if (utlf_transNullToEmpty(ds_send.getColumn(0, "roomflag")) == "") {
- ds_send.setColumn(0, "roomflag", "0000");
- }
- }
- /**
- * 엑셀저장 버튼 클릭 이벤트
- * @param {[type]} obj: Button [description]
- * @param {[type]} e: ClickEventInfo [description]
- * @return {[type]} [description]
- */
- function button7_onclick(obj: Button, e: ClickEventInfo) {
- // 그리드 제목을 선택하면 저장이 안된다.
- if (datagrid1.rowcount < 0) {
- return;
- }
- grdf_exportExcel(datagrid1, "재원환자내역", "재원병상현황-재원환자내역_", false, "" , 'user' , true);
- }
- /**
- * 병실구분 콤보 아이템 변경 후 이벤트
- * @param {[type]} obj: Combo [description]
- * @param {[type]} e: ItemChangeEventInfo [description]
- * @return {[type]} [description]
- */
- function group2_cm_gubun_onitemchanged(obj: Combo, e: ItemChangeEventInfo) {
- fRoomChk();
- var sFlag = ds_send.getColumn(0, "roomflag");
- if (sFlag == "0000") {
- // 2009.09.01 - 전체병실조회
- ds_send.setColumn(0, "roomcd", "");
- if (cm_gubun.value == "0000") {
- ds_send.setColumn(0, "roomflag", "");
- }
- dsf_createDsRow('ds_TRPMI03702', [
- { col: 'roomcd', type: 'string', size: 256, val: '' },
- { col: 'eryn', type: 'string', size: 256, val: '' },
- { col: 'roomflag', type: 'string', size: 256, val: '' }
- ], false);
- ds_TRPMI03702.copyRow(0, ds_send, 0);
- ds_main_gridpatlist.clearData();
- var oParam = {};
- oParam.id = "TRPMI03702";
- oParam.service = "ipatmngtapp.ErRgst";
- oParam.method = "reqGetInRoomPatSpec";
- oParam.inds = "req=ds_TRPMI03702";
- oParam.outds = "ds_main_gridpatlist=patlist";
- oParam.async = false;
- tranf_submit(oParam);
- }
- if (utlf_transNullToEmpty(ds_send.getColumn(0, "roomflag")) == "") {
- ds_send.setColumn(0, "roomflag", "0000");
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|