SMLPR00100_검사결과등록.xrw 297 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>검사결과등록</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <testrslt>
  11. <testrsltinfoh>
  12. <instcd/>
  13. <ptno/>
  14. <rsltrgsttm/>
  15. <rsltrgstdd/>
  16. <rsltrgstno/>
  17. <rsltrgsthistno/>
  18. <rsltcnts1/>
  19. <rsltcnts2/>
  20. <rsltcnts3/>
  21. <rsltcnts4/>
  22. <rsltcnts5/>
  23. <cmtcnts/>
  24. <grostestrecdd/>
  25. <grostestrectm/>
  26. <grostestrecid/>
  27. <grostestrecnm/>
  28. <extrpartcd/>
  29. <extrmthdcd/>
  30. <diagcnts/>
  31. <diagcd/>
  32. <rsltrgstid/>
  33. <pid/>
  34. <spckeepflagcd/>
  35. <rslthideflagcd/>
  36. <conccaseflagcd/>
  37. <preprsltflagcd/>
  38. <ugcyalertflagcd/>
  39. <readdd/>
  40. <readtm/>
  41. <readid/>
  42. <cnclflagcd/>
  43. <cnclresncd/>
  44. <cncldd/>
  45. <cncltm/>
  46. <cnclid/>
  47. <rsltstat/>
  48. <keybloc/>
  49. <tissbloct/>
  50. <tissblocnt/>
  51. <grospic/>
  52. <tissbank/>
  53. <readgrade/>
  54. <rsltrgstnm/>
  55. <rgstdd/>
  56. <rgsttm/>
  57. <memocnts/>
  58. <cncrjudgflagcd/>
  59. </testrsltinfoh>
  60. <patinfo>
  61. <ptno/>
  62. <patnm/>
  63. <rrgstno/>
  64. <pid/>
  65. <sexage/>
  66. <acptdd/>
  67. <readdd/>
  68. <grosdrid/>
  69. <grosdrnm/>
  70. <spcnm/>
  71. <spckeepflagcd/>
  72. <cstecnt/>
  73. <specdrnm/>
  74. <specdrcd/>
  75. </patinfo>
  76. <testcdlist>
  77. <instcd/>
  78. <ptno/>
  79. <acptdd/>
  80. <acpttm/>
  81. <acptno/>
  82. <acptitemno/>
  83. <testcd/>
  84. <testnm/>
  85. <orgacptstatcd/>
  86. <orgprcpstatcd/>
  87. <pid/>
  88. <prcpdd/>
  89. <execprcpuniqno/>
  90. <orddeptcd/>
  91. <orddeptnm/>
  92. <orddrid/>
  93. <orddrnm/>
  94. <wardroom/>
  95. <reqfrmflagcd/>
  96. <spccd/>
  97. <spcnm/>
  98. <prcpgenrflag/>
  99. <mpphonno/>
  100. <statsworkflagcd/>
  101. <atdoctnm/>
  102. <ptnocd/>
  103. </testcdlist>
  104. <workrelaptnolist>
  105. <instcd/>
  106. <pid/>
  107. <ptno/>
  108. <workflagcd/>
  109. <teststate/>
  110. </workrelaptnolist>
  111. <staintestlist>
  112. <instcd/>
  113. <ptno/>
  114. <dispptno/>
  115. <acptdd/>
  116. <acptno/>
  117. <acptitemno/>
  118. <testcd/>
  119. <testnm/>
  120. <postive/>
  121. <nagative/>
  122. <workflagcd/>
  123. <rsltrgstdd/>
  124. <rsltrgstno/>
  125. <testrslt/>
  126. <trandd/>
  127. <tranno/>
  128. <orgacptstatcd/>
  129. <orgprcpstatcd/>
  130. <prcpdd/>
  131. <execprcpuniqno/>
  132. <prcpgenrflag/>
  133. </staintestlist>
  134. <relaptnolist>
  135. <instcd/>
  136. <pid/>
  137. <ptno/>
  138. <dispptno/>
  139. </relaptnolist>
  140. <bfptnolist>
  141. <instcd/>
  142. <pid/>
  143. <ptno/>
  144. <dispptno/>
  145. <extrpartcd/>
  146. <diagcd/>
  147. <extrmthdcd/>
  148. </bfptnolist>
  149. <readdoctlist>
  150. <choi/>
  151. <instcd/>
  152. <userid/>
  153. <usernm/>
  154. <jobkindcd/>
  155. <rgstdd/>
  156. <rgstno/>
  157. <userrgstdd/>
  158. <dispseqno/>
  159. <ptno/>
  160. <orgdispseqno/>
  161. <userabbr/>
  162. </readdoctlist>
  163. <iftestlist>
  164. <instcd/>
  165. <ptno/>
  166. <rsltrgstdd/>
  167. <rsltrgstno/>
  168. <testcd/>
  169. <rgstflagcd/>
  170. <itemseqno/>
  171. <itemhistno/>
  172. <acptdd/>
  173. <acptno/>
  174. <acptitemno/>
  175. <testnm/>
  176. <testrslt01/>
  177. <testrslt02/>
  178. <testrslt03/>
  179. <testrslt04/>
  180. <testrslt05/>
  181. <testrslt06/>
  182. <testrslt07/>
  183. <testrslt08/>
  184. <testrslt09/>
  185. <testrslt10/>
  186. <testrslt11/>
  187. <testrslt12/>
  188. <testrslt13/>
  189. <testrslt14/>
  190. <testrslt15/>
  191. <testrslt16/>
  192. <testrslt17/>
  193. <testrslt18/>
  194. <testrslt19/>
  195. <testrslt20/>
  196. </iftestlist>
  197. <moletestlist>
  198. <instcd/>
  199. <ptno/>
  200. <dispptno/>
  201. <acptdd/>
  202. <acptno/>
  203. <acptitemno/>
  204. <testcd/>
  205. <testnm/>
  206. <workflagcd/>
  207. <rsltrgstdd/>
  208. <rsltrgstno/>
  209. <testrslt/>
  210. <trandd/>
  211. <tranno/>
  212. <orgacptstatcd/>
  213. <orgprcpstatcd/>
  214. <prcpdd/>
  215. <execprcpuniqno/>
  216. <prcpgenrflag/>
  217. </moletestlist>
  218. <frzncstelist>
  219. <instcd/>
  220. <ptno/>
  221. <dispptno/>
  222. <spcacptdd/>
  223. <spcacptno/>
  224. <spccd/>
  225. <spcnm/>
  226. <spcacptseqno/>
  227. <csteno/>
  228. <cstecnts/>
  229. <acptdd/>
  230. <acpttm/>
  231. <indd/>
  232. <intm/>
  233. <readdd/>
  234. <readtm/>
  235. <readrslt/>
  236. <readdrnm1/>
  237. <readdrid1/>
  238. <readdrnm2/>
  239. <readdrid2/>
  240. <readdrnm3/>
  241. <readdrid3/>
  242. <cmtcnts/>
  243. </frzncstelist>
  244. <sepouserlist1>
  245. <choi/>
  246. <instcd/>
  247. <userid/>
  248. <usernm/>
  249. <jobkindcd/>
  250. <rgstdd/>
  251. <rgstno/>
  252. <userrgstdd/>
  253. <dispseqno/>
  254. <ptno/>
  255. <orgdispseqno/>
  256. </sepouserlist1>
  257. <sepouserlist2>
  258. <choi/>
  259. <instcd/>
  260. <userid/>
  261. <usernm/>
  262. <jobkindcd/>
  263. <rgstdd/>
  264. <rgstno/>
  265. <userrgstdd/>
  266. <dispseqno/>
  267. <ptno/>
  268. <orgdispseqno/>
  269. </sepouserlist2>
  270. <diagcntslist>
  271. <termengnm/>
  272. <termhngnm/>
  273. </diagcntslist>
  274. <specdrlist>
  275. <choi/>
  276. <instcd/>
  277. <userid/>
  278. <usernm/>
  279. <rgstdd/>
  280. <rgstno/>
  281. <userrgstdd/>
  282. <dispseqno/>
  283. </specdrlist>
  284. </testrslt>
  285. <etcrslt>
  286. <etcrsltcnt>
  287. <instcd/>
  288. <bizflagcd/>
  289. <rsltcnt/>
  290. </etcrsltcnt>
  291. </etcrslt>
  292. <mdlcdlist>
  293. <mdlcdinfo>
  294. <choi/>
  295. <instcd/>
  296. <baseflagcd/>
  297. <resncd/>
  298. <resncnts/>
  299. <mdlflagcd/>
  300. </mdlcdinfo>
  301. </mdlcdlist>
  302. <recstyle>
  303. <recstylelist>
  304. <reccnts/>
  305. <toppos/>
  306. <degnrowno/>
  307. </recstylelist>
  308. </recstyle>
  309. </main>
  310. <send/>
  311. <init>
  312. <exmpcont>
  313. <exmpcontlist>
  314. <exmpcd/>
  315. <exmpnm/>
  316. <exmpcnts/>
  317. </exmpcontlist>
  318. </exmpcont>
  319. <hospenv>
  320. <hospenvinfo>
  321. <instcd/>
  322. <lendrtnterm/>
  323. <recvqualmthdcd/>
  324. <plgydeptcd/>
  325. <plgyteamcd/>
  326. <doctjobgradcd/>
  327. <teamjobgradcd/>
  328. <repttitl/>
  329. </hospenvinfo>
  330. </hospenv>
  331. <resncd>
  332. <resncdlist>
  333. <instcd/>
  334. <flagcd/>
  335. <resncd/>
  336. <resncnts/>
  337. </resncdlist>
  338. </resncd>
  339. <instcdlist>
  340. <M0010>
  341. <cdid/>
  342. <cdnm/>
  343. </M0010>
  344. </instcdlist>
  345. <smsdata>
  346. <bizabbr/>
  347. <replytelno/>
  348. <rsrvyn/>
  349. <rsrvdate/>
  350. <rsrvtime/>
  351. <msgcnts/>
  352. <recvrlist>
  353. <chk/>
  354. <recvrnm/>
  355. <recvrtelno/>
  356. </recvrlist>
  357. </smsdata>
  358. <seporesn1>
  359. <dgflagcd>1</dgflagcd>
  360. <seporslt/>
  361. <seporesninfo>
  362. <title>Cervico-vaginal smear, liquid based cytology, automated screening system;</title>
  363. <title01>1) Adequacy of specimen</title01>
  364. <val01>false</val01>
  365. <lbl01>1. satisfactory for evaluation</lbl01>
  366. <val02>false</val02>
  367. <lbl02>2. unsatisfactory for evaluation</lbl02>
  368. <title02>2) Cytologic diagnosis</title02>
  369. <val03>false</val03>
  370. <lbl03>1. Negative for intraepithelial lesion or malignancy</lbl03>
  371. <val04>false</val04>
  372. <lbl04>1. Organisms :</lbl04>
  373. <val05>false</val05>
  374. <lbl05>1. Fungus(Candida sp.),</lbl05>
  375. <val06>false</val06>
  376. <lbl06>2. Trichomonas</lbl06>
  377. <val07>false</val07>
  378. <lbl07>3. Actinomyces</lbl07>
  379. <val08>false</val08>
  380. <lbl08>4. Other</lbl08>
  381. <val09>false</val09>
  382. <lbl09>2. Other non neoplastic findings :</lbl09>
  383. <val10>false</val10>
  384. <lbl10>1. RCC(Inflammation)</lbl10>
  385. <val11>false</val11>
  386. <lbl11>2. Atrophy</lbl11>
  387. <val12>false</val12>
  388. <lbl12>3. Therapeutic effect</lbl12>
  389. <val13>false</val13>
  390. <lbl13>2. Epithelial cell abnormalities</lbl13>
  391. <val14>false</val14>
  392. <lbl14>1. Squamous cell :</lbl14>
  393. <val15>true</val15>
  394. <lbl15>1. ASC-US</lbl15>
  395. <val16>false</val16>
  396. <lbl16>2. ASC-H</lbl16>
  397. <val17>false</val17>
  398. <lbl17>3. LSIL</lbl17>
  399. <val18>false</val18>
  400. <lbl18>4. HSIL</lbl18>
  401. <val19>false</val19>
  402. <lbl19>5. SCC</lbl19>
  403. <val20>false</val20>
  404. <lbl20>2. Glandular cell :</lbl20>
  405. <val21>false</val21>
  406. <lbl21>1. AGC</lbl21>
  407. <val22>false</val22>
  408. <lbl22>2. Endocervical AIS</lbl22>
  409. <val23>false</val23>
  410. <lbl23>3. Adenocarcinoma</lbl23>
  411. <val24>false</val24>
  412. <lbl24>3. Other malignant neoplasm :</lbl24>
  413. </seporesninfo>
  414. </seporesn1>
  415. <seporesn2>
  416. <dgflagcd>1</dgflagcd>
  417. <seporslt/>
  418. <seporesninfo>
  419. <title>Cervico-vaginal smear, liquid based cytology, automated screening system;</title>
  420. <title01>1) Adequacy of specimen</title01>
  421. <val01>false</val01>
  422. <lbl01>1. satisfactory for evaluation</lbl01>
  423. <val02>false</val02>
  424. <lbl02>2. unsatisfactory for evaluation</lbl02>
  425. <title02>2) Cytologic diagnosis</title02>
  426. <val03>false</val03>
  427. <lbl03>1. Negative for intraepithelial lesion or malignancy</lbl03>
  428. <val04>false</val04>
  429. <lbl04>1. Organisms :</lbl04>
  430. <val05>false</val05>
  431. <lbl05>1. Fungus(Candida sp.),</lbl05>
  432. <val06>false</val06>
  433. <lbl06>2. Trichomonas</lbl06>
  434. <val07>false</val07>
  435. <lbl07>3. Actinomyces</lbl07>
  436. <val08>false</val08>
  437. <lbl08>4. Other</lbl08>
  438. <val09>false</val09>
  439. <lbl09>2. Other non neoplastic findings :</lbl09>
  440. <val10>false</val10>
  441. <lbl10>1. RCC(Inflammation)</lbl10>
  442. <val11>false</val11>
  443. <lbl11>2. Atrophy</lbl11>
  444. <val12>false</val12>
  445. <lbl12>3. Therapeutic effect</lbl12>
  446. <val13>false</val13>
  447. <lbl13>2. Epithelial cell abnormalities</lbl13>
  448. <val14>false</val14>
  449. <lbl14>1. Squamous cell :</lbl14>
  450. <val15>true</val15>
  451. <lbl15>1. ASC-US</lbl15>
  452. <val16>false</val16>
  453. <lbl16>2. ASC-H</lbl16>
  454. <val17>false</val17>
  455. <lbl17>3. LSIL</lbl17>
  456. <val18>false</val18>
  457. <lbl18>4. HSIL</lbl18>
  458. <val19>false</val19>
  459. <lbl19>5. SCC</lbl19>
  460. <val20>false</val20>
  461. <lbl20>2. Glandular cell :</lbl20>
  462. <val21>false</val21>
  463. <lbl21>1. AGC</lbl21>
  464. <val22>false</val22>
  465. <lbl22>2. Endocervical AIS</lbl22>
  466. <val23>false</val23>
  467. <lbl23>3. Adenocarcinoma</lbl23>
  468. <val24>false</val24>
  469. <lbl24>3. Other malignant neoplasm :</lbl24>
  470. </seporesninfo>
  471. </seporesn2>
  472. <seporesn3>
  473. <seporesninfo>
  474. <title>Thyroid, left, conventional smear, needle aspiration cytology with cell block(증례별 자동인쇄);</title>
  475. <title01>1) Adequacy of specimen</title01>
  476. <val01>false</val01>
  477. <lbl01>1. satisfactory for evaluation</lbl01>
  478. <val02>false</val02>
  479. <lbl02>2. unsatisfactory for evaluation</lbl02>
  480. <title02>2) Cytologic diagnosis</title02>
  481. <val03>false</val03>
  482. <lbl03>1. Negative for malignancy</lbl03>
  483. <val04>false</val04>
  484. <lbl04>2. Atypical cells</lbl04>
  485. <val05>false</val05>
  486. <lbl05>3. Malignancy</lbl05>
  487. <val06>false</val06>
  488. <lbl06>4. Others</lbl06>
  489. <val07/>
  490. <lbl07>* Description :</lbl07>
  491. </seporesninfo>
  492. <dgflagcd/>
  493. <seporslt/>
  494. </seporesn3>
  495. <seporesn4>
  496. <seporesninfo>
  497. <title>Thyroid, left, conventional smear, needle aspiration cytology with cell block(증례별 자동인쇄);</title>
  498. <title01>1) Adequacy of specimen</title01>
  499. <val01>false</val01>
  500. <lbl01>1. satisfactory for evaluation</lbl01>
  501. <val02>false</val02>
  502. <lbl02>2. unsatisfactory for evaluation</lbl02>
  503. <title02>2) Cytologic diagnosis</title02>
  504. <val03>false</val03>
  505. <lbl03>1. Negative for malignancy</lbl03>
  506. <val04>false</val04>
  507. <lbl04>2. Atypical cells</lbl04>
  508. <val05>false</val05>
  509. <lbl05>3. Malignancy</lbl05>
  510. <val06>false</val06>
  511. <lbl06>4. Others</lbl06>
  512. <val07/>
  513. <lbl07>* Description :</lbl07>
  514. </seporesninfo>
  515. <dgflagcd/>
  516. <seporslt/>
  517. </seporesn4>
  518. <seporesn5>
  519. <seporesninfo>
  520. </seporesninfo>
  521. </seporesn5>
  522. <seporesn6>
  523. <seporesninfo>
  524. </seporesninfo>
  525. </seporesn6>
  526. <seporesn7>
  527. <seporesninfo>
  528. </seporesninfo>
  529. </seporesn7>
  530. <seporesn8>
  531. <seporesninfo>
  532. </seporesninfo>
  533. </seporesn8>
  534. <seporesn9>
  535. <seporesninfo>
  536. </seporesninfo>
  537. </seporesn9>
  538. <seporesnA>
  539. <seporesninfo>
  540. </seporesninfo>
  541. </seporesnA>
  542. <seporesnB>
  543. <seporesninfo>
  544. </seporesninfo>
  545. </seporesnB>
  546. <seporesnC>
  547. <seporesninfo>
  548. </seporesninfo>
  549. </seporesnC>
  550. <molecheck>
  551. <disnm/>
  552. <rsltcnts4/>
  553. <disnmcd/>
  554. </molecheck>
  555. <cmbresncd>
  556. <resncdlist>
  557. <instcd/>
  558. <flagcd/>
  559. <resncd/>
  560. <resncnts/>
  561. </resncdlist>
  562. </cmbresncd>
  563. <cmbpatterncd>
  564. <patternlist>
  565. <instcd/>
  566. <flagcd/>
  567. <resncd/>
  568. <resncnts/>
  569. </patternlist>
  570. </cmbpatterncd>
  571. <samplecd/>
  572. <examplecd/>
  573. <recform>
  574. <recformlist>
  575. <formcd/>
  576. <formnm/>
  577. </recformlist>
  578. </recform>
  579. <recformcd/>
  580. <cretinfo>
  581. <cretinfolist>
  582. <instcd/>
  583. <ptno/>
  584. <orddeptcd/>
  585. <orddrid/>
  586. <ioflag/>
  587. <cretno/>
  588. <orddd/>
  589. <acptdd/>
  590. </cretinfolist>
  591. </cretinfo>
  592. <delayread>
  593. <delayreadtime>
  594. <ptno/>
  595. </delayreadtime>
  596. </delayread>
  597. <delayresncd/>
  598. <delayresn>
  599. <delayresnlist>
  600. <ptno/>
  601. </delayresnlist>
  602. </delayresn>
  603. <spccdresn>
  604. <resncdlist>
  605. <resncd/>
  606. </resncdlist>
  607. </spccdresn>
  608. <punch/>
  609. </init>
  610. <hidden>
  611. <ptno/>
  612. <rsltcont/>
  613. <workflagcd/>
  614. <testcd/>
  615. <rtnnode/>
  616. <cnclresncd/>
  617. <userdeptcd/>
  618. <readdrlist/>
  619. <sepo1list/>
  620. <sepo2list/>
  621. </hidden>
  622. <temp>
  623. <exmpcd>
  624. <exmpcdlist/>
  625. </exmpcd>
  626. <testrslt>
  627. <testrsltinfo/>
  628. <imginfo/>
  629. </testrslt>
  630. <specdrlist>
  631. <specdrnm/>
  632. <specdrcd/>
  633. </specdrlist>
  634. <specdrnm/>
  635. </temp>
  636. </root>
  637. </instance>
  638. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  639. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  640. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  641. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  642. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  643. <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
  644. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  645. <script type="javascript" src="../../../com/shortmsgweb/js/ZMS001.js"/>
  646. <script type="javascript" src="../../../emr/carecomweb/js/ENRSignEngine.js"/>
  647. <script type="javascript" ev:event="xforms-ready">
  648. <![CDATA[
  649. makeReportPreview(10, 10, 300, 300, "grp_prnt");
  650. fExeInitialize(); // 화면 초기화
  651. ]]>
  652. </script>
  653. <submission id="TRLPZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/hospenv/hospenvinfo"/>
  654. <submission id="TRLPZ00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/resncd/resncdlist"/>
  655. <submission id="TRLPZ00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/testrslt/testrsltinfo"/>
  656. <submission id="TRLPZ00111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/exmpcd/exmpcdlist"/>
  657. <submission id="TRLPZ00112" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/testrslt/patbasicinfo"/>
  658. <submission id="TRLPZ00116" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/exmpcont/exmpcontlist"/>
  659. <submission id="TRLPZ00117" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cretinfo/cretinfolist"/>
  660. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  661. <submission id="TRLPR00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/testrslt/patinfo"/>
  662. <submission id="TXLPR00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/message"/>
  663. <submission id="TXLPR00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/message"/>
  664. <submission id="TXLPR01102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/message"/>
  665. <submission id="TXLPR00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/message"/>
  666. <submission id="TRLPR00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/etcrslt/etcrsltcnt"/>
  667. <submission id="TRLPR00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/delayread/delayreadtime"/>
  668. <submission id="TRLPZ00113" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/testrslt/testrsltinfo"/>
  669. <submission id="TRLPC02802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/mdlcdlist/mdlcdinfo"/>
  670. <submission id="TRLPZ00115" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/testrslt/imginfo"/>
  671. <submission id="TRLPR02601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/recstyle/recstylelist"/>
  672. <submission id="TRLPR02602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/recform/recformlist"/>
  673. </model>
  674. <script type="javascript">
  675. <![CDATA[
  676. // 조직에서 다른탭으로 변경 시 저장하는 경우 판독의사 구분하기 위해서
  677. var iTabChng = 0;
  678. var _ContentObject;
  679. /* @group : 검사결과등록
  680. * @ver : 2006.11.01 (CMCDEV-0001)
  681. * @by : 유동철(ACK)
  682. * @-----------------------------------
  683. * @type : function
  684. * @access : public
  685. * @desc : 초기화 Function
  686. */
  687. function fExeInitialize() {
  688. var iNo = 0;
  689. //--------------
  690. // 노드 초기화
  691. model.removeNodeset("/root/main/patinfo/patinfo"); // 환자정보 초기화
  692. model.removeNodeset("/root/init/resncd/resncdlist"); // 취소사유 초기화
  693. model.removeNodeset("/root/init/exmpcont/exmpcontlist"); // 결과예문 초기화
  694. model.removeNodeset("/root/init/recform/recformlist"); // 서식목록 초기화
  695. //--------------------------
  696. // Send Node 삭제 후 재 생성
  697. model.removeNodeset("/root/send");
  698. model.removeNodeset("/root/init/resncd/resncdlist");
  699. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  700. model.makeValue("/root/send/baseflagcd", "'30'");
  701. submit("TRLPZ00101", false);
  702. submit("TRLPZ00103", false);
  703. model.makeValue("/root/send/plgydeptcd", model.getValue("/root/init/hospenv/hospenvinfo/plgydeptcd"));
  704. submit("TRLPR02602"); // 병리과 서식목록 조회
  705. //-----------------
  706. // 2010-09-02 : YDC
  707. //if (getNodesetCount("/root/init/recform/recformlist") > 0) {
  708. // model.makeValue("/root/init/recform/recformlist[" + (getNodesetCount("/root/init/recform/recformlist") + 1) + "]/formcd", "0000001043");
  709. // model.makeValue("/root/init/recform/recformlist[" + (getNodesetCount("/root/init/recform/recformlist") + 1) + "]/formnm", "테스트용 서식");
  710. //}
  711. //-----------------------------------------------------------------
  712. model.removeNodeset("/root/init/resncd/resncdlist[resncd='ZZZZ']");
  713. iNo = getNodesetCount("/root/init/resncd/resncdlist");
  714. model.makeValue("/root/init/resncd/resncdlist["+(Number(iNo) + 1)+"]/instcd", getUserInfo("dutplceinstcd"));
  715. model.makeValue("/root/init/resncd/resncdlist["+(Number(iNo) + 1)+"]/flagcd", "30");
  716. model.makeValue("/root/init/resncd/resncdlist["+(Number(iNo) + 1)+"]/resncd", "-");
  717. model.makeValue("/root/init/resncd/resncdlist["+(Number(iNo) + 1)+"]/resncnts", " ");
  718. //----------------------------------------------------------
  719. model.copyNode("/root/init/cmbresncd", "/root/init/resncd");
  720. //--------------
  721. // 지연사유 조회
  722. model.resetInstanceNode("/root/init/resncd");
  723. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  724. model.makeValue("/root/send/baseflagcd", "'31'");
  725. submit("TRLPZ00103", false);
  726. //-----------------------------------------------------------------
  727. model.removeNodeset("/root/init/resncd/resncdlist[resncd='ZZZZ']");
  728. iNo = getNodesetCount("/root/init/resncd/resncdlist");
  729. model.makeValue("/root/init/resncd/resncdlist["+(Number(iNo) + 1)+"]/instcd", getUserInfo("dutplceinstcd"));
  730. model.makeValue("/root/init/resncd/resncdlist["+(Number(iNo) + 1)+"]/flagcd", "31");
  731. model.makeValue("/root/init/resncd/resncdlist["+(Number(iNo) + 1)+"]/resncd", "-");
  732. model.makeValue("/root/init/resncd/resncdlist["+(Number(iNo) + 1)+"]/resncnts", "-");
  733. model.copyNode("/root/init/delayresn", "/root/init/resncd");
  734. //----------------------
  735. // Thyroid 검체목록 조회
  736. model.resetInstanceNode("/root/init/resncd");
  737. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  738. model.makeValue("/root/send/baseflagcd", "'U1'");
  739. submit("TRLPZ00103", false);
  740. //-----------------------------------------------------------------
  741. model.removeNodeset("/root/init/resncd/resncdlist[resncd='ZZZZ']");
  742. model.copyNode("/root/init/spccdresn", "/root/init/resncd");
  743. //--------------------------
  744. // Send Node 삭제 후 재 생성
  745. model.removeNodeset("/root/send");
  746. model.resetInstanceNode("/root/init/resncd");
  747. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  748. model.makeValue("/root/send/baseflagcd", "'QP");
  749. submit("TRLPZ00103");
  750. //-----------------------------------------------------------------
  751. model.removeNodeset("/root/init/resncd/resncdlist[resncd='ZZZZ']");
  752. iNo = getNodesetCount("/root/init/resncd/resncdlist");
  753. model.makeValue("/root/init/resncd/resncdlist["+(Number(iNo) + 1)+"]/instcd", getUserInfo("dutplceinstcd"));
  754. model.makeValue("/root/init/resncd/resncdlist["+(Number(iNo) + 1)+"]/flagcd", "QP");
  755. model.makeValue("/root/init/resncd/resncdlist["+(Number(iNo) + 1)+"]/resncd", "-");
  756. model.makeValue("/root/init/resncd/resncdlist["+(Number(iNo) + 1)+"]/resncnts", "-");
  757. model.copyNode("/root/init/cmbpatterncd", "/root/init/resncd");
  758. //---------------------------------------------------------
  759. // 병원환경정보를 취득하여 병리과와 병리팀 코드를 편집한다.
  760. lpzfUserDeptCd("/root/init/hospenv/hospenvinfo", "/root/hidden");
  761. //---------------------
  762. // 병리과 공통코드 조회
  763. zbcfGetCodeList(new Array("M0010"), new Array("/root/init/instcdlist"));
  764. //------------
  765. // 기타 초기화
  766. model.makeValue("/root/hidden/ptno", ""); // 병리번호
  767. model.makeValue("/root/hidden/testcd", ""); // 처방형태(처방코드)
  768. model.makeValue("/root/hidden/workflagcd", ""); // 작업구분코드
  769. fExeUpdtWorkFlag(btn_1001.attribute("id")); // 조직 Tab Select
  770. model.toggle("casejojig");
  771. //--------------------------------------
  772. model.makeValue("/root/init/punch", ""); // punch 초기화
  773. //-------------------------
  774. model.setFocus("ipt_ptno");
  775. //------------------------
  776. if (checkOpener()) { //opener 검사
  777. var param = opener.javascript.getParameter("opener_parameter_id"); //opener parameter value를 get
  778. if(param != "") { // opener parameter value가 있는 경우
  779. model.setValue("/root/hidden/ptno", param);
  780. model.setValue("/root/hidden/ptno", param);
  781. fGetPatInfo();
  782. }
  783. }
  784. //--------------
  785. model.refresh();
  786. }
  787. /* @group : 검사결과등록
  788. * @ver : 2006.11.01 (CMCDEV-0001)
  789. * @by : 유동철(ACK)
  790. * @-----------------------------------
  791. * @type : function
  792. * @access : public
  793. * @desc : 분자 이미지 그리드 팝업처리 Function
  794. */
  795. function fbtnbunjaimgpopup() {
  796. var nodepath = "/root/main/testimagelist/testimagelisttbl[" + grd_bungaimg.row + "]/localpath";
  797. //------------
  798. // 이미지 읽기
  799. fgimageload(grd_bungaimg, grd_bungaimg.row, nodepath);
  800. //---------------------------------------------------------------------------------------------
  801. grd_bungaimg.cellstyle("background-image", grd_bungaimg.row, 2) = model.getValue(nodepath);
  802. grd_bungaimg.cellstyle("background-stretch", grd_bungaimg.row, 2) = "stretch";
  803. }
  804. /* @group : 검사결과등록
  805. * @ver : 2006.11.01 (CMCDEV-0001)
  806. * @by : 유동철(ACK)
  807. * @-----------------------------------
  808. * @type : function
  809. * @access : public
  810. * @desc : 면역형광(IF) Switch 변경 Function
  811. */
  812. function fExeIFcaseChange() {
  813. switch (model.getValue("/root/main/testrslt/testrsltinfoh/rsltcnts2")) {
  814. case "0" : model.toggle("casekidney");
  815. swt_IFrslt.attribute("top") = "110";
  816. swt_IFrslt.attribute("height") = "400";
  817. btn_diag1006.attribute("top") = "117";
  818. ipt_mcont1006.attribute("top") = "117";
  819. cmb_pcont1006.attribute("top") = "117";
  820. caption64.attribute("top") = "117";
  821. caption65.attribute("top") = "117";
  822. opt_tcont1006.attribute("top") = "117";
  823. caption63.attribute("top") = "117";
  824. button10.attribute("top") = "117";
  825. //----------------------------------------------
  826. // 조회자료가 없을 경우 Default값으로 "0"을 설정
  827. if (model.getValue("/root/main/testrslt/iftestlist/rsltrgstdd") == "-" ||
  828. model.getValue("/root/main/testrslt/iftestlist/rsltrgstdd") == "") {
  829. for (var iIFNo=1; iIFNo <= getNodesetCount("/root/main/testrslt/iftestlist"); iIFNo++) {
  830. //-----------
  831. // No
  832. if (model.getValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt05") == "" ||
  833. model.getValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt05") == " ") {
  834. model.setValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt05", "0");
  835. }
  836. //-----------
  837. // GBM
  838. if (model.getValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt06") == "" ||
  839. model.getValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt06") == " ") {
  840. model.setValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt06", "0");
  841. }
  842. //-----------
  843. // Mes
  844. if (model.getValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt07") == "" ||
  845. model.getValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt07") == " ") {
  846. model.setValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt07", "0");
  847. }
  848. //-----------
  849. // TBM
  850. if (model.getValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt08") == "" ||
  851. model.getValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt08") == " ") {
  852. model.setValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt08", "0");
  853. }
  854. //-----------
  855. // Cast
  856. if (model.getValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt09") == "" ||
  857. model.getValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt09") == " ") {
  858. model.setValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt09", "0");
  859. }
  860. //-----------
  861. // Vessel
  862. if (model.getValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt10") == "" ||
  863. model.getValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt10") == " ") {
  864. model.setValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt10", "0");
  865. }
  866. //-------------
  867. // Interstitium
  868. if (model.getValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt11") == "" ||
  869. model.getValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt11") == " ") {
  870. model.setValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt11", "0");
  871. }
  872. }
  873. }
  874. break;
  875. case "1" : model.toggle("caseskin");
  876. swt_IFrslt.attribute("top") = "37";
  877. swt_IFrslt.attribute("height") = "473";
  878. btn_diag1006.attribute("top") = "44";
  879. ipt_mcont1006.attribute("top") = "44";
  880. cmb_pcont1006.attribute("top") = "44";
  881. caption64.attribute("top") = "44";
  882. caption65.attribute("top") = "44";
  883. opt_tcont1006.attribute("top") = "44";
  884. caption63.attribute("top") = "44";
  885. button10.attribute("top") = "44";
  886. // casekidney.hint
  887. //----------------------------------------------
  888. // 조회자료가 없을 경우 Default값으로 "0"을 설정
  889. if (model.getValue("/root/main/testrslt/iftestlist/rsltrgstdd") == "-" ||
  890. model.getValue("/root/main/testrslt/iftestlist/rsltrgstdd") == "") {
  891. for (var iIFNo=1; iIFNo <= getNodesetCount("/root/main/testrslt/iftestlist"); iIFNo++) {
  892. //-----------
  893. // Epidermis
  894. if (model.getValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt02") == "" ||
  895. model.getValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt02") == " ") {
  896. model.setValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt02", "0");
  897. }
  898. //---------------
  899. // Dermoepidermal
  900. if (model.getValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt03") == "" ||
  901. model.getValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt03") == " ") {
  902. model.setValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt03", "0");
  903. }
  904. //-----------
  905. // Dermis
  906. if (model.getValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt04") == "" ||
  907. model.getValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt04") == " ") {
  908. model.setValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt04", "0");
  909. }
  910. //-----------
  911. // Vessel
  912. if (model.getValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt05") == "" ||
  913. model.getValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt05") == " ") {
  914. model.setValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt05", "0");
  915. }
  916. //-----------
  917. // Other
  918. if (model.getValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt06") == "" ||
  919. model.getValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt06") == " ") {
  920. model.setValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt06", "0");
  921. }
  922. }
  923. }
  924. break;
  925. case "2" : model.toggle("caseother");
  926. swt_IFrslt.attribute("top") = "37";
  927. swt_IFrslt.attribute("height") = "473";
  928. btn_diag1006.attribute("top") = "44";
  929. ipt_mcont1006.attribute("top") = "44";
  930. cmb_pcont1006.attribute("top") = "44";
  931. caption64.attribute("top") = "44";
  932. caption65.attribute("top") = "44";
  933. opt_tcont1006.attribute("top") = "44";
  934. caption63.attribute("top") = "44";
  935. button10.attribute("top") = "44";
  936. // casekidney.hint
  937. //----------------------------------------------
  938. // 조회자료가 없을 경우 Default값으로 "0"을 설정
  939. if (model.getValue("/root/main/testrslt/iftestlist/rsltrgstdd") == "-" ||
  940. model.getValue("/root/main/testrslt/iftestlist/rsltrgstdd") == "") {
  941. for (var iIFNo=1; iIFNo <= getNodesetCount("/root/main/testrslt/iftestlist"); iIFNo++) {
  942. //-----------
  943. // Epidermis
  944. if (model.getValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt02") == "" ||
  945. model.getValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt02") == " ") {
  946. model.setValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt02", "0");
  947. }
  948. //---------------
  949. // Dermoepidermal
  950. if (model.getValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt03") == "" ||
  951. model.getValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt03") == " ") {
  952. model.setValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt03", "0");
  953. }
  954. //-----------
  955. // Dermis
  956. if (model.getValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt04") == "" ||
  957. model.getValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt04") == " ") {
  958. model.setValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt04", "0");
  959. }
  960. //-----------
  961. // Vessel
  962. if (model.getValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt05") == "" ||
  963. model.getValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt05") == " ") {
  964. model.setValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt05", "0");
  965. }
  966. //-----------
  967. // Other
  968. if (model.getValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt06") == "" ||
  969. model.getValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt06") == " ") {
  970. model.setValue("/root/main/testrslt/iftestlist["+iIFNo+"]/testrslt06", "0");
  971. }
  972. }
  973. }
  974. break;
  975. case "9" : model.toggle("casedefault");
  976. break;
  977. }
  978. }
  979. /* @group : 검사결과등록
  980. * @ver : 2006.11.01 (CMCDEV-0001)
  981. * @by : 유동철(ACK)
  982. * @-----------------------------------
  983. * @type : function
  984. * @access : public
  985. * @desc : 이미지 팝업창 호출 Function
  986. */
  987. function fExeImgView() {
  988. var sPtNo = "";
  989. var aPtNo = "";
  990. var sNode = "/root/main/testrslt/testcdlist";
  991. //-------------------------------
  992. if (!fExeRefStat()) return false;
  993. //----------------------------------------
  994. sPtNo = model.getValue(sNode+"/dispptno");
  995. aPtNo = sPtNo.split("-");
  996. //----------------------------------------------
  997. setParameter("SMLPP02000_scrno", "SMLPR00100");
  998. //setParameter("SMLPP02000_pid", model.getValue(sNode+"/pid"));
  999. setParameter("SMLPP02000_pid", "");
  1000. setParameter("SMLPP02000_rgstdd", getCurrentDate());
  1001. setParameter("SMLPP02000_no", aPtNo[1]);
  1002. setParameter("SMLPP02000_ptnocd", aPtNo[0].substr(0, (aPtNo[0].length-2)));
  1003. setParameter("SMLPP02000_year", aPtNo[0].substr(aPtNo[0].length-2, 2));
  1004. //------------------
  1005. modal("SMLPP02000");
  1006. }
  1007. /* @group : 검사결과등록
  1008. * @ver : 2008.02.26 (CMCDEV-0001)
  1009. * @by : 유동철(ACK)
  1010. * @-----------------------------------
  1011. * @type : function
  1012. * @access : public
  1013. * @desc : 전송취소내역 팝업창 Function
  1014. */
  1015. function fExeReadCnclList() {
  1016. var sPtNo = "";
  1017. var aPtNo = "";
  1018. var sNode = "/root/main/testrslt/testcdlist";
  1019. //----------------------------------------
  1020. sPtNo = model.getValue(sNode+"/dispptno");
  1021. aPtNo = sPtNo.split("-");
  1022. //------------------------------------------
  1023. setParameter("SMLPP02100_no", aPtNo[1]);
  1024. setParameter("SMLPP02100_ptnocd", aPtNo[0].substr(0, (aPtNo[0].length-2)));
  1025. setParameter("SMLPP02100_year", aPtNo[0].substr(aPtNo[0].length-2, 2));
  1026. setParameter("SMLPP02100_pid", model.getValue(sNode+"/pid"));
  1027. //------------------
  1028. modal("SMLPP02100");
  1029. }
  1030. /* @group : 검사결과등록
  1031. * @ver : 2006.11.01 (CMCDEV-0001)
  1032. * @by : 유동철(ACK)
  1033. * @-----------------------------------
  1034. * @type : function
  1035. * @access : public
  1036. * @desc : 추가결과등록 팝업창 Function
  1037. */
  1038. function fExeAddendumPopup() {
  1039. //-------------------------------
  1040. if (!fExeRefStat()) return false;
  1041. //----------------------------------------------------------------
  1042. if (model.getValue("/root/main/testrslt/patinfo/rrgstno") == "") {
  1043. messageBox("접수 병리번호를 조회하여 주십시오!", "E000");
  1044. return false;
  1045. } else {
  1046. if (model.getValue("/root/main/testrslt/patinfo/readdd") != "-" &&
  1047. model.getValue("/root/main/testrslt/patinfo/readdd") != "") {
  1048. // Continue
  1049. } else {
  1050. messageBox("예비결과 상태에서는 추가결과를 입력", "E001");
  1051. return false;
  1052. }
  1053. }
  1054. //------------------------------------------------------------------------------------------
  1055. modal("SPLPR00200", "", "", "", "SPLPR00200", "/root/main/testrslt", "/root/init/testrslt");
  1056. }
  1057. /* @group : 검사결과등록
  1058. * @ver : 2007.06.14 (CMCDEV-0001)
  1059. * @by : 유동철(ACK)
  1060. * @-----------------------------------
  1061. * @type : function
  1062. * @access : public
  1063. * @desc : 자문결과등록 팝업창 Function
  1064. */
  1065. function fExeCsltRsltPopup() {
  1066. //-------------------------------
  1067. if (!fExeRefStat()) return false;
  1068. //----------------------------------------------------------------
  1069. if (model.getValue("/root/main/testrslt/patinfo/rrgstno") == "") {
  1070. messageBox("접수 병리번호를 조회하여 주십시오!", "E000");
  1071. return false;
  1072. } else {
  1073. if (model.getValue("/root/main/testrslt/patinfo/readdd") != "-" &&
  1074. model.getValue("/root/main/testrslt/patinfo/readdd") != "") {
  1075. // Continue
  1076. } else {
  1077. // messageBox("예비결과 상태에서는 추가결과를 입력", "E001");
  1078. // return false;
  1079. }
  1080. }
  1081. //-------------------------------------------------------------------------------------------------
  1082. setParameter("SMLPR00100_reqfrmno", model.getValue("/root/main/testrslt/testcdlist/reqfrmno"));
  1083. setParameter("SMLPR00100_reqfrmflagcd", model.getValue("/root/main/testrslt/testcdlist/reqfrmflagcd"));
  1084. setParameter("SMLPR00100_prcpcd", model.getValue("/root/main/testrslt/testcdlist/testcd"));
  1085. setParameter("SMLPR00100_prcpnm", model.getValue("/root/main/testrslt/testcdlist/testnm"));
  1086. setParameter("SMLPR00100_spccd", model.getValue("/root/main/testrslt/testcdlist/spccd"));
  1087. modal("SPLPR00300", "", "", "", "SPLPR00300", "/root/main/testrslt/patinfo", "/root/init/testrslt/patinfo");
  1088. }
  1089. /* @group : 검사결과등록
  1090. * @ver : 2007.05.16 (CMCDEV-0001)
  1091. * @by : 유동철(ACK)
  1092. * @-----------------------------------
  1093. * @type : function
  1094. * @access : public
  1095. * @desc : 작업변경 처리 Function
  1096. */
  1097. function fExeUpdtWorkFlag(pBtnID) {
  1098. var msgYN = "";
  1099. var sPtNo = "";
  1100. var aPtNo = "";
  1101. var oBackBtn = "";
  1102. var oCurrBtn = document.controls(pBtnID);
  1103. var sWorkFlagCd = model.getValue("/root/hidden/workflagcd");
  1104. var strMscopcnts1001 = "";
  1105. var strReadcnts1001 = "";
  1106. var strReadDR1001 = "";
  1107. //----------------------
  1108. if (sWorkFlagCd != "")
  1109. {
  1110. //-----------------------------------------------
  1111. oBackBtn = document.controls("btn_"+sWorkFlagCd);
  1112. //------------------------
  1113. if (oCurrBtn.hint == "") {
  1114. oBackBtn.selected = "true";
  1115. messageBox("처리할 수 없는 작업입니다! 병리번호가 ", "E016");
  1116. return false;
  1117. }
  1118. //--------------------
  1119. sPtNo = oCurrBtn.hint;
  1120. aPtNo = sPtNo.split(":");
  1121. //----------------------------------------
  1122. // 최종진단 안되어 있을 경우 자동저장 처리
  1123. if (model.getValue("/root/main/testrslt/patinfo/readdd") == "" ||
  1124. model.getValue("/root/main/testrslt/patinfo/readdd") == "-")
  1125. {
  1126. msgYN = messageBox(" ", "Q002"); // Yes:6, No:7
  1127. if (msgYN == 6)
  1128. {
  1129. if (iTabChng == 1)
  1130. {
  1131. strMscopcnts1001 = model.getValue("/root/main/testrslt/testrsltinfoh/rsltcnts2");
  1132. strReadcnts1001 = model.getValue("/root/main/testrslt/testrsltinfoh/rsltcnts3");
  1133. strReadDR1001 = model.getValue("/root/hidden/readdrlist");
  1134. if ( (strMscopcnts1001 != "" || strReadcnts1001 != "" ) && ( strReadDR1001 == "") )
  1135. {
  1136. messageBox("판독의사를 선택하여 주십시오. 판독의사는 ", "I003");
  1137. btn_1001.selected = true;
  1138. return false;
  1139. }
  1140. iTabChng = 0;
  1141. }
  1142. fExeTestRsltSave("SAVE", "0");
  1143. }
  1144. }
  1145. //---------------------------------------------
  1146. model.makeValue("/root/hidden/ptno", aPtNo[0]);
  1147. ipt_ptno.refresh();
  1148. fGetPatInfo();
  1149. }
  1150. //model.makeValue("/root/hidden/workflagcd", pBtnID.substr(4,4));
  1151. fExeTabChange();
  1152. //--------------------------------------------------------
  1153. if (model.getValue("/root/hidden/workflagcd") == "1004") {
  1154. capstaintitle.attribute("text") = "특수염색 리스트";
  1155. } else if (model.getValue("/root/hidden/workflagcd") == "1005") {
  1156. capstaintitle.attribute("text") = "면역염색 리스트";
  1157. }
  1158. }
  1159. function fExeComboInit(objCtrl) {
  1160. if (getNodesetCount("/root/main/testrslt/testcdlist") > 0) {
  1161. objCtrl.select(0);
  1162. objCtrl.refresh();
  1163. }
  1164. }
  1165. /* @group : 검사결과등록
  1166. * @ver : 2007.05.16 (CMCDEV-0001)
  1167. * @by : 유동철(ACK)
  1168. * @-----------------------------------
  1169. * @type : function
  1170. * @access : public
  1171. * @desc : 작업Tab 변경 Function
  1172. */
  1173. function fExeTabChange() {
  1174. switch (model.getValue("/root/hidden/workflagcd")) {
  1175. case "1012" :
  1176. case "1001" : model.toggle("casejojig"); // 조직 Tab
  1177. tar_groscnts1001.attribute("ref") = "/root/main/testrslt/testrsltinfoh/rsltcnts1";
  1178. tar_mscopcnts1001.attribute("ref") = "/root/main/testrslt/testrsltinfoh/rsltcnts2";
  1179. tar_readcnts1001.attribute("ref") = "/root/main/testrslt/testrsltinfoh/rsltcnts3";
  1180. tar_cmtcnts1001.attribute("ref") = "/root/main/testrslt/testrsltinfoh/cmtcnts";
  1181. opt_grosdd1001.attribute("ref") = "/root/main/testrslt/testrsltinfoh/grostestrecdd";
  1182. opt_grostm1001.attribute("ref") = "/root/main/testrslt/testrsltinfoh/grostestrectm";
  1183. opt_grostestrecnm1001.attribute("ref") = "/root/main/testrslt/testrsltinfoh/grostestrecnm";
  1184. //ipt_mcont1001.attribute("ref") = "/root/main/testrslt/testrsltinfoh/extrmthdcd";
  1185. //opt_tcont1001.attribute("ref") = "/root/main/testrslt/testrsltinfoh/diagcd";
  1186. //opt_tcont1001.attribute("ref") = "/root/main/testrslt/patinfo/spcnm";
  1187. //opt_pcont1001.attribute("ref") = "/root/main/testrslt/testrsltinfoh/extrpartcd";
  1188. tar_groscnts1001.refresh();
  1189. tar_mscopcnts1001.refresh();
  1190. tar_readcnts1001.refresh();
  1191. tar_cmtcnts1001.refresh();
  1192. opt_grostestrecnm1001.refresh();
  1193. ipt_mcont1001.refresh();
  1194. opt_tcont1001.refresh();
  1195. //opt_pcont1001.refresh();
  1196. //-----------------------
  1197. fExeComboInit(cmb_pcont1001);
  1198. break;
  1199. case "1002" : model.toggle("casefrozen"); // 동결절편(Frozen) Tab
  1200. tar_groscnts1002.attribute("ref") = "/root/main/testrslt/testrsltinfoh/rsltcnts1";
  1201. tar_mscopcnts1002.attribute("ref") = "/root/main/testrslt/testrsltinfoh/rsltcnts2";
  1202. tar_frozencnts1002.attribute("ref") = "/root/main/testrslt/testrsltinfoh/rsltcnts3";
  1203. tar_readcnts1002.attribute("ref") = "/root/main/testrslt/testrsltinfoh/rsltcnts4";
  1204. tar_cmtcnts1002.attribute("ref") = "/root/main/testrslt/testrsltinfoh/cmtcnts";
  1205. opt_grosdd1002.attribute("ref") = "/root/main/testrslt/testrsltinfoh/grostestrecdd";
  1206. opt_grostm1002.attribute("ref") = "/root/main/testrslt/testrsltinfoh/grostestrectm";
  1207. opt_grostestrecnm1002.attribute("ref") = "/root/main/testrslt/testrsltinfoh/grostestrecnm";
  1208. tar_groscnts1002.refresh();
  1209. tar_mscopcnts1002.refresh();
  1210. tar_frozencnts1002.refresh();
  1211. tar_readcnts1002.refresh();
  1212. tar_cmtcnts1002.refresh();
  1213. opt_grostestrecnm1002.refresh();
  1214. //---------------------------
  1215. fExeComboInit(cmb_pcont1002);
  1216. break;
  1217. case "1003" : model.toggle("casesepo"); // 세포(부인과/비부인과/세침흡인) Tab
  1218. tar_fstrslt1003.attribute("ref") = "/root/main/testrslt/testrsltinfoh/rsltcnts1";
  1219. tar_scndrslt1003.attribute("ref") = "/root/main/testrslt/testrsltinfoh/rsltcnts2";
  1220. tar_lastrslt1003.attribute("ref") = "/root/main/testrslt/testrsltinfoh/rsltcnts3";
  1221. tar_cmtcnts1003.attribute("ref") = "/root/main/testrslt/testrsltinfoh/cmtcnts";
  1222. tar_fstrslt1003.refresh();
  1223. tar_scndrslt1003.refresh();
  1224. tar_lastrslt1003.refresh();
  1225. tar_cmtcnts1003.refresh();
  1226. //---------------------------
  1227. fExeComboInit(cmb_pcont1003);
  1228. break;
  1229. // 면역형광 Tab
  1230. case "1006" : model.toggle("caseIF");
  1231. tar_ifdefault.attribute("ref") = "/root/main/testrslt/testrsltinfoh/rsltcnts1";
  1232. cmb_spckindcd.attribute("ref") = "/root/main/testrslt/testrsltinfoh/rsltcnts2";
  1233. tar_readcnts1006.attribute("ref") = "/root/main/testrslt/testrsltinfoh/rsltcnts3";
  1234. tar_cmtcnts1006.attribute("ref") = "/root/main/testrslt/testrsltinfoh/cmtcnts";
  1235. fExeIFcaseChange();
  1236. //---------------------------
  1237. fExeComboInit(cmb_pcont1006);
  1238. break;
  1239. // 분자 Tab
  1240. case "1007" : model.toggle("casebunja");
  1241. tar_readcnts1007.attribute("ref") = "/root/main/testrslt/testrsltinfoh/rsltcnts1";
  1242. tar_cmtcnts1007.attribute("ref") = "/root/main/testrslt/testrsltinfoh/cmtcnts";
  1243. //---------------------------
  1244. fExeComboInit(cmb_pcont1007);
  1245. break;
  1246. // 전자현미경 Tab
  1247. case "1008" : model.toggle("casejeonja");
  1248. tar_mscopcnts1008.attribute("ref") = "/root/main/testrslt/testrsltinfoh/rsltcnts1";
  1249. tar_readcnts1008.attribute("ref") = "/root/main/testrslt/testrsltinfoh/rsltcnts2";
  1250. tar_cmtcnts1008.attribute("ref") = "/root/main/testrslt/testrsltinfoh/cmtcnts";
  1251. //---------------------------
  1252. fExeComboInit(cmb_pcont1008);
  1253. break;
  1254. // 부검 Tab
  1255. case "1009" : model.toggle("caseautopsy");
  1256. ipt_autopsykind.attribute("ref") = "/root/main/testrslt/testrsltinfoh/rsltcnts1";
  1257. tar_groscnts1009.attribute("ref") = "/root/main/testrslt/testrsltinfoh/rsltcnts2";
  1258. tar_mscopcnts1009.attribute("ref") = "/root/main/testrslt/testrsltinfoh/rsltcnts3";
  1259. tar_provisional1009.attribute("ref") = "/root/main/testrslt/testrsltinfoh/rsltcnts4";
  1260. tar_final1009.attribute("ref") = "/root/main/testrslt/testrsltinfoh/rsltcnts5";
  1261. tar_cmtcnts1009.attribute("ref") = "/root/main/testrslt/testrsltinfoh/cmtcnts";
  1262. //---------------------------
  1263. fExeComboInit(cmb_pcont1009);
  1264. break;
  1265. case "1004" :
  1266. case "1005" : model.toggle("casestain"); // 특수염색, 면역염색 Tab
  1267. tar_cmtcnts1005.attribute("ref") = "/root/main/testrslt/testrsltinfoh/cmtcnts";
  1268. break;
  1269. }
  1270. }
  1271. /* @group : 검사결과등록
  1272. * @ver : 2007.05.16 (CMCDEV-0001)
  1273. * @by : 유동철(ACK)
  1274. * @-----------------------------------
  1275. * @type : function
  1276. * @access : public
  1277. * @desc : 병리번호에 해당하는 환자정보 조회 Function
  1278. */
  1279. function fGetPatInfo() {
  1280. var iFindNo = -1;
  1281. var iMaxRowCnt = -1;
  1282. var sBtnObjNm = "";
  1283. var objBtn;
  1284. var strNode = "/root/main/testrslt/workrelaptnolist";
  1285. var strHNode = "/root/main/testrslt/testrsltinfoh";
  1286. var sTopInfo = "";
  1287. var sStainRslt = "";
  1288. var sTemp = "";
  1289. var nodelist = "";
  1290. //-------------------------
  1291. // 병리과코드 설정여부 검사
  1292. if (model.getValue("/root/hidden/userdeptcd") == "") {
  1293. messageBox("병원환경설정에서 병리과코드를 설정하여 주십시오! 병리과코드는 ", "I003");
  1294. return false;
  1295. }
  1296. //-----------------------
  1297. // 직급코드 설정여부 검사
  1298. if (model.getValue("/root/init/hospenv/hospenvinfo/doctjobgradcd") == "") {
  1299. messageBox("병원환경설정에서 병리의사 직급코드를 설정하여 주십시오! 직급코드는 ", "I003");
  1300. return false;
  1301. }
  1302. if (model.getValue("/root/init/hospenv/hospenvinfo/teamjobgradcd") == "") {
  1303. messageBox("병원환경설정에서 레지던트 직급코드를 설정하여 주십시오! 직급코드는 ", "I003");
  1304. return false;
  1305. }
  1306. //----------------------------------------------------------
  1307. if (model.getValue("/root/hidden/ptno") == "") return false;
  1308. //-------------------------------------------------------------------------------------------
  1309. model.makeValue("/root/hidden/ptno", lpzfExePtNoChange(model.getValue("/root/hidden/ptno")));
  1310. /*
  1311. //-----------------------------------------------------
  1312. // 이전 판독의사가 설정이 되어 있을 경우 재 사용을 위해
  1313. // 자료를 보관한다. 결과를 조회할 경우 판독의사 목록이 초기화
  1314. iFindNo = grd_readdoctlist.findRow("true", 1, 0, false, false);
  1315. if (Number(iFindNo) > 0) {
  1316. model.makeNode("/root/temp/readdoctlist");
  1317. copyNodesetType("/root/temp/readdoctlist", "/root/main/testrslt/readdoctlist");
  1318. }
  1319. */
  1320. //--------------------------------
  1321. model.removeNodeset("/root/send");
  1322. model.resetInstanceNode("/root/main/testrslt/patinfo"); // 환자정보 초기화
  1323. model.removeNodeset("/root/main/testrslt/testrsltinfoh"); // 검사결과 초기화
  1324. model.removeNodeset("/root/main/testrslt/testcdlist"); // 검사항목 목록 초기화
  1325. model.removeNodeset("/root/main/testrslt/workrelaptnolist"); // 작업구분 관련병리번호 목록 초기화
  1326. model.removeNodeset("/root/main/testrslt/relaptnolist"); // 관련병리번호 목록 초기화
  1327. model.removeNodeset("/root/main/testrslt/bfptnolist"); // 이전병리번호 목록 초기화
  1328. model.removeNodeset("/root/main/testrslt/staintestlist"); // 특수염색, 면역염색, 면역형광 목록 초기화
  1329. model.removeNodeset("/root/main/testrslt/readdoctlist"); // 판독의사 목록 초기화
  1330. model.removeNodeset("/root/main/testrslt/iftestlist"); // 면역형광 목록 초기화
  1331. model.removeNodeset("/root/main/testrslt/moletestlist"); // 분자병리 목록 초기화
  1332. model.removeNodeset("/root/main/testrslt/frzncstelist"); // Frozen 목록 초기화
  1333. model.removeNodeset("/root/main/testrslt/sepouserlist1"); // 세포 1차 판독자
  1334. model.removeNodeset("/root/main/testrslt/sepouserlist2"); // 세포 2차 판독자
  1335. model.removeNodeset("/root/main/testrslt/diagcntslist"); // 진단내용
  1336. model.removeNodeset("/root/main/testrslt/specdrlist"); // 선택한 선택진료의
  1337. //------------------
  1338. // 세포예문 초기화
  1339. lpzfExeSePoResnInit("/root/init/seporesn1", "/root/init/seporesn2", "/root/init/seporesn3", "1");
  1340. lpzfExeSePoResnInit("/root/init/seporesn4", "/root/init/seporesn5", "/root/init/seporesn6", "2");
  1341. lpzfExeSePoResnInit("/root/init/seporesn7", "/root/init/seporesn8", "/root/init/seporesn9", "3"); // 세침흡인 예문(Thyroid외) 600000 ~ 6zzzzz
  1342. lpzfExeSePoResnInit("/root/init/seporesnA", "/root/init/seporesnB", "/root/init/seporesnC", "4"); // 세침흡인 예문(Thyroid) 500000 ~ 5zzzzz
  1343. //--------------
  1344. // 그리드 초기화
  1345. grd_readdoctlist.refresh();
  1346. grd_stainalllist.refresh();
  1347. grd_refptno.refresh();
  1348. grd_bfptnolist.refresh();
  1349. grd_iftestlistK.refresh();
  1350. grd_iftestlistS.refresh();
  1351. grd_moletestlist.refresh();
  1352. grd_frzncstelist.refresh();
  1353. grd_screeners1.refresh();
  1354. grd_screeners2.refresh();
  1355. //-------------
  1356. fExeBtnClear();
  1357. //---------------------------------------------------------------------
  1358. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  1359. model.makeValue("/root/send/ptno", model.getValue("/root/hidden/ptno"));
  1360. model.makeValue("/root/send/userdeptcd", model.getValue("/root/hidden/userdeptcd"));
  1361. model.makeValue("/root/send/doctjobcd", model.getValue("/root/init/hospenv/hospenvinfo/doctjobgradcd"));
  1362. model.makeValue("/root/send/teamjobcd", model.getValue("/root/init/hospenv/hospenvinfo/teamjobgradcd"));
  1363. //-------------------------
  1364. if (!submit("TRLPR00101")) {
  1365. messageBox("검사결과 조회를", "E009");
  1366. return false;
  1367. } else {
  1368. //-------------------
  1369. // 환자 상단정보 표시
  1370. if (model.getValue("/root/main/testrslt/testcdlist[1]/execprcpuniqno") == "") {
  1371. // Continue
  1372. } else {
  1373. lpzfExeTopInfoDisp(model.getValue("/root/main/testrslt/testcdlist[1]/prcpdd"),
  1374. model.getValue("/root/main/testrslt/testcdlist[1]/execprcpuniqno"),
  1375. model.getValue("/root/main/testrslt/testcdlist[1]/instcd"));
  1376. }
  1377. //20111007
  1378. if(model.getValue(strHNode+"/extrpartcd") == ""){
  1379. }else{
  1380. //alert(model.getValue(strHNode+"/extrpartcd"));
  1381. model.setvalue("/root/main/testrslt/patinfo/spcnm",model.getValue(strHNode+"/extrpartcd"));
  1382. }
  1383. if(model.getValue(strHNode+"/extrmthdcd") == ""){
  1384. }else{
  1385. //alert(model.getValue(strHNode+"/extrpartcd"));
  1386. model.setvalue("/root/main/testrslt/testcdlist/testnm",model.getValue(strHNode+"/extrmthdcd"));
  1387. }
  1388. //-----------------------------------------------
  1389. // 최초 검색시에는 Instance Node에 값을 설정한다.
  1390. if (getNodesetCount(strHNode) <= 0) {
  1391. model.makeValue(strHNode + "/instcd", model.getValue("/root/main/testrslt/testcdlist[1]/instcd"));
  1392. model.makeValue(strHNode + "/ptno", model.getValue("/root/main/testrslt/testcdlist[1]/ptno"));
  1393. model.makeValue(strHNode + "/pid", model.getValue("/root/main/testrslt/testcdlist[1]/pid"));
  1394. model.makeValue(strHNode + "/spckeepflagcd", "0"); // 0:미보관, 1:보관
  1395. model.makeValue(strHNode + "/cncrjudgflagcd", "0"); // 0:일반, 1:판정
  1396. model.makeValue(strHNode + "/rslthideflagcd", "0"); // 0:일반, 1:숨기기
  1397. model.makeValue(strHNode + "/preprsltflagcd", "0"); // 0:미표시, 1:표시
  1398. model.makeValue(strHNode + "/conccaseflagcd", "0"); // 0:일반, 1:관심
  1399. model.makeValue(strHNode + "/ugcyalertflagcd", "0"); // 0:일반, 1:관심
  1400. model.makeValue(strHNode + "/rsltrgstdd", "");
  1401. model.makeValue(strHNode + "/rsltrgstno", "");
  1402. model.makeValue(strHNode + "/rsltrgsttm", "");
  1403. model.makeValue(strHNode + "/rsltrgsthistno", "");
  1404. model.makeValue(strHNode + "/rsltcnts1", "");
  1405. model.makeValue(strHNode + "/rsltcnts2", "");
  1406. model.makeValue(strHNode + "/rsltcnts3", "");
  1407. model.makeValue(strHNode + "/rsltcnts4", "");
  1408. model.makeValue(strHNode + "/rsltcnts5", "");
  1409. model.makeValue(strHNode + "/rsltcnts6", "");
  1410. model.makeValue(strHNode + "/cmtcnts", "");
  1411. model.makeValue(strHNode + "/grostestrecdd", "");
  1412. model.makeValue(strHNode + "/grostestrectm", "");
  1413. model.makeValue(strHNode + "/grostestrecid", "");
  1414. model.makeValue(strHNode + "/grostestrecnm", "");
  1415. model.makeValue(strHNode + "/extrpartcd", "");
  1416. model.makeValue(strHNode + "/extrmthdcd", "");
  1417. model.makeValue(strHNode + "/diagcnts", "");
  1418. model.makeValue(strHNode + "/diagcd", "");
  1419. model.makeValue(strHNode + "/rsltrgstid", "");
  1420. model.makeValue(strHNode + "/readdd", "");
  1421. model.makeValue(strHNode + "/readtm", "");
  1422. model.makeValue(strHNode + "/readid", "");
  1423. model.makeValue(strHNode + "/cnclflagcd", "");
  1424. model.makeValue(strHNode + "/cnclresncd", "");
  1425. model.makeValue(strHNode + "/cncldd", "");
  1426. model.makeValue(strHNode + "/cncltm", "");
  1427. model.makeValue(strHNode + "/cnclid", "");
  1428. model.makeValue(strHNode + "/rsltstat", "");
  1429. model.makeValue(strHNode + "/grospic", "0");
  1430. model.makeValue(strHNode + "/keybloc", "");
  1431. model.makeValue(strHNode + "/tissbloct", model.getValue("/root/init/punch") );
  1432. model.makeValue(strHNode + "/tissblocnt", "");
  1433. model.makeValue(strHNode + "/readgrade", "");
  1434. model.makeValue(strHNode + "/signno", "0");
  1435. model.makeValue(strHNode + "/histno", "0");
  1436. model.makeValue(strHNode + "/sepo1mcnts", "");
  1437. model.makeValue(strHNode + "/sepo2mcnts", "");
  1438. model.makeValue(strHNode + "/sepo3mcnts", "");
  1439. model.makeValue(strHNode + "/memocnts", "");
  1440. model.makeValue("/root/hidden/sepo1list", "");
  1441. model.makeValue("/root/hidden/sepo2list", "");
  1442. //---------------------------------------------------
  1443. iFindNo = grd_readdoctlist.findRow("true", 1, 0, false, false); //접수상태에서도 판독의사가 들어올수 있기 때문에...
  1444. if(iFindNo <= 0) {
  1445. if (getNodesetCount("/root/temp/readdoctlist") > 0) {
  1446. model.removeNodeset("/root/main/testrslt/readdoctlist");
  1447. model.makeNode("/root/main/testrslt/readdoctlist");
  1448. copyNodesetType("/root/main/testrslt/readdoctlist", "/root/temp/readdoctlist");
  1449. //-------------------
  1450. // 그리드 상태 변경
  1451. for (var iNo=1; iNo <= getNodesetCount("/root/main/testrslt/readdoctlist"); iNo++) {
  1452. model.makeValue("/root/main/testrslt/readdoctlist["+iNo+"]/rgstdd", "-");
  1453. model.makeValue("/root/main/testrslt/readdoctlist["+iNo+"]/rgstno", "0");
  1454. model.makeValue("/root/main/testrslt/readdoctlist["+iNo+"]/userrgstdd", "-");
  1455. model.makeValue("/root/main/testrslt/readdoctlist["+iNo+"]/ptno", "-");
  1456. model.makeValue("/root/main/testrslt/readdoctlist["+iNo+"]/orgdispseqno", "0");
  1457. grd_readdoctlist.addStatus(iNo, "update");
  1458. }
  1459. }
  1460. }
  1461. } else {
  1462. //위탁예문 때문에 결과는 존재하지 않지만 strHNode 노드는 존재하는 경우
  1463. if(model.getValue(strHNode + "/rsltrgstno") == "") {
  1464. model.makeValue(strHNode + "/instcd", model.getValue("/root/main/testrslt/testcdlist[1]/instcd"));
  1465. model.makeValue(strHNode + "/ptno", model.getValue("/root/main/testrslt/testcdlist[1]/ptno"));
  1466. model.makeValue(strHNode + "/pid", model.getValue("/root/main/testrslt/testcdlist[1]/pid"));
  1467. model.makeValue(strHNode + "/spckeepflagcd", "0"); // 0:미보관, 1:보관
  1468. model.makeValue(strHNode + "/rslthideflagcd", "0"); // 0:일반, 1:숨기기
  1469. model.makeValue(strHNode + "/preprsltflagcd", "0"); // 0:미표시, 1:표시
  1470. model.makeValue(strHNode + "/conccaseflagcd", "0"); // 0:일반, 1:관심
  1471. model.makeValue(strHNode + "/ugcyalertflagcd", "0"); // 0:일반, 1:관심
  1472. model.makeValue(strHNode + "/grospic", "0");
  1473. model.makeValue(strHNode + "/signno", "0");
  1474. model.makeValue(strHNode + "/histno", "0");
  1475. }
  1476. iFindNo = grd_readdoctlist.findRow("true", 1, 0, false, false);
  1477. if (Number(iFindNo) <= 0) {
  1478. //---------------------------------------------------
  1479. if (getNodesetCount("/root/temp/readdoctlist") > 0) {
  1480. model.removeNodeset("/root/main/testrslt/readdoctlist");
  1481. model.makeNode("/root/main/testrslt/readdoctlist");
  1482. copyNodesetType("/root/main/testrslt/readdoctlist", "/root/temp/readdoctlist");
  1483. //-------------------
  1484. // 그리드 상태 변경
  1485. for (var iNo=1; iNo <= getNodesetCount("/root/main/testrslt/readdoctlist"); iNo++) {
  1486. model.makeValue("/root/main/testrslt/readdoctlist["+iNo+"]/rgstdd", "-");
  1487. model.makeValue("/root/main/testrslt/readdoctlist["+iNo+"]/rgstno", "0");
  1488. model.makeValue("/root/main/testrslt/readdoctlist["+iNo+"]/userrgstdd", "-");
  1489. model.makeValue("/root/main/testrslt/readdoctlist["+iNo+"]/ptno", "-");
  1490. model.makeValue("/root/main/testrslt/readdoctlist["+iNo+"]/orgdispseqno", "0");
  1491. grd_readdoctlist.addStatus(iNo, "update");
  1492. }
  1493. }
  1494. }
  1495. }
  1496. }
  1497. //--------------------------------------------------------------------------
  1498. // 육안(Gross)검사 시점에 보관된 검체가 존재할 경우만 검체보관을 활성화 처리
  1499. // 보관(0), 미보관(1)
  1500. if (model.getValue("/root/main/testrslt/patinfo/spckeepflagcd") == "0") {
  1501. bol_spckeep.disabled = true;
  1502. } else {
  1503. bol_spckeep.disabled = false;
  1504. }
  1505. //------------------------------------
  1506. iMaxRowCnt = getNodesetCount(strNode);
  1507. //-----------------------------------------------
  1508. // 작업구분 관련병리번호가 존재시 Tab의 색을 변경
  1509. if (iMaxRowCnt > 0) {
  1510. //----------------------------------------------------
  1511. for (var iRowNo=1; iRowNo <= iMaxRowCnt; iRowNo++) {
  1512. //-------------------------------------------------------------------------
  1513. sBtnObjNm = "btn_" + model.getValue(strNode + "[" + iRowNo + "]/workflagcd");
  1514. objBtn = document.controls(sBtnObjNm);
  1515. //---------------------------------------------------------
  1516. // 조회 병리번호와 결과 병리번호가 같은 경우 Tab Toggle처리
  1517. if (model.getValue(strNode + "[" + iRowNo + "]/ptno") == model.getValue("/root/hidden/ptno")) {
  1518. model.makeValue("/root/hidden/workflagcd", model.getValue(strNode + "[" + iRowNo + "]/workflagcd"));
  1519. objBtn.selected = true;
  1520. fExeTabChange();
  1521. //---------------------------------------------------------------------
  1522. // 특수염색/면역염색은 추가결과를 입력할 수 없음.(메인 병리번호에 등록)
  1523. switch (model.getValue("/root/hidden/workflagcd")) {
  1524. case "1004" :
  1525. case "1005" :
  1526. btn_addrslt.visible = false;
  1527. btn_cnstrslt.visible = false;
  1528. btn_rerslt.visible = false;
  1529. for (var iStainNo=1; iStainNo <= getNodesetCount("/root/main/testrslt/staintestlist"); iStainNo++) {
  1530. sStainRslt = model.getValue("/root/main/testrslt/staintestlist["+iStainNo+"]/testrslt");
  1531. //-----------------------------------------------------
  1532. if (sStainRslt.getTrim().toUpperCase() == "NEGATIVE") {
  1533. model.setValue("/root/main/testrslt/staintestlist["+iStainNo+"]/nagative", "true");
  1534. } else if (sStainRslt.getTrim().toUpperCase() == "POSITIVE") {
  1535. model.setValue("/root/main/testrslt/staintestlist["+iStainNo+"]/postive", "true");
  1536. }
  1537. if (model.getValue("/root/hidden/ptno") != model.getValue("/root/main/testrslt/staintestlist["+iStainNo+"]/ptno")) {
  1538. grd_stainlist.rowHidden(iStainNo) = true;
  1539. }
  1540. }
  1541. break;
  1542. case "1006" :
  1543. if (model.getValue(strHNode + "/rsltcnts2") == "") {
  1544. model.makeValue(strHNode + "/rsltcnts2", "0");
  1545. fExeIFcaseChange();
  1546. }
  1547. break;
  1548. default :
  1549. btn_addrslt.visible = true;
  1550. btn_cnstrslt.visible = true;
  1551. btn_rerslt.visible = true;
  1552. break;
  1553. }
  1554. } else {
  1555. switch (model.getValue(strNode + "[" + iRowNo + "]/teststate")) {
  1556. case "740" : objBtn.attribute("class") = "btn_sw_green";
  1557. sTemp = ":수정";
  1558. break;
  1559. case "730" : objBtn.attribute("class") = "btn_sw_yellow";
  1560. sTemp = ":최종";
  1561. break;
  1562. case "510" :
  1563. case "710" : objBtn.attribute("class") = "btn_sw_blue";
  1564. sTemp = ":예비";
  1565. break;
  1566. case "430" : objBtn.attribute("class") = "btn_sw_orange";
  1567. sTemp = ":접수";
  1568. break;
  1569. default : objBtn.attribute("class") = "btn_sw";
  1570. sTemp = "";
  1571. break;
  1572. }
  1573. }
  1574. //----------------------------------------------------------------------
  1575. objBtn.hint = model.getValue(strNode + "[" + iRowNo + "]/ptno") + sTemp;
  1576. objBtn.refresh();
  1577. }
  1578. }
  1579. //---------------------------------
  1580. // 세포결과일 경우 예문을 설정한다.
  1581. if (btn_1003.selected == true) {
  1582. fExeRsltChng("1");
  1583. fExeRsltChng("2");
  1584. fExeRsltChng("3");
  1585. }
  1586. //----------------------------------
  1587. fExeReadList(cap_readdrtitle, "R1");
  1588. //--------------------------------------------------------
  1589. if (model.getValue("/root/hidden/workflagcd") == "1003") {
  1590. fExeReadList(cap_sepo1list, "S1");
  1591. fExeReadList(cap_sepo2list, "S2");
  1592. }
  1593. //----------------------------------------------------------------
  1594. if (model.getValue("/root/main/testrslt/patinfo/readdd") != "-" &&
  1595. model.getValue("/root/main/testrslt/patinfo/readdd") != "") {
  1596. btn_save.disabled = true;
  1597. btn_lastdiag.disabled = true;
  1598. } else {
  1599. btn_save.disabled = false;
  1600. btn_lastdiag.disabled = false;
  1601. }
  1602. //---------------------------------------------------
  1603. // 기타결과(이미지, 추가결과, 자문결과) 등록여부 표시
  1604. fGetEtcRsltCnt();
  1605. //-----------------------------------------------------------------------
  1606. if (model.getValue("/root/main/testrslt/testrsltinfoh/memocnts") == "") {
  1607. cap_conc.attribute("font-weight") = "normal";
  1608. cap_conc.attribute("color") = "#000000";
  1609. } else {
  1610. cap_conc.attribute("font-weight") = "bold";
  1611. cap_conc.attribute("color") = "#ff0000";
  1612. }
  1613. //---------------------------------------------
  1614. // 관련 병리번호 목록에 상태별로 색을 구분한다.
  1615. grd_refptno.rebuildStyle();
  1616. for (var iNo=1; iNo <= getNodesetCount("/root/main/testrslt/relaptnolist"); iNo++) {
  1617. switch (model.getValue("/root/main/testrslt/relaptnolist["+iNo+"]/acptstatcd")) {
  1618. case "0" :
  1619. grd_refptno.rowStyle(iNo, "data", "background-color") = "#ffff00"; // 노랑 접수
  1620. break;
  1621. case "2" :
  1622. grd_refptno.rowStyle(iNo, "data", "background-color") = "#ffccff"; // 핑크 예비결과
  1623. break;
  1624. case "3" :
  1625. case "4" :
  1626. grd_refptno.rowStyle(iNo, "data", "background-color") = "#9cff9c"; // 초록 최종결과/수정결과
  1627. break;
  1628. case "9" :
  1629. break;
  1630. }
  1631. }
  1632. //---------------------------------------------
  1633. // 이전 병리번호 목록에 상태별로 색을 구분한다.
  1634. grd_bfptnolist.rebuildStyle();
  1635. for (var iNo=1; iNo <= getNodesetCount("/root/main/testrslt/bfptnolist"); iNo++) {
  1636. switch (model.getValue("/root/main/testrslt/bfptnolist["+iNo+"]/acptstatcd")) {
  1637. case "0" :
  1638. grd_bfptnolist.rowStyle(iNo, "data", "background-color") = "#ffff00"; // 노랑 접수
  1639. break;
  1640. case "2" :
  1641. grd_bfptnolist.rowStyle(iNo, "data", "background-color") = "#ffccff"; // 핑크 예비결과
  1642. break;
  1643. case "3" :
  1644. case "4" :
  1645. grd_bfptnolist.rowStyle(iNo, "data", "background-color") = "#9cff9c"; // 초록 최종결과/수정결과
  1646. break;
  1647. case "9" :
  1648. break;
  1649. }
  1650. }
  1651. //분자 입력항목 기준자료로 빼기 전까지 사용한다.-----------------------------
  1652. model.makeValue("/root/init/molecheck/disnm", "Adequate (A and B)");
  1653. model.makeValue("/root/init/molecheck/rsltcnts4", "N");
  1654. model.makeValue("/root/init/molecheck/disnmcd", "7001");
  1655. model.makeValue("/root/init/molecheck[2]/disnm", "Insufficient (A or B)");
  1656. model.makeValue("/root/init/molecheck[2]/rsltcnts4", "N");
  1657. model.makeValue("/root/init/molecheck[2]/disnmcd", "7002");
  1658. if(model.getValue("/root/main/testrslt/testrsltinfoh/rsltcnts4") == "7001") {
  1659. model.setValue("/root/init/molecheck/rsltcnts4", "Y");
  1660. } else if(model.getValue("/root/main/testrslt/testrsltinfoh/rsltcnts4") == "7002"){
  1661. model.setValue("/root/init/molecheck[2]/rsltcnts4", "Y");
  1662. }
  1663. //------------------------------------------------------------------------
  1664. //------------ 선택의사 라디오 버튼 셋팅 (이름)
  1665. sTemp = "";
  1666. sTemp = model.getValue("/root/main/testrslt/patinfo/specdrnm");
  1667. condarray = sTemp.split(",");
  1668. if(condarray.length > 0){
  1669. for (var i = 0; i< condarray.length ; i++){
  1670. model.makeValue("/root/temp/specdrlist[" + Number(Number(i) + 1) + "]/specdrnm", condarray[i]);
  1671. }
  1672. }
  1673. //------------ 선택의사 라디오 버튼 셋팅 (코드)
  1674. sTemp = "";
  1675. sTemp = model.getValue("/root/main/testrslt/patinfo/specdrcd");
  1676. condarray = sTemp.split(",");
  1677. if(condarray.length > 0){
  1678. for (var i = 0; i< condarray.length ; i++){
  1679. model.makeValue("/root/temp/specdrlist[" + Number(Number(i) + 1) + "]/specdrcd", condarray[i]);
  1680. }
  1681. }
  1682. nodelist = instance1.selectNodes("/root/main/testrslt/specdrlist");
  1683. if(nodelist.length <1){
  1684. if(condarray.length > 0){
  1685. model.makeNode("/root/main/testrslt/specdrlist");
  1686. model.makeNode("/root/main/testrslt/specdrlist/userid");
  1687. model.makeNode("/root/main/testrslt/specdrlist/usernm");
  1688. // 첫번째 선택진료의를 디폴트 값으로 함.
  1689. model.setValue("/root/main/testrslt/specdrlist/userid", model.getValue("/root/temp/specdrlist/specdrcd"));
  1690. }
  1691. }
  1692. //------------------------------
  1693. var children = window.children;
  1694. //--------------------------------------------
  1695. for (var iNo=0; iNo < children.length; iNo++)
  1696. {
  1697. //---------------------------------------------------------
  1698. if ( children.item(iNo).attribute("id") == "SMLPB00900") {
  1699. //----------------------------------------------------------------------
  1700. setParameter( "SMLPB00900_ptno", model.getValue("/root/hidden/ptno"));
  1701. setParameter( "SMLPB00900_acptdd", model.getValue("/root/main/testrslt/patinfo/acptdd"));
  1702. setParameter( "SMLPB00900_pid", model.getValue("/root/main/testrslt/patinfo/pid"));
  1703. //-------------------------------------------
  1704. children.item(iNo).restore();
  1705. children.item(iNo).javascript.fGetAcptList();
  1706. } else {
  1707. children.item(iNo).javascript.fExePtNoDel();
  1708. }
  1709. }
  1710. //-------------------------------------------------------------------------------------------------
  1711. //model.makeValue("/root/init/punch", model.getValue("/root/main/testrslt/testrsltinfoh/tissbloct"));
  1712. //-------------------------
  1713. model.setFocus("ipt_ptno");
  1714. model.refresh();
  1715. }
  1716. /* @group : 검사결과등록
  1717. * @ver : 2007.05.16 (CMCDEV-0001)
  1718. * @by : 유동철(ACK)
  1719. * @-----------------------------------
  1720. * @type : function
  1721. * @access : public
  1722. * @desc : 병리번호에 해당하는 환자정보 조회 Function
  1723. */
  1724. function fExePtNoKeyInput() {
  1725. if(event.keyCode == 13) {
  1726. model.setValue("/root/hidden/ptno", ipt_ptno.currentText);
  1727. ipt_ptno.refresh();
  1728. //------------
  1729. fGetPatInfo();
  1730. }
  1731. }
  1732. /* @group : 검사결과등록
  1733. * @ver : 2007.05.17 (CMCDEV-0001)
  1734. * @by : 유동철(ACK)
  1735. * @-----------------------------------
  1736. * @type : function
  1737. * @access : public
  1738. * @desc : 소견내용 확대보기 Function
  1739. */
  1740. function fExeCntsView(pTitle, objCnts) {
  1741. //-----------------
  1742. // 전역변수에 저장
  1743. _ContentObject = objCnts;
  1744. //-----------------------------------------
  1745. if (event.currentTarget == event.target) {
  1746. model.makeValue("/root/hidden/rtnnode", objCnts.attribute("ref"));
  1747. model.makeValue("/root/hidden/rsltcont", objCnts.currentText);
  1748. cap_title.value = pTitle;
  1749. fExeSetGrdLocation(grp_rsltcnts, 30, 20);// 그리드 그룹 위치 설정
  1750. grp_rsltcnts.visible = true;
  1751. model.setFocus("tar_rsltcnts");
  1752. }
  1753. }
  1754. /* @group : 검사결과등록
  1755. * @ver : 2008.12.04 (CMCDEV-0001)
  1756. * @by : 하만석(ACK)
  1757. * @-----------------------------------
  1758. * @type : function
  1759. * @access : public
  1760. * @desc : 그리드 그룹 위치 설정 Function
  1761. * fExeSetGrdLocation(grdnm, ileft, itop) : 인자[ 그리드명, left 위치, top 위치 ]
  1762. */
  1763. function fExeSetGrdLocation(grdnm, ileft, itop)
  1764. {
  1765. grdnm.attribute("left") = ileft;
  1766. grdnm.attribute("top") = itop;
  1767. grp_rsltcnts.attribute("width") = 1140;
  1768. grp_rsltcnts.attribute("height") = 710;
  1769. }
  1770. /* @group : 검사결과등록
  1771. * @ver : 2007.05.17 (CMCDEV-0001)
  1772. * @by : 유동철(ACK)
  1773. * @-----------------------------------
  1774. * @type : function
  1775. * @access : public
  1776. * @desc : 소견내용 확대종료 Function
  1777. */
  1778. function fExeCloseCntsView() {
  1779. var strNode = model.getValue("/root/hidden/rtnnode");
  1780. if (strNode != "") {
  1781. model.makeValue(model.getValue("/root/hidden/rtnnode"), model.getValue("/root/hidden/rsltcont"));
  1782. }
  1783. //---------------------------
  1784. fExeSetGrdLocation(grp_rsltcnts, 30, 20);// 그리드 그룹 위치 설정
  1785. grp_rsltcnts.visible = false;
  1786. model.refresh();
  1787. }
  1788. /* @group : 검사결과등록
  1789. * @ver : 2007.05.18 (CMCDEV-0001)
  1790. * @by : 유동철(ACK)
  1791. * @-----------------------------------
  1792. * @type : function
  1793. * @access : public
  1794. * @desc : 육안검사(GROS), 저장(SAVE), 최종진단(LAST), 진송취소(CNCL) 처리 Function
  1795. */
  1796. function fExeTestRsltSave(pBizFlag, pAutoSave) {
  1797. var sNode1 = "";
  1798. var sNode2 = "";
  1799. var sNode3 = "";
  1800. var pCont = "";
  1801. var recvmsg = "";
  1802. var iFindNo = 0;
  1803. var sSePoNode1 = "/root/main/testrslt/sepouserlist1";
  1804. var sSePoNode2 = "/root/main/testrslt/sepouserlist2";
  1805. var strReadDoctNode = "/root/main/testrslt/readdoctlist";
  1806. var strMscopcnts1001 = "";
  1807. var strReadcnts1001 = "";
  1808. var strReadDR1001 = "";
  1809. // 환자 조회 없이 저장 하려 할 경우 에러를 막기 위해서
  1810. if ( (model.getValue("/root/main/testrslt/patinfo/patnm") == "")
  1811. || (model.getValue("/root/main/testrslt/patinfo/pid") == "" ) )
  1812. {
  1813. var recvmsg = messageBox("환자 정보가 없습니다. 조회를 ", "S001");
  1814. // 6:예, 7:아니오, 2:취소
  1815. if (recvmsg == "6")
  1816. {
  1817. model.setValue("/root/hidden/ptno", ipt_ptno.currentText);
  1818. ipt_ptno.refresh();
  1819. fGetPatInfo(); // 환자 정보조회.
  1820. }
  1821. else
  1822. {
  1823. return false;
  1824. }
  1825. }
  1826. //-----------------------------------------------------------------------
  1827. model.makeValue("/root/main/testrslt/testrsltinfoh/rsltstat", pBizFlag);
  1828. //-------------------------------------------------------------------------
  1829. if ( model.getValue("/root/main/testrslt/testrsltinfoh/tissbloct") == "") {
  1830. model.makeValue("/root/main/testrslt/testrsltinfoh/tissbloct", model.getValue("/root/init/punch"));
  1831. }
  1832. grd_testrslt.refresh();
  1833. //-----------------------------------------------------
  1834. // 이전 판독의사가 설정이 되어 있을 경우 재 사용을 위해
  1835. // 자료를 보관한다. 결과를 조회할 경우 판독의사 목록이 초기화
  1836. iFindNo = grd_readdoctlist.findRow("true", 1, 0, false, false);
  1837. if (Number(iFindNo) > 0) {
  1838. model.makeNode("/root/temp/readdoctlist");
  1839. copyNodesetType("/root/temp/readdoctlist", "/root/main/testrslt/readdoctlist");
  1840. }
  1841. //-----------------------------------------------------------------------
  1842. // 조직검사의 경우 육안 소견 저장을 제외한 현미경 소견이나 진단 사항을 입력 후
  1843. // 저장 시엔 무조건 판독의사가 선택 되어야 한다.
  1844. if (btn_1001.selected == true)
  1845. {
  1846. strMscopcnts1001 = model.getValue("/root/main/testrslt/testrsltinfoh/rsltcnts2");
  1847. strReadcnts1001 = model.getValue("/root/main/testrslt/testrsltinfoh/rsltcnts3");
  1848. strReadDR1001 = model.getValue("/root/hidden/readdrlist");
  1849. if ( (strMscopcnts1001 != "" || strReadcnts1001 != "" ) && ( strReadDR1001 == "") )
  1850. {
  1851. messageBox("판독의사를 선택하여 주십시오. 판독의사는 ", "I003");
  1852. return false;
  1853. }
  1854. }
  1855. //------------------------------
  1856. // 육안검사결과 저장일 경우 처리
  1857. if (pBizFlag == "GROS") {
  1858. //----------------------------------------------------------------
  1859. if (model.getValue("/root/main/testrslt/patinfo/readdd") != "-" &&
  1860. model.getValue("/root/main/testrslt/patinfo/readdd") != "") {
  1861. messageBox("최종진단이 되었습니다! Gross결과를 저장", "E001");
  1862. return false;
  1863. }
  1864. /*
  1865. if (model.getValue("/root/main/testrslt/testcdlist/orgprcpstatcd") > "510") {
  1866. messageBox("예비결과 또는 슬라이드 제작완료일이 등록되었습니다! Gross결과를 저장", "E001");
  1867. return false;
  1868. }
  1869. */
  1870. //-----------------------------------
  1871. model.removeNodeset("/root/send");
  1872. model.makeNode("/root/send/patinfo");
  1873. model.makeNode("/root/send/testrsltinfoh");
  1874. model.makeNode("/root/send/testcdlist");
  1875. //-----------------------------------------------------
  1876. // 선택진료 의사를 설정 한다.
  1877. model.makeNode("/root/send/specdrlist");
  1878. model.copyNode("/root/send/specdrlist", "/root/main/testrslt/specdrlist");
  1879. model.makeValue("/root/send/specdrlist/choi" , "true");
  1880. model.makeValue("/root/send/specdrlist/instcd" , getUserInfo("dutplceinstcd"));
  1881. model.makeValue("/root/send/specdrlist/dispseqno" , "1");
  1882. model.makeValue("/root/send/specdrlist/userrgstdd" , "-");
  1883. //---------------------------------
  1884. grd_testrslt.refresh();
  1885. grd_testrslt.clearStatus();
  1886. grd_testrslt.addStatus(1, "insert");
  1887. model.copyNode("/root/send/patinfo", "/root/main/testrslt/patinfo");
  1888. //model.copyNode("/root/send/testrsltinfoh", "/root/main/testrslt/testrsltinfoh");
  1889. model.makeValue("/root/send/testrsltinfoh", grd_testrslt.getUpdateDataAll("i"));
  1890. model.makeValue("/root/send/testcdlist", grd_testcdlist.getUpdateDataAll("i")); // 검사항목 정보
  1891. //-----------
  1892. setAlertOn();
  1893. if (submit("TXLPR00101")) {
  1894. //-----------------------------------------------------------
  1895. model.resetInstanceNode("/root/main/testrslt/testrsltinfoh");
  1896. model.resetInstanceNode("/root/main/testrslt/patinfo");
  1897. model.resetInstanceNode("/root/main/testrslt/workrelaptnolist");
  1898. model.resetInstanceNode("/root/main/testrslt/staintestlist");
  1899. model.resetInstanceNode("/root/main/testrslt/relaptnolist");
  1900. model.resetInstanceNode("/root/main/testrslt/bfptnolist");
  1901. model.resetInstanceNode("/root/main/testrslt/iftestlist");
  1902. model.resetInstanceNode("/root/main/testrslt/moletestlist");
  1903. model.resetInstanceNode("/root/main/testrslt/frzncstelist");
  1904. model.resetInstanceNode("/root/main/testrslt/diagcntslist");
  1905. model.resetInstanceNode("/root/main/testrslt/sepouserlist1");
  1906. model.resetInstanceNode("/root/main/testrslt/sepouserlist2");
  1907. model.resetInstanceNode("/root/main/testrslt/testcdlist");
  1908. cap_sepo1list.value = "";
  1909. cap_sepo2list.value = "";
  1910. //-------------------------
  1911. // 판독의사 저장정보 초기화
  1912. for (var iNo=1; iNo <= getNodesetCount("/root/main/testrslt/readdoctlist"); iNo++) {
  1913. model.makeValue("/root/main/testrslt/readdoctlist["+iNo+"]/rgstdd", "-");
  1914. model.makeValue("/root/main/testrslt/readdoctlist["+iNo+"]/rgstno", "0");
  1915. model.makeValue("/root/main/testrslt/readdoctlist["+iNo+"]/userrgstdd", "-");
  1916. model.makeValue("/root/main/testrslt/readdoctlist["+iNo+"]/ptno", "-");
  1917. model.makeValue("/root/main/testrslt/readdoctlist["+iNo+"]/orgdispseqno", "0");
  1918. }
  1919. //-------------------------
  1920. model.setFocus("ipt_ptno");
  1921. model.refresh();
  1922. fExeBtnClear();
  1923. }
  1924. //----------
  1925. return true;
  1926. }
  1927. //----------------------
  1928. // 세포 결과일 경우 처리
  1929. if (btn_1003.selected == true) {
  1930. //--------------------------------------------
  1931. // 1차 결과가 존재할 경우 스크리너 입력은 필수
  1932. if (model.getValue("/root/main/testrslt/testrsltinfoh/rsltcnts1") != "" && model.getValue("/root/main/testrslt/testrsltinfoh/rsltcnts1") != " ") {
  1933. if (grd_screeners1.findRow("true", 1, 0, true, true) <= 0) {
  1934. messageBox("1차 스크리너를 선택하여 주십시오! 1차 스크리너는 ", "I003");
  1935. return false;
  1936. }
  1937. }
  1938. //--------------------------------------------
  1939. // 2차 결과가 존재할 경우 스크리너 입력은 필수
  1940. if (model.getValue("/root/main/testrslt/testrsltinfoh/rsltcnts2") != "" && model.getValue("/root/main/testrslt/testrsltinfoh/rsltcnts2") != " ") {
  1941. if (grd_screeners2.findRow("true", 1, 0, true, true) <= 0) {
  1942. messageBox("2차 스크리너를 선택하여 주십시오! 2차 스크리너는 ", "I003");
  1943. return false;
  1944. }
  1945. }
  1946. //----------------------------------------
  1947. // 1차세포 스크리너 선택의 변경여부를 판단
  1948. grd_screeners1.clearStatus();
  1949. for (var iRowNo=1; iRowNo <= getNodesetCount(sSePoNode1); iRowNo++) {
  1950. if (model.getValue(sSePoNode1+"[" + iRowNo + "]/orgdispseqno") != model.getValue(sSePoNode1+"[" + iRowNo + "]/dispseqno")) {
  1951. if (model.getValue(sSePoNode1 + "[" + iRowNo + "]/choi") == "true") {
  1952. grd_screeners1.addStatus(iRowNo, "insert");
  1953. model.setValue(sSePoNode1 + "[" + iRowNo + "]/ptno", model.getValue("/root/hidden/ptno"));
  1954. }
  1955. }
  1956. }
  1957. //----------------------------------------
  1958. // 2차세포 스크리너 선택의 변경여부를 판단
  1959. grd_screeners2.clearStatus();
  1960. for (var iRowNo=1; iRowNo <= getNodesetCount(sSePoNode2); iRowNo++) {
  1961. if (model.getValue(sSePoNode2+"[" + iRowNo + "]/orgdispseqno") != model.getValue(sSePoNode2+"[" + iRowNo + "]/dispseqno")) {
  1962. if (model.getValue(sSePoNode2+"[" + iRowNo + "]/choi") == "true") {
  1963. grd_screeners2.addStatus(iRowNo, "insert");
  1964. model.setValue(sSePoNode2+"[" + iRowNo + "]/ptno", model.getValue("/root/hidden/ptno"));
  1965. }
  1966. }
  1967. }
  1968. }
  1969. //-----------------------
  1970. if (pBizFlag == "LAST") {
  1971. if (grd_readdoctlist.findRow("true", 1, 0, true, true) <= 0) {
  1972. messageBox("판독의사를 선택하여 주십시오. 판독의사는 ", "I003");
  1973. return false;
  1974. }
  1975. //--------------------------------------------------------
  1976. iFindNo = grd_readdoctlist.findRow("1", 1, 8, true, true);
  1977. if (Number(iFindNo) <= 0) {
  1978. messageBox("판독의사 설정을 ", "I007");
  1979. return false;
  1980. }
  1981. //----------------------------------------------------------------------------------------
  1982. if (btn_1004.selected == true || btn_1005.selected == true || btn_1006.selected == true) {
  1983. // Continue
  1984. } else if (model.getValue("/root/main/testrslt/testrsltinfoh/diagcnts") == "") {
  1985. if (pBizFlag != "CNCL") {
  1986. recvmsg = messageBox("M Code가 없습니다! ", "Q002");
  1987. // 6:예, 7:아니오, 2:취소
  1988. if (recvmsg != "6") {
  1989. return false;
  1990. }
  1991. }
  1992. }
  1993. }
  1994. //------------------------
  1995. // 판독의사 선택여부 검사
  1996. if (pBizFlag == "LAST") {
  1997. //------------------------------
  1998. if (btn_1003.selected == true) {
  1999. if (model.getValue("/root/main/testrslt/testrsltinfoh/rsltcnts3") == "") {
  2000. messageBox("진단이 없으면 최종진단을 ", "E001");
  2001. return false;
  2002. }
  2003. }
  2004. //-----------------------------------------------------------------------------------------------
  2005. //if (model.getValue("/root/init/hospenv/hospenvinfo/doctjobgradcd") != getUserInfo("jobkindcd")) {
  2006. if ( !lpzfGetDoctorCheck("/root/init/hospenv/hospenvinfo/doctjobgradcd", getUserInfo("jobkindcd")) ) {
  2007. messageBox("의사직급만 최종진단이 ", "I006");
  2008. return false;
  2009. }
  2010. //----------------------------------------------------------------------------------------------------
  2011. if (model.getValue("/root/main/testrslt/readdoctlist["+iFindNo+"]/userid") != getUserInfo("userid")) {
  2012. messageBox("선택된 판독의사와 로그인한 사용자가 다릅니다! ", "I007");
  2013. return false;
  2014. }
  2015. } else if (pBizFlag == "CNCL") {
  2016. // Continue
  2017. } else {
  2018. if (model.getValue("/root/main/testrslt/patinfo/readdd") != "" &&
  2019. model.getValue("/root/main/testrslt/patinfo/readdd") != "-") {
  2020. return true;
  2021. } else {
  2022. switch (model.getValue("/root/main/testrslt/testcdlist/statsworkflagcd")) {
  2023. case "1021" :
  2024. case "1022" :
  2025. case "1023" :
  2026. case "10B2" :
  2027. case "10B3" :
  2028. case "10D0" :
  2029. case "10D2" :
  2030. if (model.getValue("/root/main/testrslt/testrsltinfoh/rsltcnts3") != "")
  2031. {
  2032. //---------------------
  2033. if (pAutoSave == "1")
  2034. {
  2035. //--------------------------------------------------------
  2036. iFindNo = grd_readdoctlist.findRow("1", 1, 8, true, true);
  2037. if (Number(iFindNo) <= 0) {
  2038. messageBox("판독의사 설정을 ", "I007");
  2039. return false;
  2040. }
  2041. }
  2042. }
  2043. break;
  2044. }
  2045. }
  2046. }
  2047. //---------------------------------
  2048. // 판독의사 선택의 변경여부를 판단
  2049. grd_readdoctlist.clearStatus();
  2050. for (var iRowNo=1; iRowNo <= getNodesetCount("/root/main/testrslt/readdoctlist"); iRowNo++) {
  2051. if (model.getValue(strReadDoctNode + "[" + iRowNo + "]/orgdispseqno") != model.getValue(strReadDoctNode+"[" + iRowNo + "]/dispseqno")) {
  2052. if (model.getValue(strReadDoctNode + "[" + iRowNo + "]/choi") == "true") {
  2053. grd_readdoctlist.addStatus(iRowNo, "insert");
  2054. model.setValue(strReadDoctNode + "[" + iRowNo + "]/ptno", model.getValue("/root/hidden/ptno"));
  2055. }
  2056. } else {
  2057. if (model.getValue(strReadDoctNode + "[" + iRowNo + "]/choi") == "true") {
  2058. grd_readdoctlist.addStatus(iRowNo, "insert");
  2059. model.setValue(strReadDoctNode + "[" + iRowNo + "]/ptno", model.getValue("/root/hidden/ptno"));
  2060. }
  2061. }
  2062. }
  2063. //-----------------
  2064. switch (pBizFlag) {
  2065. case "CNCL" :
  2066. if (model.getValue("/root/main/testrslt/testrsltinfoh/cnclresncd") == "" ||
  2067. model.getValue("/root/main/testrslt/testrsltinfoh/cnclresncd") == "-") {
  2068. messageBox("취소사유를 ", "C002");
  2069. return false;
  2070. }
  2071. //----------------------------------------------
  2072. // 최종판독된 자료에 한하여 전송취소를 처리한다.
  2073. //최종진단 판단 여부를 pnis의 readdd로 판단 하도록 수정.(수정 박중규 2008.10.22)
  2074. if (model.getValue("/root/main/testrslt/patinfo/readdd") == "" ||
  2075. model.getValue("/root/main/testrslt/patinfo/readdd") == "-") {
  2076. messageBox("최종진단이 없는 결과입니다! 전송취소를 진행 ", "E001");
  2077. return false;
  2078. }
  2079. /*
  2080. if (model.getValue("/root/main/testrslt/testrsltinfoh/readdd") == "" ||
  2081. model.getValue("/root/main/testrslt/testrsltinfoh/readdd") == "-") {
  2082. messageBox("최종진단이 없는 결과입니다! 전송취소를 진행 ", "E001");
  2083. return false;
  2084. }
  2085. */
  2086. //----------------------
  2087. // 취소사유구분코드 설정
  2088. model.makeValue("/root/main/testrslt/testrsltinfoh/cnclflagcd", "30");
  2089. break;
  2090. }
  2091. //------------------------------------------------------
  2092. // 세포의 경우 결과예문을 4, 5, 6번 결과필드에 저장한다.
  2093. if (btn_1003.selected == true) {
  2094. //-----------------------------------------------------------------
  2095. // 최종진단의 경우 최종결과가 없으면 2차/1차 결과를 최종결과로 설정
  2096. if (pBizFlag == "LAST") {
  2097. if (model.getValue("/root/main/testrslt/testrsltinfoh/rsltcnts3") == "") {
  2098. if (model.getValue("/root/main/testrslt/testrsltinfoh/rsltcnts2") == "") {
  2099. //model.makeValue("/root/main/testrslt/testrsltinfoh/rsltcnts2", model.getValue("/root/main/testrslt/testrsltinfoh/rsltcnts1"));
  2100. //model.makeValue("/root/main/testrslt/testrsltinfoh/rsltcnts5", model.getValue("/root/main/testrslt/testrsltinfoh/rsltcnts4"));
  2101. model.makeValue("/root/main/testrslt/testrsltinfoh/rsltcnts3", model.getValue("/root/main/testrslt/testrsltinfoh/rsltcnts1"));
  2102. } else {
  2103. model.makeValue("/root/main/testrslt/testrsltinfoh/rsltcnts3", model.getValue("/root/main/testrslt/testrsltinfoh/rsltcnts2"));
  2104. }
  2105. }
  2106. }
  2107. //--------------------------------------------------------------------------
  2108. switch (model.getValue("/root/main/testrslt/testcdlist/statsworkflagcd")) {
  2109. case "1021" :
  2110. case "10D2" :
  2111. sNode1 = instance1.selectSingleNode("/root/init/seporesn1/seporesninfo");
  2112. sNode2 = instance1.selectSingleNode("/root/init/seporesn2/seporesninfo");
  2113. sNode3 = instance1.selectSingleNode("/root/init/seporesn3/seporesninfo");
  2114. break;
  2115. case "1022" :
  2116. case "10B2" :
  2117. case "10B3" :
  2118. case "10D0" :
  2119. sNode1 = instance1.selectSingleNode("/root/init/seporesn4/seporesninfo");
  2120. sNode2 = instance1.selectSingleNode("/root/init/seporesn5/seporesninfo");
  2121. sNode3 = instance1.selectSingleNode("/root/init/seporesn6/seporesninfo");
  2122. break;
  2123. case "1023" :
  2124. //------------------
  2125. // Thyroid 검체 판단
  2126. var bSpccdStatus = false;
  2127. //----------------------------------------------------------------------------------
  2128. for (var iNo=1; iNo <= getNodesetCount("/root/init/spccdresn/resncdlist"); iNo++) {
  2129. //---------------------------------------------------------------------------------------------------------------------------------------
  2130. if ( model.getValue("/root/main/testrslt/testcdlist[1]/spccd") == model.getValue("/root/init/spccdresn/resncdlist["+iNo+"]/resncnts") ) {
  2131. bSpccdStatus = true;
  2132. }
  2133. }
  2134. //--------------------
  2135. if ( bSpccdStatus ) {
  2136. sNode1 = instance1.selectSingleNode("/root/init/seporesnA/seporesninfo"); // Thyroid
  2137. sNode2 = instance1.selectSingleNode("/root/init/seporesnB/seporesninfo");
  2138. sNode3 = instance1.selectSingleNode("/root/init/seporesnC/seporesninfo");
  2139. } else {
  2140. sNode1 = instance1.selectSingleNode("/root/init/seporesn7/seporesninfo"); // Thyroid외
  2141. sNode2 = instance1.selectSingleNode("/root/init/seporesn8/seporesninfo");
  2142. sNode3 = instance1.selectSingleNode("/root/init/seporesn9/seporesninfo");
  2143. }
  2144. break;
  2145. }
  2146. //-----------------------------------------------------------------
  2147. model.makeValue("/root/main/testrslt/testrsltinfoh/rsltcnts4", "");
  2148. model.makeValue("/root/main/testrslt/testrsltinfoh/rsltcnts5", "");
  2149. model.makeValue("/root/main/testrslt/testrsltinfoh/rsltcnts6", "");
  2150. if (model.getValue("/root/main/testrslt/testrsltinfoh/rsltcnts1") != "") model.setValue("/root/main/testrslt/testrsltinfoh/rsltcnts4", sNode1.xml, true);
  2151. if (model.getValue("/root/main/testrslt/testrsltinfoh/rsltcnts2") != "") model.setValue("/root/main/testrslt/testrsltinfoh/rsltcnts5", sNode2.xml, true);
  2152. if (model.getValue("/root/main/testrslt/testrsltinfoh/rsltcnts3") != "") model.setValue("/root/main/testrslt/testrsltinfoh/rsltcnts6", sNode3.xml, true);
  2153. //model.setValue("/root/main/testrslt/testrsltinfoh/rsltcnts4", sNode1.xml, true);
  2154. //model.setValue("/root/main/testrslt/testrsltinfoh/rsltcnts5", sNode2.xml, true);
  2155. //model.setValue("/root/main/testrslt/testrsltinfoh/rsltcnts6", sNode3.xml, true);
  2156. } else if (btn_1007.selected == true) {
  2157. pCont = "";
  2158. for (var iNo=1; iNo <= getNodesetCount("/root/main/testrslt/moletestlist"); iNo++) {
  2159. if (pCont != "") {
  2160. pCont += "\n" + model.getValue("/root/main/testrslt/moletestlist["+iNo+"]/testrslt");
  2161. } else {
  2162. pCont += model.getValue("/root/main/testrslt/moletestlist["+iNo+"]/testrslt");
  2163. }
  2164. }
  2165. //--------------------------------------------------------------------
  2166. model.setValue("/root/main/testrslt/testrsltinfoh/rsltcnts1", pCont);
  2167. //--------------------------------------------------------------------
  2168. for (var iNo=1; iNo <= getNodesetCount("/root/init/molecheck"); iNo++) {
  2169. if(model.getValue("/root/init/molecheck["+ iNo +"]/rsltcnts4") == "Y") {
  2170. model.setValue("/root/main/testrslt/testrsltinfoh/rsltcnts4", model.getValue("/root/init/molecheck["+ iNo +"]/disnmcd"));
  2171. break;
  2172. } else {
  2173. model.setValue("/root/main/testrslt/testrsltinfoh/rsltcnts4", "");
  2174. }
  2175. }
  2176. }
  2177. //20111013 수정
  2178. //-----------
  2179. // T/M/P 설정
  2180. //pCont = "";
  2181. //for (var iNo=1; iNo <= getNodesetCount("/root/main/testrslt/testcdlist"); iNo++) {
  2182. // if (iNo != 1) {
  2183. // pCont += ", " + model.getValue("/root/main/testrslt/testcdlist["+iNo+"]/testnm");
  2184. // } else {
  2185. // pCont += model.getValue("/root/main/testrslt/testcdlist["+iNo+"]/testnm");
  2186. // }
  2187. //}
  2188. //pCont += model.getValue("/root/hidden/testcd");
  2189. model.makeValue("/root/main/testrslt/testrsltinfoh/extrpartcd", model.getValue("/root/main/testrslt/patinfo/spcnm")); // T
  2190. var a = model.getValue("/root/main/testrslt/testrsltinfoh/extrpartcd")
  2191. //model.makeValue("/root/main/testrslt/testrsltinfoh/extrpartcd", ); // T
  2192. model.makeValue("/root/main/testrslt/testrsltinfoh/extrmthdcd", model.getValue("/root/hidden/testcd")); // P
  2193. //-----------------------------------
  2194. model.removeNodeset("/root/send");
  2195. model.makeNode("/root/send/patinfo");
  2196. model.makeNode("/root/send/testrsltinfoh");
  2197. model.makeNode("/root/send/testcdlist");
  2198. //-----------------------------------------------------
  2199. // 선택진료 의사를 설정 한다.
  2200. model.makeNode("/root/send/specdrlist");
  2201. model.copyNode("/root/send/specdrlist", "/root/main/testrslt/specdrlist");
  2202. model.makeValue("/root/send/specdrlist/choi" , "true");
  2203. model.makeValue("/root/send/specdrlist/instcd" , getUserInfo("dutplceinstcd"));
  2204. model.makeValue("/root/send/specdrlist/dispseqno" , "1");
  2205. model.makeValue("/root/send/specdrlist/userrgstdd" , "-");
  2206. //---------------------
  2207. grd_testrslt.refresh();
  2208. grd_testrslt.clearStatus();
  2209. grd_testrslt.addStatus(1, "insert");
  2210. //--------------------------------------------------------------------------
  2211. model.copyNode("/root/send/patinfo", "/root/main/testrslt/patinfo");
  2212. //model.copyNode("/root/send/testrsltinfoh", "/root/main/testrslt/testrsltinfoh");
  2213. model.makeValue("/root/send/testrsltinfoh", grd_testrslt.getUpdateDataAll("i"));
  2214. model.makeValue("/root/send/testcdlist", grd_testcdlist.getUpdateDataAll("i")); // 검사항목 정보
  2215. model.makeValue("/root/send/staintestlist", grd_stainalllist.getUpdateDataAll("i")); // Stain검사 정보
  2216. model.makeValue("/root/send/moletestlist", grd_moletestlist.getUpdateDataAll("i")); // 분자병리 정보
  2217. model.makeValue("/root/send/readdoctlist", grd_readdoctlist.getUpdateData()); // 판독의사 정보
  2218. model.makeValue("/root/send/ptnoworkflagcd", model.getValue("/root/hidden/workflagcd")); // 병리번호 작업구분코드
  2219. //---------------------------
  2220. grd_screeners1.clearStatus();
  2221. for (var iNo=1; iNo <= getNodesetCount("/root/main/testrslt/sepouserlist1"); iNo++) {
  2222. if (model.getValue("/root/main/testrslt/sepouserlist1["+iNo+"]/choi") == "true") {
  2223. grd_screeners1.addStatus(iNo, "insert");
  2224. }
  2225. }
  2226. //---------------------------
  2227. grd_screeners2.clearStatus();
  2228. for (var iNo=1; iNo <= getNodesetCount("/root/main/testrslt/sepouserlist2"); iNo++) {
  2229. if (model.getValue("/root/main/testrslt/sepouserlist2["+iNo+"]/choi") == "true") {
  2230. grd_screeners2.addStatus(iNo, "insert");
  2231. }
  2232. }
  2233. //---------------------------------------------------------------------------
  2234. model.makeValue("/root/send/sepouserlist1", grd_screeners1.getUpdateData()); // 1차 세포결과 정보
  2235. model.makeValue("/root/send/sepouserlist2", grd_screeners2.getUpdateData()); // 2차 세포결과 정보
  2236. //------------------
  2237. // 면역형광 Kidney
  2238. if (model.getValue("/root/main/testrslt/testrsltinfoh/rsltcnts2") == "0") {
  2239. model.makeValue("/root/send/iftestlist", grd_iftestlistK.getUpdateDataAll("i"));
  2240. } else if (model.getValue("/root/main/testrslt/testrsltinfoh/rsltcnts2") == "1") {
  2241. model.makeValue("/root/send/iftestlist", grd_iftestlistS.getUpdateDataAll("i"));
  2242. } else if (model.getValue("/root/main/testrslt/testrsltinfoh/rsltcnts2") == "2") {
  2243. model.makeValue("/root/send/iftestlist", grd_iftestlistO.getUpdateDataAll("i"));
  2244. }
  2245. //**********************************************************************
  2246. // 전자인증 테스트
  2247. //**********************************************************************
  2248. /* var saveFlagInfoNodeList = model.instances(0).selectNodes( "/root/main/testrslt/testrsltinfoh" );
  2249. model.makeValue ( "/root/send/cond1", getNodeListCSV(saveFlagInfoNodeList));
  2250. var v_stext = zesfSignData(model.getValue("/root/send/cond1"), "00000001" );
  2251. model.makeValue("/root/send/cond2", v_stext);
  2252. return false;
  2253. */
  2254. //**********************************************************************
  2255. //-------------------------------------
  2256. // 자동저장은 메세지를 표시하지 않는다.
  2257. if (pAutoSave == "1") {
  2258. //setAlertOn();
  2259. }
  2260. //------------------------------------------
  2261. // 최종진단일 경우 인증번호를 먼저 취득한다.
  2262. if (pBizFlag == "LAST") {
  2263. //------------------------
  2264. // 2010-08-23 : YDC
  2265. // 개발시점에서만 fExeMakeCertPrcs2(인증처리 없는 함수) 함수를 사용한다.
  2266. if (fExeMakeCertPrcs()) {
  2267. //if (fExeMakeCertPrcs2()) {
  2268. //messageBox("최종진단 confirm이 정상적으로 ", "I001");
  2269. //---------------
  2270. fExeDelayTime(); // 지연사유 등록
  2271. //-----------------------------------------------------------
  2272. model.resetInstanceNode("/root/main/testrslt/testrsltinfoh");
  2273. model.resetInstanceNode("/root/main/testrslt/patinfo");
  2274. model.resetInstanceNode("/root/main/testrslt/workrelaptnolist");
  2275. model.resetInstanceNode("/root/main/testrslt/staintestlist");
  2276. model.resetInstanceNode("/root/main/testrslt/relaptnolist");
  2277. model.resetInstanceNode("/root/main/testrslt/bfptnolist");
  2278. model.resetInstanceNode("/root/main/testrslt/iftestlist");
  2279. model.resetInstanceNode("/root/main/testrslt/moletestlist");
  2280. model.resetInstanceNode("/root/main/testrslt/frzncstelist");
  2281. model.resetInstanceNode("/root/main/testrslt/diagcntslist");
  2282. model.resetInstanceNode("/root/main/testrslt/sepouserlist1");
  2283. model.resetInstanceNode("/root/main/testrslt/sepouserlist2");
  2284. model.resetInstanceNode("/root/main/testrslt/testcdlist");
  2285. cap_sepo1list.value = "";
  2286. cap_sepo2list.value = "";
  2287. //-------------------------
  2288. // 판독의사 저장정보 초기화
  2289. for (var iNo=1; iNo <= getNodesetCount("/root/main/testrslt/readdoctlist"); iNo++) {
  2290. model.makeValue("/root/main/testrslt/readdoctlist["+iNo+"]/rgstdd", "-");
  2291. model.makeValue("/root/main/testrslt/readdoctlist["+iNo+"]/rgstno", "0");
  2292. model.makeValue("/root/main/testrslt/readdoctlist["+iNo+"]/userrgstdd", "-");
  2293. model.makeValue("/root/main/testrslt/readdoctlist["+iNo+"]/ptno", "-");
  2294. model.makeValue("/root/main/testrslt/readdoctlist["+iNo+"]/orgdispseqno", "0");
  2295. }
  2296. //-------------------------
  2297. model.setFocus("ipt_ptno");
  2298. model.refresh();
  2299. //fGetPatInfo();
  2300. fExeBtnClear();
  2301. //-------------------------------------------------
  2302. // 자식창(병리번호팝업창)의 병리번호 목록 삭제 처리
  2303. fExeChildPtNoDel();
  2304. } else {
  2305. messageBox("최종진단이 취소 또는 실패되었습니다! ", "I007");
  2306. return false;
  2307. }
  2308. } else {
  2309. model.makeValue("/root/send/frznrslt", grd_frzncstelist.getUpdateData() ); // Frozen저장
  2310. //-------------------------
  2311. if (submit("TXLPR00101")) {
  2312. // if (pBizFlag == "LAST") {
  2313. // messageBox("최종진단 confirm이 정상적으로 ", "I001");
  2314. //
  2315. // //-------------
  2316. // fExeGridChoi();
  2317. // fExeMakeCertPrcs();
  2318. //
  2319. // } else {
  2320. //messageBox("저장이 정상적으로 ", "I001");
  2321. // }
  2322. //----------------------------
  2323. // 자동출력여부를 화면에 표시
  2324. if (pAutoSave == "1") {
  2325. if (pBizFlag == "SAVE") {
  2326. switch (model.getValue("/root/hidden/workflagcd")) {
  2327. case "1001" :
  2328. case "1002" : // 동결절편일 경우
  2329. // case "1003" :
  2330. /*===================================== 2010-09-08 : YDC ---> 출력은 사용자가 수동으로 함.
  2331. recvmsg = messageBox("검사결과보고서를 출력하시겠습니까? ", "Q000");
  2332. // 6:예, 7:아니오, 2:취소
  2333. if (recvmsg == "6") {
  2334. fExeFrmPrnt("0");
  2335. }
  2336. =========================================================================== */
  2337. break;
  2338. }
  2339. }
  2340. }
  2341. //-----------------------------------------------------------
  2342. model.resetInstanceNode("/root/main/testrslt/testrsltinfoh");
  2343. model.resetInstanceNode("/root/main/testrslt/patinfo");
  2344. model.resetInstanceNode("/root/main/testrslt/workrelaptnolist");
  2345. model.resetInstanceNode("/root/main/testrslt/staintestlist");
  2346. model.resetInstanceNode("/root/main/testrslt/relaptnolist");
  2347. model.resetInstanceNode("/root/main/testrslt/bfptnolist");
  2348. model.resetInstanceNode("/root/main/testrslt/iftestlist");
  2349. model.resetInstanceNode("/root/main/testrslt/moletestlist");
  2350. model.resetInstanceNode("/root/main/testrslt/frzncstelist");
  2351. model.resetInstanceNode("/root/main/testrslt/diagcntslist");
  2352. model.resetInstanceNode("/root/main/testrslt/sepouserlist1");
  2353. model.resetInstanceNode("/root/main/testrslt/sepouserlist2");
  2354. model.resetInstanceNode("/root/main/testrslt/testcdlist");
  2355. cap_sepo1list.value = "";
  2356. cap_sepo2list.value = "";
  2357. //-------------------------
  2358. // 판독의사 저장정보 초기화
  2359. for (var iNo=1; iNo <= getNodesetCount("/root/main/testrslt/readdoctlist"); iNo++) {
  2360. model.makeValue("/root/main/testrslt/readdoctlist["+iNo+"]/rgstdd", "-");
  2361. model.makeValue("/root/main/testrslt/readdoctlist["+iNo+"]/rgstno", "0");
  2362. model.makeValue("/root/main/testrslt/readdoctlist["+iNo+"]/userrgstdd", "-");
  2363. model.makeValue("/root/main/testrslt/readdoctlist["+iNo+"]/ptno", "-");
  2364. model.makeValue("/root/main/testrslt/readdoctlist["+iNo+"]/orgdispseqno", "0");
  2365. }
  2366. //-------------------------
  2367. model.setFocus("ipt_ptno");
  2368. model.refresh();
  2369. //fGetPatInfo();
  2370. fExeBtnClear();
  2371. //-------------------------------------------------
  2372. // 자식창(병리번호팝업창)의 병리번호 목록 삭제 처리
  2373. fExeChildPtNoDel();
  2374. }
  2375. }
  2376. //20111013
  2377. model.setValue("/root/hidden/testcd" , "");
  2378. model.refresh();
  2379. //------------
  2380. return true;
  2381. }
  2382. function fExeGridChoi() {
  2383. var sSrcNode = "/root/main/testrslt/testcdlist";
  2384. //-------------------------------------------------
  2385. model.makeNode("/root/temp/testrslt/patbasicinfo");
  2386. //----------------
  2387. model.makeValue("/root/send/instcd", model.getValue(sSrcNode+"/instcd"));
  2388. model.makeValue("/root/send/ptno", model.getValue(sSrcNode+"/ptno"));
  2389. model.makeValue("/root/send/pid", model.getValue(sSrcNode+"/pid"));
  2390. model.makeValue("/root/send/workflagcd", model.getValue(sSrcNode+"/workflagcd"));
  2391. model.makeValue("/root/send/prcpgenrflag", model.getValue(sSrcNode+"/prcpgenrflag"));
  2392. model.makeValue("/root/send/scrno", "10");
  2393. //--------------
  2394. // 검사결과 조회
  2395. submit("TRLPZ00113", false);
  2396. submit("TRLPZ00112");
  2397. // 등록된 이미지를 인증저장하기위한 이미지 파라미터 조회
  2398. submit("TRLPZ00115");
  2399. //-------------------
  2400. // 보고서 타이블 설정
  2401. switch (model.getValue(sSrcNode+"/workflagcd")) {
  2402. case "1001" :
  2403. case "1002" :
  2404. model.makeValue("/root/temp/testrslt/patbasicinfo/title", "조직 검사보고서");
  2405. break;
  2406. case "1003" : model.makeValue("/root/temp/testrslt/patbasicinfo/title", "세포 검사보고서");
  2407. break;
  2408. case "1004" : model.makeValue("/root/temp/testrslt/patbasicinfo/title", "특수염색 검사보고서");
  2409. break;
  2410. case "1005" : model.makeValue("/root/temp/testrslt/patbasicinfo/title", "면역염색 검사보고서");
  2411. break;
  2412. case "1006" : model.makeValue("/root/temp/testrslt/patbasicinfo/title", "면역형광 검사보고서");
  2413. break;
  2414. case "1007" : model.makeValue("/root/temp/testrslt/patbasicinfo/title", "분자병리 검사보고서");
  2415. break;
  2416. case "1008" : model.makeValue("/root/temp/testrslt/patbasicinfo/title", "전자현미경 검사보고서");
  2417. break;
  2418. case "1009" : model.makeValue("/root/temp/testrslt/patbasicinfo/title", "부검 검사보고서");
  2419. break;
  2420. case "1012" : model.makeValue("/root/temp/testrslt/patbasicinfo/title", "골수조직 검사보고서");
  2421. break;
  2422. }
  2423. }
  2424. /* **********************************
  2425. * ENRSignEngine.js에서 함수를 호출함
  2426. * **********************************
  2427. */
  2428. function fMake_SignData(){
  2429. Sign.addnode("/root/temp/testrslt");
  2430. }
  2431. function fExeMakeCertPrcs() {
  2432. var pRowNo = 1;
  2433. var pNode = "/root/main/testrslt/testcdlist";
  2434. var sCheckCnclresn = "";
  2435. //-----------------------------------------
  2436. model.removeNodeset("/root/temp/testrslt");
  2437. model.makeNode("/root/temp/testrslt");
  2438. //-----------------------
  2439. if (Sign.signprocess()) {
  2440. //-----------------------------------------------------
  2441. // 선택진료 의사를 설정 한다.
  2442. model.makeNode("/root/send/specdrlist");
  2443. model.copyNode("/root/send/specdrlist", "/root/main/testrslt/specdrlist");
  2444. model.makeValue("/root/send/specdrlist/choi" , "true");
  2445. model.makeValue("/root/send/specdrlist/instcd" , getUserInfo("dutplceinstcd"));
  2446. model.makeValue("/root/send/specdrlist/dispseqno" , "1");
  2447. model.makeValue("/root/send/specdrlist/userrgstdd" , "-");
  2448. //--------------
  2449. // 최종진단 등록
  2450. if (submit("TXLPR00101")) {
  2451. //-------------
  2452. fExeGridChoi();
  2453. /*
  2454. //이전 결과에 전송취소 사유가 있으면 최종결과수정으로 생각하여 수정사유를 인증결과에 붙여준다.
  2455. if(model.getValue("/root/temp/testrslt/patbasicinfo/cnclresn") != "-" && model.getValue("/root/temp/testrslt/patbasicinfo/cnclresn") != "") {
  2456. var nodelist = instance1.selectNodes("/root/temp/testrslt/testrsltinfo");
  2457. var newNode = instance1.createNode("element", "testrsltinfo", "");
  2458. var childnode1 = instance1.createNode("element", "reptrslt", "");
  2459. newNode.appendChild(childnode1);
  2460. if (nodelist.length > 0) {
  2461. var currNode = root.temp.testrslt.insertBefore(newNode, nodelist.item(0));
  2462. model.setValue("/root/temp/testrslt/testrsltinfo[1]/reptrslt", "* 수정사유 : "+ model.getValue("/root/temp/testrslt/patbasicinfo/cnclresn") + " (최종본을 확인 바랍니다)", true);
  2463. }
  2464. }
  2465. */
  2466. //수정사유 삭제
  2467. if(model.getValue("/root/temp/testrslt/patbasicinfo/cnclresn") != "-" && model.getValue("/root/temp/testrslt/patbasicinfo/cnclresn") != "") {
  2468. var nodelist = instance1.selectNodes("/root/temp/testrslt/testrsltinfo");
  2469. for(var i = 1 ; i <= nodelist.length; i++){
  2470. sCheckCnclresn = model.getValue("/root/temp/testrslt/testrsltinfo[" + i + "]/reptrslt") ;
  2471. if(sCheckCnclresn.substr(11, 6) == "*수정사유:"){
  2472. model.setValue("/root/temp/testrslt/testrsltinfo[" + i + "]/reptrslt", "");
  2473. }
  2474. }
  2475. }
  2476. //-----------------------
  2477. if (Sign.signprocess()) {
  2478. // Continue
  2479. } else {
  2480. return false;
  2481. }
  2482. } else {
  2483. return false;
  2484. }
  2485. model.makeNode("/root/send/signdata");
  2486. model.makeValue("/root/send/signdata/instcd", model.getValue(pNode+"["+pRowNo+"]/instcd")); // 기관코드
  2487. model.makeValue("/root/send/signdata/pid", model.getValue(pNode+"["+pRowNo+"]/pid")); // 등록번호
  2488. model.makeValue("/root/send/signdata/ptno", model.getValue(pNode+"["+pRowNo+"]/ptno")); // 병리번호
  2489. model.makeValue("/root/send/signdata/orddd", model.getValue("/root/temp/testrslt/patbasicinfo/orddd")); // 입원, 응급 : 입원일자, 외래 : 진료일자
  2490. model.makeValue("/root/send/signdata/signno", model.getValue("/root/temp/testrslt/patbasicinfo/signno")); // 서명번호
  2491. model.makeValue("/root/send/signdata/histno", model.getValue("/root/main/testrslt/testrsltinfoh/histno")); // 서명이력번호
  2492. model.makeValue("/root/send/signdata/cretno", model.getValue("/root/temp/testrslt/patbasicinfo/cretno")); // 생성번호
  2493. model.makeValue("/root/send/signdata/recdd", getCurrentDate()); // 실제기록이 이루어진 기록일자
  2494. model.makeValue("/root/send/signdata/rectm", getCurrentTime()); // 실제기록이 이루어진 기록시간
  2495. model.makeValue("/root/send/signdata/recsaveflag", "N"); // 전자서명 인적정보 변경여부(기록일시 변경되는 경우 : Y, 그외 : N)
  2496. model.makeValue("/root/send/signdata/signflag", "30"); // 서명자료구분(01 : 진료, 02 : 간호, 30:LIS)
  2497. model.makeValue("/root/send/signdata/signgenrflag", model.getValue(pNode+"["+pRowNo+"]/prcpgenrflag")); // 입원, 외래구분
  2498. model.makeValue("/root/send/signdata/formcd", "0000002726"); // 각 기록지별 서식코드
  2499. model.makeValue("/root/send/signdata/orddeptcd", model.getValue(pNode+"["+pRowNo+"]/orddeptcd")); // 진료과
  2500. model.makeValue("/root/send/signdata/orddrid", model.getValue(pNode+"["+pRowNo+"]/orddrid")); // 진료의ID
  2501. model.makeValue("/root/send/signdata/signbfcnts", Sign.signedInfos[1]); // 인증할 데이터 정보(미기록 노드 제거된 정보), 미기록 노드 제거전 원본 노드 정보 : Sign.signedInfos[3]
  2502. model.makeValue("/root/send/signdata/signaftcnts", Sign.signedInfos[2]); // 공인인증 처리후 데이터
  2503. } else {
  2504. return false;
  2505. }
  2506. //-------------------------
  2507. if (submit("TXLPR01102")) {
  2508. return true;
  2509. } else {
  2510. return false;
  2511. }
  2512. //------------
  2513. return true;
  2514. }
  2515. //-----------------
  2516. // 2010-08-23 : YDC
  2517. // 개발시점에서 인증없이 최종판독을 할 경우만 사용
  2518. function fExeMakeCertPrcs2() {
  2519. var pRowNo = 1;
  2520. var pNode = "/root/main/testrslt/testcdlist";
  2521. var sCheckCnclresn = "";
  2522. //-----------------------------------------
  2523. model.removeNodeset("/root/temp/testrslt");
  2524. model.makeNode("/root/temp/testrslt");
  2525. //-----------------------------------------------------
  2526. // 선택진료 의사를 설정 한다.
  2527. model.makeNode("/root/send/specdrlist");
  2528. model.copyNode("/root/send/specdrlist", "/root/main/testrslt/specdrlist");
  2529. model.makeValue("/root/send/specdrlist/choi" , "true");
  2530. model.makeValue("/root/send/specdrlist/instcd" , getUserInfo("dutplceinstcd"));
  2531. model.makeValue("/root/send/specdrlist/dispseqno" , "1");
  2532. model.makeValue("/root/send/specdrlist/userrgstdd" , "-");
  2533. //--------------
  2534. // 최종진단 등록
  2535. if (submit("TXLPR00101")) {
  2536. //-------------
  2537. fExeGridChoi();
  2538. //수정사유 삭제
  2539. if(model.getValue("/root/temp/testrslt/patbasicinfo/cnclresn") != "-" && model.getValue("/root/temp/testrslt/patbasicinfo/cnclresn") != "") {
  2540. var nodelist = instance1.selectNodes("/root/temp/testrslt/testrsltinfo");
  2541. for(var i = 1 ; i <= nodelist.length; i++){
  2542. sCheckCnclresn = model.getValue("/root/temp/testrslt/testrsltinfo[" + i + "]/reptrslt") ;
  2543. if(sCheckCnclresn.substr(11, 6) == "*수정사유:"){
  2544. model.setValue("/root/temp/testrslt/testrsltinfo[" + i + "]/reptrslt", "");
  2545. }
  2546. }
  2547. }
  2548. return true;
  2549. } else {
  2550. return false;
  2551. }
  2552. }
  2553. /* @group : 검사결과등록
  2554. * @ver : 2007.11.26 (CMCDEV-0001)
  2555. * @by : 유동철(ACK)
  2556. * @-----------------------------------
  2557. * @type : function
  2558. * @access : public
  2559. * @desc : 병리번호목록 팝업창의 병리번호 삭제 처리 Function
  2560. */
  2561. function fExeChildPtNoDel() {
  2562. var children = window.children;
  2563. //--------------------------------------------
  2564. for (var iNo=0; iNo < children.length; iNo++)
  2565. {
  2566. if ( children(iNo).attribute("id") == "SMLPB00900") {
  2567. children(iNo).minimize();
  2568. } else if ( children(iNo).attribute("id") == "SPLPR01000") {
  2569. children(iNo).javascript.fExePtNoDel();
  2570. }
  2571. }
  2572. }
  2573. /* @group : 검사결과등록
  2574. * @ver : 2007.05.18 (CMCDEV-0001)
  2575. * @by : 유동철(ACK)
  2576. * @-----------------------------------
  2577. * @type : function
  2578. * @access : public
  2579. * @desc : 병리번호목록 팝업창 호출 처리 Function
  2580. */
  2581. function fExePtNoListCall() {
  2582. open("SPLPR01000.xrw");
  2583. }
  2584. /* @group : 검사결과등록
  2585. * @ver : 2007.05.18 (CMCDEV-0001)
  2586. * @by : 유동철(ACK)
  2587. * @-----------------------------------
  2588. * @type : function
  2589. * @access : public
  2590. * @desc : 판독의사 선택 처리 Function
  2591. */
  2592. function fExeClickReadDoct(objGrid, pRowNo, pNode, objTitle, pBizFlagCd) {
  2593. var iRankNo = -1;
  2594. var iRowNo = objGrid.row;
  2595. var strNode = pNode;
  2596. var iRowNo = objGrid.row;
  2597. var iColNo = objGrid.col;
  2598. //---------------------------------
  2599. if (objGrid.row <= 0) return false;
  2600. if (objGrid.col < 0) return false;
  2601. //---------------------------------
  2602. if (objGrid.col != 0) return false;
  2603. //------------------------------------------------------------------------------
  2604. if (iRowNo > 0 && objGrid.isCell(event.target) && iRowNo >= objGrid.fixedRows) {
  2605. // Continue
  2606. } else {
  2607. return false;
  2608. }
  2609. //-------------------------
  2610. // 선택된 Row의 순서를 저장
  2611. iRankNo = Number(model.getValue(strNode + "[" + pRowNo + "]/dispseqno"));
  2612. //----------------------------------------
  2613. // 선택을 클릭하는 시점에서 순서를 재정렬
  2614. for (var iNo=1; iNo <= getNodesetCount(strNode); iNo++) {
  2615. //------------
  2616. // 선택한 경우
  2617. if (model.getValue(strNode + "[" + pRowNo + "]/choi") == "true") {
  2618. //-------------------------------------------------------------
  2619. if (model.getValue(strNode + "[" + iNo + "]/choi") == "true") {
  2620. //--------------------------------------------------------------------------
  2621. if (iRankNo < Number(model.getValue(strNode + "[" + iNo + "]/dispseqno"))) {
  2622. iRankNo = Number(model.getValue(strNode + "[" + iNo + "]/dispseqno"));
  2623. }
  2624. }
  2625. } else {
  2626. //--------------------------------------------------------------------------
  2627. if (iRankNo < Number(model.getValue(strNode + "[" + iNo + "]/dispseqno"))) {
  2628. model.setValue(strNode + "[" + iNo + "]/dispseqno", Number(model.getValue(strNode + "[" + iNo + "]/dispseqno"))-1 );
  2629. }
  2630. }
  2631. }
  2632. //-------------------------
  2633. // 선택된 Row에 순서를 저장
  2634. if (model.getValue(strNode + "[" + pRowNo + "]/choi") == "true") {
  2635. model.setValue(strNode + "[" + pRowNo + "]/dispseqno", ++iRankNo);
  2636. } else {
  2637. model.setValue(strNode + "[" + pRowNo + "]/dispseqno", "0");
  2638. }
  2639. //---------------------------------
  2640. fExeReadList(objTitle, pBizFlagCd);
  2641. }
  2642. function fExeReadList(objCtrl, pBizFlagCd) {
  2643. var iRankNo = 0;
  2644. var strNode = "/root/main/testrslt/readdoctlist";
  2645. var sReadNmList = "";
  2646. var sReadNm = "";
  2647. //-------------------
  2648. switch (pBizFlagCd) {
  2649. case "R1" : strNode = "/root/main/testrslt/readdoctlist";
  2650. break;
  2651. case "S1" : strNode = "/root/main/testrslt/sepouserlist1";
  2652. break;
  2653. case "S2" : strNode = "/root/main/testrslt/sepouserlist2";
  2654. break;
  2655. }
  2656. //-------------------------------------------------------
  2657. for (var iNo=1; iNo <= getNodesetCount(strNode); iNo++) {
  2658. //-------------------------------------------------------
  2659. if (model.getValue(strNode+"["+iNo+"]/choi") == "true") {
  2660. //---------------------------------------------------
  2661. sReadNm = model.getValue(strNode+"["+iNo+"]/usernm");
  2662. //--------------------------------------------------------------------
  2663. if (iRankNo < Number(model.getValue(strNode+"["+iNo+"]/dispseqno"))) {
  2664. iRankNo = Number(model.getValue(strNode+"["+iNo+"]/dispseqno"));
  2665. //----------------------
  2666. if (sReadNmList != "") {
  2667. sReadNmList += "/"+sReadNm.getTrim();
  2668. } else {
  2669. sReadNmList += sReadNm.getTrim();
  2670. }
  2671. } else {
  2672. sReadNmList = sReadNm.getTrim() + "/" + sReadNmList;
  2673. }
  2674. }
  2675. }
  2676. //--------------------------
  2677. objCtrl.value = sReadNmList;
  2678. objCtrl.refresh();
  2679. }
  2680. /* @group : 검사결과등록
  2681. * @ver : 2007.05.19 (CMCDEV-0001)
  2682. * @by : 유동철(ACK)
  2683. * @-----------------------------------
  2684. * @type : function
  2685. * @access : public
  2686. * @desc : 판독의사 선택 처리 Function
  2687. */
  2688. function fExeEtcInfo(pBizFlagCd) {
  2689. var msgYN = "";
  2690. var sSpcKeep = model.getValue("/root/main/testrslt/testrsltinfoh/spckeepflagcd");
  2691. var sRsltHide = model.getValue("/root/main/testrslt/testrsltinfoh/rslthideflagcd");
  2692. var sPrepRslt = model.getValue("/root/main/testrslt/testrsltinfoh/preprsltflagcd");
  2693. var sConcCase = model.getValue("/root/main/testrslt/testrsltinfoh/conccaseflagcd");
  2694. var sUgcyCase = model.getValue("/root/main/testrslt/testrsltinfoh/ugcyalertflagcd");
  2695. //-----------------------
  2696. if (pBizFlagCd == "C") {
  2697. fExeConcMemo();
  2698. return false;
  2699. }
  2700. //--------------------------------------
  2701. sSpcKeep = sSpcKeep.getLeftPad(1, "0");
  2702. sRsltHide = sRsltHide.getLeftPad(1, "0");
  2703. sPrepRslt = sPrepRslt.getLeftPad(1, "0");
  2704. sConcCase = sConcCase.getLeftPad(1, "0");
  2705. sUgcyCase = sUgcyCase.getLeftPad(1, "0");
  2706. //--------------------
  2707. if (sRsltHide == "1") {
  2708. msgYN = messageBox("결과를 숨기시겠습니까?", "Q");
  2709. //------------
  2710. // 7:No, 6:Yes
  2711. if(msgYN == 7) {
  2712. model.makeValue("/root/main/testrslt/testrsltinfoh/rslthideflagcd", "0");
  2713. bol_rsltprvn.refresh();
  2714. return false;
  2715. }
  2716. }
  2717. //-----------------------------------------
  2718. model.makeNode("/root/send/testrsltinfoh");
  2719. model.copyNode("/root/send/testrsltinfoh", "/root/main/testrslt/testrsltinfoh");
  2720. model.makeValue("/root/send/testrsltinfoh/spckeepflagcd", sSpcKeep);
  2721. model.makeValue("/root/send/testrsltinfoh/rslthideflagcd", sRsltHide);
  2722. model.makeValue("/root/send/testrsltinfoh/preprsltflagcd", sPrepRslt);
  2723. model.makeValue("/root/send/testrsltinfoh/conccaseflagcd", sConcCase);
  2724. model.makeValue("/root/send/testrsltinfoh/ugcyalertflagcd", sUgcyCase);
  2725. model.makeValue("/root/send/testrsltinfoh/concmemo", "0");
  2726. if (pBizFlagCd == "H") {
  2727. model.makeValue("/root/send/testrsltinfoh/hideflagcd", "1");
  2728. } else {
  2729. model.makeValue("/root/send/testrsltinfoh/hideflagcd", "0");
  2730. }
  2731. //-----------------------------------------
  2732. // 암판정
  2733. if (bol_cncrjudg.value == null ) {
  2734. model.makeValue("/root/send/testrsltinfoh/cncrjudgflagcd", "0");
  2735. } else {
  2736. model.makeValue("/root/send/testrsltinfoh/cncrjudgflagcd", bol_cncrjudg.value);
  2737. }
  2738. //-----------------------------------------
  2739. // 결과등록된 자료에 한하여 독립적으로 처리
  2740. if (model.getValue("/root/main/testrslt/testrsltinfoh/rsltrgstno") == "") {
  2741. // Continue
  2742. } else {
  2743. setAlertOn();
  2744. submit("TXLPR00102");
  2745. }
  2746. }
  2747. /* @group : 검사결과등록
  2748. * @ver : 2007.05.30 (CMCDEV-0001)
  2749. * @by : 유동철(ACK)
  2750. * @-----------------------------------
  2751. * @type : function
  2752. * @access : public
  2753. * @desc : 긴급알림(SMS) 처리 Function
  2754. */
  2755. function fExeUgcyAlert() {
  2756. var sMsgCnts = "";
  2757. var sPatNm = "";
  2758. var iStrIndx = -1;
  2759. if (model.getValue("/root/main/testrslt/testcdlist/orddeptcd") != "") {
  2760. /*
  2761. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  2762. model.makeValue("/root/send/delflagcd", "0");
  2763. model.makeValue("/root/send/baseflagcd", "ER");
  2764. model.makeValue("/root/send/resncd", "10");
  2765. submit("TRLPC02802");
  2766. sPatNm = model.getValue("/root/main/testrslt/patinfo/patnm");
  2767. sMsgCnts = model.getValue("/root/main/mdlcdlist/mdlcdinfo[resncd = '1002']/resncnts");
  2768. iStrIndx = sMsgCnts.indexOf("[patnm]");
  2769. if(iStrIndx >= 0) {
  2770. sMsgCnts = sMsgCnts.substring(0, iStrIndx) + sPatNm + sMsgCnts.substring((iStrIndx+7), sMsgCnts.length);
  2771. }
  2772. */
  2773. model.makeValue("/root/init/smsdata/bizabbr", "lis");
  2774. //model.makeValue("/root/init/smsdata/replytelno", model.getValue("/root/main/mdlcdlist/mdlcdinfo[resncd = '1001']/resncnts"));
  2775. model.makeValue("/root/init/smsdata/replytelno", "025901600");
  2776. model.makeValue("/root/init/smsdata/rsrvyn", "0");
  2777. model.makeValue("/root/init/smsdata/rsrvdate", "");
  2778. model.makeValue("/root/init/smsdata/rsrvtime", "");
  2779. //model.makeValue("/root/init/smsdata/msgcnts", sMsgCnts);
  2780. model.makeValue("/root/init/smsdata/msgcnts", "");
  2781. model.makeValue("/root/init/smsdata/recvrlist/chk", "Y");
  2782. model.makeValue("/root/init/smsdata/recvrlist/recvrnm", model.getValue("/root/main/testrslt/testcdlist/orddrnm"));
  2783. model.makeValue("/root/init/smsdata/recvrlist/recvrtelno", model.getValue("/root/main/testrslt/testcdlist/mpphonno"));
  2784. //--------------------------------
  2785. zmsfOpenSMS("/root/init/smsdata");
  2786. } else {
  2787. messageBox("검사결과를 조회하십시오. 긴급알림을 ", "E001");
  2788. }
  2789. }
  2790. /* @group : 검사결과등록
  2791. * @ver : 2007.08.18 (CMCDEV-0001)
  2792. * @by : 유동철(ACK)
  2793. * @-----------------------------------
  2794. * @type : function
  2795. * @access : public
  2796. * @desc : 통합결과조회 처리 Function
  2797. */
  2798. function fExePopupCallSytsRslt() {
  2799. if (model.getValue("/root/main/testrslt/testrsltinfoh/pid") == "") {
  2800. modal("SMAER00800");
  2801. } else {
  2802. modal("SMAER00800", "", "", "", "SMAER00800", "/root/main/testrslt/testrsltinfoh/pid", "/root/send/data/singdata/srchpid");
  2803. }
  2804. }
  2805. /* @group : 검사결과등록
  2806. * @ver : 2007.08.18 (CMCDEV-0001)
  2807. * @by : 유동철(ACK)
  2808. * @-----------------------------------
  2809. * @type : function
  2810. * @access : public
  2811. * @desc : 진단내용 입력 처리 Function
  2812. */
  2813. function fExeDiagInpt(objCtrl, pNode, pDescCtrl) {
  2814. var strPCnts = "";
  2815. var strDiagCnts = "";
  2816. //-----------------------
  2817. if(event.keyCode == 13 || objCtrl.attribute("id") == "btn_diag1001") {
  2818. if(objCtrl.attribute("id") == "btn_diag1001"){
  2819. model.makeValue("/root/main/testrslt/testrsltinfoh/diagcnts", ipt_mcont1001.currentText);
  2820. } else {
  2821. model.makeValue("/root/main/testrslt/testrsltinfoh/diagcd", "");
  2822. model.makeValue("/root/main/testrslt/testrsltinfoh/diagcnts", objCtrl.currentText);
  2823. }
  2824. //----------------------------------
  2825. strDiagCnts = model.getValue(pNode);
  2826. if (model.getValue(pNode) == "") {
  2827. // strDiagCnts += model.getValue("/root/main/testrslt/patinfo/spcnm") + "\n"; // T
  2828. // //--------------------------------------------------------------------------------
  2829. // for (var iNo=1; iNo <= getNodesetCount("/root/main/testrslt/testcdlist"); iNo++) {
  2830. // strPCnts += model.getValue("/root/main/testrslt/testcdlist["+iNo+"]/testnm") + ", "; // P
  2831. // }
  2832. // strPCnts = strPCnts.substr(0, strPCnts.length - 2);
  2833. // strDiagCnts += strPCnts;
  2834. }
  2835. model.makeValue(pNode, strDiagCnts + "\n " + model.getValue("/root/main/testrslt/testrsltinfoh/diagcnts")); // M
  2836. if (pDescCtrl.attribute("id") == objCtrl.attribute("id")) {
  2837. // Continue
  2838. } else {
  2839. pDescCtrl.selBegin = 0;
  2840. model.setFocus(pDescCtrl.attribute("id"));
  2841. }
  2842. //--------------
  2843. model.refresh();
  2844. }
  2845. }
  2846. /* @group : 검사결과등록
  2847. * @ver : 2007.09.03 (CMCDEV-0001)
  2848. * @by : 유동철(ACK)
  2849. * @-----------------------------------
  2850. * @type : function
  2851. * @access : public
  2852. * @desc : 검사결과보고서 미리보기 처리 Function
  2853. */
  2854. function fExeFrmPrnt(pBizFlagCd) {
  2855. //-------------------------------
  2856. if (!fExeRefStat()) return false;
  2857. //------------------------------------
  2858. model.makeNode("/root/init/prntinfo");
  2859. model.makeValue("/root/init/prntinfo/reptflagcd", "1"); // 의뢰지(0), 보고서(1)
  2860. model.makeValue("/root/init/prntinfo/prntflagcd", pBizFlagCd); // 출력(0), 미리보기(1)
  2861. model.makeValue("/root/init/prntinfo/copyflagcd", "0"); // 의뢰지/보고서(0), 복사본(1)
  2862. model.makeValue("/root/main/testrslt/testrsltinfoh/acptdd", model.getValue("/root/main/testrslt/testcdlist/acptdd"));
  2863. lpzfExeFrmPrnt("/root/main/testrslt/testrsltinfoh");
  2864. }
  2865. /* @group : 검사결과등록
  2866. * @ver : 2008.09.10 (CMCDEV-0001)
  2867. * @by : 유동철(ACK)
  2868. * @-----------------------------------
  2869. * @type : function
  2870. * @access : public
  2871. * @desc : 환자조회 여부 검사 처리 Function
  2872. */
  2873. function fExeRefStat() {
  2874. if (getNodesetCount("/root/main/testrslt/testrsltinfoh") > 0) {
  2875. if (model.getValue("/root/main/testrslt/testrsltinfoh/pid") == "") {
  2876. messageBox("환자를 조회 후 출력하여 주십시오! 출력", "E001");
  2877. return false;
  2878. }
  2879. } else {
  2880. messageBox("환자를 조회 후 출력하여 주십시오! 출력", "E001");
  2881. return false;
  2882. }
  2883. //----------
  2884. return true;
  2885. }
  2886. /* @group : 검사결과등록
  2887. * @ver : 2007.09.12 (CMCDEV-0001)
  2888. * @by : 유동철(ACK)
  2889. * @-----------------------------------
  2890. * @type : function
  2891. * @access : public
  2892. * @desc : 세포 결과예문 호출 처리 Function
  2893. */
  2894. function fExeRsltChng(pRsltFlagCd) {
  2895. var sResnFlagCd = "";
  2896. var sRsltCntsNode = "";
  2897. var sRsltNode = "/root/main/testrslt/testrsltinfoh";
  2898. var sResnNode = "<?xml version='1.0' encoding='euc-kr'?>";
  2899. //-------------------------------------------------------------------------
  2900. switch (model.getValue("/root/main/testrslt/testcdlist/statsworkflagcd")) {
  2901. case "1021" :
  2902. case "10D2" :
  2903. if (pRsltFlagCd == "1") {
  2904. sResnFlagCd = "1"; // 1차결과 예문
  2905. } else if (pRsltFlagCd == "2") {
  2906. sResnFlagCd = "2"; // 2차결과 예문
  2907. } else {
  2908. sResnFlagCd = "3"; // 3차결과 예문
  2909. }
  2910. break;
  2911. case "1022" :
  2912. case "1023" :
  2913. case "10B2" :
  2914. case "10B3" :
  2915. case "10D0" :
  2916. if (pRsltFlagCd == "1") {
  2917. sResnFlagCd = "4"; // 1차결과 예문
  2918. } else if (pRsltFlagCd == "2") {
  2919. sResnFlagCd = "5"; // 2차결과 예문
  2920. } else {
  2921. sResnFlagCd = "6"; // 3차결과 예문
  2922. }
  2923. break;
  2924. }
  2925. //-----------------------
  2926. if (pRsltFlagCd == "1") {
  2927. sRsltCntsNode = sRsltNode + "/rsltcnts4"; // 1차결과 예문
  2928. } else if (pRsltFlagCd == "2") {
  2929. sRsltCntsNode = sRsltNode + "/rsltcnts5"; // 2차결과 예문
  2930. } else {
  2931. sRsltCntsNode = sRsltNode + "/rsltcnts6"; // 3차결과 예문
  2932. }
  2933. //--------------------------------------------------
  2934. if (model.getValue(sRsltCntsNode).getTrim() != "") {
  2935. sResnNode += "<root>"+model.getValue(sRsltCntsNode)+"</root>";
  2936. iviewer1.window.instance1.loadXML(sResnNode);
  2937. //--------------------
  2938. switch (sResnFlagCd) {
  2939. case "1" : model.copyNode(root.init.seporesn1, iviewer1.window.instance1.selectSingleNode("/root"));
  2940. break;
  2941. case "2" : model.copyNode(root.init.seporesn2, iviewer1.window.instance1.selectSingleNode("/root"));
  2942. break;
  2943. case "3" : model.copyNode(root.init.seporesn3, iviewer1.window.instance1.selectSingleNode("/root"));
  2944. break;
  2945. case "4" : model.copyNode(root.init.seporesn4, iviewer1.window.instance1.selectSingleNode("/root"));
  2946. break;
  2947. case "5" : model.copyNode(root.init.seporesn5, iviewer1.window.instance1.selectSingleNode("/root"));
  2948. break;
  2949. case "6" : model.copyNode(root.init.seporesn6, iviewer1.window.instance1.selectSingleNode("/root"));
  2950. break;
  2951. }
  2952. }
  2953. }
  2954. /* @group : 검사결과등록
  2955. * @ver : 2007.09.12 (CMCDEV-0001)
  2956. * @by : 유동철(ACK)
  2957. * @-----------------------------------
  2958. * @type : function
  2959. * @access : public
  2960. * @desc : 세포 결과예문 호출 처리 Function
  2961. */
  2962. function fExeSepoResnCall(pBizFlagCd) {
  2963. var sNode1 = "";
  2964. var sNode2 = "";
  2965. var sScrnNm = "";
  2966. var sScrnCd = "";
  2967. var sRsltNo = pBizFlagCd;
  2968. var sNode = "/root/init/seporesn";
  2969. var sRsltNode = "/root/main/testrslt/testrsltinfoh";
  2970. var sResnNode = "<?xml version='1.0' encoding='euc-kr'?>";
  2971. var bSpccdStatus = false;
  2972. //----------------------------------------------------------------------------
  2973. switch ( model.getValue("/root/main/testrslt/testcdlist/statsworkflagcd") ) {
  2974. case "1021" :
  2975. case "10D2" :
  2976. sScrnNm = "SPLPR01400";
  2977. sScrnCd = "SPLPR01400";
  2978. break;
  2979. case "1022" :
  2980. case "10B2" :
  2981. case "10B3" :
  2982. case "10D0" :
  2983. sScrnNm = "SPLPR01500";
  2984. sScrnCd = "SPLPR01500";
  2985. //----------------------
  2986. if (pBizFlagCd == "1") {
  2987. pBizFlagCd = "4";
  2988. } else if (pBizFlagCd == "2") {
  2989. pBizFlagCd = "5";
  2990. } else {
  2991. pBizFlagCd = "6";
  2992. }
  2993. break;
  2994. case "1023" :
  2995. //------------------
  2996. // Thyroid 검체 판단
  2997. bSpccdStatus = false;
  2998. //----------------------------------------------------------------------------------
  2999. for (var iNo=1; iNo <= getNodesetCount("/root/init/spccdresn/resncdlist"); iNo++) {
  3000. //---------------------------------------------------------------------------------------------------------------------------------------
  3001. if ( model.getValue("/root/main/testrslt/testcdlist[1]/spccd") == model.getValue("/root/init/spccdresn/resncdlist["+iNo+"]/resncnts") ) {
  3002. bSpccdStatus = true;
  3003. }
  3004. // messageBox(model.getValue("/root/main/testrslt/testcdlist[1]/spccd"), "test");
  3005. }
  3006. //------------------
  3007. if (bSpccdStatus) {
  3008. // sScrnNm = "SPLPR02700"; // 세침흡인 Thyroid
  3009. // sScrnCd = "SPLPR02700";
  3010. //
  3011. // //----------------------
  3012. // if (pBizFlagCd == "1") {
  3013. // pBizFlagCd = "A";
  3014. // } else if (pBizFlagCd == "2") {
  3015. // pBizFlagCd = "B";
  3016. // } else {
  3017. // pBizFlagCd = "C";
  3018. // }
  3019. sScrnNm = "SPLPR02900"; // 세침흡인 Thyroid
  3020. sScrnCd = "SPLPR02900";
  3021. //----------------------
  3022. if (pBizFlagCd == "1") {
  3023. pBizFlagCd = "A";
  3024. } else if (pBizFlagCd == "2") {
  3025. pBizFlagCd = "B";
  3026. } else {
  3027. pBizFlagCd = "C";
  3028. }
  3029. } else {
  3030. // sScrnNm = "SPLPR02900"; // 세침흡인 Thyroid외
  3031. // sScrnCd = "SPLPR02900";
  3032. //
  3033. // //----------------------
  3034. // if (pBizFlagCd == "1") {
  3035. // pBizFlagCd = "7";
  3036. // } else if (pBizFlagCd == "2") {
  3037. // pBizFlagCd = "8";
  3038. // } else {
  3039. // pBizFlagCd = "9";
  3040. // }
  3041. sScrnNm = "SPLPR02700"; // 세침흡인 Thyroid외
  3042. sScrnCd = "SPLPR02700";
  3043. //----------------------
  3044. if (pBizFlagCd == "1") {
  3045. pBizFlagCd = "7";
  3046. } else if (pBizFlagCd == "2") {
  3047. pBizFlagCd = "8";
  3048. } else {
  3049. pBizFlagCd = "9";
  3050. }
  3051. }
  3052. break;
  3053. }
  3054. //----------------------------------------------------------------
  3055. // 세포 1차결과 예문(부인과는 1,2,3 / 비부인과와 세침흡인은 4,5,6)
  3056. if (pBizFlagCd == "1") {
  3057. if (model.getValue(sRsltNode+"/rsltcnts4") != "") {
  3058. sResnNode += "<root>"+model.getValue(sRsltNode+"/rsltcnts4")+"</root>";
  3059. iviewer1.window.instance1.loadXML(sResnNode);
  3060. model.copyNode(root.init.seporesn1, iviewer1.window.instance1.selectSingleNode("/root"));
  3061. }
  3062. } else if (pBizFlagCd == "2") {
  3063. if (model.getValue(sRsltNode+"/rsltcnts5") != "") {
  3064. sResnNode += "<root>"+model.getValue(sRsltNode+"/rsltcnts5")+"</root>";
  3065. iviewer1.window.instance1.loadXML(sResnNode);
  3066. model.copyNode(root.init.seporesn2, iviewer1.window.instance1.selectSingleNode("/root"));
  3067. }
  3068. } else if (pBizFlagCd == "3") {
  3069. if (model.getValue(sRsltNode+"/rsltcnts6") != "") {
  3070. sResnNode += "<root>"+model.getValue(sRsltNode+"/rsltcnts6")+"</root>";
  3071. iviewer1.window.instance1.loadXML(sResnNode);
  3072. model.copyNode(root.init.seporesn3, iviewer1.window.instance1.selectSingleNode("/root"));
  3073. }
  3074. } else if (pBizFlagCd == "4") {
  3075. if (model.getValue(sRsltNode+"/rsltcnts4") != "") {
  3076. sResnNode += "<root>"+model.getValue(sRsltNode+"/rsltcnts4")+"</root>";
  3077. iviewer1.window.instance1.loadXML(sResnNode);
  3078. model.copyNode(root.init.seporesn4, iviewer1.window.instance1.selectSingleNode("/root"));
  3079. }
  3080. } else if (pBizFlagCd == "5") {
  3081. if (model.getValue(sRsltNode+"/rsltcnts5") != "") {
  3082. sResnNode += "<root>"+model.getValue(sRsltNode+"/rsltcnts5")+"</root>";
  3083. iviewer1.window.instance1.loadXML(sResnNode);
  3084. model.copyNode(root.init.seporesn5, iviewer1.window.instance1.selectSingleNode("/root"));
  3085. }
  3086. } else if (pBizFlagCd == "6") {
  3087. if (model.getValue(sRsltNode+"/rsltcnts6") != "") {
  3088. sResnNode += "<root>"+model.getValue(sRsltNode+"/rsltcnts6")+"</root>";
  3089. iviewer1.window.instance1.loadXML(sResnNode);
  3090. model.copyNode(root.init.seporesn6, iviewer1.window.instance1.selectSingleNode("/root"));
  3091. }
  3092. } else if (pBizFlagCd == "7") {
  3093. if (model.getValue(sRsltNode+"/rsltcnts4") != "") {
  3094. sResnNode += "<root>"+model.getValue(sRsltNode+"/rsltcnts4")+"</root>";
  3095. iviewer1.window.instance1.loadXML(sResnNode);
  3096. model.copyNode(root.init.seporesn7, iviewer1.window.instance1.selectSingleNode("/root"));
  3097. }
  3098. } else if (pBizFlagCd == "8") {
  3099. if (model.getValue(sRsltNode+"/rsltcnts5") != "") {
  3100. sResnNode += "<root>"+model.getValue(sRsltNode+"/rsltcnts5")+"</root>";
  3101. iviewer1.window.instance1.loadXML(sResnNode);
  3102. model.copyNode(root.init.seporesn8, iviewer1.window.instance1.selectSingleNode("/root"));
  3103. }
  3104. } else if (pBizFlagCd == "9") {
  3105. if (model.getValue(sRsltNode+"/rsltcnts6") != "") {
  3106. sResnNode += "<root>"+model.getValue(sRsltNode+"/rsltcnts6")+"</root>";
  3107. iviewer1.window.instance1.loadXML(sResnNode);
  3108. model.copyNode(root.init.seporesn9, iviewer1.window.instance1.selectSingleNode("/root"));
  3109. }
  3110. } else if (pBizFlagCd == "A") {
  3111. if (model.getValue(sRsltNode+"/rsltcnts4") != "") {
  3112. sResnNode += "<root>"+model.getValue(sRsltNode+"/rsltcnts4")+"</root>";
  3113. iviewer1.window.instance1.loadXML(sResnNode);
  3114. model.copyNode(root.init.seporesnA, iviewer1.window.instance1.selectSingleNode("/root"));
  3115. }
  3116. } else if (pBizFlagCd == "B") {
  3117. if (model.getValue(sRsltNode+"/rsltcnts5") != "") {
  3118. sResnNode += "<root>"+model.getValue(sRsltNode+"/rsltcnts5")+"</root>";
  3119. iviewer1.window.instance1.loadXML(sResnNode);
  3120. model.copyNode(root.init.seporesnB, iviewer1.window.instance1.selectSingleNode("/root"));
  3121. }
  3122. } else {
  3123. if (model.getValue(sRsltNode+"/rsltcnts6") != "") {
  3124. sResnNode += "<root>"+model.getValue(sRsltNode+"/rsltcnts6")+"</root>";
  3125. iviewer1.window.instance1.loadXML(sResnNode);
  3126. model.copyNode(root.init.seporesnC, iviewer1.window.instance1.selectSingleNode("/root"));
  3127. }
  3128. }
  3129. //----------------------------------------
  3130. setParameter("SMLPR00100_resnstate", "0");
  3131. model.makeValue(sNode+pBizFlagCd+"/dgflagcd", pBizFlagCd);
  3132. model.makeValue(sNode+pBizFlagCd+"/seporslt", model.getValue(sRsltNode+"/rsltcnts"+sRsltNo));
  3133. modal(sScrnNm, "", "", "", sScrnCd, sNode+pBizFlagCd, "/root/init/seporesn");
  3134. //------------------------------------------------------------
  3135. if (getParameter("SMLPR00100_resnstate") == "C") return false;
  3136. //-------------------
  3137. switch (pBizFlagCd) {
  3138. case "1" :
  3139. case "4" :
  3140. case "7" :
  3141. case "A" :
  3142. model.makeValue(sRsltNode+"/rsltcnts1", model.getValue(sNode+pBizFlagCd+"/seporslt"));
  3143. model.makeValue(sRsltNode+"/sepo1mcnts", model.getValue(sNode+pBizFlagCd+"/mcnts"));
  3144. break;
  3145. case "2" :
  3146. case "5" :
  3147. case "8" :
  3148. case "B" :
  3149. model.makeValue(sRsltNode+"/rsltcnts2", model.getValue(sNode+pBizFlagCd+"/seporslt"));
  3150. model.makeValue(sRsltNode+"/sepo2mcnts", model.getValue(sNode+pBizFlagCd+"/mcnts"));
  3151. break;
  3152. case "3" :
  3153. case "6" :
  3154. case "9" :
  3155. case "C" :
  3156. model.makeValue(sRsltNode+"/rsltcnts3", model.getValue(sNode+pBizFlagCd+"/seporslt"));
  3157. model.makeValue(sRsltNode+"/sepo3mcnts", model.getValue(sNode+pBizFlagCd+"/mcnts"));
  3158. model.makeValue(sRsltNode+"/diagcnts", model.getValue(sNode+pBizFlagCd+"/mcnts"));
  3159. break;
  3160. }
  3161. //model.makeValue(sRsltNode+"/cmtcnts", model.getValue(sNode+pBizFlagCd+"/cmtcnts"));
  3162. //model.makeValue(sRsltNode+"/diagcnts", model.getValue(sNode+pBizFlagCd+"/mcnts"));
  3163. //---------------------------------------------------
  3164. // 세포의 경우 결과예문을 4, 5, 6번 결과필드에 저장한다.
  3165. if (btn_1003.selected = true) {
  3166. if (model.getValue("/root/main/testrslt/testcdlist/statsworkflagcd") == "1021") {
  3167. sNode1 = instance1.selectSingleNode("/root/init/seporesn1/seporesninfo");
  3168. sNode2 = instance1.selectSingleNode("/root/init/seporesn2/seporesninfo");
  3169. sNode3 = instance1.selectSingleNode("/root/init/seporesn3/seporesninfo");
  3170. } else if (model.getValue("/root/main/testrslt/testcdlist/statsworkflagcd") == "1022") {
  3171. sNode1 = instance1.selectSingleNode("/root/init/seporesn4/seporesninfo");
  3172. sNode2 = instance1.selectSingleNode("/root/init/seporesn5/seporesninfo");
  3173. sNode3 = instance1.selectSingleNode("/root/init/seporesn6/seporesninfo");
  3174. } else if (model.getValue("/root/main/testrslt/testcdlist/statsworkflagcd") == "1023") {
  3175. //------------------
  3176. if (bSpccdStatus) {
  3177. sNode1 = instance1.selectSingleNode("/root/init/seporesnA/seporesninfo"); // Thyroid 500000 ~ 5zzzzz
  3178. sNode2 = instance1.selectSingleNode("/root/init/seporesnB/seporesninfo");
  3179. sNode3 = instance1.selectSingleNode("/root/init/seporesnC/seporesninfo");
  3180. } else {
  3181. sNode1 = instance1.selectSingleNode("/root/init/seporesn7/seporesninfo"); // Thyroid외 600000 ~ 6zzzzz
  3182. sNode2 = instance1.selectSingleNode("/root/init/seporesn8/seporesninfo");
  3183. sNode3 = instance1.selectSingleNode("/root/init/seporesn9/seporesninfo");
  3184. }
  3185. } else if (model.getValue("/root/main/testrslt/testcdlist/statsworkflagcd") == "10D0") {
  3186. sNode1 = instance1.selectSingleNode("/root/init/seporesn4/seporesninfo");
  3187. sNode2 = instance1.selectSingleNode("/root/init/seporesn5/seporesninfo");
  3188. sNode3 = instance1.selectSingleNode("/root/init/seporesn6/seporesninfo");
  3189. } else if (model.getValue("/root/main/testrslt/testcdlist/statsworkflagcd") == "10D2") {
  3190. sNode1 = instance1.selectSingleNode("/root/init/seporesn4/seporesninfo");
  3191. sNode2 = instance1.selectSingleNode("/root/init/seporesn5/seporesninfo");
  3192. sNode3 = instance1.selectSingleNode("/root/init/seporesn6/seporesninfo");
  3193. } else if (model.getValue("/root/main/testrslt/testcdlist/statsworkflagcd") == "10B2") {
  3194. sNode1 = instance1.selectSingleNode("/root/init/seporesn4/seporesninfo");
  3195. sNode2 = instance1.selectSingleNode("/root/init/seporesn5/seporesninfo");
  3196. sNode3 = instance1.selectSingleNode("/root/init/seporesn6/seporesninfo");
  3197. } else if (model.getValue("/root/main/testrslt/testcdlist/statsworkflagcd") == "10B3") {
  3198. sNode1 = instance1.selectSingleNode("/root/init/seporesn4/seporesninfo");
  3199. sNode2 = instance1.selectSingleNode("/root/init/seporesn5/seporesninfo");
  3200. sNode3 = instance1.selectSingleNode("/root/init/seporesn6/seporesninfo");
  3201. }
  3202. //-----------------------------------------------------------------
  3203. model.makeValue("/root/main/testrslt/testrsltinfoh/rsltcnts4", "");
  3204. model.makeValue("/root/main/testrslt/testrsltinfoh/rsltcnts5", "");
  3205. model.makeValue("/root/main/testrslt/testrsltinfoh/rsltcnts6", "");
  3206. if (model.getValue(sRsltNode+"/rsltcnts1").getTrim() != "") model.setValue("/root/main/testrslt/testrsltinfoh/rsltcnts4", sNode1.xml, true);
  3207. if (model.getValue(sRsltNode+"/rsltcnts2").getTrim() != "") model.setValue("/root/main/testrslt/testrsltinfoh/rsltcnts5", sNode2.xml, true);
  3208. if (model.getValue(sRsltNode+"/rsltcnts3").getTrim() != "") model.setValue("/root/main/testrslt/testrsltinfoh/rsltcnts6", sNode3.xml, true);
  3209. //model.setValue("/root/main/testrslt/testrsltinfoh/rsltcnts4", sNode1.xml, true);
  3210. //model.setValue("/root/main/testrslt/testrsltinfoh/rsltcnts5", sNode2.xml, true);
  3211. //model.setValue("/root/main/testrslt/testrsltinfoh/rsltcnts6", sNode3.xml, true);
  3212. }
  3213. //--------------
  3214. model.refresh();
  3215. }
  3216. /* @group : 검사결과등록
  3217. * @ver : 2007.11.27 (CMCDEV-0001)
  3218. * @by : 유동철(ACK)
  3219. * @-----------------------------------
  3220. * @type : function
  3221. * @access : public
  3222. * @desc : 의뢰지 정보 팝업창 호출 처리 Function
  3223. */
  3224. function fExeReqFrmPopup() {
  3225. var sNode = "/root/main/testrslt/testcdlist";
  3226. var sTestCd = model.getValue("/root/hidden/testcd");
  3227. var sPid = model.getValue(sNode+"[testcd='"+sTestCd+"']/pid");
  3228. var sTestNm = model.getValue(sNode+"[testcd='"+sTestCd+"']/testnm");
  3229. var sReqFrmCd = model.getValue(sNode+"[testcd='"+sTestCd+"']/reqfrmflagcd");
  3230. var sReqFrmNo = model.getValue(sNode+"[testcd='"+sTestCd+"']/reqfrmno");
  3231. var sSpdCd = model.getValue(sNode+"[testcd='"+sTestCd+"']/spccd");
  3232. var sSpcNm = model.getValue(sNode+"[testcd='"+sTestCd+"']/spcnm");
  3233. lpzfExeReqFrmInfo2(sReqFrmCd, sReqFrmNo, sTestCd, sTestNm, sSpdCd, sSpcNm, sPid);
  3234. }
  3235. /* @group : 검사결과등록
  3236. * @ver : 2007.11.27 (CMCDEV-0001)
  3237. * @by : 유동철(ACK)
  3238. * @-----------------------------------
  3239. * @type : function
  3240. * @access : public
  3241. * @desc : 세포결과 복사 처리 Function
  3242. */
  3243. function fExeRsltCopy(pCopyDG) {
  3244. var sSrcNode1 = "";
  3245. var sSrcNode2 = "";
  3246. var sSrcNode3 = "";
  3247. var sSrcSePo = "";
  3248. var sDescNode1 = "";
  3249. var sDescNode2 = "";
  3250. var sDescNode3 = "";
  3251. var sDescSePo = "";
  3252. // n 차 결과 복사 시 변경 안되도록
  3253. //model.makeValue("/root/main/testrslt/testrsltinfoh/sepo1mcnts", ipt_mcont1003.currentText);
  3254. //-------------------
  3255. if (pCopyDG == "1") {
  3256. sSrcNode1 = "/root/main/testrslt/testrsltinfoh/rsltcnts1";
  3257. sSrcNode2 = "/root/main/testrslt/testrsltinfoh/rsltcnts4";
  3258. sDescNode1 = "/root/main/testrslt/testrsltinfoh/rsltcnts2";
  3259. sDescNode2 = "/root/main/testrslt/testrsltinfoh/rsltcnts5";
  3260. //-----------------------------------------------------
  3261. model.makeValue(sDescNode2, model.getValue(sSrcNode2));
  3262. model.setValue("/root/main/testrslt/testrsltinfoh/sepo2mcnts", model.getValue("/root/main/testrslt/testrsltinfoh/sepo1mcnts"));
  3263. model.setValue("/root/main/testrslt/testrsltinfoh/diagcnts", model.getValue("/root/main/testrslt/testrsltinfoh/sepo1mcnts"));
  3264. //-------------------------------------------------------------------------------
  3265. if (model.getValue("/root/main/testrslt/testcdlist/statsworkflagcd") == "1021" || model.getValue("/root/main/testrslt/testcdlist/statsworkflagcd") == "10D2") {
  3266. sSrcSePo = "/root/init/seporesn1";
  3267. sDescSePo = "/root/init/seporesn2";
  3268. } else if (model.getValue("/root/main/testrslt/testcdlist/statsworkflagcd") == "1022" ||
  3269. model.getValue("/root/main/testrslt/testcdlist/statsworkflagcd") == "1023"
  3270. || model.getValue("/root/main/testrslt/testcdlist/statsworkflagcd") == "10B2"
  3271. || model.getValue("/root/main/testrslt/testcdlist/statsworkflagcd") == "10B3"
  3272. || model.getValue("/root/main/testrslt/testcdlist/statsworkflagcd") == "10D0") {
  3273. sSrcSePo = "/root/init/seporesn4";
  3274. sDescSePo = "/root/init/seporesn5";
  3275. }
  3276. } else if (pCopyDG == "2") {
  3277. sSrcNode1 = "/root/main/testrslt/testrsltinfoh/rsltcnts2";
  3278. sSrcNode2 = "/root/main/testrslt/testrsltinfoh/rsltcnts5";
  3279. sDescNode1 = "/root/main/testrslt/testrsltinfoh/rsltcnts3";
  3280. sDescNode2 = "/root/main/testrslt/testrsltinfoh/rsltcnts6";
  3281. //-----------------------------------------------------
  3282. model.makeValue(sDescNode2, model.getValue(sSrcNode2));
  3283. model.setValue("/root/main/testrslt/testrsltinfoh/sepo3mcnts", model.getValue("/root/main/testrslt/testrsltinfoh/sepo2mcnts"));
  3284. model.setValue("/root/main/testrslt/testrsltinfoh/diagcnts", model.getValue("/root/main/testrslt/testrsltinfoh/sepo2mcnts"));
  3285. //-------------------------------------------------------------------------------
  3286. if (model.getValue("/root/main/testrslt/testcdlist/statsworkflagcd") == "1021" || model.getValue("/root/main/testrslt/testcdlist/statsworkflagcd") == "10D2") {
  3287. sSrcSePo = "/root/init/seporesn2";
  3288. sDescSePo = "/root/init/seporesn3";
  3289. } else if (model.getValue("/root/main/testrslt/testcdlist/statsworkflagcd") == "1022"
  3290. || model.getValue("/root/main/testrslt/testcdlist/statsworkflagcd") == "1023"
  3291. || model.getValue("/root/main/testrslt/testcdlist/statsworkflagcd") == "10B2"
  3292. || model.getValue("/root/main/testrslt/testcdlist/statsworkflagcd") == "10B3"
  3293. || model.getValue("/root/main/testrslt/testcdlist/statsworkflagcd") == "10D0") {
  3294. sSrcSePo = "/root/init/seporesn5";
  3295. sDescSePo = "/root/init/seporesn6";
  3296. }
  3297. } else {
  3298. sSrcNode1 = "/root/main/testrslt/testrsltinfoh/rsltcnts1";
  3299. sSrcNode2 = "/root/main/testrslt/testrsltinfoh/rsltcnts4";
  3300. sSrcSePo = "/root/init/seporesn1";
  3301. sDescNode1 = "/root/main/testrslt/testrsltinfoh/rsltcnts3";
  3302. sDescNode2 = "/root/main/testrslt/testrsltinfoh/rsltcnts6";
  3303. sDescSePo = "/root/init/seporesn3";
  3304. model.makeValue(sDescNode2, model.getValue(sSrcNode2));
  3305. model.setValue("/root/main/testrslt/testrsltinfoh/sepo3mcnts", model.getValue("/root/main/testrslt/testrsltinfoh/sepo1mcnts"));
  3306. model.setValue("/root/main/testrslt/testrsltinfoh/diagcnts", model.getValue("/root/main/testrslt/testrsltinfoh/sepo1mcnts"));
  3307. //-------------------------------------------------------------------------------
  3308. if (model.getValue("/root/main/testrslt/testcdlist/statsworkflagcd") == "1021" || model.getValue("/root/main/testrslt/testcdlist/statsworkflagcd") == "10D2") {
  3309. sSrcSePo = "/root/init/seporesn1";
  3310. sDescSePo = "/root/init/seporesn3";
  3311. } else if (model.getValue("/root/main/testrslt/testcdlist/statsworkflagcd") == "1022"
  3312. || model.getValue("/root/main/testrslt/testcdlist/statsworkflagcd") == "1023"
  3313. || model.getValue("/root/main/testrslt/testcdlist/statsworkflagcd") == "10B2"
  3314. || model.getValue("/root/main/testrslt/testcdlist/statsworkflagcd") == "10B3"
  3315. || model.getValue("/root/main/testrslt/testcdlist/statsworkflagcd") == "10D0") {
  3316. sSrcSePo = "/root/init/seporesn4";
  3317. sDescSePo = "/root/init/seporesn6";
  3318. }
  3319. }
  3320. //-----------------------------------
  3321. copyNodesetType(sDescSePo, sSrcSePo);
  3322. model.makeValue(sDescNode1, model.getValue(sSrcNode1));
  3323. //------------------------
  3324. tar_fstrslt1003.refresh();
  3325. tar_scndrslt1003.refresh();
  3326. tar_lastrslt1003.refresh();
  3327. ipt_mcont1003.refresh();
  3328. }
  3329. /* @group : 검사결과등록
  3330. * @ver : 2007.10.28 (CMCDEV-0001)
  3331. * @by : 유동철(ACK)
  3332. * @-----------------------------------
  3333. * @type : function
  3334. * @access : public
  3335. * @desc : 결과예문 팝업 호출 처리 Function
  3336. */
  3337. function fExeExmpCall(objCtrl, pNode, pSeqNo) {
  3338. //---------------------------------------
  3339. setParameter( "SPLPR01600_exmpcnts", "");
  3340. setParameter( "SPLPR01600_workflagcd", model.getValue("/root/hidden/workflagcd"));
  3341. setParameter( "SPLPR01600_seqno", pSeqNo);
  3342. modal("SPLPR01600", "", "", "", "SPLPR01600", "", "");
  3343. //-----------------------------------------------
  3344. if (getParameter( "SPLPR01600_exmpcnts") != "") {
  3345. model.makeValue(pNode, getParameter( "SPLPR01600_exmpcnts"));
  3346. objCtrl.refresh();
  3347. }
  3348. }
  3349. /* @group : 검사결과등록
  3350. * @ver : 2007.11.08 (CMCDEV-0001)
  3351. * @by : 유동철(ACK)
  3352. * @-----------------------------------
  3353. * @type : function
  3354. * @access : public
  3355. * @desc : 블럭목록 팝업 호출 처리 Function
  3356. */
  3357. function fExeBlocPopupCall() {
  3358. //--------------------------------
  3359. // 결과조회 이후에 블럭목록을 호출
  3360. if (model.getValue("/root/main/testrslt/testrsltinfoh/ptno") == "") {
  3361. messageBox("병리번호에 해당하는 결과를 먼저 조회하십시오! 블럭목록을 조회 ", "E001");
  3362. return false;
  3363. }
  3364. //---------------------------------------------------------------
  3365. setParameter("SMLPR00100_instcd", getUserInfo("dutplceinstcd"));
  3366. setParameter("SMLPR00100_ptno", model.getValue("/root/main/testrslt/testrsltinfoh/ptno"));
  3367. if (model.getValue("/root/main/testrslt/testrsltinfoh/keybloc") == "") {
  3368. setParameter("SMLPR00100_keybloc", "");
  3369. } else {
  3370. setParameter("SMLPR00100_keybloc", model.getValue("/root/main/testrslt/testrsltinfoh/keybloc"));
  3371. }
  3372. //----------------------------------------------------
  3373. modal("SPLPR01700", "", "", "", "SPLPR01700", "", "");
  3374. //-----------------------------------------------
  3375. if (getParameter( "SMLPR00100_keybloc") != "") {
  3376. model.makeValue("/root/main/testrslt/testrsltinfoh/keybloc", getParameter( "SMLPR00100_keybloc"));
  3377. ipt_keybloc.refresh();
  3378. }
  3379. }
  3380. /* @group : 검사결과등록
  3381. * @ver : 2007.11.27 (CMCDEV-0001)
  3382. * @by : 유동철(ACK)
  3383. * @-----------------------------------
  3384. * @type : function
  3385. * @access : public
  3386. * @desc : 블럭목록 팝업 호출 처리 Function
  3387. */
  3388. function fExeChoiPlusMinus(pRow, pCol) {
  3389. var sNode = "/root/main/testrslt/staintestlist";
  3390. //--------------------------
  3391. if (pRow <= 0) return false;
  3392. //-------------
  3393. switch (pCol) {
  3394. case 9 : model.makeValue(sNode+"["+pRow+"]/testrslt", "negative");
  3395. model.makeValue(sNode+"["+pRow+"]/postive", "false");
  3396. break;
  3397. case 10 : model.makeValue(sNode+"["+pRow+"]/testrslt", "positive");
  3398. model.makeValue(sNode+"["+pRow+"]/nagative", "false");
  3399. break;
  3400. case 11 : //model.makeValue(sNode+"["+pRow+"]/testrslt", "other");
  3401. break;
  3402. }
  3403. //-----------------------
  3404. grd_stainlist.row = pRow;
  3405. grd_stainlist.col = 15;
  3406. grd_stainlist.refresh();
  3407. }
  3408. /* @group : 검사결과등록
  3409. * @ver : 2007.11.27 (CMCDEV-0001)
  3410. * @by : 유동철(ACK)
  3411. * @-----------------------------------
  3412. * @type : function
  3413. * @access : public
  3414. * @desc : 화면 초기화 처리 Function
  3415. */
  3416. function fExeClear() {
  3417. var objBtn = "";
  3418. var sBtnObjNm = "";
  3419. //-----------------------------------------------------------
  3420. model.resetInstanceNode("/root/main/testrslt/testrsltinfoh");
  3421. model.resetInstanceNode("/root/main/testrslt/patinfo");
  3422. model.resetInstanceNode("/root/main/testrslt/workrelaptnolist");
  3423. model.resetInstanceNode("/root/main/testrslt/staintestlist");
  3424. model.resetInstanceNode("/root/main/testrslt/relaptnolist");
  3425. model.resetInstanceNode("/root/main/testrslt/bfptnolist");
  3426. model.resetInstanceNode("/root/main/testrslt/iftestlist");
  3427. model.resetInstanceNode("/root/main/testrslt/moletestlist");
  3428. model.resetInstanceNode("/root/main/testrslt/frzncstelist");
  3429. model.resetInstanceNode("/root/main/testrslt/diagcntslist");
  3430. model.resetInstanceNode("/root/main/testrslt/sepouserlist1");
  3431. model.resetInstanceNode("/root/main/testrslt/sepouserlist2");
  3432. model.resetInstanceNode("/root/main/testrslt/testcdlist");
  3433. //-------------------------
  3434. // 판독의사 저장정보 초기화
  3435. for (var iNo=1; iNo <= getNodesetCount("/root/main/testrslt/readdoctlist"); iNo++) {
  3436. model.makeValue("/root/main/testrslt/readdoctlist["+iNo+"]/rgstdd", "-");
  3437. model.makeValue("/root/main/testrslt/readdoctlist["+iNo+"]/rgstno", "0");
  3438. model.makeValue("/root/main/testrslt/readdoctlist["+iNo+"]/userrgstdd", "-");
  3439. model.makeValue("/root/main/testrslt/readdoctlist["+iNo+"]/ptno", "-");
  3440. model.makeValue("/root/main/testrslt/readdoctlist["+iNo+"]/orgdispseqno", "0");
  3441. }
  3442. //-------------------------
  3443. btn_addrslt.visible = true;
  3444. btn_cnstrslt.visible = true;
  3445. //cap_readdrtitle.value = "";
  3446. //-------------
  3447. fExeBtnClear();
  3448. //-------------------------------------------
  3449. cap_conc.attribute("font-weight") = "normal";
  3450. cap_conc.attribute("color") = "#000000";
  3451. //-------------------------
  3452. model.setFocus("ipt_ptno");
  3453. model.refresh();
  3454. }
  3455. //----------------
  3456. // 작업버튼 초기화
  3457. function fExeBtnClear() {
  3458. for (var iNo=1001; iNo <= 1009; iNo++) {
  3459. sBtnObjNm = "btn_" + iNo;
  3460. objBtn = document.controls(sBtnObjNm);
  3461. objBtn.attribute("class") = "btn_sw";
  3462. objBtn.hint = "";
  3463. objBtn.selected = false;
  3464. objBtn.refresh();
  3465. }
  3466. }
  3467. /* @group : 검사결과등록
  3468. * @ver : 2008.02.08 (CMCDEV-0001)
  3469. * @by : 유동철(ACK)
  3470. * @-----------------------------------
  3471. * @type : function
  3472. * @access : public
  3473. * @desc : 육안검사(Gross) 출력 처리 Function
  3474. */
  3475. function fExeGrosPrnt() {
  3476. var sNode = "/root/gros/grosinfo";
  3477. var sUserID = getUserInfo("userid");
  3478. var sSpcNm = "";
  3479. var sSpcNode = "/root/main/testrslt/testcdlist[1]/reqcnts/reqfrminfo/choispc/choispclist";
  3480. var sUserAbbr = model.getValue("/root/main/testrslt[1]/readdoctlist[userid='"+sUserID+"']/userabbr");
  3481. var sSpcseqno = "";
  3482. var sSpc = "";
  3483. //----------------
  3484. // 세부검체명 설정
  3485. for (var iNo=1; iNo <= getNodesetCount(sSpcNode); iNo++) {
  3486. //-------------
  3487. //수정 박중규 2008.09.30
  3488. sSpcseqno = model.getValue("/root/main/testrslt/testcdlist[1]/reqcnts/reqfrminfo/choispc/choispclist["+ iNo +"]/spcseqno");
  3489. sSpc = model.getValue("/root/main/testrslt/testcdlist[1]/reqcnts/reqfrminfo/choispc/choispclist["+ iNo +"]/spcnm");
  3490. if (iNo == 1) {
  3491. sSpcNm += parseInt(sSpcseqno, [10]) + ") " + sSpc;
  3492. } else {
  3493. sSpcNm += ", " + parseInt(sSpcseqno, [10]) + ") " + sSpc;
  3494. }
  3495. /*
  3496. if (iNo == 1) {
  3497. sSpcNm += iNo+") " + model.getValue(sSpcNode+"/spcnm");
  3498. } else {
  3499. sSpcNm += ", " + iNo+") " + model.getValue(sSpcNode+"/spcnm");
  3500. }
  3501. */
  3502. }
  3503. //-------------------------
  3504. model.removeNodeset(sNode);
  3505. model.makeNode(sNode);
  3506. model.makeValue(sNode+"/ptno", model.getValue("/root/main/testrslt/testcdlist/ptno"), true);
  3507. model.makeValue(sNode+"/dispptno", "병리번호:" + model.getValue("/root/main/testrslt/testcdlist/dispptno"), true);
  3508. model.makeValue(sNode+"/pid", "등록번호:" + model.getValue("/root/main/testrslt/testcdlist/pid"), true);
  3509. model.makeValue(sNode+"/orddeptnm", "진료과:" + model.getValue("/root/main/testrslt/testcdlist/orddeptnm"), true);
  3510. model.makeValue(sNode+"/orddrnm", "진료의:" + model.getValue("/root/main/testrslt/testcdlist/orddrnm"), true);
  3511. model.makeValue(sNode+"/wardroom", "병동/병실:" + model.getValue("/root/main/testrslt/testcdlist/wardroom"), true);
  3512. model.makeValue(sNode+"/patnm", "환자명:" + model.getValue("/root/main/testrslt/patinfo/patnm"), true);
  3513. model.makeValue(sNode+"/sexage", "성별/나이:" + model.getValue("/root/main/testrslt/patinfo/sexage"), true);
  3514. model.makeValue(sNode+"/rrgstno", "주민번호:" + model.getValue("/root/main/testrslt/patinfo/rrgstno"), true);
  3515. model.makeValue(sNode+"/groscnts", model.getValue("/root/main/testrslt/testrsltinfoh/rsltcnts1"), true);
  3516. model.makeValue(sNode+"/spcnm", sSpcNm, true);
  3517. model.makeValue(sNode+"/grosdd", "육안검사일자:" + model.getValue("/root/main/testrslt/patinfo/grostestdd"));
  3518. model.makeValue(sNode+"/grostm", "육안검사시간:" + model.getValue("/root/main/testrslt/patinfo/grostesttm"));
  3519. model.makeValue(sNode+"/grosnm", "육안검사의:" + model.getValue("/root/main/testrslt/patinfo/grosdrnm"));
  3520. //-------------------------------------------------------------------------------------------
  3521. exeReportPreview("RPLPR99900", "XMLSTR", "", "", "true", "", "", "", "", "", "", "grp_prnt");
  3522. }
  3523. /* @group : 검사결과등록
  3524. * @ver : 2008.02.13 (CMCDEV-0001)
  3525. * @by : 유동철(ACK)
  3526. * @-----------------------------------
  3527. * @type : function
  3528. * @access : public
  3529. * @desc : 결과입력 이력 조회 처리 Function
  3530. */
  3531. function fExeRgstHistPopupCall() {
  3532. //---------------------------------------------------------------
  3533. setParameter("SMLPR00100_instcd", getUserInfo("dutplceinstcd"));
  3534. setParameter("SMLPR00100_ptno", model.getValue("/root/main/testrslt/testrsltinfoh/ptno"));
  3535. modal("SPLPR02000");
  3536. }
  3537. /* @group : 검사결과등록
  3538. * @ver : 2008.02.19 (CMCDEV-0001)
  3539. * @by : 유동철(ACK)
  3540. * @-----------------------------------
  3541. * @type : function
  3542. * @access : public
  3543. * @desc : 기타결과 등록여부 조회 처리 Function
  3544. */
  3545. function fGetEtcRsltCnt() {
  3546. model.removeNodeset("/root/send");
  3547. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  3548. model.makeValue("/root/send/ptno", model.getValue("/root/hidden/ptno"));
  3549. submit("TRLPR00103");
  3550. //-----------------
  3551. // 이미지 버튼 변경
  3552. if (model.getValue("/root/main/etcrslt/etcrsltcnt[bizflagcd='I']/rsltcnt") == "0") {
  3553. btn_grosimg.attribute("border-color") = "";
  3554. btn_grosimg.attribute("border-width") = "";
  3555. btn_grosimg.attribute("border-style") = "none";
  3556. } else {
  3557. btn_grosimg.attribute("border-color") = "#ff0000";
  3558. btn_grosimg.attribute("border-width") = "2px";
  3559. btn_grosimg.attribute("border-style") = "dotted";
  3560. }
  3561. //-------------------
  3562. // 추가결과 버튼 변경
  3563. if (model.getValue("/root/main/etcrslt/etcrsltcnt[bizflagcd='A']/rsltcnt") == "0") {
  3564. btn_addrslt.attribute("border-color") = "";
  3565. btn_addrslt.attribute("border-width") = "";
  3566. btn_addrslt.attribute("border-style") = "none";
  3567. } else {
  3568. btn_addrslt.attribute("border-color") = "#ff0000";
  3569. btn_addrslt.attribute("border-width") = "2px";
  3570. btn_addrslt.attribute("border-style") = "dotted";
  3571. }
  3572. //-------------------
  3573. // 자문결과 버튼 변경
  3574. if (model.getValue("/root/main/etcrslt/etcrsltcnt[bizflagcd='C']/rsltcnt") == "0") {
  3575. btn_cnstrslt.attribute("border-color") = "";
  3576. btn_cnstrslt.attribute("border-width") = "";
  3577. btn_cnstrslt.attribute("border-style") = "none";
  3578. } else {
  3579. btn_cnstrslt.attribute("border-color") = "#ff0000";
  3580. btn_cnstrslt.attribute("border-width") = "2px";
  3581. btn_cnstrslt.attribute("border-style") = "dotted";
  3582. }
  3583. //-------------------
  3584. // 정도관리 버튼 변경
  3585. if (model.getValue("/root/main/etcrslt/etcrsltcnt[bizflagcd='G']/rsltcnt") == "0") {
  3586. button2.attribute("border-color") = "";
  3587. button2.attribute("border-width") = "";
  3588. button2.attribute("border-style") = "none";
  3589. } else {
  3590. button2.attribute("border-color") = "#ff0000";
  3591. button2.attribute("border-width") = "2px";
  3592. button2.attribute("border-style") = "dotted";
  3593. }
  3594. //-------------------
  3595. // 수정결과 버튼 변경
  3596. if (model.getValue("/root/main/etcrslt/etcrsltcnt[bizflagcd='R']/rsltcnt") == "0") {
  3597. btn_rerslt.attribute("border-color") = "";
  3598. btn_rerslt.attribute("border-width") = "";
  3599. btn_rerslt.attribute("border-style") = "none";
  3600. } else {
  3601. btn_rerslt.attribute("border-color") = "#ff0000";
  3602. btn_rerslt.attribute("border-width") = "2px";
  3603. btn_rerslt.attribute("border-style") = "dotted";
  3604. }
  3605. //--------------------
  3606. btn_grosimg.refresh();
  3607. btn_addrslt.refresh();
  3608. btn_cnstrslt.refresh();
  3609. button2.refresh();
  3610. btn_rerslt.refresh();
  3611. }
  3612. /* @group : 검사결과등록
  3613. * @ver : 2008.03.11 (CMCDEV-0001)
  3614. * @by : 유동철(ACK)
  3615. * @-----------------------------------
  3616. * @type : function
  3617. * @access : public
  3618. * @desc : 관심증례 메모 저장 처리 Function
  3619. */
  3620. function fSetConcMemo() {
  3621. var sSpcKeep = model.getValue("/root/main/testrslt/testrsltinfoh/spckeepflagcd");
  3622. var sRsltHide = model.getValue("/root/main/testrslt/testrsltinfoh/rslthideflagcd");
  3623. var sPrepRslt = model.getValue("/root/main/testrslt/testrsltinfoh/preprsltflagcd");
  3624. var sConcCase = model.getValue("/root/main/testrslt/testrsltinfoh/conccaseflagcd");
  3625. var sUgcyAlert = model.getValue("/root/main/testrslt/testrsltinfoh/ugcyalertflagcd");
  3626. //--------------------------------------
  3627. sSpcKeep = sSpcKeep.getLeftPad(1, "0");
  3628. sRsltHide = sRsltHide.getLeftPad(1, "0");
  3629. sPrepRslt = sPrepRslt.getLeftPad(1, "0");
  3630. sConcCase = sConcCase.getLeftPad(1, "0");
  3631. sUgcyAlert = sUgcyAlert.getLeftPad(1, "0");
  3632. //--------------------------------
  3633. model.removeNodeset("/root/send");
  3634. model.makeNode("/root/send");
  3635. model.makeNode("/root/send/testrsltinfoh");
  3636. model.copyNode("/root/send/testrsltinfoh", "/root/main/testrslt/testrsltinfoh");
  3637. model.makeValue("/root/send/testrsltinfoh/spckeepflagcd", sSpcKeep);
  3638. model.makeValue("/root/send/testrsltinfoh/rslthideflagcd", sRsltHide);
  3639. model.makeValue("/root/send/testrsltinfoh/preprsltflagcd", sPrepRslt);
  3640. model.makeValue("/root/send/testrsltinfoh/conccaseflagcd", sConcCase);
  3641. model.makeValue("/root/send/testrsltinfoh/ugcyalertflagcd", sUgcyAlert);
  3642. model.makeValue("/root/send/testrsltinfoh/concmemo", "1");
  3643. //-----------------------------------------
  3644. // 결과등록된 자료에 한하여 독립적으로 처리
  3645. if (model.getValue("/root/main/testrslt/testrsltinfoh/rsltrgstno") == "") {
  3646. grp_conc.visible = false;
  3647. } else {
  3648. setAlertOn();
  3649. if (submit("TXLPR00102")) {
  3650. grp_conc.visible = false;
  3651. }
  3652. }
  3653. //-----------------------------------------------------------------------
  3654. if (model.getValue("/root/main/testrslt/testrsltinfoh/memocnts") == "") {
  3655. cap_conc.attribute("font-weight") = "normal";
  3656. cap_conc.attribute("color") = "#000000";
  3657. } else {
  3658. cap_conc.attribute("font-weight") = "bold";
  3659. cap_conc.attribute("color") = "#ff0000";
  3660. }
  3661. }
  3662. /* @group : 검사결과등록
  3663. * @ver : 2008.03.13 (CMCDEV-0001)
  3664. * @by : 유동철(ACK)
  3665. * @-----------------------------------
  3666. * @type : function
  3667. * @access : public
  3668. * @desc : 관심증례 메노장 표시 처리 Function
  3669. */
  3670. function fExeConcMemo() {
  3671. grp_conc.visible = true;
  3672. model.setFocus("tar_conc");
  3673. }
  3674. /* @group : 검사결과등록
  3675. * @ver : 2008.06.10 (CMCDEV-0001)
  3676. * @by : 유동철(ACK)
  3677. * @-----------------------------------
  3678. * @type : function
  3679. * @access : public
  3680. * @desc : 진단내용 팝업창 호출 처리 Function
  3681. */
  3682. function fExeDiagPopup() {
  3683. var sNode = "/root/main/testrslt/testrsltinfoh";
  3684. var sDiagNm = model.getValue(sNode+"/diagcnts");
  3685. var sDiagInfo = "";
  3686. //--------------------------------------------
  3687. // 영문,숫자, 한글일때는 3글자 넣어야 검색가능
  3688. if ( sDiagNm.length < 2 ) {
  3689. messageBox ( "2글자 이상", "C001" );
  3690. return;
  3691. }
  3692. //-----------------------------------------
  3693. setParameter("SPMMO00800_cond1", "2" ); // 첫단어검색을 먼저하는 것으로 수정한다.(1:코드검색)
  3694. setParameter("SPMMO00800_cond2", "3"); // 명칭검색구분(1:코드, 2:단어, 3:문장, 4:첫단어)
  3695. setParameter("SPMMO00800_cond3", "E" ); // 한영구분(H: 한글, E:영문)
  3696. setParameter("SPMMO00800_cond4", getCurrentDate()); // 기준일자: 외래일때는 진료일자, 입원일때는 처방일자
  3697. setParameter("SPMMO00800_cond5", sDiagNm ); // 검색내용
  3698. setParameter("SPMMO00800_rtn", "" ); // 반환값
  3699. setParameter("SPMMO00800_rtn_useyn", sDiagNm ); // 검색내용
  3700. modal ( "SPMMO00800", null, null, null, "diagsrch", "", "", "", false );
  3701. if ( getParameter( "SPMMO00800_rtn_useyn" ) == "Y" ) {
  3702. //-----------------------------------------
  3703. sDiagInfo = getParameter("SPMMO00800_rtn");
  3704. var icd10cd = fExeGetArrayData( sDiagInfo, 1, 8, "▩", "▦" );
  3705. var diagcd = fExeGetArrayData( sDiagInfo, 1, 9, "▩", "▦" );
  3706. var diagengnm = fExeGetArrayData( sDiagInfo, 1, 2, "▩", "▦" );
  3707. var diaghngnm = fExeGetArrayData( sDiagInfo, 1, 3, "▩", "▦" );
  3708. var spclinfo = fExeGetArrayData( sDiagInfo, 1, 5, "▩", "▦" );
  3709. //-------------------------------------------
  3710. model.makeValue(sNode+"/diagcnts", diagengnm);
  3711. model.makeValue(sNode+"/diagcd", diagcd);
  3712. //-----------------------------------------
  3713. setParameter( "SPMMO00800_rtn_useyn", "" );
  3714. }
  3715. //--------------
  3716. model.refresh();
  3717. }
  3718. function fExeGetArrayData (pData, pRow, pCol, pRowSep, pColSep ) {
  3719. var arrRow = pData.split(pRowSep);
  3720. if(arrRow.length <= pRow) return "";
  3721. var arrCol = arrRow[pRow].split(pColSep);
  3722. if(arrCol.length <= pCol) return "";
  3723. return arrCol[pCol];
  3724. }
  3725. /* @group : 검사결과등록
  3726. * @ver : 2008.12.08 (CMCDEV-0001)
  3727. * @by : 하만석(ACK)
  3728. * @-----------------------------------
  3729. * @type : function
  3730. * @access : public
  3731. * @desc : 정도관리 팝업창 호출 처리 Function
  3732. */
  3733. function fExeScopManage()
  3734. {
  3735. model.property("SMLPR00100_scopmanag") = "Search"; // 정도관 데이터 시작 점
  3736. setParameter("SMLPR00100_scop_wrkcd", model.getValue("/root/hidden/workflagcd"));
  3737. setParameter("SMLPR00100_scop_ptno", ipt_ptno.currentText);
  3738. setParameter("SMLPR00100_scop_acptdd", model.getValue("/root/main/testrslt/patinfo/acptdd"));
  3739. modal("SMLPB00600");
  3740. }
  3741. /* @group : 검사결과등록
  3742. * @ver : 2008.06.10 (CMCDEV-0001)
  3743. * @by : 유동철(ACK)
  3744. * @-----------------------------------
  3745. * @type : function
  3746. * @access : public
  3747. * @desc : MCode 팝업창 호출 처리 Function
  3748. */
  3749. function fExeMcodePopUp() {
  3750. var strDiagCnts = "";
  3751. var sNode = "/root/main/testrslt/testrsltinfoh/rsltcnts3";
  3752. //---------------------------------------
  3753. setParameter( "SPLPR01600_exmpcnts", "");
  3754. setParameter("SPLPR01600_rgstdrid", "mcode");
  3755. modal("SPLPR01600", "", "", "", "SPLPR01600", "", "");
  3756. if(getParameter( "SPLPR01600_exmpcnts") != "") {
  3757. model.makeValue("/root/main/testrslt/testrsltinfoh/diagcd", "");
  3758. model.makeValue("/root/main/testrslt/testrsltinfoh/diagcnts", getParameter( "SPLPR01600_exmpcnts"));
  3759. strDiagCnts = model.getValue(sNode);
  3760. model.makeValue(sNode, strDiagCnts + "\n " + model.getValue("/root/main/testrslt/testrsltinfoh/diagcnts")); // M
  3761. }
  3762. setParameter("SPLPR01600_rgstdrid", "");
  3763. }
  3764. /* @group : 검사결과등록
  3765. * @ver : 2009.12.21 (CMCDEV-0001)
  3766. * @by : 박상환(평화이즈)
  3767. * @-----------------------------------
  3768. * @type : function
  3769. * @access : public
  3770. * @desc : 결과조회 처리 Function
  3771. */
  3772. function fExePopupCallRsltSearch() {
  3773. var sptno = "";
  3774. var spid= "";
  3775. var sacptdd= "";
  3776. if (grd_bfptnolist.row > 0 ) {
  3777. sptno = model.getValue("/root/main/testrslt/bfptnolist[" + grd_bfptnolist.row + "]/ptno");
  3778. spid = model.getValue("/root/main/testrslt/patinfo/pid");
  3779. sacptdd = model.getValue("/root/main/testrslt/patinfo/acptdd");
  3780. //----------------------------------------------
  3781. setParameter("SMLPP00500_scrno", "SMLPR00100");
  3782. setParameter("SMLPP00500_pid", spid);
  3783. setParameter("SMLPP00500_acptdd", sacptdd);
  3784. setParameter("SMLPP00500_no", sptno.substr(sptno.length-6, 6));
  3785. setParameter("SMLPP00500_year", sptno.substr(sptno.length -8, 2));
  3786. setParameter("SMLPP00500_ptnocd", sptno.substr(0, sptno.length-8));
  3787. //------------------
  3788. modal("SMLPP00500");
  3789. }
  3790. }
  3791. /* @group : 검사결과등록
  3792. * @ver : 2010. 09. 08 (CMCDEV-0001)
  3793. * @by : 유동철
  3794. * @-----------------------------------
  3795. * @type : function
  3796. * @access : public
  3797. * @desc : 예문(Sample(공통예문), 예문(개인예문)) 조회 처리 Function
  3798. */
  3799. function fGetExample(pValue) {
  3800. var sRgstDrID = "0000000000"; // 공통예문
  3801. var sDocuNo = "";
  3802. var sExmpCntsG = "";
  3803. var sExmpCntsM = "";
  3804. var sExmpCntsD = "";
  3805. var sExmpCntsTempG = "";
  3806. var sExmpCntsTempM = "";
  3807. var sExmpCntsTempD = "";
  3808. var sNode = "/root/init/exmpcont/exmpcontlist";
  3809. var sExmpCd = "";
  3810. //------------------------
  3811. if(event.keyCode == 13) {
  3812. //-------------------
  3813. if (pValue == "0") {
  3814. sRgstDrID = getUserInfo("userid");
  3815. sDocuNo = ipt_tissblocnt.currentText; // 개인별 예문
  3816. model.makeValue("/root/init/examplecd", sDocuNo);
  3817. ipt_tissblocnt.refresh();
  3818. } else {
  3819. sDocuNo = ipt_tissbloct.currentText; // 공통 예문
  3820. model.makeValue("/root/init/samplecd", sDocuNo);
  3821. ipt_tissbloct.refresh();
  3822. }
  3823. //--------------------------------
  3824. model.removeNodeset("/root/send");
  3825. model.makeValue("/root/send/rgstdrid", sRgstDrID);
  3826. model.makeValue("/root/send/docuno", sDocuNo.toUpperCase());
  3827. submit("TRLPZ00116");
  3828. //------------------------------------------------------
  3829. for (var iNo=1; iNo <= getNodesetCount(sNode); iNo++) {
  3830. //-------------------------------------------------------
  3831. sExmpCd = model.getValue(sNode + "[" + iNo + "]/exmpcd");
  3832. //-------------------------------------
  3833. if (sExmpCd.substring(0, 2) == "GR") {
  3834. sExmpCntsG += model.getValue(sNode + "[" + iNo + "]/exmpcnts") + "\n";
  3835. } else if (sExmpCd.substring(0, 2) == "MI") {
  3836. sExmpCntsM += model.getValue(sNode + "[" + iNo + "]/exmpcnts") + "\n";
  3837. } else if (sExmpCd.substring(0, 2) == "DI") {
  3838. sExmpCntsD += model.getValue(sNode + "[" + iNo + "]/exmpcnts") + "\n";
  3839. } else if (sExmpCd.substring(0, 2) == "UE") {
  3840. sExmpCntsD += model.getValue(sNode + "[" + iNo + "]/exmpcnts");
  3841. } else {
  3842. sExmpCntsD += model.getValue(sNode + "[" + iNo + "]/exmpcnts") + "\n";
  3843. }
  3844. }
  3845. //-----------------------------------------------------
  3846. // 결과예문(개인별)의 경우 클릭한 TextBox에만 추가한다.
  3847. if (pValue == "0") {
  3848. //------------------------------------------
  3849. if (_ContentObject == null) return false;
  3850. var sStrNode = _ContentObject.attribute("ref");
  3851. //----------------------------------------------------------
  3852. _ContentObject.selEnd = Number(_ContentObject.selBegin) + 1;
  3853. //--------------------------------------------
  3854. if ( _ContentObject.selectionText == "\n" ) {
  3855. _ContentObject.selectionText = sExmpCntsD + "\n";
  3856. } else {
  3857. _ContentObject.selectionText = sExmpCntsD + _ContentObject.selectionText;
  3858. _ContentObject.selBegin = Number(_ContentObject.selBegin) + sExmpCntsD.length;
  3859. }
  3860. //-----------------------------------------------------------
  3861. model.makeValue(sStrNode, _ContentObject.currentText, true);
  3862. //----------------------------------------------
  3863. _ContentObject.selEnd = _ContentObject.selBegin;
  3864. _ContentObject.refresh();
  3865. model.setFocus(_ContentObject.attribute("id"));
  3866. model.refresh();
  3867. //------------
  3868. return true;
  3869. }
  3870. //------------------------------------
  3871. // 작업구분코드에 따라 표시영역을 표시
  3872. switch (model.getValue("/root/hidden/workflagcd")) {
  3873. case "1012" :
  3874. case "1001" : // 조직
  3875. case "1002" : // 동결절편
  3876. sExmpCntsTempG = model.getValue("/root/main/testrslt/testrsltinfoh/rsltcnts1");
  3877. sExmpCntsTempM = model.getValue("/root/main/testrslt/testrsltinfoh/rsltcnts2");
  3878. sExmpCntsTempD = model.getValue("/root/main/testrslt/testrsltinfoh/rsltcnts3");
  3879. model.makeValue("/root/main/testrslt/testrsltinfoh/rsltcnts1", sExmpCntsTempG + "\n" + sExmpCntsG, true);
  3880. model.makeValue("/root/main/testrslt/testrsltinfoh/rsltcnts2", sExmpCntsTempM + "\n" + sExmpCntsM, true);
  3881. model.makeValue("/root/main/testrslt/testrsltinfoh/rsltcnts3", sExmpCntsTempD + "\n" + sExmpCntsD, true);
  3882. break;
  3883. case "1003" : // 세포
  3884. case "1006" : // 면역형광 Tab
  3885. sExmpCntsTempD = model.getValue("/root/main/testrslt/testrsltinfoh/rsltcnts3");
  3886. model.makeValue("/root/main/testrslt/testrsltinfoh/rsltcnts3", sExmpCntsTempD + "\n" + sExmpCntsD, true);
  3887. break;
  3888. case "1007" : // 분자 Tab
  3889. sExmpCntsTempD = model.getValue("/root/main/testrslt/testrsltinfoh/rsltcnts3");
  3890. model.makeValue("/root/main/testrslt/testrsltinfoh/rsltcnts3", sExmpCntsTempD + "\n" + sExmpCntsD, true);
  3891. break;
  3892. case "1008" : // 전자현미경 Tab
  3893. sExmpCntsTempM = model.getValue("/root/main/testrslt/testrsltinfoh/rsltcnts2");
  3894. sExmpCntsTempD = model.getValue("/root/main/testrslt/testrsltinfoh/rsltcnts3");
  3895. model.makeValue("/root/main/testrslt/testrsltinfoh/rsltcnts2", sExmpCntsTempM + "\n" + sExmpCntsM, true);
  3896. model.makeValue("/root/main/testrslt/testrsltinfoh/rsltcnts3", sExmpCntsTempD + "\n" + sExmpCntsD, true);
  3897. break;
  3898. case "1009" : // 부검 Tab
  3899. sExmpCntsTempG = model.getValue("/root/main/testrslt/testrsltinfoh/rsltcnts2");
  3900. sExmpCntsTempM = model.getValue("/root/main/testrslt/testrsltinfoh/rsltcnts3");
  3901. sExmpCntsTempD = model.getValue("/root/main/testrslt/testrsltinfoh/rsltcnts4");
  3902. model.makeValue("/root/main/testrslt/testrsltinfoh/rsltcnts2", sExmpCntsTempG + "\n" + sExmpCntsG, true);
  3903. model.makeValue("/root/main/testrslt/testrsltinfoh/rsltcnts3", sExmpCntsTempM + "\n" + sExmpCntsM, true);
  3904. model.makeValue("/root/main/testrslt/testrsltinfoh/rsltcnts4", sExmpCntsTempD + "\n" + sExmpCntsD, true);
  3905. break;
  3906. case "1004" : // 특수염색
  3907. case "1005" : // 면역염색 Tab
  3908. break;
  3909. case "" : // 환자정보 조회하지 않을때
  3910. sExmpCntsTempG = model.getValue("/root/main/testrslt/testrsltinfoh/rsltcnts1");
  3911. sExmpCntsTempM = model.getValue("/root/main/testrslt/testrsltinfoh/rsltcnts2");
  3912. sExmpCntsTempD = model.getValue("/root/main/testrslt/testrsltinfoh/rsltcnts3");
  3913. model.makeValue("/root/main/testrslt/testrsltinfoh/rsltcnts1", sExmpCntsTempG + "\n" + sExmpCntsG, true);
  3914. model.makeValue("/root/main/testrslt/testrsltinfoh/rsltcnts2", sExmpCntsTempM + "\n" + sExmpCntsM, true);
  3915. model.makeValue("/root/main/testrslt/testrsltinfoh/rsltcnts3", sExmpCntsTempD + "\n" + sExmpCntsD, true);
  3916. break;
  3917. }
  3918. //--------------
  3919. model.refresh();
  3920. }
  3921. }
  3922. /* @group : 검사결과등록
  3923. * @ver : 2010. 09. 08 (CMCDEV-0001)
  3924. * @by : 유동철
  3925. * @-----------------------------------
  3926. * @type : function
  3927. * @access : public
  3928. * @desc : 서식예문 내용 조회 처리 Function
  3929. */
  3930. function fGetRecFormNormal() {
  3931. var param = "";
  3932. var sNode = "/root/main/testrslt/patinfo";
  3933. var sNode2 = "/root/main/testrslt/testcdlist";
  3934. var disparam = model.getValue(sNode+"/pid") + "▦" + model.getValue(sNode+"/patnm") + "▦" + model.getValue(sNode+"/sexage") + "▦" + model.getValue(sNode2+"[1]/orddeptnm") + "▦" + model.getValue(sNode2+"[1]/wardroom") + "▦";
  3935. var sPtNo = model.getValue(sNode+"/ptno");
  3936. var sPtNoCode = sPtNo.substr( 0, (sPtNo.length - 8));
  3937. var sPtNoYear = sPtNo.substr( (sPtNo.length - 8), 2);
  3938. var sPtNoNo = sPtNo.substr( (sPtNo.length - 6), 6);
  3939. //-------------------
  3940. // 원무 수납정보 검색
  3941. model.removeNodeset("/root/send");
  3942. model.removeNodeset("/root/init/cretinfo/cretinfolist");
  3943. model.makeValue("/root/send/ptno", model.getValue(sNode+"/ptno"));
  3944. submit("TRLPZ00117");
  3945. //------------------------------------------
  3946. if (_ContentObject == null) return false;
  3947. //---------------------------------------------
  3948. setParameter("openmode", "newform"); //오픈모드는 “recform”
  3949. setParameter("SSMMR01100_getTopYn", "N");
  3950. setParameter("formrecseq", "");
  3951. setParameter("formcd", model.getValue("/root/init/recformcd"));
  3952. setParameter("pid", model.getValue(sNode+"/pid"));
  3953. setParameter("orddd", model.getValue("/root/init/cretinfo/cretinfolist/orddd"));
  3954. setParameter("cretno", model.getValue("/root/init/cretinfo/cretinfolist/cretno"));
  3955. setParameter("orddeptcd", model.getValue("/root/init/cretinfo/cretinfolist/orddeptcd"));
  3956. setParameter("orddrid", model.getValue("/root/init/cretinfo/cretinfolist/orddrid"));
  3957. setParameter("ioflag", model.getValue("/root/init/cretinfo/cretinfolist/ioflag"));
  3958. //---------------------------------------
  3959. modal("SSMMR01100", 1, 0, 0 ,"", "", "");
  3960. //--------------------------------------------
  3961. param = getParameter("SSMMR01100_formrecseq"); // 서식저장번호
  3962. if (param.getTrimLeft().getTrimRight() == "") return false;
  3963. //----------------------------
  3964. // 서식항목 및 입력값 가져오기
  3965. model.removeNodeset("/root/send");
  3966. model.removeNodeset("/root/main/recstyle/recstylelist");
  3967. model.makeValue("/root/send/recno", param);
  3968. submit("TRLPR02601");
  3969. var LevelNo = 0;
  3970. var TopPos = "-";
  3971. var reccnts = "";
  3972. var recnode = "/root/main/recstyle/recstylelist";
  3973. var sGap = "";
  3974. var LeftPos = 0;
  3975. var sLeftData = "";
  3976. var iPrevLeftPos = 0;
  3977. var sLineData = "";
  3978. for (var iNo=1; iNo <= getNodesetCount(recnode); iNo++) {
  3979. //-----------------------------------------------------
  3980. if (model.getValue(recnode+"["+iNo+"]/toppos") == "") {
  3981. }
  3982. else if (TopPos != model.getValue(recnode+"["+iNo+"]/toppos")) {
  3983. iPrevLeftPos = 0;
  3984. TopPos = model.getValue(recnode+"["+iNo+"]/toppos");
  3985. //-------------
  3986. if (iNo > 1) {
  3987. reccnts += "\n" + sLineData;
  3988. sLineData = "";
  3989. }
  3990. } else {
  3991. }
  3992. //------------------------------------------------------
  3993. sLeftData = model.getValue(recnode+"["+iNo+"]/leftpos");
  3994. if (sLeftData.isNumber()) {
  3995. if (sLineData.length > 0) {
  3996. LeftPos = Number(Number(model.getValue(recnode+"["+iNo+"]/leftpos")) / 10) + 10;
  3997. } else {
  3998. LeftPos = Number(Number(model.getValue(recnode+"["+iNo+"]/leftpos")) / 10) + Number(model.getValue(recnode+"["+iNo+"]/degnitemlevlno"));
  3999. }
  4000. } else {
  4001. LeftPos = sLineData.length + 10;
  4002. }
  4003. //------------------------------
  4004. iPrevLeftPos = sLineData.length;
  4005. sLineData += sGap.getLeftPad(LeftPos - iPrevLeftPos, ' ') + model.getValue(recnode+"["+iNo+"]/reccnts");
  4006. }
  4007. //--------------------------------------------------------
  4008. model.makeValue(_ContentObject.attribute("ref"), reccnts);
  4009. model.makeValue("/root/init/recformcd", ""); // 서식코드 초기화
  4010. model.refresh();
  4011. }
  4012. /* @group : 검사결과등록
  4013. * @ver : 2010. 09. 09 (CMCDEV-0001)
  4014. * @by : 유동철
  4015. * @-----------------------------------
  4016. * @type : function
  4017. * @access : public
  4018. * @desc : 지연시간 및 결과시간 조회 처리 Function
  4019. */
  4020. function fExeDelayCheck(pPara1, pPara2) {
  4021. var iReadTime = 0;
  4022. var iDelayTime = 0;
  4023. var sNode = "/root/init/delayread/delayreadtime";
  4024. //--------------------------------
  4025. model.removeNodeset("/root/send");
  4026. model.removeNodeset(sNode);
  4027. //-------------------------------------------------------------------------------------
  4028. model.makeValue("/root/send/ptno", model.getValue("/root/main/testrslt/patinfo/ptno"));
  4029. submit("TRLPR00104");
  4030. //--------------------------------------------------------
  4031. iReadTime = Number(model.getValue(sNode+"/readdaycnts"));
  4032. iDelayTime = Number(model.getValue(sNode+"/delayonetime")) + Number(model.getValue(sNode+"/delayaddtime"));
  4033. //----------------------------------------------
  4034. // 결과시간이 지연시간보다 클 경우 지연사유 선택
  4035. if (iReadTime > iDelayTime) {
  4036. //------------------------------------------------------------------------------------------------------
  4037. if (model.getValue("/root/init/delayresncd") == "" || model.getValue("/root/init/delayresncd") == "-") {
  4038. messageBox("지연사유를 입력하여 주십시오! [ 지연시간 : " + (iReadTime - iDelayTime) + "일 ] ", "E000");
  4039. return false;
  4040. }
  4041. }
  4042. //----------------
  4043. // 최종진단이 등록
  4044. fExeTestRsltSave(pPara1, pPara2);
  4045. }
  4046. /* @group : 검사결과등록
  4047. * @ver : 2010. 09. 09 (CMCDEV-0001)
  4048. * @by : 유동철
  4049. * @-----------------------------------
  4050. * @type : function
  4051. * @access : public
  4052. * @desc : 지연시간 및 결과시간 등록 처리 Function
  4053. */
  4054. function fExeDelayTime() {
  4055. var iReadTime = 0;
  4056. var iDelayTime = 0;
  4057. var sNode = "/root/init/delayread/delayreadtime";
  4058. //--------------------------------
  4059. model.removeNodeset("/root/send");
  4060. model.removeNodeset(sNode);
  4061. //-------------------------------------------------------------------------------------
  4062. model.makeValue("/root/send/ptno", model.getValue("/root/main/testrslt/patinfo/ptno"));
  4063. submit("TRLPR00104");
  4064. //--------------------------------------------------------
  4065. iReadTime = Number(model.getValue(sNode+"/readdaycnts"));
  4066. iDelayTime = Number(model.getValue(sNode+"/delayonetime")) + Number(model.getValue(sNode+"/delayaddtime"));
  4067. //----------------------------------------------
  4068. // 결과시간이 지연시간보다 클 경우 지연사유 선택
  4069. if (iReadTime > iDelayTime) {
  4070. //---------------------------------------------------------------------------------------------------------
  4071. if (model.getValue("/root/init/delayresncd") == "" || model.getValue("/root/init/delayresncd") == "-") {
  4072. messageBox("지연사유를 입력하여 주십시오! [ 지연시간 : " + (iReadTime - iDelayTime) + "일 ] ", "E000");
  4073. return false;
  4074. } else {
  4075. model.removeNodeset("/root/send");
  4076. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  4077. model.makeValue("/root/send/pid", model.getValue("/root/main/testrslt/patinfo/pid"));
  4078. model.makeValue("/root/send/ptno", model.getValue("/root/main/testrslt/patinfo/ptno"));
  4079. model.makeValue("/root/send/baseflagcd", '31');
  4080. model.makeValue("/root/send/resncd", model.getValue("/root/init/delayresncd"));
  4081. //---------------------------
  4082. if (!submit("TXLPR00104")) {
  4083. messageBox("지연사유 등록도중 오류가 발생하였습니다!", "E000");
  4084. return false;
  4085. }
  4086. //--------------------------------------------
  4087. model.makeValue("/root/init/delayresncd", "");
  4088. }
  4089. }
  4090. }
  4091. /* @group : 검사결과등록
  4092. * @ver : 2010. 11. 13 (CMCDEV-0001)
  4093. * @by : 유동철
  4094. * @-----------------------------------
  4095. * @type : function
  4096. * @access : public
  4097. * @desc : 블럭생성(Cassette일괄발행) 화면 Call 처리 Function
  4098. */
  4099. function fExeBlockCall() {
  4100. if ( model.getValue("/root/main/testrslt/patinfo/acptdd") == "") {
  4101. messageBox("환자를 조회 후 선택하여 주십시오!", "E000");
  4102. return false;
  4103. }
  4104. //--------------------------------------------------------------------
  4105. setParameter( "SMLPB00900_ptno", model.getValue("/root/hidden/ptno"));
  4106. setParameter( "SMLPB00900_acptdd", model.getValue("/root/main/testrslt/patinfo/acptdd"));
  4107. setParameter( "SMLPB00900_pid", model.getValue("/root/main/testrslt/patinfo/pid"));
  4108. //---------------------
  4109. open("SMLPB00900.xrw");
  4110. }
  4111. ]]>
  4112. </script>
  4113. </xhtml:head>
  4114. <xhtml:body guideline="1,1220;" style="font-size:18pt; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  4115. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  4116. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">검사결과등록</caption>
  4117. </group>
  4118. <group id="grp_btn" style="left:0px; top:13; width:1195px; height:27px; ">
  4119. <line id="line80" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
  4120. <button id="btn_lastdiag" class="btn4_letter4" style="left:1114px; top:3; width:80px; height:22px; ">
  4121. <caption>최종진단</caption>
  4122. <script type="javascript" ev:event="DOMActivate">
  4123. <![CDATA[
  4124. fExeDelayCheck("LAST", "1"); // 지연시간 및 결과시간 검사
  4125. ]]>
  4126. </script>
  4127. </button>
  4128. <button id="btn_save" class="btn4_letter2" style="left:972px; top:3; width:56px; height:22px; ">
  4129. <caption>저장</caption>
  4130. <script type="javascript" ev:event="DOMActivate">
  4131. <![CDATA[
  4132. fExeTestRsltSave("SAVE", "1");
  4133. ]]>
  4134. </script>
  4135. </button>
  4136. <button id="btn_trsmcncl" class="btn4_letter4" style="left:1031px; top:3; width:80px; height:22px; ">
  4137. <caption>전송취소</caption>
  4138. <script type="javascript" ev:event="DOMActivate">
  4139. <![CDATA[
  4140. fExeTestRsltSave("CNCL", "1");
  4141. ]]>
  4142. </script>
  4143. </button>
  4144. <button id="btn_ptnolist" class="btn3_letter6" style="left:130px; top:3px; width:104px; height:22px; ">
  4145. <caption>병리번호목록</caption>
  4146. <script type="javascript" ev:event="DOMActivate">
  4147. <![CDATA[
  4148. fExePtNoListCall();
  4149. ]]>
  4150. </script>
  4151. </button>
  4152. <button id="btn_addrslt" class="btn3_letter4" style="left:237px; top:3px; width:80px; height:22px; ">
  4153. <caption>추가결과</caption>
  4154. <script type="javascript" ev:event="DOMActivate">
  4155. <![CDATA[
  4156. fExeAddendumPopup();
  4157. fGetEtcRsltCnt();
  4158. ]]>
  4159. </script>
  4160. </button>
  4161. <button id="btn_preview" class="btn3_letter4" visibility="hidden" style="left:905px; top:0px; width:80px; height:22px; ">
  4162. <caption>미리보기</caption>
  4163. <script type="javascript" ev:event="DOMActivate">
  4164. <![CDATA[
  4165. fExeFrmPrnt("1");
  4166. ]]>
  4167. </script>
  4168. </button>
  4169. <button id="btn_print" class="btn6_letter2" style="left:0px; top:3; width:56px; height:22px; ">
  4170. <caption>출력</caption>
  4171. <script type="javascript" ev:event="DOMActivate">
  4172. <![CDATA[
  4173. fExeFrmPrnt("0");
  4174. ]]>
  4175. </script>
  4176. </button>
  4177. <button id="btn_cnstrslt" class="btn3_letter4" style="left:486px; top:3px; width:80px; height:22px; ">
  4178. <caption>자문결과</caption>
  4179. <script type="javascript" ev:event="DOMActivate">
  4180. <![CDATA[
  4181. fExeCsltRsltPopup();
  4182. fGetEtcRsltCnt();
  4183. ]]>
  4184. </script>
  4185. </button>
  4186. <button id="btn_cncllist" class="btn3_letter4" style="left:665px; top:3px; width:80px; height:22px; ">
  4187. <caption>취소내역</caption>
  4188. <script type="javascript" ev:event="DOMActivate">
  4189. <![CDATA[
  4190. fExeReadCnclList();
  4191. ]]>
  4192. </script>
  4193. </button>
  4194. <button id="btn_grosimg" class="btn3_letter5" style="left:569px; top:3px; width:92px; height:22px; ">
  4195. <caption>이미지보기</caption>
  4196. <script type="javascript" ev:event="DOMActivate">
  4197. <![CDATA[
  4198. fExeImgView();
  4199. ]]>
  4200. </script>
  4201. </button>
  4202. <button id="btn_rsltref" class="btn3_letter4" style="left:403px; top:3px; width:80px; height:22px; ">
  4203. <caption>통합결과</caption>
  4204. <script type="javascript" ev:event="DOMActivate">
  4205. <![CDATA[
  4206. fExePopupCallSytsRslt();
  4207. ]]>
  4208. </script>
  4209. </button>
  4210. <button id="btn_clear" class="btn3_letter3" style="left:59px; top:3px; width:68px; height:22px; ">
  4211. <caption>초기화</caption>
  4212. <script type="javascript" ev:event="DOMActivate">
  4213. <![CDATA[
  4214. fExeClear();
  4215. ]]>
  4216. </script>
  4217. </button>
  4218. <button id="button2" class="btn3_letter4" style="left:748px; top:3px; width:80px; height:22px; ">
  4219. <caption>정도관리</caption>
  4220. <script type="javascript" ev:event="DOMActivate">
  4221. <![CDATA[
  4222. // 병리번호 조회가 되어있을 경우만
  4223. if (ipt_ptno.currentText != "")
  4224. {
  4225. fExeScopManage();
  4226. fGetEtcRsltCnt();
  4227. }
  4228. ]]>
  4229. </script>
  4230. </button>
  4231. <button id="button5" class="btn3_letter6" style="left:831px; top:3px; width:104px; height:22px; ">
  4232. <caption>추가처방등록</caption>
  4233. <script type="javascript" ev:event="DOMActivate">
  4234. <![CDATA[
  4235. var sPtNo = "";
  4236. var aPtNo = "";
  4237. var sNode = "/root/main/testrslt/patinfo";
  4238. //--------------------------------------------------
  4239. sPtNo = model.getValue("/root/main/testrslt/testcdlist[1]/dispptno");
  4240. aPtNo = sPtNo.split("-");
  4241. //----------------------------------------------
  4242. setParameter("SMLPJ01000_scrno", "SMLPP00200");
  4243. setParameter("SMLPJ01000_pid", model.getValue(sNode+"/pid"));
  4244. setParameter("SMLPJ01000_acptdd", model.getValue(sNode+"/acptdd"));
  4245. setParameter("SMLPJ01000_no", aPtNo[1]);
  4246. setParameter("SMLPJ01000_ptnocd", aPtNo[0].substr(0, (aPtNo[0].length-2)));
  4247. setParameter("SMLPJ01000_year", aPtNo[0].substr(aPtNo[0].length-2, 2));
  4248. modal("SMLPJ01000");
  4249. ]]>
  4250. </script>
  4251. </button>
  4252. <button id="btn_rerslt" class="btn3_letter4" style="left:320px; top:3px; width:80px; height:22px; ">
  4253. <caption>수정결과</caption>
  4254. <script type="javascript" ev:event="DOMActivate">
  4255. <![CDATA[
  4256. var sflag = model.getValue("/root/main/testrslt/patinfo/ptno");
  4257. setParameter("parameter_SMLPP02900", sflag);
  4258. modal("SMLPP02900", 1, "", 100, "", "", "", "left:0; right:; width:0; height:0; min:hidden, max:hidden;");
  4259. fGetEtcRsltCnt();
  4260. ]]>
  4261. </script>
  4262. </button>
  4263. </group>
  4264. <group id="grp_biz" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
  4265. <caption id="caption101" style="left:1045px; top:583px; width:118px; height:14px; ">최종진단/수정진단</caption>
  4266. <caption id="caption100" style="left:1027px; top:582px; width:15px; height:15px; vertical-align:middle; background-color:#9cff9c; "/>
  4267. <caption id="caption99" style="left:900px; top:583px; width:30px; height:14px; vertical-align:middle; ">접수</caption>
  4268. <caption id="caption104" style="left:960px; top:583px; width:50px; height:14px; ">예비결과</caption>
  4269. <caption id="caption103" style="left:882px; top:582px; width:15px; height:15px; background-color:#ffff00; "/>
  4270. <caption id="caption102" style="left:942px; top:582px; width:15px; height:15px; vertical-align:middle; background-color:#ffccff; "/>
  4271. <bool id="bol_rsltprvn" visibility="visible" checkvalue="1,0" ref="/root/main/testrslt/testrsltinfoh/rslthideflagcd" style="left:440px; top:93px; width:25px; height:20px; ">
  4272. <script type="javascript" ev:event="xforms-value-changed">
  4273. <![CDATA[
  4274. fExeEtcInfo("H");
  4275. ]]>
  4276. </script>
  4277. </bool>
  4278. <caption id="caption97" visibility="visible" style="left:461px; top:96px; width:62px; height:14px; ">결과숨기기</caption>
  4279. <caption id="caption53" class="cell_1" style="left:945px; top:290px; width:70px; height:23px; vertical-align:middle; ">선택진료의</caption>
  4280. <line id="line94" class="line_3" style="x1:945px; y1:312px; x2:1193px; y2:312px; "/>
  4281. <button id="btn_1002" class="btn_sw" group="tab" selected="false" style="left:39px; top:121px; width:61px; height:22px; ">
  4282. <caption>동결절편</caption>
  4283. <script type="javascript" ev:event="DOMActivate">
  4284. <![CDATA[
  4285. fExeUpdtWorkFlag(btn_1002.attribute("id"));
  4286. ]]>
  4287. </script>
  4288. </button>
  4289. <button id="btn_1001" class="btn_sw" group="tab" selected="true" style="left:0px; top:121px; width:39px; height:22px; ">
  4290. <caption>조직</caption>
  4291. <script type="javascript" ev:event="DOMActivate">
  4292. <![CDATA[
  4293. fExeUpdtWorkFlag(btn_1001.attribute("id"));
  4294. iTabChng = 1;
  4295. ]]>
  4296. </script>
  4297. </button>
  4298. <button id="btn_1009" class="btn_sw" group="tab" style="left:437px; top:122px; width:39px; height:22px; ">
  4299. <caption>부검</caption>
  4300. <script type="javascript" ev:event="DOMActivate">
  4301. <![CDATA[
  4302. fExeUpdtWorkFlag(btn_1009.attribute("id"));
  4303. ]]>
  4304. </script>
  4305. </button>
  4306. <button id="btn_1008" class="btn_sw" group="tab" style="left:361px; top:122px; width:76px; height:22px; ">
  4307. <caption>전자현미경</caption>
  4308. <script type="javascript" ev:event="DOMActivate">
  4309. <![CDATA[
  4310. fExeUpdtWorkFlag(btn_1008.attribute("id"));
  4311. ]]>
  4312. </script>
  4313. </button>
  4314. <button id="btn_1007" class="btn_sw" group="tab" style="left:322px; top:122px; width:39px; height:22px; ">
  4315. <caption>분자</caption>
  4316. <script type="javascript" ev:event="DOMActivate">
  4317. <![CDATA[
  4318. fExeUpdtWorkFlag(btn_1007.attribute("id"));
  4319. ]]>
  4320. </script>
  4321. </button>
  4322. <button id="btn_1006" class="btn_sw" group="tab" style="left:261px; top:122px; width:61px; height:22px; ">
  4323. <caption>면역형광</caption>
  4324. <script type="javascript" ev:event="DOMActivate">
  4325. <![CDATA[
  4326. fExeUpdtWorkFlag(btn_1006.attribute("id"));
  4327. ]]>
  4328. </script>
  4329. </button>
  4330. <button id="btn_1005" class="btn_sw" group="tab" style="left:200px; top:122px; width:61px; height:22px; ">
  4331. <caption>면역염색</caption>
  4332. <script type="javascript" ev:event="DOMActivate">
  4333. <![CDATA[
  4334. fExeUpdtWorkFlag(btn_1005.attribute("id"));
  4335. ]]>
  4336. </script>
  4337. </button>
  4338. <button id="btn_1004" class="btn_sw" group="tab" style="left:139px; top:122px; width:61px; height:22px; ">
  4339. <caption>특수염색</caption>
  4340. <script type="javascript" ev:event="DOMActivate">
  4341. <![CDATA[
  4342. fExeUpdtWorkFlag(btn_1004.attribute("id"));
  4343. ]]>
  4344. </script>
  4345. </button>
  4346. <button id="btn_1003" class="btn_sw" group="tab" selected="false" style="left:100px; top:122px; width:39px; height:22px; ">
  4347. <caption>세포</caption>
  4348. <script type="javascript" ev:event="DOMActivate">
  4349. <![CDATA[
  4350. fExeUpdtWorkFlag(btn_1003.attribute("id"));
  4351. ]]>
  4352. </script>
  4353. </button>
  4354. <output id="output10" ref="/root/main/testrslt/patinfo/rrgstno" class="output_fix" appearance="output" style="left:384px; top:20px; width:96px; height:19px; "/>
  4355. <input id="input1" ref="/root/main/testrslt/patinfo/pid" class="input_default" navindex="2" editable="false" maxlength="10" style="left:69px; top:44px; width:77; height:19px; "/>
  4356. <output id="output11" ref="/root/main/testrslt/patinfo/sexage" class="output_fix" appearance="output" style="left:218px; top:44px; width:80px; height:19px; "/>
  4357. <output id="output12" ref="/root/main/testrslt/testcdlist/orddeptnm" class="output_fix" appearance="output" style="left:384px; top:44px; width:96px; height:19px; "/>
  4358. <line id="line13" class="line_1" style="x1:0px; y1:14px; x2:751px; y2:14px; "/>
  4359. <line id="line14" class="line_2" style="x1:0px; y1:41px; x2:750px; y2:41px; "/>
  4360. <output id="output13" ref="/root/main/testrslt/testcdlist/wardroom" class="output_fix" appearance="output" style="left:384px; top:68px; width:96px; height:19px; "/>
  4361. <input id="input4" ref="/root/main/testrslt/patinfo/patnm" class="input_default" navindex="3" editable="false" style="left:218px; top:20px; width:80px; height:19px; "/>
  4362. <caption id="caption17" class="cell_1" style="left:483px; top:19px; width:61px; height:23px; vertical-align:middle; ">환자구분</caption>
  4363. <caption id="caption18" class="cell_1" style="left:0px; top:43px; width:66; height:23px; vertical-align:middle; ">등록번호</caption>
  4364. <caption id="caption19" class="cell_1" style="left:301px; top:43px; width:80px; height:23px; vertical-align:middle; ">진 료 과</caption>
  4365. <caption id="caption20" class="cell_1" style="left:0px; top:67px; width:66; height:23px; vertical-align:middle; ">처방형태</caption>
  4366. <caption id="caption30" class="cell_1" style="left:301px; top:67px; width:80px; height:23px; vertical-align:middle; ">병동/병실</caption>
  4367. <caption id="caption31" class="cell_1" style="left:0px; top:19px; width:66; height:23px; vertical-align:middle; ">병리번호</caption>
  4368. <caption id="caption34" class="cell_1" style="left:149px; top:19px; width:66px; height:23px; vertical-align:middle; ">환자명</caption>
  4369. <caption id="caption36" class="cell_1" style="left:301px; top:19px; width:80px; height:23px; vertical-align:middle; ">주민번호</caption>
  4370. <caption id="caption47" class="cell_1" style="left:149px; top:43px; width:66px; height:23px; vertical-align:middle; ">성별/나이</caption>
  4371. <caption id="caption48" class="cell_1" style="left:483px; top:43px; width:61px; height:23px; vertical-align:middle; ">처방일</caption>
  4372. <caption id="caption49" class="cell_1" style="left:483px; top:67px; width:61px; height:23px; vertical-align:middle; ">접수일</caption>
  4373. <caption id="caption50" class="cell_1" style="left:620px; top:19px; width:50px; height:23px; vertical-align:middle; ">주치의</caption>
  4374. <caption id="caption51" class="cell_1" style="left:620px; top:43px; width:50px; height:23px; vertical-align:middle; ">담당의</caption>
  4375. <caption id="caption52" class="cell_1" style="left:620px; top:67px; width:50px; height:23px; vertical-align:middle; ">보고일</caption>
  4376. <output id="output29" ref="/root/main/testrslt/testcdlist/orddrnm" class="output_fix" appearance="output" style="left:673px; top:20px; width:78px; height:19px; "/>
  4377. <output id="output30" ref="/root/main/testrslt/testcdlist/atdoctnm" class="output_fix" appearance="output" style="left:673px; top:44px; width:78px; height:19px; "/>
  4378. <line id="line27" class="line_1" style="x1:762px; y1:600px; x2:1190px; y2:600px; "/>
  4379. <caption id="caption56" class="tit_2" style="left:767px; top:585px; width:100px; height:13px; ">이전 병리결과</caption>
  4380. <line id="line28" class="line_1" style="x1:1085px; y1:339px; x2:1194px; y2:339px; "/>
  4381. <caption id="caption57" class="tit_2" style="left:1089px; top:324px; width:102px; height:13px; ">관련 병리번호</caption>
  4382. <caption id="caption59" class="cell_1" style="left:301px; top:91px; width:80px; height:23px; vertical-align:middle; ">기타정보</caption>
  4383. <line id="line30" class="line_1" style="x1:945px; y1:14px; x2:1193px; y2:14px; "/>
  4384. <line id="line3" class="line_1" style="x1:762px; y1:14px; x2:941px; y2:14px; "/>
  4385. <caption id="caption2" class="tit_2" style="left:767px; top:0px; width:95px; height:14px; ">기타정보</caption>
  4386. <caption id="caption3" class="tit_2" style="left:948px; top:0px; width:95px; height:13px; ">판독의사</caption>
  4387. <line id="line4" class="line_1" style="x1:762px; y1:339px; x2:1080px; y2:339px; "/>
  4388. <caption id="caption4" class="tit_2" style="left:767px; top:324px; width:161px; height:13px; ">특수/면역 결과</caption>
  4389. <output id="opt_orddd" ref="/root/main/testrslt/testcdlist/prcpdd" class="output_fix" format="yyyy-mm-dd" appearance="output" style="left:547px; top:44px; width:70px; height:19px; "/>
  4390. <output id="opt_acptdd" ref="/root/main/testrslt/patinfo/acptdd" class="output_fix" format="yyyy-mm-dd" appearance="output" style="left:547px; top:68px; width:70px; height:19px; "/>
  4391. <datagrid id="grd_refptno" nodeset="/root/main/testrslt/relaptnolist" caption="instcd^pid^병리번호^병리번호" colsep="^" colwidth="0, 0, 0, 92" dataheight="25" extendlastcol="scroll" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" style="left:1084px; top:345px; width:109px; height:230px; ">
  4392. <col ref="instcd"/>
  4393. <col ref="pid"/>
  4394. <col ref="ptno"/>
  4395. <col ref="dispptno" style="text-decoration:underline; "/>
  4396. <script type="javascript" ev:event="ondblclick">
  4397. <![CDATA[
  4398. lpzfExePtNoClick("RSLT", grd_refptno, "/root/main/testrslt/relaptnolist");
  4399. ]]>
  4400. </script>
  4401. </datagrid>
  4402. <line id="line5" class="line_3" style="x1:0px; y1:114px; x2:751px; y2:114px; "/>
  4403. <switch id="swt_testrslt" class="sw_box" style="left:1px; top:142px; width:758px; height:863px; border-color:#c7a3cf; border-style:solid; ">
  4404. <case id="casesepo" selected="true">
  4405. <caption id="caption9" class="tit_2" style="left:10px; top:11; width:100px; height:14px; ">1차 결과</caption>
  4406. <line id="line6" class="line_1" style="x1:5px; y1:26; x2:503px; y2:26; "/>
  4407. <line id="line7" class="line_3" style="x1:5px; y1:174px; x2:503px; y2:174px; "/>
  4408. <button id="btn_search21" class="icon_search" style="left:485px; top:6px; width:16px; height:16px; ">
  4409. <caption/>
  4410. <script type="javascript" ev:event="DOMActivate">
  4411. <![CDATA[
  4412. fExeSepoResnCall("1");
  4413. ]]>
  4414. </script>
  4415. </button>
  4416. <datagrid id="grd_screeners1" nodeset="/root/main/testrslt/sepouserlist1" caption="선택^기관코드^사원번호^스크리너^jobkindcd^rgstdd^rgstno^userrgstdd^정렬^ptno^orgdispseqno" colsep="^" colwidth="30, 0, 77, 77, 0, 0, 0, 0, 40, 0, 0" dataheight="25" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheight="32" rowsep="|" style="left:507px; top:31px; width:243px; height:142; ">
  4417. <col ref="choi" type="checkbox"/>
  4418. <col ref="instcd"/>
  4419. <col ref="userid"/>
  4420. <col ref="usernm"/>
  4421. <col ref="jobkindcd"/>
  4422. <col ref="rgstdd"/>
  4423. <col ref="rgstno"/>
  4424. <col ref="userrgstdd"/>
  4425. <col ref="dispseqno" type="input" format="#,###" mask="exclude" maxlength="3"/>
  4426. <col ref="ptno"/>
  4427. <col ref="orgdispseqno"/>
  4428. <script type="javascript" ev:event="onclick">
  4429. <![CDATA[
  4430. fExeClickReadDoct(grd_screeners1, grd_screeners1.row, "/root/main/testrslt/sepouserlist1", cap_sepo1list, "S1");
  4431. ]]>
  4432. </script>
  4433. </datagrid>
  4434. <caption id="caption16" class="tit_2" style="left:512px; top:11px; width:100px; height:14px; ">1차 스크리너</caption>
  4435. <line id="line8" class="line_1" style="x1:507px; y1:26px; x2:750px; y2:26px; "/>
  4436. <line id="line9" class="line_3" style="x1:507px; y1:174px; x2:750px; y2:174px; "/>
  4437. <line id="line10" class="line_1" style="x1:507px; y1:199px; x2:750px; y2:199px; "/>
  4438. <line id="line11" class="line_3" style="x1:507px; y1:256px; x2:750px; y2:256px; "/>
  4439. <button id="button4" class="icon_search" style="left:485px; top:179px; width:16px; height:16px; ">
  4440. <caption/>
  4441. <script type="javascript" ev:event="DOMActivate">
  4442. <![CDATA[
  4443. fExeSepoResnCall("2");
  4444. ]]>
  4445. </script>
  4446. </button>
  4447. <caption id="caption22" class="tit_2" style="left:512px; top:184px; width:100px; height:13px; ">2차 스크리너</caption>
  4448. <caption id="caption23" class="tit_2" style="left:10px; top:184px; width:100px; height:13px; ">2차 결과</caption>
  4449. <line id="line17" class="line_1" style="x1:5px; y1:199px; x2:503px; y2:199px; "/>
  4450. <line id="line20" class="line_3" style="x1:5px; y1:256px; x2:503px; y2:256px; "/>
  4451. <line id="line25" class="line_3" style="x1:5px; y1:591px; x2:503px; y2:591px; "/>
  4452. <line id="line26" class="line_1" style="x1:507px; y1:282px; x2:750px; y2:282px; "/>
  4453. <line id="line29" class="line_3" style="x1:507px; y1:591px; x2:750px; y2:591px; "/>
  4454. <caption id="caption25" class="tit_2" style="left:512px; top:267px; width:100px; height:13px; ">T/P/M</caption>
  4455. <caption id="caption26" class="tit_2" style="left:10px; top:267px; width:100px; height:13px; ">진단</caption>
  4456. <line id="line31" class="line_1" style="x1:5px; y1:282px; x2:503px; y2:282px; "/>
  4457. <caption id="caption27" class="cell_1" style="left:507px; top:287px; width:80px; height:23px; text-align:center; vertical-align:middle; ">채취부위(T)</caption>
  4458. <caption id="caption28" class="cell_1" style="left:507px; top:335px; width:80px; height:23px; text-align:center; vertical-align:middle; ">진 단(M)</caption>
  4459. <caption id="caption29" class="cell_1" style="left:507px; top:311px; width:80px; height:23px; text-align:center; vertical-align:middle; ">채취방법(P)</caption>
  4460. <input id="output4" ref="/root/main/testrslt/patinfo/spcnm" class="input_default" appearance="input" style="left:590px; top:288px; width:160px; height:19px; ">
  4461. <script type="javascript" ev:event="xforms-value-changed">
  4462. <![CDATA[
  4463. model.setValue("/root/main/testrslt/patinfo/spcnm" , output4.currentText );
  4464. ]]>
  4465. </script>
  4466. </input>
  4467. <input id="ipt_mcont1003" ref="/root/main/testrslt/testrsltinfoh/diagcnts" class="input_default" style="left:590px; top:336px; width:143px; height:19px; ">
  4468. <script type="javascript" ev:event="onkeypress">
  4469. <![CDATA[
  4470. fExeDiagInpt(ipt_mcont1003, "/root/main/testrslt/testrsltinfoh/rsltcnts3", tar_lastrslt1003);
  4471. ]]>
  4472. </script>
  4473. </input>
  4474. <line id="line69" class="line_1" style="x1:5px; y1:538px; x2:750px; y2:538px; "/>
  4475. <caption id="caption85" class="tit_2" style="left:10px; top:523px; width:144px; height:14px; ">Other</caption>
  4476. <textarea id="tar_fstrslt1003" style="left:5px; top:31px; width:498px; height:142px; font-family:굴림체; font-size:9pt; ">
  4477. <script type="javascript" ev:event="ondblclick">
  4478. <![CDATA[
  4479. fExeCntsView("1차 결과", document.controls(event.currentTarget));
  4480. ]]>
  4481. </script>
  4482. <script type="javascript" ev:event="onclick">
  4483. <![CDATA[
  4484. _ContentObject = document.controls(event.currentTarget);
  4485. ]]>
  4486. </script>
  4487. </textarea>
  4488. <textarea id="tar_scndrslt1003" style="left:5px; top:204px; width:498px; height:51px; font-family:굴림체; font-size:9pt; ">
  4489. <script type="javascript" ev:event="ondblclick">
  4490. <![CDATA[
  4491. fExeCntsView("2차 결과", document.controls(event.currentTarget));
  4492. ]]>
  4493. </script>
  4494. <script type="javascript" ev:event="onclick">
  4495. <![CDATA[
  4496. _ContentObject = document.controls(event.currentTarget);
  4497. ]]>
  4498. </script>
  4499. </textarea>
  4500. <textarea id="tar_lastrslt1003" style="left:5px; top:287px; width:498px; height:224px; font-family:굴림체; font-size:9pt; ">
  4501. <script type="javascript" ev:event="ondblclick">
  4502. <![CDATA[
  4503. fExeCntsView("최종결과", document.controls(event.currentTarget));
  4504. ]]>
  4505. </script>
  4506. <script type="javascript" ev:event="onclick">
  4507. <![CDATA[
  4508. _ContentObject = document.controls(event.currentTarget);
  4509. ]]>
  4510. </script>
  4511. </textarea>
  4512. <textarea id="tar_cmtcnts1003" style="left:5px; top:544px; width:740px; height:46px; font-family:굴림체; font-size:9pt; letter-spacing:1; ">
  4513. <script type="javascript" ev:event="ondblclick">
  4514. <![CDATA[
  4515. fExeCntsView("Comments", document.controls(event.currentTarget));
  4516. ]]>
  4517. </script>
  4518. </textarea>
  4519. <datagrid id="grd_screeners2" nodeset="/root/main/testrslt/sepouserlist2" caption="선택^기관코드^사원번호^스크리너^jobkindcd^rgstdd^rgstno^userrgstdd^정렬^ptno^orgdispseqno" colsep="^" colwidth="30, 0, 77, 77, 0, 0, 0, 0, 40, 0, 0" dataheight="25" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheight="32" rowsep="|" style="left:507px; top:204px; width:243px; height:51px; ">
  4520. <col ref="choi" type="checkbox"/>
  4521. <col ref="instcd"/>
  4522. <col ref="userid"/>
  4523. <col ref="usernm"/>
  4524. <col ref="jobkindcd"/>
  4525. <col ref="rgstdd"/>
  4526. <col ref="rgstno"/>
  4527. <col ref="userrgstdd"/>
  4528. <col ref="dispseqno" type="input" format="#,###" mask="exclude" maxlength="3"/>
  4529. <col ref="ptno"/>
  4530. <col ref="orgdispseqno"/>
  4531. <script type="javascript" ev:event="onclick">
  4532. <![CDATA[
  4533. fExeClickReadDoct(grd_screeners2, grd_screeners2.row, "/root/main/testrslt/sepouserlist2", cap_sepo2list, "S2");
  4534. ]]>
  4535. </script>
  4536. </datagrid>
  4537. <line id="line83" class="line_2" style="x1:507px; y1:309px; x2:750px; y2:309px; "/>
  4538. <line id="line84" class="line_2" style="x1:507px; y1:333px; x2:750px; y2:333px; "/>
  4539. <iviewer id="iviewer1" visibility="hidden" src="SPLPR01300_viewer.xrw" style="left:290px; top:5px; width:65px; height:15px; border-style:sunken; "/>
  4540. <select1 id="cmb_pcont1003" ref="/root/hidden/testcd" class="combo_default" navindex="4" appearance="minimal" editmode="input" style="left:590px; top:312px; width:160px; height:19px; ">
  4541. <choices>
  4542. <itemset nodeset="/root/main/testrslt/testcdlist">
  4543. <label ref="testnm"/>
  4544. <value ref="testcd"/>
  4545. </itemset>
  4546. </choices>
  4547. <script type="javascript" ev:event="xforms-value-changed">
  4548. <![CDATA[
  4549. model.setValue("/root/hidden/testcd" , cmb_pcont1003.value );
  4550. ]]>
  4551. </script>
  4552. </select1>
  4553. <button id="btn_spcadd" class="btn2_letter6" navindex="23" style="left:395px; top:179px; width:86px; height:19px; ">
  4554. <caption>1차결과 복사</caption>
  4555. <script type="javascript" ev:event="DOMActivate">
  4556. <![CDATA[
  4557. fExeRsltCopy("1");
  4558. ]]>
  4559. </script>
  4560. </button>
  4561. <button id="button1" class="btn2_letter6" navindex="23" style="left:394px; top:262px; width:86px; height:19px; ">
  4562. <caption>2차결과 복사</caption>
  4563. <script type="javascript" ev:event="DOMActivate">
  4564. <![CDATA[
  4565. fExeRsltCopy("2");
  4566. ]]>
  4567. </script>
  4568. </button>
  4569. <caption id="caption74" class="cell_1" style="left:507px; top:360px; width:80px; height:23px; text-align:center; vertical-align:middle; ">판 정 등 급</caption>
  4570. <line id="line85" class="line_3" style="x1:507px; y1:382px; x2:750px; y2:382px; "/>
  4571. <input id="ipt_readgrade" ref="/root/main/testrslt/testrsltinfoh/readgrade" class="input_default" maxlength="30" style="left:590px; top:361px; width:160px; height:19px; ">
  4572. <script type="javascript" ev:event="onkeypress">
  4573. <![CDATA[
  4574. fExeDiagInpt(ipt_mcont1003, "/root/main/testrslt/testrsltinfoh/rsltcnts3");
  4575. ]]>
  4576. </script>
  4577. </input>
  4578. <caption id="cap_sepo1list" ref="/root/hidden/sepo1list" style="left:610px; top:11px; width:140px; height:13px; font-family:굴림체; font-size:9pt; font-weight:bold; color:#0000ff; ">판독의사</caption>
  4579. <caption id="cap_sepo2list" ref="/root/hidden/sepo2list" style="left:610px; top:184px; width:140px; height:13px; font-family:굴림체; font-size:9pt; font-weight:bold; color:#0000ff; ">판독의사</caption>
  4580. <button id="btn_copy3" class="btn2_letter6" navindex="23" style="left:307px; top:262px; width:86px; height:19px; ">
  4581. <caption>1차결과 복사</caption>
  4582. <script type="javascript" ev:event="DOMActivate">
  4583. <![CDATA[
  4584. fExeRsltCopy("3");
  4585. ]]>
  4586. </script>
  4587. </button>
  4588. <button id="button3" class="icon_search" style="left:485px; top:262px; width:16px; height:16px; ">
  4589. <caption/>
  4590. <script type="javascript" ev:event="DOMActivate">
  4591. <![CDATA[
  4592. fExeSepoResnCall("3");
  4593. ]]>
  4594. </script>
  4595. </button>
  4596. <button id="btn_exmp1003cmt" class="btn2_letter4" style="left:686px; top:517px; width:64px; height:19px; ">
  4597. <caption>결과예문</caption>
  4598. <script type="javascript" ev:event="DOMActivate">
  4599. <![CDATA[
  4600. fExeExmpCall(tar_cmtcnts1003, "/root/main/testrslt/testrsltinfoh/cmtcnts", "4");
  4601. ]]>
  4602. </script>
  4603. </button>
  4604. <button id="btn_diag1003" style="left:736px; top:426px; width:14px; height:16px; background-image:../../../com/commonweb/images/icon_search.gif; ">
  4605. <caption/>
  4606. <script type="javascript" ev:event="DOMActivate">
  4607. <![CDATA[
  4608. fExeDiagPopup();
  4609. ]]>
  4610. </script>
  4611. </button>
  4612. <output id="opt_diag1003" ref="/root/main/testrslt/testrsltinfoh/diagcd" visibility="hidden" style="left:510px; top:485px; width:40px; height:19px; "/>
  4613. <line id="line97" class="line_2" style="x1:507px; y1:358px; x2:742px; y2:358px; "/>
  4614. </case>
  4615. <case id="casefrozen">
  4616. <line id="line37" class="line_1" style="x1:5px; y1:26; x2:750px; y2:26; "/>
  4617. <caption id="caption86" class="tit_2" style="left:10px; top:100px; width:100px; height:13px; ">현미경 소견</caption>
  4618. <line id="line70" class="line_1" style="x1:5px; y1:115px; x2:750px; y2:115px; "/>
  4619. <line id="line71" class="line_3" style="x1:5px; y1:179px; x2:750px; y2:179px; "/>
  4620. <line id="line72" class="line_3" style="x1:5px; y1:591px; x2:750px; y2:591px; "/>
  4621. <caption id="caption87" class="cell_1" style="left:176px; top:317px; width:26px; height:19px; text-align:center; vertical-align:middle; ">T</caption>
  4622. <line id="line73" class="line_3" style="x1:5px; y1:512px; x2:750px; y2:512px; "/>
  4623. <line id="line74" class="line_1" style="x1:5px; y1:538px; x2:750px; y2:538px; "/>
  4624. <caption id="caption88" class="tit_2" style="left:10px; top:523px; width:144px; height:13px; ">Comments</caption>
  4625. <caption id="caption89" class="cell_1" style="left:492px; top:317px; width:26px; height:19px; text-align:center; vertical-align:middle; ">M</caption>
  4626. <line id="line75" class="line_3" style="x1:5px; y1:90px; x2:750px; y2:90px; "/>
  4627. <caption id="caption90" class="cell_1" style="left:316px; top:317px; width:26px; height:19px; text-align:center; vertical-align:middle; ">P</caption>
  4628. <caption id="caption91" class="tit_2" style="left:10px; top:11px; width:85px; height:13px; ">육안소견</caption>
  4629. <input id="output21" ref="/root/main/testrslt/patinfo/spcnm" class="input_default" appearance="input" style="left:205px; top:317px; width:108px; height:19px; ">
  4630. <script type="javascript" ev:event="xforms-value-changed">
  4631. <![CDATA[
  4632. model.setValue("/root/main/testrslt/patinfo/spcnm" , output21.currentText );
  4633. ]]>
  4634. </script>
  4635. </input>
  4636. <caption id="caption92" class="tit_2" style="left:10px; top:189px; width:100px; height:14px; ">Frozen 결과</caption>
  4637. <line id="line76" class="line_1" style="x1:5px; y1:204px; x2:750px; y2:204px; "/>
  4638. <line id="line77" class="line_3" style="x1:5px; y1:311px; x2:750px; y2:311px; "/>
  4639. <caption id="caption93" class="tit_2" style="left:10px; top:321px; width:135px; height:13px; ">Frozen Permanent</caption>
  4640. <line id="line78" class="line_1" style="x1:5px; y1:337px; x2:750px; y2:337px; "/>
  4641. <textarea id="tar_cmtcnts1002" style="left:5px; top:544px; width:740px; height:46px; font-family:굴림체; font-size:9pt; letter-spacing:1; ">
  4642. <script type="javascript" ev:event="ondblclick">
  4643. <![CDATA[
  4644. fExeCntsView("Comments", document.controls(event.currentTarget));
  4645. ]]>
  4646. </script>
  4647. <script type="javascript" ev:event="onclick">
  4648. <![CDATA[
  4649. _ContentObject = document.controls(event.currentTarget);
  4650. ]]>
  4651. </script>
  4652. </textarea>
  4653. <textarea id="tar_readcnts1002" visibility="hidden" style="left:170px; top:515px; width:45px; height:21px; "/>
  4654. <textarea id="tar_frozencnts1002" style="left:5px; top:342px; width:740px; height:169px; font-family:굴림체; font-size:9pt; letter-spacing:1; ">
  4655. <script type="javascript" ev:event="ondblclick">
  4656. <![CDATA[
  4657. fExeCntsView("Frozen Permanant", document.controls(event.currentTarget));
  4658. ]]>
  4659. </script>
  4660. <script type="javascript" ev:event="onclick">
  4661. <![CDATA[
  4662. _ContentObject = document.controls(event.currentTarget);
  4663. ]]>
  4664. </script>
  4665. </textarea>
  4666. <textarea id="tar_mscopcnts1002" style="left:5px; top:120px; width:740px; height:58px; font-family:굴림체; font-size:9pt; letter-spacing:1; ">
  4667. <script type="javascript" ev:event="ondblclick">
  4668. <![CDATA[
  4669. fExeCntsView("현미경 소견", document.controls(event.currentTarget));
  4670. ]]>
  4671. </script>
  4672. <script type="javascript" ev:event="onclick">
  4673. <![CDATA[
  4674. _ContentObject = document.controls(event.currentTarget);
  4675. ]]>
  4676. </script>
  4677. </textarea>
  4678. <textarea id="tar_groscnts1002" ref="/root/main/testrslt/testrslttbl/grossrslt" style="left:5px; top:31px; width:740px; height:58px; font-family:굴림체; font-size:9pt; letter-spacing:1; ">
  4679. <script type="javascript" ev:event="ondblclick">
  4680. <![CDATA[
  4681. fExeCntsView("육안소견", document.controls(event.currentTarget));
  4682. ]]>
  4683. </script>
  4684. <script type="javascript" ev:event="onclick">
  4685. <![CDATA[
  4686. _ContentObject = document.controls(event.currentTarget);
  4687. ]]>
  4688. </script>
  4689. </textarea>
  4690. <output id="opt_grostestrecnm1002" class="output_fix" style="left:271px; top:5px; width:100px; height:19px; "/>
  4691. <datagrid id="grd_frzncstelist" nodeset="/root/main/testrslt/frzncstelist" class="datagrid2" caption="instcd^ptno^dispptno^spcacptdd^spcacptno^검체코드^검체명^세부&#xA;검체^Cassette&#xA;번호^Cassette&#xA;내용^접수일자^접수시간^입고일자^입고시간^판독일자^판독시간^판독결과^판독의명1^판독의사1^판독의명2^판독의사2^판독의명3^판독의사3^Comment^등록번호" colsep="^" colwidth="0, 0, 0, 0, 0, 0, 85, 0, 0, 60, 0, 54, 0, 54, 0, 54, 130, 14, 60, 13, 60, 13, 70, 68, 100" dataheight="25" forecolorfrozen="#339966" frozencols="6" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="32" rowsep="|" navindex="7" style="left:5px; top:209px; width:740px; height:101; border-color:#c0c0c0; border-style:solid; ">
  4692. <col ref="instcd"/>
  4693. <col ref="ptno"/>
  4694. <col ref="dispptno"/>
  4695. <col ref="spcacptdd"/>
  4696. <col ref="spcacptno"/>
  4697. <col ref="spccd"/>
  4698. <col ref="spcnm"/>
  4699. <col ref="spcacptseqno"/>
  4700. <col ref="csteno"/>
  4701. <col ref="cstecnts"/>
  4702. <col ref="acptdd" type="inputdate"/>
  4703. <col ref="acpttm" type="input" format="99:99:99" mask="exclude" showmask="true"/>
  4704. <col ref="indd" type="inputdate"/>
  4705. <col ref="intm" type="input" format="99:99:99" mask="exclude" showmask="true"/>
  4706. <col ref="readdd" type="inputdate"/>
  4707. <col ref="readtm" type="input" format="99:99:99" mask="exclude" showmask="true"/>
  4708. <col ref="readrslt" type="input"/>
  4709. <col ref="readdrnm1" visibility="hidden"/>
  4710. <col ref="readdrid1" type="combo">
  4711. <choices>
  4712. <itemset nodeset="/root/main/testrslt/readdoctlist[jobkindcd='1']">
  4713. <label ref="usernm"/>
  4714. <value ref="userid"/>
  4715. </itemset>
  4716. </choices>
  4717. </col>
  4718. <col ref="readdrnm2" visibility="hidden"/>
  4719. <col ref="readdrid2" type="combo" style="left:690px; top:32px; width:100px; height:25px; ">
  4720. <choices>
  4721. <itemset nodeset="/root/main/testrslt/readdoctlist[jobkindcd='1']">
  4722. <label ref="usernm"/>
  4723. <value ref="userid"/>
  4724. </itemset>
  4725. </choices>
  4726. </col>
  4727. <col ref="readdrnm3" visibility="hidden"/>
  4728. <col ref="readdrid3" type="combo">
  4729. <choices>
  4730. <itemset nodeset="/root/main/testrslt/readdoctlist[jobkindcd='1']">
  4731. <label ref="usernm"/>
  4732. <value ref="userid"/>
  4733. </itemset>
  4734. </choices>
  4735. </col>
  4736. <col ref="cmtcnts" type="input"/>
  4737. <col ref="pid" visibility="hidden"/>
  4738. </datagrid>
  4739. <input id="ipt_mcont1002" ref="/root/main/testrslt/testrsltinfoh/diagcnts" class="input_default" style="left:521px; top:317px; width:145; height:19px; ">
  4740. <script type="javascript" ev:event="onkeypress">
  4741. <![CDATA[
  4742. fExeDiagInpt(ipt_mcont1002, "/root/main/testrslt/testrsltinfoh/rsltcnts3", tar_frozencnts1002);
  4743. ]]>
  4744. </script>
  4745. </input>
  4746. <select1 id="cmb_pcont1002" ref="/root/hidden/testcd" class="combo_default" navindex="4" appearance="minimal" editmode="input" style="left:345px; top:317px; width:144px; height:19px; ">
  4747. <choices>
  4748. <itemset nodeset="/root/main/testrslt/testcdlist">
  4749. <label ref="testnm"/>
  4750. <value ref="testcd"/>
  4751. </itemset>
  4752. </choices>
  4753. <script type="javascript" ev:event="xforms-value-changed">
  4754. <![CDATA[
  4755. model.setValue("/root/hidden/testcd" , cmb_pcont1002.value );
  4756. ]]>
  4757. </script>
  4758. </select1>
  4759. <button id="btn_exmp100201" class="btn2_letter4" style="left:686px; top:5px; width:64px; height:19px; ">
  4760. <caption>결과예문</caption>
  4761. <script type="javascript" ev:event="DOMActivate">
  4762. <![CDATA[
  4763. fExeExmpCall(tar_groscnts1002, "/root/main/testrslt/testrsltinfoh/rsltcnts1", "1");
  4764. ]]>
  4765. </script>
  4766. </button>
  4767. <button id="btn_exmp100202" class="btn2_letter4" style="left:686px; top:95px; width:64px; height:19px; ">
  4768. <caption>결과예문</caption>
  4769. <script type="javascript" ev:event="DOMActivate">
  4770. <![CDATA[
  4771. fExeExmpCall(tar_mscopcnts1002, "/root/main/testrslt/testrsltinfoh/rsltcnts2", "2");
  4772. ]]>
  4773. </script>
  4774. </button>
  4775. <button id="btn_exmp100203" class="btn2_letter4" style="left:686px; top:316px; width:64px; height:19px; ">
  4776. <caption>결과예문</caption>
  4777. <script type="javascript" ev:event="DOMActivate">
  4778. <![CDATA[
  4779. fExeExmpCall(tar_frozencnts1002, "/root/main/testrslt/testrsltinfoh/rsltcnts3", "3");
  4780. ]]>
  4781. </script>
  4782. </button>
  4783. <button id="btn_exmp1002cmt" class="btn2_letter4" style="left:686px; top:517px; width:64px; height:19px; ">
  4784. <caption>결과예문</caption>
  4785. <script type="javascript" ev:event="DOMActivate">
  4786. <![CDATA[
  4787. fExeExmpCall(tar_cmtcnts1002, "/root/main/testrslt/testrsltinfoh/cmtcnts", "4");
  4788. ]]>
  4789. </script>
  4790. </button>
  4791. <output id="opt_grosdd1002" class="output_fix" format="yyyy-mm-dd" style="left:85px; top:5px; width:100px; height:19px; "/>
  4792. <output id="opt_grostm1002" class="output_fix" format="hh:nn:ss" style="left:188px; top:5px; width:80px; height:19px; "/>
  4793. <button id="btn_grossave1002" class="btn2_letter5" style="left:530px; top:5px; width:75px; height:19px; ">
  4794. <caption>Gross저장</caption>
  4795. <script type="javascript" ev:event="DOMActivate">
  4796. <![CDATA[
  4797. fExeTestRsltSave("GROS", "1");
  4798. ]]>
  4799. </script>
  4800. </button>
  4801. <button id="btn_grosprnt1002" class="btn2_letter5" style="left:608px; top:5px; width:75px; height:19px; ">
  4802. <caption>Gross출력</caption>
  4803. <script type="javascript" ev:event="DOMActivate">
  4804. <![CDATA[
  4805. fExeGrosPrnt();
  4806. ]]>
  4807. </script>
  4808. </button>
  4809. <button id="btn_diag1002" style="left:668px; top:317px; width:14px; height:16px; background-image:../../../com/commonweb/images/icon_search.gif; ">
  4810. <caption/>
  4811. <script type="javascript" ev:event="DOMActivate">
  4812. <![CDATA[
  4813. fExeDiagPopup();
  4814. ]]>
  4815. </script>
  4816. </button>
  4817. <output id="opt_diag1002" ref="/root/main/testrslt/testrsltinfoh/diagcd" visibility="hidden" style="left:320px; top:515px; width:40px; height:19px; "/>
  4818. <button id="button9" class="btn2_letter4" style="left:462px; top:5px; width:64px; height:19px; ">
  4819. <caption>블럭생성</caption>
  4820. <script type="javascript" ev:event="DOMActivate">
  4821. <![CDATA[
  4822. fExeBlockCall();
  4823. ]]>
  4824. </script>
  4825. </button>
  4826. </case>
  4827. <case id="casejojig">
  4828. <caption id="caption37" class="tit_2" style="left:10px; top:523px; width:144px; height:13px; ">Comments</caption>
  4829. <line id="line16" class="line_3" style="x1:5px; y1:591px; x2:750px; y2:591px; "/>
  4830. <line id="line18" class="line_1" style="x1:5px; y1:538px; x2:750px; y2:538px; "/>
  4831. <line id="line19" class="line_3" style="x1:5px; y1:112px; x2:750px; y2:112px; "/>
  4832. <caption id="caption39" class="tit_2" style="left:10px; top:11px; width:69px; height:14px; ">육안소견</caption>
  4833. <caption id="caption40" class="tit_2" autoresize="true" style="left:10px; top:330px; width:95px; height:14px; ">진단</caption>
  4834. <line id="line21" class="line_1" style="x1:5px; y1:26; x2:750px; y2:26; "/>
  4835. <line id="line22" class="line_1" style="x1:5px; y1:345px; x2:750px; y2:345px; "/>
  4836. <caption id="caption41" class="tit_2" style="left:10px; top:124px; width:100px; height:14px; ">현미경 소견</caption>
  4837. <line id="line23" class="line_1" style="x1:5px; y1:139px; x2:750px; y2:139px; "/>
  4838. <line id="line24" class="line_3" style="x1:5px; y1:318px; x2:750px; y2:318px; "/>
  4839. <line id="line2" class="line_3" style="x1:5px; y1:511px; x2:750px; y2:511px; "/>
  4840. <caption id="caption5" class="cell_1" style="left:121; top:325px; width:26px; height:19px; text-align:center; vertical-align:middle; ">T</caption>
  4841. <caption id="caption7" class="cell_1" style="left:479px; top:325px; width:26px; height:19px; text-align:center; vertical-align:middle; ">M</caption>
  4842. <caption id="caption8" class="cell_1" style="left:285; top:325px; width:26px; height:19px; text-align:center; vertical-align:middle; ">P</caption>
  4843. <output id="opt_grostestrecnm1001" ref="/root/main/testrslt/testrsltinfoh/grostestrecnm" class="output_fix" style="left:262px; top:6px; width:91px; height:19px; "/>
  4844. <textarea id="tar_cmtcnts1001" ref="/root/main/testrslt/testrsltinfoh/cmtcnts" style="left:5px; top:544px; width:740px; height:46px; font-family:굴림체; font-size:9pt; letter-spacing:1; ">
  4845. <script type="javascript" ev:event="ondblclick">
  4846. <![CDATA[
  4847. fExeCntsView("Comments", document.controls(event.currentTarget));
  4848. ]]>
  4849. </script>
  4850. <script type="javascript" ev:event="onclick">
  4851. <![CDATA[
  4852. _ContentObject = document.controls(event.currentTarget);
  4853. ]]>
  4854. </script>
  4855. </textarea>
  4856. <textarea id="tar_groscnts1001" ref="/root/main/testrslt/testrsltinfoh/rsltcnts1" style="left:5px; top:31px; width:740px; height:80px; font-family:굴림체; font-size:9pt; letter-spacing:1; ">
  4857. <script type="javascript" ev:event="ondblclick">
  4858. <![CDATA[
  4859. fExeCntsView("육안소견", document.controls(event.currentTarget));
  4860. ]]>
  4861. </script>
  4862. <script type="javascript" ev:event="onclick">
  4863. <![CDATA[
  4864. _ContentObject = document.controls(event.currentTarget);
  4865. ]]>
  4866. </script>
  4867. </textarea>
  4868. <textarea id="tar_mscopcnts1001" ref="/root/main/testrslt/testrsltinfoh/rsltcnts2" style="left:5px; top:144px; width:740px; height:173px; font-family:굴림체; font-size:9pt; letter-spacing:1; ">
  4869. <script type="javascript" ev:event="ondblclick">
  4870. <![CDATA[
  4871. fExeCntsView("현미경 소견", document.controls(event.currentTarget));
  4872. ]]>
  4873. </script>
  4874. <script type="javascript" ev:event="onclick">
  4875. <![CDATA[
  4876. _ContentObject = document.controls(event.currentTarget);
  4877. ]]>
  4878. </script>
  4879. </textarea>
  4880. <textarea id="tar_readcnts1001" ref="/root/main/testrslt/testrsltinfoh/rsltcnts3" style="left:5px; top:350px; width:740px; height:160px; font-family:굴림체; font-size:9pt; letter-spacing:1; ">
  4881. <script type="javascript" ev:event="ondblclick">
  4882. <![CDATA[
  4883. fExeCntsView("판독결과", document.controls(event.currentTarget));
  4884. ]]>
  4885. </script>
  4886. <script type="javascript" ev:event="onclick">
  4887. <![CDATA[
  4888. _ContentObject = document.controls(event.currentTarget);
  4889. ]]>
  4890. </script>
  4891. </textarea>
  4892. <input id="opt_tcont1001" ref="/root/main/testrslt/patinfo/spcnm" class="input_default" appearance="input" style="left:150; top:325px; width:132px; height:19px; ">
  4893. <script type="javascript" ev:event="xforms-value-changed">
  4894. <![CDATA[
  4895. model.setValue("/root/main/testrslt/patinfo/spcnm" , opt_tcont1001.currentText);
  4896. ]]>
  4897. </script>
  4898. </input>
  4899. <select1 id="cmb_pcont1001" ref="/root/hidden/testcd" class="combo_default" navindex="4" appearance="minimal" editmode="input" style="left:314; top:325px; width:162px; height:19px; ">
  4900. <choices>
  4901. <itemset nodeset="/root/main/testrslt/testcdlist">
  4902. <label ref="testnm"/>
  4903. <value ref="testcd"/>
  4904. </itemset>
  4905. </choices>
  4906. <script type="javascript" ev:event="xforms-value-changed">
  4907. <![CDATA[
  4908. model.setValue("/root/hidden/testcd" , cmb_pcont1001.value);
  4909. ]]>
  4910. </script>
  4911. </select1>
  4912. <input id="ipt_mcont1001" ref="/root/main/testrslt/testrsltinfoh/diagcnts" class="input_default" inputtype="button" style="left:508px; top:325px; width:158; height:19px; ">
  4913. <script type="javascript" ev:event="onpress">
  4914. <![CDATA[
  4915. fExeDiagInpt(ipt_mcont1001, "/root/main/testrslt/testrsltinfoh/rsltcnts3", tar_readcnts1001);
  4916. ]]>
  4917. </script>
  4918. <script type="javascript" ev:event="onbuttonclick">
  4919. <![CDATA[
  4920. fExeMcodePopUp();
  4921. model.refresh();
  4922. ]]>
  4923. </script>
  4924. </input>
  4925. <button id="btn_exmp100101" class="btn2_letter4" style="left:686px; top:5px; width:64px; height:19px; ">
  4926. <caption>결과예문</caption>
  4927. <script type="javascript" ev:event="DOMActivate">
  4928. <![CDATA[
  4929. fExeExmpCall(tar_groscnts1001, "/root/main/testrslt/testrsltinfoh/rsltcnts1", "1");
  4930. ]]>
  4931. </script>
  4932. </button>
  4933. <button id="btn_exmp100102" class="btn2_letter4" style="left:686px; top:118px; width:64px; height:19px; ">
  4934. <caption>결과예문</caption>
  4935. <script type="javascript" ev:event="DOMActivate">
  4936. <![CDATA[
  4937. fExeExmpCall(tar_mscopcnts1001, "/root/main/testrslt/testrsltinfoh/rsltcnts2", "2");
  4938. ]]>
  4939. </script>
  4940. </button>
  4941. <button id="btn_exmp100103" class="btn2_letter4" style="left:686px; top:324px; width:64px; height:19px; ">
  4942. <caption>결과예문</caption>
  4943. <script type="javascript" ev:event="DOMActivate">
  4944. <![CDATA[
  4945. fExeExmpCall(tar_readcnts1001, "/root/main/testrslt/testrsltinfoh/rsltcnts3", "3");
  4946. ]]>
  4947. </script>
  4948. </button>
  4949. <button id="btn_exmp1001cmt" class="btn2_letter4" style="left:686px; top:517px; width:64px; height:19px; ">
  4950. <caption>결과예문</caption>
  4951. <script type="javascript" ev:event="DOMActivate">
  4952. <![CDATA[
  4953. fExeExmpCall(tar_cmtcnts1001, "/root/main/testrslt/testrsltinfoh/cmtcnts", "4");
  4954. ]]>
  4955. </script>
  4956. </button>
  4957. <button id="btn_grossave" class="btn2_letter5" style="left:530px; top:5px; width:75px; height:19px; ">
  4958. <caption>Gross저장</caption>
  4959. <script type="javascript" ev:event="DOMActivate">
  4960. <![CDATA[
  4961. fExeTestRsltSave("GROS", "1");
  4962. ]]>
  4963. </script>
  4964. </button>
  4965. <output id="opt_grostm1001" ref="/root/main/testrslt/testrsltinfoh/grostestrectm" class="output_fix" format="hh:nn:ss" style="left:179px; top:6px; width:80; height:19px; "/>
  4966. <output id="opt_grosdd1001" ref="/root/main/testrslt/testrsltinfoh/grostestrecdd" class="output_fix" format="yyyy-mm-dd" style="left:85px; top:6px; width:91px; height:19px; "/>
  4967. <button id="btn_grosprnt1001" class="btn2_letter5" style="left:608px; top:5px; width:75px; height:19px; ">
  4968. <caption>Gross출력</caption>
  4969. <script type="javascript" ev:event="DOMActivate">
  4970. <![CDATA[
  4971. fExeGrosPrnt();
  4972. ]]>
  4973. </script>
  4974. </button>
  4975. <button id="btn_diag1001" style="left:668px; top:325px; width:14px; height:16px; background-image:../../../com/commonweb/images/icon_search.gif; ">
  4976. <caption/>
  4977. <script type="javascript" ev:event="DOMActivate">
  4978. <![CDATA[
  4979. fExeDiagPopup();
  4980. fExeDiagInpt(btn_diag1001, "/root/main/testrslt/testrsltinfoh/rsltcnts3", tar_readcnts1001);
  4981. ]]>
  4982. </script>
  4983. </button>
  4984. <output id="opt_diag1001" ref="/root/main/testrslt/testrsltinfoh/diagcd" visibility="hidden" style="left:320px; top:515px; width:40px; height:19px; "/>
  4985. <output id="output3" ref="/root/main/testrslt/patinfo/cstecnt" style="left:110px; top:120px; width:30px; height:19px; text-align:center; vertical-align:middle; "/>
  4986. <caption id="caption10" style="left:140px; top:123px; width:199px; height:13px; vertical-align:middle; ">개의 Block이 존재합니다.</caption>
  4987. <button id="btn_block" class="btn2_letter4" style="left:462px; top:5px; width:64px; height:19px; ">
  4988. <caption>블럭생성</caption>
  4989. <script type="javascript" ev:event="DOMActivate">
  4990. <![CDATA[
  4991. fExeBlockCall();
  4992. ]]>
  4993. </script>
  4994. </button>
  4995. </case>
  4996. <case id="casebunja">
  4997. <line id="line33" class="line_3" style="x1:5px; y1:591px; x2:750px; y2:591px; "/>
  4998. <caption id="caption33" class="cell_1" style="left:183px; top:210px; width:26px; height:19px; text-align:center; vertical-align:middle; ">T</caption>
  4999. <line id="line34" class="line_1" style="x1:5px; y1:538px; x2:750px; y2:538px; "/>
  5000. <caption id="caption42" class="tit_2" style="left:10px; top:523px; width:144px; height:13px; ">Comments</caption>
  5001. <line id="line35" class="line_3" style="x1:5px; y1:511px; x2:750px; y2:511px; "/>
  5002. <button id="button6" class="btn2_letter5" style="left:95px; top:210px; width:75px; height:19px; ">
  5003. <caption>이미지등록</caption>
  5004. <script type="javascript" ev:event="DOMActivate">
  5005. <![CDATA[
  5006. //추가 박중규 2008.09.23
  5007. //이미지등록 팝업을 위해서 추가.
  5008. var pid = model.getValue("/root/main/testrslt/patinfo/pid");
  5009. var ptnocd = model.getValue("/root/main/testrslt/testcdlist/ptnocd");
  5010. var ptno = model.getValue("/root/main/testrslt/testcdlist/ptno");
  5011. var sflag = pid + "▦" + ptnocd + "▦" + ptno.substr((ptno.length-8), 2) + "▦" + ptno.substr((ptno.length-6), 6);
  5012. setParameter("opener_parameter_id", sflag);
  5013. modal("SMLPR01800",0,100,150,"SMLPR01800","","");
  5014. ]]>
  5015. </script>
  5016. </button>
  5017. <caption id="caption43" class="cell_1" style="left:541px; top:210px; width:26px; height:19px; text-align:center; vertical-align:middle; ">M</caption>
  5018. <caption id="caption44" class="cell_1" style="left:347px; top:210px; width:26px; height:19px; text-align:center; vertical-align:middle; ">P</caption>
  5019. <line id="line36" class="line_1" style="x1:5px; y1:26px; x2:750px; y2:26px; "/>
  5020. <caption id="caption45" class="tit_2" style="left:10px; top:11px; width:145px; height:13px; ">Sample adequacy</caption>
  5021. <datagrid id="grd_moletestlist" nodeset="/root/main/testrslt/moletestlist" autoresize="true" caption="기관코드^ptno^병리번호^접수일자^접수번호^접수항목번호^검사코드^검사명^workflagcd^rsltrgstdd^rsltrgstno^검사결과^trandd^tranno^orgacptstatcd^orgprcpstatcd^prcpdd^execprcpuniqno^prcpgenrflag" colsep="^" colwidth="0, 0, 0, 0, 0, 0, 0, 314, 0, 0, 0, 390, 0, 0, 0, 0, 0, 0, 0" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:5px; top:235px; width:740px; height:125px; font-size:10pt; letter-spacing:1; ">
  5022. <col ref="instcd"/>
  5023. <col ref="ptno" style="text-align:center; vertical-align:middle; "/>
  5024. <col ref="dispptno"/>
  5025. <col ref="acptdd"/>
  5026. <col ref="acptno"/>
  5027. <col ref="acptitemno"/>
  5028. <col ref="testcd"/>
  5029. <col ref="testnm"/>
  5030. <col ref="workflagcd"/>
  5031. <col ref="rsltrgstdd"/>
  5032. <col ref="rsltrgstno"/>
  5033. <col ref="testrslt" type="inputbutton" maxlength="600"/>
  5034. <col ref="trandd"/>
  5035. <col ref="tranno"/>
  5036. <col ref="orgacptstatcd"/>
  5037. <col ref="orgprcpstatcd"/>
  5038. <col ref="prcpdd"/>
  5039. <col ref="execprcpuniqno"/>
  5040. <col ref="prcpgenrflag"/>
  5041. <script type="javascript" ev:event="ondblclick">
  5042. <![CDATA[
  5043. if(grd_moletestlist.colRef("testrslt") == grd_moletestlist.col && grd_moletestlist.row >= grd_moletestlist.fixedRows) {
  5044. //if (event.currentTarget == event.target) {
  5045. model.makeValue("/root/hidden/rtnnode", "/root/main/testrslt/moletestlist["+ grd_moletestlist.row +"]/testrslt");
  5046. model.makeValue("/root/hidden/rsltcont", model.getValue("/root/main/testrslt/moletestlist["+ grd_moletestlist.row +"]/testrslt"));
  5047. cap_title.value = "검사결과";
  5048. //fExeSetGrdLocation(grp_rsltcnts, 40, 70);// 그리드 그룹 위치 설정
  5049. fExeSetGrdLocation(grp_rsltcnts, 30, 20);// 그리드 그룹 위치 설정
  5050. grp_rsltcnts.visible = true;
  5051. model.setFocus("tar_rsltcnts");
  5052. //}
  5053. }
  5054. ]]>
  5055. </script>
  5056. <script type="javascript" ev:event="onbuttonclick">
  5057. <![CDATA[
  5058. fExeExmpCall(tar_extra, "/root/main/testrslt/moletestlist["+ grd_moletestlist.row +"]/testrslt", "4");
  5059. model.refresh();
  5060. ]]>
  5061. </script>
  5062. </datagrid>
  5063. <select1 id="cmb_pcont1007" ref="/root/hidden/testcd" class="combo_default" navindex="4" appearance="minimal" editmode="input" style="left:376px; top:210px; width:162px; height:19px; ">
  5064. <choices>
  5065. <itemset nodeset="/root/main/testrslt/testcdlist">
  5066. <label ref="testnm"/>
  5067. <value ref="testcd"/>
  5068. </itemset>
  5069. </choices>
  5070. <script type="javascript" ev:event="xforms-value-changed">
  5071. <![CDATA[
  5072. model.setValue ( "/root/hidden/testcd" , cmb_pcont1007.value );
  5073. ]]>
  5074. </script>
  5075. </select1>
  5076. <input id="ipt_mcont1007" ref="/root/main/testrslt/testrsltinfoh/diagcnts" class="input_default" style="left:570px; top:210px; width:158px; height:19px; ">
  5077. <script type="javascript" ev:event="onkeypress">
  5078. <![CDATA[
  5079. fExeDiagInpt(ipt_mcont1007, "/root/main/testrslt/testrsltinfoh/rsltcnts1", tar_readcnts1007);
  5080. ]]>
  5081. </script>
  5082. </input>
  5083. <textarea id="tar_readcnts1007" visibility="hidden" style="left:375px; top:510px; width:45px; height:24px; "/>
  5084. <input id="opt_tcont1007" ref="/root/main/testrslt/patinfo/spcnm" class="input_default" appearance="input" style="left:212px; top:210px; width:132px; height:19px; ">
  5085. <script type="javascript" ev:event="xforms-value-changed">
  5086. <![CDATA[
  5087. model.setValue ( "/root/main/testrslt/patinfo/spcnm" , opt_tcont1007.currentText );
  5088. ]]>
  5089. </script>
  5090. </input>
  5091. <button id="btn_exmp1007cmt" class="btn2_letter4" style="left:686px; top:517px; width:64px; height:19px; ">
  5092. <caption>결과예문</caption>
  5093. <script type="javascript" ev:event="DOMActivate">
  5094. <![CDATA[
  5095. fExeExmpCall(tar_cmtcnts1007, "/root/main/testrslt/testrsltinfoh/cmtcnts", "4");
  5096. ]]>
  5097. </script>
  5098. </button>
  5099. <textarea id="tar_cmtcnts1007" style="left:5px; top:544px; width:740px; height:46px; font-family:굴림체; font-size:9pt; letter-spacing:1; ">
  5100. <script type="javascript" ev:event="onclick">
  5101. <![CDATA[
  5102. _ContentObject = document.controls(event.currentTarget);
  5103. ]]>
  5104. </script>
  5105. </textarea>
  5106. <button id="btn_diag1007" style="left:731px; top:210px; width:14px; height:16px; background-image:../../../com/commonweb/images/icon_search.gif; ">
  5107. <caption/>
  5108. <script type="javascript" ev:event="DOMActivate">
  5109. <![CDATA[
  5110. fExeDiagPopup();
  5111. ]]>
  5112. </script>
  5113. </button>
  5114. <output id="opt_diag1007" ref="/root/main/testrslt/testrsltinfoh/diagcd" visibility="hidden" style="left:320px; top:515px; width:40px; height:19px; "/>
  5115. <line id="line90" class="line_1" style="x1:5px; y1:230px; x2:750px; y2:230px; "/>
  5116. <caption id="caption35" class="tit_2" style="left:10px; top:215px; width:69px; height:13px; ">검사결과</caption>
  5117. <caption id="caption38" class="tit_2" style="left:10px; top:370px; width:125px; height:13px; ">METHOD</caption>
  5118. <line id="line91" class="line_1" style="x1:5px; y1:384px; x2:750px; y2:384px; "/>
  5119. <textarea id="tar_ade" ref="/root/main/testrslt/testrsltinfoh/rsltcnts3" style="left:5px; top:31px; width:740px; height:80px; font-family:굴림체; font-size:9pt; letter-spacing:1; ">
  5120. <script type="javascript" ev:event="ondblclick">
  5121. <![CDATA[
  5122. fExeCntsView("Sample adequacy", document.controls(event.currentTarget));
  5123. ]]>
  5124. </script>
  5125. <script type="javascript" ev:event="onclick">
  5126. <![CDATA[
  5127. _ContentObject = document.controls(event.currentTarget);
  5128. ]]>
  5129. </script>
  5130. </textarea>
  5131. <textarea id="tar_extra" ref="/root/main/testrslt/testrsltinfoh/rsltcnts5" style="left:5px; top:390px; width:740px; height:120px; font-family:굴림체; font-size:9pt; letter-spacing:1; ">
  5132. <script type="javascript" ev:event="ondblclick">
  5133. <![CDATA[
  5134. fExeCntsView("기타", document.controls(event.currentTarget));
  5135. ]]>
  5136. </script>
  5137. <script type="javascript" ev:event="onclick">
  5138. <![CDATA[
  5139. _ContentObject = document.controls(event.currentTarget);
  5140. ]]>
  5141. </script>
  5142. </textarea>
  5143. <datagrid id="datagrid1" nodeset="/root/init/molecheck" caption="구분^선택^caption1" colsep="^" colwidth="220, 484, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:110px; width:740px; height:90px; ">
  5144. <col ref="disnm"/>
  5145. <col checkvalue="Y,N" ref="rsltcnts4" type="checkbox"/>
  5146. <col ref="disnmcd" visibility="hidden"/>
  5147. <script type="javascript" ev:event="xforms-select">
  5148. <![CDATA[
  5149. if(model.getValue("/root/init/molecheck["+ datagrid1.row +"]/rsltcnts4") == "Y" && datagrid1.colRef("rsltcnts4") == datagrid1.col) {
  5150. for (var iNo=1; iNo <= getNodesetCount("/root/init/molecheck"); iNo++) {
  5151. if(datagrid1.row != iNo) {
  5152. model.setValue("/root/init/molecheck["+ iNo +"]/rsltcnts4", "N");
  5153. }
  5154. }
  5155. }
  5156. ]]>
  5157. </script>
  5158. </datagrid>
  5159. <line id="line92" class="line_3" style="x1:5px; y1:201px; x2:750px; y2:201px; "/>
  5160. <line id="line93" class="line_3" style="x1:5px; y1:361px; x2:750px; y2:361px; "/>
  5161. <button id="button7" class="btn2_letter4" style="left:685px; top:364px; width:64px; height:19px; ">
  5162. <caption>결과예문</caption>
  5163. <script type="javascript" ev:event="DOMActivate">
  5164. <![CDATA[
  5165. fExeExmpCall(tar_extra, "/root/main/testrslt/testrsltinfoh/rsltcnts5", "4");
  5166. ]]>
  5167. </script>
  5168. </button>
  5169. <button id="button8" class="btn2_letter4" style="left:685px; top:5px; width:64px; height:19px; ">
  5170. <caption>결과예문</caption>
  5171. <script type="javascript" ev:event="DOMActivate">
  5172. <![CDATA[
  5173. fExeExmpCall(tar_ade, "/root/main/testrslt/testrsltinfoh/rsltcnts3", "4");
  5174. ]]>
  5175. </script>
  5176. </button>
  5177. </case>
  5178. <case id="caseIF">
  5179. <caption id="caption32" class="cell_1" style="left:5px; top:37px; width:370px; height:23px; vertical-align:middle; ">IMMUNO FLUORESCENT FINDINGS : ( IF )</caption>
  5180. <line id="line79" class="line_3" style="x1:5px; y1:35px; x2:750px; y2:35px; "/>
  5181. <line id="line89" class="line_3" style="x1:5px; y1:59px; x2:750px; y2:59px; "/>
  5182. <line id="line41" class="line_3" style="x1:5px; y1:108px; x2:750px; y2:108px; "/>
  5183. <line id="line52" class="line_3" style="x1:5px; y1:84px; x2:750px; y2:84px; "/>
  5184. <input id="ipt_ifno" ref="/root/main/testrslt/iftestlist/testrslt15" maxlength="6" style="left:303px; top:39px; width:57px; height:19px; "/>
  5185. <select1 id="radio3" ref="/root/main/testrslt/iftestlist/testrslt18" appearance="full" cellspacing="5" cols="2" overflow="visible" style="left:586px; top:63px; width:65px; height:20px; border-style:none; ">
  5186. <choices>
  5187. <item>
  5188. <label>Y</label>
  5189. <value>Y</value>
  5190. </item>
  5191. <item>
  5192. <label>N</label>
  5193. <value>N</value>
  5194. </item>
  5195. </choices>
  5196. </select1>
  5197. <input id="ipt_ifcmts" ref="/root/main/testrslt/iftestlist/testrslt19" style="left:158px; top:87px; width:590px; height:19px; "/>
  5198. <select1 id="radio2" ref="/root/main/testrslt/iftestlist/testrslt17" appearance="full" cellspacing="5" cols="2" overflow="visible" style="left:371px; top:63px; width:65px; height:20px; border-style:none; ">
  5199. <choices>
  5200. <item>
  5201. <label>Y</label>
  5202. <value>Y</value>
  5203. </item>
  5204. <item>
  5205. <label>N</label>
  5206. <value>N</value>
  5207. </item>
  5208. </choices>
  5209. </select1>
  5210. <select1 id="radio1" ref="/root/main/testrslt/iftestlist/testrslt16" appearance="full" cellspacing="5" cols="2" overflow="visible" style="left:158px; top:63px; width:65px; height:20px; border-style:none; ">
  5211. <choices>
  5212. <item>
  5213. <label>Y</label>
  5214. <value>Y</value>
  5215. </item>
  5216. <item>
  5217. <label>N</label>
  5218. <value>N</value>
  5219. </item>
  5220. </choices>
  5221. </select1>
  5222. <caption id="caption14" class="cell_1" style="left:5px; top:86px; width:150px; height:23px; vertical-align:middle; ">4. Result</caption>
  5223. <caption id="caption13" class="cell_1" style="left:441px; top:61px; width:140px; height:23px; vertical-align:middle; ">3. Presence of deposit</caption>
  5224. <caption id="caption12" class="cell_1" style="left:226px; top:61px; width:140px; height:23px; vertical-align:middle; ">2. Presence of medulla</caption>
  5225. <caption id="caption11" class="cell_1" style="left:5px; top:61px; width:150px; height:23px; vertical-align:middle; ">1. Presence of glomeruli</caption>
  5226. <input id="ipt_ifyear" ref="/root/main/testrslt/iftestlist/testrslt14" maxlength="4" style="left:250px; top:39px; width:50px; height:19px; "/>
  5227. <switch id="swt_IFrslt" style="left:0px; top:110px; width:750px; height:400px; ">
  5228. <case id="casedefault">
  5229. <line id="line44" class="line_1" style="x1:5px; y1:26px; x2:745px; y2:26px; "/>
  5230. <caption id="caption67" class="tit_2" style="left:10px; top:11px; width:119px; height:14px; ">Default 검사결과</caption>
  5231. <line id="line45" class="line_3" style="x1:5px; y1:387px; x2:745px; y2:387px; "/>
  5232. <textarea id="tar_ifdefault" style="left:5px; top:32px; width:740px; height:353px; "/>
  5233. </case>
  5234. <case id="caseskin" selected="true">
  5235. <caption id="caption66" class="tit_2" style="left:10px; top:11px; width:117px; height:14px; ">Skin 검사결과</caption>
  5236. <line id="line43" class="line_1" style="x1:5px; y1:26px; x2:748px; y2:26px; "/>
  5237. <datagrid id="grd_iftestlistS" nodeset="/root/main/testrslt/iftestlist" class="datagrid2" caption="instcd^ptno^rsltrgstdd^rsltrgstno^testcd^rgstflagcd^itemseqno^itemhistno^acptdd^acptno^acptitemno^검사항목^결과^Epidermis,&#xA;intercellular^Dermoepidermal&#xA;Junction^Dermis^Vessel^OTHER^caption1^caption2^caption3^caption4^caption5^caption6^caption7^caption8^caption9^caption10^caption11^caption12^caption13^caption14" colsep="^" colwidth="0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 120, 122, 120, 100, 100, 100, 60, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" dataheight="25" mergecellsfixedrows="bycolrec" rowheight="32" rowsep="|" style="left:5px; top:31px; width:743px; height:364px; ">
  5238. <col ref="instcd"/>
  5239. <col ref="ptno"/>
  5240. <col ref="rsltrgstdd"/>
  5241. <col ref="rsltrgstno"/>
  5242. <col ref="testcd"/>
  5243. <col ref="rgstflagcd"/>
  5244. <col ref="itemseqno"/>
  5245. <col ref="itemhistno"/>
  5246. <col ref="acptdd"/>
  5247. <col ref="acptno"/>
  5248. <col ref="acptitemno"/>
  5249. <col ref="testnm"/>
  5250. <col ref="testrslt01" type="input"/>
  5251. <col ref="testrslt02" type="input"/>
  5252. <col ref="testrslt03" type="input"/>
  5253. <col ref="testrslt04" type="input"/>
  5254. <col ref="testrslt05" type="input"/>
  5255. <col ref="testrslt06" type="input"/>
  5256. <col ref="testrslt07"/>
  5257. <col ref="testrslt08"/>
  5258. <col ref="testrslt09"/>
  5259. <col ref="testrslt10"/>
  5260. <col ref="testrslt11"/>
  5261. <col ref="testrslt12"/>
  5262. <col ref="testrslt13"/>
  5263. <col ref="testrslt14"/>
  5264. <col ref="testrslt15"/>
  5265. <col ref="testrslt16"/>
  5266. <col ref="testrslt17"/>
  5267. <col ref="testrslt18"/>
  5268. <col ref="testrslt19"/>
  5269. <col ref="testrslt20"/>
  5270. </datagrid>
  5271. </case>
  5272. <case id="casekidney">
  5273. <line id="line38" class="line_1" style="x1:5px; y1:26px; x2:748px; y2:26px; "/>
  5274. <caption id="caption54" class="tit_2" style="left:10px; top:11px; width:117px; height:14px; ">Kidney 검사결과</caption>
  5275. <datagrid id="grd_iftestlistK" nodeset="/root/main/testrslt/iftestlist" caption="기관코드^ptno^rsltrgstdd^rsltrgstno^testcd^rgstflagcd^itemseqno^itemhistno^acptdd^acptno^acptitemno^검사명^Pattern^Type^Type^Type^Glomerulus^Glomerulus^Glomerulus^Tubule^Tubule^Vessel^Interstitium^caption1^caption2^caption3^caption4^caption5^caption6^caption7^caption8^caption9|기관코드^ptno^rsltrgstdd^rsltrgstno^testcd^rgstflagcd^itemseqno^itemhistno^acptdd^acptno^acptitemno^검사명^Pattern^FG^CG^L^No.^GBM^Mes^TBM^Cast^Vessel^Interstitium^caption1^caption2^caption3^caption4^caption5^caption6^caption7^caption8^caption9" colsep="^" colwidth="0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 120, 80, 50, 50, 50, 49, 50, 50, 50, 50, 52, 70, 0, 0, 0, 0, 0, 0, 0, 0, 0" ellipsis="true" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" style="left:5px; top:31px; width:743px; height:364; ">
  5276. <col ref="instcd"/>
  5277. <col ref="ptno"/>
  5278. <col ref="rsltrgstdd"/>
  5279. <col ref="rsltrgstno"/>
  5280. <col ref="testcd"/>
  5281. <col ref="rgstflagcd"/>
  5282. <col ref="itemseqno"/>
  5283. <col ref="itemhistno"/>
  5284. <col ref="acptdd"/>
  5285. <col ref="acptno"/>
  5286. <col ref="acptitemno"/>
  5287. <col ref="testnm"/>
  5288. <col ref="testrslt01" type="combo">
  5289. <choices>
  5290. <itemset nodeset="/root/init/cmbpatterncd/resncdlist">
  5291. <label ref="resncnts"/>
  5292. <value ref="resncd"/>
  5293. </itemset>
  5294. </choices>
  5295. </col>
  5296. <col ref="testrslt02" type="combo">
  5297. <choices>
  5298. <item>
  5299. <label>pos.</label>
  5300. <value>0</value>
  5301. </item>
  5302. <item>
  5303. <label>neg.</label>
  5304. <value>1</value>
  5305. </item>
  5306. <item>
  5307. <label>-</label>
  5308. <value/>
  5309. </item>
  5310. </choices>
  5311. </col>
  5312. <col ref="testrslt03" type="combo">
  5313. <choices>
  5314. <item>
  5315. <label>pos.</label>
  5316. <value>0</value>
  5317. </item>
  5318. <item>
  5319. <label>neg.</label>
  5320. <value>1</value>
  5321. </item>
  5322. <item>
  5323. <label>-</label>
  5324. <value/>
  5325. </item>
  5326. </choices>
  5327. </col>
  5328. <col ref="testrslt04" type="combo">
  5329. <choices>
  5330. <item>
  5331. <label>pos.</label>
  5332. <value>0</value>
  5333. </item>
  5334. <item>
  5335. <label>neg.</label>
  5336. <value>1</value>
  5337. </item>
  5338. <item>
  5339. <label>-</label>
  5340. <value/>
  5341. </item>
  5342. </choices>
  5343. </col>
  5344. <col ref="testrslt05" type="input"/>
  5345. <col ref="testrslt06" type="input"/>
  5346. <col ref="testrslt07" type="input"/>
  5347. <col ref="testrslt08" type="input"/>
  5348. <col ref="testrslt09" type="input"/>
  5349. <col ref="testrslt10" type="input"/>
  5350. <col ref="testrslt11" type="input"/>
  5351. <col ref="testrslt12"/>
  5352. <col ref="testrslt13"/>
  5353. <col ref="testrslt14"/>
  5354. <col ref="testrslt15"/>
  5355. <col ref="testrslt16"/>
  5356. <col ref="testrslt17"/>
  5357. <col ref="testrslt18" style="left:1321px; top:43px; width:100px; height:23px; "/>
  5358. <col ref="testrslt19"/>
  5359. <col ref="testrslt20"/>
  5360. </datagrid>
  5361. </case>
  5362. <case id="caseother" selected="true">
  5363. <caption id="caption76" class="tit_2" style="left:10px; top:11px; width:117px; height:14px; ">Other 검사결과</caption>
  5364. <line id="line53" class="line_1" style="x1:5px; y1:26px; x2:748px; y2:26px; "/>
  5365. <datagrid id="grd_iftestlistO" nodeset="/root/main/testrslt/iftestlist" class="datagrid2" caption="instcd^ptno^rsltrgstdd^rsltrgstno^testcd^rgstflagcd^itemseqno^itemhistno^acptdd^acptno^acptitemno^검사항목^결과^Epidermis,&#xA;intercellular^Dermoepidermal&#xA;Junction^Dermis^Vessel^OTHER^caption1^caption2^caption3^caption4^caption5^caption6^caption7^caption8^caption9^caption10^caption11^caption12^caption13^caption14" colsep="^" colwidth="0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 120, 610, 0, 0, 0,0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" dataheight="25" mergecellsfixedrows="bycolrec" rowheight="32" rowsep="|" style="left:5px; top:31px; width:743px; height:364px; ">
  5366. <col ref="instcd"/>
  5367. <col ref="ptno"/>
  5368. <col ref="rsltrgstdd"/>
  5369. <col ref="rsltrgstno"/>
  5370. <col ref="testcd"/>
  5371. <col ref="rgstflagcd"/>
  5372. <col ref="itemseqno"/>
  5373. <col ref="itemhistno"/>
  5374. <col ref="acptdd"/>
  5375. <col ref="acptno"/>
  5376. <col ref="acptitemno"/>
  5377. <col ref="testnm"/>
  5378. <col ref="testrslt01" type="input"/>
  5379. <col ref="testrslt02" type="input"/>
  5380. <col ref="testrslt03" type="input"/>
  5381. <col ref="testrslt04" type="input"/>
  5382. <col ref="testrslt05" type="input"/>
  5383. <col ref="testrslt06" type="input"/>
  5384. <col ref="testrslt07"/>
  5385. <col ref="testrslt08"/>
  5386. <col ref="testrslt09"/>
  5387. <col ref="testrslt10"/>
  5388. <col ref="testrslt11"/>
  5389. <col ref="testrslt12"/>
  5390. <col ref="testrslt13"/>
  5391. <col ref="testrslt14"/>
  5392. <col ref="testrslt15"/>
  5393. <col ref="testrslt16"/>
  5394. <col ref="testrslt17"/>
  5395. <col ref="testrslt18"/>
  5396. <col ref="testrslt19"/>
  5397. <col ref="testrslt20"/>
  5398. </datagrid>
  5399. </case>
  5400. </switch>
  5401. <caption id="caption60" class="cell_1" style="left:5; top:13; width:80px; height:23px; vertical-align:middle; ">검사종류</caption>
  5402. <line id="line39" class="line_3" style="x1:5px; y1:591px; x2:750px; y2:591px; "/>
  5403. <line id="line40" class="line_1" style="x1:5px; y1:538px; x2:750px; y2:538px; "/>
  5404. <caption id="caption61" class="tit_2" style="left:10px; top:523px; width:144px; height:13px; ">Comments</caption>
  5405. <line id="line42" class="line_3" style="x1:5px; y1:511px; x2:750px; y2:511px; "/>
  5406. <select1 id="cmb_spckindcd" ref="/root/main/testrslt/testrsltetc/spckindcd" class="combo_default" appearance="minimal" style="left:88px; top:14px; width:100px; height:19px; ">
  5407. <choices>
  5408. <item>
  5409. <label>Kidney</label>
  5410. <value>0</value>
  5411. </item>
  5412. <item>
  5413. <label>Skin</label>
  5414. <value>1</value>
  5415. </item>
  5416. <item>
  5417. <label>Other</label>
  5418. <value>2</value>
  5419. </item>
  5420. </choices>
  5421. <script type="javascript" ev:event="xforms-value-changed">
  5422. <![CDATA[
  5423. fExeIFcaseChange();
  5424. ]]>
  5425. </script>
  5426. </select1>
  5427. <textarea id="tar_readcnts1006" visibility="hidden" style="left:245px; top:515px; width:45px; height:19px; "/>
  5428. <textarea id="tar_cmtcnts1006" style="left:5px; top:544px; width:740px; height:46px; font-size:10pt; letter-spacing:1; "/>
  5429. <button id="btn_exmp1006cmt" class="btn2_letter4" style="left:686px; top:517px; width:64px; height:19px; ">
  5430. <caption>결과예문</caption>
  5431. <script type="javascript" ev:event="DOMActivate">
  5432. <![CDATA[
  5433. fExeExmpCall(tar_cmtcnts1006, "/root/main/testrslt/testrsltinfoh/cmtcnts", "4");
  5434. ]]>
  5435. </script>
  5436. </button>
  5437. <output id="opt_diag1006" ref="/root/main/testrslt/testrsltinfoh/diagcd" visibility="hidden" style="left:360px; top:515px; width:100px; height:19px; "/>
  5438. <input id="opt_tcont1006" ref="/root/main/testrslt/patinfo/spcnm" class="input_default" appearance="input" style="left:250px; top:117px; width:110px; height:19px; ">
  5439. <script type="javascript" ev:event="xforms-value-changed">
  5440. <![CDATA[
  5441. model.setValue("/root/main/testrslt/patinfo/spcnm",opt_tcont1006.currentText);
  5442. ]]>
  5443. </script>
  5444. </input>
  5445. <caption id="caption63" class="cell_1" style="left:221px; top:117px; width:26px; height:19px; text-align:center; vertical-align:middle; ">T</caption>
  5446. <caption id="caption64" class="cell_1" style="left:557px; top:117px; width:26px; height:19px; text-align:center; vertical-align:middle; ">M</caption>
  5447. <caption id="caption65" class="cell_1" style="left:363px; top:117px; width:26px; height:19px; text-align:center; vertical-align:middle; ">P</caption>
  5448. <input id="ipt_mcont1006" ref="/root/main/testrslt/testrsltinfoh/diagcnts" class="input_default" style="left:586px; top:117px; width:145px; height:19px; "/>
  5449. <button id="btn_diag1006" style="left:732px; top:117px; width:14px; height:16px; background-image:../../../com/commonweb/images/icon_search.gif; ">
  5450. <caption/>
  5451. <script type="javascript" ev:event="DOMActivate">
  5452. <![CDATA[
  5453. fExeDiagPopup();
  5454. ]]>
  5455. </script>
  5456. </button>
  5457. <button id="button10" class="btn2_letter4" visibility="hidden" style="left:145px; top:117px; width:64px; height:19px; ">
  5458. <caption>결과예문</caption>
  5459. </button>
  5460. <select1 id="cmb_pcont1006" ref="/root/hidden/testcd" class="combo_default" navindex="4" appearance="minimal" editmode="input" style="left:392px; top:117px; width:162px; height:19px; ">
  5461. <choices>
  5462. <itemset nodeset="/root/main/testrslt/testcdlist">
  5463. <label ref="testnm"/>
  5464. <value ref="testcd"/>
  5465. </itemset>
  5466. </choices>
  5467. <script type="javascript" ev:event="xforms-value-changed">
  5468. <![CDATA[
  5469. model.setValue("/root/hidden/testcd", cmb_pcont1006.value );
  5470. ]]>
  5471. </script>
  5472. </select1>
  5473. </case>
  5474. <case id="casejeonja">
  5475. <caption id="caption68" class="tit_2" autoresize="true" style="left:10px; top:279px; width:95px; height:14px; ">진단</caption>
  5476. <line id="line46" class="line_1" style="x1:5px; y1:26px; x2:750px; y2:26px; "/>
  5477. <line id="line47" class="line_1" style="x1:6px; y1:294px; x2:751px; y2:294px; "/>
  5478. <line id="line48" class="line_3" style="x1:5px; y1:591px; x2:750px; y2:591px; "/>
  5479. <caption id="caption69" class="cell_1" style="left:121; top:274px; width:26px; height:19px; text-align:center; vertical-align:middle; ">T</caption>
  5480. <line id="line49" class="line_1" style="x1:5px; y1:538px; x2:750px; y2:538px; "/>
  5481. <caption id="caption70" class="tit_2" style="left:10px; top:523px; width:144px; height:13px; ">Comments</caption>
  5482. <line id="line50" class="line_3" style="x1:5px; y1:511px; x2:750px; y2:511px; "/>
  5483. <caption id="caption71" class="cell_1" style="left:479px; top:274px; width:26px; height:19px; text-align:center; vertical-align:middle; ">M</caption>
  5484. <line id="line51" class="line_3" style="x1:5px; y1:267px; x2:525px; y2:267px; "/>
  5485. <caption id="caption72" class="cell_1" style="left:285; top:274px; width:26px; height:19px; text-align:center; vertical-align:middle; ">P</caption>
  5486. <caption id="caption73" class="tit_2" style="left:10px; top:11px; width:126px; height:14px; ">전자현미경 소견</caption>
  5487. <line id="line1" class="line_3" style="x1:530px; y1:267px; x2:750px; y2:267px; "/>
  5488. <textarea id="tar_readcnts1008" style="left:5px; top:300px; width:740px; height:210px; font-size:10pt; letter-spacing:1; ">
  5489. <script type="javascript" ev:event="ondblclick">
  5490. <![CDATA[
  5491. fExeCntsView("진단", document.controls(event.currentTarget));
  5492. ]]>
  5493. </script>
  5494. <script type="javascript" ev:event="onclick">
  5495. <![CDATA[
  5496. _ContentObject = document.controls(event.currentTarget);
  5497. ]]>
  5498. </script>
  5499. </textarea>
  5500. <textarea id="tar_cmtcnts1008" style="left:5px; top:544px; width:740px; height:46px; font-size:10pt; letter-spacing:1; ">
  5501. <script type="javascript" ev:event="ondblclick">
  5502. <![CDATA[
  5503. fExeCntsView("Comments", document.controls(event.currentTarget));
  5504. ]]>
  5505. </script>
  5506. <script type="javascript" ev:event="onclick">
  5507. <![CDATA[
  5508. _ContentObject = document.controls(event.currentTarget);
  5509. ]]>
  5510. </script>
  5511. </textarea>
  5512. <textarea id="tar_mscopcnts1008" ref="/root/main/testrslt/testrslttbl/grossrslt" style="left:5px; top:32px; width:740px; height:234px; font-size:10pt; letter-spacing:1; ">
  5513. <script type="javascript" ev:event="ondblclick">
  5514. <![CDATA[
  5515. fExeCntsView("전자현미경소견", document.controls(event.currentTarget));
  5516. ]]>
  5517. </script>
  5518. <script type="javascript" ev:event="onclick">
  5519. <![CDATA[
  5520. _ContentObject = document.controls(event.currentTarget);
  5521. ]]>
  5522. </script>
  5523. </textarea>
  5524. <input id="opt_tcont1008" ref="/root/main/testrslt/patinfo/spcnm" class="input_default" appearance="input" style="left:150; top:274px; width:132px; height:19px; ">
  5525. <script type="javascript" ev:event="xforms-value-changed">
  5526. <![CDATA[
  5527. model.setValue ( "/root/main/testrslt/patinfo/spcnm" , opt_tcont1008.currentText ) ;
  5528. ]]>
  5529. </script>
  5530. </input>
  5531. <input id="ipt_mcont1008" ref="/root/main/testrslt/testrsltinfoh/diagcnts" class="input_default" style="left:508px; top:274px; width:158; height:19px; ">
  5532. <script type="javascript" ev:event="onkeypress">
  5533. <![CDATA[
  5534. fExeDiagInpt(ipt_mcont1008, "/root/main/testrslt/testrsltinfoh/rsltcnts2", tar_readcnts1008);
  5535. ]]>
  5536. </script>
  5537. </input>
  5538. <select1 id="cmb_pcont1008" ref="/root/hidden/testcd" class="combo_default" navindex="4" appearance="minimal" editmode="input" style="left:314; top:274px; width:162px; height:19px; ">
  5539. <choices>
  5540. <itemset nodeset="/root/main/testrslt/testcdlist">
  5541. <label ref="testnm"/>
  5542. <value ref="testcd"/>
  5543. </itemset>
  5544. </choices>
  5545. <script type="javascript" ev:event="xforms-value-changed">
  5546. <![CDATA[
  5547. model.setValue ( "/root/hidden/testcd" , cmb_pcont1008.value );
  5548. ]]>
  5549. </script>
  5550. </select1>
  5551. <button id="btn_exmp1008cmt" class="btn2_letter4" style="left:686px; top:517px; width:64px; height:19px; ">
  5552. <caption>결과예문</caption>
  5553. <script type="javascript" ev:event="DOMActivate">
  5554. <![CDATA[
  5555. fExeExmpCall(tar_cmtcnts1008, "/root/main/testrslt/testrsltinfoh/cmtcnts", "4");
  5556. ]]>
  5557. </script>
  5558. </button>
  5559. <button id="btn_exmp100801" class="btn2_letter4" style="left:686px; top:5px; width:64px; height:19px; ">
  5560. <caption>결과예문</caption>
  5561. <script type="javascript" ev:event="DOMActivate">
  5562. <![CDATA[
  5563. fExeExmpCall(tar_mscopcnts1008, "/root/main/testrslt/testrsltinfoh/rsltcnts1", "1");
  5564. ]]>
  5565. </script>
  5566. </button>
  5567. <button id="btn_exmp100802" class="btn2_letter4" style="left:686px; top:273px; width:64px; height:19px; ">
  5568. <caption>결과예문</caption>
  5569. <script type="javascript" ev:event="DOMActivate">
  5570. <![CDATA[
  5571. fExeExmpCall(tar_readcnts1008, "/root/main/testrslt/testrsltinfoh/rsltcnts2", "3");
  5572. ]]>
  5573. </script>
  5574. </button>
  5575. <button id="btn_diag1008" style="left:668px; top:274px; width:14px; height:16px; background-image:../../../com/commonweb/images/icon_search.gif; ">
  5576. <caption/>
  5577. <script type="javascript" ev:event="DOMActivate">
  5578. <![CDATA[
  5579. fExeDiagPopup();
  5580. ]]>
  5581. </script>
  5582. </button>
  5583. <output id="opt_diag1008" ref="/root/main/testrslt/testrsltinfoh/diagcd" visibility="hidden" style="left:445px; top:515px; width:100px; height:20px; "/>
  5584. </case>
  5585. <case id="caseautopsy">
  5586. <caption id="caption75" class="cell_1" style="left:5px; top:4px; width:80px; height:23px; vertical-align:middle; ">부검형식</caption>
  5587. <input id="ipt_autopsykind" class="input_default" style="left:88px; top:6px; width:592px; height:19px; "/>
  5588. <output id="output15" class="output_fix" style="left:99px; top:34px; width:150px; height:19px; "/>
  5589. <caption id="caption1" class="tit_2" autoresize="true" style="left:10px; top:410px; width:250px; height:13px; ">Final Anatomical Diagnosis</caption>
  5590. <line id="line54" class="line_1" style="x1:5px; y1:54px; x2:750px; y2:54px; "/>
  5591. <line id="line55" class="line_1" style="x1:5px; y1:425px; x2:750px; y2:425px; "/>
  5592. <caption id="caption77" class="tit_2" style="left:10px; top:152px; width:100px; height:14px; ">현미경 소견</caption>
  5593. <line id="line56" class="line_1" style="x1:5px; y1:167px; x2:750px; y2:167px; "/>
  5594. <line id="line57" class="line_3" style="x1:5px; y1:591px; x2:750px; y2:591px; "/>
  5595. <caption id="caption78" class="cell_1" style="left:328; top:518px; width:26px; height:19px; text-align:center; vertical-align:middle; ">T</caption>
  5596. <line id="line58" class="line_1" style="x1:5px; y1:538px; x2:750px; y2:538px; "/>
  5597. <caption id="caption79" class="tit_2" style="left:10px; top:523px; width:95px; height:13px; ">Comments</caption>
  5598. <line id="line59" class="line_3" style="x1:5px; y1:511px; x2:750px; y2:511px; "/>
  5599. <caption id="caption80" class="cell_1" style="left:328px; top:405px; width:26px; height:19px; text-align:center; vertical-align:middle; ">M</caption>
  5600. <line id="line60" class="line_3" style="x1:5px; y1:140px; x2:750px; y2:140px; "/>
  5601. <caption id="caption81" class="cell_1" style="left:492; top:518px; width:26px; height:19px; text-align:center; vertical-align:middle; ">P</caption>
  5602. <caption id="caption82" class="tit_2" style="left:10px; top:39px; width:69px; height:14px; ">육안소견</caption>
  5603. <line id="line61" class="line_1" style="x1:5px; y1:280px; x2:750px; y2:280px; "/>
  5604. <caption id="caption83" class="tit_2" style="left:10px; top:265px; width:315px; height:13px; ">Provisional Anatomical Diagnosis</caption>
  5605. <line id="line62" class="line_3" style="x1:5px; y1:253px; x2:750px; y2:253px; "/>
  5606. <line id="line63" class="line_3" style="x1:5px; y1:27px; x2:750px; y2:27px; "/>
  5607. <line id="line64" class="line_3" style="x1:5px; y1:398px; x2:750px; y2:398px; "/>
  5608. <textarea id="tar_groscnts1009" ref="/root/main/testrslt/testrslttbl/grossrslt" style="left:5px; top:59px; width:740px; height:80px; font-size:10pt; letter-spacing:1; ">
  5609. <script type="javascript" ev:event="ondblclick">
  5610. <![CDATA[
  5611. fExeCntsView("육안소견", document.controls(event.currentTarget));
  5612. ]]>
  5613. </script>
  5614. </textarea>
  5615. <textarea id="tar_mscopcnts1009" style="left:5px; top:172px; width:740px; height:80px; font-size:10pt; letter-spacing:1; ">
  5616. <script type="javascript" ev:event="ondblclick">
  5617. <![CDATA[
  5618. fExeCntsView("현미경 소견", document.controls(event.currentTarget));
  5619. ]]>
  5620. </script>
  5621. </textarea>
  5622. <textarea id="tar_provisional1009" style="left:5px; top:285px; width:740px; height:112px; font-size:10pt; letter-spacing:1; ">
  5623. <script type="javascript" ev:event="ondblclick">
  5624. <![CDATA[
  5625. fExeCntsView("Provisional Anatomical Diagnosis", document.controls(event.currentTarget));
  5626. ]]>
  5627. </script>
  5628. </textarea>
  5629. <textarea id="tar_final1009" style="left:5px; top:430px; width:740px; height:80px; font-size:10pt; letter-spacing:1; ">
  5630. <script type="javascript" ev:event="ondblclick">
  5631. <![CDATA[
  5632. fExeCntsView("Final Anatomical Diagnosis", document.controls(event.currentTarget));
  5633. ]]>
  5634. </script>
  5635. </textarea>
  5636. <textarea id="tar_cmtcnts1009" style="left:5px; top:544px; width:740px; height:46px; font-size:10pt; letter-spacing:1; ">
  5637. <script type="javascript" ev:event="ondblclick">
  5638. <![CDATA[
  5639. fExeCntsView("Comments", document.controls(event.currentTarget));
  5640. ]]>
  5641. </script>
  5642. </textarea>
  5643. <input id="opt_tcont1009" ref="/root/main/testrslt/patinfo/spcnm" class="input_default" appearance="input" style="left:357; top:518px; width:132px; height:19px; ">
  5644. <script type="javascript" ev:event="xforms-value-changed">
  5645. <![CDATA[
  5646. model.setValue("/root/main/testrslt/patinfo/spcnm",opt_tcont1009.currentText);
  5647. ]]>
  5648. </script>
  5649. </input>
  5650. <input id="ipt_mcont1009" ref="/root/main/testrslt/testrsltinfoh/diagcnts" class="input_default" style="left:357px; top:405px; width:308px; height:19px; ">
  5651. <script type="javascript" ev:event="onkeypress">
  5652. <![CDATA[
  5653. fExeDiagInpt(ipt_mcont1009, "/root/main/testrslt/testrsltinfoh/rsltcnts5", tar_final1009);
  5654. ]]>
  5655. </script>
  5656. </input>
  5657. <select1 id="cmb_pcont1009" ref="/root/hidden/testcd" class="combo_default" navindex="4" appearance="minimal" editmode="input" style="left:521px; top:518px; width:162px; height:19px; ">
  5658. <choices>
  5659. <itemset nodeset="/root/main/testrslt/testcdlist">
  5660. <label ref="testnm"/>
  5661. <value ref="testcd"/>
  5662. </itemset>
  5663. </choices>
  5664. <script type="javascript" ev:event="xforms-value-changed">
  5665. <![CDATA[
  5666. model.setValue("/root/hidden/testcd", cmb_pcont1009.value);
  5667. ]]>
  5668. </script>
  5669. </select1>
  5670. <button id="btn_exmp100902" class="btn2_letter4" style="left:686px; top:33px; width:64px; height:19px; ">
  5671. <caption>결과예문</caption>
  5672. <script type="javascript" ev:event="DOMActivate">
  5673. <![CDATA[
  5674. fExeExmpCall(tar_groscnts1009, "/root/main/testrslt/testrsltinfoh/rsltcnts2", "2");
  5675. ]]>
  5676. </script>
  5677. </button>
  5678. <button id="btn_exmp100903" class="btn2_letter4" style="left:686px; top:146px; width:64px; height:19px; ">
  5679. <caption>결과예문</caption>
  5680. <script type="javascript" ev:event="DOMActivate">
  5681. <![CDATA[
  5682. fExeExmpCall(tar_mscopcnts1009, "/root/main/testrslt/testrsltinfoh/rsltcnts3", "3");
  5683. ]]>
  5684. </script>
  5685. </button>
  5686. <button id="btn_exmp100904" class="btn2_letter4" style="left:686px; top:259px; width:64px; height:19px; ">
  5687. <caption>결과예문</caption>
  5688. <script type="javascript" ev:event="DOMActivate">
  5689. <![CDATA[
  5690. fExeExmpCall(tar_provisional1009, "/root/main/testrslt/testrsltinfoh/rsltcnts4", "4");
  5691. ]]>
  5692. </script>
  5693. </button>
  5694. <button id="btn_exmp100905" class="btn2_letter4" style="left:686px; top:404px; width:64px; height:19px; ">
  5695. <caption>결과예문</caption>
  5696. <script type="javascript" ev:event="DOMActivate">
  5697. <![CDATA[
  5698. fExeExmpCall(tar_final1009, "/root/main/testrslt/testrsltinfoh/rsltcnts5", "5");
  5699. ]]>
  5700. </script>
  5701. </button>
  5702. <button id="btn_exmp1009cmt" class="btn2_letter4" style="left:686px; top:517px; width:64px; height:19px; ">
  5703. <caption>결과예문</caption>
  5704. <script type="javascript" ev:event="DOMActivate">
  5705. <![CDATA[
  5706. fExeExmpCall(tar_cmtcnts1009, "/root/main/testrslt/testrsltinfoh/cmtcnts", "6");
  5707. ]]>
  5708. </script>
  5709. </button>
  5710. <button id="btn_exmp100901" class="btn2_letter4" visibility="hidden" style="left:686px; top:5px; width:64px; height:19px; ">
  5711. <caption>결과예문</caption>
  5712. <script type="javascript" ev:event="DOMActivate">
  5713. <![CDATA[
  5714. fExeExmpCall(ipt_autopsykind, "/root/main/testrslt/testrsltinfoh/rsltcnts1", "1");
  5715. ]]>
  5716. </script>
  5717. </button>
  5718. <output id="opt_diag1009" ref="/root/main/testrslt/testrsltinfoh/diagcd" visibility="hidden" style="left:275px; top:405px; width:40px; height:19px; "/>
  5719. <button id="btn_diag1009" style="left:668px; top:405px; width:14px; height:16px; background-image:../../../com/commonweb/images/icon_search.gif; ">
  5720. <caption/>
  5721. <script type="javascript" ev:event="DOMActivate">
  5722. <![CDATA[
  5723. fExeDiagPopup();
  5724. ]]>
  5725. </script>
  5726. </button>
  5727. </case>
  5728. <case id="casestain">
  5729. <line id="line65" class="line_3" style="x1:5px; y1:591px; x2:320px; y2:591px; "/>
  5730. <line id="line66" class="line_1" style="x1:5px; y1:26px; x2:750px; y2:26px; "/>
  5731. <caption id="capstaintitle" class="tit_2" style="left:10px; top:11px; width:126px; height:14px; ">특수염색 결과</caption>
  5732. <line id="line67" class="line_1" style="x1:5px; y1:425px; x2:750px; y2:425px; "/>
  5733. <caption id="caption84" class="tit_2" style="left:5px; top:410px; width:126px; height:13px; ">슬라이드목록</caption>
  5734. <datagrid id="grd_slidelist" nodeset="/root/main/screenerslist1/screenerslist1tbl" caption="세부검체^Cassette번호^슬라이드번호^정도관리" colsep="^" colwidth="80, 100, 90, 442" dataheight="25" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="32" rowsep="|" style="left:5px; top:430px; width:740px; height:85px; ">
  5735. <col ref="choi"/>
  5736. <col ref="userid"/>
  5737. <col/>
  5738. <col/>
  5739. </datagrid>
  5740. <line id="line68" class="line_3" style="x1:324px; y1:591px; x2:750px; y2:591px; "/>
  5741. <datagrid id="grd_stainlist" nodeset="/root/main/testrslt/staintestlist" caption="기관코드^ptno^병리번호^접수일자^접수번호^접수항목번호^검사코드^검사명^Negative^Positive^workflagcd^rsltrgstdd^rsltrgstno^검사결과^trandd^tranno^orgacptstatcd^orgprcpstatcd^prcpdd^execprcpuniqno^prcpgenrflag" colsep="^" colwidth="0, 0, 0, 0, 0, 0, 0, 174, 60, 60, 0, 0, 0, 412, 0, 0, 0, 0, 0, 0, 0" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:5px; top:31px; width:740px; height:369px; font-size:10pt; letter-spacing:1; ">
  5742. <col ref="instcd"/>
  5743. <col ref="ptno" style="text-align:center; vertical-align:middle; "/>
  5744. <col ref="dispptno"/>
  5745. <col ref="acptdd"/>
  5746. <col ref="acptno"/>
  5747. <col ref="acptitemno"/>
  5748. <col ref="testcd"/>
  5749. <col ref="testnm"/>
  5750. <col ref="nagative" type="checkbox"/>
  5751. <col ref="postive" type="checkbox"/>
  5752. <col ref="workflagcd"/>
  5753. <col ref="rsltrgstdd"/>
  5754. <col ref="rsltrgstno"/>
  5755. <col ref="testrslt" type="input" maxlength="100" style="font-size:10pt; letter-spacing:1; text-select:0 -1; "/>
  5756. <col ref="trandd"/>
  5757. <col ref="tranno"/>
  5758. <col ref="orgacptstatcd"/>
  5759. <col ref="orgprcpstatcd"/>
  5760. <col ref="prcpdd"/>
  5761. <col ref="execprcpuniqno"/>
  5762. <col ref="prcpgenrflag"/>
  5763. <script type="javascript" ev:event="xforms-value-changed">
  5764. <![CDATA[
  5765. fExeChoiPlusMinus(grd_stainlist.row, grd_stainlist.col);
  5766. ]]>
  5767. </script>
  5768. </datagrid>
  5769. <line id="line95" class="line_1" style="x1:5px; y1:538px; x2:750px; y2:538px; "/>
  5770. <caption id="caption55" class="tit_2" style="left:8px; top:523px; width:95px; height:13px; ">Comments</caption>
  5771. <textarea id="tar_cmtcnts1005" style="left:5px; top:544px; width:740px; height:46px; font-size:10pt; letter-spacing:1; ">
  5772. <script type="javascript" ev:event="ondblclick">
  5773. <![CDATA[
  5774. fExeCntsView("Comments", document.controls(event.currentTarget));
  5775. ]]>
  5776. </script>
  5777. </textarea>
  5778. </case>
  5779. </switch>
  5780. <select1 id="cmb_cnclresncd" ref="/root/main/testrslt/testrsltinfoh/cnclresncd" class="combo_default" navindex="5" appearance="minimal" style="left:218px; top:68px; width:80px; height:19px; ">
  5781. <choices>
  5782. <itemset nodeset="/root/init/cmbresncd/resncdlist">
  5783. <label ref="resncnts"/>
  5784. <value ref="resncd"/>
  5785. </itemset>
  5786. </choices>
  5787. </select1>
  5788. <select1 id="cmb_patflagcd" ref="/root/main/testrslt/testcdlist/prcpgenrflag" class="combo_default" disabled="true" appearance="minimal" editmode="search" style="left:547px; top:20px; width:70px; height:19px; ">
  5789. <choices>
  5790. <itemset nodeset="/root/init/instcdlist/M0010">
  5791. <label ref="cdnm"/>
  5792. <value ref="cdid"/>
  5793. </itemset>
  5794. </choices>
  5795. </select1>
  5796. <caption id="caption94" class="cell_1" style="left:762px; top:43px; width:80px; height:23px; vertical-align:middle; ">서식예문</caption>
  5797. <output id="output23" ref="/root/main/testrslt/patinfo/grosdrid" class="output_fix" visibility="hidden" appearance="output" style="left:1040px; top:315px; width:31px; height:19px; "/>
  5798. <caption id="caption95" class="cell_1" style="left:762px; top:19px; width:80px; height:23px; vertical-align:middle; ">육안검사의</caption>
  5799. <output id="output24" ref="/root/main/testrslt/patinfo/grosdrnm" class="output_fix" appearance="output" style="left:845px; top:20px; width:96px; height:19px; "/>
  5800. <input id="ipt_ptno" ref="/root/hidden/ptno" class="input_s_essential" navindex="1" imemode="disabled" maxlength="12" _chartype="upper" style="left:69px; top:20px; width:77; height:19px; ">
  5801. <script type="javascript" ev:event="onkeypress">
  5802. <![CDATA[
  5803. fExePtNoKeyInput();
  5804. ]]>
  5805. </script>
  5806. <script type="javascript" ev:event="DOMFocusIn">
  5807. <![CDATA[
  5808. var sPtNo = ipt_ptno.currentText;
  5809. ipt_ptno.selBegin = sPtNo.length;
  5810. ipt_ptno.refresh();
  5811. ]]>
  5812. </script>
  5813. </input>
  5814. <datagrid id="grd_bfptnolist" nodeset="/root/main/testrslt/bfptnolist" caption="instcd^pid^병리번호^병리번호^채취부위(T)^진단명(M)^채취방법(P)" colsep="^" colwidth="0, 0, 0, 90, 108, 108, 108" dataheight="25" extendlastcol="scroll" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" style="left:762px; top:605px; width:428px; height:135px; ">
  5815. <col ref="instcd"/>
  5816. <col ref="pid"/>
  5817. <col ref="ptno"/>
  5818. <col ref="dispptno"/>
  5819. <col ref="extrpartcd"/>
  5820. <col ref="diagcd"/>
  5821. <col ref="extrmthdcd"/>
  5822. <script type="javascript" ev:event="ondblclick">
  5823. <![CDATA[
  5824. fExePopupCallRsltSearch();
  5825. ]]>
  5826. </script>
  5827. </datagrid>
  5828. <datagrid id="grd_stainalllist" nodeset="/root/main/testrslt/staintestlist" caption="기관코드^ptno^병리번호^접수일자^접수번호^접수항목번호^검사코드^검사명^workflagcd^rsltrgstdd^rsltrgstno^검사결과^trandd^tranno^orgacptstatcd^orgprcpstatcd^prcpdd^execprcpuniqno^prcpgenrflag" colsep="^" colwidth="0, 0, 0, 0, 0, 0, 0, 170, 0, 0, 0, 110, 0, 0, 0, 0, 0, 0, 0" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:762px; top:345px; width:318px; height:230px; ">
  5829. <col ref="instcd"/>
  5830. <col ref="ptno" style="text-align:center; vertical-align:middle; "/>
  5831. <col ref="dispptno"/>
  5832. <col ref="acptdd"/>
  5833. <col ref="acptno"/>
  5834. <col ref="acptitemno"/>
  5835. <col ref="testcd"/>
  5836. <col ref="testnm"/>
  5837. <col ref="workflagcd"/>
  5838. <col ref="rsltrgstdd"/>
  5839. <col ref="rsltrgstno"/>
  5840. <col ref="testrslt" type="input" maxlength="100"/>
  5841. <col ref="trandd"/>
  5842. <col ref="tranno"/>
  5843. <col ref="orgacptstatcd"/>
  5844. <col ref="orgprcpstatcd"/>
  5845. <col ref="prcpdd"/>
  5846. <col ref="execprcpuniqno"/>
  5847. <col ref="prcpgenrflag"/>
  5848. </datagrid>
  5849. <datagrid id="grd_readdoctlist" nodeset="/root/main/testrslt/readdoctlist" caption="선택^기관코드^사원번호^판독의사^jobkindcd^rgstdd^rgstno^userrgstdd^순서^병리번호^orgdispseqno^userabbr" colsep="^" colwidth="34, 0, 76, 76, 0, 0, 0, 0, 40, 0, 0, 0" dataheight="25" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" navindex="11" style="left:945px; top:19px; width:248px; height:266px; ">
  5850. <col ref="choi" type="checkbox"/>
  5851. <col ref="instcd"/>
  5852. <col class="text_center" ref="userid"/>
  5853. <col class="text_center" ref="usernm"/>
  5854. <col ref="jobkindcd"/>
  5855. <col ref="rgstdd"/>
  5856. <col ref="rgstno"/>
  5857. <col ref="userrgstdd"/>
  5858. <col class="text_center" ref="dispseqno" format="#,###" mask="exclude" maxlength="3"/>
  5859. <col ref="ptno"/>
  5860. <col ref="orgdispseqno"/>
  5861. <col ref="userabbr"/>
  5862. <script type="javascript" ev:event="onclick">
  5863. <![CDATA[
  5864. fExeClickReadDoct(grd_readdoctlist, grd_readdoctlist.row, "/root/main/testrslt/readdoctlist", cap_readdrtitle, "R1");
  5865. ]]>
  5866. </script>
  5867. </datagrid>
  5868. <caption id="cap_cnclresncd" class="cell_1" style="left:0px; top:91px; width:66; height:23px; vertical-align:middle; ">지연사유</caption>
  5869. <caption id="caption15" visibility="hidden" style="left:400px; top:120px; width:53px; height:14px; ">검체보관</caption>
  5870. <bool id="bol_spckeep" disabled="true" visibility="hidden" checkvalue="1,0" ref="/root/main/testrslt/testrsltinfoh/spckeepflagcd" style="left:383px; top:117px; width:15px; height:20px; ">
  5871. <script type="javascript" ev:event="xforms-value-changed">
  5872. <![CDATA[
  5873. fExeEtcInfo("S");
  5874. ]]>
  5875. </script>
  5876. </bool>
  5877. <caption id="caption58" style="left:400px; top:96px; width:62px; height:14px; ">암판정</caption>
  5878. <bool id="bol_cncrjudg" checkvalue="1,0" ref="/root/main/testrslt/testrsltinfoh/cncrjudgflagcd" style="left:379px; top:93px; width:25px; height:20px; ">
  5879. <script type="javascript" ev:event="xforms-value-changed">
  5880. <![CDATA[
  5881. fExeEtcInfo("J");
  5882. ]]>
  5883. </script>
  5884. </bool>
  5885. <caption id="caption96" style="left:549px; top:96px; width:53px; height:14px; ">추정소견</caption>
  5886. <bool id="bol_prepdiag" checkvalue="1,0" ref="/root/main/testrslt/testrsltinfoh/preprsltflagcd" style="left:528px; top:93px; width:25px; height:20px; ">
  5887. <script type="javascript" ev:event="xforms-value-changed">
  5888. <![CDATA[
  5889. fExeEtcInfo("R");
  5890. ]]>
  5891. </script>
  5892. </bool>
  5893. <line id="line15" class="line_2" style="x1:0px; y1:65px; x2:750px; y2:65px; "/>
  5894. <line id="line81" class="line_2" style="x1:762px; y1:41px; x2:941px; y2:41px; "/>
  5895. <line id="line86" class="line_2" style="x1:762px; y1:65px; x2:941px; y2:65px; "/>
  5896. <caption id="caption21" class="cell_1" style="left:762px; top:67px; width:80px; height:23px; vertical-align:middle; ">SAMPLE</caption>
  5897. <line id="line87" class="line_2" style="x1:762px; y1:89px; x2:941px; y2:89px; "/>
  5898. <caption id="caption24" class="cell_1" style="left:782px; top:115px; width:60px; height:23px; vertical-align:middle; ">육안사진</caption>
  5899. <caption id="caption46" class="cell_1" style="left:880px; top:115px; width:60px; height:23px; vertical-align:middle; ">Punch</caption>
  5900. <line id="line88" class="line_2" style="x1:762px; y1:113px; x2:941px; y2:113px; "/>
  5901. <line id="line82" class="line_3" style="x1:762px; y1:137px; x2:941px; y2:137px; "/>
  5902. <bool id="bol_grospic" checkvalue="1,0" ref="/root/main/testrslt/testrsltinfoh/grospic" style="left:762px; top:115px; width:15px; height:23px; "/>
  5903. <bool id="bol_tissbank" checkvalue="1,0" ref="/root/init/punch" style="left:860px; top:115px; width:15px; height:23px; "/>
  5904. <select1 id="cmb_prcptype" ref="/root/hidden/testcd" class="combo_default" navindex="4" appearance="minimal" style="left:69px; top:68px; width:77px; height:19px; ">
  5905. <choices>
  5906. <itemset nodeset="/root/main/testrslt/testcdlist">
  5907. <label ref="testnm"/>
  5908. <value ref="testcd"/>
  5909. </itemset>
  5910. </choices>
  5911. <script type="javascript" ev:event="xforms-value-changed">
  5912. <![CDATA[
  5913. fExeReqFrmPopup();
  5914. ]]>
  5915. </script>
  5916. </select1>
  5917. <caption id="caption62" class="cell_1" style="left:762px; top:91px; width:80px; height:23px; vertical-align:middle; ">결과예문</caption>
  5918. <button id="btn_bloc" visibility="hidden" style="left:935px; top:315px; width:14px; height:16px; background-image:../../../com/commonweb/images/icon_search.gif; ">
  5919. <caption/>
  5920. <script type="javascript" ev:event="DOMActivate">
  5921. <![CDATA[
  5922. fExeBlocPopupCall();
  5923. ]]>
  5924. </script>
  5925. </button>
  5926. <input id="ipt_keybloc" ref="/root/main/testrslt/testrsltinfoh/keybloc" visibility="hidden" style="left:900px; top:315px; width:30px; height:19px; "/>
  5927. <input id="ipt_tissbloct" ref="/root/init/samplecd" style="left:845px; top:68px; width:96px; height:19px; ">
  5928. <script type="javascript" ev:event="onkeypress">
  5929. <![CDATA[
  5930. fGetExample("1"); // 1:Sample, 0:결과예문
  5931. ]]>
  5932. </script>
  5933. </input>
  5934. <input id="ipt_tissblocnt" ref="/root/init/examplecd" style="left:845px; top:92px; width:96px; height:19px; ">
  5935. <script type="javascript" ev:event="onkeypress">
  5936. <![CDATA[
  5937. fGetExample("0"); // 1:Sample, 0:결과예문
  5938. ]]>
  5939. </script>
  5940. </input>
  5941. <output id="opt_readdd" ref="/root/main/testrslt/patinfo/readdd" class="output_fix" format="yyyy-mm-dd" appearance="output" style="left:673px; top:68px; width:78px; height:19px; font-family:굴림체; font-size:9pt; font-weight:bold; color:#008000; "/>
  5942. <button id="btn_1012" class="btn_sw" visibility="hidden" group="tab" style="left:150px; top:0px; width:34px; height:22px; ">
  5943. <caption>골수</caption>
  5944. <script type="javascript" ev:event="DOMActivate">
  5945. <![CDATA[
  5946. fExeUpdtWorkFlag(btn_1012.attribute("id"));
  5947. ]]>
  5948. </script>
  5949. </button>
  5950. <button id="btn_1011" class="btn_sw" visibility="hidden" group="tab" style="left:190px; top:0px; width:34px; height:22px; ">
  5951. <caption>대출</caption>
  5952. <script type="javascript" ev:event="DOMActivate">
  5953. <![CDATA[
  5954. fExeUpdtWorkFlag(btn_1011.attribute("id"));
  5955. ]]>
  5956. </script>
  5957. </button>
  5958. <caption id="cap_readdrtitle" ref="/root/hidden/readdrlist" style="left:1030px; top:1px; width:163px; height:13px; font-family:굴림체; font-size:9pt; font-weight:bold; color:#0000ff; ">판독의사</caption>
  5959. <line id="line12" class="line_2" style="x1:0px; y1:89px; x2:750px; y2:89px; "/>
  5960. <group id="grp_prnt" visibility="hidden" style="left:720px; top:370px; width:395px; height:310px; "/>
  5961. <button id="btn_rgsthist" style="left:737px; top:120px; width:14px; height:16px; background-image:../../../com/commonweb/images/icon_search.gif; ">
  5962. <caption/>
  5963. <script type="javascript" ev:event="DOMActivate">
  5964. <![CDATA[
  5965. fExeRgstHistPopupCall();
  5966. ]]>
  5967. </script>
  5968. </button>
  5969. <caption id="caption98" class="cell_1" style="left:506px; top:119px; width:48px; height:23px; vertical-align:middle; ">입력자</caption>
  5970. <output id="output18" ref="/root/main/testrslt/testrsltinfoh/rsltrgstnm" class="output_fix" appearance="output" style="left:675px; top:120px; width:60px; height:19px; "/>
  5971. <output id="output1" ref="/root/main/testrslt/testrsltinfoh/rgstdd" class="output_fix" format="yyyy-mm-dd" appearance="output" style="left:556px; top:120px; width:65px; height:19px; "/>
  5972. <output id="output2" ref="/root/main/testrslt/testrsltinfoh/rgsttm" class="output_fix" format="hh:nn:ss" appearance="output" style="left:623px; top:120px; width:50px; height:19px; "/>
  5973. <caption id="cap_conc" style="left:626px; top:96px; width:58px; height:14px; font-family:굴림체; font-size:9pt; ">
  5974. <![CDATA[관심증례]]>
  5975. <script type="javascript" ev:event="onclick">
  5976. <![CDATA[
  5977. fExeConcMemo();
  5978. ]]>
  5979. </script>
  5980. </caption>
  5981. <datagrid id="grd_testrslt" nodeset="/root/main/testrslt/testrsltinfoh" visibility="hidden" caption="caption1^caption2^caption3^caption4^caption20^caption45^caption44^caption43^caption42^caption41^caption40^caption39^caption38^caption37^caption36^caption35^caption34^caption33^caption32^caption31^caption30^caption29^caption28^caption27^caption26^caption25^caption24^caption23^caption22^caption21^caption19^caption18^caption17^caption16^rsltstat^caption14^caption13^caption12^caption11^caption10^caption9^caption8^caption7^caption6^caption5^caption15^rsltcnts6^diagcnts" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:745px; top:410px; width:250px; height:150px; ">
  5982. <col ref="instcd"/>
  5983. <col ref="ptno"/>
  5984. <col ref="rsltrgsttm"/>
  5985. <col ref="rsltrgstdd"/>
  5986. <col ref="rsltrgstno"/>
  5987. <col ref="rsltrgsthistno"/>
  5988. <col ref="rsltcnts1"/>
  5989. <col ref="rsltcnts2"/>
  5990. <col ref="rsltcnts3"/>
  5991. <col ref="rsltcnts4"/>
  5992. <col ref="rsltcnts5"/>
  5993. <col ref="cmtcnts"/>
  5994. <col ref="grostestrecdd"/>
  5995. <col ref="grostestrectm"/>
  5996. <col ref="grostestrecid"/>
  5997. <col ref="grostestrecnm"/>
  5998. <col ref="extrpartcd"/>
  5999. <col ref="extrmthdcd"/>
  6000. <col ref="diagcd"/>
  6001. <col ref="rsltrgstid"/>
  6002. <col ref="pid"/>
  6003. <col ref="spckeepflagcd"/>
  6004. <col ref="rslthideflagcd"/>
  6005. <col ref="conccaseflagcd"/>
  6006. <col ref="preprsltflagcd"/>
  6007. <col ref="ugcyalertflagcd"/>
  6008. <col ref="readdd"/>
  6009. <col ref="readtm"/>
  6010. <col ref="readid"/>
  6011. <col ref="cnclflagcd"/>
  6012. <col ref="cnclresncd"/>
  6013. <col ref="cncldd"/>
  6014. <col ref="cncltm"/>
  6015. <col ref="cnclid"/>
  6016. <col ref="rsltstat"/>
  6017. <col ref="keybloc"/>
  6018. <col ref="tissbloct"/>
  6019. <col ref="tissblocnt"/>
  6020. <col ref="grospic"/>
  6021. <col ref="tissbank"/>
  6022. <col ref="readgrade"/>
  6023. <col ref="rsltrgstnm"/>
  6024. <col ref="rgstdd"/>
  6025. <col ref="rgsttm"/>
  6026. <col ref="memocnts"/>
  6027. <col ref="cncrjudgflagcd"/>
  6028. <col ref="rsltcnts6"/>
  6029. <col ref="diagcnts"/>
  6030. </datagrid>
  6031. <datagrid id="grd_testcdlist" nodeset="/root/main/testrslt/testcdlist" visibility="hidden" caption="caption1^caption2^caption3^caption4^caption10^caption9^caption8^caption7^caption6^caption5^caption11^caption12^caption13^caption14^caption15^caption16^caption17^caption18^caption19^caption20^caption21^caption22" colsep="^" colwidth="32, 27, 25, 22, 23, 16, 16, 13, 18, 22, 14, 13, 16, 14, 16, 18, 14, 23, 13, 15, 15, 12" mergecellsfixedrows="bycolrec" rowsep="|" style="left:575px; top:5px; width:130px; height:75px; ">
  6032. <col ref="instcd"/>
  6033. <col ref="ptno"/>
  6034. <col ref="acptdd"/>
  6035. <col ref="acpttm"/>
  6036. <col ref="acptno"/>
  6037. <col ref="acptitemno" style="left:129px; top:23px; width:16px; height:23px; "/>
  6038. <col ref="testcd"/>
  6039. <col ref="testnm"/>
  6040. <col ref="orgacptstatcd"/>
  6041. <col ref="orgprcpstatcd"/>
  6042. <col ref="pid"/>
  6043. <col ref="prcpdd"/>
  6044. <col ref="execprcpuniqno"/>
  6045. <col ref="orddeptcd"/>
  6046. <col ref="orddeptnm"/>
  6047. <col ref="orddrid"/>
  6048. <col ref="orddrnm"/>
  6049. <col ref="wardroom"/>
  6050. <col ref="reqfrmflagcd"/>
  6051. <col ref="spccd"/>
  6052. <col ref="spcnm"/>
  6053. <col ref="prcpgenrflag"/>
  6054. </datagrid>
  6055. <caption id="caption105" style="left:703px; top:95px; width:53px; height:14px; ">긴급알림</caption>
  6056. <bool id="bol_noti" checkvalue="1,0" ref="/root/main/testrslt/testrsltinfoh/ugcyalertflagcd" style="left:682px; top:93px; width:25px; height:20px; ">
  6057. <script type="javascript" ev:event="xforms-select">
  6058. <![CDATA[
  6059. fExeUgcyAlert();
  6060. ]]>
  6061. </script>
  6062. </bool>
  6063. <bool id="bool1" checkvalue="1,0" ref="/root/main/testrslt/testrsltinfoh/conccaseflagcd" style="left:605px; top:93px; width:25px; height:20px; ">
  6064. <script type="javascript" ev:event="xforms-value-changed">
  6065. <![CDATA[
  6066. fExeEtcInfo("C");
  6067. ]]>
  6068. </script>
  6069. </bool>
  6070. <output id="output5" ref="/root/main/testrslt/patinfo/specdrcd" class="output_fix" visibility="hidden" appearance="output" style="left:1017px; top:80px; width:176px; height:19px; "/>
  6071. <group id="grp_conc" visibility="hidden" style="left:565px; top:125px; width:385px; height:183px; ">
  6072. <line id="line32" class="line_3" style="x1:0px; y1:151px; x2:385px; y2:151px; "/>
  6073. <button id="btn_concexit" class="btn4_letter2" style="left:329px; top:156px; width:56px; height:22px; ">
  6074. <caption>닫기</caption>
  6075. <script type="javascript" ev:event="DOMActivate">
  6076. <![CDATA[
  6077. grp_conc.visible = false;
  6078. ]]>
  6079. </script>
  6080. </button>
  6081. <button id="btn_conccnfm" class="btn4_letter2" style="left:270px; top:156px; width:56px; height:22px; ">
  6082. <caption>확인</caption>
  6083. <script type="javascript" ev:event="DOMActivate">
  6084. <![CDATA[
  6085. fSetConcMemo();
  6086. ]]>
  6087. </script>
  6088. </button>
  6089. <button id="btn_concclear" class="btn4_letter3" style="left:199px; top:156px; width:68px; height:22px; ">
  6090. <caption>초기화</caption>
  6091. <script type="javascript" ev:event="DOMActivate">
  6092. <![CDATA[
  6093. model.makeValue("/root/main/testrslt/testrsltinfoh/memocnts", "");
  6094. tar_conc.refresh();
  6095. ]]>
  6096. </script>
  6097. </button>
  6098. <textarea id="tar_conc" ref="/root/main/testrslt/testrsltinfoh/memocnts" style="left:0px; top:0px; width:385px; height:150px; "/>
  6099. </group>
  6100. <select1 id="radio4" ref="/root/main/testrslt/specdrlist/userid" navindex="3" appearance="full" cols="3" overflow="visible" style="left:1017px; top:290px; width:176px; height:20px; border-style:none; ">
  6101. <choices>
  6102. <itemset nodeset="/root/temp/specdrlist">
  6103. <label ref="specdrnm"/>
  6104. <value ref="specdrcd"/>
  6105. </itemset>
  6106. </choices>
  6107. </select1>
  6108. <output id="output6" ref="/root/main/testrslt/patinfo/specdrnm" class="output_fix" visibility="hidden" appearance="output" style="left:1017px; top:55px; width:176px; height:19px; "/>
  6109. <select1 id="cbo_recformcd" ref="/root/init/recformcd" appearance="minimal" itemcount="20" style="left:845px; top:44px; width:96px; height:19px; ">
  6110. <choices>
  6111. <itemset nodeset="/root/init/recform/recformlist">
  6112. <label ref="formnm"/>
  6113. <value ref="formcd"/>
  6114. </itemset>
  6115. </choices>
  6116. <script type="javascript" ev:event="xforms-select">
  6117. <![CDATA[
  6118. fGetRecFormNormal();
  6119. ]]>
  6120. </script>
  6121. </select1>
  6122. <caption id="caption106" class="cell_1" style="left:149px; top:67px; width:66px; height:23px; vertical-align:middle; ">취소사유</caption>
  6123. <select1 id="cbo_delaytime" ref="/root/init/delayresncd" appearance="minimal" style="left:69px; top:93px; width:229px; height:19px; ">
  6124. <choices>
  6125. <itemset nodeset="/root/init/delayresn/resncdlist">
  6126. <label ref="resncnts"/>
  6127. <value ref="resncd"/>
  6128. </itemset>
  6129. </choices>
  6130. </select1>
  6131. <group id="grp_rsltcnts" visibility="hidden" style="left:165px; top:155px; width:220px; height:200px; color:#ff0000; background-color:#fcd2c1; border-color:#f7a08b; border-left-color:#c0c0c0; border-top-color:#c0c0c0; border-right-color:#808080; border-bottom-color:#808080; border-width:2; border-style:solid; ">
  6132. <line id="line96" class="line_1" style="x1:0px; y1:23px; x2:1128px; y2:23px; "/>
  6133. <button id="btn_rsltclose" class="btn4_letter2" style="left:1073px; top:0; width:56px; height:22px; ">
  6134. <caption>확인</caption>
  6135. <script type="javascript" ev:event="DOMActivate">
  6136. <![CDATA[
  6137. fExeCloseCntsView();
  6138. grd_moletestlist.autoResize = true;
  6139. ]]>
  6140. </script>
  6141. </button>
  6142. <caption id="cap_title" class="tit_2" style="left:3px; top:9px; width:343px; height:13px; ">육안검색</caption>
  6143. <textarea id="tar_rsltcnts" ref="/root/hidden/rsltcont" style="left:3px; top:28px; width:1126px; height:658px; font-family:굴림체; font-size:16pt; "/>
  6144. </group>
  6145. </group>
  6146. <script type="javascript" ev:event="onkeydown">
  6147. <![CDATA[
  6148. // F7 : 118, F8 : 119 , F9 : 120, F10 : 121
  6149. var keyCode = event.keyCode;
  6150. //----------------------
  6151. if (keyCode == "118") { // F7
  6152. model.setFocus("ipt_tissbloct");
  6153. ipt_tissbloct.refresh();
  6154. } else if (keyCode == "119") { // F8
  6155. model.setFocus("ipt_tissblocnt");
  6156. ipt_tissblocnt.refresh();
  6157. }
  6158. ]]>
  6159. </script>
  6160. </xhtml:body>
  6161. </xhtml:html>