123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMRI09005_연명환자문서목록" classname="SPMRI09005_연명환자문서목록" inheritanceid="" position="absolute 0 0 339 244" titletext="문서목록" onload="SPMRI09005_연명환자문서목록_onload">
- <Layouts>
- <Layout>
- <Grid id="Grid00" taborder="1" useinputpanel="false" position="absolute 4 59 335 240" binddataset="ds_doclist" autofittype="none" oncellclick="Grid00_oncellclick" oncelldblclick="Grid00_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="2"/>
- <Column size="329"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="코드"/>
- <Cell col="1" displaytype="normal" text="문서명"/>
- </Band>
- <Band id="body">
- <Cell text="bind:doccode"/>
- <Cell col="1" displaytype="combo" style="align:center;padding:0 5 0 5;" text="bind:doccode" combodataset="ds_init_A0665" combocodecol="cdid" combodatacol="cdnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="cap_oldpwd00" text="등록번호" class="cell_1" position="absolute 4 33 65 53"/>
- <Edit id="Edit_pid" taborder="2" enable="false" position="absolute 71 33 151 53"/>
- <Static id="cap_oldpwd01" text="환자성명" class="cell_1" position="absolute 158 33 219 53"/>
- <Edit id="sct_hngnm" taborder="3" readonly="true" maxlength="20" class="output" position="absolute 224 33 335 53"/>
- <Static id="caption6" text="연명의료 정보처리시스템 등록 문서" class="search_name" position="absolute 0 6 219 26"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_doclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="id" type="STRING" size="256"/>
- <Column id="doccode" type="STRING" size="256"/>
- <Column id="docsn" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="rrgstno" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_patient" 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"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_A0665" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <InitValue>
- <Edit id="Edit_pid" enable="false"/>
- </InitValue>
- <Bind>
- <BindItem id="item7" compid="Edit_pid" propid="value" datasetid="ds_patient" columnid="pid"/>
- <BindItem id="item0" compid="sct_hngnm" propid="value" datasetid="ds_patient" columnid="hngnm"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs";
- function SPMRI09005_연명환자문서목록_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
-
- fInit();
- }
- function fInit()
- {
- if(!frmf_checkOpener()){
- //sysf_messageBox("정상적으로 호출되지 않았습니다.","E999");
- //this.close();
- return;
- }
- var arrParam = [
- {dsNm: "ds_init_A0665", cdGrpId: "A0665", sortField: "dispseq", sortMehotd: "asc"}
- ]
- appf_getCodeList(arrParam, true);
-
- var rrgstno = opener.frmf_getParameter("SPMRI09005_PARAM1");
- var pid = opener.frmf_getParameter("SPMRI09005_PARAM2");
- var hngnm = opener.frmf_getParameter("SPMRI09005_PARAM3");
-
- ds_patient.setColumn(0, "pid", pid);
- ds_patient.setColumn(0, "hngnm", hngnm);
-
- ds_cond.setColumn(0,"rrgstno", rrgstno);
- ds_cond.setColumn(0,"pid", pid);
-
-
- var oParam = {};
- oParam.id = "SPMRI09005_1";
- oParam.service = "recmngtapp.IntegrityRec";
- oParam.method = "reqGetYeonPatDocList";
- oParam.inds = "req=ds_cond";
- oParam.outds = "ds_doclist=doclist";
- oParam.async = false;
- //oParam.callback = "cf_TRMMR04001";
- tranf_submit(oParam);
-
-
- }
- function fReset() {
- var arrParam = [
- {dsNm: "ds_init_A0665", cdGrpId: "A0665", sortField: "dispseq", sortMehotd: "asc"}
- ]
- appf_getCodeList(arrParam, true);
-
- var pid = ds_main_patinfo.getColumn(0,"pid");
- var hngnm = ds_main_patinfo.getColumn(0,"hngnm");
-
- ds_patient.setColumn(0, "pid", pid);
- ds_patient.setColumn(0, "hngnm", hngnm);
-
- ds_cond.setColumn(0,"pid", pid);
-
- var oParam = {};
- oParam.id = "SPMRI09005_1";
- oParam.service = "recmngtapp.IntegrityRec";
- oParam.method = "reqGetYeonPatDocList";
- oParam.inds = "req=ds_cond";
- oParam.outds = "ds_doclist=doclist";
- oParam.async = false;
- //oParam.callback = "cf_TRMMR04001";
- tranf_submit(oParam);
- }
- function Grid00_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- // var row = e.row;
- //
- // if(e.col <> 2) return;
- //
- //
- // var doccode = ds_doclist.getColumn(row, "doccode");
- // var docsn = ds_doclist.getColumn(row, "docsn");
- //
- // if(utlf_isNull(doccode) || utlf_isNull(docsn) || doccode == "99") return;
- //
- // frmf_setParameter("SPMRI09004_PARAM1", doccode );
- // frmf_setParameter("SPMRI09004_PARAM2", docsn );
- //
- // frmf_modal("SPMRI09004", "SPMRI09004", null, null, null, null, null, null, null, null, null, null, "M");
- }
- function Grid00_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var row = e.row;
- var doccode = ds_doclist.getColumn(row, "doccode");
- var docsn = ds_doclist.getColumn(row, "docsn");
-
- if(utlf_isNull(doccode) || utlf_isNull(docsn) || doccode == "99") return;
-
- frmf_setParameter("SPMRI09004_PARAM1", doccode );
- frmf_setParameter("SPMRI09004_PARAM2", docsn );
-
- frmf_modal("SPMRI09004", "SPMRI09004", null, null, null, null, null, null, null, null, null, null, "M");
- }
- ]]></Script>
- </Form>
- </FDL>
|