123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNP00203" position="absolute 0 0 797 890" titletext="환자 수술전 처치 및 간호상태 확인 도움말" oninit="SMMNP00203_oninit" onload="SMMNP00203_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 796 885" align="align:center middle;" id="group3">
- <Layouts>
- <Layout>
- <Static text="환자 수술전 처치 및 간호상태 확인 도움말" position="absolute 0 0 286 25" align="align:center middle;" id="cpt_title" class="tit_1" anchor="default"/>
- <Grid position="absolute 0 30 792 880" id="grd_opchklist" binddataset="ds_main_opchkinfo_opchklist" autofittype="none" anchor="all" extendsizetype="both" cellsizingtype="row" autosizingtype="row">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="115"/>
- <Column size="225"/>
- <Column size="225"/>
- <Column size="225"/>
- </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="해당무"/>
- </Band>
- <Band id="body">
- <Cell style="align:left;" text="bind:opreadychk" wordwrap="char" autosizerow="none"/>
- <Cell col="1" style="align:left;padding:2 2 2 2;" text="bind:readyyes" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="2" style="align:left;padding:2 2 2 2;" text="bind:readyno" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="3" style="align:left;padding:2 2 2 2;" text="bind:readynothing" wordwrap="char" autosizerow="limitmin"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_opchkinfo_opchklist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="seqno" type="STRING" size="256" sumtext="이력일련번호"/>
- <Column id="cdid" type="STRING" size="256" sumtext="코드ID"/>
- <Column id="sortseq" type="STRING" size="256" sumtext="정렬순서"/>
- <Column id="opreadychk" type="STRING" size="256" sumtext="수술상태확인내역"/>
- <Column id="readyyes" type="STRING" size="256" sumtext="수술준비체크(YES)"/>
- <Column id="readyno" type="STRING" size="256" sumtext="수술준비체크(NO)"/>
- <Column id="readynothing" type="STRING" size="256" sumtext="수술준비체크(해당무)"/>
- <Column id="valifromdd" type="STRING" size="256" sumtext="시작일시"/>
- <Column id="valitodd" type="STRING" size="256" sumtext="종료일시"/>
- </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="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="cdid" type="STRING" size="256" sumtext="코드ID"/>
- <Column id="opreadychk" type="STRING" size="256" sumtext="수술준비체크"/>
- <Column id="delyn" type="STRING" size="256" sumtext="삭제포함여부"/>
- <Column id="cdtype" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="cdtype" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : 경대 의료정보시스템
- * Job Name : emr_opanstxp -> SMMNP00203
- * Creator : yjh
- * Make Date : 2016-06-08
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-06-08 yjh TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- function fSearch() {
- ds_send_reqdata.setColumn(0, "instcd", ds_main_cond.getColumn(0, "instcd"));
- ds_send_reqdata.setColumn(0, "cdtype", ds_main_cond.getColumn(0, "cdtype"));
-
- var oParam = {};
- oParam.id = "TRMNP00229";
- oParam.service = "opanstapp.OpAnstRec";
- oParam.method = "reqGetOpChkList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_opchkinfo_opchklist=opchklist";
- oParam.async = false;
- //oParam.callback = "cf_TRMNP00229";
- tranf_submit(oParam);
-
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SMMNP00203
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시
- ****************************************************************************************/
- function SMMNP00203_oninit(obj:Form, e:InitEventInfo)
- {
- //frmf_initForm(obj); //폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SMMNP00203
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 로딩 완료시
- ****************************************************************************************/
- function SMMNP00203_onload(obj:Form, e:LoadEventInfo)
- {
- var instcd = sysf_getUserInfo("dutplceinstcd");
-
- // 20190403 김현석, 도움말을 수술/시술로 구분을 함.
- var cdtype;
- var titletext;
- try
- {
- if ( ! utlf_isNull(arg_ds_cdtype) )
- {
- cdtype = arg_ds_cdtype.getColumn(0, "cdtype");
- trace ("argument data : " + cdtype);
- }
- else
- {
- cdtype = "OP";
- trace ("not argument ");
- }
- } catch (e)
- {
- trace(e);
- cdtype = "OP";
- }
-
- ds_main_cond.setColumn(0, "instcd", instcd);
- ds_main_cond.setColumn(0, "cdtype", cdtype);
-
- switch (cdtype)
- {
- case "OP":
- titletext = "환자 수술 전 처치 및 간호상태 확인 도움말";
- group3.grd_opchklist.setCellProperty('Head', 0, 'text', "수술 상태 확인 내역");
- break;
- case "PR":
- titletext = "환자 시술 전 처치 및 간호상태 확인 도움말";
- group3.grd_opchklist.setCellProperty('Head', 0, 'text', "시술 상태 확인 내역");
- break;
- }
- this.titletext = titletext;
- group3.cpt_title.text = titletext;
-
- fSearch() ;
- }
- ]]></Script>
- </Form>
- </FDL>
|