123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAEA05400" position="absolute 0 0 1197 762" titletext="검사 예약 변경 조회" oninit="SMAEA05400_oninit" onload="SMAEA05400_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="검사 예약변경/취소 내역 조회" class="tit_1" position="absolute 0 0 233 23"/>
- <Tab id="switch1" taborder="1" tabindex="0" position="absolute 0 109 1195 753" anchor="all">
- <Tabpages>
- <Tabpage id="case1" text="미확인내역">
- <Layouts>
- <Layout>
- <Grid id="grd_rsrvcnclprescond" taborder="0" binddataset="ds_main_rsrvupdtpreslist_rsrvupdtpresinfo" useinputpanel="false" position="absolute 1 11 1191 596" cellsizingtype="col" anchor="all" autoenter="select">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22"/>
- <Column size="28"/>
- <Column size="70"/>
- <Column size="58"/>
- <Column size="72"/>
- <Column size="132"/>
- <Column size="99"/>
- <Column size="210"/>
- <Column size="0"/>
- <Column size="43"/>
- <Column size="88"/>
- <Column size="105"/>
- <Column size="105"/>
- <Column size="115"/>
- <Column size="125"/>
- <Column size="75"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1"/>
- <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="변경/취소일시"/>
- <Cell col="14" text="사유"/>
- <Cell col="15" text="변경/취소자"/>
- <Cell col="16" text="예약자"/>
- <Cell col="17" text="치료사"/>
- <Cell col="18" text="2"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chkflag" expr="expr:chkflag == 'Y' ? 1 : 0"/>
- <Cell col="2" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:pid"/>
- <Cell col="3" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:hngnm"/>
- <Cell col="4" displaytype="date" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:prcpdd" calendardisplaynulltype="nulltext"/>
- <Cell col="5" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:prcpdept" calendardisplaynulltype="nulltext"/>
- <Cell col="6" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:prcpcd" calendardisplaynulltype="nulltext"/>
- <Cell col="7" style="align:left top;padding:2 2 2 2;background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:prcpnm" wordwrap="word"/>
- <Cell col="8" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:execprcpstatcd"/>
- <Cell col="9" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:state"/>
- <Cell col="10" style="align:left top;padding:2 2 2 2;background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:excuroom" wordwrap="word"/>
- <Cell col="11" displaytype="date" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:rsrvdt" mask="yyyy-MM-dd hh:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="12" displaytype="date" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:updtaft" mask="yyyy-MM-dd hh:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="13" displaytype="date" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:cnclhistdt" mask="yyyy-MM-dd hh:mm:ss" calendardisplaynulltype="nulltext"/>
- <Cell col="14" style="align:left top;padding:2 2 2 2;background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:cnclresncd" wordwrap="word"/>
- <Cell col="15" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:cnclhistid"/>
- <Cell col="16" text="bind:rsrvrid"/>
- <Cell col="17" text="bind:execrid"/>
- <Cell col="18" text="bind:execprcpuniqno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case2" text="확인내역">
- <Layouts>
- <Layout>
- <Grid id="grd_rsrvcnfmprescond" taborder="0" binddataset="ds_main_rsrvupdtcnfmlst_rsrvupdtpresinfo" useinputpanel="false" position="absolute 1 11 1191 596" cellsizingtype="col" anchor="all" autoenter="select">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="23"/>
- <Column size="28"/>
- <Column size="70"/>
- <Column size="58"/>
- <Column size="72"/>
- <Column size="132"/>
- <Column size="99"/>
- <Column size="210"/>
- <Column size="0"/>
- <Column size="43"/>
- <Column size="88"/>
- <Column size="105"/>
- <Column size="105"/>
- <Column size="115"/>
- <Column size="125"/>
- <Column size="75"/>
- <Column size="63"/>
- <Column size="115"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1"/>
- <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="변경/취소일시"/>
- <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="2"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chkflag" expr="expr:chkflag == 'Y' ? 1 : 0"/>
- <Cell col="2" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:pid"/>
- <Cell col="3" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:hngnm"/>
- <Cell col="4" displaytype="date" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:prcpdd" calendardisplaynulltype="nulltext"/>
- <Cell col="5" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:prcpdept"/>
- <Cell col="6" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:prcpcd"/>
- <Cell col="7" style="align:left middle;background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:prcpnm" wordwrap="word"/>
- <Cell col="8" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:execprcpstatcd"/>
- <Cell col="9" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:state"/>
- <Cell col="10" style="align:left middle;background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:excuroom" wordwrap="word"/>
- <Cell col="11" displaytype="date" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:rsrvdt" mask="yyyy-MM-dd hh:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="12" displaytype="date" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:updtaft" mask="yyyy-MM-dd hh:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="13" displaytype="date" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:cnclhistdt" mask="yyyy-MM-dd hh:mm:ss" calendardisplaynulltype="nulltext"/>
- <Cell col="14" style="align:left middle;background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:cnclresncd" wordwrap="word"/>
- <Cell col="15" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:cnclhistid"/>
- <Cell col="16" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:cnfmmanid"/>
- <Cell col="17" displaytype="date" style="background:EXPR(state == '취소' ? '#FAEBD7' : '' );background2:EXPR(state == '취소' ? '#FAEBD7' : '' );" text="bind:cnfmdt" mask="yyyy-MM-dd hh:mm:ss" calendardisplaynulltype="nulltext"/>
- <Cell col="18" text="bind:rsrvrid"/>
- <Cell col="19" text="bind:execrid"/>
- <Cell col="20" text="bind:execprcpuniqno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Shape id="line2" class="line_10" position="absolute 0 142 1195 148" anchor="left top right"/>
- <Static id="caption9" text="예약변경/취소 내역현황" class="tit_2" position="absolute 0 89 170 110"/>
- <Button id="btn_cnfm" taborder="3" text="확인" class="btn4" position="absolute 1078 735 1134 757" anchor="right bottom" onclick="btn_cnfm_onclick"/>
- <Button id="btn_close" taborder="4" text="닫기" class="btn4" position="absolute 1136 735 1192 757" anchor="right bottom" onclick="btn_close_onclick"/>
- <Div id="grp_sea" taborder="5" class="div_SA" position="absolute 0 23 1194 83" anchor="left top right">
- <Layouts>
- <Layout>
- <Static id="caption3" text="조회구분 :" class="search_name" position="absolute 10 18 100 35" anchor="default"/>
- <Calendar id="ipt_startrsrvdd" taborder="4" class="input_default" position="absolute 320 18 410 37" anchor="default" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd"/>
- <Calendar id="ipt_endrsrvdd" taborder="5" class="input_default" position="absolute 432 18 522 37" anchor="default" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd" value="null"/>
- <Static id="caption4" text="등록번호 :" class="search_name" position="absolute 570 34 656 51" anchor="default"/>
- <Button id="btn_sea" taborder="6" text="조회" class="btn1" position="absolute 1120 20 1176 42" anchor="top right" onclick="grp_sea_btn_sea_onclick"/>
- <Edit id="ipt_pid" taborder="7" position="absolute 660 33 770 52" anchor="default" autoselect="true" onkeyup="grp_sea_ipt_pid_onkeyup"/>
- <Static id="caption2" text="~" position="absolute 417 18 435 37" anchor="default"/>
- <Static id="caption10" text="지원부서 :" class="search_name" position="absolute 570 8 656 25" anchor="default"/>
- <Static id="caption12" text="검사/치료실 :" class="search_name" position="absolute 840 8 946 25" anchor="default"/>
- <Combo id="cmb_deptcd" taborder="8" innerdataset="@ds_init_cmb_info_suppdept" codecolumn="suppdeptcd" datacolumn="depthngnm" position="absolute 660 7 795 26" anchor="default" enable="false" onitemchanged="grp_sea_cmb_deptcd_onitemchanged"/>
- <Combo id="cmb_excuroom" taborder="9" innerdataset="@ds_init_cmb_info_initexecroom" class="combo_default" position="absolute 955 6 1080 25" anchor="default" datacolumn="basecdflagdesc" codecolumn="basecd" onitemchanged="grp_sea_cmb_excuroom_onitemchanged"/>
- <Button id="button61" taborder="10" class="icon_search" position="absolute 775 34 791 50" anchor="default" onclick="grp_sea_button61_onclick"/>
- <Combo id="cmb_srchflag" taborder="11" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 94 17 212 36" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">C</Col>
- <Col id="datacolumn">변경/취소일자</Col>
- </Row>
- <Row>
- <Col id="codecolumn">P</Col>
- <Col id="datacolumn">처방일자</Col>
- </Row>
- <Row>
- <Col id="codecolumn">R</Col>
- <Col id="datacolumn">예약일자</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static id="caption1" text="조회기간 :" class="search_name" position="absolute 230 19 320 36" anchor="default"/>
- <Edit id="ipt_patnm" taborder="12" readonly="true" position="absolute 800 33 871 52" anchor="default" enable="false"/>
- <Edit id="output1" taborder="13" readonly="true" position="absolute 875 33 910 52" anchor="default" enable="false"/>
- <Edit id="output2" taborder="14" readonly="true" position="absolute 915 33 950 52" anchor="default" enable="false"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1102 9 1108 54" anchor="top right"/>
- <Shape id="line1" linetype="vertical" class="line_4" position="absolute 547 7 553 52" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- </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="ddflag" type="STRING" size="256"/>
- <Column id="fromdate" type="STRING" size="256"/>
- <Column id="todate" type="STRING" size="256"/>
- <Column id="suppdeptcd" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="wardcd" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="juminno" type="STRING" size="256"/>
- <Column id="patnm" type="STRING" size="256"/>
- <Column id="gb" type="STRING" size="256"/>
- <Column id="excuroomcd" type="STRING" size="256"/>
- <Column id="basesuppdeptcd" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="rbasecdflag" type="STRING" size="256"/>
- <Column id="ebasecdflag" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="initflag" type="STRING" size="256"/>
- <Column id="alladdyn" type="STRING" size="256"/>
- <Column id="srchflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="ddflag"/>
- <Col id="fromdate"/>
- <Col id="todate"/>
- <Col id="suppdeptcd"/>
- <Col id="orddeptcd"/>
- <Col id="wardcd"/>
- <Col id="pid"/>
- <Col id="juminno"/>
- <Col id="patnm"/>
- <Col id="gb"/>
- <Col id="excuroomcd"/>
- <Col id="basesuppdeptcd"/>
- <Col id="sex"/>
- <Col id="age"/>
- <Col id="srchflag">C</Col>
- </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="depthngnm" type="STRING" size="256"/>
- <Column id="suppdeptcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_info_initexecroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="basecd" type="STRING" size="256"/>
- <Column id="basecdflagdesc" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_rsrvupdtpreslist_rsrvupdtpresinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chkflag" type="STRING" size="256" sumtext="선택여부"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
- <Column id="prcpdept" type="STRING" size="256" sumtext="처방과"/>
- <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
- <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
- <Column id="state" type="STRING" size="256" sumtext="상태"/>
- <Column id="rsrvdt" type="STRING" size="256" sumtext="예약일"/>
- <Column id="updtaft" type="STRING" size="256" sumtext="변경후"/>
- <Column id="cnclhistdt" type="STRING" size="256" sumtext="취소/변경일시"/>
- <Column id="cnclresncd" type="STRING" size="256" sumtext="취소사유"/>
- <Column id="cnclhistid" type="STRING" size="256" sumtext="취소/변경일시"/>
- <Column id="excuroom" type="STRING" size="256" sumtext="치료실"/>
- <Column id="rsrvrid" type="STRING" size="256" sumtext="처방의사"/>
- <Column id="execprcpuniqno" type="STRING" size="256" sumtext="유일번호"/>
- <Column id="execprcpstatcd" type="STRING" size="256" sumtext="처방상태"/>
- <Column id="seq" type="STRING" size="256" sumtext="처방상태"/>
- <Column id="execdt" type="STRING" size="256" sumtext="실시일시"/>
- <Column id="execrid" type="STRING" size="256" sumtext="치료사"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_rsrvupdtcnfmlst_rsrvupdtpresinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chkflag" type="STRING" size="256" sumtext="선택여부"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
- <Column id="prcpdept" type="STRING" size="256" sumtext="처방과"/>
- <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
- <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
- <Column id="state" type="STRING" size="256" sumtext="상태"/>
- <Column id="rsrvdt" type="STRING" size="256" sumtext="예약일"/>
- <Column id="updtaft" type="STRING" size="256" sumtext="변경후"/>
- <Column id="cnclhistdt" type="STRING" size="256" sumtext="취소/변경일시"/>
- <Column id="cnclresncd" type="STRING" size="256" sumtext="취소사유"/>
- <Column id="cnclhistid" type="STRING" size="256" sumtext="취소/변경일시"/>
- <Column id="excuroom" type="STRING" size="256" sumtext="치료실"/>
- <Column id="rsrvrid" type="STRING" size="256" sumtext="처방의사"/>
- <Column id="execprcpuniqno" type="STRING" size="256" sumtext="유일번호"/>
- <Column id="execprcpstatcd" type="STRING" size="256" sumtext="처방상태"/>
- <Column id="seq" type="STRING" size="256" sumtext="처방상태"/>
- <Column id="execdt" type="STRING" size="256" sumtext="실시일시"/>
- <Column id="execrid" type="STRING" size="256" sumtext="치료사"/>
- <Column id="cnfmmanid" type="STRING" size="256" sumtext="확인자"/>
- <Column id="cnfmdt" type="STRING" size="256" sumtext="확인일시"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_data2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchcond" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="autoflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_patinfolist" 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="patnm" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_sea.cmb_srchflag" propid="value" datasetid="ds_send" columnid="srchflag"/>
- <BindItem id="item1" compid="grp_sea.ipt_startrsrvdd" propid="value" datasetid="ds_send" columnid="fromdate"/>
- <BindItem id="item2" compid="grp_sea.ipt_endrsrvdd" propid="value" datasetid="ds_send" columnid="todate"/>
- <BindItem id="item3" compid="grp_sea.cmb_deptcd" propid="value" datasetid="ds_send" columnid="suppdeptcd"/>
- <BindItem id="item4" compid="grp_sea.ipt_pid" propid="value" datasetid="ds_send" columnid="pid"/>
- <BindItem id="item5" compid="grp_sea.ipt_patnm" propid="value" datasetid="ds_send" columnid="patnm"/>
- <BindItem id="item6" compid="grp_sea.output1" propid="value" datasetid="ds_send" columnid="sex"/>
- <BindItem id="item7" compid="grp_sea.output2" propid="value" datasetid="ds_send" columnid="age"/>
- <BindItem id="item8" compid="grp_sea.cmb_excuroom" propid="value" datasetid="ds_send" columnid="excuroomcd"/>
- </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";
- var vSuppdeptcd ;
- function SMAEA05400_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMAEA05400_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(switch1.case1.grd_rsrvcnclprescond);
- grdf_initGrid(switch1.case2.grd_rsrvcnfmprescond);
-
- lf_aezfSetSuppDeptcd();
-
- vSuppdeptcd = frmf_getPrestDeptCd();
- ds_send.setColumn(0, "suppdeptcd", vSuppdeptcd);
- ds_send.setColumn(0, "basesuppdeptcd", vSuppdeptcd);
-
- dsf_setFixVal(ds_send, "rbasecdflag:R,ebasecdflag:E,initflag:1");
-
- var oParam = {};
- oParam.id = "TRAEA01301";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetInitExamCureRoomGrpCodeList";
- oParam.inds = "reqparam=ds_send";
- oParam.outds = "ds_init_cmb_info_initexecroom=initexcuroom ds_init_cmb_info_suppdept=suppdept";
- oParam.async = false;
- //oParam.callback = "cf_TRAEA01301";
- tranf_submit(oParam);
-
- if(utlf_isNull(ds_init_cmb_info_suppdept.lookup("suppdeptcd", vSuppdeptcd, "depthngnm")))
- {
- ds_send.setColumn(0, "suppdeptcd", "");
- }
- else
- {
- grp_sea.cmb_deptcd.enable = false;
- }
- if(frmf_checkOpener())
- {
- ds_send.setColumn(0, "pid", sPid);
- ds_send.setColumn(0, "fromdate", sFromdd);
- ds_send.setColumn(0, "todate", sTodd);
-
- if(utlf_isNull(ds_send.getColumn(0, "fromdate")))
- {
- ds_send.setColumn(0, "fromdate", utlf_getCurrentDate());
- ds_send.setColumn(0, "todate", utlf_getCurrentDate());
- }
- }
- else
- {
- ds_send.setColumn(0, "fromdate", utlf_getCurrentDate().toDate().getAddDate(-5,"D").getDateFormat("YYYYMMDD"));
- ds_send.setColumn(0, "todate", utlf_getCurrentDate());
- }
-
- var menuparam = frmf_getMenuParam();//var menuparam = ds_properties_menu.getValue("/root/properties/menu/menuparam");
-
- if (menuparam != "M")
- {
- readfunc();
- }
- else
- {
- }
- }
- function readfunc()
- {
- var pid = ds_send.getColumn(0, "pid");
- if (utlf_isNull(pid))
- {
- ds_send.setColumn(0, "patnm", "");
- ds_send.setColumn(0, "sex", "");
- ds_send.setColumn(0, "age", "");
- }
-
- var _frdt = ds_send.getColumn(0, "fromdate");
- var _todt = ds_send.getColumn(0, "todate");
-
- if ( utlf_isNull(_frdt) && !utlf_isNull(_todt))
- {
- sysf_messageBox("검색하실 날짜 범위의 시작 일자를 입력해 주십시오." , "I999");
- grp_sea.ipt_startrsrvdd.setFocus();
-
- return;
- }
- if ( !utlf_isNull(_frdt) && utlf_isNull(_todt))
- {
- sysf_messageBox("검색하실 날짜 범위의 마지막 일자를 입력해 주십시오." , "I999");
- grp_sea.ipt_endrsrvdd.setFocus();
- return;
- }
- if ( utlf_getDateInterval(_frdt, _todt) < 0 )
- {
- sysf_messageBox("입력하신 날짜 범위로는 검색할 수 없습니다. 기준일자를 확인해 주십시오." , "I999");
- grp_sea.ipt_startrsrvdd.setFocus();
- return;
- }
-
- ds_main_rsrvupdtcnfmlst_rsrvupdtpresinfo.clearData();
- ds_main_rsrvupdtpreslist_rsrvupdtpresinfo.clearData();
-
- var state = "";
- if (switch1.tabindex == 0)
- {
- dsf_setFixVal(ds_send, "cnfmflag:N");
-
- var oParam = {};
- oParam.id = "TRAEA05401";
- oParam.service = "examcurersrvapp.RsrvRef";
- oParam.method = "reqGetRsrvUpdtCnclPresInfo";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_rsrvupdtpreslist_rsrvupdtpresinfo=item";
- oParam.async = false;
- //oParam.callback = "cf_TRAEA05401";
- tranf_submit(oParam);
- }
- else
- {
- dsf_setFixVal(ds_send, "cnfmflag:Y");
- var oParam = {};
- oParam.id = "TRAEA05402";
- oParam.service = "examcurersrvapp.RsrvRef";
- oParam.method = "reqGetRsrvUpdtCnclPresInfo";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_rsrvupdtcnfmlst_rsrvupdtpresinfo=item";
- oParam.async = false;
- //oParam.callback = "cf_TRAEA05402";
- tranf_submit(oParam);
- }
- }
- function grp_sea_cmb_deptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- ds_send.setColumn(0, "basesuppdeptcd", obj.value);
- var oParam = {};
- oParam.id = "TRAEA01301";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetInitExamCureRoomGrpCodeList";
- oParam.inds = "reqparam=ds_send";
- oParam.outds = "ds_init_cmb_info_initexecroom=initexcuroom ds_init_cmb_info_suppdept=suppdept";
- oParam.async = false;
- //oParam.callback = "cf_TRAEA01301";
- tranf_submit(oParam);
-
- grp_sea_btn_sea_onclick();
- }
- function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- readfunc();
- }
- function grp_sea_ipt_pid_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
-
- if(!utlf_isNull(obj.value))
- {
- grp_sea_button61_onclick();
- }
- }
- }
- function grp_sea_button61_onclick(obj:Button, e:ClickEventInfo)
- {
- var pid = ds_send.getColumn(0, "pid");
-
- if (utlf_isNull(pid))
- {
- ds_send_data2.setColumn(0, "srchcond", "2");
- }
- else
- {
- ds_send_data2.setColumn(0, "srchcond", "1");
- }
-
- ds_send_data2.setColumn(0, "pid", pid);
- ds_send_data2.setColumn(0, "autoflag", "Y");
-
- var objArg = new Object();
- objArg.arg_ds_send = ds_send_data2;
-
- frmf_modal("SPPMC02500", "SPPMC02500", objArg, "", "", "", "", "", "", "", "", "", "M");
-
- ds_send.setColumn(0, "pid", ds_patinfolist.getColumn(0, "pid"));
- ds_send.setColumn(0, "patnm", ds_patinfolist.getColumn(0, "hngnm"));
- ds_send.setColumn(0, "sex", ds_patinfolist.getColumn(0, "sex"));
- ds_send.setColumn(0, "age", ds_patinfolist.getColumn(0, "age"));
-
- grp_sea_btn_sea_onclick();
- }
- function grp_sea_cmb_excuroom_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- grp_sea_btn_sea_onclick();
- }
- function btn_cnfm_onclick(obj:Button, e:ClickEventInfo)
- {
- fExeCnfm();
- }
- function fExeCnfm()
- {
- var nodeList = 0;
-
- if (switch1.tabindex == 0)
- {
- nodeList = ds_main_rsrvupdtpreslist_rsrvupdtpresinfo.getCaseCount("chkflag", "Y");
- }
- else
- {
- nodeList = ds_main_rsrvupdtcnfmlst_rsrvupdtpresinfo.getCaseCount("chkflag", "Y");
- }
- if ( rCSV == 0 )
- {
- sysf_messageBox("처방내역을 선택해 주십시오.","I999");
- return "0";
- }
-
- if (switch1.tabindex == 0)
- {
- dsf_setFixVal(ds_main_rsrvupdtpreslist_rsrvupdtpresinfo, "cnfmflag:Y");
-
- var oParam = {};
- oParam.id = "TXAEA05401";
- oParam.service = "examcurersrvapp.RsrvRef";
- oParam.method = "reqSetRsrvUpdtCnclPresInfo";
- oParam.inds = "reqparam=ds_main_rsrvupdtpreslist_rsrvupdtpresinfo";
- oParam.outds = "ds_=item";
- oParam.async = false;
- //oParam.callback = "cf_TXAEA05401";
- tranf_submit(oParam);
-
- switch1.tabindex = 1;
-
- btn_cnfm.text = "취소";
- }
- else
- {
- var oParam = {};
- oParam.id = "TXAEA05402";
- oParam.service = "examcurersrvapp.RsrvRef";
- oParam.method = "reqSetRsrvUpdtCnclPresInfo";
- oParam.inds = "reqparam=ds_main_rsrvupdtcnfmlst_rsrvupdtpresinfo";
- oParam.outds = "ds_=item";
- oParam.async = false;
- //oParam.callback = "cf_TXAEA05402";
- tranf_submit(oParam);
-
- switch1.tabindex = 0;
-
- btn_cnfm.text = "확인";
- }
-
- readfunc() ;
- }
- function btn_close_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|