1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMADB10100" position="absolute 0 0 1192 753" titletext="약력조회" oninit="SMADB10100_oninit" onload="SMADB10100_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 1188 25" id="group1" anchor="left top right">
- <Layouts>
- <Layout>
- <Static text="약력조회" position="absolute 0 0 160 25" id="caption6" class="tit_1" anchor="default"/>
- <Button position="absolute 1083 2 1187 24" id="button3" class="btn3" text="통합결과조회" anchor="top right" onclick="group1_button3_onclick"/>
- <Button position="absolute 977 2 1081 24" id="button4" class="btn3" text="통합기록조회" anchor="top right" onclick="group1_button4_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 25 1190 751" id="group3" scrollbars="autoboth" anchor="all">
- <Layouts>
- <Layout>
- <Shape position="absolute 523 24 1187 30" linetype="horizontal" id="line1" class="line_2" anchor="top right"/>
- <Shape position="absolute 523 48 1187 54" linetype="horizontal" id="line4" class="line_2" anchor="top right"/>
- <Shape position="absolute 523 72 1187 78" linetype="horizontal" id="line6" class="line_2" anchor="top right"/>
- <Tab position="absolute 0 106 1188 725" id="switch2" anchor="all" tabindex="1" onchanged="group3_switch2_onchanged">
- <Tabpages>
- <Tabpage text="약품별" id="case1" style="anchor:default;margin:0 0 0 0;" scrollbars="none">
- <Layouts>
- <Layout/>
- </Layouts>
- </Tabpage>
- <Tabpage text="적용시간별" id="case2" style="anchor:default;margin:0 0 0 0;">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 3 255 592" id="grd_prcphistory" binddataset="ds_main_prcphistory" anchor="left top bottom" oncellclick="group3_switch2_case2_grd_prcphistory_oncellclick" selecttype="multirow" autosizingtype="row" extendsizetype="row" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="72"/>
- <Column size="36"/>
- <Column size="88"/>
- <Column size="60"/>
- <Column size="78"/>
- <Column size="36"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="35" 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="caption1"/>
- <Cell col="7"/>
- </Band>
- <Band id="body">
- <Cell displaytype="date" text="bind:prcpdd"/>
- <Cell col="1" text="bind:ionm"/>
- <Cell col="2" displaytype="text" style="padding:2 2 2 2;" text="bind:orddeptnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="3" text="bind:ordrgstdrnm"/>
- <Cell col="4" displaytype="date" text="bind:orddd"/>
- <Cell col="5" text="bind:careinyn"/>
- <Cell col="6" text="bind:ioflag"/>
- <Cell col="7" text="bind:orddeptid"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 255 3 1187 489" id="grd_prcplist" class="datagrid2" scrollbars="autoboth" binddataset="ds_main_prcporderhistory" anchor="all" cellsizingtype="col" oncelldblclick="group3_switch2_case2_grd_prcplist_oncelldblclick" selecttype="multirow" oncellclick="group3_switch2_case2_grd_prcplist_oncellclick" cellsizebandtype="allband" onrbuttondown="group3_switch2_case2_grd_prcplist_onrbuttondown" onrbuttonup="group3_switch2_case2_grd_prcplist_onrbuttonup">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="50" band="left"/>
- <Column size="30" band="left"/>
- <Column size="48" band="left"/>
- <Column size="29" band="left"/>
- <Column size="0" band="left"/>
- <Column size="95" band="left"/>
- <Column size="203"/>
- <Column size="55"/>
- <Column size="54"/>
- <Column size="31"/>
- <Column size="47"/>
- <Column size="47"/>
- <Column size="30"/>
- <Column size="23"/>
- <Column size="26"/>
- <Column size="56"/>
- <Column size="110"/>
- <Column size="116"/>
- <Column size="116"/>
- <Column size="25"/>
- <Column size="25"/>
- <Column size="25"/>
- <Column size="25"/>
- <Column size="25"/>
- <Column size="25"/>
- <Column size="25"/>
- <Column size="116"/>
- <Column size="54"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="51"/>
- <Column size="51"/>
- <Column size="54"/>
- <Column size="116"/>
- <Column size="80"/>
- <Column size="30"/>
- <Column size="100"/>
- <Column size="300"/>
- </Columns>
- <Rows>
- <Row size="35" band="head"/>
- <Row size="29"/>
- </Rows>
- <Band id="head">
- <Cell text="약번호"/>
- <Cell col="1" text="수납 여부" wordwrap="char"/>
- <Cell col="2" text="구분"/>
- <Cell col="3"/>
- <Cell col="4" text="처방번호"/>
- <Cell col="5" text="약품코드"/>
- <Cell col="6" text="약품명"/>
- <Cell col="7" text="1일용량"/>
- <Cell col="8" text="1회용량"/>
- <Cell col="9" text="단위"/>
- <Cell col="10" text="1일수량"/>
- <Cell col="11" text="1회수량"/>
- <Cell col="12" text="단위"/>
- <Cell col="13" text="횟 수" wordwrap="char"/>
- <Cell col="14" text="일 수" wordwrap="char"/>
- <Cell col="15" text="용법"/>
- <Cell col="16" text="용법명"/>
- <Cell col="17" colspan="2" text="처방출력일시" taborder="undefined"/>
- <Cell col="19" text="Mix" wordwrap="char"/>
- <Cell col="20" text="산제" wordwrap="char"/>
- <Cell col="21" text="HOME" wordwrap="char"/>
- <Cell col="22" text="Self" wordwrap="char"/>
- <Cell col="23" text="응급" wordwrap="char"/>
- <Cell col="24" text="선처치" wordwrap="char"/>
- <Cell col="25" text="부서처방" wordwrap="char"/>
- <Cell col="26" text="집계일시"/>
- <Cell col="27" text="급여"/>
- <Cell col="28" text="발행부서"/>
- <Cell col="29" text="수행부서"/>
- <Cell col="30" text="M-Set"/>
- <Cell col="31" text="병동"/>
- <Cell col="32" text="병실"/>
- <Cell col="33" text="처방의"/>
- <Cell col="34" text="입력자"/>
- <Cell col="35" text="처방입력일시"/>
- <Cell col="36" text="예약일"/>
- <Cell col="37" text="사용종료" wordwrap="char"/>
- <Cell col="38" text="DUR모듈명"/>
- <Cell col="39" text="DUR 처방사유"/>
- </Band>
- <Band id="body">
- <Cell displaytype="text" style="align:center middle;background:BIND(tempbgcolor1);background2:BIND(tempbgcolor1);" text="bind:drugno" suppress="1" suppressalign="middle,over" autosizerow="default"/>
- <Cell col="1" style="align:left middle;padding:0 3 0 3;background:BIND(tempbgcolor2);background2:BIND(tempbgcolor2);" text="bind:rcptyn" wordwrap="char" suppress="2" suppressalign="middle,over"/>
- <Cell col="2" style="align:left middle;padding:0 3 0 3;background:BIND(tempbgcolor3);background2:BIND(tempbgcolor3);" text="bind:hosinhosoutflagnm" wordwrap="char" suppress="3" suppressalign="middle,over"/>
- <Cell col="3" style="align:center middle;padding:0 3 0 3;background:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');background2:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');" text="bind:execprcphistcd" wordwrap="char" suppress="4" suppressalign="middle,over"/>
- <Cell col="4" style="background:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');background2:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');" text="bind:prcpno" suppress="5"/>
- <Cell col="5" style="align:left;padding:2 2 2 2;background:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');background2:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');color:EXPR(prntdt2 !='' ?'#0054FF':'');color2:EXPR(prntdt2 !='' ?'#0054FF':'');" text="bind:prcpcd" wordwrap="char" suppress="6" suppressalign="middle,over"/>
- <Cell col="6" style="align:left top;padding:2 2 2 2;background:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');background2:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');color:EXPR(prntdt2 !='' ?'#0054FF':'');color2:EXPR(prntdt2 !='' ?'#0054FF':'');" text="bind:prcpnm" wordwrap="char" suppress="7" suppressalign="middle,over" autosizerow="default"/>
- <Cell col="7" style="align:right;background:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');background2:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');" text="bind:prcpvol" suppress="8" suppressalign="middle,over"/>
- <Cell col="8" style="align:right;background:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');background2:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');" text="bind:prcpvol2" suppress="9" suppressalign="middle,over"/>
- <Cell col="9" style="align:left;padding:0 0 0 5;background:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');background2:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');" text="bind:prcpvolunit" suppress="10" suppressalign="middle,over"/>
- <Cell col="10" style="align:right;background:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');background2:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');" text="bind:prcpqty" suppress="11" suppressalign="middle,over"/>
- <Cell col="11" style="align:right;background:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');background2:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');" text="bind:prcpqty2" suppress="12" suppressalign="middle,over"/>
- <Cell col="12" style="align:left;padding:0 0 0 5;background:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');background2:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');" text="bind:prcpqtyunit" suppress="13" suppressalign="middle,over"/>
- <Cell col="13" style="align:right;background:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');background2:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');" text="bind:prcptims" suppress="14" suppressalign="middle,over"/>
- <Cell col="14" style="align:right;background:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');background2:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');" text="bind:prcpdayno" suppress="15" suppressalign="middle,over"/>
- <Cell col="15" style="align:left;padding:2 2 2 2;background:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');background2:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');" text="bind:mthdcd" wordwrap="char" suppress="16" suppressalign="middle,over" autosizerow="limitmin"/>
- <Cell col="16" style="align:left;padding:2 2 2 2;background:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');background2:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');" text="bind:mthdnm" wordwrap="char" suppress="17" suppressalign="middle,over" autosizerow="limitmin"/>
- <Cell col="17" style="background:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');background2:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');" text="bind:prntdt" mask="expr:!utlf_isNull(prntdt) && prntdt!='-'?"@@@@-@@-@@ @@:@@:@@":""" suppress="18" suppressalign="middle,over"/>
- <Cell col="18" style="background:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');background2:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');" text="bind:prntdt2" mask="expr:!utlf_isNull(prntdt2) && prntdt2!='-'?"@@@@-@@-@@ @@:@@:@@":""" suppress="19" suppressalign="middle,over"/>
- <Cell col="19" style="background:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');background2:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');" text="bind:prcpmixno" suppress="20" suppressalign="middle,over"/>
- <Cell col="20" displaytype="checkbox" edittype="checkbox" style="background:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');background2:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');" text="bind:powdflag" expr="expr:(powdflag=="Y"||powdflag==1)?1:0" suppress="21" suppressalign="middle,over" enable="true"/>
- <Cell col="21" displaytype="checkbox" edittype="checkbox" style="background:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');background2:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');" text="bind:selfprcpflag" expr="expr:(selfprcpflag=="Y"||selfprcpflag==1)?1:0" suppress="22" suppressalign="middle,over" enable="true"/>
- <Cell col="22" displaytype="checkbox" edittype="checkbox" style="background:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');background2:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');" text="bind:selfdrugflag" expr="expr:(selfdrugflag=="Y"||selfdrugflag==1)?1:0" suppress="23" suppressalign="middle,over" enable="false"/>
- <Cell col="23" displaytype="checkbox" edittype="checkbox" style="background:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');background2:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');" text="bind:erprcpflag" expr="expr:(erprcpflag=="Y"||erprcpflag==1)?1:0" suppress="24" suppressalign="middle,over" enable="true"/>
- <Cell col="24" displaytype="checkbox" edittype="checkbox" style="background:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');background2:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');" text="bind:precureprcpflag" expr="expr:(precureprcpflag=="Y"||precureprcpflag==1)?1:0" suppress="25" suppressalign="middle,over" enable="true"/>
- <Cell col="25" displaytype="checkbox" edittype="checkbox" style="background:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');background2:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');" text="bind:prcpauthflag" expr="expr:(prcpauthflag=="Y"||prcpauthflag==1)?1:0" suppress="26" suppressalign="middle,over" enable="true"/>
- <Cell col="26" style="background:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');background2:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');" text="bind:drugsumdt" mask="expr:!utlf_isNull(drugsumdt) && drugsumdt!='-'?"@@@@-@@-@@ @@:@@:@@":""" suppress="27" suppressalign="middle,over"/>
- <Cell col="27" style="background:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');background2:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');" text="bind:payflagcd" suppress="28" suppressalign="middle,over"/>
- <Cell col="28" style="align:left;padding:0 0 0 5;background:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');background2:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');" text="bind:issdeptnm" wordwrap="char" suppress="29" suppressalign="middle,over" autosizerow="limitmin"/>
- <Cell col="29" style="align:left;padding:0 0 0 5;background:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');background2:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');" text="bind:prcpexecdeptnm" wordwrap="char" suppress="30" suppressalign="middle,over" autosizerow="limitmin"/>
- <Cell col="30" style="align:left;padding:0 0 0 5;background:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');background2:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');" text="bind:inclprcpcd" wordwrap="char" suppress="31" suppressalign="middle,over" autosizerow="limitmin"/>
- <Cell col="31" style="align:left;padding:0 0 0 5;background:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');background2:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');" text="bind:wardnm" suppress="32" suppressalign="middle,over"/>
- <Cell col="32" style="align:left;padding:0 0 0 5;background:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');background2:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');" text="bind:roomcd" suppress="33" suppressalign="middle,over"/>
- <Cell col="33" style="background:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');background2:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');" text="bind:ordnm" suppress="34" suppressalign="middle,over"/>
- <Cell col="34" style="background:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');background2:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');" text="bind:rgstnm" suppress="35" suppressalign="middle,over"/>
- <Cell col="35" style="background:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');background2:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');" text="bind:appdt" mask="expr:!utlf_isNull(appdt) && appdt!='-'?"@@@@-@@-@@ @@:@@:@@":""" suppress="36" suppressalign="middle,over"/>
- <Cell col="36" displaytype="expr:!utlf_isNull(actorddd) ? "date" : "normal"" style="background:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');background2:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');" text="bind:actorddd" suppress="37" suppressalign="middle,over"/>
- <Cell col="37" style="background:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');background2:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');" text="bind:outdrugnoyn" suppress="38" suppressalign="middle,over"/>
- <Cell col="38" style="align:left top;padding:5 0 0 5;background:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');background2:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');" text="bind:resnnm" wordwrap="char" suppress="39" suppressalign="middle,over"/>
- <Cell col="39" style="align:left top;padding:5 0 0 5;background:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');background2:EXPR(execprcphistcd=='C' || execprcphistcd=='50'?'#b9e5fb':execprcphistcd=='D'?'#7BE6B7':execprcphistcd=='E'?'#f3e1bf':'');" text="bind:resncnts" wordwrap="char" suppress="40" suppressalign="middle,over"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 257 510 1187 516" linetype="horizontal" id="line10" class="line_1" anchor="left right bottom"/>
- <TextArea position="absolute 342 539 1187 592" id="tar_innrmemo" anchor="left right bottom" wordwrap="char"/>
- <Edit position="absolute 379 517 456 536" id="ipt_writid" class="input_essential" anchor="left bottom" onkeyup="group3_switch2_case2_ipt_writid_onkeyup" autoselect="true"/>
- <Button position="absolute 1086 517 1187 536" id="button9" class="btn2" text="조제시참조사항" anchor="right bottom" onclick="group3_switch2_case2_button9_onclick"/>
- <Static text="사번" position="absolute 342 515 377 538" id="caption3" class="cell_1" anchor="left bottom" style="padding:0 0 0 4;"/>
- <Edit position="absolute 497 517 574 536" id="ipt_writenm" anchor="left bottom" readonly="true" class="output"/>
- <Button position="absolute 997 517 1039 536" id="btn_new" class="btn5" enable="false" text="추가" anchor="right bottom" onclick="group3_switch2_case2_btn_new_onclick"/>
- <Static text="약사메모 ( * 모든 약제 부서에서 입력한 약사메모를 포함하며, 이력 선택시 조회 가능 합니다.)" position="absolute 257 494 839 510" id="caption4" class="tit_2" anchor="left bottom"/>
- <Static text="작성일시" position="absolute 579 515 659 538" align="align:center middle;" id="caption5" class="cell_1" anchor="left bottom" style="padding:0 0 0 8;"/>
- <Static text="이름" position="absolute 460 515 495 538" id="caption7" class="cell_1" anchor="left bottom" style="padding:0 0 0 4;"/>
- <MaskEdit position="absolute 661 517 949 536" id="input3" mask="####-##-## ##:##:##" anchor="left right bottom" readonly="true" type="string" displaynulltext=" " style="align:left middle;"/>
- <Shape position="absolute 257 589 1182 595" linetype="horizontal" id="line3" class="line_3" anchor="left bottom"/>
- <Static text="메모사항" position="absolute 257 515 341 592" id="caption8" class="cell_1" anchor="left bottom"/>
- <Button position="absolute 953 517 995 536" id="button13" class="btn2" text="이력" anchor="right bottom" onclick="group3_switch2_case2_button13_onclick"/>
- <Button position="absolute 1041 517 1083 536" id="button14" class="btn5" text="저장" anchor="right bottom" onclick="group3_switch2_case2_button14_onclick"/>
- <!--<PopupMenu id="pmn_menu" innerdataset="@ds_mouserght" idcolumn="func" captioncolumn="label" levelcolumn="level" onmenuclick="pmn_menu_onmenuclick" position="absolute 500 200 800 222"/>-->
- <Div position="absolute 745 170 1179 372" id="group5" visible="false" anchor="default" class="div_SA2">
- <Layouts>
- <Layout>
- <Grid position="absolute 2 2 432 177" id="datagrid2" visible="true" scrollbars="autoboth" binddataset="ds_main_detlprcplist_detlprcpinfo" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="81"/>
- <Column size="71"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="121"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="90"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="구분"/>
- <Cell col="2" text="ioflag"/>
- <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="execrid"/>
- <Cell col="15" text="실시자"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" text="bind:ioflagnm"/>
- <Cell col="2" text="bind:ioflag"/>
- <Cell col="3" text="bind:prcpno"/>
- <Cell col="4" text="bind:drugno"/>
- <Cell col="5" text="bind:roomcd"/>
- <Cell col="6" displaytype="expr:utlf_isNull(execdd) || execdd == '-' ? 'normal' : 'date'" text="bind:execdd"/>
- <Cell col="7" text="bind:exectm" mask="expr:utlf_isNull(exectm) || exectm == '-' ? '' : '##:##'"/>
- <Cell col="8" text="bind:drugsumdt" mask="yyyy-mm-dd hh:nn:ss"/>
- <Cell col="9" text="bind:sumdeptnm"/>
- <Cell col="10" text="bind:execdeptnm"/>
- <Cell col="11" text="bind:issdeptcdnm"/>
- <Cell col="12" text="bind:sumdt" mask="yyyy-mm-dd hh:nn:ss"/>
- <Cell col="13" text="bind:prntdt" mask="yyyy-mm-dd hh:nn:ss"/>
- <Cell col="14" text="bind:execrid"/>
- <Cell col="15" text="bind:execrnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 376 178 432 200" id="button10" class="btn4" text="닫기" anchor="default" onclick="group3_switch2_case2_group5_button10_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape id="line00" class="line_1" position="absolute 257 509 1187 515" anchor="left right bottom"/>
- <Shape id="line01" class="line_1" position="absolute 257 511 1187 517" anchor="left right bottom"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="회신서" id="case6" style="anchor:default;margin:0 0 0 0;">
- <Layouts>
- <Layout>
- <TextArea position="absolute 525 0 1187 596" id="textarea1" anchor="all"/>
- <Grid position="absolute 0 0 525 596" id="grd_reqlist" scrollbars="fixedboth" binddataset="ds_main_reqlist" anchor="left top bottom" oncelldblclick="group3_switch2_case6_grd_reqlist_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="45"/>
- <Column size="86"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="99"/>
- <Column size="100"/>
- <Column size="56"/>
- <Column size="100"/>
- <Column size="59"/>
- <Column size="53"/>
- <Column size="0"/>
- <Column size="58"/>
- <Column size="100"/>
- <Column size="86"/>
- <Column size="57"/>
- <Column size="161"/>
- <Column size="54"/>
- <Column size="58"/>
- <Column size="100"/>
- <Column size="119"/>
- <Column size="52"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="상태"/>
- <Cell col="1" text="환자번호"/>
- <Cell col="2" text="성명"/>
- <Cell col="3" text="cretno"/>
- <Cell col="4" text="orddeptcd"/>
- <Cell col="5" text="prcpgenrflag"/>
- <Cell col="6" text="의뢰일자"/>
- <Cell col="7" text="회신일자"/>
- <Cell col="8" text="회신약사"/>
- <Cell col="9" text="의뢰구분"/>
- <Cell col="10" text="병실"/>
- <Cell col="11" text="A/S"/>
- <Cell col="12" text="rrgstno"/>
- <Cell col="13" text="환자상태"/>
- <Cell col="14" text="주상병"/>
- <Cell col="15" text="내원/입원일"/>
- <Cell col="16" text="재원일수"/>
- <Cell col="17" text="의뢰약물"/>
- <Cell col="18" text="의뢰과"/>
- <Cell col="19" text="의뢰자"/>
- <Cell col="20" text="의뢰이유"/>
- <Cell col="21" text="전달사항"/>
- <Cell col="22" text="의뢰번호"/>
- <Cell col="23" text="reqdeptcd"/>
- <Cell col="24" text="requserid"/>
- </Band>
- <Band id="body">
- <Cell text="bind:stat"/>
- <Cell col="1" text="bind:pid"/>
- <Cell col="2" text="bind:hngnm"/>
- <Cell col="3" text="bind:cretno"/>
- <Cell col="4" text="bind:orddeptcd"/>
- <Cell col="5" text="bind:prcpgenrflag"/>
- <Cell col="6" text="bind:reqdd"/>
- <Cell col="7" text="bind:repldd"/>
- <Cell col="8" text="bind:replpharmst"/>
- <Cell col="9" displaytype="combo" edittype="combo" text="bind:reqdetlflag" combodataset="ds_combo_reqdetlflag" combocodecol="value" combodatacol="label"/>
- <Cell col="10" text="bind:wardnm"/>
- <Cell col="11" text="bind:agesex"/>
- <Cell col="12" text="bind:rrgstno"/>
- <Cell col="13" text="bind:patstat"/>
- <Cell col="14" text="bind:diagcd"/>
- <Cell col="15" text="bind:orddd"/>
- <Cell col="16" text="bind:inhospday"/>
- <Cell col="17" text="bind:reqdrug"/>
- <Cell col="18" text="bind:reqdeptnm"/>
- <Cell col="19" text="bind:requsernm"/>
- <Cell col="20" text="bind:reqresn"/>
- <Cell col="21" text="bind:reqcommnet"/>
- <Cell col="22" text="bind:formrecseq"/>
- <Cell col="23" text="bind:reqdeptcd"/>
- <Cell col="24" text="bind:requserid"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Edit readonly="true" position="absolute 606 30 1187 49" id="output4" anchor="top right" class="output"/>
- <Edit readonly="true" position="absolute 764 6 841 25" id="output5" anchor="top right" class="output"/>
- <Edit readonly="true" position="absolute 900 6 966 25" id="output9" anchor="top right" class="output"/>
- <Static text="주소" position="absolute 523 28 603 51" align="align:center middle;" id="caption11" class="cell_1" anchor="top right"/>
- <Static text="키" position="absolute 706 4 761 27" align="align:center middle;" id="caption13" class="cell_1" anchor="top right"/>
- <Shape position="absolute 523 -1 1187 5" linetype="horizontal" id="line2" class="line_1" anchor="top right"/>
- <Static text="체중" position="absolute 844 4 899 27" align="align:center middle;" id="caption16" class="cell_1" anchor="top right"/>
- <Edit readonly="true" position="absolute 606 6 645 25" id="output1" anchor="top right" class="output"/>
- <Static text="성별/나이" position="absolute 523 4 603 27" align="align:center middle;" id="caption9" class="cell_1" anchor="top right"/>
- <Static text="연락처" position="absolute 523 52 603 75" align="align:center middle;" id="caption18" class="cell_1" anchor="top right"/>
- <Edit readonly="true" position="absolute 606 54 840 73" id="output3" anchor="top right" class="output"/>
- <Div position="absolute 0 0 520 99" align="align:center top;" id="group6" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Static text="적 용 일 시 :" position="absolute 16 31 102 48" id="caption24" class="search_name" anchor="default"/>
- <Shape position="absolute 437 10 443 90" linetype="vertical" id="line5" anchor="top right"/>
- <Calendar position="absolute 105 29 190 48" id="input9" class="input_search" anchor="default" dateformat="yyyy-MM-dd" value="null" autoselect="true"/>
- <Static text="복 약 구 분 :" position="absolute 16 53 107 70" id="caption25" class="search_name" anchor="default"/>
- <Static text="환 자 :" position="absolute 16 7 102 24" id="caption26" class="search_name" anchor="default"/>
- <Combo position="absolute 105 52 220 71" id="combo2" class="combo_search" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">
- </Col>
- <Col id="datacolumn">
- </Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Button position="absolute 200 8 216 24" id="button15" class="icon_search" text="" anchor="default" onclick="group3_group6_button15_onclick"/>
- <Edit position="absolute 220 7 325 26" id="input10" class="input_search" anchor="default" autoselect="true"/>
- <Edit position="absolute 105 7 196 26" id="input11" class="input_search" anchor="default" onkeydown="group3_group6_input11_onkeydown" autoselect="true"/>
- <Static text="약 품 코 드 :" position="absolute 16 76 106 93" id="caption27" class="search_name" anchor="default"/>
- <Calendar position="absolute 255 29 340 48" id="input12" class="input_search" anchor="default" dateformat="yyyy-MM-dd" autoselect="true"/>
- <Static text="~" position="absolute 243 33 258 48" id="caption29" anchor="default"/>
- <Button position="absolute 400 30 416 46" id="button16" class="icon_search" visible="false" text="" anchor="default"/>
- <Button position="absolute 225 76 241 92" id="button17" class="icon_search" text="" anchor="default" onclick="group3_group6_button17_onclick"/>
- <Edit position="absolute 105 75 220 94" id="input13" class="input_search" anchor="default" imemode="alpha" autoselect="true"/>
- <Button position="absolute 450 39 506 61" id="btn_sea" class="btn1" text="조회" anchor="top right" onclick="group3_group6_btn_sea_onclick"/>
- <MaskEdit position="absolute 345 29 391 48" id="input1" class="input_search" mask="@@:@@" anchor="default" type="string" autoselect="true"/>
- <MaskEdit position="absolute 195 29 241 48" id="input2" class="input_search" mask="@@:@@" anchor="default" type="string" autoselect="true"/>
- </Layout>
- </Layouts>
- </Div>
- <Edit readonly="true" position="absolute 1026 6 1187 25" id="output2" anchor="top right" class="output"/>
- <Static text="보험" position="absolute 970 4 1025 27" align="align:center middle;" id="caption1" class="cell_1" anchor="top right"/>
- <Edit readonly="true" position="absolute 650 6 700 25" id="output6" anchor="top right" class="output"/>
- <Static text="휴대전화" position="absolute 845 52 925 75" align="align:center middle;" id="caption2" class="cell_1" anchor="top right"/>
- <Edit readonly="true" position="absolute 928 54 1187 73" id="output7" anchor="top right" class="output"/>
- <Static text="진단정보" position="absolute 523 76 603 99" align="align:center middle;" id="caption10" class="cell_1" anchor="top right"/>
- <Button position="absolute 581 78 597 94" id="button61" class="icon_search" text="" anchor="top right" onclick="group3_button61_onclick"/>
- <Edit readonly="true" position="absolute 606 78 1187 97" id="output8" anchor="top right" class="output"/>
- <Shape position="absolute 523 96 1187 102" linetype="horizontal" id="line15" class="line_3" anchor="top right"/>
- <CheckBox position="absolute 197 111 272 126" id="checkbox1" anchor="default" text="삭제포함" truevalue="Y" value="false"/>
- <Button position="absolute 285 106 349 128" id="btn_save" class="btn5" text="원외승인" anchor="default" onclick="group3_btn_save_onclick"/>
- <Button position="absolute 457 106 549 128" id="button19" class="btn3" text="반환약관리" anchor="default" onclick="group3_button19_onclick"/>
- <Button position="absolute 351 106 455 128" id="btn_oprcprint" class="btn3" text="원외처방출력" anchor="default" onclick="group3_btn_oprcprint_onclick"/>
- <Button position="absolute 551 106 626 128" id="button12" class="btn2" visible="false" text="확대/축소" anchor="default" onclick="group3_button12_onclick"/>
- <Shape id="line00" class="line_1" position="absolute 523 0 1187 6" anchor="top right"/>
- <Shape id="line03" class="line_1" position="absolute 523 -2 1187 4" anchor="top right"/>
- </Layout>
- </Layouts>
- </Div>
- <Button position="absolute 1107 131 1187 153" id="button1" class="btn2" visible="false" text="ADR보고서"/>
- <PopupMenu id="PopupMenu00" innerdataset="@ds_mouserght" idcolumn="func" captioncolumn="label" levelcolumn="level" position="absolute 350 191 506 343" visible="false" onmenuclick="PopupMenu00_onmenuclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_baseinfo_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="brthdd" type="STRING" size="256"/>
- <Column id="hometel" type="STRING" size="256"/>
- <Column id="mpphontel" type="STRING" size="256"/>
- <Column id="detladdr" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="patcls" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="hngnm"/>
- <Col id="sex"/>
- <Col id="brthdd"/>
- <Col id="hometel"/>
- <Col id="mpphontel"/>
- <Col id="detladdr"/>
- <Col id="age"/>
- <Col id="patcls"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_drughistory" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="prcpcd" type="STRING" size="256"/>
- <Column id="prcpnm" type="STRING" size="256"/>
- <Column id="prcpqtyunit" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="prcpcnts" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="flag"/>
- <Col id="prcpcd"/>
- <Col id="prcpnm"/>
- <Col id="prcpqtyunit"/>
- <Col id="prcpdd"/>
- <Col id="prcpcnts"/>
- </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">환자진료정보조회</Col>
- <Col id="func">fPatInfo</Col>
- <Col id="level">0</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_prcphistory" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="ionm" type="STRING" size="256"/>
- <Column id="orddeptnm" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="orddeptid" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="careinyn" type="STRING" size="256"/>
- <Column id="ordrgstdrnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_prcporderhistory" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_prcporderhistory_oncolumnchanged">
- <ColumnInfo>
- <Column id="drugno" type="STRING" size="256"/>
- <Column id="hosinhosoutflagnm" type="STRING" size="256"/>
- <Column id="execprcphistcd" type="STRING" size="256"/>
- <Column id="prcpno" type="STRING" size="256"/>
- <Column id="prcpcd" type="STRING" size="256"/>
- <Column id="prcpnm" type="STRING" size="256"/>
- <Column id="prcpvol" type="STRING" size="256"/>
- <Column id="prcpvolunit" type="STRING" size="256"/>
- <Column id="prcpqty" type="STRING" size="256"/>
- <Column id="prcpqtyunit" type="STRING" size="256"/>
- <Column id="prcptims" type="STRING" size="256"/>
- <Column id="prcpdayno" type="STRING" size="256"/>
- <Column id="mthdcd" type="STRING" size="256"/>
- <Column id="mthdnm" type="STRING" size="256"/>
- <Column id="prcpmixno" type="STRING" size="256"/>
- <Column id="powdflag" type="STRING" size="256"/>
- <Column id="selfprcpflag" type="STRING" size="256"/>
- <Column id="erprcpflag" type="STRING" size="256"/>
- <Column id="precureprcpflag" type="STRING" size="256"/>
- <Column id="prcpauthflag" type="STRING" size="256"/>
- <Column id="payflagcd" type="STRING" size="256"/>
- <Column id="issdeptnm" type="STRING" size="256"/>
- <Column id="prcpexecdeptnm" type="STRING" size="256"/>
- <Column id="inclprcpcd" type="STRING" size="256"/>
- <Column id="wardnm" type="STRING" size="256"/>
- <Column id="roomcd" type="STRING" size="256"/>
- <Column id="ordnm" type="STRING" size="256"/>
- <Column id="rgstnm" type="STRING" size="256"/>
- <Column id="appdt" type="STRING" size="256"/>
- <Column id="hosinhosoutflag" type="STRING" size="256"/>
- <Column id="resnnm" type="STRING" size="256"/>
- <Column id="resncnts" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_prcporderhistory_diaginfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_reqlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="stat" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="prcpgenrflag" type="STRING" size="256"/>
- <Column id="reqdd" type="STRING" size="256"/>
- <Column id="repldd" type="STRING" size="256"/>
- <Column id="replpharmst" type="STRING" size="256"/>
- <Column id="reqdetlflag" type="STRING" size="256"/>
- <Column id="wardnm" type="STRING" size="256"/>
- <Column id="agesex" type="STRING" size="256"/>
- <Column id="rrgstno" type="STRING" size="256"/>
- <Column id="patstat" type="STRING" size="256"/>
- <Column id="diagcd" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="inhospday" type="STRING" size="256"/>
- <Column id="reqdrug" type="STRING" size="256"/>
- <Column id="reqdeptnm" type="STRING" size="256"/>
- <Column id="requsernm" type="STRING" size="256"/>
- <Column id="reqresn" type="STRING" size="256"/>
- <Column id="reqcommnet" type="STRING" size="256"/>
- <Column id="formrecseq" type="STRING" size="256"/>
- <Column id="reqdeptcd" type="STRING" size="256"/>
- <Column id="requserid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="stat"/>
- <Col id="pid"/>
- <Col id="hngnm"/>
- <Col id="cretno"/>
- <Col id="orddeptcd"/>
- <Col id="prcpgenrflag"/>
- <Col id="reqdd"/>
- <Col id="repldd"/>
- <Col id="replpharmst"/>
- <Col id="reqdetlflag"/>
- <Col id="wardnm"/>
- <Col id="agesex"/>
- <Col id="rrgstno"/>
- <Col id="patstat"/>
- <Col id="diagcd"/>
- <Col id="orddd"/>
- <Col id="inhospday"/>
- <Col id="reqdrug"/>
- <Col id="reqdeptnm"/>
- <Col id="requsernm"/>
- <Col id="reqresn"/>
- <Col id="reqcommnet"/>
- <Col id="formrecseq"/>
- <Col id="reqdeptcd"/>
- <Col id="requserid"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_sumparam" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="orddrid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="orddd"/>
- <Col id="cretno"/>
- <Col id="instcd"/>
- <Col id="orddeptcd"/>
- <Col id="orddrid"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_detlprcplist_detlprcpinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ioflagnm" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="prcpno" type="STRING" size="256"/>
- <Column id="drugno" type="STRING" size="256"/>
- <Column id="execdd" type="STRING" size="256"/>
- <Column id="exectm" type="STRING" size="256"/>
- <Column id="drugsumdt" type="STRING" size="256"/>
- <Column id="execdeptnm" type="STRING" size="256"/>
- <Column id="execdeptcd" type="STRING" size="256"/>
- <Column id="issdeptcd" type="STRING" size="256"/>
- <Column id="issdeptcdnm" type="STRING" size="256"/>
- <Column id="execdrnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="ioflagnm"/>
- <Col id="ioflag"/>
- <Col id="prcpno"/>
- <Col id="drugno"/>
- <Col id="execdd"/>
- <Col id="exectm"/>
- <Col id="drugsumdt"/>
- <Col id="execdeptnm"/>
- <Col id="execdeptcd"/>
- <Col id="issdeptcd"/>
- <Col id="issdeptcdnm"/>
- <Col id="execdrnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_detailinfo_memoinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="seqno" type="STRING" size="256"/>
- <Column id="hosinhosoutflag" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="orddeptnm" type="STRING" size="256"/>
- <Column id="drugdd" type="STRING" size="256"/>
- <Column id="drugno" type="STRING" size="256"/>
- <Column id="writid2" type="STRING" size="256"/>
- <Column id="writnm" type="STRING" size="256"/>
- <Column id="writdt" type="STRING" size="256"/>
- <Column id="memo" type="STRING" size="256"/>
- <Column id="m" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="writid" type="STRING" size="256"/>
- <Column id="useyn" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="seqno"/>
- <Col id="hosinhosoutflag"/>
- <Col id="instcd"/>
- <Col id="orddeptcd"/>
- <Col id="orddeptnm"/>
- <Col id="drugdd"/>
- <Col id="drugno"/>
- <Col id="writid2"/>
- <Col id="writnm"/>
- <Col id="memo"/>
- <Col id="m"/>
- <Col id="ioflag"/>
- <Col id="writid"/>
- <Col id="useyn"/>
- <Col id="indd"/>
- <Col id="indd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_srchdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="prcpfromdd" type="STRING" size="256"/>
- <Column id="prcpfromdt" type="STRING" size="256"/>
- <Column id="prcptodd" type="STRING" size="256"/>
- <Column id="prcptodt" type="STRING" size="256"/>
- <Column id="tmedflag" type="STRING" size="256"/>
- <Column id="drugcd" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="startreqdd" type="STRING" size="256"/>
- <Column id="endreqdd" type="STRING" size="256"/>
- <Column id="reqpid" type="STRING" size="256"/>
- <Column id="srchpid" type="STRING" size="256"/>
- <Column id="srchindd" type="STRING" size="256"/>
- <Column id="isdel" type="STRING" size="256"/>
- <Column id="srchinstcd" type="STRING" size="256"/>
- <Column id="srchcretno" type="STRING" size="256"/>
- <Column id="srchorddeptcd" type="STRING" size="256"/>
- <Column id="srchorddrid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="prcpfromdd"/>
- <Col id="prcpfromdt">0000</Col>
- <Col id="prcptodd"/>
- <Col id="prcptodt">2400</Col>
- <Col id="tmedflag"/>
- <Col id="drugcd"/>
- <Col id="hngnm"/>
- <Col id="prcpdd"/>
- <Col id="orddeptcd"/>
- <Col id="ioflag"/>
- <Col id="startreqdd"/>
- <Col id="endreqdd"/>
- <Col id="reqpid"/>
- <Col id="srchpid"/>
- <Col id="srchindd"/>
- <Col id="isdel"/>
- <Col id="srchinstcd"/>
- <Col id="srchcretno"/>
- <Col id="srchorddeptcd"/>
- <Col id="srchorddrid"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_memosrchinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchpid" type="STRING" size="256"/>
- <Column id="srchseqno" type="STRING" size="256"/>
- <Column id="srchindd" type="STRING" size="256"/>
- <Column id="srchinstcd" type="STRING" size="256"/>
- <Column id="srchioflag" type="STRING" size="256"/>
- <Column id="srchhosinhosoutflag" type="STRING" size="256"/>
- <Column id="srchorddeptcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchpid"/>
- <Col id="srchseqno"/>
- <Col id="srchindd"/>
- <Col id="srchinstcd"/>
- <Col id="srchioflag"/>
- <Col id="srchhosinhosoutflag"/>
- <Col id="srchorddeptcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_srchdetlinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="prcpno" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="orddeptflag" type="STRING" size="256"/>
- <Column id="srchpid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchpid"/>
- <Col id="prcpno"/>
- <Col id="prcpdd"/>
- <Col id="orddeptflag"/>
- <Col id="pid"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_usersrchinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchuserid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_req_data2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="m" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_dateinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_momoitem" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="count" type="STRING" size="256"/>
- <Column id="seqno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="count"/>
- <Col id="seqno"/>
- </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="receivedrugcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="receivedrugcd">ds_send_srchdata</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_userinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="userid" type="STRING" size="256"/>
- <Column id="usernm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_patinfo" 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_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ret" type="STRING" size="256"/>
- <Column id="durgno" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="patdiaginfo" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_receivedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="receiveref" type="STRING" size="256"/>
- <Column id="srchflag" type="STRING" size="256"/>
- <Column id="srchcnts" type="STRING" size="256"/>
- <Column id="drugkind" type="STRING" size="256"/>
- <Column id="receivecd" type="STRING" size="256"/>
- <Column id="receivenm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="receiveref"/>
- <Col id="srchflag"/>
- <Col id="srchcnts"/>
- <Col id="drugkind"/>
- <Col id="receivecd"/>
- <Col id="receivenm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_popdata_popinfo_poplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="prcpcd" type="STRING" size="256"/>
- <Column id="prcpno" type="STRING" size="256"/>
- <Column id="execprcphistcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="prcpcd"/>
- <Col id="prcpno"/>
- <Col id="execprcphistcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_popdata1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_combo_reqdetlflag" 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">-</Col>
- </Row>
- <Row>
- <Col id="label">ACS자문의뢰</Col>
- <Col id="value">E06</Col>
- </Row>
- <Row>
- <Col id="label">TDM자문의뢰</Col>
- <Col id="value">E03</Col>
- </Row>
- <Row>
- <Col id="label">약품식별의뢰</Col>
- <Col id="value">E02</Col>
- </Row>
- <Row>
- <Col id="label">NST의뢰</Col>
- <Col id="value">E04</Col>
- </Row>
- <Row>
- <Col id="label">복약지도의뢰</Col>
- <Col id="value">E05</Col>
- </Row>
- <Row>
- <Col id="label">ADR보고</Col>
- <Col id="value">E01</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_prcporderhistory_memoinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_memoinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group3.group6.input11" propid="value" datasetid="ds_main_baseinfo_patinfolist" columnid="pid"/>
- <BindItem id="item1" compid="group3.group6.input9" propid="value" datasetid="ds_send_srchdata" columnid="prcpfromdd"/>
- <BindItem id="item2" compid="group3.group6.input10" propid="value" datasetid="ds_main_baseinfo_patinfolist" columnid="hngnm"/>
- <BindItem id="item3" compid="group3.group6.input2" propid="value" datasetid="ds_send_srchdata" columnid="prcpfromdt"/>
- <BindItem id="item4" compid="group3.group6.input12" propid="value" datasetid="ds_send_srchdata" columnid="prcptodd"/>
- <BindItem id="item5" compid="group3.group6.input1" propid="value" datasetid="ds_send_srchdata" columnid="prcptodt"/>
- <BindItem id="item6" compid="group3.group6.combo2" propid="value" datasetid="ds_send_srchdata" columnid="tmedflag"/>
- <BindItem id="item7" compid="group3.group6.input13" propid="value" datasetid="ds_send_srchdata" columnid="drugcd"/>
- <BindItem id="item8" compid="group3.output1" propid="value" datasetid="ds_main_baseinfo_patinfolist" columnid="sex"/>
- <BindItem id="item9" compid="group3.output6" propid="value" datasetid="ds_main_baseinfo_patinfolist" columnid="age"/>
- <BindItem id="item12" compid="group3.output2" propid="value" datasetid="ds_main_baseinfo_patinfolist" columnid="patcls"/>
- <BindItem id="item13" compid="group3.output4" propid="value" datasetid="ds_main_baseinfo_patinfolist" columnid="detladdr"/>
- <BindItem id="item14" compid="group3.output7" propid="value" datasetid="ds_main_baseinfo_patinfolist" columnid="mpphontel"/>
- <BindItem id="item15" compid="group3.output3" propid="value" datasetid="ds_main_baseinfo_patinfolist" columnid="hometel"/>
- <BindItem id="item16" compid="group3.output8" propid="value" datasetid="ds_temp" columnid="patdiaginfo"/>
- <BindItem id="item10" compid="group3.switch2.case2.tar_innrmemo" propid="value" datasetid="ds_main_detailinfo_memoinfo" columnid="memo"/>
- <BindItem id="item11" compid="group3.switch2.case2.ipt_writid" propid="value" datasetid="ds_main_detailinfo_memoinfo" columnid="writid2"/>
- <BindItem id="item17" compid="group3.switch2.case2.ipt_writenm" propid="value" datasetid="ds_main_detailinfo_memoinfo" columnid="writnm"/>
- <BindItem id="item18" compid="group3.switch2.case2.input3" propid="value" datasetid="ds_main_detailinfo_memoinfo" columnid="writdt"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-09-03
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-09-03 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs"
- include "emr_prcpmngtxp::MMOCommon.xjs"
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- // 20100126_laboru
- function trim(data) {
- return data.replace(/(^\s*)|(\s*$)/g, "");
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : 메모 저장
- ****************************************************************************************/
- function fSubmitMemo() {
- var varSaveMode = ""; // i-입력, m-수정(제외)
- var varSaveFlag = false;
- var varDrugNo = 0;
- var varWritId = "";
-
- // 환자선택 필수
- if (utlf_isNull(ds_main_baseinfo_patinfolist.getColumn(0,"pid"))) {
- sysf_messageBox("환자를 선택하시고", "C001");
- return;
- }
-
- // 작성자
- varWritId = ds_main_detailinfo_memoinfo.getColumn(0,"writid2");
- if (utlf_isNull(varWritId)) {
- sysf_messageBox("메모작성자 이름은", "I003");
- return;
- }
-
- // 메모내용필수
- if (utlf_isNull(ds_main_detailinfo_memoinfo.getColumn(0,"memo"))) {
- sysf_messageBox("메모내용은", "I003");
- return;
- }
-
- ds_main_detailinfo_memoinfo.setColumn(0,"pid" ,ds_main_baseinfo_patinfolist.getColumn(0,"pid"));
- ds_main_detailinfo_memoinfo.setColumn(0,"useyn" , "Y");
- ds_main_detailinfo_memoinfo.setColumn(0,"seqno" , "");
- ds_main_detailinfo_memoinfo.setColumn(0,"orddeptcd" , ds_main_prcphistory.getColumn(0,"orddeptcd"));
- ds_main_detailinfo_memoinfo.setColumn(0,"writdt" , ds_init_dateinfo.getColumn(0,"currentdt"));
- ds_main_detailinfo_memoinfo.setColumn(0,"ioflag" , ds_main_prcphistory.getColumn(0,"ioflag"));
- ds_main_detailinfo_memoinfo.setColumn(0,"writid" , varWritId);
-
- var hosflag = ds_main_prcporderhistory.getColumn(0,"hosinhosoutflagnm");
-
- if( hosflag == "원내") {
- ds_main_detailinfo_memoinfo.setColumn(0,"hosinhosoutflag", "I");
- } else if(hosflag == "원외") {
- ds_main_detailinfo_memoinfo.setColumn(0,"hosinhosoutflag", "O");
- }
-
- var drugno = "";
- var drugdd = "";
- var indd = "";
-
- if(ds_main_prcphistory.getColumn(0,"ioflag") == "O") {
- drugno = ds_main_prcporderhistory.getColumn(0,"drugno");
- ds_main_detailinfo_memoinfo.setColumn(0,"drugno",drugno);
- drugdd = ds_main_prcphistory.getColumn(0,"prcpdd");
- ds_main_detailinfo_memoinfo.setColumn(0,"drugdd",drugdd);
- } else if(ds_main_prcphistory.getColumn(0,"ioflag") == "I") {
- indd = ds_main_prcphistory.getColumn(0,"orddd");
- ds_main_detailinfo_memoinfo.setColumn(0,"indd",indd);
- }
-
- // 자료수집
- varDrugNo = ds_main_detailinfo_memoinfo.getColumn(0,"drugno");
- if (utlf_isNull(varDrugNo)) {
- ds_main_detailinfo_memoinfo.setColumn(0,"drugno", 0);
- }
- ds_send_req_data2.copyData(ds_main_detailinfo_memoinfo);
-
- // 저장은 무조건 추가로 처리, 수정기능은 제외
- varSaveMode = "i";
-
- ds_send_req_data2.setColumn(0,"m", varSaveMode);
-
- if( (!utlf_isNull(hosflag) && !utlf_isNull(drugno) && !utlf_isNull(drugdd)) || !utlf_isNull(indd) ) {
- var oParam = {};
- oParam.id = "TXADT00102";
- oParam.service = "pharmacyprescriptionapp.MpsCheck";
- oParam.method = "reqExeMemoData";
- oParam.inds = "req=ds_send_req_data2";
- oParam.outds = "ds_hidden_momoitem=memoitem";
- oParam.async = true;
- //oParam.callback = "cf_TXADT00102";
- tranf_submit(oParam);
-
- varSaveFlag = true;
-
- // 화면정리 및 메세지처리
- if (varSaveFlag == true) {
- sysf_messageBox("메모저장이", "I002");
- }
- } else {
- sysf_messageBox("처방이력을 선택하십시오.", "");
- }
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : 메모사항 리셋
- ****************************************************************************************/
- function fResetMemo() {
- ds_main_detailinfo_memoinfo.setColumn(0,"pid" , ds_main_baseinfo_patinfolist.getColumn(0,"pid"));
- ds_main_detailinfo_memoinfo.setColumn(0,"seqno" , "");
- ds_main_detailinfo_memoinfo.setColumn(0,"hosinhosoutflag" , ds_main_prcporderhistory.getColumn(0,"hosinhosoutflagnm"));
- ds_main_detailinfo_memoinfo.setColumn(0,"instcd" , "");
- ds_main_detailinfo_memoinfo.setColumn(0,"orddeptcd" , ds_main_prcphistory.getColumn(0,"orddeptcd"));
- ds_main_detailinfo_memoinfo.setColumn(0,"orddeptnm" , "");
- ds_main_detailinfo_memoinfo.setColumn(0,"drugdd" , ds_main_prcphistory.getColumn(0,"prcpdd"));
- ds_main_detailinfo_memoinfo.setColumn(0,"indd" , ds_main_prcphistory.getColumn(0,"orddd"));
- ds_main_detailinfo_memoinfo.setColumn(0,"drugno" , ds_main_prcporderhistory.getColumn(0,"drugno"));
- ds_main_detailinfo_memoinfo.setColumn(0,"useyn" , "Y");
- ds_main_detailinfo_memoinfo.setColumn(0,"memo" , "");
- ds_main_detailinfo_memoinfo.setColumn(0,"writid" , sysf_getUserId());
- ds_main_detailinfo_memoinfo.setColumn(0,"writid2" , "");
- ds_main_detailinfo_memoinfo.setColumn(0,"writnm" , sysf_getUserName());
- ds_main_detailinfo_memoinfo.setColumn(0,"writdt" , utlf_getCurrentDate() + utlf_getCurrentTime());
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : 프리뷰
- ****************************************************************************************/
- function fView(){
- ds_send_srchdata.setColumn(0,"pid" , ds_main_baseinfo_patinfolist.getColumn(0,"pid"));
- ds_send_srchdata.setColumn(0,"reqpid", ds_main_baseinfo_patinfolist.getColumn(0,"pid"));
- var oParam = {};
- oParam.id = "TRADB10101";
- oParam.service = "pharmacyconsultapp.DrugHistory";
- oParam.method = "reqGetPatBaseData";
- oParam.inds = "req=ds_send_srchdata";
- oParam.outds = "ds_main_baseinfo_patinfolist=item";
- oParam.async = false;
- //oParam.callback = "cf_TRADB10101";
- tranf_submit(oParam);
- if(ds_main_baseinfo_patinfolist.rowcount == 0) ds_main_baseinfo_patinfolist.addRow();
-
- ds_main_prcporderhistory.clearData();
- ds_main_prcporderhistory_diaginfolist.clearData();
- ds_main_prcporderhistory_memoinfo.clearData();
-
- ds_temp.setColumn(0,"patdiaginfo","");
-
- if ( group3.switch2.tabindex == 1 ) {
- var oParam = {};
- oParam.id = "TRADB10102";
- oParam.service = "pharmacyconsultapp.DrugHistory";
- oParam.method = "reqGetPrcpHistory";
- oParam.inds = "req=ds_send_srchdata";
- oParam.outds = "ds_main_prcphistory=item";
- oParam.async = false;
- //oParam.callback = "cf_TRADB10102";
- tranf_submit(oParam);
- } else if ( group3.switch2.tabindex == 2 ){
- ds_send_srchdata.setColumn(0,"startreqdd", ds_send_srchdata.getColumn(0,"prcpfromdd"));
- ds_send_srchdata.setColumn(0,"endreqdd" , ds_send_srchdata.getColumn(0,"prcptodd"));
- var oParam = {};
- oParam.id = "TRADC00102";
- oParam.service = "pharmacyconsultapp.ReqMngt";
- oParam.method = "reqGetReqMngtData";
- oParam.inds = "req=ds_send_srchdata";
- oParam.outds = "ds_main_reqlist=reqlist";
- oParam.async = true;
- //oParam.callback = "cf_TRADC00102";
- tranf_submit(oParam);
- }else if ( group3.switch2.tabindex == 0 ){
- var oParam = {};
- oParam.id = "TRADB10104";
- oParam.service = "pharmacyconsultapp.DrugHistory";
- oParam.method = "reqGetDrugHistory";
- oParam.inds = "req=ds_send_srchdata";
- oParam.outds = "ds_main_drughistory=item";
- oParam.async = false;
- //oParam.callback = "cf_TRADB10104";
- tranf_submit(oParam);
-
- // exeReportPreview("RPADB10101", "XMLSTR", "", "", "false","false","","","","false", "","case1");
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "/root/main/drughistory/item" , ds_main_drughistory); // 데이터셋 1
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
- var option = "open=1;save=1;directprint=0;print=1;zoom=1;show=1";
- rptf_exeReportPreview30(["RPADB10101"],[objParam], option,"","group3.switch2.case1"); //미리보기만 가능
- }
-
- // 20100126_laboru
- ds_main_detailinfo_memoinfo.setColumn(0,"memo", "");
- // model.removenode("/root/temp/memoinfo");
- // dsf_deleteDs("ds_temp_memoinfo");
- ds_temp_memoinfo.clear();
-
- // 20100218_laboru_약사메모 전체
- ds_send_memosrchinfo.setColumn(0,"srchpid" , ds_send_srchdata.getColumn(0,"pid"));
- ds_send_memosrchinfo.setColumn(0,"srchhosinhosoutflag" , "");
- ds_send_memosrchinfo.setColumn(0,"srchioflag" , "");
- ds_send_memosrchinfo.setColumn(0,"srchorddeptcd" , "");
- ds_send_memosrchinfo.setColumn(0,"srchindd" , ds_send_srchdata.getColumn(0,"srchindd"));
-
- var oParam = {};
- oParam.id = "TRADB60605";
- oParam.service = "pharmacyprescriptionapp.MpsCheck";
- oParam.method = "reqGetMemoList";
- oParam.inds = "req=ds_send_memosrchinfo";
- oParam.outds = "ds_temp_memoinfo=item";
- oParam.async = false;
- oParam.callback = "cf_TRADB60605";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TRADB60605") > -1) {
- ds_main_detailinfo_memoinfo.setColumn(0,"memo",ds_temp_memoinfo.getColumn(0,"memo"));
- }
- }
- function cf_TRADB60605(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SMADB10100
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SMADB10100_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
-
- try{
- ds_temp_patinfo.copyData(arg_ds_temp_patinfo);
- }catch(e){}
-
- grdf_setGridSort(group3.switch2.case2.grd_prcphistory); // 그리드 소트만
- grdf_setGridSort(group3.switch2.case2.grd_prcplist); // 그리드 소트만
- grdf_setGridSort(group3.switch2.case2.group5.datagrid2); // 그리드 소트만
- grdf_setGridSort(group3.switch2.case6.grd_reqlist); // 그리드 소트만
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SMADB10100
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SMADB10100_onload(obj:Form, e:LoadEventInfo)
- {
- var dutplceinstcd = sysf_getUserInfo("dutplceinstcd");
- if(utlf_isNull(dutplceinstcd)) {
- dutplceinstcd = "031"; //???
- }
- ds_send_srchdata.setColumn(0,"srchinstcd",dutplceinstcd);
-
- //rptf_exeReportPreview30(["RPADB01013"],[objParam], option,"","group3.switch2.case1.div_preview");
- //makeReportPreview(2,10,1150,585,"case1");
-
- ds_send_srchdata.setColumn(0,"prcpfromdd",utlf_getCurrentDate().toDate("YYYYMMDD").getAddDate(-6,"M").getDateFormat("YYYYMMDD"));
- ds_send_srchdata.setColumn(0,"prcptodd" ,utlf_getCurrentDate());
- ds_main_baseinfo_patinfolist.setColumn(0,"pid", ds_temp_patinfo.getColumn(0,"pid"));
- if (!utlf_isNull(ds_temp_patinfo.getColumn(0,"pid"))){
- fView();
- }
- // 로긴사번,이름,현재일자셋팅
- var oParam = {};
- oParam.id = "TRADT00103";
- oParam.service = "pharmacyprescriptionapp.MpsCheck";
- oParam.method = "reqGetCurrentDate";
- //oParam.inds = "req=ds_";
- oParam.outds = "ds_init_dateinfo=dateinfo";
- oParam.async = false;
- //oParam.callback = "cf_TRADT00103";
- tranf_submit(oParam);
- ds_main_detailinfo_memoinfo.setColumn(0,"writid" , ds_temp_memoinfo.getColumn(0,"writid"));
- ds_main_detailinfo_memoinfo.setColumn(0,"writnm" , ds_temp_memoinfo.getColumn(0,"writnm"));
- ds_main_detailinfo_memoinfo.setColumn(0,"writdt" , ds_temp_memoinfo.getColumn(0,"writdt"));
- //1일기준인지 1회기준인지 체크하여 컬럼을 hidden
- var colHidnValue = lf_grdBaseColHidn("D");
- //1회 기준
- if( colHidnValue == "C") {
- group3.switch2.case2.grd_prcplist.setFormatColProperty(group3.switch2.case2.grd_prcplist.getBindCellIndex("body","prcpvol"),"size",0);
- group3.switch2.case2.grd_prcplist.setFormatColProperty(group3.switch2.case2.grd_prcplist.getBindCellIndex("body","prcpqty"),"size",0);
- } else {
- group3.switch2.case2.grd_prcplist.setFormatColProperty(group3.switch2.case2.grd_prcplist.getBindCellIndex("body","prcpvol2"),"size",0);
- group3.switch2.case2.grd_prcplist.setFormatColProperty(group3.switch2.case2.grd_prcplist.getBindCellIndex("body","prcpqty2"),"size",0);
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.group6.button15
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 환자조회 버튼 클릭
- ****************************************************************************************/
- function group3_group6_button15_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SPPMC02500", "SPPMC02500", null, null, 0, 100, 150, null, null, null, null, null, "M");
- ds_main_baseinfo_patinfolist.copyData(ds_patinfolist);
- if(ds_main_baseinfo_patinfolist.rowcount == 0) ds_main_baseinfo_patinfolist.addRow();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.group6.button17
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 약품코드조회 버튼 클릭
- ****************************************************************************************/
- function group3_group6_button17_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_temp_receivedata.setColumn(0,"receiveref" , ds_hidden.getColumn(0,"receivedrugcd"));
- ds_temp_receivedata.setColumn(0,"srchflag" , "");
- ds_temp_receivedata.setColumn(0,"srchcnts" , "");
- ds_temp_receivedata.setColumn(0,"drugkind" , "");
- ds_temp_receivedata.setColumn(0,"receivedrugcd" , "drugcd");
- ds_temp_receivedata.setColumn(0,"receivedrugnm" , "");
- // 약품코드 검색
- var objArg = new Object();
- objArg.arg_ds_temp_receivedata = ds_temp_receivedata;
- frmf_modal("SPADB60100", "SPADB60100", objArg, null, 0, 100, 150, null, null, null, null, null, "M");
- //ds_send_srchdata.setColumn(0,"drugcd",ds_send_srchdata.getColumn(0,"receiveref"));
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.group6.btn_sea
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회 버튼 클릭
- ****************************************************************************************/
- function group3_group6_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- fView();
- }
- /****************************************************************************************
- * Components : Tab
- * Components ID : group3.switch2
- * Event : onchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 약품별 탭버튼 클릭
- ****************************************************************************************/
- function group3_switch2_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- if(e.postindex==0) {
- // exeReportPreview("RPADB10101", "XMLSTR", "", "", "false","false","","","","false", "","case1");
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "/root/main/drughistory/item" , ds_main_drughistory); // 데이터셋 1
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
- var option = "open=1;save=1;directprint=0;print=1;zoom=1;show=1";
- rptf_exeReportPreview30(["RPADB10101"],[objParam], option,"","group3.switch2.case1"); //미리보기만 가능
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.btn_save
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 원외승인버튼 클릭
- ****************************************************************************************/
- function group3_btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- if ( utlf_isNull(ds_send_srchdata.getColumn(0,"srchindd"))) {
- sysf_messageBox("처리할 적용일자를 목록에서 ", "C002");
- return;
- }
- var oParam = {};
- oParam.id = "TRADB10105";
- oParam.service = "pharmacyprescriptionapp.DrugAccept";
- oParam.method = "reqGetOutCnfmParam";
- oParam.inds = "req=ds_send_srchdata";
- oParam.outds = "ds_main_sumparam=item";
- oParam.async = true;
- //oParam.callback = "cf_TRADB10105";
- tranf_submit(oParam);
-
- if ( utlf_isNull(ds_main_sumparam.getColumn(0,"pid"))) {
- sysf_messageBox("처리할 대상이 없습니다.", "I999");
- return;
- }
- if ( sysf_messageBox("원외승인 작업을 ", "Q004") != 6 ) {
- return;
- }
-
- ds_send_srchdata.setColumn(0,"srchinstcd" , ds_main_sumparam.getColumn(0,"instcd"));
- ds_send_srchdata.setColumn(0,"srchcretno" , ds_main_sumparam.getColumn(0,"cretno"));
- ds_send_srchdata.setColumn(0,"srchorddeptcd", ds_main_sumparam.getColumn(0,"orddeptcd"));
- ds_send_srchdata.setColumn(0,"srchorddrid" , ds_main_sumparam.getColumn(0,"orddrid"));
-
- var oParam = {};
- oParam.id = "TXADB10101";
- oParam.service = "outordamtmngtapp.OutRcpt";
- oParam.method = "reqExePharmacyZeroRcpt";
- oParam.inds = "req=ds_send_srchdata";
- //oParam.outds = "ds_=retlist";
- oParam.async = true;
- //oParam.callback = "cf_TXADB10101";
- tranf_submit(oParam);
-
- dsf_createDsRow("ds_req", [
- {col:"pid", type:"STRING", size:256, val:ds_send_srchdata.getColumn(0,"pid")}
- , {col:"prcpdd", type:"STRING", size:256, val:ds_send_srchdata.getColumn(0,"prcpdd")}
- , {col:"orddeptcd", type:"STRING", size:256, val:ds_send_srchdata.getColumn(0,"orddeptcd")}
- , {col:"ioflag", type:"STRING", size:256, val:ds_send_srchdata.getColumn(0,"ioflag")}
- , {col:"srchpid", type:"STRING", size:256, val:ds_send_srchdata.getColumn(0,"srchpid")}
- , {col:"srchindd", type:"STRING", size:256, val:ds_send_srchdata.getColumn(0,"srchindd")}
- , {col:"isdel", type:"STRING", size:256, val:ds_send_srchdata.getColumn(0,"isdel")}
- ]);
- var oParam = {};
- oParam.id = "TRADB10103";
- oParam.service = "pharmacyconsultapp.DrugHistory";
- oParam.method = "reqGetPrcpOrderHistory";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_main_prcporderhistory=item ds_main_prcporderhistory_memoinfo=memoinfo ds_main_prcporderhistory_diaginfolist=diaginfolist";
- oParam.async = true;
- //oParam.callback = "cf_TRADB10103";
- tranf_submit(oParam);
-
- // grdf_setRowStyle(group3.switch2.case2.grd_prcplist , "4" , "C" , "execprcphistcd", "equal");
- // grdf_setRowStyle(group3.switch2.case2.grd_prcplist , "4" , "L" , "execprcphistcd", "equal");
- // grdf_setRowStyle(group3.switch2.case2.grd_prcplist , "4" , "50", "execprcphistcd", "equal");
- // grdf_setRowStyle(group3.switch2.case2.grd_prcplist , "3" , "D" , "execprcphistcd", "equal");
- // grdf_setRowStyle(group3.switch2.case2.grd_prcplist , "2" , "E" , "execprcphistcd", "equal");
- // grdf_setRowStyle(group3.switch2.case2.grd_prcplist , "4^4^4^3^2" , "C^L^50^D^E" , "execprcphistcd");
- // group3.switch2.case2.grd_prcplist.redraw();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.btn_oprcprint
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 원외처방출력 클릭
- ****************************************************************************************/
- function group3_btn_oprcprint_onclick(obj:Button, e:ClickEventInfo)
- {
- // 20100122_laboru_원외처방출력
- var row = ds_main_prcporderhistory.rowposition;
- var hisrow = ds_main_prcphistory.rowposition;
- if(ds_main_prcporderhistory.getColumn(row,"hosinhosoutflag") == "O") {
- dsf_makeValue(ds_temp,"drugno","string",ds_main_prcporderhistory.getColumn(row,"drugno"));
- dsf_makeValue(ds_temp,"prcpdd","string",ds_main_prcphistory.getColumn(hisrow,"prcpdd"));
-
- var objArg = new Object();
- objArg.arg_ds_temp = ds_temp;
- frmf_open("SMADT01102", "SMADT01102", objArg, null, 0, 0, 0, null, null, null, null, null, "M");
- } else if(utlf_isNull(ds_main_prcporderhistory.getColumn(row,"hosinhosoutflag"))) {
- if(ds_main_prcporderhistory.getColumn(row,"hosinhosoutflagnm") == "원외") {
- dsf_makeValue(ds_temp,"drugno","string",ds_main_prcporderhistory.getColumn(row,"drugno"));
- dsf_makeValue(ds_temp,"prcpdd","string",ds_main_prcphistory.getColumn(hisrow,"prcpdd"));
- var objArg = new Object();
- objArg.arg_ds_temp = ds_temp;
- frmf_open("SMADT01102", "SMADT01102", objArg, null, 0, 0, 0, null, null, null, null, null, "M");
- } else {
- sysf_messageBox("원외 처방만" , "I006");
- }
- } else {
- sysf_messageBox("원외 처방만" , "I006");
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.button19
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 반환약관리버튼 클릭
- ****************************************************************************************/
- function group3_button19_onclick(obj:Button, e:ClickEventInfo)
- {
- var objArg = new Object();
- objArg.arg_ds_temp_srchinfo = ds_main_baseinfo_patinfolist;
- frmf_open("SMADT00600", "SMADT00600", objArg, null, 0, 0, 0, null, null, null, null, null, "M");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.button61
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 진단정보 팝업버튼 클릭
- ****************************************************************************************/
- function group3_button61_onclick(obj:Button, e:ClickEventInfo)
- {
- //var iRowNo = 1;
- dsf_deleteDs("ds_temp_diaglist_screenMessageList");
- dsf_createDs("ds_temp_diaglist_screenMessageList", [{col:"rgstdepthngnm", type:"string", size:256}
- ,{col:"diseasecd" , type:"string", size:256}
- ,{col:"diseasenm" , type:"string", size:256}
- ,{col:"diagdd" , type:"string", size:256}]);
- for(var iNo = 0 ; iNo < ds_main_prcporderhistory_diaginfolist.rowcount ; iNo++) {
- var iRowNo = ds_temp_diaglist_screenMessageList.addRow();
-
- ds_temp_diaglist_screenMessageList.setColumn(iRowNo,"rgstdepthngnm" , ds_main_prcporderhistory_diaginfolist.getColumn(iNo,"orddeptnm"));
- ds_temp_diaglist_screenMessageList.setColumn(iRowNo,"diseasecd" , ds_main_prcporderhistory_diaginfolist.getColumn(iNo,"diagcd"));
- ds_temp_diaglist_screenMessageList.setColumn(iRowNo,"diseasenm" , ds_main_prcporderhistory_diaginfolist.getColumn(iNo,"diaghngnm"));
- ds_temp_diaglist_screenMessageList.setColumn(iRowNo,"diagdd" , ds_main_prcporderhistory_diaginfolist.getColumn(iNo,"diagdd"));
- }
- var objArg = new Object();
- objArg.arg_ds_screenMessageList_patientInfoList = ds_temp_diaglist_screenMessageList;
- frmf_modal("SPZCS00601", "SPZCS00601", objArg, null, 1, 150, 150, null, null, null, null, null, "M");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group1.button4
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 통합기록조회 팝업버튼 클릭
- ****************************************************************************************/
- function group1_button4_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_setParameter("SMMRI00400_param_pid", ds_main_baseinfo_patinfolist.getColumn(0,"pid"));
- frmf_open("SMMRI00400", "SMMRI00400", null, null, null, null, null, null, null, null, null, null, "M");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group1.button3
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 통합결과조회 팝업버튼 클릭
- ****************************************************************************************/
- function group1_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- dsf_createDs("ds_temp_singdata", [{col:"srchpid", type:"string", size:256}]);
- ds_temp_singdata.setColumn(ds_temp_singdata.addRow(),"srchpid",ds_main_baseinfo_patinfolist.getColumn(0,"pid"));
-
- var objArg = new Object();
- objArg.arg_ds_send_singdata = ds_temp_singdata;
- frmf_open("SMAER00800", "SMAER00800", objArg, null, null, null, null, null, null, null, null, null, "M");
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : group3.switch2.case2.grd_prcphistory
- * Event : oncellclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function group3_switch2_case2_grd_prcphistory_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- ds_send_srchdata.setColumn(0,"srchpid" , ds_send_srchdata.getColumn(0,"pid"));
- ds_send_srchdata.setColumn(0,"srchindd" , ds_main_prcphistory.getColumn(ds_main_prcphistory.rowposition,"orddd"));
- ds_send_srchdata.setColumn(0,"prcpdd" , ds_main_prcphistory.getColumn(ds_main_prcphistory.rowposition,"prcpdd"));
- ds_send_srchdata.setColumn(0,"orddeptcd", ds_main_prcphistory.getColumn(ds_main_prcphistory.rowposition,"orddeptcd"));
- ds_send_srchdata.setColumn(0,"ioflag" , ds_main_prcphistory.getColumn(ds_main_prcphistory.rowposition,"ioflag"));
-
- dsf_createDsRow("ds_req", [
- {col:"pid", type:"STRING", size:256, val:ds_send_srchdata.getColumn(0,"pid")}
- , {col:"prcpdd", type:"STRING", size:256, val:ds_send_srchdata.getColumn(0,"prcpdd")}
- , {col:"orddeptcd", type:"STRING", size:256, val:ds_send_srchdata.getColumn(0,"orddeptcd")}
- , {col:"ioflag", type:"STRING", size:256, val:ds_send_srchdata.getColumn(0,"ioflag")}
- , {col:"srchpid", type:"STRING", size:256, val:ds_send_srchdata.getColumn(0,"srchpid")}
- , {col:"srchindd", type:"STRING", size:256, val:ds_send_srchdata.getColumn(0,"srchindd")}
- , {col:"isdel", type:"STRING", size:256, val:ds_send_srchdata.getColumn(0,"isdel")}
- ]);
- var oParam = {};
- oParam.id = "TRADB10103";
- oParam.service = "pharmacyconsultapp.DrugHistory";
- oParam.method = "reqGetPrcpOrderHistory";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_main_prcporderhistory=item ds_main_prcporderhistory_memoinfo=memoinfo ds_main_prcporderhistory_diaginfolist=diaginfolist";
- oParam.async = false;
- oParam.callback = "cf_TRADB10103";
- tranf_submit(oParam);
- if(arErrorCode.pop("TRADB10103") > -1) { // 2009.04 외래일경우만 수납여부 보이도록
- dsf_makeValue(ds_temp,"patdiaginfo","string",ds_main_prcporderhistory_diaginfolist.getColumn(0,"diagcd") + " " + ds_main_prcporderhistory_diaginfolist.getColumn(0,"diaghngnm"));
- // output8.refresh();
- if(ds_main_prcphistory.getColumn(ds_main_prcphistory.rowposition,"ioflag") != "O") {
- group3.switch2.case2.grd_prcplist.setFormatColProperty(1,"size",0);
- } else {
- group3.switch2.case2.grd_prcplist.setFormatColProperty(1,"size",30);
- }
- }
- // grdf_setRowStyle(group3.switch2.case2.grd_prcplist , "4^4^3^2" , "C^50^D^E" , "execprcphistcd");
- // for(var i = 0 ; i < 3 ; i++ ) {
- // group3.switch2.case2.grd_prcplist.setCellProperty("body", i, "background" ,"");
- // group3.switch2.case2.grd_prcplist.setCellProperty("body", i, "background2" ,"");
- // }
- // group3.switch2.case2.grd_prcplist.redraw();
- ///////////////////////////////////////////// 처방조회시 suppress로 묵인부분 맨처음 처방의 배경색과 동일하게 하기 위해 추가 start
- var sRow1 = 0;
- var eRow1 = -1;
- var sRow2 = 0;
- var eRow2 = -1;
- var sRow3 = 0;
- var eRow3 = -1;
- var vDrugno = "";
- var vRcptyn = "";
- var vHosflag = "";
- var vColor1 = "";
- var vColor2 = "";
- var vColor3 = "";
-
- ds_main_prcporderhistory.addColumn("tempbgcolor1","string");
- ds_main_prcporderhistory.addColumn("tempbgcolor2","string");
- ds_main_prcporderhistory.addColumn("tempbgcolor3","string");
-
- for(var i = 0 ; i < ds_main_prcporderhistory.rowcount ; i++) {
- vDrugno = ds_main_prcporderhistory.getColumn(i,"drugno");
- vColor1 = lf_getBgColor(i);
- eRow1 = ds_main_prcporderhistory.findRowExpr("drugno != '"+vDrugno+"'",sRow1);
- if(eRow1 < 0) eRow1 = ds_main_prcporderhistory.rowcount;
- for(var j = i ; j < eRow1 ; j++) {
- vRcptyn = ds_main_prcporderhistory.getColumn(j,"rcptyn");
- vColor2 = lf_getBgColor(j);
- sRow2 = j;
- eRow2 = ds_main_prcporderhistory.findRowExpr("drugno != '"+vDrugno+"' || rcptyn != '"+vRcptyn+"'",sRow2);
-
- if(eRow2 < 0) eRow2 = ds_main_prcporderhistory.rowcount;
-
- for(var k = j ; k < eRow2 ; k++) {
- vHosflag = ds_main_prcporderhistory.getColumn(k,"hosinhosoutflagnm");
- vColor3 = lf_getBgColor(k);
- sRow3 = k;
- eRow3 = ds_main_prcporderhistory.findRowExpr("drugno != '"+vDrugno+"' || rcptyn != '"+vRcptyn+"' || hosinhosoutflagnm != '"+vHosflag+"'",sRow3);
-
- if(eRow3 < 0) eRow3 = ds_main_prcporderhistory.rowcount;
- for(var l = k ; l < eRow3 ; l++) {
- //sysf_trace("i : "+i+" / j : "+j+" / k : "+k+" / l : "+l);sysf_trace("eRow1 : "+eRow1+" / eRow2 : "+eRow2+" / eRow3 : "+eRow3);
- ds_main_prcporderhistory.setColumn(l,"tempbgcolor1",vColor1);
- ds_main_prcporderhistory.setColumn(l,"tempbgcolor2",vColor2);
- ds_main_prcporderhistory.setColumn(l,"tempbgcolor3",vColor3);
-
- if(l == (eRow3-1)) {
- k = l;
- sRow3 = eRow3;
- }
- }
-
- if(k == (eRow2-1)) {
- j = k;
- sRow2 = eRow2;
- }
- }
-
- if(j == (eRow1-1)) {
- i = j;
- sRow1 = eRow1;
- }
- }
- }
- ///////////////////////////////////////////// 처방조회시 suppress로 묵인부분 맨처음 처방의 배경색과 동일하게 하기 위해 추가 end
- }
- function cf_TRADB10103(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- dsf_setDefaultVal(ds_main_prcporderhistory,"rcptyn:");
- dsf_setDefaultVal(ds_main_prcporderhistory,"all");
- for(var i = 0 ; i < ds_main_prcporderhistory.rowcount ; i++) {
- ds_main_prcporderhistory.setColumn(i,"drugno",String(ds_main_prcporderhistory.getColumn(i,"drugno")).getTrim());
- }
- }
- function lf_getBgColor(cRow) {
- var vColor = "";
- if(ds_main_prcporderhistory.getColumn(cRow,"execprcphistcd") == "C" || ds_main_prcporderhistory.getColumn(cRow,"execprcphistcd") == "50")
- vColor = "#b9e5fb";
- else if(ds_main_prcporderhistory.getColumn(cRow,"execprcphistcd") == "D")
- vColor = "#7be6b7";
- else if(ds_main_prcporderhistory.getColumn(cRow,"execprcphistcd") == "E")
- vColor = "#f3e1bf";
- else vColor = "white";
- return vColor;
- }
- /****************************************************************************************
- * Components : Dataset
- * Components ID : ds_main_prcporderhistory
- * Event : oncolumnchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드네 체크박스 값 설정
- ****************************************************************************************/
- function ds_main_prcporderhistory_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid=="powdflag") {
- obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
- }
- if(e.columnid=="selfprcpflag") {
- obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
- }
- if(e.columnid=="selfdrugflag") {
- obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
- }
- if(e.columnid=="erprcpflag") {
- obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
- }
- if(e.columnid=="precureprcpflag") {
- obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
- }
- if(e.columnid=="prcpauthflag") {
- obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
- }
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : group3.switch2.case2.grd_prcplist
- * Event : oncelldblclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function group3_switch2_case2_grd_prcplist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var row = ds_main_prcporderhistory.rowposition;
-
- ds_send_srchdetlinfo.setColumn(0,"pid" , ds_main_baseinfo_patinfolist.getColumn(0,"pid"));
- ds_send_srchdetlinfo.setColumn(0,"prcpno" , ds_main_prcporderhistory.getColumn(row,"prcpno"));
- ds_send_srchdetlinfo.setColumn(0,"prcpdd" , ds_main_prcporderhistory.getColumn(row,"orgprcpdd"));
- var oParam = {};
- oParam.id = "TRADT10311";
- oParam.service = "pharmacyprescriptionapp.BeforeCure";
- oParam.method = "reqGetDetlPrcpInfo";
- oParam.inds = "req=ds_send_srchdetlinfo";
- oParam.outds = "ds_main_detlprcplist_detlprcpinfo=detlprcpinfo";
- oParam.async = false;
- oParam.callback = "cf_TRADT10311";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TRADT10311") > -1) {
- group3.switch2.case2.group5.visible = true;
- }
- }
- function cf_TRADT10311(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.switch2.case2.group5.button10
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function group3_switch2_case2_group5_button10_onclick(obj:Button, e:ClickEventInfo)
- {
- group3.switch2.case2.group5.visible = false;
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : group3.switch2.case2.ipt_writid
- * Event : onkeyup
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 약사메모 사번 입력후 엔터
- ****************************************************************************************/
- function group3_switch2_case2_ipt_writid_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- // 20100126_laboru_약사메모 이력 관리 및 등록 기능 추가
- //setInputNodeCurText(); //frmf_setInputNodeCurPid( objComp, mask )
- obj.updateToDataset();
- if(!utlf_isNull(ds_main_detailinfo_memoinfo.getColumn(0,"writid2").getTrim())) {
- var writid = ds_main_detailinfo_memoinfo.getColumn(0,"writid2").getTrim();
- ds_send_usersrchinfo.setColumn(0,"srchuserid",writid);
-
- var oParam = {};
- oParam.id = "TRADT00105";
- oParam.service = "pharmacyprescriptionapp.MpsCheck";
- oParam.method = "reqGetUserInfo";
- oParam.inds = "req=ds_send_usersrchinfo";
- oParam.outds = "ds_hidden_userinfo=item";
- oParam.async = false;
- oParam.callback = "cf_TRADT00105";
- tranf_submit(oParam);
-
- if (arErrorCode.pop("TRADT00105") > -1) {
- ds_main_detailinfo_memoinfo.setColumn(0,"writid2",ds_main_detailinfo_memoinfo.getColumn(0,"writid2"));
- ds_main_detailinfo_memoinfo.setColumn(0,"writnm",ds_hidden_userinfo.getColumn(0,"usernm"));
- dsf_setDefaultVal(ds_main_detailinfo_memoinfo,"all");
- // 반환된 약사정보(이름) 체크
- if(!utlf_isNull(ds_main_detailinfo_memoinfo.getColumn(0,"writnm").getTrim())) {
- // 메모 내용 입력여부 체크
- if (utlf_isNull(ds_main_detailinfo_memoinfo.getColumn(0,"memo").getTrim())) {
- sysf_messageBox("메모내용은", "I003");
- // model.setFocus("tar_memo"); // <- 존재하지 않음
- // group3.switch2.case2.tar_innrmemo.setFocus();
- return;
- } else {
- fSubmitMemo();
- }
- } else {
- sysf_messageBox("입력한 사번으로 이름 확인을", "E009");
- return;
- }
- }
- } else {
- sysf_messageBox("약사메모 입력을 위해 사번은", "I003");
- ds_main_detailinfo_memoinfo.setColumn(0,"writid2",ds_main_detailinfo_memoinfo.getColumn(0,"writid2").getTrim());
- return;
- }
- }
- }
- function cf_TRADT00105(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.switch2.case2.button13
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 이력버튼 클릭
- ****************************************************************************************/
- function group3_switch2_case2_button13_onclick(obj:Button, e:ClickEventInfo)
- {
- if (utlf_isNull(ds_send_srchdata.getColumn(0,"pid"))) {
- sysf_messageBox("환자를", "C002");
- return;
- }
-
- // 약사메모이력
- ds_send_memosrchinfo.setColumn(0,"srchpid" , ds_send_srchdata.getColumn(0,"pid"));
- ds_send_memosrchinfo.setColumn(0,"srchhosinhosoutflag" , "");
- ds_send_memosrchinfo.setColumn(0,"srchioflag" , ds_send_srchdata.getColumn(0,"ioflag"));
- ds_send_memosrchinfo.setColumn(0,"srchorddeptcd" , "");
- ds_send_memosrchinfo.setColumn(0,"srchindd" , ds_send_srchdata.getColumn(0,"srchindd"));
-
- // 20100218_laboru_약사메모 전체 조회
- var objArg = new Object();
- objArg.arg_ds_send_srchinfo = ds_send_memosrchinfo;
- frmf_modal("SPADB60605", "SPADB60605", objArg, null, 0, 100, 150, null, null, null, null, null, "M");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.switch2.case2.btn_new
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 메모 추가 버튼 클릭
- ****************************************************************************************/
- function group3_switch2_case2_btn_new_onclick(obj:Button, e:ClickEventInfo)
- {
- fResetMemo();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.switch2.case2.button14
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 메모 저장 버튼 클릭
- ****************************************************************************************/
- function group3_switch2_case2_button14_onclick(obj:Button, e:ClickEventInfo)
- {
- // 20100126_laboru_약사메모 이력 관리 및 등록 기능 추가
- if(!utlf_isNull(ds_main_detailinfo_memoinfo.getColumn(0,"writid2").getTrim())) {
- var writid = ds_main_detailinfo_memoinfo.getColumn(0,"writid2").getTrim();
- ds_send_usersrchinfo.setColumn(0,"srchuserid",writid);
-
- var oParam = {};
- oParam.id = "TRADT00105";
- oParam.service = "pharmacyprescriptionapp.MpsCheck";
- oParam.method = "reqGetUserInfo";
- oParam.inds = "req=ds_send_usersrchinfo";
- oParam.outds = "ds_hidden_userinfo=item";
- oParam.async = false;
- oParam.callback = "cf_TRADT00105";
- tranf_submit(oParam);
-
- if (arErrorCode.pop("TRADT00105") > -1) {
- ds_main_detailinfo_memoinfo.setColumn(0,"writid2",ds_main_detailinfo_memoinfo.getColumn(0,"writid2").getTrim());
- ds_main_detailinfo_memoinfo.setColumn(0,"writnm",ds_hidden_userinfo.getColumn(0,"usernm"));
- dsf_setDefaultVal(ds_main_detailinfo_memoinfo,"all");
- // 반환된 약사정보(이름) 체크
- if(!utlf_isNull(ds_main_detailinfo_memoinfo.getColumn(0,"writnm").getTrim())) {
- // 메모 내용 입력여부 체크
- if (utlf_isNull(ds_main_detailinfo_memoinfo.getColumn(0,"memo").getTrim())) {
- sysf_messageBox("메모내용은", "I003");
- // model.setFocus("tar_memo"); // <- 존재하지 않음
- // group3.switch2.case2.tar_innrmemo.setFocus();
- return;
- } else {
- fSubmitMemo();
- }
- } else {
- sysf_messageBox("입력한 사번으로 이름 확인을", "E009");
- return;
- }
- }
- } else {
- sysf_messageBox("약사메모 입력을 위해 사번은", "I003");
- ds_main_detailinfo_memoinfo.setColumn(0,"writid2",ds_main_detailinfo_memoinfo.getColumn(0,"writid2").getTrim());
- return;
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.switch2.case2.button9
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조제시 참조사항 버튼 클릭
- ****************************************************************************************/
- function group3_switch2_case2_button9_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_send_memosrchinfo.setColumn(0,"srchioflag","O");
- var objArg = new Object();
- objArg.arg_ds_send_srchinfo = ds_send_memosrchinfo;
- frmf_modal("SPADB60602", "SPADB60602", null, null, 0, 100, 160, null, null, null, null, null, "M");
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : group3.switch2.case6.grd_reqlist
- * Event : oncelldblclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function group3_switch2_case6_grd_reqlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var formrecseq = ds_main_reqlist.getColumn(ds_main_reqlist.rowposition,"formrecseq");
- frmf_setParameter("openmode" , "deptcnstform");
- frmf_setParameter("formrecseq", formrecseq);
- frmf_setParameter("overwrite" , "false");
- frmf_setParameter("replcnts" , "");
- frmf_modal("SSMMR01100", "SSMMR01100", null, null, 1, 0, 0, null, null, null, null, null, "M");
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : group3.group6.input11
- * Event : onkeydown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 엔터로 조회 실행
- ****************************************************************************************/
- function group3_group6_input11_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- obj.updateToDataset();
- fView();
- }
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : group3.switch2.case2.grd_prcplist
- * Event : oncellclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 약번호 선택시 같은 그룹 전체 선택되도록
- ****************************************************************************************/
- function group3_switch2_case2_grd_prcplist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- return; // 약번호가 같은게 꼭 붙어 나오지 않더라... 다른 방법을 찾을때까지 일단 막는다
- var sColNm = "";
- if(e.col == obj.getBindCellIndex("body","drugno") || e.col == obj.getBindCellIndex("body","hosinhosoutflagnm") || e.col == obj.getBindCellIndex("body","execprcphistcd"))
- sColNm = "drugno";
- // else if(e.col == obj.getBindCellIndex("body","hosinhosoutflagnm")) sColNm = "hosinhosoutflagnm";
- // else if(e.col == obj.getBindCellIndex("body","execprcphistcd")) sColNm = "execprcphistcd";
- else return;
-
- var cValue = ds_main_prcporderhistory.getColumn(e.row,sColNm);
- var oExtCmn = new ExtCommon;
- var nChkRows = new Array();
-
- nChkRows = oExtCmn.findRows(ds_main_prcporderhistory, sColNm, cValue);
-
- for(var i = 0 ; i < nChkRows.length ; i++) {
- ds_main_prcporderhistory.selectRow(nChkRows[i]);
- }
- }
- function group3_switch2_case2_grd_prcplist_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row < 0 || e.col < 0) return;
-
- grdf_setSelectedCell(obj, e);
-
- PopupMenu00.trackPopup(e.screenX, e.screenY);
- return true;
- }
- function group3_PopupMenu00_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
-
- }
- function PopupMenu00_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- eval(e.id + "()");
- }
- function group3_switch2_case2_grd_prcplist_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- if( e.row > -1 ){
- grdf_setSelectedCell(obj, e); // 선택된 행 확실히 선택해줌
- }
- }
- function fDrugInfo()
- {
- sDrugCd = ds_main_prcporderhistory.getColumn(ds_main_prcporderhistory.rowposition, "prcpcd");
- dsf_createDsRow("ds_req_druginfo", [{col:"srchdrugcd", type:"string", size:256, val:sDrugCd}]);
-
- var objArg = new Object(); //약품편람 조회 화면 open시 약코드 parameter기본 설정
- objArg.arg_ds_hidden_receivedata = ds_req_druginfo;
-
- var curPopupObj = frmf_findPopup("SMADB01900"); //활성화된 화면 object loading
-
- if(!utlf_isNull(curPopupObj)) {
- curPopupObj.fInit(objArg.arg_ds_hidden_receivedata);
- curPopupObj.setFocus();
- } else {
- frmf_open("SMADB01900", "SMADB01900", objArg, null, 0, 0, 0, null, null, null, null, null, "M");
- }
-
- dsf_deleteDs("ds_req_druginfo");
- }
-
- function fPatInfo()
- {
- var pid = ds_main_baseinfo_patinfolist.getColumn(0, "pid");
-
- frmf_setParameter("SMMMO02500_cond", pid);
- frmf_setParameter("SMMMO02500_pid", pid);
-
- var curMemoObj = frmf_findPopup("SMMMO02500");
- if(!utlf_isNull(curMemoObj)) {
- curMemoObj.fInitialize_SMMMO02500();
- frmf_setFocusPop("SMMMO02500");
- }else{
- frmf_open("SMMMO02500","SMMMO02500","","",1,20,128,"","","","","","M");
- }
-
- }
- ]]></Script>
- </Form>
- </FDL>
|