123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAHA03150" position="absolute 0 0 1196 782" titletext="Untitle" onload="SMAHA03150_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 25 1195 753" id="grp_biz" scrollbars="autoboth" anchor="all">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 1194 40" align="align:center top;" id="grp_sea" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Button position="absolute 1123 10 1179 32" id="btn_search" class="btn1" text="조회" anchor="top right" onclick="grp_biz_grp_sea_btn_search_onclick"/>
- <Shape position="absolute 1104 10 1110 32" linetype="vertical" id="line13" class="line_4" anchor="top right"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid position="absolute 0 45 1194 728" id="grd_stdval" binddataset="ds_main_stdval_item" anchor="all" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="80"/>
- <Column size="120"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="90"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="120"/>
- <Column size="120"/>
- </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="보조유형"/>
- <Cell col="9" text="보조유형사유"/>
- <Cell col="10" text="진료과"/>
- <Cell col="11" text="진료과코드"/>
- <Cell col="12" text="진료의"/>
- <Cell col="13" text="진료의ID"/>
- <Cell col="14" text="건진일정관리"/>
- <Cell col="15" text="결과상담일정관리"/>
- <Cell col="16" text="검사실별일정관리"/>
- <Cell col="17" text="계산"/>
- <Cell col="18" text="다중접수"/>
- <Cell col="19" text="이중접수"/>
- <Cell col="20" text="처방당일후수납여부"/>
- <Cell col="21" text="검사동의서자동출력"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="combo" edittype="combo" text="bind:stdm_healexamflag" combodataset="ds_init_A0068" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="2" displaytype="combo" edittype="combo" text="bind:stdm_healexamdetlflag" combodataset="ds_init_baseinfo_healexamdetlflaglst_item" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="3" displaytype="text" edittype="text" text="bind:stdm_instcd"/>
- <Cell col="4" displaytype="text" edittype="text" text="bind:stdm_todd"/>
- <Cell col="5" displaytype="text" edittype="text" text="bind:stdm_fromdd"/>
- <Cell col="6" displaytype="combo" edittype="combo" text="bind:stdm_addtestcalcflag"/>
- <Cell col="7" displaytype="combo" edittype="combo" text="bind:stdm_insukind"/>
- <Cell col="8" displaytype="combo" edittype="combo" text="bind:stdm_suppkind"/>
- <Cell col="9" displaytype="combo" edittype="combo" text="bind:stdm_suppkindresn"/>
- <Cell col="10" text="bind:stdm_meddeptnm"/>
- <Cell col="11" displaytype="text" edittype="text" text="bind:stdm_meddeptcd"/>
- <Cell col="12" text="bind:stdm_orddrnm"/>
- <Cell col="13" displaytype="text" edittype="text" text="bind:stdm_orddrid"/>
- <Cell col="14" displaytype="checkbox" edittype="checkbox" text="bind:stdm_totalscheyn"/>
- <Cell col="15" displaytype="checkbox" edittype="checkbox" text="bind:stdm_rsltcnstscheyn"/>
- <Cell col="16" displaytype="checkbox" edittype="checkbox" text="bind:stdm_roomscheyn"/>
- <Cell col="17" displaytype="checkbox" edittype="checkbox" text="bind:stdm_calcflag"/>
- <Cell col="18" displaytype="checkbox" edittype="checkbox" text="bind:stdm_multiacptyn" expr="expr:(stdm_multiacptyn=="Y"||stdm_multiacptyn==1)?1:0"/>
- <Cell col="19" displaytype="checkbox" edittype="checkbox" text="bind:stdm_duplacptyn" expr="expr:(stdm_duplacptyn=="Y"||stdm_duplacptyn==1)?1:0"/>
- <Cell col="20" displaytype="checkbox" edittype="checkbox" text="bind:stdm_prcptdayaftrcptyn" expr="expr:(stdm_prcptdayaftrcptyn=="Y"||stdm_prcptdayaftrcptyn==1)?1:0"/>
- <Cell col="21" displaytype="checkbox" edittype="checkbox" text="bind:stdm_examformyn" expr="expr:(stdm_examformyn=="Y"||stdm_examformyn==1)?1:0"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 0 40 1194 46" id="line3" class="line_10" anchor="left top right"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 751 1194 778" id="grp_btn" anchor="left right bottom">
- <Layouts>
- <Layout>
- <Button position="absolute 59 5 139 27" id="button8" class="btn3" text="화면이동" anchor="left bottom" visible="false"/>
- <Button position="absolute 0 5 56 27" id="btn_print" class="btn6" text="출력" anchor="left bottom" onclick="grp_btn_btn_print_onclick" visible="false"/>
- <Button position="absolute 1138 5 1194 27" id="btn_save" class="btn4" text="저장" anchor="right bottom" onclick="grp_btn_btn_save_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="건진별 기본정보 관리" class="tit_1" position="absolute 0 0 180 25"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_temp_addr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="zipcd1" type="STRING" size="256"/>
- <Column id="zipcd2" type="STRING" size="256"/>
- <Column id="addr" type="STRING" size="256"/>
- <Column id="zipcdseq" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="hidden" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="hidden"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_case_mode" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="case_mode" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="case_mode"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_stdval_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep" oncolumnchanged="ds_main_stdval_item_oncolumnchanged">
- <ColumnInfo>
- <Column id="stdm_healexamflag" type="STRING" size="256"/>
- <Column id="stdm_healexamdetlflag" type="STRING" size="256"/>
- <Column id="stdm_instcd" type="STRING" size="256"/>
- <Column id="stdm_todd" type="STRING" size="256"/>
- <Column id="stdm_fromdd" type="STRING" size="256"/>
- <Column id="stdm_addtestcalcflag" type="STRING" size="256"/>
- <Column id="stdm_insukind" type="STRING" size="256"/>
- <Column id="stdm_suppkind" type="STRING" size="256"/>
- <Column id="stdm_suppkindresn" type="STRING" size="256"/>
- <Column id="stdm_meddeptcd" type="STRING" size="256"/>
- <Column id="stdm_orddrid" type="STRING" size="256"/>
- <Column id="stdm_orddrnm" type="STRING" size="256"/>
- <Column id="stdm_totalscheyn" type="STRING" size="256"/>
- <Column id="stdm_rsltcnstscheyn" type="STRING" size="256"/>
- <Column id="stdm_roomscheyn" type="STRING" size="256"/>
- <Column id="stdm_calcflag" type="STRING" size="256"/>
- <Column id="stdm_multiacptyn" type="STRING" size="256"/>
- <Column id="stdm_duplacptyn" type="STRING" size="256"/>
- <Column id="stdm_prcptdayaftrcptyn" type="STRING" size="256"/>
- <Column id="stdm_examformyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="stdm_healexamflag"/>
- <Col id="stdm_healexamdetlflag"/>
- <Col id="stdm_instcd"/>
- <Col id="stdm_todd"/>
- <Col id="stdm_fromdd"/>
- <Col id="stdm_addtestcalcflag"/>
- <Col id="stdm_insukind"/>
- <Col id="stdm_suppkind"/>
- <Col id="stdm_suppkindresn"/>
- <Col id="stdm_meddeptcd"/>
- <Col id="stdm_orddrid"/>
- <Col id="stdm_orddrnm"/>
- <Col id="stdm_totalscheyn"/>
- <Col id="stdm_rsltcnstscheyn"/>
- <Col id="stdm_roomscheyn"/>
- <Col id="stdm_calcflag"/>
- <Col id="stdm_multiacptyn"/>
- <Col id="stdm_duplacptyn"/>
- <Col id="stdm_prcptdayaftrcptyn"/>
- <Col id="stdm_examformyn"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_assolist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="assocd" type="STRING" size="256"/>
- <Column id="assonm" type="STRING" size="256"/>
- <Column id="telno" type="STRING" size="256"/>
- <Column id="faxno" type="STRING" size="256"/>
- <Column id="zipcd1" type="STRING" size="256"/>
- <Column id="zipcd2" type="STRING" size="256"/>
- <Column id="detladdr" type="STRING" size="256"/>
- <Column id="zipcdseq" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="assocd"/>
- <Col id="assonm"/>
- <Col id="telno"/>
- <Col id="faxno"/>
- <Col id="zipcd1"/>
- <Col id="zipcd2"/>
- <Col id="detladdr"/>
- <Col id="zipcdseq"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_save" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="saveasso" type="STRING" size="256"/>
- <Column id="assoflag" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="userid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="saveasso"/>
- <Col id="assoflag"/>
- <Col id="instcd"/>
- <Col id="userid"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="srchassoflag" type="STRING" size="256"/>
- <Column id="srchinstcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchassoflag">01</Col>
- <Col id="srchinstcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_baseinfo_healexamdetlflaglst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_init_baseinfo_assocd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_init_A0068" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_init_A0070" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_init_A0069" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_init_P0008" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_init_P0010" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_init_P0032" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_send_savedrlist" 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 : 2017-12-04
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-06-19 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- //include "ast_commonxp::AST.xjs";
- //include "com_zipcodexp::ZBP001.xjs";
- //include "ast_healexamxp::AHA001.xjs";
- //include "ast_healexamxp::healexam.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 기초코드 조회
- ****************************************************************************************/
- function fGetBaseInfo(){
- // 건진기관구분
- var arrParam = [{dsNm: "ds_init_A0068", cdGrpId: "A0068"}
- ,{dsNm: "ds_init_A0069", cdGrpId: "A0069"}
- ,{dsNm: "ds_init_A0070", cdGrpId: "A0070"}
- ,{dsNm: "ds_init_P0008", cdGrpId: "P0008"}
- ,{dsNm: "ds_init_P0010", cdGrpId: "P0010"}
- ,{dsNm: "ds_init_P0032", cdGrpId: "P0032"}
- ];
- appf_getCodeList(arrParam);
- ds_init_baseinfo_healexamdetlflaglst_item.copyData(ds_init_A0069);
- dsf_copyDs(ds_init_baseinfo_healexamdetlflaglst_item, ds_init_A0070, "after");
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 조회
- ****************************************************************************************/
- function fGetStdVal(){
- ds_main_stdval_item.clearData();
- var oParam = {};
- oParam.id = "TRAHA03151";
- oParam.service = "healthexambaseapp.ComCode";
- oParam.method = "reqGetStdVal";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_stdval_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TRAHA03151";
- tranf_submit(oParam);
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 저장
- ****************************************************************************************/
- function fSaveVal() {
- if( sysf_messageBox("기준정보를 ","Q002") == 6){
- dsf_createDs("ds_send_save_savedrlist");
- var dsUpdate = grdf_getGridUpdateData(grp_biz.grd_stdval, "all");
- grdf_setStatusColumn(dsUpdate, "m");
- ds_send_save_savedrlist.copyData(dsUpdate, true);
- var oParam = {};
- oParam.id = "TXAHA03151";
- oParam.service = "healthexambaseapp.ComCode";
- oParam.method = "reqExeStdVal";
- oParam.inds = "req=ds_send_save_savedrlist";
- oParam.outds = "ds_hidden=item";
- oParam.async = false;
- oParam.callback = "cf_TXAHA03151";
- tranf_submit(oParam);
- if (arErrorCode.pop("TXAHA03151") > -1){
- fGetStdVal();
- }
- }
- }
- function cf_TXAHA03151(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
-
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SMAHA03150_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- //grdf_initGrid(grd_XXX);
- //grdf_setGridSort(grd_XXX);
- grdf_setRowTypeIcon(grp_biz.grd_stdval, 0);
- fGetBaseInfo();
- fGetStdVal();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 조회
- ****************************************************************************************/
- function grp_biz_grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo) {
- fGetStdVal();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 저장
- ****************************************************************************************/
- function grp_btn_btn_save_onclick(obj:Button, e:ClickEventInfo) {
- fSaveVal();
- sysf_messageBox("저장 ", "I002");
- }
- function ds_main_stdval_item_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid=="stdm_multiacptyn" || e.columnid=="stdm_duplacptyn" || e.columnid=="stdm_prcptdayaftrcptyn" || e.columnid=="stdm_examformyn") {
- obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
- }
-
- if(e.columnid == "healexamdetlflag") {
- var healexamdetl = dsf_getColumnNullToEmpty(obj, e.row, e.columnid);
- grp_biz.grd_stdval.valueMatrix(grp_biz.grd_stdval.row , grp_biz.grd_stdval.colRef("healexamflag")) = healexamdetl.substr(0,1);
- obj.setColumn(e.row, "healexamflag", healexamdetl.substr(0,1));
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|