1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMMO02500" position="absolute 0 0 1194 801" titletext="환자진료정보" oninit="SMMMO02500_oninit" onload="SMMMO02500_onload">
- <Layouts>
- <Layout>
- <Tab position="absolute 0 146 1194 784" id="switch1" onchanged="switch1_onchanged" anchor="all" tabindex="0">
- <Tabpages>
- <Tabpage text="수 진" id="case1">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 0 1194 122" id="grd_patchosinfo" binddataset="ds_srchinfo_patchosinfolist" oncelldblclick="switch1_case1_grd_patchosinfo_oncelldblclick" cellsizingtype="col" onrbuttondown="switch1_case1_grd_patchosinfo_onrbuttondown" anchor="left top right" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="60"/>
- <Column size="120"/>
- <Column size="80"/>
- <Column size="81"/>
- <Column size="100"/>
- <Column size="81"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="30"/>
- <Column size="65"/>
- <Column size="70"/>
- <Column size="60"/>
- <Column size="70"/>
- <Column size="425"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="진료구분"/>
- <Cell col="1" text="내원일시"/>
- <Cell col="2" text="퇴원일자"/>
- <Cell col="3" text="센터"/>
- <Cell col="4" text="진료과"/>
- <Cell col="5" text="세부과"/>
- <Cell col="6" text="진료의"/>
- <Cell col="7" text="예약구분"/>
- <Cell col="8" text="이지"/>
- <Cell col="9" text="보험유형"/>
- <Cell col="10" text="보조유형"/>
- <Cell col="11" text="특례기호"/>
- <Cell col="12" text="진단코드"/>
- <Cell col="13" text="진단명"/>
- </Band>
- <Band id="body">
- <Cell displaytype="combo" edittype="none" style="align:center;" text="bind:ordtype" combodataset="ds_ordtype" combocodecol="value" combodatacol="label"/>
- <Cell col="1" text="bind:ordddtm" mask="####-##-## ##:##"/>
- <Cell col="2" text="bind:dschdd" mask="expr:(utlf_isNull(dschdd) || (dschdd == "재원중")) ? "" : "####-##-##""/>
- <Cell col="3" text="bind:centcd"/>
- <Cell col="4" text="bind:depthngnm"/>
- <Cell col="5" text="bind:subdeptcd"/>
- <Cell col="6" text="bind:orddrnm"/>
- <Cell col="7" displaytype="combo" edittype="combo" style="align:center;" text="bind:rsrvflag" combodataset="ds_P0341" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="8" text="bind:ezpassyn"/>
- <Cell col="9" text="bind:insukindnm"/>
- <Cell col="10" text="bind:suppkindnm"/>
- <Cell col="11" text="bind:spclcd"/>
- <Cell col="12" text="bind:icd10cd"/>
- <Cell col="13" displaytype="text" text="bind:diagnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 0 244 107 611" id="grd_prcpdd" binddataset="ds_bfprcpday" oncelldblclick="switch1_case1_grd_prcpdd_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="107"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="처방적용일자"/>
- </Band>
- <Band id="body">
- <Cell text="bind:prcpdd" mask="####-##-##"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <CheckBox position="absolute 145 223 247 243" id="bool1" text="D/C원처방포함" falsevalue="N" truevalue="Y" onclick="switch1_case1_bool1_onclick"/>
- <Grid position="absolute 109 244 1194 611" id="grd_bfprcplist" binddataset="ds_bfprcp_prcplist" cellsizingtype="col" oncelldblclick="switch1_case1_grd_bfprcplist_oncelldblclick" onrbuttondown="switch1_case1_grd_bfprcplist_onrbuttondown" selecttype="multirow" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0" band="left"/>
- <Column size="55" band="left"/>
- <Column size="72" band="left"/>
- <Column size="67" band="left"/>
- <Column size="52" band="left"/>
- <Column size="52" band="left"/>
- <Column size="75" band="left"/>
- <Column size="86" band="left"/>
- <Column size="251" band="left"/>
- <Column size="0"/>
- <Column size="37"/>
- <Column size="37"/>
- <Column size="27"/>
- <Column size="37"/>
- <Column size="37"/>
- <Column size="27"/>
- <Column size="37"/>
- <Column size="36"/>
- <Column size="227"/>
- <Column size="250"/>
- <Column size="30"/>
- <Column size="43"/>
- <Column size="0"/>
- <Column size="160"/>
- <Column size="120"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="54"/>
- <Column size="120"/>
- <Column size="120"/>
- <Column size="75"/>
- <Column size="102"/>
- <Column size="100"/>
- <Column size="104"/>
- <Column size="100"/>
- <Column size="102"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="64"/>
- <Column size="74"/>
- <Column size="90"/>
- <Column size="60"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="90"/>
- <Column size="100"/>
- </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="DC"/>
- <Cell col="5" text="원내/외"/>
- <Cell col="6" text="분류"/>
- <Cell col="7" text="처방코드"/>
- <Cell col="8" text="처방명"/>
- <Cell col="9" text="처방 한글명"/>
- <Cell col="10" colspan="3" text="1회 용량" taborder="undefined"/>
- <Cell col="13" colspan="3" text="1회 수량" taborder="undefined"/>
- <Cell col="16" text="횟수"/>
- <Cell col="17" text="일수"/>
- <Cell col="18" text="용법/검체"/>
- <Cell col="19" text="처방내역"/>
- <Cell col="20" text="MIX"/>
- <Cell col="21" text="급비"/>
- <Cell col="22" text="응급"/>
- <Cell col="23" text="전달사항"/>
- <Cell col="24" text="처방사유"/>
- <Cell col="25" text="처방의id"/>
- <Cell col="26" text="처방자"/>
- <Cell col="27" text="처방이동"/>
- <Cell col="28" text="치식정보"/>
- <Cell col="29" text="처방저장일시"/>
- <Cell col="30" text="희망일"/>
- <Cell col="31" text="예약일"/>
- <Cell col="32" text="시행부서"/>
- <Cell col="33" text="실시부서"/>
- <Cell col="34" text="실시일시"/>
- <Cell col="35" text="실시검사실"/>
- <Cell col="36" text="PRN실시회수"/>
- <Cell col="37" text="입력자"/>
- <Cell col="38" text="발행부서"/>
- <Cell col="39" text="선택진료"/>
- <Cell col="40" text="선택진료의"/>
- <Cell col="41" text="DC부서"/>
- <Cell col="42" text="DC유저"/>
- <Cell col="43" text="DC일시"/>
- <Cell col="44" text="검사(수술)부서"/>
- <Cell col="45" text="검사(수술)의사"/>
- <Cell col="46" text="검사실정보"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:status" expr="expr:(status == "I" || status == 1) ? 1 : 0"/>
- <Cell col="1" displaytype="combo" edittype="none" style="align:center;background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcpstatcd" combodataset="ds_M0011" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="2" displaytype="combo" edittype="none" style="align:center;background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcpkindcd" combodataset="ds_M0003" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="3" displaytype="normal" edittype="none" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcpclsdesc"/>
- <Cell col="4" displaytype="combo" edittype="none" style="align:center;background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcphistcd" combodataset="ds_prcphistcd" combocodecol="value" combodatacol="label"/>
- <Cell col="5" displaytype="combo" edittype="none" style="align:center;background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:hosinhosoutflag" combodataset="ds_hosinhosoutflag" combocodecol="value" combodatacol="label"/>
- <Cell col="6" displaytype="combo" edittype="none" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcpclscd" combodataset="ds_M0005" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="7" displaytype="text" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcpcd"/>
- <Cell col="8" displaytype="text" style="align:left;background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcpnm"/>
- <Cell col="9" displaytype="text" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcphngnm"/>
- <Cell col="10" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcpvol"/>
- <Cell col="11" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:drprcpetc7"/>
- <Cell col="12" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcpvolunitnm"/>
- <Cell col="13" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcpqty"/>
- <Cell col="14" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:drprcpetc8"/>
- <Cell col="15" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcpqtyunitnm"/>
- <Cell col="16" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcptims"/>
- <Cell col="17" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcpdayno"/>
- <Cell col="18" displaytype="text" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:drugmthdspccdnm"/>
- <Cell col="19" displaytype="text" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:tempcol7"/>
- <Cell col="20" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcpmixno"/>
- <Cell col="21" displaytype="combo" edittype="none" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10, insuupdtyn));color2:EXPR(setPrcpColor("fontcolor", tempcol10, insuupdtyn));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:payflagcd" combodataset="ds_M0029" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="22" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:erprcpflag"/>
- <Cell col="23" displaytype="text" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcpdelivefact"/>
- <Cell col="24" displaytype="text" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcprsn"/>
- <Cell col="25" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcpdrid"/>
- <Cell col="26" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcpdrnm"/>
- <Cell col="27" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:cvrtbfprcp"/>
- <Cell col="28" displaytype="text" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:tootfact"/>
- <Cell col="29" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:fstrgstdt" mask="expr:utlf_isNull(fstrgstdt) ? "" : "####-##-## ##:##:##""/>
- <Cell col="30" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcphopedd" mask="expr:utlf_isNull(prcphopedd) ? "" : "####-##-##""/>
- <Cell col="31" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:rsrvdt" mask="expr:utlf_isNull(rsrvdt) ? "" : "####-##-## ##:##""/>
- <Cell col="32" displaytype="text" text="bind:prcpexecdeptnm"/>
- <Cell col="33" displaytype="text" edittype="none" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:execdeptnm"/>
- <Cell col="34" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:execdt" mask="expr:utlf_isNull(execdt) ? "" : "####-##-## ##:##""/>
- <Cell col="35" displaytype="text" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:execgoto"/>
- <Cell col="36" displaytype="text" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prncc"/>
- <Cell col="37" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcpinptnm"/>
- <Cell col="38" displaytype="text" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:issdeptnm"/>
- <Cell col="39" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:choiordflag"/>
- <Cell col="40" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:specdrnm"/>
- <Cell col="41" style="align:center middle;background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));" text="bind:updtdeptnm"/>
- <Cell col="42" style="align:center middle;background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));" text="bind:updtrnm"/>
- <Cell col="43" style="align:center middle;background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));" text="bind:updtdt" mask="expr:utlf_isNull(updtdt) ? "" : "####-##-## ##:##""/>
- <Cell col="44" text="bind:drprcpetc13nm"/>
- <Cell col="45" text="bind:drprcpetc14nm"/>
- <Cell col="46" text="bind:acptrem" tooltiptype="none"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="참고사항" position="absolute 0 126 155 146" id="caption25" class="tit_2"/>
- <TextArea position="absolute 144 145 1194 220" id="textarea2" anchor="left top right"/>
- <Static text="진단서 사본발행 진료의뢰 중증/희귀난치 등록내역 입원의뢰서" position="absolute 0 145 144 220" id="caption26" class="cell_1" style="linespace:1;"/>
- <CheckBox position="absolute 259 223 353 243" id="bool4" text="수술처방포함" falsevalue="N" truevalue="Y" onclick="switch1_case1_bool4_onclick"/>
- <CheckBox position="absolute 360 223 446 243" id="bool6" falsevalue="N" text="한글명 보기" truevalue="Y" onclick="switch1_case1_bool6_onclick"/>
- <Button id="btn_setscrn" taborder="1" text="컬럼설정" class="btn2" position="absolute 1130 223 1194 243" onclick="switch1_case1_btn_setscrn_onclick"/>
- <Button id="caption22" taborder="2" text="수진기간중 처방이력" position="absolute 0 225 143 245" class="tit_2" ondblclick="switch1_case1_caption22_ondblclick"/>
- <Button id="btn_excel" taborder="3" text="Excel" onclick="btn_excel_onclick" class="btn7" position="absolute 1064 223 1128 243" anchor="top right"/>
- <Grid id="grd_bfprcplist_excel" taborder="4" binddataset="ds_bfprcp_prcplist" useinputpanel="false" selecttype="multirow" cellsizingtype="col" onrbuttondown="switch1_case1_grd_bfprcplist_onrbuttondown" oncelldblclick="switch1_case1_grd_bfprcplist_oncelldblclick" position="absolute 825 459 1001 591" anchor="all" visible="false">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0" band="left"/>
- <Column size="55" band="left"/>
- <Column size="72" band="left"/>
- <Column size="67" band="left"/>
- <Column size="52" band="left"/>
- <Column size="52" band="left"/>
- <Column size="75" band="left"/>
- <Column size="86" band="left"/>
- <Column size="251" band="left"/>
- <Column size="0"/>
- <Column size="37"/>
- <Column size="37"/>
- <Column size="27"/>
- <Column size="37"/>
- <Column size="37"/>
- <Column size="27"/>
- <Column size="37"/>
- <Column size="36"/>
- <Column size="227"/>
- <Column size="250"/>
- <Column size="30"/>
- <Column size="43"/>
- <Column size="0"/>
- <Column size="160"/>
- <Column size="120"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="54"/>
- <Column size="120"/>
- <Column size="120"/>
- <Column size="75"/>
- <Column size="102"/>
- <Column size="100"/>
- <Column size="104"/>
- <Column size="100"/>
- <Column size="102"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="64"/>
- <Column size="74"/>
- <Column size="90"/>
- <Column size="60"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="90"/>
- </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="DC"/>
- <Cell col="5" text="원내/외"/>
- <Cell col="6" text="분류"/>
- <Cell col="7" text="처방코드"/>
- <Cell col="8" text="처방명"/>
- <Cell col="9" text="처방 한글명"/>
- <Cell col="10" colspan="3" text="1회 용량" taborder="undefined"/>
- <Cell col="13" colspan="3" text="1회 수량" taborder="undefined"/>
- <Cell col="16" text="횟수"/>
- <Cell col="17" text="일수"/>
- <Cell col="18" text="용법/검체"/>
- <Cell col="19" text="처방내역"/>
- <Cell col="20" text="MIX"/>
- <Cell col="21" text="급비"/>
- <Cell col="22" text="응급"/>
- <Cell col="23" text="전달사항"/>
- <Cell col="24" text="처방사유"/>
- <Cell col="25" text="처방의id"/>
- <Cell col="26" text="처방자"/>
- <Cell col="27" text="처방이동"/>
- <Cell col="28" text="치식정보"/>
- <Cell col="29" text="처방저장일시"/>
- <Cell col="30" text="희망일"/>
- <Cell col="31" text="예약일"/>
- <Cell col="32" text="시행부서"/>
- <Cell col="33" text="실시부서"/>
- <Cell col="34" text="실시일시"/>
- <Cell col="35" text="실시검사실"/>
- <Cell col="36" text="PRN실시회수"/>
- <Cell col="37" text="입력자"/>
- <Cell col="38" text="발행부서"/>
- <Cell col="39" text="선택진료"/>
- <Cell col="40" text="선택진료의"/>
- <Cell col="41" text="DC부서"/>
- <Cell col="42" text="DC유저"/>
- <Cell col="43" text="DC일시"/>
- <Cell col="44" text="검사(수술)부서"/>
- <Cell col="45" text="검사(수술)의사"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:status" expr="expr:(status == "I" || status == 1) ? 1 : 0"/>
- <Cell col="1" displaytype="combo" edittype="none" style="align:center;background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcpstatcd" combodataset="ds_M0011" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="2" displaytype="combo" edittype="none" style="align:center;background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcpkindcd" combodataset="ds_M0003" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="3" displaytype="normal" edittype="none" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcpclsdesc"/>
- <Cell col="4" displaytype="combo" edittype="none" style="align:center;background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcphistcd" combodataset="ds_prcphistcd" combocodecol="value" combodatacol="label"/>
- <Cell col="5" displaytype="combo" edittype="none" style="align:center;background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:hosinhosoutflag" combodataset="ds_hosinhosoutflag" combocodecol="value" combodatacol="label"/>
- <Cell col="6" displaytype="combo" edittype="none" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcpclscd" combodataset="ds_M0005" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="7" displaytype="text" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcpcd"/>
- <Cell col="8" displaytype="text" style="align:left;background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcpnm"/>
- <Cell col="9" displaytype="text" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcphngnm"/>
- <Cell col="10" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcpvol"/>
- <Cell col="11" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:drprcpetc7"/>
- <Cell col="12" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcpvolunitnm"/>
- <Cell col="13" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcpqty"/>
- <Cell col="14" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:drprcpetc8"/>
- <Cell col="15" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcpqtyunitnm"/>
- <Cell col="16" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcptims"/>
- <Cell col="17" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcpdayno"/>
- <Cell col="18" displaytype="text" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:drugmthdspccdnm"/>
- <Cell col="19" displaytype="text" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:tempcol7"/>
- <Cell col="20" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcpmixno"/>
- <Cell col="21" displaytype="combo" edittype="none" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10, insuupdtyn));color2:EXPR(setPrcpColor("fontcolor", tempcol10, insuupdtyn));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:payflagcd" combodataset="ds_M0029" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="22" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:erprcpflag"/>
- <Cell col="23" displaytype="text" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcpdelivefact"/>
- <Cell col="24" displaytype="text" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcprsn"/>
- <Cell col="25" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcpdrid"/>
- <Cell col="26" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcpdrnm"/>
- <Cell col="27" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:cvrtbfprcp"/>
- <Cell col="28" displaytype="text" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:tootfact"/>
- <Cell col="29" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:fstrgstdt" mask="expr:utlf_isNull(fstrgstdt) ? "" : "####-##-## ##:##:##""/>
- <Cell col="30" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcphopedd" mask="expr:utlf_isNull(prcphopedd) ? "" : "####-##-##""/>
- <Cell col="31" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:rsrvdt" mask="expr:utlf_isNull(rsrvdt) ? "" : "####-##-## ##:##""/>
- <Cell col="32" displaytype="text" text="bind:prcpexecdeptnm"/>
- <Cell col="33" displaytype="text" edittype="none" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:execdeptnm"/>
- <Cell col="34" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:execdt" mask="expr:utlf_isNull(execdt) ? "" : "####-##-## ##:##""/>
- <Cell col="35" displaytype="text" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:execgoto"/>
- <Cell col="36" displaytype="text" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prncc"/>
- <Cell col="37" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:prcpinptnm"/>
- <Cell col="38" displaytype="text" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:issdeptnm"/>
- <Cell col="39" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:choiordflag"/>
- <Cell col="40" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));" text="bind:specdrnm"/>
- <Cell col="41" style="align:center middle;background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));" text="bind:updtdeptnm"/>
- <Cell col="42" style="align:center middle;background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));" text="bind:updtrnm"/>
- <Cell col="43" style="align:center middle;background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));" text="bind:updtdt" mask="expr:utlf_isNull(updtdt) ? "" : "####-##-## ##:##""/>
- <Cell col="44" text="bind:drprcpetc13nm"/>
- <Cell col="45" text="bind:drprcpetc14nm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="수 술" id="case2">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 0 1194 246" align="align:center middle;" id="grd_opanstschelist" taborder="12" binddataset="ds_main_patophistlist" oncelldblclick="switch1_case2_grd_opanstschelist_oncelldblclick" anchor="left top right">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="67"/>
- <Column size="70"/>
- <Column size="120"/>
- <Column size="70"/>
- <Column size="93"/>
- <Column size="96"/>
- <Column size="100"/>
- <Column size="61"/>
- <Column size="88"/>
- <Column size="88"/>
- <Column size="126"/>
- <Column size="128"/>
- <Column size="130"/>
- <Column size="84"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="levl"/>
- <Cell col="1" text="수술구분"/>
- <Cell col="2" text="환자구분"/>
- <Cell col="3" text="수술일시"/>
- <Cell col="4" text="소요시간"/>
- <Cell col="5" text="진료과"/>
- <Cell col="6" text="집도과"/>
- <Cell col="7" text="집도의"/>
- <Cell col="8" text="병실"/>
- <Cell col="9" text="입원일"/>
- <Cell col="10" text="퇴원일"/>
- <Cell col="11" text="진단명"/>
- <Cell col="12" text="수술명"/>
- <Cell col="13" text="마취의"/>
- <Cell col="14" text="마취방법"/>
- </Band>
- <Band id="body">
- <Cell text="bind:levl"/>
- <Cell col="1" displaytype="combo" edittype="none" style="align:center middle;" text="bind:opflagcd" combodataset="ds_M0013" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="2" displaytype="combo" edittype="none" style="align:center middle;" text="bind:oppatflagcd" combodataset="ds_M0020" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="3" text="bind:patinroomdt" mask="####-##-## ##:##"/>
- <Cell col="4" text="bind:opusetm" mask="##:##"/>
- <Cell col="5" displaytype="combo" edittype="none" style="align:center middle;" text="bind:orddeptcd" combodataset="ds_orddept" combocodecol="deptcd" combodatacol="depthngnm"/>
- <Cell col="6" displaytype="combo" edittype="none" style="align:center middle;" text="bind:perfdeptcd" combodataset="ds_orddept" combocodecol="deptcd" combodatacol="depthngnm"/>
- <Cell col="7" text="bind:perfdrnm"/>
- <Cell col="8" text="bind:roomcd"/>
- <Cell col="9" text="bind:indd" mask="####-##-##"/>
- <Cell col="10" text="bind:dschdd" mask="expr:utlf_isNull(dschdd) ? "" : dschdd.toString().length == 8 ? "####-##-##" : """/>
- <Cell col="11" displaytype="text" text="bind:diagnm"/>
- <Cell col="12" text="bind:opnm"/>
- <Cell col="13" text="bind:anstdr"/>
- <Cell col="14" displaytype="combo" edittype="none" text="bind:anstmthdcd" combodataset="ds_M0017" combocodecol="cdid" combodatacol="cdnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <CheckBox position="absolute 145 247 247 267" id="bool2" text="D/C원처방포함" falsevalue="N" truevalue="Y" onclick="switch1_case2_bool2_onclick"/>
- <Grid position="absolute 0 268 1194 611" id="grd_bfopprcplist" binddataset="ds_bfprcp_prcplist" oncelldblclick="switch1_case1_grd_bfprcplist_oncelldblclick" cellsizingtype="col" selecttype="multirow" cellmovingtype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="55"/>
- <Column size="72"/>
- <Column size="67"/>
- <Column size="52"/>
- <Column size="52"/>
- <Column size="75"/>
- <Column size="86"/>
- <Column size="251"/>
- <Column size="37"/>
- <Column size="27"/>
- <Column size="37"/>
- <Column size="27"/>
- <Column size="37"/>
- <Column size="36"/>
- <Column size="227"/>
- <Column size="30"/>
- <Column size="43"/>
- <Column size="0"/>
- <Column size="160"/>
- <Column size="88"/>
- <Column size="75"/>
- <Column size="104"/>
- <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="DC"/>
- <Cell col="5" text="원내/외"/>
- <Cell col="6" text="분류"/>
- <Cell col="7" text="처방코드"/>
- <Cell col="8" text="처방명"/>
- <Cell col="9" colspan="2" text="총용량" taborder="undefined"/>
- <Cell col="11" colspan="2" text="수량" taborder="undefined"/>
- <Cell col="13" text="횟수"/>
- <Cell col="14" text="일수"/>
- <Cell col="15" text="용법/검체"/>
- <Cell col="16" text="MIX"/>
- <Cell col="17" text="급비"/>
- <Cell col="18" text="응급"/>
- <Cell col="19" text="전달사항"/>
- <Cell col="20" text="처방일시"/>
- <Cell col="21" text="희망일"/>
- <Cell col="22" text="수행부서"/>
- <Cell col="23" text="수행일시"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:status" expr="expr:(status == "I" || status == 1) ? 1 : 0"/>
- <Cell col="1" displaytype="combo" edittype="none" style="align:center middle;" text="bind:prcpstatcd" combodataset="ds_M0011" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="2" displaytype="combo" edittype="none" style="align:center middle;" text="bind:prcpkindcd" combodataset="ds_M0003" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="3" displaytype="text" edittype="none" text="bind:prcpclsdesc"/>
- <Cell col="4" displaytype="combo" edittype="none" style="align:center middle;" text="bind:prcphistcd" combodataset="ds_prcphistcd" combocodecol="value" combodatacol="label"/>
- <Cell col="5" displaytype="combo" edittype="none" style="align:center middle;" text="bind:hosinhosoutflag" combodataset="ds_hosinhosoutflag" combocodecol="value" combodatacol="label"/>
- <Cell col="6" displaytype="combo" edittype="none" text="bind:prcpclscd" combodataset="ds_M0005" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="7" displaytype="text" text="bind:prcpcd"/>
- <Cell col="8" displaytype="text" text="bind:prcpnm"/>
- <Cell col="9" text="bind:prcpvol"/>
- <Cell col="10" text="bind:prcpvolunitnm"/>
- <Cell col="11" text="bind:prcpqty"/>
- <Cell col="12" text="bind:prcpqtyunitnm"/>
- <Cell col="13" text="bind:prcptims"/>
- <Cell col="14" text="bind:prcpdayno"/>
- <Cell col="15" displaytype="text" text="bind:drugmthdspccdnm"/>
- <Cell col="16" text="bind:prcpmixno"/>
- <Cell col="17" displaytype="combo" edittype="none" text="bind:payflagcd" combodataset="ds_M0029" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="18" text="bind:erprcpflag"/>
- <Cell col="19" displaytype="text" text="bind:prcpdelivefact"/>
- <Cell col="20" text="bind:prcpdd" mask="####-##-##"/>
- <Cell col="21" text="bind:prcphopedd" mask="####-##-##"/>
- <Cell col="22" displaytype="text" edittype="none" text="bind:execdeptnm"/>
- <Cell col="23" text="bind:execdt" mask="####-##-## ##:##"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <CheckBox position="absolute 259 247 369 267" id="bool5" text="수술외처방포함" falsevalue="Y" truevalue="N" onclick="switch1_case2_bool5_onclick"/>
- <Button id="caption19" taborder="13" text="수술 처방이력" position="absolute 0 249 107 269" class="tit_2" ondblclick="switch1_case2_caption19_ondblclick"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="수 혈" id="case3">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 0 1192 611" id="grd_tnshistlist" binddataset="ds_main_tnshistlist" cellsizingtype="col" autofittype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="73"/>
- <Column size="150"/>
- <Column size="405"/>
- <Column size="91"/>
- <Column size="267"/>
- <Column size="100"/>
- <Column size="106"/>
- </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 displaytype="combo" edittype="none" text="bind:ioflag" combodataset="ds_ioflag" combocodecol="value" combodatacol="label"/>
- <Cell col="1" text="bind:tnsstrddtm" mask="####-##-## ##:##"/>
- <Cell col="2" displaytype="text" text="bind:prcpnm"/>
- <Cell col="3" text="bind:drugqty"/>
- <Cell col="4" displaytype="combo" edittype="none" text="bind:tnssideeffect" combodataset="ds_M0330" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="5" displaytype="text" text="bind:tnsendnursedeptnm"/>
- <Cell col="6" text="bind:rgstnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="전과이력" id="case4">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 0 1191 611" id="grd_cncrlist" binddataset="ds_main_cncrlist" cellsizingtype="col" autofittype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="67"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="63"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="361"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" text="시행일시" taborder="undefined"/>
- <Cell col="1" colspan="4" text="의뢰과" taborder="undefined"/>
- <Cell col="5" colspan="4" text="변경과" taborder="undefined"/>
- <Cell col="9" rowspan="2" text="전과사유" taborder="undefined"/>
- <Cell row="1" col="1" text="진료과"/>
- <Cell row="1" col="2" text="병실"/>
- <Cell row="1" col="3" text="전문의"/>
- <Cell row="1" col="4" text="담당의"/>
- <Cell row="1" col="5" text="진료과"/>
- <Cell row="1" col="6" text="병실"/>
- <Cell row="1" col="7" text="전문의"/>
- <Cell row="1" col="8" text="담당의"/>
- </Band>
- <Band id="body">
- <Cell text="bind:appdt" mask="####-##-## ##:##"/>
- <Cell col="1" text="bind:prestorddeptnm"/>
- <Cell col="2" text="bind:prestroomcd"/>
- <Cell col="3" text="bind:splcnm"/>
- <Cell col="4" text="bind:atdoctnm"/>
- <Cell col="5" text="bind:chngorddeptnm"/>
- <Cell col="6" text="bind:chngroomcd"/>
- <Cell col="7" text="bind:chngsplcnm"/>
- <Cell col="8" text="bind:chngatdoctnm"/>
- <Cell col="9" text="bind:chngprestrem"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Button position="absolute 669 146 713 166" align="align:center middle;" id="btn_allergy" text="부작용" onclick="btn_allergy_onclick"/>
- <Button position="absolute 195 25 211 45" id="button61" class="icon_search" text="" onclick="button61_onclick"/>
- <Static text="등록번호" position="absolute 0 24 100 47" id="caption5" class="cell_1"/>
- <Button position="absolute 972 146 1036 166" id="btn_undo" class="btn2" text="진료예약" onclick="btn_undo_onclick"/>
- <Edit readonly="true" position="absolute 618 25 718 45" id="output7" class="output"/>
- <Static text="성 명" position="absolute 0 48 100 71" id="caption4" class="cell_1"/>
- <Static text="주민번호" position="absolute 0 72 100 95" id="caption7" class="cell_1"/>
- <Static text="생년월일" position="absolute 309 48 370 71" id="caption8" class="cell_1" style="padding:0 0 0 6;"/>
- <Static text="성별/나이" position="absolute 309 24 370 47" id="caption9" class="cell_1" style="padding:0 0 0 0;align:center middle;"/>
- <Static text="병 동" position="absolute 310 72 370 95" id="caption10" class="cell_1" style="padding:0 0 0 6;"/>
- <Static text="주보호자" position="absolute 545 72 615 95" id="caption2" class="cell_1"/>
- <Static text="휴대폰" position="absolute 545 48 615 71" id="caption11" class="cell_1"/>
- <Static text="집전화" position="absolute 545 24 615 47" id="caption12" class="cell_1"/>
- <Edit readonly="true" position="absolute 618 49 718 69" id="output11" class="output"/>
- <Edit readonly="true" position="absolute 618 73 718 93" id="output12" class="output"/>
- <Static text="이메일주소" position="absolute 721 72 821 95" id="caption1" class="cell_1"/>
- <Static text="상위(하위)주소" position="absolute 721 48 821 71" id="caption3" class="cell_1"/>
- <Static text="우편번호/주소" position="absolute 721 24 821 47" id="caption6" class="cell_1"/>
- <Edit readonly="true" position="absolute 824 25 854 45" id="output5" class="output"/>
- <Edit readonly="true" position="absolute 857 25 887 45" id="output6" class="output"/>
- <Edit readonly="true" position="absolute 890 25 905 45" id="output13" class="output"/>
- <Edit readonly="true" position="absolute 908 25 1194 45" id="output14" class="output" tooltiptype="hover"/>
- <Edit readonly="true" position="absolute 824 49 1194 69" id="output15" class="output" tooltiptype="hover"/>
- <Edit readonly="true" position="absolute 824 73 1194 93" id="output16" class="output"/>
- <Static text="VIP여부/비고" position="absolute 721 120 821 142" id="caption13" class="cell_1" visible="false"/>
- <Static text="추천인" position="absolute 721 96 821 119" id="caption14" class="cell_1" visible="false"/>
- <Edit readonly="true" position="absolute 898 97 981 117" id="output17" class="output" visible="false"/>
- <CheckBox position="absolute 825 97 895 117" id="checkbox1" enable="false" text="직원소개" truevalue="Y" falsevalue="N" value="N" visible="false"/>
- <Static text="관계" position="absolute 984 96 1059 119" id="caption15" class="cell_1" visible="false"/>
- <Combo position="absolute 618 120 718 140" id="combo1" enable="false" innerdataset="ds_P0327" datacolumn="cdnm" codecolumn="cdid"/>
- <CheckBox position="absolute 824 122 865 142" id="checkbox2" enable="false" text="VIP" truevalue="Y" falsevalue="N" visible="false"/>
- <Edit readonly="true" position="absolute 865 121 981 141" id="output18" class="output" visible="false"/>
- <Static text="종교" position="absolute 545 120 615 142" id="caption16" class="cell_1"/>
- <Combo position="absolute 1062 97 1194 117" id="combo2" enable="false" innerdataset="ds_P0157" datacolumn="cdnm" codecolumn="cdid" visible="false"/>
- <Static text="참고사항" position="absolute 0 96 100 142" id="caption17" class="cell_1"/>
- <TextArea position="absolute 103 97 543 141" id="textarea1" enable="false" wordwrap="char" style="background:URL('theme://images/bg_edit_R.png') stretch 5,5;"/>
- <Static text="환자진료정보조회" position="absolute 0 0 137 20" id="caption18" class="tit_2"/>
- <Button position="absolute 794 146 880 166" id="button5" class="btn2" text="통합기록조회" onclick="button5_onclick"/>
- <Button position="absolute 1130 146 1194 166" id="button6" class="btn2" text="전과의뢰" onclick="button6_onclick"/>
- <Edit position="absolute 103 25 193 45" id="ipt_pid" class="input_essential" taborder="1" autoselect="true" onkeydown="ipt_pid_onkeydown"/>
- <Edit position="absolute 103 49 306 69" id="ipt_hngnm" class="input_essential" taborder="2" autoselect="true" onkeydown="ipt_hngnm_onkeydown"/>
- <MaskEdit readonly="true" position="absolute 103 73 203 93" id="opt_rrgstno1" taborder="3" mask="999999" style="align:left middle;" type="string"/>
- <Edit readonly="true" position="absolute 206 73 306 93" id="opt_rrgstno2" taborder="4" class="output"/>
- <Edit readonly="true" position="absolute 372 25 421 45" id="opt_sex" class="output"/>
- <Edit readonly="true" position="absolute 424 25 472 45" id="opt_age" class="output"/>
- <MaskEdit readonly="true" position="absolute 372 50 472 70" align="align:left middle;" id="opt_brthdd" mask="####-##-##" type="string" style="align:left middle;"/>
- <Edit readonly="true" position="absolute 372 74 543 94" id="opt_ward" class="output"/>
- <CheckBox position="absolute 213 25 306 45" id="chk_prcpall" text="모든수진내역" falsevalue="N" truevalue="Y" onclick="chk_prcpall_onclick"/>
- <Button position="absolute 883 146 969 166" id="button7" class="btn2" text="통합결과조회" onclick="button7_onclick"/>
- <CheckBox position="absolute 212 147 280 167" id="bool3" text="타과포함" falsevalue="N" truevalue="Y" onclick="bool3_onclick"/>
- <Button position="absolute 716 146 791 166" id="button8" class="btn2" text="SMS전송" onclick="button8_onclick"/>
- <Static text="환자사망" position="absolute 476 24 541 70" align="align:center middle;" id="cap_dethinfo" visible="false" style="border:1 solid #ff0000ff ;color:#ff0000ff;align:center middle;font:Dotum,9,bold;"/>
- <Static text="가족" position="absolute 545 96 615 119" id="caption30" class="cell_1"/>
- <Edit readonly="true" position="absolute 618 98 718 118" id="output1" class="output"/>
- <PopupMenu id="pmn_menu" innerdataset="@ds_mouserght" idcolumn="func" captioncolumn="label" levelcolumn="level" onmenuclick="pmn_menu_onmenuclick" position="absolute 1204 442 1304 485"/>
- <PopupMenu id="pmn_menu2" innerdataset="@ds_mouserght2" idcolumn="func" captioncolumn="label" levelcolumn="level" onmenuclick="pmn_menu_onmenuclick" position="absolute 1204 200 1304 222"/>
- <Shape id="line1" class="line_10" position="absolute 0 20 1194 24"/>
- <Button id="btn_undo00" taborder="5" text="환자처방조회" class="btn2" position="absolute 1038 146 1127 166" onclick="btn_undo00_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="scrnid" type="STRING" size="256" sumtext="화면ID"/>
- <Column id="compscd" type="STRING" size="256" sumtext="화면ID"/>
- <Column id="userid" type="STRING" size="256" sumtext="사용자ID"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_gridseq" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="compscd" type="STRING" size="256" sumtext="구성코드"/>
- <Column id="compscnts" type="STRING" size="256" sumtext="구성내용"/>
- <Column id="frozencol" type="STRING" size="256" sumtext="컬럼고정필드명"/>
- <Column id="compsrefcnts" type="STRING" size="256" sumtext="구성참조내용"/>
- <Column id="compssizecnts" type="STRING" size="256" sumtext="구성크기내용"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_orddept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="depthngnm" type="STRING"/>
- <Column id="deptcd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="dcflag" type="STRING" size="256"/>
- <Column id="opfromdd" type="STRING" size="256"/>
- <Column id="optodd" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="perfdeptcd" type="STRING" size="256"/>
- <Column id="oppatflagcd" type="STRING" size="256"/>
- <Column id="opflagcd" type="STRING" size="256"/>
- <Column id="oproomcd" type="STRING" size="256"/>
- <Column id="opstatcd" type="STRING" size="256"/>
- <Column id="prcpall" type="STRING" size="256"/>
- <Column id="deptyn" type="STRING" size="256"/>
- <Column id="opsrchyn" type="STRING" size="256"/>
- <Column id="nopsrchyn" type="STRING" size="256"/>
- <Column id="grdid" type="STRING" size="256"/>
- <Column id="scrnid" type="STRING" size="256"/>
- <Column id="prcphngcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="deptyn">Y</Col>
- <Col id="opsrchyn">Y</Col>
- <Col id="nopsrchyn">Y</Col>
- </Row>
- </Rows>
- </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="instcd" type="STRING" size="256" sumtext="기관기호"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="stnddd" type="STRING" size="256"/>
- <Column id="chosflag" type="STRING" size="256" sumtext="내원구분"/>
- <Column id="prcpall" type="STRING" size="256" sumtext="모든수진내역"/>
- <Column id="deptyn" type="STRING" size="256" sumtext="타과포함"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_srchinfo_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="dataflag" type="STRING" size="256" sumtext="자료구분 (Y:1건, N:여러건)"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="이름"/>
- <Column id="hngnm2" type="STRING" size="256" sumtext="이름2"/>
- <Column id="dispnm1" type="STRING" size="256" sumtext="표시명1"/>
- <Column id="dispnm2" type="STRING" size="256" sumtext="표시명2"/>
- <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호1"/>
- <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호2"/>
- <Column id="sex" type="STRING" size="256" sumtext="성별"/>
- <Column id="age" type="STRING" size="256" sumtext="나이"/>
- <Column id="brthdd" type="STRING" size="256" sumtext="생일"/>
- <Column id="hometel" type="STRING" size="256" sumtext="집전화"/>
- <Column id="mpphontel" type="STRING" size="256" sumtext="핸드폰"/>
- <Column id="etctel1" type="STRING" size="256" sumtext="기타연락처1"/>
- <Column id="etctel2" type="STRING" size="256" sumtext="기타연락처2"/>
- <Column id="zipcd1" type="STRING" size="256" sumtext="우편번호1"/>
- <Column id="zipcd2" type="STRING" size="256" sumtext="우편번호2"/>
- <Column id="zipcdseq" type="STRING" size="256" sumtext="우편번호seq"/>
- <Column id="addr" type="STRING" size="256" sumtext="주소"/>
- <Column id="detladdr" type="STRING" size="256" sumtext="상세주소"/>
- <Column id="email" type="STRING" size="256" sumtext="이메일"/>
- <Column id="recmyn" type="STRING" size="256" sumtext="관계여부"/>
- <Column id="recmernm" type="STRING" size="256" sumtext="관계"/>
- <Column id="recmerrela" type="STRING" size="256" sumtext="종교"/>
- <Column id="vipyn" type="STRING" size="256" sumtext="VIP여부"/>
- <Column id="viprem" type="STRING" size="256" sumtext="VIP"/>
- <Column id="religncd" type="STRING" size="256" sumtext="종교"/>
- <Column id="remfact" type="STRING" size="256" sumtext="참고"/>
- <Column id="ward" type="STRING" size="256" sumtext="병동"/>
- <Column id="allergy" type="STRING" size="256" sumtext="ADR(allergy)"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_srchinfo_patchosinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ordtype" type="STRING" size="256" sumtext="진료구분"/>
- <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
- <Column id="ordddtm" type="STRING" size="256" sumtext="진료일시"/>
- <Column id="dschdd" type="STRING" size="256" sumtext="퇴원일자"/>
- <Column id="orddrid" type="STRING" size="256" sumtext="진료의ID"/>
- <Column id="centcd" type="STRING" size="256" sumtext="센터코드"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
- <Column id="subdeptcd" type="STRING" size="256" sumtext="세부과코드"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
- <Column id="rsrvflag" type="STRING" size="256" sumtext="예약구분"/>
- <Column id="icd10cd" type="STRING" size="256" sumtext="ICD10코드"/>
- <Column id="diagnm" type="STRING" size="256" sumtext="진단명"/>
- <Column id="depthngnm" type="STRING" size="256" sumtext="진단명"/>
- <Column id="orddrnm" type="STRING" size="256" sumtext="진료의명"/>
- <Column id="insukindnm" type="STRING" size="256"/>
- <Column id="suppkindnm" type="STRING" size="256"/>
- <Column id="spclcd" type="STRING" size="256"/>
- <Column id="ezpassyn" type="STRING" size="256" sumtext="이지패스환자여부"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_srchinfo_patdethinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="patdethyn" type="STRING" size="256" sumtext="환자사망여부"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_bfprcp_remarks" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="remarks" type="STRING" size="256" sumtext="참고사항"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="dataflag" type="STRING" size="256" sumtext="자료구분 (Y:1건, N:여러건)"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="이름"/>
- <Column id="hngnm2" type="STRING" size="256" sumtext="이름2"/>
- <Column id="dispnm1" type="STRING" size="256" sumtext="표시명1"/>
- <Column id="dispnm2" type="STRING" size="256" sumtext="표시명2"/>
- <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호1"/>
- <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호2"/>
- <Column id="sex" type="STRING" size="256" sumtext="성별"/>
- <Column id="age" type="STRING" size="256" sumtext="나이"/>
- <Column id="brthdd" type="STRING" size="256" sumtext="생일"/>
- <Column id="hometel" type="STRING" size="256" sumtext="집전화"/>
- <Column id="mpphontel" type="STRING" size="256" sumtext="핸드폰"/>
- <Column id="etctel1" type="STRING" size="256" sumtext="기타연락처1"/>
- <Column id="etctel2" type="STRING" size="256" sumtext="기타연락처2"/>
- <Column id="zipcd1" type="STRING" size="256" sumtext="우편번호1"/>
- <Column id="zipcd2" type="STRING" size="256" sumtext="우편번호2"/>
- <Column id="zipcdseq" type="STRING" size="256" sumtext="우편번호seq"/>
- <Column id="addr" type="STRING" size="256" sumtext="주소"/>
- <Column id="detladdr" type="STRING" size="256" sumtext="상세주소"/>
- <Column id="email" type="STRING" size="256" sumtext="이메일"/>
- <Column id="recmyn" type="STRING" size="256" sumtext="관계여부"/>
- <Column id="recmernm" type="STRING" size="256" sumtext="관계"/>
- <Column id="recmerrela" type="STRING" size="256" sumtext="종교"/>
- <Column id="vipyn" type="STRING" size="256" sumtext="VIP여부"/>
- <Column id="viprem" type="STRING" size="256" sumtext="VIP"/>
- <Column id="religncd" type="STRING" size="256" sumtext="종교"/>
- <Column id="remfact" type="STRING" size="256" sumtext="참고"/>
- <Column id="ward" type="STRING" size="256" sumtext="병동"/>
- <Column id="allergy" type="STRING" size="256" sumtext="ADR(allergy)"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="allergy"/>
- <Col id="ward"/>
- <Col id="remfact"/>
- <Col id="religncd"/>
- <Col id="viprem"/>
- <Col id="vipyn"/>
- <Col id="recmerrela"/>
- <Col id="recmernm"/>
- <Col id="recmyn"/>
- <Col id="email"/>
- <Col id="detladdr"/>
- <Col id="addr"/>
- <Col id="zipcdseq"/>
- <Col id="zipcd2"/>
- <Col id="zipcd1"/>
- <Col id="etctel2"/>
- <Col id="etctel1"/>
- <Col id="mpphontel"/>
- <Col id="hometel"/>
- <Col id="brthdd"/>
- <Col id="age"/>
- <Col id="sex"/>
- <Col id="rrgstno2"/>
- <Col id="rrgstno1"/>
- <Col id="dispnm2"/>
- <Col id="dispnm1"/>
- <Col id="hngnm2"/>
- <Col id="hngnm"/>
- <Col id="instcd"/>
- <Col id="pid"/>
- <Col id="dataflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_bfprcpday" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_bfprcp_prcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_bfprcp_prcplist_oncolumnchanged">
- <ColumnInfo>
- <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
- <Column id="fstrgstdt" type="STRING" size="256" sumtext="처방발생일"/>
- <Column id="prcpno" type="STRING" size="256" sumtext="처방번호"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
- <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
- <Column id="orddrid" type="STRING" size="256" sumtext="진료의ID"/>
- <Column id="prcpstatcd" type="STRING" size="256" sumtext="처방상태코드"/>
- <Column id="prcpkindcd" type="STRING" size="256" sumtext="처방종류코드"/>
- <Column id="prcpclscd" type="STRING" size="256" sumtext="처방분류코드"/>
- <Column id="prcphistcd" type="STRING" size="256" sumtext="처방이력코드"/>
- <Column id="hosinhosoutflag" type="STRING" size="256" sumtext="원내외처방사유"/>
- <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
- <Column id="prcpvol" type="STRING" size="256" sumtext="처방용량"/>
- <Column id="prcpvolunitnm" type="STRING" size="256" sumtext="처방용량단위"/>
- <Column id="prcpqty" type="STRING" size="256" sumtext="처방수량"/>
- <Column id="drprcpetc7" type="STRING" size="256" sumtext="1회용량"/>
- <Column id="drprcpetc8" type="STRING" size="256" sumtext="1회수량"/>
- <Column id="prcpqtyunitnm" type="STRING" size="256" sumtext="처방수량단위"/>
- <Column id="prcptims" type="STRING" size="256" sumtext="처방횟수"/>
- <Column id="prcpdayno" type="STRING" size="256" sumtext="처방일자번호"/>
- <Column id="prcpmixno" type="STRING" size="256" sumtext="처방mix번호"/>
- <Column id="payflagcd" type="STRING" size="256" sumtext="급여구분"/>
- <Column id="prcpdelivefact" type="STRING" size="256" sumtext="처방전달사항"/>
- <Column id="prcpdrid" type="STRING" size="256" sumtext="처방의"/>
- <Column id="prcpdrnm" type="STRING" size="256" sumtext="처방의"/>
- <Column id="cvrtbfprcp" type="STRING" size="256" sumtext="전환처방"/>
- <Column id="tootfact" type="STRING" size="256" sumtext="치식정보"/>
- <Column id="prcphopedd" type="STRING" size="256" sumtext="처방희망일자"/>
- <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
- <Column id="prcphngnm" type="STRING" size="256" sumtext="처방명"/>
- <Column id="drugmthdspccdnm" type="STRING" size="256" sumtext="처방상세명"/>
- <Column id="prcpexecdeptnm" type="STRING" size="256" sumtext="시행부서명"/>
- <Column id="execdeptnm" type="STRING" size="256" sumtext="실시부서명"/>
- <Column id="execdt" type="STRING" size="256" sumtext="실시일시"/>
- <Column id="prcpclsdesc" type="STRING" size="256" sumtext="처방구분"/>
- <Column id="tempcol7" type="STRING" size="256" sumtext="처방구분"/>
- <Column id="tempcol10" type="STRING" size="256" sumtext="color"/>
- <Column id="rsrvdd" type="STRING" size="256" sumtext="예약일자"/>
- <Column id="insuupdtyn" type="STRING" size="256" sumtext="보험정보변경여부"/>
- <Column id="prcprsn" type="STRING" size="256" sumtext="처방사유(PRN)"/>
- <Column id="prncc" type="STRING" size="256" sumtext="prn실시회수"/>
- <Column id="prcpinptnm" type="STRING" size="256" sumtext="prn실시회수"/>
- <Column id="issdeptnm" type="STRING" size="256" sumtext="발행부서명"/>
- <Column id="choiordflag" type="STRING" size="256" sumtext="선택진료여부"/>
- <Column id="specdrnm" type="STRING" size="256" sumtext="선택진료의사명"/>
- <Column id="rsrvdt" type="STRING" size="256" sumtext="예약일시"/>
- <Column id="execgoto" type="STRING" size="256" sumtext="예약검사실"/>
- <Column id="updtdeptnm" type="STRING" size="256" sumtext="DC부서"/>
- <Column id="updtrnm" type="STRING" size="256" sumtext="DC유저"/>
- <Column id="updtdt" type="STRING" size="256" sumtext="DC일시"/>
- <Column id="prcphistno" type="STRING" size="256" sumtext="처방이력번호"/>
- <Column id="prcpgenrflag" type="STRING" size="256" sumtext="처방발행구분"/>
- <Column id="drprcpetc13" type="STRING" size="256" sumtext="검사부서코드"/>
- <Column id="drprcpetc13nm" type="STRING" size="256" sumtext="검사부서명"/>
- <Column id="drprcpetc14" type="STRING" size="256" sumtext="검사의사사번"/>
- <Column id="drprcpetc14nm" type="STRING" size="256" sumtext="검사의사명"/>
- <Column id="acptrem" type="STRING" size="256" sumtext="검사실정보"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_ordtype" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">입원</Col>
- <Col id="value">I</Col>
- </Row>
- <Row>
- <Col id="label">외래</Col>
- <Col id="value">O</Col>
- </Row>
- <Row>
- <Col id="label">응급</Col>
- <Col id="value">E</Col>
- </Row>
- <Row>
- <Col id="label">DSC</Col>
- <Col id="value">D</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_prcphistcd" 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">D/C</Col>
- <Col id="value">D</Col>
- </Row>
- <Row>
- <Col id="label">D/C</Col>
- <Col id="value">E</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hosinhosoutflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">원내</Col>
- <Col id="value">I</Col>
- </Row>
- <Row>
- <Col id="label">원외</Col>
- <Col id="value">O</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_mouserght" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="func" type="STRING" size="256"/>
- <Column id="label" type="STRING" size="256"/>
- <Column id="level" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">약품편람</Col>
- <Col id="func">fDrugInfo</Col>
- <Col id="level">0</Col>
- </Row>
- <Row>
- <Col id="label">Copy(클립보드)</Col>
- <Col id="func">fCopyClipBoard</Col>
- <Col id="level">0</Col>
- </Row>
- <Row>
- <Col id="label">-</Col>
- <Col id="func"/>
- <Col id="level">0</Col>
- </Row>
- <Row>
- <Col id="label">검사(치료) 희망일 변경</Col>
- <Col id="func">fChangeHopeDd</Col>
- <Col id="level">0</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_mouserght2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="func" type="STRING" size="256"/>
- <Column id="label" type="STRING" size="256"/>
- <Column id="level" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">환자메모</Col>
- <Col id="func">fEmrMemo</Col>
- <Col id="level">0</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_receivedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchdrugcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchcond" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_smsdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="bizabbr" type="STRING" size="256"/>
- <Column id="replytelno" type="STRING" size="256"/>
- <Column id="rsrvyn" type="STRING" size="256"/>
- <Column id="rsrvdate" type="STRING" size="256"/>
- <Column id="rsrvtime" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_target" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_patophistlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="oprsrvno" type="STRING" size="256" sumtext="수술이력번호"/>
- <Column id="opflagcd" type="STRING" size="256" sumtext="수술구분코드"/>
- <Column id="oppatflagcd" type="STRING" size="256" sumtext="수술환자구분코드"/>
- <Column id="patinroomdt" type="STRING" size="256" sumtext="수술시작일시"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
- <Column id="perfdeptcd" type="STRING" size="256" sumtext="집도과코드"/>
- <Column id="perfdrnm" type="STRING" size="256" sumtext="집도의명"/>
- <Column id="opusetm" type="STRING" size="256" sumtext="소요시간"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="병실코드"/>
- <Column id="diagnm" type="STRING" size="256" sumtext="진단명"/>
- <Column id="opnm" type="STRING" size="256" sumtext="수술명"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원일"/>
- <Column id="dschdd" type="STRING" size="256" sumtext="퇴원일"/>
- <Column id="anstdr" type="STRING" size="256" sumtext="마취의"/>
- <Column id="anstmthdcd" type="STRING" size="256" sumtext="마취방법코드"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_tnshistlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ioflag" type="STRING" size="256" sumtext="진료구분"/>
- <Column id="tnsstrddtm" type="STRING" size="256" sumtext="수혈일시"/>
- <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
- <Column id="drugqty" type="STRING" size="256" sumtext="수혈량"/>
- <Column id="tnssideeffect" type="STRING" size="256" sumtext="수혈부작용"/>
- <Column id="tnsendnursenm" type="STRING" size="256" sumtext="수혈간호사명"/>
- <Column id="tnsendnursedeptnm" type="STRING" size="256" sumtext="수혈수행부서명"/>
- <Column id="rgstnm" type="STRING" size="256" sumtext="처방자명"/>
- <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_ioflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">외래</Col>
- <Col id="value">O</Col>
- </Row>
- <Row>
- <Col id="label">입원</Col>
- <Col id="value">I</Col>
- </Row>
- <Row>
- <Col id="label">DSC</Col>
- <Col id="value">D</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_cncrlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="appdt" type="STRING" size="256" sumtext="적용일자"/>
- <Column id="prestorddeptnm" type="STRING" size="256" sumtext="전과전 진료과명"/>
- <Column id="prestroomcd" type="STRING" size="256" sumtext="전과전 병실"/>
- <Column id="atdoctnm" type="STRING" size="256" sumtext="전과전 주치의"/>
- <Column id="splcnm" type="STRING" size="256" sumtext="전과전 전문의"/>
- <Column id="chngorddeptnm" type="STRING" size="256" sumtext="전과 진료과명"/>
- <Column id="chngroomcd" type="STRING" size="256" sumtext="전과 병실"/>
- <Column id="chngatdoctnm" type="STRING" size="256" sumtext="전과 주치의"/>
- <Column id="chngsplcnm" type="STRING" size="256" sumtext="전과 전문의"/>
- <Column id="chngprestrem" type="STRING" size="256" sumtext="전과 전문의"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_listval" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="refdata" type="STRING" size="256"/>
- <Column id="sizedata" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="compscnts" type="STRING" size="256"/>
- <Column id="compsrefcnts" type="STRING" size="256"/>
- <Column id="compssizecnts" type="STRING" size="256"/>
- <Column id="scrnid" type="STRING" size="256"/>
- <Column id="compscd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_P0157" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_P0327" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_smsdata_recvr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chk" type="STRING" size="256"/>
- <Column id="recvrnm" type="STRING" size="256"/>
- <Column id="recvrtelno" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="ipt_pid" propid="value" datasetid="ds_patinfolist" columnid="pid"/>
- <BindItem id="item1" compid="ipt_hngnm" propid="value" datasetid="ds_patinfolist" columnid="dispnm2"/>
- <BindItem id="item2" compid="opt_rrgstno1" propid="value" datasetid="ds_patinfolist" columnid="rrgstno1"/>
- <BindItem id="item3" compid="opt_rrgstno2" propid="value" datasetid="ds_patinfolist" columnid="rrgstno2"/>
- <BindItem id="item4" compid="textarea1" propid="value" datasetid="ds_patinfolist" columnid="remfact"/>
- <BindItem id="item5" compid="opt_sex" propid="value" datasetid="ds_patinfolist" columnid="sex"/>
- <BindItem id="item6" compid="opt_age" propid="value" datasetid="ds_patinfolist" columnid="age"/>
- <BindItem id="item7" compid="opt_brthdd" propid="value" datasetid="ds_patinfolist" columnid="brthdd"/>
- <BindItem id="item8" compid="opt_ward" propid="value" datasetid="ds_patinfolist" columnid="ward"/>
- <BindItem id="item9" compid="output7" propid="value" datasetid="ds_patinfolist" columnid="hometel"/>
- <BindItem id="item10" compid="output11" propid="value" datasetid="ds_patinfolist" columnid="mpphontel"/>
- <BindItem id="item11" compid="output12" propid="value" datasetid="ds_patinfolist" columnid="etctel1"/>
- <BindItem id="item12" compid="output1" propid="value" datasetid="ds_patinfolist" columnid="etctel2"/>
- <BindItem id="item13" compid="output5" propid="value" datasetid="ds_patinfolist" columnid="zipcd1"/>
- <BindItem id="item14" compid="output6" propid="value" datasetid="ds_patinfolist" columnid="zipcd2"/>
- <BindItem id="item15" compid="output13" propid="value" datasetid="ds_patinfolist" columnid="zipcdseq"/>
- <BindItem id="item16" compid="output14" propid="value" datasetid="ds_patinfolist" columnid="addr"/>
- <BindItem id="item17" compid="output15" propid="value" datasetid="ds_patinfolist" columnid="detladdr"/>
- <BindItem id="item18" compid="output16" propid="value" datasetid="ds_patinfolist" columnid="email"/>
- <BindItem id="item19" compid="checkbox1" propid="value" datasetid="ds_patinfolist" columnid="recmyn"/>
- <BindItem id="item20" compid="output17" propid="value" datasetid="ds_patinfolist" columnid="recmernm"/>
- <BindItem id="item21" compid="checkbox2" propid="value" datasetid="ds_patinfolist" columnid="vipyn"/>
- <BindItem id="item22" compid="output18" propid="value" datasetid="ds_patinfolist" columnid="viprem"/>
- <BindItem id="item23" compid="combo2" propid="value" datasetid="ds_patinfolist" columnid="recmerrela"/>
- <BindItem id="item24" compid="combo1" propid="value" datasetid="ds_patinfolist" columnid="religncd"/>
- <BindItem id="item25" compid="bool3" propid="value" datasetid="ds_cond" columnid="deptyn"/>
- <BindItem id="item26" compid="switch1.case1.bool1" propid="value" datasetid="ds_cond" columnid="dcflag"/>
- <BindItem id="item27" compid="switch1.case1.bool4" propid="value" datasetid="ds_cond" columnid="opsrchyn"/>
- <BindItem id="item28" compid="switch1.case1.bool6" propid="value" datasetid="ds_cond" columnid="prcphngcd"/>
- <BindItem id="item29" compid="output14" propid="tooltiptext" datasetid="ds_patinfolist" columnid="addr"/>
- <BindItem id="item30" compid="output15" propid="tooltiptext" datasetid="ds_patinfolist" columnid="detladdr"/>
- <BindItem id="item31" compid="chk_prcpall" propid="value" datasetid="ds_cond" columnid="prcpall"/>
- <BindItem id="item32" compid="switch1.case1.textarea2" propid="value" datasetid="ds_bfprcp_remarks" columnid="remarks"/>
- <BindItem id="item33" compid="switch1.case2.bool2" propid="value" datasetid="ds_cond" columnid="dcflag"/>
- <BindItem id="item34" compid="switch1.case2.bool5" propid="value" datasetid="ds_cond" columnid="nopsrchyn"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2014-12-10
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2014-12-10 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "emr_chrtmngtxp::SMMRC00101.xjs"
- include "emr_prcpmngtxp::MMO001.xjs";
- include "emr_prcpmngtxp::SMMMO04100.xjs";
- function SMMMO02500_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- grdf_initGrid(switch1.case1.grd_patchosinfo);
- grdf_initGrid(switch1.case1.grd_bfprcplist);
- grdf_initGrid(switch1.case2.grd_bfopprcplist);
- grdf_initGrid(switch1.case3.grd_tnshistlist);
- grdf_initGrid(switch1.case4.grd_cncrlist);
- }
- function SMMMO02500_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_setToolTipBind(switch1.case1.grd_patchosinfo);
- grdf_setToolTipBind(switch1.case1.grd_prcpdd);
- grdf_setToolTipBind(switch1.case1.grd_bfprcplist);
- grdf_setToolTipBind(switch1.case2.grd_bfopprcplist);
-
- var colHidnValue = lf_grdBaseColHidn("D");
- lf_grdBaseColHidn(colHidnValue, "switch1.case1.grd_bfprcplist", 37, "prcpvol", "prcpqty", "drprcpetc7", "drprcpetc8", 37);
- fInitialize_SMMMO02500();
- }
- function switch1_case1_grd_patchosinfo_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- fGetBfPrcpList();
- }
- function switch1_case1_grd_prcpdd_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- if(e.row < 0 || e.col < 0) return;
-
- var pid = ds_bfprcpday.getColumn(e.row, "pid");
- var orddd = ds_bfprcpday.getColumn(e.row, "orddd");
- var cretno = ds_bfprcpday.getColumn(e.row, "cretno");
- var prcpdd = ds_bfprcpday.getColumn(e.row, "prcpdd");
- var dcflag = ds_cond.getColumn(0, "dcflag");
- var orddeptcd = ds_srchinfo_patchosinfolist.getColumn(ds_srchinfo_patchosinfolist.rowcount, "orddeptcd");
- var orddrid = ds_srchinfo_patchosinfolist.getColumn(ds_srchinfo_patchosinfolist.rowcount, "orddrid");
- var ref = "ds_send_bfprcp";
-
- fReqGetPatBfPrcpList(ref, pid, orddd, cretno, prcpdd, "I", dcflag, "", orddeptcd, orddrid);
- }
- function ds_bfprcp_prcplist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "status")
- obj.setColumn(e.row, e.columnid, (e.newvalue == "I" || e.newvalue == 1) ? "I" : "N");
- }
- function switch1_case1_grd_bfprcplist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- if(e.row < 0 || e.col < 0) return;
-
- var curcol = obj.getCellPos();
- if(curcol == obj.getBindCellIndex("body", "prcpclsdesc")){
- var width = obj.getFormatColProperty(curcol, "size");
- if(width == 67){
- obj.setFormatColProperty(curcol, "size", parseInt(width) + 40);
- }else{
- obj.setFormatColProperty(curcol, "size", parseInt(width) - 40);
- }
- }
- }
- function switch1_case1_grd_patchosinfo_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row < 0 || e.col < 0) return;
-
- grdf_setSelectedCell(obj, e);
-
- pmn_menu2.trackPopup(e.screenX,e.screenY);
- }
- function switch1_case1_grd_bfprcplist_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row < 0 || e.col < 0) return;
-
- grdf_setSelectedCell(obj, e);
-
- pmn_menu.trackPopup(e.screenX,e.screenY);
- }
- function pmn_menu_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- eval(e.id + "()");
- }
- function ipt_pid_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- getPIDEnter();
- }
- function button61_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SPPMC02500", "SPPMC02500", null, null, null, null, null, null, null, null, null, null, "M");
- if(!utlf_isNull(this.objects["ds_patinfolist"])) {
- var sPid = ds_patinfolist.getColumn(0, "pid");
- var sHngnm = ds_patinfolist.getColumn(0, "hngnm");
- ds_patinfolist.setColumn(0, "pid", sPid);
- ds_patinfolist.setColumn(0, "hngnm", sHngnm);
- }
-
- var pid = ds_patinfolist.getColumn(0, "pid");
- var hngnm = ds_patinfolist.getColumn(0, "hngnm");
- if(!utlf_isNull(pid) && pid.toString().length > 0){
- fReqGetPatComnInfo(ds_send_reqdata, pid)
-
- switch1.tabindex = 0;
-
- ds_patinfolist.copyData(ds_srchinfo_patinfolist);
- ds_bfprcp_prcplist.clearData();
- ds_bfprcpday.clearData();
-
- switch1.case1.grd_prcpdd.visible = false;
- switch1.case1.grd_bfprcplist.position.left = 0;
- }
- }
- function chk_prcpall_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- var pid = utlf_trim(ipt_pid.text);
- ds_patinfolist.setColumn(0, "pid", pid);
- fReqGetPatComnInfo(ds_send_reqdata, pid);
- }
- function ipt_hngnm_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- ds_hidden.clearData();
- ds_hidden.addRow();
-
- ds_hidden.setColumn(0, "srchcond", "2");
- ds_hidden.setColumn(0, "hngnm", obj.text);
-
- var objArg = new Object();
- objArg.arg_ds_send = ds_hidden;
-
- frmf_modal("SPPMC02500", "SPPMC02500", objArg, null, 1, 150, 150, null, null, null, null, null, "M");
-
- if(!utlf_isNull(this.objects["ds_patinfolist"])) {
- var sPid = ds_patinfolist.getColumn(0, "pid");
- var sHngnm = ds_patinfolist.getColumn(0, "hngnm");
- ds_patinfolist.setColumn(0, "pid", sPid);
- ds_patinfolist.setColumn(0, "hngnm", sHngnm);
- }
-
- var pid = ds_patinfolist.getColumn(0, "pid");
- var hngnm = ds_patinfolist.getColumn(0, "hngnm");
-
- if(!utlf_isNull(pid) && pid.length > 0){
- fReqGetPatComnInfo(ds_send_reqdata, pid)
-
- switch1.tabindex = 0;
-
- ds_patinfolist.copyData(ds_srchinfo_patinfolist);
- ds_bfprcp_prcplist.clearData();
- ds_bfprcpday.clearData();
-
- switch1.case1.grd_prcpdd.visible = false;
- switch1.case1.grd_bfprcplist.position.left = 0;
- }else{
- var trgthngnm = ds_send_reqdata.getColumn(0, "hngnm");
- sysf_messageBox("[" + trgthngnm + "] 환자를 조회", "E001");
- return;
- }
- }
- }
- function switch1_case1_bool1_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if (ds_srchinfo_patchosinfolist.rowposition == undefined || ds_srchinfo_patchosinfolist.rowposition < 0) {
- sysf_messageBox("환자 수진내역을", "C002");
- } else {
- var ordtype = ds_srchinfo_patchosinfolist.getColumn(ds_srchinfo_patchosinfolist.rowposition, "ordtype");
-
- if (ordtype =="O") {
- var ref = "ds_send_bfprcp";
-
- if(!utlf_isNull(this.objects[ref]) && !utlf_isNull(ds_send_bfprcp.getColumnInfo("prcpdd"))) {
- var pid = ds_send_bfprcp.getColumn(0, "pid");
- var orddd = ds_send_bfprcp.getColumn(0, "orddd");
- var cretno = ds_send_bfprcp.getColumn(0, "cretno");
- var prcpdd = ds_send_bfprcp.getColumn(0, "prcpdd");
- var ioflag = ds_send_bfprcp.getColumn(0, "ioflag");
- var orddrid = ds_send_bfprcp.getColumn(0, "orddrid");
- var orddeptcd = ds_send_bfprcp.getColumn(0, "orddeptcd");
- var dcflag = ds_cond.getColumn(0, "dcflag");
-
- fReqGetPatBfPrcpList(ref, pid, orddd, cretno, prcpdd, ioflag, dcflag, "", orddeptcd, orddrid);
- }
- } else {
- if (ds_bfprcpday.rowposition == undefined || ds_bfprcpday.rowposition < 0) {
- sysf_messageBox("환자 수진일자를", "C002");
- } else {
- var ref = "ds_send_bfprcp";
-
- if(!utlf_isNull(this.objects[ref]) && !utlf_isNull(ds_send_bfprcp.getColumnInfo("prcpdd"))) {
- var pid = ds_send_bfprcp.getColumn(0, "pid");
- var orddd = ds_send_bfprcp.getColumn(0, "orddd");
- var cretno = ds_send_bfprcp.getColumn(0, "cretno");
- var prcpdd = ds_send_bfprcp.getColumn(0, "prcpdd");
- var ioflag = ds_send_bfprcp.getColumn(0, "ioflag");
- var orddrid = ds_send_bfprcp.getColumn(0, "orddrid");
- var orddeptcd = ds_send_bfprcp.getColumn(0, "orddeptcd");
- var dcflag = ds_cond.getColumn(0, "dcflag");
-
- fReqGetPatBfPrcpList(ref, pid, orddd, cretno, prcpdd, ioflag, dcflag, "", orddeptcd, orddrid);
- }
- }
- }
- }
- }
- function switch1_case1_bool4_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if (ds_srchinfo_patchosinfolist.rowposition == undefined || ds_srchinfo_patchosinfolist.rowposition < 0) {
- sysf_messageBox("환자 수진내역을", "C002");
- } else {
- var ordtype = ds_srchinfo_patchosinfolist.getColumn(ds_srchinfo_patchosinfolist.rowposition, "ordtype");
-
- if (ordtype =="O") {
- var ref = "ds_send_bfprcp";
-
- if(!utlf_isNull(this.objects[ref]) && !utlf_isNull(ds_send_bfprcp.getColumnInfo("prcpdd"))) {
- var pid = ds_send_bfprcp.getColumn(0, "pid");
- var orddd = ds_send_bfprcp.getColumn(0, "orddd");
- var cretno = ds_send_bfprcp.getColumn(0, "cretno");
- var prcpdd = ds_send_bfprcp.getColumn(0, "prcpdd");
- var ioflag = ds_send_bfprcp.getColumn(0, "ioflag");
- var orddrid = ds_send_bfprcp.getColumn(0, "orddrid");
- var orddeptcd = ds_send_bfprcp.getColumn(0, "orddeptcd");
- var dcflag = ds_cond.getColumn(0, "dcflag");
-
- fReqGetPatBfPrcpList(ref, pid, orddd, cretno, prcpdd, ioflag, dcflag, "", orddeptcd, orddrid);
- }
- } else {
- if (ds_bfprcpday.rowposition == undefined || ds_bfprcpday.rowposition < 0) {
- sysf_messageBox("환자 수진일자를", "C002");
- } else {
- var ref = "ds_send_bfprcp";
-
- if(!utlf_isNull(this.objects[ref]) && !utlf_isNull(ds_send_bfprcp.getColumnInfo("prcpdd"))) {
- var pid = ds_send_bfprcp.getColumn(0, "pid");
- var orddd = ds_send_bfprcp.getColumn(0, "orddd");
- var cretno = ds_send_bfprcp.getColumn(0, "cretno");
- var prcpdd = ds_send_bfprcp.getColumn(0, "prcpdd");
- var ioflag = ds_send_bfprcp.getColumn(0, "ioflag");
- var orddrid = ds_send_bfprcp.getColumn(0, "orddrid");
- var orddeptcd = ds_send_bfprcp.getColumn(0, "orddeptcd");
- var dcflag = ds_cond.getColumn(0, "dcflag");
-
- fReqGetPatBfPrcpList(ref, pid, orddd, cretno, prcpdd, ioflag, dcflag, "", orddeptcd, orddrid);
- }
- }
- }
- }
- }
- function switch1_case1_bool6_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- fChgViewPrcpnm();
- }
- function btn_allergy_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_setParameter ( "SPMMD03300_pid", ds_patinfolist.getColumn(0, "pid"));
- frmf_setParameter ( "SPMMD03300_opener", "opener");
- frmf_modal("SPMMD03300", "SPMMD03300", null, null, null, null, null, null, null, null, null, null, "M");
-
- getPIDEnter();
- }
- function button8_onclick(obj:Button, e:ClickEventInfo)
- {
- if(utlf_isNull(ds_patinfolist.getColumn(0, "mpphontel"))){
- sysf_messageBox("휴대전화번호가 ", "E014");
- //return;
- }
-
- // SMS 모듈 관련 추후 확인필요
- // model.removeNodeset("/root/hidden/smsdata");
- ds_hidden_smsdata.clearData();
- ds_hidden_smsdata.addRow();
- ds_hidden_smsdata.setColumn(0,"bizabbr", "EMR");
- ds_hidden_smsdata.setColumn(0,"replytelno", "");
- ds_hidden_smsdata.setColumn(0,"rsrvyn", "");
- ds_hidden_smsdata.setColumn(0,"rsrvdate", "");
- ds_hidden_smsdata.setColumn(0,"rsrvtime", "");
- ds_hidden_smsdata_recvr.clearData();
- ds_hidden_smsdata_recvr.addRow();
- ds_hidden_smsdata_recvr.setColumn(0,"chk", "");
- ds_hidden_smsdata_recvr.setColumn(0,"recvrnm", ds_patinfolist.getColumn(0,"hngnm"));
- ds_hidden_smsdata_recvr.setColumn(0,"recvrtelno", ds_patinfolist.getColumn(0,"mpphontel"));
-
- var objArg = new Object();
- objArg.arg_ds_main = ds_hidden_smsdata;
- objArg.arg_ds_recvr = ds_hidden_smsdata_recvr;
-
- frmf_open("SPZMS00100", "SPZMS00100", objArg, "","1", "700", "400", "", "", "", "", "","M");
- }
- function button5_onclick(obj:Button, e:ClickEventInfo)
- {
- var pid = ds_patinfolist.getColumn(0, "pid");
- if(utlf_isNull(pid)){
- sysf_messageBox("환자 등록번호를", "C001");
- return;
- }
-
- frmf_setParameter("SMMRI00400_param_pid", pid);
-
- frmf_open("SMMRI00400", "SMMRI00400", null, null, null, null, null, null, null, null, null, null, "M");
- }
- function button7_onclick(obj:Button, e:ClickEventInfo)
- {
- var pid = ds_patinfolist.getColumn(0, "pid");
- if(utlf_isNull(pid)){
- sysf_messageBox("환자 등록번호를", "C001");
- return;
- }
-
- frmf_setParameter("SMAER00800_patprcp", "Y"); //환자진료정보에서 통합검사결과조회를 오픈할 경우만 pid 우선으로 처리하기 위하여 파라미터 설정
-
- dsf_createDsRow("ds_temp_SMAER00800", [{col:"srchpid", type:"string", size:256, val:pid}]);
-
- var objArg = new Object();
- objArg.arg_ds_send_singdata = ds_temp_SMAER00800;
- frmf_open("SMMMI00100", "SMMMI00100", objArg, null, null, null, null, null, null, null, null, null, "M");
- }
- function btn_undo_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_setParameter("SMPMO00300_PARM1", sysf_getUserInfo("dutplcecd")); //진료과코드
- frmf_setParameter("SMPMO00300_PARM2", sysf_getUserInfo("userid")); //진료의사코드
- frmf_setParameter("SMPMO00300_PARM3", ds_srchinfo_patinfolist.getColumn(0, "pid")); //환자번호
- frmf_modal("SMPMO00300", "SMPMO00300", null, null, null, null, null, null, null, null, null, null, "M");
- }
- function button6_onclick(obj:Button, e:ClickEventInfo)
- {
- var mon = sysf_getCurrentMonitorNumber();
- var xpt = this.getOwnerFrame().position.x;
- var ypt = this.getOwnerFrame().position.y;
-
- var pid = ds_patinfolist.getColumn(0, "pid");
- if(utlf_isNull(pid)){
- sysf_messageBox("환자 등록번호를", "C001");
- return;
- }
-
- ds_init_target.setColumn(0, "pid", pid);
-
- var objArg = new Object();
- objArg.arg_ds_hidden_target = ds_init_target;
-
- frmf_modal("SPPMI02700", "SPPMI02700", objArg, false, mon, xpt, ypt, null, null, null, null, null, "M");
- }
- function switch1_case1_btn_setscrn_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_setParameter("SMMMO02500_param_scrnid", "SMMMO02500");
- frmf_setParameter("SMMMO02500_param_grdid" , "grd_bfprcplist");
- frmf_setParameter("SMMMO02500_param_caseid", "01");
-
- frmf_modal("SPMMB03500", "SPMMB03500", null, null, null, null, null, null, null, null, null, null, "M");
-
- var useyn = frmf_getParameter("SPMMB03500_rtn_useyn");
- if(useyn == "Y"){
- lf_ColumnOrdChange( switch1.case1.grd_bfprcplist, true );
- reqOrderInfoOfCol(ds_reqdata, ds_gridseq, "SMMMO02500", switch1.case1.grd_bfprcplist, "01");
- lf_ColumnOrdChange( switch1.case1.grd_bfprcplist, false );
- }
- }
- function switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- if(e.postindex == 0) { // 수진
- ds_bfprcp_prcplist.clearData();
- } else if(e.postindex == 1) { // 수술
- lf_ColumnOrdChange( switch1.case2.grd_bfopprcplist, true );
- reqOrderInfoOfCol(ds_reqdata, ds_gridseq, "SMMMO02500", switch1.case2.grd_bfopprcplist, "02");
- lf_ColumnOrdChange( switch1.case2.grd_bfopprcplist, false );
-
- ds_bfprcp_prcplist.clearData();
-
- //환자 수술이력정보 조회
- fReqGetPatOpHistList(ds_send_reqdata, ds_patinfolist.getColumn(0, "pid"));
- } else if(e.postindex == 2) { // 수혈
- ds_send_reqdata.clearData();
- ds_send_reqdata.addRow();
-
- ds_send_reqdata.setColumn(0, "pid", ds_patinfolist.getColumn(0, "pid"));
-
- var oParam = {};
- oParam.id = "TRMMO02504";
- oParam.service = "prcpmngtapp.PatPrcpSrchMngt";
- oParam.method = "reqGetPatTNSHistInfoList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_tnshistlist=tnshistlist";
- oParam.async = true;
- tranf_submit(oParam);
- } else if(e.postindex == 3) { // 전과이력
- ds_send_reqdata.clearData();
- ds_send_reqdata.addRow();
-
- ds_send_reqdata.setColumn(0, "pid", ds_patinfolist.getColumn(0, "pid"));
-
- var oParam = {};
- oParam.id = "TRMMO02503";
- oParam.service = "prcpmngtapp.ConcPatMngt";
- oParam.method = "reqGetChngDeptChngRoomHist";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_cncrlist=cncrlist";
- oParam.async = true;
- tranf_submit(oParam);
- }
- }
- function switch1_case2_grd_opanstschelist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var ref = "ds_send_bfprcp";
- var pid = ipt_pid.text;
- var ioflag = "I";
- var dcflag = ds_cond.getColumn(0, "dcflag");
- var oprsrvno = ds_main_patophistlist.getColumn(ds_main_patophistlist.rowposition, "oprsrvno");
- var oppatflagcd = ds_main_patophistlist.getColumn(ds_main_patophistlist.rowposition, "oppatflagcd"); //oppatflagcd param 추가 (2009.05.27 JJE)
- fReqGetPatBfPrcpList(ref, pid, "", "", "", oppatflagcd, dcflag, oprsrvno); //oppatflagcd를 ioflag로 대체 (2009.05.27 JJE)
- }
- function switch1_case2_bool2_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- var ref = "ds_send_bfprcp";
-
- if(!utlf_isNull(this.objects[ref]) && !utlf_isNull(ds_send_bfprcp.getColumnInfo("prcpdd"))) {
- var pid = ds_send_bfprcp.getColumn(0, "pid");
- var orddd = ds_send_bfprcp.getColumn(0, "orddd");
- var cretno = ds_send_bfprcp.getColumn(0, "cretno");
- var prcpdd = ds_send_bfprcp.getColumn(0, "prcpdd");
- var ioflag = ds_send_bfprcp.getColumn(0, "ioflag");
- var dcflag = ds_send_bfprcp.getColumn(0, "dcflag");
- var oprsrvno = ds_send_bfprcp.getColumn(0, "oprsrvno");
- var oppatflagcd = ds_main_patophistlist.getColumn(ds_main_patophistlist.rowposition, "oppatflagcd"); //oppatflagcd param 추가 (2009.05.27 JJE)
-
- fReqGetPatBfPrcpList(ref, pid, orddd, cretno, prcpdd, oppatflagcd, dcflag, oprsrvno);
- }
- }
- function switch1_case2_bool5_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- var ref = "ds_send_bfprcp";
-
- if(!utlf_isNull(this.objects[ref]) && !utlf_isNull(ds_send_bfprcp.getColumnInfo("prcpdd"))) {
- var pid = ds_send_bfprcp.getColumn(0, "pid");
- var orddd = ds_send_bfprcp.getColumn(0, "orddd");
- var cretno = ds_send_bfprcp.getColumn(0, "cretno");
- var prcpdd = ds_send_bfprcp.getColumn(0, "prcpdd");
- var ioflag = ds_send_bfprcp.getColumn(0, "ioflag");
- var dcflag = ds_send_bfprcp.getColumn(0, "dcflag");
- var oprsrvno = ds_send_bfprcp.getColumn(0, "oprsrvno");
- var oppatflagcd = ds_main_patophistlist.getColumn(ds_main_patophistlist.rowposition, "oppatflagcd"); //oppatflagcd param 추가 (2009.05.27 JJE)
-
- fReqGetPatBfPrcpList(ref, pid, orddd, cretno, prcpdd, oppatflagcd, dcflag, oprsrvno);
- }
- }
- function switch1_case1_caption22_ondblclick(obj:Button, e:MouseEventInfo)
- {
- var grdid = "grd_bfprcplist";
- var scrnid = "SMMMO02500";
-
- fGetOrderInfoOfCol("switch1.case1." + grdid);
-
- var refdata = ds_listval.getColumn(0, "refdata");
- var sizedata = ds_listval.getColumn(0, "sizedata");
- ds_send_savedata.clearData();
- ds_send_savedata.addRow();
-
- ds_send_savedata.setColumn(0, "compscnts", ""); //추후 삭제 예정
- ds_send_savedata.setColumn(0, "compsrefcnts", refdata);
- ds_send_savedata.setColumn(0, "compssizecnts", sizedata);
- ds_send_savedata.setColumn(0, "scrnid", scrnid);
- ds_send_savedata.setColumn(0, "compscd" ,"01");
- var oParam = {};
- oParam.id = "TXMMB01102";
- oParam.service = "prcpbaseapp.EnvInfoMngt";
- oParam.method = "reqInsUserScrnEnvEstb";
- oParam.inds = "req=ds_send_savedata";
- oParam.async = false;
- tranf_submit(oParam);
- }
- function switch1_case2_caption19_ondblclick(obj:Button, e:MouseEventInfo)
- {
- var grdid = "grd_bfopprcplist";
- var scrnid = "SMMMO02500";
-
- fGetOrderInfoOfCol("switch1.case2." + grdid);
-
- var refdata = ds_listval.getColumn(0, "refdata");
- var sizedata = ds_listval.getColumn(0, "sizedata");
- ds_send_savedata.clearData();
- ds_send_savedata.addRow();
-
- ds_send_savedata.setColumn(0, "compscnts", ""); //추후 삭제 예정
- ds_send_savedata.setColumn(0, "compsrefcnts", refdata);
- ds_send_savedata.setColumn(0, "compssizecnts", sizedata);
- ds_send_savedata.setColumn(0, "scrnid", scrnid);
- ds_send_savedata.setColumn(0, "compscd", "02");
- var oParam = {};
- oParam.id = "TXMMB01102";
- oParam.service = "prcpbaseapp.EnvInfoMngt";
- oParam.method = "reqInsUserScrnEnvEstb";
- oParam.inds = "req=ds_send_savedata";
- oParam.async = false;
- tranf_submit(oParam);
- }
- function setPrcpColor(style, tempcol10, insuupdtyn) {
- var colorArray = tempcol10 + "^";
-
- var rtnVal = "";
- if(style == "background") {
- var backgroundcolor = lf_getArrayData (colorArray, 0, 0, "^", "|");
- rtnVal = (!utlf_isNull(backgroundcolor)) ? backgroundcolor : "#ffffffff";
- } else if(style == "fontcolor") {
- var fontcolor = lf_getArrayData (colorArray, 0, 1, "^", "|");
- rtnVal = (!utlf_isNull(fontcolor)) ? fontcolor : "#000000ff";
-
- // 09.10.26 박유진 보험정보 변경여부
- if(insuupdtyn == "Y") rtnVal = "#3366ffff";
- } else if(style == "fonttype") {
- var boldflag = lf_getArrayData (colorArray, 0, 2, "^", "|");
- rtnVal = (!utlf_isNull(boldflag)) ? "Dotum,9," + boldflag : "Dotum,9";
- }
- return rtnVal;
- }
- /**
- *화면 초기화
- *1.상단정보
- *2.opener window로 부터 전달받은 parameter로 처리
- */
- function fInitialize_SMMMO02500(){
- //처방일자 그리드 화면 숨김 및 전처방 그리드 화면 좌측에 맞춤
- switch1.case1.grd_prcpdd.visible = false;
- switch1.case1.grd_bfprcplist.position.left = 0;
-
- lf_ColumnOrdChange( switch1.case1.grd_bfprcplist, true );
- reqOrderInfoOfCol(ds_reqdata, ds_gridseq, "SMMMO02500", switch1.case1.grd_bfprcplist, "01");
- lf_ColumnOrdChange( switch1.case1.grd_bfprcplist, false );
-
- lf_mmbfGetDeptCodeComboList(ds_orddept, "A");
-
- appf_getCodeList([{dsNm: "ds_M0003", cdGrpId: "M0003"} //prcpkindcd
- , {dsNm: "ds_M0005", cdGrpId: "M0005"} //prcpclscd
- , {dsNm: "ds_M0011", cdGrpId: "M0011"} //prcpstatcd
- , {dsNm: "ds_M0013", cdGrpId: "M0013"}
- , {dsNm: "ds_M0015", cdGrpId: "M0015"} //opstatcd
- , {dsNm: "ds_M0017", cdGrpId: "M0017"}
- , {dsNm: "ds_M0020", cdGrpId: "M0020"} //opflagcd
- , {dsNm: "ds_M0022", cdGrpId: "M0022"}
- , {dsNm: "ds_M0029", cdGrpId: "M0029"} //payflagcd
- , {dsNm: "ds_M0330", cdGrpId: "M0330"}
- , {dsNm: "ds_P0157", cdGrpId: "P0157"}
- , {dsNm: "ds_P0327", cdGrpId: "P0327"}
- , {dsNm: "ds_P0341", cdGrpId: "P0341"}], true);
-
- ds_P0341.insertRow(0);
- ds_P0341.setColumn(0, "cdid", "입원");
- ds_P0341.setColumn(0, "cdnm", "입원");
-
- var param = opener.frmf_getParameter("SMMMO02500_cond");
-
- //상단정보로 화면 초기화
- if(utlf_isNull(param)){
- var paminfo = sysf_getGlobalVariable("paminfo");
- if(!utlf_isNull(paminfo) && paminfo.length != 0){
- dsf_setCSVToDs("ds_temp_paminfo", paminfo);
- var pid = ds_temp_paminfo.getColumn(0, "pid");
- if(!utlf_isNull(pid)){
- //환자기본정보 조회
- fReqGetPatComnInfo(ds_send_reqdata, pid);
-
- ds_patinfolist.copyData(ds_srchinfo_patinfolist);
- }
- }
- //opener의 parameter로 화면 초기화
- }else{
- ds_patinfolist.clearData();
- ds_patinfolist.addRow();
- ds_patinfolist.setColumn(0, "pid", param);
-
- fReqGetPatComnInfo(ds_send_reqdata, param);
-
- switch1.tabindex = 0;
-
- if(ds_srchinfo_patinfolist.rowcount > 0){
- ds_patinfolist.copyData(ds_srchinfo_patinfolist);
-
- ds_bfprcp_prcplist.clearData();
- ds_bfprcpday.clearData();
-
- switch1.case1.grd_prcpdd.visible = false;
- switch1.case1.grd_bfprcplist.position.left = 0;
- }else{
- var trgtpid = ds_send_reqdata.getColumn(0, "pid");
- sysf_messageBox("등록번호[" + trgtpid + "]로 환자를 조회", "E001");
- return;
- }
- }
-
- //kimsj 100121 JCI_ADR버튼
- var nodeValue = lf_getDsValue(ds_patinfolist, 0, "allergy");
- var valueArr = nodeValue.split("^");
- // 기존에 ADR/Allergy 로 두 개의 값(allergy0, allergy1)을 받던걸 하나로 변경. 둘 중하나라도 Y 이면 Y(실제로는 둘다 Y 이거나, 둘다 N으로 넘겨주기로 함)
- if (valueArr[0] == "Y" || valueArr[1] == "Y" ) btn_allergy.class = "btn_top_allergy";
- else btn_allergy.class = "";
- }
- /**
- * 환자기본정보 조회
- * @param
- * pid : 등록번호
- * stnddd : 기준일자
- */
- function fReqGetPatComnInfo(oRefDs:Dataset, pid, stnddd){
- cap_dethinfo.visible = false;
-
- oRefDs.clearData();
- oRefDs.addRow();
-
- var current_pid = fCheckedBindPid(pid);
- var prcpall = ds_cond.getColumn(0, "prcpall");
- var deptyn = ds_cond.getColumn(0, "deptyn");
-
- oRefDs.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
- oRefDs.setColumn(0, "pid", current_pid);
- oRefDs.setColumn(0, "stnddd", stnddd);
- oRefDs.setColumn(0, "prcpall", prcpall);
- oRefDs.setColumn(0, "deptyn", deptyn);
-
- dsf_setDefaultVal(oRefDs, "instcd:''");
-
- ds_bfprcp_remarks.clearData();
-
- var oParam = {};
- oParam.id = "TRMMO02505";
- oParam.service = "prcpmngtapp.PatPrcpSrchMngt";
- oParam.method = "reqGetPatBaseInfo";
- oParam.inds = "req=" + oRefDs.name;
- oParam.outds = "ds_srchinfo_patinfolist=patinfolist ds_srchinfo_patchosinfolist=patchosinfolist ds_srchinfo_patdethinfo=patdethinfo";
- oParam.async = false;
- tranf_submit(oParam);
-
-
- if(ds_srchinfo_patinfolist.getColumn(0, "recmyn") != "Y")
- ds_srchinfo_patinfolist.setColumn(0, "recmyn", "N");
-
- if(ds_srchinfo_patinfolist.getColumn(0, "vipyn") != "Y")
- ds_srchinfo_patinfolist.setColumn(0, "vipyn", "N");
-
- if(ds_srchinfo_patdethinfo.getColumn(0, "patdethyn") == 'Y'){
- cap_dethinfo.visible = true;
- }
- }
- /**
- * 전처방 정보 조회
- * @param
- * pid : 등록번호
- */
- function fGetBfPrcpList() {
- var nRow = ds_srchinfo_patchosinfolist.rowposition;
- if (nRow == undefined || nRow < 0) {
- return;
- }
-
- ds_bfprcp_prcplist.clearData();
- ds_bfprcpday.clearData();
-
- var ioflag = ds_srchinfo_patchosinfolist.getColumn(nRow, "ordtype");
- var pid = ds_srchinfo_patchosinfolist.getColumn(nRow, "pid");
- var orddd = ds_srchinfo_patchosinfolist.getColumn(nRow, "orddd");
- var orddeptcd = ds_srchinfo_patchosinfolist.getColumn(nRow, "orddeptcd");
- var orddrid = ds_srchinfo_patchosinfolist.getColumn(nRow, "orddrid");
- var cretno = ds_srchinfo_patchosinfolist.getColumn(nRow, "cretno");
- var dcflag = ds_cond.getColumn(0, "dcflag");
- var ref = "ds_send_bfprcp";
- //외래전처방조회
- if(ioflag == "O" || ioflag == "S"){
- //외래인 경우 처방일자 그리드를 화면에서 숨기고, 전처방그리드의 위치를 좌측에 맞춤
- switch1.case1.grd_prcpdd.visible = false;
- switch1.case1.grd_bfprcplist.position.left = 0;
- fReqGetPatBfPrcpList(ref, pid, orddd, cretno, orddd, ioflag, dcflag, "", orddeptcd, orddrid);
-
- //입원전처방일자 조회, 입원환자 선택시 전처방일자 조회
- }else{
- switch1.case1.grd_prcpdd.visible = true;
- switch1.case1.grd_bfprcplist.position.left = 109;
-
- fReqGetPatBfPrcpDay(ref, pid, orddd, cretno, dcflag);
- }
- }
- /**
- * 환자기본정보 조회
- * @param
- * pid : 등록번호
- * orddd : 진료일자
- * cretno : 생성번호
- * prcpdd : 처방일자
- * ioflag : 외래입원구분
- * dcflag : DC포함
- * oprsrvno: 수술예약번호(수술처방조회시)
- */
- function fReqGetPatBfPrcpList(ref, pid, orddd, cretno, prcpdd, ioflag, dcflag, oprsrvno, orddeptcd, orddrid){
- //처방 조회 시 수술관련 처방 포함 여부 flag 추가 (2009.05.28 JJE)
- var srchflag;
- var opsrchyn;
-
- if( switch1.tabindex == 1 ){ //수술탭
- srchflag = "OP";
- opsrchyn = ds_cond.getColumn(0, "nopsrchyn");
- } else {
- srchflag = "-";
- opsrchyn = ds_cond.getColumn(0, "opsrchyn");
- }
-
- var sInputDs = dsf_createDsRow(ref, [{col:"pid", type:"string", size:256, val:pid}
- ,{col:"orddd", type:"string", size:256, val:orddd}
- ,{col:"cretno", type:"string", size:256, val:cretno}
- ,{col:"prcpdd", type:"string", size:256, val:prcpdd}
- ,{col:"ioflag", type:"string", size:256, val:ioflag}
- ,{col:"dcflag", type:"string", size:256, val:dcflag}
- ,{col:"oprsrvno", type:"string", size:256, val:oprsrvno}
- ,{col:"orddeptcd", type:"string", size:256, val:orddeptcd}
- ,{col:"orddrid", type:"string", size:256, val:orddrid}
- ,{col:"srchflag", type:"string", size:256, val:srchflag}
- ,{col:"opsrchyn", type:"string", size:256, val:opsrchyn}
- ,{col:"compsrefcnts", type:"string", size:256, val:ds_gridseq.getColumn(0, "compsrefcnts")}
- ,{col:"compssizecnts", type:"string", size:256, val:ds_gridseq.getColumn(0, "compssizecnts")}
- ]);
- dsf_setDefaultVal(this.objects[sInputDs], "srchflag:-,opsrchyn:N");
-
- var oParam = {};
- oParam.id = "TRMMO02506";
- oParam.service = "prcpmngtapp.PatPrcpSrchMngt";
- oParam.method = "reqGetPatBfPrcpList";
- oParam.inds = "req=" + sInputDs;
- oParam.outds = "ds_bfprcp_prcplist=prcplist ds_bfprcp_remarks=remarks";
- oParam.async = true;
- tranf_submit(oParam);
- }
- /**
- * 환자전처방일자 조회
- *@param
- *pid : 등록번호
- *orddd : 진료일자
- *cretno : 생성번호
- *dcflag : DC구분
- */
- function fReqGetPatBfPrcpDay(ref, pid, orddd, cretno, dcflag){
- var sInputDs = dsf_createDsRow(ref, [{col:"pid", type:"string", size:256, val:pid}
- ,{col:"orddd", type:"string", size:256, val:orddd}
- ,{col:"cretno", type:"string", size:256, val:cretno}
- ,{col:"dcflag", type:"string", size:256, val:dcflag}]);
-
- var oParam = {};
- oParam.id = "TRMMO02507";
- oParam.service = "prcpmngtapp.PatPrcpSrchMngt";
- oParam.method = "reqGetPatBfPrcpDay";
- oParam.inds = "req=" + sInputDs;
- oParam.outds = "ds_bfprcpday=bfprcpday";
- oParam.async = true;
- tranf_submit(oParam);
- }
- /**
- * 환자 수술이력정보 조회
- * @param
- * pid : 등록번호
- */
- function fReqGetPatOpHistList(oRefDs:Dataset, pid){
- oRefDs.clearData();
- oRefDs.addRow();
-
- oRefDs.setColumn(0, "pid", pid);
-
- var oParam = {};
- oParam.id = "TRMMO02508";
- oParam.service = "prcpmngtapp.PatPrcpSrchMngt";
- oParam.method = "reqGetPatOpHistInfoList";
- oParam.inds = "req=" + oRefDs.name;
- oParam.outds = "ds_main_patophistlist=patophistlist";
- oParam.async = true;
- tranf_submit(oParam);
- }
- /**
- * 환자메모 팝업
- * @param
- * pid : 등록번호
- */
- function fEmrMemo() {
-
- var currow = ds_srchinfo_patchosinfolist.rowposition;
-
- var ioflag = ds_srchinfo_patchosinfolist.getColumn(currow, "ordtype");
- var pid = ds_srchinfo_patchosinfolist.getColumn(currow, "pid");
- var deptcd = ds_srchinfo_patchosinfolist.getColumn(currow, "orddeptcd");
- var deptnm = ds_srchinfo_patchosinfolist.getColumn(currow, "depthngnm");
- var hngnm = ds_patinfolist.getColumn(0, "hngnm");
- var age = ds_patinfolist.getColumn(0, "sex") + "/" + ds_patinfolist.getColumn(0, "age");
-
- frmf_setParameter("SPMMR05600_ioflag", ioflag);
- frmf_setParameter("SPMMR05600_pid", pid);
- frmf_setParameter("SPMMR05600_deptcd", deptcd); // 환자 진료과로 조회
- frmf_setParameter("SPMMR05600_hngnm", hngnm);
- frmf_setParameter("SPMMR05600_age", age);
- frmf_setParameter("SPMMR05600_deptnm", deptnm);
- frmf_setParameter("SPMMR05600_screenid", "SMMMO02500"); // 간호 메모, 진료 메모 수정을 위해 스크린 아이디를 넘긴다. 2014.04.11 엄영만
- var curMemoObj = frmf_findPopup("SPMMR05600");
- if(!utlf_isNull(curMemoObj)) {
- curMemoObj.fGetPatMemo();
- frmf_setFocusPop("SPMMR05600");
- }else{
- frmf_open("SPMMR05600", "SPMMR05600", null, false, 1, 200, 400, null, null, null, null, null, "P");
- }
- }
- /**
- * 약품편람 조회
- * @param
- * pid : 등록번호
- */
- function fDrugInfo() {
- var prcpclscd = ds_bfprcp_prcplist.getColumn(ds_bfprcp_prcplist.rowposition, "prcpclscd");
- var sDrugCd = ds_bfprcp_prcplist.getColumn(ds_bfprcp_prcplist.rowposition, "prcpcd");
-
- if (prcpclscd == "A2" || prcpclscd == "A4" || prcpclscd == "A6" ) {
- lf_DrugInfo(sDrugCd);
- } else {
- sysf_messageBox ( "약품 처방이 아닙니다.", "I999" );
- }
- }
- /**
- * Copy(클립보드)
- */
- function fCopyClipBoard() {
- var bufCnts = "";
- var rowidx;
-
- var sPrcpNm = "";
- var sDrPrcpetc8 = ""; // 1회 수량
- var sPrcpQtyUnitNm = ""; // 수량단위
- var sPrcpTims = "";
- var sPrcpClsCd = "";
-
- var selectedRows = grdf_getSelectedRows(switch1.case1.grd_bfprcplist);
-
- for (var i = 0; i < selectedRows.length; i++) {
- rowidx = selectedRows[i];
-
- sPrcpClsCd = ds_bfprcp_prcplist.getColumn(rowidx, "prcpclscd");
- sPrcpNm = ds_bfprcp_prcplist.getColumn(rowidx, "prcpnm") ;
-
- if (sPrcpClsCd == "A2" || sPrcpClsCd == "A4" || sPrcpClsCd == "A6" ) {
- sDrPrcpetc8 = ds_bfprcp_prcplist.getColumn(rowidx, "drprcpetc8") ; // 1회 수량
- sPrcpQtyUnitNm = ds_bfprcp_prcplist.getColumn(rowidx, "prcpqtyunitnm") ; // 수량단위
- sPrcpTims = ds_bfprcp_prcplist.getColumn(rowidx, "prcptims") ;
-
- bufCnts += sPrcpNm + " " + sDrPrcpetc8 + sPrcpQtyUnitNm + " X " + sPrcpTims + "\r\n";
- } else {
- bufCnts += sPrcpNm + "\r\n";
- }
- }
-
- // 키 값 추후에 확인필요
- system.setClipboard("CF_TEXT", bufCnts);
- }
- /**
- * 처방 희망일자 변경
- */
- function fChangeHopeDd() {
- try {
- var nRow;
- var nSelRow;
-
- var sPrcpHopeDd = "";
-
- frmf_setParameter("paramcalflag", "sngl");
- frmf_setParameter("defaultday", utlf_getCurrentDate());
- frmf_setParameter("reqparam", utlf_getCurrentDate());
- frmf_setParameter("prcpdayno" , "1");
- lf_prcpModal("SPMMO10600", 20, 50);
- sPrcpHopeDd = frmf_getParameter("rtn");
- if (utlf_isNull(sPrcpHopeDd)) { // 값이 없으면 return
- return;
- } else if ( sysf_messageBox ( "선택된 처방의 희망일자를 " + utlf_splitDateS(sPrcpHopeDd, "-") + " 로 변경 하시겠습니까?","Q") != "6" ) {
- return;
- }
-
- var sRef = dsf_createDs("ds_send_changehopedd", [{col:"instcd", type:"string", size:256},
- {col:"prcpdd", type:"string", size:256},
- {col:"prcpno", type:"string", size:256},
- {col:"prcphistno", type:"string", size:256},
- {col:"prcpgenrflag", type:"string", size:256},
- {col:"prcphopedd", type:"string", size:256}]);
-
-
- var selectedRows = grdf_getSelectedRows(switch1.case1.grd_bfprcplist);
- for (var i = 0; i < selectedRows.length; i++) {
- nSelRow = selectedRows[i];
-
- nRow = ds_send_changehopedd.addRow();
- ds_send_changehopedd.setColumn(nRow, "instcd", ds_bfprcp_prcplist.getColumn(nSelRow, "instcd"));
- ds_send_changehopedd.setColumn(nRow, "prcpdd", ds_bfprcp_prcplist.getColumn(nSelRow, "prcpdd"));
- ds_send_changehopedd.setColumn(nRow, "prcpno", ds_bfprcp_prcplist.getColumn(nSelRow, "prcpno"));
- ds_send_changehopedd.setColumn(nRow, "prcphistno", ds_bfprcp_prcplist.getColumn(nSelRow, "prcphistno"));
- ds_send_changehopedd.setColumn(nRow, "prcpgenrflag", ds_bfprcp_prcplist.getColumn(nSelRow, "prcpgenrflag"));
- ds_send_changehopedd.setColumn(nRow, "prcphopedd", sPrcpHopeDd);
- }
-
- var oParam = {};
- oParam.id = "TXMMO02501";
- oParam.service = "prcpmngtapp.PrcpMngt";
- oParam.method = "reqExeChangeHopeDd";
- oParam.inds = "req=" + sRef;
- oParam.async = false;
- oParam.callback = "cf_TXMMO02501";
- tranf_submit(oParam);
- if(arErrorCode.pop("TXMMO02501") > -1) {
- fGetBfPrcpList();
- } else {
- sysf_messageBox ( "처방 희망일자 변경 중 오류가 발생 하였습니다.", "E999" );
- }
-
- } catch(err) {
- sysf_messageBox ( "처방 희망일자 변경 중 예외가 발생 하였습니다.", "E999" );
- }
- }
- function cf_TXMMO02501(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function fGetOrderInfoOfCol(grdID){
- var grdObj = eval(grdID);
- var refdata = ""; // ref
- var sizedata = ""; // size
- var refval = "";
- var sizeval = "";
- var totcol = grdObj.getCellCount("Head");
- for(var i = 0; i < totcol; i++){
- refval = lf_getBindCellName(grdObj, i);
- refdata += refval + "^";
-
- sizeval = grdObj.getRealColSize(i);
- sizedata += sizeval + "^";
- }
- refdata = refdata.substring(0 , refdata.length-1);
- sizedata = sizedata.substring(0, sizedata.length-1);
- ds_listval.clearData();
- ds_listval.addRow();
- ds_listval.setColumn(0, "refdata", refdata);
- ds_listval.setColumn(0, "sizedata", sizedata);
- }
- /**
- * 등록번호(환자) 조회
- * @param
- * pid : 등록번호
- */
- function getPIDEnter() {
- var pid = utlf_trim(ipt_pid.text);
- ds_patinfolist.setColumn(0, "pid", pid);
- fReqGetPatComnInfo(ds_send_reqdata, pid);
-
- switch1.tabindex = 0;
-
- if(ds_srchinfo_patinfolist.rowcount > 0){
- ds_patinfolist.copyData(ds_srchinfo_patinfolist);
-
- ds_bfprcp_prcplist.clearData();
- ds_bfprcpday.clearData();
- switch1.case1.grd_prcpdd.visible = false;
- switch1.case1.grd_bfprcplist.position.left = 0;
-
- //kimsj 100121 JCI_ADR버튼
- var nodeValue = ds_patinfolist.getColumn(0, "allergy");
- var valueArr = nodeValue.split("^");
- // 기존에 ADR/Allergy 로 두 개의 값(allergy0, allergy1)을 받던걸 하나로 변경. 둘 중하나라도 Y 이면 Y(실제로는 둘다 Y 이거나, 둘다 N으로 넘겨주기로 함)
- if (valueArr[0] == "Y" || valueArr[1] == "Y") btn_allergy.class = "btn_top_allergy";
- else btn_allergy.class = "";
- }else{
- var trgtpid = ds_send_reqdata.getColumn(0, "pid");
- sysf_messageBox("등록번호[" + trgtpid + "]로 환자를 조회", "E001");
- return;
- }
- }
- function fChgViewPrcpnm() {
- var prcphngcd = ds_cond.getColumn(0, "prcphngcd");
- var prcphngnmIndex = switch1.case1.grd_bfprcplist.getBindCellIndex("body", "prcphngnm");
- var prcpnmIndex = switch1.case1.grd_bfprcplist.getBindCellIndex("body", "prcpnm");
-
- if (prcphngcd == "Y") {
- switch1.case1.grd_bfprcplist.setFormatColProperty(prcphngnmIndex, "size", switch1.case1.grd_bfprcplist.getFormatColProperty(prcpnmIndex, "size"));
- switch1.case1.grd_bfprcplist.setFormatColProperty(prcpnmIndex, "size", 0);
- } else {
- switch1.case1.grd_bfprcplist.setFormatColProperty(prcpnmIndex, "size", switch1.case1.grd_bfprcplist.getFormatColProperty(prcphngnmIndex, "size"));
- switch1.case1.grd_bfprcplist.setFormatColProperty(prcphngnmIndex, "size", 0);
- }
- }
- function bool3_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- pid = ds_patinfolist.getColumn(0, "pid"); //model.getValue("/root/main/patinfolist/pid");
- fReqGetPatComnInfo(ds_send_reqdata, pid); //fReqGetPatComnInfo("/root/send/reqdata", pid);
- }
- function lf_ColumnOrdChange(grdObj, bFlag){
- if( utlf_isNull(grdObj) ) return;
-
- if( bFlag == true ){
- var cIdx = grdObj.getBindCellIndex("body","prcpvol");
- grdObj.splitContentsCell("head",0,cIdx,0,cIdx,true);
- var cIdx2 = grdObj.getBindCellIndex("body","prcpqty");
- grdObj.splitContentsCell("head",0,cIdx2,0,cIdx2,true);
- }else if( bFlag == false ){
- var sIdx = grdObj.getBindCellIndex("body","prcpvol");
- grdObj.setCellProperty("head",0,sIdx,"1회용량")
- grdObj.mergeContentsCell("head",0,sIdx,0,sIdx+2,sIdx,false);
- var sIdx2 = grdObj.getBindCellIndex("body","prcpqty");
- grdObj.setCellProperty("head",0,sIdx2,"1회수량")
- grdObj.mergeContentsCell("head",0,sIdx2,0,sIdx2+2,sIdx2,false);
- }
- }
- function btn_undo00_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_setParameter("SPMMO33900_pid", ds_patinfolist.getColumn(0, "pid"));
- frmf_setParameter("SPMMO33900_hngnm", ds_patinfolist.getColumn(0, "hngnm"));
-
- frmf_modal("SPMMO33900", "SPMMO33900", null, null, null, null, null, null, null, null, null, null, "M");
- }
- function btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(switch1.case1.grd_bfprcplist_excel, "환자진료정보처방이력", "SheetName", false, null, "open", true);
- }
- ]]></Script>
- </Form>
- </FDL>
|