123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>통합검사결과조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <prmsprcpsetinfo>
- <prmsprcpsetlist>
- <levl/>
- <setno/>
- <supsetno/>
- <sortno/>
- <setkindcd/>
- <settrgtcd/>
- <setnm/>
- </prmsprcpsetlist>
- </prmsprcpsetinfo>
- <prmsprcppdsetinfo>
- <prmsprcpsetlist>
- <setkindnm/>
- <setnm/>
- <testcdnm/>
- <setkindcd/>
- <levl/>
- <setno/>
- <supsetno/>
- <sortno/>
- <settrgtcd/>
- </prmsprcpsetlist>
- </prmsprcppdsetinfo>
- <rsltlist>
- <row/>
- <hearder/>
- </rsltlist>
- <ordlist1>
- <maindailylist>
- <check/>
- <lastreptdd/>
- <prcpdd1/>
- <examnm/>
- <spcnm/>
- <bcno/>
- <grosdrnm/>
- <statnm/>
- <prcpgenrflag/>
- <drnm/>
- <examgubun/>
- <lastreptdd1/>
- <prcpdd/>
- <testmdlcd/>
- <execprcpuniqno/>
- <pid/>
- <signno/>
- <formcd/>
- <execdd/>
- <hla/>
- </maindailylist>
- </ordlist1>
- <ordlist5>
- <mainseriouslist>
- <examnm/>
- <testmdlcd/>
- <examgubun/>
- </mainseriouslist>
- </ordlist5>
- <ordlist2>
- <mainserious>
- <check/>
- <prcpdd/>
- <drnm/>
- <prcpgenrflag/>
- <statnm/>
- <execprcpuniqno/>
- <pid/>
- </mainserious>
- </ordlist2>
- <ordlist3>
- <mainset/>
- </ordlist3>
- <ordlist4>
- <mainprogress>
- <prcpgenrflag/>
- <prcpdt/>
- <biznm/>
- <prcpnm/>
- <spcnm/>
- <drugmthdspccd/>
- <bcno/>
- <grosdrnm/>
- <prcpstatnm/>
- <orddrnm/>
- <rsrvdt/>
- <bcolldt/>
- <acptdt/>
- <execdt/>
- <reptdt/>
- <bcollid/>
- <acptid/>
- <prcpcd/>
- </mainprogress>
- </ordlist4>
- <ordlist6>
- <maindistinctdailylist>
- <prcpdd/>
- <refname/>
- </maindistinctdailylist>
- </ordlist6>
- <subordlist1>
- <subresultdetail1>
- <check/>
- <reptrslt/>
- <judgmark/>
- <judgmark2/>
- </subresultdetail1>
- </subordlist1>
- <subordlist2>
- <subresultdetail1>
- <tclsscrnnnm/>
- <reptrslt/>
- <rsltunit/>
- <ref/>
- <lastreptdt/>
- <testpsn/>
- <chkid/>
- <tsectnm/>
- <testcd/>
- <bcno/>
- <judgmark/>
- <flag/>
- <prcpcd/>
- <prcpnm/>
- <judgmark2/>
- </subresultdetail1>
- </subordlist2>
- <tabsetsrchlist>
- <gubun>과별</gubun>
- <setnm>내분비갑상선</setnm>
- <setobject>CBC c PLT, D/C, T3,T4,TSH</setobject>
- </tabsetsrchlist>
- <tabsetsrchlist>
- <gubun>개인별</gubun>
- <setnm>DM CRF 회진용</setnm>
- <setobject>FBS,BUN,Cr,Na,K,Ca,P,Mg</setobject>
- </tabsetsrchlist>
- <patinfo>
- <patinfolist/>
- </patinfo>
- <popupendflag/>
- <xslt>
- <translist>
- <trans/>
- </translist>
- </xslt>
- <interface>
- <answval/>
- <qestcd/>
- <baseanswvalflag/>
- <answvalnm/>
- </interface>
- <baseorddd/>
- </main>
- <send>
- <globalinstance>
- <instance1/>
- <instance2/>
- </globalinstance>
- <data>
- <singdata>
- <srchdate1/>
- <srchdate2/>
- <srchpid/>
- <wardcd/>
- <roomcd/>
- <listflag>Z</listflag>
- <deptcd/>
- <drid/>
- <chkcheck/>
- <chkcheck1/>
- <chkcheck2/>
- <chkcheck3/>
- <chkcheck4/>
- <chkcheck5/>
- <chkcheck6/>
- <chkcheck7/>
- <chkcheck8/>
- <callflag>N</callflag>
- <tabflag/>
- <mdlcd/>
- <examgubun/>
- <prcpdd/>
- <offset/>
- <pagesize>999</pagesize>
- <refname/>
- <srchflag/>
- </singdata>
- <term/>
- </data>
- <maindata/>
- <setdata>
- <setkindcd>D</setkindcd>
- <deptsetcd/>
- <deptcd/>
- <deptnm/>
- <foldernm/>
- <setno/>
- <startdd/>
- <enddd/>
- <pid/>
- <tclscdlist/>
- <workflag/>
- </setdata>
- <iemr>
- <pid/>
- <orddeptcd/>
- <indd/>
- <docucd/>
- <ioflag/>
- <pagetot/>
- <cmc_spcid/>
- <cmc_orddate/>
- <cmc_orderseqno/>
- <treatno/>
- </iemr>
- <val/>
- <formcd/>
- <codeflag/>
- <cond1/>
- <cond2/>
- <cond3/>
- <cond99/>
- <interqestcd/>
- <grupcdid/>
- </send>
- <send1>
- <ordlist1>
- <maindailylist>
- <check/>
- <testmdlcd/>
- <lastreptdd/>
- <examgubun/>
- <level/>
- <srchpid/>
- <dutplceinstcd/>
- <prcpdd/>
- <execprcpuniqno/>
- <bcno/>
- </maindailylist>
- </ordlist1>
- </send1>
- <pacssend>
- <pacsdata>
- <prcpdd/>
- <execprcpuniqno/>
- <instcd/>
- <pid/>
- </pacsdata>
- </pacssend>
- <init>
- <cmb_ward>
- <initexecward>
- <execwardcdid/>
- <execwardcdnm/>
- </initexecward>
- </cmb_ward>
- <cmb_room>
- <initexecroom>
- <execroomcdid/>
- <execroomcdnm/>
- </initexecroom>
- </cmb_room>
- <cmb_basecd>
- <initexecorddept>
- <execorddeptcdid/>
- <execorddeptcdnm/>
- </initexecorddept>
- <initexecorddept2>
- <execorddeptcdid/>
- <execorddeptcdnm/>
- </initexecorddept2>
- </cmb_basecd>
- <cmb_orddr>
- <initexecorddr>
- <execorddrcdid/>
- <execorddrcdnm/>
- </initexecorddr>
- </cmb_orddr>
- <baseinfo>
- <initexecprcpstatcd/>
- <initprcpgenrflagcd/>
- </baseinfo>
- <srchcond1/>
- <baseorddd>
- <initorddd>
- <orddd/>
- <gubun/>
- </initorddd>
- </baseorddd>
- <initpacskey>
- <pacskey>
- <oldprcpkey/>
- </pacskey>
- </initpacskey>
- <popupmenu>
- <grid01>
- <item>
- <name>체크박스 해제</name>
- <func>fMainDailyGrdCheckBoxDel</func>
- </item>
- <item>
- <name>===============</name>
- <func>check</func>
- </item>
- <item>
- <name>[선택항목조회]</name>
- <func>fMianClickResultContinueList</func>
- </item>
- <item>
- <name>[서식항목조회]_1건출력</name>
- <func>fPopupXsltList3</func>
- </item>
- <item>
- <name>[서식항목조회]_연속출력</name>
- <func>fPopupXsltContinueList2</func>
- </item>
- <item>
- <name>===============</name>
- <func>check</func>
- </item>
- </grid01>
- <grid02>
- <item>
- <name>체크박스 해제</name>
- <func>fMainDailyGrdCheckBoxDel</func>
- </item>
- <item>
- <name>===============</name>
- <func>check</func>
- </item>
- <item>
- <name>[선택항목조회]</name>
- <func>fMianClickResultContinueList2</func>
- </item>
- <item>
- <name>[서식항목조회]_1건출력</name>
- <func>fPopupXsltList2</func>
- </item>
- <item>
- <name>[서식항목조회]_연속출력</name>
- <func>fPopupXsltContinueList2</func>
- </item>
- <item>
- <name>===============</name>
- <func>check</func>
- </item>
- </grid02>
- </popupmenu>
- </init>
- <hidden>
- <ref>
- <testgrupseqno/>
- <startdd/>
- <enddd/>
- <pid/>
- <refgbn>1</refgbn>
- <acptdd/>
- <acptdde/>
- <testmdllist/>
- <tclscdlist/>
- </ref>
- <temp>
- <rsltlist/>
- </temp>
- <testmdllist/>
- <addresult>
- <pid/>
- <startdd/>
- <enddd/>
- <tclscdlist>
- <tclscdlist/>
- <tclsnmlist/>
- <tclscdlist2/>
- <tclsnmlist2/>
- </tclscdlist>
- <refgbn/>
- <sex/>
- <age/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- </addresult>
- <vertaddresult>
- <pid/>
- <hngnm/>
- <sex/>
- <age/>
- <testcd/>
- <startdd/>
- <enddd/>
- <rrgstno1/>
- <rrgstno2/>
- </vertaddresult>
- <addmicroresult>
- <pid/>
- <usdd/>
- <uedd/>
- </addmicroresult>
- <mdlcd>00</mdlcd>
- <param/>
- <tmp>
- <row/>
- <value/>
- </tmp>
- </hidden>
- <temp>
- <trvprmsprcpsetlist/>
- </temp>
- <paminfo/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- if(checkOpener()) {
- document.title ="통합검사결과조회 - "+"[ "+getUserInfo("dutplcenm")+" "+getUserInfo("usernm")+" ]";
- }
- // 조회기준 : [/root/send/data/singdata/listflag]
- // 보고일 : Z
- if ( rdo_statecd.value == "Z" ) {
- grd_maindaily.colhidden(grd_maindaily.colref("lastreptdd")) = false;
- grd_maindaily.colhidden(grd_maindaily.colref("lastreptdd1")) = true;
- datagrid1.colhidden(datagrid1.colref("lastreptdd")) = false;
- datagrid1.colhidden(datagrid1.colref("lastreptdd1")) = true;
-
- grd_maindaily.colhidden(grd_maindaily.colref("prcpdd1")) = true;
- grd_maindaily.colhidden(grd_maindaily.colref("prcpdd")) = false;
- grd_maindaily.colhidden(grd_maindaily.colref("execdd1")) = true;
- grd_maindaily.colhidden(grd_maindaily.colref("execdd")) = false;
- datagrid1.colhidden(datagrid1.colref("prcpdd1")) = true;
- datagrid1.colhidden(datagrid1.colref("prcpdd")) = false;
- datagrid1.colhidden(datagrid1.colref("execdd1")) = true;
- datagrid1.colhidden(datagrid1.colref("execdd")) = false;
-
- // 검사일 : J
- } else if ( rdo_statecd.value == "J" ) {
- grd_maindaily.colhidden(grd_maindaily.colref("execdd1")) = false;
- grd_maindaily.colhidden(grd_maindaily.colref("execdd")) = true;
- datagrid1.colhidden(datagrid1.colref("execdd1")) = false;
- datagrid1.colhidden(datagrid1.colref("execdd")) = true;
-
- grd_maindaily.colhidden(grd_maindaily.colref("lastreptdd")) = true;
- grd_maindaily.colhidden(grd_maindaily.colref("lastreptdd1")) = false;
- grd_maindaily.colhidden(grd_maindaily.colref("prcpdd1")) = true;
- grd_maindaily.colhidden(grd_maindaily.colref("prcpdd")) = false;
- datagrid1.colhidden(datagrid1.colref("lastreptdd")) = true;
- datagrid1.colhidden(datagrid1.colref("lastreptdd1")) = false;
- datagrid1.colhidden(datagrid1.colref("prcpdd")) = true;
- datagrid1.colhidden(datagrid1.colref("prcpdd1")) = false;
-
- // 처방일 : P
- } else if ( rdo_statecd.value == "P" ) {
- grd_maindaily.colhidden(grd_maindaily.colref("prcpdd1")) = false;
- grd_maindaily.colhidden(grd_maindaily.colref("prcpdd")) = true;
- datagrid1.colhidden(datagrid1.colref("prcpdd1")) = false;
- datagrid1.colhidden(datagrid1.colref("prcpdd")) = true;
-
- grd_maindaily.colhidden(grd_maindaily.colref("lastreptdd")) = true;
- grd_maindaily.colhidden(grd_maindaily.colref("lastreptdd1")) = false;
- grd_maindaily.colhidden(grd_maindaily.colref("execdd1")) = true;
- grd_maindaily.colhidden(grd_maindaily.colref("execdd")) = false;
- datagrid1.colhidden(datagrid1.colref("lastreptdd")) = true;
- datagrid1.colhidden(datagrid1.colref("lastreptdd1")) = false;
- datagrid1.colhidden(datagrid1.colref("execdd1")) = true;
- datagrid1.colhidden(datagrid1.colref("execdd")) = false;
- }
-
- // 이미지 object, 브라우져 object 비활성화
- document.controls("obj_imge").attribute("visibility") = "hidden";
- model.toggle("case5");
- aezfSetSuppDeptcd();
-
- // 병리에서 사용 근무지 기관코드 가져오기
- model.setValue("/root/send/globalinstance/instance2", getUserInfo("dutplceinstcd") );
-
- // set만들기, set조회 그룹 비활성화
- grp_makedset.visible = false;
- grp_searchset.visible = false;
-
-
-
- /*****************************************************************************************************************************/
- //사용자 환경설정 20081204
- //통합검사결과조회 조회기간(3개월~2년)
- fSetUserTermInit();
- // 조회기간, Combo Box 초기화
- // ipt_date1.value = getCurrentDate();
- // var vRsrvdd = ipt_date1.value ;
- // vRsrvdd = vRsrvdd.toDate("YYYYMMDD");
- // vRsrvdd = vRsrvdd.getAddDate(-90);
- // ipt_date1.value = vRsrvdd.getDateFormat();
- // ipt_date2.value = getCurrentDate();
- // model.setValue("/root/send/data/term", 90);
- /*****************************************************************************************************************************/
- cmb_orddept.select(0);
- cmb_orddr.select(0);
- cmb_wardcd.select(0);
- cmb_roomcd.select(0);
-
- // PACS 연동 초기화
- zepfpacsInit();
-
-
- // //병실코드조회
- // submit("TRAER00801");
- //
- // //진료과조회
- // submit("TRAER00803");
- //
- // // LIS 중분류 리스트 조회
- // fLbCodelist();
-
- // LIS 중분류 리스트 조회 조건 설정
- model.setValue("/root/send/codeflag", "0102|");
- submit("TRAER00823", false);
-
- // model.setValue("/root/init/cmb_basecd/LB0102[1]/nm", " 진검분류별 누적조회");
- // 성가요청사항 타이틀 변경 2009.07.09
- model.setValue("/root/init/cmb_basecd/LB0102[1]/nm", " 검사분류별 누적조회");
-
- // SET별 진료과의 첫번째 index의 명칭을 변경한다.
- model.setValue("/root/init/cmb_basecd/initexecorddept2[1]/execorddeptcdnm", " 과별SET 누적조회");
- model.removeNode("/root/init/cmb_basecd/initexecorddept2[execorddeptcdid='2020000000']"); // 신경과
- model.removeNode("/root/init/cmb_basecd/initexecorddept2[execorddeptcdid='2040000000']"); // 외과
- model.removeNode("/root/init/cmb_basecd/initexecorddept2[execorddeptcdid='2050000000']"); // 정형외과
- model.removeNode("/root/init/cmb_basecd/initexecorddept2[execorddeptcdid='2060000000']"); // 신경외과
- model.removeNode("/root/init/cmb_basecd/initexecorddept2[execorddeptcdid='2060000000']"); // 신경외과
- model.removeNode("/root/init/cmb_basecd/initexecorddept2[execorddeptcdid='2080000000']"); // 성형외과
- model.removeNode("/root/init/cmb_basecd/initexecorddept2[execorddeptcdid='2090000000']"); // 마취통증의학과
- model.removeNode("/root/init/cmb_basecd/initexecorddept2[execorddeptcdid='2120000000']"); // 안과
- model.removeNode("/root/init/cmb_basecd/initexecorddept2[execorddeptcdid='2130000000']"); // 이비인후과
- model.removeNode("/root/init/cmb_basecd/initexecorddept2[execorddeptcdid='2140000000']"); // 피부과
- model.removeNode("/root/init/cmb_basecd/initexecorddept2[execorddeptcdid='2160000000']"); // 영상의학과
- model.removeNode("/root/init/cmb_basecd/initexecorddept2[execorddeptcdid='2170000000']"); // 방사선종양학과
- model.removeNode("/root/init/cmb_basecd/initexecorddept2[execorddeptcdid='2180000000']"); // 핵의학과
- model.removeNode("/root/init/cmb_basecd/initexecorddept2[execorddeptcdid='2200000000']"); // 진단검사의학과
- model.removeNode("/root/init/cmb_basecd/initexecorddept2[execorddeptcdid='2210000000']"); // 병리과
- model.removeNode("/root/init/cmb_basecd/initexecorddept2[execorddeptcdid='2220000000']"); // 재활의학과
- model.removeNode("/root/init/cmb_basecd/initexecorddept2[execorddeptcdid='2230000000']"); // 가정의학과
- model.removeNode("/root/init/cmb_basecd/initexecorddept2[execorddeptcdid='2240000000']"); // 치과
- model.removeNode("/root/init/cmb_basecd/initexecorddept2[execorddeptcdid='2280000000']"); // 응급의학과
- model.removeNode("/root/init/cmb_basecd/initexecorddept2[execorddeptcdid='3100000000']"); // 호스피스과
- model.removeNode("/root/init/cmb_basecd/initexecorddept2[execorddeptcdid='3240200000']"); // 임상약리과
-
- var deptLength = model.instances(0).selectNodes( "/root/init/cmb_basecd/initexecorddept2" ).length+1;
-
- model.makeValue("/root/init/cmb_basecd/initexecorddept2[" + deptLength + "]/execorddeptcdid", "3240000000");
- model.makeValue("/root/init/cmb_basecd/initexecorddept2[" + deptLength + "]/execorddeptcdnm", "약제과");
- zbcfGetCodeList( new Array("M0010"), new Array("/root/init/baseinfo/initprcpgenrflagcd") );
- submit("TRZBC00101",false);
-
- if(checkOpener()) //opener 검사
- {
- var param = opener.javascript.getParameter("opener_parameter_id"); //opener parameter value를 get
-
- // opener parameter value가 있는 경우
- if(param != "") {
- //parameter value를 이용하여 프로그램 수행
- // opener parameter가 없는 경우 화면 원무 정보 check
- } else {
- var paminfo = getGlobalVariable("paminfo"); //프로그램에 따라 원무정보(paminfo), 환자기본정보(patflag) get
-
- // 진료대상자리스트 : SMMMO04100 , 공통메뉴화면 : SMZUM00300
- var openerid = opener.window.javascript.getScreenID();
- var patprcp_pid = opener.javascript.getParameter("SMAER00800_patprcp");
- //alert('patprcp_pid->'+patprcp_pid);
-
- if ( patprcp_pid == "Y" ) {
- if ( (model.getValue("/root/send/data/singdata/srchdate11") != "" )
- && (model.getValue("/root/send/data/singdata/srchdate22") != "" )
- && (model.getValue("/root/send/data/singdata/listflag2") != "" ) ) { // 진료요청 , 20080116
- model.setValue("/root/send/data/singdata/srchdate1", model.getValue("/root/send/data/singdata/srchdate11") );
- model.setValue("/root/send/data/singdata/srchdate2", model.getValue("/root/send/data/singdata/srchdate22") );
- model.setValue("/root/send/data/singdata/listflag", model.getValue("/root/send/data/singdata/listflag2") );
- }
- // 환자정보 가져오기
- aezfGetSrchPatInfo("1", model.getValue ( "/root/send/data/singdata/srchpid" ), getUserInfo("dutplceinstcd"), "patchosinfo", "/root/main/patinfo/patinfolist" );
-
- model.SetValue("/root/send/data/singdata/chkcheck", "ALL");
- model.refresh();
- var listflag = model.getValue("/root/send/data/singdata/listflag");
- if (listflag == "B") {
- model.setValue("/root/send/data/singdata/listflag","Z");
- fGetPlgyDailyList();
- } else {
- // fGetMainDistinctDailyList();
- // fGetMainDailyList2();
- /*****************************************************************************************************************************/
- //사용자 환경설정 20081204
- //사용자 진료과 전체선택 유무 20081210
- fSetUserBaseInit();
- fSetUserDeptInit();
- fSetUserTabInit();
- /*****************************************************************************************************************************/
- }
-
- opener.javascript.setParameter("SMAER00800_patprcp","N");
-
- } else if ( model.getValue("/root/send/data/singdata/srchpid") != "" ) { // 등록번호를 파라미터로 연동한 경우가 우선 조회되게 한다.
- //alert('1');
- if ( (model.getValue("/root/send/data/singdata/srchdate11") != "" )
- && (model.getValue("/root/send/data/singdata/srchdate22") != "" )
- && (model.getValue("/root/send/data/singdata/listflag2") != "" ) ) { // 진료요청 , 20080116
- model.setValue("/root/send/data/singdata/srchdate1", model.getValue("/root/send/data/singdata/srchdate11") );
- model.setValue("/root/send/data/singdata/srchdate2", model.getValue("/root/send/data/singdata/srchdate22") );
- model.setValue("/root/send/data/singdata/listflag", model.getValue("/root/send/data/singdata/listflag2") );
- }
- // 환자정보 가져오기
- aezfGetSrchPatInfo("1", model.getValue ( "/root/send/data/singdata/srchpid" ), getUserInfo("dutplceinstcd"), "patchosinfo", "/root/main/patinfo/patinfolist" );
-
- model.SetValue("/root/send/data/singdata/chkcheck", "ALL");
- model.refresh();
- var listflag = model.getValue("/root/send/data/singdata/listflag");
- if (listflag == "B") {
- model.setValue("/root/send/data/singdata/listflag","Z");
- fGetPlgyDailyList();
- } else {
- // fGetMainDistinctDailyList();
- // fGetMainDailyList2();
- /*****************************************************************************************************************************/
- //사용자 환경설정 20081204
- //사용자 진료과 전체선택 유무 20081210
- fSetUserBaseInit();
- fSetUserDeptInit();
- fSetUserTabInit();
- /*****************************************************************************************************************************/
- }
-
- } else if ( paminfo != "" ) {
- //alert('2');
- //alert("원무정보가있는경우");
- model.removeNodeset("/root/paminfo"); //여러개의 instance발생을 막기 위해 removeNodeset을 해줘야 함.
- model.makeNode("/root/paminfo");
- setCSVToNode("/root/paminfo", paminfo);
- //상단 정보를 이용하여 프로그램 수행
- var pid = model.getValue("/root/paminfo" + "/list/pid");
- var deptcd = model.getValue("/root/paminfo" + "/list/orddeptcd");
- //var wardcd = model.getValue("/root/paminfo" + "/list/wardcd");
- //var medispclid = model.getValue("/root/paminfo" + "/list/medispclid");
- var hngnm = model.getValue("/root/paminfo" + "/list/hngnm");
- var rrgstno1 = model.getValue("/root/paminfo" + "/list/rrgstno1");
- var rrgstno2 = model.getValue("/root/paminfo" + "/list/rrgstno2");
- var sex = model.getValue("/root/paminfo" + "/list/sex");
- var age = model.getValue("/root/paminfo" + "/list/age");
- model.setValue("/root/send/data/singdata/srchpid", pid);
- model.setValue("/root/send/data/singdata/deptcd" , deptcd);
- cmb_orddept.dispatch("xforms-value-changed");
- //model.setValue("/root/send/data/singdata/wardcd", wardcd);
- //model.setValue("/root/send/data/singdata/drid" , medispclid);
- model.makeValue("/root/main/patinfo/patinfolist/hngnm", hngnm);
- model.makeValue("/root/main/patinfo/patinfolist/rrgstno1", rrgstno1);
- model.makeValue("/root/main/patinfo/patinfolist/rrgstno2", rrgstno2);
- model.makeValue("/root/main/patinfo/patinfolist/sex", sex);
- model.makeValue("/root/main/patinfo/patinfolist/age", age);
- model.SetValue("/root/send/data/singdata/chkcheck", "ALL");
- model.refresh();
-
- if ( model.getValue("/root/send/data/singdata/srchpid") != "" ) {
- // fGetMainDistinctDailyList();
- // fGetMainDailyList2();
- /*****************************************************************************************************************************/
- //사용자 환경설정 20081204
- //사용자 진료과 전체선택 유무 20081210
- fSetUserBaseInit();
- fSetUserDeptInit();
- fSetUserTabInit();
- /*****************************************************************************************************************************/
- }
-
- }else{
- // alert('3');
- /*****************************************************************************************************************************/
- //사용자 환경설정 20081204
- //사용자 진료과 전체선택 유무 20081210
- fSetUserBaseInit();
- fSetUserDeptInit();
- fSetUserTabInit();
- /*****************************************************************************************************************************/
- }
- }
- } else {
-
- //model.setValue("/root/send/data/singdata/srchpid", "19420879");
- if ( model.getValue("/root/send/data/singdata/srchpid") != "" ) {
-
- if ( (model.getValue("/root/send/data/singdata/srchdate11") != "" )
- && (model.getValue("/root/send/data/singdata/srchdate22") != "" )
- && (model.getValue("/root/send/data/singdata/listflag2") != "" ) ) { // 진료요청 , 20080116
- model.setValue("/root/send/data/singdata/srchdate1", model.getValue("/root/send/data/singdata/srchdate11") );
- model.setValue("/root/send/data/singdata/srchdate2", model.getValue("/root/send/data/singdata/srchdate22") );
- model.setValue("/root/send/data/singdata/listflag", model.getValue("/root/send/data/singdata/listflag2") );
- }
- //alert("진료요청 , 20080116");
-
- // 환자정보 가져오기
- aezfGetSrchPatInfo("1", model.getValue ( "/root/send/data/singdata/srchpid" ), getUserInfo("dutplceinstcd"), "patchosinfo", "/root/main/patinfo/patinfolist" );
- model.SetValue("/root/send/data/singdata/chkcheck", "ALL");
- //model.refresh();
- // fGetMainDistinctDailyList();
- // fGetMainDailyList2();
-
- /*****************************************************************************************************************************/
- //사용자 환경설정 20081204
- //사용자 진료과 전체선택 유무 20081210
- //fSetUserBaseInit();
- fSetUserDeptInit();
- fSetUserTabInit();
- /*****************************************************************************************************************************/
-
- } else {
- /*****************************************************************************************************************************/
- //사용자 환경설정 20081204
- //사용자 진료과 전체선택 유무 20081210
- fSetUserBaseInit();
- fSetUserDeptInit();
- fSetUserTabInit();
- /*****************************************************************************************************************************/
- }
- }
-
- // 병리결과 버튼 비활성화여부
- var instance1 = model.getValue("/root/send/globalinstance/instance1");
- model.setValue("/root/send/globalinstance/instance1","1000000000");
- model.setValue("/root/send/grupcdid","S001");
- if (submit("TRAEB00010")) {
- if (model.getValue("/root/main/codelist/item/cdid") == "Y") {
- btn_PathoRsltOld.visible = true;
- }
- }
- model.setValue("/root/send/globalinstance/instance1",instance1);
-
- model.SetValue("/root/send/data/singdata/chkcheck", "");
- model.setFocus("ipt_pid");
- grd_maindaily.fixedcellcheckbox(0,0)=true;
- datagrid1.fixedcellcheckbox(0,0)=true;
-
- // 나의 환자리스트 가져오기
- //btn_MyPatList.dispatch("DOMActivate");
-
- // 소속 기관이 서울성모인 경우만 카디악연동 버튼 활성화 20090626
- var instcd = getUserInfo("dutplceinstcd");
-
- if (instcd =="012"){
- btn_cadiac.visible = true;
- }
-
- // opener 검사 20090727 진료 김소정 선생님 요청.
- // 임상시험 의뢰자 관련하여 [피보험자]라는 화면에서 결과조회를 팝업으로 CALL 할때 다른 등록번호를 조회할 수 없도록.
- if(checkOpener()) {
- var authflagpid = opener.javascript.getParameter("opener_parameter_id"); //opener parameter value를 get
- var authflag = opener.javascript.getParameter("opener_parameter_authflag"); //opener parameter value를 get
- if (authflag == "N"){
- //alert("임상시험 피보험자 화면에서 Call");
- ipt_pid.disabled = true; // 등록번호 입력란
- button5.visible = false; // 이름 검색버튼
- btn_MyPatList.visible = false; // 대상자조회 버튼
- button40.visible = false; // 출력 버튼
- button1.visible = false; // 엑셀 버튼
-
- model.setValue("/root/send/data/singdata/srchpid", authflagpid);
- aezfGetSrchPatInfo("1", model.getValue ( "/root/send/data/singdata/srchpid" ), getUserInfo("dutplceinstcd"), "patchosinfo", "/root/main/patinfo/patinfolist" );
-
- model.makeNode("/root/hidden/patinfo/patinfolist");
- copyNodesetType("/root/hidden/patinfo/patinfolist", "/root/main/patinfo/patinfolist" , "replace");
- }
- }
-
- model.refresh();
-
- ]]>
- </script>
- <bind id="bind_prcpgenrflagcd" ref="/root/main/ordlist1/maindailylist/prcpgenrflag" readonly="../prcpgenrflag!=''"/>
- <bind id="bind_prcpgenrflagcd1" ref="/root/main/ordlist2/mainserious/prcpgenrflag" readonly="../prcpgenrflag!=''"/>
- <bind id="bind_prcpgenrflagcd2" ref="/root/main/ordlist4/mainprogress/prcpgenrflag" readonly="../prcpgenrflag!=''"/>
- <submission id="TRAER00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_ward"/>
- <submission id="TRAER00802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data/singdata/wardcd" replace="instance" resultref="/root/init/cmb_room"/>
- <submission id="TRAER00803" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_orddept"/>
- <submission id="TRAER00804" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data/singdata/deptcd" replace="instance" resultref="/root/init/cmb_orddr"/>
- <submission id="TRAER00806" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data/singdata" replace="instance" resultref="/root/main/ordlist1"/>
- <submission id="TRAER00822" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data/singdata" replace="instance" resultref="/root/main/ordlist1"/>
- <submission id="TRAER00850" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/maindata" replace="instance" resultref="/root/main/subresultdetail1"/>
- <submission id="TRAER00851" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data/singdata" replace="instance" resultref="/root/main/subresultdetail1"/>
- <submission id="TRZBC00101"/>
- <submission id="TRAER00810" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data/singdata" replace="instance" add="bottom" resultref="/root/main/ordlist4"/>
- <submission id="TRAER00808" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data/singdata" replace="instance" resultref="/root/main/ordlist5"/>
- <submission id="TRAER00809" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data/singdata" replace="instance" resultref="/root/main/ordlist2"/>
- <!--<submission id="TRAER00816" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/temp/rsltlist"/> -->
- <submission id="TRLLP01201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/temp/rsltlist"/>
- <submission id="TRAER00813" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/setdata" resultref="/root/main/prmsprcpsetinfo"/>
- <submission id="TRAER00815" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/deptlist"/>
- <submission id="TRAER00817" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/prmsprcppdsetinfo"/>
- <submission id="TRAER00811" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data/singdata" replace="instance" resultref="/root/init/baseorddd"/>
- <submission id="TRAER00812" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data/singdata" replace="instance" resultref="/root/main/ordlist6"/>
- <submission id="TRAER00821" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data/singdata" replace="instance" resultref="/root/main/ordlist6"/>
- <submission id="TRAER00818" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/pacssend/pacsdata" replace="instance" resultref="/root/init/initpacskey"/>
- <submission id="TRMRI00405" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/xslt/translist"/>
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/LB0103"/>
- <submission id="TRMMO02501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/patinfo"/>
- <submission id="TRMMB01104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/interface"/>
- <submission id="TRAER00823" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_basecd"/>
- <submission id="TRAEB00010" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/codelist"/>
- <submission id="TRAER00830" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main"/>
- <submission id="TRAER00852" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/maindata" replace="instance" resultref="/root/main/subresultdetail2"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/SMAER00800.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/pacsweb/js/ZEP001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMB01100.js"/>
- <script type="javascript" src="../../../emr/medirecweb/js/MMR01200.js"/>
- <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
- <script type="javascript">
- <![CDATA[
-
- /**
- * @desc : lt, gt 변환
- * @id :
- * @event :
- * @return : void
- * @authur : 박종훈
- */
- function doReplaceLtGt()
- {
-
- var nodelist = model.instances(0).selectNodes("/root/main/subordlist1/subresultdetail1[img = 'IMG']/reptrslt");
- var shape = "";
- for (var i = 0; i < nodelist.length; i++)
- {
- if (nodelist.item(i).text.indexOf("<") == 0)
- {
- shape = nodelist.item(i).text.replace(/</gi, "<");
- nodelist.item(i).text = shape.replace(/>/gi, ">");
- }
- }
- }
-
- function fSubGrdCheckBoxDel() {
-
- var srchLength1 = model.instances(0).selectNodes( "/root/main/subordlist1/subresultdetail1" ).length;
- for ( var i = 1; i <= srchLength1; i++ ) {
-
- if (model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/check") == "Y" ) {
- model.setValue("/root/main/subordlist1/subresultdetail1["+ i +"]/check", "N");
- }
- }
- model.refresh();
- }
-
- function fMainDailyGrdCheckBoxDel() {
-
- var srchLength1 = model.instances(0).selectNodes( "/root/main/ordlist1/maindailylist" ).length;
- for ( var i = 1; i <= srchLength1; i++ ) {
-
- if (model.getValue("/root/main/ordlist1/maindailylist["+ i +"]/check") == "Y" ) {
- model.setValue("/root/main/ordlist1/maindailylist["+ i +"]/check", "N");
- }
- }
- model.refresh();
- }
- function fMainDailyGrdCopy() {
-
- aezfSendMarkBuf(grd_subresultdetail1, "reptrslt", "/root/main/subordlist1/subresultdetail1");
- }
- function check() {
-
- alert('개발중입니다.');return;
- }
-
- function fSort() {
-
- grd_maindaily.rebuild();
-
- var listflag = model.getValue("/root/send/data/singdata/listflag");
- var col = 0;
-
- if (listflag == "P") {
- col = grd_maindaily.colRef("prcpdd1");
- } else if (listflag == "J") {
- //col = grd_maindaily.colRef("prcpdd1");
- col = grd_maindaily.colRef("execdd1");
- } else {
- col = grd_maindaily.colRef("lastreptdd");
- }
-
- grd_maindaily.colSort(col) = "desc";
- grd_maindaily.sort(1, col, grd_maindaily.rows-1, grd_maindaily.cols-1) = "usersort";
- grd_maindaily.gridToInstance();
-
- /* 진료과 or 타진료과의 최근 내원일 기준으로 조회방식 변경에 따라 무조건 10가지 체크하는 로직 제거함. 20081011, 장준원
- var rows = grd_maindaily.rows;
-
- if (rows > 11 ) {
- for (i=1; i <11; i++) {
- grd_maindaily.valueMatrix(i, grd_maindaily.colRef("check")) = "Y";
- }
- } else {
- for (i=1; i <rows; i++) {
- grd_maindaily.valueMatrix(i, grd_maindaily.colRef("check")) = "Y";
- }
- }
-
- if (rows > 1) {
- fClickResultContinueList();
- }
- */
- // 진료과 or 타과의 진료일자(입원일) 기준으로 체크된것이 없으면 Default 상위 10개를 자동 뿌려준다. 20081011, 장준원
- /*
- var srchLength1 = model.instances(0).selectNodes( "/root/main/ordlist1/maindailylist" ).length;
- var cnt = 0;
- for ( var i = 1; i <= srchLength1; i++ ) {
-
- if ( model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/check") >= "Y") {
- cnt++
- }
- }
-
- if ( cnt == 0 ) {
-
- var rows = grd_maindaily.rows;
- if (rows > 11 ) {
- for (i=1; i <11; i++) {
- grd_maindaily.valueMatrix(i, grd_maindaily.colRef("check")) = "Y";
- }
- } else {
- for (i=1; i <rows; i++) {
- grd_maindaily.valueMatrix(i, grd_maindaily.colRef("check")) = "Y";
- }
- }
-
- if (rows > 1) {
- fClickResultContinueList();
- }
- }
- */
- }
- function fSort2() {
-
- datagrid1.rebuild();
-
- var listflag = model.getValue("/root/send/data/singdata/listflag");
- var col = 0;
-
- if (listflag == "P") {
- col = datagrid1.colRef("prcpdd1");
- } else if (listflag == "J") {
- //col = datagrid1.colRef("prcpdd1");
- col = datagrid1.colRef("execdd1");
- } else {
- col = datagrid1.colRef("lastreptdd");
- }
-
- datagrid1.colSort(col) = "desc";
- datagrid1.sort(1, col, datagrid1.rows-1, datagrid1.cols-1) = "usersort";
- datagrid1.gridToInstance();
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 진검분류별 기준 코드 조회를 위한 Function
- */
- function fLbCodelist() {
- model.setValue("/root/send/codeflag", "0102|"); // 0102= 중분류 // 0103 검사그룹
- submit("TRLZZ00101");
- model.setValue("/root/init/LB0102[1]/nm", " 진검분류별 누적조회");
-
- }
- function fClose(){
- window.close();
- }
- function fGetPatInfo() {
-
- modal("SPPMC02500", "", "200", "200", "SPPMC02500","/root/send/data/singdata/srchpid","/root/main/send");
- model.setValue("/root/send/data/singdata/srchpid", model.getValue("/root/main/patinfo/patinfolist/pid") );
- model.refresh();
- //if ( btn_case1.selected == true ) inputEnterKey("btn_dailysrch", "DOMActivate");
- //else inputEnterKey("btn_srch", "DOMActivate");
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 병실정보 조회를 위한 Function
- */
- function fChngSrchRoomCd() {
-
- if ( model.getValue("/root/send/data/singdata/wardcd") == "" ) return;
- //alert(cmb_wardcd.value);
- //alert(model.getValue("/root/send/data/singdata/wardcd"));
- model.resetInstanceNode("/root/init/cmb_room/initexecroom");
- submit("TRAER00802");
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 주치의정보 조회를 위한 Function
- */
- function fChngSrchDrId() {
-
- if ( model.getValue("/root/send/data/singdata/deptcd") == "" ) return;
- //alert(cmb_wardcd.value);
- //alert(model.getValue("/root/send/data/singdata/deptcd"));
- model.resetInstanceNode("/root/init/cmb_orddr/initexecorddr");
- submit("TRAER00804");
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 검사구분을 Check 하기 위한 Function
- */
- function fcheckyn() {
- if ( model.getValue("/root/send/data/singdata/chkcheck") == "ALL" ) {
-
- model.setValue("/root/send/data/singdata/chkcheck1",""); model.setValue("/root/send/data/singdata/chkcheck2","");
- model.setValue("/root/send/data/singdata/chkcheck3",""); model.setValue("/root/send/data/singdata/chkcheck4","");
- model.setValue("/root/send/data/singdata/chkcheck5",""); model.setValue("/root/send/data/singdata/chkcheck6","");
- model.setValue("/root/send/data/singdata/chkcheck7",""); model.setValue("/root/send/data/singdata/chkcheck8","");
- }
- //model.refresh();
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 검사구분을 Check 하기 위한 Function
- */
- function fcheckyn2(gubn) {
-
- switch (gubn) {
-
- case "A" :
- model.setValue("/root/send/data/singdata/chkcheck","");
- model.setValue("/root/send/data/singdata/chkcheck2", ""); model.setValue("/root/send/data/singdata/chkcheck3", "");
- model.setValue("/root/send/data/singdata/chkcheck4", ""); model.setValue("/root/send/data/singdata/chkcheck5", "");
- model.setValue("/root/send/data/singdata/chkcheck6", ""); model.setValue("/root/send/data/singdata/chkcheck7", ""); break;
- case "B" :
- model.setValue("/root/send/data/singdata/chkcheck","");
- model.setValue("/root/send/data/singdata/chkcheck1", ""); model.setValue("/root/send/data/singdata/chkcheck3", "");
- model.setValue("/root/send/data/singdata/chkcheck4", ""); model.setValue("/root/send/data/singdata/chkcheck5", "");
- model.setValue("/root/send/data/singdata/chkcheck6", ""); model.setValue("/root/send/data/singdata/chkcheck7", ""); break;
- case "C" :
- model.setValue("/root/send/data/singdata/chkcheck","");
- model.setValue("/root/send/data/singdata/chkcheck1", ""); model.setValue("/root/send/data/singdata/chkcheck2", "");
- model.setValue("/root/send/data/singdata/chkcheck4", ""); model.setValue("/root/send/data/singdata/chkcheck5", "");
- model.setValue("/root/send/data/singdata/chkcheck6", ""); model.setValue("/root/send/data/singdata/chkcheck7", ""); break;
- case "D" :
- model.setValue("/root/send/data/singdata/chkcheck","");
- model.setValue("/root/send/data/singdata/chkcheck1", ""); model.setValue("/root/send/data/singdata/chkcheck2", "");
- model.setValue("/root/send/data/singdata/chkcheck3", ""); model.setValue("/root/send/data/singdata/chkcheck5", "");
- model.setValue("/root/send/data/singdata/chkcheck6", ""); model.setValue("/root/send/data/singdata/chkcheck7", ""); break;
- case "E" :
- model.setValue("/root/send/data/singdata/chkcheck","");
- model.setValue("/root/send/data/singdata/chkcheck1", ""); model.setValue("/root/send/data/singdata/chkcheck2", "");
- model.setValue("/root/send/data/singdata/chkcheck3", ""); model.setValue("/root/send/data/singdata/chkcheck4", "");
- model.setValue("/root/send/data/singdata/chkcheck6", ""); model.setValue("/root/send/data/singdata/chkcheck7", ""); break;
- case "F" :
- model.setValue("/root/send/data/singdata/chkcheck","");
- model.setValue("/root/send/data/singdata/chkcheck1", ""); model.setValue("/root/send/data/singdata/chkcheck2", "");
- model.setValue("/root/send/data/singdata/chkcheck3", ""); model.setValue("/root/send/data/singdata/chkcheck4", "");
- model.setValue("/root/send/data/singdata/chkcheck5", ""); model.setValue("/root/send/data/singdata/chkcheck7", ""); break;
- case "G" :
- model.setValue("/root/send/data/singdata/chkcheck","");
- model.setValue("/root/send/data/singdata/chkcheck1", ""); model.setValue("/root/send/data/singdata/chkcheck2", "");
- model.setValue("/root/send/data/singdata/chkcheck3", ""); model.setValue("/root/send/data/singdata/chkcheck4", "");
- model.setValue("/root/send/data/singdata/chkcheck5", ""); model.setValue("/root/send/data/singdata/chkcheck6", ""); break;
- default : break;
- }
-
- // if ( model.getValue("/root/send/data/singdata/chkcheck8") == "H" ) model.setValue("/root/send/data/singdata/chkcheck","");
- //model.refresh();
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 조건 일자별 메인조회를 위한 조건체크 Function
- */
- function fGetMainListCondiCheck_Case1() {
- if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
-
- // 경고창 뜨지 않게 체크함. 20081230, 장준원
- //messageBox("[조회필수항목-등록번호]는 필수입력 항목입니다.","I999");
- model.setfocus( "ipt_pid" );
- return "0";
- }
-
- // if ( model.getValue("/root/send/data/singdata/chkcheck") == "" &&
- // model.getValue("/root/send/data/singdata/chkcheck1") == "" && model.getValue("/root/send/data/singdata/chkcheck2") == "" &&
- // model.getValue("/root/send/data/singdata/chkcheck3") == "" && model.getValue("/root/send/data/singdata/chkcheck4") == "" &&
- // model.getValue("/root/send/data/singdata/chkcheck5") == "" && model.getValue("/root/send/data/singdata/chkcheck6") == "" &&
- // model.getValue("/root/send/data/singdata/chkcheck7") == "" && model.getValue("/root/send/data/singdata/chkcheck8") == "" ) {
- // messageBox("[조회필수항목-검사구분] 중 한가지 이상 체크하십시오.","I999");
- // return "0";
- // }
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 조건 검사분류별 메인조회를 위한 조건체크 Function
- */
- function fGetMainListCondiCheck_Case2() {
-
- if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
- // 경고창 뜨지 않게 체크함. 20081230, 장준원
- //messageBox("[조회필수항목-등록번호]는 필수입력 항목입니다.","I999");
- model.setfocus( "ipt_pid" );
- return "0";
- }
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 조건 SET별 메인조회를 위한 조건체크 Function
- */
- function fGetMainListCondiCheck_Case3() {
-
- if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
- // 경고창 뜨지 않게 체크함. 20081230, 장준원
- //messageBox("[조회필수항목-등록번호]는 필수입력 항목입니다.","I999");
- model.setfocus( "ipt_pid" );
- return "0";
- }
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 조건 진행상태별 메인조회를 위한 조건체크 Function
- */
- function fGetMainListCondiCheck_Case4() {
-
- if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
- // 경고창 뜨지 않게 체크함. 20081230, 장준원
- //messageBox("[조회필수항목-등록번호]는 필수입력 항목입니다.","I999");
- model.setfocus( "ipt_pid" );
- return "0";
- }
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 조건 메인 일자별 처방일기준 조회 Function
- */
- function fGetMainDistinctDailyList() {
- //btn_case1.selected = true;
- //model.toggle("case1");
-
- grp_makedset.visible = false;
- datagrid2.visible = false;
- grd_subresultdetail1.visible = true;
- fGetWideListX1(switch1, grd_maindaily);
-
- // 조건 체크
- var check = fGetMainListCondiCheck_Case1();
- if ( check == "0" ) return true;
-
- if ( model.getValue("/root/send/data/singdata/chkcheck") == "ALL" ) {
- fcheckyn();
- }
- // Grid 초기화
- fInitGrid();
-
- model.setValue("/root/send/data/singdata/tabflag","distinctdaily");
- //alert('IN->'+model.getValue("/root/send/data/singdata/chkcheck"));
-
- //model.refresh();
- submit("TRAER00812");
-
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 조건 메인 일자별 처방일기준 조회 Function
- */
- function fGetMainDistinctDailyList2() {
- btn_case5.selected = true;
- model.toggle("case5");
- grp_makedset.visible = false;
- datagrid2.visible = false;
- grd_subresultdetail1.visible = true;
- fGetWideListX1(switch1, datagrid1);
-
- // 조건 체크
- var check = fGetMainListCondiCheck_Case1();
- if ( check == "0" ) return true;
-
- if ( model.getValue("/root/send/data/singdata/chkcheck") == "ALL" ) {
- fcheckyn();
- }
- // Grid 초기화
- fInitGrid();
-
- model.setValue("/root/send/data/singdata/tabflag","distinctdaily");
- //alert('IN->'+model.getValue("/root/send/data/singdata/chkcheck"));
-
- model.refresh();
- submit("TRAER00812");
-
- }
- /* @group : 접수관리(진단방사선)
- * @ver : 2007.03.21
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : Grid초기화 Function
- */
- function fInitGrid() {
- model.resetInstanceNode("/root/main/ordlist1/maindailylist");
- model.resetInstanceNode("/root/main/ordlist2/mainserious");
- model.resetInstanceNode("/root/main/ordlist5/mainseriouslist");
- model.resetInstanceNode("/root/main/ordlist3/mainset");
- model.resetInstanceNode("/root/main/ordlist4/mainprogress");
- model.resetInstanceNode("/root/main/subordlist1/subresultdetail1");
-
- // 일자별 조회만 적용. 20080727 , 장준원
- //alert(rdo_statecd.value);
- if ( btn_case1.selected == true ) {
-
- // 보고일 기준
- if ( rdo_statecd.value == "Z" ) {
- grd_maindaily.colhidden(grd_maindaily.colref("lastreptdd")) = false;
- grd_maindaily.colhidden(grd_maindaily.colref("lastreptdd1")) = true;
-
- grd_maindaily.colhidden(grd_maindaily.colref("prcpdd1")) = true;
- grd_maindaily.colhidden(grd_maindaily.colref("prcpdd")) = false;
- grd_maindaily.colhidden(grd_maindaily.colref("execdd1")) = true;
- grd_maindaily.colhidden(grd_maindaily.colref("execdd")) = false;
-
- // 검사일 기준
- } else if ( rdo_statecd.value == "J" ) {
- grd_maindaily.colhidden(grd_maindaily.colref("execdd1")) = false;
- grd_maindaily.colhidden(grd_maindaily.colref("execdd")) = true;
-
- grd_maindaily.colhidden(grd_maindaily.colref("lastreptdd")) = true;
- grd_maindaily.colhidden(grd_maindaily.colref("lastreptdd1")) = false;
- grd_maindaily.colhidden(grd_maindaily.colref("prcpdd1")) = true;
- grd_maindaily.colhidden(grd_maindaily.colref("prcpdd")) = false;
- // 처방일 기준
- } else if ( rdo_statecd.value == "P" ) {
- grd_maindaily.colhidden(grd_maindaily.colref("prcpdd1")) = false;
- grd_maindaily.colhidden(grd_maindaily.colref("prcpdd")) = true;
-
- grd_maindaily.colhidden(grd_maindaily.colref("lastreptdd")) = true;
- grd_maindaily.colhidden(grd_maindaily.colref("lastreptdd1")) = false;
- grd_maindaily.colhidden(grd_maindaily.colref("execdd1")) = true;
- grd_maindaily.colhidden(grd_maindaily.colref("execdd")) = false;
- }
- }
- if ( btn_case5.selected == true ) {
-
- // 보고일 기준
- if ( rdo_statecd.value == "Z" ) {
- datagrid1.colhidden(datagrid1.colref("lastreptdd")) = false;
- datagrid1.colhidden(datagrid1.colref("lastreptdd1")) = true;
-
- datagrid1.colhidden(datagrid1.colref("prcpdd1")) = true;
- datagrid1.colhidden(datagrid1.colref("prcpdd")) = false;
- datagrid1.colhidden(datagrid1.colref("execdd1")) = true;
- datagrid1.colhidden(datagrid1.colref("execdd")) = false;
-
- // 검사일 기준
- } else if ( rdo_statecd.value == "J" ) {
- datagrid1.colhidden(datagrid1.colref("execdd1")) = false;
- datagrid1.colhidden(datagrid1.colref("execdd")) = true;
-
- datagrid1.colhidden(datagrid1.colref("lastreptdd")) = true;
- datagrid1.colhidden(datagrid1.colref("lastreptdd1")) = false;
- datagrid1.colhidden(datagrid1.colref("prcpdd")) = false;
- datagrid1.colhidden(datagrid1.colref("prcpdd1")) = true;
-
- // 처방일 기준
- } else if ( rdo_statecd.value == "P" ) {
- datagrid1.colhidden(datagrid1.colref("prcpdd1")) = false;
- datagrid1.colhidden(datagrid1.colref("prcpdd")) = true;
-
- datagrid1.colhidden(datagrid1.colref("lastreptdd")) = true;
- datagrid1.colhidden(datagrid1.colref("lastreptdd1")) = false;
- datagrid1.colhidden(datagrid1.colref("execdd1")) = true;
- datagrid1.colhidden(datagrid1.colref("execdd")) = false;
- }
- }
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 조건 메인 일자별조회 Function
- */
- function fGetMainDailyList() {
- btn_case1.selected = true;
- model.toggle("case1");
- grp_makedset.visible = false;
- datagrid2.visible = false;
- grd_subresultdetail1.visible = true;
- //fGetWideListX1(switch1, grd_maindaily);
-
- // 조건 체크
- var check = fGetMainListCondiCheck_Case1();
- if ( check == "0" ) return true;
-
- if ( model.getValue("/root/send/data/singdata/chkcheck") == "ALL" ) {
- fcheckyn();
- }
- // Grid 초기화
- fInitGrid();
-
- // Progress Start
- openLoadingBar();
- // 환자정보
- fGetMainSrchPatInfo();
-
- model.setValue("/root/send/data/singdata/tabflag","daily");
- //alert('IN->'+model.getValue("/root/send/data/singdata/chkcheck"));
-
- //model.refresh();
-
- submit("TRAER00806", false);
- var srchLength1 = model.instances(0).selectNodes( "/root/main/ordlist1/maindailylist" ).length;
- //var cnt = 0;
- // 일자별 전체조회일경우만 기준일자 조회
- if ( srchLength1 > 0 ) {
- submit("TRAER00811");
-
- var orddd = model.getValue("/root/init/baseorddd/initorddd/orddd");
- var gubun = model.getValue("/root/init/baseorddd/initorddd/gubun");
-
- var srchLength1 = model.instances(0).selectNodes( "/root/main/ordlist1/maindailylist" ).length;
-
- // Grid Background Color Clear
- for ( var i = 1; i <= srchLength1; i++ ) {
- grd_maindaily.rowstyle( i , "data" , "background-color" ) = "#ffffff";
- }
-
- for ( var i = 1; i <= srchLength1; i++ ) {
- // 전자서명번호가 존재하면 색상을 변경한다. 즉, 사본출력가능한 처방이면서 원래 서식모양으로 보여주기 위해, 20080214
- if ( model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/signno") == "") {
- var signno = 0;
- }else {
- var signno = parseInt(model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/signno"));
- }
- if ( signno > 0 ) {
-
- grd_maindaily.rowstyle( i , "data" , "background-color" ) = "#b9e5fb";
-
- }
- }
- // 기본설정 기능으로 결과상세조회할 지 의 여부를 판단한다. 20090109
- //var rtncnt = fGetResultContinueListInit1();
-
- // 1. execprcpuniqno가 0이 아니면서(검사/치료만적용)
- // 2. Signno가 동일 값이면
- // => 다중처방 단일서식이기에 결과내역은 한 건만 조회되게 한다.
- var flag = "N";
- for ( var i = 1; i <= srchLength1; i++ ) {
-
- var execprcpuniqno = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/execprcpuniqno");
- var signno = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/signno");
-
- //alert(execprcpuniqno);
-
- if ( execprcpuniqno != "0" && signno != "0" && signno != "" ) {
-
- for ( var j = 1; j <= srchLength1; j++ ) {
-
- var vsignno = model.getValue("/root/main/ordlist1/maindailylist[" + j + "]/signno");
- //alert('i->' + i + ', j->' + j + ', signno->' + signno + ', vsignno->' + vsignno);
-
- if ( i != j && signno == vsignno ) {
- //alert('다중 처방이면서 단일서식 결과가 존재합니다. 테스트중입니다!!');
- model.setValue("/root/main/ordlist1/maindailylist[" + j + "]/check", "N");
- flag = "Y";
- }
-
- }
- }
-
- if ( flag == "Y" ) break;
-
- }
- model.refresh();
-
- // 기본설정 기능으로 결과상세조회할 지 의 여부를 판단한다. 20090109
- fGetResultContinueListInit1();
- //if ( rtncnt > 0 ) fClickResultContinueList();
-
- // 날짜별 정렬
- fSort();
- }
-
- // 20080727, 장준원
- // 조회기준이 보고or검사일 : 처방일자 <-> 보고일자
- // 조회기준이 처방일 : 보고일자<->처방일자
-
- // Progress End
- closeLoadingBar();
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 조건 메인 일자별조회 Function
- */
- function fGetMainDailyList2() {
- btn_case5.selected = true;
- model.toggle("case5");
- grp_makedset.visible = false;
- datagrid2.visible = false;
- grd_subresultdetail1.visible = true;
- //fGetWideListX1(switch1, grd_maindaily);
-
- // 조건 체크
- var check = fGetMainListCondiCheck_Case1();
- if ( check == "0" ) return true;
-
- if ( model.getValue("/root/send/data/singdata/chkcheck") == "ALL" ) {
- fcheckyn();
- }
- // Grid 초기화
- fInitGrid();
- // Progress Start
- openLoadingBar();
-
- // 환자정보
- fGetMainSrchPatInfo();
-
- model.setValue("/root/send/data/singdata/tabflag","daily");
- //alert('IN->'+model.getValue("/root/send/data/singdata/chkcheck"));
-
- //model.refresh();
-
- submit("TRAER00822", false);
-
- var srchLength1 = model.instances(0).selectNodes( "/root/main/ordlist1/maindailylist" ).length;
- var cnt = 0;
- // 일자별 전체조회일경우만 기준일자 조회
- if ( srchLength1 > 0 ) {
- submit("TRAER00811");
-
- var orddd = model.getValue("/root/init/baseorddd/initorddd/orddd");
- var gubun = model.getValue("/root/init/baseorddd/initorddd/gubun");
-
- var srchLength1 = model.instances(0).selectNodes( "/root/main/ordlist1/maindailylist" ).length;
-
- // Grid Background Color Clear
- for ( var i = 1; i <= srchLength1; i++ ) {
- datagrid1.rowstyle( i , "data" , "background-color" ) = "#ffffff";
- }
-
-
- // 전자서명번호가 존재하면 색상을 변경한다. 즉, 사본출력가능한 처방이면서 원래 서식모양으로 보여주기 위해, 20080214
- for ( var i = 1; i <= srchLength1; i++ ) {
- if ( model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/signno") == "") {
- var signno = 0;
- }else {
- var signno = parseInt(model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/signno"));
- }
- if ( signno > 0 ) {
-
- datagrid1.rowstyle( i , "data" , "background-color" ) = "#b9e5fb";
-
- }
- }
-
-
- // 1. execprcpuniqno가 0이 아니면서(검사/치료만적용)
- // 2. Signno가 동일 값이면
- // => 다중처방 단일서식이기에 결과내역은 한 건만 조회되게 한다.
- var flag = "N";
- for ( var i = 1; i <= srchLength1; i++ ) {
-
- var execprcpuniqno = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/execprcpuniqno");
- var signno = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/signno");
-
- //alert(execprcpuniqno);
-
- if ( execprcpuniqno != "0" && signno != "0" && signno != "" ) {
-
- for ( var j = 1; j <= srchLength1; j++ ) {
-
- var vsignno = model.getValue("/root/main/ordlist1/maindailylist[" + j + "]/signno");
- //alert('i->' + i + ', j->' + j + ', signno->' + signno + ', vsignno->' + vsignno);
-
- if ( i != j && signno == vsignno ) {
- //alert('다중 처방이면서 단일서식 결과가 존재합니다. 테스트중입니다!!');
- model.setValue("/root/main/ordlist1/maindailylist[" + j + "]/check", "N");
- flag = "Y";
- }
-
- }
- }
-
- if ( flag == "Y" ) break;
-
- }
- model.refresh();
-
- // 기본설정 기능으로 결과상세조회할 지 의 여부를 판단한다. 20090109
- fGetResultContinueListInit2();
-
- // 기본설정 기능으로 결과상세조회할 지 의 여부를 판단한다. 20090109
- //if ( cnt > 0 ) fClickResultContinueList2();
-
- // 날짜별 정렬
- fSort2();
- } else {
- model.refresh();
- }
-
- // 20080727, 장준원
- // 조회기준이 보고or검사일 : 처방일자 <-> 보고일자
- // 조회기준이 처방일 : 보고일자<->처방일자
-
- // Progress End
- closeLoadingBar();
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 조건 메인 검사분류별조회 Function
- */
- function fGetMainSeriousList() {
-
- // 조건 체크
- var check = fGetMainListCondiCheck_Case2();
- if ( check == "0" ) return true;
-
- // Grid 초기화
- fInitGrid();
-
- model.setValue("/root/send/data/singdata/tabflag","serious");
- submit("TRAER00808");
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 조건 메인 검사분류별 상세조회 Function
- */
- function fGetMainSerious(mdlcd, examgubun) {
-
- // 조건 체크
- var check = fGetMainListCondiCheck_Case2();
- if ( check == "0" ) return true;
-
- // Grid 초기화
- model.resetInstanceNode("/root/main/ordlist2/mainserious");
- model.resetInstanceNode("/root/main/subordlist1/subresultdetail1");
-
- model.setValue("/root/send/data/singdata/tabflag","serious");
- model.setValue("/root/send/data/singdata/mdlcd", mdlcd); // 중분류코드
- model.setValue("/root/send/data/singdata/examgubun", examgubun); // 중분류코드명
-
- submit("TRAER00809");
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 조건 메인 SET별조회 Function
- */
- function fGetMainSetList() {
-
- grp_makedset.visible = false; // SET전체항목조회 비활성화
- datagrid2.visible = true;
- grd_subresultdetail1.visible = false;
- grd_subresultdetail2.visible = false;
- model.setValue("/root/send/setdata/setkindcd", "D");
-
- // Progress Start
- openLoadingBar();
-
- // 환자정보
- fGetMainSrchPatInfo();
-
- readfunc();
- // Tree 자동 선택 후 조회하기
- if ( trv_prmsprcpsetlist.length > 1) {
-
- // 기본설정 기능으로 결과상세조회할 지 의 여부를 판단한다. 20090109
- fGetResultContinueListInit3();
- }else {
-
- }
-
- // Progress End
- closeLoadingBar();
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 조건 메인 진행상태별조회 Function
- */
- function fGetMainProgressList() {
-
- // 조건 체크
- var check = fGetMainListCondiCheck_Case4();
- if ( check == "0" ) return true;
-
- // Grid 초기화
- fInitGrid();
- // Progress Start
- openLoadingBar();
-
- // 환자정보
- fGetMainSrchPatInfo();
-
- // 대량조회-offset초기화
- model.removeNodeset("/root/main/ordlist4/mainprogress");
- model.makeValue("/root/send/data/singdata/offset","0");
- grd_mainprogress.rebuild();
-
- model.makeValue("/root/send/data/singdata/tabflag","progress");
- submit("TRAER00810");
-
- // Progress End
- closeLoadingBar();
- }
- function fInitial_subordlist() {
- model.removeNodeset("/root/main/subordlist1/subresultdetail1"); // 결과내역
- model.removeNodeset("/root/main/subordlist2/subresultdetail1"); // 결과내역
- model.removeNodeset("/root/send/maindata"); // 일자별 그리드
- model.makeNode("/root/send/maindata");
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : Daily , Serious 결과 내역 그리드 Setting Function
- */
- function fSetSubDetailGrid()
- {
-
-
- ////////////////////////////
- // 결과내역 그리드 세팅한다//
- ////////////////////////////
- // 체크박스 미사용(전에조회에사용된 세팅을 해제하기 위해) 해제
- // 진검의 L,H에 적용한 색상 해제 ,
- var srchLength1 = model.instances(0).selectNodes( "/root/main/subordlist1/subresultdetail1" ).length;
- for ( var i = 1; i <= srchLength1; i++ ) {
- grd_subresultdetail1.isReadOnly(i, 0, i, 1) = false; // 체크박스 미사용 해제
- grd_subresultdetail1.rowstyle( i , "data" , "background-color" ) = "#FFFFFF";
- grd_subresultdetail1.rowstyle( i , "data" , "color" ) = "#000000";
- }
-
- //model.refresh();
-
- // 타이틀 색상 정의, 진검, 검사치료, 병리에 적용 (T)
- aezfGridSetColor( "/root/main/subordlist1/subresultdetail1", "judgmark", "T", "tab_hide.gif");
-
- // 타이틀 글자 색상 정의, 진검, 검사치료, 병리에 적용 (T)
- aezfSetFontRowStyle("grd_subresultdetail1" , "15" , "T" , "judgmark" );
-
-
- // 병리의 중간결과(P)에 적용
- aezfSetRowStyle("grd_subresultdetail1" , "5" , "P" , "judgmark" );
- // 병리의 중간결과(Q)에 적용
- aezfSetRowStyle("grd_subresultdetail1" , "12" , "Q" , "judgmark" );
-
- //alert('1');
- // 진검&병리의 L,H에 적용
- aezfSetFontRowStyle("grd_subresultdetail1" , "7" , "L" , "judgmark2" );
- aezfSetFontRowStyle("grd_subresultdetail1" , "11" , "H" , "judgmark2" );
-
- // 체크박스 사용(한줄띄우기위해사용함) 해제
- for ( var i = 1; i <= srchLength1; i++ ) {
- //alert("reptrslt["+i+"]==>["+model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/reptrslt")+"]");
- if ( model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/judgmark") == "" ||
- model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/judgmark") == "T" ||
- model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/judgmark") == "P"
- ) {
- grd_subresultdetail1.isReadOnly(i, 0, i, 1) = true; // 체크박스 사용 해제
- }else {
-
- grd_subresultdetail1.isReadOnly(i, 0, i, 1) = false; // 체크박스 사용
- }
- }
- // 결과상세내역 조회 Resize Property 강제 세팅, 20080821, 장준원
- grd_subresultdetail1.resizeCells();
- //grd_subresultdetail1.refresh();
-
-
- // 서식 이미지 구현
- doReplaceLtGt();
- for ( var i = 1; i <= srchLength1; i++ ) {
-
- if ( model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/img") == "IMG" ) {
- var e = "서식 이미지 구현 실패입니다";
- try
- {
- var IMGE_SZ = 500;
- var strXvgInfo = "";
- var imgcnts = model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/imgcnts");
- var rsltcnts = model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/reptrslt");
- //obj_imge.SetViewMode(0);
- obj_imge.DeleteAllShape();
-
- var shapeinfo = rsltcnts;
-
- // caption 을 모두 CDATA 처리
- rsltcnts = fSetCdata(rsltcnts);
-
- if(rsltcnts != "")
- {
- strXvgInfo = fGetMetaMode(rsltcnts);
-
- var tmpShape = removeXvgTag(rsltcnts);
- }
- obj_imge.Clear();
-
- var viewMode = obj_imge.GetViewMode();
-
- if(viewMode != 1) { // ActiveX를 스크린 사이즈로 맞춤
- obj_imge.SetViewMode(1);
- }
-
- obj_imge.SetControlSize(strXvgInfo[1], strXvgInfo[2]);
-
- obj_imge.LoadImageBase64(imgcnts);
- //obj_imge.SetShapeString(rsltcnts);
-
- var sz = obj_imge.GetImageSizeEx(false);
- var arrSz = sz.split("|");
- var imgewid = arrSz[0];
- var imgehei = arrSz[1];
- grd_subresultdetail1.rowHeight(i) = imgehei;
-
- // 현재 OCX 크기에 이미지를 맞추어 계산한 Base64코드를 반환한다.
- var strBase64 = obj_imge.GetThumbnailBase64(imgewid, imgehei);
-
- model.setValue("/root/main/subordlist1/subresultdetail1["+ i +"]/reptrslt", strBase64, true);
- setImageRefInstance("/root/main/subordlist1/subresultdetail1["+ i +"]/reptrslt");
- model.refresh();
- }
- catch (e)
- {
- alert(e);
- }
-
- }
- }
-
- //alert('A');
- //진단검사 HLA 검사적용 여부, 20090128, 장준원
- fGetHLAList();
-
-
- }
- function fGetHLAList() {
-
- //alert(btn_case1.selected);
- //alert(btn_case5.selected);
-
- if ( btn_case1.selected || btn_case5.selected ) {
-
-
- var cnt = 0;
-
- if ( btn_case1.selected) {
-
- //alert('btn_case1 grd_maindaily.rows->'+grd_maindaily.rows);
- //alert('btn_case1 grd_maindaily.fixedRows->'+grd_maindaily.fixedRows);
-
- if ( grd_maindaily.rows >= grd_maindaily.fixedRows ) {
-
- var loop = grd_maindaily.rows - grd_maindaily.fixedRows;
-
- for( var i = 1 ; i <= loop ; i++ ) {
-
- if ( model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/hla") == "Y" ) cnt++;
-
- }
- }
-
-
- }else {
- //alert('btn_case5 datagrid1.rows->'+datagrid1.rows);
- //alert('btn_case5 datagrid1.fixedRows->'+datagrid1.fixedRows);
-
- if ( datagrid1.rows >= datagrid1.fixedRows ) {
-
- var loop = datagrid1.rows - datagrid1.fixedRows;
-
- for( var i = 1 ; i <= loop ; i++ ) {
-
- if ( model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/hla") == "Y" ) cnt++;
-
- }
- }
- }
-
-
- //alert('cnt->'+cnt);
-
- if ( cnt > 0 ) {
- model.makeValue("/root/hidden/refparam/pid" , model.getValue("/root/send/data/singdata/srchpid"));
- //model.makeValue("/root/hidden/refparam/prcpgenrflag" , "O");
-
- //alert(model.getValue("/root/hidden/refparam/prcpgenrflag"));
-
- open("SPLLP90200" , "","","","","/root/hidden/refparam" , "/root/hidden/refparam");
- return;
- }
-
-
- }else {
- //alert('return~~~');
- return;
- }
-
-
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : Daily 결과 상세조회 Function
- */
- function fClickResultList(maingridlistid) {
- if ( maingridlistid.row == 0 ) return;
-
- if ( maingridlistid.row >= maingridlistid.fixedRows ) {
-
- var row = maingridlistid.row;
-
- // 일자별
- if ( btn_case1.selected == true ) {
- fGetWideListX1(switch1, grd_maindaily);
- fInitial_subordlist();
- model.refresh();
-
- /*
- * 일자별탭 그리드 세팅한다.
- */
- var loop = grd_maindaily.rows - grd_maindaily.fixedRows;
-
- for( var i = 1 ; i <= loop ; i++ ) {
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/level","3");
- }
- // 다시 체크를 할 경우에는 체크박스만 "N"으로 세팅함.
- if ( model.getValue("/root/main/ordlist1/maindailylist[" + row + "]/check") == "Y" ) {
- model.setValue("/root/main/ordlist1/maindailylist[" + row + "]/check","N");
- return;
- }
- model.setValue("/root/main/ordlist1/maindailylist[" + row + "]/check","Y");
-
- model.makeValue("/root/main/ordlist1/maindailylist[" + row + "]/srchpid", model.getValue("/root/send/data/singdata/srchpid"));
- model.makeValue("/root/main/ordlist1/maindailylist[" + row + "]/dutplceinstcd", model.getValue("/root/send/globalinstance/instance2"));
-
- var nodeList = instance1.selectNodes("/root/main/ordlist1/maindailylist["+row+"]");
- var rCSV = getNodeListCSV(nodeList);
-
-
- // model.copyNode("/root/send/maindata" , "/root/main/ordlist1/maindailylist["+row+"]");
- //alert('rCSV하기전->'+rCSV);
- model.setValue("/root/send/maindata", rCSV);
- //alert(rCSV);
-
- submit("TRAER00850", false);
-
- model.refresh();
- /*
- * 일자별 결과내역 그리드 세팅한다.
- */
- fSetSubDetailGrid();
- /*
- * 디자인 결과내역 조회를 하기 위한 로직구현.
- */
- //fPopupXsltList();
- }
- // 일자별2
- if ( btn_case5.selected == true ) {
- fGetWideListX1(switch1, datagrid1);
- fInitial_subordlist();
- model.refresh();
-
- /*
- * 일자별탭 그리드 세팅한다.
- */
- var loop = datagrid1.rows - datagrid1.fixedRows;
-
- for( var i = 1 ; i <= loop ; i++ ) {
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/level","3");
- }
- // 다시 체크를 할 경우에는 체크박스만 "N"으로 세팅함.
- if ( model.getValue("/root/main/ordlist1/maindailylist[" + row + "]/check") == "Y" ) {
- model.setValue("/root/main/ordlist1/maindailylist[" + row + "]/check","N");
- return;
- }
- model.setValue("/root/main/ordlist1/maindailylist[" + row + "]/check","Y");
-
- model.makeValue("/root/main/ordlist1/maindailylist[" + row + "]/srchpid", model.getValue("/root/send/data/singdata/srchpid"));
- model.makeValue("/root/main/ordlist1/maindailylist[" + row + "]/dutplceinstcd", model.getValue("/root/send/globalinstance/instance2"));
- // 20090625, 장준원 추가 , 진단검사 조회 더블 클릭시 조회 오류 수정.
- model.removeNodeset("/root/send1/ordlist1/maindailylist");
- datagrid1.rebuild();
- var irow = 0;
-
- check = model.getValue("/root/main/ordlist1/maindailylist[" + row + "]/check");
- if ( check == "Y" ) {
- var examnm = model.getValue("/root/main/ordlist1/maindailylist[" + row + "]/examnm");
- var examnm1 = examnm.split(",");
- var bcno = model.getValue("/root/main/ordlist1/maindailylist[" +row+ "]/bcno");
- var bcno1 = bcno.split(",");
- var testmdlcd = model.getValue("/root/main/ordlist1/maindailylist[" + row + "]/testmdlcd");
- var testmdlcd1 = testmdlcd.split(",");
- var execprcpuniqno = model.getValue("/root/main/ordlist1/maindailylist[" + row+ "]/execprcpuniqno");
- var execprcpuniqno1 = execprcpuniqno.split(",");
- var signno = model.getValue("/root/main/ordlist1/maindailylist[" + row + "]/signno");
- var signno1 = signno.split(",");
- var formcd = model.getValue("/root/main/ordlist1/maindailylist[" + row + "]/formcd");
- var formcd1 = formcd.split(",");
- var examgubun = model.getValue("/root/main/ordlist1/maindailylist[" + row + "]/examgubun");
- var level = model.getValue("/root/main/ordlist1/maindailylist[" + row + "]/level");
- var srchpid = model.getValue("/root/main/ordlist1/maindailylist[" + row + "]/srchpid");
- var dutplceinstcd = model.getValue("/root/main/ordlist1/maindailylist[" + row + "]/dutplceinstcd");
- var check = model.getValue("/root/main/ordlist1/maindailylist[" + row + "]/check");
- var prcpdd = model.getValue("/root/main/ordlist1/maindailylist[" + row + "]/prcpdd");
- var prcpdd1 = prcpdd.split(",");
- var lastreptdd = model.getValue("/root/main/ordlist1/maindailylist[" + row + "]/lastreptdd");
-
- for (var k = 0; k < prcpdd1.length; k++ ) {
- //datagrid3.addRow();
- //var irow = datagrid3.row;
- irow = irow + 1;
- model.makeValue("/root/send1/ordlist1/maindailylist[" + irow + "]/check", check);
- model.makeValue("/root/send1/ordlist1/maindailylist[" + irow + "]/testmdlcd", testmdlcd1[k]);
- model.makeValue("/root/send1/ordlist1/maindailylist[" + irow + "]/lastreptdd", lastreptdd);
- model.makeValue("/root/send1/ordlist1/maindailylist[" + irow + "]/examgubun", examgubun);
- model.makeValue("/root/send1/ordlist1/maindailylist[" + irow + "]/level", level);
- model.makeValue("/root/send1/ordlist1/maindailylist[" + irow + "]/srchpid", srchpid);
- model.makeValue("/root/send1/ordlist1/maindailylist[" + irow + "]/dutplceinstcd", dutplceinstcd);
- model.makeValue("/root/send1/ordlist1/maindailylist[" + irow + "]/prcpdd", prcpdd1[k]);
- model.makeValue("/root/send1/ordlist1/maindailylist[" + irow + "]/execprcpuniqno", execprcpuniqno1[k]);
- model.makeValue("/root/send1/ordlist1/maindailylist[" + irow + "]/bcno", bcno1[k]);
- }
-
- }
- // 20090625, 장준원 추가 종료
- var nodeList = instance1.selectNodes("/root/send1/ordlist1/maindailylist");
-
-
- //var nodeList = instance1.selectNodes("/root/main/ordlist1/maindailylist["+row+"]");
- var rCSV = getNodeListCSV(nodeList);
-
-
- // model.copyNode("/root/send/maindata" , "/root/main/ordlist1/maindailylist["+row+"]");
- //alert('fClickResultList rCSV하기전->'+rCSV);
- model.setValue("/root/send/maindata", rCSV);
- //alert(rCSV);
-
- submit("TRAER00850", false);
-
- model.refresh();
- /*
- * 일자별 결과내역 그리드 세팅한다.
- */
- fSetSubDetailGrid();
- /*
- * 디자인 결과내역 조회를 하기 위한 로직구현.
- */
- //fPopupXsltList();
- }
-
- // 검사분류별
- if ( btn_case2.selected == true ) {
- fInitial_subordlist(); // /root/main/subordlist1/subresultdetail1
- /*
- * 그리드 세팅한다.
- */
- var loop = grd_mainserious.rows - grd_mainserious.fixedRows;
-
- for( var i = 1 ; i <= loop ; i++ ) {
- model.makeValue("/root/main/ordlist2/mainserious[" + i + "]/level","3");
- }
- model.setValue("/root/main/ordlist2/mainserious[" + row + "]/check","Y");
-
- model.makeValue("/root/main/ordlist2/mainserious[" + row + "]/srchpid", model.getValue("/root/send/data/singdata/srchpid"));
- model.makeValue("/root/main/ordlist2/mainserious[" + row + "]/dutplceinstcd", model.getValue("/root/send/globalinstance/instance2"));
-
- var nodeList = instance1.selectNodes("/root/main/ordlist2/mainserious["+row+"]");
- var rCSV = getNodeListCSV(nodeList);
-
-
- // model.copyNode("/root/send/maindata" , "/root/main/ordlist1/maindailylist["+row+"]");
- //alert('rCSV하기전->'+rCSV);
- model.setValue("/root/send/maindata", rCSV);
- //alert(rCSV);
-
- submit("TRAER00850", false);
- model.refresh();
-
- /*
- * 결과내역 그리드 세팅한다.
- */
- fSetSubDetailGrid();
-
-
-
- }
-
-
- }
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : Daily 및 Serious 결과 연속보기 상세조회 Function
- */
- function fClickResultContinueList() {
- if ( btn_case1.selected == true ) var tabselect = "daily";
- if ( btn_case2.selected == true ) var tabselect = "serious";
- if ( tabselect == "daily" ) {
-
- fGetWideListX1(switch1, grd_maindaily);
- fInitial_subordlist();
- model.refresh();
- if ( grd_maindaily.rows >= grd_maindaily.fixedRows ) {
-
- var loop = grd_maindaily.rows - grd_maindaily.fixedRows;
- //alert(loop);
- var ckcnt = 0;
-
- for( var i = 1 ; i <= loop ; i++ ) {
- check = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/check");
-
- if ( check == "Y" ) {
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/level", "3");
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/srchpid", model.getValue("/root/send/data/singdata/srchpid"));
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/dutplceinstcd", model.getValue("/root/send/globalinstance/instance2"));
-
- /* 차후 Main조회의 조건들을 넣을 경우 발생하면.. 넣는다. 조회기간, 병동, 병실, 진료과, 주치의 코드.....
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/srchdate1", model.getValue("/root/send/data/singdata/srchdate1"));
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/srchdate2", model.getValue("/root/send/data/singdata/srchdate2"));
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/wardcd", model.getValue("/root/send/data/singdata/wardcd"));
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/roomcd", model.getValue("/root/send/data/singdata/roomcd"));
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/deptcd", model.getValue("/root/send/data/singdata/deptcd"));
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/drid", model.getValue("/root/send/data/singdata/drid"));
- */
- ckcnt++;
- }
- }
- if ( ckcnt == 0 ) {
- messageBox("[연속보기] 기능은 한가지 이상 체크가 되어야 합니다.","I999");
- return true;
- }
- var nodeList = instance1.selectNodes("/root/main/ordlist1/maindailylist[check='Y']");
- var rCSV = getNodeListCSV(nodeList);
- //alert(rCSV);
- if ( rCSV == null ) {
- messageBox("[연속보기] 기능은 한가지 이상 체크가 되어야 합니다.","I999");
- return "0";
- }
-
- model.setValue("/root/send/maindata", rCSV);
-
- var chkcheck1 = model.getValue("/root/send/data/singdata/chkcheck1");
-
- // 진검일 경우
- if (chkcheck1 == "A") {
- submit("TRAER00852");
- grd_subresultdetail2.resizeCells();
- } else {
- submit("TRAER00850", false);
- model.refresh();
- /*
- * 결과내역 그리드 세팅한다.
- */
- fSetSubDetailGrid();
- }
- }
- }
-
-
- if ( tabselect == "serious" ) {
- if ( grd_mainseriouslist.row >= grd_mainseriouslist.fixedRows ) {
-
- var loop = grd_mainseriouslist.rows - grd_mainseriouslist.fixedRows;
-
- var ckcnt = 0;
-
- fInitial_subordlist(); // /root/main/subordlist1/subresultdetail1
-
-
- for( var i = 1 ; i <= loop ; i++ ) {
- check = model.getValue("/root/main/ordlist2/mainserious[" + i + "]/check");
- if ( check == "Y" ) {
- model.makeValue("/root/main/ordlist2/mainserious[" + i + "]/srchpid", model.getValue("/root/send/data/singdata/srchpid"));
- model.makeValue("/root/main/ordlist2/mainserious[" + i + "]/level", "3");
-
- /* 차후 Main조회의 조건들을 넣을 경우 발생하면.. 넣는다. 조회기간, 병동, 병실, 진료과, 주치의 코드.....
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/srchdate1", model.getValue("/root/send/data/singdata/srchdate1"));
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/srchdate2", model.getValue("/root/send/data/singdata/srchdate2"));
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/wardcd", model.getValue("/root/send/data/singdata/wardcd"));
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/roomcd", model.getValue("/root/send/data/singdata/roomcd"));
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/deptcd", model.getValue("/root/send/data/singdata/deptcd"));
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/drid", model.getValue("/root/send/data/singdata/drid"));
- */
- ckcnt++;
- }
- }
- if ( ckcnt == 0 ) {
- messageBox("[연속보기] 기능은 한가지 이상 체크가 되어야 합니다.","I999");
- return true;
- }
- var nodeList = instance1.selectNodes("/root/main/ordlist2/mainserious[check='Y']");
- var rCSV = getNodeListCSV(nodeList);
- //alert(rCSV);
- if ( rCSV == null ) {
- messageBox("[연속보기] 기능은 한가지 이상 체크가 되어야 합니다.","I999");
- return "0";
- }
-
- var chkcheck1 = model.getValue("/root/send/data/singdata/chkcheck1");
-
- // 진검일 경우
- if (chkcheck1 == "A") {
- submit("TRAER00852");
- grd_subresultdetail2.resizeCells();
- } else {
- submit("TRAER00850", false);
- model.refresh();
- /*
- * 결과내역 그리드 세팅한다.
- */
- fSetSubDetailGrid();
- }
- }
- }
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : Daily 및 Serious 결과 연속보기 상세조회 Function
- */
- function fClickResultContinueList2() {
- if ( btn_case5.selected == true ) var tabselect = "daily";
- if ( btn_case2.selected == true ) var tabselect = "serious";
- if ( tabselect == "daily" ) {
-
- fGetWideListX1(switch1, datagrid1);
- fInitial_subordlist();
- model.refresh();
- if ( datagrid1.rows >= datagrid1.fixedRows ) {
-
- var loop = datagrid1.rows - datagrid1.fixedRows;
- //alert(loop);
- var ckcnt = 0;
-
- for( var i = 1 ; i <= loop ; i++ ) {
- check = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/check");
-
- if ( check == "Y" ) {
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/level", "3");
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/srchpid", model.getValue("/root/send/data/singdata/srchpid"));
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/dutplceinstcd", model.getValue("/root/send/globalinstance/instance2"));
-
- /* 차후 Main조회의 조건들을 넣을 경우 발생하면.. 넣는다. 조회기간, 병동, 병실, 진료과, 주치의 코드.....
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/srchdate1", model.getValue("/root/send/data/singdata/srchdate1"));
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/srchdate2", model.getValue("/root/send/data/singdata/srchdate2"));
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/wardcd", model.getValue("/root/send/data/singdata/wardcd"));
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/roomcd", model.getValue("/root/send/data/singdata/roomcd"));
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/deptcd", model.getValue("/root/send/data/singdata/deptcd"));
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/drid", model.getValue("/root/send/data/singdata/drid"));
- */
- ckcnt++;
- }
- }
- if ( ckcnt == 0 ) {
- messageBox("[연속보기] 기능은 한가지 이상 체크가 되어야 합니다.","I999");
- return true;
- }
- //var nodeList = instance1.selectNodes("/root/main/ordlist1/maindailylist[check='Y']");
- model.removeNodeset("/root/send1/ordlist1/maindailylist");
- datagrid3.rebuild();
- var irow = 0;
- for( var i = 1 ; i <= loop ; i++ ) {
- check = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/check");
-
- if ( check == "Y" ) {
- var examnm = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/examnm");
- var examnm1 = examnm.split(",");
- var bcno = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/bcno");
- var bcno1 = bcno.split(",");
- var testmdlcd = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/testmdlcd");
- var testmdlcd1 = testmdlcd.split(",");
- var execprcpuniqno = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/execprcpuniqno");
- var execprcpuniqno1 = execprcpuniqno.split(",");
- var signno = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/signno");
- var signno1 = signno.split(",");
- var formcd = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/formcd");
- var formcd1 = formcd.split(",");
- var examgubun = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/examgubun");
- var level = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/level");
- var srchpid = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/srchpid");
- var dutplceinstcd = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/dutplceinstcd");
- var check = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/check");
- var prcpdd = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/prcpdd");
- var prcpdd1 = prcpdd.split(",");
- var lastreptdd = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/lastreptdd");
- for (var k = 0; k < prcpdd1.length; k++ ) {
- //datagrid3.addRow();
- //var irow = datagrid3.row;
- irow = irow + 1;
- model.makeValue("/root/send1/ordlist1/maindailylist[" + irow + "]/check", check);
- model.makeValue("/root/send1/ordlist1/maindailylist[" + irow + "]/testmdlcd", testmdlcd1[k]);
- model.makeValue("/root/send1/ordlist1/maindailylist[" + irow + "]/lastreptdd", lastreptdd);
- model.makeValue("/root/send1/ordlist1/maindailylist[" + irow + "]/examgubun", examgubun);
- model.makeValue("/root/send1/ordlist1/maindailylist[" + irow + "]/level", level);
- model.makeValue("/root/send1/ordlist1/maindailylist[" + irow + "]/srchpid", srchpid);
- model.makeValue("/root/send1/ordlist1/maindailylist[" + irow + "]/dutplceinstcd", dutplceinstcd);
- model.makeValue("/root/send1/ordlist1/maindailylist[" + irow + "]/prcpdd", prcpdd1[k]);
- model.makeValue("/root/send1/ordlist1/maindailylist[" + irow + "]/execprcpuniqno", execprcpuniqno1[k]);
- model.makeValue("/root/send1/ordlist1/maindailylist[" + irow + "]/bcno", bcno1[k]);
- }
- }
- }
- var nodeList = instance1.selectNodes("/root/send1/ordlist1/maindailylist");
-
- var rCSV = getNodeListCSV(nodeList);
- //alert(rCSV);
- if ( rCSV == null ) {
- messageBox("[연속보기] 기능은 한가지 이상 체크가 되어야 합니다.","I999");
- return "0";
- }
-
- model.setValue("/root/send/maindata", rCSV);
-
- var chkcheck1 = model.getValue("/root/send/data/singdata/chkcheck1");
-
- // 진검일 경우
- if (chkcheck1 == "A") {
- submit("TRAER00852");
- grd_subresultdetail2.resizeCells();
- } else {
- submit("TRAER00850", false);
- model.refresh();
- /*
- * 결과내역 그리드 세팅한다.
- */
- fSetSubDetailGrid();
- }
- }
- }
-
-
- if ( tabselect == "serious" ) {
- if ( grd_mainseriouslist.row >= grd_mainseriouslist.fixedRows ) {
-
- var loop = grd_mainseriouslist.rows - grd_mainseriouslist.fixedRows;
-
- var ckcnt = 0;
-
- fInitial_subordlist(); // /root/main/subordlist1/subresultdetail1
-
-
- for( var i = 1 ; i <= loop ; i++ ) {
- check = model.getValue("/root/main/ordlist2/mainserious[" + i + "]/check");
- if ( check == "Y" ) {
- model.makeValue("/root/main/ordlist2/mainserious[" + i + "]/srchpid", model.getValue("/root/send/data/singdata/srchpid"));
- model.makeValue("/root/main/ordlist2/mainserious[" + i + "]/level", "3");
-
- /* 차후 Main조회의 조건들을 넣을 경우 발생하면.. 넣는다. 조회기간, 병동, 병실, 진료과, 주치의 코드.....
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/srchdate1", model.getValue("/root/send/data/singdata/srchdate1"));
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/srchdate2", model.getValue("/root/send/data/singdata/srchdate2"));
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/wardcd", model.getValue("/root/send/data/singdata/wardcd"));
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/roomcd", model.getValue("/root/send/data/singdata/roomcd"));
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/deptcd", model.getValue("/root/send/data/singdata/deptcd"));
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/drid", model.getValue("/root/send/data/singdata/drid"));
- */
- ckcnt++;
- }
- }
- if ( ckcnt == 0 ) {
- messageBox("[연속보기] 기능은 한가지 이상 체크가 되어야 합니다.","I999");
- return true;
- }
- var nodeList = instance1.selectNodes("/root/main/ordlist2/mainserious[check='Y']");
- var rCSV = getNodeListCSV(nodeList);
- //alert(rCSV);
- if ( rCSV == null ) {
- messageBox("[연속보기] 기능은 한가지 이상 체크가 되어야 합니다.","I999");
- return "0";
- }
- model.setValue("/root/send/maindata", rCSV);
-
- var chkcheck1 = model.getValue("/root/send/data/singdata/chkcheck1");
-
- // 진검일 경우
- if (chkcheck1 == "A") {
- submit("TRAER00852");
- grd_subresultdetail2.resizeCells();
- } else {
- submit("TRAER00850", false);
- model.refresh();
- /*
- * 결과내역 그리드 세팅한다.
- */
- fSetSubDetailGrid();
- }
- }
- }
- }
- /* @group : 결과조회
- * @ver : 2008.07.26
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 세로 누적 결과 조회 Function
- */
- function fSetVertAddResult(refgbn) {
-
- var cnt = 0;
- var testcd = "";
- model.resetInstanceNode("/root/hidden/vertaddresult");
-
- if ( refgbn == "1" ) {
- //alert(refgbn);
-
- var srchLength1 = model.instances(0).selectNodes( "/root/main/subordlist1/subresultdetail1" ).length;
- //alert('srchLength1->'+srchLength1);
- for ( var i = 1; i <= srchLength1; i++ ) {
- if (model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/check") == "Y" ) {
- cnt++;
- }
-
- }
- //alert('cnt->'+cnt);
-
- if ( cnt == 1 ) {
-
- // 체크한 로우의 검사코드를 추출한다.
- for ( var j = 1; j <= srchLength1; j++ ) {
- if (model.getValue("/root/main/subordlist1/subresultdetail1["+ j +"]/check") == "Y" ) {
- testcd = model.getValue("/root/main/subordlist1/subresultdetail1["+ j +"]/prcpcd").getTrim();
- }
- }
-
- }else {
- messageBox("[세로누적조회(진검,미생물,핵의학체외)] 검사항목 1건에 대해서만 조회 가능합니다.","I999");
- return "0";
-
- }
- //alert('testcd->'+testcd);
- if ( testcd == "") return "0";
- model.setValue("/root/hidden/vertaddresult/pid" , model.getValue("/root/main/patinfo/patinfolist/pid") );
- model.setValue("/root/hidden/vertaddresult/hngnm" , model.getValue("/root/main/patinfo/patinfolist/hngnm") );
- model.setValue("/root/hidden/vertaddresult/sex" , model.getValue("/root/main/patinfo/patinfolist/sex") );
- model.setValue("/root/hidden/vertaddresult/age" , model.getValue("/root/main/patinfo/patinfolist/age") );
- model.setValue("/root/hidden/vertaddresult/testcd" , testcd);
- // LIS요청 상준 추가 20090519
- model.setValue("/root/hidden/vertaddresult/startdd" , model.getValue("/root/send/data/singdata/srchdate1") );
- model.setValue("/root/hidden/vertaddresult/enddd" , model.getValue("/root/send/data/singdata/srchdate2") );
- //alert('/root/hidden/vertaddresult->'+model.getValue("/root/hidden/vertaddresult"));
- modal("SPLLP90100","",20,248,"","/root/hidden/vertaddresult","/root/init/baseinfo");
- }
- if ( refgbn == "2" ) {
- //alert(refgbn);
-
- var srchLength1 = model.instances(0).selectNodes( "/root/main/rsltlist/row" ).length;
- //alert('srchLength1->'+srchLength1);
- for ( var i = 1; i <= srchLength1; i++ ) {
- if (model.getValue("/root/main/rsltlist/row["+ i +"]/chk") == "true" ) {
- cnt++;
- }
-
- }
- //alert('cnt->'+cnt);
- if ( cnt == 1 ) {
-
- // 체크한 로우의 검사코드를 추출한다.
- for ( var j = 1; j <= srchLength1; j++ ) {
- if (model.getValue("/root/main/rsltlist/row["+ j +"]/chk") == "true") {
- testcd = model.getValue("/root/main/rsltlist/row["+ j +"]/testcd").getTrim();
- }
- }
-
- }else {
- messageBox("[세로누적조회(진검,미생물,핵의학체외)] 검사항목 1건에 대해서만 조회 가능합니다.","I999");
- return "0";
-
- }
- //alert('testcd->'+testcd);
- if ( testcd == "") return "0";
- model.setValue("/root/hidden/vertaddresult/pid" , model.getValue("/root/main/patinfo/patinfolist/pid") );
- model.setValue("/root/hidden/vertaddresult/hngnm" , model.getValue("/root/main/patinfo/patinfolist/hngnm") );
- model.setValue("/root/hidden/vertaddresult/sex" , model.getValue("/root/main/patinfo/patinfolist/sex") );
- model.setValue("/root/hidden/vertaddresult/age" , model.getValue("/root/main/patinfo/patinfolist/age") );
- model.setValue("/root/hidden/vertaddresult/testcd" , testcd);
- // LIS요청 상준추가 20090519
- model.setValue("/root/hidden/vertaddresult/startdd" , model.getValue("/root/send/data/singdata/srchdate1") );
- model.setValue("/root/hidden/vertaddresult/enddd" , model.getValue("/root/send/data/singdata/srchdate2") );
-
- modal("SPLLP90100","",20,248,"","/root/hidden/vertaddresult","/root/init/baseinfo");
- }
-
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : SET별 누적 결과 조회 Function
- */
- function fSetAddSPCResult(refgbn) {
-
- if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
- messageBox("[누적조회][그래프] 기능은 환자번호가 체크되어야 합니다.","I999");
- return "0";
- }
- //alert("IN");
- model.resetInstanceNode("/root/hidden/addresult");
- var prcpcd = "";
- var prcpnm = "";
- var prcpcd2 = "";
- var prcpnm2 = "";
- var pnm="";
- var pnm2="";
-
- var flag = "";
-
- var srchLength1 = model.instances(0).selectNodes( "/root/main/rsltlist/row" ).length;
- // datagrid2
- for ( var i = 1; i <= srchLength1; i++ ) {
- //alert('i->'+i+', '+model.getValue("/root/main/rsltlist/row["+ i +"]/chk"));
- if (model.getValue("/root/main/rsltlist/row["+ i +"]/chk") == "true" ) { //체크된 것중에 'C', 'M' 아닌것이 포함된경우 break;
-
- prcpnm = aezfTrim(model.getValue("/root/main/rsltlist/row["+ i +"]/tclsscrnnm").getTrim(), 12288);
- prcpnm2 = aezfTrim(model.getValue("/root/main/rsltlist/row["+ i +"]/tclsscrnnm").getTrim(), 12288);
-
- prcpcd += "'"+model.getValue("/root/main/rsltlist/row["+ i +"]/testcd").getTrim()+"'"+",";
- prcpnm += ",";
- prcpcd2 += model.getValue("/root/main/rsltlist/row["+ i +"]/testcd").getTrim()+"▦";
- prcpnm2 += "▦";
- pnm += prcpnm;
- pnm2 += prcpnm2;
-
- flag = "Y";
- }
- }
-
- if ( flag == "Y" ) {
- model.setValue("/root/hidden/addresult/pid", model.getValue("/root/send/data/singdata/srchpid") );
- model.setValue("/root/hidden/addresult/startdd", model.getValue("/root/send/data/singdata/srchdate1") );
- model.setValue("/root/hidden/addresult/enddd", model.getValue("/root/send/data/singdata/srchdate2") );
- // 44:, 12288:tab 9638:▦
- var prcpcd = aezfTrim(prcpcd, 44);
-
- var dd = aezfTrim(pnm, 12288);
- var prcpnm = aezfTrim(dd, 44);
-
- var prcpcd2 = aezfTrim(prcpcd2, 9638);
-
- var cc = aezfTrim(pnm2, 9638);
- var prcpnm2 = aezfTrim(cc, 12288);
- model.setValue("/root/hidden/addresult/tclscdlist/tclscdlist", prcpcd );
- model.setValue("/root/hidden/addresult/tclscdlist/tclsnmlist", prcpnm );
- model.setValue("/root/hidden/addresult/tclscdlist/tclscdlist2", prcpcd2);
- model.setValue("/root/hidden/addresult/tclscdlist/tclsnmlist2", prcpnm2);
- if ( refgbn == "1" )
- model.setValue("/root/hidden/addresult/refgbn", "1");
- else if ( refgbn == "2" )
- model.setValue("/root/hidden/addresult/refgbn", "2");
-
- modal("SMLLP01200","",20,248,"","/root/hidden/addresult","/root/hidden/ref");
- }else {
- messageBox("결과내역 체크를 하지 않았거나 진단검사/핵의학체외 검사에 대한 누적조회입니다.","I999");
- return;
-
- }
-
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 누적 결과 조회 Function
- */
- function fSetAddResult(refgbn) {
-
- if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
- messageBox("[누적조회][그래프] 기능은 환자번호가 체크되어야 합니다.","I999");
- return "0";
- }
-
- model.resetInstanceNode("/root/hidden/addresult");
- var prcpcd = "";
- var prcpnm = "";
- var prcpcd2 = "";
- var prcpnm2 = "";
- var pnm="";
- var pnm2="";
-
- var flag = "";
- // 처방구분코드가 진검:'C' , 병리:'M' 인 경우에만 누적결과 조회를 실행한다.
- var srchLength1 = model.instances(0).selectNodes( "/root/main/subordlist1/subresultdetail1" ).length;
- //alert(srchLength1);
-
- for ( var i = 1; i <= srchLength1; i++ ) {
- //alert("reptrslt["+i+"]==>["+model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/reptrslt")+"]");
- if (model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/check") == "Y" ) { //체크된 것중에 'C', 'M' 아닌것이 포함된경우 break;
-
- //alert("["+model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/judgmark")+"]");
- if ( model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/judgmark") == "C" || // 체크된 것중에 'C', 'M' 포함된경우
- model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/judgmark") == "M" ) {
- prcpnm = aezfTrim(model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/prcpnm").getTrim(), 12288);
- prcpnm2 = aezfTrim(model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/prcpnm").getTrim(), 12288);
- prcpcd += "'"+model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/prcpcd").getTrim()+"'"+",";
- prcpnm += ",";
- prcpcd2 += model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/prcpcd").getTrim()+"▦";
- prcpnm2 += "▦";
- pnm += prcpnm;
- pnm2 += prcpnm2;
-
-
- flag = "Y";
- }
-
-
- }
- }
- //alert(flag);
- //alert('['+prcpcd+']-['+pnm+']-['+prcpcd2+']-['+pnm2+']-['+flag+']');
- //modal("SMLLP01200","",10,238,"","/root/hidden/addresult","/root/hidden/ref");
- if ( flag == "Y" ) {
- //alert('flag->Y');
- model.setValue("/root/hidden/addresult/pid", model.getValue("/root/send/data/singdata/srchpid") );
- model.setValue("/root/hidden/addresult/startdd", model.getValue("/root/send/data/singdata/srchdate1") );
- model.setValue("/root/hidden/addresult/enddd", model.getValue("/root/send/data/singdata/srchdate2") );
- // 44:, 12288:tab 9638:▦
- var prcpcd = aezfTrim(prcpcd, 44);
-
- var dd = aezfTrim(pnm, 12288);
- var prcpnm = aezfTrim(dd, 44);
-
- var prcpcd2 = aezfTrim(prcpcd2, 9638);
-
- var cc = aezfTrim(pnm2, 9638);
- var prcpnm2 = aezfTrim(cc, 12288);
- model.setValue("/root/hidden/addresult/tclscdlist/tclscdlist", prcpcd );
- model.setValue("/root/hidden/addresult/tclscdlist/tclsnmlist", prcpnm );
- model.setValue("/root/hidden/addresult/tclscdlist/tclscdlist2", prcpcd2);
- model.setValue("/root/hidden/addresult/tclscdlist/tclsnmlist2", prcpnm2);
- if ( refgbn == "1" )
- model.setValue("/root/hidden/addresult/refgbn", "1");
- else if ( refgbn == "2" )
- model.setValue("/root/hidden/addresult/refgbn", "2");
-
- modal("SMLLP01200","",20,248,"","/root/hidden/addresult","/root/hidden/ref");
- }else {
- messageBox("결과내역 체크를 하지 않았거나 진단검사/핵의학체외 검사에 대한 누적조회입니다.","I999");
- return;
-
- }
-
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 미생물 누적 결과 조회 Function
- */
- function fSetAddMicroResult() {
-
- if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
- messageBox("[미생물누적조회] 기능은 환자번호가 체크되어야 합니다.","I999");
- return "0";
- }
-
- model.resetInstanceNode("/root/hidden/addmicroresult");
-
- model.setValue("/root/hidden/addmicroresult/pid", model.getValue("/root/send/data/singdata/srchpid") );
- model.setValue("/root/hidden/addmicroresult/usdd", model.getValue("/root/send/data/singdata/srchdate1") );
- model.setValue("/root/hidden/addmicroresult/uedd", model.getValue("/root/send/data/singdata/srchdate2") );
-
- modal("SMLLP01100","",345,250,"","/root/hidden/addmicroresult","/root/hidden/ref");
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : Daily 및 Serious CDIS 결과 조회 Function
- */
- function fClickCDISResultList(grdobj) {
- //alert(grdobj.row)
- if ( grdobj.rows >= grdobj.fixedRows ) {
- var rowidx = grdobj.row;
- //alert(rowidx);
- // return;
- model.resetInstanceNode("/root/send/iemr");
-
- //model.setValue("/root/send/iemr/cmc_spcid", getUserInfo("dutplceinstcd"));
- if ( btn_case1.selected == true ) {
- var prcpdd = "";
- var execprcpuniqno = "";
- var instcd = "";
- var flag = "";
-
- // 진검, 병리,미생물, 핵체외 제외한 검사에 대해서 CDIS이미지 연동을 실시한다.
- if ( model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/execprcpuniqno") != '0' ) {
-
- var srchLength1 = model.instances(0).selectNodes( "/root/main/ordlist1/maindailylist" ).length;
- for ( var i = 1; i <= srchLength1; i++ ) {
- if (model.getValue("/root/main/ordlist1/maindailylist["+ i +"]/check") == "Y" ) {
-
- prcpdd += model.getValue("/root/main/ordlist1/maindailylist["+ i +"]/prcpdd").getTrim()+",";
- execprcpuniqno += model.getValue("/root/main/ordlist1/maindailylist["+ i +"]/execprcpuniqno").getTrim()+",";
- instcd += getUserInfo("dutplceinstcd").getTrim()+",";
- flag = "Y";
- }
-
- }
-
- if ( flag == "Y" ) {
- //alert('flag->Y');
- // 44:,
- var sprcpdd = aezfTrim(prcpdd, 44);
- var sexecprcpuniqno = aezfTrim(execprcpuniqno, 44);
- var sinstcd = aezfTrim(instcd, 44);
-
- model.setValue("/root/send/iemr/cmc_orddate", sprcpdd);
- model.setValue("/root/send/iemr/cmc_orderseqno", sexecprcpuniqno);
- model.setValue("/root/send/iemr/cmc_spcid", sinstcd);
- // model.setValue("/root/send/iemr/cmc_orddate", model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/prcpdd"));
- // model.setValue("/root/send/iemr/cmc_orderseqno", model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/execprcpuniqno"));
- if(window.children.item("imgemrviewer") == null)
- {
-
- // open("SSMRC03110","","","","SSMRC03110","/root/send/iemr", "/root/hidden/temp", "min:visible; max:true; resize:true;");
-
- window.load("../../../emr/imgemrweb/xrw/SSMRC03110.xrw","modeless", "imgemrviewer", "", "/root/send/iemr", "/root/hidden/temp");
- // window.children.item("imgemrviewer").document.title = "Image EMR Viewer";
- // window.children.item("imgemrviewer").javaScript.searchChart("/root/hidden/temp");
- // if (window.children.item("imgemrviewer").javaScript.downloadChart() == true)
- // {
- // window.children.item("imgemrviewer").javaScript.setupChart("ChartView");
- // }
- }
- }
-
- }
-
- }
-
-
- if ( btn_case2.selected == true ) {
-
- var prcpdd = "";
- var execprcpuniqno = "";
- var instcd = "";
- var flag = "";
-
- // 진검, 병리,미생물, 핵체외 제외한 검사에 대해서 CDIS이미지 연동을 실시한다.
- if ( model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/execprcpuniqno") != '0' ) {
-
- var srchLength1 = model.instances(0).selectNodes( "/root/main/ordlist2/mainserious" ).length;
- for ( var i = 1; i <= srchLength1; i++ ) {
- if (model.getValue("/root/main/ordlist2/mainserious["+ i +"]/check") == "Y" ) {
-
- prcpdd += model.getValue("/root/main/ordlist2/mainserious["+ i +"]/prcpdd").getTrim()+",";
- execprcpuniqno += model.getValue("/root/main/ordlist2/mainserious["+ i +"]/execprcpuniqno").getTrim()+",";
- instcd += getUserInfo("dutplceinstcd").getTrim()+",";
- flag = "Y";
- }
-
- }
-
- if ( flag == "Y" ) {
- //alert('flag->Y');
- // 44:,
- var sprcpdd = aezfTrim(prcpdd, 44);
- var sexecprcpuniqno = aezfTrim(execprcpuniqno, 44);
- var sinstcd = aezfTrim(instcd, 44);
-
- model.setValue("/root/send/iemr/cmc_orddate", sprcpdd);
- model.setValue("/root/send/iemr/cmc_orderseqno", sexecprcpuniqno);
- model.setValue("/root/send/iemr/cmc_spcid", sinstcd);
- // model.setValue("/root/send/iemr/cmc_orddate", model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/prcpdd"));
- // model.setValue("/root/send/iemr/cmc_orderseqno", model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/execprcpuniqno"));
- if(window.children.item("imgemrviewer") == null)
- {
-
- window.load("../../../emr/imgemrweb/xrw/SSMRC03110.xrw","modeless", "imgemrviewer", "", "/root/send/iemr", "/root/hidden/temp");
- // window.children.item("imgemrviewer").document.title = "Image EMR Viewer";
- // window.children.item("imgemrviewer").javaScript.searchChart("/root/hidden/temp");
- // if (window.children.item("imgemrviewer").javaScript.downloadChart() == true)
- // {
- // window.children.item("imgemrviewer").javaScript.setupChart("ChartView");
- // }
- }
- }
-
- }
-
-
- //model.setValue("/root/send/iemr/cmc_orddate", model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/prcpdd"));
- //model.setValue("/root/send/iemr/cmc_orderseqno", model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/execprcpuniqno"));
- }
- /*
- if(window.children.item("imgemrviewer") == null)
- {
-
- window.load("../../../emr/imgemrweb/xrw/SSMRC03110.xrw","modeless", "imgemrviewer", "", "/root/send/iemr", "/root/hidden/temp");
- window.children.item("imgemrviewer").document.title = "Image EMR Viewer";
- window.children.item("imgemrviewer").javaScript.searchChart("/root/hidden/temp");
- //window.children.item("imgemrviewer").javaScript.downloadChart();
- if (window.children.item("imgemrviewer").javaScript.downloadChart() == true)
- {
- window.children.item("imgemrviewer").javaScript.setupChart("ChartView");
- }
- // window.children.item("imgemrviewer").javaScript.setupChart("ChartView");
- }
- */
- }
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 그리드의 내용을 엑셀로 Copy하기 위한 Function
- */
- function astgrid_oncopy() {
- var trgObj = document.all.item(event.target);
- if( trgObj.elementName == "xforms:datagrid" ) // event.target이 datagrid > input일 경우 return
- gridObj = trgObj;
- else
- return;
-
- var cellValue;
- var rClipBoardValue = "";
-
- //선택된 셀의 스타일을 바꾼다
- var cells = gridObj.selectedCells;
-
- var row = -1;
- var col = 0;
-
- var selrow = 0;
- var cnt =1;
-
- for (var i=0;i<cells.length;i++) {
- row = cells.item(i).row;
- col = cells.item(i).col;
-
- cellValue = gridObj.valueMatrix(row, col);
-
- model.makeNode("/root/hidden/tmp");
- model.makeValue("/root/hidden/tmp[" + cnt + "]/row", row);
- model.makeValue("/root/hidden/tmp[" + cnt + "]/col", col);
- model.makeValue("/root/hidden/tmp[" + cnt + "]/value", cellValue);
- cnt++;
- }
-
- datagrid5.rebuild();
- var setcol = datagrid5.colRef("row");
- datagrid5.colSort(datagrid5.colRef("row")) = "asc";
- datagrid5.colSort(datagrid5.colRef("col")) = "asc";
- datagrid5.sort(1, setcol, datagrid5.rows-1, datagrid5.cols-1) = "usersort";
- datagrid5.gridToInstance();
-
- row = -1;
- for (var i=1;i<datagrid5.rows;i++) {
-
- selrow = datagrid5.valueMatrix(i, datagrid5.colRef("row"));
- cellValue = datagrid5.valueMatrix(i, datagrid5.colRef("value"));
-
- if (row != selrow) {
- rClipBoardValue += "\r\n";
- rClipBoardValue += cellValue;
- row = selrow;
- } else {
- rClipBoardValue += "\t";
- rClipBoardValue += cellValue;
- }
- }
-
- if( rClipBoardValue != "" ) {
- window.clipBoardData = rClipBoardValue;
- }
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : Daily 및 Serious PACS Ord 결과 조회 Function, 사용안함
- */
- function fClickPACSOrdResultList(grdobj) {
- //alert(grdobj.row)
-
- if ( grdobj.row >= grdobj.fixedRows ) {
- var rowidx = grdobj.row;
-
- if ( btn_case1.selected == true ) {
- if ( model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/execprcpuniqno") == "" ||
- model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/execprcpuniqno") == 0 ) {
- messageBox("PACS Viewer와 연동할 수 없습니다.(유일번호가 0이거나 NULL입니다)","I999");
- return;
- }
- var pacsorderid = model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/prcpdd")+model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/execprcpuniqno");
- }
-
- if ( btn_case2.selected == true ) {
- if ( model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/execprcpuniqno") == "" ||
- model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/execprcpuniqno") == 0 ) {
- messageBox("PACS Viewer와 연동할 수 없습니다.(유일번호가 0이거나 NULL입니다)","I999");
- return;
- }
- var pacsorderid = model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/prcpdd")+model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/execprcpuniqno");
- }
- // PACS Viewer 호출
- //zepfpacsOrderID("2007082725595");
- //alert(pacsorderid);
- zepfpacsOrderID(pacsorderid);
- }
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : Daily 및 Serious PACS Pat 결과 조회 Function , 사용안함
- */
- function fClickPACSPatResultList(grdobj) {
- //alert(grdobj.row)
- var pid = model.getValue("/root/send/data/singdata/srchpid");
- zepfpacsPatientID(pid);
-
- /*
- if ( grdobj.row >= grdobj.fixedRows ) {
- var rowidx = grdobj.row;
-
- if ( btn_case1.selected == true ) {
- var pid = model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/pid");
- }
-
- if ( btn_case2.selected == true ) {
- var pid = model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/pid");
- }
- // PACS Viewer 호출
- //zepfpacsOrderID("2007082725595");
- //alert(pid);
- zepfpacsPatientID(pid);
-
- }
- */
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : Daily 및 Serious PACS OrdPat 결과 조회 Function
- */
- function fClickPACSOrdPatResultList(grdobj) {
- //alert(grdobj.row)
-
- if ( grdobj.rows >= grdobj.fixedRows ) {
- var rowidx = grdobj.row;
-
- if ( btn_case1.selected == true ) {
- if ( model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/execprcpuniqno") == "" ||
- model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/execprcpuniqno") == 0 ) {
- messageBox("PACS Viewer와 연동된 검사가 아닙니다. (유일번호가 0이거나 NULL입니다)","I999");
- return;
- }
- var pacsorderid = model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/prcpdd")+model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/execprcpuniqno");
- var pid = model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/pid");
-
- var prcpdd = model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/prcpdd");
- var execprcpuniqno = model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/execprcpuniqno");
- var instcd = model.getValue("/root/send/globalinstance/instance2");
- }
-
- if ( btn_case2.selected == true ) {
- if ( model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/execprcpuniqno") == "" ||
- model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/execprcpuniqno") == 0 ) {
- messageBox("PACS Viewer와 연동된 검사가 아닙니다. (유일번호가 0이거나 NULL입니다)","I999");
- return;
- }
- var pacsorderid = model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/prcpdd")+model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/execprcpuniqno");
- var pid = model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/pid");
-
- var prcpdd = model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/prcpdd");
- var execprcpuniqno = model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/execprcpuniqno");
- var instcd = model.getValue("/root/send/globalinstance/instance2");
- }
-
- if ( btn_case5.selected == true ) {
- if ( model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/execprcpuniqno") == "" ||
- model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/execprcpuniqno") == 0 ) {
- messageBox("PACS Viewer와 연동된 검사가 아닙니다. (유일번호가 0이거나 NULL입니다)","I999");
- return;
- }
- var pacsorderid = model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/prcpdd")+model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/execprcpuniqno");
- var pid = model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/pid");
-
- var prcpdd = model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/prcpdd");
- var execprcpuniqno = model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/execprcpuniqno");
- var instcd = model.getValue("/root/send/globalinstance/instance2");
- }
-
- // PACS 맵핑테이블 조회, Old Key와 일치하면 Old Key Pacs View 호출
- model.setValue("/root/pacssend/pacsdata/prcpdd", prcpdd);
- model.setValue("/root/pacssend/pacsdata/execprcpuniqno", execprcpuniqno);
- model.setValue("/root/pacssend/pacsdata/instcd", instcd);
- model.setValue("/root/pacssend/pacsdata/pid", pid);
-
- submit("TRAER00818");
-
- var srchLength1 = model.instances(0).selectNodes( "/root/init/initpacskey/pacskey" ).length;
- //alert('srchLength1->'+srchLength1);
- //return;
-
- if ( srchLength1 > 0 ) {
- pacsorderid = model.getValue("/root/init/initpacskey/pacskey/oldprcpkey");
- zepfpacsAll(pacsorderid, pid);
- }else {
- //zepfpacsPatientID(pid);
- zepfpacsAll(pacsorderid, pid);
- }
- // PACS Viewer 호출
- //zepfpacsOrderID("2007082725595");
- //alert(pacsorderid+'----'+pid);
- //zepfpacsAll(pacsorderid, pid);
- //zepfpacsPatientID(pid);
-
- //model.removeNodeset("/root/pacssend/pacsdata");
- }
- }
- /* @group : 결과조회
- * @ver : 2009.06.26
- * @by : 박상준
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : CadiacPACS 등록번호 연동
- */
- function fClickCADIACPatResultList(grdobj) {
- //alert(grdobj.row)
- var pid = model.getValue("/root/send/data/singdata/srchpid");
- zepfCadiacPacsPatientID(pid);
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 결과 조회 Grid 펼치기 Function
- */
- function fGetWideListX1(tab1, grd1) {
-
- var extnGrdWidht = 303;
- var extnGrdWidht2 = 298;
-
- tab1.attribute("width") = extnGrdWidht;
- grd1.attribute("width") = extnGrdWidht2;
- //alert('접기 switch width===>'+tab1.attribute("width"));
- //alert('접기 grid width===>'+grd1.attribute("width"));
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 결과 조회 Grid 접기 Function
- */
- function fGetWideListX2(tab1, grd1) {
- if ( btn_case1.selected == true ) {
- var extnGrdWidht = 700;
- var extnGrdWidht2 = 690;
-
- }
- if ( btn_case5.selected == true ) {
- var extnGrdWidht = 700;
- var extnGrdWidht2 = 690;
-
- }
- else if ( btn_case2.selected == true ) {
- var extnGrdWidht = 450;
- var extnGrdWidht2 = 440;
-
- }
- else if ( btn_case3.selected == true ) {
- var extnGrdWidht = 600;
- var extnGrdWidht2 = 590;
-
- }else if ( btn_case4.selected == true ) {
- var extnGrdWidht = 1190;
- var extnGrdWidht2 = 1180;
- }
- tab1.attribute("width") = extnGrdWidht;
- grd1.attribute("width") = extnGrdWidht2;
- //alert('펼치기 switch width===>'+tab1.attribute("width"));
- //alert('펼치기 grid width===>'+grd1.attribute("width"));
- }
-
- /* SET 관련 FUNCTION START */
-
- function readfunc(){
- submit("TRAER00813");
-
- if (model.getValue("/root/send/setdata/setkindcd") == "P" || model.getValue("/root/send/setdata/setkindcd") == "D"){
- cmb_deptset.disabled = true;
- }
-
- model.setValue("/root/send/setdata/foldernm", "");
- model.setValue(trv_prmsprcpsetlist.attribute("ref"), "");
- trv_prmsprcpsetlist.rebuild();
- //model.removeNodeset("/root/main/rsltlist/row");
- //model.resetInstanceNode("/root/main/rsltlist/row");
- //model.refresh();
- fInitDatagrid2();
- }
- function readPDfunc(){
-
- submit("TRAER00817");
- model.setValue("/root/send/setdata/foldernm", "");
- //model.setValue(trv_prmsprcpsetlist.attribute("ref"), "");
- //trv_prmsprcpsetlist.rebuild();
-
- //model.removeNodeset("/root/main/rsltlist/row");
- //model.resetInstanceNode("/root/main/rsltlist/row");
- //model.refresh();
- fInitDatagrid2();
- }
-
- function fInitDatagrid2() {
- var cols = datagrid2.cols-datagrid2.fixedCols;
- var rows = datagrid2.rows-datagrid2.fixedRows;
- //alert(cols)
- for( var i = 0; i < cols; i++ ) {
- datagrid2.removeColumn(false);
-
- }
-
- for( var i = 0; i < rows; i++ ) {
- datagrid2.removeRow(false);
-
- }
-
- model.removeNodeset("/root/main/rsltlist");
-
- model.makeNode("/root/main/rsltlist/row");
- model.refresh();
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : SET별누적조회 Function
- */
- function fGetNResultRef(){
-
- var vText = model.getValue("/root/send/data/singdata/srchpid");
-
-
- if(vText == "" ){
-
- messageBox("등록번호를","C001","") ;
- return;
- }
-
- if (trv_prmsprcpsetlist.selectedIndex < 0){
- messageBox("조회할 SET명을 선택한 후 조회하시기 바랍니다.", "E999", "");
- return;
- }
-
- fInitDatagrid2();
- var vSelSlipcd = model.getvalue("/root/hidden/testmdllist");
-
- if(vSelSlipcd != "") model.setvalue("/root/hidden/ref/testmdllist" , vSelSlipcd.substring(0,vSelSlipcd.length -1));
- else model.setvalue("/root/hidden/ref/testmdllist","");
-
- model.copyNode("/root/send/data1" , "/root/hidden/ref");
-
- var item = trv_prmsprcpsetlist.item(trv_prmsprcpsetlist.selectedIndex);
- var rowpos = item.index + 1;
-
- model.setValue("/root/send/setdata/setno", model.getValue("/root/main/prmsprcpsetinfo/prmsprcpsetlist[" + rowpos + "]/setno"));
-
- // LIS Map File을 적용하기 위해 세팅한다.
- model.setValue("/root/send/setdata/startdd", model.getValue("/root/send/data/singdata/srchdate1"));
- model.setValue("/root/send/setdata/enddd", model.getValue("/root/send/data/singdata/srchdate2"));
- model.setValue("/root/send/setdata/pid", model.getValue("/root/send/data/singdata/srchpid"));
-
- //submit("TRAER00816" , false);
- submit("TRLLP01201" , false);
-
- var gridCaption = model.getValue("/root/hidden/temp/rsltlist/header/caption");
-
- if(gridCaption == "") return;
- //ref 정보
- var gridColRef = model.getValue("/root/hidden/temp/rsltlist/header/colref");
- var gridColRefArray = gridColRef.split("^");
-
- var gridColType = model.getValue("/root/hidden/temp/rsltlist/header/type");
-
-
- var gridColTypeArray = gridColType.split("^");
-
-
- for( var i = 0; i < gridColRefArray.length; i++ ) {
-
- datagrid2.addColumn("ref:" + gridColRefArray[i] + "; type:"+gridColTypeArray[i]+"; ", false);
- }
- datagrid2.colWidth(1) = 22;
- datagrid2.colWidth(2) = 100;
- datagrid2.colWidth(3) = 80;
- datagrid2.colWidth(4) = 80;
- datagrid2.rowHeight(0) = 35;
-
-
- for( i = 5; i < datagrid2.cols; i++ ) {
-
- datagrid2.colWidth(i) = 80;
-
-
-
- }
- datagrid2.caption = gridCaption;
-
-
-
- var node = instance1.selectSingleNode("/root/main");
- node.replaceChild(instance1.root.hidden.temp.rsltlist, instance1.root.main.rsltlist);
- datagrid2.fixedcellcheckbox(0,1)=true;
- model.refresh();
-
- fReMake();
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : SET전체항목조회 Function
- */
- function fGetPDResultRef(){
-
- var vText = model.getValue("/root/send/data/singdata/srchpid");
-
-
- if(vText == "" ){
-
- messageBox("등록번호를","C001","") ;
- return;
- }
-
- // if (trv_prmsprcpsetlist.selectedIndex < 0){
- // messageBox("조회할 SET명을 선택한 후 조회하시기 바랍니다.", "E999", "");
- // return;
- // }
-
- fInitDatagrid2();
- //alert(model.getvalue("/root/hidden/testmdllist"));
- var vSelSlipcd = model.getvalue("/root/hidden/testmdllist");
-
- if(vSelSlipcd != "") model.setvalue("/root/hidden/ref/testmdllist" , vSelSlipcd.substring(0,vSelSlipcd.length -1));
- else model.setvalue("/root/hidden/ref/testmdllist","");
-
- model.copyNode("/root/send/data1" , "/root/hidden/ref");
-
- // var item = trv_prmsprcpsetlist.item(trv_prmsprcpsetlist.selectedIndex);
- // var rowpos = item.index + 1;
- var rowpos = grd_makedset.row;
- //alert(rowpos);
- // var rowpos = item.index + 1;
-
- model.setValue("/root/send/setdata/setno", model.getValue("/root/main/prmsprcppdsetinfo/prmsprcpsetlist[" + rowpos + "]/setno"));
-
- // LIS Map File을 적용하기 위해 세팅한다.
- model.setValue("/root/send/setdata/startdd", model.getValue("/root/send/data/singdata/srchdate1"));
- model.setValue("/root/send/setdata/enddd", model.getValue("/root/send/data/singdata/srchdate2"));
- model.setValue("/root/send/setdata/pid", model.getValue("/root/send/data/singdata/srchpid"));
-
- //submit("TRAER00816" , false);
- submit("TRLLP01201" , false);
-
-
- var gridCaption = model.getValue("/root/hidden/temp/rsltlist/header/caption");
-
- if(gridCaption == "") return;
- //ref 정보
- var gridColRef = model.getValue("/root/hidden/temp/rsltlist/header/colref");
- var gridColRefArray = gridColRef.split("^");
-
- var gridColType = model.getValue("/root/hidden/temp/rsltlist/header/type");
-
-
- var gridColTypeArray = gridColType.split("^");
-
-
- for( var i = 0; i < gridColRefArray.length; i++ ) {
-
- datagrid2.addColumn("ref:" + gridColRefArray[i] + "; type:"+gridColTypeArray[i]+"; ", false);
- }
- datagrid2.colWidth(1) = 22;
- datagrid2.colWidth(2) = 100;
- datagrid2.colWidth(3) = 100;
- datagrid2.colWidth(4) = 100;
- datagrid2.rowHeight(0) = 35;
-
-
- for( i = 6; i < datagrid2.cols; i++ ) {
-
- datagrid2.colWidth(i) = 80;
-
-
-
- }
- datagrid2.caption = gridCaption;
-
-
-
- var node = instance1.selectSingleNode("/root/main");
- node.replaceChild(instance1.root.hidden.temp.rsltlist, instance1.root.main.rsltlist);
- datagrid2.fixedcellcheckbox(0,1)=true;
- model.refresh();
-
- fReMake();
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 진검분류별 누적 조회 Function
- */
- function fGetNSeriesResultRef(){
-
- var vText = model.getValue("/root/send/data/singdata/srchpid");
-
-
- if(vText == "" ){
-
- messageBox("등록번호를","C001","") ;
- return;
- }
-
- //if (trv_prmsprcpsetlist.selectedIndex < 0){
- // messageBox("조회할 SET명을 선택한 후 조회하시기 바랍니다.", "E999", "");
- // return;
- //}
-
- fInitDatagrid2();
- /*
- var vSelSlipcd = model.getvalue("/root/hidden/testmdllist");
-
- if(vSelSlipcd != "") model.setvalue("/root/hidden/ref/testmdllist" , vSelSlipcd.substring(0,vSelSlipcd.length -1));
- else model.setvalue("/root/hidden/ref/testmdllist","");
-
- model.copyNode("/root/send/data1" , "/root/hidden/ref");
-
- var item = trv_prmsprcpsetlist.item(trv_prmsprcpsetlist.selectedIndex);
- var rowpos = item.index + 1;
-
- model.setValue("/root/send/setdata/setno", model.getValue("/root/main/prmsprcpsetinfo/prmsprcpsetlist[" + rowpos + "]/setno"));
- */
- //alert(cmb_mdl.value);
- //return;
-
- // 환자정보
- fGetMainSrchPatInfo();
-
- // LIS Map File을 적용하기 위해 세팅한다.
- model.setValue("/root/send/setdata/startdd", model.getValue("/root/send/data/singdata/srchdate1"));
- model.setValue("/root/send/setdata/enddd", model.getValue("/root/send/data/singdata/srchdate2"));
- model.setValue("/root/send/setdata/pid", model.getValue("/root/send/data/singdata/srchpid"));
-
- model.setValue("/root/send/setdata/setno", "");
- model.setValue("/root/send/setdata/tclscdlist", cmb_mdl.value);
- model.setValue("/root/send/setdata/workflag", "1");
-
-
- //submit("TRAER00816" , false);
- submit("TRLLP01201" , false);
-
- var gridCaption = model.getValue("/root/hidden/temp/rsltlist/header/caption");
-
- if(gridCaption == "") return;
- //ref 정보
- var gridColRef = model.getValue("/root/hidden/temp/rsltlist/header/colref");
- var gridColRefArray = gridColRef.split("^");
-
- var gridColType = model.getValue("/root/hidden/temp/rsltlist/header/type");
-
-
- var gridColTypeArray = gridColType.split("^");
-
-
- for( var i = 0; i < gridColRefArray.length; i++ ) {
-
- datagrid2.addColumn("ref:" + gridColRefArray[i] + "; type:"+gridColTypeArray[i]+"; ", false);
- }
- datagrid2.colWidth(1) = 22;
- datagrid2.colWidth(2) = 100;
- datagrid2.colWidth(3) = 80;
- datagrid2.colWidth(4) = 80;
- datagrid2.rowHeight(0) = 35;
-
-
- for( i = 5; i < datagrid2.cols; i++ ) {
-
- datagrid2.colWidth(i) = 80;
-
-
-
- }
- datagrid2.caption = gridCaption;
-
-
-
- var node = instance1.selectSingleNode("/root/main");
- node.replaceChild(instance1.root.hidden.temp.rsltlist, instance1.root.main.rsltlist);
- datagrid2.fixedcellcheckbox(0,1)=true;
- model.refresh();
-
- fReMake();
- }
- function fReMake(){
-
-
- xx = 0;
- //alert(model.getvalue("/root/main/rsltlist/row["+9+"]/judg0"))
- for(i=1;i<datagrid2.rows;i++){
- for(j=5;j<datagrid2.cols;j++){
-
- var vJudg = model.getvalue("/root/main/rsltlist/row["+i+"]/judg" + xx);
- if(vJudg == "H"){
-
- // datagrid2.cellStyle("background-color",i,j,i,j) = "#f7a08b";
- datagrid2.cellStyle("color",i,j,i,j) = "red";
- }
- else if(vJudg == "L"){
-
- // datagrid2.cellStyle("background-color",i,j,i,j) = "#b9e5fb";
- datagrid2.cellStyle("color",i,j,i,j) = "blue";
- }
-
- xx ++;
-
- }
-
- xx = 0
- }
- }
- /* SET 관련 FUNCTION END */
-
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 결과 조회 진단검사 연속보기 Function
- */
- function fGetHemoDailyList() {
- model.SetValue("/root/send/data/singdata/chkcheck1", "A");
- fcheckyn2('A');
-
- /*
- fGetMainDistinctDailyList();
- if (btn_case5.selected == true){
- fGetMainDailyList2();
- }else{
- fGetMainDailyList();
- }
- */
-
- if (btn_case5.selected == true){
- fGetSytsRsltRefList("A","G");
- } else {
- fGetSytsRsltRefList("A","B");
- }
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 결과 조회 미생물 연속보기 Function
- */
- function fGetCellDailyList() {
- model.SetValue("/root/send/data/singdata/chkcheck2", "B");
- fcheckyn2('B');
-
- /*
- fGetMainDistinctDailyList();
- if (btn_case5.selected == true){
- fGetMainDailyList2();
- }else{
- fGetMainDailyList();
- }
- */
-
- if (btn_case5.selected == true){
- fGetSytsRsltRefList("B","G");
- } else {
- fGetSytsRsltRefList("B","B");
- }
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 결과 조회 병리 연속보기 Function
- */
- function fGetPlgyDailyList() {
- model.SetValue("/root/send/data/singdata/chkcheck3", "C");
- fcheckyn2('C');
-
- if (btn_case5.selected == true){
- fGetSytsRsltRefList("C","G");
- } else {
- fGetSytsRsltRefList("C","B");
- }
-
- /*
- fGetMainDistinctDailyList();
- if (btn_case5.selected == true){
- fGetMainDailyList2();
- }else{
- fGetMainDailyList();
- }
- */
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 결과 조회 핵체외 연속보기 Function
- */
- function fGetNuclDailyList() {
- model.SetValue("/root/send/data/singdata/chkcheck4", "D");
- fcheckyn2('D');
-
- if (btn_case5.selected == true){
- fGetSytsRsltRefList("D","G");
- } else {
- fGetSytsRsltRefList("D","B");
- }
-
- /*
- fGetMainDistinctDailyList();
- if (btn_case5.selected == true){
- fGetMainDailyList2();
- }else{
- fGetMainDailyList();
- }
- */
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 결과 조회 영상 연속보기 Function
- */
- function fGetPhotDailyList() {
- model.SetValue("/root/send/data/singdata/chkcheck5", "E");
- fcheckyn2('E');
-
- if (btn_case5.selected == true){
- fGetSytsRsltRefList("E","G");
- } else {
- fGetSytsRsltRefList("E","B");
- }
-
- /*
- fGetMainDistinctDailyList();
- if (btn_case5.selected == true){
- fGetMainDailyList2();
- }else{
- fGetMainDailyList();
- }
- */
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 결과 조회 내시경 연속보기 Function
- */
- function fGetColonyDailyList() {
- model.SetValue("/root/send/data/singdata/chkcheck6", "F");
- fcheckyn2('F');
-
- if (btn_case5.selected == true){
- fGetSytsRsltRefList("F","G");
- } else {
- fGetSytsRsltRefList("F","B");
- }
-
- /*
- fGetMainDistinctDailyList();
- if (btn_case5.selected == true){
- fGetMainDailyList2();
- }else{
- fGetMainDailyList();
- }
- */
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 결과 조회 기능 연속보기 Function
- */
- function fGetFuncDailyList() {
- model.SetValue("/root/send/data/singdata/chkcheck7", "G");
- fcheckyn2('G');
-
- if (btn_case5.selected == true){
- fGetSytsRsltRefList("G","G");
- } else {
- fGetSytsRsltRefList("G","B");
- }
-
- /*
- fGetMainDistinctDailyList();
- if (btn_case5.selected == true){
- fGetMainDailyList2();
- }else{
- fGetMainDailyList();
- }
- */
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 결과 조회 기능 연속보기 Function
- */
- function fGetHealExamDetailList() {
- grp_makedset.visible = false;
- datagrid2.visible = false;
- grd_subresultdetail1.visible = true;
- fGetWideListX1(switch1, grd_maindaily);
-
- fInitial_subordlist();
-
- // 조건 체크
- var check = fGetMainListCondiCheck_Case1();
- if ( check == "0" ) return true;
-
- submit("TRAER00851", false);
- model.refresh();
-
- /*
- * 일자별 결과내역 그리드 세팅한다.
- */
- fSetSubDetailGrid();
-
-
- }
-
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 결과 조회 팝업창 Void Function
- */
- function fPopupLine() {
- return;
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 결과 조회 디자인 결과내역 보기 Function
- */
- function fPopupXsltList() {
-
- model.resetInstanceNode("/root/send/val");
- model.resetInstanceNode("/root/send/formcd");
- if ( model.getValue("/root/main/ordlist1/maindailylist[" + grd_maindaily.row + "]/signno") == "") {
- var signno = 0;
- var formcd = "";
- }else {
- var signno = parseInt(model.getValue("/root/main/ordlist1/maindailylist[" + grd_maindaily.row + "]/signno"));
- var formcd = model.getValue("/root/main/ordlist1/maindailylist[" + grd_maindaily.row + "]/formcd");
- }
- //alert(signno+'-'+formcd);
- //return;
-
- if ( signno > 0 ) {
- /*alert(signno);
- model.setValue("/root/send/val", signno);
- model.setValue("/root/send/formcd", formcd);
-
- if(submit("TRMRI00405"))
- {
- if ( model.getValue("/root/main/xslt/translist/trans") == "" ) {
-
- messageBox("인증전 테이블과 관련된 서식디자인폼이 등록되지 않았습니다. 서식팀에 문의하시기 바랍니다.","I999");
- }else {
-
- if(window.children.item("SPAER00805") == null)
- {
- var xpt = 50;
- var ypt = 50;
- aezfTopMost("SPAER00805",2,xpt,ypt,"SPAER00805","/root/main/xslt/translist/trans","/root/main/xslt/translist/trans","",0,0);
-
- }else {
-
- copyNodesetType("/root/main/xslt/translist/trans", "/root/main/xslt/translist/trans", "replace" , window.children.item("SPAER00805").model, model);
- window.children.item("SPAER00805").model.refresh();
- window.children.item("SPAER00805").model.dispatch("xforms-ready");
- }
-
- }
- }*/
-
- setParameter("SPMRI02400_prtrecinfo", "E▦" + signno + "▦" + formcd + "▩");
- modal("SPMRI02400");
-
- }else {
- /*
- //alert(signno);
- model.setValue("/root/main/xslt/translist/trans", "");
- if(window.children.item("SPAER00805") == null) {
-
- }else {
- // signno 가 0 일 경우는 null Value Instance가 전달됨.
- copyNodesetType("/root/main/xslt/translist/trans", "/root/main/xslt/translist/trans", "replace" , window.children.item("SPAER00805").model, model);
- window.children.item("SPAER00805").model.refresh();
- window.children.item("SPAER00805").model.dispatch("xforms-ready");
- }
- */
- }
-
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 결과 조회 디자인 결과내역 보기 Function
- */
- function fPopupXsltList2() {
-
- model.resetInstanceNode("/root/send/val");
- model.resetInstanceNode("/root/send/formcd");
- var signstr = "";
- if ( model.getValue("/root/main/ordlist1/maindailylist[" + datagrid1.row + "]/signno") == "") {
- var signno = 0;
- var formcd = "";
- }else {
- var signno = model.getValue("/root/main/ordlist1/maindailylist[" + datagrid1.row + "]/signno");
- var formcd = model.getValue("/root/main/ordlist1/maindailylist[" + datagrid1.row + "]/formcd");
- }
-
- if ( signno != "" ) {
- signno1 = signno.split(",");
- formcd1 = formcd.split(",");
- //alert(formcd1[0]);
- for (var k = 0; k < signno1.length; k++){
- signstr += "E▦";
- signstr += parseInt(signno1[k])+"▦";
- signstr += formcd1[k].getTrim()+"▩";
- }
- //setParameter("SPMRI02400_prtrecinfo", "E▦" + parseInt(signno1[0]) + "▦" + formcd1[0] + "▩");
- setParameter("SPMRI02400_prtrecinfo", signstr);
- modal("SPMRI02400");
-
- }else {
-
- }
-
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 결과 조회 디자인 결과내역 보기 Function
- */
- function fPopupXsltList3() {
-
- model.resetInstanceNode("/root/send/val");
- model.resetInstanceNode("/root/send/formcd");
- var signstr = "";
- if ( model.getValue("/root/main/ordlist1/maindailylist[" + grd_maindaily.row + "]/signno") == "") {
- var signno = 0;
- var formcd = "";
- }else {
- var signno = model.getValue("/root/main/ordlist1/maindailylist[" + grd_maindaily.row + "]/signno");
- var formcd = model.getValue("/root/main/ordlist1/maindailylist[" + grd_maindaily.row + "]/formcd");
- }
-
- if ( signno != "" ) {
- signno1 = signno.split(",");
- formcd1 = formcd.split(",");
- //alert(formcd1[0]);
- for (var k = 0; k < signno1.length; k++){
- signstr += "E▦";
- signstr += parseInt(signno1[k])+"▦";
- signstr += formcd1[k].getTrim()+"▩";
- }
- //setParameter("SPMRI02400_prtrecinfo", "E▦" + parseInt(signno1[0]) + "▦" + formcd1[0] + "▩");
- setParameter("SPMRI02400_prtrecinfo", signstr);
- modal("SPMRI02400");
-
- }else {
-
- }
-
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 결과 조회 디자인 결과내역 보기 Function
- */
- function fPopupXsltContinueList() {
-
- model.resetInstanceNode("/root/send/val");
- model.resetInstanceNode("/root/send/formcd");
-
- var srchLength1 = model.instances(0).selectNodes( "/root/main/ordlist1/maindailylist" ).length;
- var signno = 0;
- var ckcnt = 0;
- var formcd = "";
- var signstr = "";
-
- //alert('fPopupXsltContinueList->'+srchLength1);
-
- if ( parseInt(srchLength1) > 0 ) {
- for ( var i = 1; i <= parseInt(srchLength1); i++ ) {
- signno = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/signno");
- signno1 = signno.split(",");
- formcd = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/formcd");
- formcd1 = formcd.split(",");
- check = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/check");
-
- if ( signno.length > 0 ) {
-
- if ( check == "Y" ) {
- for (var k = 0; k < signno1.length; k++){
- signstr += "E▦";
- signstr += parseInt(signno1[k])+"▦";
- signstr += formcd1[k].getTrim()+"▩";
-
- ckcnt++;
- }
- }
- }
- }
- if ( ckcnt == 0 ) {
- //messageBox("[연속보기] 기능은 한가지 이상 체크가 되어야 합니다.","I999");
- return true;
- }
- if ( signstr != "" ) {
- setParameter("SPMRI02400_prtrecinfo", signstr);
- var xpt = 50;
- var ypt = 50;
- aezfTopMost("SPMRI02400",2,xpt,ypt,"SPMRI02400");
- }else {
- alert("출력할 결과서식 디자인이 존재하지 않습니다.");
- return;
- }
- }
-
- /*
- if ( srchLength1 > 0 ) {
-
- for ( var i = 1; i <= srchLength1; i++ ) {
-
- signno = parseInt(model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/signno"));
- formcd = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/formcd");
- check = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/check");
-
- if ( signno > 0 ) {
-
- if ( check == "Y" ) {
- signstr += "E▦";
- signstr += signno+"▦";
- signstr += formcd.getTrim()+"▩";
-
- ckcnt++;
- }
- }
- }
-
- //alert('ckcnt->'+ckcnt);
- //alert('signstr->'+signstr);
-
- if ( ckcnt == 0 ) {
- //messageBox("[연속보기] 기능은 한가지 이상 체크가 되어야 합니다.","I999");
- return true;
- }
- //alert(signstr);
- if ( signstr != "" ) {
- //setParameter("SPMRI02400_prtrecinfo", "E▦" + signno + "▦" + formcd + "▩");
- setParameter("SPMRI02400_prtrecinfo", signstr);
- var xpt = 50;
- var ypt = 50;
- aezfTopMost("SPMRI02400",2,xpt,ypt,"SPMRI02400");
- //modal("SPMRI02400");
- }else {
- alert("출력할 결과서식 디자인이 존재하지 않습니다.");
- return;
- }
- }
- */
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 결과 조회 디자인 결과내역 보기 Function
- */
- function fPopupXsltContinueList2() {
-
- model.resetInstanceNode("/root/send/val");
- model.resetInstanceNode("/root/send/formcd");
-
- var srchLength1 = model.instances(0).selectNodes( "/root/main/ordlist1/maindailylist" ).length;
- var signno = 0;
- var ckcnt = 0;
- var formcd = "";
- var signstr = "";
-
- //alert('fPopupXsltContinueList2->'+srchLength1);
-
- if ( parseInt(srchLength1) > 0 ) {
-
- for ( var i = 1; i <= parseInt(srchLength1); i++ ) {
-
- signno = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/signno");
- signno1 = signno.split(",");
- formcd = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/formcd");
- formcd1 = formcd.split(",");
- check = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/check");
-
- if ( signno.length > 0 ) {
-
- if ( check == "Y" ) {
- for (var k = 0; k < signno1.length; k++){
- signstr += "E▦";
- signstr += parseInt(signno1[k])+"▦";
- signstr += formcd1[k].getTrim()+"▩";
-
- ckcnt++;
- }
- }
- }
- }
- //alert('ckcnt->'+ckcnt);
- //alert('signstr->'+signstr);
-
- if ( ckcnt == 0 ) {
- //messageBox("[연속보기] 기능은 한가지 이상 체크가 되어야 합니다.","I999");
- return true;
- }
- //alert(signstr);
- if ( signstr != "" ) {
- //setParameter("SPMRI02400_prtrecinfo", "E▦" + signno + "▦" + formcd + "▩");
- setParameter("SPMRI02400_prtrecinfo", signstr);
- var xpt = 50;
- var ypt = 50;
- aezfTopMost("SPMRI02400",2,xpt,ypt,"SPMRI02400");
- //modal("SPMRI02400");
- }else {
- alert("출력할 결과서식 디자인이 존재하지 않습니다.");
- return;
- }
- }
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 결과 조회 CDIS 연동내역 팝업 보기 Function
- */
- function fPopupCDISResultList() {
-
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 결과 조회 대량조회를 위한 Grid Scroll 제어 Function
- */
- function fSubmitOnScroll() {
-
- //if ( grd_mainprogress.vscroll.attribute("max") == model.getValue("/root/send/data/singdata/pagesize") ) {
-
- if(grd_mainprogress.vscroll.attribute("max") == grd_mainprogress.vscroll.attribute("pos")) {
-
- // end of scroll
- model.setValue("/root/send/data/singdata/offset",grd_mainprogress.rows-1); // grid의 header row는 제외
-
- model.setValue("/root/send/data/singdata/tabflag","progress");
- submit("TRAER00810");
-
- grd_mainprogress.dispatch("onmouseup");
- }
-
- //}
-
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 환자정보 가져오는 Function
- */
- function fGetMainSrchPatInfo() {
-
- if ( model.getValue("/root/main/patinfo/patinfolist/pid") == "" ) {
- aezfGetSrchPatInfo("1", model.getValue ( "/root/send/data/singdata/srchpid" ), getUserInfo("dutplceinstcd"), "patchosinfo", "/root/main/patinfo/patinfolist" );
- model.makeNode("/root/hidden/patinfo/patinfolist");
- copyNodesetType("/root/hidden/patinfo/patinfolist", "/root/main/patinfo/patinfolist" , "replace");
- }
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 선택항목 조회 Function
- */
- function fMianClickResultContinueList() {
-
- if ( btn_case3.selected == true || btn_case4.selected == true) {
- messageBox("[선택항목조회] 기능은 분류별/그룹별 조회에서만 적용됩니다.","I999");
- return true;
- }
- if ( grd_maindaily.rows == 0 ) return;
- if ( grd_mainserious.rows == 0 ) return;
- if ( grd_mainseriouslist.rows == 0 ) return;
-
- fClickResultContinueList();
-
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 선택항목 조회 Function
- */
- function fMianClickResultContinueList2() {
-
- if ( btn_case3.selected == true || btn_case4.selected == true) {
- messageBox("[선택항목조회] 기능은 분류별/그룹별 조회에서만 적용됩니다.","I999");
- return true;
- }
- if ( datagrid1.rows == 0 ) return;
- if ( grd_mainserious.rows == 0 ) return;
- if ( grd_mainseriouslist.rows == 0 ) return;
-
- fClickResultContinueList2();
-
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 결과 조회 대량조회를 위한 Grid Scroll 제어 Function
- */
- /* function fGetSrchPatInfo(cond1, cond2, cond3, cond99, rtnXpath) {
-
- // 환자정보 가져오기
- //model.setValue ( "/root/init/srchcond1", "1"); // 등록번호로 조회
- //model.setValue ( "/root/send/cond1", model.getValue ( "/root/init/srchcond1" ));
- //model.setValue ( "/root/send/cond2", model.getValue ( "/root/send/data/singdata/srchpid" ));
- //model.setValue ( "/root/send/cond3", getUserInfo("dutplceinstcd"));
- //model.setValue ( "/root/send/cond99", "patchosinfo");
- //alert("cond1->"+cond1+", cond2->"+cond2+", cond3->"+cond3+", cond99->"+cond99+", rtnXpath->"+rtnXpath);
- model.setValue ( "/root/send/cond1", cond1 );
- model.setValue ( "/root/send/cond2", cond2 );
- model.setValue ( "/root/send/cond3", cond3 );
- model.setValue ( "/root/send/cond99", cond99 );
- if (!submit ( "TRMMO02501",false )) { //검색 시작 값이 없으면 clear 한다.
- model.resetInstanceNode (rtnXpath );
- model.refresh();
- return "0";
- }else {
- return "1";
- }
-
- }
- */
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 결과 조회 LIS 자체 이미지 상세 조회 Function
- */
- function fGetimg(){
- var row = grd_subresultdetail1.row;
-
-
- if(model.getvalue("/root/main/subordlist1/subresultdetail1["+row+"]/judgmark") == "IMG" && model.getvalue("/root/main/subordlist1/subresultdetail1["+row+"]/bcno") != ""){
-
- //model.makeValue("/root/main/subordlist1/subresultdetail1["+row+"]/flag", "rsltref");
-
- modal("SMLRR01500","", "", "","", "/root/main/subordlist1/subresultdetail1["+row+"]", "/root/hidden/spcltestinfo");
-
- //model.removenode("/root/main/subordlist1/subresultdetail1["+row+"]/flag");
- }
- }
-
- function fGetimg2(){
- var row = grd_subresultdetail2.row;
- if(model.getvalue("/root/main/subordlist2/subresultdetail1["+row+"]/judgmark") == "IMG" && model.getvalue("/root/main/subordlist2/subresultdetail1["+row+"]/bcno") != ""){
- modal("SMLRR01500","", "", "","", "/root/main/subordlist2/subresultdetail1["+row+"]", "/root/hidden/spcltestinfo");
- }
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 결과 조회 LIS (병리) 자체 이미지 상세 조회 Function
- */
- function fGetPatholimg(){
- var row = grd_subresultdetail1.row;
-
-
- if(model.getvalue("/root/main/subordlist1/subresultdetail1["+row+"]/judgmark") == "IMP" && model.getvalue("/root/main/subordlist1/subresultdetail1["+row+"]/bcno") != ""){
-
- setParameter("SMLPP02000_scrno", "SMAER00800");
- setParameter("SMLPP02000_no", model.getvalue("/root/main/subordlist1/subresultdetail1["+row+"]/bcno"));
-
- modal("SMLPP02000");
- setParameter("SMLPP02000_scrno", "");
- setParameter("SMLPP02000_no", "");
- }
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 결과 조회 LIS (핵체외) 자체 이미지 상세 조회 Function
- */
- function fGetNNNimg(){
-
- //grd_subresultdetail1.row = grd_subresultdetail1.mouseRow;
- var row = grd_subresultdetail1.row;
-
- //alert(model.getvalue("/root/main/subordlist1/subresultdetail1["+row+"]/prcpcd"));
-
- if(model.getvalue("/root/main/subordlist1/subresultdetail1["+row+"]/judgmark2") == "NNN" && model.getvalue("/root/main/subordlist1/subresultdetail1["+row+"]/prcpcd") != ""){
- //alert('1');
- modal("SPLNP90400","", "", "","", "/root/main/subordlist1/subresultdetail1["+row+"]/prcpcd", "/root/hidden/prcpcd");
-
- }
- }
-
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 사용자 환경설정 tab 세팅
- */
- function fSetUserTermInit(){
- var AnswData = fGetIntefeAnsw("001");
- if(AnswData != "" ) {
- if(AnswData == "3개월"){
- model.setValue("/root/send/data/term", "90");
- }
- if(AnswData == "6개월"){
- model.setValue("/root/send/data/term", "180");
- }
- if(AnswData =="9개월"){
- model.setValue("/root/send/data/term", "270");
- }
- if(AnswData == "1년"){
- model.setValue("/root/send/data/term", "365");
- }
- if(AnswData == "2년"){
- model.setValue("/root/send/data/term", "730");
- }
- if(AnswData == "1주"){
- model.setValue("/root/send/data/term", "7");
- }
- if(AnswData == "2주"){
- model.setValue("/root/send/data/term", "14");
- }
-
- ipt_date2.value = getCurrentDate();
- var date2 = ipt_date2.value;
- var term = model.getValue("/root/send/data/term");
- ipt_date1.value = date2.toDate().getAddDate(-term,"D").getDateFormat("YYYYMMDD") ;
-
- }else {
- // 조회기간, Combo Box 초기화
- ipt_date1.value = getCurrentDate();
- var vRsrvdd = ipt_date1.value ;
- vRsrvdd = vRsrvdd.toDate("YYYYMMDD");
- vRsrvdd = vRsrvdd.getAddDate(-90);
- ipt_date1.value = vRsrvdd.getDateFormat();
- ipt_date2.value = getCurrentDate();
- model.setValue("/root/send/data/term", 90);
- }
- }
-
-
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 사용자 환경설정 tab 세팅
- */
- function fSetUserTabInit(){
-
- var chkbutton = fSetUserSeriesButtonInit();
-
- // alert(chkbutton);
-
- var AnswData = fGetIntefeAnsw("002");
-
- if(AnswData != "" ) {
-
- // alert('AnswData->'+AnswData);
-
- if( AnswData == "분류별" ){
-
- btn_case1.selected = true;
-
- if ( chkbutton == "A" ) {
- fGetHemoDailyList();
- }else if ( chkbutton == "B" ) {
- fGetPlgyDailyList();
- }else if ( chkbutton == "C" ) {
- fGetPhotDailyList();
- }else if ( chkbutton == "D" ) {
- fGetNuclDailyList();
- }else if ( chkbutton == "E" ) {
- fGetColonyDailyList();
- }else if ( chkbutton == "F" ) {
- fGetFuncDailyList();
- }else if ( chkbutton == "G" ) {
- fGetCellDailyList();
- }else {
- btn_case1.dispatch("DOMActivate");
- model.toggle("case1");
- }
-
- }
- if( AnswData == "SET별" ){
- btn_case3.selected = true;
- btn_case3.dispatch("DOMActivate");
- model.toggle("case3");
- }
- if( AnswData == "진행상태" ){
- btn_case4.selected = true;
- btn_case4.dispatch("DOMActivate");
- model.toggle("case4");
- }
- if( AnswData == "그룹별" ){
-
- btn_case5.selected = true;
-
- if ( chkbutton == "A" ) {
- fGetHemoDailyList();
- }else if ( chkbutton == "B" ) {
- fGetPlgyDailyList();
- }else if ( chkbutton == "C" ) {
- fGetPhotDailyList();
- }else if ( chkbutton == "D" ) {
- fGetNuclDailyList();
- }else if ( chkbutton == "E" ) {
- fGetColonyDailyList();
- }else if ( chkbutton == "F" ) {
- fGetFuncDailyList();
- }else if ( chkbutton == "G" ) {
- fGetCellDailyList();
- }else {
- btn_case5.dispatch("DOMActivate");
- model.toggle("case5");
- }
-
- }
-
- }else{
-
- if ( chkbutton == "ALL" ) {
- // fGetMainDistinctDailyList();
- // fGetMainDailyList();
- fGetSytsRsltRefList("ALL","B");
- }
-
- }
-
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 분류별/그룹별의 분류버튼들의 우선 조회순위 기준 세팅
- */
- function fSetUserSeriesButtonInit(){
-
- var AnswData = fGetIntefeAnsw("012");
-
- if(AnswData != "" ) {
-
- if( AnswData == "전체" ){
- return "ALL";
- }
- if( AnswData == "진검" ){
- return "A";
- }
- if( AnswData == "병리" ){
- return "B";
- }
- if( AnswData == "영상" ){
- return "C";
- }
- if( AnswData == "핵체외" ){
- return "D";
- }
- if( AnswData == "내시경" ){
- return "E";
- }
- if( AnswData == "기능" ){
- return "F";
- }
- if( AnswData == "미생물" ){
- return "G";
- }
-
- }else {
- return "ALL";
- }
-
- }
-
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 사용자 환경설정 부서 세팅
- */
- function fSetUserDeptInit(){
-
- var AnswData = fGetIntefeAnsw("003");
- if(AnswData != "" ) {
-
- if( AnswData == "전체" ){
- model.setValue("/root/send/data/singdata/deptcd" , "");
- }
- }
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 사용자 환경설정 조회기준 세팅
- */
- function fSetUserBaseInit(){
-
- var AnswData = fGetIntefeAnsw("004");
-
- if(AnswData != "" ) {
-
- if( AnswData == "처방일" ){
- model.setValue("/root/send/data/singdata/listflag", "P" );
- }
- if( AnswData == "검사일" ){
- model.setValue("/root/send/data/singdata/listflag", "J" );
- }
- if( AnswData == "보고일" ){
- model.setValue("/root/send/data/singdata/listflag", "Z" );
- }
- }
-
- }
-
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 좌측 분류별/그룹별 자동 체크 후 상세내역 조회 유뮤 세팅
- */
- function fGetResultContinueListInit1() {
-
- var AnswData = fGetIntefeAnsw("005");
- var cnt = 0;
- //alert(AnswData);
- if(AnswData != "" ) {
-
- if( AnswData == "처방리스트+검사결과" ){
-
- // 조회기준이 처방일 or 보고일 or 검사일에 따른 체크박스 체크 로직구현(처방일=최근처방일,보고일=최근보고일,검사일=최근처방일)
- // 20090203, 장준원 추가
- //alert('fGetResultContinueListInit1->'+model.getValue("/root/send/data/singdata/listflag"));
-
- var chklistflag = model.getValue("/root/send/data/singdata/listflag");
- if ( chklistflag == "Z" || chklistflag == "J" ) {
- var maxlastreptdd = "";
- var lastreptdd1 = "";
- var lastreptdd2 = "";
- var maxlastreptdd = model.getXPathValue("max(/root/main/ordlist1/maindailylist/lastreptdd)");
- var srchLength1 = model.instances(0).selectNodes( "/root/main/ordlist1/maindailylist" ).length;
- for ( var i = 1; i <= srchLength1; i++ ) {
- // 기준일자 이후의 결과일자는 모두 체크표시를 한다.
- // 결과일자가 없는 처방은 기본으로 표기한다.
- var vlastreptdd = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/lastreptdd").getTrim();
- if ( parseInt(vlastreptdd) == parseInt(maxlastreptdd) ) {
- // 기본설정 기능으로 결과상세조회할 지 의 여부를 판단한다. 20090109
- model.setValue("/root/main/ordlist1/maindailylist[" + i + "]/check", "Y");
- cnt++
- }
- }
-
- }else {
- var maxprcpdd = "";
- var prcpdd1 = "";
- var prcpdd2 = "";
- var maxprcpdd = model.getXPathValue("max(/root/main/ordlist1/maindailylist/prcpdd)");
- var srchLength1 = model.instances(0).selectNodes( "/root/main/ordlist1/maindailylist" ).length;
- for ( var i = 1; i <= srchLength1; i++ ) {
- // 기준일자 이후의 결과일자는 모두 체크표시를 한다.
- // 결과일자가 없는 처방은 기본으로 표기한다.
- var vprcpdd = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/prcpdd").getTrim();
- if ( parseInt(vprcpdd) == parseInt(maxprcpdd) ) {
- // 기본설정 기능으로 결과상세조회할 지 의 여부를 판단한다. 20090109
- model.setValue("/root/main/ordlist1/maindailylist[" + i + "]/check", "Y");
- cnt++
- }
- }
-
- }
- if ( cnt > 0 ) fClickResultContinueList();
-
- }
- }
- }
-
-
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 좌측 분류별/그룹별 자동 체크 후 상세내역 조회 유뮤 세팅
- */
- function fGetResultContinueListInit2() {
-
- var AnswData = fGetIntefeAnsw("005");
- var cnt = 0;
- if(AnswData != "" ) {
-
- if( AnswData == "처방리스트+검사결과" ){
-
- // 조회기준이 처방일 or 보고일 or 검사일에 따른 체크박스 체크 로직구현(처방일=최근처방일,보고일=최근보고일,검사일=최근처방일)
- // 20090203, 장준원 추가
- //alert('fGetResultContinueListInit2->'+model.getValue("/root/send/data/singdata/listflag"));
-
- var chklistflag = model.getValue("/root/send/data/singdata/listflag");
- if ( chklistflag == "Z" || chklistflag == "J" ) {
- var maxlastreptdd = "";
- var lastreptdd1 = "";
- var lastreptdd2 = "";
- var maxlastreptdd = "";
- for (var i = 1; i < datagrid1.rows; i++){
- var lastreptdd = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/lastreptdd");
- var lastreptdd1 = lastreptdd.split(",");
- for (var k = 0; k < lastreptdd1.length; k++){
- if (isValidDateTime(lastreptdd1[k], "YYYYMMDD") == true){
- if (lastreptdd1[k] != ""){
- if (lastreptdd1[k] > maxlastreptdd){
- maxlastreptdd = lastreptdd1[k];
- }
- }
- }
- }
- }
- var srchLength1 = model.instances(0).selectNodes( "/root/main/ordlist1/maindailylist" ).length;
- for ( var i = 1; i <= srchLength1; i++ ) {
- // 기준일자 이후의 결과일자는 모두 체크표시를 한다.
- // 결과일자가 없는 처방은 기본으로 표기한다.
- var lastreptdd = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/lastreptdd").getTrim();
- var lastreptdd1 = lastreptdd.split(",");
- var ichk = "N";
- for (var k = 0; k < lastreptdd1.length; k++){
- if (lastreptdd1[k] == maxlastreptdd){
- ichk = "Y";
- }
- }
- if (ichk == "Y"){
- // 기본설정 기능으로 결과상세조회할 지 의 여부를 판단한다. 20090109
- model.setValue("/root/main/ordlist1/maindailylist[" + i + "]/check", "Y");
- cnt++
- }
- }
- }else {
-
- var maxprcpdd = "";
- var prcpdd1 = "";
- var prcpdd2 = "";
- var maxprcpdd = "";
- for (var i = 1; i < datagrid1.rows; i++){
- var prcpdd = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/prcpdd");
- var prcpdd1 = prcpdd.split(",");
- for (var k = 0; k < prcpdd1.length; k++){
- if (isValidDateTime(prcpdd1[k], "YYYYMMDD") == true){
- if (prcpdd1[k] != ""){
- if (prcpdd1[k] > maxprcpdd){
- maxprcpdd = prcpdd1[k];
- }
- }
- }
- }
- }
- var srchLength1 = model.instances(0).selectNodes( "/root/main/ordlist1/maindailylist" ).length;
- for ( var i = 1; i <= srchLength1; i++ ) {
- // 기준일자 이후의 결과일자는 모두 체크표시를 한다.
- // 결과일자가 없는 처방은 기본으로 표기한다.
- var prcpdd = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/prcpdd").getTrim();
- var prcpdd1 = prcpdd.split(",");
- var ichk = "N";
- for (var k = 0; k < prcpdd1.length; k++){
- if (prcpdd1[k] == maxprcpdd){
- ichk = "Y";
- }
- }
- if (ichk == "Y"){
- // 기본설정 기능으로 결과상세조회할 지 의 여부를 판단한다. 20090109
- model.setValue("/root/main/ordlist1/maindailylist[" + i + "]/check", "Y");
- cnt++
- }
- }
- }
-
- if ( cnt > 0 ) fClickResultContinueList2();
-
- }
- }
- }
-
-
-
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 좌측 분류별/그룹별 자동 체크 후 상세내역 조회 유뮤 세팅
- */
- /* function fGetResultContinueListInit1() {
-
- var AnswData = fGetIntefeAnsw("005");
- var cnt = 0;
- //alert(AnswData);
- if(AnswData != "" ) {
-
- if( AnswData == "처방리스트+검사결과" ){
-
- var maxprcpdd = "";
- var prcpdd1 = "";
- var prcpdd2 = "";
- var maxprcpdd = model.getXPathValue("max(/root/main/ordlist1/maindailylist/prcpdd)");
- var srchLength1 = model.instances(0).selectNodes( "/root/main/ordlist1/maindailylist" ).length;
- for ( var i = 1; i <= srchLength1; i++ ) {
- // 기준일자 이후의 결과일자는 모두 체크표시를 한다.
- // 결과일자가 없는 처방은 기본으로 표기한다.
- var vprcpdd = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/prcpdd").getTrim();
- if ( parseInt(vprcpdd) == parseInt(maxprcpdd) ) {
- // 기본설정 기능으로 결과상세조회할 지 의 여부를 판단한다. 20090109
- model.setValue("/root/main/ordlist1/maindailylist[" + i + "]/check", "Y");
- cnt++
- }
- }
-
- if ( cnt > 0 ) fClickResultContinueList();
-
- }
- }
- }
- */
-
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 좌측 분류별/그룹별 자동 체크 후 상세내역 조회 유뮤 세팅
- */
- /* function fGetResultContinueListInit2() {
-
- var AnswData = fGetIntefeAnsw("005");
- var cnt = 0;
- if(AnswData != "" ) {
-
- if( AnswData == "처방리스트+검사결과" ){
-
- var maxprcpdd = "";
- var prcpdd1 = "";
- var prcpdd2 = "";
- var maxprcpdd = "";
- for (var i = 1; i < datagrid1.rows; i++){
- var prcpdd = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/prcpdd");
- var prcpdd1 = prcpdd.split(",");
- for (var k = 0; k < prcpdd1.length; k++){
- if (isValidDateTime(prcpdd1[k], "YYYYMMDD") == true){
- if (prcpdd1[k] != ""){
- if (prcpdd1[k] > maxprcpdd){
- maxprcpdd = prcpdd1[k];
- }
- }
- }
- }
- }
- var srchLength1 = model.instances(0).selectNodes( "/root/main/ordlist1/maindailylist" ).length;
- for ( var i = 1; i <= srchLength1; i++ ) {
- // 기준일자 이후의 결과일자는 모두 체크표시를 한다.
- // 결과일자가 없는 처방은 기본으로 표기한다.
- var prcpdd = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/prcpdd").getTrim();
- var prcpdd1 = prcpdd.split(",");
- var ichk = "N";
- for (var k = 0; k < prcpdd1.length; k++){
- if (prcpdd1[k] == maxprcpdd){
- ichk = "Y";
- }
- }
- if (ichk == "Y"){
- // 기본설정 기능으로 결과상세조회할 지 의 여부를 판단한다. 20090109
- model.setValue("/root/main/ordlist1/maindailylist[" + i + "]/check", "Y");
- cnt++
- }
- }
-
- if ( cnt > 0 ) fClickResultContinueList2();
-
-
- }
- }
- }
- */
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 좌측 분류별/그룹별 자동 체크 후 상세내역 조회 유뮤 세팅
- */
- function fGetResultContinueListInit3() {
-
- var AnswData = fGetIntefeAnsw("005");
- var cnt = 0;
- //alert(AnswData);
- if(AnswData != "" ) {
-
- if( AnswData == "처방리스트+검사결과" ){
- trv_prmsprcpsetlist.selectedIndex = 1;
- trv_prmsprcpsetlist.dispatch("xforms-select");
- }
-
- }
-
- }
-
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1215" pageheight="784" guideline="1,1193;1,763;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:106px; height:14px; ">결과조회</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:55px; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:53px; background-color:#fffbf2; border-color:#ffd799; "/>
- <input id="ipt_date1" ref="/root/send/data/singdata/srchdate1" class="input_default" inputtype="date" style="left:110px; top:6px; width:90px; height:19px; "/>
- <input id="ipt_date2" ref="/root/send/data/singdata/srchdate2" class="input_default" inputtype="date" style="left:205px; top:6px; width:90px; height:19px; "/>
- <caption id="caption3" class="search_name" style="left:385px; top:29px; width:86px; height:17px; color:#7F7F7F; ">등록번호</caption>
- <input id="ipt_pid" ref="/root/send/data/singdata/srchpid" class="input_search" style="left:466px; top:29px; width:89px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == 13) {
-
- setInputNodeCurText();
-
- if ( btn_case1.selected == true || btn_case5.selected == true) {
- // 환자정보 가져오기
- var chk = aezfGetSrchPatInfo("1", model.getValue ( "/root/send/data/singdata/srchpid" ), getUserInfo("dutplceinstcd"), "patchosinfo", "/root/main/patinfo/patinfolist" );
- if ( chk == "0" ) {
- return;
- } else {
- model.makeNode("/root/hidden/patinfo/patinfolist");
- copyNodesetType("/root/hidden/patinfo/patinfolist", "/root/main/patinfo/patinfolist" , "replace");
- }
-
- inputEnterKey("button10", "DOMActivate");
-
- } else {
- inputEnterKey("btn_srch", "DOMActivate");
- }
-
- }
- ]]>
- </script>
- </input>
- <line id="line13" class="line_4" style="x1:360px; y1:4px; x2:360px; y2:42px; "/>
- <line id="line2" class="line_4" style="x1:1070px; y1:7px; x2:1070px; y2:45px; "/>
- <button id="button13" class="btn1_letter4" visibility="hidden" style="left:1095px; top:12px; width:80px; height:22px; ">
- <caption>환자조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- fGetPatInfo();
- // window.load( "SPAER00801_환자조회.xrw","new","patinfo", "left:100px; top:150px; width:530px; height:380px;min:hidden;max:hidden;resize:false;" );
- ]]>
- </script>
- </button>
- <button id="btn_srch" class="btn1_letter4" style="left:1095px; top:17px; width:80px; height:22px; ">
- <caption>결과조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 환자정보 가져오기
- var chk = aezfGetSrchPatInfo("1", model.getValue ( "/root/send/data/singdata/srchpid" ), getUserInfo("dutplceinstcd"), "patchosinfo", "/root/main/patinfo/patinfolist" );
- if ( chk == "0" ) {
- return;
- }
-
- if ( btn_case1.selected == true ) { // 일자별 조회
- model.SetValue("/root/send/data/singdata/chkcheck", "ALL");
- fGetMainDistinctDailyList();
- fGetMainDailyList();
- }else if ( btn_case5.selected == true ) { // 검사분류별 조회
- model.SetValue("/root/send/data/singdata/chkcheck", "ALL");
- fGetMainDistinctDailyList();
- fGetMainDailyList2();
- }else if ( btn_case2.selected == true ) { // 검사분류별 조회
- fGetMainSeriousList();
- }else if ( btn_case3.selected == true ) { // SET별 조회
- fGetMainSetList();
- //fGetNResultRef();
- }else if ( btn_case4.selected == true ) { // 진행상태별 조회
- fGetMainProgressList();
- }
-
- ]]>
- </script>
- </button>
- <select1 id="rdo_statecd" ref="/root/send/data/singdata/listflag" class="radio_search" appearance="full" cols="4" rows="2" overflow="visible" style="left:110px; top:28px; width:178px; height:21px; border-style:none; ">
- <choices>
- <item>
- <label>처방일</label>
- <value>P</value>
- </item>
- <item>
- <label>검사일</label>
- <value>J</value>
- </item>
- <item>
- <label>보고일</label>
- <value>Z</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // 일자별
- if ( btn_case1.selected == true || btn_case5.selected == true ) {
-
- //btn_srch.dispatch("DOMActivate");
-
- }
- ]]>
- </script>
- </select1>
- <caption id="caption1" class="search_name" style="left:594px; top:7px; width:67px; height:17px; color:#7F7F7F; ">주치의</caption>
- <caption id="caption4" class="search_name" style="left:385px; top:7px; width:70px; height:17px; color:#7F7F7F; ">진료과</caption>
- <select1 id="cmb_orddr" ref="/root/send/data/singdata/drid" class="combo_search" appearance="minimal" style="left:664px; top:6px; width:91px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_orddr/initexecorddr">
- <label ref="execorddrcdnm"/>
- <value ref="execorddrcdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_orddept" ref="/root/send/data/singdata/deptcd" class="combo_search" appearance="minimal" style="left:466px; top:6px; width:113px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_basecd/initexecorddept">
- <label ref="execorddeptcdnm"/>
- <value ref="execorddeptcdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChngSrchDrId();
- ]]>
- </script>
- </select1>
- <caption id="caption2" class="search_name" visibility="hidden" style="left:774px; top:7px; width:86px; height:17px; color:#7F7F7F; ">병동</caption>
- <select1 id="cmb_roomcd" ref="/root/send/data/singdata/roomcd" class="combo_search" visibility="hidden" appearance="minimal" style="left:967px; top:6px; width:73px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_room/initexecroom">
- <label ref="execroomcdnm"/>
- <value ref="execroomcdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption5" class="search_name" style="left:594px; top:29px; width:86px; height:17px; color:#7F7F7F; ">환자명</caption>
- <select1 id="cmb_wardcd" ref="/root/send/data/singdata/wardcd" class="combo_search" visibility="hidden" appearance="minimal" style="left:847px; top:6px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_basecd/initexecward">
- <label ref="execwardcdnm"/>
- <value ref="execwardcdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChngSrchRoomCd();
- ]]>
- </script>
- </select1>
- <caption id="caption10" class="search_name" style="left:12px; top:29px; width:86px; height:17px; color:#7F7F7F; ">조회기준</caption>
- <caption id="caption11" class="search_name" style="left:12px; top:6px; width:86px; height:17px; color:#7F7F7F; ">조회기간</caption>
- <input id="input1" ref="/root/main/patinfo/patinfolist/hngnm" class="input_search" style="left:664px; top:29px; width:89px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- //model.setValue ( "/root/init/srchcond1", "2");
- //inputEnterKey ( "btn_bfprcpsrch", "DOMActivate" )
- ]]>
- </script>
- </input>
- <button id="button5" class="icon_search" style="left:758px; top:30px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fGetPatInfo();
- ]]>
- </script>
- </button>
- <input id="input2" ref="/root/main/patinfo/patinfolist/rrgstno1" class="input_search" disabled="true" style="left:780px; top:29px; width:60px; height:19px; "/>
- <input id="input3" ref="/root/main/patinfo/patinfolist/sex" class="input_search" disabled="true" style="left:902px; top:29px; width:20px; height:19px; "/>
- <input id="input4" ref="/root/main/patinfo/patinfolist/age" class="input_search" disabled="true" style="left:923px; top:29px; width:25px; height:19px; "/>
- <input id="input5" ref="/root/main/patinfo/patinfolist/rrgstno2" class="input_search" disabled="true" style="left:841px; top:29px; width:60px; height:19px; "/>
- <input id="input10" ref="/root/main/patinfo/patinfolist/ward" class="input_search" disabled="true" style="left:780px; top:7px; width:121px; height:19px; "/>
- <button id="button45" class="btn2_letter5" style="left:965px; top:8px; width:75px; height:19px; ">
- <caption>환경설정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SMMMB01100");
- ]]>
- </script>
- </button>
- </group>
- <datagrid id="grd_subresultdetail1" nodeset="/root/main/subordlist1/subresultdetail1" class="datagrid_noborder" autoresize="true" caption="^결과내역 ^judgmark^judgmark2^prcpcd^prcpnm^img^imgcnts" colsep="^" colwidth="19, 1184, 0, 0, 0, 0, 0, 0" frozencols="7" mergecellsfixedrows="bycolrec" rowsep="|" style="left:311px; top:110px; width:879px; height:632px; text-align:center; ">
- <col checkvalue="Y,N" ref="check" type="checkbox"/>
- <col ref="reptrslt" style="font-family:굴림체; text-align:left; "/>
- <col ref="judgmark"/>
- <col ref="judgmark2"/>
- <col ref="prcpcd"/>
- <col ref="prcpnm"/>
- <col ref="img"/>
- <col ref="imgcnts"/>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if (event.ctrlKey == true && event.keyCode == 67)
- {
- aezfSendMarkBuf(grd_subresultdetail1, "reptrslt", "/root/main/subordlist1/subresultdetail1");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onscroll">
- <![CDATA[
- grd_subresultdetail1.frozenCols = 0;
- ]]>
- </script>
- <script type="javascript" ev:event="onmouseup">
- <![CDATA[
- if ( (grd_subresultdetail1.row >= grd_subresultdetail1.fixedRows) && (grd_subresultdetail1.isCell(event.target))) {
-
- if ( grd_subresultdetail1.row >0){
- for ( var i =0 ; i< grd_subresultdetail1.selectedRows;i++){
-
- if (model.getValue("/root/main/subordlist1/subresultdetail1[" + grd_subresultdetail1.selectedRow(i) + "]/check")== "N"){
- model.setValue("/root/main/subordlist1/subresultdetail1[" + grd_subresultdetail1.selectedRow(i) + "]/check", "Y");
- } else {
- model.setValue("/root/main/subordlist1/subresultdetail1[" + grd_subresultdetail1.selectedRow(i) + "]/check", "N");
- // model.setValue("/root/main/subordlist1/subresultdetail1[" + grd_subresultdetail1.selectedRow(i) + "]/check", "Y");
- }
- }
- grd_subresultdetail1.frozenCols = 7;
- model.refresh();
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if ( (grd_subresultdetail1.row >= grd_subresultdetail1.fixedRows) && (grd_subresultdetail1.isCell(event.target))) {
-
- grd_subresultdetail1.row = grd_subresultdetail1.mouseRow;
- model.removenode("/root/init/popupmenu/grid02");
-
- //model.makeValue("/root/init/popupmenu/grid02/item/name" , "선택 복사");
- //model.makeValue("/root/init/popupmenu/grid02/item/func" , "fMainDailyGrdCopy");
-
- model.makeValue("/root/init/popupmenu/grid02/item/name" , "체크박스 해제");
- model.makeValue("/root/init/popupmenu/grid02/item/func" , "fSubGrdCheckBoxDel");
-
- model.makeValue("/root/init/popupmenu/grid02/item[2]/name" , "===============");
- model.makeValue("/root/init/popupmenu/grid02/item[2]/func" , "check");
- if(model.getvalue("/root/main/subordlist1/subresultdetail1["+ grd_subresultdetail1.row +"]/judgmark") == "IMG" &&
- model.getvalue("/root/main/subordlist1/subresultdetail1["+ grd_subresultdetail1.row +"]/bcno") != ""){
- model.makeValue("/root/init/popupmenu/grid02/item[3]/name" , "▶ 진단검사 이미지 보기");
- model.makeValue("/root/init/popupmenu/grid02/item[3]/func" , "fGetimg");
- }
-
- if(model.getvalue("/root/main/subordlist1/subresultdetail1["+ grd_subresultdetail1.row +"]/judgmark") == "IMP" &&
- model.getvalue("/root/main/subordlist1/subresultdetail1["+ grd_subresultdetail1.row +"]/bcno") != ""){
- model.makeValue("/root/init/popupmenu/grid02/item[4]/name" , "▶ 병리 이미지 보기");
- model.makeValue("/root/init/popupmenu/grid02/item[4]/func" , "fGetPatholimg");
- }
-
- if(model.getvalue("/root/main/subordlist1/subresultdetail1["+ grd_subresultdetail1.row +"]/judgmark2") == "NNN" &&
- model.getvalue("/root/main/subordlist1/subresultdetail1["+ grd_subresultdetail1.row +"]/prcpcd") != ""){
- model.makeValue("/root/init/popupmenu/grid02/item[4]/name" , "▶ 핵의학 서술형 참고치 보기");
- model.makeValue("/root/init/popupmenu/grid02/item[4]/func" , "fGetNNNimg");
- }
-
- setPopupMenu("grd_subresultdetail1", false, "/root/init/popupmenu/grid02/item", "name", "func");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- initPopupMenu();
- ]]>
- </script>
- </datagrid>
- <line id="line8" class="line_1" style="x1:311px; y1:105px; x2:1190px; y2:105px; "/>
- <caption id="caption22" class="tit_2" visibility="hidden" style="left:277px; top:26px; width:82px; height:13px; ">결과내역</caption>
- <button id="btn_case1" class="btn_sw" group="tab" selected="true" style="left:57px; top:84px; width:50px; height:22px; ">
- <caption>분류별</caption>
- <toggle case="case1" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetSytsRsltRefList("ALL","B");
-
- // model.SetValue("/root/send/data/singdata/chkcheck", "ALL");
- // fGetMainDistinctDailyList();
- // fGetMainDailyList();
-
- ]]>
- </script>
- </button>
- <button id="btn_case2" class="btn_sw" visibility="hidden" group="tab" style="left:50px; top:64px; width:75px; height:22px; ">
- <caption>검사분류별</caption>
- <toggle case="case2" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_makedset.visible = false;
-
- // 접기
- //fGetWideListX1(switch1, grd_mainset);
- datagrid2.visible = false;
- grd_subresultdetail1.visible = true;
- fGetWideListX1(switch1, grd_mainprogress);
- fGetMainSeriousList();
- ]]>
- </script>
- </button>
- <button id="btn_case3" class="btn_sw" group="tab" style="left:107px; top:84px; width:55px; height:22px; ">
- <caption>SET별</caption>
- <toggle case="case3" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetMainSetList();
-
- // grp_makedset.visible = true;
- // 접기
- //fGetWideListX1(switch1, grd_mainprogress);
-
- // 펼치기
- //fGetWideListX2(switch1, grd_mainset);
- //fGetMainSetList();
- ]]>
- </script>
- </button>
- <button id="btn_case4" class="btn_sw" group="tab" style="left:162px; top:84px; width:65px; height:22px; ">
- <caption>진행상태</caption>
- <toggle case="case4" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_makedset.visible = false;
-
- // 접기
- //fGetWideListX1(switch1, grd_mainset);
- datagrid2.visible = false;
- grd_subresultdetail1.visible = true;
- grd_subresultdetail2.visible = false;
-
- // 펼치기
- fGetWideListX2(switch1, grd_mainprogress);
- fGetMainProgressList();
- ]]>
- </script>
- </button>
- <button id="button102" class="icon_left" style="left:252px; top:85px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- if ( btn_case1.selected == true ) fGetWideListX1(switch1, grd_maindaily);
- if ( btn_case5.selected == true ) fGetWideListX1(switch1, datagrid1);
- if ( btn_case2.selected == true ) fGetWideListX1(switch1, grd_mainserious);
- //if ( btn_case3.selected == true ) fGetWideListX1(switch1, grd_mainset);
- if ( btn_case4.selected == true ) fGetWideListX1(switch1, grd_mainprogress);
- ]]>
- </script>
- </button>
- <button id="button103" class="icon_right" style="left:279px; top:85px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- if ( btn_case1.selected == true ) fGetWideListX2(switch1, grd_maindaily);
- if ( btn_case5.selected == true ) fGetWideListX2(switch1, datagrid1);
- if ( btn_case2.selected == true ) fGetWideListX2(switch1, grd_mainserious);
- //if ( btn_case3.selected == true ) fGetWideListX2(switch1, grd_mainset);
- if ( btn_case4.selected == true ) fGetWideListX2(switch1, grd_mainprogress);
- ]]>
- </script>
- </button>
- <button id="button12" class="btn2_letter4" visibility="hidden" style="left:835px; top:30px; width:64px; height:19px; ">
- <caption>누적조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //modal("SMLLP01000");
- // 1 일경우에는 누적조회 버튼을 클릭했다는 의미, 2는 그래프버튼을 클릭했다는 의미
- if ( grd_subresultdetail1.visible == true ) {
- fSetAddResult("1");
- }else if ( datagrid2.visible == true ) {
- fSetAddSPCResult("1");
- }
-
-
- ]]>
- </script>
- <hint>
- <![CDATA[진검,미생물,핵의학체외에 대한 누적결과조회입니다]]>
- </hint>
- </button>
- <button id="button3" class="btn2_letter4" visibility="hidden" style="left:710px; top:40px; width:64px; height:19px; ">
- <caption>연속보기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( btn_case3.selected == true || btn_case4.selected == true) {
- messageBox("[연속보기] 기능은 일자별/검사분류별 조회에서만 적용됩니다.","I999");
- return true;
- }
- //alert(grd_maindaily.row);
-
- // if ( grd_maindaily.row == 0 ) grd_maindaily.select(parseInt(1), parseInt(0), parseInt(1), parseInt(11)) = true ;
- //return;
- if ( grd_maindaily.row == 0 ) return;
- if ( grd_mainserious.row == 0 ) return;
- if ( grd_mainseriouslist.row == 0 ) return;
-
-
- fClickResultContinueList();
- ]]>
- </script>
- <hint>
- <![CDATA[결과내역에 대한 연속보기 기능입니다]]>
- </hint>
- </button>
- <group id="grp_searchset" style="left:445px; top:375px; width:427px; height:264px; ">
- <datagrid id="datagrid6" caption="진료과^구분^SET명^검사항목" colsep="^" colwidth="67, 54, 94, 203" mergecellsfixedrows="bycolrec" rowsep="|" style="left:1px; top:53px; width:424px; height:208px; ">
- <col/>
- <col/>
- <col/>
- <col/>
- </datagrid>
- <caption id="caption8" class="tit_1" style="left:25px; top:10px; width:106px; height:13px; ">SET 조회</caption>
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:3px; top:20px; width:420px; height:30px; "/>
- <select1 id="combo5" class="combo_search" appearance="minimal" style="left:80px; top:26px; width:113px; height:19px; ">
- <choices>
- <item>
- <label>combo1</label>
- <value>combo1</value>
- </item>
- </choices>
- </select1>
- <caption id="caption7" class="search_name" style="left:10px; top:26px; width:70px; height:17px; ">진료과</caption>
- <button id="button15" class="btn2_letter2" style="left:370px; top:26px; width:42px; height:19px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_searchset.visible = false;
- ]]>
- </script>
- </button>
- </group>
- <switch id="switch1" style="left:5px; top:105px; width:305px; height:636px; ">
- <case id="case1" selected="true">
- <datagrid id="grd_maindaily" nodeset="/root/main/ordlist1/maindailylist" autoresize="true" caption="^보고일자^검사일자^처방일자^검사명^검체명^병리번호^바코드번호^육안검사의^상태^입/외^처방의^구분^보고일자^처방일자^검사중분류코드^유일번호^등록번호^전자서명번호^서식코드^검사일자^hla" colsep="^" colwidth="25, 68, 68, 68, 115, 70, 70, 70, 102, 58, 39, 65, 54, 68, 68, 100, 100, 100, 100, 100,68,68" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:0px; top:50px; width:300px; height:580px; ">
- <col checkvalue="Y,N" ref="check" type="checkbox"/>
- <col ref="lastreptdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="execdd1" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="prcpdd1" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="examnm" style="text-align:left; "/>
- <col ref="spcnm" style="text-align:left; "/>
- <col ref="ptno"/>
- <col ref="bcno" visibility="hidden"/>
- <col ref="grosdrnm"/>
- <col ref="statnm"/>
- <col ref="prcpgenrflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initprcpgenrflagcd/M0010">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="drnm"/>
- <col ref="examgubun"/>
- <col ref="lastreptdd1" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="testmdlcd" visibility="hidden"/>
- <col ref="execprcpuniqno" visibility="hidden"/>
- <col ref="pid" visibility="hidden"/>
- <col ref="signno" visibility="hidden"/>
- <col ref="formcd" visibility="hidden"/>
- <col ref="execdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="hla" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //if ( grd_maindaily.row == 0 ) return;
- //alert(grd_maindaily.rows);
- //if ( (grd_maindaily.row >= grd_maindaily.fixedRows) && (grd_maindaily.isCell(event.target))) {
- //var colidx = grd_maindaily.col;
- //alert(colidx+'-'+rowidx);
- // 선택을 체크하면 조회가 아닌 선택체크를 해제만 한다.
- //if( colidx == 0)
- //{
- //}else {
- // fClickResultList(grd_maindaily);
- //}
-
-
- //}
-
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_maindaily.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if ( (grd_maindaily.row >= grd_maindaily.fixedRows) && (grd_maindaily.isCell(event.target))) {
- setPopupMenu("grd_maindaily", false, "/root/init/popupmenu/grid01/item", "name", "func");
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="onmouseup">
- <![CDATA[
- if ( (grd_maindaily.row >= grd_maindaily.fixedRows) && (grd_maindaily.isCell(event.target))) {
-
- var colidx = grd_maindaily.col;
-
- if ( grd_maindaily.row >0){
- for ( var i =0 ; i< grd_maindaily.selectedRows;i++){
- //alert(model.getValue("/root/main/ordlist1/maindailylist[" + grd_maindaily.selectedRow(i) + "]/check"));
- if (model.getValue("/root/main/ordlist1/maindailylist[" + grd_maindaily.selectedRow(i) + "]/check")== "N" ||
- model.getValue("/root/main/ordlist1/maindailylist[" + grd_maindaily.selectedRow(i) + "]/check")== ""){
- if( colidx == 0) {
-
- }else {
- model.setValue("/root/main/ordlist1/maindailylist[" + grd_maindaily.selectedRow(i) + "]/check", "Y");
- }
-
- } else {
-
- if( colidx == 0) {
-
- }else {
- model.setValue("/root/main/ordlist1/maindailylist[" + grd_maindaily.selectedRow(i) + "]/check", "N");
- }
- }
- }
- model.refresh();
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- initPopupMenu();
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if ( (grd_maindaily.row >= grd_maindaily.fixedRows) && (grd_maindaily.isCell(event.target))) {
- var colidx = grd_maindaily.col;
- //alert(colidx+'-'+rowidx);
- // 선택을 체크하면 조회가 아닌 선택체크를 해제만 한다.
- if( colidx == 0)
- {
- }else {
- fClickResultList(grd_maindaily);
- }
- }
- ]]>
- </script>
- </datagrid>
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:3px; top:2px; width:296px; height:44px; "/>
- <button id="btn_dailysrch" class="btn2_letter2" visibility="hidden" style="left:250px; top:12px; width:42px; height:19px; ">
- <caption>검색</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetMainDailyList();
- ]]>
- </script>
- </button>
- <select1 id="cmb_dailylist" ref="/root/send/data/singdata/refname" class="combo_search" appearance="minimal" style="left:105px; top:5px; width:171px; height:19px; font-weight:bold; border-width:2px; ">
- <choices>
- <itemset nodeset="/root/main/ordlist6/maindistinctdailylist">
- <label ref="refname"/>
- <value ref="prcpdd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.SetValue("/root/send/data/singdata/chkcheck", "ALL");
-
- var refname = cmb_dailylist.value;
- var param = refname.split("_");
-
- if (param.length > 0) {
- model.SetValue("/root/send/data/singdata/deptcd", param[0]);
- model.SetValue("/root/send/data/singdata/prcpdd", param[1]);
-
- fGetMainDailyList();
- }
- ]]>
- </script>
- </select1>
- <select1 id="cmb_dailyviewgb" ref="/root/send/data/singdata/dailyviewgb" class="combo_search" visibility="hidden" appearance="minimal" style="left:170px; top:11px; width:113px; height:19px; font-weight:bold; ">
- <choices>
- <item>
- <label>텍스트결과조회</label>
- <value>1</value>
- </item>
- <item>
- <label>디자인결과조회</label>
- <value>2</value>
- </item>
- <item>
- <label>텍스트+디자인결과</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <button id="button38" class="btn2_letter6" style="left:12px; top:4px; width:86px; height:19px; ">
- <caption>선택항목조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( btn_case3.selected == true || btn_case4.selected == true) {
- messageBox("[선택항목조회] 기능은 분류별/그룹별 조회에서만 적용됩니다.","I999");
- return true;
- }
- if ( grd_maindaily.rows == 0 ) return;
- if ( grd_mainserious.rows == 0 ) return;
- if ( grd_mainseriouslist.rows == 0 ) return;
-
- fClickResultContinueList();
-
- ]]>
- </script>
- </button>
- <button id="button41" class="btn2_letter6" style="left:12px; top:26px; width:86px; height:19px; ">
- <caption>서식항목조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( btn_case3.selected == true || btn_case4.selected == true) {
- messageBox("[서식항목조회] 기능은 분류별/그룹별 조회에서만 적용됩니다.","I999");
- return true;
- }
- if ( grd_maindaily.rows == 0 ) return;
- if ( grd_mainserious.rows == 0 ) return;
- if ( grd_mainseriouslist.rows == 0 ) return;
-
- fPopupXsltContinueList2();
-
- ]]>
- </script>
- </button>
- </case>
- <case id="case2">
- <datagrid id="grd_mainserious" nodeset="/root/main/ordlist2/mainserious" caption="^처방일^주치의^입/외^상태^유일번호^등록번호" colsep="^" colwidth="22, 66, 78, 43, 78, 0, 0" mergecellsfixedrows="bycolrec" rowsep="|" style="left:90px; top:5px; width:204px; height:625px; ">
- <col checkvalue="Y,N" ref="check" type="checkbox"/>
- <col ref="prcpdd" style="text-align:center; "/>
- <col ref="drnm"/>
- <col ref="prcpgenrflag" type="combo" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initprcpgenrflagcd/M0010">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="statnm"/>
- <col ref="execprcpuniqno"/>
- <col ref="pid"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if ( grd_mainserious.row == 0 ) return;
- if ( (grd_mainserious.row >= grd_mainserious.fixedRows) && (grd_mainserious.isCell(event.target))) {
- var colidx = grd_mainserious.col;
- //alert(colidx+'-'+rowidx);
- // 선택을 체크하면 조회가 아닌 선택체크를 해제만 한다.
- if( colidx == 0)
- {
- }else {
- fClickResultList(grd_mainserious);
- }
- }
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_mainseriouslist" nodeset="/root/main/ordlist5/mainseriouslist" caption="검사분류명^코드^검사구분" colsep="^" colwidth="81, 0, 0" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:5px; width:85px; height:625px; ">
- <col ref="examnm"/>
- <col ref="testmdlcd"/>
- <col ref="examgubun"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- if ( grd_mainseriouslist.row == 0 ) return;
-
- if ( (grd_mainseriouslist.row >= grd_mainseriouslist.fixedRows) && (grd_mainseriouslist.isCell(event.target))) {
- var rowidx = grd_mainseriouslist.row;
-
- //alert(model.getValue("/root/main/ordlist5/mainseriouslist["+rowidx+"]/testmdlcd"));
-
- var mdlcd = model.getValue("/root/main/ordlist5/mainseriouslist["+rowidx+"]/testmdlcd");
- var examgubun = model.getValue("/root/main/ordlist5/mainseriouslist["+rowidx+"]/examgubun");
- fGetMainSerious(mdlcd, examgubun);
- }
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case3">
- <treeview id="trv_prmsprcpsetlist" ref="/root/temp/trvprmsprcpsetlist" dragmode="true" dropmode="true" expanddepth="5" fullrowselect="false" itemsettype="depth" style="left:0px; top:130px; width:301px; height:500px; border-color:#c7a3cf; border-style:solid; ">
- <itemset nodeset="/root/main/prmsprcpsetinfo/prmsprcpsetlist">
- <label ref="setnm"/>
- <value ref="setno"/>
- <depth ref="levl"/>
- </itemset>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fGetNResultRef();
- ]]>
- </script>
- </treeview>
- <button id="btn_makedset" class="btn2_letter7" style="left:5px; top:10px; width:97px; height:19px; ">
- <caption>SET수정/등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_makedset.visible = false;
- //modal( "SMAER00801",100,10,"SMAER00801","","");
- //ivw_prcp.src = "SPAER00803_SET수정등록.xrw";
- var xpt = window.screenleft;
- var ypt = window.screentop;
- modal("SPAER00803", 1, xpt + 15, ypt+33);
-
- //modal( "SPAER00803",100,10,"SPAER00803","","");
- ]]>
- </script>
- </button>
- <button id="btn_setsrch" class="btn2_letter8" style="left:103px; top:10px; width:108px; height:19px; ">
- <caption>SET전체항목조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if ( grp_makedset.visible == true ) {
- grp_makedset.visible = false;
- return;
- }
- else {
- grp_makedset.visible = true;
- readPDfunc();
- }
- //grp_searchset.visible = true;
- ]]>
- </script>
- </button>
- <shape id="roundrect4" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:5px; top:35px; width:295px; height:90px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="button2" class="btn2_letter2" style="left:219px; top:100px; width:42px; height:19px; ">
- <caption>검색</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSrchFolderNM();
- ]]>
- </script>
- </button>
- <input id="ipt_foldnm" ref="/root/send/setdata/foldernm" style="left:90px; top:100px; width:125px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_srch", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption12" class="search_name" style="left:15px; top:101px; width:86px; height:17px; ">폴더명 :</caption>
- <select1 id="cmb_deptset" ref="/root/send/setdata/deptsetcd" disabled="true" appearance="minimal" style="left:46px; top:74px; width:194px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/deptlist/deptlist">
- <label ref="deptnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //fSelectDeptCmb();
- //model.setValue("/root/send/setdata/deptnm", cmb_deptset.label);
- //readfunc();
- combo1.dispatch("xforms-value-changed");
- ]]>
- </script>
- </select1>
- <select1 id="rdo_setflag" ref="/root/send/setdata/setkindcd" appearance="full" cellspacing="15" cols="3" rows="1" overflow="visible" style="left:56px; top:48px; width:179px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>개인</label>
- <value>P</value>
- </item>
- <item>
- <label>과</label>
- <value>D</value>
- </item>
- <item>
- <label>타과</label>
- <value>T</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grp_makedset.visible = false; // SET전체항목조회 비활성화
- if (model.getValue("/root/send/setdata/setkindcd") == "P" || model.getValue("/root/send/setdata/setkindcd") == "D"){
- submit("TRAER00815");
- readfunc();
- cmb_deptset.disabled = true;
- }else{
- submit("TRAER00815");
- cmb_deptset.disabled = false;
- readfunc(); // 실제 조회 결과는 없음.
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption13" visibility="hidden" style="left:71px; top:47px; width:43px; height:20px; font-weight:bold; color:#ff0000; ">개인</caption>
- <caption id="caption14" visibility="hidden" style="left:131px; top:47px; width:43px; height:20px; font-weight:bold; color:#ff0000; ">과</caption>
- <caption id="caption15" visibility="hidden" style="left:177px; top:47px; width:43px; height:20px; font-weight:bold; color:#ff0000; border-color:transparent; ">타과</caption>
- </case>
- <case id="case4">
- <datagrid id="grd_mainprogress" nodeset="/root/main/ordlist4/mainprogress" autoresize="true" caption="입/외^처방일시^구분^처방명^검체명^검체번호^병리번호^육안검사의^상태^처방의^예약일시^채취일시^접수일시^실시일시^보고일시^채취자^접수자^처방코드" colsep="^" colwidth="40, 75, 47, 143, 63, 57, 57, 45, 58, 45, 75, 75, 75, 75, 75, 60, 60, 80" explorerbar="sortshowmove" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:5px; width:300px; height:625px; ">
- <col ref="prcpgenrflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initprcpgenrflagcd/M0010">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="prcpdt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="biznm"/>
- <col ref="prcpnm"/>
- <col ref="spcnm"/>
- <col ref="drugmthdspccd"/>
- <col ref="bcno"/>
- <col ref="grosdrnm"/>
- <col ref="prcpstatnm"/>
- <col ref="orddrnm"/>
- <col ref="rsrvdt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="bcolldt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="acptdt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="execdt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="reptdt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="bcollid"/>
- <col ref="acptid"/>
- <col ref="prcpcd"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClickResultList(grd_mainprogress);
- ]]>
- </script>
- <script type="javascript" ev:event="onscroll">
- <![CDATA[
- fSubmitOnScroll();
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case5">
- <datagrid id="datagrid1" nodeset="/root/main/ordlist1/maindailylist" autoresize="true" caption="^보고일자^검사일자^처방일자^검사명^검체명^병리번호^바코드번호^육안검사의^상태^입/외^처방의^구분^보고일자^처방일자^검사중분류코드^유일번호^등록번호^전자서명번호^서식코드^검사일자^hla" colsep="^" colwidth="25, 68, 68, 68, 115, 70, 70, 70, 102, 58, 39, 65, 54, 68, 68, 100, 100, 100, 100, 100,68,68" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:0px; top:50px; width:300px; height:580px; ">
- <col checkvalue="Y,N" ref="check" type="checkbox"/>
- <col ref="lastreptdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="execdd1" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="prcpdd1" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="examnm" style="text-align:left; "/>
- <col ref="spcnm" style="text-align:left; "/>
- <col ref="ptno"/>
- <col ref="bcno" visibility="hidden"/>
- <col ref="grosdrnm"/>
- <col ref="statnm"/>
- <col ref="prcpgenrflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initprcpgenrflagcd/M0010">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="drnm"/>
- <col ref="examgubun"/>
- <col ref="lastreptdd1" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="testmdlcd" visibility="hidden"/>
- <col ref="execprcpuniqno" visibility="hidden"/>
- <col ref="pid" visibility="hidden"/>
- <col ref="signno" visibility="hidden"/>
- <col ref="formcd" visibility="hidden"/>
- <col ref="execdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="hla" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //if ( grd_maindaily.row == 0 ) return;
- //alert(grd_maindaily.rows);
- //if ( (grd_maindaily.row >= grd_maindaily.fixedRows) && (grd_maindaily.isCell(event.target))) {
- //var colidx = grd_maindaily.col;
- //alert(colidx+'-'+rowidx);
- // 선택을 체크하면 조회가 아닌 선택체크를 해제만 한다.
- //if( colidx == 0)
- //{
- //}else {
- // fClickResultList(grd_maindaily);
- //}
-
-
- //}
-
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- datagrid1.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if ( (datagrid1.row >= datagrid1.fixedRows) && (datagrid1.isCell(event.target))) {
- setPopupMenu("datagrid1", false, "/root/init/popupmenu/grid02/item", "name", "func");
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="onmouseup">
- <![CDATA[
- if ( (datagrid1.row >= datagrid1.fixedRows) && (datagrid1.isCell(event.target))) {
-
- var colidx = datagrid1.col;
-
- if ( datagrid1.row >0){
- for ( var i =0 ; i< datagrid1.selectedRows;i++){
- //alert(model.getValue("/root/main/ordlist1/maindailylist[" + grd_maindaily.selectedRow(i) + "]/check"));
- if (model.getValue("/root/main/ordlist1/maindailylist[" + datagrid1.selectedRow(i) + "]/check")== "N" ||
- model.getValue("/root/main/ordlist1/maindailylist[" + datagrid1.selectedRow(i) + "]/check")== ""){
- if( colidx == 0) {
-
- }else {
- model.setValue("/root/main/ordlist1/maindailylist[" + datagrid1.selectedRow(i) + "]/check", "Y");
- }
-
- } else {
-
- if( colidx == 0) {
-
- }else {
- model.setValue("/root/main/ordlist1/maindailylist[" + datagrid1.selectedRow(i) + "]/check", "N");
- }
- }
- }
- model.refresh();
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- initPopupMenu();
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if ( (datagrid1.row >= datagrid1.fixedRows) && (datagrid1.isCell(event.target))) {
-
- var colidx = datagrid1.col;
- //alert(colidx+'-'+rowidx);
- // 선택을 체크하면 조회가 아닌 선택체크를 해제만 한다.
-
- if( colidx == 0)
- {
- }else {
- fClickResultList(datagrid1);
- }
-
- }
- ]]>
- </script>
- </datagrid>
- <button id="button43" class="btn2_letter6" style="left:12px; top:4px; width:86px; height:19px; ">
- <caption>선택항목조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( btn_case3.selected == true || btn_case4.selected == true) {
- messageBox("[선택항목조회] 기능은 분류별/그룹별 조회에서만 적용됩니다.","I999");
- return true;
- }
- if ( datagrid1.rows == 0 ) return;
- if ( grd_mainserious.rows == 0 ) return;
- if ( grd_mainseriouslist.rows == 0 ) return;
-
- fClickResultContinueList2();
-
- ]]>
- </script>
- </button>
- <button id="button44" class="btn2_letter6" style="left:12px; top:26px; width:86px; height:19px; ">
- <caption>서식항목조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( btn_case3.selected == true || btn_case4.selected == true) {
- messageBox("[서식항목조회] 기능은 분류별/그룹별 조회에서만 적용됩니다.","I999");
- return true;
- }
- if ( datagrid1.rows == 0 ) return;
- if ( grd_mainserious.rows == 0 ) return;
- if ( grd_mainseriouslist.rows == 0 ) return;
-
- fPopupXsltContinueList2();
-
- ]]>
- </script>
- </button>
- <select1 id="combo2" ref="/root/send/data/singdata/refname" class="combo_search" appearance="minimal" style="left:105px; top:5px; width:171px; height:19px; font-weight:bold; border-width:2px; ">
- <choices>
- <itemset nodeset="/root/main/ordlist6/maindistinctdailylist">
- <label ref="refname"/>
- <value ref="prcpdd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.SetValue("/root/send/data/singdata/chkcheck", "ALL");
-
- var refname = combo2.value;
- var param = refname.split("_");
-
- if (param.length > 0) {
- model.SetValue("/root/send/data/singdata/deptcd", param[0]);
- model.SetValue("/root/send/data/singdata/prcpdd", param[1]);
-
- fGetMainDailyList2();
- }
- ]]>
- </script>
- </select1>
- </case>
- </switch>
- <group id="grp_makedset" style="left:8px; top:212px; width:303px; height:488px; ">
- <datagrid id="grd_makedset" nodeset="/root/main/prmsprcppdsetinfo/prmsprcpsetlist" autoresize="true" caption="구분^SET명^검사항목" colsep="^" colwidth="40, 76, 164" mergecellsfixedrows="bycolrec" rowsep="|" style="left:1px; top:24px; width:300px; height:460px; ">
- <col ref="setkindnm"/>
- <col ref="setnm"/>
- <col ref="testcdnm"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if ( grd_makedset.row >= grd_makedset.fixedRows ) {
- fGetPDResultRef();
- }
-
-
- ]]>
- </script>
- </datagrid>
- <button id="button9" class="btn2_letter2" style="left:250px; top:4px; width:42px; height:19px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_makedset.visible = false;
- ]]>
- </script>
- </button>
- <caption id="caption9" class="tit_1" style="left:0px; top:0px; width:135px; height:13px; ">SET 전체항목조회</caption>
- </group>
- <datagrid id="datagrid2" nodeset="/root/main/rsltlist/row" visibility="hidden" autoresize="true" backcoloralternate="transparent" caption="검사항목" colsep="^" colwidth="80" dataheight="25" ellipsis="true" frozencols="2" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" selectionmode="free" style="left:311px; top:110px; width:879px; height:632px; font-weight:bold; ">
- <col checkvalue="true,false" ref="chk"/>
- </datagrid>
- <button id="button4" class="btn2_letter4" visibility="hidden" style="left:689px; top:30px; width:64px; height:19px; ">
- <caption>CDIS연동</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
-
- if ( btn_case3.selected == true || btn_case4.selected == true) {
- messageBox("[CDIS연동] 기능은 일자별/검사분류별 조회에서만 적용됩니다.","I999");
- return true;
- }
- //if ( grd_maindaily.row == 0 ) return;
- //if ( grd_mainserious.row == 0 ) return;
- //if ( grd_mainseriouslist.row == 0 ) return;
- if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
- messageBox("등록번호를 입력하세요.","I999");
- return true;
- }
-
- if ( btn_case1.selected == true ) fClickCDISResultList(grd_maindaily);
- if ( btn_case2.selected == true ) fClickCDISResultList(grd_mainserious);
-
- ]]>
- </script>
- </button>
- <button id="button11" class="btn2_letter3" visibility="hidden" style="left:900px; top:30px; width:53px; height:19px; ">
- <caption>그래프</caption>
- <hint>
- <![CDATA[진검,미생물,핵의학체외에 대한 그래프결과조회입니다]]>
- </hint>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if ( grd_subresultdetail1.visible == true ) {
- fSetAddResult("2");
- }else if ( datagrid2.visible == true ) {
- fSetAddSPCResult("2");
- }
- ]]>
- </script>
- </button>
- <button id="button6" class="btn2_letter5" visibility="hidden" style="left:613px; top:30px; width:75px; height:19px; ">
- <caption>PACS연동</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if ( btn_case3.selected == true || btn_case4.selected == true) {
- messageBox("[PACS Ord 연동] 기능은 분류별/그룹별 조회에서만 적용됩니다.","I999");
- return true;
- }
- if ( grd_maindaily.row == 0 ) return;
- if ( grd_mainserious.row == 0 ) return;
- if ( grd_mainseriouslist.row == 0 ) return;
- if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
- messageBox("등록번호를 입력하세요.","I999");
- return true;
- }
-
- //if ( btn_case1.selected == true ) fClickPACSOrdResultList(grd_maindaily);
- //if ( btn_case2.selected == true ) fClickPACSOrdResultList(grd_mainserious);
- if ( btn_case1.selected == true ) fClickPACSOrdPatResultList(grd_maindaily);
- if ( btn_case2.selected == true ) fClickPACSOrdPatResultList(grd_mainserious);
-
-
- ]]>
- </script>
- </button>
- <button id="button8" class="btn2_letter5" visibility="hidden" style="left:307px; top:25px; width:75px; height:19px; ">
- <caption>PACS Pat</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( btn_case3.selected == true || btn_case4.selected == true) {
- messageBox("[PACS Pat 연동] 기능은 분류별/그룹별 조회에서만 적용됩니다.","I999");
- return true;
- }
- if ( grd_maindaily.row == 0 ) return;
- if ( grd_mainserious.row == 0 ) return;
- if ( grd_mainseriouslist.row == 0 ) return;
- if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
- messageBox("등록번호를 입력하세요.","I999");
- return true;
- }
-
- if ( btn_case1.selected == true ) fClickPACSPatResultList(grd_maindaily);
- if ( btn_case2.selected == true ) fClickPACSPatResultList(grd_mainserious);
- //zepfpacsPatientID(PatientID)
- ]]>
- </script>
- </button>
- <button id="button16" class="btn2_letter8" visibility="hidden" style="left:370px; top:35px; width:108px; height:19px; ">
- <caption>PACS Ord+Pat</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( btn_case3.selected == true || btn_case4.selected == true) {
- messageBox("[PACS Ord 연동] 기능은 일자별/검사분류별 조회에서만 적용됩니다.","I999");
- return true;
- }
- if ( grd_maindaily.row == 0 ) return;
- if ( grd_mainserious.row == 0 ) return;
- if ( grd_mainseriouslist.row == 0 ) return;
- if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
- messageBox("등록번호를 입력하세요.","I999");
- return true;
- }
-
- if ( btn_case1.selected == true ) fClickPACSOrdPatResultList(grd_maindaily);
- if ( btn_case2.selected == true ) fClickPACSOrdPatResultList(grd_mainserious);
- //zepfpacsAll(OrderID, PatientID)
- ]]>
- </script>
- </button>
- <button id="button14" class="btn2_letter7" visibility="hidden" style="left:969px; top:30px; width:97px; height:19px; ">
- <caption>미생물누적조회</caption>
- <hint>
- <![CDATA[미생물 검사에 대한 누적결과조회입니다]]>
- </hint>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetAddMicroResult();
- ]]>
- </script>
- </button>
- <object id="obj_imge" clsid="{72e5d9ed-0d6a-46e8-aead-23144bfef878}" style="left:635px; top:110px; width:500px; height:500px; background-color:transparent; "/>
- <button id="button28" class="btn2_letter7" visibility="hidden" style="left:315px; top:5px; width:97px; height:19px; ">
- <caption>내시경연속보기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //if ( btn_case3.selected == true || btn_case4.selected == true) {
- // messageBox("[내시경연속보기] 기능은 일자별 조회에서만 적용됩니다.","I999");
- // return true;
- //}
- fGetColonyDailyList();
- ]]>
- </script>
- </button>
- <button id="button29" class="btn2_letter6" visibility="hidden" style="left:412px; top:5px; width:86px; height:19px; ">
- <caption>병리연속보기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //if ( btn_case3.selected == true || btn_case4.selected == true) {
- // messageBox("[병리연속보기] 기능은 일자별 조회에서만 적용됩니다.","I999");
- // return true;
- //}
- fGetPlgyDailyList();
- ]]>
- </script>
- </button>
- <button id="button26" class="btn2_letter7" visibility="hidden" style="left:498px; top:5px; width:97px; height:19px; ">
- <caption>미생물연속보기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //if ( btn_case3.selected == true || btn_case4.selected == true) {
- // messageBox("[미생물연속보기] 기능은 일자별 조회에서만 적용됩니다.","I999");
- // return true;
- //}
- fGetCellDailyList();
- ]]>
- </script>
- </button>
- <button id="button27" class="btn2_letter6" visibility="hidden" style="left:595px; top:5px; width:86px; height:19px; ">
- <caption>기능연속보기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //if ( btn_case3.selected == true || btn_case4.selected == true) {
- // messageBox("[기능(과검사)연속보기] 기능은 일자별 조회에서만 적용됩니다.","I999");
- // return true;
- //}
- fGetFuncDailyList();
- ]]>
- </script>
- </button>
- <button id="button31" class="btn2_letter6" style="left:809px; top:65px; width:86px; height:19px; ">
- <caption>CDIS연속연동</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( btn_case3.selected == true || btn_case4.selected == true) {
- messageBox("[CDIS연속연동] 기능은 분류별/그룹별 조회에서만 적용됩니다.","I999");
- return true;
- }
- //if ( grd_maindaily.row == 0 ) return;
- //if ( grd_mainserious.row == 0 ) return;
- //if ( grd_mainseriouslist.row == 0 ) return;
- if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
- messageBox("등록번호를 입력하세요.","I999");
- return true;
- }
-
- if ( btn_case1.selected == true ) fClickCDISResultList(grd_maindaily);
- if ( btn_case2.selected == true ) fClickCDISResultList(grd_mainserious);
- if ( btn_case5.selected == true ) fClickCDISResultList(datagrid1);
- ]]>
- </script>
- </button>
- <button id="button32" class="btn2_letter6" visibility="hidden" style="left:681px; top:5px; width:86px; height:19px; ">
- <caption>영상연속보기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //if ( btn_case3.selected == true || btn_case4.selected == true) {
- // messageBox("[영상연속보기] 기능은 일자별 조회에서만 적용됩니다.","I999");
- // return true;
- //}
- fGetPhotDailyList();
- ]]>
- </script>
- </button>
- <button id="button30" class="btn5_letter4" disabled="false" style="left:874px; top:85px; width:64px; height:19px; ">
- <caption>가로누적</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 1 일경우에는 누적조회 버튼을 클릭했다는 의미, 2는 그래프버튼을 클릭했다는 의미
- if ( grd_subresultdetail1.visible == true ) {
- fSetAddResult("1");
- }else if ( datagrid2.visible == true ) {
- fSetAddSPCResult("1");
- }
- ]]>
- </script>
- <hint>
- <![CDATA[진검,미생물,핵의학체외에 대한 누적결과조회입니다]]>
- </hint>
- </button>
- <button id="button34" class="btn5_letter5" disabled="false" style="left:938px; top:85px; width:75px; height:19px; ">
- <caption>Graph누적</caption>
- <hint>
- <![CDATA[진검,미생물,핵의학체외에 대한 그래프 누적결과조회입니다]]>
- </hint>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( grd_subresultdetail1.visible == true ) {
- fSetAddResult("2");
- }else if ( datagrid2.visible == true ) {
- fSetAddSPCResult("2");
- }
- ]]>
- </script>
- </button>
- <button id="button25" class="btn5_letter5" disabled="false" style="left:1013px; top:85px; width:75px; height:19px; ">
- <caption>미생물누적</caption>
- <hint>
- <![CDATA[미생물 검사에 대한 누적결과조회입니다]]>
- </hint>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetAddMicroResult();
- ]]>
- </script>
- </button>
- <select1 id="combo1" ref="/root/send/setdata/deptsetcd" class="combo_search" appearance="minimal" style="left:309px; top:66px; width:150px; height:19px; font-weight:bold; border-width:2px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_basecd/initexecorddept2">
- <label ref="execorddeptcdnm"/>
- <value ref="execorddeptcdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- //alert(combo1.focusIndex);
- var index = combo1.focusIndex+1;
- model.setValue("/root/send/setdata/deptsetcd", model.getValue("/root/init/cmb_basecd/initexecorddept2["+index+"]/execorddeptcdid"));
- model.setValue("/root/send/setdata/deptnm", model.getValue("/root/init/cmb_basecd/initexecorddept2["+index+"]/execorddeptcdnm"));
- model.refresh();
-
- //alert(model.getValue("/root/send/setdata/deptsetcd"));
- //alert(model.getValue("/root/send/setdata/deptnm"));
- btn_case3.selected = true;
- model.toggle("case3");
- //return;
- fGetMainSetList();
- model.setValue("/root/send/setdata/deptsetcd", "");
- model.setValue("/root/send/setdata/deptnm", "");
- model.refresh();
-
- ]]>
- </script>
- </select1>
- <button id="button33" class="btn2_letter5" style="left:895px; top:65px; width:75px; height:19px; ">
- <caption>PACS연동</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( btn_case3.selected == true || btn_case4.selected == true) {
- messageBox("[PACS 연동] 기능은 분류별/그룹별 조회에서만 적용됩니다.","I999");
- return true;
- }
- if ( grd_maindaily.row == 0 ) return;
- if ( grd_mainserious.row == 0 ) return;
- if ( grd_mainseriouslist.row == 0 ) return;
- if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
- messageBox("등록번호를 입력하세요.","I999");
- return true;
- }
-
- //if ( btn_case1.selected == true ) fClickPACSOrdResultList(grd_maindaily);
- //if ( btn_case2.selected == true ) fClickPACSOrdResultList(grd_mainserious);
- if ( btn_case1.selected == true ) fClickPACSOrdPatResultList(grd_maindaily);
- if ( btn_case2.selected == true ) fClickPACSOrdPatResultList(grd_mainserious);
- if ( btn_case5.selected == true ) fClickPACSOrdPatResultList(datagrid1);
- ]]>
- </script>
- </button>
- <button id="button24" class="btn2_letter7" visibility="hidden" style="left:767px; top:5px; width:97px; height:19px; ">
- <caption>진검연속보기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //if ( btn_case3.selected == true || btn_case4.selected == true) {
- // messageBox("[미생물연속보기] 기능은 일자별 조회에서만 적용됩니다.","I999");
- // return true;
- //}
- fGetHemoDailyList();
- ]]>
- </script>
- </button>
- <button id="button35" class="btn2_letter7" visibility="hidden" style="left:864px; top:5px; width:97px; height:19px; ">
- <caption>핵체외연속보기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //if ( btn_case3.selected == true || btn_case4.selected == true) {
- // messageBox("[미생물연속보기] 기능은 일자별 조회에서만 적용됩니다.","I999");
- // return true;
- //}
- fGetNuclDailyList();
- ]]>
- </script>
- </button>
- <button id="btn_MyPatList" class="btn2_letter5" style="left:965px; top:40px; width:75px; height:19px; ">
- <caption>대상자조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(window.children.item("SPAER00802") == null)
- {
- var xpt = 1000;
- var ypt = 0;
- aezfTopMost("SPAER00802",1,xpt,ypt,"SPAER00802","/root/send/data/singdata","/root/send","",0,0);
-
- }else {
-
- copyNodesetType("/root/send", "/root/send/data/singdata", "replace" , window.children.item("SPAER00802").model, model);
- window.children.item("SPAER00802").model.refresh();
- window.children.item("SPAER00802").model.dispatch("xforms-ready");
- }
- ]]>
- </script>
- </button>
- <button id="button7" class="btn2_letter7" style="left:970px; top:65px; width:97px; height:19px; ">
- <caption>PACS-등록번호</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( btn_case3.selected == true || btn_case4.selected == true) {
- messageBox("[PACS 연동-등록번호기준] 기능은 분류별/그룹별 조회에서만 적용됩니다.","I999");
- return true;
- }
- if ( grd_maindaily.row == 0 ) return;
- if ( grd_mainserious.row == 0 ) return;
- if ( grd_mainseriouslist.row == 0 ) return;
- if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
- messageBox("등록번호를 입력하세요.","I999");
- return true;
- }
- if ( btn_case1.selected == true ) fClickPACSPatResultList(grd_maindaily);
- if ( btn_case2.selected == true ) fClickPACSPatResultList(grd_mainserious);
- if ( btn_case5.selected == true ) fClickPACSPatResultList(datagrid1);
- ]]>
- </script>
- </button>
- <button id="button37" class="btn2_letter2" visibility="visible" style="left:1151px; top:65px; width:42px; height:19px; ">
- <caption>메뉴</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //open("SMAZZ00101",1,0,0,"SMAZZ00101");
- open("SMAZZ00101",1,0,0,"SMAZZ00101");
-
- //open(id,monNo,xPos,yPos,wid,ref,resultref,userProp,prevPos)
- ]]>
- </script>
- </button>
- <button id="button17" class="btn2_letter3" style="left:364px; top:86px; width:53px; height:19px; ">
- <caption>진검</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetHemoDailyList();
- ]]>
- </script>
- </button>
- <button id="button18" class="btn2_letter3" style="left:688px; top:86px; width:53px; height:19px; ">
- <caption>미생물</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetCellDailyList();
- ]]>
- </script>
- </button>
- <button id="button19" class="btn2_letter3" style="left:418px; top:86px; width:53px; height:19px; ">
- <caption>병리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetPlgyDailyList();
- ]]>
- </script>
- </button>
- <button id="button20" class="btn2_letter3" style="left:526px; top:86px; width:53px; height:19px; ">
- <caption>핵체외</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetNuclDailyList();
- ]]>
- </script>
- </button>
- <button id="button21" class="btn2_letter3" style="left:472px; top:86px; width:53px; height:19px; ">
- <caption>영상</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetPhotDailyList();
-
- ]]>
- </script>
- </button>
- <button id="button10" class="btn2_letter3" style="left:310px; top:86px; width:53px; height:19px; ">
- <caption>전체</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.SetValue("/root/send/data/singdata/chkcheck", "ALL");
- // 분류별 조회
- if ( btn_case1.selected == true ){
- fGetSytsRsltRefList("ALL","B");
- // fGetMainDistinctDailyList();
- // fGetMainDailyList();
- }
-
- // 그룹별 조회
- if ( btn_case5.selected == true ){
- fGetSytsRsltRefList("ALL","G");
- // fGetMainDistinctDailyList();
- // fGetMainDailyList2();
- }
- ]]>
- </script>
- </button>
- <button id="button22" class="btn2_letter3" style="left:580px; top:86px; width:53px; height:19px; ">
- <caption>내시경</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetColonyDailyList();
-
- ]]>
- </script>
- </button>
- <button id="button23" class="btn2_letter3" style="left:634px; top:86px; width:53px; height:19px; ">
- <caption>기능</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetFuncDailyList();
- ]]>
- </script>
- </button>
- <button id="button39" class="btn5_letter4" disabled="false" style="left:810px; top:85px; width:64px; height:19px; ">
- <caption>세로누적</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- // "1" : 텍스트 결과 내역에서 호출 , "2" : 수치 누적결과 내역에서 호출
- if ( grd_subresultdetail1.visible == true ) {
- fSetVertAddResult("1");
- }else if ( datagrid2.visible == true ) {
- fSetVertAddResult("2");
- }
-
-
- //alert('개발진행중입니다.');
- ]]>
- </script>
- <hint>
- <![CDATA[검사항목(진검,미생물,핵의학체외) 1건에 대한 세로누적결과조회입니다]]>
- </hint>
- </button>
- <select1 id="cmb_mdl" ref="/root/hidden/mdlcd" class="combo_search" appearance="minimal" itemcount="30" style="left:460px; top:66px; width:160px; height:19px; font-weight:bold; border-width:2px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_basecd/LB0102">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
-
- btn_case3.selected = true;
- model.toggle("case3");
- datagrid2.visible = true;
- fGetNSeriesResultRef();
- //진검분류별 기준자료 조회
- cmb_mdl.selectedIndex = 0;
- model.setValue("/root/send/setdata/setno", "");
- model.setValue("/root/send/setdata/workflag", "");
-
- model.refresh();
- //alert('개발진행중입니다.');
- ]]>
- </script>
- </select1>
- <button id="button36" class="btn2_letter4" visibility="visible" style="left:742px; top:86px; width:64px; height:19px; ">
- <caption>건진소견</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetHealExamDetailList();
- ]]>
- </script>
- </button>
- <button id="button40" class="btn2_letter2" visibility="visible" style="left:1067px; top:65px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( btn_case1.selected == true || btn_case5.selected == true ) {
- exeReportPreview("RPAER00801", "XMLSTR", "/root/main", "/root/main");
- }else {
- messageBox("출력기능은 분류별/그룹별 탭에서만 가능합니다.(RexPert)","I999");
- return true;
- }
- ]]>
- </script>
- </button>
- <select1 id="cmb_term" ref="/root/send/data/term" class="combo_default" appearance="minimal" style="left:297px; top:16px; width:60px; height:19px; ">
- <choices>
- <item>
- <label>1주</label>
- <value>7</value>
- </item>
- <item>
- <label>2주</label>
- <value>14</value>
- </item>
- <item>
- <label>3개월</label>
- <value>90</value>
- </item>
- <item>
- <label>6개월</label>
- <value>180</value>
- </item>
- <item>
- <label>9개월</label>
- <value>270</value>
- </item>
- <item>
- <label>1년</label>
- <value>365</value>
- </item>
- <item>
- <label>2년</label>
- <value>730</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var date2 = ipt_date2.value;
- var term = cmb_term.value;
- ipt_date1.value = date2.toDate().getAddDate(-term,"D").getDateFormat("YYYYMMDD") ;
- //btn_srch.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <button id="button1" class="btn2_letter2" visibility="visible" style="left:1109px; top:65px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var file = window.fileDialog("save","","false","","xls","Excel Files(*.xls)|*.xls");
- var chkcheck1 = model.getValue("/root/send/data/singdata/chkcheck1");
- if ( btn_case1.selected == true || btn_case2.selected == true || btn_case5.selected == true ) {
- if (chkcheck1 == "A") {
- grd_subresultdetail2.saveExcel(file);
- } else {
- grd_subresultdetail1.saveExcel(file);
- }
- }else if (btn_case3.selected == true) {
- datagrid2.saveExcel(file);
- }else if (btn_case4.selected == true) {
- grd_mainprogress.saveExcel(file);
- }
- ]]>
- </script>
- </button>
- <button id="button42" class="btn5_letter4" disabled="false" style="left:1088px; top:85px; width:64px; height:19px; ">
- <caption>참고(핵)</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //open("SMAZZ00101",1,0,0,"SMAZZ00101");
- open("SPLNP90400",1,0,0,"SPLNP90400");
-
- //open(id,monNo,xPos,yPos,wid,ref,resultref,userProp,prevPos)
- ]]>
- </script>
- <hint>
- <![CDATA[진검,미생물,핵의학체외에 대한 누적결과조회입니다]]>
- </hint>
- </button>
- <button id="btn_case5" class="btn_sw" group="tab" selected="true" style="left:7px; top:84px; width:50px; height:22px; ">
- <caption>그룹별</caption>
- <toggle case="case5" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- fGetSytsRsltRefList("ALL","G");
- // model.SetValue("/root/send/data/singdata/chkcheck", "ALL");
- // fGetMainDistinctDailyList();
- // fGetMainDailyList2();
- ]]>
- </script>
- </button>
- <datagrid id="datagrid3" nodeset="/root/send1/ordlist1/maindailylist" visibility="hidden" caption="caption1^caption2^caption3^caption4^caption5^caption6^caption7^caption8^caption9^caption10" colsep="^" colwidth="47, 100, 87, 88, 32, 87, 51, 84, 87, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:385px; top:205px; width:775px; height:320px; ">
- <col ref="check"/>
- <col ref="testmdlcd"/>
- <col ref="lastreptdd"/>
- <col ref="examgubun"/>
- <col ref="level"/>
- <col ref="srchpid"/>
- <col ref="dutplceinstcd"/>
- <col ref="prcpdd"/>
- <col ref="execprcpuniqno"/>
- <col ref="bcno"/>
- </datagrid>
- <button id="btn_PathoRsltOld" class="btn2_letter6" visibility="hidden" style="left:723px; top:65px; width:86px; height:19px; ">
- <caption>병리결과OLD</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
- messageBox("등록번호를 입력하세요.","I999");
- return true;
- }
- model.makeValue("/root/hidden/param/pid", model.getValue("/root/send/data/singdata/srchpid"));
- modal("SPLPP90100","","","","","/root/hidden/param","/root/hidden/param");
- ]]>
- </script>
- </button>
- <button id="btn_cadiac" class="btn2_letter4" visibility="hidden" style="left:630px; top:65px; width:100px; height:20px; ">
- <caption>CADIAC</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( btn_case3.selected == true || btn_case4.selected == true) {
- messageBox("[CADIAC 연동-등록번호기준] 기능은 분류별/그룹별 조회에서만 적용됩니다.","I999");
- return true;
- }
- if ( grd_maindaily.row == 0 ) return;
- if ( grd_mainserious.row == 0 ) return;
- if ( grd_mainseriouslist.row == 0 ) return;
- if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
- messageBox("등록번호를 입력하세요.","I999");
- return true;
- }
- if ( btn_case1.selected == true ) fClickCADIACPatResultList(grd_maindaily);
- if ( btn_case2.selected == true ) fClickCADIACPatResultList(grd_mainserious);
- if ( btn_case5.selected == true ) fClickCADIACPatResultList(datagrid1);
- ]]>
- </script>
- </button>
- <datagrid id="grd_subresultdetail2" nodeset="/root/main/subordlist2/subresultdetail1" visibility="hidden" autoresize="true" caption="검사명^결과^단위^참고치^보고일시^검사자^확인자^시행부서^검사코드^검체번호^판정마크^구분^처방코드^처방명^판정마크2" colsep="^" colwidth="266, 55, 55, 76, 107, 62, 62, 91, 62, 87, 57, 68, 66, 208, 69" mergecells="byrow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="free" style="left:311px; top:110px; width:879px; height:632px; ">
- <col ref="tclsscrnnnm"/>
- <col ref="reptrslt"/>
- <col ref="rsltunit"/>
- <col ref="ref"/>
- <col ref="lastreptdt"/>
- <col ref="testpsn"/>
- <col ref="chkid"/>
- <col ref="tsectnm"/>
- <col ref="testcd"/>
- <col ref="bcno"/>
- <col disabled="true" ref="judgmark" type="combo">
- <choices>
- <item>
- <label>title</label>
- <value>T</value>
- </item>
- <item>
- <label>미생물</label>
- <value>M</value>
- </item>
- <item>
- <label>이미지</label>
- <value>IMG</value>
- </item>
- <item>
- <label>공통</label>
- <value>C</value>
- </item>
- </choices>
- </col>
- <col ref="flag"/>
- <col ref="prcpcd"/>
- <col ref="prcpnm"/>
- <col disabled="true" ref="judgmark2" type="combo">
- <choices>
- <item>
- <label>▼ 결과</label>
- <value>L</value>
- </item>
- <item>
- <label>▲ 결과</label>
- <value>H</value>
- </item>
- </choices>
- </col>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- astgrid_oncopy();
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if ( (grd_subresultdetail2.row >= grd_subresultdetail2.fixedRows) && (grd_subresultdetail2.isCell(event.target)) && (event.ctrlKey != true) ) {
-
- grd_subresultdetail2.row = grd_subresultdetail2.mouseRow;
- model.removenode("/root/init/popupmenu/grid02");
- if(model.getvalue("/root/main/subordlist2/subresultdetail1["+ grd_subresultdetail2.row +"]/judgmark") == "IMG" &&
- model.getvalue("/root/main/subordlist2/subresultdetail1["+ grd_subresultdetail2.row +"]/bcno") != ""){
- model.makeValue("/root/init/popupmenu/grid02/item[1]/name" , "▶ 진단검사 이미지 보기");
- model.makeValue("/root/init/popupmenu/grid02/item[1]/func" , "fGetimg2");
- }
-
- setPopupMenu("grd_subresultdetail2", false, "/root/init/popupmenu/grid02/item", "name", "func");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- initPopupMenu();
- ]]>
- </script>
- </datagrid>
- </group>
- <datagrid id="datagrid5" nodeset="/root/hidden/tmp" visibility="hidden" caption="caption1^caption3^caption2" colsep="^" colwidth="100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:510px; top:480px; width:350px; height:150px; ">
- <col ref="row"/>
- <col ref="col"/>
- <col ref="value"/>
- </datagrid>
- </xhtml:body>
- </xhtml:html>
|