123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNB01210" position="absolute 0 0 1140 755" titletext="지표관리 모니터링" oninit="SMMNB01210_oninit" onload="SMMNB01210_onload" scrollbars="none" ontimer="SMMNB01210_ontimer">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 1137 749" id="group5" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Div position="absolute 0 24 1135 64" align="align:center top;" id="grp_sea" anchor="default" class="div_SA">
- <Layouts>
- <Layout>
- <Static text="등록일자 :" position="absolute 390 12 465 29" id="caption17" class="search_name" anchor="default"/>
- <Calendar position="absolute 465 10 553 29" id="ipt_fromrecdd" class="input_search" anchor="default" autoselect="true" autoskip="true"/>
- <Button position="absolute 1055 10 1111 32" id="button1" class="btn1" text="조회" anchor="default" onclick="group5_grp_sea_button1_onclick"/>
- <Shape position="absolute 1042 10 1048 30" linetype="vertical" id="line1" class="line_4" anchor="default"/>
- <Static text="부 서 :" position="absolute 5 12 60 29" id="ctn_deptcd" class="search_name" anchor="default"/>
- <Combo position="absolute 60 10 165 29" id="cmb_deptcd" class="combo_search" innerdataset="@ds_codelist_I12" datacolumn="cdnm" codecolumn="cdid" anchor="default" displayrowcount="40" type="search" onitemchanged="group5_grp_sea_cmb_deptcd_onitemchanged"/>
- <Static text="항 목 :" position="absolute 205 12 255 29" id="caption3" class="search_name" anchor="default"/>
- <Combo position="absolute 260 10 350 29" id="cmb_rptcd" class="combo_search" innerdataset="@ds_codelist_I04" datacolumn="cdnm" codecolumn="cdid" anchor="default" displayrowcount="40" type="search" onitemchanged="group5_grp_sea_cmb_rptcd_onitemchanged"/>
- <Calendar position="absolute 575 10 663 29" id="ipt_torecdd" class="input_search" anchor="default" autoselect="true" autoskip="true"/>
- <Static text="~" position="absolute 560 10 575 30" id="caption4" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Static text="지표관리 모니터링" position="absolute 0 0 142 25" id="caption6" class="tit_1" anchor="default"/>
- <Grid position="absolute 0 99 560 749" id="grd_mnidctrptlist" binddataset="ds_main_mnidctinfo_mnidctrptlist" anchor="default" cellsizingtype="both" autosizingtype="row" extendsizetype="row">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="90"/>
- <Column size="70"/>
- <Column size="35"/>
- <Column size="80"/>
- <Column size="30"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- </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="Duty"/>
- <Cell col="4" text="항목"/>
- <Cell col="5" text="No."/>
- <Cell col="6" text="등록번호"/>
- <Cell col="7" text="환자명"/>
- <Cell col="8" text="보고자"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" displaytype="combo" edittype="none" style="padding:2 2 2 2;" text="bind:deptcd" wordwrap="word" suppress="1" suppressalign="middle,over" combodataset="ds_codelist_I12" combocodecol="cdid" combodatacol="cdnm" autosizerow="limitmin" enable="false"/>
- <Cell col="2" displaytype="date" style="align:center middle;" text="bind:reportdd" suppress="2" suppressalign="middle,over" calendardisplaynulltype="none"/>
- <Cell col="3" style="align:center middle;" text="bind:duty" suppress="3" suppressalign="middle,over"/>
- <Cell col="4" displaytype="combo" edittype="none" style="padding:0 0 0 2;" text="bind:rptcd" suppress="4" suppressalign="middle,over" combodataset="ds_codelist_I04" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="5" style="align:center middle;" text="bind:num"/>
- <Cell col="6" style="align:center middle;" text="bind:pid"/>
- <Cell col="7" style="align:left;" text="bind:patnm"/>
- <Cell col="8" style="align:center middle;" text="bind:recnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 0 95 560 101" linetype="horizontal" id="line5" class="line_10" anchor="default"/>
- <Static text="보고 등록 환자 리스트" position="absolute 0 79 175 95" align="align:center middle;" id="caption14" class="tit_2" anchor="default"/>
- <Grid position="absolute 565 99 1134 749" id="grd_mnidctlist" binddataset="ds_main_mnidctinfo_mnidctlist" anchor="default" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="90"/>
- <Column size="70"/>
- <Column size="35"/>
- <Column size="80"/>
- <Column size="45"/>
- <Column size="150"/>
- <Column size="70"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="부서"/>
- <Cell col="1" text="작성일자"/>
- <Cell col="2" text="Duty"/>
- <Cell col="3" text="항목"/>
- <Cell col="4" text="건수"/>
- <Cell col="5" text="대상환자"/>
- <Cell col="6" text="작성자"/>
- </Band>
- <Band id="body">
- <Cell displaytype="combo" edittype="none" style="padding:0 0 0 2;" text="bind:deptcd" suppress="1" suppressalign="middle,over" combodataset="ds_codelist_I12" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="1" displaytype="date" style="align:center middle;" text="bind:recdd" suppress="2" suppressalign="middle,over" calendardisplaynulltype="none"/>
- <Cell col="2" style="align:center middle;" text="bind:duty" suppress="3" suppressalign="middle,over"/>
- <Cell col="3" displaytype="combo" edittype="none" style="padding:0 0 0 2;" text="bind:rptcd" suppress="4" suppressalign="middle,over" combodataset="ds_codelist_I04" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="4" style="align:center middle;" text="bind:rptcnt"/>
- <Cell col="5" style="align:left middle;" text="bind:rptpatnm"/>
- <Cell col="6" style="align:center middle;" text="bind:recnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 565 95 1133 101" linetype="horizontal" id="line4" class="line_10" anchor="default"/>
- <Static text="보고 미등록 환자 리스트" position="absolute 565 79 738 95" align="align:center middle;" id="caption1" class="tit_2" anchor="default"/>
- <Button position="absolute 518 74 560 93" id="button2" class="btn2" text="엑셀" anchor="default" onclick="group5_button2_onclick"/>
- <Button position="absolute 1090 74 1132 93" id="button3" class="btn2" text="엑셀" anchor="default" onclick="group5_button3_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static position="absolute 220 765 1420 795" id="caption2"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="fromrecdd" type="STRING" size="256"/>
- <Column id="rptcd" type="STRING" size="256"/>
- <Column id="torecdd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="deptcd"/>
- <Col id="fromrecdd"/>
- <Col id="rptcd"/>
- <Col id="torecdd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_mnidctinfo_mnidctrptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_mnidctinfo_mnidctlist" 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"/>
- <Dataset id="ds_codelist_I12" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_codelist_I04" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group5.grp_sea.ipt_fromrecdd" propid="value" datasetid="ds_main_cond" columnid="fromrecdd"/>
- <BindItem id="item1" compid="group5.grp_sea.cmb_deptcd" propid="value" datasetid="ds_main_cond" columnid="deptcd"/>
- <BindItem id="item2" compid="group5.grp_sea.cmb_rptcd" propid="value" datasetid="ds_main_cond" columnid="rptcd"/>
- <BindItem id="item3" compid="group5.grp_sea.ipt_torecdd" propid="value" datasetid="ds_main_cond" columnid="torecdd"/>
- </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_carecomxp::CareCom.xjs";
- function finit(){
-
- var dt = utlf_getCurrentDate();
- ds_codelist.clearData();
- fGetNursHardCdInfo("'I04','I12'", dt);
-
- ds_codelist.filter("cdgrupid == 'I12'");
- ds_codelist_I12.copyData(ds_codelist,true);
- ds_codelist.filter("");
-
- ds_codelist.filter("cdgrupid == 'I04'");
- ds_codelist_I04.copyData(ds_codelist,true);
- ds_codelist.filter("");
-
- ds_main_cond.setColumn(0, "fromrecdd" , dt);
- ds_main_cond.setColumn(0, "torecdd" , dt);
- ds_main_cond.setColumn(0, "rptcd" , "-");
- ds_main_cond.setColumn(0, "deptcd" , "-");
- //fSearch();
- this.setTimer(0, 100);
- }
- // 조회버튼 클릭시
- function fSearch(){
- var dept = "";
- var rptcd = "";
- if ( utlf_isNull(ds_main_cond.getColumn(0, "fromrecdd")) ){
- sysf_messageBox("작성일자","I003");//필수입력입니다
- return;
- }
- if ( utlf_isNull(ds_main_cond.getColumn(0, "torecdd")) ){
- sysf_messageBox("작성일자","I003");//필수입력입니다
- return;
- }
- var sdate = ds_main_cond.getColumn(0, "fromrecdd");
- var edate = ds_main_cond.getColumn(0, "torecdd");
- var days = utlf_getDateInterval(sdate, edate, "dd");
- if (days > 30) {
- sysf_messageBox("조회기간이 30일을 초과하였습니다.", "I999");
- return;
- }
- if(ds_main_cond.getColumn(0, "deptcd") == "-"){
- dept = "";
- }else{
- dept = ds_main_cond.getColumn(0, "deptcd");
- }
- if(ds_main_cond.getColumn(0, "rptcd") == "-"){
- rptcd = "";
- }else{
- rptcd = ds_main_cond.getColumn(0, "rptcd");
- }
-
- dsf_makeValue(ds_send_reqdata,"deptcd" ,"string" ,dept);
- dsf_makeValue(ds_send_reqdata,"rptcd" ,"string" ,rptcd);
- dsf_makeValue(ds_send_reqdata,"fromrecdd" ,"string" ,ds_main_cond.getColumn(0, "fromrecdd"));
- dsf_makeValue(ds_send_reqdata,"torecdd" ,"string" ,ds_main_cond.getColumn(0, "torecdd"));
- var oParam = {};
- oParam.id = "TRMNB01210";
- oParam.service = "wardcareapp.WardBizMngt";
- oParam.method = "reqGetMnIdctList";
- oParam.inds = "reqdata=ds_send_reqdata";
- oParam.outds = "ds_main_mnidctinfo_mnidctrptlist=mnidctrptlist ds_main_mnidctinfo_mnidctlist=mnidctlist";
- oParam.async = false;
- tranf_submit(oParam);
-
- ds_main_mnidctinfo_mnidctrptlist.rowposition = -1;
- ds_main_mnidctinfo_mnidctlist.rowposition = -1;
- }
- function SMMNB01210_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMMNB01210_onload(obj:Form, e:LoadEventInfo)
- {
- finit();
- }
- function group5_grp_sea_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- fSearch();
- }
- function group5_grp_sea_cmb_deptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fSearch();
- }
- function group5_grp_sea_cmb_rptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fSearch();
- }
- function group5_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(group5.grd_mnidctrptlist, "지표관리_보고 등록 환자", "sheet1" , true, "" , "" , true);
- }
- function group5_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(group5.grd_mnidctlist, "지표관리_보고 미등록 환자", "sheet1" , true, "" , "" , true);
- }
- function SMMNB01210_ontimer(obj:Form, e:TimerEventInfo)
- {
- if( e.timerid == 0 ){
- this.killTimer(0);
-
- fSearch();
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|