123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMASI01600" position="absolute 0 0 1148 777" titletext="급성호흡기감염증조회" oninit="SMASI01600_oninit" onload="SMASI01600_onload">
- <Layouts>
- <Layout>
- <Shape id="roundrect2" type="roundrectangle" position="absolute 2 26 735 56"/>
- <Static text="급성호흡기감염증" position="absolute 0 0 130 25" id="caption2" class="tit_1"/>
- <Static text="구 분 :" position="absolute 11 32 80 49" align="align:center middle;" id="lbl_PID" class="search_name"/>
- <Combo position="absolute 85 32 210 51" align="align:center middle;" id="cmb_srchkind" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">ALL</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">LPD301</Col>
- <Col id="datacolumn">LPD301</Col>
- </Row>
- <Row>
- <Col id="codecolumn">LMV113</Col>
- <Col id="datacolumn">LMV113</Col>
- </Row>
- <Row>
- <Col id="codecolumn">LPD122</Col>
- <Col id="datacolumn">LPD122</Col>
- </Row>
- <Row>
- <Col id="codecolumn">LPD154</Col>
- <Col id="datacolumn">LPD154</Col>
- </Row>
- <Row>
- <Col id="codecolumn">LMR801</Col>
- <Col id="datacolumn">LMR801</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static text="검 색 기 간 :" position="absolute 215 32 333 49" align="align:center middle;" id="caption1" class="search_name"/>
- <Static text="~" position="absolute 432 32 447 52" id="caption10"/>
- <Calendar position="absolute 325 32 425 51" id="ipt_fromdd" class="input_s_essential" oncloseup="ipt_fromdd_oncloseup" autoselect="true" onchanged="ipt_fromdd_onchanged" onkillfocus="ipt_fromdd_onkillfocus"/>
- <Calendar position="absolute 454 32 554 51" id="ipt_todd" class="input_s_essential" enable="false"/>
- <Button position="absolute 565 31 621 53" id="btn_srch" class="btn1" text="조회" onclick="btn_srch_onclick"/>
- <Button position="absolute 625 31 705 53" id="button1" class="btn7" text="엑셀저장" onclick="button1_onclick"/>
- <Grid position="absolute 1 63 1140 771" align="align:center middle;" id="datagrid1" binddataset="ds_main_patlist" cellsizebandtype="allband" cellsizingtype="both" extendsizetype="row">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24" band="left"/>
- <Column size="76"/>
- <Column size="72"/>
- <Column size="30"/>
- <Column size="58"/>
- <Column size="56"/>
- <Column size="70"/>
- <Column size="71"/>
- <Column size="138"/>
- <Column size="48"/>
- <Column size="45"/>
- <Column size="75"/>
- <Column size="118"/>
- <Column size="95"/>
- <Column size="139"/>
- </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="진료과"/>
- <Cell col="13" text="병동명"/>
- <Cell col="14" text="진단명"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow + 1"/>
- <Cell col="1" displaytype="text" text="bind:pid"/>
- <Cell col="2" text="bind:hngnm"/>
- <Cell col="3" text="bind:sex"/>
- <Cell col="4" text="bind:age"/>
- <Cell col="5" text="bind:prcpdd"/>
- <Cell col="6" text="bind:rsltdd"/>
- <Cell col="7" style="align:left top;padding:5 2 1 2;" text="bind:prcpcd" wordwrap="word"/>
- <Cell col="8" style="align:left top;padding:5 2 1 2;" text="bind:prcpnm" wordwrap="word"/>
- <Cell col="9" text="bind:spccd"/>
- <Cell col="10" text="bind:baccd"/>
- <Cell col="11" style="align:left top;padding:5 2 1 2;" text="bind:reptrslt" wordwrap="word"/>
- <Cell col="12" style="align:left top;padding:5 2 1 2;" text="bind:depthngnm" wordwrap="word"/>
- <Cell col="13" style="align:left top;padding:5 2 1 2;" text="bind:wardnm" wordwrap="word"/>
- <Cell col="14" style="align:left top;padding:5 2 1 2;" text="bind:diagnm" wordwrap="word"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_patlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="rsltdd" type="STRING" size="256"/>
- <Column id="prcpcd" type="STRING" size="256"/>
- <Column id="prcpnm" type="STRING" size="256"/>
- <Column id="spccd" type="STRING" size="256"/>
- <Column id="baccd" type="STRING" size="256"/>
- <Column id="reptrslt" type="STRING" size="256"/>
- <Column id="depthngnm" type="STRING" size="256"/>
- <Column id="wardnm" type="STRING" size="256"/>
- <Column id="diagnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="hngnm"/>
- <Col id="sex"/>
- <Col id="age"/>
- <Col id="prcpdd"/>
- <Col id="rsltdd"/>
- <Col id="prcpcd"/>
- <Col id="prcpnm"/>
- <Col id="spccd"/>
- <Col id="baccd"/>
- <Col id="reptrslt"/>
- <Col id="depthngnm"/>
- <Col id="wardnm"/>
- <Col id="diagnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchkind" type="STRING" size="256"/>
- <Column id="srchfromdd" type="STRING" size="256"/>
- <Column id="srchtodd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchkind"/>
- <Col id="srchfromdd"/>
- <Col id="srchtodd"/>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="cmb_srchkind" propid="value" datasetid="ds_send_reqdata" columnid="srchkind"/>
- <BindItem id="item1" compid="ipt_fromdd" propid="value" datasetid="ds_send_reqdata" columnid="srchfromdd"/>
- <BindItem id="item2" compid="ipt_todd" propid="value" datasetid="ds_send_reqdata" columnid="srchtodd"/>
- </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";
- var arErrorCode = new HashArray();
- function SMASI01600_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
- }
- function SMASI01600_onload(obj:Form, e:LoadEventInfo)
- {
- ds_send_reqdata.setColumn(0, "srchkind", "ALL");
- ds_send_reqdata.setColumn(0, "srchfromdd", utlf_getCurrentDate());
- ds_send_reqdata.setColumn(0, "srchtodd", utlf_getCurrentDate());
- }
- function ipt_fromdd_oncloseup(obj:Calendar, e:CalendarCloseUpEventInfo)
- {
- dsf_makeValue(ds_send_reqdata, "srchtodd", "string", date_add(ipt_fromdd.value, 6));
- }
- function date_add(sDate, nDays){
- var yy = parseInt(String(sDate).substr(0,4), 10);
- var mm = parseInt(String(sDate).substr(4,2), 10);
- var dd = parseInt(String(sDate).substr(6,2), 10);
-
- var d = new Date(yy, mm - 1, dd + nDays);
-
- yy = d.getFullYear().toString();
- mm = d.getMonth() + 1; mm = (mm < 10) ? '0' + mm : mm.toString();
- dd = d.getDate(); dd = (dd < 10) ? '0' + dd : dd.toString();
-
- return yy + mm + dd;
- }
- function btn_srch_onclick(obj:Button, e:ClickEventInfo)
- {
- var oParam = {};
- oParam.id = "TRASI01004";
- oParam.service = "infcmngtapp.LglyDisMngt";
- oParam.method = "reqGetAriPatList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_patlist=item";
- oParam.async = false;
- tranf_submit(oParam);
- }
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(datagrid1, "급성호흡기감염증" + utlf_getCurrentDate(), "sheetname1" , true, "" , "" , true);
- }
- function ipt_fromdd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- if(String(ipt_fromdd.value).length == 8){
- dsf_makeValue(ds_send_reqdata, "srchtodd", "string", date_add(ipt_fromdd.value, 6));
- }
- }
- function ipt_fromdd_onkillfocus(obj:Calendar, e:KillFocusEventInfo)
- {
- if(String(ipt_fromdd.value).length == 8){
- dsf_makeValue(ds_send_reqdata, "srchtodd", "string", date_add(ipt_fromdd.value, 6));
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|