123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMMI01100_결핵상병조회" classname="SPMMI01100_진료업무시간" inheritanceid="" position="absolute 0 0 640 268" titletext="결핵상병코드조회" oninit="SPMMI01100_oninit" onload="SPMMI01100_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="결핵상병코드조회" class="tit_1" position="absolute 0 0 133 25"/>
- <Grid id="Grid_diag" taborder="2" useinputpanel="false" position="absolute 0 169 640 243" autofittype="col" binddataset="ds_result_diag" oncellclick="Grid_diag_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="100"/>
- <Column size="250"/>
- <Column size="250"/>
- </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="한글명"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:status"/>
- <Cell col="1" text="bind:diagcd"/>
- <Cell col="2" style="align:left middle;padding:0 0 0 5;" text="bind:diagengnm"/>
- <Cell col="3" style="align:left middle;padding:0 0 0 5;" text="bind:diaghngnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption21" text="매칭코드" class="tit_2" position="absolute 0 148 105 170"/>
- <Shape id="line3" class="line_10" position="absolute 0 164 640 170" anchor="left top right"/>
- <Button id="btn_savediag" taborder="3" text="확인" onclick="btn_savediag_onclick" class="btn4" position="absolute 503 246 559 266"/>
- <Button id="btn_diagcncl" taborder="4" text="적용안함" onclick="btn_diagcncl_onclick" class="btn4" position="absolute 561 246 640 266"/>
- <Static id="Static00" text="※ 결핵 환자는 A코드 입력 시 산정특례 적용됩니다. 반드시 매칭코드 목록에서 A코드 선택바랍니다." position="absolute 0 27 639 67" style="border:1 solid #808080ff ;color:#ff0000ff;padding:0 0 0 0;align:center middle;font:Dotum,9,bold;"/>
- <Static id="caption00" text="조회코드" class="tit_2" position="absolute 0 68 105 90"/>
- <Shape id="line00" class="line_10" position="absolute 0 84 640 90" anchor="left top right"/>
- <Grid id="Grid_diag00" taborder="5" binddataset="ds_gijun_diag" useinputpanel="false" autofittype="col" position="absolute 0 89 640 139">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="250"/>
- <Column size="250"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="진단코드"/>
- <Cell col="1" text="영문명"/>
- <Cell col="2" text="한글명"/>
- </Band>
- <Band id="body">
- <Cell text="bind:diagcd"/>
- <Cell col="1" style="align:left middle;padding:0 0 0 5;" text="bind:diagengnm"/>
- <Cell col="2" style="align:left middle;padding:0 0 0 5;" text="bind:diaghngnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_result_diag" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="status" type="STRING" size="256"/>
- <Column id="dispdiagcd" type="STRING" size="256"/>
- <Column id="diagengnm" type="STRING" size="256"/>
- <Column id="diaghngnm" type="STRING" size="256"/>
- <Column id="orgdiagnm" type="STRING" size="256"/>
- <Column id="spclinfo" type="STRING" size="256"/>
- <Column id="orgdiagcd" type="STRING" size="256"/>
- <Column id="tootfact" type="STRING" size="256"/>
- <Column id="icd10cd" type="STRING" size="256"/>
- <Column id="diagcd" type="STRING" size="256"/>
- <Column id="lightcase" type="STRING" size="256" sumtext="경증"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_diag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchdate" type="STRING" size="256"/>
- <Column id="arrdiagcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_gijun_diag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="diagcd" type="STRING" size="256"/>
- <Column id="diagengnm" type="STRING" size="256"/>
- <Column id="diaghngnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs";
- function SPMMI01100_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPMMI01100_onload(obj:Form, e:LoadEventInfo)
- {
- ds_gijun_diag.setColumn(0, "diagcd", arg_gijun_diagcd);
- ds_gijun_diag.setColumn(0, "diagengnm", arg_gijun_diagengnm);
- ds_gijun_diag.setColumn(0, "diaghngnm", arg_gijun_diaghngnm);
-
- ds_send_diag.setColumn(0 , "srchdate" , utlf_getCurrentDate());
- ds_send_diag.setColumn(0 , "arrdiagcd", arg_add_diagcd);
- //ds_send_diag.setColumn(0 , "arrdiagcd", "A,B,");
-
- var oParam = {};
- oParam.id = "TPMMI01101";
- oParam.service = "prcpinfoapp.PrcpInfoEtcMngt";
- oParam.method = "reqGetDiagListInfo";
- oParam.inds = "req=ds_send_diag";
- oParam.outds = "ds_result_diag=result";
- oParam.async = false;
- tranf_submit(oParam);
-
- for(var iIndex = 0 ; iIndex < ds_result_diag.rowcount ; iIndex++){
- ds_result_diag.setColumn(iIndex, "status", "0");
- }
- }
- function btn_savediag_onclick(obj:Button, e:ClickEventInfo)
- {
- var rtn1 = dsf_getDsCSV(ds_result_diag, null, "N", "status:1", "Y");
- if ( rtn1 == "N" ) {
- sysf_messageBox ( "선택된 상병이", "I004" );
- } else {
- opener.frmf_setParameter( "SPMMI01100_rtn", rtn1 );
- opener.frmf_setParameter( "SPMMI01100_rtn_useyn", "Y");
- this.close();
- }
- }
- function btn_diagcncl_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- function Grid_diag_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- for(var iIndex = 0 ; iIndex < ds_result_diag.rowcount ; iIndex++){
- ds_result_diag.setColumn(iIndex, "status", "0");
- }
-
- ds_result_diag.setColumn(Grid_diag.currentrow, "status", "1");
- }
- ]]></Script>
- </Form>
- </FDL>
|