12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMMP02200" position="absolute 0 0 845 655" titletext="StepDetail 정보" oninit="SPMMP02200_oninit" onload="SPMMP02200_onload" scrollbars="autoboth" onsize="SPMMP02200_onsize">
- <Layouts>
- <Layout>
- <Div position="absolute 512 0 841 25" id="group1" anchor="top right">
- <Layouts>
- <Layout>
- <Button id="btn_first" taborder="1" text="맨앞으로" class="btn2" enable="false" position="absolute 59 3 121 22" anchor="default" onclick="group1_btn_first_onclick"/>
- <Button id="btn_prev" taborder="3" text="이전 페이지" onclick="group1_btn_prev_onclick" class="btn2" enable="false" position="absolute 121 3 199 22" anchor="default"/>
- <Button id="btn_next" taborder="4" text="다음 페이지" onclick="group1_btn_next_onclick" class="btn2" enable="false" position="absolute 200 3 278 22" anchor="default"/>
- <Button id="btn_last" taborder="5" text="맨뒤로" onclick="group1_btn_last_onclick" class="btn2" enable="false" position="absolute 278 3 329 22" anchor="default"/>
- <Button id="btn_excel" taborder="6" text="Excel" onclick="group1_btn_excel_onclick" class="btn7" position="absolute 1 3 59 22" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Static text="4" position="absolute 60 5 75 25" id="caption1" visible="false" onclick="caption1_onclick"/>
- <Calendar id="cmb_prcpdd" taborder="2" class="input_essential" visible="false" position="absolute 370 3 470 22" anchor="default"/>
- <Button id="cap_day3" taborder="6" onclick="cap_day3_onclick" position="absolute 435 28 635 48" style="background:#8dceffff;border:0 none #808080ff ;color:#262626ff;align:center middle;font:Dotum,9;gradation:none 0,0 white 100,100 black;" ondblclick="cap_day_ondblclick" anchor="default"/>
- <Button id="cap_day4" taborder="7" onclick="cap_day4_onclick" position="absolute 637 28 837 48" style="background:#30a7ffff;border:0 none #808080ff ;color:#262626ff;align:center middle;font:Dotum,9;gradation:none 0,0 white 100,100 black;" ondblclick="cap_day_ondblclick" anchor="default"/>
- <Button id="cap_day1" taborder="4" position="absolute 29 28 229 48" style="background:#e5f4ffff;border:0 none #808080ff ;color:#262626ff;align:center middle;font:Dotum,9;gradation:none 0,0 white 100,100 black;" onclick="cap_day1_onclick" ondblclick="cap_day_ondblclick" anchor="default"/>
- <Button id="cap_day2" taborder="5" position="absolute 232 28 432 48" style="background:#c4e5feff;border:0 none #808080ff ;color:#262626ff;align:center middle;font:Dotum,9;gradation:none 0,0 white 100,100 black;" ondblclick="cap_day_ondblclick" onclick="cap_day2_onclick" anchor="default"/>
- <Button id="cap_drug" taborder="8" position="absolute 0 50 27 170" style="background:#e5f4ffff;border:0 none #808080ff ;color:#262626ff;align:center middle;font:Dotum,9;gradation:none 0,0 white 100,100 black;" text="투 약" onclick="cap_drug_onclick" anchor="default"/>
- <Button id="cap_test" taborder="9" text="검 사" position="absolute 0 171 27 286" style="background:#c4e5feff;border:0 none #808080ff ;color:#262626ff;align:center middle;font:Dotum,9;gradation:none 0,0 white 100,100 black;" onclick="cap_test_onclick" anchor="default"/>
- <Button id="cap_caredelive" taborder="10" text="간 호 전 달" position="absolute 0 287 27 382" style="background:#8dceffff;border:0 none #808080ff ;color:#262626ff;align:center middle;font:Dotum,9;gradation:none 0,0 white 100,100 black;" onclick="cap_caredelive_onclick" anchor="default"/>
- <Button id="cap_form" taborder="11" text="서 식" position="absolute 0 383 27 478" style="background:#8dceffff;border:0 none #808080ff ;color:#262626ff;align:center middle;font:Dotum,9;gradation:none 0,0 white 100,100 black;" onclick="cap_form_onclick" anchor="default"/>
- <Button id="cap_etc" taborder="12" text="기 타" onclick="cap_etc_onclick" position="absolute 0 479 27 569" style="background:#30a7ffff;border:0 none #808080ff ;color:#262626ff;align:center middle;font:Dotum,9;gradation:none 0,0 white 100,100 black;" anchor="default"/>
- <Button id="cap_hichart" taborder="17" text="설 명 처 방" position="absolute 0 570 27 653" style="background:#30a7ffff;border:0 none #808080ff ;color:#262626ff;align:center middle;font:Dotum,9;gradation:none 0,0 white 100,100 black;" anchor="default" onclick="cap_hichart_onclick"/>
- <Shape id="rct_border" type="rectangle" visible="false" position="absolute 28 49 230 655" style="strokepen:2 solid #ff0000ff;fillbrush:solid transparent true;background:transparent;" anchor="default"/>
- <Grid id="grd_hichart1" taborder="22" binddataset="ds_main_hichartlist01" useinputpanel="false" position="absolute 29 570 229 653" anchor="default" onmousemove="comn_onmousemove" oncellclick="grd_All_oncellclick" onlbuttondown="Grid_onlbuttondown" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22"/>
- <Column size="160"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="콘텐츠 제목"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" style="align:left;" text="bind:prcpnm" tooltiptype="bottom"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_form1" taborder="23" binddataset="ds_main_formlist1" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" onlbuttondown="Grid_onlbuttondown" onmousemove="comn_onmousemove" oncellclick="grd_All_oncellclick" oncelldblclick="Grid_oncelldblclick" position="absolute 29 383 229 478" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22"/>
- <Column size="65"/>
- <Column size="186"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="22"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="STEP명"/>
- <Cell col="2" text="caption1"/>
- <Cell col="3" text="caption2"/>
- <Cell col="4" text="prtlstat"/>
- <Cell col="5"/>
- <Cell col="6"/>
- <Cell col="7"/>
- <Cell col="8"/>
- <Cell col="9"/>
- <Cell col="10"/>
- <Cell col="11"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:stepnm"/>
- <Cell col="2" style="align:left;" text="bind:prcpnm"/>
- <Cell col="3" text="bind:formprogflag"/>
- <Cell col="4" text="bind:prtlstat"/>
- <Cell col="5" text="bind:status"/>
- <Cell col="6" text="bind:prcpdd"/>
- <Cell col="7" text="bind:times"/>
- <Cell col="8" text="bind:stepno"/>
- <Cell col="9" text="bind:prtlprcpno"/>
- <Cell col="10" text="bind:prcpno"/>
- <Cell col="11" text="bind:prcphistno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_caredelive1" taborder="24" binddataset="ds_main_caredelivelist1" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" onlbuttondown="Grid_onlbuttondown" onrbuttondown="fPopupMenuEvent" onmousemove="comn_onmousemove" oncellclick="grd_All_oncellclick" oncelldblclick="Grid_oncelldblclick" position="absolute 29 287 229 382" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22"/>
- <Column size="0"/>
- <Column size="45"/>
- <Column size="205"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="22"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="처방희망일"/>
- <Cell col="2" text="종류"/>
- <Cell col="3" text="처방명"/>
- <Cell col="4" text="prtlstat"/>
- <Cell col="5"/>
- <Cell col="6"/>
- <Cell col="7"/>
- <Cell col="8"/>
- <Cell col="9"/>
- <Cell col="10"/>
- <Cell col="11"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:prcphopedd" mask="####-##-##"/>
- <Cell col="2" displaytype="combo" edittype="combo" style="padding:0 0 0 2;" class="gridcombo" text="bind:prcpkindcd" combodataset="ds_init_prcpkindcd" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="3" displaytype="text" text="bind:prcpnm"/>
- <Cell col="4" text="bind:prtlstat"/>
- <Cell col="5" text="bind:status"/>
- <Cell col="6" text="bind:prcpdd"/>
- <Cell col="7" text="bind:times"/>
- <Cell col="8" text="bind:stepno"/>
- <Cell col="9" text="bind:prtlprcpno"/>
- <Cell col="10" text="bind:prcpno"/>
- <Cell col="11" text="bind:prcphistno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_test1" taborder="25" binddataset="ds_main_testlist1" useinputpanel="false" selecttype="multirow" extendsizetype="col" cellsizingtype="col" cellsizebandtype="allband" onlbuttondown="Grid_onlbuttondown" onrbuttondown="fPopupMenuEvent" onmousemove="comn_onmousemove" oncellclick="grd_All_oncellclick" oncelldblclick="Grid_oncelldblclick" position="absolute 29 171 229 286" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22" band="left"/>
- <Column size="0" band="left"/>
- <Column size="0" band="left"/>
- <Column size="35" band="left"/>
- <Column size="45" band="left"/>
- <Column size="70"/>
- <Column size="200"/>
- <Column size="70"/>
- <Column size="90"/>
- <Column size="80"/>
- <Column size="40"/>
- <Column size="45"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="22"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2" text="처방희망일"/>
- <Cell col="3" text="상태"/>
- <Cell col="4" text="종류"/>
- <Cell col="5" text="처방코드"/>
- <Cell col="6" text="처방명"/>
- <Cell col="7" text="예약일"/>
- <Cell col="8" text="검체"/>
- <Cell col="9" text="전달"/>
- <Cell col="10" colspan="2" text="검사결과"/>
- <Cell col="12" text="prtlstat"/>
- <Cell col="13"/>
- <Cell col="14"/>
- <Cell col="15"/>
- <Cell col="16"/>
- <Cell col="17"/>
- <Cell col="18"/>
- <Cell col="19"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:prcpclscd"/>
- <Cell col="2" text="bind:prcphopedd" mask="yyyy-mm-dd"/>
- <Cell col="3" displaytype="combo" edittype="combo" style="padding:0 0 0 2;" text="bind:prcpstatcd" combodataset="ds_init_prcpstatcd" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="4" displaytype="combo" edittype="combo" style="padding:0 0 0 2;" class="gridcombo" text="bind:prcpkindcd" combodataset="ds_init_prcpkindcd" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="5" style="align:left;" text="bind:prcpcd"/>
- <Cell col="6" style="align:left;color:EXPR(( prcphistcd == "E" ? "#c0c0c0" : ( prtlstat == "30" && prcphistcd == "C" ? #ff0000 : ( prtlstat == "30" && prtlprcpno ) )));" text="bind:prcpnm"/>
- <Cell col="7" displaytype="date" text="bind:rsrvdd" calendardisplaynulltype="none"/>
- <Cell col="8" style="align:left;" text="bind:drugmthdspccdnm"/>
- <Cell col="9" style="align:left;" text="bind:prcpdelivefact"/>
- <Cell col="10" text="bind:testrsltcnts"/>
- <Cell col="11" text="bind:testrsltunit"/>
- <Cell col="12" text="bind:prtlstat"/>
- <Cell col="13" text="bind:status"/>
- <Cell col="14" text="bind:prcpdd"/>
- <Cell col="15" text="bind:times"/>
- <Cell col="16" text="bind:stepno"/>
- <Cell col="17" text="bind:prtlprcpno"/>
- <Cell col="18" text="bind:prcpno"/>
- <Cell col="19" text="bind:prcphistno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_drug1" taborder="26" binddataset="ds_main_druglist1" useinputpanel="false" selecttype="multirow" extendsizetype="col" cellsizingtype="col" cellsizebandtype="allband" onlbuttondown="Grid_onlbuttondown" onrbuttondown="fPopupMenuEvent" onmousemove="comn_onmousemove" oncellclick="grd_All_oncellclick" oncelldblclick="Grid_oncelldblclick" position="absolute 29 50 229 170" anchor="default" visible="true">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22" band="left"/>
- <Column size="0" band="left"/>
- <Column size="0" band="left"/>
- <Column size="35" band="left"/>
- <Column size="45" band="left"/>
- <Column size="70"/>
- <Column size="130"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="35"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="36"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="31"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="22"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2" text="처방희망일"/>
- <Cell col="3" text="상태"/>
- <Cell col="4" text="종류"/>
- <Cell col="5" text="처방코드"/>
- <Cell col="6" text="처방명"/>
- <Cell col="7" colspan="3" text="총용량"/>
- <Cell col="10" colspan="3" text="수량"/>
- <Cell col="13" text="횟수"/>
- <Cell col="14" text="일수"/>
- <Cell col="15" text="MIX"/>
- <Cell col="16" text="용법"/>
- <Cell col="17" text="prtlstat"/>
- <Cell col="18"/>
- <Cell col="19"/>
- <Cell col="20"/>
- <Cell col="21"/>
- <Cell col="22"/>
- <Cell col="23"/>
- <Cell col="24"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:prcpclscd"/>
- <Cell col="2" text="bind:prcphopedd" mask="####-##-##"/>
- <Cell col="3" displaytype="combo" edittype="combo" style="padding:0 0 0 2;" text="bind:prcpstatcd" combodataset="ds_init_prcpstatcd" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="4" displaytype="combo" edittype="combo" style="padding:0 0 0 2;" class="gridcombo" text="bind:prcpkindcd" combodataset="ds_init_prcpkindcd" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="5" style="align:left;" text="bind:prcpcd"/>
- <Cell col="6" style="align:left;" text="bind:prcpnm"/>
- <Cell col="7" displaytype="text" text="bind:prcpvol"/>
- <Cell col="8" displaytype="text" text="bind:drprcpetc7"/>
- <Cell col="9" displaytype="text" text="bind:prcpvolunitnm"/>
- <Cell col="10" displaytype="text" text="bind:prcpqty"/>
- <Cell col="11" displaytype="text" text="bind:drprcpetc8"/>
- <Cell col="12" displaytype="text" text="bind:prcpqtyunitnm"/>
- <Cell col="13" displaytype="text" text="bind:prcptims"/>
- <Cell col="14" displaytype="text" text="bind:prcpdayno"/>
- <Cell col="15" displaytype="text" text="bind:prcpmixno"/>
- <Cell col="16" displaytype="text" text="bind:drugmthdspccdnm"/>
- <Cell col="17" text="bind:prtlstat"/>
- <Cell col="18" text="bind:status"/>
- <Cell col="19" text="bind:prcpdd"/>
- <Cell col="20" text="bind:times"/>
- <Cell col="21" text="bind:stepno"/>
- <Cell col="22" text="bind:prtlprcpno"/>
- <Cell col="23" text="bind:prcpno"/>
- <Cell col="24" text="bind:prcphistno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_hichart2" taborder="27" binddataset="ds_main_hichartlist02" useinputpanel="false" position="absolute 232 570 432 653" anchor="default" onmousemove="comn_onmousemove" oncellclick="grd_All_oncellclick" onlbuttondown="Grid_onlbuttondown" autofittype="col" cellsizebandtype="body" cellsizingtype="none">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22"/>
- <Column size="160"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="콘텐츠 제목"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" style="align:left;" text="bind:prcpnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_form2" taborder="29" binddataset="ds_main_formlist2" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" onlbuttondown="Grid_onlbuttondown" onmousemove="comn_onmousemove" oncellclick="grd_All_oncellclick" oncelldblclick="Grid_oncelldblclick" position="absolute 232 383 432 478" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22"/>
- <Column size="65"/>
- <Column size="186"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="22"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="STEP명"/>
- <Cell col="2" text="caption1"/>
- <Cell col="3" text="caption2"/>
- <Cell col="4" text="prtlstat"/>
- <Cell col="5"/>
- <Cell col="6"/>
- <Cell col="7"/>
- <Cell col="8"/>
- <Cell col="9"/>
- <Cell col="10"/>
- <Cell col="11"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:stepnm"/>
- <Cell col="2" style="align:left;" text="bind:prcpnm"/>
- <Cell col="3" text="bind:formprogflag"/>
- <Cell col="4" text="bind:prtlstat"/>
- <Cell col="5" text="bind:status"/>
- <Cell col="6" text="bind:prcpdd"/>
- <Cell col="7" text="bind:times"/>
- <Cell col="8" text="bind:stepno"/>
- <Cell col="9" text="bind:prtlprcpno"/>
- <Cell col="10" text="bind:prcpno"/>
- <Cell col="11" text="bind:prcphistno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_caredelive2" taborder="30" binddataset="ds_main_caredelivelist2" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" onlbuttondown="Grid_onlbuttondown" onrbuttondown="fPopupMenuEvent" onmousemove="comn_onmousemove" oncellclick="grd_All_oncellclick" oncelldblclick="Grid_oncelldblclick" position="absolute 232 287 432 382" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22"/>
- <Column size="0"/>
- <Column size="45"/>
- <Column size="205"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="22"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="처방희망일"/>
- <Cell col="2" text="종류"/>
- <Cell col="3" text="처방명"/>
- <Cell col="4" text="prtlstat"/>
- <Cell col="5"/>
- <Cell col="6"/>
- <Cell col="7"/>
- <Cell col="8"/>
- <Cell col="9"/>
- <Cell col="10"/>
- <Cell col="11"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:prcphopedd" mask="####-##-##"/>
- <Cell col="2" displaytype="combo" edittype="combo" style="padding:0 0 0 2;" class="gridcombo" text="bind:prcpkindcd" combodataset="ds_init_prcpkindcd" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="3" displaytype="text" text="bind:prcpnm"/>
- <Cell col="4" text="bind:prtlstat"/>
- <Cell col="5" text="bind:status"/>
- <Cell col="6" text="bind:prcpdd"/>
- <Cell col="7" text="bind:times"/>
- <Cell col="8" text="bind:stepno"/>
- <Cell col="9" text="bind:prtlprcpno"/>
- <Cell col="10" text="bind:prcpno"/>
- <Cell col="11" text="bind:prcphistno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_test2" taborder="31" binddataset="ds_main_testlist2" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" onlbuttondown="Grid_onlbuttondown" onrbuttondown="fPopupMenuEvent" onmousemove="comn_onmousemove" oncellclick="grd_All_oncellclick" oncelldblclick="Grid_oncelldblclick" position="absolute 232 171 432 286" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22" band="left"/>
- <Column size="0" band="left"/>
- <Column size="0" band="left"/>
- <Column size="35" band="left"/>
- <Column size="45" band="left"/>
- <Column size="70"/>
- <Column size="200"/>
- <Column size="70"/>
- <Column size="90"/>
- <Column size="80"/>
- <Column size="40"/>
- <Column size="45"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="22"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2" text="처방희망일"/>
- <Cell col="3" text="상태"/>
- <Cell col="4" text="종류"/>
- <Cell col="5" text="처방코드"/>
- <Cell col="6" text="처방명"/>
- <Cell col="7" text="예약일"/>
- <Cell col="8" text="검체"/>
- <Cell col="9" text="전달"/>
- <Cell col="10" colspan="2" text="검사결과"/>
- <Cell col="12" text="prtlstat"/>
- <Cell col="13"/>
- <Cell col="14"/>
- <Cell col="15"/>
- <Cell col="16"/>
- <Cell col="17"/>
- <Cell col="18"/>
- <Cell col="19"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:prcpclscd"/>
- <Cell col="2" text="bind:prcphopedd" mask="yyyy-mm-dd"/>
- <Cell col="3" displaytype="combo" edittype="combo" style="padding:0 0 0 2;" text="bind:prcpstatcd" combodataset="ds_init_prcpstatcd" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="4" displaytype="combo" edittype="combo" style="padding:0 0 0 2;" class="gridcombo" text="bind:prcpkindcd" combodataset="ds_init_prcpkindcd" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="5" style="align:left;" text="bind:prcpcd"/>
- <Cell col="6" style="align:left;" text="bind:prcpnm"/>
- <Cell col="7" displaytype="date" text="bind:rsrvdd" calendardisplaynulltype="none"/>
- <Cell col="8" style="align:left;" text="bind:drugmthdspccdnm"/>
- <Cell col="9" style="align:left;" text="bind:prcpdelivefact"/>
- <Cell col="10" text="bind:testrsltcnts"/>
- <Cell col="11" text="bind:testrsltunit"/>
- <Cell col="12" text="bind:prtlstat"/>
- <Cell col="13" text="bind:status"/>
- <Cell col="14" text="bind:prcpdd"/>
- <Cell col="15" text="bind:times"/>
- <Cell col="16" text="bind:stepno"/>
- <Cell col="17" text="bind:prtlprcpno"/>
- <Cell col="18" text="bind:prcpno"/>
- <Cell col="19" text="bind:prcphistno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_drug2" taborder="32" binddataset="ds_main_druglist2" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" onlbuttondown="Grid_onlbuttondown" onrbuttondown="fPopupMenuEvent" onmousemove="comn_onmousemove" oncellclick="grd_All_oncellclick" oncelldblclick="Grid_oncelldblclick" position="absolute 232 50 432 170" anchor="default" visible="true">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22" band="left"/>
- <Column size="0" band="left"/>
- <Column size="0" band="left"/>
- <Column size="35" band="left"/>
- <Column size="45" band="left"/>
- <Column size="70"/>
- <Column size="130"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="35"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="36"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="31"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="22"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2" text="처방희망일"/>
- <Cell col="3" text="상태"/>
- <Cell col="4" text="종류"/>
- <Cell col="5" text="처방코드"/>
- <Cell col="6" text="처방명"/>
- <Cell col="7" colspan="3" text="총용량"/>
- <Cell col="10" colspan="3" text="수량"/>
- <Cell col="13" text="횟수"/>
- <Cell col="14" text="일수"/>
- <Cell col="15" text="MIX"/>
- <Cell col="16" text="용법"/>
- <Cell col="17" text="prtlstat"/>
- <Cell col="18"/>
- <Cell col="19"/>
- <Cell col="20"/>
- <Cell col="21"/>
- <Cell col="22"/>
- <Cell col="23"/>
- <Cell col="24"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:prcpclscd"/>
- <Cell col="2" text="bind:prcphopedd" mask="####-##-##"/>
- <Cell col="3" displaytype="combo" edittype="combo" style="padding:0 0 0 2;" text="bind:prcpstatcd" combodataset="ds_init_prcpstatcd" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="4" displaytype="combo" edittype="combo" style="padding:0 0 0 2;" class="gridcombo" text="bind:prcpkindcd" combodataset="ds_init_prcpkindcd" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="5" style="align:left;" text="bind:prcpcd"/>
- <Cell col="6" style="align:left;" text="bind:prcpnm"/>
- <Cell col="7" displaytype="text" text="bind:prcpvol"/>
- <Cell col="8" displaytype="text" text="bind:drprcpetc7"/>
- <Cell col="9" displaytype="text" text="bind:prcpvolunitnm"/>
- <Cell col="10" displaytype="text" text="bind:prcpqty"/>
- <Cell col="11" displaytype="text" text="bind:drprcpetc8"/>
- <Cell col="12" displaytype="text" text="bind:prcpqtyunitnm"/>
- <Cell col="13" displaytype="text" text="bind:prcptims"/>
- <Cell col="14" displaytype="text" text="bind:prcpdayno"/>
- <Cell col="15" displaytype="text" text="bind:prcpmixno"/>
- <Cell col="16" displaytype="text" style="align:left;" text="bind:drugmthdspccdnm"/>
- <Cell col="17" text="bind:prtlstat"/>
- <Cell col="18" text="bind:status"/>
- <Cell col="19" text="bind:prcpdd"/>
- <Cell col="20" text="bind:times"/>
- <Cell col="21" text="bind:stepno"/>
- <Cell col="22" text="bind:prtlprcpno"/>
- <Cell col="23" text="bind:prcpno"/>
- <Cell col="24" text="bind:prcphistno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_drug3" taborder="33" binddataset="ds_main_druglist3" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" onlbuttondown="Grid_onlbuttondown" onrbuttondown="fPopupMenuEvent" onmousemove="comn_onmousemove" oncellclick="grd_All_oncellclick" oncelldblclick="Grid_oncelldblclick" position="absolute 435 50 635 170" anchor="default" visible="true">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22" band="left"/>
- <Column size="0" band="left"/>
- <Column size="0" band="left"/>
- <Column size="35" band="left"/>
- <Column size="45" band="left"/>
- <Column size="70"/>
- <Column size="130"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="35"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="36"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="31"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="22"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2" text="처방희망일"/>
- <Cell col="3" text="상태"/>
- <Cell col="4" text="종류"/>
- <Cell col="5" text="처방코드"/>
- <Cell col="6" text="처방명"/>
- <Cell col="7" colspan="3" text="총용량"/>
- <Cell col="10" colspan="3" text="수량"/>
- <Cell col="13" text="횟수"/>
- <Cell col="14" text="일수"/>
- <Cell col="15" text="MIX"/>
- <Cell col="16" text="용법"/>
- <Cell col="17" text="prtlstat"/>
- <Cell col="18"/>
- <Cell col="19"/>
- <Cell col="20"/>
- <Cell col="21"/>
- <Cell col="22"/>
- <Cell col="23"/>
- <Cell col="24"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:prcpclscd"/>
- <Cell col="2" text="bind:prcphopedd" mask="yyyy-mm-dd"/>
- <Cell col="3" displaytype="combo" edittype="combo" style="padding:0 0 0 2;" text="bind:prcpstatcd" combodataset="ds_init_prcpstatcd" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="4" displaytype="combo" edittype="combo" style="padding:0 0 0 2;" class="gridcombo" text="bind:prcpkindcd" combodataset="ds_init_prcpkindcd" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="5" style="align:left;" text="bind:prcpcd"/>
- <Cell col="6" style="align:left;" text="bind:prcpnm"/>
- <Cell col="7" displaytype="text" text="bind:prcpvol"/>
- <Cell col="8" displaytype="text" text="bind:drprcpetc7"/>
- <Cell col="9" displaytype="text" text="bind:prcpvolunitnm"/>
- <Cell col="10" displaytype="text" text="bind:prcpqty"/>
- <Cell col="11" displaytype="text" text="bind:drprcpetc8"/>
- <Cell col="12" displaytype="text" text="bind:prcpqtyunitnm"/>
- <Cell col="13" displaytype="text" text="bind:prcptims"/>
- <Cell col="14" displaytype="text" text="bind:prcpdayno"/>
- <Cell col="15" displaytype="text" text="bind:prcpmixno"/>
- <Cell col="16" displaytype="text" style="align:left;" text="bind:drugmthdspccdnm"/>
- <Cell col="17" text="bind:prtlstat"/>
- <Cell col="18" text="bind:status"/>
- <Cell col="19" text="bind:prcpdd"/>
- <Cell col="20" text="bind:times"/>
- <Cell col="21" text="bind:stepno"/>
- <Cell col="22" text="bind:prtlprcpno"/>
- <Cell col="23" text="bind:prcpno"/>
- <Cell col="24" text="bind:prcphistno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_test3" taborder="34" binddataset="ds_main_testlist3" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" onlbuttondown="Grid_onlbuttondown" onrbuttondown="fPopupMenuEvent" onmousemove="comn_onmousemove" oncellclick="grd_All_oncellclick" oncelldblclick="Grid_oncelldblclick" position="absolute 435 171 635 286" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22" band="left"/>
- <Column size="0" band="left"/>
- <Column size="45" band="left"/>
- <Column size="45" band="left"/>
- <Column size="70"/>
- <Column size="200"/>
- <Column size="70"/>
- <Column size="90"/>
- <Column size="80"/>
- <Column size="40"/>
- <Column size="45"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="22"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="처방희망일"/>
- <Cell col="2" text="상태"/>
- <Cell col="3" text="종류"/>
- <Cell col="4" text="처방코드"/>
- <Cell col="5" text="처방명"/>
- <Cell col="6" text="예약일"/>
- <Cell col="7" text="검체"/>
- <Cell col="8" text="전달"/>
- <Cell col="9" colspan="2" text="검사결과"/>
- <Cell col="11" text="prtlstat"/>
- <Cell col="12"/>
- <Cell col="13"/>
- <Cell col="14"/>
- <Cell col="15"/>
- <Cell col="16"/>
- <Cell col="17"/>
- <Cell col="18"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="bind:prcpclscd"/>
- <Cell col="1" text="bind:prcphopedd" mask="####-##-##"/>
- <Cell col="2" displaytype="combo" edittype="combo" style="padding:0 0 0 2;" text="bind:prcpstatcd" combodataset="ds_init_prcpstatcd" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="3" displaytype="combo" edittype="combo" style="padding:0 0 0 2;" class="gridcombo" text="bind:prcpkindcd" combodataset="ds_init_prcpkindcd" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="4" displaytype="text" text="bind:prcpcd"/>
- <Cell col="5" style="align:left;" text="bind:prcpnm"/>
- <Cell col="6" displaytype="date" text="bind:rsrvdd" calendardisplaynulltype="none"/>
- <Cell col="7" style="align:left;" text="bind:drugmthdspccdnm"/>
- <Cell col="8" style="align:left;" text="bind:prcpdelivefact"/>
- <Cell col="9" text="bind:testrsltcnts"/>
- <Cell col="10" text="bind:testrsltunit"/>
- <Cell col="11" text="bind:prtlstat"/>
- <Cell col="12" text="bind:status"/>
- <Cell col="13" text="bind:prcpdd"/>
- <Cell col="14" text="bind:times"/>
- <Cell col="15" text="bind:stepno"/>
- <Cell col="16" text="bind:prtlprcpno"/>
- <Cell col="17" text="bind:prcpno"/>
- <Cell col="18" text="bind:prcphistno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_caredelive3" taborder="35" binddataset="ds_main_caredelivelist3" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" onlbuttondown="Grid_onlbuttondown" onrbuttondown="fPopupMenuEvent" onmousemove="comn_onmousemove" oncellclick="grd_All_oncellclick" oncelldblclick="Grid_oncelldblclick" position="absolute 435 287 635 382" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22"/>
- <Column size="0"/>
- <Column size="45"/>
- <Column size="205"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="22"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="처방희망일"/>
- <Cell col="2" text="종류"/>
- <Cell col="3" text="처방명"/>
- <Cell col="4" text="prtlstat"/>
- <Cell col="5"/>
- <Cell col="6"/>
- <Cell col="7"/>
- <Cell col="8"/>
- <Cell col="9"/>
- <Cell col="10"/>
- <Cell col="11"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:prcphopedd" mask="yyyy-mm-dd"/>
- <Cell col="2" displaytype="combo" edittype="combo" style="padding:0 0 0 2;" class="gridcombo" text="bind:prcpkindcd" combodataset="ds_init_prcpkindcd" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="3" displaytype="text" text="bind:prcpnm"/>
- <Cell col="4" text="bind:prtlstat"/>
- <Cell col="5" text="bind:status"/>
- <Cell col="6" text="bind:prcpdd"/>
- <Cell col="7" text="bind:times"/>
- <Cell col="8" text="bind:stepno"/>
- <Cell col="9" text="bind:prtlprcpno"/>
- <Cell col="10" text="bind:prcpno"/>
- <Cell col="11" text="bind:prcphistno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_form3" taborder="36" binddataset="ds_main_formlist3" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" onlbuttondown="Grid_onlbuttondown" onmousemove="comn_onmousemove" oncellclick="grd_All_oncellclick" oncelldblclick="Grid_oncelldblclick" position="absolute 435 383 635 478" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22"/>
- <Column size="65"/>
- <Column size="186"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="22"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="STEP명"/>
- <Cell col="2" text="caption1"/>
- <Cell col="3" text="caption2"/>
- <Cell col="4" text="prtlstat"/>
- <Cell col="5"/>
- <Cell col="6"/>
- <Cell col="7"/>
- <Cell col="8"/>
- <Cell col="9"/>
- <Cell col="10"/>
- <Cell col="11"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:stepnm"/>
- <Cell col="2" style="align:left;" text="bind:prcpnm"/>
- <Cell col="3" text="bind:formprogflag"/>
- <Cell col="4" text="bind:prtlstat"/>
- <Cell col="5" text="bind:status"/>
- <Cell col="6" text="bind:prcpdd"/>
- <Cell col="7" text="bind:times"/>
- <Cell col="8" text="bind:stepno"/>
- <Cell col="9" text="bind:prtlprcpno"/>
- <Cell col="10" text="bind:prcpno"/>
- <Cell col="11" text="bind:prcphistno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_hichart3" taborder="38" binddataset="ds_main_hichartlist03" useinputpanel="false" position="absolute 435 570 635 653" anchor="default" onmousemove="comn_onmousemove" oncellclick="grd_All_oncellclick" onlbuttondown="Grid_onlbuttondown" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22"/>
- <Column size="160"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="콘텐츠 제목"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" style="align:left;" text="bind:prcpnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_hichart4" taborder="39" binddataset="ds_main_hichartlist04" useinputpanel="false" position="absolute 636 570 836 653" anchor="default" onmousemove="comn_onmousemove" oncellclick="grd_All_oncellclick" onlbuttondown="Grid_onlbuttondown" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22"/>
- <Column size="160"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="콘텐츠 제목"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" style="align:left;" text="bind:prcpnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_form4" taborder="41" binddataset="ds_main_formlist4" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" onlbuttondown="Grid_onlbuttondown" onmousemove="comn_onmousemove" oncellclick="grd_All_oncellclick" oncelldblclick="Grid_oncelldblclick" position="absolute 637 383 837 478" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22"/>
- <Column size="65"/>
- <Column size="186"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="22"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="STEP명"/>
- <Cell col="2" text="caption1"/>
- <Cell col="3" text="caption2"/>
- <Cell col="4" text="prtlstat"/>
- <Cell col="5"/>
- <Cell col="6"/>
- <Cell col="7"/>
- <Cell col="8"/>
- <Cell col="9"/>
- <Cell col="10"/>
- <Cell col="11"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:stepnm"/>
- <Cell col="2" style="align:left;" text="bind:prcpnm"/>
- <Cell col="3" text="bind:formprogflag"/>
- <Cell col="4" text="bind:prtlstat"/>
- <Cell col="5" text="bind:status"/>
- <Cell col="6" text="bind:prcpdd"/>
- <Cell col="7" text="bind:times"/>
- <Cell col="8" text="bind:stepno"/>
- <Cell col="9" text="bind:prtlprcpno"/>
- <Cell col="10" text="bind:prcpno"/>
- <Cell col="11" text="bind:prcphistno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_caredelive4" taborder="42" binddataset="ds_main_caredelivelist4" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" onlbuttondown="Grid_onlbuttondown" onrbuttondown="fPopupMenuEvent" onmousemove="comn_onmousemove" oncellclick="grd_All_oncellclick" oncelldblclick="Grid_oncelldblclick" position="absolute 637 287 837 382" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22"/>
- <Column size="0"/>
- <Column size="45"/>
- <Column size="206"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="22"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="처방희망일"/>
- <Cell col="2" text="종류"/>
- <Cell col="3" text="처방명"/>
- <Cell col="4" text="prtlstat"/>
- <Cell col="5"/>
- <Cell col="6"/>
- <Cell col="7"/>
- <Cell col="8"/>
- <Cell col="9"/>
- <Cell col="10"/>
- <Cell col="11"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:prcphopedd" mask="yyyy-mm-dd"/>
- <Cell col="2" displaytype="combo" edittype="combo" style="padding:0 0 0 2;" class="gridcombo" text="bind:prcpkindcd" combodataset="ds_init_prcpkindcd" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="3" displaytype="text" text="bind:prcpnm"/>
- <Cell col="4" text="bind:prtlstat"/>
- <Cell col="5" text="bind:status"/>
- <Cell col="6" text="bind:prcpdd"/>
- <Cell col="7" text="bind:times"/>
- <Cell col="8" text="bind:stepno"/>
- <Cell col="9" text="bind:prtlprcpno"/>
- <Cell col="10" text="bind:prcpno"/>
- <Cell col="11" text="bind:prcphistno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_test4" taborder="43" binddataset="ds_main_testlist4" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" onlbuttondown="Grid_onlbuttondown" onrbuttondown="fPopupMenuEvent" onmousemove="comn_onmousemove" oncellclick="grd_All_oncellclick" oncelldblclick="Grid_oncelldblclick" position="absolute 637 171 837 286" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22" band="left"/>
- <Column size="0" band="left"/>
- <Column size="0" band="left"/>
- <Column size="35" band="left"/>
- <Column size="45" band="left"/>
- <Column size="70"/>
- <Column size="200"/>
- <Column size="70"/>
- <Column size="90"/>
- <Column size="80"/>
- <Column size="40"/>
- <Column size="45"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="22"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2" text="처방희망일"/>
- <Cell col="3" text="상태"/>
- <Cell col="4" text="종류"/>
- <Cell col="5" text="처방코드"/>
- <Cell col="6" text="처방명"/>
- <Cell col="7" text="예약일"/>
- <Cell col="8" text="검체"/>
- <Cell col="9" text="전달"/>
- <Cell col="10" colspan="2" text="검사결과"/>
- <Cell col="12" text="prtlstat"/>
- <Cell col="13"/>
- <Cell col="14"/>
- <Cell col="15"/>
- <Cell col="16"/>
- <Cell col="17"/>
- <Cell col="18"/>
- <Cell col="19"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:prcpclscd"/>
- <Cell col="2" text="bind:prcphopedd" mask="####-##-##"/>
- <Cell col="3" displaytype="combo" edittype="combo" style="padding:0 0 0 2;" text="bind:prcpstatcd" combodataset="ds_init_prcpstatcd" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="4" displaytype="combo" edittype="combo" style="padding:0 0 0 2;" class="gridcombo" text="bind:prcpkindcd" combodataset="ds_init_prcpkindcd" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="5" style="align:left;" text="bind:prcpcd"/>
- <Cell col="6" style="align:left;" text="bind:prcpnm"/>
- <Cell col="7" displaytype="date" text="bind:rsrvdd" calendardisplaynulltype="none"/>
- <Cell col="8" style="align:left;" text="bind:drugmthdspccdnm"/>
- <Cell col="9" style="align:left;" text="bind:prcpdelivefact"/>
- <Cell col="10" text="bind:testrsltcnts"/>
- <Cell col="11" text="bind:testrsltunit"/>
- <Cell col="12" text="bind:prtlstat"/>
- <Cell col="13" text="bind:status"/>
- <Cell col="14" text="bind:prcpdd"/>
- <Cell col="15" text="bind:times"/>
- <Cell col="16" text="bind:stepno"/>
- <Cell col="17" text="bind:prtlprcpno"/>
- <Cell col="18" text="bind:prcpno"/>
- <Cell col="19" text="bind:prcphistno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_drug4" taborder="44" binddataset="ds_main_druglist4" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" onlbuttondown="Grid_onlbuttondown" onrbuttondown="fPopupMenuEvent" onmousemove="comn_onmousemove" oncellclick="grd_All_oncellclick" oncelldblclick="Grid_oncelldblclick" position="absolute 637 50 837 170" visible="true" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22" band="left"/>
- <Column size="0" band="left"/>
- <Column size="0" band="left"/>
- <Column size="35" band="left"/>
- <Column size="45" band="left"/>
- <Column size="70"/>
- <Column size="130"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="35"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="36"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="31"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="22"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2" text="처방희망일"/>
- <Cell col="3" text="상태"/>
- <Cell col="4" text="종류"/>
- <Cell col="5" text="처방코드"/>
- <Cell col="6" text="처방명"/>
- <Cell col="7" colspan="3" text="총용량"/>
- <Cell col="10" colspan="3" text="수량"/>
- <Cell col="13" text="횟수"/>
- <Cell col="14" text="일수"/>
- <Cell col="15" text="MIX"/>
- <Cell col="16" text="용법"/>
- <Cell col="17" text="prtlstat"/>
- <Cell col="18"/>
- <Cell col="19"/>
- <Cell col="20"/>
- <Cell col="21"/>
- <Cell col="22"/>
- <Cell col="23"/>
- <Cell col="24"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:prcpclscd"/>
- <Cell col="2" text="bind:prcphopedd" mask="####-##-##"/>
- <Cell col="3" displaytype="combo" edittype="combo" style="padding:0 0 0 2;" text="bind:prcpstatcd" combodataset="ds_init_prcpstatcd" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="4" displaytype="combo" edittype="combo" style="padding:0 0 0 2;" class="gridcombo" text="bind:prcpkindcd" combodataset="ds_init_prcpkindcd" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="5" style="align:left;" text="bind:prcpcd"/>
- <Cell col="6" style="align:left;" text="bind:prcpnm"/>
- <Cell col="7" displaytype="text" text="bind:prcpvol"/>
- <Cell col="8" displaytype="text" text="bind:drprcpetc7"/>
- <Cell col="9" displaytype="text" text="bind:prcpvolunitnm"/>
- <Cell col="10" displaytype="text" text="bind:prcpqty"/>
- <Cell col="11" displaytype="text" text="bind:drprcpetc8"/>
- <Cell col="12" displaytype="text" text="bind:prcpqtyunitnm"/>
- <Cell col="13" displaytype="text" text="bind:prcptims"/>
- <Cell col="14" displaytype="text" text="bind:prcpdayno"/>
- <Cell col="15" displaytype="text" text="bind:prcpmixno"/>
- <Cell col="16" displaytype="text" style="align:left;" text="bind:drugmthdspccdnm"/>
- <Cell col="17" text="bind:prtlstat"/>
- <Cell col="18" text="bind:status"/>
- <Cell col="19" text="bind:prcpdd"/>
- <Cell col="20" text="bind:times"/>
- <Cell col="21" text="bind:stepno"/>
- <Cell col="22" text="bind:prtlprcpno"/>
- <Cell col="23" text="bind:prcpno"/>
- <Cell col="24" text="bind:prcphistno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="grp_prcplist" taborder="45" visible="false" position="absolute 540 557 830 647">
- <Layouts>
- <Layout>
- <Grid id="grd_prcplist" taborder="0" binddataset="ds_main_prcplist" useinputpanel="false" position="absolute -271 8 -71 98" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="38"/>
- <Column size="55"/>
- <Column size="0"/>
- <Column size="55"/>
- <Column size="80"/>
- <Column size="250"/>
- <Column size="45"/>
- <Column size="37"/>
- <Column size="37"/>
- <Column size="37"/>
- <Column size="40"/>
- <Column size="37"/>
- <Column size="153"/>
- <Column size="26"/>
- <Column size="61"/>
- <Column size="-4"/>
- <Column size="50"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="85"/>
- <Column size="87"/>
- <Column size="101"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="상태"/>
- <Cell col="2" text="분류"/>
- <Cell col="3" text="종류"/>
- <Cell col="4" text="처방코드"/>
- <Cell col="5" text="처방명"/>
- <Cell col="6" text="총용량"/>
- <Cell col="7" text="총용량"/>
- <Cell col="8" text="수량"/>
- <Cell col="9" text="수량"/>
- <Cell col="10" text="횟수"/>
- <Cell col="11" text="일수"/>
- <Cell col="12" text="용법/검체"/>
- <Cell col="13" text="MIX"/>
- <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="제한시간(분)"/>
- <Cell col="24" text="제한상태코드"/>
- <Cell col="25" text="caption2"/>
- <Cell col="26" text="caption1"/>
- </Band>
- <Band id="body">
- <Cell enable="false" text="bind:status" edittype="combo" displaytype="combo"/>
- <Cell col="1" enable="false" text="bind:prcpstatcd" edittype="combo" displaytype="combo"/>
- <Cell col="2" text="bind:prcpclscd" edittype="combo" displaytype="combo"/>
- <Cell col="3" class="gridcombo" text="bind:prcpkindcd" edittype="combo" displaytype="combo"/>
- <Cell col="4" text="bind:prcpcd" edittype="none" displaytype="none"/>
- <Cell col="5" text="bind:prcpnm" edittype="text" displaytype="text"/>
- <Cell col="6" text="bind:prcpvol" edittype="text" displaytype="text" mask="#.#"/>
- <Cell col="7" text="bind:prcpvolunitnm" edittype="none" displaytype="none"/>
- <Cell col="8" text="bind:prcpqty" edittype="text" displaytype="text" mask="#.#"/>
- <Cell col="9" text="bind:prcpqtyunitnm"/>
- <Cell col="10" text="bind:prcptims" edittype="text" displaytype="text" mask="#"/>
- <Cell col="11" text="bind:prcpdayno" edittype="text" displaytype="text" mask="#"/>
- <Cell col="12" text="bind:drugmthdspccdnm" edittype="none" displaytype="none"/>
- <Cell col="13" text="bind:prcpmixno" edittype="text" displaytype="text"/>
- <Cell col="14" class="gridcombo" text="bind:payflagcd" edittype="combo" displaytype="combo"/>
- <Cell col="15" text="bind:prcpdelivefact"/>
- <Cell col="16" enable="false" text="bind:hosinhosoutflag" edittype="combo" displaytype="combo"/>
- <Cell col="17" class="gridcombo" text="bind:prcpexecdeptcd" edittype="combo" displaytype="combo"/>
- <Cell col="18" text="bind:prcphopedd" edittype="date" displaytype="date" mask="yyyy-mm-dd"/>
- <Cell col="19" text="bind:choiordflag" edittype="checkbox" displaytype="checkbox"/>
- <Cell col="20" text="bind:rgsttm" mask="yyyy-mm-dd"/>
- <Cell col="21" text="bind:rgstridnm"/>
- <Cell col="22" edittype="combo" displaytype="combo"/>
- <Cell col="23" edittype="text" displaytype="text"/>
- <Cell col="24" edittype="combo" displaytype="combo"/>
- <Cell col="25" text="bind:prtlprcpno"/>
- <Cell col="26" text="bind:rsrvdd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="grd_downlist" taborder="46" binddataset="ds_main_down_prcplist" useinputpanel="false" visible="false" position="absolute 610 592 825 642">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="55"/>
- <Column size="80"/>
- <Column size="260"/>
- <Column size="45"/>
- <Column size="27"/>
- <Column size="37"/>
- <Column size="27"/>
- <Column size="40"/>
- <Column size="37"/>
- <Column size="60"/>
- <Column size="153"/>
- <Column size="38"/>
- <Column size="40"/>
- <Column size="50"/>
- <Column size="100"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="80"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="스텝명"/>
- <Cell col="1" text="분류"/>
- <Cell col="2" text="종류"/>
- <Cell col="3" text="처방코드"/>
- <Cell col="4" text="처방명"/>
- <Cell col="5" colspan="2" text="1회용량"/>
- <Cell col="7" colspan="2" text="1회수량"/>
- <Cell col="9" text="횟수"/>
- <Cell col="10" text="일수"/>
- <Cell col="11" text="급비"/>
- <Cell col="12" text="용법/검체"/>
- <Cell col="13" text="MIX"/>
- <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="마취확정필요여부"/>
- </Band>
- <Band id="body">
- <Cell text="bind:stepnm"/>
- <Cell col="1" displaytype="combo" edittype="combo" text="bind:prcpclscd" combodataset="ds_init_prcpclscd" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="2" displaytype="combo" edittype="combo" class="gridcombo" text="bind:prcpkindcd" combodataset="ds_init_prcpkindcd" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="3" displaytype="text" edittype="text" text="bind:prcpcd"/>
- <Cell col="4" displaytype="text" edittype="text" text="bind:prcpnm"/>
- <Cell col="5" displaytype="text" edittype="text" text="bind:drprcpetc7" mask="#.#"/>
- <Cell col="6" displaytype="none" edittype="none" text="bind:prcpvolunitnm"/>
- <Cell col="7" displaytype="text" edittype="text" text="bind:drprcpetc8" mask="#.#"/>
- <Cell col="8" text="bind:prcpqtyunitnm"/>
- <Cell col="9" displaytype="text" edittype="text" text="bind:prcptims" mask="#"/>
- <Cell col="10" displaytype="text" edittype="text" text="bind:prcpdayno" mask="#"/>
- <Cell col="11" displaytype="combo" edittype="combo" text="bind:payflagcd" combodataset="ds_init_payflagcd" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="12" displaytype="none" edittype="none" text="bind:drugmthdspccdnm"/>
- <Cell col="13" displaytype="text" edittype="text" text="bind:prcpmixno"/>
- <Cell col="14" text="bind:prcpdelivefact"/>
- <Cell col="15" displaytype="combo" edittype="combo" text="bind:hosinhosoutflag" combodataset="ds_cmb_hosinhosoutflag" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="16" displaytype="combo" edittype="combo" class="gridcombo" text="bind:prcpexecdeptcd" combodataset="ds_orddept" combocodecol="deptcd" combodatacol="depthngnm"/>
- <Cell col="17" displaytype="checkbox" edittype="checkbox" text="bind:choiordflag" expr="expr:(chkColumn=="Y"||chkColumn==1)?1:0"/>
- <Cell col="18" displaytype="date" text="bind:rgsttm"/>
- <Cell col="19" text="bind:rgstridnm"/>
- <Cell col="20" displaytype="combo" edittype="combo" class="gridcombo" text="bind:anstcnfmneedyn" combodataset="ds_cmb_anstcnfmneedyn"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <PopupMenu id="pmn_menu_1" innerdataset="@ds_MouseR1" idcolumn="func" captioncolumn="label" levelcolumn="level" onmenuclick="pmn_menu_onmenuclick" position="absolute 856 11 930 74"/>
- <PopupMenu id="pmn_menu_2" innerdataset="@ds_MouseR2" idcolumn="func" captioncolumn="label" levelcolumn="level" onmenuclick="pmn_menu_onmenuclick" position="absolute 856 78 963 166"/>
- <Grid id="grd_etc4" taborder="47" binddataset="ds_main_etclist4" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" onlbuttondown="Grid_onlbuttondown" onrbuttondown="fPopupMenuEvent" onmousemove="comn_onmousemove" oncellclick="grd_All_oncellclick" oncelldblclick="Grid_oncelldblclick" position="absolute 637 479 837 569" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22"/>
- <Column size="0"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="161"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="22"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="처방희망일"/>
- <Cell col="2" text="종류"/>
- <Cell col="3" text="분류"/>
- <Cell col="4" text="caption1"/>
- <Cell col="5" text="prtlstat"/>
- <Cell col="6"/>
- <Cell col="7"/>
- <Cell col="8"/>
- <Cell col="9"/>
- <Cell col="10"/>
- <Cell col="11"/>
- <Cell col="12"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:prcphopedd" mask="yyyy-mm-dd"/>
- <Cell col="2" displaytype="combo" edittype="combo" style="padding:0 0 0 2;" class="gridcombo" text="bind:prcpkindcd" combodataset="ds_init_prcpkindcd" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="3" displaytype="combo" edittype="combo" style="padding:0 0 0 2;" text="bind:prcpclscd" combodataset="ds_init_prcpclscd" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="4" style="align:left;" text="bind:prcpnm"/>
- <Cell col="5" text="bind:prtlstat"/>
- <Cell col="6" text="bind:status"/>
- <Cell col="7" text="bind:prcpdd"/>
- <Cell col="8" text="bind:times"/>
- <Cell col="9" text="bind:stepno"/>
- <Cell col="10" text="bind:prtlprcpno"/>
- <Cell col="11" text="bind:prcpno"/>
- <Cell col="12" text="bind:prcphistno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_etc3" taborder="48" binddataset="ds_main_etclist3" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" onlbuttondown="Grid_onlbuttondown" onrbuttondown="fPopupMenuEvent" onmousemove="comn_onmousemove" oncellclick="grd_All_oncellclick" oncelldblclick="Grid_oncelldblclick" position="absolute 435 479 635 569" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22"/>
- <Column size="0"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="161"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="22"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="처방희망일"/>
- <Cell col="2" text="종류"/>
- <Cell col="3" text="분류"/>
- <Cell col="4" text="caption1"/>
- <Cell col="5" text="prtlstat"/>
- <Cell col="6"/>
- <Cell col="7"/>
- <Cell col="8"/>
- <Cell col="9"/>
- <Cell col="10"/>
- <Cell col="11"/>
- <Cell col="12"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:prcphopedd" mask="yyyy-mm-dd"/>
- <Cell col="2" displaytype="combo" edittype="combo" style="padding:0 0 0 2;" class="gridcombo" text="bind:prcpkindcd" combodataset="ds_init_prcpkindcd" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="3" displaytype="combo" edittype="combo" style="padding:0 0 0 2;" text="bind:prcpclscd" combodataset="ds_init_prcpclscd" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="4" style="align:left;" text="bind:prcpnm"/>
- <Cell col="5" text="bind:prtlstat"/>
- <Cell col="6" text="bind:status"/>
- <Cell col="7" text="bind:prcpdd"/>
- <Cell col="8" text="bind:times"/>
- <Cell col="9" text="bind:stepno"/>
- <Cell col="10" text="bind:prtlprcpno"/>
- <Cell col="11" text="bind:prcpno"/>
- <Cell col="12" text="bind:prcphistno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_etc2" taborder="49" binddataset="ds_main_etclist2" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" onlbuttondown="Grid_onlbuttondown" onrbuttondown="fPopupMenuEvent" onmousemove="comn_onmousemove" oncellclick="grd_All_oncellclick" oncelldblclick="Grid_oncelldblclick" position="absolute 232 479 432 569" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22"/>
- <Column size="0"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="161"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="22"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="처방희망일"/>
- <Cell col="2" text="종류"/>
- <Cell col="3" text="분류"/>
- <Cell col="4" text="caption1"/>
- <Cell col="5" text="prtlstat"/>
- <Cell col="6"/>
- <Cell col="7"/>
- <Cell col="8"/>
- <Cell col="9"/>
- <Cell col="10"/>
- <Cell col="11"/>
- <Cell col="12"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:prcphopedd" mask="yyyy-mm-dd"/>
- <Cell col="2" displaytype="combo" edittype="combo" style="padding:0 0 0 2;" class="gridcombo" text="bind:prcpkindcd" combodataset="ds_init_prcpkindcd" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="3" displaytype="combo" edittype="combo" style="padding:0 0 0 2;" text="bind:prcpclscd" combodataset="ds_init_prcpclscd" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="4" style="align:left;" text="bind:prcpnm"/>
- <Cell col="5" text="bind:prtlstat"/>
- <Cell col="6" text="bind:status"/>
- <Cell col="7" text="bind:prcpdd"/>
- <Cell col="8" text="bind:times"/>
- <Cell col="9" text="bind:stepno"/>
- <Cell col="10" text="bind:prtlprcpno"/>
- <Cell col="11" text="bind:prcpno"/>
- <Cell col="12" text="bind:prcphistno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_etc1" taborder="50" binddataset="ds_main_etclist1" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" onlbuttondown="Grid_onlbuttondown" onrbuttondown="fPopupMenuEvent" onmousemove="comn_onmousemove" oncellclick="grd_All_oncellclick" oncelldblclick="Grid_oncelldblclick" position="absolute 29 479 229 569" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22"/>
- <Column size="0"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="161"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="22"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="처방희망일"/>
- <Cell col="2" text="종류"/>
- <Cell col="3" text="분류"/>
- <Cell col="4" text="caption1"/>
- <Cell col="5" text="prtlstat"/>
- <Cell col="6"/>
- <Cell col="7"/>
- <Cell col="8"/>
- <Cell col="9"/>
- <Cell col="10"/>
- <Cell col="11"/>
- <Cell col="12"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:prcphopedd" mask="yyyy-mm-dd"/>
- <Cell col="2" displaytype="combo" edittype="combo" style="padding:0 0 0 2;" class="gridcombo" text="bind:prcpkindcd" combodataset="ds_init_prcpkindcd" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="3" displaytype="combo" edittype="combo" style="padding:0 0 0 2;" text="bind:prcpclscd" combodataset="ds_init_prcpclscd" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="4" style="align:left;" text="bind:prcpnm"/>
- <Cell col="5" text="bind:prtlstat"/>
- <Cell col="6" text="bind:status"/>
- <Cell col="7" text="bind:prcpdd"/>
- <Cell col="8" text="bind:times"/>
- <Cell col="9" text="bind:stepno"/>
- <Cell col="10" text="bind:prtlprcpno"/>
- <Cell col="11" text="bind:prcpno"/>
- <Cell col="12" text="bind:prcphistno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_druglist4" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpclscd" type="STRING"/>
- <Column id="prcphopedd" type="STRING"/>
- <Column id="prcpstatcd" type="STRING"/>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="prcpcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="prcpvol" type="STRING"/>
- <Column id="drprcpetc7" type="STRING"/>
- <Column id="prcpvolunitnm" type="STRING"/>
- <Column id="prcpqty" type="STRING"/>
- <Column id="drprcpetc8" type="STRING"/>
- <Column id="prcpqtyunitnm" type="STRING"/>
- <Column id="prcptims" type="STRING"/>
- <Column id="prcpdayno" type="STRING"/>
- <Column id="prcpmixno" type="STRING"/>
- <Column id="drugmthdspccdnm" type="STRING"/>
- <Column id="prtlstat" type="STRING"/>
- <Column id="status" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="times" type="STRING"/>
- <Column id="stepno" type="STRING"/>
- <Column id="prtlprcpno" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="prcphistno" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_druglist3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpclscd" type="STRING"/>
- <Column id="prcphopedd" type="STRING"/>
- <Column id="prcpstatcd" type="STRING"/>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="prcpcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="prcpvol" type="STRING"/>
- <Column id="drprcpetc7" type="STRING"/>
- <Column id="prcpvolunitnm" type="STRING"/>
- <Column id="prcpqty" type="STRING"/>
- <Column id="drprcpetc8" type="STRING"/>
- <Column id="prcpqtyunitnm" type="STRING"/>
- <Column id="prcptims" type="STRING"/>
- <Column id="prcpdayno" type="STRING"/>
- <Column id="prcpmixno" type="STRING"/>
- <Column id="drugmthdspccdnm" type="STRING"/>
- <Column id="prtlstat" type="STRING"/>
- <Column id="status" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="times" type="STRING"/>
- <Column id="stepno" type="STRING"/>
- <Column id="prtlprcpno" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="prcphistno" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_druglist2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpclscd" type="STRING"/>
- <Column id="prcphopedd" type="STRING"/>
- <Column id="prcpstatcd" type="STRING"/>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="prcpcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="prcpvol" type="STRING"/>
- <Column id="drprcpetc7" type="STRING"/>
- <Column id="prcpvolunitnm" type="STRING"/>
- <Column id="prcpqty" type="STRING"/>
- <Column id="drprcpetc8" type="STRING"/>
- <Column id="prcpqtyunitnm" type="STRING"/>
- <Column id="prcptims" type="STRING"/>
- <Column id="prcpdayno" type="STRING"/>
- <Column id="prcpmixno" type="STRING"/>
- <Column id="drugmthdspccdnm" type="STRING"/>
- <Column id="prtlstat" type="STRING"/>
- <Column id="status" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="times" type="STRING"/>
- <Column id="stepno" type="STRING"/>
- <Column id="prtlprcpno" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="prcphistno" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_druglist1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpclscd" type="STRING"/>
- <Column id="prcphopedd" type="STRING"/>
- <Column id="prcpstatcd" type="STRING"/>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="prcpcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="prcpvol" type="STRING"/>
- <Column id="drprcpetc7" type="STRING"/>
- <Column id="prcpvolunitnm" type="STRING"/>
- <Column id="prcpqty" type="STRING"/>
- <Column id="drprcpetc8" type="STRING"/>
- <Column id="prcpqtyunitnm" type="STRING"/>
- <Column id="prcptims" type="STRING"/>
- <Column id="prcpdayno" type="STRING"/>
- <Column id="prcpmixno" type="STRING"/>
- <Column id="drugmthdspccdnm" type="STRING"/>
- <Column id="prtlstat" type="STRING"/>
- <Column id="status" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="times" type="STRING"/>
- <Column id="stepno" type="STRING"/>
- <Column id="prtlprcpno" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="prcphistno" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_testlist4" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpclscd" type="STRING"/>
- <Column id="prcphopedd" type="STRING"/>
- <Column id="prcpstatcd" type="STRING"/>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="prcpcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="rsrvdd" type="STRING"/>
- <Column id="drugmthdspccdnm" type="STRING"/>
- <Column id="prcpdelivefact" type="STRING"/>
- <Column id="testrsltcnts" type="STRING"/>
- <Column id="testrsltunit" type="STRING"/>
- <Column id="prtlstat" type="STRING"/>
- <Column id="status" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="times" type="STRING"/>
- <Column id="stepno" type="STRING"/>
- <Column id="prtlprcpno" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="prcphistno" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_testlist3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpclscd" type="STRING"/>
- <Column id="prcphopedd" type="STRING"/>
- <Column id="prcpstatcd" type="STRING"/>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="prcpcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="rsrvdd" type="STRING"/>
- <Column id="drugmthdspccdnm" type="STRING"/>
- <Column id="prcpdelivefact" type="STRING"/>
- <Column id="testrsltcnts" type="STRING"/>
- <Column id="testrsltunit" type="STRING"/>
- <Column id="prtlstat" type="STRING"/>
- <Column id="status" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="times" type="STRING"/>
- <Column id="stepno" type="STRING"/>
- <Column id="prtlprcpno" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="prcphistno" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_testlist2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpclscd" type="STRING"/>
- <Column id="prcphopedd" type="STRING"/>
- <Column id="prcpstatcd" type="STRING"/>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="prcpcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="rsrvdd" type="STRING"/>
- <Column id="drugmthdspccdnm" type="STRING"/>
- <Column id="prcpdelivefact" type="STRING"/>
- <Column id="testrsltcnts" type="STRING"/>
- <Column id="testrsltunit" type="STRING"/>
- <Column id="prtlstat" type="STRING"/>
- <Column id="status" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="times" type="STRING"/>
- <Column id="stepno" type="STRING"/>
- <Column id="prtlprcpno" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="prcphistno" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_testlist1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpclscd" type="STRING"/>
- <Column id="prcphopedd" type="STRING"/>
- <Column id="prcpstatcd" type="STRING"/>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="prcpcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="rsrvdd" type="STRING"/>
- <Column id="drugmthdspccdnm" type="STRING"/>
- <Column id="prcpdelivefact" type="STRING"/>
- <Column id="testrsltcnts" type="STRING"/>
- <Column id="testrsltunit" type="STRING"/>
- <Column id="prtlstat" type="STRING"/>
- <Column id="status" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="times" type="STRING"/>
- <Column id="stepno" type="STRING"/>
- <Column id="prtlprcpno" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="prcphistno" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_caredelivelist4" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcphopedd" type="STRING"/>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="prtlstat" type="STRING"/>
- <Column id="status" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="times" type="STRING"/>
- <Column id="stepno" type="STRING"/>
- <Column id="prtlprcpno" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="prcphistno" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_caredelivelist3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcphopedd" type="STRING"/>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="prtlstat" type="STRING"/>
- <Column id="status" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="times" type="STRING"/>
- <Column id="stepno" type="STRING"/>
- <Column id="prtlprcpno" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="prcphistno" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_caredelivelist2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcphopedd" type="STRING"/>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="prtlstat" type="STRING"/>
- <Column id="status" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="times" type="STRING"/>
- <Column id="stepno" type="STRING"/>
- <Column id="prtlprcpno" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="prcphistno" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_caredelivelist1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcphopedd" type="STRING"/>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="prtlstat" type="STRING"/>
- <Column id="status" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="times" type="STRING"/>
- <Column id="stepno" type="STRING"/>
- <Column id="prtlprcpno" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="prcphistno" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_formlist4" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="stepnm" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="formprogflag" type="STRING"/>
- <Column id="prtlstat" type="STRING"/>
- <Column id="status" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="times" type="STRING"/>
- <Column id="stepno" type="STRING"/>
- <Column id="prtlprcpno" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="prcphistno" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_formlist3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="stepnm" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="formprogflag" type="STRING"/>
- <Column id="prtlstat" type="STRING"/>
- <Column id="status" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="times" type="STRING"/>
- <Column id="stepno" type="STRING"/>
- <Column id="prtlprcpno" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="prcphistno" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_formlist2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="stepnm" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="formprogflag" type="STRING"/>
- <Column id="prtlstat" type="STRING"/>
- <Column id="status" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="times" type="STRING"/>
- <Column id="stepno" type="STRING"/>
- <Column id="prtlprcpno" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="prcphistno" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_formlist1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="stepnm" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="formprogflag" type="STRING"/>
- <Column id="prtlstat" type="STRING"/>
- <Column id="status" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="times" type="STRING"/>
- <Column id="stepno" type="STRING"/>
- <Column id="prtlprcpno" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="prcphistno" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_etclist4" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcphopedd" type="STRING"/>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="prcpclscd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="prtlstat" type="STRING"/>
- <Column id="status" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="times" type="STRING"/>
- <Column id="stepno" type="STRING"/>
- <Column id="prtlprcpno" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="prcphistno" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_etclist3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcphopedd" type="STRING"/>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="prcpclscd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="prtlstat" type="STRING"/>
- <Column id="status" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="times" type="STRING"/>
- <Column id="stepno" type="STRING"/>
- <Column id="prtlprcpno" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="prcphistno" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_etclist2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcphopedd" type="STRING"/>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="prcpclscd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="prtlstat" type="STRING"/>
- <Column id="status" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="times" type="STRING"/>
- <Column id="stepno" type="STRING"/>
- <Column id="prtlprcpno" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="prcphistno" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_etclist1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcphopedd" type="STRING"/>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="prcpclscd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="prtlstat" type="STRING"/>
- <Column id="status" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="times" type="STRING"/>
- <Column id="stepno" type="STRING"/>
- <Column id="prtlprcpno" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="prcphistno" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_prcp_prcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="status" type="STRING"/>
- <Column id="prcpstatcd" type="STRING"/>
- <Column id="prcpclscd" type="STRING"/>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="prcpcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="prcpvol" type="STRING"/>
- <Column id="prcpvolunitnm" type="STRING"/>
- <Column id="prcpqty" type="STRING"/>
- <Column id="prcpqtyunitnm" type="STRING"/>
- <Column id="prcptims" type="STRING"/>
- <Column id="prcpdayno" type="STRING"/>
- <Column id="drugmthdspccdnm" type="STRING"/>
- <Column id="prcpmixno" type="STRING"/>
- <Column id="payflagcd" type="STRING"/>
- <Column id="prcpdelivefact" type="STRING"/>
- <Column id="hosinhosoutflag" type="STRING"/>
- <Column id="prcpexecdeptcd" type="STRING"/>
- <Column id="prcphopedd" type="STRING"/>
- <Column id="choiordflag" type="STRING"/>
- <Column id="rgsttm" type="STRING"/>
- <Column id="rgstridnm" type="STRING"/>
- <Column id="prtlprcpno" type="STRING"/>
- <Column id="rsrvdd" type="STRING"/>
- <Column id="pampkspec" type="STRING" size="0"/>
- <Column id="prcppkspec" type="STRING" size="0"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_down_prcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_main_down_prcplist_oncolumnchanged">
- <ColumnInfo>
- <Column id="stepnm" type="STRING"/>
- <Column id="prcpclscd" type="STRING"/>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="prcpcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="drprcpetc7" type="STRING"/>
- <Column id="prcpvolunitnm" type="STRING"/>
- <Column id="drprcpetc8" type="STRING"/>
- <Column id="prcpqtyunitnm" type="STRING"/>
- <Column id="prcptims" type="STRING"/>
- <Column id="prcpdayno" type="STRING"/>
- <Column id="payflagcd" type="STRING"/>
- <Column id="drugmthdspccdnm" type="STRING"/>
- <Column id="prcpmixno" type="STRING"/>
- <Column id="prcpdelivefact" type="STRING"/>
- <Column id="hosinhosoutflag" type="STRING"/>
- <Column id="prcpexecdeptcd" type="STRING"/>
- <Column id="choiordflag" type="STRING"/>
- <Column id="rgsttm" type="STRING"/>
- <Column id="rgstridnm" type="STRING"/>
- <Column id="anstcnfmneedyn" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_prcpkindcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_prcpclscd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_prcpstatcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_hosinprcpresncd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_payflagcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_steplist_stepinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cpgno" type="STRING" size="256"/>
- <Column id="cpghistseq" type="STRING" size="256"/>
- <Column id="cpgflagcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cpgno"/>
- <Col id="cpghistseq"/>
- <Col id="cpgflagcd"/>
- </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="grdmode" type="STRING" size="256"/>
- <Column id="mstatus" type="STRING" size="256"/>
- <Column id="tmpprcpno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="grdmode">4</Col>
- <Col id="tmpprcpno">0</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init" 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="prcpstatcd" type="STRING" size="256"/>
- <Column id="prcpclscd" type="STRING" size="256"/>
- <Column id="prcpkindcd" type="STRING" size="256"/>
- <Column id="hosinprcpresncd" type="STRING" size="256"/>
- <Column id="payflagcd" type="STRING" size="256"/>
- <Column id="prcpddcond" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="prcpdd"/>
- <Col id="prcpstatcd"/>
- <Col id="prcpclscd"/>
- <Col id="prcpkindcd"/>
- <Col id="hosinprcpresncd"/>
- <Col id="payflagcd"/>
- <Col id="prcpddcond"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_root" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cp" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cp">D</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_getdatalist_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_getdatalist_prcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_formlist_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="times" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="prcpcd" type="STRING" size="256"/>
- <Column id="prcpno" type="STRING" size="256"/>
- <Column id="prcpnm" type="STRING" size="256"/>
- <Column id="stepnm" type="STRING" size="256"/>
- <Column id="prcpclscd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_data_singdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_choiprcpinfo_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_choiprcpinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="saveflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_copyset" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_prcpsrch_prcplist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="status" type="STRING" size="256" sumtext="처리구분"/>
- <Column id="prcpstatcd" type="STRING" size="256" sumtext="처방상태코드"/>
- <Column id="prcpclscd" type="STRING" size="256" sumtext="처방분류코드"/>
- <Column id="prcpkindcd" type="STRING" size="256" sumtext="처방종류코드"/>
- <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
- <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
- <Column id="prcpvol" type="STRING" size="256" sumtext="처방용량"/>
- <Column id="prcpvolunitnm" type="STRING" size="256" sumtext="처방용량단위명"/>
- <Column id="prcpqty" type="STRING" size="256" sumtext="처방수량"/>
- <Column id="prcpqtyunitnm" type="STRING" size="256" sumtext="처방수량단위명"/>
- <Column id="prcptims" type="STRING" size="256" sumtext="처방횟수"/>
- <Column id="prcpdayno" type="STRING" size="256" sumtext="처방일수"/>
- <Column id="drugmthdspccdnm" type="STRING" size="256" sumtext="투여방법검체코드명"/>
- <Column id="prcpmixno" type="STRING" size="256" sumtext="처방Mix번호"/>
- <Column id="payflagcd" type="STRING" size="256" sumtext="급여구분코드"/>
- <Column id="prcpdelivefact" type="STRING" size="256" sumtext="전달사항"/>
- <Column id="hosinhosoutflag" type="STRING" size="256" sumtext="원내/원외구분"/>
- <Column id="prcpexecdeptcd" type="STRING" size="256" sumtext="처방실시부서코드"/>
- <Column id="prcphopedd" type="STRING" size="256" sumtext="처방희망일시"/>
- <Column id="choiordflag" type="STRING" size="256" sumtext="선택진료구분"/>
- <Column id="rgstdt" type="STRING" size="256" sumtext="등록일시"/>
- <Column id="rgstridnm" type="STRING" size="256" sumtext="등록자명"/>
- <Column id="testrsltunit" type="STRING" size="256" sumtext="검사결과단위"/>
- <Column id="testrsltcnts" type="STRING" size="256" sumtext="검사결과"/>
- <Column id="prcpgenrflag" type="STRING" size="256" sumtext="처방발생구분"/>
- <Column id="prcphistcd" type="STRING" size="256" sumtext="처방이력코드"/>
- <Column id="tempprcpflag" type="STRING" size="256" sumtext="임시처방구분"/>
- <Column id="prcpsetcd" type="STRING" size="256" sumtext="처방SET코드"/>
- <Column id="prcpvolunitflag" type="STRING" size="256" sumtext="처방용량단위구분"/>
- <Column id="prcpqtyunitflag" type="STRING" size="256" sumtext="처방수량단위구분"/>
- <Column id="orgprcpqty" type="STRING" size="256" sumtext="실제처방수량"/>
- <Column id="drugspd" type="STRING" size="256" sumtext="투여속도"/>
- <Column id="drugspdunitflag" type="STRING" size="256" sumtext="투여속도단위구분"/>
- <Column id="powdflag" type="STRING" size="256" sumtext="파우더구분"/>
- <Column id="prnprcpflag" type="STRING" size="256" sumtext="PRN처방구분"/>
- <Column id="prepprcpflag" type="STRING" size="256" sumtext="Prep처방구분"/>
- <Column id="selfprcpflag" type="STRING" size="256" sumtext="자가처방구분"/>
- <Column id="selfdrugflag" type="STRING" size="256" sumtext="SELF약구분"/>
- <Column id="drugpackflag" type="STRING" size="256" sumtext="투약포장구분"/>
- <Column id="erprcpflag" type="STRING" size="256" sumtext="응급처방구분"/>
- <Column id="precureprcpflag" type="STRING" size="256" sumtext="선처치처방구분"/>
- <Column id="nigtprcpflag" type="STRING" size="256" sumtext="야간처방구분"/>
- <Column id="portprcpflag" type="STRING" size="256" sumtext="포터블처방구분"/>
- <Column id="fixprcpflag" type="STRING" size="256" sumtext="정액처방구분"/>
- <Column id="anamneflag" type="STRING" size="256" sumtext="기왕증(력)구분"/>
- <Column id="fastprcpflag" type="STRING" size="256" sumtext="금식처방구분"/>
- <Column id="erreadflag" type="STRING" size="256" sumtext="응급판독구분"/>
- <Column id="prcpdirecflag" type="STRING" size="256" sumtext="처방방향구분"/>
- <Column id="tnsuseflag" type="STRING" size="256" sumtext="수혈사용구분"/>
- <Column id="tnsfiltflag" type="STRING" size="256" sumtext="수혈필터구분"/>
- <Column id="trnptbftestflag" type="STRING" size="256" sumtext="이식전검사구분"/>
- <Column id="offictourhealexamflag" type="STRING" size="256" sumtext="출장건진구분"/>
- <Column id="stemcellflag" type="STRING" size="256" sumtext="조혈모(줄기)세포구분"/>
- <Column id="angioflagcd" type="STRING" size="256" sumtext="Angio구분"/>
- <Column id="opansflagcd" type="STRING" size="256" sumtext="수술마취구분"/>
- <Column id="ansttm" type="STRING" size="256" sumtext="마취시간"/>
- <Column id="mealcalrcnts" type="STRING" size="256" sumtext="식이열량함량"/>
- <Column id="mealprotcnts" type="STRING" size="256" sumtext="식이단백질함량"/>
- <Column id="mealupdtflag" type="STRING" size="256" sumtext="식이수정구분"/>
- <Column id="hosinprcpresncd" type="STRING" size="256" sumtext="원내처방사유코드"/>
- <Column id="etcprcpresncd" type="STRING" size="256" sumtext="기타처방사유코드"/>
- <Column id="drugmthdspccd" type="STRING" size="256" sumtext="투여방법검체코드"/>
- <Column id="issdeptcd" type="STRING" size="256" sumtext="발행부서코드"/>
- <Column id="prcpauthflag" type="STRING" size="256" sumtext="처방권한구분"/>
- <Column id="prcpinptflag" type="STRING" size="256" sumtext="처방입력구분"/>
- <Column id="prcpsignflag" type="STRING" size="256" sumtext="처방서명구분"/>
- <Column id="rateprcpflag" type="STRING" size="256" sumtext="비율처방구분"/>
- <Column id="prcprefseq" type="STRING" size="256" sumtext="처방조회순서"/>
- <Column id="ordreqlnkno" type="STRING" size="256" sumtext="진료의뢰연결번호"/>
- <Column id="testreqlnkno" type="STRING" size="256" sumtext="검사의뢰연결번호"/>
- <Column id="prcplnkdd" type="STRING" size="256" sumtext="처방연계일자"/>
- <Column id="prcplnkno" type="STRING" size="256" sumtext="처방연계번호"/>
- <Column id="oprsrvno" type="STRING" size="256" sumtext="수술예약번호"/>
- <Column id="tootfact" type="STRING" size="256" sumtext="치식사항"/>
- <Column id="clinccmtcnts" type="STRING" size="256" sumtext="임상소견내용"/>
- <Column id="prcpessninptflag" type="STRING" size="256" sumtext="처방필수입력구분"/>
- <Column id="grupsnglflag" type="STRING" size="256" sumtext="그룹싱글구분"/>
- <Column id="drugrateqty" type="STRING" size="256" sumtext="투약비율수랑"/>
- <Column id="asttestflag" type="STRING" size="256" sumtext="AST검사구분"/>
- <Column id="clincstdyflag" type="STRING" size="256" sumtext="임상연구구분"/>
- <Column id="prtlno" type="STRING" size="256" sumtext="프로토콜번호"/>
- <Column id="clincstdycd" type="STRING" size="256" sumtext="임상연구코드"/>
- <Column id="optermcd" type="STRING" size="256" sumtext="수술용어"/>
- <Column id="prcpflag" type="STRING" size="256" sumtext="처방구분"/>
- <Column id="hscttempprcpflag" type="STRING" size="256" sumtext="HSCT임시처방구분"/>
- <Column id="inclprcpcd" type="STRING" size="256" sumtext="종속처방코드"/>
- <Column id="inclprcpno" type="STRING" size="256" sumtext="종속처방번호"/>
- <Column id="pampkspec" type="STRING" size="256" sumtext="원무PK내역"/>
- <Column id="prcppkspec" type="STRING" size="256" sumtext="처방PK내역"/>
- <Column id="calcscormastspec" type="STRING" size="256" sumtext="수가마스터내역"/>
- <Column id="drugmastspec" type="STRING" size="256" sumtext="약품마스터내역"/>
- <Column id="rateprcpspec" type="STRING" size="256" sumtext="비율처방내역"/>
- <Column id="matrsetprcpspec" type="STRING" size="256" sumtext="재료SET처방내역"/>
- <Column id="suppdeptspec" type="STRING" size="256" sumtext="지원부서내역"/>
- <Column id="contprcpspec" type="STRING" size="256" sumtext="연속처방내역"/>
- <Column id="etclnkspec" type="STRING" size="256" sumtext="기타연계내역"/>
- <Column id="srchcondcnts" type="STRING" size="256" sumtext="검색조건내용"/>
- <Column id="orgprcpnm" type="STRING" size="256" sumtext="수가처방명"/>
- <Column id="chkcol" type="STRING" size="256" sumtext="전처방check표시"/>
- <Column id="hsctdelivepos" type="STRING" size="256" sumtext="hsct전달위치"/>
- <Column id="hsctlnkno" type="STRING" size="256" sumtext="hsct연계번호"/>
- <Column id="etcprcpflag" type="STRING" size="256" sumtext="기타처방구분"/>
- <Column id="aftcertflag" type="STRING" size="256" sumtext="후인증 구분"/>
- <Column id="aftcertdrid" type="STRING" size="256" sumtext="후인증 대상의사 ID"/>
- <Column id="prcpvalidd" type="STRING" size="256" sumtext="처방유효일자"/>
- <Column id="spynpy1" type="STRING" size="256" sumtext="환자급비유형"/>
- <Column id="specdrid" type="STRING" size="256" sumtext="선택진료의ID"/>
- <Column id="anticncrprtlno" type="STRING" size="256" sumtext="항암프로토콜에 대한 코드로 일련번호 형태로 관리"/>
- <Column id="anticncrdayno" type="STRING" size="256" sumtext="항암프로토콜의 실시 차수"/>
- <Column id="druglnkno" type="STRING" size="256" sumtext="항암프로토콜,TPN처방의 처방번호"/>
- <Column id="rehbprcpcurefreqflag" type="STRING" size="256" sumtext="재활처방치료빈도"/>
- <Column id="dietprcpgenrflag" type="STRING" size="256" sumtext="식이처방발생구분"/>
- <Column id="irpayflag" type="STRING" size="256" sumtext="Irradiation급비구분"/>
- <Column id="irflag" type="STRING" size="256" sumtext="Irradiation구분"/>
- <Column id="procerdietflag" type="STRING" size="256" sumtext="보호자식이구분"/>
- <Column id="diagtestconttestintvlflag" type="STRING" size="256" sumtext="진단검사연속검사기본시간"/>
- <Column id="drugindependpackflag" type="STRING" size="256" sumtext="따로포장구분"/>
- <Column id="diagtestconttestbasetm" type="STRING" size="256" sumtext="진단검사연속검사기본시간"/>
- <Column id="diagtestconttestorgtims" type="STRING" size="256" sumtext="진단검사연속검사원횟수"/>
- <Column id="ermediscmngtresncd" type="STRING" size="256" sumtext="응급의학관리료사유코드"/>
- <Column id="rehbprcpenddd" type="STRING" size="256" sumtext="재활처방마감일자"/>
- <Column id="matrallsizespecid" type="STRING" size="256" sumtext="재료AllSize규격ID"/>
- <Column id="rehbprcpcurepartcd" type="STRING" size="256" sumtext="재활처방치료부위"/>
- <Column id="lowdrugresncd" type="STRING" size="256" sumtext="저함량배수사유코드"/>
- <Column id="tfdtlcd" type="STRING" size="256" sumtext="경장영양식세부코드"/>
- <Column id="dnorreqlnkno" type="STRING" size="256" sumtext="HLA검사의뢰지"/>
- <Column id="subcretno" type="STRING" size="256" sumtext="기왕증,임상연구보조유형"/>
- <Column id="exptmthdfact" type="STRING" size="256" sumtext="예외용법설명"/>
- <Column id="lowdrugresnetcfact" type="STRING" size="256" sumtext="기타저함량배수 상세사유"/>
- <Column id="diagtestconttestcdspec" type="STRING" size="256" sumtext="진단검사 연속검사코드내역"/>
- <Column id="drgacptflag" type="STRING" size="256" sumtext="DRG인정 Flag"/>
- <Column id="drprcpetc1" type="STRING" size="256" sumtext="의사처방기타1"/>
- <Column id="drprcpetc2" type="STRING" size="256" sumtext="의사처방기타2"/>
- <Column id="drprcpetc3" type="STRING" size="256" sumtext="의사처방기타3"/>
- <Column id="drprcpetc4" type="STRING" size="256" sumtext="의사처방기타4"/>
- <Column id="drprcpetc5" type="STRING" size="256" sumtext="의사처방기타5"/>
- <Column id="drprcpetc6" type="STRING" size="256" sumtext="의사처방기타6"/>
- <Column id="drprcpetc7" type="STRING" size="256" sumtext="의사처방기타7"/>
- <Column id="drprcpetc8" type="STRING" size="256" sumtext="의사처방기타8"/>
- <Column id="drprcpetc9" type="STRING" size="256" sumtext="의사처방기타9"/>
- <Column id="drprcpetc10" type="STRING" size="256" sumtext="의사처방기타10"/>
- <Column id="tempcol1" type="STRING" size="256" sumtext="임시컬럼1"/>
- <Column id="tempcol2" type="STRING" size="256" sumtext="임시컬럼2"/>
- <Column id="tempcol3" type="STRING" size="256" sumtext="임시컬럼3"/>
- <Column id="tempcol4" type="STRING" size="256" sumtext="임시컬럼4"/>
- <Column id="tempcol5" type="STRING" size="256" sumtext="임시컬럼5"/>
- <Column id="tempcol6" type="STRING" size="256" sumtext="임시컬럼6"/>
- <Column id="tempcol7" type="STRING" size="256" sumtext="임시컬럼7"/>
- <Column id="tempcol8" type="STRING" size="256" sumtext="임시컬럼8"/>
- <Column id="tempcol9" type="STRING" size="256" sumtext="임시컬럼9"/>
- <Column id="tempcol10" type="STRING" size="256" sumtext="임시컬럼10"/>
- <Column id="tempcol11" type="STRING" size="256" sumtext="임시컬럼11"/>
- <Column id="tempcol12" type="STRING" size="256" sumtext="임시컬럼12"/>
- <Column id="tempcol13" type="STRING" size="256" sumtext="임시컬럼13"/>
- <Column id="tempcol14" type="STRING" size="256" sumtext="임시컬럼14"/>
- <Column id="tempcol15" type="STRING" size="256" sumtext="임시컬럼15"/>
- <Column id="tempcol16" type="STRING" size="256" sumtext="임시컬럼16"/>
- <Column id="tempcol17" type="STRING" size="256" sumtext="임시컬럼17"/>
- <Column id="tempcol18" type="STRING" size="256" sumtext="임시컬럼18"/>
- <Column id="tempcol19" type="STRING" size="256" sumtext="임시컬럼19"/>
- <Column id="tempcol20" type="STRING" size="256" sumtext="임시컬럼20"/>
- <Column id="tempcol21" type="STRING" size="256" sumtext="임시컬럼21"/>
- <Column id="tempcol22" type="STRING" size="256" sumtext="임시컬럼22"/>
- <Column id="tempcol23" type="STRING" size="256" sumtext="임시컬럼23"/>
- <Column id="tempcol24" type="STRING" size="256" sumtext="임시컬럼24"/>
- <Column id="tempcol25" type="STRING" size="256" sumtext="임시컬럼25"/>
- <Column id="stepno" type="STRING" size="256" sumtext="CP스텝번호"/>
- <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
- <Column id="anstcnfmneedyn" type="STRING" size="256" sumtext="수술마취확정필요여부"/>
- <Column id="checkyn" type="STRING" size="256" sumtext="수술마취확정필요여부(CPG속성관리시 사용함)"/>
- <Column id="setno" type="STRING" size="256" sumtext="셋번호(CPG속성관리시 사용함)"/>
- <Column id="settypecd" type="STRING" size="256" sumtext="셋형태코드(CPG속성관리시 사용함)"/>
- <Column id="setcdno" type="STRING" size="256" sumtext="셋코드번호(CPG속성관리시 사용함)"/>
- <Column id="essnprcpyn" type="STRING" size="256" sumtext="스텝필수여부(CPG 스텝필수 속성번호)"/>
- <Column id="limno" type="STRING" size="256" sumtext="제한시간번호(CPG 스텝필수 속성번호)"/>
- <Column id="limhistno" type="STRING" size="256" sumtext="제한시간이력번호(CPG 스텝필수 속성번호)"/>
- <Column id="rowkey" type="STRING" size="256" sumtext="rowid"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관기호"/>
- <Column id="rsrvdd" type="STRING" size="256"/>
- <Column id="prtlprcpno" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_setlist_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_cmb_hosinhosoutflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">원내</Col>
- <Col id="value">I</Col>
- </Row>
- <Row>
- <Col id="label">원외</Col>
- <Col id="value">O</Col>
- </Row>
- <Row>
- <Col id="label"/>
- <Col id="value"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_orddept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="depthngnm" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cmb_anstcnfmneedyn" 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">Y</Col>
- <Col id="value">Y</Col>
- </Row>
- <Row>
- <Col id="label">N</Col>
- <Col id="value">N</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_prcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="status" type="STRING" size="256" sumtext="입력,수정,삭제,d/c"/>
- <Column id="prcpstatcd" type="STRING" size="256" sumtext="처방상태코드"/>
- <Column id="prcpclscd" type="STRING" size="256" sumtext="처방분류코드"/>
- <Column id="prcpkindcd" type="STRING" size="256" sumtext="처방종류코드"/>
- <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
- <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
- <Column id="prcpvol" type="BIGDECIMAL" size="256" sumtext="처방용량"/>
- <Column id="prcpvolunitnm" type="STRING" size="256" sumtext="처방용량단위명"/>
- <Column id="prcpqty" type="STRING" size="256" sumtext="처방수량"/>
- <Column id="prcpqtyunitnm" type="STRING" size="256" sumtext="처방수량단위명"/>
- <Column id="prcptims" type="STRING" size="256" sumtext="처방횟수"/>
- <Column id="prcpdayno" type="STRING" size="256" sumtext="처방일수"/>
- <Column id="drugmthdspccdnm" type="STRING" size="256" sumtext="투여방법검체코드명"/>
- <Column id="prcpmixno" type="STRING" size="256" sumtext="처방mix번호"/>
- <Column id="payflagcd" type="STRING" size="256" sumtext="급여구분코드"/>
- <Column id="prcpdelivefact" type="STRING" size="256" sumtext="전달사항"/>
- <Column id="hosinhosoutflag" type="STRING" size="256" sumtext="원내/원외구분"/>
- <Column id="prcpexecdeptcd" type="STRING" size="256" sumtext="처방실시부서코드"/>
- <Column id="prcphopedd" type="STRING" size="256" sumtext="처방희망일시"/>
- <Column id="choiordflag" type="STRING" size="256" sumtext="선택진료구분"/>
- <Column id="rgstdt" type="STRING" size="256" sumtext="등록일시"/>
- <Column id="rgstridnm" type="STRING" size="256" sumtext="등록자명"/>
- <Column id="testrsltunit" type="STRING" size="256" sumtext="검사결과단위"/>
- <Column id="testrsltcnts" type="STRING" size="256" sumtext="검사결과"/>
- <Column id="prcpgenrflag" type="STRING" size="256" sumtext="처방발생구분"/>
- <Column id="prcphistcd" type="STRING" size="256" sumtext="처방이력코드"/>
- <Column id="tempprcpflag" type="STRING" size="256" sumtext="임시처방구분"/>
- <Column id="prcpsetcd" type="STRING" size="256" sumtext="처방set코드"/>
- <Column id="prcpvolunitflag" type="STRING" size="256" sumtext="처방용량단위구분"/>
- <Column id="prcpqtyunitflag" type="STRING" size="256" sumtext="처방수량단위구분"/>
- <Column id="orgprcpqty" type="STRING" size="256" sumtext="실제처방수량"/>
- <Column id="drugspd" type="STRING" size="256" sumtext="투여속도"/>
- <Column id="drugspdunitflag" type="STRING" size="256" sumtext="투여속도단위구분"/>
- <Column id="powdflag" type="STRING" size="256" sumtext="파우더구분"/>
- <Column id="prnprcpflag" type="STRING" size="256" sumtext="prn처방구분"/>
- <Column id="prepprcpflag" type="STRING" size="256" sumtext="prep처방구분"/>
- <Column id="selfprcpflag" type="STRING" size="256" sumtext="자가처방구분"/>
- <Column id="selfdrugflag" type="STRING" size="256" sumtext="self약구분"/>
- <Column id="drugpackflag" type="STRING" size="256" sumtext="투약포장구분"/>
- <Column id="erprcpflag" type="STRING" size="256" sumtext="응급처방구분"/>
- <Column id="precureprcpflag" type="STRING" size="256" sumtext="선처치처방구분"/>
- <Column id="nigtprcpflag" type="STRING" size="256" sumtext="야간처방구분"/>
- <Column id="portprcpflag" type="STRING" size="256" sumtext="포터블처방구분"/>
- <Column id="fixprcpflag" type="STRING" size="256" sumtext="정액처방구분"/>
- <Column id="anamneflag" type="STRING" size="256" sumtext="기왕증(력)구분"/>
- <Column id="fastprcpflag" type="STRING" size="256" sumtext="금식처방구분"/>
- <Column id="erreadflag" type="STRING" size="256" sumtext="응급판독구분"/>
- <Column id="prcpdirecflag" type="STRING" size="256" sumtext="처방방향구분"/>
- <Column id="tnsuseflag" type="STRING" size="256" sumtext="수혈사용구분"/>
- <Column id="tnsfiltflag" type="STRING" size="256" sumtext="수혈필터구분"/>
- <Column id="trnptbftestflag" type="STRING" size="256" sumtext="이식전검사구분"/>
- <Column id="offictourhealexamflag" type="STRING" size="256" sumtext="출장건진구분"/>
- <Column id="stemcellflag" type="STRING" size="256" sumtext="조혈모(줄기)세포구분"/>
- <Column id="angioflagcd" type="STRING" size="256" sumtext="angio구분"/>
- <Column id="opansflagcd" type="STRING" size="256" sumtext="수술마취구분"/>
- <Column id="ansttm" type="STRING" size="256" sumtext="마취시간"/>
- <Column id="mealcalrcnts" type="STRING" size="256" sumtext="식이열량함량"/>
- <Column id="mealprotcnts" type="STRING" size="256" sumtext="식이단백질함량"/>
- <Column id="mealupdtflag" type="STRING" size="256" sumtext="식이수정구분"/>
- <Column id="hosinprcpresncd" type="STRING" size="256" sumtext="원내처방사유코드"/>
- <Column id="etcprcpresncd" type="STRING" size="256" sumtext="기타처방사유코드"/>
- <Column id="drugmthdspccd" type="STRING" size="256" sumtext="투여방법검체코드"/>
- <Column id="issdeptcd" type="STRING" size="256" sumtext="발행부서코드"/>
- <Column id="prcpauthflag" type="STRING" size="256" sumtext="처방권한구분"/>
- <Column id="prcpinptflag" type="STRING" size="256" sumtext="처방입력구분"/>
- <Column id="prcpsignflag" type="STRING" size="256" sumtext="처방서명구분"/>
- <Column id="rateprcpflag" type="STRING" size="256" sumtext="비율처방구분"/>
- <Column id="prcprefseq" type="STRING" size="256" sumtext="처방조회순서"/>
- <Column id="ordreqlnkno" type="STRING" size="256" sumtext="진료의뢰연결번호"/>
- <Column id="testreqlnkno" type="STRING" size="256" sumtext="검사의뢰연결번호"/>
- <Column id="prcplnkdd" type="STRING" size="256" sumtext="처방연계일자"/>
- <Column id="prcplnkno" type="STRING" size="256" sumtext="처방연계번호"/>
- <Column id="oprsrvno" type="STRING" size="256" sumtext="수술예약번호"/>
- <Column id="tootfact" type="STRING" size="256" sumtext="치식사항"/>
- <Column id="clinccmtcnts" type="STRING" size="256" sumtext="임상소견내용"/>
- <Column id="prcpessninptflag" type="STRING" size="256" sumtext="처방필수입력구분"/>
- <Column id="grupsnglflag" type="STRING" size="256" sumtext="그룹싱글구분"/>
- <Column id="drugrateqty" type="STRING" size="256" sumtext="투약비율수랑"/>
- <Column id="asttestflag" type="STRING" size="256" sumtext="ast검사구분"/>
- <Column id="clincstdyflag" type="STRING" size="256" sumtext="임상연구구분"/>
- <Column id="prtlno" type="STRING" size="256" sumtext="프로토콜번호"/>
- <Column id="clincstdycd" type="STRING" size="256" sumtext="임상연구코드"/>
- <Column id="optermcd" type="STRING" size="256" sumtext="수술용어"/>
- <Column id="prcpflag" type="STRING" size="256" sumtext="처방구분"/>
- <Column id="hscttempprcpflag" type="STRING" size="256" sumtext="hsct임시처방구분"/>
- <Column id="inclprcpcd" type="STRING" size="256" sumtext="종속처방코드"/>
- <Column id="inclprcpno" type="STRING" size="256" sumtext="종속처방번호"/>
- <Column id="pampkspec" type="STRING" size="256" sumtext="원무pk내역"/>
- <Column id="prcppkspec" type="STRING" size="256" sumtext="처방pk내역"/>
- <Column id="calcscormastspec" type="STRING" size="256" sumtext="수가마스터내역"/>
- <Column id="drugmastspec" type="STRING" size="256" sumtext="약품마스터내역"/>
- <Column id="rateprcpspec" type="STRING" size="256" sumtext="비율처방내역"/>
- <Column id="matrsetprcpspec" type="STRING" size="256" sumtext="재료set처방내역"/>
- <Column id="suppdeptspec" type="STRING" size="256" sumtext="지원부서내역"/>
- <Column id="contprcpspec" type="STRING" size="256" sumtext="연속처방내역"/>
- <Column id="etclnkspec" type="STRING" size="256" sumtext="기타연계내역"/>
- <Column id="srchcondcnts" type="STRING" size="256" sumtext="검색조건내용"/>
- <Column id="orgprcpnm" type="STRING" size="256" sumtext="수가처방명"/>
- <Column id="chkcol" type="STRING" size="256" sumtext="전처방check표시"/>
- <Column id="hsctdelivepos" type="STRING" size="256" sumtext="hsct전달위치"/>
- <Column id="hsctlnkno" type="STRING" size="256" sumtext="hsct연계번호"/>
- <Column id="etcprcpflag" type="STRING" size="256" sumtext="기타처방구분"/>
- <Column id="aftcertflag" type="STRING" size="256" sumtext="후인증구분"/>
- <Column id="aftcertdrid" type="STRING" size="256" sumtext="후인증대상의사id"/>
- <Column id="prcpvalidd" type="STRING" size="256" sumtext="처방유효일자"/>
- <Column id="spynpy1" type="STRING" size="256" sumtext="환자급비유형"/>
- <Column id="specdrid" type="STRING" size="256" sumtext="선택진료의id"/>
- <Column id="specdrnm" type="STRING" size="256" sumtext="선택진료의명"/>
- <Column id="anticncrprtlno" type="STRING" size="256" sumtext="항암프로토콜에대한코드로일련번호형태로관리"/>
- <Column id="anticncrdayno" type="STRING" size="256" sumtext="항암프로토콜의실시차수"/>
- <Column id="druglnkno" type="STRING" size="256" sumtext="항암프로토콜,tpn처방의처방번호"/>
- <Column id="rehbprcpcurefreqflag" type="STRING" size="256" sumtext="재활처방치료빈도"/>
- <Column id="dietprcpgenrflag" type="STRING" size="256" sumtext="식이처방발생구분"/>
- <Column id="irpayflag" type="STRING" size="256" sumtext="irradiation급비구분"/>
- <Column id="irflag" type="STRING" size="256" sumtext="irradiation구분"/>
- <Column id="procerdietflag" type="STRING" size="256" sumtext="보호자식이구분"/>
- <Column id="diagtestconttestintvlflag" type="STRING" size="256" sumtext="진단검사연속검사기본시간"/>
- <Column id="drugindependpackflag" type="STRING" size="256" sumtext="따로포장구분"/>
- <Column id="diagtestconttestbasetm" type="STRING" size="256" sumtext="진단검사연속검사기본시간"/>
- <Column id="diagtestconttestorgtims" type="STRING" size="256" sumtext="진단검사연속검사원횟수"/>
- <Column id="ermediscmngtresncd" type="STRING" size="256" sumtext="응급의학관리료사유코드"/>
- <Column id="rehbprcpenddd" type="STRING" size="256" sumtext="재활처방마감일자"/>
- <Column id="matrallsizespecid" type="STRING" size="256" sumtext="재료allsize규격id"/>
- <Column id="rehbprcpcurepartcd" type="STRING" size="256" sumtext="재활처방치료부위"/>
- <Column id="lowdrugresncd" type="STRING" size="256" sumtext="저함량배수사유코드"/>
- <Column id="tfdtlcd" type="STRING" size="256" sumtext="경장영양식세부코드"/>
- <Column id="dnorreqlnkno" type="STRING" size="256" sumtext="hla검사의뢰지"/>
- <Column id="subcretno" type="STRING" size="256" sumtext="기왕증,임상연구보조유형"/>
- <Column id="exptmthdfact" type="STRING" size="256" sumtext="예외용법설명"/>
- <Column id="lowdrugresnetcfact" type="STRING" size="256" sumtext="기타저함량배수상세사유"/>
- <Column id="diagtestconttestcdspec" type="STRING" size="256" sumtext="진단검사연속검사코드내역"/>
- <Column id="drgacptflag" type="STRING" size="256" sumtext="drg인정flag"/>
- <Column id="drprcpetc1" type="STRING" size="256" sumtext="의사처방기타1"/>
- <Column id="drprcpetc2" type="STRING" size="256" sumtext="의사처방기타2"/>
- <Column id="drprcpetc3" type="STRING" size="256" sumtext="의사처방기타3"/>
- <Column id="drprcpetc4" type="STRING" size="256" sumtext="의사처방기타4"/>
- <Column id="drprcpetc5" type="STRING" size="256" sumtext="의사처방기타5"/>
- <Column id="drprcpetc6" type="STRING" size="256" sumtext="의사처방기타6"/>
- <Column id="drprcpetc7" type="STRING" size="256" sumtext="의사처방기타7"/>
- <Column id="drprcpetc8" type="STRING" size="256" sumtext="의사처방기타8"/>
- <Column id="drprcpetc9" type="STRING" size="256" sumtext="의사처방기타9"/>
- <Column id="drprcpetc10" type="STRING" size="256" sumtext="의사처방기타10"/>
- <Column id="tempcol1" type="STRING" size="256" sumtext="임시컬럼1"/>
- <Column id="tempcol2" type="STRING" size="256" sumtext="임시컬럼2"/>
- <Column id="tempcol3" type="STRING" size="256" sumtext="임시컬럼3"/>
- <Column id="tempcol4" type="STRING" size="256" sumtext="임시컬럼4"/>
- <Column id="tempcol5" type="STRING" size="256" sumtext="임시컬럼5"/>
- <Column id="tempcol6" type="STRING" size="256" sumtext="임시컬럼6"/>
- <Column id="tempcol7" type="STRING" size="256" sumtext="임시컬럼7"/>
- <Column id="tempcol8" type="STRING" size="256" sumtext="임시컬럼8"/>
- <Column id="tempcol9" type="STRING" size="256" sumtext="임시컬럼9"/>
- <Column id="tempcol10" type="STRING" size="256" sumtext="임시컬럼10"/>
- <Column id="tempcol11" type="STRING" size="256" sumtext="임시컬럼11"/>
- <Column id="tempcol12" type="STRING" size="256" sumtext="임시컬럼12"/>
- <Column id="tempcol13" type="STRING" size="256" sumtext="임시컬럼13"/>
- <Column id="tempcol14" type="STRING" size="256" sumtext="임시컬럼14"/>
- <Column id="tempcol15" type="STRING" size="256" sumtext="임시컬럼15"/>
- <Column id="tempcol16" type="STRING" size="256" sumtext="임시컬럼16"/>
- <Column id="tempcol17" type="STRING" size="256" sumtext="임시컬럼17"/>
- <Column id="tempcol18" type="STRING" size="256" sumtext="임시컬럼18"/>
- <Column id="tempcol19" type="STRING" size="256" sumtext="임시컬럼19"/>
- <Column id="tempcol20" type="STRING" size="256" sumtext="임시컬럼20"/>
- <Column id="tempcol21" type="STRING" size="256" sumtext="임시컬럼21"/>
- <Column id="tempcol22" type="STRING" size="256" sumtext="임시컬럼22"/>
- <Column id="tempcol23" type="STRING" size="256" sumtext="임시컬럼23"/>
- <Column id="tempcol24" type="STRING" size="256" sumtext="임시컬럼24"/>
- <Column id="tempcol25" type="STRING" size="256" sumtext="임시컬럼25"/>
- <Column id="rgstdeptcd" type="STRING" size="256" sumtext="최초등록부서(insert)"/>
- <Column id="prcpclassnm" type="STRING" size="256" sumtext="처방분류명"/>
- <Column id="rowkey" type="STRING" size="256" sumtext="rowid"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관기호"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_MouseR1" 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">fSetPrcp</Col>
- <Col id="level">0</Col>
- </Row>
- <Row>
- <Col id="label"> 추가</Col>
- <Col id="func">fAddPrcp</Col>
- <Col id="level">0</Col>
- </Row>
- <Row>
- <Col id="label"> 삭제</Col>
- <Col id="func">fDelPrcp</Col>
- <Col id="level">0</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_MouseR2" 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">fSetPrcp</Col>
- <Col id="level">0</Col>
- </Row>
- <Row>
- <Col id="label"> 추가</Col>
- <Col id="func">fAddPrcp</Col>
- <Col id="level">0</Col>
- </Row>
- <Row>
- <Col id="label"> 삭제</Col>
- <Col id="func">fDelPrcp</Col>
- <Col id="level">0</Col>
- </Row>
- <Row>
- <Col id="label">-</Col>
- <Col id="func"/>
- <Col id="level">0</Col>
- </Row>
- <Row>
- <Col id="label">통합검사결과조회</Col>
- <Col id="func">fOpenTestRslt</Col>
- <Col id="level">0</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_prcptemp_prcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_hichartlist01" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="times" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="prcpcd" type="STRING" size="256"/>
- <Column id="prcpno" type="STRING" size="256"/>
- <Column id="prcpnm" type="STRING" size="256"/>
- <Column id="stepnm" type="STRING" size="256"/>
- <Column id="prcpclscd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_hichartlist02" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="times" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="prcpcd" type="STRING" size="256"/>
- <Column id="prcpno" type="STRING" size="256"/>
- <Column id="prcpnm" type="STRING" size="256"/>
- <Column id="stepnm" type="STRING" size="256"/>
- <Column id="prcpclscd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_hichartlist03" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="times" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="prcpcd" type="STRING" size="256"/>
- <Column id="prcpno" type="STRING" size="256"/>
- <Column id="prcpnm" type="STRING" size="256"/>
- <Column id="stepnm" type="STRING" size="256"/>
- <Column id="prcpclscd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_hichartlist04" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="times" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="prcpcd" type="STRING" size="256"/>
- <Column id="prcpno" type="STRING" size="256"/>
- <Column id="prcpnm" type="STRING" size="256"/>
- <Column id="stepnm" type="STRING" size="256"/>
- <Column id="prcpclscd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_hichart_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="times" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="prcpcd" type="STRING" size="256"/>
- <Column id="prcpno" type="STRING" size="256"/>
- <Column id="prcpnm" type="STRING" size="256"/>
- <Column id="stepnm" type="STRING" size="256"/>
- <Column id="prcpclscd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="cmb_prcpdd" propid="value" datasetid="ds_init" columnid="prcpdd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-04-15
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-04-15 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "emr_prcpmngtxp::MMOCommon.xjs";
- include "emr_prcpmngtxp::MMO001.xjs";
- include "emr_prcpmngtxp::SMMMO00100.xjs";
- //include "emr_prcpmngtxp::MMO001.xjs"
- //Global Variant
- var timesArray = "";
- var prcpddArray = "";
- var setArray = "";
- var stepstatArray = "";
- var openerNM = "";
- var dayCnt = 0;
- var cpgno = "";
- var cpghistno = "";
- var cpgflagcd = ""; //W or G
- var cpgappno = "";
- var pamInfo = "";
- var pageCnt = 1;
- var currentViewPage = 1;
- var selectedDayCaption = "";
- var deselectedDayCaption = "";
- var selectedKindCaption = "";
- var selectedDay = "";
- var curTrgGrd = null;
- var GPS_ViewMode = "S";
- var etcLnkSpec = ""; //cp적용번호
- var fromNo = 0; //from~
- var toNo = 0; //~to
- var beforeCpgAppNo = 0;
- //var newPrcpCnt = 0; //rsrvdd 인스턴스 사용.. 환자계획표에서 새로 추가한 처방의 갯수
- var iSelRow = 0;
- //var oOpener = this.getOwnerFrame().form; // 15.12.02
- var oOpener = frmf_getoOpener(); // 15.12.02
- var arErrorCode = new HashArray();
- var iTotalLeft; // day1~4 의 가장 왼쪽 좌표
- var iTotalRight; // day1~4 의 가장 오른쪽 좌표
- var iTotalWidth;
- var iGap;// 갭 사이의 너비
- var iHoriNum = 4; //day 수(기본은 4개, 처방화면에서 2개 이하 인 경우 2개로 셋팅)
- var iHoriGapNum; // 가로열 day1~4사이의 갭 수
- var iVerNum; // 투약, 검사, 간호전달 서식, 기타, 설명처방 총 6개
- var iVerGapNum; // 투약, 검사, 간호전달 서식, 기타, 설명처방 사이의 갭 수
- var iDayWidth; //Day 한개당 너비
- var iTotalTop;//투약 그리드 상단 좌표
- var iTotalBottom;// 화면 하단 좌표
- var iTotalHeight;
- var iDayHeight; //투약 한개의 높이
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SPMMP02200
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SPMMP02200_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
-
-
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_excel
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : Excel 버튼 클릭
- ****************************************************************************************/
- function group1_btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- dsf_makeValue(ds_send_reqdata,"cpgno" ,"string",oOpener.ds_main_masterinfo_info.getColumn(0,"cpgno"));
- dsf_makeValue(ds_send_reqdata,"cpghistseq","string",oOpener.ds_main_masterinfo_info.getColumn(0,"cpghistseq"));
- var iSetArray = ds_send_reqdata.getColumn(0,"setcond");
- dsf_makeValue(ds_send_reqdata,"setcond","string","");
- var oParam = {};
- oParam.id = "TRMQP01403";
- oParam.service = "prcpbaseapp.CpMngt";
- oParam.method = "reqGetPrcpSetList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_down_prcplist=prcplist";
- oParam.async = false;
- oParam.callback = "cf_TRMQP01403";
- tranf_submit(oParam);
-
- if( arErrorCode.pop("TRMQP01403") > -1 ){
- var cpgNm = oOpener.ds_main_masterinfo_info.getColumn(0,"cpgnm");
- if(ds_main_down_prcplist.rowcount > 0) {
- grdf_exportExcel(grd_downlist,cpgNm,"프로토콜 리스트");
- sysf_messageBox("저장이 ", "I002");
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
- // var fileName = window.fileDialog("save", ",", false, cpgNm, "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- // if (fileName != ""){
- // grd_downlist.saveExcel(fileName, "프로토콜 리스트", false, false, "", "", false);
- // }
- }
- dsf_makeValue(ds_send_reqdata,"setcond","string",iSetArray);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group1.btn_first
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 맨앞으로 버튼 클릭
- ****************************************************************************************/
- function group1_btn_first_onclick(obj:Button, e:ClickEventInfo)
- {
- group1.btn_first.enable = false;
- group1.btn_prev.enable = false;
- group1.btn_next.enable = true;
- group1.btn_last.enable = true;
- fromNo = 0;
- toNo = 4;
- fMoveData(fromNo, 4, 2);
- currentViewPage = 1;
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group1.btn_prev
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 이전페이지 버튼 클릭
- ****************************************************************************************/
- function group1_btn_prev_onclick(obj:Button, e:ClickEventInfo)
- {
- currentViewPage--;
- var Start = ((currentViewPage-1) * 4) + 1;
- if(currentViewPage == 1){
- var Cnt = 4;
- group1.btn_first.enable = false;
- group1.btn_prev.enable = false;
- } else {
- var Cnt = 4*currentViewPage;
- group1.btn_first.enable = true;
- group1.btn_prev.enable = true;
- }
- group1.btn_next.enable = true;
- group1.btn_last.enable = true;
- fromNo = Start-1;
- toNo = Cnt;
- //alert(currentViewPage + "page " + fromNo + " ~ " + Cnt);
- fMoveData(fromNo, Cnt, 2);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group1.btn_next
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 다음페이지 버튼 클릭
- ****************************************************************************************/
- function group1_btn_next_onclick(obj:Button, e:ClickEventInfo)
- {
- fromNo = (currentViewPage * 4); //4
- var Cnt = dayCnt;
- if( Cnt > (fromNo + 4) ){ //8
- Cnt = fromNo + 4;
- group1.btn_next.enable = true;
- group1.btn_last.enable = true;
- } else {
- Cnt = dayCnt;
- group1.btn_next.enable = false;
- group1.btn_last.enable = false;
- }
- group1.btn_first.enable = true;
- group1.btn_prev.enable = true;
- //alert( Start + " ~ " + Cnt );
- toNo = Cnt;
- fMoveData(fromNo, Cnt, 2);
- currentViewPage++;
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group1.btn_last
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 맨뒤로 버튼 클릭
- ****************************************************************************************/
- function group1_btn_last_onclick(obj:Button, e:ClickEventInfo)
- {
- currentViewPage = pageCnt - 1;
- fromNo = (currentViewPage * 4);
- group1.btn_next.enable = false;
- group1.btn_last.enable = false;
- group1.btn_first.enable = true;
- group1.btn_prev.enable = true;
- toNo = dayCnt;
- fMoveData(fromNo, dayCnt, 2);
- currentViewPage = pageCnt;
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : cap_day1
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 1일자 위 캡션클릭
- ****************************************************************************************/
- function cap_day1_onclick(obj:Button, e:ClickEventInfo)
- {
- if(selectedDayCaption != "cap_day1"){
- fSelectOneDay("1", "ex");
- selectedDayCaption = "cap_day1";
- deselectedDayCaption = "";
- } else {
- fSelectOneDay("1", "re");
- selectedDayCaption = "";
- deselectedDayCaption = "cap_day1";
- }
- fChangeGridArea("1");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : cap_day2
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 2일자 위 캡션클릭
- ****************************************************************************************/
- function cap_day2_onclick(obj:Button, e:ClickEventInfo)
- {
- if(selectedDayCaption != "cap_day2"){
- fSelectOneDay("2", "ex");
- selectedDayCaption = "cap_day2";
- deselectedDayCaption = "";
- } else {
- fSelectOneDay("2", "re");
- selectedDayCaption = "";
- deselectedDayCaption = "cap_day2";
- }
- fChangeGridArea("2");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : cap_day3
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 3일자 위 캡션클릭
- ****************************************************************************************/
- function cap_day3_onclick(obj:Button, e:ClickEventInfo)
- {
- if(selectedDayCaption != "cap_day3"){
- fSelectOneDay("3", "ex");
- selectedDayCaption = "cap_day3";
- deselectedDayCaption = "";
- } else {
- fSelectOneDay("3", "re");
- selectedDayCaption = "";
- deselectedDayCaption = "cap_day3";
- }
- fChangeGridArea("3");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : cap_day4
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 4일자 위 캡션클릭
- ****************************************************************************************/
- function cap_day4_onclick(obj:Button, e:ClickEventInfo)
- {
- if(selectedDayCaption != "cap_day4"){
- fSelectOneDay("4", "ex");
- selectedDayCaption = "cap_day4";
- deselectedDayCaption = "";
- } else {
- fSelectOneDay("4", "re");
- selectedDayCaption = "";
- deselectedDayCaption = "cap_day4";
- }
- fChangeGridArea("4");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : cap_day
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 각일자 위 캡션 더블클릭
- ****************************************************************************************/
- function cap_day_ondblclick(obj:Button, e:MouseEventInfo)
- {
- fSetPrePostOP(ds_temp_getdatalist_list,0);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : cap_drug
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 투약캡션 클릭
- ****************************************************************************************/
- function cap_drug_onclick(obj:Button, e:ClickEventInfo)
- {
- if(selectedKindCaption != "D"){
- fSelectOneKind("D", "ex");
- selectedKindCaption = "D";
- } else {
- fSelectOneKind("D", "re");
- selectedKindCaption = "";
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : cap_test
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 검사캡션 클릭
- ****************************************************************************************/
- function cap_test_onclick(obj:Button, e:ClickEventInfo)
- {
- if(selectedKindCaption != "T"){
- fSelectOneKind("T", "ex");
- selectedKindCaption = "T";
- } else {
- fSelectOneKind("T", "re");
- selectedKindCaption = "";
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : cap_caredelive
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 간호전달캡션 클릭
- ****************************************************************************************/
- function cap_caredelive_onclick(obj:Button, e:ClickEventInfo)
- {
- if(selectedKindCaption != "C"){
- fSelectOneKind("C", "ex");
- selectedKindCaption = "C";
- } else {
- fSelectOneKind("C", "re");
- selectedKindCaption = "";
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : cap_form
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 서식캡션 클릭
- ****************************************************************************************/
- function cap_form_onclick(obj:Button, e:ClickEventInfo)
- {
- if(selectedKindCaption != "F"){
- fSelectOneKind("F", "ex");
- selectedKindCaption = "F";
- } else {
- fSelectOneKind("F", "re");
- selectedKindCaption = "";
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : cap_etc
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 기타캡션 클릭
- ****************************************************************************************/
- function cap_etc_onclick(obj:Button, e:ClickEventInfo)
- {
- if(selectedKindCaption != "E"){
- fSelectOneKind("E", "ex");
- selectedKindCaption = "E";
- } else {
- fSelectOneKind("E", "re");
- selectedKindCaption = "";
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : cap_etc
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 설명처방캡션 클릭
- ****************************************************************************************/
- function cap_hichart_onclick(obj:Button, e:ClickEventInfo)
- {
- if(selectedKindCaption != "H"){
- fSelectOneKind("H", "ex");
- selectedKindCaption = "H";
- } else {
- fSelectOneKind("H", "re");
- selectedKindCaption = "";
- }
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : 그리드 전체
- * Event : oncellclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 셀 클릭
- ****************************************************************************************/
- function grd_All_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- var gridName = obj.name;
- var gridNo = gridName.substr(gridName.length-1, 1);
- fChangeGridArea(gridNo);
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : 그리드 전체
- * Event : oncelldblclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 셀 더블클릭
- ****************************************************************************************/
- function Grid_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- fOpenPrcpDetail(obj.name);
- }
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Function : fInitialize
- * Description : 초기화
- * Argument :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fInitialize(){
- timesArray = "";
- prcpddArray = "";
- setArray = "";
- openerNM = "";
- dayCnt = 0;
-
- cpgno = "";
- cpghistno = "";
- cpgflagcd = ""; //W or G
- cpgappno = "";
- pamInfo = "";
-
- pageCnt = 1;
- currentViewPage = 1;
- selectedDayCaption = "";
- deselectedDayCaption = "";
- selectedKindCaption = "";
- selectedDay = "";
- curTrgGrd = null;
- GPS_ViewMode = "S";
- etcLnkSpec = "";
- fromNo = 0;
- toNo = 0;
- beforeCpgAppNo = 0;
- iSelRow = 0;
-
- // grd_form1.rowHidden(0) = true;
- // grd_form2.rowHidden(0) = true;
- // grd_form3.rowHidden(0) = true;
- // grd_form4.rowHidden(0) = true;
- // grd_etc1.rowHidden(0) = true;
- // grd_etc2.rowHidden(0) = true;
- // grd_etc3.rowHidden(0) = true;
- // grd_etc4.rowHidden(0) = true;
- grd_form1.setFormatRowProperty(0,"size",0);
- grd_form2.setFormatRowProperty(0,"size",0);
- grd_form3.setFormatRowProperty(0,"size",0);
- grd_form4.setFormatRowProperty(0,"size",0);
- grd_etc1.setFormatRowProperty(0,"size",0);
- grd_etc2.setFormatRowProperty(0,"size",0);
- grd_etc3.setFormatRowProperty(0,"size",0);
- grd_etc4.setFormatRowProperty(0,"size",0);
-
- if( oOpener.ds_main_masterinfo_info.getColumn(0,"cpgflagcd") != "01" ){
- grd_drug1.setFormatColProperty(grd_drug1.getBindCellIndex("body","prcphopedd"),"size",80);
- grd_test1.setFormatColProperty(grd_test1.getBindCellIndex("body","prcphopedd"),"size",80);
- grd_caredelive1.setFormatColProperty(grd_caredelive1.getBindCellIndex("body","prcphopedd"),"size",80);
- grd_etc1.setFormatColProperty(grd_etc1.getBindCellIndex("body","prcphopedd"),"size",80);
- grd_drug2.setFormatColProperty(grd_drug2.getBindCellIndex("body","prcphopedd"),"size",80);
- grd_test2.setFormatColProperty(grd_test2.getBindCellIndex("body","prcphopedd"),"size",80);
- grd_caredelive2.setFormatColProperty(grd_caredelive2.getBindCellIndex("body","prcphopedd"),"size",80);
- grd_etc2.setFormatColProperty(grd_etc2.getBindCellIndex("body","prcphopedd"),"size",80);
- grd_drug3.setFormatColProperty(grd_drug3.getBindCellIndex("body","prcphopedd"),"size",80);
- grd_test3.setFormatColProperty(grd_test3.getBindCellIndex("body","prcphopedd"),"size",80);
- grd_caredelive3.setFormatColProperty(grd_caredelive3.getBindCellIndex("body","prcphopedd"),"size",80);
- grd_etc3.setFormatColProperty(grd_etc3.getBindCellIndex("body","prcphopedd"),"size",80);
- grd_drug4.setFormatColProperty(grd_drug4.getBindCellIndex("body","prcphopedd"),"size",80);
- grd_test4.setFormatColProperty(grd_test4.getBindCellIndex("body","prcphopedd"),"size",80);
- grd_caredelive4.setFormatColProperty(grd_caredelive4.getBindCellIndex("body","prcphopedd"),"size",80);
- grd_etc4.setFormatColProperty(grd_etc4.getBindCellIndex("body","prcphopedd"),"size",80);
- }
- //CP 생성기인 경우
- else{
- grd_drug1.setFormatColProperty(grd_drug1.getBindCellIndex("body","prcphopedd"),"size",0);
- grd_test1.setFormatColProperty(grd_test1.getBindCellIndex("body","prcphopedd"),"size",0);
- grd_caredelive1.setFormatColProperty(grd_caredelive1.getBindCellIndex("body","prcphopedd"),"size",0);
- grd_etc1.setFormatColProperty(grd_etc1.getBindCellIndex("body","prcphopedd"),"size",0);
- grd_drug2.setFormatColProperty(grd_drug2.getBindCellIndex("body","prcphopedd"),"size",0);
- grd_test2.setFormatColProperty(grd_test2.getBindCellIndex("body","prcphopedd"),"size",0);
- grd_caredelive2.setFormatColProperty(grd_caredelive2.getBindCellIndex("body","prcphopedd"),"size",0);
- grd_etc2.setFormatColProperty(grd_etc2.getBindCellIndex("body","prcphopedd"),"size",0);
- grd_drug3.setFormatColProperty(grd_drug3.getBindCellIndex("body","prcphopedd"),"size",0);
- grd_test3.setFormatColProperty(grd_test3.getBindCellIndex("body","prcphopedd"),"size",0);
- grd_caredelive3.setFormatColProperty(grd_caredelive3.getBindCellIndex("body","prcphopedd"),"size",0);
- grd_etc3.setFormatColProperty(grd_etc3.getBindCellIndex("body","prcphopedd"),"size",0);
- grd_drug4.setFormatColProperty(grd_drug4.getBindCellIndex("body","prcphopedd"),"size",0);
- grd_test4.setFormatColProperty(grd_test4.getBindCellIndex("body","prcphopedd"),"size",0);
- grd_caredelive4.setFormatColProperty(grd_caredelive4.getBindCellIndex("body","prcphopedd"),"size",0);
- grd_etc4.setFormatColProperty(grd_etc4.getBindCellIndex("body","prcphopedd"),"size",0);
- }
-
- // grd_drug1.explorerbar = "sortshow";
- // grd_test1.explorerbar = "sortshow";
- // grd_caredelive1.explorerbar = "sortshow";
- // grd_form1.explorerbar = "sortshow";
- // grd_etc1.explorerbar = "sortshow";
- grdf_setGridSort(grd_drug1);
- grdf_setGridSort(grd_test1);
- grdf_setGridSort(grd_caredelive1);
- grdf_setGridSort(grd_form1);
- grdf_setGridSort(grd_etc1);
- grdf_setGridSort(grd_drug2);
- grdf_setGridSort(grd_test2);
- grdf_setGridSort(grd_caredelive2);
- grdf_setGridSort(grd_form2);
- grdf_setGridSort(grd_etc2);
- grdf_setGridSort(grd_drug3);
- grdf_setGridSort(grd_test3);
- grdf_setGridSort(grd_caredelive3);
- grdf_setGridSort(grd_form3);
- grdf_setGridSort(grd_etc3);
- grdf_setGridSort(grd_drug4);
- grdf_setGridSort(grd_test4);
- grdf_setGridSort(grd_caredelive4);
- grdf_setGridSort(grd_form4);
- grdf_setGridSort(grd_etc4);
- /*
- //그리드 컨트롤들에 동적 이벤트를 추가 2
- grd_drug1.attribute("onaftersort") = "fAfterSortEvent()";
- grd_test1.attribute("onaftersort") = "fAfterSortEvent()";
- grd_caredelive1.attribute("onaftersort") = "fAfterSortEvent()";
- grd_form1.attribute("onaftersort") = "fAfterSortEvent()";
- grd_etc1.attribute("onaftersort") = "fAfterSortEvent()";
- grd_drug2.attribute("onaftersort") = "fAfterSortEvent()";
- grd_test2.attribute("onaftersort") = "fAfterSortEvent()";
- grd_caredelive2.attribute("onaftersort") = "fAfterSortEvent()";
- grd_form2.attribute("onaftersort") = "fAfterSortEvent()";
- grd_etc2.attribute("onaftersort") = "fAfterSortEvent()";
- grd_drug3.attribute("onaftersort") = "fAfterSortEvent()";
- grd_test3.attribute("onaftersort") = "fAfterSortEvent()";
- grd_caredelive3.attribute("onaftersort") = "fAfterSortEvent()";
- grd_form3.attribute("onaftersort") = "fAfterSortEvent()";
- grd_etc3.attribute("onaftersort") = "fAfterSortEvent()";
- grd_drug4.attribute("onaftersort") = "fAfterSortEvent()";
- grd_test4.attribute("onaftersort") = "fAfterSortEvent()";
- grd_caredelive4.attribute("onaftersort") = "fAfterSortEvent()";
- grd_form4.attribute("onaftersort") = "fAfterSortEvent()";
- grd_etc4.attribute("onaftersort") = "fAfterSortEvent()";
- */
-
-
- utlf_addLog("oOpener.OpenerKind : " + oOpener.OpenerKind + " || openerNM : " + openerNM);
- //처방에서 호출하는 경우
- if( oOpener.OpenerKind == "GPS" || openerNM == "GPS" ){ //OpenerKind
- //fHoriAdjustSize(4);
-
- rct_border.visible = false;
-
- if( oOpener.ds_temp1_refresh_obj.getColumn(0,"change_gps") == "Y") {
- oOpener.fSendDetailValue();
-
- fInitGrigInfo();
- oOpener.ds_temp1_refresh_obj.setColumn(0,"change_gps", "N");
- ds_init.setColumn(0,"prcpdd", utlf_getCurrentDate());
- }
- if( oOpener.ds_temp_getdata.getColumn(0,"authflag") == "U" ){
- //사용자(진료의)일 경우만, 수정,추가,삭제 가능
- grd_drug1.onrbuttondown.addHandler(fPopupMenuEvent);
- grd_test1.onrbuttondown.addHandler(fPopupMenuEvent);
- grd_caredelive1.onrbuttondown.addHandler(fPopupMenuEvent);
- // grd_form1.attribute("onmousedown") = "initPopupMenu()";
- grd_etc1.onrbuttondown.addHandler(fPopupMenuEvent);
- grd_drug2.onrbuttondown.addHandler(fPopupMenuEvent);
- grd_test2.onrbuttondown.addHandler(fPopupMenuEvent);
- grd_caredelive2.onrbuttondown.addHandler(fPopupMenuEvent);
- // grd_form2.attribute("onmousedown") = "initPopupMenu()";
- grd_etc2.onrbuttondown.addHandler(fPopupMenuEvent);
- grd_drug3.onrbuttondown.addHandler(fPopupMenuEvent);
- grd_test3.onrbuttondown.addHandler(fPopupMenuEvent);
- grd_caredelive3.onrbuttondown.addHandler(fPopupMenuEvent);
- // grd_form3.attribute("onmousedown") = "initPopupMenu()";
- grd_etc3.onrbuttondown.addHandler(fPopupMenuEvent);
- grd_drug4.onrbuttondown.addHandler(fPopupMenuEvent);
- grd_test4.onrbuttondown.addHandler(fPopupMenuEvent);
- grd_caredelive4.onrbuttondown.addHandler(fPopupMenuEvent);
- // grd_form4.attribute("onmousedown") = "initPopupMenu()";
- grd_etc4.onrbuttondown.addHandler(fPopupMenuEvent);
-
- // grd_drug1.attribute("DOMFocusOut") = "initPopupMenu()";
- // grd_test1.attribute("DOMFocusOut") = "initPopupMenu()";
- // grd_caredelive1.attribute("DOMFocusOut") = "initPopupMenu()";
- // grd_etc1.attribute("DOMFocusOut") = "initPopupMenu()";
- // grd_drug2.attribute("DOMFocusOut") = "initPopupMenu()";
- // grd_test2.attribute("DOMFocusOut") = "initPopupMenu()";
- // grd_caredelive2.attribute("DOMFocusOut") = "initPopupMenu()";
- // grd_etc2.attribute("DOMFocusOut") = "initPopupMenu()";
- // grd_drug3.attribute("DOMFocusOut") = "initPopupMenu()";
- // grd_test3.attribute("DOMFocusOut") = "initPopupMenu()";
- // grd_caredelive3.attribute("DOMFocusOut") = "initPopupMenu()";
- // grd_etc3.attribute("DOMFocusOut") = "initPopupMenu()";
- // grd_drug4.attribute("DOMFocusOut") = "initPopupMenu()";
- // grd_test4.attribute("DOMFocusOut") = "initPopupMenu()";
- // grd_caredelive4.attribute("DOMFocusOut") = "initPopupMenu()";
- // grd_etc4.attribute("DOMFocusOut") = "initPopupMenu()";
-
- objects[grd_drug1.binddataset].oncolumnchanged.addHandler(fChangeValue);
- objects[grd_test1.binddataset].oncolumnchanged.addHandler(fChangeValue);
- objects[grd_caredelive1.binddataset].oncolumnchanged.addHandler(fChangeValue);
- objects[grd_form1.binddataset].oncolumnchanged.addHandler(fChangeValue);
- objects[grd_etc1.binddataset].oncolumnchanged.addHandler(fChangeValue);
- objects[grd_drug2.binddataset].oncolumnchanged.addHandler(fChangeValue);
- objects[grd_test2.binddataset].oncolumnchanged.addHandler(fChangeValue);
- objects[grd_caredelive2.binddataset].oncolumnchanged.addHandler(fChangeValue);
- objects[grd_form2.binddataset].oncolumnchanged.addHandler(fChangeValue);
- objects[grd_etc2.binddataset].oncolumnchanged.addHandler(fChangeValue);
- objects[grd_drug3.binddataset].oncolumnchanged.addHandler(fChangeValue);
- objects[grd_test3.binddataset].oncolumnchanged.addHandler(fChangeValue);
- objects[grd_caredelive3.binddataset].oncolumnchanged.addHandler(fChangeValue);
- objects[grd_form3.binddataset].oncolumnchanged.addHandler(fChangeValue);
- objects[grd_etc3.binddataset].oncolumnchanged.addHandler(fChangeValue);
- objects[grd_drug4.binddataset].oncolumnchanged.addHandler(fChangeValue);
- objects[grd_test4.binddataset].oncolumnchanged.addHandler(fChangeValue);
- objects[grd_caredelive4.binddataset].oncolumnchanged.addHandler(fChangeValue);
- objects[grd_form4.binddataset].oncolumnchanged.addHandler(fChangeValue);
- objects[grd_etc4.binddataset].oncolumnchanged.addHandler(fChangeValue);
-
- group1.btn_first.enable = false;
- group1.btn_prev.enable = false;
-
- //-------------------------------서식(main) 호출(2008.09.05)---------------------------//
- //if( cpgflagcd != "W" ) return;
- if(oOpener.loadFormTab != "D") return;
-
- //전처방 로딩이 완료되면 진료대상자에서 진료기록을 호출하는 로직
- var mainObj = frmf_getMainViewer();
- var srcOrdPatListwnd = mainObj.frmf_findPopup("SMMMO04100");
- var ordPatWndCpFlag = ""; //진료대상자리스트에서 cp구분이 X인 경우는 처방을 통해서 열리는 경우가 아니므로 체크 추가(2010.06.22 JJE)
- if( !utlf_isNull(srcOrdPatListwnd) ) ordPatWndCpFlag = srcOrdPatListwnd.ds_root.getColumn(0,"cpflag"); //"X"
- //마취기록지에서 처방창을 열경우 마취기록지를 initialize 시키지 않는 로직
- var srcAnstRecwnd = mainObj.frmf_findPopup("SMMMR03700");
- var anstrereload = mainObj.frmf_getParameter("SMMMR03700_refresh");
- if (!utlf_isNull(srcAnstRecwnd)) {
- var anstrereload = srcAnstRecwnd.frmf_getParameter("SMMMR03700_refresh");
- }
- //최초 적용 시, 처방창에서 이미 기록지 호출이 되었으므로, 재호출 안함 -> opener.window.javascript.appstepstatflag != "i" 조건 추가 (2008.09.29)
- if ( anstrereload != "false" && !utlf_isNull(srcOrdPatListwnd) && (oOpener.appstepstatflag != "i" || ordPatWndCpFlag == "X") ) {
- var fstopenflag = oOpener.ds_temp1_refresh_obj.getColumn(0,"refreshyn"); //처방화면이 최초 생성 여부
- //alert( "Refresy_YN = " + fstopenflag );
- if( fstopenflag == "N") {
- oOpener.ds_init.setColumn(0,"fstopenflag", "Y"); //잠시, 값 치환
- srcOrdPatListwnd.fChngMainEMRScrn();
- }
- }
- oOpener.ds_temp1_refresh_obj.setColumn(0,"refreshyn", "Y"); //최초조회가 아닌경우, refresh 여부 "Y"
- oOpener.ds_init.setColumn(0,"fstopenflag", "N"); //처방최초 open여부를 재설정, 진료기록을 열기위해
- //--------------------------------------------------------------------------------//
- //2008.09.04 순서 변경
- oOpener.fMssg(); //Drop 및 퇴원예고 유도... 알림 Message 출력
- }
- }
-
- this.position.width = this.parent.ivw_detail.position.width + 1;
- this.position.height = this.parent.ivw_detail.position.height + 1;
- fSetSize();
-
- return true;
- }
- /****************************************************************************************
- * Function : fInitGrigInfo
- * Description : 초기 및 재조회시...
- * Argument :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fInitGrigInfo(){
- var stepinfo = oOpener.frmf_getParameter("stepinfo");
- if( !utlf_isNull(stepinfo) ){
- //if( opener.model.getValue("/root/main/masterinfo/info/cpgflagcd") == "01" ) cpgflagcd = "W";
- //else cpgflagcd = "G";
- cpgno = stepinfo.split("|")[0];
- cpghistno = stepinfo.split("|")[1];
- cpgflagcd = stepinfo.split("|")[2];
- timesArray = stepinfo.split("|")[3];
- openerNM = stepinfo.split("|")[4]; //Generater or GPS
-
- ds_main_steplist_stepinfo.setColumn(0,"cpgno" , cpgno);
- ds_main_steplist_stepinfo.setColumn(0,"cpghistseq" , cpghistno);
- ds_main_steplist_stepinfo.setColumn(0,"cpgflagcd" , cpgflagcd);
-
- if( oOpener.OpenerKind == "GPS" || openerNM == "GPS" ){
- if( !utlf_isNull(ds_main_steplist_stepinfo.getColumn(0,"cpgappno")) ){
- beforeCpgAppNo = ds_main_steplist_stepinfo.getColumn(0,"cpgappno"); //이전 화면의 CP적용번호
- }
- cpgappno = stepinfo.split("|")[5];
- setArray = stepinfo.split("|")[6];
- prcpddArray = stepinfo.split("|")[7];
- pamInfo = stepinfo.split("|")[8];
-
- dsf_makeValue(ds_main_steplist_stepinfo,"cpgappno" ,"string",cpgappno);
- //model.makeValue("/root/main/steplist/stepinfo/setcond", setArray); => fMoveData()로 이동
- dsf_makeValue(ds_main_steplist_stepinfo,"pid" ,"string" , pamInfo.split(",")[0]);
- dsf_makeValue(ds_main_steplist_stepinfo,"orddd" ,"string", pamInfo.split(",")[1]);
- dsf_makeValue(ds_main_steplist_stepinfo,"cretno" ,"string", pamInfo.split(",")[2]);
- dsf_makeValue(ds_main_steplist_stepinfo,"prcpgenrflag" ,"string", pamInfo.split(",")[3]);
-
- etcLnkSpec = "0|" + ds_main_steplist_stepinfo.getColumn(0,"cpgappno");
- }
- }
- if( openerNM == "generater" || (openerNM != "generater" && !utlf_isNull(setArray) && setArray != " ") ){
- //start: CPG 분기 처리
- if( cpgflagcd == "W" ){ //2010.07.06 조건 추가했다가 다시 삭제함.. openerNM != "GPS" ||
- dayCnt = (timesArray.split(",")).length;
- }else{
- dayCnt = (prcpddArray.split(",")).length;
- }
- /*
- if( cpgflagcd != "W" || instance1.selectSingleNode("/root/main/steppath/info[swimlineno=1 and refseq=1 and stepstat=30]") == null) && toNo>0 && dayCnt != Cnt ){
- //###CPG 스텝 결정 시, Cnt, toNo가 달라진다 (2008.12.02)
- //toNo = dayCnt;
- }
- */
- //end
-
- var Cnt = dayCnt;
- if(Cnt >= 1){
- //day가 총 2일 이하일 때, 2개 모드, 그렇지 않으면 4개 모드 (2009.02.20) (s)
- var orgGrdCnt = ds_temp.getColumn(0,"grdmode");
- if( dayCnt>0 && dayCnt<=2 /*&& orgGrdCnt!="2"*/ ){
- ds_temp.setColumn(0,"grdmode", "2");
- fSetupGrdMode("2", false);
- iHoriNum = 2;
- }else if( dayCnt>0 && dayCnt>=4 /*&& orgGrdCnt!="4" */){
- ds_temp.setColumn(0,"grdmode", "4");
- fSetupGrdMode("4", false);
- iHoriNum = 4;
- }
- //(e)
-
- if(Cnt > 4){
- pageCnt = Math.ceil(dayCnt/4);
- Cnt = 4;
- group1.btn_next.enable = true;
- group1.btn_last.enable = true;
- }else{
- group1.btn_next.enable = false;
- group1.btn_last.enable = false;
- }
-
- if(toNo == 0){ //환자계획표 최초 조회 시 toNo=0
- toNo = Cnt;
- }
-
- //if( !isNull(timesArray) ){
- if( !utlf_isNull(dayCnt) ){ //CPG는 times가 null일 수 있으므로 조건 변경 (2008.12.10)
- /*if( dayCnt - fromNo > 4 ){
- fromNo = 0;
- dayCnt = 4;
- }*/
- fMoveData(fromNo, toNo, 1);
- }
- }
- }
- }
- /****************************************************************************************
- * Function : fSetupGrdMode
- * Description : DAY 수에 맞추어 그리드 크기조절...
- * Argument :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fSetupGrdMode( grdCnt, boolFlag ){
- //20180131 이돈희 수정 : 기존 크기 계산에서 fHoriAdjustSize으로 수정
- //grdCnt : 보여 줄 Day 수
- //grdCnt에 맞추어 그리드 및 기타 크기 조절
- fHoriAdjustSize(grdCnt);
- /*
- if( grdCnt == "2" ){
- if( group1.position.left == 825 ) { //생성기
- var xWidth = 583;//580
- var yWidth = 579;
- var xLeft = 614;//609
- var x = 580;
- }else{
- var xWidth = 585;//587
- var yWidth = 586;
- var xLeft = 616;
- var x = 587;
- }
- }else{
- if( group1.position.left == 825 ) { //생성기
- var xWidth = 290;
- var yWidth = 579;
- var xLeft = 319;
- var x = 290;
- }else{
- var xWidth = 294;
- var yWidth = 293;
- var xLeft = 325; // 323
- var x = 294;
- }
- }
-
- cap_day1.position.width = xWidth;
- grd_drug1.position.width = xWidth;
- grd_test1.position.width = xWidth;
- grd_caredelive1.position.width = xWidth;
- grd_form1.position.width = xWidth;
- grd_etc1.position.width = xWidth;
- grd_caredelive1.setFormatColProperty(3,"size",x - 83);
- grd_form1.setFormatColProperty(2,"size",x - 103);
- grd_etc1.setFormatColProperty(4,"size",x - 129);
- cap_day2.position.left = xLeft;
- grd_drug2.position.left = xLeft;
- grd_test2.position.left = xLeft;
- grd_caredelive2.position.left = xLeft;
- grd_form2.position.left = xLeft;
- grd_etc2.position.left = xLeft;
-
- cap_day2.position.width = xWidth;
- grd_drug2.position.width = xWidth;
- grd_test2.position.width = xWidth;
- grd_caredelive2.position.width = xWidth;
- grd_form2.position.width = xWidth;
- grd_etc2.position.width = xWidth;
- grd_caredelive2.setFormatColProperty(3,"size",x - 83);
- grd_form2.setFormatColProperty(2,"size",x - 103);
- grd_etc2.setFormatColProperty(4,"size",x - 129);
- */
-
- }
- /****************************************************************************************
- * Function : fMoveData
- * Description : 조회한 데이터를 각 그리드로 나눈다.
- * Argument : Start - start row
- * : Cnt - end row
- * : iCase - (1:데이터 재조회, 2:페이지 이동)
- * return type :
- * Creator :
- ****************************************************************************************/
- function fMoveData(Start, Cnt, iCase){
- trace("fMoveData(Start, Cnt, iCase) Start = " + Start + " Cnt = " + Cnt + " iCase = " + iCase );
- //노드셋 초기화
- ds_main_druglist1.clear();
- ds_main_druglist2.clear();
- ds_main_druglist3.clear();
- ds_main_druglist4.clear();
- ds_main_testlist1.clear();
- ds_main_testlist2.clear();
- ds_main_testlist3.clear();
- ds_main_testlist4.clear();
- ds_main_caredelivelist1.clear();
- ds_main_caredelivelist2.clear();
- ds_main_caredelivelist3.clear();
- ds_main_caredelivelist4.clear();
- ds_main_formlist1.clear();
- ds_main_formlist2.clear();
- ds_main_formlist3.clear();
- ds_main_formlist4.clear();
- ds_main_etclist1.clear();
- ds_main_etclist2.clear();
- ds_main_etclist3.clear();
- ds_main_etclist4.clear();
- ds_main_hichartlist01.clear();
- ds_main_hichartlist02.clear();
- ds_main_hichartlist03.clear();
- ds_main_hichartlist04.clear();
-
- cap_day1.text = "";
- cap_day2.text = "";
- cap_day3.text = "";
- cap_day4.text = "";
-
- // dsf_createDs("ds_send_reqdata");
- ds_send_reqdata.clearData();
- ds_send_reqdata.copyData(ds_main_steplist_stepinfo);
- var tms = "";
- var iSetArray = "";
- var iPrcpddArray = "";
- var dd = "";
-
- //이전 화면에서 2번째 페이지 열린 상태에서, 다른 환자의 CP를 선택하여 화면이 재조회 될 경우, 1회차부터 조회
- if( iCase == 1 && beforeCpgAppNo != dsf_getColumnNullToEmpty(ds_main_steplist_stepinfo, 0, "cpgappno") ){
- Start = 0;
- }
- for(var i = Start; i < dayCnt; i++){ //Cnt->dayCnt
- tms = tms + timesArray.split(",")[i] + ","; //tms + "'" + timesArray.split(",")[i] + "'";
- //(s) 환자계획표 최초 조회 시 최대 timescond 갯수 4(0~3) (2008.10.05 조건 추가)
- //start: 일수는 같으나 프로토콜 setno가 다른 경우가 있어 setno를 다시 select해줘야 함 (2010.05.25 JJE)
- /*
- if( cpgflagcd == "W" ){ //!isNull(setArray) &&
- var tmsSetnoNodes = opener.instance1.selectNodes("/root/main/steplist/info[times='"+timesArray.split(",")[i]+"']");
- if( tmsSetnoNodes.length > 0 ){
- for(var j=0; j<tmsSetnoNodes.length; j++){
- var node = tmsSetnoNodes.item(j);
- var setnoNode = node.selectSingleNode("setno");
- iSetArray = iSetArray + setnoNode.text + ",";
- }
- }
- }else iSetArray = iSetArray + setArray.split(",")[i] + ",";
- */
- if( !utlf_isNull(prcpddArray) )
- iPrcpddArray = iPrcpddArray + prcpddArray.split(",")[i] + ",";
-
- if( iCase == 1 && i == 3 ) break;
- // (e)
- }
-
- //start: CPG 분기 처리
- //if( !isNull(tms) && (openerNM != "GPS" || cpgflagcd == "W") ){ //2008.12.22 조건 추가 (중간타기의 CPG 적용 후 조회 안되는 문제때문-times와 prcpdd의 불일치)
- if( !utlf_isNull(tms) && cpgflagcd == "W" ){ //if( !isNull(tms) ){
- tms = tms.substr(0, tms.length-1);
- dsf_makeValue(ds_send_reqdata,"timescond","string",tms);
- }else{
- dsf_makeValue(ds_send_reqdata,"timescond","string","");
- }
-
- if( !utlf_isNull(iSetArray) && cpgflagcd == "W" ){ //CPG는 회차와 상관없이 처방일이 기준이므로 처방일자 array만 보내면 됨 (2008.12.10)
- iSetArray = iSetArray.substr(0, iSetArray.length-1);
- dsf_makeValue(ds_send_reqdata,"setcond","string",iSetArray);
- }else{
- dsf_makeValue(ds_send_reqdata,"setcond","string","");
- }
-
- if( !utlf_isNull(iPrcpddArray) && cpgflagcd == "W" ) {
- iPrcpddArray = iPrcpddArray.substr(0, iPrcpddArray.length-1);
- dsf_makeValue(ds_send_reqdata,"prcpddcond","string",iPrcpddArray);
- ds_init.setColumn(0,"prcpddcond",iPrcpddArray);
- }else if( !utlf_isNull(iPrcpddArray) && cpgflagcd == "G" ) {
- //CPG는 처방일자가, 프로토콜 회차와 불일치하므로 별도 셋팅
- dsf_makeValue(ds_send_reqdata,"prcpddcond","string",prcpddArray);
- ds_init.setColumn(0,"prcpddcond",prcpddArray);
- }
- //end
- //여기부터
- // var srcref = ds_temp_getdatalist_list;
- //if( iCase == 1 ){ //2008.10.05 조건 삭제
- // var srcNode = instance1.selectSingleNode(srcref);
- // var appstat = oOpener.ds_temp1_getdata.getColumn(0,"appstat");
-
- // submit("TRMMP02201", false); //전체 그리드의 prcplist 조회
- // fMakeCopyColumn(ds_send_reqdata,cretno,prcpgenrflag);
- var oParam = {};
- oParam.id = "TRMMP02201";
- oParam.service = "prcpbaseapp.CpMngt";
- oParam.method = "reqGetStepDetailInfo";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_temp_getdatalist_list=list ds_temp_getdatalist_prcplist=prcplist";
- oParam.async = false;
- oParam.callback = "cf_TRMMP02201";
- tranf_submit(oParam);
-
- // if( !utlf_isNull(srcNode) ){
- if( ds_temp_getdatalist_list.rowcount > 0 || ds_temp_getdatalist_prcplist.rowcount > 0 ){
- //서식 쪼개기.. (/root/main/getdatalist/list)
- var formNode = oOpener.objects["ds_main_formlist_info"] != null ? oOpener.ds_main_formlist_info.getColumn(0,"formcd") : "";
- if( openerNM == "GPS" && !utlf_isNull(formNode) ){
- var formNodeList = oOpener.ds_main_formlist_info; //opener.instance1.selectNodes("/root/main/formlist/info");
- ds_temp_formlist_list.clearData();
- for(var i = 0; i < formNodeList.rowcount; i++){
- // var node = formNodeList.item(i);
- // appendChildPrcp ( "/root/temp/reset/list", "/root/temp/formlist", "main" );
- lf_appendChildPrcp("ds_temp_reset_list", "ds_temp_formlist_list", "main");
-
- ds_temp_formlist_list.addRow();
- var iTime = formNodeList.getColumn(i, "times"); //node.selectSingleNode("times").text;
-
- ds_temp_formlist_list.setColumn(i, "times" , iTime.substr(1, iTime.length-1) );
- ds_temp_formlist_list.setColumn(i, "prcpdd" , formNodeList.getColumn(i,"prcpdd"));
- ds_temp_formlist_list.setColumn(i, "prcpcd" , formNodeList.getColumn(i,"formcd"));
- ds_temp_formlist_list.setColumn(i, "prcpno" , formNodeList.getColumn(i,"formseq"));
- ds_temp_formlist_list.setColumn(i, "prcpnm" , formNodeList.getColumn(i,"formnm"));
- ds_temp_formlist_list.setColumn(i, "stepnm" , formNodeList.getColumn(i,"stepnm"));
- ds_temp_formlist_list.setColumn(i, "prcpclscd" , "FM" );
- // 2008.07.31 pymi
- //model.setValue("/root/temp/formlist/list[" + (i+1) + "]/stepno", node.selectSingleNode("stepno").text );
- }
-
-
- //20180224 이돈희 : main에서 hichartlist 가져오기
- var hichartList = oOpener.ds_main_hichartlist_info;
-
- ds_temp_hichart_list.clearData();
- for(var iIndex = 0 ; iIndex < hichartList.rowcount; iIndex++){
- lf_appendChildPrcp("ds_temp_reset_list", "ds_temp_hichartlist_list", "main");
-
- ds_temp_hichart_list.addRow();
- var iTime = hichartList.getColumn(iIndex, "times"); //node.selectSingleNode("times").text;
- ds_temp_hichart_list.setColumn(iIndex, "times" , iTime.substr(1, iTime.length-1) );
- ds_temp_hichart_list.setColumn(iIndex, "prcpdd" , hichartList.getColumn(iIndex,"prcpdd"));
- ds_temp_hichart_list.setColumn(iIndex, "prcpcd" , hichartList.getColumn(iIndex,"contentscd"));
- //ds_temp_hichart_list.setColumn(iIndex, "prcpno" , hichartList.getColumn(iIndex,"formseq"));
- ds_temp_hichart_list.setColumn(iIndex, "prcpnm" , hichartList.getColumn(iIndex,"contentsnm"));
- ds_temp_hichart_list.setColumn(iIndex, "stepnm" , hichartList.getColumn(iIndex,"stepnm"));
- ds_temp_hichart_list.setColumn(iIndex, "prcpclscd" , "HC" );
- }
- }
-
- /*
- TRMMP02201 인스턴스 구조를 통일하여, 서브밋 하나로 처리
- if( (opener.window.javascript.OpenerKind == "GPS" || openerNM == "GPS") ){
- if( appstat == "10" || appstat == "30" ){ //미래처방이 존재 할 경우,
- submit("TRMMP02203", false);
- }
- }
- */
-
- //Prcp 노드에 copy
- ds_main_prcplist.clearData();
- ds_main_prcplist.copyData(ds_temp_getdatalist_prcplist);
- ds_temp_getdatalist_prcplist.clearData();
- }
-
- //}
- var drugcls = "(prcpclscd == 'A2' || prcpclscd == 'A4' || prcpclscd == 'A6')";
- var testcls = "(prcpclscd == 'B2' || prcpclscd == 'B4' || prcpclscd == 'B6' || prcpclscd == 'C2' || prcpclscd == 'C4' || prcpclscd == 'C6' || prcpclscd == 'D2' || prcpclscd == 'E2')";
- var carecls = "(prcpclscd == '00' || prcpclscd == '01' || prcpclscd == '02' || prcpclscd == '03' || prcpclscd == '04' || prcpclscd == '09')";
- var etc = "(prcpclscd == 'F2' || prcpclscd == 'G2' || prcpclscd == 'H2' || prcpclscd == 'H4' || prcpclscd == 'H6' || prcpclscd == 'I2' || prcpclscd == 'I4' || prcpclscd == 'J2' || prcpclscd == 'K2' || prcpclscd == 'M2' || prcpclscd == 'N2' || prcpclscd == 'O2' || prcpclscd == 'Z0')";
- var form = "(prcpclscd == 'FM')";
- var hichart = "(prcpclscd == 'HC')";
- tms = "";
- var dd = "";
- var prcpDD = "";
- var fcsCaptionCtrl;
- var no = 0;
- var curNo = 1;
- var fcsCaptionCtrl = null;
- var gridID = "";
-
- prcpddArray = prcpddArray.setReplaceWord("'", "");
- if(prcpddArray.substr(prcpddArray.length-1, 1) == ","){
- prcpddArray = prcpddArray.substr(0, prcpddArray.length-1);
- }
-
- var genrFlag = oOpener.ds_patflag.getColumn(0,"prcpgenrflag");
- var D0StepExstYN = "N";
- // instance1.selectSingleNode("/root/main/steppath/info" + "[times = '0']") != null && genrFlag == "O"
- if( oOpener.ds_main_steppath_info.findRow("times","0") > -1 && genrFlag == "0" ) D0StepExstYN = "Y";
- //1page:0~4, 2page:4~8, 3page:8~12...
-
- for(var i = Start; i < Cnt; i++) { //Cnt->dayCnt
- no++;
- tms = timesArray.split(",")[i];
- fcsCaptionCtrl = this.components["cap_day" + no];
-
- dsf_createDs("ds_temp_steppath_info");
- oOpener.ds_main_steppath_info.filter("stepstat == '10' || stepstat == '20' || stepstat == '30'");
- ds_temp_steppath_info.copyData(oOpener.ds_main_steppath_info,true);
- if( (openerNM == "GPS" || oOpener.OpenerKind == "GPS") && ds_temp_steppath_info.rowcount > 0 ) { //opener.instance1.selectSingleNode("/root/main/steppath/info" + "[stepstat = '10' or stepstat = '20' or stepstat = '30']") != null
- if( utlf_isNull(fcsCaptionCtrl) ) continue;
-
- if( D0StepExstYN == "Y" && i > 0 ){
- if( !utlf_isNull(timesArray) ){
- fcsCaptionCtrl.text = "Day" + tms;
- }
- }else{
- dd = prcpddArray.split(",")[i];
-
- if( utlf_isNull(prcpddArray) || utlf_isNull(dd) ) continue;
-
- prcpDD = dd.substr(0,4) + "-" + dd.substr(4,2) + "-" + dd.substr(6,2); //err
-
- //start: CPG 분기 처리
- if( cpgflagcd == "W" ) fcsCaptionCtrl.text = "Day" + tms + " (" + prcpDD + ")";
- else fcsCaptionCtrl.text = prcpDD;
- //end
-
- if( dd == utlf_getCurrentDate() ){
- fcsCaptionCtrl.style.color = "#FF0000";
- fcsCaptionCtrl.style.font.type = "bold";
- }else{
- fcsCaptionCtrl.style.color = "#000000";
- fcsCaptionCtrl.style.font.type = "";
- }
- }
- // fcsCaptionCtrl.refresh();
- }else{
- fcsCaptionCtrl.text = "Day" + tms;
- }
- dsf_deleteDs("ds_temp_steppath_info");
- //var trg = instance1.selectSingleNode("/root/temp/getdatalist/list[times = '" + tms + "']");
-
- if( openerNM == "GPS" || oOpener.OpenerKind == "GPS" ){
- //M-GPS에서 조회 후, 분리
- var stepstatNode = null;
- var stepstat = "";
-
- //start: CPG 분기 처리
- if( cpgflagcd == "W" ){
- // stepstatNode = opener.instance1.selectSingleNode("/root/main/steppath/info[times='"+tms+"']/stepstat");
- stepstatNode = oOpener.ds_main_steppath_info.getColumn(oOpener.ds_main_steppath_info.findRow("times",tms),"stepstat");
- stepstat = stepstatNode;
- }else{
- // stepstatNode = opener.instance1.selectSingleNode("/root/main/steppath/info[prcpdd='"+dd+"']/stepstat");
- stepstatNode = oOpener.ds_main_steppath_info.getColumn(oOpener.ds_main_steppath_info.findRow("prcpdd",dd),"stepstat");
- if( !utlf_isNull(stepstatNode) ) stepstat = stepstatNode;
- else stepstat = "10";
- }
- //end
-
- // stepstatNode = opener.instance1.selectSingleNode("/root/main/steppath/info[times='"+tms+"' and prcpdd='"+dd+"']/stepstat");
- stepstatNode = oOpener.ds_main_steppath_info.getColumn(oOpener.ds_main_steppath_info.findRowExpr("times=='"+tms+"' && prcpdd=='"+dd+"'"),"stepstat");
-
- if( !utlf_isNull(stepstatNode) ) stepstat = stepstatNode;
- else{
- //CPG는 모든 스텝이 적용되었어도 종료하지 않으면 계속적으로 진행, 환자계획표도 계획에 없는 일자가 보여야 하므로 변경함(2009.04.10)
- // stepstatNode = opener.instance1.selectSingleNode("/root/main/steppath/info[times='"+tms+"']/stepstat");
- stepstatNode = oOpener.ds_main_steppath_info.getColumn(oOpener.ds_main_steppath_info.findRow("times",tms),"stepstat");
- if( !utlf_isNull(stepstatNode) ) stepstat = stepstatNode;
- else stepstat = "30";
- }
- //alert("no="+no + " , tms="+tms + " , dd=" + dd + " , stepstat="+stepstat);
- if( cpgflagcd != "W" || stepstat >= 20 ){ //(cpgflagcd != "W" && isNull(timesArray))
- // copyNodeListType("/root/main/druglist" + no, srcref + "[ prcpdd = '" + dd + "' and " + drugcls+ "]", "replace");
- // copyNodeListType("/root/main/testlist" + no, srcref + "[ prcpdd = '" + dd + "' and " + testcls+ "]", "replace");
- // copyNodeListType("/root/main/etclist" + no, srcref + "[ prcpdd = '" + dd + "' and " + etc+ "]", "replace");
- // copyNodeListType("/root/main/caredelivelist" + no, srcref + "[ prcpdd = '" + dd + "' and " + carecls + "]", "replace");
- // copyNodeListType("/root/main/formlist" + no, "/root/temp/formlist/list[ prcpdd = '" + dd + "' and " + form + "]", "replace");
- ds_temp_getdatalist_list.filter("prcpdd == '" + dd + "' && " + drugcls);
- objects["ds_main_druglist"+no].copyData(ds_temp_getdatalist_list,true);
- ds_temp_getdatalist_list.filter("prcpdd == '" + dd + "' && " + testcls);
- objects["ds_main_testlist"+no].copyData(ds_temp_getdatalist_list,true);
- ds_temp_getdatalist_list.filter("prcpdd == '" + dd + "' && " + etc);
- objects["ds_main_etclist"+no].copyData(ds_temp_getdatalist_list,true);
- ds_temp_getdatalist_list.filter("prcpdd == '" + dd + "' && " + carecls);
- objects["ds_main_caredelivelist"+no].copyData(ds_temp_getdatalist_list,true);
- //20180510 이돈희 : 중간시작하는 경우 prcpdd == dd 로 조회시 한스텝에 여러 스텝이 들어가는 현상 발생으로 tms로 조회로 수정
- ds_temp_formlist_list.filter("times == '" + tms + "' && " + form);
- objects["ds_main_formlist"+no].copyData(ds_temp_formlist_list,true);
- //20180130 이돈희 하이차트 추가
- ds_temp_hichart_list.filter("times == '" + tms + "' && " + hichart);
- objects["ds_main_hichartlist0"+no].copyData(ds_temp_hichart_list,true);
- }else{
-
- //처방에서 CP 적용 데이터 처리
-
- // copyNodeListType("/root/main/druglist" + no, srcref + "[ times = '" + tms + "' and " + drugcls+ "]", "replace");
- // copyNodeListType("/root/main/testlist" + no, srcref + "[ times = '" + tms + "' and " + testcls+ "]", "replace");
- // copyNodeListType("/root/main/etclist" + no, srcref + "[ times = '" + tms + "' and " + etc+ "]", "replace");
- // copyNodeListType("/root/main/caredelivelist" + no, srcref + "[ times = '" + tms + "' and " + carecls + "]", "replace");
- // copyNodeListType("/root/main/formlist" + no, "/root/temp/formlist/list[ times = '" + tms + "' and " + form + "]", "replace");
- ds_temp_getdatalist_list.filter("times == '" + tms + "' && " + drugcls);
- objects["ds_main_druglist"+no].copyData(ds_temp_getdatalist_list,true);
- ds_temp_getdatalist_list.filter("times == '" + tms + "' && " + testcls);
- objects["ds_main_testlist"+no].copyData(ds_temp_getdatalist_list,true);
- ds_temp_getdatalist_list.filter("times == '" + tms + "' && " + etc);
- objects["ds_main_etclist"+no].copyData(ds_temp_getdatalist_list,true);
- ds_temp_getdatalist_list.filter("times == '" + tms + "' && " + carecls);
- objects["ds_main_caredelivelist"+no].copyData(ds_temp_getdatalist_list,true);
- ds_temp_formlist_list.filter("times == '" + tms + "' && " + form);
- objects["ds_main_formlist"+no].copyData(ds_temp_formlist_list,true);
-
- //20180130 이돈희 하이차트 추가
- ds_temp_hichart_list.filter("times == '" + tms + "' && " + hichart);
- objects["ds_main_hichartlist0"+no].copyData(ds_temp_hichart_list,true);
- }
- }else{
- //생성기에서 조회 후, 분리
- ds_temp_getdatalist_list.filter("times == '" + tms + "' && " + drugcls);
- objects["ds_main_druglist"+no].copyData(ds_temp_getdatalist_list,true);
- ds_temp_getdatalist_list.filter("times == '" + tms + "' && " + testcls);
- objects["ds_main_testlist"+no].copyData(ds_temp_getdatalist_list,true);
- ds_temp_getdatalist_list.filter("times == '" + tms + "' && " + etc);
- objects["ds_main_etclist"+no].copyData(ds_temp_getdatalist_list,true);
- ds_temp_getdatalist_list.filter("times == '" + tms + "' && " + carecls);
- objects["ds_main_caredelivelist"+no].copyData(ds_temp_getdatalist_list,true);
- ds_temp_getdatalist_list.filter("times == '" + tms + "' && " + form);
- objects["ds_main_formlist"+no].copyData(ds_temp_getdatalist_list,true);
-
- //20180130 이돈희 하이차트 추가
- ds_temp_getdatalist_list.filter("times == '" + tms + "' && " + hichart);
- objects["ds_main_hichartlist0"+no].copyData(ds_temp_getdatalist_list,true);
- }
- }
- ds_temp_getdatalist_list.filter("");
- ds_temp_formlist_list.filter("");
- ds_temp_hichart_list.filter("");
-
- fSettingGrid();
- }
- /****************************************************************************************
- * Function : cf_TRMMP02201
- * Description : TRMMP02201 콜백 함수
- * Argument :
- * return type :
- * Creator :
- ****************************************************************************************/
- function cf_TRMMP02201(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- dsf_setDefaultVal(ds_temp_getdatalist_list, "status:-,prcpvol:0,prcpqty:0,prcptims:0,prcpdayno:0,hosinhosoutflag:-,drugspd:0,mealcalrcnts:0,mealprotcnts:0,hosinprcpresncd:00,prcprefseq:0,ordreqlnkno:0,testreqlnkno:0,prcplnkno:0,prtlno:0,inclprcpno:0,hsctdelivepos:0,hsctlnkno:0,etcprcpflag:-,aftcertflag:-,aftcertdrid:-,prcpvalidd:00000000,specdrid:-,anticncrprtlno:0,anticncrdayno:0,druglnkno:0,rehbprcpcurefreqflag:0,dietprcpgenrflag:-,irpayflag:N,irflag:N,procerdietflag:N,diagtestconttestintvlflag:N,drugindependpackflag:N,diagtestconttestbasetm:0,diagtestconttestorgtims:0,ermediscmngtresncd:-,rehbprcpenddd:-,matrallsizespecid:-,rehbprcpcurepartcd:-,lowdrugresncd:N,tfdtlcd:-,dnorreqlnkno:0,subcretno:0,exptmthdfact:-,lowdrugresnetcfact:-,diagtestconttestcdspec:-,drgacptflag:-");
- dsf_setDefaultVal(ds_temp_getdatalist_prcplist, "status:-,prcpvol:0,prcpqty:0,prcptims:0,prcpdayno:0,hosinhosoutflag:-,drugspd:0,mealcalrcnts:0,mealprotcnts:0,hosinprcpresncd:00,prcprefseq:0,ordreqlnkno:0,testreqlnkno:0,prcplnkno:0,prtlno:0,inclprcpno:0,hsctdelivepos:0,hsctlnkno:0,etcprcpflag:-,aftcertflag:-,aftcertdrid:-,prcpvalidd:00000000,specdrid:-,anticncrprtlno:0,anticncrdayno:0,druglnkno:0,rehbprcpcurefreqflag:0,dietprcpgenrflag:-,irpayflag:N,irflag:N,procerdietflag:N,diagtestconttestintvlflag:N,drugindependpackflag:N,diagtestconttestbasetm:0,diagtestconttestorgtims:0,ermediscmngtresncd:-,rehbprcpenddd:-,matrallsizespecid:-,rehbprcpcurepartcd:-,lowdrugresncd:N,tfdtlcd:-,dnorreqlnkno:0,subcretno:0,exptmthdfact:-,lowdrugresnetcfact:-,diagtestconttestcdspec:-,drgacptflag:-");
- }
- /****************************************************************************************
- * Function : fSettingGrid
- * Description :
- * Argument :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fSettingGrid(){
- initGrdBackground(grd_drug1);
- initGrdBackground(grd_drug2);
- initGrdBackground(grd_drug3);
- initGrdBackground(grd_drug4);
- initGrdBackground(grd_test1);
- initGrdBackground(grd_test2);
- initGrdBackground(grd_test3);
- initGrdBackground(grd_test4);
- initGrdBackground(grd_caredelive1);
- initGrdBackground(grd_caredelive2);
- initGrdBackground(grd_caredelive3);
- initGrdBackground(grd_caredelive4);
- initGrdBackground(grd_form1);
- initGrdBackground(grd_form2);
- initGrdBackground(grd_form3);
- initGrdBackground(grd_form4);
- initGrdBackground(grd_etc1);
- initGrdBackground(grd_etc2);
- initGrdBackground(grd_etc3);
- initGrdBackground(grd_etc4);
-
- objects[grd_drug1.binddataset].applyChange();
- objects[grd_drug2.binddataset].applyChange();
- objects[grd_drug3.binddataset].applyChange();
- objects[grd_drug4.binddataset].applyChange();
- objects[grd_test1.binddataset].applyChange();
- objects[grd_test2.binddataset].applyChange();
- objects[grd_test3.binddataset].applyChange();
- objects[grd_test4.binddataset].applyChange();
- objects[grd_caredelive1.binddataset].applyChange();
- objects[grd_caredelive2.binddataset].applyChange();
- objects[grd_caredelive3.binddataset].applyChange();
- objects[grd_caredelive4.binddataset].applyChange();
- objects[grd_form1.binddataset].applyChange();
- objects[grd_form2.binddataset].applyChange();
- objects[grd_form3.binddataset].applyChange();
- objects[grd_form4.binddataset].applyChange();
- objects[grd_etc1.binddataset].applyChange();
- objects[grd_etc2.binddataset].applyChange();
- objects[grd_etc3.binddataset].applyChange();
- objects[grd_etc4.binddataset].applyChange();
-
- var cpgappNum = parseInt(cpgappno.getLeftPad(10, "0")); //조건 추가. drop한 CP의 처방이 검정색으로 보이는 문제 해결
- // cpg 번호를 int형으로 형변환 : 2010. 03. 08 han19
- var histcd = "";
- var p_stat = "";
- var p_prcpno = "";
- for(var no = 1; no <= 4; no++){
- //처방 저장상태에 따라 테이블의 컬럼 색상을 달리 한다.
- if(openerNM == "GPS"){
- var statNode = ds_temp_getdatalist_list; //instance1.selectNodes("/root/temp/getdatalist/list");
-
- //처방일이 오늘날짜 이상이면, 색상을 달리한다
- fcsCaptionCtrl = this.components["grd_drug" + no];
- var colcnt = fcsCaptionCtrl.getCellCount("body");
- for(var colno = 0; colno < colcnt; colno++) {
-
- // 글자색(c0c0c0 : 은색, ff0000 : 빨간색, 0000ff : 파란색)
- fcsCaptionCtrl.setCellProperty("body", colno, "color","EXPR((getColumn(currow,'prtlstat')=='30' && getColumn(currow,'prcphistcd')=='E')?"#c0c0c0""
- +":(getColumn(currow,'prtlstat')=='30' && getColumn(currow,'prcphistcd')=='C')?"#ff0000""
- +":((getColumn(currow,'prtlstat')=='30' && getColumn(currow,'prtlprcpno') != '"+cpgappNum+"' && getColumn(currow,'prcphistcd')!='E' && getColumn(currow,'prcphistcd')!='C')"
- +" || (getColumn(currow,'prtlstat')=='20' && getColumn(currow,'prtlprcpno') == '0') || getColumn(currow,'prtlstat')=='21')?"#0000ff""
- +":(getColumn(currow,'prtlstat')=='11' || getColumn(currow,'prtlstat')=='12')?"#ff0000""
- +":"#000000")");
-
-
- // 배경색
- fcsCaptionCtrl.setCellProperty("body", colno, "background", 'EXPR(prtlstat == "30"? "#c8e67b":(prtlstat >= "10"? "#E5F3C2" : "") )');
- fcsCaptionCtrl.setCellProperty("body", colno, "background2", 'EXPR(prtlstat == "30"? "#c8e67b":(prtlstat >= "10"? "#E5F3C2" : "") )');
- }
-
- fcsCaptionCtrl = this.components["grd_test" + no];
- colcnt = fcsCaptionCtrl.getCellCount("body");
- for( var colno = 0; colno < colcnt; colno++ ) {
-
- // 글자색
- fcsCaptionCtrl.setCellProperty("body", colno, "color","EXPR((getColumn(currow,'prtlstat')=='30' && getColumn(currow,'prcphistcd')=='E')?"#c0c0c0""
- +":(getColumn(currow,'prtlstat')=='30' && getColumn(currow,'prcphistcd')=='C')?"#ff0000""
- +":((getColumn(currow,'prtlstat')=='30' && getColumn(currow,'prtlprcpno') != '"+cpgappNum+"' && getColumn(currow,'prcphistcd')!='E' && getColumn(currow,'prcphistcd')!='C')"
- +" || (getColumn(currow,'prtlstat')=='20' && getColumn(currow,'prtlprcpno') == '0') || getColumn(currow,'prtlstat')=='21')?"#0000ff""
- +":(getColumn(currow,'prtlstat')=='11' || getColumn(currow,'prtlstat')=='12')?"#ff0000""
- +":"#000000")");
- // 배경색
- fcsCaptionCtrl.setCellProperty("body", colno, "background", 'EXPR(prtlstat == "30"? "#c8e67b":(prtlstat >= "10"? "#E5F3C2" : "") )');
- fcsCaptionCtrl.setCellProperty("body", colno, "background2", 'EXPR(prtlstat == "30"? "#c8e67b":(prtlstat >= "10"? "#E5F3C2" : "") )');
- }
-
- fcsCaptionCtrl = this.components["grd_caredelive" + no];
- colcnt = fcsCaptionCtrl.getCellCount("body");
- for(var colno = 0; colno < colcnt; colno++) {
-
- // 글자색
- fcsCaptionCtrl.setCellProperty("body", colno, "color","EXPR((getColumn(currow,'prtlstat')=='30' && getColumn(currow,'prcphistcd')=='E')?"#c0c0c0""
- +":(getColumn(currow,'prtlstat')=='30' && getColumn(currow,'prcphistcd')=='C')?"#ff0000""
- +":((getColumn(currow,'prtlstat')=='30' && getColumn(currow,'prtlprcpno') != '"+cpgappNum+"' && getColumn(currow,'prcphistcd')!='E' && getColumn(currow,'prcphistcd')!='C')"
- +" || (getColumn(currow,'prtlstat')=='20' && getColumn(currow,'prtlprcpno') == '0') || getColumn(currow,'prtlstat')=='21')?"#0000ff""
- +":(getColumn(currow,'prtlstat')=='11' || getColumn(currow,'prtlstat')=='12')?"#ff0000""
- +":"#000000")");
-
- // 배경색
- fcsCaptionCtrl.setCellProperty("body", colno, "background", 'EXPR(prtlstat == "30"? "#c8e67b":(prtlstat >= "10"? "#E5F3C2" : "") )');
- fcsCaptionCtrl.setCellProperty("body", colno, "background2", 'EXPR(prtlstat == "30"? "#c8e67b":(prtlstat >= "10"? "#E5F3C2" : "") )');
- }
-
-
- fcsCaptionCtrl = this.components["grd_etc" + no];
- colcnt = fcsCaptionCtrl.getCellCount("body");
- for(var colno = 0; colno < colcnt; colno++) {
-
- // 글자색
- fcsCaptionCtrl.setCellProperty("body", colno, "color","EXPR((getColumn(currow,'prtlstat')=='30' && getColumn(currow,'prcphistcd')=='E')?"#c0c0c0""
- +":(getColumn(currow,'prtlstat')=='30' && getColumn(currow,'prcphistcd')=='C')?"#ff0000""
- +":((getColumn(currow,'prtlstat')=='30' && getColumn(currow,'prtlprcpno') != '"+cpgappNum+"' && getColumn(currow,'prcphistcd')!='E' && getColumn(currow,'prcphistcd')!='C')"
- +" || (getColumn(currow,'prtlstat')=='20' && getColumn(currow,'prtlprcpno') == '0') || getColumn(currow,'prtlstat')=='21')?"#0000ff""
- +":(getColumn(currow,'prtlstat')=='11' || getColumn(currow,'prtlstat')=='12')?"#ff0000""
- +":"#000000")");
-
- // 배경색
- fcsCaptionCtrl.setCellProperty("body", colno, "background", 'EXPR(prtlstat == "30"? "#c8e67b":(prtlstat >= "10"? "#E5F3C2" : "") )');
- fcsCaptionCtrl.setCellProperty("body", colno, "background2", 'EXPR(prtlstat == "30"? "#c8e67b":(prtlstat >= "10"? "#E5F3C2" : "") )');
- }
- }
- }
- // model.refresh();
- //grd_caredelive1.rowHidden(0) = true;
- //grd_caredelive2.rowHidden(0) = true;
- //grd_caredelive3.rowHidden(0) = true;
- //grd_caredelive4.rowHidden(0) = true;
- // grd_form1.rowHidden(0) = true;
- // grd_form2.rowHidden(0) = true;
- // grd_form3.rowHidden(0) = true;
- // grd_form4.rowHidden(0) = true;
- // grd_etc1.rowHidden(0) = true;
- // grd_etc2.rowHidden(0) = true;
- // grd_etc3.rowHidden(0) = true;
- // grd_etc4.rowHidden(0) = true;
- /*
- grd_form1.setFormatRowProperty(0,"size",0);
- grd_form2.setFormatRowProperty(0,"size",0);
- grd_form3.setFormatRowProperty(0,"size",0);
- grd_form4.setFormatRowProperty(0,"size",0);
- grd_etc1.setFormatRowProperty(0,"size",0);
- grd_etc2.setFormatRowProperty(0,"size",0);
- grd_etc3.setFormatRowProperty(0,"size",0);
- grd_etc4.setFormatRowProperty(0,"size",0);
-
- if( oOpener.ds_main_masterinfo_info.getColumn(0,"cpgflagcd") != "01" ) {
- grd_drug1.setFormatColProperty((grd_drug1.getBindCellIndex("body","prcphopedd")),"size",80);
- grd_test1.setFormatColProperty((grd_test1.getBindCellIndex("body","prcphopedd")),"size",80);
- grd_caredelive1.setFormatColProperty((grd_caredelive1.getBindCellIndex("body","prcphopedd")),"size",80);
- grd_etc1.setFormatColProperty((grd_etc1.getBindCellIndex("body","prcphopedd")),"size",80);
- grd_drug2.setFormatColProperty((grd_drug2.getBindCellIndex("body","prcphopedd")),"size",80);
- grd_test2.setFormatColProperty((grd_test2.getBindCellIndex("body","prcphopedd")),"size",80);
- grd_caredelive2.setFormatColProperty((grd_caredelive2.getBindCellIndex("body","prcphopedd")),"size",80);
- grd_etc2.setFormatColProperty((grd_etc2.getBindCellIndex("body","prcphopedd")),"size",80);
- grd_drug3.setFormatColProperty((grd_drug3.getBindCellIndex("body","prcphopedd")),"size",80);
- grd_test3.setFormatColProperty((grd_test3.getBindCellIndex("body","prcphopedd")),"size",80);
- grd_caredelive3.setFormatColProperty((grd_caredelive3.getBindCellIndex("body","prcphopedd")),"size",80);
- grd_etc3.setFormatColProperty((grd_etc3.getBindCellIndex("body","prcphopedd")),"size",80);
- grd_drug4.setFormatColProperty((grd_drug4.getBindCellIndex("body","prcphopedd")),"size",80);
- grd_test4.setFormatColProperty((grd_test4.getBindCellIndex("body","prcphopedd")),"size",80);
- grd_caredelive4.setFormatColProperty((grd_caredelive4.getBindCellIndex("body","prcphopedd")),"size",80);
- grd_etc4.setFormatColProperty((grd_etc4.getBindCellIndex("body","prcphopedd")),"size",80);
- //model.refresh();
- }else{
- grd_drug1.setFormatColProperty((grd_drug1.getBindCellIndex("body","prcphopedd")),"size",0);
- grd_test1.setFormatColProperty((grd_test1.getBindCellIndex("body","prcphopedd")),"size",0);
- grd_caredelive1.setFormatColProperty((grd_caredelive1.getBindCellIndex("body","prcphopedd")),"size",0);
- grd_etc1.setFormatColProperty((grd_etc1.getBindCellIndex("body","prcphopedd")),"size",0);
- grd_drug2.setFormatColProperty((grd_drug2.getBindCellIndex("body","prcphopedd")),"size",0);
- grd_test2.setFormatColProperty((grd_test2.getBindCellIndex("body","prcphopedd")),"size",0);
- grd_caredelive2.setFormatColProperty((grd_caredelive2.getBindCellIndex("body","prcphopedd")),"size",0);
- grd_etc2.setFormatColProperty((grd_etc2.getBindCellIndex("body","prcphopedd")),"size",0);
- grd_drug3.setFormatColProperty((grd_drug3.getBindCellIndex("body","prcphopedd")),"size",0);
- grd_test3.setFormatColProperty((grd_test3.getBindCellIndex("body","prcphopedd")),"size",0);
- grd_caredelive3.setFormatColProperty((grd_caredelive3.getBindCellIndex("body","prcphopedd")),"size",0);
- grd_etc3.setFormatColProperty((grd_etc3.getBindCellIndex("body","prcphopedd")),"size",0);
- grd_drug4.setFormatColProperty((grd_drug4.getBindCellIndex("body","prcphopedd")),"size",0);
- grd_test4.setFormatColProperty((grd_test4.getBindCellIndex("body","prcphopedd")),"size",0);
- grd_caredelive4.setFormatColProperty((grd_caredelive4.getBindCellIndex("body","prcphopedd")),"size",0);
- grd_etc4.setFormatColProperty((grd_etc4.getBindCellIndex("body","prcphopedd")),"size",0);
- }
- */
- }
- /**
- * @group :
- * @ver : 2008.09
- * @by : 전지은
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 재조회 시, 선택된 셀의 색상을 초기화
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fInitGridStyle(){
- /*
- grd_drug1.rebuild();
- grd_test1.rebuild();
- grd_caredelive1.rebuild();
- grd_etc1.rebuild();
- grd_form1.rebuild();
- grd_drug2.rebuild();
- grd_test2.rebuild();
- grd_caredelive2.rebuild();
- grd_etc2.rebuild();
- grd_form2.rebuild();
- grd_drug3.rebuild();
- grd_test3.rebuild();
- grd_caredelive3.rebuild();
- grd_etc3.rebuild();
- grd_form3.rebuild();
- grd_drug4.rebuild();
- grd_test4.rebuild();
- grd_caredelive4.rebuild();
- grd_etc4.rebuild();
- grd_form4.rebuild();
- */
-
- grd_drug1.initStyle("background-color");
- grd_drug2.initStyle("background-color");
- grd_drug3.initStyle("background-color");
- grd_drug4.initStyle("background-color");
- grd_test1.initStyle("background-color");
- grd_test2.initStyle("background-color");
- grd_test3.initStyle("background-color");
- grd_test4.initStyle("background-color");
- grd_caredelive1.initStyle("background-color");
- grd_caredelive2.initStyle("background-color");
- grd_caredelive3.initStyle("background-color");
- grd_caredelive4.initStyle("background-color");
- grd_form1.initStyle("background-color");
- grd_form2.initStyle("background-color");
- grd_form3.initStyle("background-color");
- grd_form4.initStyle("background-color");
- grd_etc1.initStyle("background-color");
- grd_etc2.initStyle("background-color");
- grd_etc3.initStyle("background-color");
- grd_etc4.initStyle("background-color");
-
- grd_drug1.initStyle("color");
- grd_drug2.initStyle("color");
- grd_drug3.initStyle("color");
- grd_drug4.initStyle("color");
- grd_test1.initStyle("color");
- grd_test2.initStyle("color");
- grd_test3.initStyle("color");
- grd_test4.initStyle("color");
- grd_caredelive1.initStyle("color");
- grd_caredelive2.initStyle("color");
- grd_caredelive3.initStyle("color");
- grd_caredelive4.initStyle("color");
- grd_form1.initStyle("color");
- grd_form2.initStyle("color");
- grd_form3.initStyle("color");
- grd_form4.initStyle("color");
- grd_etc1.initStyle("color");
- grd_etc2.initStyle("color");
- grd_etc3.initStyle("color");
- grd_etc4.initStyle("color");
- grd_drug1.clearStatus();
- grd_drug2.clearStatus();
- grd_drug3.clearStatus();
- grd_drug4.clearStatus();
- grd_test1.clearStatus();
- grd_test2.clearStatus();
- grd_test3.clearStatus();
- grd_test4.clearStatus();
- grd_caredelive1.clearStatus();
- grd_caredelive2.clearStatus();
- grd_caredelive3.clearStatus();
- grd_caredelive4.clearStatus();
- grd_form1.clearStatus();
- grd_form2.clearStatus();
- grd_form3.clearStatus();
- grd_form4.clearStatus();
- grd_etc1.clearStatus();
- grd_etc2.clearStatus();
- grd_etc3.clearStatus();
- grd_etc4.clearStatus();
-
- grd_form1.rowHidden(0) = true;
- grd_form2.rowHidden(0) = true;
- grd_form3.rowHidden(0) = true;
- grd_form4.rowHidden(0) = true;
- grd_etc1.rowHidden(0) = true;
- grd_etc2.rowHidden(0) = true;
- grd_etc3.rowHidden(0) = true;
- grd_etc4.rowHidden(0) = true;
-
- if( opener.model.getValue("/root/main/masterinfo/info/cpgflagcd") != "01" ){
- grd_drug1.colHidden(grd_drug1.colRef("prcphopedd")) = false;
- grd_test1.colHidden(grd_test1.colRef("prcphopedd")) = false;
- grd_caredelive1.colHidden(grd_caredelive1.colRef("prcphopedd")) = false;
- grd_etc1.colHidden(grd_etc1.colRef("prcphopedd")) = false;
- grd_drug2.colHidden(grd_drug2.colRef("prcphopedd")) = false;
- grd_test2.colHidden(grd_test2.colRef("prcphopedd")) = false;
- grd_caredelive2.colHidden(grd_caredelive2.colRef("prcphopedd")) = false;
- grd_etc2.colHidden(grd_etc2.colRef("prcphopedd")) = false;
- grd_drug3.colHidden(grd_drug3.colRef("prcphopedd")) = false;
- grd_test3.colHidden(grd_test3.colRef("prcphopedd")) = false;
- grd_caredelive3.colHidden(grd_caredelive3.colRef("prcphopedd")) = false;
- grd_etc3.colHidden(grd_etc3.colRef("prcphopedd")) = false;
- grd_drug4.colHidden(grd_drug4.colRef("prcphopedd")) = false;
- grd_test4.colHidden(grd_test4.colRef("prcphopedd")) = false;
- grd_caredelive4.colHidden(grd_caredelive4.colRef("prcphopedd")) = false;
- grd_etc4.colHidden(grd_etc4.colRef("prcphopedd")) = false;
- //model.refresh();
- }else{
- grd_drug1.colHidden(grd_drug1.colRef("prcphopedd")) = true;
- grd_test1.colHidden(grd_test1.colRef("prcphopedd")) = true;
- grd_caredelive1.colHidden(grd_caredelive1.colRef("prcphopedd")) = true;
- grd_etc1.colHidden(grd_etc1.colRef("prcphopedd")) = true;
- grd_drug2.colHidden(grd_drug2.colRef("prcphopedd")) = true;
- grd_test2.colHidden(grd_test2.colRef("prcphopedd")) = true;
- grd_caredelive2.colHidden(grd_caredelive2.colRef("prcphopedd")) = true;
- grd_etc2.colHidden(grd_etc2.colRef("prcphopedd")) = true;
- grd_drug3.colHidden(grd_drug3.colRef("prcphopedd")) = true;
- grd_test3.colHidden(grd_test3.colRef("prcphopedd")) = true;
- grd_caredelive3.colHidden(grd_caredelive3.colRef("prcphopedd")) = true;
- grd_etc3.colHidden(grd_etc3.colRef("prcphopedd")) = true;
- grd_drug4.colHidden(grd_drug4.colRef("prcphopedd")) = true;
- grd_test4.colHidden(grd_test4.colRef("prcphopedd")) = true;
- grd_caredelive4.colHidden(grd_caredelive4.colRef("prcphopedd")) = true;
- grd_etc4.colHidden(grd_etc4.colRef("prcphopedd")) = true;
- }
- }
- /****************************************************************************************
- * Function : initGrdBackground
- * Description : 그리드 백그라운드 초기화
- * Argument :
- * return type :
- * Creator :
- ****************************************************************************************/
- function initGrdBackground(objGrd) {
- for(var i = 0 ; i < objGrd.getCellCount("body"); i++) {
- objGrd.setCellProperty("body",i,"background","");
- objGrd.setCellProperty("body",i,"background2","");
- }
- }
- /****************************************************************************************
- * Function : fMakeCopyColumn
- * Description : 데이터셋 특정컬럼 카피하여 새컬럼 생성
- * : objDs - 대상 그리드
- * : sColSrc - 생성할 컬럼명
- * : sColTgt - 카피할 컬럼명
- * Argument :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fMakeCopyColumn(objDs,sColSrc,sColTgt) {
- for(var i = 0 ; i < objDs.rowcount ; i++) {
- dsf_makeValue(objDs,sColTgt,"string",objDs.getColumn(i,sColSrc),i);
- }
- }
- /****************************************************************************************
- * Function : fPopupMenuEvent
- * Description : 그리드들에 이벤트를 매핑시킨다
- * Argument :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fPopupMenuEvent(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row < 0 || e.col < 0 ) return;
-
- var ctrl1 = obj.name;
- // var ctrl2 = event.target;
- // var selControl = document.controls(ctrl1);
- curTrgGrd = ctrl1;
-
- if((obj.getEditText() != undefined) && (ds_main_prcplist.rowposition == e.row) && (obj.getCellPos() == e.cell)) return;
- // if((obj.getEditText() != undefined) && (ds_main_prcplist.rowposition == e.row) && (obj.getCellPos() == e.cell)) return;
- grdf_setSelectedCell(obj, e);
-
- if(ctrl1.substr(0, ctrl1.length-1) == "grd_test"){
- pmn_menu_2.trackPopup(e.screenX,e.screenY);
- }
- //20180130 이돈희 : 하아치트 추가
- else if(ctrl1.substr(0, ctrl1.length-1) == "grd_hichart"){
- pmn_menu_3.trackPopup(e.screenX,e.screenY);
- }
- else{
- pmn_menu_1.trackPopup(e.screenX,e.screenY);
- }
- }
- /****************************************************************************************
- * Function : fPopupmenu
- * Description : 팝업메뉴 선택시 분기하여 함수 실행
- * Argument :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fPopupmenu(obj:PopupMenu, e:MenuClickEventInfo) {
- if(e.id == "S") {
- fSetPrcp();
- } else if(e.id == "A") {
- fAddPrcp();
- } else if(e.id == "D") {
- fDelPrcp();
- } else if(e.id == "O") {
- fOpenTestRslt();
- }
- }
- /****************************************************************************************
- * Function : fSetPrcp
- * Description : 프로토콜 처방을 수정한다.
- * Argument :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fSetPrcp(){
- fOpenPrcpDetail( curTrgGrd, "SET" );
- curTrgGrd = null;
- }
- /****************************************************************************************
- * Function : fAddPrcp
- * Description : 프로토콜 처방을 추가한다.
- * Argument :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fAddPrcp(){
- fOpenPrcpDetail( curTrgGrd, "ADD" );
- curTrgGrd = null;
- }
- /****************************************************************************************
- * Function : fDelPrcp
- * Description : 프로토콜 처방을 삭제한다.
- * Argument :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fDelPrcp(){
- fOpenPrcpDetail( curTrgGrd, "DEL" );
- curTrgGrd = null;
- }
- /****************************************************************************************
- * Function : fOpenTestRslt
- * Description : 통합검사결과조회 화면 OPEN
- * Argument :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fOpenTestRslt() {
- if( utlf_isNull(curTrgGrd) ) return ;
-
- var grdCtrl = this.components[curTrgGrd];
- if( (objects[grdCtrl.binddataset].rowposition < 0 ) ) return ;
-
- if( selectedDayCaption == "" ) return ;
-
- var curDate = "";
- if( selectedDayCaption == "cap_day1" ) curDate = cap_day1.text;
- if( selectedDayCaption == "cap_day2" ) curDate = cap_day2.text;
- if( selectedDayCaption == "cap_day3" ) curDate = cap_day3.text;
- if( selectedDayCaption == "cap_day4" ) curDate = cap_day4.text;
- if( (utlf_isNull(curDate)) || (curDate.length < 10 ) ) return ;
- var vNode = ds_send_data_singdata; //"/root/send/data/singdata" ;
- // var vPidNode = vNode + "/srchpid" ;
- // var vDate1Node = vNode + "/srchdate11" ; //fromdd yyyymmdd
- // var vDate2Node = vNode + "/srchdate22" ; //todd yyyymmdd
- // var vDateFlagNode = vNode + "/listflag2" ; //처방일 : P , 검사일 : J , 보고일 : Z
- var vPid = ds_main_steplist_stepinfo.getColumn(0,"pid" );
- var vDate1 = curDate.substring( curDate.length - 11 , curDate.length -1);
- vDate1 = vDate1.replace("-", "");
- // vDate1 = vDate1.replace("-", "");
- dsf_makeValue(vNode,"srchpid" ,"string",vPid);
- dsf_makeValue(vNode,"srchdate11","string",vDate1);
- dsf_makeValue(vNode,"srchdate22","string",vDate1);
- dsf_makeValue(vNode,"listflag2" ,"string","P");
- // open( "SMAER00800",1, 100,10,"SMAER00800","/root/send/data/singdata",vNode);
- var objArg = new Object();
- objArg.arg_ds_send_data_singdata = ds_send_data_singdata;
- frmf_open("SMAER00800", "SMAER00800", objArg, null, 1, 100, 10, null, null, null, null, null, "M");
- }
- /****************************************************************************************
- * Function : fChangeValue
- * Description : 미래처방 수정 시, 변경값 체크하여, 상태값도 변경한다.
- * Argument :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fChangeValue(obj:Dataset, e:DSColChangeEventInfo){
- // var ctrl1 = event.currentTarget;
- // var ctrl2 = event.target;
- // var selControl = document.controls(ctrl1);
- //처방상태값이 바뀌었을때, 업데이트 셋팅
- if ( e.columnid == "prcpkindcd" ) {
- // var grdName = selControl.attribute("id");
- // var grdNo = ctrl1.substr(ctrl1.length-1, 1);
- // grdNodeNm = fGetGridNodeName(ctrl1);
- fGetPrcpNo(obj);
-
- var orgPrcpKindCd = obj.getColumn(e.row,"prcpkindcd");
- var trgPrcpKindCd = ds_main_prcplist.getColumn(ds_main_prcplist.rowposition,"prcpkindcd");
- if( !utlf_isNull(orgPrcpKindCd) && !utlf_isNull(trgPrcpKindCd) ){
- if( orgPrcpKindCd != trgPrcpKindCd){
- var rStatus = ds_main_prcplist.getColumn(ds_main_prcplist.rowposition,"status");
- var prcpclscd = ds_main_prcplist.getColumn(ds_main_prcplist.rowposition,"prcpclscd");
- prtlPrcpNo = obj.getColumn(e.row,"prcpno");
- ds_main_prcplist.setColumn(ds_main_prcplist.rowposition,"prcpkindcd",orgPrcpKindCd);
-
- if(rStatus == "I") { // 신규 입력 처방이면 상태(status)값을 수정 하지 않고 리턴 한다.
- return;
- }
-
- // ds_temp.setColumn(0,"mstatus", "U");
- ds_main_prcplist.setColumn(ds_main_prcplist.rowposition,"status", "U" );
- ds_temp.setColumn(0,"mstatus", rStatus);
- obj.setColumn(e.row,"status", "U");
- }
- }
- }
- }
- /****************************************************************************************
- * Function : fOpenPrcpDetail
- * Description : 선택된 처방에 대항 상세 내용을 보여주고, 수정이 기능하도록 한다.
- * Argument : grdName - 그리드명
- * : mode - 동작
- * return type :
- * Creator :
- ****************************************************************************************/
- function fOpenPrcpDetail( grdName, mode ){
- var sCpBatchTime = lf_getHardCDList("Y", 599, 3); //배치 실행 시간 2018.01.25 엄영만
- if(utlf_isNull(sCpBatchTime)) {
- if(sysf_getUserInfo("dutplceinstcd") == "031") {
- sCpBatchTime = "153000"; // 디폴트 6시 => 153000 으로 변경
- } else {
- sCpBatchTime = "153000"; // 디폴트 6시 => 153000 으로 변경
- }
-
- }
-
- if( openerNM == "GPS" ){
- if( utlf_isNull(grdName) ){
- return;
- }else{
- // => 처음 처방 조회할 때, 필요한 데이터를 더 가지고 온다(프로토콜처방번호, 스텝번호...)
- var selectedGridNM = grdName.substr(0, grdName.length-1);
- var grdNo = grdName.substr(grdName.length-1, 1);
- var grdCtrl = this.components[grdName];
- var choiPrcpNode = null; //선택한 처방에 대한 데이터를 담아두는 노드
- var prtlstat = null;
- var prtlPrcpNo = null;
- var iPrcpDD = "";
- var yPos = null;
- if( utlf_isNull(mode) ) mode = "SET";
-
- var currow = objects[grdCtrl.binddataset].rowposition;
- if( currow < 0 ) return;
-
- dsf_createDs("ds_temp_selectedGrid");
- switch ( selectedGridNM ){
- case "grd_drug" :
- // choiPrcpNode = instance1.selectSingleNode("/root/main/druglist" + grdNo + "/list[" + grdCtrl.row + "]");
- dsf_copyColInfo(ds_temp_selectedGrid, objects["ds_main_druglist"+grdNo]);
- ds_temp_selectedGrid.copyRow(ds_temp_selectedGrid.addRow(),objects["ds_main_druglist"+grdNo],currow);
- choiPrcpNode = ds_temp_selectedGrid;
- prtlstat = objects["ds_main_druglist"+grdNo].getColumn(currow,"prtlstat");
- prtlPrcpNo = objects["ds_main_druglist"+grdNo].getColumn(currow,"prcpno"); // prtlprcpno ?
- iPrcpDD = objects["ds_main_druglist"+grdNo].getColumn(currow,"prcpdd");
- break;
-
- case "grd_test" :
- // choiPrcpNode = instance1.selectSingleNode("/root/main/testlist" + grdNo + "/list[" + grdCtrl.row + "]");
- dsf_copyColInfo(ds_temp_selectedGrid, objects["ds_main_testlist"+grdNo]);
- ds_temp_selectedGrid.copyRow(ds_temp_selectedGrid.addRow(),objects["ds_main_testlist"+grdNo],currow);
- choiPrcpNode = ds_temp_selectedGrid;
- prtlstat = objects["ds_main_testlist"+grdNo].getColumn(currow,"prtlstat");
- prtlPrcpNo = objects["ds_main_testlist"+grdNo].getColumn(currow,"prcpno");
- iPrcpDD = objects["ds_main_testlist"+grdNo].getColumn(currow,"prcpdd");
- break;
-
- case "grd_caredelive" :
- // choiPrcpNode = instance1.selectSingleNode("/root/main/caredelivelist" + grdNo + "/list[" + grdCtrl.row + "]");
- dsf_copyColInfo(ds_temp_selectedGrid, objects["ds_main_caredelivelist"+grdNo]);
- ds_temp_selectedGrid.copyRow(ds_temp_selectedGrid.addRow(),objects["ds_main_caredelivelist"+grdNo],currow);
- choiPrcpNode = ds_temp_selectedGrid;
- prtlstat = objects["ds_main_caredelivelist"+grdNo].getColumn(currow,"prtlstat");
- prtlPrcpNo = objects["ds_main_caredelivelist"+grdNo].getColumn(currow,"prcpno");
- iPrcpDD = objects["ds_main_caredelivelist"+grdNo].getColumn(currow,"prcpdd");
- break;
-
- case "grd_form" :
- // choiPrcpNode = instance1.selectSingleNode("/root/main/formlist" + grdNo + "/list[" + grdCtrl.row + "]");
- dsf_copyColInfo(ds_temp_selectedGrid, objects["ds_main_formlist"+grdNo]);
- ds_temp_selectedGrid.copyRow(ds_temp_selectedGrid.addRow(),objects["ds_main_formlist"+grdNo],currow);
- choiPrcpNode = ds_temp_selectedGrid;
- prtlstat = objects["ds_main_formlist"+grdNo].getColumn(currow,"prtlstat");
- prtlPrcpNo = objects["ds_main_formlist"+grdNo].getColumn(currow,"prcpno");
- iPrcpDD = objects["ds_main_formlist"+grdNo].getColumn(currow,"prcpdd");
- break;
-
- case "grd_etc" :
- // choiPrcpNode = instance1.selectSingleNode("/root/main/etclist" + grdNo + "/list[" + grdCtrl.row + "]");
- dsf_copyColInfo(ds_temp_selectedGrid, objects["ds_main_etclist"+grdNo]);
- ds_temp_selectedGrid.copyRow(ds_temp_selectedGrid.addRow(),objects["ds_main_etclist"+grdNo],currow);
- choiPrcpNode = ds_temp_selectedGrid;
- prtlstat = objects["ds_main_etclist"+grdNo].getColumn(currow,"prtlstat");
- prtlPrcpNo = objects["ds_main_etclist"+grdNo].getColumn(currow,"prcpno");
- iPrcpDD = objects["ds_main_etclist"+grdNo].getColumn(currow,"prcpdd");
- break;
- }
-
- //서식을 선택하면, 상단의 서식그리드를 강제 선택하도록 함으로써, 서식을 띄운다.
- if( selectedGridNM == "grd_form" ){
- var formcd = objects["ds_main_formlist"+grdNo].getColumn(currow,"prcpcd");
- var times = "D" + objects["ds_main_formlist"+grdNo].getColumn(currow,"times");
- var formseq = objects["ds_main_formlist"+grdNo].getColumn(currow,"prcpno");
- //var formSeq = opener.instance1.selectSingleNode("/root/main/formlist/info[formcd='"+ formcd +"' and times='"+ times +"']/formseq");
- var findFlag = "N";
-
- for(var i = 0; i < oOpener.ds_main_formlist_info.rowcount; i++){ //grp_biz.swt_formatt.att_tab.grd_formlist
- var grd_formseq = oOpener.ds_main_formlist_info.getColumn(i,"formseq");
- var grd_times = oOpener.ds_main_formlist_info.getColumn(i,"times");
- var grd_formcd = oOpener.ds_main_formlist_info.getColumn(i,"formcd");
-
- if( grd_formcd == formcd && grd_times == times && grd_formseq == formseq ){
- //opener.grd_formlist.selectedRow(i);
- // opener.grd_formlist.select(i, 1) = true;
- oOpener.grp_biz.swt_formatt.att_tab.grd_formlist.setFocus();
- //oOpener.grp_biz.swt_formatt.att_tab.grd_formlist.setCellPos(i+1);
- // opener.grd_formlist.row = i;
- oOpener.grp_biz.swt_formatt.att_tab.grd_formlist.setCellPos(i);
- //objects[oOpener.grp_biz.swt_formatt.att_tab.grd_formlist.binddataset].rowposition = i;
- oOpener.ds_main_formlist_info.rowposition = i;
-
- // opener.grd_formlist.dispatch("ondblclick");
- var ev = new GridClickEventInfo;
- oOpener.frmf_inputEnterKey("grp_biz.swt_formatt.att_tab.grd_formlist", "oncelldblclick", ev );
- findFlag = "Y";
- return;
- }
- }
-
- if( findFlag == "N" ){
- sysf_messageBox("서식이 존재하지 않아서 조회", "E001");
- return;
- }
- }
- if(parseInt(prtlstat) < 10){
- sysf_messageBox("프로토콜 처방으로 저장되지 않았습니다. \n수정", "E001");
- return;
- }else if( parseInt(prtlstat) >= 10 && parseInt(prtlstat) < 30 ){
- //처방일이 오늘날짜이면서, 6시 이전이라면 OCS에서 처방 저장해야 함 msg.(2008.11.13)
- if( mode == "ADD" && utlf_getCurrentDate() == iPrcpDD && utlf_getCurrentTime() < sCpBatchTime){
- sysf_messageBox("당일 처방은 OCS에서", "C001");
- return;
- }
- //MSet, BMT지시처방의 자코드는 수정불가, 삭제시, 모코드+자코드 모두 삭제
- //프로토콜 처방 변경 가능 (선택한 처방을 따로 노드에 담아두고, 처방상세 창을 띄운다)
- // model.copyNode("/root/temp/choiprcpinfo/list", choiPrcpNode);
- ds_temp_choiprcpinfo_list.copyData(choiPrcpNode);
- ds_temp_choiprcpinfo.setColumn(0,"saveflag", mode);
- yPos = parseInt( grdCtrl.position.top );
- fGetPrcpSetList(prtlPrcpNo, yPos, mode, grdCtrl); //선택한 처방에 대한 상세팝업/처방 조회팝업을 띄운다
-
- } else if( parseInt(prtlstat) >= 30){
- if( utlf_getCurrentDate() < iPrcpDD && utlf_getCurrentTime() < sCpBatchTime ){
- ds_temp_choiprcpinfo_list.copyData(choiPrcpNode);
- ds_temp_choiprcpinfo.setColumn(0,"saveflag", mode);
-
- yPos = parseInt( grdCtrl.position.top );
-
- fGetPrcpSetList(prtlPrcpNo, yPos, mode, grdCtrl); //선택한 처방에 대한 상세팝업/처방 조회팝업을 띄운다
- }else{
- var msg = sysf_messageBox("해당 날짜 처방은 실처방으로 저장되었습니다. \n전처방에서", "Q003");
- if( msg == "6" ){
- oOpener.fCpInPrcpVisible();
- }else{
- return;
- }
- }
- }
- dsf_deleteDs("ds_temp_selectedGrid");
- }
- }
- }
- /****************************************************************************************
- * Function : fGetPrcpSetList
- * Description : 처방set 을 조회한다.
- * Argument : prtlPrcpNo -
- * : yPos -
- * : mode - 추가/삭제등모드
- * : gridCtrl - 그리드ID
- * return type :
- * Creator :
- ****************************************************************************************/
- function fGetPrcpSetList(prtlPrcpNo, yPos, mode, gridCtrl){
- // model.removeNodeset("/root/send");
- // model.makeNode("/root/send");
- ds_send.clear();
-
-
- if( !utlf_isNull(prtlPrcpNo) ){
- var mon = sysf_getCurrentMonitorNumber();
- var ctrlID = gridCtrl.name; //.attribute("id");
- var no = ctrlID.substr( ctrlID.length-1, 1 );
- var grdName = new Array();
- grdName[0] = ""; //투약그리드
- grdName[1] = ""; //검사그리드
- grdName[2] = ""; //전달그리드
- grdName[3] = ""; //기타그리드
- yPos = yPos + 23;
-
- // prtlprcpno 컬럼이 bigdecimal이어서 추가된 처방의 prtlprcpno 가 빈값으로 들어감 즉, fGetPrcpNo()에서 그리드DS와 ds_main_prcplist 의 rowposition 싱크가 안맞게 됨
- dsf_setTypeFormat(objects["ds_main_druglist"+no], "prtlprcpno:STRING");
- dsf_setTypeFormat(objects["ds_main_testlist"+no], "prtlprcpno:STRING");
- dsf_setTypeFormat(objects["ds_main_caredelivelist"+no], "prtlprcpno:STRING");
- dsf_setTypeFormat(objects["ds_main_etclist"+no], "prtlprcpno:STRING");
-
- if( mode == "ADD"){
- //if( iSelRow < 1 ) iSelRow = gridCtrl.row; //2008.11.08
- ds_temp.setColumn(0,"mstatus", "I");
- frmf_setParameter("patplanyn", "Y"); //환자계획표 여부 :Y
-
- // var nodeSet = gridCtrl.nodeset;
- var nodeSet = objects[gridCtrl.binddataset];
- // model.resetInstanceNode("/root/temp/copyset"); //리턴 결과를 담을 곳
- // model.removeNodeset("/root/temp/copyset/list");
- ds_temp_copyset.clear();
- // modal("SPMQP01400", mon, "", "", "", nodeSet + "[" + gridCtrl.row + " ]", "/root/reset/list");
- dsf_createDs("ds_temp_nodeSet");
- dsf_copyColInfo(ds_temp_nodeSet, nodeSet); // 컬럼정보 복사
-
- var insRow = ds_temp_nodeSet.addRow();
- ds_temp_nodeSet.copyRow(insRow, nodeSet, nodeSet.rowposition);
- var objArg = new Object();
- objArg.arg_ds_reset_list = ds_temp_nodeSet;
-
- frmf_modal("SPMQP01400", "SPMQP01400", objArg, null, mon, null, null, null, null, null, null, null, "M");
- dsf_deleteDs("ds_temp_nodeSet");
-
- dsf_createDs("ds_temp_rowcopy");
- dsf_copyColInfo(ds_temp_rowcopy, ds_temp_copyset);
- ds_temp_rowcopy.copyData(ds_temp_copyset);
- var nodeList = ds_temp_copyset; //instance1.selectNodes("/root/temp/copyset/list");
- for(var i = 0; i < nodeList.rowcount; i++){
- // var node = nodeList.item(i);
- var prcpclscdNode = nodeList.getColumn(i,"prcpclscd"); //node.selectSingleNode("prcpclscd");
- var prcpclscdText = prcpclscdNode.substr(0, 1);
- // var statusNode = node.selectSingleNode("status");
- // model.setValue(statusNode, "I");
- nodeList.setColumn(i,"status","I");
-
- // ds_temp_rowcopy.addRow();
- if( prcpclscdText == "A" ){
- // copyNodeListType("/root/main/druglist" + no , "/root/temp/copyset/list[" + (i+1) + "]", "after", model, model);
- var insRow = objects["ds_main_druglist"+no].addRow();
- objects["ds_main_druglist"+no].copyRow(insRow, ds_temp_rowcopy, i); //dsf_copyDs(objects["ds_main_druglist"+no],ds_temp_rowcopy,"after");
- gridCtrl = this.components["grd_drug" + no];
- grdName[0] = "grd_drug"+ no;
- }else if( prcpclscdText == "B" || prcpclscdText == "C" || prcpclscdText == "D" || prcpclscdText == "E" ){
- // copyNodeListType("/root/main/testlist" + no , "/root/temp/copyset/list[" + (i+1) + "]", "after", model, model);
- var insRow = objects["ds_main_testlist"+no].addRow();
- objects["ds_main_testlist"+no].copyRow(insRow, ds_temp_rowcopy, i); //ds_temp_rowcopy.copyRow(0,ds_temp_copyset,i);
- gridCtrl = this.components["grd_test" + no];
- grdName[1] = "grd_test"+ no;
- }else if( prcpclscdText == "0" ){
- // copyNodeListType("/root/main/caredelivelist" + no , "/root/temp/copyset/list[" + (i+1) + "]", "after", model, model);
- var insRow = objects["ds_main_caredelivelist"+no].addRow();
- objects["ds_main_caredelivelist"+no].copyRow(insRow, ds_temp_rowcopy, i);
- gridCtrl = this.components["grd_caredelive" + no];
- grdName[2] = "grd_caredelive"+ no;
- }else{
- // copyNodeListType("/root/main/etclist" + no , "/root/temp/copyset/list[" + (i+1) + "]", "after", model, model);
- var insRow = objects["ds_main_etclist"+no].addRow();
- objects["ds_main_etclist"+no].copyRow(insRow, ds_temp_rowcopy, i);
- gridCtrl = this.components["grd_etc" + no];
- grdName[3] = "grd_etc"+ no;
- }
- }
-
- for( var i = 0; i < grdName.length; i++ ){
- if( !utlf_isNull(grdName[i]) ){
- gridCtrl = this.components[grdName[i]];
- // gridCtrl.refresh();
- fReSetRowStatus(gridCtrl);
- }
- }
- // grd_prcplist.refresh();
- //iSelRow = 0; //2008.11.08
- }else if( mode == "DEL" ){
- ds_temp.setColumn(0,"mstatus", "D");
-
- var grdNodeNm = fGetGridNodeName(ctrlID);
- //fGetPrcpNo(gridCtrl); //loop 안으로 위치 이동
-
- //선택한 rows 모두 삭제처리 함, loop문 추가 (2008.11.08)
- var dSelectedRows = grdf_getSelectedRows(gridCtrl); //gridCtrl or ctrlID /*var selectedRows = grdf_getSelectedRows(그리드ID);*/
- var dRow = 0;
- var inclprcpno = "";
- var hsctlnkno = "";
- var inclprcpstat = "";
- var hsctlnkstat = "";
- var iInclprcpno = "";
- var iHsctlnkno = "";
- var iInclprcpstat = "";
- var iHsctlnkstat = "";
- var grupsnglflag1 = "";
- var grupsnglflag2 = "";
- for( var i = dSelectedRows.length-1; i >= 0; i-- ){
- dRow = dSelectedRows[i]; //gridCtrl.selectedRow(i);
- //gridCtrl.row = dRow;
- fGetPrcpNo(gridCtrl, dRow);
- //iGrupsnglflag == "J" or "M"
- iHsctlnkno = ds_main_prcplist.getColumn(ds_main_prcplist.rowposition,"hsctlnkno");
- iInclprcpno = ds_main_prcplist.getColumn(ds_main_prcplist.rowposition,"inclprcpno");
- if( iHsctlnkno != "0" ){
- grupsnglflag1 = "J";
- hsctlnkno = hsctlnkno + iHsctlnkno + "|";
- hsctlnkstat = hsctlnkstat + objects["ds_main_"+grdNodeNm].getColumn(dRow,"status") + "|";
- }else if( iInclprcpno != "0" ){
- grupsnglflag2 = "M";
- inclprcpno = inclprcpno + iInclprcpno + "|";
- inclprcpstat = inclprcpstat + objects["ds_main_"+grdNodeNm].getColumn(dRow,"status") + "|";
- }else{
- //gridCtrl.row -> dRow
- if( objects["ds_main_"+grdNodeNm].getColumn(dRow,"status") == "I" ){
- //바로 삭제
- // model.removeNodeset("/root/main/prcp/prcplist[" + dRow + "]");
- ds_main_prcplist.deleteRow(dRow);
- objects[gridCtrl.binddataset].deleteRow(dRow);
- }else if( objects["ds_main_"+grdNodeNm].getColumn(dRow,"status") == "D" ){
- //flag 복귀
- ds_main_prcplist.setColumn(ds_main_prcplist.rowposition,"status", "-" );
- objects["ds_main_"+grdNodeNm].setColumn(dRow,"status","-")
- }else{
- //삭제 flag
- ds_main_prcplist.setColumn(ds_main_prcplist.rowposition,"status", "D" );
- objects["ds_main_"+grdNodeNm].setColumn(dRow,"status","D");
- }
- }
- } //end for
-
- //grupsnglflag == "J" or "M"
- var ctrlPreNm = ctrlID.substr(0, ctrlID.length-1);
- var ctrlFullNm;
- if( grupsnglflag1 == "J" ){
- var iHsctlnknoTxt = hsctlnkno.split("|");
- var tobeStatus = "";
- iHsctlnkstat = hsctlnkstat.split("|");
- for( var i = 0; i < iHsctlnknoTxt.length-1; i++ ){
- if( iHsctlnkstat[i] == "I" ){
- // model.removeNodeset("/root/main/druglist" + no + "/list[inclprcpno='"+ iHsctlnknoTxt[i] +"']");
- // model.removeNodeset("/root/main/testlist" + no + "/list[inclprcpno='"+ iHsctlnknoTxt[i] +"']");
- // model.removeNodeset("/root/main/caredelivelist" + no + "/list[inclprcpno='"+ iHsctlnknoTxt[i] +"']");
- // model.removeNodeset("/root/main/etclist" + no + "/list[inclprcpno='"+ iHsctlnknoTxt[i] +"']");
- // model.removeNodeset("/root/main/prcp/prcplist[inclprcpno='"+ iHsctlnknoTxt[i] +"']");
- fDelNode( objects["ds_main_druglist"+no], "inclprcpno", iHsctlnknoTxt[i] );
- fDelNode( objects["ds_main_testlist"+no], "inclprcpno", iHsctlnknoTxt[i] );
- fDelNode( objects["ds_main_caredelivelist"+no], "inclprcpno", iHsctlnknoTxt[i] );
- fDelNode( objects["ds_main_etclist"+no], "inclprcpno", iHsctlnknoTxt[i] );
- fDelNode( ds_main_prcplist, "inclprcpno", iHsctlnknoTxt[i] );
- }else{
- if( iHsctlnkstat[i] == "D" ) tobeStatus = "-";
- else tobeStatus = "D";
- // fSetValue( instance1.selectNodes("/root/main/druglist" + no + "/list[inclprcpno='"+ iHsctlnknoTxt[i] +"']"), "status", tobeStatus );
- // fSetValue( instance1.selectNodes("/root/main/testlist" + no + "/list[inclprcpno='"+ iHsctlnknoTxt[i] +"']"), "status", tobeStatus );
- // fSetValue( instance1.selectNodes("/root/main/caredelivelist" + no + "/list[inclprcpno='"+ iHsctlnknoTxt[i] +"']"), "status", tobeStatus );
- // fSetValue( instance1.selectNodes("/root/main/etclist" + no + "/list[inclprcpno='"+ iHsctlnknoTxt[i] +"']"), "status", tobeStatus );
- // fSetValue( instance1.selectNodes("/root/main/prcp/prcplist[inclprcpno='"+ iHsctlnknoTxt[i] +"']"), "status", tobeStatus );
- fSetValue( objects["ds_main_druglist"+no],"inclprcpno",iHsctlnknoTxt[i],"status",tobeStatus );
- fSetValue( objects["ds_main_testlist"+no],"inclprcpno",iHsctlnknoTxt[i],"status",tobeStatus );
- fSetValue( objects["ds_main_caredelivelist"+no],"inclprcpno",iHsctlnknoTxt[i],"status",tobeStatus );
- fSetValue( objects["ds_main_etclist"+no],"inclprcpno",iHsctlnknoTxt[i],"status",tobeStatus );
- fSetValue( ds_main_prcplist,"inclprcpno",iHsctlnknoTxt[i],"status",tobeStatus );
- }
- }
-
- gridCtrl = this.components["grd_drug" + no];
- // gridCtrl.refresh();
- fReSetRowStatus(gridCtrl);
- gridCtrl = this.components["grd_test" + no];
- // gridCtrl.refresh();
- fReSetRowStatus(gridCtrl);
- gridCtrl = this.components["grd_caredelive" + no];
- // gridCtrl.refresh();
- fReSetRowStatus(gridCtrl);
- gridCtrl = this.components["grd_etc" + no];
- // gridCtrl.refresh();
- fReSetRowStatus(gridCtrl);
-
- if(grupsnglflag2 != "M") return;
- }
-
- if( grupsnglflag2 == "M" ){
- var iInclprcpnoTxt = inclprcpno.split("|");
- var tobeStatus = "";
- iInclprcpstat = inclprcpstat.split("|");
- for( var i = 0; i < iInclprcpnoTxt.length-1; i++ ){
- if( iInclprcpstat[i] == "I" ){
- // model.removeNodeset("/root/main/druglist" + no + "/list[inclprcpno='"+ iInclprcpnoTxt[i] +"']");
- // model.removeNodeset("/root/main/testlist" + no + "/list[inclprcpno='"+ iInclprcpnoTxt[i] +"']");
- // model.removeNodeset("/root/main/caredelivelist" + no + "/list[inclprcpno='"+ iInclprcpnoTxt[i] +"']");
- // model.removeNodeset("/root/main/etclist" + no + "/list[inclprcpno='"+ iInclprcpnoTxt[i] +"']");
- // model.removeNodeset("/root/main/prcp/prcplist[inclprcpno='"+ iInclprcpnoTxt[i] +"']");
- fDelNode( objects["ds_main_druglist"+no], "inclprcpno", iInclprcpnoTxt[i] );
- fDelNode( objects["ds_main_testlist"+no], "inclprcpno", iInclprcpnoTxt[i] );
- fDelNode( objects["ds_main_caredelivelist"+no], "inclprcpno", iInclprcpnoTxt[i] );
- fDelNode( objects["ds_main_etclist"+no], "inclprcpno", iInclprcpnoTxt[i] );
- fDelNode( ds_main_prcplist, "inclprcpno", iInclprcpnoTxt[i] );
- }else{
- if( iHsctlnkstat[i] == "D" ) tobeStatus = "-";
- else tobeStatus = "D";
- //model.setValue("/root/main/druglist" + no + "/list[inclprcpno='"+ iInclprcpnoTxt[i] +"']/status", "D");
- // fSetValue( instance1.selectNodes("/root/main/druglist" + no + "/list[inclprcpno='"+ iInclprcpnoTxt[i] +"']"), "status", tobeStatus );
- // fSetValue( instance1.selectNodes("/root/main/testlist" + no + "/list[inclprcpno='"+ iInclprcpnoTxt[i] +"']"), "status", tobeStatus );
- // fSetValue( instance1.selectNodes("/root/main/caredelivelist" + no + "/list[inclprcpno='"+ iInclprcpnoTxt[i] +"']"), "status", tobeStatus );
- // fSetValue( instance1.selectNodes("/root/main/etclist" + no + "/list[inclprcpno='"+ iInclprcpnoTxt[i] +"']"), "status", tobeStatus );
- // fSetValue( instance1.selectNodes("/root/main/prcp/prcplist[inclprcpno='"+ iInclprcpnoTxt[i] +"']"), "status", tobeStatus );
- fSetValue( objects["ds_main_druglist"+no],"inclprcpno",iInclprcpnoTxt[i],"status",tobeStatus );
- fSetValue( objects["ds_main_testlist"+no],"inclprcpno",iInclprcpnoTxt[i],"status",tobeStatus );
- fSetValue( objects["ds_main_caredelivelist"+no],"inclprcpno",iInclprcpnoTxt[i],"status",tobeStatus );
- fSetValue( objects["ds_main_etclist"+no],"inclprcpno",iInclprcpnoTxt[i],"status",tobeStatus );
- fSetValue( ds_main_prcplist,"inclprcpno",iInclprcpnoTxt[i],"status",tobeStatus );
- }
- }
-
- gridCtrl = this.components["grd_drug" + no];
- // gridCtrl.refresh();
- fReSetRowStatus(gridCtrl);
- gridCtrl = this.components["grd_test" + no];
- // gridCtrl.refresh();
- fReSetRowStatus(gridCtrl);
- gridCtrl = this.components["grd_caredelive" + no];
- // gridCtrl.refresh();
- fReSetRowStatus(gridCtrl);
- gridCtrl = this.components["grd_etc" + no];
- // gridCtrl.refresh();
- fReSetRowStatus(gridCtrl);
-
- return;
- }
-
- //gridCtrl.refresh();
- fReSetRowStatus(gridCtrl);
- //fSetGroupPrcp(mode, gridCtrl, grdNodeNm); //그룹코드일 경우, 모코드를 포함한 자코드 모두 삭제처리 (포함)
- }else{
- //1. /root/main/prcp/prcplist 의 노드를 기준으로 한다... ( gridCtrl.row )
- fGetPrcpNo(gridCtrl);
- //iGrupsnglflag == "J" or "M"
- var iHsctlnkno = ds_main_prcplist.getColumn(ds_main_prcplist.rowposition,"hsctlnkno");
- var iInclprcpno = ds_main_prcplist.getColumn(ds_main_prcplist.rowposition,"inclprcpno");
- if( iHsctlnkno != "0" ){
- sysf_messageBox ( "BMT지시 처방은 그룹처방이므로 일부만 수정", "E001" );
- return;
- }else if( iInclprcpno != "0" ){
- sysf_messageBox ( "Mset 처방은 그룹처방이므로 일부만 수정", "E001" );
- return;
- }
-
- var rStatus = ds_main_prcplist.getColumn(ds_main_prcplist.rowposition,"status");
- var prcpclscd = ds_main_prcplist.getColumn(ds_main_prcplist.rowposition,"prcpclscd");
- var iPrtlprcpno = ds_main_prcplist.getColumn(ds_main_prcplist.rowposition,"prtlprcpno");
- // var org = instance1.selectSingleNode( "/root/main/prcp/prcplist[" + grd_prcplist.row + "]" ); //선택한 처방 데이터(비교를 위함)
- var org_prcp = dsf_getDsCSV(ds_main_prcplist, ds_main_prcplist.rowposition);
- if( utlf_isNull(org_prcp) ){
- return;
- }
- // var org_prcp = org;
- //처방 더블클릭 이벤트와 동일 (단, 매핑된 컬럼 순서가 다름)
- if( gridCtrl.currentrow > -1 ){
- if ( gridCtrl.currentcol == gridCtrl.getBindCellIndex("body","drugmthdspccdnm") ) { //복용방법 선택
- if ( prcpclscd == "A2" || prcpclscd == "A4" || prcpclscd == "A6") {
- // fPrcpModal("SPMMO01900", 500, 200);
- frmf_modal("SPMMO01900", "SPMMO01900", null, null, null, 500, 200, null, null, null, null, null, "M");
- } else if ( prcpclscd == "B2" || prcpclscd == "B4" || prcpclscd == "B6" ) {
- fGetSpc(gridCtrl.currentrow);
- }
- } else if ( gridCtrl.currentcol == gridCtrl.getBindCellIndex("body","prcpdelivefact") ) { //전달 선택
- fPrcpdelivefact( "M" );
- } else {
- //전달 처방일 경우, 띄워주는 popup 없음.
- if( fPrcpDetl_CP(gridCtrl) == false && prcpclscd.substr(0, 1) == "0" ){
- //gridCtrl.editCell();
- return;
- }
- }
- }
- var grdNodeNm = fGetGridNodeName( ctrlID );
-
- //그리드의 status는 변경 여부에 따라 U로 셋팅한다.
- // var trg_prcp = instance1.selectSingleNode( "/root/main/prcp/prcplist[" + grd_prcplist.row + "]" ).xml;
- var trg_prcp = dsf_getDsCSV(ds_main_prcplist, ds_main_prcplist.rowposition);
- if( rStatus == "-" && org_prcp != trg_prcp){
- ds_temp.setColumn(0,"mstatus", "U");
- objects["ds_main_"+grdNodeNm].setColumn(gridCtrl.currentrow,"status", "U");
- ds_main_prcplist.setColumn(ds_main_prcplist.rowposition,"status", "U");
- //alert(model.getValue("/root/main/" + grdNodeNm + "/list[" + gridCtrl.row + "]/status"));
- }else{
- ds_temp.setColumn(0,"mstatus", rStatus);
- }
-
- if( fSetGroupPrcp(mode, gridCtrl, grdNodeNm) == false ){ //그룹코드일 경우, 모코드를 포함한 자코드 모두 삭제처리
- return;
- }
- //계획표상의 status 수정
- // model.setValue( "/root/main/" + grdNodeNm + "/list[" + gridCtrl.row + "]/prcpnm", model.getValue("/root/main/prcp/prcplist[" + grd_prcplist.row + "]/prcpnm"));
- objects["ds_main_"+grdNodeNm].setColumn(gridCtrl.currentrow,"prcpnm",ds_main_prcplist.getColumn(ds_main_prcplist.rowposition,"prcpnm"));
- if(!utlf_isNull(objects["ds_main_"+grdNodeNm].getColumn(gridCtrl.currentrow,"prcpvol"))){
- objects["ds_main_"+grdNodeNm].setColumn(gridCtrl.currentrow,"prcpvol",ds_main_prcplist.getColumn(ds_main_prcplist.rowposition,"prcpvol"))
- }
- if(!utlf_isNull(objects["ds_main_"+grdNodeNm].getColumn(gridCtrl.currentrow,"drprcpetc7"))){
- objects["ds_main_"+grdNodeNm].setColumn(gridCtrl.currentrow,"drprcpetc7",ds_main_prcplist.getColumn(ds_main_prcplist.rowposition,"drprcpetc7"))
- }
-
- if(!utlf_isNull(objects["ds_main_"+grdNodeNm].getColumn(gridCtrl.currentrow,"volunit"))){
- objects["ds_main_"+grdNodeNm].setColumn(gridCtrl.currentrow,"volunit",ds_main_prcplist.getColumn(ds_main_prcplist.rowposition,"volunit"))
- }
- if(!utlf_isNull(objects["ds_main_"+grdNodeNm].getColumn(gridCtrl.currentrow,"prcpqty"))){
- objects["ds_main_"+grdNodeNm].setColumn(gridCtrl.currentrow,"prcpqty",ds_main_prcplist.getColumn(ds_main_prcplist.rowposition,"prcpqty"))
- }
- if(!utlf_isNull(objects["ds_main_"+grdNodeNm].getColumn(gridCtrl.currentrow,"drprcpetc8"))){
- objects["ds_main_"+grdNodeNm].setColumn(gridCtrl.currentrow,"drprcpetc8",ds_main_prcplist.getColumn(ds_main_prcplist.rowposition,"drprcpetc8"))
- }
- if(!utlf_isNull(objects["ds_main_"+grdNodeNm].getColumn(gridCtrl.currentrow,"qtyunit"))){
- objects["ds_main_"+grdNodeNm].setColumn(gridCtrl.currentrow,"qtyunit",ds_main_prcplist.getColumn(ds_main_prcplist.rowposition,"qtyunit"))
- }
- if(!utlf_isNull(objects["ds_main_"+grdNodeNm].getColumn(gridCtrl.currentrow,"prcptims"))){
- objects["ds_main_"+grdNodeNm].setColumn(gridCtrl.currentrow,"prcptims",ds_main_prcplist.getColumn(ds_main_prcplist.rowposition,"prcptims"))
- }
- if(!utlf_isNull(objects["ds_main_"+grdNodeNm].getColumn(gridCtrl.currentrow,"prcpdayno"))){
- objects["ds_main_"+grdNodeNm].setColumn(gridCtrl.currentrow,"prcpdayno",ds_main_prcplist.getColumn(ds_main_prcplist.rowposition,"prcpdayno"))
- }
- if(!utlf_isNull(objects["ds_main_"+grdNodeNm].getColumn(gridCtrl.currentrow,"prcpmixno"))){
- objects["ds_main_"+grdNodeNm].setColumn(gridCtrl.currentrow,"prcpmixno",ds_main_prcplist.getColumn(ds_main_prcplist.rowposition,"prcpmixno"))
- }
- if(!utlf_isNull(objects["ds_main_"+grdNodeNm].getColumn(gridCtrl.currentrow,"drugmthdspccdnm"))){
- objects["ds_main_"+grdNodeNm].setColumn(gridCtrl.currentrow,"drugmthdspccdnm",ds_main_prcplist.getColumn(ds_main_prcplist.rowposition,"drugmthdspccdnm"))
- }
- if(!utlf_isNull(objects["ds_main_"+grdNodeNm].getColumn(gridCtrl.currentrow,"rsrvdd"))){
- objects["ds_main_"+grdNodeNm].setColumn(gridCtrl.currentrow,"rsrvdd",ds_main_prcplist.getColumn(ds_main_prcplist.rowposition,"rsrvdd"))
- }
- if(!utlf_isNull(objects["ds_main_"+grdNodeNm].getColumn(gridCtrl.currentrow,"drugmthdspccdnm"))){
- objects["ds_main_"+grdNodeNm].setColumn(gridCtrl.currentrow,"drugmthdspccdnm",ds_main_prcplist.getColumn(ds_main_prcplist.rowposition,"drugmthdspccdnm"))
- }
- if(!utlf_isNull(objects["ds_main_"+grdNodeNm].getColumn(gridCtrl.currentrow,"prcpdelivefact"))){
- objects["ds_main_"+grdNodeNm].setColumn(gridCtrl.currentrow,"prcpdelivefact",ds_main_prcplist.getColumn(ds_main_prcplist.rowposition,"prcpdelivefact"))
- }
- if(!utlf_isNull(objects["ds_main_"+grdNodeNm].getColumn(gridCtrl.currentrow,"testrsltcnts"))){
- objects["ds_main_"+grdNodeNm].setColumn(gridCtrl.currentrow,"testrsltcnts",ds_main_prcplist.getColumn(ds_main_prcplist.rowposition,"testrsltcnts"))
- }
- if(!utlf_isNull(objects["ds_main_"+grdNodeNm].getColumn(gridCtrl.currentrow,"testrsltunit"))){
- objects["ds_main_"+grdNodeNm].setColumn(gridCtrl.currentrow,"testrsltunit",ds_main_prcplist.getColumn(ds_main_prcplist.rowposition,"testrsltunit"))
- }
- //JJE (2008.10.09) (s)
- // model.removeNodeset("/root/main/prcpsrch/prcplist[prtlprcpno='" + iPrtlprcpno + "']");
- fDelNode( ds_main_prcpsrch_prcplist, "prtlprcpno", iPrtlprcpno );
- // copyNodeListType( "/root/main/prcpsrch", "/root/main/prcp/prcplist[" + grd_prcplist.row + "]", "after", model, model);
- ds_main_prcpsrch_prcplist.copyRow(ds_main_prcpsrch_prcplist.addRow(), ds_main_prcplist, ds_main_prcplist.rowposition);
-
- var srchRowNum = ds_main_prcpsrch_prcplist.rowcount - 1;
-
- ds_main_prcpsrch_prcplist.setColumn(srchRowNum,"status", "I");
- //(e)
- // gridCtrl.refresh();
- fReSetRowStatus(gridCtrl);
- }
- }else{
- //조회만 할 경우, (수행하는 case가 없음!)
- if( !utlf_isNull(selectedDay) ){
- ds_send_reqdata.copyData(ds_main_steplist_stepinfo);
- dsf_makeValue(ds_send_reqdata,"dayno","string",selectedDay);
-
- if(openerNM == "GPS"){
- dsf_makeValue(ds_send_reqdata,"setcond","string",setArray);
- }
-
- dsf_makeValue(ds_send,"cpgappno","string",ds_main_steplist_stepinfo.getColumn(0,"cpgappno"));
- dsf_makeValue(ds_send,"case" ,"string","day");
- // submit("TRMMP02202", false);
- dsf_setDefaultVal(ds_send, "srchcondflag:G");
- var oParam = {};
- oParam.id = "TRMMP02202";
- oParam.service = "prcpbaseapp.CpMngt";
- oParam.method = "reqGetPrcpSetList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_prcplist=prcplist ds_main_prcp_essprcplist=essprcplist";
- oParam.async = false;
- oParam.callback = "cf_TRMMP02202";
- tranf_submit(oParam);
- return;
- }else{
- return;
- }
- }
- }
- function cf_TRMMP02202(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- dsf_setDefaultVal(ds_main_prcplist, "prcpvol:0,prcpqty:0,prcptims:0,prcpdayno:0,hosinhosoutflag:-,drugspd:0,mealcalrcnts:0,mealprotcnts:0,hosinprcpresncd:00,prcprefseq:0,ordreqlnkno:0,testreqlnkno:0,prcplnkno:0,prtlno:0,inclprcpno:0,hsctdelivepos:0,hsctlnkno:0,etcprcpflag:-,aftcertflag:-,aftcertdrid:-,prcpvalidd:00000000,specdrid:-,anticncrprtlno:0,anticncrdayno:0,druglnkno:0,rehbprcpcurefreqflag:0,dietprcpgenrflag:-,irpayflag:N,irflag:N,procerdietflag:N,diagtestconttestintvlflag:N,drugindependpackflag:N,diagtestconttestbasetm:0,diagtestconttestorgtims:0,ermediscmngtresncd:-,rehbprcpenddd:-,matrallsizespecid:-,rehbprcpcurepartcd:-,lowdrugresncd:N,tfdtlcd:-,dnorreqlnkno:0,subcretno:0,exptmthdfact:-,lowdrugresnetcfact:-,diagtestconttestcdspec:-,drgacptflag:-,anstcnfmneedyn:'',essnprcpyn:N");
- dsf_setDefaultVal(ds_main_prcp_essprcplist, "prcpvol:0,prcpqty:0,prcptims:0,prcpdayno:0,hosinhosoutflag:-,drugspd:0,mealcalrcnts:0,mealprotcnts:0,hosinprcpresncd:00,prcprefseq:0,ordreqlnkno:0,testreqlnkno:0,prcplnkno:0,prtlno:0,inclprcpno:0,hsctdelivepos:0,hsctlnkno:0,etcprcpflag:-,aftcertflag:-,aftcertdrid:-,prcpvalidd:00000000,specdrid:-,anticncrprtlno:0,anticncrdayno:0,druglnkno:0,rehbprcpcurefreqflag:0,dietprcpgenrflag:-,irpayflag:N,irflag:N,procerdietflag:N,diagtestconttestintvlflag:N,drugindependpackflag:N,diagtestconttestbasetm:0,diagtestconttestorgtims:0,ermediscmngtresncd:-,rehbprcpenddd:-,matrallsizespecid:-,rehbprcpcurepartcd:-,lowdrugresncd:N,tfdtlcd:-,dnorreqlnkno:0,subcretno:0,exptmthdfact:-,lowdrugresnetcfact:-,diagtestconttestcdspec:-,drgacptflag:-,anstcnfmneedyn:'',essnprcpyn:N");
- }
- /****************************************************************************************
- * Function : fReSetRowStatus
- * Description : status 컬럼값에 따라 해당행의 rowtype을 설정한다.
- * Argument : gridCtrl - 그리드ID
- * return type :
- * Creator :
- ****************************************************************************************/
- function fReSetRowStatus(gridCtrl){
- // var ctrlID = gridCtrl.name;
- // var grdNodeNm = fGetGridNodeName(ctrlID);
- // 데이셋들이 updatecontrol이 true로 되어있는 것을 잠깐 해제
- objects[gridCtrl.binddataset].updatecontrol = false;
-
- for( var i = 0; i < gridCtrl.rowcount; i++ ){
- if( objects[gridCtrl.binddataset].getColumn(i,"status") == "I" ){
- // gridCtrl.rowstatus(i) = 1;
- objects[gridCtrl.binddataset].setRowType(i,2);
- }else if( objects[gridCtrl.binddataset].getColumn(i,"status") == "U" ){
- // gridCtrl.rowstatus(i) = 2;
- objects[gridCtrl.binddataset].setRowType(i,4);
- }else if( objects[gridCtrl.binddataset].getColumn(i,"status") == "D" ){
- // gridCtrl.rowstatus(i) = 4;
- objects[gridCtrl.binddataset].setRowType(i,8);
- }else if( objects[gridCtrl.binddataset].getColumn(i,"status") == "-" ){
- // gridCtrl.rowstatus(i) = 0;
- objects[gridCtrl.binddataset].setRowType(i,1);
- }
- }
-
- // 데이셋들이 updatecontrol이 true로 되어있는 것을 잠깐 해제
- objects[gridCtrl.binddataset].updatecontrol = true;
- }
- /****************************************************************************************
- * Function : fGetGridNodeName
- * Description : 그리드명에 따라 바인드된 데이터셋 명을 리턴(굳이 필요할지..)
- * Argument : grdName - 그리드명
- * return type :
- * Creator :
- ****************************************************************************************/
- function fGetGridNodeName(grdName){
- //alert("grdName = " + grdName);
- var grdNo = grdName.substr(grdName.length-1, 1);
- var grdNodeNm = "";
-
- if( grdName.substr(0, grdName.length-1) == "grd_drug" ){
- grdNodeNm = "druglist";
- }else if( grdName.substr(0, grdName.length-1) == "grd_test" ){
- grdNodeNm = "testlist";
- }else if( grdName.substr(0, grdName.length-1) == "grd_caredelive" ){
- grdNodeNm = "caredelivelist";
- }else if( grdName.substr(0, grdName.length-1) == "grd_etc" ){
- grdNodeNm = "etclist";
- }
-
- return grdNodeNm + grdNo;
- }
- /****************************************************************************************
- * Function : fGetPrcpNo
- * Description : prcppkspec 에서 prtlprcpno 를 return 한다
- * Argument : gridCtrl - 그리드ID
- * : sRow - 대상 Row
- * return type :
- * Creator :
- ****************************************************************************************/
- function fGetPrcpNo(gridCtrl, sRow){
- var objType = sysf_getObjType(gridCtrl);
- var nodeSet;
- var dsFlag = false;
- if(objType == "Dataset") { // 데이터셋을 받아와서도 사용할수 있게 수정
- dsFlag = true;
- nodeSet = gridCtrl;
- } else {
- nodeSet = objects[gridCtrl.binddataset];
- }
-
- if( utlf_isNull(sRow) ){
- sRow = nodeSet.rowposition;
- }
- var selPrcpNo = nodeSet.getColumn(sRow,"prtlprcpno");
- var iRow = objects[grp_prcplist.grd_prcplist.binddataset].findRow("prtlprcpno", selPrcpNo); //objects[grp_prcplist.grd_prcplist.binddataset].findRow(25, selPrcpNo); //findRow(selPrcpNo, 0, 25, false, true);
- var gridCtrlID = gridCtrl.name;
- var gridCtrlNM = gridCtrlID.substr(1, gridCtrlID.length-1);
- if( dsFlag != true ) {
- if ( gridCtrl.currentcol == gridCtrl.getBindCellIndex("body","drugmthdspccdnm") ) { //복용방법 선택
- // grp_prcplist.grd_prcplist.select(iRow, 12) = true;
- grp_prcplist.grd_prcplist.setFocus();
- grp_prcplist.grd_prcplist.setCellPos(iRow);
- } else if ( gridCtrlNM == "grd_caredelive" || gridCtrl.currentcol == gridCtrl.getBindCellIndex("body","prcpdelivefact") ) { //전달 선택
- // grd_prcplist.select(iRow, 15) = true;
- grp_prcplist.grd_prcplist.setFocus();
- grp_prcplist.grd_prcplist.setCellPos(iRow);
- } else {
- // grd_prcplist.select(iRow, 1) = true;
- grp_prcplist.grd_prcplist.setFocus();
- ds_main_prcplist.rowposition = iRow; //grp_prcplist.grd_prcplist.setCellPos(iRow+1);
- }
- }
-
- var selectedRow = grdf_getSelectedRows(grp_prcplist.grd_prcplist);
- objects[grp_prcplist.grd_prcplist.binddataset].rowposition = selectedRow[0];
- }
- /****************************************************************************************
- * Function : fSetValue
- * Description : Dataset에서 조건에 맞는 Row 값 변경
- * Argument : objDs - DatasetID
- * : colNm - 비교대상 column명
- * : value - 비교할 값
- * : setColNm - 수정할 column명
- * : SetValue - 수정할 값
- * return type :
- * Creator :
- ****************************************************************************************/
- function fSetValue( objDs, colNm, value, setColNm, SetValue ){
- for( var i = 0; i < objDs.rowcount; i++ ){
- if(objDs.getColumn(i,colNm) == value) {
- objDs.setColumn(i,setColNm,SetValue);
- }
- }
- }
- /****************************************************************************************
- * Function : fDelNode
- * Description : Dataset에서 조건에 맞는 Row를 삭제한다.
- * Argument : objDs - DatasetID
- * : colNm - 비교대상 column명
- * : value - 비교할 값
- * return type :
- * Creator :
- ****************************************************************************************/
- function fDelNode( objDs, colNm, value ){
- for( var i = objDs.rowcount-1; i >= 0; i-- ){
- if(objDs.getColumn(i,colNm) == value) {
- objDs.deleteRow(i);
- }
- }
- }
- /****************************************************************************************
- * Function : fSetGroupPrcp
- * Description : Dataset에서 조건에 맞는 Row를 삭제한다.
- * Argument : mode - 추가/삭제등모드
- * : gridCtrl - 그리드ID
- * : grdNodeNm - 노드명(ds_main 붙기전에 이름)
- * return type :
- * Creator :
- ****************************************************************************************/
- function fSetGroupPrcp(mode, gridCtrl, grdNodeNm){
- var nodeSet = this.objects[gridCtrl.binddataset]; //gridCtrl.binddataset;
- var prcpNodeSet = this.objects[grp_prcplist.grd_prcplist.binddataset]; //grp_prcplist.grd_prcplist.binddataset; // /root/main/prcp/prcplist
- var selPrcpNo = nodeSet.getColumn(nodeSet.rowposition,"prcpno");
- var iRow = prcpNodeSet.findRow(25,selPrcpNo); //grd_prcplist.findRow(selPrcpNo, 0, 25, false, true);
- var ctrlNo = grdNodeNm.substr(grdNodeNm.length-1, grdNodeNm.length); //1,2,3,4
-
- var selPrcpdd = prcpNodeSet.getColumn(iRow,"prcpdd" );
- var selPrcpkindcd = prcpNodeSet.getColumn(iRow,"prcpkindcd" );
- var selIncpltnresn = prcpNodeSet.getColumn(iRow,"incpltnresn" );
- var selPrtlprcpno = prcpNodeSet.getColumn(iRow,"prtlprcpno" );
-
- var selGroupFlag = prcpNodeSet.getColumn(iRow,"grupsnglflag" ); //그룹코드(M,J,S)
- var selInclprcpno = prcpNodeSet.getColumn(iRow,"inclprcpno" ); //Mset처방 연계번호
- var selHsctlnkno = prcpNodeSet.getColumn(iRow,"hsctlnkno" ); //BMT지시처방 연계번호
- //alert( "selGroupFlag = " + selGroupFlag + " selInclprcpno = " + selInclprcpno + " selHsctlnkno = " + selHsctlnkno );
-
- if( eval(selInclprcpno) > 0 || eval(selHsctlnkno) > 0 ){
- var nodeList = null;
- dsf_createDs("ds_temp_prcpNodeSet");
- if( selGroupFlag == "M" || (selGroupFlag == "S" && eval(selInclprcpno) > 0) ){
- //Mset모코드 삭제 시
- // nodeList = instance1.selectNodes( prcpNodeSet + "[inclprcpno = '" + selInclprcpno + "']" );
- prcpNodeSet.filter("inclprcpno == '" + selInclprcpno + "'");
- ds_temp_prcpNodeSet.copyData(prcpNodeSet,true);
- nodeList = ds_temp_prcpNodeSet;
- }else if( selGroupFlag == "J" || (selGroupFlag == "S" && eval(selHsctlnkno) > 0) ){
- //BMT지시처방 모코드 삭제시
- // nodeList = instance1.selectNodes( prcpNodeSet + "[hsctlnkno = '" + selHsctlnkno + "']" );
- prcpNodeSet.filter("hsctlnkno == '" + selHsctlnkno + "'");
- ds_temp_prcpNodeSet.copyData(prcpNodeSet,true);
- nodeList = ds_temp_prcpNodeSet;
- }
-
- if(nodeList.rowcount == 0){
- return true;
- }
-
- if(mode == "SET"){
- if(sysf_messageBox ( "그룹처방은 수정할 수 없습니다.", "Q001" ) == "7"){
- return false;
- }
- }
-
- for(var i = 0; i < nodeList.rowcount; i++){
- // var node = nodeList.item(i);
- var statusNode = nodeList.getColumn(i,"status");
- var prtlprcpnoNode = nodeList.getColumn(i,"prtlprcpno");
- var prcpnoNode = nodeList.getColumn(i,"prcpno");
- var prtlprcpnoTxt = prtlprcpnoNode;
- var sFindRow;
-
- //처방인스턴스(prcplist) status 변경
- //model.setValue( "/root/main/prcp/prcplist[" + grd_prcplist.row + "]/status", "D" );
- // model.setValue( statusNode, "D" );
- statusNode = "D";
- nodeList.setColumn(i,"status","D");
-
- //실제 환자계획표의 해당 처방 status 변경
- // sNode = instance1.selectSingleNode( "/root/main/druglist" + ctrlNo + "/list[prcpno = '" + prtlprcpnoTxt + "']/status" );
- sFindRow = objects["ds_main_druglist"+ctrlNo].findRow("prcpno",prtlprcpnoTxt);
- if( sFindRow >= 0 ){
- objects["ds_main_druglist"+ctrlNo].setColumn(sFindRow,"status","D");
- }
- // sNode = instance1.selectSingleNode( "/root/main/testlist" + ctrlNo + "/list[prcpno = '" + prtlprcpnoTxt + "']/status" );
- sFindRow = objects["ds_main_testlist"+ctrlNo].findRow("prcpno",prtlprcpnoTxt);
- if( sFindRow >= 0 ){
- objects["ds_main_testlist"+ctrlNo].setColumn(sFindRow,"status","D");
- }
- // sNode = instance1.selectSingleNode( "/root/main/caredelivelist" + ctrlNo + "/list[prcpno = '" + prtlprcpnoTxt + "']/status" );
- sFindRow = objects["ds_main_caredelivelist"+ctrlNo].findRow("prcpno",prtlprcpnoTxt);
- if( sFindRow >= 0 ){
- objects["ds_main_caredelivelist"+ctrlNo].setColumn(sFindRow,"status","D");
- }
- // sNode = instance1.selectSingleNode( "/root/main/etclist" + ctrlNo + "/list[prcpno = '" + prtlprcpnoTxt + "']/status" );
- sFindRow = objects["ds_main_etclist"+ctrlNo].findRow("prcpno",prtlprcpnoTxt);
- if( sFindRow >= 0 ){
- objects["ds_main_etclist"+ctrlNo].setColumn(sFindRow,"status","D");
- }
- }
-
- //해당 일자 환자계획표 처방 그리드 refresh
- var gridCtrl1 = "grd_drug" + ctrlNo;
- var gridCtrl11 = this.components[gridCtrl1];
- var gridCtrl2 = "grd_test" + ctrlNo;
- var gridCtrl22 = this.components[gridCtrl2];
- var gridCtrl3 = "grd_caredelive" + ctrlNo;
- var gridCtrl33 = this.components[gridCtrl3];
- var gridCtrl4 = "grd_etc" + ctrlNo;
- var gridCtrl44 = this.components[gridCtrl4];
- fReSetRowStatus(gridCtrl11);
- fReSetRowStatus(gridCtrl22);
- fReSetRowStatus(gridCtrl33);
- fReSetRowStatus(gridCtrl44);
-
- dsf_deleteDs("ds_temp_prcpNodeSet");
- }else{
- return true;
- }
- }
- /****************************************************************************************
- * Function : cf_TRMQP01403
- * Description : TRMQP01403 콜백함수
- * Argument :
- * return type :
- * Creator :
- ****************************************************************************************/
- function cf_TRMQP01403(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- dsf_setDefaultVal(ds_main_down_prcplist, "prcpvol:0,prcpqty:0,prcptims:0,prcpdayno:0,hosinhosoutflag:-,drugspd:0,mealcalrcnts:0,mealprotcnts:0,hosinprcpresncd:00,prcprefseq:0,ordreqlnkno:0,testreqlnkno:0,prcplnkno:0,prtlno:0,inclprcpno:0,hsctdelivepos:0,hsctlnkno:0,etcprcpflag:-,aftcertflag:-,aftcertdrid:-,prcpvalidd:00000000,specdrid:-,anticncrprtlno:0,anticncrdayno:0,druglnkno:0,rehbprcpcurefreqflag:0,dietprcpgenrflag:-,irpayflag:N,irflag:N,procerdietflag:N,diagtestconttestintvlflag:N,drugindependpackflag:N,diagtestconttestbasetm:0,diagtestconttestorgtims:0,ermediscmngtresncd:-,rehbprcpenddd:-,matrallsizespecid:-,rehbprcpcurepartcd:-,lowdrugresncd:N,tfdtlcd:-,dnorreqlnkno:0,subcretno:0,exptmthdfact:-,lowdrugresnetcfact:-,diagtestconttestcdspec:-,drgacptflag:-,anstcnfmneedyn:'',essnprcpyn:N,limno:0,limhistno:0,limcdno:0,inqrno:0,qestno:0");
- }
- /****************************************************************************************
- * Function : fSelectOneDay
- * Description : 선택한 그리드의 widrh는 확장하고, 나머지 그리드의 width는 축소한다.
- * Argument :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fSelectOneDay(num, mode){
- var fcsCaptionCtrl = null;
- var grdCnt = 4;
- var iZoominWidth; // 확대인 경우 확대 너비
- var iZoomoutWidth;// 한개 셀이 확대되면 나머지 셀은 축소 됨, 나머지 셀의 너비
- if(grdCnt == 2) {
- iZoominWidth = 800;
- iZoomoutWidth = iDayWidth - ((iZoominWidth - iDayWidth));
- }
- else {
- if(iTotalWidth > 1500){
- iZoominWidth = 800;
- }
- else {
- iZoominWidth = 450;
- }
-
- iZoomoutWidth = iDayWidth - ((iZoominWidth - iDayWidth)/3);
- }
-
- if(ds_temp.getColumn(0,"grdmode") == "2") var grdCnt = 2;
-
- if(grdCnt == 4){
- var dcol1 = 0;
- var dcol2 = 0;
- var dcol3 = 0;
- var tcol1 = 0;
- var tcol2 = 0;
- //var tcol3 = 0;
- var tcol4 = 0;
- var tcol5 = 0;
- var ncol1 = 85;
- var fcol1 = 103;
- var ecol1 = 129;
- }else if(grdCnt == 2){
- if( group1.position.left == 825 ) {
- var x = 14;
- }else{
- var x = 0;
- }
- var dcol1 = 40-x; //처방코드
- var dcol2 = 350-x; //처방명
- var dcol3 = 110-x; //용법
- var tcol1 = 40-x; //처방코드
- var tcol2 = 275-x; //처방명
- //var tcol3 = x-80; //예약일
- var tcol4 = 60-x; //검체
- var tcol5 = 70-x; //전달
- var ncol1 = 85; //처방명
- var fcol1 = 103; //처방명
- var ecol1 = 129; //처방명
- }
-
- for(var i = 1; i <= grdCnt; i++){
- //////////////////////////////////////////////////////////////////////////////////////////////////////////
- // 그리드 왼쪽 시작점 설정
- //////////////////////////////////////////////////////////////////////////////////////////////////////////
-
- var xPos = 0;
- //확대 영역이 있는 경우
- if(mode == "ex"){
- //그리드 너비 설정
- if(i == num ){
- wdth = iZoominWidth;
- }
- else{
- wdth = iZoomoutWidth;
- }
-
- //확대 구역을 제외하고 계산
- if(i <= num){
- xPos = iTotalLeft + iZoomoutWidth * (i - 1) + iGap * (i -1);
- }
- //확대 구역을 포함하여 계산
- else {
- xPos = iTotalLeft + iZoominWidth + iZoomoutWidth * (i-2) + iGap * (i -1);
- }
- }
- // 확대 영역이 없는 경우
- else {
- //그리드 너비 설정
- wdth = iDayWidth;
- xPos = iTotalLeft + iDayWidth * (i - 1) + iGap * (i -1);
- }
-
-
- //첫번째 그리드는 시작점 고정이므로 2번째 그리드 부터 왼쪽 시작점 계산
- if( i > 1 ){
- fcsCaptionCtrl = this.components["cap_day" + i];
- fcsCaptionCtrl.position.left = xPos;
- fcsCaptionCtrl = this.components["grd_drug" + i];
- fcsCaptionCtrl.position.left = xPos;
- fcsCaptionCtrl = this.components["grd_test" + i];
- fcsCaptionCtrl.position.left = xPos;
- fcsCaptionCtrl = this.components["grd_caredelive" + i];
- fcsCaptionCtrl.position.left = xPos;
- fcsCaptionCtrl = this.components["grd_etc" + i];
- fcsCaptionCtrl.position.left = xPos;
- fcsCaptionCtrl = this.components["grd_form" + i];
- fcsCaptionCtrl.position.left = xPos;
- fcsCaptionCtrl = this.components["grd_hichart" + i];
- fcsCaptionCtrl.position.left = xPos;
- xPos = xPos + wdth + 2;
- }
- //////////////////////////////////////////////////////////////////////////////////////////////////////////
-
-
- //////////////////////////////////////////////////////////////////////////////////////////////////////////
- // 그리드 너비 설정
- //////////////////////////////////////////////////////////////////////////////////////////////////////////
- //확대인경우
- if(i == num && mode == "ex"){
- fcsCaptionCtrl = this.components["cap_day" + i];
- fcsCaptionCtrl.position.width = wdth - 1;
-
- fcsCaptionCtrl = this.components["grd_drug" + i];
- fcsCaptionCtrl.position.width = wdth;
-
- fcsCaptionCtrl.setFormatColProperty(5 ,"size",fcsCaptionCtrl.getFormatColSize(5) + dcol1);
- fcsCaptionCtrl.setFormatColProperty(6 ,"size",fcsCaptionCtrl.getFormatColSize(6) + dcol2);
- fcsCaptionCtrl.setFormatColProperty(14,"size",fcsCaptionCtrl.getFormatColSize(14) + dcol3);
-
- fcsCaptionCtrl.setFormatColProperty(5, "band", "left");
-
- fcsCaptionCtrl = this.components["grd_test" + i];
- fcsCaptionCtrl.position.width = wdth;
- fcsCaptionCtrl.setFormatColProperty(5 ,"size",fcsCaptionCtrl.getFormatColSize(5) + tcol1);
- fcsCaptionCtrl.setFormatColProperty(6 ,"size",fcsCaptionCtrl.getFormatColSize(6) + tcol2);
- fcsCaptionCtrl.setFormatColProperty(8 ,"size",fcsCaptionCtrl.getFormatColSize(8) + tcol4);
- fcsCaptionCtrl.setFormatColProperty(9 ,"size",fcsCaptionCtrl.getFormatColSize(9) + tcol5);
-
- fcsCaptionCtrl.setFormatColProperty(5, "band", "left");
- fcsCaptionCtrl.setFormatColProperty(6, "band", "left");
-
- fcsCaptionCtrl = this.components["grd_caredelive" + i];
- fcsCaptionCtrl.position.width = wdth;
- fcsCaptionCtrl.setFormatColProperty(3 ,"size",wdth - ncol1);
-
- fcsCaptionCtrl = this.components["grd_form" + i];
- fcsCaptionCtrl.position.width = wdth;
- fcsCaptionCtrl.setFormatColProperty(2 ,"size",wdth - fcol1);
-
- fcsCaptionCtrl = this.components["grd_etc" + i];
- fcsCaptionCtrl.position.width = wdth;
- fcsCaptionCtrl.setFormatColProperty(4 ,"size",wdth - ecol1);
-
-
- //20180131 이돈희 : 하이차트 추가
- fcsCaptionCtrl = this.components["grd_hichart" + i];
- fcsCaptionCtrl.position.width = wdth;
- fcsCaptionCtrl.setFormatColProperty(1 ,"size",wdth - 40);
-
- //축소인경우
- }else{
- fcsCaptionCtrl = this.components["cap_day" + i];
- fcsCaptionCtrl.position.width = wdth - 1;
- fcsCaptionCtrl = this.components["grd_drug" + i];
- fcsCaptionCtrl.position.width = wdth;
- fcsCaptionCtrl.setFormatColProperty(5, "band", "body");
- if(i == num){
- fcsCaptionCtrl.setFormatColProperty(5 ,"size",fcsCaptionCtrl.getFormatColSize(5) - dcol1);
- fcsCaptionCtrl.setFormatColProperty(6 ,"size",fcsCaptionCtrl.getFormatColSize(6) - dcol2);
- fcsCaptionCtrl.setFormatColProperty(14 ,"size",fcsCaptionCtrl.getFormatColSize(14) - dcol3);
- }
-
- fcsCaptionCtrl = this.components["grd_test" + i];
- fcsCaptionCtrl.position.width = wdth;
- fcsCaptionCtrl.setFormatColProperty(6, "band", "body");
- fcsCaptionCtrl.setFormatColProperty(5, "band", "body");
- if(i == num){
- fcsCaptionCtrl.setFormatColProperty(5 ,"size",fcsCaptionCtrl.getFormatColSize(5) - tcol1);
- fcsCaptionCtrl.setFormatColProperty(6 ,"size",fcsCaptionCtrl.getFormatColSize(6) - tcol2);
- fcsCaptionCtrl.setFormatColProperty(8 ,"size",fcsCaptionCtrl.getFormatColSize(8) - tcol4);
- fcsCaptionCtrl.setFormatColProperty(9 ,"size",fcsCaptionCtrl.getFormatColSize(9) - tcol5);
- }
-
- fcsCaptionCtrl = this.components["grd_caredelive" + i];
- fcsCaptionCtrl.position.width = wdth;
- fcsCaptionCtrl.setFormatColProperty(3 ,"size",wdth - ncol1);
-
- fcsCaptionCtrl = this.components["grd_form" + i];
- fcsCaptionCtrl.position.width = wdth;
- fcsCaptionCtrl.setFormatColProperty(2 ,"size",wdth - fcol1);
-
- fcsCaptionCtrl = this.components["grd_etc" + i];
- fcsCaptionCtrl.position.width = wdth;
- fcsCaptionCtrl.setFormatColProperty(4 ,"size",wdth - ecol1);
-
-
- //20180131 이돈희 : 하이차트 추가
- fcsCaptionCtrl = this.components["grd_hichart" + i];
- fcsCaptionCtrl.position.width = wdth;
- fcsCaptionCtrl.setFormatColProperty(1 ,"size",wdth - 40);
-
- }
- //////////////////////////////////////////////////////////////////////////////////////////////////////////
-
- }
- }
-
- /****************************************************************************************
- * Function : fChangeGridArea
- * Description : 그리드를 선택하면 해당 일자의 그리드에 테두리가 바뀐다.
- * Argument : dayno - 해당일자
- * return type :
- * Creator :
- ****************************************************************************************/
- function fChangeGridArea(dayno){
- if( utlf_isNull(dayno) ){
- //캡션이나 그리드를 제외한 여백을 선택한 경우
- return;
- } else{
- var ctrl = this.components["cap_day" + dayno];
- if( parseInt(dayno) > 0 ){
- var ctrl = this.components["grd_drug" + dayno];
- rct_border.position.left = ctrl.position.left - 2;
- rct_border.position.right = ctrl.position.right + 2;
- rct_border.position.top = cap_day1.position.bottom + 2;
- rct_border.position.bottom = this.parent.ivw_detail.position.height-1;
-
- rct_border.visible = true;
- selectedDay = dayno;
-
- return;
- }else{
- rct_border.visible = false;
- return;
- }
- }
- }
- /****************************************************************************************
- * Function : fSetPrePostOP
- * Description :
- * Argument :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fSetPrePostOP(ref, opCnt) {
- var opYN = "N";
- var opFlag = "";
- var opNo1 = "";
- var opNo2 = "";
- var postOp = "";
-
- if( selectedDayCaption == "cap_day1" || deselectedDayCaption == "cap_day1" ) {
- var sPos = cap_day1.text.indexOf( "(" );
- var curPrcpdd = cap_day1.text.substr(sPos+1, 10);
- }
-
- if( selectedDayCaption == "cap_day2" || deselectedDayCaption == "cap_day2" ) {
- var sPos = cap_day2.text.indexOf( "(" );
- var curPrcpdd = cap_day2.text.substr(sPos+1, 10);
- }
-
- if( selectedDayCaption == "cap_day3" || deselectedDayCaption == "cap_day3" ) {
- var sPos = cap_day3.text.indexOf( "(" );
- var curPrcpdd = cap_day3.text.substr(sPos+1, 10);
- }
-
- if( selectedDayCaption == "cap_day4" || deselectedDayCaption == "cap_day4" ) {
- var sPos = cap_day4.text.indexOf( "(" );
- var curPrcpdd = cap_day4.text.substr(sPos+1, 10);
- }
-
- //var sPos = cap_day.text.indexOf( "(" );
- //var curPrcpdd = cap_day.text.substr(sPos+1, 10);
- curPrcpdd = curPrcpdd.setReplaceWord("-", "");
- var stepnoTxt = "";
- var setnoTxt = "";
- var timeTxt = "";
- // var curDay = opener.instance1.selectNodes("/root/main/steppath/info[prcpdd = '"+ curPrcpdd +"']");
- dsf_createDs("ds_temp_steppath_info");
- oOpener.ds_main_steppath_info.filter("prcpdd == '"+ curPrcpdd +"'");
- ds_temp_steppath_info.copyData(oOpener.ds_main_steppath_info,true);
- var curDay = ds_temp_steppath_info;
- oOpener.ds_main_steppath_info.filter("");
- if( curDay.rowcount > 1 ) { //1day 에 step이 2개 이상일때만
- for(var i = 0; i < curDay.rowcount; i++) {
- // var node = curDay.item(i);
- var stepno = curDay.getColumn(i,"stepno");
- var curTime = curDay.getColumn(i,"times");
- var curSetno = curDay.getColumn(i,"setno");
-
- if( utlf_isNull(opFlag) ) {
- //opNo1 = instance1.selectNodes("/root/temp/getdatalist/list[stepno = '" + stepno.text + "' and prcpkindcd = '30' ]");
- //opNo2 = instance1.selectNodes("/root/temp/getdatalist/list[stepno = '" + stepno.text + "' and prcpkindcd = '40' ]");
- dsf_createDs("ds_temp_opNo1");
- dsf_createDs("ds_temp_opNo2");
- ref.filter("stepno == '" + stepno + "' && prcpkindcd == '30'");
- ds_temp_opNo1.copyData(ref,true);
- ref.filter("stepno == '" + stepno + "' && prcpkindcd == '40'");
- ds_temp_opNo2.copyData(ref,true);
- opNo1 = ds_temp_opNo1;
- opNo2 = ds_temp_opNo2;
- ref.filter("");
- } else {
- //postOp = instance1.selectNodes("/root/temp/getdatalist/list[stepno = '" + stepno.text + "' and " + opFlag + "]");
- //postOp = instance1.selectNodes(ref+ "[stepno = '" + stepno.text + "' and " + opFlag + "]");
- dsf_createDs("ds_temp_postOp");
- ref.filter("stepno == '" + stepno + "' && " + opFlag);
- ds_temp_postOp.copyData(ref,true);
- postOp = ds_temp_postOp;
- ref.filter("");
- }
-
- if( (opNo1.rowcount <= 0) && (opNo2.rowcount <= 0) ) {
- opYN = "N";
- } else {
- if( opNo1.rowcount > 0 ) opFlag = "prcpkindcd == '40' ";
- else if( opNo2.rowcount > 0 ) opFlag = "prcpkindcd == '30' ";
- else if( (opNo1.rowcount > 0) && (opNo2.rowcount > 0) ) opYN = "N"; //수술전,후가 같은 step에 있을때는 popup을 띄우지 않음
-
- if( postOp.rowcount > 0 ) opYN = "Y";
- }
-
- stepnoTxt += stepno + ",";
- timeTxt += curTime + ",";
- setnoTxt += curSetno + "," ;
- }
-
- if( opYN == "Y" ) {
- var mon = sysf_getCurrentMonitorNumber();
- // model.setValue("/root/send/reqdata/timescond", curTime);
- dsf_makeValue(ds_send_reqdata,"timescond" ,"string",curTime);
- dsf_makeValue(ds_send_reqdata,"stepscond" ,"string",stepnoTxt);
- dsf_makeValue(ds_send_reqdata,"getdatalist" ,"string",dsf_getDsCSV(ref)); //대기 MGR에서 어떻게 받는지 확인해야함
- var formList = dsf_getDsCSV(ds_temp_formlist_list); //getNodeListCSV(instance1.selectNodes("/root/temp/formlist/list"));
- dsf_makeValue(ds_send_reqdata,"formlist" ,"string",formList);
-
- // open("SPMMP03000", mon,"","","", "/root/send/reqdata", "/root/send/reqdata");
- var objArg = new Object();
- objArg.arg_ds_send_reqdata = ds_send_reqdata;
- frmf_open("SPMMP03000", "SPMMP03000", objArg, null, mon, null, null, null, null, null, null, null, "M");
- } else { //실처방, 프로토콜처방이 발행된 경우 stepno를 조회해오지 않으므로 setno를 조회 후 일일히 stepno를 set 해준다.
- if( opCnt == 0) { // 수술전후 step이 아니라서 opYN == "N" 로 빠질 경우 무한 루프에 빠지는 것을 방지
- dsf_makeValue(ds_send_reqdata,"setcond" ,"string",setnoTxt.substr(0, setnoTxt.length-1));
-
- var oParam = {};
- oParam.id = "TRMMP02204";
- oParam.service = "prcpbaseapp.CpMngt";
- oParam.method = "reqGetStepNoInfo";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_temp_getdatalist_list=list";
- oParam.async = false;
- oParam.callback = "cf_TRMMP02204";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TRMMP02204") > -1) { // setno 조회
- dsf_createDs("ds_temp_tmplist_list");
- ds_temp_getdatalist_list.filter("prcpdd == '"+ curPrcpdd +"'");
- ds_temp_tmplist_list.copyData(ds_temp_getdatalist_list,true);
-
- var tmpList = ds_temp_tmplist_list;
- var setList = ds_temp_setlist_list;
-
- ds_temp_tmplist_list.filter("prcpdd = '"+ curPrcpdd +"'");
- if( ds_temp_tmplist_list.rowcount > 0){ // 2008.08.27 발생이 안됐을경우 tmplist에 아무것도 copy가 안되서 추가
- for(var i = 0; i < setList.rowcount ; i++) {
- for(var j = 0; j < tmpList.rowcount ; j++ ) {
- if( setList.getColumn(i,"prcpcd") == tmpList.getColumn(j,"prcpcd") )
- tmpList.getColumn(j,"stepno") = setList.getColumn(i,"stepno");
- }
- }
- }
-
- fSetPrePostOP(ds_temp_tmplist_list,1);
- dsf_deleteDs("ds_temp_tmplist_list");
- ds_temp_getdatalist_list.filter("");
- }
- }
- }
- }
- }
- /****************************************************************************************
- * Function : cf_TRMMP02204
- * Description : TRMMP02204 콜백 함수
- * Argument :
- * return type :
- * Creator :
- ****************************************************************************************/
- function cf_TRMMP02204(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- dsf_setDefaultVal(ds_temp_getdatalist_list, "status:-,prcpvol:0,prcpqty:0,prcptims:0,prcpdayno:0,hosinhosoutflag:-,drugspd:0,mealcalrcnts:0,mealprotcnts:0,hosinprcpresncd:00,prcprefseq:0,ordreqlnkno:0,testreqlnkno:0,prcplnkno:0,prtlno:0,inclprcpno:0,hsctdelivepos:0,hsctlnkno:0,etcprcpflag:-,aftcertflag:-,aftcertdrid:-,prcpvalidd:00000000,specdrid:-,anticncrprtlno:0,anticncrdayno:0,druglnkno:0,rehbprcpcurefreqflag:0,dietprcpgenrflag:-,irpayflag:N,irflag:N,procerdietflag:N,diagtestconttestintvlflag:N,drugindependpackflag:N,diagtestconttestbasetm:0,diagtestconttestorgtims:0,ermediscmngtresncd:-,rehbprcpenddd:-,matrallsizespecid:-,rehbprcpcurepartcd:-,lowdrugresncd:N,tfdtlcd:-,dnorreqlnkno:0,subcretno:0,exptmthdfact:-,lowdrugresnetcfact:-,diagtestconttestcdspec:-,drgacptflag:-");
- }
- /****************************************************************************************
- * Function : fSelectOneKind
- * Description : 선택한 그리드의 height는 확장하고, 나머지 그리드의 height는 축소한다.
- * Argument : kind - 대상그리드 그룹
- * : mode - ex : 확장 / re : 축소
- * return type :
- * Creator :
- ****************************************************************************************/
- function fSelectOneKind(kind, mode){
- var iZoominHeight; //확대인 경우 확대 높이
- var iZoomoutHeight; //한개 셀이 확대되면 나머지 셀은 축소 됨, 나머지 셀의 높이
-
- var rct_border_hght = parseInt(rct_border.position.height);
- switch(mode){
- case "ex":
- if(rct_border_hght > 800){
- iZoominHeight = 500;
- }
- else if(rct_border_hght > 700){
- iZoominHeight = 400;
- }
- else if(rct_border_hght > 500){
- iZoominHeight = 300;
- }
- else if(rct_border_hght > 450){
- iZoominHeight = 200;
- }
- else{
- iZoominHeight = 150;
- }
-
- //변경된 확대건의 높이에 따라 축소 건의 높이 조정
- iZoomoutHeight = ((iTotalHeight - iGap*iVerGapNum) - iZoominHeight)/(iVerNum-1);
-
- //size 조정
- for(var i=1; i<=4; i++){
- yPos = iTotalTop;
- switch(kind){
- case "D":
- fcsCaptionCtrl = this.components[ "cap_drug" ];
- fcsCaptionCtrl.position.height = parseInt(iZoominHeight);
- fcsCaptionCtrl = this.components[ "grd_drug" + i ];
- fcsCaptionCtrl.position.height = parseInt(iZoominHeight);
- yPos = yPos + iZoominHeight + iGap;
-
- fcsCaptionCtrl = this.components[ "cap_test" ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- fcsCaptionCtrl = this.components[ "grd_test" + i ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- yPos = yPos + iZoomoutHeight + iGap;
-
- fcsCaptionCtrl = this.components[ "cap_caredelive" ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- fcsCaptionCtrl = this.components[ "grd_caredelive" + i ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- yPos = yPos + iZoomoutHeight + iGap;
-
- fcsCaptionCtrl = this.components[ "cap_form" ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- fcsCaptionCtrl = this.components[ "grd_form" + i ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- yPos = yPos + iZoomoutHeight + iGap;
-
- fcsCaptionCtrl = this.components[ "cap_etc" ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- fcsCaptionCtrl = this.components[ "grd_etc" + i ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- yPos = yPos + iZoomoutHeight + iGap;
-
- fcsCaptionCtrl = this.components[ "cap_hichart" ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- fcsCaptionCtrl = this.components[ "grd_hichart" + i ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- yPos = yPos + iZoomoutHeight + iGap;
- break;
-
- case "T":
- fcsCaptionCtrl = this.components[ "cap_drug" ];
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- fcsCaptionCtrl = this.components[ "grd_drug" + i ];
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- yPos = yPos + iZoomoutHeight + iGap;
-
- fcsCaptionCtrl = this.components[ "cap_test" ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoominHeight);
- fcsCaptionCtrl = this.components[ "grd_test" + i ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoominHeight);
- yPos = yPos + iZoominHeight + iGap;
-
- fcsCaptionCtrl = this.components[ "cap_caredelive" ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- fcsCaptionCtrl = this.components[ "grd_caredelive" + i ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- yPos = yPos + iZoomoutHeight + iGap;
-
- fcsCaptionCtrl = this.components[ "cap_form" ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- fcsCaptionCtrl = this.components[ "grd_form" + i ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- yPos = yPos + iZoomoutHeight + iGap;
-
- fcsCaptionCtrl = this.components[ "cap_etc" ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- fcsCaptionCtrl = this.components[ "grd_etc" + i ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- yPos = yPos + iZoomoutHeight + iGap;
-
- fcsCaptionCtrl = this.components[ "cap_hichart" ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- fcsCaptionCtrl = this.components[ "grd_hichart" + i ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- yPos = yPos + iZoomoutHeight + iGap;
- break;
-
- case "C":
- fcsCaptionCtrl = this.components[ "cap_drug" ];
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- fcsCaptionCtrl = this.components[ "grd_drug" + i ];
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- yPos = yPos + iZoomoutHeight + iGap;
-
- fcsCaptionCtrl = this.components[ "cap_test" ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- fcsCaptionCtrl = this.components[ "grd_test" + i ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- yPos = yPos + iZoomoutHeight + iGap;
-
- fcsCaptionCtrl = this.components[ "cap_caredelive" ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoominHeight);
- fcsCaptionCtrl = this.components[ "grd_caredelive" + i ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoominHeight);
- yPos = yPos + iZoominHeight + iGap;
-
- fcsCaptionCtrl = this.components[ "cap_form" ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- fcsCaptionCtrl = this.components[ "grd_form" + i ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- yPos = yPos + iZoomoutHeight + iGap;
-
- fcsCaptionCtrl = this.components[ "cap_etc" ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- fcsCaptionCtrl = this.components[ "grd_etc" + i ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- yPos = yPos + iZoomoutHeight + iGap;
-
- fcsCaptionCtrl = this.components[ "cap_hichart" ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- fcsCaptionCtrl = this.components[ "grd_hichart" + i ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- yPos = yPos + iZoomoutHeight + iGap;
- break;
-
- case "F":
- fcsCaptionCtrl = this.components[ "cap_drug" ];
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- fcsCaptionCtrl = this.components[ "grd_drug" + i ];
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- yPos = yPos + iZoomoutHeight + iGap;
-
- fcsCaptionCtrl = this.components[ "cap_test" ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- fcsCaptionCtrl = this.components[ "grd_test" + i ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- yPos = yPos + iZoomoutHeight + iGap;
-
- fcsCaptionCtrl = this.components[ "cap_caredelive" ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- fcsCaptionCtrl = this.components[ "grd_caredelive" + i ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- yPos = yPos + iZoomoutHeight + iGap;
-
- fcsCaptionCtrl = this.components[ "cap_form" ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoominHeight);
- fcsCaptionCtrl = this.components[ "grd_form" + i ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoominHeight);
- yPos = yPos + iZoominHeight + iGap;
-
- fcsCaptionCtrl = this.components[ "cap_etc" ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- fcsCaptionCtrl = this.components[ "grd_etc" + i ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- yPos = yPos + iZoomoutHeight + iGap;
-
- fcsCaptionCtrl = this.components[ "cap_hichart" ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- fcsCaptionCtrl = this.components[ "grd_hichart" + i ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- yPos = yPos + iZoomoutHeight + iGap;
- break;
-
- case "E":
- fcsCaptionCtrl = this.components[ "cap_drug" ];
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- fcsCaptionCtrl = this.components[ "grd_drug" + i ];
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- yPos = yPos + iZoomoutHeight + iGap;
-
- fcsCaptionCtrl = this.components[ "cap_test" ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- fcsCaptionCtrl = this.components[ "grd_test" + i ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- yPos = yPos + iZoomoutHeight + iGap;
-
- fcsCaptionCtrl = this.components[ "cap_caredelive" ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- fcsCaptionCtrl = this.components[ "grd_caredelive" + i ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- yPos = yPos + iZoomoutHeight + iGap;
-
- fcsCaptionCtrl = this.components[ "cap_form" ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- fcsCaptionCtrl = this.components[ "grd_form" + i ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- yPos = yPos + iZoomoutHeight + iGap;
-
- fcsCaptionCtrl = this.components[ "cap_etc" ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoominHeight);
- fcsCaptionCtrl = this.components[ "grd_etc" + i ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoominHeight);
- yPos = yPos + iZoominHeight + iGap;
-
- fcsCaptionCtrl = this.components[ "cap_hichart" ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- fcsCaptionCtrl = this.components[ "grd_hichart" + i ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- yPos = yPos + iZoomoutHeight + iGap;
- break;
- case "H":
- fcsCaptionCtrl = this.components[ "cap_drug" ];
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- fcsCaptionCtrl = this.components[ "grd_drug" + i ];
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- yPos = yPos + iZoomoutHeight + iGap;
-
- fcsCaptionCtrl = this.components[ "cap_test" ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- fcsCaptionCtrl = this.components[ "grd_test" + i ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- yPos = yPos + iZoomoutHeight + iGap;
-
- fcsCaptionCtrl = this.components[ "cap_caredelive" ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- fcsCaptionCtrl = this.components[ "grd_caredelive" + i ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- yPos = yPos + iZoomoutHeight + iGap;
-
- fcsCaptionCtrl = this.components[ "cap_form" ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- fcsCaptionCtrl = this.components[ "grd_form" + i ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- yPos = yPos + iZoomoutHeight + iGap;
-
- fcsCaptionCtrl = this.components[ "cap_etc" ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- fcsCaptionCtrl = this.components[ "grd_etc" + i ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoomoutHeight);
- yPos = yPos + iZoomoutHeight + iGap;
-
- fcsCaptionCtrl = this.components[ "cap_hichart" ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoominHeight);
- fcsCaptionCtrl = this.components[ "grd_hichart" + i ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iZoominHeight);
- yPos = yPos + iZoominHeight + iGap;
- break;
- }
- }
- break;
-
- case "re":
- for(var i=1; i<=4; i++){
- yPos = iTotalTop;
- fcsCaptionCtrl = this.components[ "cap_drug" ];
- fcsCaptionCtrl.position.height = parseInt(iDayHeight);
- fcsCaptionCtrl = this.components[ "grd_drug" + i ];
- fcsCaptionCtrl.position.height = parseInt(iDayHeight);
- yPos = yPos + iDayHeight + iGap;
-
- fcsCaptionCtrl = this.components[ "cap_test" ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iDayHeight);
- fcsCaptionCtrl = this.components[ "grd_test" + i ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iDayHeight);
- yPos = yPos + iDayHeight + iGap;
-
- fcsCaptionCtrl = this.components[ "cap_caredelive" ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iDayHeight);
- fcsCaptionCtrl = this.components[ "grd_caredelive" + i ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iDayHeight);
- yPos = yPos + iDayHeight + iGap;
-
- fcsCaptionCtrl = this.components[ "cap_form" ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iDayHeight);
- fcsCaptionCtrl = this.components[ "grd_form" + i ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iDayHeight);
- yPos = yPos + iDayHeight + iGap;
-
- fcsCaptionCtrl = this.components[ "cap_etc" ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iDayHeight);
- fcsCaptionCtrl = this.components[ "grd_etc" + i ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iDayHeight);
- yPos = yPos + iDayHeight + iGap;
-
- fcsCaptionCtrl = this.components[ "cap_hichart" ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iDayHeight);
- fcsCaptionCtrl = this.components[ "grd_hichart" + i ];
- fcsCaptionCtrl.position.top = yPos;
- fcsCaptionCtrl.position.height = parseInt(iDayHeight);
- yPos = yPos + iDayHeight + iGap;
- }
- break;
- }
-
- }
- /****************************************************************************************
- * Function : fReSize
- * Description : 세로 사이즈 결정
- * Argument : mode - L : 확장 / S : 축소
- * return type :
- * Creator :
- ****************************************************************************************/
- function fReSize( mode ){
- if( mode == "S"){
- GPS_ViewMode = "S";
- rct_border.position.height = parseInt(rct_border.position.height) - 115;
-
- cap_drug.position.height = parseInt(cap_drug.position.height) - 35;
- cap_test.position.top = parseInt(cap_test.position.top) - 35;
- cap_test.position.height = parseInt(cap_test.position.height) - 20;
- cap_caredelive.position.top = parseInt(cap_caredelive.position.top) - 55;
- cap_caredelive.position.height = parseInt(cap_caredelive.position.height) - 20;
- cap_form.position.top = parseInt(cap_form.position.top) - 75;
- cap_form.position.height = parseInt(cap_form.position.height) - 20;
- cap_etc.position.top = parseInt(cap_etc.position.top) - 95;
- cap_etc.position.height = parseInt(cap_etc.position.height) - 20;
- grd_drug1.position.height = parseInt(grd_drug1.position.height) - 35;
- grd_drug2.position.height = parseInt(grd_drug2.position.height) - 35;
- grd_drug3.position.height = parseInt(grd_drug3.position.height) - 35;
- grd_drug4.position.height = parseInt(grd_drug4.position.height) - 35;
-
- grd_test1.position.top = parseInt(grd_test1.position.top) - 35;
- grd_test2.position.top = parseInt(grd_test2.position.top) - 35;
- grd_test3.position.top = parseInt(grd_test3.position.top) - 35;
- grd_test4.position.top = parseInt(grd_test4.position.top) - 35;
-
- grd_test1.position.height = parseInt(grd_test1.position.height) - 20;
- grd_test2.position.height = parseInt(grd_test2.position.height) - 20;
- grd_test3.position.height = parseInt(grd_test3.position.height) - 20;
- grd_test4.position.height = parseInt(grd_test4.position.height) - 20;
-
- grd_caredelive1.position.top = parseInt(grd_caredelive1.position.top) - 55;
- grd_caredelive2.position.top = parseInt(grd_caredelive2.position.top) - 55;
- grd_caredelive3.position.top = parseInt(grd_caredelive3.position.top) - 55;
- grd_caredelive4.position.top = parseInt(grd_caredelive4.position.top) - 55;
-
- grd_caredelive1.position.height = parseInt(grd_caredelive1.position.height) - 20;
- grd_caredelive2.position.height = parseInt(grd_caredelive2.position.height) - 20;
- grd_caredelive3.position.height = parseInt(grd_caredelive3.position.height) - 20;
- grd_caredelive4.position.height = parseInt(grd_caredelive4.position.height) - 20;
-
- grd_form1.position.top = parseInt(grd_form1.position.top) - 75;
- grd_form2.position.top = parseInt(grd_form2.position.top) - 75;
- grd_form3.position.top = parseInt(grd_form3.position.top) - 75;
- grd_form4.position.top = parseInt(grd_form4.position.top) - 75;
-
- grd_form1.position.height = parseInt(grd_form1.position.height) - 20;
- grd_form2.position.height = parseInt(grd_form2.position.height) - 20;
- grd_form3.position.height = parseInt(grd_form3.position.height) - 20;
- grd_form4.position.height = parseInt(grd_form4.position.height) - 20;
-
- grd_etc1.position.top = parseInt(grd_etc1.position.top) - 95;
- grd_etc2.position.top = parseInt(grd_etc2.position.top) - 95;
- grd_etc3.position.top = parseInt(grd_etc3.position.top) - 95;
- grd_etc4.position.top = parseInt(grd_etc4.position.top) - 95;
-
- grd_etc1.position.height = parseInt(grd_etc1.position.height) - 20;
- grd_etc2.position.height = parseInt(grd_etc2.position.height) - 20;
- grd_etc3.position.height = parseInt(grd_etc3.position.height) - 20;
- grd_etc4.position.height = parseInt(grd_etc4.position.height) - 20;
- }else{
- GPS_ViewMode = "L";
- rct_border.position.height = parseInt(rct_border.position.height) + 115;
-
- cap_drug.position.height = parseInt(cap_drug.position.height) + 35;
- cap_test.position.top = parseInt(cap_test.position.top) + 35;
- cap_test.position.height = parseInt(cap_test.position.height) + 20;
- cap_caredelive.position.top = parseInt(cap_caredelive.position.top) + 55;
- cap_caredelive.position.height = parseInt(cap_caredelive.position.height) + 20;
- cap_form.position.top = parseInt(cap_form.position.top) + 75;
- cap_form.position.height = parseInt(cap_form.position.height) + 20;
- cap_etc.position.top = parseInt(cap_etc.position.top) + 95;
- cap_etc.position.height = parseInt(cap_etc.position.height) + 20;
- grd_drug1.position.height = parseInt(grd_drug1.position.height) + 35;
- grd_drug2.position.height = parseInt(grd_drug2.position.height) + 35;
- grd_drug3.position.height = parseInt(grd_drug3.position.height) + 35;
- grd_drug4.position.height = parseInt(grd_drug4.position.height) + 35;
-
- grd_test1.position.top = parseInt(grd_test1.position.top) + 35;
- grd_test2.position.top = parseInt(grd_test2.position.top) + 35;
- grd_test3.position.top = parseInt(grd_test3.position.top) + 35;
- grd_test4.position.top = parseInt(grd_test4.position.top) + 35;
-
- grd_test1.position.height = parseInt(grd_test1.position.height) + 20;
- grd_test2.position.height = parseInt(grd_test2.position.height) + 20;
- grd_test3.position.height = parseInt(grd_test3.position.height) + 20;
- grd_test4.position.height = parseInt(grd_test4.position.height) + 20;
-
- grd_caredelive1.position.top = parseInt(grd_caredelive1.position.top) + 55;
- grd_caredelive2.position.top = parseInt(grd_caredelive2.position.top) + 55;
- grd_caredelive3.position.top = parseInt(grd_caredelive3.position.top) + 55;
- grd_caredelive4.position.top = parseInt(grd_caredelive4.position.top) + 55;
-
- grd_caredelive1.position.height = parseInt(grd_caredelive1.position.height) + 20;
- grd_caredelive2.position.height = parseInt(grd_caredelive2.position.height) + 20;
- grd_caredelive3.position.height = parseInt(grd_caredelive3.position.height) + 20;
- grd_caredelive4.position.height = parseInt(grd_caredelive4.position.height) + 20;
-
- grd_form1.position.top = parseInt(grd_form1.position.top) + 75;
- grd_form2.position.top = parseInt(grd_form2.position.top) + 75;
- grd_form3.position.top = parseInt(grd_form3.position.top) + 75;
- grd_form4.position.top = parseInt(grd_form4.position.top) + 75;
-
- grd_form1.position.height = parseInt(grd_form1.position.height) + 20;
- grd_form2.position.height = parseInt(grd_form2.position.height) + 20;
- grd_form3.position.height = parseInt(grd_form3.position.height) + 20;
- grd_form4.position.height = parseInt(grd_form4.position.height) + 20;
-
- grd_etc1.position.top = parseInt(grd_etc1.position.top) + 95;
- grd_etc2.position.top = parseInt(grd_etc2.position.top) + 95;
- grd_etc3.position.top = parseInt(grd_etc3.position.top) + 95;
- grd_etc4.position.top = parseInt(grd_etc4.position.top) + 95;
-
- grd_etc1.position.height = parseInt(grd_etc1.position.height) + 20;
- grd_etc2.position.height = parseInt(grd_etc2.position.height) + 20;
- grd_etc3.position.height = parseInt(grd_etc3.position.height) + 20;
- grd_etc4.position.height = parseInt(grd_etc4.position.height) + 20;
- }
- }
- //공통코드 최초 조회 안되는 문제로 인해, 화면 visible 처리 전에 공통코드 조회하도록 위치 변경 (2011.07.04)
- function fGetCodeList_Detail(){
- //zbcfGetCodeList
- // zbcfGetCodeListSubmit(new Array("M0003", "M0005", "M0011", "P0034", "M0029" ),
- // new Array("/root/init/prcpkindcd","/root/init/prcpclscd","/root/init/prcpstatcd","/root/init/hosinprcpresncd","/root/init/payflagcd"));
- var arrParam = [{dsNm: "ds_init_prcpkindcd" , cdGrpId: "M0003"}
- ,{dsNm: "ds_init_prcpclscd" , cdGrpId: "M0005"}
- ,{dsNm: "ds_init_prcpstatcd" , cdGrpId: "M0011"}
- ,{dsNm: "ds_init_hosinprcpresncd", cdGrpId: "P0034"}
- ,{dsNm: "ds_init_payflagcd" , cdGrpId: "M0029"}
- ]
- appf_getCodeList(arrParam);
- // model.refresh();
- }
- function ds_main_down_prcplist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid=="choiordflag") {
- obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
- }
- }
- function Grid_onlbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- var gridName = obj.name;
- var gridNo = gridName.substr(gridName.length-1, 1);
- fChangeGridArea(gridNo);
- }
- function pmn_menu_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- eval(e.id + "()");
- }
- function SPMMP02200_onload(obj:Form, e:LoadEventInfo)
- {
- oOpener = frmf_getoOpener();
-
- var colHidnValue = lf_grdBaseColHidn("D");
- lf_grdBaseColHidn(colHidnValue, "grd_drug1", 50, "prcpvol", "prcpqty", "drprcpetc7", "drprcpetc8");
- lf_grdBaseColHidn(colHidnValue, "grd_drug2", 50, "prcpvol", "prcpqty", "drprcpetc7", "drprcpetc8");
- lf_grdBaseColHidn(colHidnValue, "grd_drug3", 50, "prcpvol", "prcpqty", "drprcpetc7", "drprcpetc8");
- lf_grdBaseColHidn(colHidnValue, "grd_drug4", 50, "prcpvol", "prcpqty", "drprcpetc7", "drprcpetc8");
- lf_prcpExecDeptSrch("all");
- // 15.12.02 start
- if( oOpener.OpenerKind == "GPS" ){
- // copyNodesetType("/root/init/prcpkindcd", "/root/init/prcpkindcd", "replace", model, opener.model);
- // copyNodesetType("/root/init/prcpclscd", "/root/init/prcpclscd", "replace", model, .model);
- // copyNodesetType("/root/init/prcpstatcd", "/root/init/prcpstatcd", "replace", model, opener.model);
- // copyNodesetType("/root/init/hosinprcpresncd", "/root/init/hosinprcpresncd", "replace", model, opener.model);
- // copyNodesetType("/root/init/payflagcd", "/root/init/payflagcd", "replace", model, opener.model);
- ds_init_prcpkindcd.copyData(oOpener.ds_M0003);
- ds_init_prcpclscd.copyData(oOpener.ds_M0005);
- ds_init_prcpstatcd.copyData(oOpener.ds_M0011);
- ds_init_hosinprcpresncd.copyData(oOpener.ds_P0034);
- ds_init_payflagcd.copyData(oOpener.ds_M0029);
-
- frmf_setSpclScrnAuth("R", false);
- fInitialize(); //(steppath 조회 후 수행되어야 함) -> ivw_detail의 초기화
- }else{
- frmf_setSpclScrnAuth("X", false);
- }
-
- frmf_createPopupMenu("popupmenu"
- ,"fPopupmenu"
- ,[{id: "S", level: "0", title: "수정"}
- ,{id: "A", level: "0", title: "추가"}
- ,{id: "D", level: "0", title: "삭제"}
- ,{id: "", level: "0", title: "----------------"}
- ,{id: "O", level: "0", title: "통합검사결과조회"}
- ]);
- frmf_createPopupMenu("popupmenu2"
- ,"fPopupmenu"
- ,[{id: "S", level: "0", title: "수정"}
- ,{id: "A", level: "0", title: "추가"}
- ,{id: "D", level: "0", title: "삭제"}
- ]);
-
- // 그리드 상태 아이콘 보여주기
- // 투약
- grdf_setRowTypeIcon(grd_drug1, 0);
- grdf_setRowTypeIcon(grd_drug2, 0);
- grdf_setRowTypeIcon(grd_drug3, 0);
- grdf_setRowTypeIcon(grd_drug4, 0);
-
- // 검사
- grdf_setRowTypeIcon(grd_test1, 0);
- grdf_setRowTypeIcon(grd_test2, 0);
- grdf_setRowTypeIcon(grd_test3, 0);
- grdf_setRowTypeIcon(grd_test4, 0);
-
- // 간호
- grdf_setRowTypeIcon(grd_caredelive1, 0);
- grdf_setRowTypeIcon(grd_caredelive2, 0);
- grdf_setRowTypeIcon(grd_caredelive3, 0);
- grdf_setRowTypeIcon(grd_caredelive4, 0);
-
- // 서식
- grdf_setRowTypeIcon(grd_form1, 0);
- grdf_setRowTypeIcon(grd_form2, 0);
- grdf_setRowTypeIcon(grd_form3, 0);
- grdf_setRowTypeIcon(grd_form4, 0);
-
- // 서식
- grdf_setRowTypeIcon(grd_etc1, 0);
- grdf_setRowTypeIcon(grd_etc2, 0);
- grdf_setRowTypeIcon(grd_etc3, 0);
- grdf_setRowTypeIcon(grd_etc4, 0);
-
- //설명처방
- grdf_setRowTypeIcon(grd_hichart1, 0);
- grdf_setRowTypeIcon(grd_hichart2, 0);
- grdf_setRowTypeIcon(grd_hichart3, 0);
- grdf_setRowTypeIcon(grd_hichart4, 0);
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : Drug, Test, Caredelive, Form, Etc
- * Event : onmousemove
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : tooltip
- ****************************************************************************************/
- function comn_onmousemove(obj:Grid, e:GridMouseEventInfo)
- {
- lf_tooltipSet(obj, e.row, e.cell);
- }
- function lf_tooltipSet(grdObj, currow, curcell)
- {
- if(currow > -1 && curcell > 0)
- {
- grdObj.tooltiptext = grdObj.getCellText(currow, curcell);
- }
- else
- {
- grdObj.tooltiptext = "";
- }
- }
- //20180201 이돈희 : 가로 사이즈 조정
- function fHoriAdjustSize(grdCnt)
- {
- //group1.position.right = iTotalRight;
- rct_border.position.width = iDayWidth + 2;
- rct_border.position.height = iDayHeight * iVerNum + 1; // <-755 (-18)
-
- //day1~4 타이틀 가로 정리
- cap_day1.position.width = iDayWidth;
- cap_day2.position.left = cap_day1.position.right + iGap;
- cap_day2.position.width = iDayWidth;
- cap_day3.position.left = cap_day2.position.right + iGap;
- cap_day3.position.width = iDayWidth;
- cap_day4.position.left = cap_day3.position.right + iGap;
- cap_day4.position.width = iDayWidth;
-
-
- //투약열 가로 정리
- grd_drug1.position.left = iTotalLeft;
- grd_drug1.position.width = iDayWidth;
- grd_drug2.position.left = cap_day1.position.right + iGap;
- grd_drug2.position.width = iDayWidth;
- grd_drug3.position.left = cap_day2.position.right + iGap;
- grd_drug3.position.width = iDayWidth;
- grd_drug4.position.left = cap_day3.position.right + iGap;
- grd_drug4.position.width = iDayWidth;
-
- //투약열 세로 정리
- cap_drug.position.top = iTotalTop;
- cap_drug.position.height = iDayHeight;
- grd_drug1.position.top = iTotalTop;
- grd_drug1.position.height = iDayHeight;
- grd_drug2.position.top = iTotalTop;
- grd_drug2.position.height = iDayHeight;
- grd_drug3.position.top = iTotalTop;
- grd_drug3.position.height = iDayHeight;
- grd_drug4.position.top = iTotalTop;
- grd_drug4.position.height = iDayHeight;
-
- //검사열 가로 정리
- grd_test1.position.left = iTotalLeft;
- grd_test1.position.width = iDayWidth;
- grd_test2.position.left = cap_day1.position.right + iGap;
- grd_test2.position.width = iDayWidth;
- grd_test3.position.left = cap_day2.position.right + iGap;
- grd_test3.position.width = iDayWidth;
- grd_test4.position.left = cap_day3.position.right + iGap;
- grd_test4.position.width = iDayWidth;
-
- //검사열 세로정리
- cap_test.position.top = cap_drug.position.bottom + iGap;
- cap_test.position.height = iDayHeight;
- grd_test1.position.top = cap_drug.position.bottom + iGap;
- grd_test1.position.height = iDayHeight;
- grd_test2.position.top = cap_drug.position.bottom + iGap;
- grd_test2.position.height = iDayHeight;
- grd_test3.position.top = cap_drug.position.bottom + iGap;
- grd_test3.position.height = iDayHeight;
- grd_test4.position.top = cap_drug.position.bottom + iGap;
- grd_test4.position.height = iDayHeight;
-
-
- //간호전달열 가로 정리
- grd_caredelive1.position.left = iTotalLeft;
- grd_caredelive1.position.width = iDayWidth;
- grd_caredelive2.position.left = cap_day1.position.right + iGap;
- grd_caredelive2.position.width = iDayWidth;
- grd_caredelive3.position.left = cap_day2.position.right + iGap;
- grd_caredelive3.position.width = iDayWidth;
- grd_caredelive4.position.left = cap_day3.position.right + iGap;
- grd_caredelive4.position.width = iDayWidth;
-
- //간호전달열 세로정리
- cap_caredelive.position.top = cap_test.position.bottom + iGap;
- cap_caredelive.position.height = iDayHeight;
- grd_caredelive1.position.top = cap_test.position.bottom + iGap;
- grd_caredelive1.position.height = iDayHeight;
- grd_caredelive2.position.top = cap_test.position.bottom + iGap;
- grd_caredelive2.position.height = iDayHeight;
- grd_caredelive3.position.top = cap_test.position.bottom + iGap;
- grd_caredelive3.position.height = iDayHeight;
- grd_caredelive4.position.top = cap_test.position.bottom + iGap;
- grd_caredelive4.position.height = iDayHeight;
-
- //서식열 가로 정리
- grd_form1.position.left = iTotalLeft;
- grd_form1.position.width = iDayWidth;
- grd_form2.position.left = cap_day1.position.right + iGap;
- grd_form2.position.width = iDayWidth;
- grd_form3.position.left = cap_day2.position.right + iGap;
- grd_form3.position.width = iDayWidth;
- grd_form4.position.left = cap_day3.position.right + iGap;
- grd_form4.position.width = iDayWidth;
-
- //서식열 세로정리
- cap_form.position.top = cap_caredelive.position.bottom + iGap;
- cap_form.position.height = iDayHeight;
- grd_form1.position.top = cap_caredelive.position.bottom + iGap;
- grd_form1.position.height = iDayHeight;
- grd_form2.position.top = cap_caredelive.position.bottom + iGap;
- grd_form2.position.height = iDayHeight;
- grd_form3.position.top = cap_caredelive.position.bottom + iGap;
- grd_form3.position.height = iDayHeight;
- grd_form4.position.top = cap_caredelive.position.bottom + iGap;
- grd_form4.position.height = iDayHeight;
-
- //기타열 가로 정리
- grd_etc1.position.left = iTotalLeft;
- grd_etc1.position.width = iDayWidth;
- grd_etc2.position.left = cap_day1.position.right + iGap;
- grd_etc2.position.width = iDayWidth;
- grd_etc3.position.left = cap_day2.position.right + iGap;
- grd_etc3.position.width = iDayWidth;
- grd_etc4.position.left = cap_day3.position.right + iGap;
- grd_etc4.position.width = iDayWidth;
-
- //기타열 세로정리
- cap_etc.position.top = cap_form.position.bottom + iGap;
- cap_etc.position.height = iDayHeight;
- grd_etc1.position.top = cap_form.position.bottom + iGap;
- grd_etc1.position.height = iDayHeight;
- grd_etc2.position.top = cap_form.position.bottom + iGap;
- grd_etc2.position.height = iDayHeight;
- grd_etc3.position.top = cap_form.position.bottom + iGap;
- grd_etc3.position.height = iDayHeight;
- grd_etc4.position.top = cap_form.position.bottom + iGap;
- grd_etc4.position.height = iDayHeight;
-
- //설병처방열 가로 정리
- grd_hichart1.position.left = iTotalLeft;
- grd_hichart1.position.width = iDayWidth;
- grd_hichart2.position.left = cap_day1.position.right + iGap;
- grd_hichart2.position.width = iDayWidth;
- grd_hichart3.position.left = cap_day2.position.right + iGap;
- grd_hichart3.position.width = iDayWidth;
- grd_hichart4.position.left = cap_day3.position.right + iGap;
- grd_hichart4.position.width = iDayWidth;
-
- //설명처방열 세로정리
- cap_hichart.position.top = cap_etc.position.bottom + iGap;
- cap_hichart.position.height = iDayHeight;
- grd_hichart1.position.top = cap_etc.position.bottom + iGap;
- grd_hichart1.position.height = iDayHeight;
- grd_hichart2.position.top = cap_etc.position.bottom + iGap;
- grd_hichart2.position.height = iDayHeight;
- grd_hichart3.position.top = cap_etc.position.bottom + iGap;
- grd_hichart3.position.height = iDayHeight;
- grd_hichart4.position.top = cap_etc.position.bottom + iGap;
- grd_hichart4.position.height = iDayHeight;
- }
- //초기 및 화면 화면 사이즈 셋팅
- function fSetSize()
- {
- //모든 그리드 사이즈를 바꾼다
- iTotalLeft = cap_day1.position.left; // day1~4 의 가장 왼쪽 좌표
- iTotalRight = this.parent.ivw_detail.position.width - 2; // day1~4 의 가장 오른쪽 좌표
- iTotalWidth = iTotalRight - iTotalLeft;
- iGap = 5; // 갭 사이의 너비
- //iHoriNum = dayCnt; //day 수
- iHoriGapNum = 3; // 가로열 day1~4사이의 갭 수
- iVerNum = 6; // 투약, 검사, 간호전달 서식, 기타, 설명처방 총 6개
- iVerGapNum = 5; // 투약, 검사, 간호전달 서식, 기타, 설명처방 사이의 갭 수
- iDayWidth = (iTotalWidth - iGap*iHoriGapNum)/iHoriNum; //Day 한개당 너비
- iTotalTop = cap_drug.position.top + 1;//투약 그리드 상단 좌표, 1 : border를 위한 갭
- iTotalBottom = this.parent.ivw_detail.position.height;// 화면 하단 좌표
- iTotalHeight = iTotalBottom - iTotalTop - 2;//2 : border를 위한 갭
- iDayHeight = (iTotalHeight - iGap*iVerGapNum)/iVerNum; //투약 한개의 높이
-
- /*
- trace("--------------------------------");
- trace("iTotalLeft = " + iTotalLeft);
- trace("iTotalRight = " + iTotalRight);
- trace("iTotalTop = " + iTotalTop);
- trace("iTotalBottom = " + iTotalBottom);
- trace("iTotalWidth = " + iTotalWidth);
- trace("iTotalHeight = " + iTotalHeight);
- trace("iDayWidth = " + iDayWidth);
- trace("iDayHeight = " + iDayHeight);
- trace("iDivHeight = " + this.position.height);
- */
- }
- //20180312 이돈희 : 상하 확장 버튼 으로 사이즈 변경시 리사이징
- function SPMMP02200_onsize(obj:Form, e:SizeEventInfo)
- {
- //사이즈 변경시 div의 사이즈 설정(이벤트가 살아있으면 무한 루프임)
- this.enableevent = false;
- this.position.width = this.parent.ivw_detail.position.width;
- this.position.height = this.parent.ivw_detail.position.height;
- this.enableevent = true;
-
- trace("this.parent.ivw_detail.position.width = " + this.parent.ivw_detail.position.width);
-
- //화면 사이즈 변경 시 모두 축소된 상태에서 사이즈 변경
- fSelectOneDay("", "re");
- deselectedDayCaption = selectedDayCaption;
- selectedDayCaption = "";
-
- //화면 사이즈 재설정
- fSetSize();
- fSetupGrdMode(iHoriNum, false);
-
- //선택 그리드 재설정
- fChangeGridArea(selectedDay)
-
- //일부 그리드가 제대로 안보이는 현상으로 임시로 그리드 확장 축소 시킴
- fSelectOneDay("1", "ex");
- fSelectOneDay("1", "re");
- }
- ]]></Script>
- </Form>
- </FDL>
|