123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.4">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMMO21600" position="absolute 0 0 803 261" titletext="수술료 예외 사유 입력" onload="SPMMO21600_onload" oninit="SPMMO21600_oninit">
- <Layouts>
- <Layout>
- <Grid id="grd_opfeelist" taborder="3" binddataset="ds_main_opfeelist" useinputpanel="false" position="absolute 0 40 803 232" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="33"/>
- <Column size="67"/>
- <Column size="86"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="129"/>
- <Column size="77"/>
- <Column size="283"/>
- <Column size="80"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="수술구분"/>
- <Cell col="2" text="수술일"/>
- <Cell col="3" text="집도과"/>
- <Cell col="4" text="집도의"/>
- <Cell col="5" text="수술명"/>
- <Cell col="6" text="수술료 여부"/>
- <Cell col="7" text="수술료 처방 제외 사유"/>
- <Cell col="8" text="등록자"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:chkflag" expr="expr:(chkflag == "Y" || chkflag == 1) ? 1 : 0"/>
- <Cell col="1" text="bind:oppatflagcd"/>
- <Cell col="2" displaytype="date" edittype="none" text="bind:opcnfmdd"/>
- <Cell col="3" text="bind:perfdeptnm"/>
- <Cell col="4" text="bind:perfdrnm"/>
- <Cell col="5" text="bind:opnm"/>
- <Cell col="6" text="bind:opfeeyn"/>
- <Cell col="7" displaytype="text" edittype="text" text="bind:opetcresn"/>
- <Cell col="8" text="bind:rgstrnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption2" text="수술료 제외사유" class="tit_2" position="absolute 0 0 126 20"/>
- <Button id="button4" taborder="4" text="삭제" class="btn4" position="absolute 748 240 803 260" onclick="button4_onclick"/>
- <Button id="button3" taborder="5" text="저장" class="btn4" position="absolute 688 240 743 260" onclick="button3_onclick"/>
- <Button id="button5" taborder="6" text="닫기" class="btn4" position="absolute 568 240 623 260" onclick="button5_onclick"/>
- <Static id="caption1" text="시술을 시행한 경우 또는 수술료 처방이 이미 입력된 경우에는 '수술료 처방 제외 사유'에 내용을 입력하고 저장 하세요." position="absolute 3 19 768 39" onclick="caption1_onclick" class="hand"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_opfeelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_main_opfeelist_oncolumnchanged">
- <ColumnInfo>
- <Column id="chkflag" type="STRING"/>
- <Column id="oppatflagcd" type="STRING"/>
- <Column id="opcnfmdd" type="STRING"/>
- <Column id="perfdeptnm" type="STRING"/>
- <Column id="perfdrnm" type="STRING"/>
- <Column id="opnm" type="STRING"/>
- <Column id="opfeeyn" type="STRING"/>
- <Column id="opetcresn" type="STRING"/>
- <Column id="rgstrnm" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="genrdd" type="STRING"/>
- <Column id="genrno" type="STRING"/>
- <Column id="oprsrvno" type="STRING"/>
- <Column id="ophistno" type="STRING"/>
- <Column id="instcd" type="STRING"/>
- </ColumnInfo>
- </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="pid" type="STRING" size="256"/>
- <Column id="oprsrvno" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="dschdd" type="STRING" size="256"/>
- <Column id="opfeeinfo" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" 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-12-10
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2014-12-10 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- function SPMMO21600_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 초기화
- }
- function SPMMO21600_onload(obj:Form, e:LoadEventInfo)
- {
- var sPara = opener.frmf_getParameter("SPMMO21600_param");
- var sParaValue = sPara.split("|");
- ds_main_cond.setColumn(0, "pid", sParaValue[0]);
- ds_main_cond.setColumn(0, "indd", sParaValue[1]);
- ds_main_cond.setColumn(0, "dschdd", sParaValue[2]);
-
- //ds_main_cond.setColumn(0, "indd", "20090722"); // test
- var oParam = {};
- oParam.id = "TRMMO21601";
- oParam.service = "prcpmngtapp.EtcPrcpMngt";
- oParam.method = "reqGetOpFeeExptResnInfo";
- oParam.inds = "req=ds_main_cond";
- oParam.outds = "ds_main_opfeelist=opfeelist";
- oParam.async = false;
-
- tranf_submit(oParam);
- ds_main_opfeelist.addColumn("chkflag", "string");
- }
- function button3_onclick(obj:Button, e:ClickEventInfo)
- {
- var sPara = opener.frmf_getParameter("SPMMO21600_param");
- var sParaValue = sPara.split("|");
- var oDsUpdate = grdf_getGridUpdateData(grd_opfeelist);
- grdf_setStatusColumn(oDsUpdate, "status");
- ds_send.copyData(oDsUpdate, true);
- if ( ds_send.rowcount > 0 ) {
- var oParam = {};
- oParam.id = "TRMMO21601";
- oParam.service = "prcpmngtapp.EtcPrcpMngt";
- oParam.method = "reqExeOpFeeExptResnInfo";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_opfeelist=opfeelist";
- oParam.async = false;
- tranf_submit(oParam);
- appf_setPatientInfoDetailByKey("opfeechkyn", sParaValue[0]+ "|Y");
- }
-
- close();
- }
- // 사유에 삭제기능인지 데이터 삭제 기능인지...
- function button4_onclick(obj:Button, e:ClickEventInfo)
- {
- //var oDsUpdate = grdf_getGridUpdateData(grd_opfeelist, "delete");
- var oDsUpdate = grdf_getGridUpdateData(grd_opfeelist); // 저장기능으로 쓸 경우(TF도 삭제버튼이지만 저장기능밖에 되지 않음)
- grdf_setStatusColumn(oDsUpdate, "status");
- ds_send.copyData(oDsUpdate, true);
- var oParam = {};
- oParam.id = "TRMMO21601";
- oParam.service = "prcpmngtapp.EtcPrcpMngt";
- oParam.method = "reqExeOpFeeExptResnInfo";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_opfeelist=opfeelist";
- oParam.async = false;
- tranf_submit(oParam);
-
- }
- function button5_onclick(obj:Button, e:ClickEventInfo)
- {
- close();
- }
- function ds_main_opfeelist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "chkflag")
- obj.setColumn(e.row, e.columnid, (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
- ]]></Script>
- </Form>
- </FDL>
|