123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPPIZ01300" position="absolute 0 0 1070 800" titletext="수술정보조회" onload="SPPIZ01300_onload" oninit="SPPIZ01300_oninit">
- <Layouts>
- <Layout>
- <Div position="absolute 0 747 1050 774" id="group5">
- <Layouts>
- <Layout>
- <Button position="absolute 993 5 1049 27" id="btn_close" class="btn4" taborder="32" text="닫기" anchor="default" onclick="group5_btn_close_onclick"/>
- <Shape position="absolute 0 0 1048 6" linetype="horizontal" id="line32" class="line_6" anchor="default"/>
- <Button position="absolute 0 5 108 27" id="button3" class="btn3" text="환자진료정보" anchor="default" onclick="group5_button3_onclick"/>
- <Button position="absolute 110 5 202 27" id="button4" class="btn3" text="수술기록지" anchor="default" onclick="group5_button4_onclick"/>
- <Button position="absolute 208 5 312 27" id="button5" class="btn3" text="마취환자기록" anchor="default" onclick="group5_button5_onclick"/>
- <Button position="absolute 318 5 446 27" id="button6" class="btn3" text="수술마취간호처방" anchor="default" onclick="group5_button6_onclick"/>
- <Button position="absolute 452 5 556 27" id="button8" class="btn3" text="수술간호기록" anchor="default" onclick="group5_button8_onclick"/>
- <Button position="absolute 562 5 678 27" id="button9" class="btn3" text="회복실간호기록" anchor="default" onclick="group5_button9_onclick"/>
- <Button position="absolute 684 5 848 27" id="button10" class="btn3" text="수술실재료 및 약제현황" anchor="default" onclick="group5_button10_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 15 1050 752" id="group2">
- <Layouts>
- <Layout>
- <Static text="수술정보" position="absolute 1 225 171 246" align="align:center middle;" id="caption33" class="tit_2" anchor="default"/>
- <Shape position="absolute 0 241 815 247" linetype="horizontal" id="line23" class="line_1" style="strokepen:3 solid #33bbbbff;" anchor="default"/>
- <Button position="absolute 915 10 957 29" id="button7" class="btn2" text="미심" anchor="default" onclick="group2_button7_onclick"/>
- <Button position="absolute 961 10 1003 29" id="button1" class="btn2" text="보류" anchor="default" onclick="group2_button1_onclick"/>
- <Button position="absolute 1006 10 1048 29" id="button2" class="btn2" text="완료" anchor="default" onclick="group2_button2_onclick"/>
- <Grid position="absolute 0 246 815 466" id="grd_opersrchlist" binddataset="ds_main_list1_opersrchlist" anchor="default" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="125"/>
- <Column size="110"/>
- <Column size="60"/>
- <Column size="80"/>
- <Column size="490"/>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="실시시간"/>
- <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="심사구분"/>
- </Band>
- <Band id="body">
- <Cell displaytype="date" text="bind:exectm" mask="yyyy-MM-dd hh:mm:ss"/>
- <Cell col="1" text="bind:orddeptcd"/>
- <Cell col="2" text="bind:orddrid"/>
- <Cell col="3" text="bind:opcd"/>
- <Cell col="4" text="bind:opnm"/>
- <Cell col="5" text="bind:antiyn"/>
- <Cell col="6" displaytype="date" text="bind:orddd" mask="yyyy-MM-dd"/>
- <Cell col="7" text="bind:judgdt" mask="yyyy-mm-dd hh:nn"/>
- <Cell col="8" text="bind:judgid"/>
- <Cell col="9" displaytype="combo" edittype="combo" text="bind:judgflag" enable="false"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 0 29 1048 35" linetype="horizontal" id="line1" class="line_1" style="strokepen:3 solid #33bbbbff;" anchor="default"/>
- <Static text="수술예약정보" position="absolute 1 13 171 34" align="align:center middle;" id="caption1" class="tit_2" anchor="default"/>
- <Grid position="absolute 0 34 1048 184" id="grd_operrsvsrchlist" binddataset="ds_main_list2_operrsvsrchlist" anchor="default" onrbuttondown="group2_grd_operrsvsrchlist_onrbuttondown" selecttype="multiarea" oncellclick="group2_grd_operrsvsrchlist_oncellclick" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="26"/>
- <Column size="19"/>
- <Column size="115"/>
- <Column size="0"/>
- <Column size="67"/>
- <Column size="0"/>
- <Column size="55"/>
- <Column size="55"/>
- <Column size="19"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="0"/>
- <Column size="69"/>
- <Column size="30"/>
- <Column size="205"/>
- <Column size="44"/>
- <Column size="195"/>
- <Column size="218"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="109"/>
- <Column size="52"/>
- <Column size="70"/>
- </Columns>
- <Rows>
- <Row size="26" band="head"/>
- <Row size="26"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" 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="수술전달사항"/>
- <Cell col="17" text="수술명"/>
- <Cell col="18" text="수술예약번호"/>
- <Cell col="19" text="이력번호"/>
- <Cell col="20" text="기관코드"/>
- <Cell col="21" text="입력구분"/>
- <Cell col="22" text="심사일시"/>
- <Cell col="23" text="심사자"/>
- <Cell col="24" text="심사구분"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chos" expr="expr:chos == 'Y' || chos == '1' || chos == 'true' ? 1 : 0"/>
- <Cell col="2" text="bind:opcnfmdt"/>
- <Cell col="3" text="bind:perfdeptcd"/>
- <Cell col="4" style="align:left middle;" text="bind:perfdeptnm"/>
- <Cell col="5" text="bind:perfdrid"/>
- <Cell col="6" text="bind:perfdrnm"/>
- <Cell col="7" text="bind:anstdrnm"/>
- <Cell col="8" text="bind:specordyn"/>
- <Cell col="9" text="bind:opflagcd"/>
- <Cell col="10" text="bind:opstatcd"/>
- <Cell col="11" text="bind:mskind"/>
- <Cell col="12" text="bind:opcd"/>
- <Cell col="13" text="bind:endstat"/>
- <Cell col="14" displaytype="text" edittype="text" style="background:EXPR(utlf_isNull(insuremark) ? '' : 'blanchedalmond');background2:EXPR(utlf_isNull(insuremark) ? '' : 'blanchedalmond');" text="bind:insuremark"/>
- <Cell col="15" text="bind:oproomcd"/>
- <Cell col="16" displaytype="text" edittype="text" text="bind:delivefact"/>
- <Cell col="17" style="align:left middle;" text="bind:opnm"/>
- <Cell col="18" text="bind:oprsrvno"/>
- <Cell col="19" text="bind:ophistno"/>
- <Cell col="20" text="bind:instcd"/>
- <Cell col="21" text="bind:flag"/>
- <Cell col="22" displaytype="date" text="bind:judgdt" mask="yyyy-MM-dd hh:mm"/>
- <Cell col="23" text="bind:judgid"/>
- <Cell col="24" displaytype="combo" edittype="combo" text="bind:judgflag" combodataset="ds_cmb_judgflag" combocodecol="value" combodatacol="label" enable="false"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 5 190 860 215" id="roundrect4" class="roundrect_example" type="roundrectangle" anchor="default"/>
- <Static text="마감상태 - 0 : 미마감, 1 : 수술, 2 : 마취, 3 : 회복, 4 : 수술 + 마취, 5 : 수술+회복, 6 : 마취 + 회복, 7 : 수술 + 마취 + 회복" position="absolute 10 193 845 215" align="align:center middle;" id="caption27" class="hand" anchor="default"/>
- <Static text="재원 기간 중 항생제 처방 정보(처방 사유 포함)" position="absolute 1 480 376 501" align="align:center middle;" id="caption2" class="tit_2" anchor="default"/>
- <Shape position="absolute 0 496 1048 502" linetype="horizontal" id="line2" class="line_1" style="strokepen:3 solid #33bbbbff;" anchor="default"/>
- <Grid position="absolute 0 501 1048 731" id="grd_operantilist" binddataset="ds_main_list3_operantilist" autofittype="col" anchor="default" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="116"/>
- <Column size="70"/>
- <Column size="200"/>
- <Column size="35"/>
- <Column size="107"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="160"/>
- <Column size="35"/>
- <Column size="190"/>
- </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="퇴원약 항생제 처방 사유"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="date" text="bind:prcpdd" mask="yyyy-MM-dd hh:mm"/>
- <Cell col="2" text="bind:prcpcd"/>
- <Cell col="3" style="align:left middle;" text="bind:prcpnm"/>
- <Cell col="4" text="bind:payflagcd"/>
- <Cell col="5" displaytype="date" text="bind:execdd" mask="yyyy-MM-dd hh:mm"/>
- <Cell col="6" text="bind:execprcpqty"/>
- <Cell col="7" text="bind:execprcptims"/>
- <Cell col="8" text="bind:execprcpdayno"/>
- <Cell col="9" text="bind:sefa"/>
- <Cell col="10" text="bind:sefa_resn"/>
- <Cell col="11" text="bind:dscdrug"/>
- <Cell col="12" text="bind:dscdrug_resn"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="수술미입력사유" position="absolute 820 225 990 246" align="align:center middle;" id="caption3" class="tit_2" anchor="default"/>
- <Shape position="absolute 820 241 1048 247" linetype="horizontal" id="line3" class="line_1" style="strokepen:3 solid #33bbbbff;" anchor="default"/>
- <Grid position="absolute 820 246 1048 465" id="datagrid1" binddataset="ds_main_list4_opresnlist" anchor="default" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="82"/>
- <Column size="60"/>
- <Column size="108"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="실시시간"/>
- <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="caption1"/>
- <Cell col="11" text="caption2"/>
- </Band>
- <Band id="body">
- <Cell text="bind:genrno" mask="yyyy-mm-dd hh:nn:ss"/>
- <Cell col="1" text="bind:genrdd" mask="yyyy-mm-dd"/>
- <Cell col="2" text="bind:pid"/>
- <Cell col="3" text="bind:oprsrvno"/>
- <Cell col="4" text="bind:ophistno"/>
- <Cell col="5" text="bind:ophistcd"/>
- <Cell col="6" text="bind:opresncd" mask="yyyy-mm-dd"/>
- <Cell col="7" displaytype="text" style="align:left top;" text="bind:opetcresn"/>
- <Cell col="8" text="bind:fstrgstrid"/>
- <Cell col="9" displaytype="date" edittype="none" style="align:left;" text="bind:fstrgstdt" mask="yyyy-MM-dd hh:mm"/>
- <Cell col="10" text="bind:lastupdtrid"/>
- <Cell col="11" text="bind:lastupdtdt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="수술정보조회" class="tit_1" position="absolute 1 0 193 23"/>
- <PopupMenu id="pmn_menu1" innerdataset="ds_menu" idcolumn="func" captioncolumn="label" levelcolumn="level" onmenuclick="pmn_menu1_onmenuclick" onmouseleave="pmn_menu1_onmouseleave" position="absolute 1086 117 1200 139" style="buttonsize:-1;background:#ffffffff;border:1 solid #1771beff ;"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send_data1" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="cretno" type="INT" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="ioflag">I</Col>
- </Row>
- </Rows>
- </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="opersrchlist" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_data3" 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="oprsrvno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_list2_operrsvsrchlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chos" type="STRING" size="256" sumtext="선택"/>
- <Column id="opcnfmdt" type="STRING" size="256" sumtext="수술일시"/>
- <Column id="perfdeptcd" type="STRING" size="256" sumtext="집도과코드"/>
- <Column id="perfdeptnm" type="STRING" size="256" sumtext="집도과"/>
- <Column id="perfdrid" type="STRING" size="256" sumtext="집도의코드"/>
- <Column id="perfdrnm" type="STRING" size="256" sumtext="집도의"/>
- <Column id="specordyn" type="STRING" size="256" sumtext="선택"/>
- <Column id="opflagcd" type="STRING" size="256" sumtext="수술구분"/>
- <Column id="opstatcd" type="STRING" size="256" sumtext="수술상태"/>
- <Column id="mskind" type="STRING" size="256" sumtext="주부"/>
- <Column id="opcd" type="STRING" size="256" sumtext="수술코드"/>
- <Column id="endstat" type="STRING" size="256" sumtext="마감상태"/>
- <Column id="opnm" type="STRING" size="256" sumtext="수술명"/>
- <Column id="oprsrvno" type="STRING" size="256" sumtext="수술예약(의뢰)번호"/>
- <Column id="oproomcd" type="STRING" size="256" sumtext="수술방"/>
- <Column id="delivefact" type="STRING" size="256" sumtext="수술전달사항"/>
- <Column id="ophistno" type="STRING" size="256" sumtext="이력번호"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="flag" type="STRING" size="256" sumtext="입력구분"/>
- <Column id="judgdt" type="STRING" size="256" sumtext="심사일시"/>
- <Column id="judgflag" type="STRING" size="256" sumtext="심사구분"/>
- <Column id="judgid" type="STRING" size="256" sumtext="심사자"/>
- <Column id="formrecseq" type="STRING" size="256" sumtext="수술기록지번호"/>
- <Column id="insuremark" type="STRING" size="256" sumtext="보험팀전달사항"/>
- <Column id="anstdrnm" type="STRING" size="256" sumtext="마취의"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_list1_opersrchlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chos" type="STRING" size="256" sumtext="선택"/>
- <Column id="exectm" type="STRING" size="256" sumtext="실시시간"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="처방과"/>
- <Column id="orddrid" type="STRING" size="256" sumtext="처방의"/>
- <Column id="opcd" type="STRING" size="256" sumtext="수술코드"/>
- <Column id="opnm" type="STRING" size="256" sumtext="수술명"/>
- <Column id="oprsrvno" type="STRING" size="256" sumtext="수술예약(의뢰)번호"/>
- <Column id="judgdt" type="STRING" size="256" sumtext="심사일시"/>
- <Column id="judgid" type="STRING" size="256" sumtext="심사자"/>
- <Column id="judgflag" type="STRING" size="256" sumtext="심사구분"/>
- <Column id="antiyn" type="STRING" size="256" sumtext="항생제 평가 대상"/>
- <Column id="orddd" type="STRING" size="256" sumtext="최초 입원일"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_list3_operantilist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
- <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
- <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
- <Column id="payflagcd" type="STRING" size="256" sumtext="급비"/>
- <Column id="execdd" type="STRING" size="256" sumtext="실시일시"/>
- <Column id="execprcpqty" type="STRING" size="256" sumtext="횟수"/>
- <Column id="execprcptims" type="STRING" size="256" sumtext="수량"/>
- <Column id="execprcpdayno" type="STRING" size="256" sumtext="날수"/>
- <Column id="sefa" type="STRING" size="256" sumtext="세파"/>
- <Column id="sefa_resn" type="STRING" size="256" sumtext="세파계 처방사유"/>
- <Column id="dscdrug" type="STRING" size="256" sumtext="퇴원"/>
- <Column id="dscdrug_resn" type="STRING" size="256" sumtext="퇴원 항생제 처방사유"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cmb_judgflag" 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>
- </Rows>
- </Dataset>
- <Dataset id="ds_menu" 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="func" type="STRING" size="256"/>
- <Column id="level" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">내용복사</Col>
- <Col id="func">f_ophist_clipBoard</Col>
- <Col id="level">0</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_tmp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_list4_opresnlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="genrno" type="STRING" size="256" sumtext="선택"/>
- <Column id="genrdd" type="STRING" size="256" sumtext="수술일시"/>
- <Column id="pid" type="STRING" size="256" sumtext="집도과코드"/>
- <Column id="oprsrvno" type="STRING" size="256" sumtext="집도과"/>
- <Column id="ophistno" type="STRING" size="256" sumtext="집도의코드"/>
- <Column id="ophistcd" type="STRING" size="256" sumtext="선택"/>
- <Column id="opresncd" type="STRING" size="256" sumtext="수술구분"/>
- <Column id="opetcresn" type="STRING" size="256" sumtext="수술상태"/>
- <Column id="fstrgstrid" type="STRING" size="256" sumtext="주부"/>
- <Column id="fstrgstdt" type="STRING" size="256" sumtext="수술코드"/>
- <Column id="lastupdtrid" type="STRING" size="256" sumtext="마감상태"/>
- <Column id="lastupdtdt" type="STRING" size="256" sumtext="수술명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-05-24
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-05-24 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "pam_pamcomnxp::PAM001.xjs";
- include "pam_pamcomnxp::PAM.xjs";
- function SPPIZ01300_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPPIZ01300_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_setToolTipBind(group2.grd_operrsvsrchlist);
- grdf_initGrid(group2.grd_operrsvsrchlist);
- grdf_setRowTypeIcon(group2.grd_operrsvsrchlist,0);
-
- grdf_initGrid(group2.grd_opersrchlist);
- grdf_initGrid(group2.datagrid1);
- grdf_initGrid(group2.grd_operantilist);
-
- if(frmf_checkOpener())
- {
- ds_send_data1.copyData(objDs)
-
- ds_send_data1.setColumn(0, "ioflag", "I");
- }
-
- fSrchInfo();
- }
- function fSrchInfo()
- {
- fInitialize();
-
- var oParam = {};
- oParam.id = "TRPIZ01301";
- oParam.service = "insucomapp.OperSrch";
- oParam.method = "reqGetOperSrchList";
- oParam.inds = "req=ds_send_data1";
- oParam.outds = "ds_main_list2_operrsvsrchlist=operrsvsrchlist ds_main_list1_opersrchlist=opersrchlist ds_main_list3_operantilist=operantilist";
- oParam.async = false;
- oParam.callback = "cf_TRPIZ01301";
- tranf_submit(oParam);
- }
- function cf_TRPIZ01301()
- {
- fGetJudgData();
- }
- function fInitialize()
- {
- ds_main_list1_opersrchlist.clearData();
- ds_main_list2_operrsvsrchlist.clearData();
- }
- function fGetJudgData()
- {
- var operrsvrows = ds_main_list2_operrsvsrchlist.rowcount;
- var operrows = ds_main_list1_opersrchlist.rowcount;
- for (var i = 0; i < operrsvrows; i++)
- {
- var oprsrvno = ds_main_list2_operrsvsrchlist.getColumn(i, "oprsrvno");
- var judgdt = ds_main_list2_operrsvsrchlist.getColumn(i, "judgdt");
- var judgid = ds_main_list2_operrsvsrchlist.getColumn(i, "judgid");
- var judgflag = ds_main_list2_operrsvsrchlist.getColumn(i, "judgflag");
-
- if (judgflag == 1 )
- {
- ds_main_list2_operrsvsrchlist.setColumn(i, "chos", 1);
- }
- for (var j = 0; j < operrows; j++)
- {
- var no = ds_main_list1_opersrchlist.getColumn(j, "oprsrvno");
-
- if (no == oprsrvno)
- {
- ds_main_list1_opersrchlist.setColumn(j, "judgdt", judgdt);
- ds_main_list1_opersrchlist.setColumn(j, "judgid", judgid);
- ds_main_list1_opersrchlist.setColumn(j, "judgflag", judgflag);
- }
- }
- }
- }
- function pmn_menu1_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- eval(e.id +"();");
- }
- function pmn_menu1_onmouseleave(obj:PopupMenu, e:MenuMouseEventInfo)
- {
- obj.closePopup();
- }
- function group2_grd_operrsvsrchlist_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- pmn_menu1.trackPopup(e.screenX,e.screenY);
- }
- function f_ophist_clipBoard()
- {
- grdf_clipboardCopy(group2.grd_operrsvsrchlist, "PAM");
- }
- function group2_button7_onclick(obj:Button, e:ClickEventInfo)
- {
- var ioflag = ds_send_data1.getColumn(0, "ioflag");
-
- fSaveMain("1");
-
- if ( frmf_checkOpener() && ioflag != "O")
- {
- opener.fGetOperStat();
- }
- }
- function fSaveMain(flag)
- {
- var rows = ds_main_list2_operrsvsrchlist.rowcount;
- var chos = "";
- var saveflag = "";
- var judgflag = "";
- for (var i = 0; i < rows; i++)
- {
- chos = ds_main_list2_operrsvsrchlist.getColumn(i, "chos");
- saveflag = ds_main_list2_operrsvsrchlist.getColumn(i, "flag");
-
- if(chos == "1")
- {
- if(saveflag == "I")
- {
- var arrRow = new Array();
- arrRow[0] = i;
- grdf_setStatus(group2.grd_operrsvsrchlist, "I", arrRow);
- }
-
- ds_main_list2_operrsvsrchlist.setColumn(i, "judgflag", flag);
- }
- else
- {
- var arrRow = new Array();
- arrRow[0] = i;
- grdf_setStatus(group2.grd_operrsvsrchlist, "", arrRow);
- }
- }
-
- var updtdata = grdf_getGridUpdateData(group2.grd_operrsvsrchlist);
-
- if (updtdata.rowcount == 0)
- {
- sysf_messageBox("변경된 데이터가","I004");
- return;
- }
-
- var oParam = {};
- oParam.id = "TXPIZ01301";
- oParam.service = "insucomapp.OperSrch";
- oParam.method = "reqExeOperJudg";
- oParam.inds = "srchcond=ds_send_data1 opersrchlist=ds_main_list2_operrsvsrchlist:U";
- oParam.outds = "ds_main_list2_operrsvsrchlist=opersrchlist";
- oParam.async = false;
- oParam.callback = "cf_TXPIZ01301";
- tranf_submit(oParam);
- fGetJudgData();
- }
- function cf_TXPIZ01301()
- {
- // // frmf_initForm(group2.grd_operrsvsrchlist);
- // sysf_messageBox("등록이","I002");
- }
- function group2_grd_operrsvsrchlist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- ds_send_data3.setColumn(0, "pid", ds_send_data1.getColumn(0, "pid"));
- ds_send_data3.setColumn(0, "oprsrvno", ds_main_list2_operrsvsrchlist.getColumn(ds_main_list2_operrsvsrchlist.rowposition, "oprsrvno"));
-
- var oParam = {};
- oParam.id = "TRPIZ01301";
- oParam.service = "insucomapp.OperSrch";
- oParam.method = "reqGetOpresnList";
- oParam.inds = "req=ds_send_data3";
- oParam.outds = "ds_main_list4_opresnlist=opresnlist";
- oParam.async = false;
- //oParam.callback = "cf_TRPIZ01301";
- tranf_submit(oParam);
- }
- function group5_btn_close_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- function group2_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- var ioflag = ds_send_data1.getColumn(0, "ioflag");
-
- fSaveMain("2");
-
- if ( frmf_checkOpener() && ioflag != "O")
- {
- opener.fGetOperStat();
- }
- }
- function group2_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- var ioflag = ds_send_data1.getColumn(0, "ioflag");
-
- fSaveMain("3");
-
- if ( frmf_checkOpener() && ioflag != "O")
- {
- opener.fGetOperStat();
- }
- }
- function group5_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SMMMO02500", "SMMMO02500", "", "", "", "", "", "", "", "", "", "", "M");
- }
- function group5_button4_onclick(obj:Button, e:ClickEventInfo)
- {
- var cnt = 0;
- var formrecseq = "";
-
- for (var i = 0; i < ds_main_list2_operrsvsrchlist.rowcount; i++)
- {
- var check = ds_main_list2_operrsvsrchlist.getColumn(i, "chos");
- if (check == "1")
- {
- cnt++;
-
- if (cnt > 1)
- {
- sysf_messageBox("수술예약정보가 두 건 이상 선택되었습니다.", "I999");
- return;
- }
- formrecseq = ds_main_list2_operrsvsrchlist.getColumn(i, "formrecseq");
- }
- }
- if (!utlf_isNull(formrecseq) && formrecseq != "0")
- {
- frmf_setParameter("openmode", "recform");
- frmf_setParameter("formrecseq", formrecseq);
-
- frmf_modal("SSMMR01100", "SSMMR01100", "", "", "", "", "", "", "", "", "", "", "M");
- }
- else
- {
- sysf_messageBox("작성된 수술예약 정보에 대한 수술 기록지가 존재하지 않습니다.", "I999");
- return;
- }
- }
- function group5_button5_onclick(obj:Button, e:ClickEventInfo)
- {
- var cnt = 0;
- var oprsrvno = "";
-
- for (var i = 0; i < ds_main_list2_operrsvsrchlist.rowcount; i++)
- {
- var check = ds_main_list2_operrsvsrchlist.getColumn(i, "chos");
- if(check == "1")
- {
- cnt++;
-
- if(cnt > 1)
- {
- sysf_messageBox("수술예약정보가 두 건 이상 선택되었습니다.", "I999");
- return;
- }
- oprsrvno = ds_main_list2_operrsvsrchlist.getColumn(i, "oprsrvno");
- }
- }
- if (!utlf_isNull(oprsrvno))
- {
- dsf_createDsRow("ds_hidden_list", [{col:"oprsrvno", type:"STRING", size:256 , val : oprsrvno}]);
-
- var csv = dsf_getDsCSV(ds_hidden_list, 0, "", "","");
-
- sysf_setGlobalVariable("operation",csv);
-
- frmf_modal("SMMMR03700", "SMMMR03700", "", "", "", "", "", "", "", "", "", "", "M");
- }
- }
- function group5_button6_onclick(obj:Button, e:ClickEventInfo)
- {
- var cnt = 0;
- var oprsrvno = "";
-
- for (var i = 0; i < ds_main_list2_operrsvsrchlist.rowcount; i++)
- {
- var check = ds_main_list2_operrsvsrchlist.getColumn(i, "chos");
-
- if (check == "1")
- {
- cnt++;
- if (cnt > 1)
- {
- sysf_messageBox("수술예약정보가 두 건 이상 선택되었습니다.", "I999");
- return;
- }
- oprsrvno = ds_main_list2_operrsvsrchlist.getColumn(i, "oprsrvno");
- }
- }
- if (!utlf_isNull(oprsrvno))
- {
- dsf_createDsRow("ds_hidden_list", [{col:"oprsrvno", type:"STRING", size:256 , val : oprsrvno}]);
-
- var csv = dsf_getDsCSV(ds_hidden_list, 0, "", "","");
-
- sysf_setGlobalVariable("operation",csv);
-
- frmf_modal("SMMNP01800", "SMMNP01800", "", "", "", "", "", "", "", "", "", "", "M");
- }
- }
- function group5_button8_onclick(obj:Button, e:ClickEventInfo)
- {
- var cnt = 0;
- var pid = ds_send_data1.getColumn(0, "pid");
- var instcd = "012";
- var oprsrvno = "";
- var ophistno = "";
-
- for (var i = 0; i < ds_main_list2_operrsvsrchlist.rowcount; i++)
- {
- var check = ds_main_list2_operrsvsrchlist.getColumn(i, "chos");
-
- if (check == "1")
- {
- cnt++;
- if (cnt > 1)
- {
- sysf_messageBox("수술예약정보가 두 건 이상 선택되었습니다.", "I999");
- return;
- }
- oprsrvno = ds_main_list2_operrsvsrchlist.getColumn(i, "oprsrvno");
- ophistno = ds_main_list2_operrsvsrchlist.getColumn(i, "ophistno");
- }
- }
-
- if (!utlf_isNull(pid) && !utlf_isNull(oprsrvno) && !utlf_isNull(instcd) && !utlf_isNull(ophistno))
- {
- dsf_createDsRow("ds_hidden_list", [{col:"pid", type:"STRING", size:256 , val : pid}
- , {col:"instcd", type:"STRING", size:256 , val : instcd}
- , {col:"oprsrvno", type:"STRING", size:256 , val : oprsrvno}
- , {col:"ophistno", type:"STRING", size:256 , val : ophistno}]);
-
- var csv = dsf_getDsCSV(ds_hidden_list, 0, "", "","");
-
- sysf_setGlobalVariable("operation",csv);
-
- frmf_modal("SMMNP00300", "SMMNP00300", "", "", "", "", "", "", "", "", "", "", "M");
- }
- }
- function group5_button9_onclick(obj:Button, e:ClickEventInfo)
- {
- var cnt = 0;
- var pid = ds_send_data1.getColumn(0, "pid");
- var instcd = "012";
- var oprsrvno = "";
- var ophistno = "";
-
- for (var i = 0; i < ds_main_list2_operrsvsrchlist.rowcount; i++)
- {
- var check = ds_main_list2_operrsvsrchlist.getColumn(i, "chos");
-
- if (check == "1")
- {
- cnt++;
- if (cnt > 1)
- {
- sysf_messageBox("수술예약정보가 두 건 이상 선택되었습니다.", "I999");
- return;
- }
-
- oprsrvno = ds_main_list2_operrsvsrchlist.getColumn(i, "oprsrvno");
- ophistno = ds_main_list2_operrsvsrchlist.getColumn(i, "ophistno");
- }
- }
-
- if (!utlf_isNull(pid) && !utlf_isNull(oprsrvno) && !utlf_isNull(instcd) && !utlf_isNull(ophistno))
- {
- dsf_createDsRow("ds_hidden_list", [{col:"pid", type:"STRING", size:256 , val : pid}
- , {col:"instcd", type:"STRING", size:256 , val : instcd}
- , {col:"oprsrvno", type:"STRING", size:256 , val : oprsrvno}
- , {col:"ophistno", type:"STRING", size:256 , val : ophistno}]);
-
- var csv = dsf_getDsCSV(ds_hidden_list, 0, "", "","");
-
- sysf_setGlobalVariable("operation",csv);
-
- frmf_modal("SMMNP00700", "SMMNP00700", "", "", "", "", "", "", "", "", "", "", "M");
- }
- }
- function group5_button10_onclick(obj:Button, e:ClickEventInfo)
- {
- var cnt = 0;
- var pid = ds_send_data1.getColumn(0, "pid");
- var instcd = "012";
- var oprsrvno = "";
- var ophistno = "";
- var opcnfmdt = "";
- var perfdeptnm = "";
- var opnm = "";
- var patnm = "";
-
- for (var i = 0; i < ds_main_list2_operrsvsrchlist.rowcount; i++)
- {
- var check = ds_main_list2_operrsvsrchlist.getColumn(i, "chos");
-
- if (check == "1")
- {
- cnt++;
-
- if (cnt > 1)
- {
- sysf_messageBox("수술예약정보가 두 건 이상 선택되었습니다.", "I999");
- return;
- }
-
- oprsrvno = ds_main_list2_operrsvsrchlist.getColumn(i, "oprsrvno");
- ophistno = ds_main_list2_operrsvsrchlist.getColumn(i, "ophistno");
- opcnfmdt = ds_main_list2_operrsvsrchlist.getColumn(i, "opcnfmdt");
- perfdeptnm = ds_main_list2_operrsvsrchlist.getColumn(i, "perfdeptnm");
- opnm = ds_main_list2_operrsvsrchlist.getColumn(i, "opnm");
- patnm = ds_main_list2_operrsvsrchlist.getColumn(i, "patnm");
- }
- }
-
- if (!utlf_isNull(pid) && !utlf_isNull(oprsrvno) && !utlf_isNull(instcd) && !utlf_isNull(ophistno))
- {
- dsf_createDsRow("ds_hidden_list", [{col:"pid", type:"STRING", size:256 , val : pid}
- , {col:"instcd", type:"STRING", size:256 , val : instcd}
- , {col:"oprsrvno", type:"STRING", size:256 , val : oprsrvno}
- , {col:"ophistno", type:"STRING", size:256 , val : ophistno}
- , {col:"indd", type:"STRING", size:256 , val : ds_send_data1.getColumn(0, "indd")}
- , {col:"opcnfmdt", type:"STRING", size:256 , val : opcnfmdt}
- , {col:"oprcdd", type:"STRING", size:256 , val : String(opcnfmdt).substr(0,10).split("-").join("")}
- , {col:"perfdeptnm", type:"STRING", size:256 , val : perfdeptnm}
- , {col:"opnm", type:"STRING", size:256 , val : opnm}
- , {col:"patnm", type:"STRING", size:256 , val : patnm}]);
-
- var objArg = new Object();
- objArg.arg_ds_hidden_list = ds_hidden_list;
- frmf_modal("SPPIJ03400", "SPPIJ03400", objArg, "", "", "", "", "", "", "", "", "", "M");
- //modal("SPPIJ03400", 1, "", "","SPPIJ03400", "/root/hidden/list", "/root/hidden/list");
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|