123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNE01300" position="absolute 0 0 1198 785" titletext="EMC Daily census" oninit="SMMNE01300_oninit" onload="SMMNE01300_onload" ontimer="SMMNE01300_ontimer">
- <Layouts>
- <Layout>
- <Div position="absolute 0 13 1195 782" align="align:center middle;" id="group3" scrollbars="autoboth">
- <Layouts>
- <Layout width="1195" height="769">
- <Div position="absolute 0 12 1194 47" align="align:center top;" id="grp_sea" class="div_SA" anchor="default">
- <Layouts>
- <Layout>
- <Static text="조회일자 :" position="absolute 16 9 92 26" id="caption2" class="search_name" anchor="default"/>
- <Button position="absolute 929 7 985 29" id="btn_search" class="btn1" text="조회" anchor="default" onclick="group3_grp_sea_btn_search_onclick"/>
- <Shape position="absolute 917 6 923 28" linetype="vertical" id="line13" class="line_4" anchor="default"/>
- <Calendar position="absolute 98 8 198 27" id="int_searchdd" class="input_search" anchor="default" onchanged="group3_grp_sea_int_searchdd_onchanged" autoselect="true"/>
- <Combo position="absolute 201 8 251 27" id="cmb_srcflag" class="combo_search" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" onitemchanged="group3_grp_sea_cmb_srcflag_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">D</Col>
- <Col id="datacolumn">D</Col>
- </Row>
- <Row>
- <Col id="codecolumn">E</Col>
- <Col id="datacolumn">E</Col>
- </Row>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">N</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Button position="absolute 1057 7 1113 29" id="btn_print" class="btn6" text="출력" anchor="default" onclick="group3_grp_sea_btn_print_onclick"/>
- <Button position="absolute 987 7 1055 29" id="btn_refresh" class="btn2" text="초기화" anchor="default" onclick="group3_grp_sea_btn_refresh_onclick"/>
- <Button position="absolute 845 7 913 29" id="btn_memo" class="btn4" visible="false" text="Memo" anchor="default" style="color:darkslategray;" onclick="group3_grp_sea_btn_memo_onclick"/>
- <Button position="absolute 1115 7 1171 29" id="btn_excelprint" class="btn7" text="엑셀" anchor="default" onclick="group3_grp_sea_btn_excelprint_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape position="absolute 687 71 1140 77" linetype="horizontal" id="line1" class="line_10" anchor="default"/>
- <Grid position="absolute 0 76 632 124" id="grd_ercensusinsucnt" binddataset="ds_erdayiycesussection_ercensusinsucnt" anchor="default" autofittype="col" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- </Columns>
- <Rows>
- <Row size="23" band="head"/>
- <Row size="23"/>
- </Rows>
- <Band id="head">
- <Cell text="건강보험"/>
- <Cell col="1" text="의료급여1"/>
- <Cell col="2" text="의료급여2"/>
- <Cell col="3" text="자보"/>
- <Cell col="4" text="산재"/>
- <Cell col="5" text="공상"/>
- <Cell col="6" text="일반"/>
- <Cell col="7" text="외국인"/>
- <Cell col="8" text="임상시험"/>
- </Band>
- <Band id="body">
- <Cell text="bind:insukind1"/>
- <Cell col="1" text="bind:insukind2"/>
- <Cell col="2" text="bind:insukind3"/>
- <Cell col="3" text="bind:insukind4"/>
- <Cell col="4" text="bind:insukind5"/>
- <Cell col="5" text="bind:insukind6"/>
- <Cell col="6" text="bind:insukind7"/>
- <Cell col="7" text="bind:insukind8"/>
- <Cell col="8" text="bind:insukind9"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 687 76 1140 170" id="grd_ercensuspatcnt" binddataset="ds_erdailycensuslist_ercensuspatcnt" anchor="default" autofittype="col" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="85"/>
- <Column size="85"/>
- </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="Keep"/>
- <Cell col="4" text="입원환자"/>
- <Cell col="5" text="입원대기"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="bind:title"/>
- <Cell col="1" text="bind:chospat"/>
- <Cell col="2" text="bind:outinpat"/>
- <Cell col="3" text="bind:keeppat"/>
- <Cell col="4" text="bind:inpat"/>
- <Cell col="5" text="bind:indelypat"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 0 200 1194 271" id="grd_dept" binddataset="ds_erdayiycesussection_ercensusdeptcnt" anchor="default" autofittype="col" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="70"/>
- <Column size="58"/>
- <Column size="58"/>
- <Column size="58"/>
- <Column size="58"/>
- <Column size="58"/>
- <Column size="58"/>
- <Column size="58"/>
- <Column size="58"/>
- <Column size="58"/>
- <Column size="58"/>
- <Column size="58"/>
- <Column size="58"/>
- <Column size="58"/>
- <Column size="58"/>
- <Column size="58"/>
- <Column size="58"/>
- <Column size="58"/>
- <Column size="58"/>
- <Column size="78"/>
- </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="안과"/>
- <Cell col="12" text="이비인후"/>
- <Cell col="13" text="피부과"/>
- <Cell col="14" text="비뇨기과"/>
- <Cell col="15" text="치과"/>
- <Cell col="16" text="기타"/>
- <Cell col="17" text="응급과"/>
- <Cell col="18" text="재활의학"/>
- <Cell col="19" text="계"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="bind:listflag"/>
- <Cell col="1" text="bind:deptmd"/>
- <Cell col="2" text="bind:deptnu"/>
- <Cell col="3" text="bind:deptnp"/>
- <Cell col="4" text="bind:deptgs"/>
- <Cell col="5" text="bind:deptos"/>
- <Cell col="6" text="bind:deptns"/>
- <Cell col="7" text="bind:deptcs"/>
- <Cell col="8" text="bind:deptps"/>
- <Cell col="9" text="bind:deptobgy"/>
- <Cell col="10" text="bind:deptpd"/>
- <Cell col="11" text="bind:deptey"/>
- <Cell col="12" text="bind:deptet"/>
- <Cell col="13" text="bind:deptdr"/>
- <Cell col="14" text="bind:deptyr"/>
- <Cell col="15" text="bind:deptdt"/>
- <Cell col="16" text="bind:deptetc"/>
- <Cell col="17" text="bind:depted"/>
- <Cell col="18" text="bind:deptrm"/>
- <Cell col="19" text="bind:smrtotal"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 0 295 1194 301" linetype="horizontal" id="line3" class="line_10" anchor="default"/>
- <Grid position="absolute 0 300 1194 745" id="grd_patlist" class="datagrid2" binddataset="ds_erdayiycesussection_ercensuspatlinfo" anchor="default" autofittype="col" cellsizingtype="col" extendsizetype="row" autosizingtype="row">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="36"/>
- <Column size="70"/>
- <Column size="65"/>
- <Column size="69"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="105"/>
- <Column size="105"/>
- <Column size="55"/>
- <Column size="281"/>
- <Column size="202"/>
- <Column size="96"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="26" band="head"/>
- <Row size="22"/>
- </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="Pos"/>
- <Cell col="9" text="주증상"/>
- <Cell col="10" text="Remark"/>
- <Cell col="11" text="Dept Dr."/>
- <Cell col="12" text="내원시간구분"/>
- <Cell col="13" text="MEMO"/>
- </Band>
- <Band id="body">
- <Cell text="bind:crpoptp"/>
- <Cell col="1" text="bind:pid"/>
- <Cell col="2" text="bind:patnm"/>
- <Cell col="3" text="bind:intype"/>
- <Cell col="4" text="bind:sex"/>
- <Cell col="5" text="bind:age"/>
- <Cell col="6" edittype="none" text="bind:chosddtm" mask="expr:utlf_isNull(chosddtm) == true ? '' : '####-##-## ##:##'"/>
- <Cell col="7" edittype="none" text="bind:outrmddtm" mask="expr:utlf_isNull(outrmddtm) == true ? '' : '####-##-## ##:##'"/>
- <Cell col="8" text="bind:pos"/>
- <Cell col="9" style="align:left;" text="bind:smntdesc"/>
- <Cell col="10" style="align:left top;padding:5 3 3 3;" text="bind:skilfact" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="11" text="bind:deptuser"/>
- <Cell col="12" text="bind:chostimetype"/>
- <Cell col="13" text="bind:memo"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 0 71 632 77" linetype="horizontal" id="line4" class="line_10" anchor="default"/>
- <Static text="보험구분" position="absolute 1 55 87 71" align="align:center middle;" id="caption1" class="tit_2" anchor="default"/>
- <Static text="환자수" position="absolute 688 55 769 71" align="align:center middle;" id="caption3" class="tit_2" anchor="default"/>
- <Static text="진료과구분" position="absolute 1 179 99 195" align="align:center middle;" id="caption4" class="tit_2" anchor="default"/>
- <Shape position="absolute 0 195 1194 201" linetype="horizontal" id="line2" class="line_10" anchor="default"/>
- <Static text="환자정보" position="absolute 1 279 95 295" align="align:center middle;" id="caption5" class="tit_2" anchor="default"/>
- <Static text="[표]" position="absolute 1165 747 1194 767" align="align:right middle;" id="caption7" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Static text="EMC Daily census" position="absolute 0 0 155 25" id="caption6" class="tit_1"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_erdayiycesussection_ercensusinsucnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="insukind1" type="STRING"/>
- <Column id="insukind2" type="STRING"/>
- <Column id="insukind3" type="STRING"/>
- <Column id="insukind4" type="STRING"/>
- <Column id="insukind5" type="STRING"/>
- <Column id="insukind6" type="STRING"/>
- <Column id="insukind7" type="STRING"/>
- <Column id="insukind8" type="STRING"/>
- <Column id="insukind9" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_erdailycensuslist_ercensuspatcnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="title" type="STRING"/>
- <Column id="chospat" type="STRING"/>
- <Column id="outinpat" type="STRING"/>
- <Column id="keeppat" type="STRING"/>
- <Column id="inpat" type="STRING"/>
- <Column id="indelypat" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_erdayiycesussection_ercensusdeptcnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="listflag" type="STRING"/>
- <Column id="deptmd" type="STRING"/>
- <Column id="deptnu" type="STRING"/>
- <Column id="deptnp" type="STRING"/>
- <Column id="deptgs" type="STRING"/>
- <Column id="deptos" type="STRING"/>
- <Column id="deptns" type="STRING"/>
- <Column id="deptcs" type="STRING"/>
- <Column id="deptps" type="STRING"/>
- <Column id="deptobgy" type="STRING"/>
- <Column id="deptpd" type="STRING"/>
- <Column id="deptey" type="STRING"/>
- <Column id="deptet" type="STRING"/>
- <Column id="deptdr" type="STRING"/>
- <Column id="deptyr" type="STRING"/>
- <Column id="deptdt" type="STRING"/>
- <Column id="deptetc" type="STRING"/>
- <Column id="depted" type="STRING"/>
- <Column id="deptrm" type="STRING"/>
- <Column id="smrtotal" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_erdayiycesussection_ercensuspatlinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="crpoptp" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="patnm" type="STRING"/>
- <Column id="intype" type="STRING"/>
- <Column id="sex" type="STRING"/>
- <Column id="age" type="STRING"/>
- <Column id="chosddtm" type="STRING"/>
- <Column id="outrmddtm" type="STRING"/>
- <Column id="pos" type="STRING"/>
- <Column id="smntdesc" type="STRING"/>
- <Column id="skilfact" type="STRING"/>
- <Column id="deptuser" type="STRING"/>
- <Column id="chostimetype" type="STRING"/>
- <Column id="memo" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="todate" type="STRING" size="256"/>
- <Column id="chngdateyn" type="STRING" size="256"/>
- <Column id="fromdate" type="STRING" size="256"/>
- <Column id="srcflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdgrupid" type="STRING" size="256" sumtext="코드그룹ID"/>
- <Column id="cdid" type="STRING" size="256" sumtext="코드ID"/>
- <Column id="cdnm" type="STRING" size="256" sumtext="코드명"/>
- <Column id="grupdetldesc" type="STRING" size="256" sumtext="코드그룹상세설명"/>
- <Column id="supcdid" type="STRING" size="256" sumtext="상위코드ID"/>
- <Column id="sortseq" type="STRING" size="256" sumtext="상위코드ID"/>
- <Column id="valifromdd" type="STRING" size="256" sumtext="시작일자"/>
- <Column id="valitodd" type="STRING" size="256" sumtext="시작일자"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cond" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group3.grp_sea.int_searchdd" propid="value" datasetid="ds_cond" columnid="fromdate"/>
- <BindItem id="item1" compid="group3.grp_sea.cmb_srcflag" propid="value" datasetid="ds_cond" columnid="srcflag"/>
- </Bind>
- <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
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "emr_ercarexp::SMMNE01300.xjs";
- include "emr_carecomxp::CareCom.xjs";
- function SMMNE01300_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- grdf_initGrid(group3.grd_ercensusinsucnt);
- grdf_initGrid(group3.grd_dept);
- grdf_initGrid(group3.grd_ercensuspatcnt);
- grdf_initGrid(group3.grd_patlist);
- }
- function SMMNE01300_onload(obj:Form, e:LoadEventInfo)
- {
- fInit();
- }
- function group3_grp_sea_int_searchdd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- var getDate = getDateAddc(group3.grp_sea.int_searchdd.value, +1);
-
- ds_cond.setColumn(0, "todate", getDate);
- ds_cond.setColumn(0, "chngdateyn", "Y");
- fSearch();
- }
- function group3_grp_sea_cmb_srcflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fSearch()
- }
- function group3_grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- fSearch();
- }
- function group3_grp_sea_btn_refresh_onclick(obj:Button, e:ClickEventInfo)
- {
- fInit();
- }
- function group3_grp_sea_btn_memo_onclick(obj:Button, e:ClickEventInfo)
- {
- fSearchPatMemo();
- }
- function group3_grp_sea_btn_excelprint_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveExcel();
- }
- function group3_grp_sea_btn_print_onclick(obj:Button, e:ClickEventInfo)
- {
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- var objDOM1 = rptf_createDOM(); // DOM 객체 설정
-
- rptf_setNodeListToDOM(objDOM, "/root/send/cond", ds_cond);
- sysf_trace(ds_cond.saveXML());
- rptf_setNodeListToDOM(objDOM, "/root/send/erdayiycesussection/ercensusinsucnt", ds_erdayiycesussection_ercensusinsucnt); // 데이터셋 3
- rptf_setNodeListToDOM(objDOM, "/root/send/erdayiycesussection/ercensusdeptcnt", ds_erdayiycesussection_ercensusdeptcnt); // 데이터셋 3
-
- rptf_setNodeListToDOM(objDOM1, "/root/send/erdailycensuslist/ercensuspatcnt", ds_erdailycensuslist_ercensuspatcnt);
- rptf_setNodeListToDOM(objDOM1, "/root/send/erdayiycesussection/ercensuspatlinfo", ds_erdayiycesussection_ercensuspatlinfo);
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- objParam.xml_data_XML2 = objDOM1.documentElement.source;
-
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
- rptf_exeReportPreview30(["RPMNE01300"],[objParam], option); //미리보기만 가능
- }
- function SMMNE01300_ontimer(obj:Form, e:TimerEventInfo)
- {
- if (e.timerid == 0) {
- this.killTimer(0);
- fSearch();
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|