123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPAHR00600" position="absolute 0 0 524 453" titletext="결과치출력항목선택" oninit="SPAHR00600_oninit" onload="SPAHR00600_onload">
- <Layouts>
- <Layout>
- <Shape id="line1" linetype="vertical" class="line_1" position="absolute 0 0 517 6"/>
- <Grid id="grd_testlst" taborder="1" binddataset="ds_main_resultcheck_item" autoenter="select" useinputpanel="false" cellsizingtype="col" autofittype="col" position="absolute 0 0 517 425">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22"/>
- <Column size="31"/>
- <Column size="91"/>
- <Column size="182"/>
- <Column size="189"/>
- <Column size="0"/>
- <Column size="0"/>
- </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"/>
- <Cell col="6"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:sel" expr="expr:sel == 'Y' ? 1 : 0"/>
- <Cell col="2" text="bind:testcd"/>
- <Cell col="3" text="bind:testhannm"/>
- <Cell col="4" text="bind:testengnm"/>
- <Cell col="5" text="bind:todd"/>
- <Cell col="6" text="bind:instcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_confirm" taborder="2" text="확인" class="btn4" position="absolute 403 427 459 449" onclick="btn_confirm_onclick"/>
- <Button id="btn_cancel" taborder="3" text="취소" class="btn4" position="absolute 461 427 517 449" onclick="btn_cancel_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_resultcheck_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_resultcheck_item_oncolumnchanged"/>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchinstcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_resultcheck_judginfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="healexamflag" type="STRING" size="256" sumtext="건진구분"/>
- <Column id="healexamdetlflag" type="STRING" size="256" sumtext="건진상세구분"/>
- <Column id="rsrvdd" type="STRING" size="256" sumtext="예약등록일자"/>
- <Column id="rsrvno" type="INT" size="256" sumtext="예약번호"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
- <Column id="cretno" type="INT" size="256" sumtext="생성번호"/>
- <Column id="judgdd" type="STRING" size="256" sumtext="판정일자"/>
- <Column id="judgtm" type="STRING" size="256" sumtext="판정시간"/>
- <Column id="judgdrid" type="STRING" size="256" sumtext="판정의id"/>
- <Column id="pkgcd" type="STRING" size="256" sumtext="Pkg코드"/>
- <Column id="shrthngjudgcnts" type="STRING" size="256" sumtext="판정단문내용(한글)"/>
- <Column id="shrtengjudgcnts" type="STRING" size="256" sumtext="판정단문내용(영문)"/>
- <Column id="hngjudgcnts" type="STRING" size="256" sumtext="판정장문내용(한글)"/>
- <Column id="engjudgcnts" type="STRING" size="256" sumtext="판정장문내용(영문)"/>
- <Column id="prntyn" type="STRING" size="256" sumtext="전체종합판정결과지출력여부"/>
- <Column id="rsltcnstdrid" type="STRING" size="256" sumtext="상담의사"/>
- <Column id="afhngjudgcnts" type="STRING" size="256" sumtext="추후관리 판정장문내용(한글)"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_resultcheck_afexamlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="healexamflag" type="STRING" size="256" sumtext="건진구분"/>
- <Column id="rsrvdd" type="STRING" size="256" sumtext="예약등록일자"/>
- <Column id="rsrvno" type="INT" size="256" sumtext="예약번호"/>
- <Column id="seq" type="STRING" size="256" sumtext="seq"/>
- <Column id="healexamdetlflag" type="STRING" size="256" sumtext="건진상세구분"/>
- <Column id="afnotiyn" type="STRING" size="256" sumtext="통보여부"/>
- <Column id="aftype" type="STRING" size="256" sumtext="추후검사구분"/>
- <Column id="testcd" type="STRING" size="256" sumtext="검사코드"/>
- <Column id="testnm" type="STRING" size="256" sumtext="검사명"/>
- <Column id="monthgb" type="STRING" size="256" sumtext="월구분"/>
- <Column id="afdeptcd" type="STRING" size="256" sumtext="의뢰진료과"/>
- <Column id="afdrnm" type="STRING" size="256" sumtext="의뢰의사명"/>
- <Column id="aforddd" type="STRING" size="256" sumtext="의뢰진료일자"/>
- <Column id="berslt" type="STRING" size="256" sumtext="이전결과"/>
- <Column id="afrslt" type="STRING" size="256" sumtext="이후결과"/>
- <Column id="remcnts" type="STRING" size="256" sumtext="비고"/>
- <Column id="cnstdd" type="STRING" size="256" sumtext="상담일자"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_resultcheck_itemsick" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sickcd" type="STRING" size="256" sumtext="질환코드"/>
- <Column id="sicknm" type="STRING" size="256" sumtext="질환명"/>
- <Column id="judgcd" type="STRING" size="256" sumtext="판정코드"/>
- <Column id="cmpycd" type="STRING" size="256" sumtext="업체코드"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_save_req" 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 : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- function SPAHR00600_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPAHR00600_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_testlst);
-
- fInit();
- }
- function fInit()
- {
- if( frmf_checkOpener() )
- {
- ds_main_resultcheck_item.clearData();
- ds_send.setColumn(0, "srchinstcd", sysf_getUserInfo("dutplceinstcd"));
-
- var oParam = {};
- oParam.id = "TRAHR00600";
- oParam.service = "healexamrsltjudgapp.ColgJudgInpt";
- oParam.method = "reqGetAfterColgJudgInfo";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_resultcheck_judginfo=judginfo ds_main_resultcheck_afexamlist=afexamlist ds_main_resultcheck_itemsick=itemsick";
- oParam.async = false;
- //oParam.callback = "cf_TRAHR00600";
- tranf_submit(oParam);
- }
- }
- function ds_main_resultcheck_item_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "sel")
- {
- obj.setColumn(e.row, "sel", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
- }
- function btn_cancel_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- function btn_confirm_onclick(obj:Button, e:ClickEventInfo)
- {
- fSetData();
- this.close();
- }
- function fSetData()
- {
- ds_send_save_req.copyData(ds_main_resultcheck_item);
- ds_send_save_req.clearData();
-
- for( var i = 0 ; i < ds_main_resultcheck_item.rowcount; i++)
- {
- if(ds_main_resultcheck_item.getColumn(i, "sel") == "Y")
- {
- ds_send_save_req.copyRow(ds_send_save_req.addRow(), ds_main_resultcheck_item, i);
- }
- }
- var oParam = {};
- oParam.id = "TXAHR00600";
- oParam.service = "healexamrsltjudgapp.RsltRef";
- oParam.method = "reqExePrntCheckYN";
- oParam.inds = "item=ds_send_save_req";
- oParam.outds = "ds_=item";
- oParam.async = false;
- //oParam.callback = "cf_TXAHR00600";
- tranf_submit(oParam);
- }
- ]]></Script>
- </Form>
- </FDL>
|