123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMMR09500" position="absolute 0 0 870 760" titletext="약물부작용 단서조회" onload="SPMMR09500_onload">
- <Layouts>
- <Layout>
- <Static text="약물부작용 단서조회" position="absolute 0 0 156 20" id="caption2" class="tit_1"/>
- <Div position="absolute 0 20 870 51" id="roundrect2" type="roundrectangle" class="div_SA" anchor="left top right"/>
- <Static text="구 분 :" position="absolute 9 30 78 45" align="align:center middle;" id="lbl_PID" class="search_name"/>
- <Combo position="absolute 83 27 143 46" id="combo1" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">O</Col>
- <Col id="datacolumn">외래</Col>
- </Row>
- <Row>
- <Col id="codecolumn">I</Col>
- <Col id="datacolumn">입원</Col>
- </Row>
- <Row>
- <Col id="codecolumn">E</Col>
- <Col id="datacolumn">응급</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static text="검 색 기 간 :" position="absolute 158 30 276 45" align="align:center middle;" id="caption1" class="search_name"/>
- <Static text="~" position="absolute 375 27 390 47" id="caption10"/>
- <Calendar position="absolute 397 27 497 46" id="ipt_todd" class="input_essential" autoselect="true" dateformat="yyyy-MM-dd"/>
- <Calendar position="absolute 268 27 368 46" id="ipt_fromdd" class="input_essential" autoselect="true" dateformat="yyyy-MM-dd" value="null"/>
- <Button position="absolute 708 25 764 47" id="btn_profhist" class="btn1" text="조회" anchor="top right" onclick="btn_profhist_onclick"/>
- <Button position="absolute 768 25 848 47" id="button1" class="btn7" text="엑셀저장" anchor="top right" onclick="button1_onclick"/>
- <Grid position="absolute 0 54 870 760" align="align:center middle;" id="local_drg" binddataset="ds_main_patlist" anchor="left top right">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="76"/>
- <Column size="72"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="48"/>
- <Column size="70"/>
- <Column size="124"/>
- <Column size="50"/>
- <Column size="110"/>
- <Column size="150"/>
- <Column size="61"/>
- </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="주치의"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1" autosizerow="default"/>
- <Cell col="1" 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:ordtype"/>
- <Cell col="6" text="bind:prcpdd"/>
- <Cell col="7" style="align:left top;padding:3 0 3 0;" text="bind:prcpnm" wordwrap="char"/>
- <Cell col="8" text="bind:rsltval"/>
- <Cell col="9" text="bind:depthngnm"/>
- <Cell col="10" style="align:left top;padding:3 0 3 0;" text="bind:diagnm" wordwrap="char"/>
- <Cell col="11" text="bind:drnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_patlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="sex" type="STRING"/>
- <Column id="age" type="STRING"/>
- <Column id="ordtype" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="rsltval" type="STRING"/>
- <Column id="depthngnm" type="STRING"/>
- <Column id="diagnm" type="STRING"/>
- <Column id="drnm" type="STRING"/>
- </ColumnInfo>
- </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="ioflag" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="ioflag"/>
- <Col id="fromdd"/>
- <Col id="todd"/>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="combo1" propid="value" datasetid="ds_send_reqdata" columnid="ioflag"/>
- <BindItem id="item1" compid="ipt_fromdd" propid="value" datasetid="ds_send_reqdata" columnid="fromdd"/>
- <BindItem id="item2" compid="ipt_todd" propid="value" datasetid="ds_send_reqdata" columnid="todd"/>
- </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_commonxp::EMRCommon.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SPMMR09500
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 초기화
- ****************************************************************************************/
- function SPMMR09500_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj);
-
- ds_send_reqdata.setColumn(0, "ioflag", "A");
- ds_send_reqdata.setColumn(0, "fromdd", utlf_getCurrentDate());
- ds_send_reqdata.setColumn(0, "todd", utlf_getCurrentDate());
-
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_profhist
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 약물부작용단서 조회
- ****************************************************************************************/
- function btn_profhist_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_patlist.clearData();
-
- var oParam = {};
- oParam.id = "TRMMO09500";
- oParam.service = "localdrugmngtapp.PatMngt";
- oParam.method = "reqGetPatlist";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_patlist=item";
- oParam.async = true;
- tranf_submit(oParam);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button1
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 엑셀 저장
- ****************************************************************************************/
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(local_drg, "", "SheetName", true);
- }
- ]]></Script>
- </Form>
- </FDL>
|