123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAEA00800" position="absolute 0 0 1201 805" titletext="검사 예약 변경 조회" onload="SMAEA00800_onload" style="background:transparent;">
- <Layouts>
- <Layout>
- <Shape id="line1" class="line_4" position="absolute 350 28 350 75" anchor="default" positiontype="position" linetype="vertical"/>
- <Static id="caption9" text="예약변경내역현황" class="tit_2" position="absolute 0 131 129 151" positiontype="position"/>
- <Grid id="grd_rsrvcnclprescond2" taborder="11" useinputpanel="false" position="absolute 0 152 1200 805" anchor="all" binddataset="ds_grid_grd_rsrvcnclprescond" positiontype="position" onbuttondown="grd_rsrvcnclprescond_onbuttondown" onclick="grd_rsrvcnclprescond_onclick" onrbuttondown="grd_rsrvcnclprescond_onrbuttondown" oncellclick="grd_rsrvcnclprescond_oncellclick" cellsizingtype="col" oncolresized="grd_rsrvcnclprescond_oncolresized" treeusecheckbox="false" autofittype="none" visible="false">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30"/>
- <Column size="80"/>
- <Column size="115"/>
- <Column size="107"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="110"/>
- <Column size="46"/>
- <Column size="115"/>
- <Column size="100"/>
- <Column size="99"/>
- <Column size="210"/>
- </Columns>
- <Rows>
- <Row size="22" band="head"/>
- <Row size="20"/>
- </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="처방명"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" style="background:EXPR(state == '취소' || state == '변경' ? '#ffcc99': '');background2:EXPR(state == '취소' || state == '변경' ? '#ffcc99': '');" expr="expr:currow + 1"/>
- <Cell col="1" style="align:center middle;background:EXPR(cnclyn == 'Y'?'#ffff00ff':'');background2:EXPR(cnclyn == 'Y'?'#ffff00ff':'');selectbackground:EXPR(cnclyn == 'Y'?'#ffff00ff':'');" text="bind:prcpdd" mask="expr:utlf_isNull(prcpdd)?'':'####-##-##'"/>
- <Cell col="2" text="bind:updtaft" mask="####-##-## ##:##"/>
- <Cell col="3" style="background2: ;" text="bind:rsrvrid"/>
- <Cell col="4" displaytype="text" style="align:center middle;background2: ;" text="bind:pid"/>
- <Cell col="5" style="background2: ;" text="bind:hngnm"/>
- <Cell col="6" style="background2: ;" text="bind:rrgstno"/>
- <Cell col="7" style="align:center middle;background2: ;" text="bind:prcpdept"/>
- <Cell col="8" style="align:center middle;background2: ;" text="bind:rsrvdt" mask="####-##-## ##:##"/>
- <Cell col="9" style="background2: ;" text="bind:excuroom"/>
- <Cell col="10" style="align:center middle;background2: ;" text="bind:prcpcd"/>
- <Cell col="11" style="align:left middle;background:EXPR(state == '취소' || state == '변경' ? '#ffcc99': '');background2:EXPR(state == '취소' || state == '변경' ? '#ffcc99': '');" text="bind:prcpnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption6" text="검사 예약 변경 조회" class="tit_1" position="absolute 0 0 168 25" positiontype="position"/>
- <Static id="Static00" class="sta_DA_box" anchor="left top right" position="absolute 0 96 1200 122" positiontype="position"/>
- <Static id="caption5" text="환자명" class="cell_1" position="absolute 1 97 51 120" style="align:center middle;" positiontype="position"/>
- <Edit id="opt_hngnm" taborder="13" position="absolute 54 99 139 119" imemode="hangul" positiontype="position" readonly="true" class="output"/>
- <Static id="caption16" text="S/A" class="cell_1" position="absolute 142 97 185 120" style="align:center middle;" positiontype="position"/>
- <Edit id="opt_age" taborder="14" position="absolute 188 99 235 119" style="align:center middle;" imemode="hangul" enable="true" positiontype="position" readonly="true" class="output"/>
- <Static id="caption11" text="집전화" class="cell_1" position="absolute 238 97 288 120" style="align:center middle;" positiontype="position"/>
- <Edit id="opt_hometel" taborder="16" position="absolute 291 99 386 119" imemode="hangul" enable="true" positiontype="position" readonly="true" class="output"/>
- <Static id="caption8" text="핸드폰" class="cell_1" position="absolute 389 97 439 120" style="align:center middle;" positiontype="position"/>
- <Edit id="opt_mpphontel" taborder="17" position="absolute 442 99 566 119" imemode="hangul" enable="true" positiontype="position" readonly="true" class="output"/>
- <Static id="caption7" text="집주소" class="cell_1" position="absolute 569 97 619 120" style="align:center middle;" positiontype="position"/>
- <Edit id="opt_addr" taborder="18" position="absolute 624 99 1196 119" imemode="hangul" enable="true" positiontype="position" anchor="left top right" readonly="true" class="output"/>
- <Button id="button4" taborder="10" text="엑셀저장" onlbuttonup="button4_onlbuttonup" class="btn7" position="absolute 1123 124 1200 147" anchor="top right" positiontype="position" onclick="button4_onclick" visible="false"/>
- <Div id="grp_sea" anchor="left top right" taborder="26" style="align:center top;" class="div_SA" position="absolute 0 25 1200 85">
- <Layouts>
- <Layout>
- <Static id="caption3" text="처방일자" class="search_name" position="absolute 8 19 94 39" anchor="default"/>
- <Calendar id="ipt_startrsrvdd" taborder="13" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd" onchanged="grp_sea_ipt_startrsrvdd_onchanged" class="input_default" position="absolute 84 19 184 39" style="align:center middle;" anchor="default"/>
- <Static id="caption2" text="~" position="absolute 184 19 200 39" style="align:center;" anchor="default"/>
- <Calendar id="ipt_endrsrvdd" taborder="14" autoselect="true" dateformat="yyyy-MM-dd" onchanged="grp_sea_ipt_endrsrvdd_onchanged" class="input_default" position="absolute 200 19 300 39" style="align:center middle;" anchor="default"/>
- <Static id="caption10" text="지원부서" class="search_name" position="absolute 324 8 410 28" anchor="default"/>
- <Combo id="cmb_deptcd" taborder="15" innerdataset="@ds_cmb_suppdept" codecolumn="suppdeptcd" datacolumn="depthngnm" onitemchanged="grp_sea_cmb_deptcd_onitemchanged" position="absolute 397 8 524 28" anchor="default" readonly="true"/>
- <Static id="caption12" text="검사/치료실" class="search_name" position="absolute 548 8 654 28" anchor="default"/>
- <Static id="caption1" text="주민번호" class="search_name" position="absolute 548 33 634 53" anchor="default"/>
- <Combo id="cmb_excuroom" taborder="16" innerdataset="@ds_cmb_initexecroom" codecolumn="basecd" datacolumn="basecdflagdesc" onitemchanged="grp_sea_cmb_excuroom_onitemchanged" class="combo_default" position="absolute 641 8 766 28" anchor="default" readonly="true"/>
- <Button id="button2" taborder="17" text="임시" onclick="button2_onclick" onlbuttonup="button2_onlbuttonup" class="btn1" visible="false" position="absolute 970 28 1026 48" anchor="default"/>
- <Button id="button1" taborder="18" text="임시" onclick="button1_onclick" onlbuttonup="button1_onlbuttonup" class="btn1" visible="false" position="absolute 1030 28 1086 48" anchor="default"/>
- <Button id="btn_sea" taborder="19" text="조회" onclick="btn_sea_onclick" onlbuttonup="btn_sea_onlbuttonup" class="btn1" position="absolute 1131 20 1187 40" anchor="top right"/>
- <MaskEdit id="input2" taborder="20" type="string" mask="######-#######" position="absolute 641 33 766 53" style="align:center middle;" align="align:center middle;" imemode="hangul" anchor="default" onkeydown="grp_sea_input2_onkeydown" displaynulltext=" "/>
- <Static id="caption00" text="등록번호" class="search_name" position="absolute 325 32 399 52" anchor="default"/>
- <Edit id="ipt_pid" taborder="21" readonly="false" class="input" position="absolute 397 33 505 53" anchor="default" onkeydown="grp_sea_ipt_pid_onkeydown" autoselect="true"/>
- <Button id="btn_pidsearch" taborder="22" class="icon_search" position="absolute 505 33 525 53" anchor="default" onclick="grp_sea_btn_pidsearch_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="grd_rsrvcnclprescond" taborder="27" binddataset="ds_grid_grd_rsrvcnclprescond" useinputpanel="false" position="absolute 1 152 1200 805" cellsizingtype="both" extendsizetype="row" onrbuttondown="grd_rsrvcnclprescond_onrbuttondown" selecttype="cell" onkeydown="grd_rsrvcnclprescond_onkeydown" oncellclick="grd_rsrvcnclprescond_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="80"/>
- <Column size="70"/>
- <Column size="75"/>
- <Column size="111"/>
- <Column size="90"/>
- <Column size="210"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="110"/>
- <Column size="115"/>
- <Column size="55"/>
- <Column size="114"/>
- <Column size="125"/>
- <Column size="55"/>
- <Column size="153"/>
- <Column size="0"/>
- </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="실시일시"/>
- <Cell col="14" text="실시자"/>
- <Cell col="15" text="사유"/>
- <Cell col="16" text="2"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" style="background:EXPR(state=='취소'?'#ffcc99':'#ffffff');background2:EXPR(state=='취소'?'#ffcc99':'#ffffff');" text="bind:pid" suppress="1" suppressalign="middle,over" autosizerow="limitmin"/>
- <Cell col="2" style="background:EXPR(state=='취소'?'#ffcc99':'#ffffff');background2:EXPR(state=='취소'?'#ffcc99':'#ffffff');" text="bind:hngnm" suppress="1" suppressalign="middle,over" autosizerow="limitmin"/>
- <Cell col="3" displaytype="date" style="background:EXPR(state=='취소'?'#ffcc99':'#ffffff');background2:EXPR(state=='취소'?'#ffcc99':'#ffffff');" text="bind:prcpdd" suppress="2" suppressalign="middle,over" autosizerow="limitmin"/>
- <Cell col="4" displaytype="text" style="background:EXPR(state=='취소'?'#ffcc99':'#ffffff');background2:EXPR(state=='취소'?'#ffcc99':'#ffffff');" text="bind:prcpdept" suppress="3" suppressalign="middle,over" autosizerow="limitmin"/>
- <Cell col="5" displaytype="text" style="background:EXPR(state=='취소'?'#ffcc99':'#ffffff');background2:EXPR(state=='취소'?'#ffcc99':'#ffffff');" text="bind:prcpcd" suppress="4" suppressalign="middle,over" autosizerow="limitmin"/>
- <Cell col="6" displaytype="text" style="background:EXPR(state=='취소'?'#ffcc99':'#ffffff');background2:EXPR(state=='취소'?'#ffcc99':'#ffffff');" text="bind:prcpnm" wordwrap="char" suppress="4" suppressalign="middle,over" autosizerow="limitmin"/>
- <Cell col="7" displaytype="text" style="background:EXPR(state=='취소'?'#ffcc99':'#ffffff');background2:EXPR(state=='취소'?'#ffcc99':'#ffffff');" text="bind:execprcpstatcd" suppress="5" suppressalign="middle,over"/>
- <Cell col="8" style="background:EXPR(state=='취소'?'#ffcc99':'#ffffff');background2:EXPR(state=='취소'?'#ffcc99':'#ffffff');" text="bind:state"/>
- <Cell col="9" displaytype="text" style="background:EXPR(state=='취소'?'#ffcc99':'#ffffff');background2:EXPR(state=='취소'?'#ffcc99':'#ffffff');" text="bind:excuroom" wordwrap="char" suppress="6"/>
- <Cell col="10" displaytype="expr:utlf_isNull(updtaftrsrvdt)?'normal':'date'" style="background:EXPR(state=='취소'?'#ffcc99':'#ffffff');background2:EXPR(state=='취소'?'#ffcc99':'#ffffff');" text="bind:updtaftrsrvdt" mask="expr:utlf_isNull(updtaftrsrvdt)?'':'yyyy-MM-dd HH:mm'" suppress="7"/>
- <Cell col="11" style="background:EXPR(state=='취소'?'#ffcc99':'#ffffff');background2:EXPR(state=='취소'?'#ffcc99':'#ffffff');" text="bind:rsrvrid" suppress="8"/>
- <Cell col="12" displaytype="expr:utlf_isNull(updtaft)?'normal':'date'" style="background:EXPR(state=='취소'?'#ffcc99':'#ffffff');background2:EXPR(state=='취소'?'#ffcc99':'#ffffff');" text="bind:updtaft" mask="expr:utlf_isNull(updtaft)?'':'yyyy-MM-dd HH:mm'" suppress="9"/>
- <Cell col="13" displaytype="expr:utlf_isNull(execdt)?'normal':'date'" style="background:EXPR(state=='취소'?'#ffcc99':'#ffffff');background2:EXPR(state=='취소'?'#ffcc99':'#ffffff');" text="bind:execdt" mask="expr:utlf_isNull(execdt)?'':'yyyy-MM-dd HH:mm'" suppress="10"/>
- <Cell col="14" style="background:EXPR(state=='취소'?'#ffcc99':'#ffffff');background2:EXPR(state=='취소'?'#ffcc99':'#ffffff');" text="bind:execrid" suppress="11"/>
- <Cell col="15" displaytype="text" style="background:EXPR(state=='취소'?'#ffcc99':'#ffffff');background2:EXPR(state=='취소'?'#ffcc99':'#ffffff');" text="bind:cnclresncd" wordwrap="char" suppress="12"/>
- <Cell col="16" text="bind:execprcpuniqno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line2" class="line_10" position="absolute 0 147 1200 153"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grid_grd_rsrvcnclprescond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="lvlbox" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="rsrvrid" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="rrgstno" type="STRING"/>
- <Column id="prcpdept" type="STRING"/>
- <Column id="rsrvdt" type="STRING"/>
- <Column id="updtaft" type="STRING"/>
- <Column id="excuroom" type="STRING"/>
- <Column id="prcpcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="execprcpstatcd" type="STRING"/>
- <Column id="state" type="STRING"/>
- <Column id="excuroom" type="STRING"/>
- <Column id="execdt" type="STRING"/>
- <Column id="cnclresncd" type="STRING"/>
- <Column id="rsrvrid" type="STRING"/>
- <Column id="execrid" type="STRING"/>
- <Column id="execprcpuniqno" type="STRING"/>
- <Column id="lvl" type="STRING"/>
- <Column id="cnclyn" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cmb_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_cmb_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"/>
- <Column id="excuposseqcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_data_paminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="hometel" type="STRING" size="256"/>
- <Column id="mpphontel" type="STRING" size="256"/>
- <Column id="addr" type="STRING" size="256"/>
- <Column id="rrgstno" type="STRING" size="256"/>
- <Column id="juminno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_pat_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_patinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="hometel" type="STRING" size="256"/>
- <Column id="mpphontel" type="STRING" size="256"/>
- <Column id="rrgstno" type="STRING" size="256"/>
- <Column id="zipcdaddr" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_data_suppdept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="suppdeptcd"/>
- <Column id="suppdeptnm"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_data_excuroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="basecd"/>
- <Column id="basecdflagdesc"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_sub_rsrvcnclpreslist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="rsrvridnm" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="rsrvrid" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="rrgstno" type="STRING"/>
- <Column id="prcpdept" type="STRING"/>
- <Column id="rsrvdt" type="STRING"/>
- <Column id="updtaft" type="STRING"/>
- <Column id="excuroom" type="STRING"/>
- <Column id="prcpcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="execprcpstatcd" type="STRING"/>
- <Column id="state" type="STRING"/>
- <Column id="excuroom" type="STRING"/>
- <Column id="execdt" type="STRING"/>
- <Column id="cnclresncd" type="STRING"/>
- <Column id="rsrvrid" type="STRING"/>
- <Column id="execrid" type="STRING"/>
- <Column id="execprcpuniqno" type="STRING"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_initexcuroomgrp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_initexcuroomgrp2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_initexecrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="basesuppdeptcd" type="STRING" size="256"/>
- <Column id="rbasecdflag" type="STRING" size="256"/>
- <Column id="ebasecdflag" type="STRING" size="256"/>
- <Column id="initflag" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="largeclass" type="STRING" size="256"/>
- <Column id="cdgrupid" type="STRING" size="256"/>
- <Column id="gb" type="STRING" size="256"/>
- <Column id="suppdeptcd" type="STRING" size="256"/>
- <Column id="juminno" type="STRING" size="256"/>
- <Column id="fromdate" type="STRING" size="256"/>
- <Column id="todate" type="STRING" size="256"/>
- <Column id="excuroomcd" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="opt_hngnm" propid="value" datasetid="ds_patinfo" columnid="hngnm"/>
- <BindItem id="item1" compid="opt_age" propid="value" datasetid="ds_patinfo" columnid="age"/>
- <BindItem id="item3" compid="opt_hometel" propid="value" datasetid="ds_patinfo" columnid="hometel"/>
- <BindItem id="item4" compid="opt_mpphontel" propid="value" datasetid="ds_patinfo" columnid="mpphontel"/>
- <BindItem id="item5" compid="opt_addr" propid="value" datasetid="ds_patinfo" columnid="addr"/>
- <BindItem id="item2" compid="grp_sea.ipt_startrsrvdd" propid="value" datasetid="ds_send" columnid="fromdate"/>
- <BindItem id="item6" compid="grp_sea.ipt_endrsrvdd" propid="value" datasetid="ds_send" columnid="todate"/>
- <BindItem id="item7" compid="grp_sea.cmb_deptcd" propid="value" datasetid="ds_send" columnid="suppdeptcd"/>
- <BindItem id="item8" compid="grp_sea.cmb_excuroom" propid="value" datasetid="ds_send" columnid="excuroomcd"/>
- <BindItem id="item9" compid="grp_sea.ipt_pid" propid="value" datasetid="ds_send" columnid="pid"/>
- <BindItem id="item10" compid="grp_sea.input2" propid="value" datasetid="ds_send" columnid="juminno"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : KU2.0
- * Job Name :
- * File Name :
- * Creator :
- * Make Date : 2016-03-24
- *
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // xjs Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "com_departmentcodexp::ZSD001.xjs";
- include "ast_examcurexp::AEZ0001.xjs";
- include "com_basiccodexp::ZBC001.xjs";
- //=======================================================================================
- // Function
- //-------------------------
- var cellvalue = "";
- var bOnLoad = false;
- var pamInfoCSV = "";
- var lgv_pid = "";
- //******************************************************************
- // 등록번호 composite callback
- function lf_callBack_SearchPatInfo(cpId)
- {
- //해당 함수는 환자정보조회 모듈에서 조회 후 호출하는 함수입니다. Composit ID로 Composit구분하세요
- //Dataset에서 필요한 정보를 copy해서 사용하세요.(환자정보: cp_searchPatInfo00.ds_patInfo, 환자특이정보: cp_searchPatInfo00.ds_ptsp)
- // ds_patinfolist.setColumn(0, "rrgstno", "");
- // ds_patinfolist.setColumn(0, "hngnm", grp_sea.cp_patientInfo00.ds_patInfo.getColumn(0, "hngnm"));
- // ds_patinfolist.setColumn(0, "age", grp_sea.cp_patientInfo00.ds_patInfo.getColumn(0, "age"));
- // ds_patinfolist.setColumn(0, "sex", grp_sea.cp_patientInfo00.ds_patInfo.getColumn(0, "sex"));
- // ds_patinfolist.setColumn(0, "hometel", grp_sea.cp_patientInfo00.ds_patInfo.getColumn(0, "hometel"));
- // ds_patinfolist.setColumn(0, "mpphontel", grp_sea.cp_patientInfo00.ds_patInfo.getColumn(0, "mpphontel"));
- // ds_patinfolist.setColumn(0, "addr", grp_sea.cp_patientInfo00.ds_patInfo.getColumn(0, "addr"));
- // var rrg1 = grp_sea.cp_patientInfo00.ds_patInfo.getColumn(0, "rrgstno1");
- // var rrg2 = grp_sea.cp_patientInfo00.ds_patInfo.getColumn(0, "rrgstno2");
- // var rrgstno = rrg1 + rrg2;
- // ds_patinfolist.setColumn(0, "rrgstno", rrgstno);
- // grp_sea.input2.value = rrgstno;
- ds_send.setColumn(0, "gb", "1");
- readfunc();
- }
- // 검사치료실 가져오기
- function f_TRAEA01301()
- {
- dsf_createDsRow("ds_cmb_req",
- [{col:"basesuppdeptcd", val:suppdeptcd}
- ,{col:"rbasecdflag", val:"R"}
- ,{col:"ebasecdflag", val:"E"}
- ,{col:"instcd", val:""}
- ,{col:"initflag", val:"1"}
- ,{col:"alladdyn", val:""}
- ]);
-
- var oParam = {};
- oParam.id = "TRAEA01301";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetInitExamCureRoomGrpCodeList";
- oParam.inds = "reqparam=ds_cmb_req";
- oParam.outds = "ds_initexcuroomgrp=initexcuroomgrp ds_initexcuroomgrp2=initexcuroomgrp2 ds_cmb_initexecroom=initexcuroom ds_cmb_suppdept=suppdept";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01301";
- tranf_submit(oParam);
- }
- function cf_TRAEA01301(sSvcId, objErrorCode, objErrorMsg)
- {
-
- grp_sea.cmb_deptcd.value = suppdeptcd;
-
- }
- // 조회
- function f_TRAEA00804()
- {
- ds_grid_grd_rsrvcnclprescond.clearData();
- ds_patinfolist.clearData();
-
-
-
- var objParam = new Object();
- objParam.id = "TRAEA00804";
- objParam.service = "examcurersrvapp.RsrvRef";
- objParam.method = "reqGetRsrvPresChnInfo";
- objParam.inds = "req=ds_send";
- objParam.outds ="ds_grid_grd_rsrvcnclprescond=item ds_patinfo=patinfolist";
- objParam.async = false;
- objParam.callback = "cf_TRAEA00804";
- tranf_submit(objParam);
- }
- function cf_TRAEA00804(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
-
- ds_send.setColumn(0,"juminno",ds_patinfo.getColumn(0,"juminno"));
- ds_send.setColumn(0,"pid", ds_patinfo.getColumn(0,"pid"));
- // for (var i = 0; i < ds_grid_grd_rsrvcnclprescond.rowcount; i++){
- // if (ds_grid_grd_rsrvcnclprescond.getColumn(i,"state") == "취소"){
- // grd_rsrvcnclprescond.rowstyle(i, "data", "background-color") = "#ffcc99";
- // }else{
- // grd_rsrvcnclprescond.rowstyle(i, "data", "background-color") = "#ffffff";
- // }
- // }
- if (!utlf_isNull(ds_send.getColumn(0,"pid")) && !utlf_isNull(ds_send.getColumn(0,"juminno"))) {
- grd_rsrvcnclprescond.setFormatColProperty(1,"size",0);
- grd_rsrvcnclprescond.setFormatColProperty(2,"size",0);
- }else{
- grd_rsrvcnclprescond.setFormatColProperty(1,"size",80);
- grd_rsrvcnclprescond.setFormatColProperty(2,"size",70);
- }
-
- ds_grid_grd_rsrvcnclprescond.rowposition = -1;
- }
- function readfunc()
- {
-
- var _frdt = grp_sea.ipt_startrsrvdd.value;
- var _todt = grp_sea.ipt_endrsrvdd.value;
-
- 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_send.setColumn(0, "flag", "TRAEA04400");
-
- f_TRAEA00804();
- }
- function f_patinfo(){
-
- ds_pat_req.setColumn(0, "pid", ds_grid_grd_rsrvcnclprescond.getColumn(ds_grid_grd_rsrvcnclprescond.rowposition, "pid"));
-
- var objParam = new Object();
- objParam.service = "examcurersrvapp.RsrvRef";
- objParam.method = "reqGetPatDetailInfo";
- objParam.inds = "req=ds_pat_req";
- objParam.outds ="ds_patinfo=patlist";
- objParam.alert = false;
- tranf_submit(objParam);
-
-
- }
- // 통합예약용 지원부서
- function fGetdata_TRAEA05301()
- {
- dsf_createDsRow("ds_cond_req", [ {col:"basesuppdeptcd", val:suppdeptcd}
- , {col:"instcd", val:sysf_getUserInfo("dutplceinstcd")}
- ]);
- var objParam = new Object();
- objParam.id = "TRAEA05301";
- objParam.service = "examcurersrvapp.RsrvRef";
- objParam.method = "reqGetRsrvSuppDeptCdList";
- objParam.inds = "req=ds_cond_req";
- objParam.outds ="ds_data_suppdept=item";
- objParam.callback = "cbf_TRAEA05301";
-
- tranf_submit(objParam);
- }
- function cbf_TRAEA05301(strSvcID, nErrorCode, strErrorMsg){
- //에러 처리
- if(nErrorCode == 0){
- frmf_addComboItem("grp_sea.cmb_deptcd1", "-- 전체 --", "", "");
- grp_sea.cmb_deptcd1.index = 0;
- }else{
- }
- }
- // 통합예약용 검사 치료실
- function fGetdata_TRAEA00902(){
- var supcd = grp_sea.cmb_deptcd1.value;
-
- dsf_createDsRow("ds_send3_req",
- [{col:"basecd", val:""}
- ,{col:"basesuppdeptcd", val:supcd}
- ,{col:"rbasecdflag", val:"R"}
- ,{col:"instcd", val:sysf_getUserInfo("dutplceinstcd")}]);
- var objParam = new Object();
- objParam.id = "TRAEA00902";
- objParam.service = "examcurebaseapp.ExamCureRoom";
- objParam.method = "reqGetExamCureRoomGrpList";
- objParam.inds = "req=ds_send3_req";
- objParam.outds ="ds_data_excuroom=item";
- objParam.callback = "cbf_TRAEA00902";
-
- tranf_submit(objParam);
- }
- function cbf_TRAEA00902(strSvcID, nErrorCode, strErrorMsg){
- //에러 처리
- if(nErrorCode == 0){
- frmf_addComboItem("grp_sea.cmb_excuroom1", "-- 전체 --", "", "");
- grp_sea.cmb_excuroom1.index = 0;
- }else{
- }
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components :
- * Components ID : SMAEA00800
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function SMAEA00800_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj); // 화면공통
- lf_aezfSetSuppDeptcd();
- //부서정보 가져오기
-
-
-
-
- //ds_send.setColumn(0,"basesuppdeptcd",suppdeptcd);
-
- //환자정보조회 세팅
-
- var sdate = utlf_getCurrentDate();
- grp_sea.ipt_endrsrvdd.value = sdate;
-
-
- // 글로벌변수(등록번호)가 있는경우
-
- //초기날짜
- grp_sea.ipt_startrsrvdd.value = utlf_getCurrentDate().toDate().getAddDate(-12,"M").getDateFormat("YYYYMMDD");
-
- grp_sea.ipt_endrsrvdd.value = utlf_getCurrentDate().toDate().getAddDate(6,"M").getDateFormat("YYYYMMDD");
-
- //지원부서 가져오기
- f_TRAEA01301();
- grp_sea.cmb_deptcd.index=ds_cmb_suppdept.findRow("suppdeptcd",suppdeptcd);
- var gv_pid = sysf_getGlobalVariable("gv_pid", "A");
- if(!utlf_isNull(gv_pid)) {
- ds_send.setColumn(0,"pid",gv_pid);
- ds_send.setColumn(0,"gb","1");
- readfunc();
- }
- else
- {
-
- // 통합 예약에서 전달받은 pid 확인
- var pid = opener.frmf_getParameter("SMPEA00100_pid");
- if (!utlf_isNull(pid)) {
- ds_send.setColumn(0, "pid", pid);
- }
-
- ds_send.setColumn(0,"gb","1");
- if (!utlf_isNull(ds_send.getColumn(0,"pid")))
- {
-
- grd_rsrvcnclprescond.setRealColSize(1, 0);
- grd_rsrvcnclprescond.setRealColSize(2, 0);
-
- /*
- ds_send.setColumn(0,"suppdeptcd","");
-
- ds_send.setColumn(0,"excuroomcd",grp_sea.cmb_excuroom.value);
- ds_send.setColumn(0,"juminno",grp_sea.input2.value);
- ds_send.setColumn(0,"fromdate",grp_sea.ipt_startrsrvdd.value);
- ds_send.setColumn(0,"todate",grp_sea.ipt_endrsrvdd.value);
- */
-
- readfunc();
- }
- else
- {
-
- grp_sea.ipt_pid.setFocus();
- }
- }
- //마우스 우클릭 이벤트
- lf_init_SMAEA00800();
- }
- /****************************************************************************************
- * Components :
- * Components ID : btn_sea
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- readfunc();
- }
- /****************************************************************************************
- * Components :
- * Components ID : button1
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_send.setColumn(0, "gb", "1");
- readfunc();
- }
- /****************************************************************************************
- * Components :
- * Components ID : button2
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function button2_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_send.setColumn(0, "gb", "2");
- readfunc();
- }
- /****************************************************************************************
- * Components :
- * Components ID : button4
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function button4_onclick(obj:Button, e:ClickEventInfo)
- {
- if(ds_grid_grd_rsrvcnclprescond.getRowCount() <= 0)
- {
- sysf_messageBox("엑셀파일로 저장할 리스트 내역이", "I004");
- return;
- }
- else
- {
- grdf_exportExcel(grd_rsrvcnclprescond, "검사예약변경조회", "sheet1");
- }
- }
- /****************************************************************************************
- * Components :
- * Components ID : radio2
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 정렬방식 선택시
- ****************************************************************************************/
- function radio2_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- readfunc();
- }
- /****************************************************************************************
- * Components :
- * Components ID : button3
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 정렬방식 제거
- ****************************************************************************************/
- function button3_onclick(obj:Button, e:ClickEventInfo)
- {
- radio2.value = "";
- grp_sea.btn_sea.click();
- }
- /****************************************************************************************
- * Components :
- * Components ID : grd_rsrvcnclprescond
- * Event : onrbuttondown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 마우스 우클릭시 클립보드 형태로 그리드 셀값 복사
- ****************************************************************************************/
- function grd_rsrvcnclprescond_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row >= 0)
- {
- this.ds_grid_grd_rsrvcnclprescond.rowposition = e.row;
- pmn_popupMenu.trackPopup(e.screenX,e.screenY);
- cellvalue = grd_rsrvcnclprescond.getCellProperty( "Body", e.cell, "text" ).replace("bind:", "");
- }
- }
- function lf_init_SMAEA00800()
- {
- frmf_createPopupMenu("pmn_popupMenu", "pmn_popupMenu_onmenuclick", [{id: "astgrid_liscopy", level: "1", title: "복사하기"}]);
- }
- function pmn_popupMenu_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- astgrid_liscopy();
- }
- function astgrid_liscopy()
- {
- var varCol = ds_grid_grd_rsrvcnclprescond.getColumn(ds_grid_grd_rsrvcnclprescond.rowposition, cellvalue);
- system.setClipboard("CF_TEXT", varCol);
- }
- /****************************************************************************************
- * Components :
- * Components ID : radio1
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : tree여부 변경시 조회
- ****************************************************************************************/
- function grp_sea_radio1_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- readfunc();
- }
- /****************************************************************************************
- * Components :
- * Components ID : input2
- * Event : ontextchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 주민번호 입력시
- ****************************************************************************************/
- function grp_sea_input2_ontextchanged(obj:MaskEdit, e:TextChangedEventInfo)
- {
- if(!utlf_isNull(grp_sea.input2.value))
- {
- ds_send.setColumn(0, "gb", "2");
- readfunc();
- }
- }
- /****************************************************************************************
- * Components :
- * Components ID : cmb_excuroom
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 검사/치료실 선택시 조회
- ****************************************************************************************/
- function grp_sea_cmb_excuroom_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- obj.updateToDataset();
- readfunc();
- }
- function grd_rsrvcnclprescond_oncolresized(obj:Grid, e:GridSizeChangedEventInfo)
- {
- if(e.newvalue == 0){
- obj.setRealColSize(e.subindex, 1);
- }
- }
- /****************************************************************************************
- * Components :
- * Components ID : cmb_deptcd
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 지원부서 선택시 조회
- ****************************************************************************************/
- function grp_sea_cmb_deptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- readfunc();
- }
- function grd_rsrvcnclprescond_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- // f_patinfo();
- cellvalue = grd_rsrvcnclprescond.getCellProperty( "Body", e.cell, "text" ).replace("bind:", "");
- }
- /****************************************************************************************
- * Components :
- * Components ID : cmb_deptcd1
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 통합예약용 지원부서 선택시 조회
- ****************************************************************************************/
- function grp_sea_cmb_deptcd1_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fGetdata_TRAEA00902();
- readfunc();
- }
- /****************************************************************************************
- * Components :
- * Components ID : cmb_deptcd1
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 통합예약용 검사/치료실 선택시 조회
- ****************************************************************************************/
- function grp_sea_cmb_excuroom1_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- readfunc();
- }
- function group3_Button00_onclick(obj:Button, e:ClickEventInfo)
- {
- group3.visible = false;
- // 예약내역현황 그리드 원래 크기
- grd_rsrvcnclprescond.position.bottom = 805;
- }
- function grp_sea_ipt_pid_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- readfunc();
- }
- }
- function grp_sea_input2_onkeydown(obj:MaskEdit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- if (!utlf_isNull(obj.value)){
- ds_send.setColumn(0,"gb", "2");
-
- readfunc();
- }
- }
- }
- function grp_sea_btn_pidsearch_onclick(obj:Button, e:ClickEventInfo)
- {
- // 환자조회화면 호출
- frmf_modal("SPPMC02500", "SPPMC02500", "", "", "", "", "", "", "", "", "", "", "M");
- ds_send.setColumn(0,"pid",ds_patinfolist.getColumn(0,"pid"));
- ds_send.setColumn(0,"juminno",ds_patinfolist.getColumn(0,"juminno"));
- ds_send.setColumn(0,"gb" ,"1");
-
- if(!utlf_isNull(ds_send.getColumn(0,"pid"))) btn_sea_onclick();
- }
- function grd_rsrvcnclprescond_onkeydown(obj:Grid, e:KeyEventInfo)
- {
- if(e.ctrlKey == true && e.keycode == 67)
- {
- astgrid_liscopy();
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|