1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPMI00800" position="absolute 0 0 1252 708" titletext="병실현황판" onload="SMPMI00800_onload" onkeydown="SMPMI00800_onkeydown" oninit="SMPMI00800_oninit">
- <Layouts>
- <Layout>
- <Button id="button3" taborder="2" onlbuttonup="button3_onlbuttonup" class="icon_bottom" position="absolute 1209 652 1235 672" anchor="left bottom" text="" positiontype="position" onclick="button3_onclick"/>
- <Button id="button4" taborder="3" onlbuttonup="button4_onlbuttonup" class="icon_top" position="absolute 1180 652 1206 672" anchor="left bottom" text="" positiontype="position" onclick="button4_onclick"/>
- <Button id="button7" taborder="22" class="icon_top" position="absolute 1180 652 1206 672" anchor="left bottom" text="" positiontype="position" onclick="button7_onclick"/>
- <Button id="button8" taborder="23" class="icon_bottom" position="absolute 1209 652 1235 672" anchor="left bottom" text="" positiontype="position" onclick="button8_onclick" visible="true" enable="false"/>
- <Shape id="roundrect2" type="roundrectangle" position="absolute 0 653 604 683" anchor="left bottom"/>
- <Shape id="rdt_rcpt" type="roundrectangle" position="absolute 640 653 793 683" anchor="left bottom"/>
- <Grid id="grd_allrsrv" taborder="4" useinputpanel="false" position="absolute 789 96 1235 506" binddataset="ds_grid_grd_allrsrv" positiontype="position" ondbclick="grd_allrsrv_ondbclick" oncelldblclick="grd_allrsrv_oncelldblclick" autofittype="col" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="103"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="22" band="head"/>
- <Row size="20"/>
- </Rows>
- <Band id="head">
- <Cell text="환자번호"/>
- <Cell col="1" text="성명"/>
- <Cell col="2" text="진료과"/>
- <Cell col="3" text="접수일자"/>
- <Cell col="4" text="진료타입"/>
- </Band>
- <Band id="body">
- <Cell edittype="none" style="align:center;" text="bind:pid"/>
- <Cell col="1" edittype="none" style="align:left middle;" text="bind:hngnm"/>
- <Cell col="2" displaytype="combo" edittype="none" style="align:left middle;" text="bind:orddeptcd" combodataset="ds_init_orddeptcd" combocodecol="cd" combodatacol="nm"/>
- <Cell col="3" displaytype="date" edittype="none" style="align:center middle;" text="bind:acptdd" calendardisplaynulltype="none"/>
- <Cell col="4" edittype="none" style="align:center middle;" text="bind:ordtype"/>
- <Cell col="5"/>
- <Cell col="6"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption2" text="현황판" class="tit_2" position="absolute 0 76 76 95" style="align:left top;" positiontype="position" anchor="default"/>
- <Grid id="grd_inprescondrefsum" taborder="5" useinputpanel="false" position="absolute 0 93 786 163" style="align:center middle;" binddataset="ds_grid_grd_inprescondrefsum" positiontype="position" anchor="default" cellsizingtype="col" autoenter="select" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="67"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="62"/>
- <Column size="62"/>
- <Column size="60"/>
- <Column size="116"/>
- </Columns>
- <Rows>
- <Row size="22" band="head"/>
- <Row size="23"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="특실(VIP)"/>
- <Cell col="2" text="1인실"/>
- <Cell col="3" text="2인실"/>
- <Cell col="4" text="3인실"/>
- <Cell col="5" text="4인실"/>
- <Cell col="6" text="5인실"/>
- <Cell col="7" text="6인실"/>
- <Cell col="8" text="7인실"/>
- <Cell col="9" text="8인실"/>
- <Cell col="10" text="중환자실"/>
- <Cell col="11" text="총계"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" edittype="none" text="bind:gubun"/>
- <Cell col="1" edittype="none" text="bind:roomgrdecd_no1"/>
- <Cell col="2" edittype="none" text="bind:roomgrdecd_no2"/>
- <Cell col="3" edittype="none" text="bind:roomgrdecd_no3"/>
- <Cell col="4" edittype="none" text="bind:roomgrdecd_no4"/>
- <Cell col="5" edittype="none" text="bind:roomgrdecd_no5"/>
- <Cell col="6" edittype="none" text="bind:roomgrdecd_no6"/>
- <Cell col="7" edittype="none" text="bind:roomgrdecd_no7"/>
- <Cell col="8" text="bind:roomgrdecd_no8"/>
- <Cell col="9" text="bind:roomgrdecd_no9"/>
- <Cell col="10" edittype="none" text="bind:roomgrdecd_no10"/>
- <Cell col="11" edittype="none" text="bind:totalcnt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption1" text="예약환자" class="tit_2" position="absolute 789 76 936 96" style="align:left top;" positiontype="position" anchor="default"/>
- <Static id="caption5" text="전과전실신청" class="tit_2" position="absolute 789 512 894 532" style="align:left top;" anchor="default" positiontype="position"/>
- <Combo id="combo1" taborder="14" position="absolute 1065 73 1235 93" anchor="default" positiontype="position" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="combo1_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">T</Col>
- <Col id="datacolumn">입원예약</Col>
- </Row>
- <Row>
- <Col id="codecolumn">I</Col>
- <Col id="datacolumn">입원결정서</Col>
- </Row>
- <Row>
- <Col id="codecolumn">E</Col>
- <Col id="datacolumn">응급실입원결정서</Col>
- </Row>
- <Row>
- <Col id="codecolumn">D</Col>
- <Col id="datacolumn">DSC/CHEMO입원결정서</Col>
- </Row>
- <Row>
- <Col id="codecolumn">B</Col>
- <Col id="datacolumn">신생아변경리스트</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Grid id="grd_babylist" taborder="15" useinputpanel="false" visible="false" position="absolute 789 96 1235 506" binddataset="ds_grid_grd_babylist" positiontype="position" ondbclick="grd_babylist_ondbclick" oncelldblclick="grd_babylist_oncelldblclick" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="55" band="left"/>
- <Column size="55" band="left"/>
- <Column size="75" band="left"/>
- <Column size="66"/>
- <Column size="97"/>
- <Column size="60"/>
- <Column size="80"/>
- <Column size="70"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="22" band="head"/>
- <Row size="20"/>
- </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="생성번호"/>
- </Band>
- <Band id="body">
- <Cell text="bind:icdr_pid"/>
- <Cell col="1" style="align:left middle;" text="bind:icdr_hngnm"/>
- <Cell col="2" displaytype="date" text="bind:icdr_indd" calendardisplaynulltype="none"/>
- <Cell col="3" displaytype="combo" edittype="combo" text="bind:icdr_mskind" combodataset="ds_initZ_P0006" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="4" displaytype="combo" edittype="combo" text="bind:icdr_orddeptcd" combodataset="ds_init_orddeptcd" combocodecol="cd" combodatacol="nm"/>
- <Cell col="5" displaytype="combo" edittype="combo" text="bind:icdr_medispclid" combodataset="ds_init_orddrid" combocodecol="cd" combodatacol="nm"/>
- <Cell col="6" displaytype="combo" edittype="combo" text="bind:icdr_wardcd" combodataset="ds_init_wardcd" combocodecol="cd" combodatacol="nm"/>
- <Cell col="7" text="bind:icdr_roomcd" combodataset="ds_init_roomcd" combocodecol="cd" combodatacol="nm"/>
- <Cell col="8" displaytype="combo" edittype="combo" text="bind:icdr_roomgrdecd" combodataset="ds_init_roomgrdecd" combocodecol="cd" combodatacol="nm"/>
- <Cell col="9" displaytype="combo" edittype="combo" text="bind:icdr_roomtypecd" combodataset="ds_init_roomtypecd" combocodecol="cd" combodatacol="nm"/>
- <Cell col="10" text="bind:icdr_cretno"/>
- <Cell col="11"/>
- <Cell col="12"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_chngdeptroomlist" taborder="16" useinputpanel="false" position="absolute 789 529 1235 650" style="align:center middle;" anchor="left top bottom" binddataset="ds_grid_grd_chngdeptroomlist" positiontype="position" ondbclick="grd_chngdeptroomlist_ondbclick" oncelldblclick="grd_chngdeptroomlist_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="29" band="left"/>
- <Column size="89" band="left"/>
- <Column size="63" band="left"/>
- <Column size="33"/>
- <Column size="50"/>
- <Column size="40"/>
- <Column size="53"/>
- <Column size="51"/>
- <Column size="50"/>
- <Column size="40"/>
- <Column size="53"/>
- <Column size="50"/>
- <Column size="70"/>
- <Column size="40"/>
- </Columns>
- <Rows>
- <Row size="22" band="head"/>
- <Row size="22" band="head"/>
- <Row size="20"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" taborder="undefined"/>
- <Cell col="1" rowspan="2" text="환자번호"/>
- <Cell col="2" rowspan="2" text="성명"/>
- <Cell col="3" rowspan="2" text="구분"/>
- <Cell col="4" colspan="4" text="From"/>
- <Cell col="8" colspan="4" text="To"/>
- <Cell col="12" rowspan="2" text="신청일자"/>
- <Cell col="13" rowspan="2" text="신청 시간"/>
- <Cell row="1" col="4" text="병동"/>
- <Cell row="1" col="5" text="병실"/>
- <Cell row="1" col="6" text="과"/>
- <Cell row="1" col="7" text="담당교수"/>
- <Cell row="1" col="8" text="병동"/>
- <Cell row="1" col="9" text="병실"/>
- <Cell row="1" col="10" text="과"/>
- <Cell row="1" col="11" text="담당교수"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" style="align:center middle;" text="bind:pid"/>
- <Cell col="2" style="align:center middle;" text="bind:hngnm"/>
- <Cell col="3" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:appflagcd" combodataset="ds_init_appflag" combocodecol="value" combodatacol="label"/>
- <Cell col="4" displaytype="combo" edittype="combo" style="align:center top;padding:5 2 3 2;" text="bind:prestwardcd" wordwrap="word" combodataset="ds_init_wardcd" combocodecol="cd" combodatacol="nm"/>
- <Cell col="5" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:prestroomcd" combodataset="ds_init_roomcd" combocodecol="cd" combodatacol="nm"/>
- <Cell col="6" displaytype="combo" edittype="combo" style="align:center top;padding:5 2 3 2;" text="bind:prestorddeptcd" wordwrap="word" combodataset="ds_init_orddeptcd" combocodecol="cd" combodatacol="nm"/>
- <Cell col="7" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:prestmedispclid" combodataset="ds_init_orddrid" combocodecol="cd" combodatacol="nm"/>
- <Cell col="8" displaytype="combo" edittype="combo" style="align:center top;padding:5 2 3 2;" text="bind:chngwardcd" wordwrap="word" combodataset="ds_init_wardcd" combocodecol="cd" combodatacol="nm"/>
- <Cell col="9" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:chngroomcd" combodataset="ds_init_roomcd" combocodecol="cd" combodatacol="nm"/>
- <Cell col="10" displaytype="combo" edittype="combo" style="align:center top;padding:5 2 3 2;" text="bind:chngorddeptcd" wordwrap="word" combodataset="ds_init_orddeptcd" combocodecol="cd" combodatacol="nm"/>
- <Cell col="11" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:chngmedispclid" combodataset="ds_init_orddrid" combocodecol="cd" combodatacol="nm"/>
- <Cell col="12" displaytype="date" style="align:center middle;" text="bind:appdd" calendardisplaynulltype="none"/>
- <Cell col="13" style="align:center middle;" text="bind:apptm" mask="##:##" maskchar=" "/>
- <Cell col="14"/>
- <Cell col="15"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="button2" taborder="17" class="icon_left" position="absolute 733 72 759 92" text="" positiontype="position" onclick="button2_onclick" anchor="default" visible="true" enable="false"/>
- <Button id="button5" taborder="18" class="icon_right" position="absolute 760 72 786 92" text="" positiontype="position" onclick="button5_onclick" anchor="default"/>
- <CheckBox id="chk_aprv" taborder="19" text="전과전실승인" truevalue="Y" position="absolute 965 73 1057 93" anchor="default" positiontype="position" onchanged="chk_aprv_onchanged" visible="false"/>
- <Grid id="grd_inhpdeci" taborder="20" useinputpanel="false" position="absolute 789 96 1235 506" visible="false" binddataset="ds_grid_grd_inhpdeci" positiontype="position" ondbclick="grd_inhpdeci_ondbclick" onbuttondown="grd_inhpdeci_onbuttondown" oncelldblclick="grd_inhpdeci_oncelldblclick" anchor="default" onrbuttondown="grd_inhpdeci_onrbuttondown">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="60" band="left"/>
- <Column size="82" band="left"/>
- <Column size="40"/>
- <Column size="115"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="32"/>
- <Column size="40"/>
- <Column size="60"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="60"/>
- <Column size="90"/>
- <Column size="70"/>
- <Column size="90"/>
- <Column size="60"/>
- <Column size="90"/>
- <Column size="110"/>
- <Column size="110"/>
- <Column size="200"/>
- <Column size="200"/>
- <Column size="70"/>
- <Column size="40"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="85"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="22" band="head"/>
- <Row size="20"/>
- </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="지시일자"/>
- <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="희망병실등급FROM"/>
- <Cell col="18" text="희망병실등급TO"/>
- <Cell col="19" text="진료 참고사항"/>
- <Cell col="20" text="원무 참고사항"/>
- <Cell col="21" text="입원일자"/>
- <Cell col="22" text="시간"/>
- <Cell col="23" text="O2여부"/>
- <Cell col="24" text="Suction"/>
- <Cell col="25" text="예상입원기간"/>
- <Cell col="26" text="erreglyn"/>
- <Cell col="27" text="rsrvprcsstat"/>
- </Band>
- <Band id="body">
- <Cell edittype="none" style="align:center middle;" text="bind:pid"/>
- <Cell col="1" edittype="none" style="align:left middle;" text="bind:hngnm"/>
- <Cell col="2" text="bind:sexnm"/>
- <Cell col="3" displaytype="combo" edittype="none" style="align:left middle;" text="bind:assgroomtype" combodataset="ds_init_roomtypecd" combocodecol="cd" combodatacol="nm"/>
- <Cell col="4" displaytype="date" edittype="none" style="align:center middle;" text="bind:inhopedd" calendardisplaynulltype="none"/>
- <Cell col="5" displaytype="combo" edittype="none" style="align:left middle;" text="bind:orddeptcd" combodataset="ds_init_orddeptcd" combocodecol="cd" combodatacol="nm" combodisplaynulltype="nulltext"/>
- <Cell col="6" edittype="none" style="align:center middle;" text="bind:inrsrvacptseqno"/>
- <Cell col="7" edittype="none" style="align:center middle;" text="bind:inrsrvacpttm" mask="##:##"/>
- <Cell col="8" displaytype="combo" edittype="none" style="align:center middle;" text="bind:insukind" combodataset="ds_init_insukind" combocodecol="cd" combodatacol="nm"/>
- <Cell col="9" displaytype="combo" edittype="none" style="align:center middle;" text="bind:indirecdrid" combodataset="ds_init_orddrid" combocodecol="cd" combodatacol="nm"/>
- <Cell col="10" displaytype="date" edittype="none" style="align:center middle;" text="bind:indirecdd" calendardisplaynulltype="none"/>
- <Cell col="11" displaytype="combo" edittype="none" style="align:center middle;" text="bind:orddrid" combodataset="ds_init_orddrid" combocodecol="cd" combodatacol="nm"/>
- <Cell col="12" displaytype="date" edittype="none" style="align:center middle;" text="bind:patinhopedd" calendardisplaynulltype="none"/>
- <Cell col="13" displaytype="date" edittype="none" style="align:center middle;" text="bind:inrsrvacptdd" calendardisplaynulltype="none"/>
- <Cell col="14" displaytype="combo" edittype="none" style="align:center middle;" text="bind:chngwardcd" combodataset="ds_init_wardcd" combocodecol="cd" combodatacol="nm"/>
- <Cell col="15" edittype="none" style="align:center middle;" text="bind:chngroomcd" combodataset="ds_init_roomcd" combocodecol="cd" combodatacol="nm"/>
- <Cell col="16" displaytype="combo" edittype="none" style="align:center middle;" text="bind:inhopeward" combodataset="ds_init_wardcd" combocodecol="cd" combodatacol="nm"/>
- <Cell col="17" displaytype="combo" edittype="none" style="align:center middle;" text="bind:inhoperoomgrdefrom" combodataset="ds_init_roomgrdecd" combocodecol="cd" combodatacol="nm"/>
- <Cell col="18" displaytype="combo" edittype="none" style="align:center middle;" text="bind:inhoperoomgrdeto" combodataset="ds_init_roomgrdecd" combocodecol="cd" combodatacol="nm"/>
- <Cell col="19" displaytype="normal" edittype="none" style="align:center middle;" text="bind:drrem"/>
- <Cell col="20" edittype="none" style="align:center middle;" text="bind:inrsrvrem"/>
- <Cell col="21" displaytype="date" edittype="none" style="align:center middle;" text="bind:indd" calendardisplaynulltype="none"/>
- <Cell col="22" edittype="none" style="align:center middle;" text="bind:intm" mask="##:##"/>
- <Cell col="23" displaytype="combo" edittype="none" style="align:center middle;" text="bind:oxyyn"/>
- <Cell col="24" displaytype="combo" edittype="none" style="align:center middle;" text="bind:suctyn"/>
- <Cell col="25" edittype="none" style="align:center middle;" text="bind:fcstinterm"/>
- <Cell col="26" text="bind:erreglyn"/>
- <Cell col="27" text="bind:rsrvprcsstat"/>
- <Cell col="28"/>
- <Cell col="29"/>
- <Cell col="30"/>
- <Cell col="31"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_inprescondrefrsrv" taborder="21" useinputpanel="false" position="absolute 789 95 1235 505" anchor="default" binddataset="ds_grid_grd_inprescondrefrsrv" positiontype="position" ondbclick="grd_inprescondrefrsrv_ondbclick" onbuttondown="grd_inprescondrefrsrv_onbuttondown" oncellclick="grd_inprescondrefrsrv_oncellclick" onrbuttondown="grd_inprescondrefrsrv_onrbuttondown">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="25" band="left"/>
- <Column size="68" band="left"/>
- <Column size="73" band="left"/>
- <Column size="28"/>
- <Column size="75"/>
- <Column size="77"/>
- <Column size="43"/>
- <Column size="85"/>
- <Column size="66"/>
- <Column size="66"/>
- <Column size="109"/>
- <Column size="80"/>
- <Column size="83"/>
- <Column size="85"/>
- <Column size="85"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="55"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="22" band="head"/>
- <Row size="20"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2" text="환자번호"/>
- <Cell col="3" text="성명"/>
- <Cell col="4" text="나이"/>
- <Cell col="5" text="수술예정일"/>
- <Cell col="6" text="접수일자"/>
- <Cell col="7" text="예약"/>
- <Cell col="8" text="진료과"/>
- <Cell col="9" text="배정병동"/>
- <Cell col="10" text="배정병실"/>
- <Cell col="11" text="배정병실등급"/>
- <Cell col="12" text="배정병실형태"/>
- <Cell col="13" text="희망병동"/>
- <Cell col="14" text="희망등급From"/>
- <Cell col="15" text="희망등급To"/>
- <Cell col="16" text="격리실"/>
- <Cell col="17" text="O2"/>
- <Cell col="18" text="Suction"/>
- <Cell col="19" text="노블레스"/>
- <Cell col="20" text="caption1"/>
- <Cell col="21" text="caption2"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chk"/>
- <Cell col="2" edittype="none" style="align:left middle;color:EXPR(lf_grd_inprescondrefrsrv_Color(currow));color2:EXPR(lf_grd_inprescondrefrsrv_Color(currow));" text="bind:pid"/>
- <Cell col="3" edittype="none" style="align:left middle;color:EXPR(lf_grd_inprescondrefrsrv_Color(currow));color2:EXPR(lf_grd_inprescondrefrsrv_Color(currow));" text="bind:hngnm"/>
- <Cell col="4" style="color:EXPR(lf_grd_inprescondrefrsrv_Color(currow));color2:EXPR(lf_grd_inprescondrefrsrv_Color(currow));" text="bind:age"/>
- <Cell col="5" displaytype="date" edittype="none" style="align:center middle;color:EXPR(lf_grd_inprescondrefrsrv_Color(currow));color2:EXPR(lf_grd_inprescondrefrsrv_Color(currow));" text="bind:scheopdd" calendardisplaynulltype="none"/>
- <Cell col="6" displaytype="date" edittype="none" style="align:center middle;color:EXPR(lf_grd_inprescondrefrsrv_Color(currow));color2:EXPR(lf_grd_inprescondrefrsrv_Color(currow));" text="bind:inrsrvacptdd" calendardisplaynulltype="none"/>
- <Cell col="7" displaytype="combo" edittype="none" style="align:center middle;color:EXPR(lf_grd_inprescondrefrsrv_Color(currow));color2:EXPR(lf_grd_inprescondrefrsrv_Color(currow));" text="bind:inrsrvstat" combodataset="ds_initZ_P0017" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="8" displaytype="combo" edittype="none" style="align:left middle;color:EXPR(lf_grd_inprescondrefrsrv_Color(currow));color2:EXPR(lf_grd_inprescondrefrsrv_Color(currow));" text="bind:orddeptcd" combodataset="ds_init_orddeptcd" combocodecol="cd" combodatacol="nm"/>
- <Cell col="9" displaytype="combo" edittype="none" style="align:center middle;color:EXPR(lf_grd_inprescondrefrsrv_Color(currow));color2:EXPR(lf_grd_inprescondrefrsrv_Color(currow));" text="bind:assgward" combodataset="ds_init_wardcd" combocodecol="cd" combodatacol="nm"/>
- <Cell col="10" displaytype="combo" edittype="none" style="align:center middle;color:EXPR(lf_grd_inprescondrefrsrv_Color(currow));color2:EXPR(lf_grd_inprescondrefrsrv_Color(currow));" text="bind:assgroom" combodataset="ds_init_roomcd" combocodecol="cd" combodatacol="nm"/>
- <Cell col="11" displaytype="combo" edittype="none" style="align:center middle;color:EXPR(lf_grd_inprescondrefrsrv_Color(currow));color2:EXPR(lf_grd_inprescondrefrsrv_Color(currow));" text="bind:assgroomgrde" combodataset="ds_init_roomgrdecd" combocodecol="cd" combodatacol="nm"/>
- <Cell col="12" displaytype="combo" edittype="none" style="align:center middle;color:EXPR(lf_grd_inprescondrefrsrv_Color(currow));color2:EXPR(lf_grd_inprescondrefrsrv_Color(currow));" text="bind:assgroomtype" combodataset="ds_init_roomtypecd" combocodecol="cd" combodatacol="nm"/>
- <Cell col="13" displaytype="combo" edittype="none" style="align:center middle;color:EXPR(lf_grd_inprescondrefrsrv_Color(currow));color2:EXPR(lf_grd_inprescondrefrsrv_Color(currow));" text="bind:inhopeward" combodataset="ds_init_wardcd" combocodecol="cd" combodatacol="nm"/>
- <Cell col="14" displaytype="combo" edittype="none" style="align:center middle;color:EXPR(lf_grd_inprescondrefrsrv_Color(currow));color2:EXPR(lf_grd_inprescondrefrsrv_Color(currow));" text="bind:inhoperoomgrdefrom" combodataset="ds_init_roomgrdecd" combocodecol="cd" combodatacol="nm"/>
- <Cell col="15" displaytype="combo" edittype="none" style="align:center middle;color:EXPR(lf_grd_inprescondrefrsrv_Color(currow));color2:EXPR(lf_grd_inprescondrefrsrv_Color(currow));" text="bind:inhoperoomgrdeto" combodataset="ds_init_roomgrdecd" combocodecol="cd" combodatacol="nm"/>
- <Cell col="16" displaytype="combo" edittype="none" style="align:center middle;color:EXPR(lf_grd_inprescondrefrsrv_Color(currow));color2:EXPR(lf_grd_inprescondrefrsrv_Color(currow));" text="bind:isolroomyn" combodataset="ds_initZ_P0170" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="17" displaytype="normal" edittype="none" style="align:center middle;color:EXPR(lf_grd_inprescondrefrsrv_Color(currow));color2:EXPR(lf_grd_inprescondrefrsrv_Color(currow));" text="bind:oxyyn"/>
- <Cell col="18" displaytype="normal" edittype="none" style="align:center middle;color:EXPR(lf_grd_inprescondrefrsrv_Color(currow));color2:EXPR(lf_grd_inprescondrefrsrv_Color(currow));" text="bind:suctyn"/>
- <Cell col="19" displaytype="normal" edittype="none" style="align:center middle;color:EXPR(lf_grd_inprescondrefrsrv_Color(currow));color2:EXPR(lf_grd_inprescondrefrsrv_Color(currow));" text="bind:nblsyn"/>
- <Cell col="20" text="bind:inrsrvacptseqno"/>
- <Cell col="21" text="bind:erreglyn"/>
- <Cell col="22"/>
- <Cell col="23"/>
- <Cell col="24"/>
- <Cell col="25"/>
- <Cell col="26"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption24" text="예약환자" position="absolute 1172 508 1228 528" style="align:center middle;" anchor="default" positiontype="position"/>
- <Static id="caption25" text="결정서환자" position="absolute 1083 508 1145 528" style="align:center middle;" anchor="default" positiontype="position"/>
- <Static id="caption9" class="color_5" position="absolute 1064 510 1079 525" style="background:#cc3300ff;align:center middle;" anchor="default" positiontype="position"/>
- <Static id="caption19" class="color_6" position="absolute 1158 509 1173 524" style="background:black;align:center middle;" anchor="default" positiontype="position"/>
- <Button id="btn_init" taborder="26" text="초기화" class="btn4" visible="false" position="absolute 1090 685 1159 705" anchor="left bottom" positiontype="position" onclick="btn_init_onclick"/>
- <Button id="btn_roomassg" taborder="27" text="병실배정" class="btn3" position="absolute 85 685 167 705" anchor="left bottom" positiontype="position" onclick="btn_roomassg_onclick"/>
- <Button id="btn_inrgst" taborder="28" text="입원등록" class="btn3" position="absolute 170 685 252 705" anchor="left bottom" positiontype="position" onclick="btn_inrgst_onclick"/>
- <Button id="btn_inhospupdt" taborder="29" text="재원변경" class="btn3" position="absolute 255 685 337 705" anchor="left bottom" positiontype="position" onclick="btn_inhospupdt_onclick"/>
- <Button id="btn_inrsrv" taborder="30" text="입원예약" class="btn3" position="absolute 0 685 82 705" anchor="left bottom" positiontype="position" onclick="btn_inrsrv_onclick"/>
- <Button id="btn_roompatinfo" taborder="31" text="병실환자정보" class="btn3" position="absolute 614 685 722 705" anchor="left bottom" positiontype="position" onclick="btn_roompatinfo_onclick"/>
- <Button id="btn_chngdeptroomaprv" taborder="32" text="전과전실승인" class="btn3" position="absolute 340 685 448 705" anchor="left bottom" positiontype="position" onclick="btn_chngdeptroomaprv_onclick"/>
- <Button id="button1" taborder="33" text="전과전실신청승인조회" class="btn3" position="absolute 451 685 611 705" anchor="left bottom" positiontype="position" onclick="button1_onclick"/>
- <Button id="btn_SMASB02100" taborder="34" text="격리병실신청현황" class="btn3" position="absolute 725 685 859 705" anchor="left bottom" visible="true" positiontype="position" onclick="btn_SMASB02100_onclick"/>
- <Button id="button6" taborder="35" text="병동매니저관리" class="btn3" position="absolute 862 685 983 705" anchor="left bottom" positiontype="position" onclick="button6_onclick"/>
- <PopupMenu id="inprescondrefrsrv_popup" position="absolute 940 206 1076 272" captioncolumn="captioncolumn" enablecolumn="enablecolumn" idcolumn="idcolumn" levelcolumn="levelcolumn" userdatacolumn="userdatacolumn" iconcolumn="iconcolumn" checkboxcolumn="checkboxcolumn" hotkeycolumn="hotkeycolumn" onmenuclick="inprescondrefrsrv_popup_onmenuclick" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="idcolumn" size="256"/>
- <Column id="captioncolumn" size="256"/>
- <Column id="levelcolumn" size="256"/>
- <Column id="enablecolumn" size="256"/>
- <Column id="iconcolumn" size="256"/>
- <Column id="checkboxcolumn" size="256"/>
- <Column id="hotkeycolumn" size="256"/>
- <Column id="userdatacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="idcolumn">ER</Col>
- <Col id="captioncolumn">ER로전환</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">SDW</Col>
- <Col id="captioncolumn">SDW/CHEMO로전환</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">D</Col>
- <Col id="captioncolumn">삭제</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- </Rows>
- </Dataset>
- </PopupMenu>
- <PopupMenu id="inhpdeci_popup" position="absolute 822 119 961 207" idcolumn="idcolumn" captioncolumn="captioncolumn" levelcolumn="levelcolumn" enablecolumn="enablecolumn" iconcolumn="iconcolumn" checkboxcolumn="checkboxcolumn" hotkeycolumn="hotkeycolumn" userdatacolumn="userdatacolumn" onmenuclick="inhpdeci_popup_onmenuclick" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="idcolumn" size="256"/>
- <Column id="captioncolumn" size="256"/>
- <Column id="levelcolumn" size="256"/>
- <Column id="enablecolumn" size="256"/>
- <Column id="iconcolumn" size="256"/>
- <Column id="checkboxcolumn" size="256"/>
- <Column id="hotkeycolumn" size="256"/>
- <Column id="userdatacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="idcolumn">O</Col>
- <Col id="captioncolumn">외래로전환</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">SDW</Col>
- <Col id="captioncolumn">SDW/CHEMO로전환</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">D</Col>
- <Col id="captioncolumn">삭제</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">PRCS</Col>
- <Col id="captioncolumn">입원수속보완/완료</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- </Rows>
- </Dataset>
- </PopupMenu>
- <Static id="caption13" text="입원수속보완" visible="false" position="absolute 975 508 1049 528" style="align:center middle;" anchor="default" positiontype="position"/>
- <Static id="caption14" class="color_5" visible="false" position="absolute 957 510 972 525" style="background:#cc99ffff;color:#444444ff;align:center middle;" anchor="default" positiontype="position"/>
- <Grid id="grd_inprescondreflist" taborder="41" binddataset="ds_grid_grd_inprescondreflist" autoenter="select" useinputpanel="false" selecttype="cell" oncelldblclick="grd_inprescondreflist_oncelldblclick" usebitmapcache="true" position="absolute 0 164 786 649" anchor="left top bottom" autosizingtype="none" cellsizingtype="col" extendsizetype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="82" band="left"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- </Columns>
- <Rows>
- <Row size="0" band="head"/>
- <Row size="20"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2"/>
- <Cell col="3"/>
- <Cell col="4"/>
- <Cell col="5"/>
- <Cell col="6"/>
- <Cell col="7"/>
- <Cell col="8"/>
- <Cell col="9"/>
- <Cell col="10"/>
- <Cell col="11"/>
- <Cell col="12"/>
- <Cell col="13"/>
- <Cell col="14"/>
- <Cell col="15"/>
- <Cell col="16"/>
- <Cell col="17"/>
- <Cell col="18"/>
- <Cell col="19"/>
- <Cell col="20"/>
- <Cell col="21"/>
- <Cell col="22"/>
- <Cell col="23"/>
- <Cell col="24"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="bind:wardcd" suppress="1" suppressalign="middle,over" tooltiptext="bind:wardcd"/>
- <Cell col="1" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,1));background2:EXPR(lf_iGridColor(currow,1));color:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,1):"");color2:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,1):"");" text="bind:nmroom_no1" tooltiptext="bind:nmroom_no1"/>
- <Cell col="2" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,2));background2:EXPR(lf_iGridColor(currow,2));color:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,2):"");color2:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,2):"");" text="bind:nmroom_no2" tooltiptext="bind:nmroom_no2"/>
- <Cell col="3" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,3));background2:EXPR(lf_iGridColor(currow,3));color:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,3):"");color2:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,3):"");" text="bind:nmroom_no3" tooltiptext="bind:nmroom_no3"/>
- <Cell col="4" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,4));background2:EXPR(lf_iGridColor(currow,4));color:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,4):"");color2:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,4):"");" text="bind:nmroom_no4" tooltiptext="bind:nmroom_no4"/>
- <Cell col="5" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,5));background2:EXPR(lf_iGridColor(currow,5));color:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,5):"");color2:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,5):"");" text="bind:nmroom_no5" tooltiptext="bind:nmroom_no5"/>
- <Cell col="6" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,6));background2:EXPR(lf_iGridColor(currow,6));color:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,6):"");color2:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,6):"");" text="bind:nmroom_no6" tooltiptext="bind:nmroom_no6"/>
- <Cell col="7" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,7));background2:EXPR(lf_iGridColor(currow,7));color:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,7):"");color2:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,7):"");" text="bind:nmroom_no7" tooltiptext="bind:nmroom_no7"/>
- <Cell col="8" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,8));background2:EXPR(lf_iGridColor(currow,8));color:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,8):"");color2:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,8):"");" text="bind:nmroom_no8" tooltiptext="bind:nmroom_no8"/>
- <Cell col="9" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,9));background2:EXPR(lf_iGridColor(currow,9));color:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,9):"");color2:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,9):"");" text="bind:nmroom_no9" tooltiptext="bind:nmroom_no9"/>
- <Cell col="10" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,10));background2:EXPR(lf_iGridColor(currow,10));color:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,10):"");color2:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,10):"");" text="bind:nmroom_no10" tooltiptext="bind:nmroom_no10"/>
- <Cell col="11" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,11));background2:EXPR(lf_iGridColor(currow,11));color:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,11):"");color2:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,11):"");" text="bind:nmroom_no11" tooltiptext="bind:nmroom_no11"/>
- <Cell col="12" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,12));background2:EXPR(lf_iGridColor(currow,12));color:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,12):"");color2:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,12):"");" text="bind:nmroom_no12" tooltiptext="bind:nmroom_no12"/>
- <Cell col="13" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,13));background2:EXPR(lf_iGridColor(currow,13));color:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,13):"");color2:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,13):"");" text="bind:nmroom_no13" tooltiptext="bind:nmroom_no13"/>
- <Cell col="14" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,14));background2:EXPR(lf_iGridColor(currow,14));color:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,14):"");color2:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,14):"");" text="bind:nmroom_no14" tooltiptext="bind:nmroom_no14"/>
- <Cell col="15" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,15));background2:EXPR(lf_iGridColor(currow,15));color:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,15):"");color2:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,15):"");" text="bind:nmroom_no15" tooltiptext="bind:nmroom_no15"/>
- <Cell col="16" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,16));background2:EXPR(lf_iGridColor(currow,16));color:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,16):"");color2:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,16):"");" text="bind:nmroom_no16" tooltiptext="bind:nmroom_no16"/>
- <Cell col="17" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,17));background2:EXPR(lf_iGridColor(currow,17));color:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,17):"");color2:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,17):"");" text="bind:nmroom_no17" tooltiptext="bind:nmroom_no17"/>
- <Cell col="18" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,18));background2:EXPR(lf_iGridColor(currow,18));color:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,18):"");color2:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,18):"");" text="bind:nmroom_no18" tooltiptext="bind:nmroom_no18"/>
- <Cell col="19" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,19));background2:EXPR(lf_iGridColor(currow,19));color:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,19):"");color2:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,19):"");" text="bind:nmroom_no19" tooltiptext="bind:nmroom_no19"/>
- <Cell col="20" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,20));background2:EXPR(lf_iGridColor(currow,20));color:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,20):"");color2:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,20):"");" text="bind:nmroom_no20" tooltiptext="bind:nmroom_no20"/>
- <Cell col="21" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,21));background2:EXPR(lf_iGridColor(currow,21));color:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,21):"");color2:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,21):"");" text="bind:nmroom_no21" tooltiptext="bind:nmroom_no21"/>
- <Cell col="22" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,22));background2:EXPR(lf_iGridColor(currow,22));color:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,22):"");color2:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,22):"");" text="bind:nmroom_no22" tooltiptext="bind:nmroom_no22"/>
- <Cell col="23" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,23));background2:EXPR(lf_iGridColor(currow,23));color:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,23):"");color2:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,23):"");" text="bind:nmroom_no23" tooltiptext="bind:nmroom_no23"/>
- <Cell col="24" celltype="none" style="align:left middle;background:EXPR(lf_iGridColor(currow,24));background2:EXPR(lf_iGridColor(currow,24));color:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,24):"");color2:EXPR(Div00.bool4.value == "N" ? lf_iFontSet(currow,24):"");" text="bind:nmroom_no24" tooltiptext="bind:nmroom_no24"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <CheckBox id="chk_rcpt" taborder="39" truevalue="1" onchanged="chk_rcpt_onchanged" position="absolute 766 658 782 678" anchor="left bottom" style="align:left top;"/>
- <Static id="caption57" text="특수병상코드 보기" position="absolute 648 655 753 675" anchor="left bottom" style="align:center bottom;"/>
- <Div id="Div01" taborder="38" text="Div01" position="absolute 647 523 794 652" visible="false" anchor="left bottom" class="div_DA">
- <Layouts>
- <Layout>
- <Static id="cpt_rcpt" text="IS 격리 OF 장기이식무균4인실 PD PD단기병상 RI RI방 SR 수면뇌파실 SU 스트록유닛 VR VRE WR 백혈수치방(격리) ---------------------" visible="false" position="absolute 7 6 136 128" style="align:center middle;" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Div id="group4" taborder="43" position="absolute 0 26 787 66" class="div_SA">
- <Layouts>
- <Layout width="814" height="46">
- <Static id="caption4" text="병동" class="search_name" position="absolute 8 10 56 30" anchor="default"/>
- <Button id="btn_srch1" taborder="1" text="조회" onclick="btn_srch1_onclick" class="btn1" position="absolute 724 10 780 30" anchor="default"/>
- <Combo id="cmb_srchward" taborder="2" innerdataset="@ds_init_wardcd" codecolumn="cd" datacolumn="nm" displayrowcount="50" position="absolute 56 10 156 30" anchor="default"/>
- <Combo id="combo2" taborder="3" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="group4_combo2_onitemchanged" position="absolute 587 10 687 30" anchor="default" visible="false">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">-</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">M</Col>
- <Col id="datacolumn">본관</Col>
- </Row>
- <Row>
- <Col id="codecolumn">S</Col>
- <Col id="datacolumn">별관</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static id="caption8" text="건물" class="search_name" position="absolute 539 10 581 30" anchor="default" visible="false"/>
- <CheckBox id="bool4" taborder="4" text="즐겨찾기" value="N" truevalue="Y" falsevalue="N" visible="true" position="absolute 176 10 276 30" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="병실현황판" class="tit_1" position="absolute 0 0 100 26"/>
- <Static id="caption16" text="※공용병상일 경우 빈병상은 표시되지 않습니다" position="absolute 80 76 555 95" style="color:blue;align:left top;font:Dotum,9,bold;"/>
- <Static id="caption43" text="전실신청" position="absolute 198 662 254 676" anchor="left bottom"/>
- <Static id="caption45" text="병실배정" position="absolute 287 662 337 676" anchor="left bottom"/>
- <Static id="caption56" position="absolute 269 661 284 676" style="background:#11ddffff;" anchor="left bottom"/>
- <Static id="caption46" text="범 례" class="cell_2" position="absolute 5 659 75 679" anchor="left bottom"/>
- <Static id="caption47" class="color_1" position="absolute 95 661 110 676" anchor="left bottom"/>
- <Static id="caption48" text="퇴원예고" position="absolute 113 662 163 676" anchor="left bottom"/>
- <Static id="caption42" class="color_2" position="absolute 180 661 195 676" anchor="left bottom"/>
- <Static id="caption10" text="(*) 당일입원" position="absolute 437 662 507 676" anchor="left bottom"/>
- <Static id="caption11" text="(+) 전실승인" position="absolute 524 662 594 676" anchor="left bottom"/>
- <Static id="caption00" text="공용병상" position="absolute 370 662 420 676" anchor="left bottom"/>
- <Static id="caption15" position="absolute 352 661 367 676" style="background:#00ff00ff;" anchor="left bottom"/>
- <Div id="group2" taborder="42" position="absolute 789 27 1235 67" class="div_SA2">
- <Layouts>
- <Layout width="406" height="39">
- <Button id="btn_srch2" taborder="1" text="조회" onclick="btn_srch2_onclick" onlbuttonup="btn_srch2_onlbuttonup" class="btn1" position="absolute 378 10 434 30" anchor="default"/>
- <Calendar id="ipt_srchintodd" taborder="2" dateformat="yyyy-MM-dd" class="input_default" position="absolute 193 10 283 30" anchor="default" autoselect="true" autoskip="true" style="background:URL('theme://images/bg_edit_N.png') stretch 5,5;"/>
- <Static id="caption7" text="~" position="absolute 177 10 188 30" style="align:center middle;" anchor="default"/>
- <Calendar id="ipt_srchinfromdd" taborder="3" dateformat="yyyy-MM-dd" class="input_default" position="absolute 82 10 172 30" anchor="default" autoselect="true" autoskip="true"/>
- <Static id="caption3" text="입원일자" class="search_name" position="absolute 8 10 82 30" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grid_grd_allrsrv" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="orddeptcd" type="STRING"/>
- <Column id="acptdd" type="STRING"/>
- <Column id="ordtype" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_grd_inprescondrefsum" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="gubun" type="STRING" size="256" sumtext="구분"/>
- <Column id="roomgrdecd_no1" type="STRING" size="256" sumtext="병실구분1"/>
- <Column id="roomgrdecd_no2" type="STRING" size="256" sumtext="병실구분2"/>
- <Column id="roomgrdecd_no3" type="STRING" size="256" sumtext="병실구분3"/>
- <Column id="roomgrdecd_no4" type="STRING" size="256" sumtext="병실구분4"/>
- <Column id="roomgrdecd_no5" type="STRING" size="256" sumtext="병실구분5"/>
- <Column id="roomgrdecd_no6" type="STRING" size="256" sumtext="병실구분6"/>
- <Column id="roomgrdecd_no7" type="STRING" size="256" sumtext="병실구분7"/>
- <Column id="roomgrdecd_no8" type="STRING" size="256" sumtext="병실구분8"/>
- <Column id="roomgrdecd_no9" type="STRING" size="256" sumtext="병실구분9"/>
- <Column id="roomgrdecd_no10" type="STRING" size="256" sumtext="병실구분9"/>
- <Column id="totalcnt" type="STRING" size="256" sumtext="총계"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_grd_inprescondreflist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="wardcd" type="STRING" size="255"/>
- <Column id="room_no1" type="STRING" size="255"/>
- <Column id="room_no2" type="STRING" size="255"/>
- <Column id="room_no3" type="STRING" size="255"/>
- <Column id="room_no4" type="STRING" size="255"/>
- <Column id="room_no5" type="STRING" size="255"/>
- <Column id="room_no6" type="STRING" size="255"/>
- <Column id="room_no7" type="STRING" size="255"/>
- <Column id="room_no8" type="STRING" size="255"/>
- <Column id="room_no9" type="STRING" size="255"/>
- <Column id="room_no10" type="STRING" size="255"/>
- <Column id="room_no11" type="STRING" size="255"/>
- <Column id="room_no12" type="STRING" size="255"/>
- <Column id="room_no13" type="STRING" size="255"/>
- <Column id="room_no14" type="STRING" size="255"/>
- <Column id="room_no15" type="STRING" size="255"/>
- <Column id="room_no16" type="STRING" size="255"/>
- <Column id="room_no17" type="STRING" size="255"/>
- <Column id="room_no18" type="STRING" size="255"/>
- <Column id="room_no19" type="STRING" size="255"/>
- <Column id="room_no20" type="STRING" size="255"/>
- <Column id="room_no21" type="STRING" size="255"/>
- <Column id="room_no22" type="STRING" size="255"/>
- <Column id="room_no23" type="STRING" size="255"/>
- <Column id="room_no24" type="STRING" size="255"/>
- <Column id="nmroom_no1" type="STRING" size="255"/>
- <Column id="nmroom_no2" type="STRING" size="255"/>
- <Column id="nmroom_no3" type="STRING" size="255"/>
- <Column id="nmroom_no4" type="STRING" size="255"/>
- <Column id="nmroom_no5" type="STRING" size="255"/>
- <Column id="nmroom_no6" type="STRING" size="255"/>
- <Column id="nmroom_no7" type="STRING" size="255"/>
- <Column id="nmroom_no8" type="STRING" size="255"/>
- <Column id="nmroom_no9" type="STRING" size="255"/>
- <Column id="nmroom_no10" type="STRING" size="255"/>
- <Column id="nmroom_no11" type="STRING" size="255"/>
- <Column id="nmroom_no12" type="STRING" size="255"/>
- <Column id="nmroom_no13" type="STRING" size="255"/>
- <Column id="nmroom_no14" type="STRING" size="255"/>
- <Column id="nmroom_no15" type="STRING" size="255"/>
- <Column id="nmroom_no16" type="STRING" size="255"/>
- <Column id="nmroom_no17" type="STRING" size="255"/>
- <Column id="nmroom_no18" type="STRING" size="255"/>
- <Column id="nmroom_no19" type="STRING" size="255"/>
- <Column id="nmroom_no20" type="STRING" size="255"/>
- <Column id="nmroom_no21" type="STRING" size="255"/>
- <Column id="nmroom_no22" type="STRING" size="255"/>
- <Column id="nmroom_no23" type="STRING" size="255"/>
- <Column id="nmroom_no24" type="STRING" size="255"/>
- <Column id="room_bed_no" type="STRING" size="256"/>
- <column id="room_sex1"/>
- <column id="room_sex2"/>
- <column id="room_sex3"/>
- <column id="room_sex4"/>
- <column id="room_sex5"/>
- <column id="room_sex6"/>
- <column id="room_sex7"/>
- <column id="room_sex8"/>
- <column id="room_sex9"/>
- <column id="room_sex10"/>
- <column id="room_sex11"/>
- <column id="room_sex12"/>
- <column id="room_sex13"/>
- <column id="room_sex14"/>
- <column id="room_sex15"/>
- <column id="room_sex16"/>
- <column id="room_sex17"/>
- <column id="room_sex18"/>
- <column id="room_sex19"/>
- <column id="room_sex20"/>
- <column id="room_sex21"/>
- <column id="room_sex22"/>
- <column id="room_sex23"/>
- <column id="room_sex24"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_grd_babylist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="icdr_pid" type="STRING"/>
- <Column id="icdr_hngnm" type="STRING"/>
- <Column id="icdr_indd" type="STRING"/>
- <Column id="icdr_mskind" type="STRING"/>
- <Column id="icdr_orddeptcd" type="STRING"/>
- <Column id="icdr_medispclid" type="STRING"/>
- <Column id="icdr_wardcd" type="STRING"/>
- <Column id="icdr_roomcd" type="STRING"/>
- <Column id="icdr_roomgrdecd" type="STRING"/>
- <Column id="icdr_roomtypecd" type="STRING"/>
- <Column id="icdr_cretno" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_grd_chngdeptroomlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="255"/>
- <Column id="indd" type="STRING" size="255"/>
- <Column id="cretno" type="BIGDECIMAL" size="255"/>
- <Column id="seqno" type="BIGDECIMAL" size="255"/>
- <Column id="instcd" type="STRING" size="255"/>
- <Column id="mskind" type="STRING" size="255"/>
- <Column id="histstat" type="STRING" size="255"/>
- <Column id="acptflagcd" type="STRING" size="255"/>
- <Column id="appflagcd" type="STRING" size="255"/>
- <Column id="appdd" type="STRING" size="255"/>
- <Column id="apptm" type="STRING" size="255"/>
- <Column id="appid" type="STRING" size="255"/>
- <Column id="pamacptdd" type="STRING" size="255"/>
- <Column id="pamacpttm" type="STRING" size="255"/>
- <Column id="pamacptid" type="STRING" size="255"/>
- <Column id="prestwardcd" type="STRING" size="255"/>
- <Column id="prestroomcd" type="STRING" size="255"/>
- <Column id="prestbedcd" type="STRING" size="255"/>
- <Column id="prestroomgrde" type="STRING" size="255"/>
- <Column id="prestroomtype" type="STRING" size="255"/>
- <Column id="prestcentcd" type="STRING" size="255"/>
- <Column id="prestsuporddeptcd" type="STRING" size="255"/>
- <Column id="prestorddeptcd" type="STRING" size="255"/>
- <Column id="prestmedispclid" type="STRING" size="255"/>
- <Column id="prestatdoctid" type="STRING" size="255"/>
- <Column id="chngwardcd" type="STRING" size="255"/>
- <Column id="chngroomcd" type="STRING" size="255"/>
- <Column id="chngbedcd" type="STRING" size="255"/>
- <Column id="chngroomgrde" type="STRING" size="255"/>
- <Column id="chngroomtype" type="STRING" size="255"/>
- <Column id="oxyyn" type="STRING" size="255"/>
- <Column id="suctyn" type="STRING" size="255"/>
- <Column id="chngcentcd" type="STRING" size="255"/>
- <Column id="chngsuporddeptcd" type="STRING" size="255"/>
- <Column id="chngorddeptcd" type="STRING" size="255"/>
- <Column id="chngmedispclid" type="STRING" size="255"/>
- <Column id="chngatdoctid" type="STRING" size="255"/>
- <Column id="specordyn" type="STRING" size="255"/>
- <Column id="enddd" type="STRING" size="255"/>
- <Column id="endtm" type="STRING" size="255"/>
- <Column id="endid" type="STRING" size="255"/>
- <Column id="prestremcd" type="STRING" size="255"/>
- <Column id="chngprestrem" type="STRING" size="255"/>
- <Column id="fstrgstrid" type="STRING" size="255"/>
- <Column id="fstrgstdt" type="STRING" size="255"/>
- <Column id="lastupdtrid" type="STRING" size="255"/>
- <Column id="lastupdtdt" type="STRING" size="255"/>
- <Column id="hngnm" type="STRING" size="255"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_grd_inhpdeci" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="assgroomtype" type="STRING"/>
- <Column id="inhopedd" type="STRING"/>
- <Column id="orddeptcd" type="STRING"/>
- <Column id="inrsrvacptseqno" type="STRING"/>
- <Column id="inrsrvacpttm" type="STRING"/>
- <Column id="insukind" type="STRING"/>
- <Column id="indirecdrid" type="STRING"/>
- <Column id="indirecdd" type="STRING"/>
- <Column id="orddrid" type="STRING"/>
- <Column id="patinhopedd" type="STRING"/>
- <Column id="inrsrvacptdd" type="STRING"/>
- <Column id="chngwardcd" type="STRING"/>
- <Column id="chngroomcd" type="STRING"/>
- <Column id="inhopeward" type="STRING"/>
- <Column id="inhoperoomgrdefrom" type="STRING"/>
- <Column id="inhoperoomgrdeto" type="STRING"/>
- <Column id="drrem" type="STRING"/>
- <Column id="inrsrvrem" type="STRING"/>
- <Column id="indd" type="STRING"/>
- <Column id="intm" type="STRING"/>
- <Column id="oxyyn" type="STRING"/>
- <Column id="suctyn" type="STRING"/>
- <Column id="fcstinterm" type="STRING"/>
- <Column id="erreglyn" type="STRING"/>
- <Column id="rsrvprcsstat" type="STRING"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="sexnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_grd_inprescondrefrsrv" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chk" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="255"/>
- <Column id="hngnm" type="STRING" size="255"/>
- <Column id="rrgstno" type="STRING" size="255"/>
- <Column id="inrsrvacptdd" type="STRING" size="255"/>
- <Column id="orddeptcd" type="STRING" size="255"/>
- <Column id="inrsrvacptseqno" type="BIGDECIMAL" size="255"/>
- <Column id="instcd" type="STRING" size="255"/>
- <Column id="inrsrvacpttm" type="STRING" size="255"/>
- <Column id="inrsrvstat" type="STRING" size="255"/>
- <Column id="inrsrvprcpno" type="BIGDECIMAL" size="255"/>
- <Column id="insukind" type="STRING" size="255"/>
- <Column id="suppkind" type="STRING" size="255"/>
- <Column id="suppkindresn" type="STRING" size="255"/>
- <Column id="insuno" type="STRING" size="255"/>
- <Column id="indirecdrid" type="STRING" size="255"/>
- <Column id="indirecdd" type="STRING" size="255"/>
- <Column id="orddrid" type="STRING" size="255"/>
- <Column id="inhopedd" type="STRING" size="255"/>
- <Column id="patinhopedd" type="STRING" size="255"/>
- <Column id="inhopeward" type="STRING" size="255"/>
- <Column id="inhoperoomgrdefrom" type="STRING" size="255"/>
- <Column id="inhoperoomgrdeto" type="STRING" size="255"/>
- <Column id="assgward" type="STRING" size="255"/>
- <Column id="assgroom" type="STRING" size="255"/>
- <Column id="assgroomgrde" type="STRING" size="255"/>
- <Column id="assgroomtype" type="STRING" size="255"/>
- <Column id="inflag" type="STRING" size="255"/>
- <Column id="drgyn" type="STRING" size="255"/>
- <Column id="bmtyn" type="STRING" size="255"/>
- <Column id="cpyn" type="STRING" size="255"/>
- <Column id="cpcd" type="STRING" size="255"/>
- <Column id="fcstinterm" type="BIGDECIMAL" size="255"/>
- <Column id="erreglyn" type="STRING" size="255"/>
- <Column id="isolroomyn" type="STRING" size="255"/>
- <Column id="oxyyn" type="STRING" size="255"/>
- <Column id="suctyn" type="STRING" size="255"/>
- <Column id="specroomyn" type="STRING" size="255"/>
- <Column id="scheopdd" type="STRING" size="255"/>
- <Column id="inrsrvgrad" type="STRING" size="255"/>
- <Column id="inrsrvrem" type="STRING" size="255"/>
- <Column id="drrem" type="STRING" size="255"/>
- <Column id="inrsrvcnclresn" type="STRING" size="255"/>
- <Column id="incncldd" type="STRING" size="255"/>
- <Column id="incncltm" type="STRING" size="255"/>
- <Column id="nblsyn" type="STRING" size="255"/>
- <Column id="fstrgstrid" type="STRING" size="255"/>
- <Column id="fstrgstdt" type="STRING" size="255"/>
- <Column id="lastupdtrid" type="STRING" size="255"/>
- <Column id="lastupdtdt" type="STRING" size="255"/>
- <Column id="age" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cond_srch" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <column id="data1"/>
- <column id="wardcd"/>
- <column id="building"/>
- <column id="favorite"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_wardcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd"/>
- <Column id="nm"/>
- <Column id="ofg"/>
- <Column id="build"/>
- <Column id="depthardcd"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cond_rsrv" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <column id="data1"/>
- <column id="data2"/>
- <column id="data4"/>
- <column id="inrsrvacptdd"/>
- <column id="orddeptcd"/>
- <column id="pid"/>
- <column id="ordtype"/>
- <column id="aprv_flag"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="intodd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_disccd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column type="String" id="cd"/>
- <Column id="nm"/>
- <Column type="String" id="autocretyn"/>
- <Column id="cmmt"/>
- <Column id="emplyn"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_insukind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column type="String" id="cd"/>
- <Column id="nm"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_orddeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd"/>
- <Column id="nm"/>
- <Column id="depthardcd"/>
- <Column id="deptengabbr"/>
- <Column id="reqdeptno"/>
- <Column id="orddeptflag"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_orddrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd"/>
- <Column id="nm"/>
- <Column id="dp"/>
- <Column id="sp"/>
- <Column id="nmspecyn"/>
- <Column id="drengabbr"/>
- <Column id="jobposcd"/>
- <Column id="depthardcd"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_roomcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd"/>
- <Column id="nm"/>
- <Column id="wd"/>
- <Column id="gr"/>
- <Column id="ty"/>
- <Column id="sex"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_suppkind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column type="String" id="cd"/>
- <Column id="nm"/>
- <Column type="String" id="up"/>
- <Column type="String" id="io"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_roomgrdecd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <Dataset id="ds_init_roomgrde/roomgrdelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column type="String" id="cdid"/>
- <Column type="String" id="cdnm"/>
- <Column type="String" id="newcdid"/>
- <Column type="String" id="typecd"/>
- <Column type="String" id="yn"/>
- <Column type="String" id="cdyn"/>
- </ColumnInfo>
- </Dataset>
- <ColumnInfo>
- <Column type="String" id="cdid"/>
- <Column type="String" id="cdnm"/>
- <Column type="String" id="newcdid"/>
- <Column type="String" id="typecd"/>
- <Column type="String" id="yn"/>
- <Column type="String" id="cdyn"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_initZ_P0006" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_roomtypecd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd"/>
- <Column id="nm"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_initZ_P0017" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_initZ_P0170" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_data_roomcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd"/>
- <Column id="nm"/>
- <Column id="wd"/>
- <Column id="gr"/>
- <Column id="ty"/>
- <Column id="sex"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_grd_inprescondrefrsrv" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chk" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="255"/>
- <Column id="hngnm" type="STRING" size="255"/>
- <Column id="rrgstno" type="STRING" size="255"/>
- <Column id="inrsrvacptdd" type="STRING" size="255"/>
- <Column id="orddeptcd" type="STRING" size="255"/>
- <Column id="inrsrvacptseqno" type="BIGDECIMAL" size="255"/>
- <Column id="instcd" type="STRING" size="255"/>
- <Column id="inrsrvacpttm" type="STRING" size="255"/>
- <Column id="inrsrvstat" type="STRING" size="255"/>
- <Column id="inrsrvprcpno" type="BIGDECIMAL" size="255"/>
- <Column id="insukind" type="STRING" size="255"/>
- <Column id="suppkind" type="STRING" size="255"/>
- <Column id="suppkindresn" type="STRING" size="255"/>
- <Column id="insuno" type="STRING" size="255"/>
- <Column id="indirecdrid" type="STRING" size="255"/>
- <Column id="indirecdd" type="STRING" size="255"/>
- <Column id="orddrid" type="STRING" size="255"/>
- <Column id="inhopedd" type="STRING" size="255"/>
- <Column id="patinhopedd" type="STRING" size="255"/>
- <Column id="inhopeward" type="STRING" size="255"/>
- <Column id="inhoperoomgrdefrom" type="STRING" size="255"/>
- <Column id="inhoperoomgrdeto" type="STRING" size="255"/>
- <Column id="assgward" type="STRING" size="255"/>
- <Column id="assgroom" type="STRING" size="255"/>
- <Column id="assgroomgrde" type="STRING" size="255"/>
- <Column id="assgroomtype" type="STRING" size="255"/>
- <Column id="inflag" type="STRING" size="255"/>
- <Column id="drgyn" type="STRING" size="255"/>
- <Column id="bmtyn" type="STRING" size="255"/>
- <Column id="cpyn" type="STRING" size="255"/>
- <Column id="cpcd" type="STRING" size="255"/>
- <Column id="fcstinterm" type="BIGDECIMAL" size="255"/>
- <Column id="erreglyn" type="STRING" size="255"/>
- <Column id="isolroomyn" type="STRING" size="255"/>
- <Column id="oxyyn" type="STRING" size="255"/>
- <Column id="suctyn" type="STRING" size="255"/>
- <Column id="specroomyn" type="STRING" size="255"/>
- <Column id="scheopdd" type="STRING" size="255"/>
- <Column id="inrsrvgrad" type="STRING" size="255"/>
- <Column id="inrsrvrem" type="STRING" size="255"/>
- <Column id="drrem" type="STRING" size="255"/>
- <Column id="inrsrvcnclresn" type="STRING" size="255"/>
- <Column id="incncldd" type="STRING" size="255"/>
- <Column id="incncltm" type="STRING" size="255"/>
- <Column id="nblsyn" type="STRING" size="255"/>
- <Column id="fstrgstrid" type="STRING" size="255"/>
- <Column id="fstrgstdt" type="STRING" size="255"/>
- <Column id="lastupdtrid" type="STRING" size="255"/>
- <Column id="lastupdtdt" type="STRING" size="255"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_rmenu" 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"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">ER로 전환</Col>
- <Col id="func">ER</Col>
- </Row>
- <Row>
- <Col id="label">SDW/CHEMO로 전환</Col>
- <Col id="func">SDW</Col>
- </Row>
- <Row>
- <Col id="label">삭제</Col>
- <Col id="func">D</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_grd_inhpdeci" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="assgroomtype" type="STRING"/>
- <Column id="inhopedd" type="STRING"/>
- <Column id="orddeptcd" type="STRING"/>
- <Column id="inrsrvacptseqno" type="STRING"/>
- <Column id="inrsrvacpttm" type="STRING"/>
- <Column id="insukind" type="STRING"/>
- <Column id="indirecdrid" type="STRING"/>
- <Column id="indirecdd" type="STRING"/>
- <Column id="orddrid" type="STRING"/>
- <Column id="patinhopedd" type="STRING"/>
- <Column id="inrsrvacptdd" type="STRING"/>
- <Column id="chngwardcd" type="STRING"/>
- <Column id="chngroomcd" type="STRING"/>
- <Column id="inhopeward" type="STRING"/>
- <Column id="inhoperoomgrdefrom" type="STRING"/>
- <Column id="inhoperoomgrdeto" type="STRING"/>
- <Column id="drrem" type="STRING"/>
- <Column id="inrsrvrem" type="STRING"/>
- <Column id="indd" type="STRING"/>
- <Column id="intm" type="STRING"/>
- <Column id="oxyyn" type="STRING"/>
- <Column id="suctyn" type="STRING"/>
- <Column id="fcstinterm" type="STRING"/>
- <Column id="erreglyn" type="STRING"/>
- <Column id="rsrvprcsstat" type="STRING"/>
- <Column id="sex" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_appflag" 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="dsPam_SMPMI00400" 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="indd" type="STRING" size="256"/>
- <Column id="mskind" type="STRING" size="256"/>
- <Column id="creatno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item5" compid="combo1" propid="value" datasetid="ds_cond_rsrv" columnid="ordtype"/>
- <BindItem id="item6" compid="chk_aprv" propid="value" datasetid="ds_cond_rsrv" columnid="aprv_flag"/>
- <BindItem id="item1" compid="group4.cmb_srchward" propid="value" datasetid="ds_cond_srch" columnid="wardcd"/>
- <BindItem id="item0" compid="group4.combo2" propid="value" datasetid="ds_cond_srch" columnid="building"/>
- <BindItem id="item2" compid="group4.bool4" propid="value" datasetid="ds_cond_srch" columnid="favorite"/>
- <BindItem id="item4" compid="group2.ipt_srchintodd" propid="value" datasetid="ds_cond_rsrv" columnid="data4"/>
- <BindItem id="item3" compid="group2.ipt_srchinfromdd" propid="value" datasetid="ds_cond_rsrv" columnid="data2"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-10-27
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-10-27 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "com_commodulexp::SMZFS00501.xjs";
- include "com_commodulexp::SSZFM00401.xjs";
- var paraPID = "";
- var paraHNGNM = "";
- var paraIDX = "";
- function SMPMI00800_oninit(obj: Form, e: InitEventInfo) {
- frmf_initForm(obj);
- }
- function lf_cellColor() {
- var nGridColCount = grd_inprescondreflist.getCellCount("Body");
- for (var i = 0; i < nGridColCount; i++) {
- grd_inprescondreflist.setCellProperty("body", i, "background", "");
- grd_inprescondreflist.setCellProperty("body", i, "background2", "");
- var nexpr = 'expr:lf_iBendCnt(currow, self.col) < 0 ? "red" : lf_iGridColor(currow, self.col)';
- grd_inprescondreflist.setCellProperty("body", i, "background", nexpr);
- grd_inprescondreflist.setCellProperty("body", i, "background2", nexpr);
- }
- }
- function lf_iBendCnt(row, col) {
- var a = this.ds_grid_grd_inprescondreflist.getColID(col + 1);
- col = "nm" + a;
- var nRoomBedNo = ds_grid_grd_inprescondreflist.getColumn(row, "room_bed_no");
- if (nRoomBedNo == 0) {
- var sRoomCd = ds_grid_grd_inprescondreflist.getColumn(row, col);
- var iFirstIndex = sRoomCd.lastIndexOf('(');
- var iLastIndex = sRoomCd.lastIndexOf(')');
- var iBedCnt = parseInt(sRoomCd.substring(iFirstIndex + 1, iLastIndex));
- return iBedCnt;
- }
- }
- function lf_search() {
- ds_cond_srch.setColumn(0, "data1", "1");
- var oParam = {};
- oParam.id = "TRPMI00801";
- oParam.service = "ipatmngtapp.IPatRef";
- oParam.method = "reqGetInPresCondRef";
- oParam.inds = "req=ds_cond_srch";
- oParam.outds = "ds_grid_grd_inprescondreflist=inprescondreflist";
- oParam.async = true;
- oParam.callback = "cf_TRPMI00801";
- tranf_submit(oParam);
- ds_cond_srch.setColumn(0, "data1", "2");
- oParam = {};
- oParam.id = "TRPMI00802";
- oParam.service = "ipatmngtapp.IPatRef";
- oParam.method = "reqGetInPresCondRef";
- oParam.inds = "req=ds_cond_srch";
- oParam.outds = "ds_grid_grd_inprescondrefsum=inprescondrefsum";
- oParam.async = false;
- tranf_submit(oParam);
- ds_grid_grd_inprescondrefsum.clearSelect();
- ds_cond_rsrv.setColumn(0, "data1", "3");
- oParam = {};
- oParam.id = "TRPMI00803";
- oParam.service = "ipatmngtapp.IPatRef";
- oParam.method = "reqGetInPresCondRef";
- oParam.inds = "req=ds_cond_rsrv";
- oParam.outds = "ds_grid_grd_inprescondrefrsrv=inprescondrefrsrv";
- oParam.async = true;
- tranf_submit(oParam);
- // 전과전실 신청내역
- ds_cond_srch.setColumn(0, "data1", "4");
- oParam = {};
- oParam.id = "TRPMI00804";
- oParam.service = "ipatmngtapp.InhospUpdt";
- oParam.method = "reqGetChngroomApp1";
- oParam.inds = "req=ds_cond_srch";
- oParam.outds = "ds_grid_grd_chngdeptroomlist=cdcr";
- oParam.async = true;
- tranf_submit(oParam);
- }
- function cf_TRPMI00801(strSvcID, nErrorCode, strErrorMsg) {
- if (nErrorCode == 0) {
- ds_grid_grd_inprescondreflist.clearSelect();
-
- //lf_cellColor(); // 병실병상수및 남여구분을 색상처리한다.
- if (ds_cond_srch.getColumn(0, 'favorite') == "N") {
- //lf_fontColor(); // 환자의 남녀구분
- }
- }
- }
- function lf_fontColor() {
- if (ds_grid_grd_inprescondreflist.rowcount > 0) {
- var nGridColCount = grd_inprescondreflist.getCellCount("Body");
- for (var i = 0; i < nGridColCount; i++) {
- grd_inprescondreflist.setCellProperty("body", i, "color", "");
- grd_inprescondreflist.setCellProperty("body", i, "color", "");
- var nexpr = 'expr:lf_iFontSet(currow, col)';
- grd_inprescondreflist.setCellProperty("body", i, "color", nexpr);
- grd_inprescondreflist.setCellProperty("body", i, "color", nexpr);
- }
- }
- }
- function lf_iFontSet(row, col) {
- var vRow = ds_grid_grd_inprescondreflist.getColumn(row, "room_bed_no");
- if (vRow != 0) {
- var vCol = ds_grid_grd_inprescondreflist.getColumn(row, col + 49);
- var fontColor = "";
- if (vCol.substr(0, 1) == 'F') {
- fontColor = "#FF0066";
- } else if (vCol.substr(0, 1) == 'M') {
- fontColor = "#3366FF";
- } else {
- fontColor = "#DFDFDF";
- }
- return fontColor;
- }
- }
- function btn_roomassg_onclick(obj: Button, e: ClickEventInfo) {
- var objArg = new Object();
- objArg.sPid = paraPID;
- frmf_modal("SMPMI00300", "SMPMI00300", objArg, "", "", "", "", "", "", "", "", "", "M");
- }
- function btn_inrgst_onclick(obj: Button, e: ClickEventInfo) {
- var objArg = new Object();
- if (!utlf_isNull(paraPID)) {
- frmf_setParameter("SMPAO00100_ipt_pid", paraPID);
- } else {
- frmf_setParameter("SMPAO00100_ipt_pid", "");
- }
- frmf_modal("SMPMI00100", "SMPMI00100", objArg, "", "", "", "", "", "", "", "", "", "M");
- }
- function btn_inhospupdt_onclick(obj: Button, e: ClickEventInfo) {
- dsPam_SMPMI00400.setColumn(0, "pid", paraPID);
- // 재원변경관리 팝업 호출
- frmf_modal("SMPMI00400", "SMPMI00400", { dsPam: dsPam_SMPMI00400 }, "", "", "", "", "", "", "", "", "", "M");
- }
- function btn_inrsrv_onclick(obj: Button, e: ClickEventInfo) {
- var objParam = new Object();
- if (!utlf_isNull(paraPID)) {
- objParam.pid = paraPID;
- }
- frmf_modal("SMPMI00200", "SMPMI00200", objParam, "", "", "", "", "", "", "", "", "", "M");
- }
- function btn_roompatinfo_onclick(obj: Button, e: ClickEventInfo) {
- var objArg = new Object();
- objArg.sRoomcd = "";
- objArg.sSrchcond = "1";
- frmf_modal("SPPMI01800", "SPPMI01800", objArg, "", "", "", "", "", "", "", "", "", "M");
- }
- function btn_chngdeptroomaprv_onclick(obj: Button, e: ClickEventInfo) {
- if (paraIDX == "-1") return;
- if (!utlf_isNull(paraPID)) {
- frmf_setParameter("PID", paraPID);
- } else {
- frmf_setParameter("PID", "");
- }
- frmf_modal("SMPMI01600", "SMPMI01600", "", "", "", "", "", "", "", "", "", "", "M");
- }
- function button1_onclick(obj: Button, e: ClickEventInfo) {
- frmf_modal("SPPMI03300", "SPPMI03300", "", "", "", "", "", "", "", "", "", "", "M");
- }
- function btn_SMASB02100_onclick(obj: Button, e: ClickEventInfo) {
- frmf_modal("SMASB02100", "SMASB02100", "", "", "", "", "", "", "", "", "", "", "M");
- }
- function button6_onclick(obj: Button, e: ClickEventInfo) {
- frmf_modal("SMPMB03000", "SMPMB03000", "", "", "", "", "", "", "", "", "", "", "M");
- if (sysf_messageBox("현재 화면을 다시 ", "Q005") == 6) {
- this.reload();
- }
- }
- function btn_srch2_onclick(obj: Button, e: ClickEventInfo) {
- var chk = ds_cond_rsrv.getColumn(0, 'ordtype');
- if (utlf_isNull(chk)) {
- chk = "I";
- }
- //2008.04.21 조회 버튼 클릭 시 진료타입에 맞게 조회 되도록 수정 - 이성인
- lf_cmbOrdtype();
- }
- function btn_srch1_onclick(obj: Button, e: ClickEventInfo) {
- lf_search();
- }
- function button2_onclick(obj: Button, e: ClickEventInfo) {
- //grd_inprescondreflist.position = "absolute 0 164 786 649";
- grd_inprescondreflist.position.right = group4.position.right;
- button2.enable = false;
- button5.enable = true;
- combo1.visible = true;
- caption1.visible = true;
- caption5.visible = true;
- grd_chngdeptroomlist.visible = true;
- grd_babylist.visible = true;
- grd_allrsrv.visible = true;
- grd_inhpdeci.visible = true;
- grd_inprescondrefrsrv.visible = true;
- chk_aprv.visible = true;
- caption24.visible = true;
- caption25.visible = true;
- caption9.visible = true;
- caption19.visible = true;
- caption13.visible = true;
- }
- function button5_onclick(obj: Button, e: ClickEventInfo) {
- button8.click();
- button2.enable = true;
- button5.enable = false;
- grd_inprescondreflist.position.right = group2.position.right;//.position = "absolute 0 164 1234 649";
- combo1.visible = false;
- caption1.visible = false;
- caption5.visible = false;
- grd_chngdeptroomlist.visible = false;
- grd_babylist.visible = false;
- grd_allrsrv.visible = false;
- grd_inhpdeci.visible = false;
- grd_inprescondrefrsrv.visible = false;
- chk_aprv.visible = false;
- caption24.visible = false;
- caption25.visible = false;
- caption9.visible = false;
- caption19.visible = false;
- caption13.visible = false;
- }
- function button7_onclick(obj: Button, e: ClickEventInfo) {
- button2.click();
- button7.enable = false;
- button8.enable = true;
- grd_chngdeptroomlist.position.top = grd_inprescondrefrsrv.position.top;
- caption5.position.top = caption1.position.top// = "absolute 797 66 902 524";
- combo1.visible = false;
- caption1.visible = false;
- grd_babylist.visible = false;
- grd_allrsrv.visible = false;
- grd_inhpdeci.visible = false;
- grd_inprescondrefrsrv.visible = false;
- chk_aprv.visible = false;
- caption24.visible = false;
- caption25.visible = false;
- caption9.visible = false;
- caption19.visible = false;
- caption13.visible = false;
- }
- function button8_onclick(obj: Button, e: ClickEventInfo) {
- // grd_chngdeptroomlist.position = "absolute 797 524 1243 828";
- // caption5.position = "absolute 797 504 902 524";
-
- grd_chngdeptroomlist.position.top = 531;
- caption5.position.top = 514;
- button7.enable = true;
- button8.enable = false;
- combo1.visible = true;
- caption1.visible = true;
- grd_babylist.visible = true;
- grd_allrsrv.visible = true;
- grd_inhpdeci.visible = true;
- grd_inprescondrefrsrv.visible = true;
- chk_aprv.visible = true;
- caption24.visible = true;
- caption25.visible = true;
- caption9.visible = true;
- caption19.visible = true;
- var sOrdType = ds_cond_rsrv.getColumn(0, 'ordtype');
- if (sOrdType == "E" || sOrdType == "D") {
- caption13.visible = true;
- }
- }
- function SMPMI00800_onload(obj: Form, e: LoadEventInfo) {
- // 공통코드를 조회한다.
- var arrParam = new Array();
- arrParam = [{ dsNm: "ds_initZ_P0006", cdGrpId: "P0006", showValue: false }
- , { dsNm: "ds_initZ_P0017", cdGrpId: "P0017", showValue: false }
- , { dsNm: "ds_initZ_P0170", cdGrpId: "P0170", showValue: false }];
- appf_getCodeList(arrParam, true, true, ""); //비동기
- dsf_createDsRow("ds_cond_pamcomn"
- , [{ col: "sess_posinstcd", val: sysf_getUserInfo("dutplceinstcd") }
- , { col: "ioflag", val: "I" }
- { col: "dridsorttype", val: "" }]);
- var oParam = {};
- oParam.id = "TRPMI00106";
- oParam.service = "pamcomnapp.PamComn";
- oParam.method = "reqGetComCD";
- oParam.inds = "req=ds_cond_pamcomn";
- oParam.outds = "ds_init_disccd=disccd ds_init_insukind=insukind ds_init_suppkind=suppkind ds_init_orddeptcd=orddeptcd ds_init_orddrid=orddrid ds_init_wardcd=wardcd ds_init_roomcd=roomcd ds_=bedcd ds_init_roomgrdecd=roomgrdecd ds_=roomgrdelist ds_init_roomtypecd=roomtypecd ds_=flag ds_=proccd ds_=centcd ds_=hospgrde ds_=naticd ds_=erorddrid ds_=insucd ds_=uncocd";
- oParam.async = false;
- tranf_submit(oParam);
- grdf_setGridSort(grd_babylist);
- grdf_setGridSort(grd_chngdeptroomlist);
- grdf_setGridSort(grd_inprescondrefrsrv);
- grdf_setGridSort(grd_inhpdeci);
- grdf_setGridSort(grd_allrsrv);
- chk_aprv.visible = false;
- ds_cond_rsrv.setColumn(0, 'data2', utlf_getCurrentDate());
- ds_cond_rsrv.setColumn(0, 'data4', utlf_getCurrentDate());
- //잠시 주석으로 막음 -> 요구 사항 확인 뒤 처리 예정 2014.10.07
- ds_cond_srch.setColumn(0, "favorite", "Y");
- ds_cond_srch.setColumn(0, 'building', '-');
- ds_cond_rsrv.setColumn(0, 'ordtype', 'I');
- ds_cond_srch.setColumn(0, 'wardcd', '');
- lf_search();
- }
- function combo1_onitemchanged(obj: Combo, e: ItemChangeEventInfo) {
- lf_cmbOrdtype();
- }
- function lf_cmbOrdtype() {
- var sordtype = ds_cond_rsrv.getColumn(0, 'ordtype');
- //2008-04-21
- if (sordtype == "A") {
- //2008.04.21 조회 조건에 전체 추가 - 이성인
- caption1.text = "전체리스트";
- ds_cond_rsrv.setColumn(0, "data1", "4");
- // 2008.09.08 전과전실승인 리스트만 조회할 수 있도록 추가 - 최병진
- chk_aprv.visible = false;
- ds_cond_rsrv.setColumn(0, "aprv_flag", "");
- var oParam = {};
- oParam.id = "TRPMI00807";
- oParam.service = "ipatmngtapp.IPatRef";
- oParam.method = "reqGetInPresCondRef";
- oParam.inds = "req=ds_cond_rsrv";
- oParam.outds = "ds_grid_grd_allrsrv=allrsrv";
- oParam.async = false;
- //oParam.callback = "cf_TRPMI00807";
- tranf_submit(oParam);
- grd_allrsrv.visible = true;
- grd_inhpdeci.visible = false;
- grd_inprescondrefrsrv.visible = false;
- grd_babylist.visible = false;
- caption13.visible = false;
- caption14.visible = false;
- } else if (sordtype == "I" || sordtype == "T") {
- // 입원예약자 내역
- caption1.text = "예약환자";
- ds_cond_rsrv.setColumn(0, "data1", "3");
- ds_cond_rsrv.setColumn(0, "aprv_flag", "");
- // 2008.09.08 전과전실승인 리스트만 조회할 수 있도록 추가 - 최병진
- chk_aprv.visible = false;
- var oParam = {};
- oParam.id = "TRPMI00803";
- oParam.service = "ipatmngtapp.IPatRef";
- oParam.method = "reqGetInPresCondRef";
- oParam.inds = "req=ds_cond_rsrv";
- oParam.outds = "ds_grid_grd_inprescondrefrsrv=inprescondrefrsrv";
- oParam.async = false;
- //oParam.callback = "cf_TRPMI00803";
- tranf_submit(oParam);
- grd_allrsrv.visible = false;
- grd_inhpdeci.visible = false;
- grd_inprescondrefrsrv.visible = true;
- grd_babylist.visible = false;
- caption13.visible = false;
- caption14.visible = false;
- } else if (sordtype == "E") {
- // 응급실 입원결정서 신청내역
- caption1.text = "응급실입원결정서";
- chk_aprv.visible = true;
- var oParam = {};
- oParam.id = "TRPMI00805";
- oParam.service = "ipatmngtapp.InhospUpdt";
- oParam.method = "reqGetInHpDeciRefList";
- oParam.inds = "req=ds_cond_rsrv";
- oParam.outds = "ds_grid_grd_inhpdeci=inhpdecilist";
- oParam.async = false;
- //oParam.callback = "cf_TRPMI00805";
- tranf_submit(oParam);
- grd_allrsrv.visible = false;
- grd_inhpdeci.visible = true;
- grd_inprescondrefrsrv.visible = false;
- grd_babylist.visible = false;
- caption13.visible = true;
- caption14.visible = true;
- } else if (sordtype == "D") {
- caption1.text = "SDW 입원결정서";
- // 2008.09.08 전과전실승인 리스트만 조회할 수 있도록 추가 - 최병진
- chk_aprv.visible = true;
- var oParam = {};
- oParam.id = "TRPMI00805";
- oParam.service = "ipatmngtapp.InhospUpdt";
- oParam.method = "reqGetInHpDeciRefList";
- oParam.inds = "req=ds_cond_rsrv";
- oParam.outds = "ds_grid_grd_inhpdeci=inhpdecilist";
- oParam.async = false;
- //oParam.callback = "cf_TRPMI00805";
- tranf_submit(oParam);
- grd_allrsrv.visible = false;
- grd_inhpdeci.visible = true;
- grd_inprescondrefrsrv.visible = false;
- grd_babylist.visible = false;
- caption13.visible = true;
- caption14.visible = true;
- } else if (sordtype == "B") {
- //2007.12.12 신생아 변경리스트 (정상-> 환아,중환아,인큐베이터로 변경된 내역 보여달라 요청)
- caption1.text = "신생아변경리스트";
- ds_cond_rsrv.setColumn(0, "indd", ds_cond_rsrv.getColumn(0, 'data2'));
- ds_cond_rsrv.setColumn(0, "intodd", ds_cond_rsrv.getColumn(0, 'data4'));
- //2008.04.21 입원기간으로 조회 할수있게 수정 - 이성인
- var oParam = {};
- oParam.id = "TRPMI00806";
- oParam.service = "ipatmngtapp.InhospUpdt";
- oParam.method = "reqGetInBabyList";
- oParam.inds = "req=ds_cond_rsrv";
- oParam.outds = "ds_grid_grd_babylist=inbabylist";
- oParam.async = false;
- //oParam.callback = "cf_TRPMI00806";
- tranf_submit(oParam);
- grd_allrsrv.visible = false;
- grd_babylist.visible = true;
- grd_inhpdeci.visible = false;
- caption13.visible = false;
- caption14.visible = false;
- // 2008.09.08 전과전실승인 리스트만 조회할 수 있도록 추가 - 최병진
- chk_aprv.visible = false;
- grd_inprescondrefrsrv.visible = false;
- }
- }
- function cf_TRPMI00803(strSvcID, nErrorCode, strErrorMsg) {
- if (nErrorCode == 0) {
- if (ds_grid_grd_inprescondrefrsrv.rowcount > 0) {
- var nGridColCount = grd_inprescondrefrsrv.getCellCount("Body");
- ds_grid_grd_inprescondrefrsrv.clearSelect();
- for (var i = 0; i < nGridColCount; i++) {
- grd_inprescondrefrsrv.setCellProperty("Body", i, "color", 'EXPR(inrsrvstat == "S"?"#cc3300":"")');
- grd_inprescondrefrsrv.setCellProperty("Body", i, "color2", 'EXPR(inrsrvstat == "S"?"#cc3300":"")');
- }
- }
- }
- }
- function cf_TRPMI00805(strSvcID, nErrorCode, strErrorMsg) {
- if (nErrorCode == 0) {
- // 2009.06.03 - 입원수속보완 color
- if (ds_grid_grd_inhpdeci.rowcount > 0) {
- var nGridColCount = grd_inhpdeci.getCellCount("Body");
- ds_grid_grd_inhpdeci.clearSelect();
- for (var i = 0; i < nGridColCount; i++) {
- grd_inhpdeci.setCellProperty("Body", i, "background", 'EXPR(rsrvprcsstat == "B"?"#cc99ff":"")');
- grd_inhpdeci.setCellProperty("Body", i, "background2", 'EXPR(rsrvprcsstat == "B"?"#cc99ff":"")');
- }
- }
- }
- }
- function grd_inprescondreflist_oncelldblclick(obj: Grid, e: GridClickEventInfo) {
- if (ds_grid_grd_inprescondreflist.rowcount > 0) {
- var v_colValue = ds_grid_grd_inprescondreflist.getColumn(e.row, e.col + 1);
- if (utlf_isNull(v_colValue)) return;
- var v_colValue1 = v_colValue.substr(4, 10); // 병실정보에 쓰임
- var v_colValue2 = v_colValue.substr(1, 10); // 환자정보에 쓰임
- var v_rowgubun = ds_grid_grd_inprescondreflist.getColumn(e.row, "room_bed_no");
- if (v_rowgubun == '0') {
- if (!utlf_isNull(paraPID)) {
- var pMessage = paraHNGNM + "님의 병실배정을 ";
- var rtn_msg = sysf_messageBox(pMessage, "S001");
- if (rtn_msg == 6) {
- var room_info = ds_init_roomcd.filter("cd == '" + v_colValue1 + "'");
- ds_grid_grd_inprescondrefrsrv.setColumn(paraIDX, "assgward", ds_init_roomcd.getColumn(0, "wd"));
- ds_grid_grd_inprescondrefrsrv.setColumn(paraIDX, "assgroom", v_colValue1);
- ds_grid_grd_inprescondrefrsrv.setColumn(paraIDX, "assgroomgrde", ds_init_roomcd.getColumn(0, "gr"));
- ds_grid_grd_inprescondrefrsrv.setColumn(paraIDX, "assgroomtype", ds_init_roomcd.getColumn(0, "ty"));
- ds_data_grd_inprescondrefrsrv.copyRow(0, ds_grid_grd_inprescondrefrsrv, paraIDX);
- ds_data_grd_inprescondrefrsrv.addColumn("status", "string");
- ds_data_grd_inprescondrefrsrv.setColumn(0, "status", "U");
- ds_init_roomcd.filter("");
- var oParam = {};
- oParam.id = "TXPMI00801";
- oParam.service = "ipatmngtapp.InRsrv";
- oParam.method = "reqSetInhpRsrvList1";
- oParam.inds = "req=ds_data_grd_inprescondrefrsrv";
- oParam.outds = "";
- oParam.async = false;
- oParam.callback = "cf_TXPMI00801";
- tranf_submit(oParam);
- }
- } else {
-
-
- //20200207 병실환자정보 ROOMCD 전달 임승주 수정
- frmf_setParameter("SMPMI01800_ROOMCD", v_colValue1);
- //var objArg = new Object();
- //objArg.sRoomcd = v_colValue1;
- //objArg.sSrchcond = "1";
- frmf_modal("SPPMI01800", "SPPMI01800", "");
- }
- } else {
- //20200207 전과전실 승인 PID 전달 임승주 수정
- frmf_setParameter("SMPMI01600_PID", v_colValue2);
-
- if (!utlf_isNull(v_colValue2)) {
- frmf_modal("SMPMI01600", "SMPMI01600", "", "", "", "", "", "", "", "", "", "", "M");
- }
- }
- }
- }
- function cf_TXPMI00801(strSvcID, nErrorCode, strErrorMsg) {
- if (nErrorCode == 0) {
- ds_cond_rsrv.setColumn(0, "data1", "3");
- var oParam = {};
- oParam.id = "TRPMI00803";
- oParam.service = "ipatmngtapp.IPatRef";
- oParam.method = "reqGetInPresCondRef";
- oParam.inds = "req=ds_cond_rsrv";
- oParam.outds = "ds_grid_grd_inprescondrefrsrv=inprescondrefrsrv";
- oParam.async = false;
- //oParam.callback = "cf_TRPMI00803";
- tranf_submit(oParam);
- sysf_messageBox("병실배정 저장이", "I001");
- } else {
- sysf_messageBox("병실배정 저장이 ", "E009");
- }
- }
- function chk_rcpt_onchanged(obj: CheckBox, e: CheckBoxChangeEventInfo) {
- if (e.postvalue == 1) {
- Div01.visible = true;
- Div01.cpt_rcpt.visible = true;
- //Static02.position = "absolute 810 635 965 778";
- } else {
- Div01.visible = false;
- Div01.cpt_rcpt.visible = false;
- //Static02.position = "absolute 809 753 964 777";
- }
- }
- function grd_inprescondrefrsrv_oncellclick(obj: Grid, e: GridClickEventInfo) {
- // 데이터 선택이 하나의 ROW만 되도록 한다. ( RADIO 를 쓰면 무조건 하나는 선택해야하므로 선택했다가 취소하는경우가 안된다.)
- var chk = ds_grid_grd_inprescondrefrsrv.getColumn(e.row, "chk");
- if (chk == '1') {
- for (var i = 0; i < ds_grid_grd_inprescondrefrsrv.rowcount; i++) {
- ds_grid_grd_inprescondrefrsrv.setColumn(i, "chk", "0");
- }
- ds_grid_grd_inprescondrefrsrv.setColumn(e.row, "chk", "1");
- var sPid = ds_grid_grd_inprescondrefrsrv.getColumn(e.row, "pid");
- var sHngnm = ds_grid_grd_inprescondrefrsrv.getColumn(e.row, "hngnm")
- var sIndex = e.row;
- paraPID = sPid;
- paraHNGNM = sHngnm;
- paraIDX = sIndex;
- } else {
- paraPID = "";
- paraHNGNM = "";
- paraIDX = "-1";
- }
- }
- function grd_inhpdeci_oncelldblclick(obj: Grid, e: GridClickEventInfo) {
- if (ds_grid_grd_inhpdeci.rowcount > 0) {
- // 현재선택한 전과전실 데이터의 전과전실승인 프로그램으로 연동한다.
- var sPid = ds_grid_grd_inhpdeci.getColumn(e.row, "pid")
- frmf_setParameter("PID", sPid);
- if (!utlf_isNull(sPid)) {
- //frmf_modal("SMPMI01600","SMPMI01600");
- frmf_modal("SMPMI01600", "SMPMI01600", "", "", "", "", "", "", "", "", "", "", "M");
- }
- }
- }
- function grd_chngdeptroomlist_oncelldblclick(obj: Grid, e: GridClickEventInfo) {
- if (ds_grid_grd_chngdeptroomlist.rowcount > 0) {
- // 현재선택한 전과전실 데이터의 전과전실승인 프로그램으로 연동한다.
- var sPid = ds_grid_grd_chngdeptroomlist.getColumn(e.row, "pid")
- frmf_setParameter("PID", sPid);
- if (!utlf_isNull(sPid)) {
- frmf_modal("SMPMI01600", "SMPMI01600", "", "", "", "", "", "", "", "", "", "", "M");
- //frmf_modal("SMPMI01600","SMPMI01600");
- }
- }
- }
- function grd_allrsrv_oncelldblclick(obj: Grid, e: GridClickEventInfo) {
- if (ds_grid_grd_allrsrv.rowcount > 0) {
- var chk = ds_grid_grd_allrsrv.getColumn(e.row, "ordtype");
- var sPid = ds_grid_grd_allrsrv.getColumn(e.row, "pid");
- if (!utlf_isNull(sPid)) {
- if (chk == "I") {
- //예약환자
- frmf_setParameter("SMPMI00102_pid", ds_grid_grd_inprescondrefrsrv.getColumn(e.row, "pid"));
- frmf_modal("SMPMI00102", "SMPMI00102", "", "", "", "", "", "", "", "", "", "", "M");
- // var objArg = new Object();
- // objArg.pid = ds_grid_grd_inprescondrefrsrv.getColumn(e.row,"pid");
- // //입원등록 파라메터 확인필요
- // //frmf_modal("SMPMI00102","SMPMI00102",objArg);
- // frmf_modal("SMPMI00102", "SMPMI00102", objArg, "", "", "", "", "", "", "", "", "", "M");
- } else if (chk == "E" || chk == "D") {
- //응급실입원결정서
- frmf_setParameter("PID", sPid);
- frmf_modal("SMPMI01600", "SMPMI01600", "", "", "", "", "", "", "", "", "", "", "M");
- //frmf_modal("SMPMI01600","SMPMI01600");
- // 현재선택한 응급실 결정서 데이터의 전과전실승인 프로그램으로 연동한다.
- } else if (chk == "B") {
- //신생아변경리스트
- dsPam_SMPMI00400.setColumn(0, "pid", sPid);
- // 재원변경관리 팝업 호출
- frmf_modal("SMPMI00400", "SMPMI00400", { dsPam: dsPam_SMPMI00400 }, "", "", "", "", "", "", "", "", "", "M");
- //alert("재원변경 개발중");
- }//else end
- }
- }
- }
- function grd_babylist_oncelldblclick(obj: Grid, e: GridClickEventInfo) {
- if (ds_grid_grd_babylist.rowcount > 0) {
- var sPid = ds_grid_grd_babylist.getColumn(ds_grid_grd_babylist.rowposition, "pid");
- //if (!utlf_isNull(sPid)) {
- dsPam_SMPMI00400.setColumn(0, "pid", sPid);
- // 재원변경관리 팝업 호출
- frmf_modal("SMPMI00400", "SMPMI00400", { dsPam: dsPam_SMPMI00400 }, "", "", "", "", "", "", "", "", "", "M");
- //}
- }
- }
- function group4_combo2_onitemchanged(obj: Combo, e: ItemChangeEventInfo) {
- var build = ds_cond_srch.getColumn(0, 'building');
- if (build == "-") {
- ds_init_wardcd.filter("");
- ds_cond_srch.setColumn(0, 'wardcd', '');
- } else {
- ds_init_wardcd.filter("build == '" + build + "'");
- ds_cond_srch.setColumn(0, 'wardcd', '');
- }
- }
- function grd_inprescondrefrsrv_onrbuttondown(obj: Grid, e: GridMouseEventInfo) {
- if (e.row > -1) {
- ds_grid_grd_inprescondrefrsrv.selectRow(e.row);
- inprescondrefrsrv_popup.trackPopup(e.screenX, e.screenY);
- }
- }
- function grd_inhpdeci_onrbuttondown(obj: Grid, e: GridMouseEventInfo) {
- if (e.row > -1) {
- ds_grid_grd_inhpdeci.selectRow(e.row);
- inhpdeci_popup.trackPopup(e.screenX, e.screenY);
- }
- }
- function inprescondrefrsrv_popup_onmenuclick(obj: PopupMenu, e: MenuClickEventInfo) {
- var funcNm = e.id;
- var pid = ds_grid_grd_inprescondrefrsrv.getColumn(ds_grid_grd_inprescondrefrsrv.rowposition, "pid");
- if (funcNm == "ER") {
- lf_chngDeciType("IE");
- } else if (funcNm == "SDW") {
- lf_chngDeciType("ID");
- } else if (funcNm == "D") {
- lf_setDeciCancel(pid);
- }
- inprescondrefrsrv_popup.closePopup();
- }
- function inhpdeci_popup_onmenuclick(obj: PopupMenu, e: MenuClickEventInfo) {
- var funcNm = e.id;
- var ordType = ds_cond_rsrv.getColumn(0, 'ordtype');
- var pid = ds_grid_grd_inhpdeci.getColumn(ds_grid_grd_inhpdeci.rowposition, "pid");
- if (ordType == "E") {
- if (funcNm == "O") {
- lf_chngDeciType("EI");
- } else if (funcNm == "SDW") {
- lf_chngDeciType("ED");
- } else if (funcNm == "D") {
- lf_setDeciCancel(pid);
- } else if (funcNm == "PRCS") {
- lf_setRsrvPrcs();
- }
- } else if (ordType == "D") {
- if (funcNm == "O") {
- lf_chngDeciType("DI");
- } else if (funcNm == "SDW") {
- lf_chngDeciType("DE");
- } else if (funcNm == "D") {
- lf_setDeciCancel(pid);
- } else if (funcNm == "PRCS") {
- lf_setRsrvPrcs();
- }
- }
- }
- // 입원결정서 변경 함수
- function lf_chngDeciType(pParam) {
- var sAdrvFlag = ds_cond_rsrv.getColumn(0, 'aprv_flag');
- //var sAdrvFlag = model.getValue("/root/send/aprv_flag"); // 전과전실승인 체크박스 체크여부
- // 전과전실승인된 입원결정서는 수정할 수 없도록 막는다.
- if (sAdrvFlag == "Y") {
- sysf_messageBox("전과전실승인된 내역은 변경할 수 없습니다!!", "I");
- return;
- }
- var result = sysf_messageBox("변경하시겠습니까?", "Q");
- if (result != "6") return;
- if (utlf_isNull(pParam)) {
- sysf_messageBox("변경상태가 입력되지 않았습니다.", "I");
- return;
- } else {
- if (pParam == "IE") {
- // 입원 -> 응급
- ds_data_grd_inprescondrefrsrv.clearData();
- ds_data_grd_inprescondrefrsrv.addRow();
- var idx = ds_grid_grd_inprescondrefrsrv.rowposition;
- ds_data_grd_inprescondrefrsrv.copyRow(0, ds_grid_grd_inprescondrefrsrv, idx);
- ds_data_grd_inprescondrefrsrv.setColumn(0, "erreglyn", "E");
- } else if (pParam == "ID") {
- // 입원 -> SDW/CHEMO
- ds_data_grd_inprescondrefrsrv.clearData();
- ds_data_grd_inprescondrefrsrv.addRow();
- var idx = ds_grid_grd_inprescondrefrsrv.rowposition;
- ds_data_grd_inprescondrefrsrv.copyRow(0, ds_grid_grd_inprescondrefrsrv, idx);
- ds_data_grd_inprescondrefrsrv.setColumn(0, "erreglyn", "D");
- } else if (pParam == "EI") {
- // ER -> 입원
- ds_data_grd_inhpdeci.clearData();
- ds_data_grd_inhpdeci.addRow();
- var idx = ds_grid_grd_inhpdeci.rowposition;
- ds_data_grd_inhpdeci.copyRow(0, ds_grid_grd_inhpdeci, idx);
- ds_data_grd_inhpdeci.setColumn(0, "erreglyn", "I");
- } else if (pParam == "ED") {
- // ER -> SDW/CHEMO
- ds_data_grd_inhpdeci.clearData();
- ds_data_grd_inhpdeci.addRow();
- var idx = ds_grid_grd_inhpdeci.rowposition;
- ds_data_grd_inhpdeci.copyRow(0, ds_grid_grd_inhpdeci, idx);
- ds_data_grd_inhpdeci.setColumn(0, "erreglyn", "D");
- } else if (pParam == "DI") {
- // SDW/CHEMO -> 입원
- ds_data_grd_inhpdeci.clearData();
- ds_data_grd_inhpdeci.addRow();
- var idx = ds_grid_grd_inhpdeci.rowposition;
- ds_data_grd_inhpdeci.copyRow(0, ds_grid_grd_inhpdeci, idx);
- ds_data_grd_inhpdeci.setColumn(0, "erreglyn", "I");
- } else if (pParam == "DE") {
- // SDW/CHEMO -> ER
- ds_data_grd_inhpdeci.clearData();
- ds_data_grd_inhpdeci.addRow();
- var idx = ds_grid_grd_inhpdeci.rowposition;
- ds_data_grd_inhpdeci.copyRow(0, ds_grid_grd_inhpdeci, idx);
- ds_data_grd_inhpdeci.setColumn(0, "erreglyn", "E");
- } else {
- sysf_messageBox("변경상태가 올바르지 않습니다.", "I");
- return;
- }
- var setCondData = "";
- if (pParam == "IE" || pParam == "ID") {
- setCondData = "ds_data_grd_inprescondrefrsrv";
- ds_data_grd_inprescondrefrsrv.addColumn("rsrvflag", "string");
- ds_data_grd_inprescondrefrsrv.addColumn("status", "string");
- ds_data_grd_inprescondrefrsrv.setColumn(0, "rsrvflag", "AA");
- ds_data_grd_inprescondrefrsrv.setColumn(0, "status", "U");
- } else if (pParam == "EI" || pParam == "ED" || pParam == "DI" || pParam == "DE") {
- setCondData = "ds_data_grd_inhpdeci";
- ds_data_grd_inhpdeci.addColumn("rsrvflag", "string");
- ds_data_grd_inhpdeci.addColumn("status", "string");
- ds_data_grd_inhpdeci.setColumn(0, "rsrvflag", "AA");
- ds_data_grd_inhpdeci.setColumn(0, "status", "U");
- }
- var oParam = {};
- oParam.id = "TXPMI00201";
- oParam.service = "ipatmngtapp.InRsrv";
- oParam.method = "reqExeInhpRsrv";
- oParam.inds = "s_adrv=" + setCondData;
- oParam.outds = "";
- oParam.async = false;
- oParam.callback = "cf_TXPMI00201";
- tranf_submit(oParam);
- }
- }
- function cf_TXPMI00201(strSvcID, nErrorCode, strErrorMsg) {
- if (nErrorCode == 0) {
- sysf_messageBox("수정 되었습니다.", "I");
- group2.btn_srch2.click();
- }
- }
- // 입원결정서 삭제 - [결정서 삭제/복원] 팝업 오픈
- function lf_setDeciCancel(pid) {
- // var sParam = "";
- // var idx = 0;
- var sOrdType = ds_cond_rsrv.getColumn(0, 'ordtype');
- var sAdrvFlag = ds_cond_rsrv.getColumn(0, 'aprv_flag');
- // 전과전실승인된 입원결정서는 수정할 수 없도록 막는다.
- if (sAdrvFlag == "Y") {
- sysf_messageBox("전과전실승인된 내역은 변경할 수 없습니다!!", "I");
- return;
- }
- // // 입원예약
- // if (sOrdType == "I") {
- // idx = ds_grid_grd_inprescondrefrsrv.rowposition;
- // sParam = ds_grid_grd_inprescondrefrsrv.getColumn(idx,"pid");
- // // 응급 or // SDW/CHEMO
- // } else if (sOrdType == "E" || sOrdType == "D") {
- // idx = ds_grid_grd_inhpdeci.rowposition;
- // sParam = ds_grid_grd_inhpdeci.getColumn(idx,"pid");
- // } else {
- // sysf_messageBox("팝업 메뉴 조건이 아닙니다.", "I");
- // return;
- // }
- var objArg = new Object();
- if (!utlf_isNull(pid)) {
- objArg.sPid = pid;
- frmf_modal("SPPMI03400", "SPPMI03400", objArg);
- } else {
- sysf_messageBox("취소 할 환자를 선택 해 주세요.", "I");
- }
- group2.btn_srch2.click();
- }
- // 입원수속 보완/해제 ( B : 보완, C : 완료)
- function lf_setRsrvPrcs() {
- var idx = ds_grid_grd_inhpdeci.rowposition;
- var sOrdType = ds_cond_rsrv.getColumn(0, 'ordtype');
- var sRsrvPrcsStat = "";
- var sSetRsrvPrcsStat = "";
- // 입원예약
- if (sOrdType == "I") {
- return;
- }
- // 응급, SDW/CHEMO
- if (sOrdType == "E" || sOrdType == "D") {
- sRsrvPrcsStat = ds_grid_grd_inhpdeci.getColumn(idx, "rsrvprcsstat");
- if (sRsrvPrcsStat == "-" || sRsrvPrcsStat == "A" || sRsrvPrcsStat == "C") {
- var result = sysf_messageBox("[입원수속보완]을 설정하시겠니까?", "Q");
- if (result == "6") {
- sSetRsrvPrcsStat = "B";
- // 수정이력 20100304 JHP 아니오 눌렀을때 return false한다. 아니면 그냥 진행되서 오류난다.
- } else {
- return false;
- }
- } else if (sRsrvPrcsStat == "B") {
- var result = sysf_messageBox("[입원수속보완]을 해제(완료) 하시겠니까?", "Q");
- if (result == "6") {
- sSetRsrvPrcsStat = "C";
- // 수정이력 20100304 JHP 아니오 눌렀을때 return false한다. 아니면 그냥 진행되서 오류난다.
- } else {
- return false;
- }
- } else {
- sysf_messageBox("[입원수속보완] 상태값이 올바르지 않습니다.!!", "I");
- }
- ds_data_grd_inhpdeci.clearData();
- ds_data_grd_inhpdeci.addRow();
- ds_data_grd_inhpdeci.copyRow(0, ds_grid_grd_inhpdeci, idx);
- ds_data_grd_inhpdeci.setColumn(0, "erreglyn", sOrdType);
- ds_data_grd_inhpdeci.setColumn(0, "rsrvprcsstat", sSetRsrvPrcsStat);
- ds_data_grd_inhpdeci.addColumn("rsrvflag", "string");
- ds_data_grd_inhpdeci.addColumn("status", "string");
- ds_data_grd_inhpdeci.setColumn(0, "rsrvflag", "AB");
- ds_data_grd_inhpdeci.setColumn(0, "status", "U");
- var oParam = {};
- oParam.id = "TXPMI00201";
- oParam.service = "ipatmngtapp.InRsrv";
- oParam.method = "reqExeInhpRsrv";
- oParam.inds = "s_adrv=ds_data_grd_inhpdeci";
- oParam.outds = "";
- oParam.async = false;
- oParam.callback = "cf_TXPMI00201";
- tranf_submit(oParam);
- }
- }
- function lf_iGridColor(row, col) {
- var vRow = ds_grid_grd_inprescondreflist.getColumn(row, "room_bed_no");
- var bind = lf_getCellBindCol(col);
- var statusColor;
- if (vRow != 0) {
- var colRemBindCol = bind.replace("nm", "");
- if (colRemBindCol == "wardcd") return;
- var vCol = ds_grid_grd_inprescondreflist.getColumn(row, colRemBindCol);
- var vStatus = vCol.substr(0, 1);
- if (vStatus == '0') { //재원환자
- statusColor = "#dcdcdc";
- } else if (vStatus == '1') { //전실승인환자
- statusColor = "#fcd2c1";
- } else if (vStatus == '2') { //이중병실환자
- statusColor = "#ffe79d";
- } else if (vStatus == '3') { //전실승인이중병실환자
- statusColor = "#11ddff";
- } else if (vStatus == '4') { //예약환자
- statusColor = "#40e0d0";
- } else if (vStatus == '5') { //전실신청
- statusColor = "#ffe79dff";
- } else if (vStatus == '6') { //퇴원예고
- statusColor = "#fcd2c1ff";
- }
- var vCol2 = ds_grid_grd_inprescondreflist.getColumn(row, bind);
- var v_public = vCol2.indexOf("(공)");
- if (v_public > 0) {
- statusColor = "#00FF00";
- //ds_grid_grd_inprescondreflist.setColumn(row, bind, vCol2.replace("(공)", ""))
- }
- } else {
- var sRoomCd = ds_grid_grd_inprescondreflist.getColumn(row, bind);
- var iFirstIndex = sRoomCd.lastIndexOf('(');
- var iLastIndex = sRoomCd.lastIndexOf(')');
- var iBedCnt = parseInt(sRoomCd.substring(iFirstIndex + 1, iLastIndex), 10);
- if (utlf_isNull(iBedCnt)) iBedCnt = 1;
- if (iBedCnt < 0) {
- statusColor = "red";
- } else {
- statusColor = "#f7a08b";
- }
- }
- return statusColor;
- }
- function lf_getCellBindCol(nCell) {
- var text = utlf_trim(grd_inprescondreflist.getCellProperty("body", nCell, "text"));
- return text.replace(/bind:/, "").replace(/BIND:/, "");
- }
- function SMPMI00800_onkeydown(obj: Form, e: KeyEventInfo) {
- //팝업화면으로 사용 될 경우
- if (frmf_checkOpener()) {
- if (e.keycode == 27) {
- this.close();
- }
- }
- }
- function lf_grd_inprescondrefrsrv_Color(row) {
- var statusColor = "";
- var sordtype = ds_cond_rsrv.getColumn(0, "ordtype");
- if (sordtype == "I" || sordtype == "T") {
- var sInrsrvstat = ds_grid_grd_inprescondrefrsrv.getColumn(row, "inrsrvstat");
- if (sInrsrvstat == "S" || sInrsrvstat == "R") {
- statusColor = "#cc3300";
- }
- // 입원결정서 - 예약
- if (sInrsrvstat == "T") {
- statusColor = "#0066ff";
- }
- } else if (sordtype == "E") {
- var sRsrvprcsstat = ds_grid_grd_inprescondrefrsrv.getColumn(row, "rsrvprcsstat");
- if (sRsrvprcsstat == "B") {
- statusColor = "#cc99ff";
- } else {
- statusColor = "#ffffff";
- }
- } else if (sordtype == "D") {
- var sRsrvprcsstat = ds_grid_grd_inprescondrefrsrv.getColumn(row, "rsrvprcsstat");
- if (sRsrvprcsstat == "B") {
- statusColor = "#cc99ff";
- }
- }
- return statusColor;
- }
- function btn_init_onclick(obj: Button, e: ClickEventInfo) {
- }
- ]]></Script>
- </Form>
- </FDL>
|