123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMNP06900" position="absolute 0 0 690 383" titletext="DSC 환자 처방의 조회" onload="SPMNP06900_onload">
- <Layouts>
- <Layout>
- <Static text="처방의 조회" position="absolute 0 0 120 25" id="caption6" class="tit_1"/>
- <Div position="absolute 0 25 680 60" id="grp" class="div_SA">
- <Layouts>
- <Layout>
- <Button position="absolute 599 7 655 29" id="btn_srchindxcd" class="btn1" taborder="5" text="조회" anchor="default" onclick="grp_btn_srchindxcd_onclick"/>
- <Shape position="absolute 583 7 589 29" linetype="vertical" id="line27" class="line_4" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape position="absolute 0 63 680 69" linetype="horizontal" id="line13" class="line_1" style="strokepen:3 solid #33bbbbff;"/>
- <Grid id="grd_patlist" taborder="1" binddataset="ds_main_prcplist" useinputpanel="false" position="absolute 0 67 680 367">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="60"/>
- <Column size="75"/>
- <Column size="130"/>
- <Column size="70"/>
- <Column size="80"/>
- <Column size="100"/>
- </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="입원일"/>
- <Cell col="4" text="진료과"/>
- <Cell col="5" text="처방등록의"/>
- <Cell col="6" text="w-Zone"/>
- <Cell col="7" text="휴대전화"/>
- </Band>
- <Band id="body">
- <Cell text="bind:pid"/>
- <Cell col="1" text="bind:hngnm"/>
- <Cell col="2" style="align:center middle;" text="bind:sa"/>
- <Cell col="3" displaytype="date" style="align:center middle;" text="bind:orddd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="4" text="bind:orddeptnm"/>
- <Cell col="5" text="bind:orddrnm"/>
- <Cell col="6" text="bind:pdano"/>
- <Cell col="7" text="bind:mpphonno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_cond" 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="pid"/>
- <Column id="indd" type="STRING" size="256" sumtext="indd"/>
- <Column id="cretno" type="STRING" size="256" sumtext="cretno"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_prcplist" 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="hngnm" type="STRING" size="256" sumtext="이름"/>
- <Column id="sa" type="STRING" size="256" sumtext="성별/나이"/>
- <Column id="orddd" type="STRING" size="256" sumtext="진료일"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료일"/>
- <Column id="orddeptnm" type="STRING" size="256" sumtext="진료일"/>
- <Column id="orddrid" type="STRING" size="256" sumtext="진료일"/>
- <Column id="orddrnm" type="STRING" size="256" sumtext="진료일"/>
- <Column id="pdano" type="STRING" size="256" sumtext="진료일"/>
- <Column id="mpphonno" type="STRING" size="256" sumtext="진료일"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <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
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include 'com_commonxp::comm_main.xjs';
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Local methods
- //---------------------------------------------------------------------------------------
- /**
- * fInit
- * @return {[type]} [description]
- */
- function fInit() {
- var pid = opener.frmf_getParameter("SPMNP06900_pid");
- var indd = opener.frmf_getParameter("SPMNP06900_indd");
- var cretno = opener.frmf_getParameter("SPMNP06900_cretno");
- ds_cond.setColumn(0, "pid", pid);
- ds_cond.setColumn(0, "indd", indd);
- ds_cond.setColumn(0, "cretno", cretno);
- fSearch()
- }
- /**
- * [fSearch description]
- * @return {[type]} [description]
- */
- function fSearch() {
- if (utlf_transNullToEmpty(ds_cond.getColumn(0, "pid")) != "") {
- ds_main_prcplist.clearData();
-
- var oParam = {};
- oParam.id = "TRMNP06911";
- oParam.service = "opanstapp.OpAnstDscMngt";
- oParam.method = "reqGetDscPrcpList";
- oParam.inds = "req=ds_cond";
- oParam.outds = "ds_main_prcplist=prcplist";
- oParam.async = false;
- tranf_submit(oParam);
- }
- else {
- sysf_messageBox("조회할 환자 정보가 없습니다.", "E999");
- return
- }
- }
- /**
- * submit 후 호출 될 공통 콜백
- * @param {[type]} sSvcId [description]
- * @param {[type]} nErrorCode [description]
- * @param {[type]} sErrorMsg [description]
- * @return {Function} [description]
- */
- function callback(sSvcId, nErrorCode, sErrorMsg){
- arErrorCode.push(sSvcId, nErrorCode);
- }
- //=======================================================================================
- // Events
- //---------------------------------------------------------------------------------------
- /**
- * onload 이벤트 발생 시 호출
- * @param {[type]} obj:Form [description]
- * @param {[type]} e:LoadEventInfo [description]
- */
- function SPMNP06900_onload(obj: Form, e: LoadEventInfo) {
- frmf_initForm(obj);
- fInit();
- }
- /**
- * 조회 버튼 클릭 이벤트
- * @param {[type]} obj: Button [description]
- * @param {[type]} e: ClickEventInfo [description]
- * @return {[type]} [description]
- */
- function grp_btn_srchindxcd_onclick(obj: Button, e: ClickEventInfo) {
- fSearch();
- }
- ]]></Script>
- </Form>
- </FDL>
|