123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMRI02000" position="absolute 0 0 855 452" titletext="권고상병" oninit="SPMRI02000_oninit" onload="SPMRI02000_onload">
- <Layouts>
- <Layout>
- <Button position="absolute 392 348 448 370" id="btn_yes" class="btn4" text="YES" visible="true" onclick="btn_yes_onclick"/>
- <Grid position="absolute 3 30 832 341" id="datagrid1" binddataset="ds_main_list" selecttype="multirow" cellsizingtype="both" extendsizetype="row">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="53"/>
- <Column size="69"/>
- <Column size="40"/>
- <Column size="46"/>
- <Column size="91"/>
- <Column size="153"/>
- <Column size="49"/>
- <Column size="63"/>
- <Column size="40"/>
- <Column size="42"/>
- <Column size="161"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell displaytype="normal" text="적용"/>
- <Cell col="1" colspan="6" displaytype="normal" text="권고상병(의무기록팀)" taborder="undefined"/>
- <Cell col="7" colspan="5" displaytype="normal" text="기존상병(의사)" taborder="undefined"/>
- <Cell row="1" displaytype="checkbox" edittype="checkbox"/>
- <Cell row="1" col="1" text="질병군"/>
- <Cell row="1" col="2" text="진단코드"/>
- <Cell row="1" col="3" text="R/O"/>
- <Cell row="1" col="4" text="POA"/>
- <Cell row="1" col="5" text="진단명"/>
- <Cell row="1" col="6" text="전달사항"/>
- <Cell row="1" col="7" text="질병군"/>
- <Cell row="1" col="8" text="진단코드"/>
- <Cell row="1" col="9" text="R/O"/>
- <Cell row="1" col="10" text="POA"/>
- <Cell row="1" col="11" text="진단명"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:chk" expr="expr:chk == 'Y' || chk == '1' ? '1' : '0'"/>
- <Cell col="1" displaytype="normal" text="bind:drgtype" suppress="1" suppressalign="middle,over"/>
- <Cell col="2" displaytype="normal" style="align:left;" text="bind:diagcd"/>
- <Cell col="3" text="bind:ronm"/>
- <Cell col="4" displaytype="normal" text="bind:poa"/>
- <Cell col="5" displaytype="normal" style="align:left;" text="bind:diagcdnm"/>
- <Cell col="6" displaytype="normal" style="align:left;" text="bind:trnscnts"/>
- <Cell col="7" displaytype="normal" text="bind:propdrgtype" suppress="1" suppressalign="middle,over"/>
- <Cell col="8" displaytype="normal" style="align:left;" text="bind:drdiagcd"/>
- <Cell col="9" text="bind:drronm"/>
- <Cell col="10" displaytype="normal" text="bind:drpoa"/>
- <Cell col="11" displaytype="normal" style="align:left;" text="bind:drdiagcdnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="cap_title" text="권고상병상세" class="tit_1" position="absolute 0 0 129 25"/>
- <Button id="btn_search" taborder="1" text="조회" class="btn4" position="absolute 140 1 196 23" onclick="btn_search_onclick" visible="false"/>
- <Static id="Static00" text="문의:의무기록팀" position="absolute 9 389 153 409" style="color:blue;font:dotum,9,bold;"/>
- <Static id="Static01" text="상급종합병원 지정 평가 [환자구성상태(전문/일반/단순) 비율 지표]와 관련하여 입원 환자의 전문진료질병군 비율 향상 및 의무기록 충실도 향상을 위한 권고상병을 안내하오니 적합한 경우 적용 부탁드립니다. " position="absolute 120 380 835 435" style="color:black;font:dotum,10;"/>
- <Static id="Static02" text="권고상병을 기록의 진단명으로 일괄 적용하시겠습니까?" position="absolute 13 350 367 370" style="color:red;font:dotum,10,bold;"/>
- <Button id="btn_no" taborder="2" text="NO" class="btn4" position="absolute 456 348 512 370" onclick="btn_no_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_list" 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="indd" type="STRING" size="256"/>
- <Column id="creatno" type="STRING" size="256"/>
- <Column id="dschdd" type="STRING" size="256"/>
- <Column id="seqno" type="STRING" size="256"/>
- <Column id="diagcd" type="STRING" size="256"/>
- <Column id="diagcdnm" type="STRING" size="256"/>
- <Column id="poa" type="STRING" size="256"/>
- <Column id="drgtype" type="STRING" size="256"/>
- <Column id="propdrgtype" type="STRING" size="256"/>
- <Column id="drdiagcd" type="STRING" size="256"/>
- <Column id="drdiagcdnm" type="STRING" size="256"/>
- <Column id="drpoa" type="STRING" size="256"/>
- <Column id="chk" type="STRING" size="256"/>
- <Column id="trnscnts" type="STRING" size="256"/>
- <Column id="ro" type="STRING" size="256"/>
- <Column id="drro" type="STRING" size="256"/>
- <Column id="ronm" type="STRING" size="256"/>
- <Column id="drronm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_req_send" 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="indd" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="dschdd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind/>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2014-10-20
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2014-10-20 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs"
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : 01.sKey : 코드아이디
- * : 02.sValue : 코드명
- * Description : 공통코드를 가져온다.
- ****************************************************************************************/
- //=======================================================================================
- // Transaction Callback
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : 01.sSvcId : 서비스 ID
- * : 02.nErrorCode : 에러코드
- * : 03.sErrorMsg : 에러메시지
- * Description : tr_getCodeList의 콜백함수
- ****************************************************************************************/
- function cf_(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- arErrorCode.push(sSvcId, nErrorCode);
- sysf_trace("***** cf_*****");
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components :
- * Components ID : button5
- * Event : onlbuttonup
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function SPMRI02000_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- grdf_initGrid(datagrid1);
- grdf_setToolTipBind(datagrid1);
- }
- function SPMRI02000_onload(obj:Form, e:LoadEventInfo)
- {
- //trace("opener:"+opener.name);
-
- var pid = opener.frmf_getParameter("SPMRI02001_pid");
- var indd = opener.frmf_getParameter("SPMRI02001_indd");
- var cretno = opener.frmf_getParameter("SPMRI02001_cretno");
-
- ds_req_send.setColumn(0,"pid",pid);
- ds_req_send.setColumn(0,"indd",indd);
- ds_req_send.setColumn(0,"cretno",cretno);
-
- fSearch();
- }
- function btn_yes_onclick(obj:Button, e:ClickEventInfo)
- {
-
- if (opener.name != "ivw_base") return ;
-
- if (ds_main_list.rowcount == 0 ) return ;
-
- // ds_main_list.filter("chk == '1'");
- // var rowcnt = ds_main_list.rowcount;
- // ds_main_list.filter("");
- //
- // if(rowcnt == 0){
- // sysf_messageBox("선택한 권고상병이 없습니다!","I");
- // return;
- // }
-
- // if ("6" != sysf_messageBox("권고상병을 기록의 진단명으로 일괄 적용하시겠습니까?","Q")) return;
-
- opener.grup_base.ivw_0001013001.lf_ClearDiagData();
- for ( var i=0 ; i<ds_main_list.rowcount ; i++) {
- var mskind = (i == 0)?"M":"S";
- var diagcd = ds_main_list.getColumn(i,"diagcd");
- var diagcdnm = ds_main_list.getColumn(i,"diagcdnm");
- var poa = ds_main_list.getColumn(i,"poa");
- var ro = ds_main_list.getColumn(i,"ro");
- opener.grup_base.ivw_0001013001.lf_MakeDiagData(diagcd,diagcdnm,poa,mskind,ro);
- }
- this.close();
- }
- function btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- fSearch();
- }
- function fSearch() {
- var oParam = {};
- oParam.id = "reqGetPropDiagList_01";
- oParam.service = "unprepmngtapp.ChrtUnprepMngt";
- oParam.method = "reqGetPropDiagList";
- oParam.inds = "req=ds_req_send";
- oParam.outds = "ds_main_list=diaglist";
- oParam.async = false;
- tranf_submit(oParam);
-
- }
- function ImageViewer00_onclick(obj:ImageViewer, e:ClickEventInfo)
- {
-
- }
- function btn_no_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|