123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMMO05500" position="absolute 0 0 1195 781" titletext="수술/마취일정 확정" oninit="SMMMO05500_oninit" onload="SMMMO05500_onload">
- <Layouts>
- <Layout>
- <Button position="absolute 1148 495 1190 514" id="btn_close" class="btn2_letter2" text="닫기" onclick="btn_close_onclick"/>
- <Button position="absolute 1034 495 1076 514" id="button5" class="btn2_letter2" visible="false" text="출력" onclick="button5_onclick"/>
- <Button position="absolute 1147 62 1189 81" id="button4" class="btn2_letter2" text="출력" onclick="button4_onclick"/>
- <Button position="absolute 1094 495 1147 514" id="button3" class="btn2" text="excel" onclick="button3_onclick"/>
- <Button position="absolute 1092 62 1145 81" id="button2" class="btn2" text="excel" onclick="button2_onclick"/>
- <Button position="absolute 960 62 1024 81" id="btn_cnfm" class="btn2" text="일괄확정" onclick="btn_cnfm_onclick"/>
- <Shape position="absolute 0 18 1192 59" id="roundrect1" type="roundrectangle"/>
- <Static text="수술/마취일정 확정" position="absolute 0 0 168 20" id="caption6" class="tit_1"/>
- <Shape position="absolute 0 80 1192 86" linetype="vertical" id="line2" class="line_1"/>
- <Static text="수술/마취 정규" position="absolute 0 68 125 88" align="align:center middle;" id="caption18" class="tit_2"/>
- <Shape position="absolute 0 513 1192 519" linetype="vertical" id="line1" class="line_1"/>
- <Static text="수술/마취 대기" position="absolute 0 501 208 521" align="align:center middle;" id="caption1" class="tit_2"/>
- <Static text="수술예정일자 :" position="absolute 10 31 122 48" id="caption11" class="search_name"/>
- <Shape position="absolute 1108 25 1114 52" linetype="vertical" id="line3"/>
- <Button position="absolute 1115 759 1190 778" id="btn_open" class="btn2" visible="false" text="대기자List" onclick="btn_open_onclick"/>
- <Button position="absolute 1125 28 1181 50" id="btn_req" class="btn1" text="조회" onclick="btn_req_onclick"/>
- <Calendar position="absolute 125 30 246 49" id="ipt_opschedt" class="input_search" onchanged="ipt_opschedt_onchanged"/>
- <Grid position="absolute 0 521 1192 756" align="align:center middle;" id="grd_opanstwaitpatlist" binddataset="ds_main_opanstwaitpatlist" oncellclick="grd_opanstwaitpatlist_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="0"/>
- <Column size="30"/>
- <Column size="71"/>
- <Column size="81"/>
- <Column size="74"/>
- <Column size="75"/>
- <Column size="59"/>
- <Column size="87"/>
- <Column size="88"/>
- <Column size="60"/>
- <Column size="199"/>
- <Column size="181"/>
- <Column size="100"/>
- <Column size="78"/>
- <Column size="0"/>
- <Column size="82"/>
- <Column size="64"/>
- <Column size="75"/>
- <Column size="95"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="levl"/>
- <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="S/A"/>
- <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"/>
- </Band>
- <Band id="body">
- <Cell text="bind:status"/>
- <Cell col="1" text="bind:levl"/>
- <Cell col="2" displaytype="combo" edittype="combo" text="bind:cnstopflag" enable="false"/>
- <Cell col="3" displaytype="combo" edittype="combo" text="bind:opflagcd" enable="false"/>
- <Cell col="4" displaytype="combo" edittype="combo" text="bind:hopetmflag" mask="yyyy-mm-dd" enable="false"/>
- <Cell col="5" text="bind:opusetm" mask="nn:ss"/>
- <Cell col="6" displaytype="combo" edittype="combo" text="bind:orddeptcd" enable="false"/>
- <Cell col="7" text="bind:roomcd"/>
- <Cell col="8" text="bind:pid"/>
- <Cell col="9" text="bind:hngnm"/>
- <Cell col="10" text="bind:sa"/>
- <Cell col="11" text="bind:diagnm"/>
- <Cell col="12" text="bind:opnm" mask="yyyy-mm-dd"/>
- <Cell col="13" displaytype="combo" edittype="combo" text="bind:perfdeptcd" enable="false"/>
- <Cell col="14" text="bind:perfdrnm"/>
- <Cell col="15" text="bind:prcpclsnm"/>
- <Cell col="16" displaytype="combo" edittype="combo" text="bind:anstmthdcd" enable="false"/>
- <Cell col="17" displaytype="text" edittype="button" text="bind:tempopdelivefact"/>
- <Cell col="18" text="bind:rgstrnm"/>
- <Cell col="19" text="bind:cntctel"/>
- <Cell col="20" text="bind:opdelivefact"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 0 88 1192 492" align="align:center middle;" id="grd_opanstcnfmpatlist" binddataset="ds_main_opanstcnfmpatlist" onrbuttondown="grd_opanstcnfmpatlist_onrbuttondown" oncellclick="grd_opanstcnfmpatlist_oncellclick" onrbuttonup="grd_opanstcnfmpatlist_onrbuttonup">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="0"/>
- <Column size="50"/>
- <Column size="30"/>
- <Column size="65"/>
- <Column size="87"/>
- <Column size="87"/>
- <Column size="62"/>
- <Column size="81"/>
- <Column size="61"/>
- <Column size="84"/>
- <Column size="82"/>
- <Column size="50"/>
- <Column size="244"/>
- <Column size="207"/>
- <Column size="100"/>
- <Column size="74"/>
- <Column size="0"/>
- <Column size="85"/>
- <Column size="51"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="75"/>
- <Column size="100"/>
- <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" text="levl"/>
- <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="S/A"/>
- <Cell col="13" text="진단명"/>
- <Cell col="14" text="수술명"/>
- <Cell col="15" text="집도과"/>
- <Cell col="16" text="집도의"/>
- <Cell col="17" text="opstatcd"/>
- <Cell col="18" text="마취종류"/>
- <Cell col="19" text="전달사항"/>
- <Cell col="20" text="formseqno"/>
- <Cell col="21" text="oprsrvno"/>
- <Cell col="22" text="ophistno"/>
- <Cell col="23" text="ophistcd"/>
- <Cell col="24" text="oproomcd"/>
- <Cell col="25" text="oppatflagcd"/>
- <Cell col="26" text="mainoprsrvno"/>
- <Cell col="27" text="ccrtno"/>
- <Cell col="28" text="anstreqflag"/>
- <Cell col="29" text="orddeptnm"/>
- <Cell col="30" text="anstmthdnm"/>
- <Cell col="31" text="oproomnm"/>
- <Cell col="32" text="perfdeptnm"/>
- <Cell col="33" text="medispclid"/>
- <Cell col="34" text="opschedd"/>
- <Cell col="35" text="opcnfmdd"/>
- <Cell col="36" text="perfdrid"/>
- <Cell col="37" text="작성자"/>
- <Cell col="38" text="연락처"/>
- <Cell col="39" text="opdelivefact"/>
- <Cell col="40" text="reqrsncd"/>
- <Cell col="41" text="aprvreqno"/>
- </Band>
- <Band id="body">
- <Cell style="background2: ;color:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));color2:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));"/>
- <Cell col="1" style="background2: ;color:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));color2:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));" text="bind:levl"/>
- <Cell col="2" displaytype="checkbox" edittype="checkbox" style="background2: ;color:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));color2:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));" text="bind:sel" expr="expr:(sel == "Y" || sel == 1) ? 1 : 0"/>
- <Cell col="3" displaytype="combo" edittype="combo" style="background2: ;color:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));color2:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));" text="bind:cnstopflag" combodataset="ds_cnstopflag" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="4" displaytype="combo" edittype="combo" style="align:center;background2: ;color:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));color2:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));" text="bind:oproomcd" combodataset="ds_init_oproomlist" combocodecol="oproomcd" combodatacol="oproomnm" enable="false"/>
- <Cell col="5" style="background2: ;color:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));color2:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));" text="bind:opfromtmcd" mask="##:##" enable="false"/>
- <Cell col="6" style="background2: ;color:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));color2:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));" text="bind:opendtmcd" mask="##:##"/>
- <Cell col="7" style="background2: ;color:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));color2:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));" text="bind:opusetm" mask="##:##"/>
- <Cell col="8" displaytype="combo" edittype="combo" style="background2: ;color:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));color2:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));" text="bind:orddeptcd" combodataset="ds_init_orddept" combocodecol="deptcd" combodatacol="depthngnm" enable="false"/>
- <Cell col="9" style="background2: ;color:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));color2:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));" text="bind:roomcd"/>
- <Cell col="10" style="background2: ;color:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));color2:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));" text="bind:pid"/>
- <Cell col="11" style="background2: ;color:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));color2:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));" text="bind:hngnm"/>
- <Cell col="12" style="background2: ;color:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));color2:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));" text="bind:sa"/>
- <Cell col="13" style="align:left;background2: ;color:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));color2:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));" text="bind:diagnm"/>
- <Cell col="14" style="align:left;background2: ;color:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));color2:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));" text="bind:opnm"/>
- <Cell col="15" displaytype="combo" edittype="combo" style="background2: ;color:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));color2:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));" text="bind:perfdeptcd" combodataset="ds_init_orddept" combocodecol="deptcd" combodatacol="depthngnm" enable="false"/>
- <Cell col="16" style="background2: ;color:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));color2:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));" text="bind:perfdrnm"/>
- <Cell col="17" style="background2: ;color:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));color2:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));" text="bind:opstatcd"/>
- <Cell col="18" displaytype="combo" edittype="combo" style="background2: ;color:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));color2:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));" text="bind:anstmthdcd" combodataset="ds_M0017" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="19" displaytype="text" edittype="button" style="align:center;background2: ;color:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));color2:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));cursor:EXPR((imageflag == 1)? 'hand':'default');" text="bind:tempopdelivefact" expr="expr:(imageflag == 1)? '●':''"/>
- <Cell col="20" style="background2: ;color:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));color2:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));" text="bind:formseqno"/>
- <Cell col="21" style="background2: ;color:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));color2:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));" text="bind:oprsrvno"/>
- <Cell col="22" style="background2: ;color:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));color2:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));" text="bind:ophistno"/>
- <Cell col="23" style="background2: ;color:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));color2:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));" text="bind:ophistcd"/>
- <Cell col="24" style="background2: ;color:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));color2:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));" text="bind:oproomcd"/>
- <Cell col="25" style="background2: ;color:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));color2:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));" text="bind:oppatflagcd"/>
- <Cell col="26" style="background2: ;color:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));color2:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));" text="bind:mainoprsrvno"/>
- <Cell col="27" style="background2: ;color:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));color2:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));" text="bind:ccrtno"/>
- <Cell col="28" style="background2: ;color:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));color2:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));" text="bind:anstreqflag"/>
- <Cell col="29" style="background2: ;color:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));color2:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));" text="bind:orddeptnm"/>
- <Cell col="30" style="background2: ;color:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));color2:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));" text="bind:anstmthdnm"/>
- <Cell col="31" style="background2: ;color:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));color2:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));" text="bind:oproomnm"/>
- <Cell col="32" style="background2: ;color:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));color2:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));" text="bind:perfdeptnm"/>
- <Cell col="33" style="background2: ;color:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));color2:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));" text="bind:medispclid"/>
- <Cell col="34" style="background2: ;color:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));color2:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));" text="bind:opschedd"/>
- <Cell col="35" style="background2: ;color:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));color2:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));" text="bind:opcnfmdd"/>
- <Cell col="36" style="background2: ;color:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));color2:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));" text="bind:perfdrid"/>
- <Cell col="37" style="background2: ;color:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));color2:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));" text="bind:rgstrnm"/>
- <Cell col="38" style="background2: ;color:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));color2:EXPR(getColumn(currow,'colorflag') == 1?"#000000":(getColumn(currow,'colorflag') == 2? "#008000":(getColumn(currow,'colorflag') == 3? "#0000ff":"#ffffff")));" text="bind:cntctel"/>
- <Cell col="39" text="bind:opdelivefact"/>
- <Cell col="40" text="bind:reqrsncd"/>
- <Cell col="41" text="bind:aprvreqno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 872 62 958 81" id="button13" class="btn2" text="수술전평가서" onclick="button13_onclick" enable="false"/>
- <Button position="absolute 1026 62 1090 81" id="button1" class="btn5" text="선택확정" onclick="button1_onclick"/>
- <Button position="absolute 806 62 870 81" id="button6" class="btn5" visible="false" text="확정취소" onclick="button6_onclick"/>
- <PopupMenu id="pmn_menu" innerdataset="ds_popmenu" idcolumn="func" captioncolumn="name" levelcolumn="level" onmenuclick="pmn_menu_onmenuclick" position="absolute 1208 111 1330 135"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grd_opanstwaitpatlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="status" type="STRING"/>
- <Column id="levl" type="STRING"/>
- <Column id="cnstopflag" type="STRING"/>
- <Column id="opflagcd" type="STRING"/>
- <Column id="hopetmflag" type="STRING"/>
- <Column id="opusetm" type="STRING"/>
- <Column id="orddeptcd" type="STRING"/>
- <Column id="roomcd" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="sa" type="STRING"/>
- <Column id="diagnm" type="STRING"/>
- <Column id="opnm" type="STRING"/>
- <Column id="perfdeptcd" type="STRING"/>
- <Column id="perfdrnm" type="STRING"/>
- <Column id="prcpclsnm" type="STRING"/>
- <Column id="anstmthdcd" type="STRING"/>
- <Column id="tempopdelivefact" type="STRING"/>
- <Column id="rgstrnm" type="STRING"/>
- <Column id="cntctel" type="STRING"/>
- <Column id="opdelivefact" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_opanstcnfmpatlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="levl" type="STRING"/>
- <Column id="sel" type="STRING"/>
- <Column id="cnstopflag" type="STRING"/>
- <Column id="oproomcd" type="STRING"/>
- <Column id="opfromtmcd" type="STRING"/>
- <Column id="opendtmcd" type="STRING"/>
- <Column id="opusetm" type="STRING"/>
- <Column id="orddeptcd" type="STRING"/>
- <Column id="roomcd" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="sa" type="STRING"/>
- <Column id="diagnm" type="STRING"/>
- <Column id="opnm" type="STRING"/>
- <Column id="perfdeptcd" type="STRING"/>
- <Column id="perfdrnm" type="STRING"/>
- <Column id="opstatcd" type="STRING"/>
- <Column id="anstmthdcd" type="STRING"/>
- <Column id="tempopdelivefact" type="STRING"/>
- <Column id="formseqno" type="STRING"/>
- <Column id="oprsrvno" type="STRING"/>
- <Column id="ophistno" type="STRING"/>
- <Column id="ophistcd" type="STRING"/>
- <Column id="oproomcd" type="STRING"/>
- <Column id="oppatflagcd" type="STRING"/>
- <Column id="mainoprsrvno" type="STRING"/>
- <Column id="ccrtno" type="STRING"/>
- <Column id="anstreqflag" type="STRING"/>
- <Column id="orddeptnm" type="STRING"/>
- <Column id="anstmthdnm" type="STRING"/>
- <Column id="oproomnm" type="STRING"/>
- <Column id="perfdeptnm" type="STRING"/>
- <Column id="medispclid" type="STRING"/>
- <Column id="opschedd" type="STRING"/>
- <Column id="opcnfmdd" type="STRING"/>
- <Column id="perfdrid" type="STRING"/>
- <Column id="rgstrnm" type="STRING"/>
- <Column id="cntctel" type="STRING"/>
- <Column id="opdelivefact" type="STRING"/>
- <Column id="reqrsncd" type="STRING"/>
- <Column id="aprvreqno" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_popmenu" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="func" type="STRING" size="256"/>
- <Column id="name" type="STRING" size="256"/>
- <Column id="level" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="name">수술전평가서</Col>
- <Col id="func">fPreOpAssemRec</Col>
- <Col id="level">0</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_opanstcnfmpatlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_opanstcnfmpatlist_oncolumnchanged"/>
- <Dataset id="ds_main_opanstwaitpatlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_formcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_hardcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="opcnfmdd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_paminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_canceldata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_orddept" 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="deptcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_opallroomlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_cnstopflag" 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 id="value">N</Col>
- </Row>
- <Row>
- <Col id="label">협진</Col>
- <Col id="value">Y</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="Dataset09" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="Dataset10" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="Dataset11" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_M0017" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_M0020" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_M0377" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_M0013" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_userlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_oproomlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="oproomcd" type="STRING" size="256"/>
- <Column id="oproomnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="ipt_opschedt" propid="value" datasetid="ds_main_cond" columnid="opcnfmdd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2014-12-10
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2014-12-10 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "emr_prcpmngtxp::MMO001.xjs";
- include "emr_prcpmngtxp::SMMMO05500.xjs";
- function SMMMO05500_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMMMO05500_onload(obj:Form, e:LoadEventInfo)
- {
- fInitialize_SMMMO05500();
-
- grd_opanstcnfmpatlist.position.height = 671;
- }
- function btn_close_onclick(obj:Button, e:ClickEventInfo)
- {
- grd_opanstcnfmpatlist.position.height = 671; //attribute("height") = 671;
- grd_opanstwaitpatlist.visible = false; //attribute("visibility") = "hidden";
- }
- // 레포트 파일 없음
- function button5_onclick(obj:Button, e:ClickEventInfo)
- {
- var objDOM = rptf_createDOM();
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
- rptf_exeReportPreview30(["RPMMO05502"],[objParam], option); //미리보기만 가능
-
- //exeReportPreview("RPMMO05502", "XMLSTR");
- }
- function button4_onclick(obj:Button, e:ClickEventInfo)
- {
- var objDOM = rptf_createDOM();
- var objParam = new Object();
- rptf_setNodeListToDOM(objDOM, "/root/main/opanstpatinfo/opanstcnfmpatlist", ds_main_opanstcnfmpatlist); // 데이터셋 1
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
- rptf_exeReportPreview30(["RPMMO05501"],[objParam], option); //미리보기만 가능
- }
- function button2_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_opanstcnfmpatlist, "수술마취정규", "sheet1");
- //saveGridToExcel(grd_opanstcnfmpatlist);
- }
- function button3_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_opanstcnfmpatlist, "수술마취대기", "sheet1");
- //saveGridToExcel(grd_opanstwaitpatlist);
- }
- function btn_cnfm_onclick(obj:Button, e:ClickEventInfo)
- {
- fCnfmOpAnstSche("total");
- }
- function btn_open_onclick(obj:Button, e:ClickEventInfo)
- {
- grd_opanstcnfmpatlist.position.height = 403; //attribute("height") = 403;
- grd_opanstwaitpatlist.visible = true; //attribute("visibility") = "visible";
- }
- function btn_req_onclick(obj:Button, e:ClickEventInfo)
- {
- fReqOpAnstScheReq();
- }
- function ipt_opschedt_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- fReqOpAnstScheReq();
- }
- function grd_opanstwaitpatlist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- // [요청번호: 13643, TASK번호: 51229, 우선순위:SY]
- // 요청제목: 수술마취 일정 조정 대기자리스트 전달사항 컬럼 추가(기 반영된 사항 중 누락 건)
- // 작성자: 김광성. kskim
- // 작성일: 2010.04.26
- //fOpenSPMMO05500( "grd_opanstwaitpatlist" );
-
- var opdelivefact = ds_main_opanstcnfmpatlist.getColumn(ds_main_opanstcnfmpatlist.rowposition, "opdelivefact");
-
- if(e.col == 19 && !utlf_isNull(opdelivefact) /*&& !utlf_isNull(delivefact)*/ ) {
- fOpenSPMMO05500("grd_opanstwaitpatlist");
- }
- }
- function grd_opanstcnfmpatlist_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row < 0 || e.col < 0) return;
-
- grdf_setSelectedCell(obj, e);
-
- //pmn_menu.trackPopup(e.screenX,e.screenY);
-
- //setPopupMenu("grd_opanstcnfmpatlist", false, "/root/popupmenu/menu/item", "name", "func");
- }
- function grd_opanstcnfmpatlist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- // [요청번호: 12869, TASK번호: 48146, 우선순위: SY]
- // 요청제목 : 수술마취 의뢰에 전달사항 입력 시 마취과 확정/조정 화면에 전달사항 컬럼 추가 및 팝업 조회 기능 요청
- // 작성자: 김광성. kskim
- // 작성일: 20100415
- var opdelivefact = ds_main_opanstcnfmpatlist.getColumn(ds_main_opanstcnfmpatlist.rowposition, "opdelivefact");
-
- if(e.col == 19 && !utlf_isNull(opdelivefact) /*&& !utlf_isNull(delivefact)*/ ) {
- fOpenSPMMO05500("grd_opanstcnfmpatlist");
- }
- }
- function button13_onclick(obj:Button, e:ClickEventInfo)
- {
- fPreOpAssemRec();
- }
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- fCnfmOpAnstSche();
- }
- function button6_onclick(obj:Button, e:ClickEventInfo)
- {
- fCancelOpAnstSche();
- }
- function pmn_menu_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- eval(e.id + "()");
- }
- function ds_main_opanstcnfmpatlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if ( e.columnid == "sel" ) {
- var currow = e.row;
- obj.setColumn(currow, e.columnid, (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
- }
- function grd_opanstcnfmpatlist_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row < 0 || e.col < 0) return;
-
- grdf_setSelectedCell(obj, e);
-
- pmn_menu.trackPopup(e.screenX,e.screenY);
- }
- ]]></Script>
- </Form>
- </FDL>
|