123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SSMNW00400" position="absolute 0 0 1158 770" titletext="환자통계" onload="SSMNW00400_onload">
- <Layouts>
- <Layout>
- <Div id="Div00" taborder="3" position="absolute 0 26 1158 66" class="div_SA" anchor="left top right"/>
- <Static id="caption30" class="search_name" position="absolute 16 38 130 55" style="" text="기 간 :" anchor="left top"/>
- <Calendar id="input1" class="input_search" taborder="2" visible="true" mask="yyyy-mm-dd" position="absolute 252 38 342 57" style="align:center ;" anchor="left top" onkillfocus="input1_onkillfocus"/>
- <Calendar id="ipt_procdd" class="input_search" taborder="2" visible="true" mask="yyyy-mm-dd" position="absolute 149 38 239 57" style="align:center ;" anchor="left top" onkillfocus="ipt_procdd_onkillfocus"/>
- <Shape id="line13" class="line_4" linetype="vertical" position="absolute 1016 35 1019 57" style="" anchor="top right"/>
- <Button id="btn_select" class="btn1" position="absolute 1032 35 1088 57" text="조회" onclick="btn_select_onclick" anchor="top right"/>
- <Button id="btn_excel" class="btn7" position="absolute 1089 35 1145 57" text="엑셀" onclick="btn_excel_onclick" anchor="top right"/>
- <Grid id="dgrd_rpt" binddataset="ds_main_patstsinfo" position="absolute 0 101 1158 768" style="" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="108"/>
- <Column size="44"/>
- <Column size="44"/>
- <Column size="44"/>
- <Column size="40"/>
- <Column size="39"/>
- <Column size="45"/>
- <Column size="50"/>
- <Column size="94"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- </Columns>
- <Rows>
- <Row size="25" band="head"/>
- <Row size="25" band="head"/>
- <Row size="25"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" text="진료과" taborder="undefined"/>
- <Cell col="1" rowspan="2" text="재원" taborder="undefined"/>
- <Cell col="2" rowspan="2" text="입원" taborder="undefined"/>
- <Cell col="3" rowspan="2" text="퇴원" taborder="undefined"/>
- <Cell col="4" colspan="4" text="외래" taborder="undefined"/>
- <Cell col="8" rowspan="2" text="병동" taborder="undefined"/>
- <Cell col="9" rowspan="2" text="운영병 상수" taborder="undefined"/>
- <Cell col="10" rowspan="2" text="재원" taborder="undefined"/>
- <Cell col="11" rowspan="2" text="입원" taborder="undefined"/>
- <Cell col="12" rowspan="2" text="퇴원" taborder="undefined"/>
- <Cell col="13" rowspan="2" text="전입" taborder="undefined"/>
- <Cell col="14" rowspan="2" text="전출" taborder="undefined"/>
- <Cell col="15" rowspan="2" text="사망" taborder="undefined"/>
- <Cell col="16" rowspan="2" text="가동율" taborder="undefined"/>
- <Cell col="17" rowspan="2" text="평균재원일수" taborder="undefined"/>
- <Cell col="18" colspan="6" text="중증도(건)" taborder="undefined"/>
- <Cell col="24" text="진료과"/>
- <Cell col="25" text="재원"/>
- <Cell col="26" text="입원"/>
- <Cell col="27" text="퇴원"/>
- <Cell col="28" text="초진"/>
- <Cell col="29" text="재진"/>
- <Cell col="30" text="계"/>
- <Cell col="31" text="부도율"/>
- <Cell col="32" text="병동"/>
- <Cell col="33" text="운영병상수"/>
- <Cell col="34" text="재원"/>
- <Cell col="35" text="입원"/>
- <Cell col="36" text="퇴원"/>
- <Cell col="37" text="전입"/>
- <Cell col="38" text="전출"/>
- <Cell col="39" text="사망"/>
- <Cell col="40" text="가동율"/>
- <Cell col="41" text="평균재원일수"/>
- <Cell col="42" text="퇴원예고율"/>
- <Cell col="43" text="1군"/>
- <Cell col="44" text="2군"/>
- <Cell col="45" text="3군"/>
- <Cell col="46" text="4군"/>
- <Cell col="47" text="5군"/>
- <Cell col="48" text="6군"/>
- <Cell row="1" col="4" text="초진"/>
- <Cell row="1" col="5" text="재진"/>
- <Cell row="1" col="6" text="계"/>
- <Cell row="1" col="7" text="부도율"/>
- <Cell row="1" col="18" text="1군"/>
- <Cell row="1" col="19" text="2군"/>
- <Cell row="1" col="20" text="3군"/>
- <Cell row="1" col="21" text="4군"/>
- <Cell row="1" col="22" text="5군"/>
- <Cell row="1" col="23" text="6군"/>
- </Band>
- <Band id="body">
- <Cell style="align:left middle;" text="bind:depthngnm" suppress="1" suppressalign="middle,over"/>
- <Cell col="1" displaytype="number" text="bind:deptingcnt" suppress="2" suppressalign="middle,over"/>
- <Cell col="2" displaytype="number" text="bind:deptinptcnt" suppress="3" suppressalign="middle,over"/>
- <Cell col="3" displaytype="number" text="bind:deptdschcnt" suppress="4" suppressalign="middle,over"/>
- <Cell col="4" displaytype="number" text="bind:fstpatcnt" suppress="5" suppressalign="middle,over"/>
- <Cell col="5" displaytype="number" text="bind:secpatcnt" suppress="6" suppressalign="middle,over"/>
- <Cell col="6" displaytype="number" text="bind:outpatcnt" suppress="7" suppressalign="middle,over"/>
- <Cell col="7" displaytype="number" text="bind:absnpatrate" suppress="8" suppressalign="middle,over"/>
- <Cell col="8" style="align:left middle;" text="bind:wardnm"/>
- <Cell col="9" displaytype="number" text="bind:roomcnt"/>
- <Cell col="10" displaytype="number" text="bind:ingcnt"/>
- <Cell col="11" displaytype="number" text="bind:inptcnt"/>
- <Cell col="12" displaytype="number" text="bind:dschcnt"/>
- <Cell col="13" displaytype="number" text="bind:trnsinrmcnt"/>
- <Cell col="14" displaytype="number" text="bind:trnsoutrmcnt"/>
- <Cell col="15" displaytype="number" text="bind:dethcnt"/>
- <Cell col="16" displaytype="number" text="bind:warduserate"/>
- <Cell col="17" displaytype="number" text="bind:avgingday"/>
- <Cell col="18" displaytype="number" text="bind:sfdgree1"/>
- <Cell col="19" displaytype="number" text="bind:sfdgree2"/>
- <Cell col="20" displaytype="number" text="bind:sfdgree3"/>
- <Cell col="21" displaytype="number" text="bind:sfdgree4"/>
- <Cell col="22" displaytype="number" text="bind:sfdgree5"/>
- <Cell col="23" displaytype="number" text="bind:sfdgree6"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption26" class="tit_2" position="absolute 0 81 260 97" style="" text="환자통계 리스트"/>
- <Static id="caption1" position="absolute 240 38 255 58" style="" text="~" anchor="left top"/>
- <Static id="caption6" text="환자 통계" class="tit_1" position="absolute 0 0 160 26"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="hidden" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="init" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="init"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_patstsinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="patstslist" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="patstslist"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="fromdd"/>
- <Col id="todd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="send" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="send"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="input1" propid="value" datasetid="ds_main_cond" columnid="todd"/>
- <BindItem id="item1" compid="ipt_procdd" propid="value" datasetid="ds_main_cond" columnid="fromdd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-05-24
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-05-24 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- function SSMNW00400_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- grdf_initGrid(dgrd_rpt);
- //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
- //그리드 초기화
- ds_main_patstsinfo.clearData();
- //현재 일자 세팅
- ds_main_cond.setColumn( 0, "fromdd", utlf_getCurrentDate().toDate().getAddDate(-1,'D').getDateFormat());
- ds_main_cond.setColumn( 0, "todd", utlf_getCurrentDate().toDate().getAddDate(-1,'D').getDateFormat());
- btn_select.click();
- }
- function input1_onkillfocus(obj:Calendar, e:KillFocusEventInfo) {
- }
- function ipt_procdd_onkillfocus(obj:Calendar, e:KillFocusEventInfo) {
- }
- function btn_select_onclick(obj:Button, e:ClickEventInfo) {
- if ( utlf_isNull(ds_main_cond.getColumn(0, "fromdd")) || utlf_isNull(ds_main_cond.getColumn(0, "todd")) ){
- sysf_messageBox("기간","I003");//필수입력입니다
- return;
- }
- ds_send_reqdata.clearData();
-
- dsf_makeValue( ds_send_reqdata, "fromdd", "string", ds_main_cond.getColumn(0, "fromdd") );
- dsf_makeValue( ds_send_reqdata, "todd", "string", ds_main_cond.getColumn(0, "todd") );
- // submit("TRSNW00401");
- var oParam = {};
- oParam.id = "TRSNW00401";
- oParam.service = "stsenrapp.StsPatMngt";
- oParam.method = "reqGetPatStslist";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_patstsinfo=patstslist";
- oParam.async = false;
- //oParam.callback = "cf_TRSNW00401";
- tranf_submit(oParam);
- }
- function btn_excel_onclick(obj:Button, e:ClickEventInfo) {
- if (ds_main_patstsinfo.rowcount > 0) {
- grdf_exportExcel(dgrd_rpt, caption26.text , "see");
- }else{
- sysf_messageBox("엑셀저장할 내역이", "I004");
- }
-
- }
- ]]></Script>
- </Form>
- </FDL>
|