123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAEA00920" position="absolute 0 0 1203 790" titletext="검사코드별 예약현황조회" oninit="SMAEA00920_oninit" onload="SMAEA00920_onload">
- <Layouts>
- <Layout>
- <Grid id="datagrid1" taborder="4" binddataset="ds_main_rsrvprescondlist_rsrvprescond" useinputpanel="false" position="absolute 0 96 1195 761" autoenter="select" cellsizingtype="col" anchor="all" oncelldblclick="datagrid1_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="28"/>
- <Column size="119"/>
- <Column size="65"/>
- <Column size="55"/>
- <Column size="50"/>
- <Column size="100"/>
- <Column size="51"/>
- <Column size="68"/>
- <Column size="62"/>
- <Column size="280"/>
- <Column size="50"/>
- <Column size="55"/>
- <Column size="123"/>
- <Column size="50"/>
- <Column size="40"/>
- <Column size="105"/>
- <Column size="129"/>
- <Column size="200"/>
- <Column size="200"/>
- <Column size="82"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="100"/>
- </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="S/A"/>
- <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="동의서"/>
- <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="caption1"/>
- <Cell col="21" text="caption2"/>
- <Cell col="22" text="caption3"/>
- <Cell col="23" text="외래진료예약일"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="date" style="align:left middle;padding:0 0 0 3;" text="bind:rsrvtm" mask="yyyy-MM-dd MM:mm" maskchar=" " calendardisplaynulltype="nulltext"/>
- <Cell col="2" style="align:left middle;padding:0 0 0 3;" text="bind:pid"/>
- <Cell col="3" style="align:left middle;padding:0 0 0 3;" text="bind:hngnm"/>
- <Cell col="4" style="align:left middle;padding:0 0 0 3;" text="bind:age"/>
- <Cell col="5" style="align:left middle;padding:0 0 0 3;" text="bind:basecdflagdesc"/>
- <Cell col="6" displaytype="combo" style="align:left middle;padding:0 0 0 3;" text="bind:prcpgenrflag" combodataset="ds_init2_cmb_info2_prcpgenrflag_M0010" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="7" displaytype="combo" style="align:left middle;padding:0 0 0 3;" text="bind:execprcpstatcd" combodataset="ds_init2_cmb_info2_initexecprcpstatcd_M0011" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="8" style="align:left middle;padding:0 0 0 3;" text="bind:prcpcd"/>
- <Cell col="9" style="align:left middle;padding:0 0 0 3;" text="bind:prcpnm"/>
- <Cell col="10" style="align:left middle;padding:0 0 0 3;" text="bind:specdrnm"/>
- <Cell col="11" style="align:left middle;padding:0 0 0 3;" text="bind:updnm"/>
- <Cell col="12" style="align:left middle;padding:0 0 0 3;" text="bind:upddate"/>
- <Cell col="13" style="align:center middle;padding:0 0 0 3;" text="bind:scantmplyn"/>
- <Cell col="14" style="align:center middle;padding:0 0 0 3;" text="bind:prcpqty"/>
- <Cell col="15" style="align:left middle;padding:0 0 0 3;" text="bind:usernm"/>
- <Cell col="16" displaytype="date" style="align:center middle;padding:0 0 0 3;" text="bind:prcpdd" mask="yyyy-MM-dd hh:mm" maskchar=" " calendardisplaynulltype="nulltext"/>
- <Cell col="17" style="align:left middle;padding:0 0 0 3;" text="bind:rsrvrem"/>
- <Cell col="18" style="align:left middle;padding:0 0 0 3;" text="bind:prcpdelivefact"/>
- <Cell col="19" style="align:left middle;padding:0 0 0 3;" text="bind:clinccmtcnts"/>
- <Cell col="20" style="align:left middle;padding:0 0 0 3;" text="bind:roomcd"/>
- <Cell col="21" style="align:left middle;padding:0 0 0 3;" text="bind:fromdd"/>
- <Cell col="22" style="align:left middle;padding:0 0 0 3;" text="bind:todd"/>
- <Cell col="23" displaytype="date" style="align:left middle;padding:0 0 0 3;" text="bind:orddd" mask="yyyy-MM-dd MM:mm" calendardisplaynulltype="nulltext"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption6" text="검사코드별 예약현황조회" class="tit_1" position="absolute 0 0 207 24"/>
- <Div id="group2" taborder="1" class="div_SA" position="absolute 0 24 1195 64">
- <Layouts>
- <Layout>
- <Shape id="line1" linetype="vertical" position="absolute 1119 7 1125 30" anchor="top right"/>
- <Static id="caption5" text="구분 :" class="search_name" position="absolute 300 12 365 29"/>
- <Static id="caption11" text="작업일자 :" class="search_name" position="absolute 4 11 90 28"/>
- <Button id="btn_sea" taborder="1" text="조회" class="btn1" position="absolute 1129 9 1185 31" anchor="top right" onclick="group2_btn_sea_onclick"/>
- <Calendar id="ipt_fromdd" taborder="2" class="input_default" position="absolute 79 10 180 29" autoskip="true" autoselect="true"/>
- <Calendar id="ipt_todd" taborder="3" class="input_default" position="absolute 191 11 292 30" autoselect="true"/>
- <Static id="caption1" text="-" position="absolute 181 11 191 31"/>
- <Radio id="rdo_gubun" taborder="4" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 362 8 567 31">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">챠트번호</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">검사코드</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">예약자명</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="caption3" text="처방상태 :" class="search_name" position="absolute 750 12 840 29"/>
- <Radio id="rdo_statcd" taborder="5" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 840 9 985 29">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">예약</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">그외</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Edit id="ipt_item" taborder="6" position="absolute 581 10 701 29" autoselect="true" onkeyup="group2_ipt_item_onkeyup"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape id="line2" linetype="horizontal" class="line_10" position="absolute 0 91 1195 97" anchor="left top right" onclick="line2_onclick"/>
- <Button id="btn_excel" taborder="2" text="엑셀저장" class="btn7" position="absolute 1115 72 1195 91" anchor="top right" onclick="btn_excel_onclick"/>
- <Static id="caption12" text="예약현황" class="tit_2" position="absolute 0 75 78 96"/>
- <Shape id="roundrect2" type="roundrectangle" class="roundrect_example" visible="false" position="absolute 88 72 468 91"/>
- <Edit id="opt_patientinfo" taborder="3" readonly="true" visible="false" position="absolute 88 72 468 91"/>
- <Grid id="datagrid3" taborder="6" binddataset="ds_datagrid3" useinputpanel="false" visible="false" position="absolute 645 566 865 716">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="caption1"/>
- <Cell col="1" text="caption2"/>
- </Band>
- <Band id="body">
- <Cell text="bind:basedd"/>
- <Cell col="1" text="bind:dutflag"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_temp" taborder="7" binddataset="ds_grd_temp" useinputpanel="false" visible="false" position="absolute 895 566 1070 736">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="76"/>
- <Column size="62"/>
- <Column size="32"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="일자(dd)"/>
- <Cell col="1" text="가용현황"/>
- <Cell col="2" text="max"/>
- </Band>
- <Band id="body">
- <Cell text="bind:rsrvdd"/>
- <Cell col="1" text="bind:count"/>
- <Cell col="2" text="bind:max"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_reset" taborder="8" text="초기화" class="btn4" position="absolute 1067 763 1135 785" anchor="right bottom" onclick="btn_reset_onclick"/>
- <Button id="btn_cls" taborder="9" text="닫기" class="btn4" position="absolute 1137 763 1193 785" anchor="right bottom" onclick="btn_cls_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchfromdd" type="STRING" size="256"/>
- <Column id="srchtodd" type="STRING" size="256"/>
- <Column id="suppdeptcd" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="rsrvflag" type="STRING" size="256"/>
- <Column id="excuroomcd" type="STRING" size="256"/>
- <Column id="rsrvstatcd" type="STRING" size="256"/>
- <Column id="srchinput" type="STRING" size="256"/>
- <Column id="srchgubun" type="STRING" size="256"/>
- <Column id="srchstatcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchfromdd"/>
- <Col id="srchtodd"/>
- <Col id="suppdeptcd"/>
- <Col id="orddeptcd"/>
- <Col id="rsrvflag"/>
- <Col id="excuroomcd"/>
- <Col id="rsrvstatcd"/>
- <Col id="srchinput"/>
- <Col id="srchgubun"/>
- <Col id="srchstatcd">2</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_rsrvprescondlist_rsrvprescond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="rsrvdd" type="STRING" size="256" sumtext="예약일자"/>
- <Column id="rsrvtm" type="STRING" size="256" sumtext="예약시간"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="age" type="STRING" size="256" sumtext="나이"/>
- <Column id="sex" type="STRING" size="256" sumtext="성별"/>
- <Column id="hometel" type="STRING" size="256" sumtext="집전화번호"/>
- <Column id="mpphontel" type="STRING" size="256" sumtext="휴대폰전화번호"/>
- <Column id="rcptyn" type="STRING" size="256" sumtext="수납"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="처방과"/>
- <Column id="usernm" type="STRING" size="256" sumtext="처방의사"/>
- <Column id="wardcd" type="STRING" size="256" sumtext="병동"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="병실"/>
- <Column id="excuroomcd" type="STRING" size="256" sumtext="검사실/치료실"/>
- <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
- <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
- <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
- <Column id="rsrvstatcd" type="STRING" size="256" sumtext="예약상태코드"/>
- <Column id="rsrvrem" type="STRING" size="256" sumtext="예약 comment"/>
- <Column id="ordrem" type="STRING" size="256" sumtext="처방 comment"/>
- <Column id="fromdd" type="STRING" size="256" sumtext="조회시작일자"/>
- <Column id="todd" type="STRING" size="256" sumtext="조회종료일자"/>
- <Column id="execprcpstatcd" type="STRING" size="256" sumtext="처방상태"/>
- <Column id="prcpgenrflag" type="STRING" size="256" sumtext="입원외래구분"/>
- <Column id="clinccmtcnts" type="STRING" size="256" sumtext="임상소견"/>
- <Column id="prcpdelivefact" type="STRING" size="256" sumtext="전달사항"/>
- <Column id="phonum" type="STRING" size="256" sumtext="ast_2 전화번호추가(20100324진상찬)"/>
- <Column id="basecdflagdesc" type="STRING" size="256" sumtext="검시실명"/>
- <!-- 2010.12.02 c y w 추가 -->
- <Column id="prcpdt" type="STRING" size="256" sumtext="처방일자"/>
- <Column id="excuexectodt" type="STRING" size="256" sumtext="완료일자"/>
- <Column id="wardcddeptengabbr" type="STRING" size="256" sumtext="병동약어"/>
- <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호1"/>
- <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호2"/>
- <Column id="execdt" type="STRING" size="256" sumtext="실행일자"/>
- <!-- 2011.01.27 c y w 추가 -->
- <Column id="prcpqty" type="STRING" size="256" sumtext="1일기준총수량"/>
- <Column id="orddd" type="STRING" size="256" sumtext="외래진료예약일"/>
- <!-- 2011.10.14 kya 추가 -->
- <Column id="scantmplyn" type="STRING" size="256" sumtext="동의서유무"/>
- <!-- 2011.11.07 kya 선택의 추가 -->
- <Column id="specdrnm" type="STRING" size="256" sumtext="선택의"/>
- <!-- 2012.01.09 kya 예약자, 작업일자 추가 -->
- <Column id="updnm" type="STRING" size="256" sumtext="예약자"/>
- <Column id="upddate" type="STRING" size="256" sumtext="작업일자"/>
- <Column id="dispexecprcpstatnm" type="STRING" size="256" sumtext="처방상태"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init2_cmb_info2_prcpgenrflag_M0010" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init2_cmb_info2_initexecprcpstatcd_M0011" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_globalinstance" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instance1" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_cmb_info_suppdept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="suppdeptcd" type="STRING" size="256"/>
- <Column id="depthngnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="suppdeptcd"/>
- <Col id="depthngnm"/>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.ipt_fromdd" propid="value" datasetid="ds_send" columnid="srchfromdd"/>
- <BindItem id="item1" compid="group2.ipt_todd" propid="value" datasetid="ds_send" columnid="srchtodd"/>
- <BindItem id="item2" compid="group2.rdo_gubun" propid="value" datasetid="ds_send" columnid="srchgubun"/>
- <BindItem id="item3" compid="group2.ipt_item" propid="value" datasetid="ds_send" columnid=""/>
- <BindItem id="item4" compid="group2.rdo_statcd" propid="value" datasetid="ds_send" columnid="srchstatcd"/>
- </Bind>
- <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";
- include "ast_examcurexp::AEZ0001.xjs";
- function SMAEA00920_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMAEA00920_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(datagrid1);
-
- var arrParam = [{dsNm: "ds_init2_cmb_info2_prcpgenrflag_M0010", cdGrpId: "M0010"}
- ,{dsNm: "ds_init2_cmb_info2_initexecprcpstatcd_M0011", cdGrpId: "M0011"}]
- appf_getCodeList(arrParam);
-
- ds_main_rsrvprescondlist_rsrvprescond.clearData();
-
- lf_aezfSetSuppDeptcd();
-
- ds_send_globalinstance.setColumn(0, "instance1", frmf_getParameter("AST_DEPTCD"));
-
- if(utlf_isNull(ds_init_cmb_info_suppdept.lookup("suppdeptcd", ds_send_globalinstance.getColumn("instance1"))))
- {
- ds_send.setColumn(0, "suppdeptcd", "");
- }
- else
- {
- ds_send.setColumn(0, "suppdeptcd", ds_send_globalinstance.getColumn("instance1"));
- }
- group2.ipt_fromdd.value = utlf_getCurrentDate().toDate().getAddDate(-1,"D").getDateFormat("YYYYMMDD");
- group2.ipt_todd.value = utlf_getCurrentDate().toDate().getAddDate(-1,"D").getDateFormat("YYYYMMDD");
- group2.rdo_gubun.value = "2" ;
-
- group2.ipt_item.setFocus();
- }
- function group2_ipt_item_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- group2.btn_sea.click();
- }
- }
- function group2_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- var oParam = {};
- oParam.id = "TRAEA00921";
- oParam.service = "examcurersrvapp.RsrvRef";
- oParam.method = "reqGetRsrvWorkList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_rsrvprescondlist_rsrvprescond=item";
- oParam.async = false;
- //oParam.callback = "cf_TRAEA00921";
- tranf_submit(oParam);
- }
- function datagrid1_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var main = frmf_getMainViewer();
- var scrnID = main.frmf_getScreenID();
- var pid = ds_main_rsrvprescondlist_rsrvprescond.getColumn(ds_main_rsrvprescondlist_rsrvprescond.rowposition, "pid");
-
- // if (main.document.title == "통합예약관리")
- // {
- // main.window.model.makeValue("/root/send/data/srchpid", pid);
- // main.window.javascript.navigate("SMAEA02000", "", "", "", "SMAEA02000", "/root/send/data/srchpid", "/root/send/data/srchpid");
- // }
- // else
- if(scrnID == "SMPEA00100")
- {
- main.ds_send_data.setColumn(0, "pid", pid);
- main.btn_search.click();
- }
- }
- function btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(datagrid1, "", "Sheet1", "true", "", "");
- }
- function btn_reset_onclick(obj:Button, e:ClickEventInfo)
- {
- this.reload();
- }
- function btn_cls_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|