123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMMO17300" position="absolute 0 0 800 250" titletext="환자진료정보" oninit="SPMMO17300_oninit" onload="SPMMO17300_onload">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 25 800 250" id="datagrid1" binddataset="ds_patordinfolist" oncelldblclick="datagrid1_oncelldblclick" cellsizingtype="col" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="40"/>
- <Column size="70"/>
- <Column size="69"/>
- <Column size="39"/>
- <Column size="80"/>
- <Column size="40"/>
- <Column size="53"/>
- <Column size="91"/>
- <Column size="105"/>
- <Column size="70"/>
- <Column size="60"/>
- <Column size="77"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="구분"/>
- <Cell col="1" text="환자번호"/>
- <Cell col="2" text="이름"/>
- <Cell col="3" text="S/A"/>
- <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="orddeptcd"/>
- <Cell col="13" text="cretno"/>
- <Cell col="14" text="dschdd"/>
- <Cell col="15" text="centcd"/>
- <Cell col="16" text="subdeptcd"/>
- <Cell col="17" text="orddrid"/>
- </Band>
- <Band id="body">
- <Cell displaytype="combo" edittype="none" style="align:center;" text="bind:ioflag" combodataset="ds_ioflag" combocodecol="value" combodatacol="label"/>
- <Cell col="1" style="align:center middle;" text="bind:pid"/>
- <Cell col="2" style="align:left middle;" text="bind:hngnm"/>
- <Cell col="3" style="align:center middle;" text="bind:sa"/>
- <Cell col="4" displaytype="date" style="align:center middle;" text="bind:orddd"/>
- <Cell col="5" text="bind:ordtm" mask="##:##"/>
- <Cell col="6" style="align:center middle;" text="bind:roomcd"/>
- <Cell col="7" style="align:left middle;" text="bind:centnm"/>
- <Cell col="8" style="align:left middle;" text="bind:orddeptnm"/>
- <Cell col="9" text="bind:orddrnm"/>
- <Cell col="10" style="align:center middle;" text="bind:rsrvflagnm"/>
- <Cell col="11" displaytype="combo" edittype="none" style="align:left middle;" text="bind:coopteamcd" combodataset="ds_M0525" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="12" text="bind:orddeptcd"/>
- <Cell col="13" text="bind:cretno"/>
- <Cell col="14" text="bind:dschdd"/>
- <Cell col="15" text="bind:centcd"/>
- <Cell col="16" text="bind:subdeptcd"/>
- <Cell col="17" text="bind:orddrid"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="환자 수진이력조회" position="absolute 3 6 146 26" id="caption1" class="tit_2"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_patordinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ioflag" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="sa" type="STRING"/>
- <Column id="orddd" type="STRING"/>
- <Column id="roomcd" type="STRING"/>
- <Column id="centnm" type="STRING"/>
- <Column id="orddeptnm" type="STRING"/>
- <Column id="subdeptnm" type="STRING"/>
- <Column id="coopteamcd" type="STRING"/>
- <Column id="orddrnm" type="STRING"/>
- <Column id="orddeptcd" type="STRING"/>
- <Column id="cretno" type="STRING"/>
- <Column id="dschdd" type="STRING"/>
- <Column id="centcd" type="STRING"/>
- <Column id="subdeptcd" type="STRING"/>
- <Column id="orddrid" type="STRING"/>
- <Column id="ordtm" type="STRING"/>
- <Column id="dschdd" type="STRING"/>
- <Column id="rsrvflagnm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="fromdd" type="STRING" size="256" sumtext="조회시작일"/>
- <Column id="todd" type="STRING" size="256" sumtext="조회종료일"/>
- <Column id="openid" type="STRING" size="256" sumtext="호출 화면코드"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_ioflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">입원</Col>
- <Col id="value">I</Col>
- </Row>
- <Row>
- <Col id="label">외래</Col>
- <Col id="value">O</Col>
- </Row>
- <Row>
- <Col id="label">응급</Col>
- <Col id="value">E</Col>
- </Row>
- <Row>
- <Col id="label">건강검진</Col>
- <Col id="value">S</Col>
- </Row>
- <Row>
- <Col id="label">DSC</Col>
- <Col id="value">D</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_M0525" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2014-08-29
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2014-08-29 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "emr_prcpmngtxp::MMO001.xjs";
- function SPMMO17300_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPMMO17300_onload(obj:Form, e:LoadEventInfo)
- {
- appf_getCodeList([{dsNm: "ds_M0525", cdGrpId: "M0525"}], true);
-
- var pid = opener.frmf_getParameter("SPMMO017300_pid");
- var fromdd = opener.frmf_getParameter("SPMMO017300_fromdd");
- var todd = opener.frmf_getParameter("SPMMO017300_todd");
- var openid = opener.frmf_getParameter("SPMMO017300_openid");
-
- ds_reqdata.setColumn(0, "pid", pid);
- ds_reqdata.setColumn(0, "fromdd", fromdd);
- ds_reqdata.setColumn(0, "todd", todd);
- ds_reqdata.setColumn(0, "openid", openid);
-
- var oParam = {};
- oParam.id = "TRMMO17301";
- oParam.service = "prcpmngtapp.ConcPatMngt";
- oParam.method = "reqGetPatOrdInfo";
- oParam.inds = "req=" + "ds_reqdata";
- oParam.outds = "ds_patordinfolist=patordinfolist";
- oParam.async = false;
- tranf_submit(oParam);
- if (ds_patordinfolist.rowcount == 1) {
- fSelPatInfo(0);
- }
- }
- function datagrid1_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- fSelPatInfo(e.row);
- }
- function fSelPatInfo(row) {
- opener.frmf_setParameter("SPMMO017300_pid" , ds_patordinfolist.getColumn(row, "pid"));
- opener.frmf_setParameter("SPMMO017300_hngnm" , ds_patordinfolist.getColumn(row, "hngnm"));
- opener.frmf_setParameter("SPMMO017300_sa" , ds_patordinfolist.getColumn(row, "sa"));
- opener.frmf_setParameter("SPMMO017300_cretno" , ds_patordinfolist.getColumn(row, "cretno"));
- opener.frmf_setParameter("SPMMO017300_orddd" , ds_patordinfolist.getColumn(row, "orddd"));
- opener.frmf_setParameter("SPMMO017300_cnstdeptcd", ds_patordinfolist.getColumn(row, "orddeptcd"));
- opener.frmf_setParameter("SPMMO017300_orddeptcd" , ds_patordinfolist.getColumn(row, "orddeptcd"));
- opener.frmf_setParameter("SPMMO017300_orddrid" , ds_patordinfolist.getColumn(row, "orddrid"));
- opener.frmf_setParameter("SPMMO017300_coopteamcd", ds_patordinfolist.getColumn(row, "coopteamcd"));
- opener.frmf_setParameter("SPMMO017300_orddrnm" , ds_patordinfolist.getColumn(row, "orddrnm"));
- opener.frmf_setParameter("SPMMO017300_ioflag" , ds_patordinfolist.getColumn(row, "ioflag"));
- opener.frmf_setParameter("SPMMO017300_roomcd" , ds_patordinfolist.getColumn(row, "roomcd"));
- opener.frmf_setParameter("SPMMO017300_ordtm" , ds_patordinfolist.getColumn(row, "ordtm"));
- opener.frmf_setParameter("SPMMO017300_dschdd" , ds_patordinfolist.getColumn(row, "dschdd"));
- close();
- }]]></Script>
- </Form>
- </FDL>
|