123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPARC02100" classname="SPARC02100_의뢰환자조회" inheritanceid="" position="absolute 0 0 876 478" titletext="의뢰환자조회" onload="SPARC02100_onload" oninit="SPARC02100_oninit">
- <Layouts>
- <Layout>
- <Div id="group1" taborder="0" style="align: top;" position="absolute 0 24 870 65" class="div_SA">
- <Layouts>
- <Layout>
- <Button id="btn_search" taborder="1" text="조회" class="btn1" position="absolute 801 10 857 32" anchor="default" onclick="group1_btn_search_onclick"/>
- <Shape id="line8" linetype="vertical" class="line_4" position="absolute 782 5 785 37" anchor="default"/>
- <Static id="caption4" text="등록번호 :" class="search_name" position="absolute 11 13 105 30" anchor="default"/>
- <Static id="caption3" text="의뢰병원 :" class="search_name" position="absolute 323 13 422 30" anchor="default" visible="false"/>
- <Edit id="ipt_coophospnm" taborder="6" class="input_search" position="absolute 401 11 509 30" anchor="default" autoselect="true" visible="false"/>
- <Edit id="ipt_drnm" taborder="7" class="input_search" position="absolute 101 11 201 30" anchor="default" enable="false" onkeydown="group1_ipt_drnm_onkeydown"/>
- <Edit id="ipt_drnm00" taborder="8" class="input_search" position="absolute 202 11 302 30" anchor="default" enable="false"/>
- <Static id="caption00" text="의뢰의사 :" class="search_name" position="absolute 547 13 646 30" anchor="default" visible="false"/>
- <Edit id="input4" taborder="9" class="input_search" position="absolute 633 11 741 30" anchor="default" autoselect="true" visible="false"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption2" text="의뢰환자조회" class="tit_1" position="absolute 0 0 158 24"/>
- <Static id="caption8" text="의뢰환자 리스트" class="tit_2" position="absolute 0 79 139 101"/>
- <Grid id="grd_list" taborder="1" useinputpanel="false" position="absolute 0 100 871 455" binddataset="ds_main_list_reqlist" autofittype="col" autoenter="select" cellsizingtype="col" oncelldblclick="grd_list_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="23"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="137"/>
- <Column size="80"/>
- <Column size="171"/>
- <Column size="71"/>
- <Column size="95"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="normal" text="등록번호"/>
- <Cell col="2" displaytype="normal" text="환자명"/>
- <Cell col="3" displaytype="normal" text="의뢰일자"/>
- <Cell col="4" displaytype="normal" text="진료일자"/>
- <Cell col="5" displaytype="normal" text="진료과"/>
- <Cell col="6" displaytype="normal" text="진료의사"/>
- <Cell col="7" displaytype="normal" text="의뢰병원"/>
- <Cell col="8" displaytype="normal" text="의뢰의사"/>
- <Cell col="9" displaytype="normal" text="의뢰번호"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="normal" text="bind:pid"/>
- <Cell col="2" displaytype="normal" text="bind:hngnm"/>
- <Cell col="3" displaytype="date" text="bind:reqdd" calendardisplaynulltype="nulltext"/>
- <Cell col="4" displaytype="date" text="bind:orddd" calendardisplaynulltype="nulltext"/>
- <Cell col="5" displaytype="normal" text="bind:orddeptnm"/>
- <Cell col="6" displaytype="normal" text="bind:orddrnm"/>
- <Cell col="7" displaytype="normal" text="bind:coophospnm"/>
- <Cell col="8" displaytype="normal" text="bind:drnm"/>
- <Cell col="9" displaytype="normal" text="bind:reqpseqno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_confirm" taborder="2" text="확인" position="absolute 751 456 810 476" class="btn4" onclick="btn_confirm_onclick"/>
- <Button id="btn_cancel" taborder="3" text="취소" class="btn4" position="absolute 812 456 871 476" onclick="btn_cancel_onclick"/>
- <Shape id="line8" class="line_1" position="absolute 0 95 870 101" style="strokepen:3 solid #33bbbbff;"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send_search" 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="hngnm" type="STRING" size="256"/>
- <Column id="coophospnm" type="STRING" size="256"/>
- <Column id="drnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="hngnm"/>
- <Col id="coophospnm"/>
- <Col id="drnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_list_reqlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="reqdd" type="STRING" size="256" sumtext="의뢰일자"/>
- <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
- <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과"/>
- <Column id="orddrnm" type="STRING" size="256" sumtext="진료의사"/>
- <Column id="coophospnm" type="STRING" size="256" sumtext="의뢰병원"/>
- <Column id="drnm" type="STRING" size="256" sumtext="의뢰의사"/>
- <Column id="cretno" type="INT" size="256" sumtext="원무생성번호"/>
- <Column id="acptseqno" type="INT" size="256" sumtext="등록이력번호"/>
- <Column id="seqno" type="INT" size="256" sumtext="의뢰일련번호"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
- <Column id="orddrid" type="STRING" size="256" sumtext="진료의사코드"/>
- <Column id="coophospcd" type="STRING" size="256" sumtext="협력병원코드"/>
- <Column id="coopdrcd" type="STRING" size="256" sumtext="협력의사코드"/>
- <Column id="fromdd" type="STRING" size="256" sumtext="협력의사시작일자"/>
- <Column id="chospath" type="STRING" size="256" sumtext="내원경로"/>
- <Column id="fsexamflag" type="STRING" size="256" sumtext="초재진구분"/>
- <Column id="reqtype" type="STRING" size="256" sumtext="의뢰형태"/>
- <Column id="cptype" type="STRING" size="256" sumtext="CP형태"/>
- <Column id="reqpath" type="STRING" size="256" sumtext="의뢰경로"/>
- <Column id="replmthd" type="STRING" size="256" sumtext="회신방법"/>
- <Column id="enddd" type="STRING" size="256" sumtext="완료일자"/>
- <Column id="repltype" type="STRING" size="256" sumtext="회신유형"/>
- <Column id="rgstdd" type="STRING" size="256" sumtext="등록일자"/>
- <Column id="endflag" type="STRING" size="256" sumtext="완료구분"/>
- <Column id="replflag" type="STRING" size="256" sumtext="회신서동의여부"/>
- <Column id="endtype" type="STRING" size="256" sumtext="완료형태"/>
- <Column id="cc" type="STRING" size="256" sumtext="주호소"/>
- <Column id="rem" type="STRING" size="256" sumtext="참고사항"/>
- <Column id="fstprntdt" type="STRING" size="256" sumtext="1차회신출력일시"/>
- <Column id="indschprntdt" type="STRING" size="256" sumtext="입퇴원회신출력일시"/>
- <Column id="reqpseqno" type="STRING" size="256" sumtext="1차기관 의뢰번호"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group1.ipt_drnm" propid="value" datasetid="ds_send_search" columnid="pid"/>
- <BindItem id="item1" compid="group1.ipt_drnm00" propid="value" datasetid="ds_send_search" columnid="hngnm"/>
- <BindItem id="item2" compid="group1.ipt_coophospnm" propid="value" datasetid="ds_send_search" columnid="coophospnm"/>
- <BindItem id="item3" compid="group1.input4" propid="value" datasetid="ds_send_search" columnid="coophospnm"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2019-08-23
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2019-08-23 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs"
- function SPARC02100_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPARC02100_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_list);
-
- fInit();
- }
- function fInit()
- {
- // 공통코드 목록 가져오기
- var arrParam = [{dsNm: "ds_init_hospgrade_A0429", cdGrpId: "A0429" }
- ,{dsNm: "ds_init_areacd_A0426", cdGrpId: "A0426" }];
- appf_getCodeList(arrParam, true);
-
- ds_main_list_reqlist.clearData();
-
- if (frmf_checkOpener())
- {
- var pid = opener.frmf_getParameter("pid");
- var hngnm = opener.frmf_getParameter("hngnm");
-
- ds_send_search.setColumn(0, "pid", pid);
- ds_send_search.setColumn(0, "hngnm", hngnm);
- }
- else
- {
- sysf_messageBox("상위화면이 변경되어 데이터를 전달할 수 ", "I004");
- }
-
- if (!utlf_isNull(ds_send_search.getColumn(0, "pid")))
- {
- fSearch();
- }
- }
- function fSearch()
- {
- var oParam = {};
- oParam.id = "TRARC02101";
- oParam.service = "healcarecoopapp.ReqMngt";
- oParam.method = "reqGetReqPopupList";
- oParam.inds = "req=ds_send_search";
- oParam.outds = "ds_main_list_reqlist=reqlist";
- oParam.async = false;
- oParam.callback = "cf_TRARC02101";
- tranf_submit(oParam);
- }
- function cf_TRARC02101(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0)
- {
- sysf_messageBox("조회를", "E009");
- return;
- }
- }
- function group1_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- fSearch();
- }
- function grd_list_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- fConfirm();
- }
- function fConfirm()
- {
- if (ds_main_list_reqlist.rowcount == 0) return;
- if (ds_main_list_reqlist.rowposition < 0) return;
- if ( frmf_checkOpener() )
- {
- var row = ds_main_list_reqlist.rowposition;
-
- if( row >= 0 )
- {
- opener.ds_reqhospinfo.copyData(ds_main_list_reqlist);
- opener.ds_reqhospinfo.clearData();
- opener.ds_reqhospinfo.copyRow(opener.ds_reqhospinfo.addRow(), ds_main_list_reqlist, row);
-
- this.close(true);
- }
- }
- else
- {
- sysf_messageBox("상위화면이 변경되어 데이터를 가져올 수", "I004");
- }
- }
- function btn_confirm_onclick(obj:Button, e:ClickEventInfo)
- {
- fConfirm();
- }
- function btn_cancel_onclick(obj:Button, e:ClickEventInfo)
- {
- if (frmf_checkOpener())
- {
- this.close(false);
- }
- this.close(false);
- }
- ]]></Script>
- </Form>
- </FDL>
|