1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMNW17200" position="absolute 0 0 1211 900" titletext="원스탑퇴원정리" oninit="SPMNW17200_oninit" onload="SPMNW17200_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 15 1211 900" id="group2">
- <Layouts>
- <Layout>
- <Button position="absolute 481 69 556 89" id="button1" class="btn5" text="강제Acting" onclick="group2_button1_onclick" anchor="default"/>
- <Grid position="absolute 0 94 600 208" id="grd_actingchklist" binddataset="ds_grd_actingchklist" anchor="default" cellsizingtype="col" cellclickbound="cell" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22"/>
- <Column size="68"/>
- <Column size="72"/>
- <Column size="150"/>
- <Column size="68"/>
- <Column size="102"/>
- <Column size="102"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell displaytype="checkbox" edittype="checkbox"/>
- <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="caption1"/>
- <Cell col="8" text="caption2"/>
- <Cell col="9" text="calcscorcd"/>
- <Cell col="10" text="caption4"/>
- <Cell col="11" text="caption5"/>
- <Cell col="12" text="caption6"/>
- <Cell col="13" text="caption7"/>
- <Cell col="14" text="caption8"/>
- <Cell col="15" text="caption9"/>
- <Cell col="16" text="caption10"/>
- <Cell col="17" text="caption11"/>
- <Cell col="18" text="caption12"/>
- <Cell col="19" text="caption13"/>
- <Cell col="20" text="caption14"/>
- <Cell col="21" text="caption15"/>
- <Cell col="22" text="caption16"/>
- <Cell col="23" text="caption17"/>
- <Cell col="24" text="caption18"/>
- <Cell col="25" text="caption19"/>
- <Cell col="26" text="caption20"/>
- <Cell col="27" text="caption21"/>
- <Cell col="28" text="caption22"/>
- <Cell col="29" text="caption23"/>
- <Cell col="30" text="caption24"/>
- <Cell col="31" text="caption25"/>
- <Cell col="32" text="caption26"/>
- <Cell col="33" text="caption27"/>
- <Cell col="34" text="caption3"/>
- <Cell col="35" text="caption28"/>
- <Cell col="36" text="caption29"/>
- <Cell col="37" text="caption30"/>
- <Cell col="38" text="caption31"/>
- <Cell col="39" text="caption32"/>
- </Band>
- <Band id="body">
- <Cell celltype="none" displaytype="checkbox" edittype="checkbox" text="bind:chk"/>
- <Cell col="1" text="bind:execprcpstatcd"/>
- <Cell col="2" style="align:left middle;" text="bind:prcpcd"/>
- <Cell col="3" style="align:left middle;" text="bind:prcpnm"/>
- <Cell col="4" displaytype="date" text="bind:prcpdd" mask="yyyy-MM-dd"/>
- <Cell col="5" displaytype="date" text="bind:rsrvdt" mask="yyyy-MM-dd hh:mm"/>
- <Cell col="6" displaytype="date" text="bind:rgstdt" mask="yyyy-MM-dd hh:mm"/>
- <Cell col="7" text="bind:status"/>
- <Cell col="8" text="bind:actyn"/>
- <Cell col="9" text="bind:calcscorcd"/>
- <Cell col="10" text="bind:clscd"/>
- <Cell col="11" text="bind:clscd1"/>
- <Cell col="12" text="bind:prcpno"/>
- <Cell col="13" text="bind:statcd"/>
- <Cell col="14" text="bind:prcptoyn"/>
- <Cell col="15" text="bind:pid"/>
- <Cell col="16" text="bind:prcphistno"/>
- <Cell col="17" text="bind:execprcpno"/>
- <Cell col="18" text="bind:orddd"/>
- <Cell col="19" text="bind:execprcpuniqno"/>
- <Cell col="20" text="bind:ekgbaseflag"/>
- <Cell col="21" text="bind:cretno"/>
- <Cell col="22" text="bind:prcpgenrflag"/>
- <Cell col="23" text="bind:rgstdeptcd"/>
- <Cell col="24" text="bind:rgstrid"/>
- <Cell col="25" text="bind:orddeptcd"/>
- <Cell col="26" text="bind:wardcd"/>
- <Cell col="27" text="bind:wardnm"/>
- <Cell col="28" text="bind:medispclid"/>
- <Cell col="29" text="bind:prcpkindcd"/>
- <Cell col="30" text="bind:roomcd"/>
- <Cell col="31" text="bind:carecnfmdd"/>
- <Cell col="32" text="bind:prcpexecdeptcd"/>
- <Cell col="33" text="bind:prcphopedd"/>
- <Cell col="34" text="bind:rsrvflag"/>
- <Cell col="35" text="bind:execprcpstatcd"/>
- <Cell col="36" text="bind:dutflag"/>
- <Cell col="37" text="bind:enddd"/>
- <Cell col="38" text="bind:cvrtbfprcpgenrflag"/>
- <Cell col="39" text="bind:instcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="환자정보" position="absolute 0 15 100 35" id="caption3" class="tit_2" anchor="default"/>
- <Static text="Acting Check" position="absolute 0 72 134 92" id="caption4" class="tit_2" anchor="default"/>
- <Static text="미투약기록" position="absolute 612 356 712 376" id="caption5" class="tit_2" anchor="default"/>
- <Grid position="absolute 611 520 1211 614" id="grd_retdruglist" binddataset="ds_grd_retdruglist" autofittype="col" anchor="default" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="82"/>
- <Column size="207"/>
- <Column size="68"/>
- <Column size="102"/>
- <Column size="50"/>
- <Column size="38"/>
- <Column size="36"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="처방코드"/>
- <Cell col="1" text="처방명"/>
- <Cell col="2" text="처방적용일"/>
- <Cell col="3" text="처방일시"/>
- <Cell col="4" text="용량"/>
- <Cell col="5" text="수량"/>
- <Cell col="6" text="횟수"/>
- </Band>
- <Band id="body">
- <Cell style="align:left middle;" text="bind:prcpcd"/>
- <Cell col="1" style="align:left middle;" text="bind:prcpnm"/>
- <Cell col="2" text="bind:prcpdd" mask="####-##-##"/>
- <Cell col="3" text="bind:rgstdt" mask="####-##-## ##:##"/>
- <Cell col="4" text="bind:drprcpetc7"/>
- <Cell col="5" text="bind:drprcpetc8"/>
- <Cell col="6" text="bind:prcptims"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="반환예정" position="absolute 611 498 711 518" id="caption7" class="tit_2" anchor="default"/>
- <Shape position="absolute 0 89 600 95" linetype="horizontal" id="line3" class="line_10" anchor="default"/>
- <Static text="미확인처방" position="absolute 611 72 711 88" id="caption8" class="tit_2" anchor="default"/>
- <Shape position="absolute 611 373 1211 379" linetype="horizontal" id="line4" class="line_10" anchor="default"/>
- <Shape position="absolute 611 515 1211 521" linetype="horizontal" id="line5" class="line_10" anchor="default"/>
- <Grid position="absolute 611 378 1211 492" id="grd_noactdruglist" binddataset="ds_grd_noactdruglist" anchor="default" cellsizingtype="col" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="60"/>
- <Column size="76"/>
- <Column size="154"/>
- <Column size="50"/>
- <Column size="38"/>
- <Column size="36"/>
- <Column size="68"/>
- <Column size="102"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="처방구분"/>
- <Cell col="1" text="처방코드"/>
- <Cell col="2" text="처방명"/>
- <Cell col="3" text="용량"/>
- <Cell col="4" text="수량"/>
- <Cell col="5" text="횟수"/>
- <Cell col="6" text="처방적용일"/>
- <Cell col="7" text="처방일시"/>
- </Band>
- <Band id="body">
- <Cell text="bind:prcpkindcdnm"/>
- <Cell col="1" style="align:left middle;" text="bind:prcpcd"/>
- <Cell col="2" style="align:left middle;background:EXPR(prcpkindcdnm == "수술중" ? "#ffff00" : "");background2:EXPR(prcpkindcdnm == "수술중" ? "#ffff00" : "");font:EXPR(prcpkindcdnm == "수술중" ? "arial,9,bold": "" );" text="bind:prcpnm"/>
- <Cell col="3" text="bind:drprcpetc7"/>
- <Cell col="4" text="bind:drprcpetc8"/>
- <Cell col="5" text="bind:prcptims"/>
- <Cell col="6" displaytype="date" text="bind:prcpdd" mask="yyyy-MM-dd"/>
- <Cell col="7" displaytype="date" text="bind:rgstdt" mask="yyyy-MM-dd hh:mm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Edit readonly="true" position="absolute 239 35 355 61" id="output1" anchor="default" class="output"/>
- <Shape position="absolute 611 89 1211 95" linetype="horizontal" id="line6" class="line_10" anchor="default"/>
- <Edit readonly="true" position="absolute 420 35 528 61" id="output2" anchor="default" class="output"/>
- <Grid position="absolute 611 94 1211 208" id="grd_uncnfmlist" binddataset="ds_grd_uncnfmlist" anchor="default" cellsizingtype="col" cellclickbound="cell" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22"/>
- <Column size="60"/>
- <Column size="76"/>
- <Column size="134"/>
- <Column size="68"/>
- <Column size="48"/>
- <Column size="38"/>
- <Column size="36"/>
- <Column size="102"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell displaytype="checkbox" edittype="checkbox"/>
- <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="caption1"/>
- <Cell col="10" text="caption2"/>
- <Cell col="11" text="caption3"/>
- <Cell col="12" text="caption4"/>
- <Cell col="13" text="caption5"/>
- <Cell col="14" text="caption6"/>
- <Cell col="15" text="caption7"/>
- <Cell col="16" text="caption8"/>
- <Cell col="17" text="caption9"/>
- <Cell col="18" text="caption10"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:chkyn"/>
- <Cell col="1" text="bind:prcpkindcdnm"/>
- <Cell col="2" style="align:left middle;" text="bind:prcpcd"/>
- <Cell col="3" style="align:left middle;" text="bind:prcpnm"/>
- <Cell col="4" text="bind:prcpdd" mask="####-##-##"/>
- <Cell col="5" text="bind:drprcpetc7"/>
- <Cell col="6" text="bind:drprcpetc8"/>
- <Cell col="7" text="bind:prcptims"/>
- <Cell col="8" text="bind:rgstdt" mask="####-##-## ##:##"/>
- <Cell col="9" text="bind:prcpno"/>
- <Cell col="10" text="bind:prcphistno"/>
- <Cell col="11" text="bind:userid"/>
- <Cell col="12" text="bind:instcd"/>
- <Cell col="13" text="bind:pid"/>
- <Cell col="14" text="bind:prcpclscd"/>
- <Cell col="15" text="bind:hsctlnkno"/>
- <Cell col="16" text="bind:hscttempprcpflag"/>
- <Cell col="17" text="bind:carecnfmdt"/>
- <Cell col="18" text="bind:medireqflag"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Edit readonly="true" position="absolute 66 35 174 61" id="output3" anchor="default" class="output"/>
- <Button position="absolute 1147 69 1211 89" id="button2" class="btn5" text="간호확인" onclick="group2_button2_onclick" anchor="default"/>
- <Grid position="absolute 0 520 600 614" id="grd_outdruglist" binddataset="ds_grd_outdruglist" autofittype="col" anchor="default" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="82"/>
- <Column size="163"/>
- <Column size="75"/>
- <Column size="105"/>
- <Column size="56"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="처방코드"/>
- <Cell col="1" text="처방명"/>
- <Cell col="2" text="처방적용일"/>
- <Cell col="3" text="처방일시"/>
- <Cell col="4" text="입력자"/>
- </Band>
- <Band id="body">
- <Cell style="align:left middle;" text="bind:prcpcd"/>
- <Cell col="1" style="align:left middle;" text="bind:prcpnm"/>
- <Cell col="2" text="bind:prcpdd" mask="####-##-##"/>
- <Cell col="3" text="bind:rgstdt" mask="####-##-## ##:##"/>
- <Cell col="4"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="외출외박약 정리" position="absolute 0 498 146 518" id="caption10" class="tit_2" anchor="default"/>
- <Shape position="absolute 0 515 600 521" linetype="horizontal" id="line8" class="line_10" anchor="default"/>
- <Shape position="absolute 611 231 1211 237" linetype="horizontal" id="line9" class="line_10" anchor="default"/>
- <Grid position="absolute 611 236 1211 350" id="grd_enddruglist" binddataset="ds_grd_enddruglist" autofittype="col" anchor="default" cellsizingtype="col" cellclickbound="cell">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22"/>
- <Column size="76"/>
- <Column size="185"/>
- <Column size="68"/>
- <Column size="51"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="102"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell displaytype="checkbox" edittype="checkbox"/>
- <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="caption7"/>
- <Cell col="9" text="caption6"/>
- <Cell col="10" text="caption5"/>
- <Cell col="11" text="caption4"/>
- <Cell col="12" text="caption3"/>
- <Cell col="13" text="caption2"/>
- <Cell col="14" text="caption1"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:chkyn"/>
- <Cell col="1" style="align:left middle;" text="bind:prcpcd"/>
- <Cell col="2" style="align:left middle;" text="bind:prcpnm"/>
- <Cell col="3" displaytype="date" text="bind:prcpdd" mask="yyyy-MM-dd"/>
- <Cell col="4" style="align:right middle;" text="bind:drprcpetc7"/>
- <Cell col="5" style="align:right middle;" text="bind:drprcpetc8"/>
- <Cell col="6" style="align:right middle;" text="bind:prcptims"/>
- <Cell col="7" displaytype="date" style="align:left middle;" text="bind:rgstdt" mask="yyyy-MM-dd hh:mm"/>
- <Cell col="8" text="bind:prcpno"/>
- <Cell col="9" text="bind:prcphistno"/>
- <Cell col="10" text="bind:execprcpno"/>
- <Cell col="11" text="bind:instcd"/>
- <Cell col="12" text="bind:execdd"/>
- <Cell col="13" text="bind:oiflag"/>
- <Cell col="14" text="bind:execdeptcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="미마감내역 조회" position="absolute 612 214 758 234" id="caption11" class="tit_2" anchor="default"/>
- <Button position="absolute 1169 211 1211 231" id="button3" class="btn5" text="마감" onclick="group2_button3_onclick" anchor="default"/>
- <Radio position="absolute 1077 211 1162 231" id="rdo_duty" columncount="3" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">D</Col>
- <Col id="datacolumn">D</Col>
- </Row>
- <Row>
- <Col id="codecolumn">E</Col>
- <Col id="datacolumn">E</Col>
- </Row>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">N</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Grid position="absolute 611 642 1211 738" align="align:center middle;" id="grd_tnsprcplist" binddataset="ds_grd_tnsprcplist" autofittype="col" anchor="default" cellsizingtype="col" cellclickbound="cell">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22"/>
- <Column size="80"/>
- <Column size="98"/>
- <Column size="63"/>
- <Column size="78"/>
- <Column size="98"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell displaytype="normal" edittype="none"/>
- <Cell col="1" text="상태"/>
- <Cell col="2" text="신청시간"/>
- <Cell col="3" text="처방코드"/>
- <Cell col="4" text="처방명"/>
- <Cell col="5" text="처방시간"/>
- <Cell col="6" text="caption1"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:chkyn"/>
- <Cell col="1" style="align:left middle;" text="bind:state"/>
- <Cell col="2" style="align:left middle;" text="bind:fstrgstdt"/>
- <Cell col="3" style="align:left middle;" text="bind:prcpcd"/>
- <Cell col="4" style="align:left middle;" text="bind:prcpnm"/>
- <Cell col="5" style="align:left middle;" text="bind:rgstddtm"/>
- <Cell col="6" text="bind:dcyn"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 611 637 1211 643" linetype="horizontal" id="line10" class="line_10" anchor="default"/>
- <Static text="혈액처방" position="absolute 611 620 691 640" id="caption12" class="tit_2" anchor="default"/>
- <Shape position="absolute 0 637 600 643" linetype="horizontal" id="line11" class="line_10" anchor="default"/>
- <Static text="외래예약" position="absolute 0 620 100 640" id="caption14" class="tit_2" anchor="default"/>
- <Grid position="absolute 0 642 600 738" align="align:center middle;" id="grd_outrsrvinfo" binddataset="ds_grd_outrsrvinfolist" autofittype="col" anchor="default" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="21"/>
- <Column size="70"/>
- <Column size="36"/>
- <Column size="92"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="64"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="예약일시"/>
- <Cell col="2" text="예약일시"/>
- <Cell col="3" text="진료과"/>
- <Cell col="4" text="센터"/>
- <Cell col="5" text="하위부서"/>
- <Cell col="6" text="진료의"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" displaytype="date" text="bind:orddd" calendardisplaynulltype="none"/>
- <Cell col="2" text="bind:ordtm" mask="expr:utlf_isNull(ordtm) ? '' : '##:##'" maskchar=" "/>
- <Cell col="3" text="bind:orddeptnm"/>
- <Cell col="4" text="bind:centnm"/>
- <Cell col="5" text="bind:subdeptnm"/>
- <Cell col="6" text="bind:orddrnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Edit readonly="true" position="absolute 90 617 600 637" id="opt_optpcomment" anchor="default" class="output"/>
- <Edit readonly="true" position="absolute 701 617 1211 637" id="opt_tnsprcpcomment" anchor="default" class="output"/>
- <Grid position="absolute 0 378 600 492" align="align:center middle;" id="grd_narcprcpinfolist" binddataset="ds_grd_narcprcpinfolist" autofittype="col" anchor="default" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="55"/>
- <Column size="55"/>
- <Column size="55"/>
- <Column size="70"/>
- <Column size="67"/>
- <Column size="128"/>
- <Column size="50"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell displaytype="checkbox" edittype="checkbox"/>
- <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="caption26"/>
- <Cell col="11" text="caption25"/>
- <Cell col="12" text="caption24"/>
- <Cell col="13" text="caption23"/>
- <Cell col="14" text="caption22"/>
- <Cell col="15" text="caption21"/>
- <Cell col="16" text="caption20"/>
- <Cell col="17" text="caption19"/>
- <Cell col="18" text="caption18"/>
- <Cell col="19" text="caption17"/>
- <Cell col="20" text="caption16"/>
- <Cell col="21" text="caption15"/>
- <Cell col="22" text="caption13"/>
- <Cell col="23" text="caption12"/>
- <Cell col="24" text="caption11"/>
- <Cell col="25" text="caption10"/>
- <Cell col="26" text="caption9"/>
- <Cell col="27" text="caption8"/>
- <Cell col="28" text="caption7"/>
- <Cell col="29" text="caption6"/>
- <Cell col="30" text="caption27"/>
- <Cell col="31" text="caption44"/>
- <Cell col="32" text="caption43"/>
- <Cell col="33" text="caption42"/>
- <Cell col="34" text="caption41"/>
- <Cell col="35" text="caption40"/>
- <Cell col="36" text="caption39"/>
- <Cell col="37" text="caption38"/>
- <Cell col="38" text="caption37"/>
- <Cell col="39" text="caption36"/>
- <Cell col="40" text="caption35"/>
- <Cell col="41" text="caption34"/>
- <Cell col="42" text="caption33"/>
- <Cell col="43" text="caption32"/>
- <Cell col="44" text="caption31"/>
- <Cell col="45" text="caption30"/>
- <Cell col="46" text="caption29"/>
- <Cell col="47" text="caption28"/>
- <Cell col="48" text="caption58"/>
- <Cell col="49" text="caption57"/>
- <Cell col="50" text="caption56"/>
- <Cell col="51" text="caption55"/>
- <Cell col="52" text="caption54"/>
- <Cell col="53" text="caption53"/>
- <Cell col="54" text="caption52"/>
- <Cell col="55" text="caption51"/>
- <Cell col="56" text="caption50"/>
- <Cell col="57" text="caption49"/>
- <Cell col="58" text="caption48"/>
- <Cell col="59" text="caption47"/>
- <Cell col="60" text="caption46"/>
- <Cell col="61" text="caption59"/>
- <Cell col="62" text="caption45"/>
- <Cell col="63" text="caption63"/>
- <Cell col="64" text="caption62"/>
- <Cell col="65" text="caption61"/>
- <Cell col="66" text="caption60"/>
- <Cell col="67" text="caption5"/>
- <Cell col="68" text="caption4"/>
- <Cell col="69" text="caption3"/>
- <Cell col="70" text="caption2"/>
- <Cell col="71" text="caption1"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:chkyn"/>
- <Cell col="1" displaytype="combo" edittype="combo" text="bind:narcstat" combodataset="ds_cmb_narcstat" combocodecol="value" combodatacol="lavel"/>
- <Cell col="2" displaytype="combo" edittype="combo" text="bind:cnclstat" combodataset="ds_cmb_cnclstat" combocodecol="value" combodatacol="label"/>
- <Cell col="3" displaytype="combo" edittype="combo" text="bind:rtnstat"/>
- <Cell col="4" displaytype="date" text="bind:prcpdd" mask="yyyy-MM-dd"/>
- <Cell col="5" style="align:left middle;" text="bind:prcpcd"/>
- <Cell col="6" style="align:left middle;" text="bind:drugnm"/>
- <Cell col="7" text="bind:drprcpetc7"/>
- <Cell col="8" text="bind:drprcpetc8"/>
- <Cell col="9" text="bind:prcptims"/>
- <Cell col="10" text="bind:prnyn"/>
- <Cell col="11" text="bind:dcyn"/>
- <Cell col="12" text="bind:pid"/>
- <Cell col="13" text="bind:returnflag"/>
- <Cell col="14" text="bind:returnqty"/>
- <Cell col="15" text="bind:returnvol"/>
- <Cell col="16" text="bind:drugrec"/>
- <Cell col="17" text="bind:dayprcpqty"/>
- <Cell col="18" text="bind:prcpqtyunit"/>
- <Cell col="19" text="bind:prcpvol"/>
- <Cell col="20" text="bind:prcpvolunit"/>
- <Cell col="21" text="bind:dayprcpqty"/>
- <Cell col="22" text="bind:prcpdayno"/>
- <Cell col="23" text="bind:drugdd"/>
- <Cell col="24" text="bind:drugno"/>
- <Cell col="25" text="bind:ioflag"/>
- <Cell col="26" text="bind:prcpno"/>
- <Cell col="27" text="bind:prcphistno"/>
- <Cell col="28" text="bind:narcflag"/>
- <Cell col="29" text="bind:orddd"/>
- <Cell col="30" text="bind:ward"/>
- <Cell col="31" text="bind:prcpgenrflag"/>
- <Cell col="32" text="bind:prcpkindcd"/>
- <Cell col="33" text="bind:pain"/>
- <Cell col="34" text="bind:orddrnm"/>
- <Cell col="35" text="bind:rtnprcpdt"/>
- <Cell col="36" text="bind:rtnorddrnm"/>
- <Cell col="37" text="bind:sumdt"/>
- <Cell col="38" text="bind:reqdt"/>
- <Cell col="39" text="bind:reqidnm"/>
- <Cell col="40" text="bind:drugdt"/>
- <Cell col="41" text="bind:drugidnm"/>
- <Cell col="42" text="bind:delivedt"/>
- <Cell col="43" text="bind:deliveidnm"/>
- <Cell col="44" text="bind:issdeptcdnm"/>
- <Cell col="45" text="bind:issdeptcd"/>
- <Cell col="46" text="bind:acptdt"/>
- <Cell col="47" text="bind:acptidnm"/>
- <Cell col="48" text="bind:rtnappdt"/>
- <Cell col="49" text="bind:rtnappidnm"/>
- <Cell col="50" text="bind:rtncnfmdt"/>
- <Cell col="51" text="bind:rtncnfmidnm"/>
- <Cell col="52" text="bind:spreqty"/>
- <Cell col="53" text="bind:sprevol"/>
- <Cell col="54" text="bind:spredt"/>
- <Cell col="55" text="bind:spreidnm"/>
- <Cell col="56" text="bind:sprecnfmdt"/>
- <Cell col="57" text="bind:sprecnfmidnm"/>
- <Cell col="58" text="bind:fstrgstdt"/>
- <Cell col="59" text="bind:erprcpflag"/>
- <Cell col="60" text="bind:prcpdt"/>
- <Cell col="61" text="bind:hospnm1"/>
- <Cell col="62" text="bind:hospnm2"/>
- <Cell col="63" text="bind:medrendyn"/>
- <Cell col="64" text="bind:statvisible"/>
- <Cell col="65" text="bind:deptchgyn"/>
- <Cell col="66" text="bind:nodeliveyn"/>
- <Cell col="67" text="bind:inclprcpcd"/>
- <Cell col="68" text="bind:rcissdeptcd"/>
- <Cell col="69" text="bind:rcprcpexecdeptcd"/>
- <Cell col="70" text="bind:rcwardcd"/>
- <Cell col="71" text="bind:rcroomcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Edit readonly="true" position="absolute 80 353 281 373" id="opt_narccomment" anchor="default" class="output" style="padding:0 2 0 2;"/>
- <Shape position="absolute 0 373 600 379" linetype="horizontal" id="line12" class="line_10" anchor="default"/>
- <Static text="마약처방" position="absolute 0 356 146 376" id="caption15" class="tit_2" anchor="default"/>
- <Button position="absolute 1147 353 1211 373" id="button4" class="btn2" text="투약기록" onclick="group2_button4_onclick" anchor="default"/>
- <Button position="absolute 441 353 505 373" id="button6" class="btn5" text="부서확인" onclick="group2_button6_onclick" anchor="default" visible="false"/>
- <Button position="absolute 507 353 600 373" id="button7" class="btn5" text="반납/반환신청" onclick="group2_button7_onclick" anchor="default" visible="false"/>
- <Button position="absolute 353 353 439 373" id="btn_drugcncl" class="btn5" text="불출신청취소" onclick="group2_btn_drugcncl_onclick" anchor="default" visible="false"/>
- <Button position="absolute 287 353 351 373" id="btn_drug" class="btn5" text="불출신청" onclick="group2_btn_drug_onclick" anchor="default" visible="false"/>
- <Button position="absolute 536 38 592 58" id="button5" class="btn1" text="조회" onclick="group2_button5_onclick" anchor="default"/>
- <Button position="absolute 558 69 600 89" id="button9" class="btn5" text="반환" onclick="group2_button9_onclick" anchor="default"/>
- <Button position="absolute 514 211 600 231" id="button10" class="btn5" text="수행일시변경" anchor="default" onclick="group2_button10_onclick" visible="false"/>
- <Grid position="absolute 0 236 600 350" id="grd_execddchklist" binddataset="ds_grd_execddchklist" anchor="default" oncellclick="group2_grd_execddchklist_oncellclick" onexpanddown="group2_grd_execddchklist_onexpanddown" ontextchanged="group2_grd_execddchklist_ontextchanged" cellsizingtype="col" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22"/>
- <Column size="30"/>
- <Column size="76"/>
- <Column size="124"/>
- <Column size="68"/>
- <Column size="102"/>
- <Column size="82"/>
- <Column size="36"/>
- <Column size="0"/>
- <Column size="44"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell displaytype="checkbox" edittype="checkbox"/>
- <Cell col="1" text="상태"/>
- <Cell col="2" text="처방코드"/>
- <Cell col="3" text="처방명"/>
- <Cell col="4" text="처방적용일"/>
- <Cell col="5" text="처방일시"/>
- <Cell col="6" colspan="2" text="수행일시" taborder="undefined"/>
- <Cell col="8" text="수행일시"/>
- <Cell col="9" text="수행자"/>
- <Cell col="10" text="caption1"/>
- <Cell col="11" text="caption2"/>
- <Cell col="12" text="caption4"/>
- <Cell col="13" text="caption3"/>
- <Cell col="14" text="caption5"/>
- <Cell col="15" text="caption6"/>
- <Cell col="16" text="caption7"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:chkyn"/>
- <Cell col="1" style="background:EXPR(reqflag == "" ? "#11eeee" : "");background2:EXPR(reqflag == "" ? "#11eeee" : "");" text="bind:dcstat"/>
- <Cell col="2" style="align:left middle;" text="bind:prcpcd"/>
- <Cell col="3" style="align:left middle;" text="bind:prcpnm"/>
- <Cell col="4" displaytype="date" text="bind:prcpdd" mask="yyyy-MM-dd"/>
- <Cell col="5" displaytype="date" text="bind:rgstdt" mask="yyyy-MM-dd hh:mm"/>
- <Cell col="6" displaytype="date" edittype="none" text="bind:execdd" mask="yyyy-MM-dd" expandshow="show"/>
- <Cell col="7" displaytype="text" edittype="none" text="bind:exectm" mask="##:##"/>
- <Cell col="8" text="bind:execdt" mask="yyyy-mm-dd hh:nn"/>
- <Cell col="9" text="bind:usernm"/>
- <Cell col="10" text="bind:flag"/>
- <Cell col="11" text="bind:prcpno"/>
- <Cell col="12" text="bind:prcphistno"/>
- <Cell col="13" text="bind:execprcpno"/>
- <Cell col="14" text="bind:dcyn"/>
- <Cell col="15" text="bind:pid"/>
- <Cell col="16" text="bind:reqflag"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="미래일자 Acting" position="absolute 0 214 146 234" id="caption9" class="tit_2" anchor="default"/>
- <Shape position="absolute 0 231 600 237" linetype="horizontal" id="line7" class="line_10" anchor="default"/>
- <Edit readonly="true" position="absolute 689 20 1211 40" id="output4" anchor="default" class="output"/>
- <Button position="absolute 619 20 683 40" align="align:center middle;" id="btn_homecare" class="btn2" text="가정간호" anchor="default" onclick="group2_btn_homecare_onclick"/>
- <Edit readonly="true" position="absolute 689 41 1211 61" id="output23" anchor="default" class="output"/>
- <Button position="absolute 619 41 683 61" align="align:center middle;" id="button8" class="btn2" text="수혈기록" anchor="default" onclick="group2_button8_onclick"/>
- <Button position="absolute 426 211 512 231" id="btn_req" class="btn5" text="처방복구신청" anchor="default" onclick="group2_btn_req_onclick"/>
- <Button position="absolute 514 211 600 231" id="btn_cert" class="btn5" text="처방복구승인" anchor="default" onclick="group2_btn_cert_onclick"/>
- <Edit readonly="true" position="absolute 145 495 600 515" id="opt_outdrugcmt" anchor="default" class="output"/>
- <Static text="의사에게 승인받아 D/C 처리하십시오.(투약기록에서 투약X반환가능한 약,주사)" position="absolute 758 496 1199 516" id="caption16" anchor="default"/>
- <Div position="absolute 249 121 595 255" id="group3" visible="false" anchor="default" class="div_SA2" style="shadow:outer 3,3 3 gray;">
- <Layouts>
- <Layout width="340" height="125">
- <Button position="absolute 225 106 281 126" id="button11" class="btn4" text="확인" anchor="default" onclick="group2_group3_button11_onclick"/>
- <Button position="absolute 282 106 338 126" id="button12" class="btn4" text="취소" anchor="default" onclick="group2_group3_button12_onclick"/>
- <Static text="D/C 처방 복구 사유를 선택하십시오." position="absolute 8 8 260 28" id="caption23" class="tit_2" anchor="default"/>
- <Combo position="absolute 8 26 338 45" id="cmb_resncd" innerdataset="ds_init_cmb_resncd" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
- <TextArea position="absolute 8 46 338 101" id="tar_resnetc" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Button position="absolute 525 12 600 32" id="btn_barcd" class="btn2" text="바코드관리" anchor="default" onclick="group2_btn_barcd_onclick"/>
- <Button position="absolute 406 12 522 32" id="btn_mon" class="btn2" visible="false" text="간호처방 모니터링" anchor="default" onclick="group2_btn_mon_onclick"/>
- <Shape position="absolute 0 760 1211 766" linetype="horizontal" id="line13" class="line_10" anchor="default"/>
- <Static text="미확인 구두처방" position="absolute 0 743 123 763" id="caption17" class="tit_2" anchor="default"/>
- <Grid position="absolute 0 765 1211 885" id="grd_tellprcplist" binddataset="ds_grd_tellprcplist" anchor="default" cellsizingtype="col" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="80"/>
- <Column size="675"/>
- <Column size="75"/>
- <Column size="100"/>
- <Column size="40"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="100"/>
- <Column size="65"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="처방코드"/>
- <Cell col="1" text="처방명"/>
- <Cell col="2" text="처방적용일"/>
- <Cell col="3" text="처방일시"/>
- <Cell col="4" text="용량"/>
- <Cell col="5" text="수량"/>
- <Cell col="6" text="횟수"/>
- <Cell col="7" text="처방부서"/>
- <Cell col="8" text="처방의"/>
- <Cell col="9" text="prcpno"/>
- </Band>
- <Band id="body">
- <Cell style="align:left middle;" text="bind:prcpcd"/>
- <Cell col="1" style="align:left middle;" text="bind:prcpnm"/>
- <Cell col="2" text="bind:prcpdd" mask="####-##-##"/>
- <Cell col="3" text="bind:rgstdt" mask="####-##-## ##:##"/>
- <Cell col="4" text="bind:drprcpetc7"/>
- <Cell col="5" text="bind:drprcpetc8"/>
- <Cell col="6" text="bind:prcptims"/>
- <Cell col="7" text="bind:rgstrdeptnm"/>
- <Cell col="8" text="bind:rgstridnm"/>
- <Cell col="9" text="bind:prcpno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="button13" taborder="2" text="마약처방관리" position="absolute 509 353 600 373" class="btn2" onclick="group2_button13_onclick" anchor="default"/>
- <Static id="caption13" text="등록번호" class="cell_1" position="absolute 0 35 67 61"/>
- <Static id="caption1" text="환자명" class="cell_1" position="absolute 173 35 240 61"/>
- <Static id="caption2" text="병실" class="cell_1" position="absolute 354 35 421 61"/>
- <Shape id="line1" class="line_10" position="absolute 0 32 600 38"/>
- <Shape id="line2" class="line_3" position="absolute 0 58 600 64"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="퇴원정리 조회" class="tit_1" position="absolute 0 0 116 25"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grd_actingchklist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chk" type="STRING"/>
- <Column id="execprcpstatcd" type="STRING"/>
- <Column id="prcpcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="rsrvdt" type="STRING"/>
- <Column id="rgstdt" type="STRING"/>
- <Column id="status" type="STRING"/>
- <Column id="actyn" type="STRING"/>
- <Column id="calcscorcd" type="STRING"/>
- <Column id="clscd" type="STRING"/>
- <Column id="clscd1" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="statcd" type="STRING"/>
- <Column id="prcptoyn" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="prcphistno" type="STRING"/>
- <Column id="execprcpno" type="STRING"/>
- <Column id="orddd" type="STRING"/>
- <Column id="execprcpuniqno" type="STRING"/>
- <Column id="ekgbaseflag" type="STRING"/>
- <Column id="cretno" type="STRING"/>
- <Column id="prcpgenrflag" type="STRING"/>
- <Column id="rgstdeptcd" type="STRING"/>
- <Column id="rgstrid" type="STRING"/>
- <Column id="orddeptcd" type="STRING"/>
- <Column id="wardcd" type="STRING"/>
- <Column id="wardnm" type="STRING"/>
- <Column id="medispclid" type="STRING"/>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="roomcd" type="STRING"/>
- <Column id="carecnfmdd" type="STRING"/>
- <Column id="prcpexecdeptcd" type="STRING"/>
- <Column id="prcphopedd" type="STRING"/>
- <Column id="rsrvflag" type="STRING"/>
- <Column id="execprcpstatcd" type="STRING"/>
- <Column id="dutflag" type="STRING"/>
- <Column id="enddd" type="STRING"/>
- <Column id="cvrtbfprcpgenrflag" type="STRING"/>
- <Column id="instcd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_retdruglist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="rgstdt" type="STRING"/>
- <Column id="drprcpetc7" type="STRING"/>
- <Column id="drprcpetc8" type="STRING"/>
- <Column id="prcptims" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_noactdruglist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpkindcdnm" type="STRING"/>
- <Column id="prcpcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="drprcpetc7" type="STRING"/>
- <Column id="drprcpetc8" type="STRING"/>
- <Column id="prcptims" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="rgstdt" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_uncnfmlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chkyn" type="STRING"/>
- <Column id="prcpkindcdnm" type="STRING"/>
- <Column id="prcpcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="drprcpetc7" type="STRING"/>
- <Column id="drprcpetc8" type="STRING"/>
- <Column id="prcptims" type="STRING"/>
- <Column id="rgstdt" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="prcphistno" type="STRING"/>
- <Column id="userid" type="STRING"/>
- <Column id="instcd" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="prcpclscd" type="STRING"/>
- <Column id="hsctlnkno" type="STRING"/>
- <Column id="hscttempprcpflag" type="STRING"/>
- <Column id="carecnfmdt" type="STRING"/>
- <Column id="medireqflag" type="STRING"/>
- <Column id="userdeptcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_outdruglist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="rgstdt" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_enddruglist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chkyn" type="STRING"/>
- <Column id="prcpcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="drprcpetc7" type="STRING"/>
- <Column id="drprcpetc8" type="STRING"/>
- <Column id="prcptims" type="STRING"/>
- <Column id="rgstdt" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="prcphistno" type="STRING"/>
- <Column id="execprcpno" type="STRING"/>
- <Column id="instcd" type="STRING"/>
- <Column id="execdd" type="STRING"/>
- <Column id="oiflag" type="STRING"/>
- <Column id="execdeptcd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_tnsprcplist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chkyn" type="STRING"/>
- <Column id="state" type="STRING"/>
- <Column id="fstrgstdt" type="STRING"/>
- <Column id="prcpcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="rgstddtm" type="STRING"/>
- <Column id="dcyn" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_outrsrvinfo" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="optpcomment" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_narcprcpinfolist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chkyn" type="STRING"/>
- <Column id="narcstat" type="STRING"/>
- <Column id="cnclstat" type="STRING"/>
- <Column id="rtnstat" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="prcpcd" type="STRING"/>
- <Column id="drugnm" type="STRING"/>
- <Column id="drprcpetc7" type="STRING"/>
- <Column id="drprcpetc8" type="STRING"/>
- <Column id="prcptims" type="STRING"/>
- <Column id="prnyn" type="STRING"/>
- <Column id="dcyn" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="returnflag" type="STRING"/>
- <Column id="returnqty" type="STRING"/>
- <Column id="returnvol" type="STRING"/>
- <Column id="drugrec" type="STRING"/>
- <Column id="dayprcpqty" type="STRING"/>
- <Column id="prcpqtyunit" type="STRING"/>
- <Column id="prcpvol" type="STRING"/>
- <Column id="prcpvolunit" type="STRING"/>
- <Column id="dayprcpqty" type="STRING"/>
- <Column id="prcpdayno" type="STRING"/>
- <Column id="drugdd" type="STRING"/>
- <Column id="drugno" type="STRING"/>
- <Column id="ioflag" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="prcphistno" type="STRING"/>
- <Column id="narcflag" type="STRING"/>
- <Column id="orddd" type="STRING"/>
- <Column id="ward" type="STRING"/>
- <Column id="prcpgenrflag" type="STRING"/>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="pain" type="STRING"/>
- <Column id="orddrnm" type="STRING"/>
- <Column id="rtnprcpdt" type="STRING"/>
- <Column id="rtnorddrnm" type="STRING"/>
- <Column id="sumdt" type="STRING"/>
- <Column id="reqdt" type="STRING"/>
- <Column id="reqidnm" type="STRING"/>
- <Column id="drugdt" type="STRING"/>
- <Column id="drugidnm" type="STRING"/>
- <Column id="delivedt" type="STRING"/>
- <Column id="deliveidnm" type="STRING"/>
- <Column id="issdeptcdnm" type="STRING"/>
- <Column id="issdeptcd" type="STRING"/>
- <Column id="acptdt" type="STRING"/>
- <Column id="acptidnm" type="STRING"/>
- <Column id="rtnappdt" type="STRING"/>
- <Column id="rtnappidnm" type="STRING"/>
- <Column id="rtncnfmdt" type="STRING"/>
- <Column id="rtncnfmidnm" type="STRING"/>
- <Column id="spreqty" type="STRING"/>
- <Column id="sprevol" type="STRING"/>
- <Column id="spredt" type="STRING"/>
- <Column id="spreidnm" type="STRING"/>
- <Column id="sprecnfmdt" type="STRING"/>
- <Column id="sprecnfmidnm" type="STRING"/>
- <Column id="fstrgstdt" type="STRING"/>
- <Column id="erprcpflag" type="STRING"/>
- <Column id="prcpdt" type="STRING"/>
- <Column id="hospnm1" type="STRING"/>
- <Column id="hospnm2" type="STRING"/>
- <Column id="medrendyn" type="STRING"/>
- <Column id="statvisible" type="STRING"/>
- <Column id="deptchgyn" type="STRING"/>
- <Column id="nodeliveyn" type="STRING"/>
- <Column id="inclprcpcd" type="STRING"/>
- <Column id="rcissdeptcd" type="STRING"/>
- <Column id="rcprcpexecdeptcd" type="STRING"/>
- <Column id="rcwardcd" type="STRING"/>
- <Column id="rcroomcd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_execddchklist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chkyn" type="STRING"/>
- <Column id="dcstat" type="STRING"/>
- <Column id="prcpcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="rgstdt" type="STRING"/>
- <Column id="execdd" type="STRING"/>
- <Column id="exectm" type="STRING"/>
- <Column id="execdt" type="STRING"/>
- <Column id="usernm" type="STRING"/>
- <Column id="flag" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="prcphistno" type="STRING"/>
- <Column id="execprcpno" type="STRING"/>
- <Column id="dcyn" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="reqflag" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_resncd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_tellprcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="rgstdt" type="STRING"/>
- <Column id="drprcpetc7" type="STRING"/>
- <Column id="drprcpetc8" type="STRING"/>
- <Column id="prcptims" type="STRING"/>
- <Column id="rgstrdeptnm" type="STRING"/>
- <Column id="rgstridnm" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdgrupid" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="grupdetldesc" type="STRING" size="256"/>
- <Column id="valifromdd" type="STRING" size="256"/>
- <Column id="valitodd" type="STRING" size="256"/>
- <Column id="supcdid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_cond" 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="cretno" type="STRING" size="256"/>
- <Column id="wardcd" type="STRING" size="256"/>
- <Column id="roomcd" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="medispclid" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="dschdclrdt" type="STRING" size="8"/>
- <Column id="duty" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_tnsprcpcomment" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="tnsprcpcomment" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_narcprcpcomment" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="narcprcpcomment" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_homecarecnstlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cnstinfoyn" type="STRING" size="256"/>
- <Column id="dsrdinfoyn" type="STRING" size="256"/>
- <Column id="cnstcomment" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_unrecblodinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="unrecblodcomment" type="STRING" size="256"/>
- <Column id="unrecyn" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdgrupid" type="STRING" size="256"/>
- <Column id="srchdd" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="allflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_narcprcpinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_srchinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="narcflag" type="STRING" size="256"/>
- <Column id="timeflag" type="STRING" size="256"/>
- <Column id="fst_dd" type="STRING" size="256"/>
- <Column id="last_dd" type="STRING" size="256"/>
- <Column id="srchpid" type="STRING" size="256"/>
- <Column id="wardcd" type="STRING" size="256"/>
- <Column id="roomcd" type="STRING" size="256"/>
- <Column id="barcode" type="STRING" size="256"/>
- <Column id="drugkind" type="STRING" size="256"/>
- <Column id="srchioflag" type="STRING" size="256"/>
- <Column id="narcstat" type="STRING" size="256"/>
- <Column id="cnclatat" type="STRING" size="256"/>
- <Column id="rtnstat" type="STRING" size="256"/>
- <Column id="drugdeptcd" type="STRING" size="256"/>
- <Column id="acting" type="STRING" size="256"/>
- <Column id="userid" type="STRING" size="256"/>
- <Column id="userdeptcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_userinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="userid" type="STRING" size="256"/>
- <Column id="userdeptcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_narclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_actingchklist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_actingchklist2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_dschyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_uncnfmlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptflg" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="unitflag" type="STRING" size="256"/>
- <Column id="actingchk" type="STRING" size="256"/>
- <Column id="enddruglist" type="STRING" size="256"/>
- <Column id="endflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_careinrmyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="careinrmyn" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_enddruglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_cmb_narcstat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="lavel" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="lavel">미신청</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="lavel">불출신청</Col>
- <Col id="value">2</Col>
- </Row>
- <Row>
- <Col id="lavel">출력완료</Col>
- <Col id="value">3</Col>
- </Row>
- <Row>
- <Col id="lavel">조제완료</Col>
- <Col id="value">4</Col>
- </Row>
- <Row>
- <Col id="lavel">불출</Col>
- <Col id="value">5</Col>
- </Row>
- <Row>
- <Col id="lavel">부서확인</Col>
- <Col id="value">6</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_cnclstat" 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>
- </Row>
- <Row>
- <Col id="label">반환대상</Col>
- <Col id="value">0</Col>
- </Row>
- <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">7</Col>
- </Row>
- <Row>
- <Col id="label">미불출</Col>
- <Col id="value">10</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_rtnstat" 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>
- </Row>
- <Row>
- <Col id="label">잔량대상</Col>
- <Col id="value">0</Col>
- </Row>
- <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">10</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_endinfo_result" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="prcpno" type="STRING" size="256"/>
- <Column id="prcphistno" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="userid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_FlagInfoData" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="savedataflag" type="STRING" size="256"/>
- <Column id="saveflag" type="STRING" size="256"/>
- <Column id="prcpflag" type="STRING" size="256"/>
- <Column id="inptflag" type="STRING" size="256"/>
- <Column id="pamflag" type="STRING" size="256"/>
- <Column id="diagflag" type="STRING" size="256"/>
- <Column id="prcperrflag" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="deptnm" type="STRING" size="256"/>
- <Column id="userid" type="STRING" size="256"/>
- <Column id="usernm" type="STRING" size="256"/>
- <Column id="signyn" type="STRING" size="256"/>
- <Column id="xrwid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_RgstInfoData" 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="orddd" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="orddrid" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="admininfo" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_PrcpInfoData" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="status" type="STRING" size="256"/>
- <Column id="rowno" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="prcphistno" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="orddrid" type="STRING" size="256"/>
- <Column id="prcpgenrflag" type="STRING" size="256"/>
- <Column id="prcpstatcd" type="STRING" size="256"/>
- <Column id="prcpkindcd" type="STRING" size="256"/>
- <Column id="prcpcd" type="STRING" size="256"/>
- <Column id="calcscorcd" type="STRING" size="256"/>
- <Column id="inclprcpcd" type="STRING" size="256"/>
- <Column id="inclprcpno" type="STRING" size="256"/>
- <Column id="prcpexecdeptcd" type="STRING" size="256"/>
- <Column id="prcphopedd" type="STRING" size="256"/>
- <Column id="prcpqty" type="STRING" size="256"/>
- <Column id="prcpqtyunitflag" type="STRING" size="256"/>
- <Column id="prcptims" type="STRING" size="256"/>
- <Column id="prcpdayno" type="STRING" size="256"/>
- <Column id="payflagcd" type="STRING" size="256"/>
- <Column id="erprcpflag" type="STRING" size="256"/>
- <Column id="precureprcpflag" type="STRING" size="256"/>
- <Column id="nigtprcpflag" type="STRING" size="256"/>
- <Column id="portprcpflag" type="STRING" size="256"/>
- <Column id="fixprcpflag" type="STRING" size="256"/>
- <Column id="choiordflag" type="STRING" size="256"/>
- <Column id="anamneflag" type="STRING" size="256"/>
- <Column id="prcpdirecflag" type="STRING" size="256"/>
- <Column id="angioflagcd" type="STRING" size="256"/>
- <Column id="opansflagcd" type="STRING" size="256"/>
- <Column id="ansttm" type="STRING" size="256"/>
- <Column id="offictourhealexamflag" type="STRING" size="256"/>
- <Column id="stemcellflag" type="STRING" size="256"/>
- <Column id="hosinhosoutflag" type="STRING" size="256"/>
- <Column id="hosinprcpresncd" type="STRING" size="256"/>
- <Column id="issdeptcd" type="STRING" size="256"/>
- <Column id="prcpauthflag" type="STRING" size="256"/>
- <Column id="prcpinptflag" type="STRING" size="256"/>
- <Column id="prcpsignflag" type="STRING" size="256"/>
- <Column id="oprsrvno" type="STRING" size="256"/>
- <Column id="clincstdyflag" type="STRING" size="256"/>
- <Column id="clincstdycd" type="STRING" size="256"/>
- <Column id="drugmthdspccd" type="STRING" size="256"/>
- <Column id="prcpdelivefact" type="STRING" size="256"/>
- <Column id="tootfact" type="STRING" size="256"/>
- <Column id="matrsetprcpspec" type="STRING" size="256"/>
- <Column id="calcflag" type="STRING" size="256"/>
- <Column id="rsrvflag" type="STRING" size="256"/>
- <Column id="rsrvdd" type="STRING" size="256"/>
- <Column id="rsrvtm" type="STRING" size="256"/>
- <Column id="rsrvrid" type="STRING" size="256"/>
- <Column id="execdd" type="STRING" size="256"/>
- <Column id="exectm" type="STRING" size="256"/>
- <Column id="execrid" type="STRING" size="256"/>
- <Column id="direcprcplnkdd" type="STRING" size="256"/>
- <Column id="direcprcplnkno" type="STRING" size="256"/>
- <Column id="ordreqlnkno" type="STRING" size="256"/>
- <Column id="testreqlnkno" type="STRING" size="256"/>
- <Column id="aftcertflag" type="STRING" size="256"/>
- <Column id="aftcertdrid" type="STRING" size="256"/>
- <Column id="dcflag" type="STRING" size="256"/>
- <Column id="execprcpuniqno" type="STRING" size="256"/>
- <Column id="prcpclscd" type="STRING" size="256"/>
- <Column id="prcpno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_SignInfoData" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="signdd" type="STRING" size="256"/>
- <Column id="signno" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="signflag" type="STRING" size="256"/>
- <Column id="signgenrflag" type="STRING" size="256"/>
- <Column id="rgstdeptcd" type="STRING" size="256"/>
- <Column id="rgstdd" type="STRING" size="256"/>
- <Column id="rgsttm" type="STRING" size="256"/>
- <Column id="rgstrid" type="STRING" size="256"/>
- <Column id="updtdeptcd" type="STRING" size="256"/>
- <Column id="updtdd" type="STRING" size="256"/>
- <Column id="updttm" type="STRING" size="256"/>
- <Column id="updtrid" type="STRING" size="256"/>
- <Column id="fstrgstrid" type="STRING" size="256"/>
- <Column id="fstrgstdt" type="STRING" size="256"/>
- <Column id="lastupdtrid" type="STRING" size="256"/>
- <Column id="lastupdtdt" type="STRING" size="256"/>
- <Column id="signbfcnts" type="STRING" size="256"/>
- <Column id="signaftcnts" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_result_prcperrlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpcd" type="STRING" size="256"/>
- <Column id="prcpnm" type="STRING" size="256"/>
- <Column id="prcperr" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_execddchklist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_warddruglist" 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="check" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="prcpno" type="STRING" size="256"/>
- <Column id="dccountyn" type="STRING" size="256"/>
- <Column id="dcyn" type="STRING" size="256"/>
- <Column id="chkyn" type="STRING" size="256"/>
- <Column id="reqflag" type="STRING" size="256"/>
- <Column id="resncd" type="STRING" size="256"/>
- <Column id="resnetc" type="STRING" size="256"/>
- <Column id="wardcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_saveinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chngflag" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_grd_outrsrvinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="ordtm" type="STRING" size="256"/>
- <Column id="orddeptnm" type="STRING" size="256"/>
- <Column id="orddrnm" type="STRING" size="256"/>
- <Column id="centnm" type="STRING" size="256"/>
- <Column id="subdeptnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.output3" propid="value" datasetid="ds_main_cond" columnid="pid"/>
- <BindItem id="item1" compid="group2.output1" propid="value" datasetid="ds_main_cond" columnid="hngnm"/>
- <BindItem id="item2" compid="group2.output2" propid="value" datasetid="ds_main_cond" columnid="roomcd"/>
- <BindItem id="item4" compid="group2.output4" propid="value" datasetid="ds_main_homecarecnstlist" columnid="cnstcomment"/>
- <BindItem id="item5" compid="group2.output23" propid="value" datasetid="ds_main_unrecblodinfo" columnid="unrecblodcomment"/>
- <BindItem id="item6" compid="group2.opt_narccomment" propid="value" datasetid="ds_main_narcprcpcomment" columnid="narcprcpcomment"/>
- <BindItem id="item7" compid="group2.opt_tnsprcpcomment" propid="value" datasetid="ds_main_tnsprcpcomment" columnid="tnsprcpcomment"/>
- <BindItem id="item8" compid="group2.opt_optpcomment" propid="value" datasetid="ds_main_outrsrvinfo" columnid="optpcomment"/>
- <BindItem id="item3" compid="group2.rdo_duty" propid="value" datasetid="ds_main_cond" columnid="duty"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- var arErrorCode = new HashArray();
- function cf_TXMNW00305(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- if(nErrorCode < 0) return;
- utlf_addLog("***** cf_TXMNW00305 *****");
- }
- function SPMNW17200_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- //load
- function SPMNW17200_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(group2.grd_actingchklist);
- grdf_initGrid(group2.grd_execddchklist);
- grdf_initGrid(group2.grd_narcprcpinfolist);
- grdf_initGrid(group2.grd_uncnfmlist);
- grdf_initGrid(group2.grd_enddruglist);
- // /root/main/paminfo/list
- var sPamInfo = sysf_getGlobalVariable("paminfo");
- dsf_setCSVToDs("ds_temp_cond", sPamInfo);
- var jobposcd = "";
-
- ds_send_reqdata.setColumn(0, "cdgrupid", "'U28', 'U29', 'I03'");
- ds_send_reqdata.setColumn(0, "srchdd", utlf_getCurrentDate());
- var oParam = {};
- oParam.id = "TRMNW00001";
- oParam.service = "wardcareapp.WardCareMngt";
- oParam.method = "reqGetNursHardCdInfo";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_grd_codelist=codelist";
- oParam.async = false;
- //oParam.callback = "cf_TRMNW00001";
- tranf_submit(oParam);
-
- ds_grd_codelist.filter("cdgrupid == 'U28'");
- var useyn = ds_grd_codelist.getColumn(0, "cdid");
- ds_grd_codelist.filter("");
-
- ds_grd_codelist.filter("cdgrupid == 'I03'");
- var monyn = ds_grd_codelist.getColumn(0, "cdid");
- ds_grd_codelist.filter("");
-
- if(sysf_getUserInfo("userid")=="ENR"){
- group2.btn_req.visible = true;
- group2.btn_cert.visible = true;
- }else{
- if(useyn =="Y")
- {
- jobposcd = sysf_getUserInfo("jobposcd");
-
- if(jobposcd == "75"){
- group2.btn_cert.visible = true;
- group2.btn_req.visible = false;
- }else{
- group2.btn_cert.visible = false;
- group2.btn_req.visible = true;
- }
- }else{
- group2.btn_cert.visible = false;
- group2.btn_req.visible = false;
- }
- }
-
- if(monyn == "Y"){
- group2.btn_mon.visible = true;
- }else{
- group2.btn_mon.visible = false;
- }
-
- var pid = ds_temp_cond.getColumn(0, "pid");
- var indd = ds_temp_cond.getColumn(0, "indd");
- var cretno = ds_temp_cond.getColumn(0, "cretno");
- var wardcd = ds_temp_cond.getColumn(0, "wardcd");
- var roomcd = ds_temp_cond.getColumn(0, "roomcd");
- var hngnm = ds_temp_cond.getColumn(0, "hngnm");
- var orddeptcd = ds_temp_cond.getColumn(0, "orddeptcd");
- var dschdclrdt = ds_temp_cond.getColumn(0, "dschdclrdt");
-
-
- ds_main_cond.setColumn(0, "pid", pid);
- ds_main_cond.setColumn(0, "indd", indd);
- ds_main_cond.setColumn(0, "cretno", cretno);
- ds_main_cond.setColumn(0, "wardcd", wardcd);
- ds_main_cond.setColumn(0, "roomcd", roomcd);
- ds_main_cond.setColumn(0, "hngnm", hngnm);
- ds_main_cond.setColumn(0, "orddeptcd", orddeptcd);
- ds_main_cond.setColumn(0, "dschdclrdt", dschdclrdt.substr(0,8));
-
- var curTime = utlf_getCurrentTime().substr(0,4);
- if(curTime>"0800" && curTime < "1601"){
- group2.rdo_duty.value = "D";
- }
- else if(curTime>"1600" && curTime < "2301"){
- group2.rdo_duty.value = "E";
- }
- else{
- group2.rdo_duty.value = "N";
- }
-
- fSearch();
- }
- //조회
- function group2_button5_onclick(obj:Button, e:ClickEventInfo)
- {
- fSearch();
- }
- //조회함수
- function fSearch() {
- ds_send_reqdata.copyData(ds_main_cond);
- sysf_trace("11 >> " + ds_grd_actingchklist.getColumn(0, "statcd"))
- var oParam = {};
- oParam.id = "TRMNW17201";
- oParam.service = "wardcareapp.WardCareMngt";
- oParam.method = "reqGetDschInfoAll";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_grd_actingchklist=actingchklist ds_grd_noactdruglist=noactdruglist ds_grd_retdruglist=retdruglist ds_grd_uncnfmlist=uncnfmlist ds_grd_execddchklist=execddchklist ds_grd_outdruglist=outdruglist ds_grd_enddruglist=enddruglist ds_grd_outrsrvinfolist=outrsrvinfolist ds_main_outrsrvinfo=optpcomment ds_grd_tnsprcplist=tnsprcplist ds_main_tnsprcpcomment=tnsprcpcomment ds_grd_narcprcpinfolist=narcprcplist ds_main_narcprcpcomment=narcprcpcomment ds_main_homecarecnstlist=homecarecnstlist ds_main_unrecblodinfo=unrecblodinfo ds_grd_tellprcplist=tellprcplist";
- oParam.async = false;
- //oParam.callback = "cf_TRMNW17201";
- tranf_submit(oParam);
- sysf_trace("22 >> " + ds_grd_actingchklist.getColumn(0, "statcd"))
- var prcpkindcdnm;
-
- for(var i = 0; i < ds_grd_noactdruglist.rowcount; i ++) {
- prcpkindcdnm = ds_grd_noactdruglist.getColumn(i, "prcpkindcdnm");
- }
- if(ds_grd_outdruglist.rowcount > 0) {
- group2.opt_outdrugcmt.value = "정리되지 않은 외출외박약이 존재합니다.";
- }
-
- var reqflag;
- for(var i = 0; i < ds_grd_execddchklist.rowcount; i++) {
- reqflag = ds_grd_execddchklist.getColumn(i,"reqflag");
- }
- }
- //
- function fNarcActing(sActing){
- var chkyn;
- var narcstat;
- var cnclstat;
- var rtnstat;
- var ioflag;
- var inclprcpcd;
- var issdeptcd;
- var deptchgyn;
- var sActing_nm = "";
- var issmsg = "";
-
- ds_grd_narcprcpinfolist.filter("chkyn =='Y'");
- ds_temp_narcprcpinfolist.copyData(ds_grd_narcprcpinfolist, true);
- ds_grd_narcprcpinfolist.filter("");
-
- if(ds_temp_narcprcpinfolist.rowcount == 0){
- sysf_messageBox("선택된 데이터가 존재하지 않습니다.", "E");
- return;
- }
-
- for(var i = 0; i< ds_temp_narcprcpinfolist.rowcount; i++){
- chkyn = ds_temp_narcprcpinfolist.getColumn(i, "chkyn");
- narcstat = ds_temp_narcprcpinfolist.getColumn(i, "narcstat");
- cnclstat = ds_temp_narcprcpinfolist.getColumn(i, "cnclstat");
- rtnstat = ds_temp_narcprcpinfolist.getColumn(i, "rtnstat");
- ioflag = ds_temp_narcprcpinfolist.getColumn(i, "ioflag");
- inclprcpcd = ds_temp_narcprcpinfolist.getColumn(i, "inclprcpcd");
- issdeptcd = ds_temp_narcprcpinfolist.getColumn(i, "issdeptcd");
- deptchgyn = ds_temp_narcprcpinfolist.getColumn(i, "deptchgyn");
- }
-
- if(chkyn == "Y"){
- if(sActing =="rtn") {
- if(cnclstat != "0" || narcstat=="5") {
- sActing = "spre";
- }
- }
- if(sActing == "drug") {
- if(narcstat != "1") {
- sysf_messageBox("이미 불출신청한 마약은 불출신청 할 수 없습니다.", "E");
- return;
- } else {
- }
- }
- else if(sActing == "drugcncl") {
- if(narcstat!= "2") {
- sysf_messageBox("불출신청 상태가 아니면 불출신청 취소를 할 수 없습니다", "E");
- return;
- }
- }
- else if(sActing =="acpt") {
- if(narcstat != "5" && narcstat > "5") {
- sysf_messageBox("이미 부서확인 된 마약입니다", "E");
- return;
- } else if(narcstat != "5" && narcstat < "5") {
- sysf_messageBox("불출되지 않은 마약은 부서확인 할 수 없습니다", "E");
- return;
- }
- }
- else if(sActing == "spre") {
- if(narcstat != "6") {
- sysf_messageBox("처방 D/C처리 이후에 반납/반환신청이","I006");
- return;
- }
- }
- else if(sActing == "rtn") {
- if(cnclstat == "0" && narcstat !="5") {
- if(rtnstat != "0" || narcstat != "6") {
- sysf_messageBox("처방 D/C처리 이후에 반납/반환신청이","I006");
- return;
- }
- }
- }
- }
-
- if(sActing == "drug"){
- sActing_nm = "불출신청";
- } else if(sActing == "drugcncl") {
- sActing_nm = "불출신청취소";
- } else if(sActing == "acpt") {
- sActing_nm = "부서확인";
- } else if(sActing == "spre") {
- sActing_nm = "반납/반환신청";
- } else if(sActing == "rtn") {
- sActing_nm = "반납/반환신청";
- }
-
- var rtn = sysf_messageBox(sActing_nm + " 하시겠습니까?", "Q");
- if(rtn != "6") {
- return;
- }
- var msg_val ="6";
- if(sActing == "drug" || sActing == "spre" || sActing == "rtn") {
- if(sActing == "drug") {
- msg_val = sysf_messageBox("수행부서가 " + getUserInfo("dutplcenm") +"(으)로 불출신청됩니다", "I");
- msg_val = "6";
- } else {
- msg_val = sysf_messageBox(getUserInfo("dutplcenm") +"(으)로 반환/잔량신청","Q003")
- }
- }
- if(msg_val == 6) {
- ds_send_srchinfo.clearData();
- ds_send_userinfo.clearData();
- ds_send_srchinfo.addRow();
- ds_send_userinfo.addRow();
-
- ds_send_srchinfo.setColumn(0, "narcflag", "M");
- ds_send_srchinfo.setColumn(0, "timeflag", "2");
- ds_send_srchinfo.setColumn(0, "fst_dd", ds_main_cond.getColumn(0, "indd"));
- ds_send_srchinfo.setColumn(0, "last_dd", utlf_getCurrentDate);
- ds_send_srchinfo.setColumn(0, "srchpid", ds_main_cond.getColumn(0, "pid"));
- ds_send_srchinfo.setColumn(0, "wardcd", ds_main_cond.getColumn(0, "wardcd"));
- ds_send_srchinfo.setColumn(0, "roomcd", ds_main_cond.getColumn(0, "roomcd"));
- ds_send_srchinfo.setColumn(0, "barcode", "");
- ds_send_srchinfo.setColumn(0, "drugkind", "I");
- ds_send_srchinfo.setColumn(0, "srchioflag", "MI");
- ds_send_srchinfo.setColumn(0, "narcstat", "I");
- ds_send_srchinfo.setColumn(0, "cnclstat", "I");
- ds_send_srchinfo.setColumn(0, "rtnstat", "I");
- ds_send_srchinfo.setColumn(0, "drugdeptcd", sysf_getUserInfo("dutplcecd"));
- ds_send_srchinfo.setColumn(0, "acting", sActing);
- ds_send_userinfo.setColumn(0, "userid", sysf_getUserInfo("userid"));
- ds_send_userinfo.setColumn(0, "userdeptcd", sysf_getUserInfo("dutplcecd"));
-
- var oParam = {};
- oParam.id = "TXADT30401";
- oParam.service = "pharmacyprescriptionapp.Narcotics";
- oParam.method = "reqExeNursNarcData";
- oParam.inds = "req=ds_temp_narcprcpinfolist srch=ds_send_srchinfo user=ds_send_userinfo";
- oParam.outds = "ds_grd_narclist=narclist";
- oParam.async = false;
- //oParam.callback = "cf_TXADT30401";
- tranf_submit(oParam);
-
- fSearch();
- }
- }
- //강제acting
- function group2_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- var curdd = utlf_getCurrentDate();
- ds_grd_actingchklist.filter("chk=='1' && (prcpdd >'"+curdd+"' || prcphopedd > '" + curdd +"')");
- ds_temp_actingchklist2.copyData(ds_grd_actingchklist, true);
- ds_grd_actingchklist.filter("");
-
- ds_grd_actingchklist.filter("chk== '1'");
- ds_temp_actingchklist.copyData(ds_grd_actingchklist, true);
- ds_grd_actingchklist.filter("");
-
- if(ds_temp_actingchklist2.rowcount > 0){
- sysf_messageBox("미래일자 처방이 있습니다. Acting이 불가능합니다.", "E");
- return;
- }
- if(ds_temp_actingchklist.rowcount == 0)
- {
- sysf_messageBox("처방이 선택되지 않았습니다.", "I");
- return;
- }
-
- var calcscorcd;
- var clscd;
- var clscd1;
- var prcpno
- var prcpcd;
- var prcpnm;
- var statcd;
- var chk;
-
- for(var i = 0; i < ds_grd_actingchklist.rowcount; i++) {
- calcscorcd = ds_grd_actingchklist.getColumn(i, "calcscorcd");
- clscd = ds_grd_actingchklist.getColumn(i, "clscd");
- clscd1 = ds_grd_actingchklist.getColumn(i, "clscd1");
- prcpno = ds_grd_actingchklist.getColumn(i, "prcpno");
- prcpcd = ds_grd_actingchklist.getColumn(i, "prcpcd");
- prcpnm = ds_grd_actingchklist.getColumn(i, "prcpnm");
- statcd = ds_grd_actingchklist.getColumn(i, "statcd");
- chk = ds_grd_actingchklist.getColumn(i, "chk");
- if(chk == "1") {
- if(utlf_isNull(calcscorcd) || calcscorcd == "")
- {
- if(clscd == "B2" || clscd == "B6" || clscd == "D2")
- {
- if(statcd == "000" || statcd == "100") {
- sysf_messageBox("바코드 발행 후에 강제 Acting이 가능합니다.", "I");
- return;
- }
- else
- {
- ds_grd_actingchklist.setColumn(i, "status", "update");
- ds_grd_actingchklist.setColumn(i, "actyn", "Y");
- }
- }
- else if(clscd == "M2" || clscd == "H4" || clscd == "I2")
- {
- if(statcd == "000")
- {
- sysf_messageBox("간호 확인 후 강제 Acting하십시오.", "I");
- return;
- }
- else
- {
- ds_grd_actingchklist.setColumn(i, "status", "update");
- ds_grd_actingchklist.setColumn(i, "actyn", "Y");
- }
- }
- else
- {
- sysf_messageBox("진검, 핵의학검체, 병리가 아닌 처방은 강제Acting할 수 없습니다. ", "E");
- return;
- }
- }
- else
- {
- ds_grd_actingchklist.setColumn(i, "status", "update");
- ds_grd_actingchklist.setColumn(i, "actyn", "Y");
- }
- }
- }
-
- ds_send_savedata.setColumn(0, "deptflg", "A");
-
- var updateData = grdf_getGridUpdateData(group2.grd_actingchklist);
-
- ds_temp_actingchklist.copyData(updateData, true);
- var oParam = {};
- oParam.id = "TXMNW10701";
- oParam.service = "wardorderapp.GnrlPrcpMngt";
- oParam.method = "reqExeSetCareExipActing";
- oParam.inds = "reqdept=ds_send_savedata req=ds_temp_actingchklist";
- oParam.outds = "ds_dschyn=dschyn";
- oParam.async = false;
- //oParam.callback = "cf_TXMNW10701";
- tranf_submit(oParam);
-
- sysf_messageBox("강제 Acting이 완료되었습니다", "I");
- fSearch();
- }
- //간호확인
- function group2_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_grd_uncnfmlist.filter("chkyn=='1'");
- //ds_temp_uncnfmlist.copyData(ds_grd_uncnfmlist, true);
- var gdcount = ds_grd_uncnfmlist.rowcount;
- ds_grd_uncnfmlist.filter("");
-
- if(gdcount == 0){
- sysf_messageBox("간호확인할 처방 내역이 존재하지 않습니다", "E");
- return;
- }
-
- var chkyn = "";
-
- for(var i = 0; i < ds_grd_uncnfmlist.rowcount; i++){
- chkyn = ds_grd_uncnfmlist.getColumn(i, "chkyn");
-
- if(chkyn == "1"){
- grdf_setStatus(group2.grd_uncnfmlist,"U",i);
- }
- }
- var userid = "";
- if(ds_grd_uncnfmlist.findRow("chkyn", "1") != -1){
- frmf_clearParameter("userid");
- var monNo = sysf_getCurrentMonitorNumber();
- frmf_modal("SPMNW12000","SPMNW12000",null,"",monNo,400,400,"","","","","","M");
-
- userid = frmf_getParameter("userid");
- var userdeptcd = frmf_getParameter("userdeptcd");
-
- if( utlf_isNull(userid) ){
- sysf_messageBox("처방확인을 취소하셨습니다.", "I");
- return;
- }
- else{
- for(var i = 0; i < ds_grd_uncnfmlist.rowcount; i++){
- ds_grd_uncnfmlist.setColumn(i, "userid", userid);
- }
- }
- }
- else{
- sysf_messageBox("간호확인할 처방을 선택하여 주십시오.", "E");
- return;
- }
-
- var updateData = grdf_getGridUpdateData(group2.grd_uncnfmlist);
- grdf_setStatusColumn(updateData, "status");
- dsf_createDs("ds_send_saveprcpinfo");
- ds_send_saveprcpinfo.copyData(updateData, true);
-
- ds_send_savedata.setColumn(0, "pid", ds_main_cond.getColumn(0, "pid"));
- ds_send_savedata.setColumn(0, "indd", ds_main_cond.getColumn(0, "indd"));
- ds_send_savedata.setColumn(0, "cretno", ds_main_cond.getColumn(0, "cretno"));
- ds_send_savedata.setColumn(0, "unitflag", "");
- ds_send_savedata.setColumn(0, "actingchk", "N");
- var oParam = {};
- oParam.id = "TXMNW00301";
- oParam.service = "wardorderapp.GnrlPrcpMngt";
- oParam.method = "reqSetCarePrcpCnfm";
- oParam.inds = "saveprcpinfo=ds_send_saveprcpinfo savemediinfo=ds_temp patinfo=ds_send_savedata";
- oParam.outds = "ds_careinrmyn=careinrmyn";
- oParam.async = false;
- //oParam.callback = "cf_TXMNW00301";
- tranf_submit(oParam);
- fSearch();
- }
- //마감
- function group2_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_grd_enddruglist.filter("chkyn=='1'");
- ds_temp_enddruglist.copyData(ds_grd_enddruglist, true);
- ds_grd_enddruglist.filter("");
-
- if(ds_temp_enddruglist.rowcount == 0){
- sysf_messageBox("마감할 내역이 존재하지 않습니다", "E");
- return;
- }
- var rtn = sysf_messageBox("선택된 처방을 " +group2.rdo_duty.value + "근무로 마감하시겠습니까?", "Q");
-
- if(rtn != 6) {
- return;
- }
-
- var duty = group2.rdo_duty.value;
-
- var chkyn;
- var endListRow = 1;
- var header = "prcpdd▦prcpno▦prcphistno▦execprcpno▦instcd▦execdd▦oiflag▦duty▦execdeptcd▩";
- var data = "";
- for(var i = 0; i < ds_grd_enddruglist.rowcount; i++) {
- chkyn = ds_grd_enddruglist.getColumn(i, "chkyn");
-
- if(chkyn == "1"){
- data += utlf_transNullToEmpty(ds_grd_enddruglist.getColumn(i, "prcpdd")) + "▦"
- + utlf_transNullToEmpty(ds_grd_enddruglist.getColumn(i, "prcpno")) + "▦"
- + utlf_transNullToEmpty(ds_grd_enddruglist.getColumn(i, "prcphistno")) + "▦"
- + utlf_transNullToEmpty(ds_grd_enddruglist.getColumn(i, "execprcpno")) + "▦"
- + utlf_transNullToEmpty(ds_grd_enddruglist.getColumn(i, "instcd")) + "▦"
- + utlf_getCurrentDate() + "▦"
- + utlf_transNullToEmpty(ds_grd_enddruglist.getColumn(i, "oiflag")) + "▦"
- + utlf_transNullToEmpty(ds_main_cond.getColumn(0, "duty")) + "▦"
- + utlf_transNullToEmpty(ds_temp_cond.getColumn(0, "wardcd")) + "▩"
- }
- }
-
- dsf_setCSVToDs("ds_send_savedata_enddruglist", header+data);
- ds_send_savedata.setColumn(0, "endflag", "B12");
-
- var oParam = {};
- oParam.id = "TXMNW17201";
- oParam.service = "wardendapp.WardEnd";
- oParam.method = "reqExeActingEnd";
- oParam.inds = "req=ds_send_savedata_enddruglist flag=ds_send_savedata";
- //oParam.outds = "ds_=ret";
- oParam.async = false;
- //oParam.callback = "cf_TXMNW17201";
- tranf_submit(oParam);
- fSearch();
- }
- //투약기록
- function group2_button4_onclick(obj:Button, e:ClickEventInfo)
- {
- sysf_setModelProperty("noactflag", "Y");
- frmf_modal("SMMNR00600","SMMNR00600",null,"",1,1,1,"","","","","","M");
- sysf_setModelProperty("noactflag", "");
- fSearch();
- }
- //부서확인
- function group2_button6_onclick(obj:Button, e:ClickEventInfo)
- {
- fNarcActing("acpt");
- }
- //반남/반환신청
- function group2_button7_onclick(obj:Button, e:ClickEventInfo)
- {
- fNarcActing("rtn");
- }
- //불춘신청취소
- function group2_btn_drugcncl_onclick(obj:Button, e:ClickEventInfo)
- {
- fNarcActing("drugcncl");
- }
- //불출신청
- function group2_btn_drug_onclick(obj:Button, e:ClickEventInfo)
- {
- fNarcActing("drug");
- }
- //반환
- function group2_button9_onclick(obj:Button, e:ClickEventInfo)
- {
- //ds_send_savedata.clearData();
-
- var ordtype = "I" ; //환자진료형태(외래 O, 응급 E ,입원 I)
- var deptcd = sysf_getUserInfo("dutplcecd"); //부서코드
- var deptnm = sysf_getUserInfo("dutplcenm"); //부서명
-
- var indd = ds_main_cond.getColumn(0, "indd");
- var orddd = "-"; //진료일자
- var prcphistno = ""; //처방이력번호
- var prcpno = ""; //처방번호
- var ordindd = indd;
-
- ds_send_PrcpInfoData.clearData();
- var pid = ds_main_cond.getColumn(0, "pid");
- var cretno = ds_main_cond.getColumn(0, "cretno");
- var wardcd = ds_main_cond.getColumn(0, "wardcd");
- var roomcd = ds_main_cond.getColumn(0, "roomcd");
- var hngnm = ds_main_cond.getColumn(0, "hngnm");
- var orddrid = ds_main_cond.getColumn(0, "medispclid");
- var orddeptcd = ds_main_cond.getColumn(0, "orddeptcd");
- ds_send_FlagInfoData.setColumn(0, "savedataflag", '2');
- ds_send_FlagInfoData.setColumn(0, "saveflag", ordtype);
- ds_send_FlagInfoData.setColumn(0, "prcpflag", '1');
- ds_send_FlagInfoData.setColumn(0, "inptflag", '01');
- ds_send_FlagInfoData.setColumn(0, "pamflag", 'Y');
- ds_send_FlagInfoData.setColumn(0, "diagflag", 'N');
- ds_send_FlagInfoData.setColumn(0, "prcperrflag", 'Y');
- ds_send_FlagInfoData.setColumn(0, "deptcd", deptcd);
- ds_send_FlagInfoData.setColumn(0, "deptnm", deptnm);
- ds_send_FlagInfoData.setColumn(0, "userid", sysf_getUserId());
- ds_send_FlagInfoData.setColumn(0, "usernm", sysf_getUserName());
- ds_send_FlagInfoData.setColumn(0, "signyn", 'N');
- ds_send_FlagInfoData.setColumn(0, "xrwid", 'SPMNW17200');
-
- ds_send_RgstInfoData.setColumn(0, "pid", pid);
- ds_send_RgstInfoData.setColumn(0, "orddd", orddd);
- ds_send_RgstInfoData.setColumn(0, "indd", indd);
- ds_send_RgstInfoData.setColumn(0, "cretno", cretno);
- ds_send_RgstInfoData.setColumn(0, "orddeptcd", orddeptcd);
- ds_send_RgstInfoData.setColumn(0, "orddrid", orddrid);
- ds_send_RgstInfoData.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
- ds_send_RgstInfoData.setColumn(0, "admininfo", "NNNNNNNNNNNNNNNNNNNN");
-
- var chk;
- var clscd;
- var statcd;
- var prcpdd;
- var prcpno;
- var prcpcd;
- var prcphistno;
- var prcpnm;
- var instcd;
- var execprcpstatcd;
- var rsrvdt;
- var execprcpuniqno;
- var dutflag;
- var enddd;
- var execprcpno;
- var cvrtbfprcpgenrflag;
- var bfprcpdd =""
- var bfprcpno = "";
- var bfprcphistno = "";
- var bfinstcd = "";
- for(var i = 0; i < ds_grd_actingchklist.rowcount; i++) {
- chk = ds_grd_actingchklist.getColumn(i, "chk");
- clscd = ds_grd_actingchklist.getColumn(i,"clscd");
- statcd = ds_grd_actingchklist.getColumn(i,"statcd");
- prcpdd = ds_grd_actingchklist.getColumn(i,"prcpdd");
- prcpno = ds_grd_actingchklist.getColumn(i,"prcpno");
- prcpcd = ds_grd_actingchklist.getColumn(i,"prcpcd");
- prcphistno = ds_grd_actingchklist.getColumn(i,"prcphistno");
- prcpnm = ds_grd_actingchklist.getColumn(i,"prcpnm");
- instcd = ds_grd_actingchklist.getColumn(i,"instcd");
- execprcpstatcd = ds_grd_actingchklist.getColumn(i,"execprcpstatcd");
- rsrvdt = ds_grd_actingchklist.getColumn(i,"rsrvdt");
- execprcpuniqno = ds_grd_actingchklist.getColumn(i,"execprcpuniqno");
- dutflag = ds_grd_actingchklist.getColumn(i,"dutflag");
- enddd = ds_grd_actingchklist.getColumn(i,"enddd");
- execprcpno = ds_grd_actingchklist.getColumn(i,"execprcpno");
- cvrtbfprcpgenrflag = ds_grd_actingchklist.getColumn(i,"cvrtbfprcpgenrflag");
-
- if(chk == "1") {
- if(clscd == "B2" || clscd == "B6" || clscd =="C4" || clscd=="D2") {
- if( (cvrtbfprcpgenrflag=='-' && Number(statcd)>100) || (cvrtbfprcpgenrflag!='-' && Number(statcd)>230) ){
- sysf_messageBox("처방 " + prcpcd + "는 " + execprcpstatcd+" 상태라 반환 할 수 없습니다.", "E");
- return;
- } else {
- if(rsrvdt == "Y") {
- sysf_messageBox("예약된 처방 " + prcpcd + "는 반환 할 수 없습니다.");
- return;
- }
-
- }
- } else if(clscd == "C2" || clscd == "C6" || clscd == "E2" || clscd == "F2" || clscd=="G2") {
- if( (cvrtbfprcpgenrflag=='-' && Number(statcd)>100) || (cvrtbfprcpgenrflag!='-' && Number(statcd)>230) ){
- sysf_messageBox("처방 " + prcpcd + "는 " + execprcpstatcd+" 상태라 반환 할 수 없습니다.", "E");
- return;
- }
- }
-
- if((enddd.substr(0,8) != '99991231') && (enddd != '')){
- ds_endinfo_result.setColumn(0, "prcpdd", prcpdd)
- ds_endinfo_result.setColumn(0, "prcpno", prcpno);
- ds_endinfo_result.setColumn(0, "prcphistno", prcphistno);
- ds_endinfo_result.setColumn(0, "execprcpno", execprcpno);
- ds_endinfo_result.setColumn(0, "instcd", instcd);
- ds_endinfo_result.setColumn(0, "ioflag", "I");
- ds_endinfo_result.setColumn(0, "userid", sysf_getUserId());
- ds_endinfo_result.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
- }
-
- if((bfprcpdd != prcpdd) || (bfprcpno != prcpno) || (bfprcphistno != prcphistno) || (bfinstcd != instcd)) {
- ds_send_PrcpInfoData.addRow();
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "status", "C");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "rowno", i);
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "prcpdd", prcpdd);
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "prcpno", prcpno);
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "prcphistno", prcphistno);
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "instcd", instcd);
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "pid", pid);
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "orddd", indd);
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "cretno", cretno);
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "orddeptcd", orddeptcd);
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "orddrid", orddrid);
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "prcpgenrflag", "I");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "prcpstatcd", statcd);
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "prcpkindcd", "20");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "prcpcd", "");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "calcscorcd", "");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "inclprcpcd", "-");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "inclprcpno", "0");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "prcpexecdeptcd", "-");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "prcphopedd", "");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "prcpqty", "");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "prcpqtyunitflag", "-");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "prcptims", "1");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "prcpdayno", "1");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "payflagcd", "");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "erprcpflag", "N");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "precureprcpflag", "N");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "nigtprcpflag", "N");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "portprcpflag", "N");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "fixprcpflag", "N");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "choiordflag", "N");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "anamneflag", "N");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "prcpdirecflag", "-");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "angioflagcd", "-");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "opansflagcd", "-");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "ansttm", "0000");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "offictourhealexamflag", "N");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "stemcellflag", "00NNN");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "hosinhosoutflag", "-");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "hosinprcpresncd", "00");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "issdeptcd", deptcd);
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "prcpauthflag", "1");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "prcpinptflag", "09");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "prcpsignflag", "1");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "oprsrvno", "-");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "clincstdyflag", "N");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "clincstdycd", "-");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "drugmthdspccd", "-");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "prcpdelivefact", "");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "tootfact", "-");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "matrsetprcpspec", "-");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "calcflag", "N");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "rsrvflag", "N");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "rsrvdd", "00000000");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "rsrvtm", "000000");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "rsrvrid", "-");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "execdd", "00000000");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "exectm", "000000");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "execrid", "");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "direcprcplnkdd", "00000000");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "direcprcplnkno", '0');
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "ordreqlnkno", '0');
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "testreqlnkno", '0');
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "aftcertflag", "Y");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "aftcertdrid", "-");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "dcflag", "Y");
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "execprcpuniqno", execprcpuniqno);
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "rsrvflag", rsrvdt);
- ds_send_PrcpInfoData.setColumn(ds_send_PrcpInfoData.rowcount - 1, "prcpclscd", clscd);
-
- bfprcpdd = prcpdd;
- bfprcpno = prcpno;
- bfprcphistno = prcphistno;
- bfinstcd = instcd;
- }
- }
- }
-
- if ( utlf_isNull(ds_send_PrcpInfoData.getColumn(0, "status")) ) {
- sysf_messageBox("반납할 처방내역이", "I004");
- return;
- }
-
- if(ds_endinfo_result.rowcount > 0){
- var objArg = new Object();
- objArg.arg_ds_endinfo_result_list = ds_endinfo_result;
- frmf_modal("SPPAS03000", "SPPAS03000", objArg, null, null, null, null, null, null, null, null, null, "M");
- }
- var rtn = sysf_messageBox("반환하시겠습니까?", "Q");
- if(rtn == "6"){
- ds_result_prcperrlist.clearData();
-
- var oParam = {};
- oParam.id = "TXMNW00305";
- oParam.service = "wardorderapp.GnrlPrcpMngt";
- oParam.method = "reqRtnPRNPrcp";
- oParam.inds = "req_flaginfo=ds_send_FlagInfoData req_rgstinfo=ds_send_RgstInfoData req_prcpinfo=ds_send_PrcpInfoData req_signinfo=ds_send_SignInfoData savemediinfo=ds_endinfo_result";
- oParam.outds = "ds_result_prcperrlist=prcperrlist";
- oParam.async = false;
- oParam.callback = "cf_TXMNW00305";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TXMNW00305") > -1){
- if(ds_result_prcperrlist.rowcount > 0){
- var prcpcd = ds_result_prcperrlist.getColumn(0, "prcpcd");
- if(!utlf_isNull(prcpcd)){
- var mon = sysf_getCurrentMonitorNumber();
- var xpt = this.getOwnerFrame().position.x + 100;
- var ypt = this.getOwnerFrame().position.y + 50;
-
- var objArg = new Object();
- objArg.arg_ds_result_prcperrlist = ds_result_prcperrlist;
- frmf_open("SPMMO00600", "SPMMO00600", objArg, false, mon, xpt, ypt, null, null, null, null, null, "M"); //오류팝업
- //ds_result_prcperrlist.clearData();
- }
- }else{
- sysf_messageBox("처방이 반환 되었습니다.", "I");
- fSearch();
- }
- }
- }
- }
- function group2_button10_onclick(obj:Button, e:ClickEventInfo)
- {
- var updtdata = grdf_getGridUpdateData(group2.grd_execddchklist);
-
- if(updtdata.rowcount == 0){
- sysf_messageBox("변경된 내역이 존재하지 않습니다.", "E");
- return;
- }
-
- var oParam = {};
- oParam.id = "TXMNW17203";
- oParam.service = "wardcareapp.WardCareMngt";
- oParam.method = "reqExeChgActingInfo";
- oParam.inds = "req=ds_grd_execddchklist:U";
- oParam.outds = "";
- oParam.async = false;
- //oParam.callback = "cf_TXMNW17203";
- tranf_submit(oParam);
-
- fSearch();
- }
- function group2_grd_execddchklist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- if (obj.currentcol == obj.getBindCellIndex("body","execdd")){
- var iRow = obj.currentrow;
- ds_grd_execddchklist.setColumn(iRow, "execdd", utlf_getCurrentDate());
- ds_grd_execddchklist.setColumn(iRow, "exectm", utlf_getCurrentTime().substr(0,4));
- }
-
- var chkyn;
- var prcpdd;
- var prcpno;
-
- if (obj.currentcol == obj.getBindCellIndex("body","chkyn")){
- var iRow = obj.currentrow;
-
- prcpdd = ds_grd_execddchklist.getColumn(iRow, "prcpdd");
- prcpno = ds_grd_execddchklist.getColumn(iRow, "prcpno");
- chkyn = ds_grd_execddchklist.getColumn(iRow, "chkyn");
-
- var prcpdd2;
- var prcpno2;
-
- for(var i = 0; i < ds_grd_execddchklist.rowcount; i++){
- if(i == iRow){
- continue;
- }
-
- prcpdd2 = ds_grd_execddchklist.getColumn(i, "prcpdd");
- prcpno2 = ds_grd_execddchklist.getColumn(i, "prcpno");
-
- if(prcpdd == prcpdd2 && prcpno == prcpno2){
- chkyn = ds_grd_execddchklist.getColumn(i, "chkyn");
- }
- }
- }
- }
- function group2_btn_homecare_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SMMNF04300","SMMNF04300",null,"","","","","","","","","","M")
- }
- function group2_button8_onclick(obj:Button, e:ClickEventInfo)
- {
- var SMMNR010_Param = "OPRC2";
- frmf_setParameter("SMMNR010_Param", SMMNR010_Param);
- frmf_setParameter("SMMNR010_Param2", ds_main_cond.getColumn(0, "indd"));
-
- if(ds_main_cond.getColumn(0, "indd") != ""){
- frmf_modal("SMMNR01000","SMMNR01000",null,"","","","","","","","","","M");
- fSearch();
- }else{
- sysf_messageBox("환자를", "C002");
- return;
- }
- }
- function group2_btn_req_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_grd_execddchklist.filter("chkyn =='Y'");
- ds_temp_execddchklist.copyData(ds_grd_execddchklist, true);
- ds_grd_execddchklist.filter("");
-
- if(ds_temp_execddchklist.rowcount == 0){
- sysf_messageBox("선택된 처방이 없습니다.", "E");
- return;
- }
- group2.group3.visible = true;
- }
- function group2_btn_cert_onclick(obj:Button, e:ClickEventInfo)
- {
- var chkcnt = 0;
- var dccnt = 0;
-
- var chkyn = "";
- var dcyn = "";
- var reqflag = "";
-
- for(var i = 0; i < ds_grd_execddchklist.rowcount; i++){
- chkyn = ds_grd_execddchklist.getColumn(i, "chkyn");
- dcyn = ds_grd_execddchklist.getColumn(i, "dcyn");
- reqflag = ds_grd_execddchklist.getColumn(i, "reqflag");
-
- if(chkyn == "1"){
- if(dcyn == "N" || dcyn == ""){
- sysf_messageBox("D/C난 처방만 처방복구승인이 가능합니다.", "E");
- return;
- }else{
- chkcnt ++;
- ds_grd_execddchklist.setColumn(i, "reqflag", "2");
- }
-
- if(reqflag == ""){
- sysf_messageBox("처방 복구신청 되지 않은 처방은 승인할 수 없습니다.", "E");
- return;
- } else if(reqflag == "2") {
- sysf_messageBox("이미 복구된 처방입니다.", "E");
- return;
- }
- }
- }
-
- if(chkcnt > 0){
- var rtn = sysf_messageBox("승인하시겠습니까?", "Q");
-
- if(rtn == "6"){
- ds_send_warddruglist.copyData(ds_grd_execddchklist);
- ds_send_saveinfo.setColumn(0, "chngflag", "N");
-
- var oParam = {};
- oParam.id = "TXMNR00601";
- oParam.service = "caremedirecapp.CareMediRec";
- oParam.method = "reqExeRollBackPrcpInfo";
- oParam.inds = "warddruglist=ds_send_warddruglist req=ds_send_saveinfo";
- oParam.outds = "";
- oParam.async = false;
- //oParam.callback = "cf_TXMNR00601";
- tranf_submit(oParam);
-
- fSearch();
- }
- }
- else{
- sysf_messageBox("복구승인할 처방이 존재하지 않습니다.","E");
- return;
- }
-
- }
- function group2_group3_button11_onclick(obj:Button, e:ClickEventInfo)
- {
- var chkcnt = 0;
- var dccnt = 0;
-
- var chkyn = "";
- var dcyn = "";
- var reqflag = "";
-
- for(var i = 0; ds_grd_execddchklist.rowcount; i++){
- chkyn = ds_grd_execddchklist.getColumn(i, "chkyn");
- dcyn = ds_grd_execddchklist.getColumn(i, "dcyn");
- reqflag = ds_grd_execddchklist.getColumn(i, "reqflag");
-
- if(chkyn == "1"){
- if(dcyn == "N" || dcyn == ""){
- sysf_messageBox("D/C난 처방만 처방복구신청이 가능합니다.", "E");
- return;
- }else{
- chkcnt ++;
- ds_grd_execddchklist.setColumn(i, "reqflag", "1");
- ds_grd_execddchklist.setColumn(i, "resncd", group2.group3.cmb_resncd.value);
- ds_grd_execddchklist.setColumn(i, "resnetc", group2.group3.tar_resnetc.value);
- }
- }
-
- if(reqflag == "1"){
- sysf_messageBox("이미 복구신청된 처방입니다", "E");
- return;
- } else if(reqflag == "2") {
- sysf_messageBox("이미 복구승인된 처방입니다", "E");
- return;
- }
- }
-
- if(chkcnt > 0){
- var rtn = sysf_messageBox("처방복구 신청을 하시겠습니까?", "Q");
-
- if(rtn == "6"){
- ds_send_warddruglist.copyData(ds_grd_execddchklist);
- ds_send_saveinfo.setColumn(0, "chngflag", "Y");
- ds_send_saveinfo.setColumn(0, "flag", "");
-
- var oParam = {};
- oParam.id = "TXMNR00601";
- oParam.service = "caremedirecapp.CareMediRec";
- oParam.method = "reqExeRollBackPrcpInfo";
- oParam.inds = "warddruglist=ds_send_warddruglist req=ds_send_saveinfo";
- oParam.outds = "";
- oParam.async = false;
- //oParam.callback = "cf_TXMNR00601";
- tranf_submit(oParam);
- }
- }else{
- sysf_messageBox("복구신청할 처방이 존재하지 않습니다.","E");
- return;
- }
- }
- function group2_group3_button12_onclick(obj:Button, e:ClickEventInfo)
- {
- group2.group3.visible = false;
- }
- function group2_btn_barcd_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_open("SMLLC00200","SMLLC00200","", 1, 50, 50,"","", "", "", "", "", "M");
- }
- function group2_btn_mon_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_setParameter("PARAM1", "Y");
- frmf_open("SMMNW10960","SMMNW10960","", 1, 50, 50,"","", "", "", "", "", "M");
- }
- function group2_button13_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_open("SMADT30400","SMADT30400","", 1, 50, 50,"","", "", "", "", "", "M");
- }
- ]]></Script>
- </Form>
- </FDL>
|