123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMLPP03500" position="absolute 0 0 1256 805" titletext="수정결과조회" onload="SMLPP03500_onload" oninit="SMLPP03500_oninit">
- <Layouts>
- <Layout>
- <Static id="caption6" text="수정결과조회" class="tit_1" position="absolute 0 3 115 28"/>
- <Button id="btn_excel" taborder="1" text="EXCEL저장" class="btn7" position="absolute 1155 74 1256 94" onclick="btn_excel_onclick"/>
- <Div id="grp_sea" taborder="2" style="align:center top;" class="div_SA" position="absolute 0 30 1256 72">
- <Layouts>
- <Layout>
- <Static id="caption2" text="수정일자" class="search_name" position="absolute 8 10 76 30" anchor="default"/>
- <Calendar id="cal_fromdd" taborder="11" class="input_s_essential" position="absolute 78 10 178 30" dateformat="yyyy-MM-dd" value="null" onchanged="grp_sea_cal_fromdd_onchanged" anchor="default"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1107 5 1107 35" anchor="default"/>
- <Calendar id="cal_todd" taborder="12" class="input_s_essential" position="absolute 194 10 294 30" dateformat="yyyy-MM-dd" onchanged="grp_sea_cal_todd_onchanged" anchor="default" onkeydown="grp_sea_cal_todd_onkeydown"/>
- <Static id="caption34" text="~" class="search_no_b" position="absolute 178 10 194 30" style="align:center;" anchor="default"/>
- <Button id="btn_sea" taborder="13" text="조회" class="btn1" position="absolute 1190 10 1246 30" anchor="default" onclick="grp_sea_btn_sea_onclick"/>
- <Static id="caption1" text="등록번호" class="search_name" position="absolute 984 10 1052 30" anchor="default"/>
- <Edit id="edt_pid" taborder="14" class="input_s_essential" position="absolute 1060 10 1160 30" onkeydown="grp_sea_edt_pid_onkeydown" inputtype="number" maxlength="9" anchor="default"/>
- <Button id="button33" taborder="15" onlbuttonup="button33_onlbuttonup" class="icon_search" position="absolute 1163 10 1183 30" anchor="default" onclick="grp_sea_button33_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption9" text="수정결과 목록" class="tit_2" position="absolute 0 76 143 96"/>
- <Grid id="grd_rsltlist" taborder="3" useinputpanel="false" position="absolute 0 96 1256 805" binddataset="ds_grid_grd_rsltlist">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="30"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="240"/>
- <Column size="240"/>
- <Column size="80"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="200"/>
- <Column size="100"/>
- <Column size="120"/>
- </Columns>
- <Rows>
- <Row size="27" band="head"/>
- <Row size="106"/>
- </Rows>
- <Band id="head">
- <Cell text="선택"/>
- <Cell col="1" text="instcd"/>
- <Cell col="2" text="ptno"/>
- <Cell col="3" text="No."/>
- <Cell col="4" text="병리번호"/>
- <Cell col="5" text="pid"/>
- <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="기타내용"/>
- </Band>
- <Band id="body">
- <Cell style="align:center middle;"/>
- <Cell col="1" style="align:center middle;"/>
- <Cell col="2" style="align:center middle;"/>
- <Cell col="3" expr="expr:currow+1"/>
- <Cell col="4" style="align:center middle;" text="bind:dispptno"/>
- <Cell col="5" style="align:center middle;"/>
- <Cell col="6" style="align:left top;" text="bind:orgrslt"/>
- <Cell col="7" style="align:left top;" text="bind:newrslt"/>
- <Cell col="8" style="align:center middle;" text="bind:cnfmdd"/>
- <Cell col="9" style="align:center middle;" text="bind:cnfmtm"/>
- <Cell col="10" style="align:center middle;" text="bind:cnfmnm"/>
- <Cell col="11" style="align:center middle;" text="bind:itemnm"/>
- <Cell col="12" style="align:center middle;" text="bind:grdeitemnm"/>
- <Cell col="13" text="bind:grdecnts"/>
- <Cell col="14"/>
- <Cell col="15"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_cond_dtgbn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">수정일자</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">처방일자</Col>
- <Col id="value">2</Col>
- </Row>
- <Row>
- <Col id="label">접수일자</Col>
- <Col id="value">3</Col>
- </Row>
- <Row>
- <Col id="label">최종진단일자</Col>
- <Col id="value">4</Col>
- </Row>
- <Row>
- <Col id="label">추가진단일자</Col>
- <Col id="value">5</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_grid_grd_rsltlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <column id="choi" type="STRING" size="256"/>
- <column id="instcd" type="STRING" size="256"/>
- <column id="ptno" type="STRING" size="256"/>
- <column id="dispptno" type="STRING" size="256"/>
- <column id="pid" type="STRING" size="256"/>
- <column id="orgrslt" type="STRING" size="256"/>
- <column id="newrslt" type="STRING" size="256"/>
- <column id="cnfmdd" type="STRING" size="256"/>
- <column id="cnfmtm" type="STRING" size="256"/>
- <column id="cnfmnm" type="STRING" size="256"/>
- <column id="itemnm" type="STRING" size="256"/>
- <column id="grdeitemnm" type="STRING" size="256"/>
- <column id="grdecnts" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_data_sysdtinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sysdd" type="STRING" size="256"/>
- <Column id="systm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="환자등록번호"/>
- <Column id="bindyn" type="STRING" size="256" sumtext="환자등록번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="한글이름"/>
- <Column id="hngnm2" type="STRING" size="256" sumtext="표시이름"/>
- <Column id="engnm" type="STRING" size="256" sumtext="영문이름"/>
- <Column id="chinm" type="STRING" size="256" sumtext="영문이름"/>
- <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호앞6자리"/>
- <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호뒤7자리"/>
- <Column id="rrgstno3" type="STRING" size="256" sumtext="주민번호뒤4자리와별표3자리"/>
- <Column id="lastinsukind" type="STRING" size="256" sumtext="최근보험유형"/>
- <Column id="brthdd" type="STRING" size="256" sumtext="생년월일"/>
- <Column id="sex" type="STRING" size="256" sumtext="성별"/>
- <Column id="age" type="STRING" size="256" sumtext="나이"/>
- <Column id="bindpid" type="STRING" size="256" sumtext="합본등록번호"/>
- <Column id="hometel" type="STRING" size="256" sumtext="집전화번호"/>
- <Column id="mpphontel" type="STRING" size="256" sumtext="휴대전화번호"/>
- <Column id="etctel1" type="STRING" size="256" sumtext="기타전화번호1"/>
- <Column id="etctel2" type="STRING" size="256" sumtext="기타전화번호2"/>
- <Column id="smsaprvyn" type="STRING" size="256" sumtext="SMS전송 승인 여부"/>
- <Column id="email" type="STRING" size="256" sumtext="이메일 게정"/>
- <Column id="zipcd1" type="STRING" size="256" sumtext="우편번호 앞 3자리"/>
- <Column id="zipcd2" type="STRING" size="256" sumtext="우편번호 뒤 3자리"/>
- <Column id="zipcdseq" type="STRING" size="256" sumtext="우편일련번호"/>
- <Column id="addr" type="STRING" size="256" sumtext="기본주소"/>
- <Column id="detladdr" type="STRING" size="256" sumtext="상세주소"/>
- <Column id="btype" type="STRING" size="256" sumtext="혈액형"/>
- <Column id="rh" type="STRING" size="256" sumtext="RH혈액형"/>
- <Column id="forgeryn" type="STRING" size="256" sumtext="외국인여부"/>
- <Column id="nati" type="STRING" size="256" sumtext="국적"/>
- <Column id="psptno" type="STRING" size="256" sumtext="여권번호"/>
- <Column id="recmyn" type="STRING" size="256" sumtext="추천여부"/>
- <Column id="recmerid" type="STRING" size="256" sumtext="추천인ID"/>
- <Column id="recmernm" type="STRING" size="256" sumtext="추천인명"/>
- <Column id="recmerrela" type="STRING" size="256" sumtext="추천인과의 관계"/>
- <Column id="vipyn" type="STRING" size="256" sumtext="VIP여부"/>
- <Column id="viprem" type="STRING" size="256" sumtext="VIP비고"/>
- <Column id="religncd" type="STRING" size="256" sumtext="종교코드"/>
- <Column id="baptnm" type="STRING" size="256" sumtext="세례명"/>
- <Column id="chchnm" type="STRING" size="256" sumtext="성당명"/>
- <Column id="dethyn" type="STRING" size="256" sumtext="사망여부"/>
- <Column id="dethdt" type="STRING" size="256" sumtext="사망일시"/>
- <Column id="dethdd" type="STRING" size="256" sumtext="사망일자"/>
- <Column id="dethtm" type="STRING" size="256" sumtext="사망시간"/>
- <Column id="chosresn" type="STRING" size="256" sumtext="내원사유"/>
- <Column id="animyn" type="STRING" size="256" sumtext="동물여부"/>
- <Column id="exptresncd" type="STRING" size="256" sumtext="원외예외사유코드"/>
- <Column id="inhospyn" type="STRING" size="256" sumtext="재원여부"/>
- <Column id="handicapryn" type="STRING" size="256" sumtext="장애인여부"/>
- <Column id="pidflag" type="STRING" size="256" sumtext="등록번호구분"/>
- <Column id="remfact" type="STRING" size="256" sumtext="참고사항"/>
- <Column id="ptunyn" type="STRING" size="256" sumtext="미수안내"/>
- <Column id="lastorddd" type="STRING" size="256" sumtext="최근내원일"/>
- <Column id="lastorddeptcd" type="STRING" size="256" sumtext="최근내원과"/>
- <Column id="outuncoamt" type="STRING" size="256" sumtext="외래미수금"/>
- <Column id="dschuncoamt" type="STRING" size="256" sumtext="입원미수금"/>
- <Column id="kioskrcptnoyn" type="STRING" size="256" sumtext="무인수납불가여부"/>
- <Column id="carnum" type="STRING" size="256" sumtext="차량번호"/>
- <Column id="acptdd" type="STRING" size="256" sumtext="가예약 접수일자"/>
- <Column id="acptno" type="STRING" size="256" sumtext="가예약 접수일련번호"/>
- <Column id="patspcfyn" type="STRING" size="256" sumtext="특이환자여부"/>
- <Column id="tdaydsch" type="STRING" size="256" sumtext="특이환자여부"/>
- <Column id="mig" type="STRING" size="256" sumtext="마이그레이션여부"/>
- <Column id="scanyn" type="STRING" size="256" sumtext="동의서출력여부"/>
- <Column id="spifscanyn" type="STRING" size="256" sumtext="선택진료신청서스캔여부"/>
- <Column id="isolinfo" type="STRING" size="256" sumtext="격리환자정보"/>
- <Column id="builno" type="STRING" size="256" sumtext="도로명주소 코드"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init" 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="todd" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_sea.cal_fromdd" propid="value" datasetid="ds_init" columnid="fromdd"/>
- <BindItem id="item1" compid="grp_sea.cal_todd" propid="value" datasetid="ds_init" columnid="todd"/>
- <BindItem id="item2" compid="grp_sea.edt_pid" propid="value" datasetid="ds_init" columnid="pid"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : KU2.0
- * Job Name :
- * File Name : SMLPP03500_수정결과조회.xfdl
- * Creator :
- * Make Date : 2015-11-01
- *
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-01 DBS Converting Program(TF->XP)
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "lis_commonxp::LLZ001.xjs";
- include "lis_commonxp::LZZ001.xjs";
- var instcd = "";
- function SMLPP03500_oninit(obj:Form, e:InitEventInfo)
- {
- //폼 초기화 함수
- frmf_initForm(obj);
- grdf_initGrid(grd_rsltlist);
- }
- function SMLPP03500_onload(obj:Form, e:LoadEventInfo)
- {
- fExeInitialize();
- }
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components :
- * Components ID : model1
- * Event : lf_setInit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 초기화 함수
- ****************************************************************************************/
- function fExeInitialize()
- {
-
- var sCurDate = "";
- instcd = sysf_getUserInfo("dutplceinstcd");
- dsf_createDsRow("ds_temp_search" , [{col: "instcd", val:instcd } ]);
- // 서브밋호출
- var oParam = {};
- oParam.id = "TRLPZ00102";
- oParam.service = "plgycomnusemngtapp.BaseInfoCode";
- oParam.method = "reqGetSystemDateTimeInformation";
- oParam.inds = "refData=ds_temp_search";
- oParam.outds = "ds_data_sysdtinfo=sysdtinfo";
- oParam.async = false;
- //oParam.callback = "cbf_SMLPP03500";
- tranf_submit(oParam);
-
- // 조회조건 초기화
- var sCurDate = ds_data_sysdtinfo.getColumn(0, "sysdd"); // 등록일자(From)
- var curDt = utlf_addDate(sCurDate, -7);
- ds_init.setColumn(0, "fromdd", curDt);
- ds_init.setColumn(0, "todd", sCurDate);
-
-
- }
- /****************************************************************************************
- * Components :
- * Components ID : btn_search
- * Event : onlbuttonup
- * Argument : 01.btnflag :
- * : 02. :
- * Description : 수정결과 목록조회
- ****************************************************************************************/
- function fGetUpdtRsltList()
- {
- dsf_createDsRow("ds_send", [{col : "fromdd", val : ds_init.getColumn(0, "fromdd")}
- ,{col : "todd", val : ds_init.getColumn(0, "todd")}
- ,{col : "pid", val : ds_init.getColumn(0, "pid")}]);
-
- //submit("TRLPP03501");
- var oParam = {};
- oParam.id = "TRLPP03501";
- oParam.service = "plgyrefmngtapp.AcptSpecRef";
- oParam.method = "reqGetUpdtRsltList";
- oParam.inds = "refData=ds_send";
- oParam.outds = "ds_grid_grd_rsltlist=refrslt";
- oParam.async = false;
- //oParam.callback = "cf_TRLPP03501";
- tranf_submit(oParam);
- }
- // 등록번호 조회값 입력 처리
- function exeRefValKeyPress()
- {
- grp_sea.edt_pid.value = utlf_lPad(grp_sea.edt_pid.value, 9, "0");
- fGetUpdtRsltList();
- }
- // 그리드 자료 Excel로 저장 처리 function
- function exeSaveToExcel()
- {
- if (ds_grid_grd_rsltlist.rowcount > 0)
- {
- grdf_exportExcel(grd_rsltlist,lf_lisGetTitle(this), "sheet1", false);
- }
- else
- {
- sysf_messageBox("저장할 내용이","I004","");
- }
-
- }
- /****************************************************************************************
- * Components :
- * Components ID : edt_pid
- * Event :
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 등록번호 enter key 이벤트
- ****************************************************************************************/
- function grp_sea_edt_pid_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- exeRefValKeyPress();
- }
- }
- /****************************************************************************************
- * Components :
- * Components ID : button33
- * Event : onlbuttonup
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : SPPMC02500_환자조회 POPUP 호출
- ****************************************************************************************/
- function button33_onlbuttonup(obj:Button, e:MouseEventInfo)
- {
- var sPid = "";
- var objArg = new Object();
-
- frmf_modal("SPPMC02500","SPPMC02500","","",1,150,150,"","","","","","M");
-
- if (frmf_getParameter("SPPMC02500_popupendflag") == "ok")
- {
- sPid = ds_patinfolist.getColumn(0,"pid");
-
- if (utlf_isNull(sPid) || sPid == " ")
- {
- return;
- }
- var srchpid = sPid;
- }
- }
- /****************************************************************************************
- * Components :
- * Components ID : btn_close
- * Event : onlbuttonup
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 닫기 버튼
- ****************************************************************************************/
- function btn_close_onlbuttonup(obj:Button, e:MouseEventInfo)
- {
- group1.visible = false;
- }
- /****************************************************************************************
- * Components :
- * Components ID: btn_popclose
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : x 버튼
- ****************************************************************************************/
- function group1_btn_popclose_onclick(obj:Button, e:ClickEventInfo)
- {
- group1.visible = false;
- }
- /****************************************************************************************
- * Components :
- * Components ID: cal_fromdd
- * Event : onchanged
- * Argument : 01.obj : Calendar
- * : 02.e : Event ChangeEventInfo
- * Description : From 일자 변경시 Validation 체크
- ****************************************************************************************/
- function grp_sea_cal_fromdd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- gf_checkFromToDate("FROM", grp_sea.cal_fromdd, grp_sea.cal_todd, null);
- }
- /****************************************************************************************
- * Components :
- * Components ID: cal_todd
- * Event : onchanged
- * Argument : 01.obj : Calendar
- * : 02.e : Event ChangeEventInfo
- * Description : To 일자 변경시 Validation 체크
- ****************************************************************************************/
- function grp_sea_cal_todd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- gf_checkFromToDate("TO", grp_sea.cal_fromdd, grp_sea.cal_todd, null);
- }
- function btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- exeSaveToExcel();
- }
- //조회
- function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetUpdtRsltList();
- }
- function grp_sea_cal_todd_onkeydown(obj:Calendar, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- fGetUpdtRsltList();
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|