SMLRR00400_판독결과관리.xrw 299 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLLR00400_판독결과관리.xrw
  4. * 설 명 : 판독결과관리
  5. * 설 계 자 : (주)에이씨케이 -
  6. * 작 성 자 : (주)에이씨케이 - 윤재한
  7. * 작 성 일 : 2007.11.05
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" ztype="text/css" ?>
  12. <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">
  13. <xhtml:head>
  14. <xhtml:title>판독결과관리</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <testinfo>
  20. <spcltestinfo>
  21. <extrtestinstcd/>
  22. <pid/>
  23. <patnm/>
  24. <orddeptnm/>
  25. <orddrnm/>
  26. <bcno/>
  27. <bcolldt/>
  28. <spcacptdt/>
  29. <lastreptdt/>
  30. <medispcdt/>
  31. <testcd/>
  32. <tclsscrnm/>
  33. <descrslt/>
  34. <testlrgkind/>
  35. <tclscd/>
  36. <prcpdd/>
  37. <exla/>
  38. </spcltestinfo>
  39. <detailtestinfo>
  40. <testcd/>
  41. <tclsscrnnm/>
  42. <inptrslt/>
  43. </detailtestinfo>
  44. </testinfo>
  45. <imglist>
  46. <rsltseqno/>
  47. <lastupdtrdt/>
  48. <imght/>
  49. <imgwidt/>
  50. </imglist>
  51. <view>
  52. <imgnm/>
  53. <imgrslt/>
  54. <imgwidt/>
  55. <imght/>
  56. <rsltseqno/>
  57. <savdelflag/>
  58. </view>
  59. <rsltcode>
  60. <cd/>
  61. <nm/>
  62. </rsltcode>
  63. <rslt>
  64. <desc>
  65. <rslt>
  66. <refflag/>
  67. <readrslt/>
  68. <bm/>
  69. <comments/>
  70. <inter/>
  71. <fishinfo>
  72. <basecdnm/>
  73. <basecddesc/>
  74. </fishinfo>
  75. <fishrslt/>
  76. <donor/>
  77. <bminter>
  78. <interrslt/>
  79. <rsltstat/>
  80. <lastdt/>
  81. <userid/>
  82. <chk/>
  83. </bminter>
  84. <inter2/>
  85. <tdmrslt/>
  86. </rslt>
  87. </desc>
  88. </rslt>
  89. <getUsernm>
  90. <usernm/>
  91. </getUsernm>
  92. </main>
  93. <send>
  94. <data1/>
  95. <data2/>
  96. <bcno/>
  97. <testcd/>
  98. <pid/>
  99. </send>
  100. <init/>
  101. <hidden>
  102. <TestData>
  103. <bcno/>
  104. <testcd/>
  105. <spccd/>
  106. <inptrslt/>
  107. <rsltstat/>
  108. <testlrgkind/>
  109. <descrslt/>
  110. <inter/>
  111. </TestData>
  112. <default/>
  113. <rsltseqno/>
  114. <rsltseqnold/>
  115. <RelationParm>
  116. <pid/>
  117. <tclsscrnnm/>
  118. <testcd/>
  119. <spccd/>
  120. </RelationParm>
  121. <testid/>
  122. <testnm/>
  123. <readid/>
  124. <readnm/>
  125. <ref>
  126. <refgbn/>
  127. <text/>
  128. <spclno/>
  129. <parentyn/>
  130. </ref>
  131. <refparam>
  132. <refflag/>
  133. <refflag2/>
  134. </refparam>
  135. <spcltestkind/>
  136. <readexmp/>
  137. <readexmpadd/>
  138. <xslt>
  139. <signno/>
  140. <form/>
  141. </xslt>
  142. <wideuseabnr/>
  143. <fish/>
  144. <readexmpyn/>
  145. </hidden>
  146. </root>
  147. </instance>
  148. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  149. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  150. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  151. <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
  152. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  153. <script type="javascript" src="../../../emr/carecomweb/js/ENRSignEngine.js"/>
  154. <script type="javascript" ev:event="xforms-model-construct-done">
  155. <![CDATA[
  156. fSetClear();
  157. ]]>
  158. </script>
  159. <script type="javascript" ev:event="xforms-ready">
  160. <![CDATA[
  161. fBaseInfoRef("0901|0109|0902|1006|0135|");
  162. var op = open("SPLRR90700", "", "", "", "", "/root/properties/menu/menuparam", "/root/hidden/testgroup/formkind"); //환자리스트
  163. model.setFocus("ipt_reftext");
  164. model.refresh();
  165. ]]>
  166. </script>
  167. <script type="javascript" ev:event="xforms-model-destruct">
  168. <![CDATA[
  169. setCloseChildWindow(); //화면전환시 child가 close되도록 저장
  170. closeChildWindow(); //화면전환시 child닫기로 지정된 경우 해당 child를 모두 닫는다.
  171. ]]>
  172. </script>
  173. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init"/>
  174. <submission id="TRLZZ00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/LB0103"/>
  175. <submission id="TRLZZ00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/getUsernm"/>
  176. <submission id="TXLRR00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
  177. <submission id="TXLRR00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
  178. <submission id="TRLRR00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/patlist"/>
  179. <submission id="TRLRR00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/testinfo"/>
  180. <submission id="TRLRR00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/rslt/desc/rslt/cbcrslt"/>
  181. <submission id="TRLRR00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/readrslt"/>
  182. <submission id="TRLRR00403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/rslt"/>
  183. <submission id="TRLRR00404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/rslt/desc/rslt/detltclsinfo"/>
  184. <submission id="TRLRR00405" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/rslt/desc/rslt/mal1"/>
  185. <submission id="TRLRR00406" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/getUsernm"/>
  186. <submission id="TRLRR00407" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/rslt/desc/rslt/bm"/>
  187. <submission id="TRLRR00408" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/rslt/desc/rslt/fishinfo"/>
  188. <submission id="TRLRR00409" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/rslt/desc/rslt/proteinEP"/>
  189. <submission id="TRLRP00702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/rslt/desc/patinfo"/>
  190. <submission id="TRLRR01501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/imglist"/>
  191. <submission id="TRLRR01502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/view"/>
  192. <submission id="TRLRR90401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/rslt/desc/rslt/testlist"/>
  193. <submission id="TRLRR90402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/rslt/desc/rslt/bfbm"/>
  194. <submission id="TRLRR90403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/rslt/desc/patinfo"/>
  195. <submission id="TRLRR01505" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/testinfo/spcltestinfo/address"/>
  196. <submission id="TRLRR00411" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/fish"/>
  197. <submission id="TRLRR01506" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/immnoa"/>
  198. <submission id="TRLRR01507" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/immnob"/>
  199. <submission id="TRLRR01508" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/immnoc"/>
  200. <submission id="TRLRR01509" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/immnod"/>
  201. <submission id="TRLRR01510" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/immnoe"/>
  202. <submission id="TRLRR01511" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/immnof"/>
  203. </model>
  204. <script type="javascript">
  205. <![CDATA[
  206. var gStartCol = 4;
  207. //초기화
  208. function fSetClear(flag) {
  209. model.resetInstanceNode("/root/");
  210. if(flag != "P") {
  211. //화면 열었을 경우 또는 초기화 눌렀을때.
  212. fBaseInfoRef("0901|0109|0902|1006|"); // 0901 : 특수검사 그룹, 0109 : 결과코드, 0902 : 범용결과관리 면역부 산전검사 코드
  213. model.setvalue("/root/hidden/ref/refgbn" , "1");
  214. model.setvalue("/root/hidden/ref/text" , "");
  215. model.setValue("/root/hidden/readexmpadd", "Y");
  216. model.setValue("/root/hidden/readexmpyn", "");
  217. //model.setValue("/root/hidden/readinteryn", "Y");
  218. var param = model.getValue("/root/properties/menu/menuparam");
  219. model.setValue("/root/main/rslt/desc/rslt/refflag", param); //메뉴파람 or 특수결과양식유형 에 따른..
  220. fTranscrn();//화면전환
  221. } else {
  222. //결과저장 후 화면초기화(flag = 'P')
  223. model.removenode("/root/main/rslt/desc/rslt"); //서술결과 지움
  224. model.removeNodeset("/root/main/rslt/desc/rslt/osmotic"); //osmotic 경우 입력했던 OD값 및 %값 지움
  225. if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "05") { //osmotic 인 경우
  226. fGridMake(); //그리드 생성
  227. }
  228. }
  229. model.setFocus("ipt_reftext");
  230. model.removeNodeset("/root/main/rsltcode"); //결과코드 지움
  231. model.removeNodeset("/root/main/rslt/desc/rslt/cbcrslt"); //CBC결과
  232. model.removeNodeset("/root/main/rslt/desc/rslt/testlist");//연관검사
  233. model.removeNodeset("/root/main/testinfo/spcltestinfo");//환자정보
  234. model.removenode("/root/main/imglist"); //이미지 콤보 지움
  235. model.removenode("/root/main/view"); //이미지 지움
  236. model.removenode("/root/main/imglistld"); //LD 이미지 콤보 지움
  237. model.removenode("/root/main/viewld"); //LD 이미지 지움
  238. model.removenode("/root/main/testinfo"); //grd_rslt 지움
  239. model.refresh();
  240. }
  241. //화면 전환
  242. function fTranscrn() {
  243. if(model.getValue("/root/main/rslt/desc/rslt/refflag") != "05") {
  244. model.removenode("/root/main/rslt/desc/rslt/osmotic");
  245. }
  246. var yy = getCurrentDate(); //특수검사연번호때문
  247. yy = yy.substr(2, 2);
  248. if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "01") {
  249. //Bone Marrow
  250. model.toggle("bm");
  251. btn_bm_desc.dispatch("DOMActivate");
  252. btn_bm_desc.selected = true;
  253. cpt_title.attribute("text") = "Bone Marrow 결과관리";
  254. model.setValue("/root/main/rslt/desc/rslt/refflag", "01");
  255. model.setValue("/root/hidden/ref/spclno", "B" + yy + "-"); //특수검사연번호
  256. } else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "02") {
  257. //분자유전
  258. model.toggle("mole");
  259. btn_mole_desc.dispatch("DOMActivate");
  260. btn_mole_desc.selected = true;
  261. cpt_title.attribute("text") = "분자유전 결과관리";
  262. model.setValue("/root/main/rslt/desc/rslt/refflag", "02");
  263. model.setValue("/root/hidden/ref/spclno", yy + "-"); //특수검사연번호
  264. } else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "03") {
  265. //세포유전
  266. model.toggle("cell");
  267. btn_cell_desc.dispatch("DOMActivate");
  268. btn_cell_desc.selected = true;
  269. cpt_title.attribute("text") = "세포유전 결과관리";
  270. model.setValue("/root/main/rslt/desc/rslt/refflag", "03");
  271. model.setValue("/root/hidden/ref/spclno", yy + "-"); //특수검사연번호
  272. } else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "04") {
  273. //Immunophenotyping
  274. model.toggle("im");
  275. cpt_title.attribute("text") = "Immunophenotyping 결과관리";
  276. model.setValue("/root/main/rslt/desc/rslt/refflag", "04");
  277. model.setValue("/root/hidden/ref/spclno", yy + "-"); //특수검사연번호
  278. } else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "05") {
  279. //Osmotic
  280. model.toggle("of");
  281. cpt_title.attribute("text") = "Osmotic Fragility 결과관리";
  282. if(getNodesetCount("/root/main/rslt/desc/rslt/osmotic") < 1) {
  283. model.makeNode("/root/main/rslt/desc/rslt/osmotic/f1con");
  284. model.makeNode("/root/main/rslt/desc/rslt/osmotic/e1con");
  285. model.makeNode("/root/main/rslt/desc/rslt/osmotic/f24con");
  286. model.makeNode("/root/main/rslt/desc/rslt/osmotic/e24con");
  287. model.makeNode("/root/main/rslt/desc/rslt/osmotic/f1pat");
  288. model.makeNode("/root/main/rslt/desc/rslt/osmotic/e1pat");
  289. model.makeNode("/root/main/rslt/desc/rslt/osmotic/f24pat");
  290. model.makeNode("/root/main/rslt/desc/rslt/osmotic/e24pat");
  291. }
  292. model.setValue("/root/hidden/ref/spclno", "OFT" + yy + "-"); //특수검사연번호
  293. fGridMake();
  294. } else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "06") {
  295. //ICG
  296. model.toggle("icg");
  297. cpt_title.attribute("text") = "ICG 결과관리";
  298. model.setValue("/root/main/rslt/desc/rslt/refflag", "06");
  299. model.setValue("/root/hidden/ref/spclno", yy + "-"); //특수검사연번호
  300. } else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "07") {
  301. //PB
  302. model.toggle("pb");
  303. cpt_title.attribute("text") = "PB 결과관리";
  304. model.setValue("/root/main/rslt/desc/rslt/refflag", "07");
  305. model.setValue("/root/hidden/ref/spclno", "PB" + yy + "-"); //특수검사연번호
  306. } else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "08") {
  307. //EP
  308. model.toggle("ep");
  309. cpt_title.attribute("text") = "EP 결과관리";
  310. model.setValue("/root/main/rslt/desc/rslt/refflag", "08");
  311. model.setValue("/root/hidden/ref/spclno", yy + "-"); //특수검사연번호
  312. } else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "09") {
  313. //산전기형
  314. model.toggle("befchildbrth");
  315. cpt_title.attribute("text") = "산전기형 결과관리";
  316. model.setValue("/root/main/rslt/desc/rslt/refflag", "09");
  317. model.setValue("/root/hidden/ref/spclno", yy + "-"); //특수검사연번호
  318. } else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "10") {
  319. //PRA
  320. model.toggle("pra");
  321. cpt_title.attribute("text") = "PRA 결과관리";
  322. model.setValue("/root/main/rslt/desc/rslt/refflag", "10");
  323. model.setValue("/root/hidden/ref/spclno", yy + "-"); //특수검사연번호
  324. } else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "11") {
  325. //교차시험
  326. model.toggle("cm");
  327. cpt_title.attribute("text") = "교차시험 결과관리";
  328. model.setValue("/root/main/rslt/desc/rslt/refflag", "11");
  329. model.setValue("/root/hidden/ref/spclno", yy + "-"); //특수검사연번호
  330. } else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "12") {
  331. //TDM
  332. model.toggle("tdm");
  333. cpt_title.attribute("text") = "TDM 결과관리";
  334. model.setValue("/root/main/rslt/desc/rslt/refflag", "12");
  335. model.setValue("/root/hidden/ref/spclno", yy + "-"); //특수검사연번호
  336. } else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "13") {
  337. //CKLD
  338. model.toggle("ckld");
  339. cpt_title.attribute("text") = "CKLD 결과관리";
  340. model.setValue("/root/main/rslt/desc/rslt/refflag", "13");
  341. model.setValue("/root/hidden/ref/spclno", yy + "-"); //특수검사연번호
  342. }else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "14") {
  343. //FISH
  344. model.toggle("fish");
  345. btn_fish_desc.dispatch("DOMActivate");
  346. btn_fish_desc.selected = true;
  347. cpt_title.attribute("text") = "fish&염색체 결과관리";
  348. model.setValue("/root/main/rslt/desc/rslt/refflag", "14");
  349. model.setValue("/root/hidden/ref/spclno", yy + "-"); //특수검사연번호
  350. }else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "15") {
  351. //STR
  352. model.toggle("str");
  353. btn_fish_desc.dispatch("DOMActivate");
  354. btn_fish_desc.selected = true;
  355. cpt_title.attribute("text") = "STR 결과관리";
  356. model.setValue("/root/main/rslt/desc/rslt/refflag", "15");
  357. model.setValue("/root/hidden/ref/spclno", yy + "-"); //특수검사연번호
  358. }else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "99") {
  359. //범용보고서
  360. model.toggle("wideuse");
  361. cpt_title.attribute("text") = "범용보고서 결과관리";
  362. model.setValue("/root/main/rslt/desc/rslt/refflag", "99");
  363. model.setValue("/root/hidden/ref/spclno", yy + "-"); //특수검사연번호
  364. }
  365. model.refresh();
  366. }
  367. //환자정보 조회
  368. function fOnclick_grd_patList(flag){
  369. model.makeValue("/root/main/rslt/desc/rslt/readrslt", "");
  370. //alert(flag);
  371. if(flag != "R") {
  372. //PB 처럼 판독에서 결과 저장을 하지 않고 검체별에서 결과저장을 한 경우 다시 조회 (flag = "R")가 아니다.
  373. model.resetInstanceNode("/root/main/testinfo");
  374. model.resetInstanceNode("/root/main/imglist");
  375. model.resetInstanceNode("/root/main/imglistld");
  376. model.resetInstanceNode("/root/main/view");
  377. model.resetInstanceNode("/root/main/viewld");
  378. model.removeNodeset("/root/main/rslt/desc/rslt/bfbm");
  379. model.removeNodeset("/root/main/rslt/desc/rslt/beforerslt");
  380. model.removeNodeset("/root/main/rslt/desc/rslt/pra");
  381. model.removeNodeset("/root/main/rslt/desc/rslt/cm");
  382. model.removeNodeset("/root/main/rslt/desc/rslt/sst");
  383. model.removeNodeset("/root/main/rslt/desc/rslt/diff");
  384. model.removeNodeset("/root/main/rslt/desc/rslt/ihc");
  385. model.removeNodeset("/root/main/rslt/desc/rslt/testlist");
  386. model.removeNodeset("/root/main/rslt/desc/rslt/cbcrslt");
  387. model.removeNodeset("/root/main/rslt/desc/rslt/mal1");
  388. model.removeNodeset("/root/main/rslt/desc/rslt/mal2");
  389. model.removeNodeset("/root/main/rslt/desc/rslt/mal3");
  390. model.removeNodeset("/root/main/rslt/desc/rslt/ckld");
  391. model.removeNodeset("/root/main/rslt/desc/rslt/proteinEP");
  392. model.removeNodeset("/root/main/rslt/desc/rslt/bm");
  393. model.removeNodeset("/root/main/rslt/desc/rslt/fishinfo");
  394. model.removeNodeset("/root/main/rslt/desc/rslt/fishrslt");
  395. model.removeNodeset("/root/main/rslt/desc/rslt/address");
  396. model.removeNodeset("/root/main/rslt/desc/rslt/bminter");
  397. model.removeNodeset("/root/main/immnoa");
  398. model.removeNodeset("/root/main/immnob");
  399. model.removeNodeset("/root/main/immnoc");
  400. model.removeNodeset("/root/main/immnod");
  401. model.removeNodeset("/root/main/immnoe");
  402. model.removeNodeset("/root/main/immnof");
  403. model.makeValue("/root/send/bcno" , model.getvalue("/root/hidden/refflag/bcno"));
  404. model.makeValue("/root/send/testcd" , model.getvalue("/root/hidden/refflag/testcd"));
  405. model.makeValue("/root/send/prcpgenrflag" , model.getvalue("/root/hidden/refflag/prcpgenrflag"));
  406. model.makeValue("/root/send/spclrsltformkind" , model.getvalue("/root/hidden/refflag/spclrsltformkind"));
  407. submit("TRLRR00102"); //환자정보 & 검사리스트
  408. if(model.getValue("/root/main/testinfo/spcltestinfo/lastreptid" ) !== ""){
  409. model.setValue("/root/hidden/testid",model.getValue("/root/main/testinfo/spcltestinfo/lastreptid"));
  410. fUserNMRef("t");
  411. }
  412. if(model.getValue("/root/main/testinfo/spcltestinfo/medireptid" ) !== ""){
  413. model.setValue("/root/hidden/readid",model.getValue("/root/main/testinfo/spcltestinfo/medireptid"));
  414. fUserNMRef("r");
  415. }
  416. // if(model.getValue("/root/main/testinfo/spcltestinfo/lastreptid") == "" ){
  417. // //alert(1111111);
  418. // model.setValue("/root/hidden/testid","");
  419. // model.setValue("/root/hidden/testnm","");
  420. //
  421. // }
  422. // if(model.getValue("/root/main/testinfo/spcltestinfo/medispclid") == "" ){
  423. // //alert(1111111);
  424. // model.setValue("/root/hidden/readid","");
  425. // model.setValue("/root/hidden/readnm","");
  426. //
  427. // }
  428. model.refresh();
  429. submit("TRLRR00402"); //판독예문
  430. model.removeNodeset("/root/send/bcno");
  431. model.removeNodeset("/root/send/testcd");
  432. model.removeNodeset("/root/send/prcpgenrflag");
  433. }
  434. if(getNodesetCount("/root/main/testinfo/spcltestinfo") > 0) {
  435. //환자정보가 있을경우
  436. if(getNodesetCount("/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo") > 0) {
  437. //의뢰지가 있을 경우 의뢰서 조회 버튼 보이게
  438. btn_reqref.attribute("visibility") = "visible";
  439. } else {
  440. //의뢰지가 없을 경우 의뢰서 조회 버튼 안 보이게
  441. btn_reqref.attribute("visibility") = "hidden";
  442. }
  443. if(flag != "R") {
  444. //PB 처럼 판독에서 결과 저장을 하지 않고 검체별에서 결과저장을 한 경우 다시 조회 (flag = "R")가 아니다.
  445. fUpPatinfo();
  446. fRsltCode("");
  447. }
  448. var refNo = model.getValue("/root/main/rslt/desc/rslt/refflag");
  449. if(model.getValue("/root/main/testinfo/spcltestinfo/rsltstat") == "-" || flag == "R") {
  450. //재조회이거나 결과플래그가 '-'일 때
  451. //alert("A");
  452. if(refNo == "01") {
  453. //Bone Marrow 결과입력
  454. model.makeNode("/root/main/rslt/desc/rslt/ssr");
  455. model.makeNode("/root/main/rslt/desc/rslt/inter");
  456. model.makeNode("/root/main/rslt/desc/rslt/inter2");
  457. model.makeNode("/root/main/rslt/desc/rslt/comments");
  458. //기존에 inter로 되어있던 인스턴스 구조를 inter2로 바꾸고
  459. //결과입력시 inter로 다시 셋해주도록 수정하여,
  460. // 수정전에 inter로 결과가 들어간 결과값이 조회가 안되어 수정함. 2009.11.04 김성희
  461. //즉, 조회는 inter로 해오고 화면에는 inter2로 보여줌. 그리고 다시 결과 수정하면 inter로 셋해줌.
  462. model.setValue("/root/main/rslt/desc/rslt/inter2", model.getValue("/root/main/rslt/desc/rslt/inter"));
  463. group_bminter.attribute("visibility") = "hidden";
  464. // for(i=1; i<= grd_bminter.rows; i++){
  465. // model.setValue("/root/main/rslt/desc/rslt/bminter["+ i +"]/chk","N");
  466. // }
  467. fGetCBCRslt("01"); //CBC 결과
  468. fGetRelRslt(); //연관검사
  469. fGetBInterRslt(); //이전검사
  470. fGetSD(); //Special stain과 BM Diff.count
  471. fImgRslt("cmb_bm_seq", "cpt_bm_noimg", "img_bm");
  472. } else if(refNo == "02") {
  473. // 분자유전
  474. fGetBInterRslt("D"); //Bone Marrow 이전결과와 이전결과
  475. fAddress("P"); //분자유전주소
  476. model.makeValue("/root/main/rslt/desc/rslt/address/basecd",model.getValue("/root/main/testinfo/spcltestinfo/address/basecd"));
  477. model.makeValue("/root/main/rslt/desc/rslt/address/basecdidnm",model.getValue("/root/main/testinfo/spcltestinfo/address/basecdidnm"));
  478. model.makeValue("/root/main/rslt/desc/rslt/address/basecdnm",model.getValue("/root/main/testinfo/spcltestinfo/address/basecdnm"));
  479. model.makeValue("/root/main/rslt/desc/rslt/address/basecddesc",model.getValue("/root/main/testinfo/spcltestinfo/address/basecddesc"));
  480. fGetDetlTcls(); //세부검사
  481. fImgRslt("cmb_mole_seq", "cpt_mole_noimg", "img_mole"); //이미지
  482. } else if(refNo == "03") {
  483. //세포유전
  484. model.makeNode("/root/main/rslt/desc/rslt/inter");
  485. model.makeNode("/root/main/rslt/desc/rslt/comments");
  486. //model.setValue("/root/main/rslt/desc/rslt/comments","aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa");
  487. fGetBInterRslt("D"); //Bone Marrow 이전결과와 이전결과
  488. fGetRelRslt(); // 연관검사
  489. fImgRslt("cmb_cell_seq", "cpt_cell_noimg", "img_cell"); //이미지
  490. fAddress("D");
  491. model.makeValue("/root/main/rslt/desc/rslt/address/basecd",model.getValue("/root/main/testinfo/spcltestinfo/address/basecd"));
  492. model.makeValue("/root/main/rslt/desc/rslt/address/basecdidnm",model.getValue("/root/main/testinfo/spcltestinfo/address/basecdidnm"));
  493. model.makeValue("/root/main/rslt/desc/rslt/address/basecdnm",model.getValue("/root/main/testinfo/spcltestinfo/address/basecdnm"));
  494. model.makeValue("/root/main/rslt/desc/rslt/address/basecddesc",model.getValue("/root/main/testinfo/spcltestinfo/address/basecddesc"));
  495. } else if(refNo == "04") {
  496. //Immunophenotyping
  497. fGetBInterRslt("D"); //Bone Marrow 이전결과와 이전결과
  498. fGetDetlTcls(); //세부검사
  499. if(getNodesetCount("/root/main/rslt/desc/rslt/detltclsinfo") > 0) {
  500. for(i = 9; i <= getNodesetCount("/root/main/rslt/desc/rslt/detltclsinfo"); i++) {
  501. model.makeNode("/root/main/rslt/desc/rslt/detltclsinfo2");
  502. if(getNodesetCount("/root/main/rslt/desc/rslt/detltclsinfo2/testcd") < 1) {
  503. copyNodesetType("/root/main/rslt/desc/rslt/detltclsinfo2", "/root/main/rslt/desc/rslt/detltclsinfo["+ i +"]");
  504. } else {
  505. copyNodesetType("/root/main/rslt/desc/rslt/detltclsinfo2", "/root/main/rslt/desc/rslt/detltclsinfo["+ i +"]", "after");
  506. }
  507. model.removeNodeset("/root/main/rslt/desc/rslt/detltclsinfo["+ i +"]");
  508. i = i - 1;
  509. }
  510. }
  511. model.refresh();
  512. } else if(refNo == "05") {
  513. //Osmotic
  514. fImgRslt("cmb_of_seq", "cpt_of_noimg", "img_of"); //이미지
  515. } else if(refNo == "06") {
  516. //ICG
  517. model.makeNode("/root/main/rslt/desc/rslt/icg/min5");
  518. model.makeNode("/root/main/rslt/desc/rslt/icg/min10");
  519. model.makeNode("/root/main/rslt/desc/rslt/icg/min15");
  520. model.makeNode("/root/main/rslt/desc/rslt/icg/sosil");
  521. model.makeNode("/root/main/rslt/desc/rslt/icg/vangam");
  522. model.makeNode("/root/main/rslt/desc/rslt/icg/r15");
  523. fImgRslt("cmb_icg_seq", "cpt_icg_noimg", "img_icg"); //이미지
  524. } else if(refNo == "07") { //PB 결과입력
  525. fGetCBCRslt("07");
  526. model.removeNodeset("/root/main/rslt/desc/rslt/cbc2");
  527. var count = getNodesetCount("/root/main/rslt/desc/rslt/cbcrslt");
  528. var val = model.getValue("/root/main/rslt/desc/rslt/cbcrslt["+ count +"]/testcd");
  529. var i = 0;
  530. if(count > 0) {
  531. for(j = 1; j <= count; j++) {
  532. tcls = model.getValue("/root/main/rslt/desc/rslt/cbcrslt["+ j +"]/testcd");
  533. if(tcls.substr(3, 3) == "105") {
  534. //diff결과는 다른 그리드에 표현
  535. if(i == 0) {
  536. model.makeNode("/root/main/rslt/desc/rslt/cbc2");
  537. }
  538. if(getNodesetCount("/root/main/rslt/desc/rslt/cbc2/testcd") < 1) {
  539. copyNodesetType("/root/main/rslt/desc/rslt/cbc2", "/root/main/rslt/desc/rslt/cbcrslt["+ j +"]");
  540. } else {
  541. copyNodesetType("/root/main/rslt/desc/rslt/cbc2", "/root/main/rslt/desc/rslt/cbcrslt["+ j +"]", "after");
  542. }
  543. if(model.getValue("/root/main/rslt/desc/rslt/cbcrslt["+ j +"]/testcd") == val) {
  544. model.removeNodeset("/root/main/rslt/desc/rslt/cbcrslt["+ j +"]");
  545. break;
  546. } else {
  547. model.removeNodeset("/root/main/rslt/desc/rslt/cbcrslt["+ j +"]");
  548. }
  549. j = j - 1;
  550. i++;
  551. }
  552. }
  553. model.refresh();
  554. }
  555. fGetMalRslt();
  556. } else if(refNo == "08") {
  557. //EP
  558. var tclscd = model.getValue("/root/main/testinfo/spcltestinfo/tclscd");
  559. model.makeValue("/root/main/rslt/desc/rslt/tclscd",tclscd);
  560. var testcd = model.getValue("/root/main/testinfo/spcltestinfo/testcd");
  561. model.makeValue("/root/main/rslt/desc/rslt/testcd", testcd);
  562. if(tclscd == "LSI103" || tclscd == "LSI102" || testcd == "LSI103" || testcd == "LSI102") {
  563. fGetproteinEP(); //proteinEP검사
  564. for (i=1;i <= grd_proteinEP.rows;i++){
  565. var vJudg1 = model.getvalue("/root/main/rslt/desc/rslt/proteinEP["+i+"]/judgmarkorigin");
  566. if(vJudg1 == "H") {
  567. grd_proteinEP.cellStyle ("background-color",i,3,i,3) = "#f7a08b";
  568. } else if(vJudg1 == "L") {
  569. grd_proteinEP.cellStyle ("background-color",i,3,i,3) = "#b9e5fb";
  570. } else {
  571. grd_proteinEP.cellStyle ("background-color",i,3,i,3) = "#ffffff";
  572. }
  573. var vJudg2 = model.getvalue("/root/main/rslt/desc/rslt/proteinEP["+i+"]/judgmarkpersent");
  574. if(vJudg2 == "H") {
  575. grd_proteinEP.cellStyle ("background-color",i,5,i,5) = "#f7a08b";
  576. } else if(vJudg2 == "L") {
  577. grd_proteinEP.cellStyle ("background-color",i,5,i,5) = "#b9e5fb";
  578. } else {
  579. grd_proteinEP.cellStyle ("background-color",i,5,i,5) = "#ffffff";
  580. }
  581. }
  582. } else {
  583. //alert("$#@$@#$@#$@#$@#$@#$@#");
  584. fGetDetlTcls(); //세부검사
  585. }
  586. if( tclscd == "LSI103" || tclscd == "LSI102" || testcd == "LSI103" || testcd == "LSI102") {
  587. grd_proteinEP.attribute("visibility") = "visible"
  588. grd_ep_dtcl.attribute("visibility") = "hidden"
  589. } else {
  590. grd_proteinEP.attribute("visibility") = "hidden"
  591. grd_ep_dtcl.attribute("visibility") = "visible"
  592. }
  593. if(tclscd == "LSI103" || testcd == "LSI103" ){
  594. grd_proteinEP.caption = "^검사명^정량(mg/dL)^참고치(mg/dL)^결과(%)^참고치(%)^이전결과^";
  595. }
  596. if(tclscd == "LSI102" || testcd == "LSI102"){
  597. grd_proteinEP.caption = "^검사명^정량(g/dL)^참고치(g/dL)^결과(%)^참고치(%)^이전결과^";
  598. }
  599. fGetRelRslt(); //연관검사
  600. if(tclscd == "LSI104" || tclscd == "LSI105" || testcd == "LSI104" || testcd == "LSI105" ){
  601. caption29.attribute("visibility") = "hidden"
  602. cmb_ep_seq.attribute("visibility") = "hidden"
  603. group4.attribute("visibility") = "hidden"
  604. group5.attribute("visibility") = "visible"
  605. model.copyNode("/root/send/data1" , "/root/main/testinfo/spcltestinfo");
  606. submit("TRLRR01501");
  607. fImgRef1( "cmb_ep_seq", "cpt_immno_noimg","img_immno1"); //immno이미지
  608. fImgRef2( "cmb_ep_seq", "cpt_immno_noimg","img_immno2"); //immno이미지
  609. fImgRef3( "cmb_ep_seq", "cpt_immno_noimg","img_immno3"); //immno이미지
  610. fImgRef4( "cmb_ep_seq", "cpt_immno_noimg","img_immno4"); //immno이미지
  611. fImgRef5( "cmb_ep_seq", "cpt_immno_noimg","img_immno5"); //immno이미지
  612. fImgRef6( "cmb_ep_seq", "cpt_immno_noimg","img_immno6"); //immno이미지
  613. } else {
  614. fImgRslt("cmb_ep_seq", "cpt_ep_noimg", "img_ep"); //이미지
  615. caption29.attribute("visibility") = "visible"
  616. cmb_ep_seq.attribute("visibility") = "visible"
  617. //alert("ASDFASDF");
  618. group4.attribute("visibility") = "visible"
  619. group5.attribute("visibility") = "hidden"
  620. }
  621. model.removeNodeset("/root/send/data1");
  622. model.makeNode("/root/send/data1");
  623. model.refresh();
  624. } else if(refNo == "09") {
  625. //산전기형
  626. fGetRelRslt(); //연관검사
  627. } else if(refNo == "10") {
  628. //PRA
  629. fGetPRA(); //PRA 검사항목
  630. } else if(refNo == "11") {
  631. //교차시험
  632. fGetCM(); //교차시험 검사항목
  633. } else if(refNo == "12") {
  634. //TDM
  635. fGetRelRslt(); //연관검사
  636. } else if(refNo == "13") {
  637. //CKLD
  638. fGetCKLD(); //CKLD 검사항목
  639. var testcd = model.getValue("/root/main/testinfo/spcltestinfo/testcd");
  640. model.setValue("/root/main/testinfo/spcltestinfo/testcd", "LSI113"); //LD 이미지 조회하기 위해 임시로 LD 코드로 박음.
  641. fImgRslt("cmb_ld_seq", "cpt_ld_noimg", "img_ld"); //이미지
  642. model.setValue("/root/main/testinfo/spcltestinfo/testcd", testcd); //원상복귀..
  643. fImgRslt("cmb_ck_seq", "cpt_ck_noimg", "img_ck"); //이미지
  644. } else if(refNo == "14"){
  645. model.removeNodeset("/root/hidden/fishinfo");
  646. model.removeNodeset("/root/hidden/fishrslt");
  647. model.makeNode("/root/main/rslt/desc/rslt/inter");
  648. model.makeNode("/root/main/rslt/desc/rslt/comments");
  649. // model.makenode("/root/main/rslt/desc/rslt/fishrslt/reptrslt1");
  650. // model.makenode("/root/main/rslt/desc/rslt/fishrslt/reptrslt2");
  651. fAddress("D");
  652. model.makeValue("/root/main/rslt/desc/rslt/address/basecd",model.getValue("/root/main/testinfo/spcltestinfo/address/basecd"));
  653. model.makeValue("/root/main/rslt/desc/rslt/address/basecdidnm",model.getValue("/root/main/testinfo/spcltestinfo/address/basecdidnm"));
  654. model.makeValue("/root/main/rslt/desc/rslt/address/basecdnm",model.getValue("/root/main/testinfo/spcltestinfo/address/basecdnm"));
  655. model.makeValue("/root/main/rslt/desc/rslt/address/basecddesc",model.getValue("/root/main/testinfo/spcltestinfo/address/basecddesc"));
  656. model.makeValue("/root/main/rslt/desc/rslt/tclscd",model.getValue("/root/main/testinfo/spcltestinfo/tclscd"));
  657. if(model.getValue("/root/main/testinfo/spcltestinfo/tclscd") == "LDR113") {
  658. grd_fishrslt1.attribute("visibility") = "hidden"
  659. grd_fishrslt2.attribute("visibility") = "visible"
  660. }else {
  661. grd_fishrslt1.attribute("visibility") = "visible"
  662. grd_fishrslt2.attribute("visibility") = "hidden"
  663. }
  664. var tclskind = model.getValue("/root/main/testinfo/spcltestinfo/tclskind");
  665. if(tclskind != "1") {
  666. fGetFishRslt();
  667. } else {
  668. fGetFishRslt("R");
  669. }
  670. model.refresh();
  671. } else if(refNo == "15") {
  672. model.makeNode("/root/main/rslt/desc/rslt/inter");
  673. model.makeNode("/root/main/rslt/desc/rslt/comments");
  674. // model.makenode("/root/main/rslt/desc/rslt/fishrslt/reptrslt1");
  675. // model.makenode("/root/main/rslt/desc/rslt/fishrslt/reptrslt2");
  676. fGrdReMake();
  677. fGrdReMake2();
  678. fGetDetlTcls(); //세부검사
  679. model.refresh();
  680. } else if(refNo == "99") {
  681. //범용
  682. grd_wideuse_dtcl1.rebuildStyle();
  683. model.makeNode("/root/main/rslt/desc/rslt/ssr");
  684. model.makeNode("/root/main/rslt/desc/rslt/inter");
  685. model.makeNode("/root/main/rslt/desc/rslt/comments");
  686. var tclscd = model.getValue("/root/main/testinfo/spcltestinfo/tclscd");
  687. //alert(tclscd);
  688. model.makeValue("/root/main/rslt/desc/rslt/tclscd",tclscd);
  689. fGetDetlTcls(); //세부검사
  690. //산전검사이면
  691. if(tclscd == model.getValue("/root/init/LB0902/cd") ){
  692. fSetTestGridStyle("Y"); //산전검사일때 화면 구조 변경
  693. }else{
  694. fSetTestGridStyle("N"); //산전검사 아닐때 화면 원래대로
  695. }
  696. /*if(getNodesetCount("/root/main/rslt/desc/rslt/detltclsinfo") > 0) {
  697. for(i = 13; i <= getNodesetCount("/root/main/rslt/desc/rslt/detltclsinfo"); i++) {
  698. model.makeNode("/root/main/rslt/desc/rslt/detltclsinfo2");
  699. if(getNodesetCount("/root/main/rslt/desc/rslt/detltclsinfo2/testcd") < 1) {
  700. copyNodesetType("/root/main/rslt/desc/rslt/detltclsinfo2", "/root/main/rslt/desc/rslt/detltclsinfo["+ i +"]");
  701. } else {
  702. copyNodesetType("/root/main/rslt/desc/rslt/detltclsinfo2", "/root/main/rslt/desc/rslt/detltclsinfo["+ i +"]", "after");
  703. }
  704. model.removeNodeset("/root/main/rslt/desc/rslt/detltclsinfo["+ i +"]");
  705. i = i - 1;
  706. }
  707. }*/
  708. if(getNodesetCount("/root/main/rslt/desc/rslt/detltclsinfo") > 0 && model.getValue("/root/hidden/ref/parentyn") == "Y") {
  709. for(i = 1; i <= getNodesetCount("/root/main/rslt/desc/rslt/detltclsinfo"); i++) {
  710. setRowStyle("grd_wideuse_dtcl1", "5", "비정상", "reptrslt", "equal"); //"5" 붉은색
  711. }
  712. }
  713. model.refresh();
  714. fImgRslt("cmb_wideuse_seq", "cpt_wideuse_noimg", "img_wideuse"); //이미지
  715. }
  716. } else {
  717. //결과저장 및 결과보고 되어있을 경우 서술결과(판독결과)만 조회
  718. fGetRead();
  719. //alert("B");
  720. //model.resetInstanceNode("/root/main/view");
  721. refNo = model.getValue("/root/main/rslt/desc/rslt/refflag");
  722. if(refNo == "01") {
  723. model.makeNode("/root/main/rslt/desc/rslt/inter2");
  724. //기존에 inter로 되어있던 인스턴스 구조를 inter2로 바꾸고
  725. //결과입력시 inter로 다시 셋해주도록 수정하여,
  726. //수정전에 inter로 결과가 들어간 결과값이 조회가 안되어 수정함. 2009.11.04 김성희
  727. //즉, 조회는 inter로 해오고 화면에는 inter2로 보여줌. 그리고 다시 결과 수정하면 inter로 셋해줌.
  728. model.setValue("/root/main/rslt/desc/rslt/inter2", model.getValue("/root/main/rslt/desc/rslt/inter"));
  729. group_bminter.attribute("visibility") = "hidden";
  730. for(i=1; i < grd_bminter.rows; i++){
  731. if(model.getValue("/root/main/rslt/desc/rslt/bminter["+ i +"]/chk") != ""){
  732. model.setValue("/root/main/rslt/desc/rslt/bminter["+ i +"]/chk","false");
  733. }
  734. }
  735. fImgRslt("cmb_bm_seq", "cpt_bm_noimg", "img_bm");
  736. } else if(refNo == "02") {
  737. fImgRslt("cmb_mole_seq", "cpt_mole_noimg", "img_mole");
  738. } else if(refNo == "03") {
  739. fImgRslt("cmb_cell_seq", "cpt_cell_noimg", "img_cell");
  740. } else if(refNo == "05") { //Osmotic Fragility
  741. fImgRslt("cmb_of_seq", "cpt_of_noimg", "img_of"); //이미지
  742. } else if(refNo == "06") { //ICG
  743. fImgRslt("cmb_icg_seq", "cpt_icg_noimg", "img_icg"); //이미지
  744. } else if(refNo == "07") { //PB
  745. setRowStyle("grd_pb_mal1", "0", "", "testcd");
  746. setRowStyle("grd_pb_mal2", "0", "", "testcd");
  747. setRowStyle("grd_pb_mal3", "0", "", "testcd");
  748. } else if(refNo == "08") { //EP
  749. fGetRelRslt(); //연관검사
  750. var tclscd = model.getValue("/root/main/testinfo/spcltestinfo/tclscd");
  751. model.makeValue("/root/main/rslt/desc/rslt/tclscd",tclscd);
  752. // 2010-03-23 JJH : EP Panel항목으로 추가
  753. var testcd = model.getValue("/root/main/testinfo/spcltestinfo/testcd");
  754. model.makeValue("/root/main/rslt/desc/rslt/tclscd",testcd);
  755. if(tclscd == "LSI103" || tclscd == "LSI102" || testcd == "LSI103" || testcd == "LSI102") {
  756. grd_proteinEP.attribute("visibility") = "visible";
  757. grd_ep_dtcl.attribute("visibility") = "hidden";
  758. } else {
  759. grd_proteinEP.attribute("visibility") = "hidden";
  760. grd_ep_dtcl.attribute("visibility") = "visible";
  761. }
  762. if(tclscd == "LSI103" || testcd == "LSI103") {
  763. grd_proteinEP.caption = "^검사명^정량(mg/dL)^참고치(mg/dL)^결과(%)^참고치(%)^이전결과^";
  764. }
  765. if(tclscd == "LSI102" || testcd == "LSI102" ) {
  766. grd_proteinEP.caption = "^검사명^정량(g/dL)^참고치(g/dL)^결과(%)^참고치(%)^이전결과^";
  767. }
  768. if( tclscd == "LSI103" || tclscd == "LSI102" || testcd == "LSI103" || testcd == "LSI102") {
  769. //alert("!@$@#$$!@$");
  770. fGetproteinEP();//proteinEP검사
  771. for (i=1;i <= grd_proteinEP.rows;i++){
  772. //alert ("!!!!!!!!!!!!!!!!!!!!!!");
  773. var vJudg1 = model.getvalue("/root/main/rslt/desc/rslt/proteinEP["+i+"]/judgmarkorigin");
  774. if(vJudg1 == "H"){
  775. grd_proteinEP.cellStyle ("background-color",i,3,i,3) = "#f7a08b";
  776. } else if(vJudg1 == "L"){
  777. grd_proteinEP.cellStyle ("background-color",i,3,i,3) = "#b9e5fb";
  778. } else {
  779. grd_proteinEP.cellStyle ("background-color",i,3,i,3) = "#ffffff";
  780. }
  781. var vJudg2 = model.getvalue("/root/main/rslt/desc/rslt/proteinEP["+i+"]/judgmarkpersent");
  782. if(vJudg2 == "H"){
  783. grd_proteinEP.cellStyle ("background-color",i,5,i,5) = "#f7a08b";
  784. } else if(vJudg2 == "L") {
  785. grd_proteinEP.cellStyle ("background-color",i,5,i,5) = "#b9e5fb";
  786. } else {
  787. grd_proteinEP.cellStyle ("background-color",i,5,i,5) = "#ffffff";
  788. }
  789. }
  790. }
  791. if(tclscd == "LSI104" || tclscd == "LSI105" || testcd == "LSI104" || testcd == "LSI105" ){
  792. caption29.attribute("visibility") = "hidden"
  793. cmb_ep_seq.attribute("visibility") = "hidden"
  794. group4.attribute("visibility") = "hidden"
  795. group5.attribute("visibility") = "visible"
  796. model.copyNode("/root/send/data1" , "/root/main/testinfo/spcltestinfo");
  797. submit("TRLRR01501");
  798. fImgRef1( "cmb_ep_seq", "cpt_immno_noimg","img_immno1"); //immno이미지
  799. fImgRef2( "cmb_ep_seq", "cpt_immno_noimg","img_immno2"); //immno이미지
  800. fImgRef3( "cmb_ep_seq", "cpt_immno_noimg","img_immno3"); //immno이미지
  801. fImgRef4( "cmb_ep_seq", "cpt_immno_noimg","img_immno4"); //immno이미지
  802. fImgRef5( "cmb_ep_seq", "cpt_immno_noimg","img_immno5"); //immno이미지
  803. fImgRef6( "cmb_ep_seq", "cpt_immno_noimg","img_immno6"); //immno이미지
  804. } else {
  805. fImgRslt("cmb_ep_seq", "cpt_ep_noimg", "img_ep"); //이미지
  806. group4.attribute("visibility") = "visible"
  807. group5.attribute("visibility") = "hidden"
  808. caption29.attribute("visibility") = "visible"
  809. cmb_ep_seq.attribute("visibility") = "visible"
  810. }
  811. model.removeNodeset("/root/send/data1");
  812. model.makeNode("/root/send/data1");
  813. model.refresh();
  814. } else if(refNo == "13") {
  815. //CKLD
  816. var testcd = model.getValue("/root/main/testinfo/spcltestinfo/testcd");
  817. model.setValue("/root/main/testinfo/spcltestinfo/testcd", "LSI113"); //LD 이미지 조회하기 위해 임시로 LD 코드로 박음.
  818. fImgRslt("cmb_ld_seq", "cpt_ld_noimg", "img_ld"); //이미지
  819. model.setValue("/root/main/testinfo/spcltestinfo/testcd", testcd); //원상복귀..
  820. fImgRslt("cmb_ck_seq", "cpt_ck_noimg", "img_ck"); //이미지
  821. } else if(refNo == "14") {
  822. //FISH
  823. if(model.getValue("/root/main/testinfo/spcltestinfo/tclscd") == "LDR113") {
  824. grd_fishrslt1.attribute("visibility") = "hidden"
  825. grd_fishrslt2.attribute("visibility") = "visible"
  826. }else {
  827. grd_fishrslt1.attribute("visibility") = "visible"
  828. grd_fishrslt2.attribute("visibility") = "hidden"
  829. }
  830. } else if(refNo == "15") {
  831. //STR
  832. fGrdReMake();
  833. fGrdReMake2();
  834. var count = getNodesetCount("/root/main/rslt/desc/rslt/detltclsinfo");
  835. for (i =1 ; i<= count; i++){
  836. model.setValue("/root/main/testinfo/spcltestinfo/inptrslt"+ i +"",model.getValue("/root/main/rslt/desc/rslt/detltclsinfo["+ i +"]/reptrslt"));
  837. }
  838. } else if(refNo == "99") { //범용보고서
  839. grd_wideuse_dtcl1.rebuildStyle();
  840. var tclscd = model.getValue("/root/main/testinfo/spcltestinfo/tclscd");
  841. //alert(model.getValue("/root/init/LB0902/cd"));
  842. //alert(model.getValue("/root/main/testinfo/spcltestinfo/rsltstat"));
  843. //산전검사이면서 최종보고전 이면 세부검사 조회.
  844. if(tclscd == model.getValue("/root/init/LB0902/cd")){
  845. if(model.getValue("/root/main/testinfo/spcltestinfo/rsltstat") < 4){
  846. model.makeValue("/root/main/rslt/desc/rslt/tclscd",tclscd);
  847. fGetDetlTcls(); //세부검사
  848. }
  849. fSetTestGridStyle("Y"); //산전검사일때 화면 구조 변경
  850. } else {
  851. fSetTestGridStyle("N"); //산전검사 아닐때 화면 원래대로
  852. }
  853. if(getNodesetCount("/root/main/rslt/desc/rslt/detltclsinfo") > 0 && model.getValue("/root/hidden/ref/parentyn") == "Y") {
  854. for(i = 1; i <= getNodesetCount("/root/main/rslt/desc/rslt/detltclsinfo"); i++) {
  855. setRowStyle("grd_wideuse_dtcl1", "5", "비정상", "reptrslt", "equal"); //"5" 붉은색
  856. }
  857. }
  858. model.refresh();
  859. fImgRslt("cmb_wideuse_seq", "cpt_wideuse_noimg", "img_wideuse"); //이미지
  860. }
  861. }
  862. model.removeNodeset("/root/send/bcno");
  863. model.removeNodeset("/root/send/testcd");
  864. }
  865. //위탁기관 존재시 위탁기관 Visible
  866. if(model.getValue("/root/main/testinfo/spcltestinfo/exla") != ""){
  867. cbo_exla.visible = true;
  868. cap_exla.visible = true;
  869. } else {
  870. cbo_exla.visible = false;
  871. cap_exla.visible = false;
  872. }
  873. model.refresh();
  874. }
  875. //산전검사용 화면 구조 변경
  876. function fSetTestGridStyle(gbn){
  877. var param = gbn;
  878. if(param == "Y"){
  879. grd_wideuse_dtcl1.colHidden(grd_wideuse_dtcl1.colRef("rsltunit")) = false; //단위
  880. grd_wideuse_dtcl1.colWidth(grd_wideuse_dtcl1.colRef("tclsscrnnm")) = 306; //검사명
  881. grd_wideuse_dtcl1.colWidth(grd_wideuse_dtcl1.colRef("rsltunit")) = 60; //단위
  882. grd_wideuse_dtcl1.refresh();
  883. group7.visible = false;
  884. caption109.visible = false;
  885. caption136.visible = false;
  886. cmb_wideuse_seq.visible = false;
  887. button28.visible = false;
  888. line74.visible = false;
  889. caption111.attribute("top") = 10;
  890. line77.attribute("y1") = 25;
  891. line77.attribute("y2") = 25;
  892. tar_wideuse_readrslt.attribute("top") = 30;
  893. caption139.attribute("top") = 130;
  894. line109.attribute("y1") = 145;
  895. line109.attribute("y2") = 145;
  896. tar_wideuse_inter.attribute("top") = 150;
  897. tar_wideuse_inter.attribute("height") = 420;
  898. } else if(param == "N") {
  899. grd_wideuse_dtcl1.colHidden(grd_wideuse_dtcl1.colRef("rsltunit")) = true; //단위
  900. grd_wideuse_dtcl1.colWidth(grd_wideuse_dtcl1.colRef("tclsscrnnm")) = 406; //결과
  901. grd_wideuse_dtcl1.colWidth(grd_wideuse_dtcl1.colRef("rsltunit")) = 0; //결과
  902. grd_wideuse_dtcl1.refresh();
  903. group7.visible = true;
  904. caption109.visible = true;
  905. caption136.visible = true;
  906. cmb_wideuse_seq.visible = true;
  907. button28.visible = true;
  908. line74.visible = true;
  909. caption111.attribute("top") = 385;
  910. line77.attribute("y1") = 400;
  911. line77.attribute("y2") = 400;
  912. tar_wideuse_readrslt.attribute("top") = 405;
  913. caption139.attribute("top") = 500;
  914. line109.attribute("y1") = 515;
  915. line109.attribute("y2") = 515;
  916. tar_wideuse_inter.attribute("top") = 520;
  917. tar_wideuse_inter.attribute("height") = 55;
  918. }
  919. }
  920. //CBC 결과
  921. function fGetCBCRslt(viewflag) {
  922. model.makeValue("/root/send/pid", model.getValue("/root/main/testinfo/spcltestinfo/pid"));
  923. model.makeValue("/root/send/bcno", model.getValue("/root/main/testinfo/spcltestinfo/bcno"));
  924. model.makeValue("/root/send/tclsflag", viewflag);
  925. submit("TRLRR00401");
  926. model.removeNodeset("/root/send/pid");
  927. model.refresh();
  928. }
  929. //연관결과
  930. function fGetRelRslt() {
  931. model.makeValue("/root/send/pid", model.getValue("/root/main/testinfo/spcltestinfo/pid"));
  932. model.makeValue("/root/send/spccd", model.getValue("/root/main/testinfo/spcltestinfo/spccd"));
  933. model.makeValue("/root/send/testcd", model.getValue("/root/main/testinfo/spcltestinfo/testcd"));
  934. submit("TRLRR90401");
  935. model.removeNodeset("/root/send/pid");
  936. model.removeNodeset("/root/send/testcd");
  937. model.removeNodeset("/root/send/spccd");
  938. model.refresh();
  939. }
  940. //BM 이전결과, 이전검사결과
  941. function fGetBInterRslt(flag) {
  942. model.makeValue("/root/send/pid", model.getValue("/root/main/testinfo/spcltestinfo/pid"));
  943. if(flag == "D") { //Bone Marrow에서의 이전결과 조회가 아닐 때 코드픽스
  944. model.makeValue("/root/send/testcd", "LHB001");
  945. }else {
  946. model.makeValue("/root/send/testcd", model.getValue("/root/main/testinfo/spcltestinfo/testcd"));
  947. }
  948. model.makeValue("/root/send/tclscd", model.getValue("/root/main/testinfo/spcltestinfo/testcd"));
  949. model.makeValue("/root/send/spclrsltformkind", model.getValue("/root/main/rslt/desc/rslt/refflag"));
  950. submit("TRLRR90402");
  951. if(getNodesetCount("/root/main/rslt/desc/rslt/bfbm") > 0) { //Bone Marrow 이전결과
  952. //model.setValue("/root/main/rslt/desc/rslt/bfbm/inter", model.getValue("/root/main/rslt/desc/rslt/bfbm/descrslt/rslt/inter"));
  953. //model.removeNodeset("/root/main/rslt/desc/rslt/bfbm/descrslt");
  954. }
  955. if(getNodesetCount("/root/main/rslt/desc/rslt/beforerslt") > 0) { //이전검사결과
  956. if(getNodesetCount("/root/main/rslt/desc/rslt/beforerslt/inter/inter") > 0) {
  957. //model.setValue("/root/main/rslt/desc/rslt/beforerslt/inter", model.getValue("/root/main/rslt/desc/rslt/beforerslt/descrslt/rslt/inter"));
  958. } else {
  959. //model.setValue("/root/main/rslt/desc/rslt/beforerslt/inter", model.getValue("/root/main/rslt/desc/rslt/beforerslt/descrslt/rslt/readrslt"));
  960. model.makeValue("/root/main/rslt/desc/rslt/beforerslt/inter/inter", model.getValue("/root/main/rslt/desc/rslt/beforerslt/readrslt/readrslt"));
  961. }
  962. //model.removeNodeset("/root/main/rslt/desc/rslt/beforerslt/descrslt");
  963. }
  964. model.removeNodeset("/root/send/pid");
  965. model.removeNodeset("/root/send/testcd");
  966. model.removeNodeset("/root/send/tclscd");
  967. model.refresh();
  968. }
  969. //Special Stain, Diff조회
  970. function fGetSD() {
  971. submit("TRLRR00407");
  972. }
  973. function fGetFishRslt(flag){
  974. //alert(flag);
  975. //alert(model.getValue("/root/main/testinfo/spcltestinfo/tclskind"));
  976. /*if(flag == "R"){
  977. model.makeValue("/root/send/bcno", model.getValue("/root/main/testinfo/spcltestinfo/bcno"));
  978. model.makeValue("/root/send/testcd", model.getValue("/root/main/testinfo/spcltestinfo/testcd"));
  979. model.makeValue("/root/send/tclskind",model.getValue("/root/main/testinfo/spcltestinfo/tclskind"));
  980. model.makeValue("/root/send/tclscd",model.getValue("/root/main/testinfo/spcltestinfo/tclscd"));
  981. submit("TRLRR00411");
  982. //alert(count);
  983. //alert(count1);
  984. var i=0;
  985. var count1 = getNodesetCount("/root/hidden/fishinfo");
  986. for(i = 1; i <= count1; i++) {
  987. model.makeValue("/root/main/rslt/desc/rslt/fishinfo["+ i +"]/basecdnm",model.getValue("/root/hidden/fishinfo["+ i +"]/fishinfo/basecdnm"));
  988. model.makeValue("/root/main/rslt/desc/rslt/fishinfo["+ i +"]/basecddesc",model.getValue("/root/hidden/fishinfo["+ i +"]/fishinfo/basecddesc"));
  989. model.makeValue("/root/main/rslt/desc/rslt/tclsnm["+ i +"]",model.getValue("/root/hidden/tclsnm["+ i +"]"))
  990. model.makeValue("/root/main/rslt/desc/rslt/readrslt2["+ i +"]",model.getValue("/root/hidden/readrslt["+ i +"]"));
  991. }
  992. i=0;
  993. var j=0;
  994. count1 = getNodesetCount("/root/hidden/fishrslt");
  995. var count3 = 0;
  996. for(i = 1; i <= count1; i++){
  997. var count2 = getNodesetCount("/root/hidden/fishrslt["+ i +"]/fishrslt");
  998. //alert(count2);
  999. for(j=1;j<= count2; j++){
  1000. count3 ++;
  1001. model.makeValue("/root/main/rslt/desc/rslt/fishrslt["+ count3 +"]/basecdnm",model.getValue("/root/hidden/fishrslt["+ i +"]/fishrslt["+ j +"]/basecdnm"));
  1002. model.makeValue("/root/main/rslt/desc/rslt/fishrslt["+ count3 +"]/reptrslt",model.getValue("/root/hidden/fishrslt["+ i +"]/fishrslt["+ j +"]/reptrslt"));
  1003. model.makeValue("/root/main/rslt/desc/rslt/fishrslt["+ count3 +"]/reptrslt1",model.getValue("/root/hidden/fishrslt["+ i +"]/fishrslt["+ j +"]/reptrslt1"));
  1004. model.makeValue("/root/main/rslt/desc/rslt/fishrslt["+ count3 +"]/reptrslt2",model.getValue("/root/hidden/fishrslt["+ i +"]/fishrslt["+ j +"]/reptrslt2"));
  1005. }
  1006. }
  1007. } else {*/
  1008. model.makeValue("/root/send/bcno", model.getValue("/root/main/testinfo/spcltestinfo/bcno"));
  1009. model.makeValue("/root/send/testcd", model.getValue("/root/main/testinfo/spcltestinfo/testcd"));
  1010. submit("TRLRR00408");
  1011. model.makeValue("/root/main/rslt/desc/rslt/tclsscrnnm",model.getValue("/root/main/testinfo/detailtestinfo/tclsscrnnm"));
  1012. //}
  1013. //alert(model.getValue("/root/send/testcd"));
  1014. }
  1015. //말초도말검사
  1016. function fGetMalRslt() {
  1017. model.removeNodeset("/root/main/rslt/desc/rslt/mal1");
  1018. model.removeNodeset("/root/main/rslt/desc/rslt/mal2");
  1019. model.removeNodeset("/root/main/rslt/desc/rslt/mal3");
  1020. model.makeValue("/root/send/bcno", model.getValue("/root/main/testinfo/spcltestinfo/bcno"));
  1021. submit("TRLRR00405");
  1022. count = getNodesetCount("/root/main/rslt/desc/rslt/mal1");
  1023. var ref1 = false;
  1024. var ref2 = false;
  1025. var val1 = model.getValue("/root/main/rslt/desc/rslt/mal1[12]/testcd");
  1026. var val2 = model.getValue("/root/main/rslt/desc/rslt/mal1[24]/testcd");
  1027. var val3 = model.getValue("/root/main/rslt/desc/rslt/mal1["+ count +"]/testcd");
  1028. tCount = 1;
  1029. if(count > 0) {
  1030. model.makeNode("/root/main/rslt/desc/rslt/mal2");
  1031. model.makeNode("/root/main/rslt/desc/rslt/mal3");
  1032. for(i=1; i<=count; i++) {
  1033. if(model.getValue("/root/main/rslt/desc/rslt/mal1["+ i +"]/testcd") == "") {
  1034. if(tCount == 1) {
  1035. } else {
  1036. model.setValue("/root/main/rslt/desc/rslt/mal1["+ i +"]/reptrslt", "");
  1037. model.setValue("/root/main/rslt/desc/rslt/mal1["+ i +"]/bfrslt", "");
  1038. }
  1039. tCount++;
  1040. }
  1041. if(!ref1 && !ref2) {
  1042. if(model.getValue("/root/main/rslt/desc/rslt/mal1["+ i +"]/testcd") == val1) {
  1043. ref1 = true;
  1044. }
  1045. } else if(ref1 && !ref2) {
  1046. if(getNodesetCount("/root/main/rslt/desc/rslt/mal2/testcd") < 1) {
  1047. copyNodesetType("/root/main/rslt/desc/rslt/mal2", "/root/main/rslt/desc/rslt/mal1["+ i +"]");
  1048. } else {
  1049. copyNodesetType("/root/main/rslt/desc/rslt/mal2", "/root/main/rslt/desc/rslt/mal1["+ i +"]", "after");
  1050. }
  1051. if(model.getValue("/root/main/rslt/desc/rslt/mal1["+ i +"]/testcd") == val2) {
  1052. model.removeNodeset("/root/main/rslt/desc/rslt/mal1["+ i +"]");
  1053. ref2 = true;
  1054. } else {
  1055. model.removeNodeset("/root/main/rslt/desc/rslt/mal1["+ i +"]");
  1056. }
  1057. i = i - 1;
  1058. } else if(ref1 && ref2) {
  1059. if(getNodesetCount("/root/main/rslt/desc/rslt/mal3/testcd") < 1) {
  1060. copyNodesetType("/root/main/rslt/desc/rslt/mal3", "/root/main/rslt/desc/rslt/mal1["+ i +"]");
  1061. } else {
  1062. copyNodesetType("/root/main/rslt/desc/rslt/mal3", "/root/main/rslt/desc/rslt/mal1["+ i +"]", "after");
  1063. }
  1064. if(model.getValue("/root/main/rslt/desc/rslt/mal1["+ i +"]/testcd") == val3) {
  1065. model.removeNodeset("/root/main/rslt/desc/rslt/mal1["+ i +"]");
  1066. break;
  1067. } else {
  1068. model.removeNodeset("/root/main/rslt/desc/rslt/mal1["+ i +"]");
  1069. }
  1070. i = i - 1;
  1071. }
  1072. }
  1073. }
  1074. model.refresh();
  1075. setRowStyle("grd_pb_mal1", "0", "", "testcd");
  1076. setRowStyle("grd_pb_mal2", "0", "", "testcd");
  1077. setRowStyle("grd_pb_mal3", "0", "", "testcd");
  1078. model.removeNodeset("/root/send/bcno");
  1079. model.refresh();
  1080. }
  1081. //of그리드 만들기
  1082. function fGridMake() {
  1083. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1con[1]");
  1084. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1con[1]/nacl");
  1085. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1con[1]/od");
  1086. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1con[1]/hm");
  1087. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1pat[1]");
  1088. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1pat[1]/nacl");
  1089. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1pat[1]/od");
  1090. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1pat[1]/hm");
  1091. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24con[1]");
  1092. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24con[1]/nacl");
  1093. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24con[1]/od");
  1094. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24con[1]/hm");
  1095. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24pat[1]");
  1096. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24pat[1]/nacl");
  1097. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24pat[1]/od");
  1098. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24pat[1]/hm");
  1099. model.setValue("/root/main/rslt/desc/rslt/osmotic/incu1con[1]/nacl", fCOMLIS_RstRound(1, 2, 1)); //ex) 0.3 -> 0.30
  1100. model.setValue("/root/main/rslt/desc/rslt/osmotic/incu1pat[1]/nacl", fCOMLIS_RstRound(1, 2, 1));
  1101. model.setValue("/root/main/rslt/desc/rslt/osmotic/incu24con[1]/nacl", fCOMLIS_RstRound(1, 2, 1));
  1102. model.setValue("/root/main/rslt/desc/rslt/osmotic/incu24pat[1]/nacl", fCOMLIS_RstRound(1, 2, 1));
  1103. val = 0.90;
  1104. for(i = 2; i <= 15; i++) {
  1105. val = val - 0.05 ;
  1106. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1con["+ i +"]");
  1107. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1con["+ i +"]/nacl");
  1108. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1con["+ i +"]/od");
  1109. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1con["+ i +"]/hm");
  1110. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1pat["+ i +"]");
  1111. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1pat["+ i +"]/nacl");
  1112. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1pat["+ i +"]/od");
  1113. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1pat["+ i +"]/hm");
  1114. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24con["+ i +"]");
  1115. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24con["+ i +"]/nacl");
  1116. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24con["+ i +"]/od");
  1117. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24con["+ i +"]/hm");
  1118. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24pat["+ i +"]");
  1119. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24pat["+ i +"]/nacl");
  1120. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24pat["+ i +"]/od");
  1121. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24pat["+ i +"]/hm");
  1122. model.setValue("/root/main/rslt/desc/rslt/osmotic/incu1con["+ i +"]/nacl", fCOMLIS_RstRound(val, 2, 1)); //ex) 0.3 -> 0.30
  1123. model.setValue("/root/main/rslt/desc/rslt/osmotic/incu1pat["+ i +"]/nacl", fCOMLIS_RstRound(val, 2, 1));
  1124. model.setValue("/root/main/rslt/desc/rslt/osmotic/incu24con["+ i +"]/nacl", fCOMLIS_RstRound(val, 2, 1));
  1125. model.setValue("/root/main/rslt/desc/rslt/osmotic/incu24pat["+ i +"]/nacl", fCOMLIS_RstRound(val, 2, 1));
  1126. }
  1127. for(i = 16; i <= 17; i++) {
  1128. val = val - 0.1 ;
  1129. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1con["+ i +"]");
  1130. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1con["+ i +"]/nacl");
  1131. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1con["+ i +"]/od");
  1132. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1con["+ i +"]/hm");
  1133. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1pat["+ i +"]");
  1134. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1pat["+ i +"]/nacl");
  1135. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1pat["+ i +"]/od");
  1136. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1pat["+ i +"]/hm");
  1137. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24con["+ i +"]");
  1138. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24con["+ i +"]/nacl");
  1139. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24con["+ i +"]/od");
  1140. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24con["+ i +"]/hm");
  1141. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24pat["+ i +"]");
  1142. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24pat["+ i +"]/nacl");
  1143. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24pat["+ i +"]/od");
  1144. model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24pat["+ i +"]/hm");
  1145. model.setValue("/root/main/rslt/desc/rslt/osmotic/incu1con["+ i +"]/nacl", fCOMLIS_RstRound(val, 2, 1)); //ex) 0.3 -> 0.30
  1146. model.setValue("/root/main/rslt/desc/rslt/osmotic/incu1pat["+ i +"]/nacl", fCOMLIS_RstRound(val, 2, 1));
  1147. model.setValue("/root/main/rslt/desc/rslt/osmotic/incu24con["+ i +"]/nacl", fCOMLIS_RstRound(val, 2, 1));
  1148. model.setValue("/root/main/rslt/desc/rslt/osmotic/incu24pat["+ i +"]/nacl", fCOMLIS_RstRound(val, 2, 1));
  1149. }
  1150. model.refresh();
  1151. }
  1152. //hemolysis 계산하기
  1153. function fCalc() {
  1154. L1c = model.getValue("/root/main/rslt/desc/rslt/osmotic/incu1con[17]/od"); //1시간 Control 0 OD값
  1155. N1c = model.getValue("/root/main/rslt/desc/rslt/osmotic/incu1con[1]/od"); //1시간 Control 1 OD값
  1156. L1p = model.getValue("/root/main/rslt/desc/rslt/osmotic/incu1pat[17]/od"); //1시간 Control 0 OD값
  1157. N1p = model.getValue("/root/main/rslt/desc/rslt/osmotic/incu1pat[1]/od"); //1시간 Patient 1 OD값
  1158. L24c = model.getValue("/root/main/rslt/desc/rslt/osmotic/incu24con[17]/od"); //24시간 Control 0 OD값
  1159. N24c = model.getValue("/root/main/rslt/desc/rslt/osmotic/incu24con[1]/od"); //24시간 Control 1 OD값
  1160. L24p = model.getValue("/root/main/rslt/desc/rslt/osmotic/incu24pat[17]/od"); //24시간 Patient 0 OD값
  1161. N24p = model.getValue("/root/main/rslt/desc/rslt/osmotic/incu24pat[1]/od"); //24시간 Patient 1 OD값
  1162. for(i = 2; i<= 16; i++) {
  1163. var val1c = model.getValue("/root/main/rslt/desc/rslt/osmotic/incu1con["+ i +"]/od"); //1시간 Control OD값
  1164. var val1p = model.getValue("/root/main/rslt/desc/rslt/osmotic/incu1pat["+ i +"]/od"); //1시간 Control OD값
  1165. var val24c = model.getValue("/root/main/rslt/desc/rslt/osmotic/incu24con["+ i +"]/od"); //24시간 Control OD값
  1166. var val24p = model.getValue("/root/main/rslt/desc/rslt/osmotic/incu24pat["+ i +"]/od"); //24시간 Patient OD값
  1167. if(val1c != "") {
  1168. if(L1c != "" && N1c != "") {
  1169. var rslt = ((parseFloat(val1c) - parseFloat(N1c)) / parseFloat(L1c)) * 100;
  1170. rslt = fCOMLIS_RstRound(rslt, "2", "1");
  1171. model.setValue("/root/main/rslt/desc/rslt/osmotic/incu1con["+ i +"]/hm", rslt);
  1172. } else if(L1c == "" || N1c == "") { //'0' 이나 '1' OD값이 없을때
  1173. if(L1c == "") {
  1174. messageBox("1시간 incubation (Control)의 0(Lysis (C))을", "C001");
  1175. return;
  1176. } else {
  1177. messageBox("1시간 incubation (Control)의 1(Non-L (C))을", "C001");
  1178. return;
  1179. }
  1180. }
  1181. }
  1182. if(val1p != "") {
  1183. if(L1p != "" && N1p != "") {
  1184. var rslt = ((parseFloat(val1p) - parseFloat(N1p)) / parseFloat(L1p)) * 100;
  1185. rslt = fCOMLIS_RstRound(rslt, "2", "1");
  1186. model.setValue("/root/main/rslt/desc/rslt/osmotic/incu1pat["+ i +"]/hm", rslt);
  1187. }else if(L1p == "" || N1p == "") { //'0' 이나 '1' OD값이 없을때
  1188. if(L1p == "") {
  1189. messageBox("1시간 incubation (Patient)의 0(Lysis (C))을", "C001");
  1190. return;
  1191. } else {
  1192. messageBox("1시간 incubation (Patient)의 1(Non-L (C))을", "C001");
  1193. return;
  1194. }
  1195. }
  1196. }
  1197. if(val24c != "") {
  1198. if(L24c != "" && N24c != "") {
  1199. var rslt = ((parseFloat(val24c) - parseFloat(N24c)) / parseFloat(L24c)) * 100;
  1200. rslt = fCOMLIS_RstRound(rslt, "2", "1");
  1201. model.setValue("/root/main/rslt/desc/rslt/osmotic/incu24con["+ i +"]/hm", rslt);
  1202. }else if(L24c == "" || N24c == "") { //'0' 이나 '1' OD값이 없을때
  1203. if(L24c == "") {
  1204. messageBox("24시간 incubation (Control)의 0(Lysis (C))을", "C001");
  1205. return;
  1206. } else {
  1207. messageBox("24시간 incubation (Control)의 1(Non-L (C))을", "C001");
  1208. return;
  1209. }
  1210. }
  1211. }
  1212. if(val24p != "") {
  1213. if(L24p != "" && N24p != "") {
  1214. var rslt = ((parseFloat(val24p) - parseFloat(N24p)) / parseFloat(L24p)) * 100;
  1215. rslt = fCOMLIS_RstRound(rslt, "2", "1");
  1216. model.setValue("/root/main/rslt/desc/rslt/osmotic/incu24pat["+ i +"]/hm", rslt);
  1217. }else if(L24p == "" || N24p == "") { //'0' 이나 '1' OD값이 없을때
  1218. if(L24p == "") {
  1219. messageBox("24시간 incubation (Patient)의 0(Lysis (C))을", "C001");
  1220. return;
  1221. } else {
  1222. messageBox("24시간 incubation (Patient)의 1(Non-L (C))을", "C001");
  1223. return;
  1224. }
  1225. }
  1226. }
  1227. }
  1228. model.refresh();
  1229. }
  1230. //PRA Screening & Identification 조회
  1231. function fGetPRA() {
  1232. Scount = 1;
  1233. Icount = 1;
  1234. for(i = 1; i <= getNodesetCount("/root/main/testinfo/detailtestinfo"); i++) {
  1235. var testcd = model.getValue("/root/main/testinfo/detailtestinfo["+ i +"]/testcd");
  1236. if(testcd.substr(0, 6) == "LIP162" || testcd.substr(0, 6) == "LIP163") {
  1237. model.makeNode("/root/main/rslt/desc/rslt/pra/prascreening["+ Scount +"]");
  1238. copyNodesetType("/root/main/rslt/desc/rslt/pra/prascreening["+ Scount +"]", "/root/main/testinfo/detailtestinfo["+ i +"]");
  1239. Scount++;
  1240. } else if(testcd.substr(0, 6) == "LIP165" || testcd.substr(0, 6) == "LIP166") {
  1241. model.makeNode("/root/main/rslt/desc/rslt/pra/iden["+ Icount +"]");
  1242. copyNodesetType("/root/main/rslt/desc/rslt/pra/iden["+ Icount +"]", "/root/main/testinfo/detailtestinfo["+ i +"]");
  1243. Icount++;
  1244. }
  1245. }
  1246. model.refresh();
  1247. }
  1248. //Cytotoxicity, Flow cyrometric 조회
  1249. function fGetCM() {
  1250. Ccount = 1;
  1251. Fcount = 1;
  1252. Dcount = 1;
  1253. model.makeValue("/root/main/rslt/desc/rslt/cm/dnorpid", model.getValue("/root/main/testinfo/spcltestinfo/reqfrmtbl/reqfrminfo/inptitem01/dnorpid"));
  1254. model.makeValue("/root/main/rslt/desc/rslt/cm/dnornm", model.getValue("/root/main/testinfo/spcltestinfo/reqfrmtbl/reqfrminfo/inptitem01/dnornm"));
  1255. for(i = 1; i <= getNodesetCount("/root/main/testinfo/detailtestinfo"); i++) {
  1256. var testcd = model.getValue("/root/main/testinfo/detailtestinfo["+ i +"]/testcd");
  1257. if(testcd.substr(0, 6) == "LIP153" || testcd.substr(0, 6) == "LIP154") {
  1258. model.makeNode("/root/main/rslt/desc/rslt/cm/cytoto["+ Ccount +"]");
  1259. copyNodesetType("/root/main/rslt/desc/rslt/cm/cytoto["+ Ccount +"]", "/root/main/testinfo/detailtestinfo["+ i +"]");
  1260. Ccount++;
  1261. } else if(testcd.substr(0, 6) == "LIP156" || testcd.substr(0, 6) == "LIP157") {
  1262. model.makeNode("/root/main/rslt/desc/rslt/cm/flow["+ Fcount +"]");
  1263. copyNodesetType("/root/main/rslt/desc/rslt/cm/flow["+ Fcount +"]", "/root/main/testinfo/detailtestinfo["+ i +"]");
  1264. Fcount++;
  1265. }else if(testcd.substr(0, 6) == "LIP158" || testcd.substr(0, 6) == "LIP159") {
  1266. model.makeNode("/root/main/rslt/desc/rslt/cm/dshla["+ Dcount +"]");
  1267. copyNodesetType("/root/main/rslt/desc/rslt/cm/dshla["+ Dcount +"]", "/root/main/testinfo/detailtestinfo["+ i +"]");
  1268. model.makeNode("/root/main/rslt/desc/rslt/cm/dshla["+ Dcount +"]/scratio");
  1269. Dcount++;
  1270. }
  1271. }
  1272. model.refresh();
  1273. }
  1274. //CKLD 조회
  1275. function fGetCKLD() {
  1276. Ccount = 1;
  1277. Lcount = 1;
  1278. for(i = 1; i <= getNodesetCount("/root/main/testinfo/detailtestinfo"); i++) {
  1279. var testcd = model.getValue("/root/main/testinfo/detailtestinfo["+ i +"]/testcd");
  1280. if(testcd.substr(0, 6) == "LSI112") { //CK 검사항목
  1281. model.makeNode("/root/main/rslt/desc/rslt/ckld/ck["+ Ccount +"]");
  1282. copyNodesetType("/root/main/rslt/desc/rslt/ckld/ck["+ Ccount +"]", "/root/main/testinfo/detailtestinfo["+ i +"]");
  1283. Ccount++;
  1284. } else if(testcd.substr(0, 6) == "LSI113") { //LD 검사항목
  1285. model.makeNode("/root/main/rslt/desc/rslt/ckld/ld["+ Lcount +"]");
  1286. copyNodesetType("/root/main/rslt/desc/rslt/ckld/ld["+ Lcount +"]", "/root/main/testinfo/detailtestinfo["+ i +"]");
  1287. Lcount++;
  1288. }
  1289. }
  1290. model.refresh();
  1291. }
  1292. function fGetFish() {
  1293. Ccount = 1;
  1294. Lcount = 1;
  1295. for(i = 1; i <= getNodesetCount("/root/main/testinfo/detailtestinfo"); i++) {
  1296. var testcd = model.getValue("/root/main/testinfo/detailtestinfo["+ i +"]/testcd");
  1297. if(testcd.substr(0, 6) == "LSI112") { //CK 검사항목
  1298. model.makeNode("/root/main/rslt/desc/rslt/fish/ck["+ Ccount +"]");
  1299. copyNodesetType("/root/main/rslt/desc/rslt/fish/ck["+ Ccount +"]", "/root/main/testinfo/detailtestinfo["+ i +"]");
  1300. Ccount++;
  1301. } else if(testcd.substr(0, 6) == "LSI113") { //LD 검사항목
  1302. model.makeNode("/root/main/rslt/desc/rslt/fish/ld["+ Lcount +"]");
  1303. copyNodesetType("/root/main/rslt/desc/rslt/fish/ld["+ Lcount +"]", "/root/main/testinfo/detailtestinfo["+ i +"]");
  1304. Lcount++;
  1305. }
  1306. }
  1307. model.refresh();
  1308. }
  1309. //판독예문 조회
  1310. function fRsltCode(gridID){
  1311. gridObj = document.all(gridID);
  1312. model.removeNodeset("/root/main/rsltcode");
  1313. model.refresh();
  1314. var vTestcd = model.getvalue("/root/main/testinfo/spcltestinfo/testcd");
  1315. if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "01") { //Bone Marrow는 콤보
  1316. cmb_exmp.choices.itemset.attribute("nodeset") = "/root/init/readrslt[etc03='" + vTestcd + "']";
  1317. } else { //나머지는 그리드이므로.
  1318. if(gridID != "") { //판독예문 창을 띄어 수정한 후
  1319. var cdNodes = instance1.selectNodes("/root/init/readrslt[etc03='" + vTestcd + "']/cd");
  1320. var cdNodes2 = instance1.selectNodes("/root/init/readrslt[etc03='" + vTestcd + "']/nm");
  1321. var vRstcontLower ="";
  1322. var vRstcontUpper = "";
  1323. for (i = 1; i <= cdNodes.length; i++) {
  1324. var cd = cdNodes.item(i - 1).text;
  1325. var nm = cdNodes2.item(i - 1).text;
  1326. gridObj.addRow(false);
  1327. model.setvalue("/root/main/rsltcode["+i+"]/cd" , cd);
  1328. model.setvalue("/root/main/rsltcode["+i+"]/nm" , nm);
  1329. }
  1330. if(cdNodes.length > 0)
  1331. model.refresh();
  1332. } else { //특수검사 조회시에는 그리드아이디를 보내지 않는다. 어느 검사인지 알수 없기에..
  1333. var cdNodes = instance1.selectNodes("/root/init/readrslt[etc03='" + vTestcd + "']/cd");
  1334. var cdNodes2 = instance1.selectNodes("/root/init/readrslt[etc03='" + vTestcd + "']/nm");
  1335. var vRstcontLower ="";
  1336. var vRstcontUpper = "";
  1337. for (i = 1; i <= cdNodes.length; i++) {
  1338. var cd = cdNodes.item(i - 1).text;
  1339. var nm = cdNodes2.item(i - 1).text;
  1340. model.makeValue("/root/main/rsltcode["+ i +"]/cd" , cd);
  1341. model.makeValue("/root/main/rsltcode["+ i +"]/nm" , nm);
  1342. }
  1343. if(cdNodes.length > 0)
  1344. model.refresh();
  1345. }
  1346. }
  1347. }
  1348. //판독예문코드 더블 클릭시
  1349. function fRsltCodeDBClick(gridID){
  1350. gridObj = document.all(gridID);
  1351. if(gridObj.rows < 2) { //판독예문이 있을경우에만 이벤트 타도록.
  1352. return;
  1353. }
  1354. var vTestcd = model.getvalue("/root/main/testinfo/spcltestinfo/testcd");
  1355. var cd = model.getValue("/root/main/rsltcode["+ gridObj.row +"]/cd");
  1356. var vDescrsltN = instance1.selectNodes("/root/init/readrslt[etc03='" + vTestcd + "' and cd='"+ cd +"']/etc01");
  1357. var vInterN = instance1.selectNodes("/root/init/readrslt[etc03='" + vTestcd + "' and cd='"+ cd +"']/etc02");
  1358. var vCMTN = instance1.selectNodes("/root/init/readrslt[etc03='" + vTestcd + "' and cd='"+ cd +"']/etc04");
  1359. var vDescrslt = vDescrsltN.item(0).text; //판독예문
  1360. var vInter = vInterN.item(0).text; //Interpretation
  1361. var vCMT = vCMTN.item(0).text; //Interpretation
  1362. if(model.getValue("/root/hidden/readexmpadd") == "Y") {
  1363. var read = model.getValue("/root/main/rslt/desc/rslt/readrslt");
  1364. model.setValue("/root/main/rslt/desc/rslt/readrslt", read + vDescrslt);
  1365. if(vInter != "") {
  1366. var inter = model.getValue("/root/main/rslt/desc/rslt/inter");
  1367. model.setvalue("/root/main/rslt/desc/rslt/inter", inter + vInter);
  1368. }
  1369. if(vCMT != "") {
  1370. var cmt = model.getValue("/root/main/rslt/desc/rslt/comments");
  1371. model.setvalue("/root/main/rslt/desc/rslt/comments", cmt + vCMT);
  1372. }
  1373. } else {
  1374. model.setvalue("/root/main/rslt/desc/rslt/readrslt" , vDescrslt);
  1375. if(vInter != "") {
  1376. model.setvalue("/root/main/rslt/desc/rslt/inter", vInter);
  1377. }
  1378. if(vCMT != "") {
  1379. model.setvalue("/root/main/rslt/desc/rslt/comments", vCMT);
  1380. }
  1381. }
  1382. model.refresh();
  1383. }
  1384. //세부검사목록
  1385. function fGetDetlTcls() {
  1386. model.removenode("/root/main/rslt/desc/rslt/detltclsinfo");
  1387. model.removenode("/root/main/rslt/desc/rslt/detltclsinfo2");
  1388. model.makeValue("/root/send/tclscd", model.getValue("/root/main/testinfo/spcltestinfo/tclscd"));
  1389. model.makeValue("/root/send/bcno", model.getValue("/root/main/testinfo/spcltestinfo/bcno"));
  1390. model.makeValue("/root/send/parentyn", model.getValue("/root/hidden/ref/parentyn"));
  1391. // 2010-03-23 JJH : EP Panel항목으로 추가
  1392. if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "08")
  1393. model.makeValue("/root/send/testcd", model.getValue("/root/main/testinfo/spcltestinfo/testcd"));
  1394. submit("TRLRR00404");
  1395. model.removeNodeset("/root/send/tclscd");
  1396. model.removeNodeset("/root/send/bcno");
  1397. model.removeNodeset("/root/send/parentyn");
  1398. model.removeNodeset("/root/send/testcd");
  1399. }
  1400. //proteinEP 검사
  1401. function fGetproteinEP() {
  1402. model.removenode("/root/main/rslt/desc/rslt/proteinEP");
  1403. model.makeValue("/root/send/tclscd", model.getValue("/root/main/testinfo/spcltestinfo/tclscd"));
  1404. model.makeValue("/root/send/bcno", model.getValue("/root/main/testinfo/spcltestinfo/bcno"));
  1405. // 2010-03-23 JJH : EP Panel항목으로 추가
  1406. if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "08")
  1407. model.makeValue("/root/send/testcd", model.getValue("/root/main/testinfo/spcltestinfo/testcd"));
  1408. submit("TRLRR00409");
  1409. model.removeNodeset("/root/send/tclscd");
  1410. model.removeNodeset("/root/send/bcno");
  1411. model.removeNodeset("/root/send/testcd");
  1412. }
  1413. //탑정보
  1414. function fUpPatinfo(){
  1415. if(getPatientInfo("pid") != model.getValue("/root/main/testinfo/spcltestinfo/pid")) {
  1416. if(getNodesetCount("/root/main/testinfo/spcltestinfo") > 0){
  1417. setParameter("errflag", "Y"); // exception error창을 띄우지 않음
  1418. setParameter("condparam", "S" + "▦" + model.getvalue("/root/main/testinfo/spcltestinfo/prcpdd")+ "▦"
  1419. + model.getvalue("/root/main/testinfo/spcltestinfo/execprcpuniqno") + "▦"
  1420. + model.getvalue("/root/main/testinfo/spcltestinfo/extrtestinstcd") );
  1421. modal("SPMMO08900");
  1422. }
  1423. var paminfo = getGlobalVariable("paminfo");
  1424. if(paminfo.length < 0){ //상단정보가 없는 경우
  1425. delPatientInfos(); //환자정보 전체 삭제
  1426. var pid = model.getValue("/root/main/testinfo/spcltestinfo/pid");
  1427. var hngnm = model.getValue("/root/main/testinfo/spcltestinfo/patnm");
  1428. //상단에 올릴 수 있는 정보가 있으면 아래와 같이 설정해 주시면 됩니다. 없으면 안 해주셔도 되구요..
  1429. setPatientInfo("pid" , pid); //등록번호
  1430. setPatientInfo("pname" , pid + "|" + hngnm); //환자명
  1431. }
  1432. }
  1433. }
  1434. function fReMake(){
  1435. for(i=1;i<datagrid3.rows;i++){
  1436. datagrid3.cellstyle("background-color" , i,4) = "#EEFFFF";
  1437. datagrid3.cellstyle("background-color" , i,5) = "#FFFFFA";
  1438. if(model.getvalue("/root/main/testinfo/detailtestinfo["+i+"]/rstcdexists") == "Y"){
  1439. datagrid3.cellstyle("background-image", i, 4) = "../../../lis/commonweb/images/icnRstCDExists.gif";
  1440. datagrid3.cellstyle("background-position", i, 4) = "right";
  1441. }
  1442. }
  1443. }
  1444. //결과저장, 결과보고, 전문의확인
  1445. function fInsRsltSave(flag){
  1446. var node = instance1.selectSingleNode("/root/main/rslt/desc/rslt");
  1447. //alert(node.xml);
  1448. if(model.getvalue("/root/main/testinfo/spcltestinfo/bcno") == "") {
  1449. messageBox("환자가 선택되지", "E007");
  1450. model.setFocus("ipt_reftext");
  1451. model.refresh();
  1452. return;
  1453. }
  1454. if(flag == "6") {
  1455. if(model.getValue("/root/hidden/readnm") == "") {
  1456. messageBox("판독자를", "C001");
  1457. model.setFocus("ipt_readpsn");
  1458. model.refresh();
  1459. return;
  1460. }
  1461. } else if(model.getValue("/root/hidden/testnm") == "") {
  1462. messageBox("입력자를", "C001");
  1463. model.setFocus("ipt_testpsn");
  1464. model.refresh();
  1465. return;
  1466. }
  1467. if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "01"){
  1468. var interpretation = "";
  1469. var localdate = getCurrentDateTime();
  1470. var rsltstatnm = "";
  1471. var rows= grd_bminter.rows;
  1472. var interunion = "";
  1473. var rows2 = rows -1 ;
  1474. var userid = "";
  1475. // alert(rows2);
  1476. // if (flag == "2"){
  1477. // rsltstatnm = "[중간보고]";
  1478. // }
  1479. // else if (flag == "4"){
  1480. // rsltstatnm = "[최종보고]";
  1481. // }
  1482. for( row = 1; row < grd_bminter.rows; row++){
  1483. if(model.getValue("/root/main/rslt/desc/rslt/bminter["+ row +"]/chk") == "true"){
  1484. //alert(localdate.substr(0,4));
  1485. localdate = localdate.substr(0,4) + "-" + localdate.substr(4,2) + "-" + localdate.substr(6,2) + " " + localdate.substr(9,2) + ":" + localdate.substr(11,2) + ":" + localdate.substr(13,2) ;
  1486. //alert(localdate);
  1487. model.setValue("/root/main/rslt/desc/rslt/bminter["+ row +"]/lastdt", localdate.getTrim());
  1488. // model.setValue("/root/main/rslt/desc/rslt/bminter["+ row +"]/rsltstat", rsltstatnm.getTrim());
  1489. }
  1490. // if(flag == "4"){
  1491. //
  1492. // if(row != rows2 ){
  1493. // rsltstatnm = "[중간보고]"
  1494. // model.setValue("/root/main/rslt/desc/rslt/bminter["+ row +"]/rsltstat", rsltstatnm.getTrim());
  1495. // }
  1496. // else{
  1497. // rsltstatnm = "[최종보고]"
  1498. // model.setValue("/root/main/rslt/desc/rslt/bminter["+ row +"]/rsltstat", rsltstatnm.getTrim());
  1499. // }
  1500. // }
  1501. //alert(row+"="+rsltstatnm);
  1502. //alert(grd_bminter.rows);
  1503. // interunion = model.getValue("/root/main/rslt/desc/rslt/bminter["+ row +"]/rsltstat") + "-" + model.getValue("/root/main/rslt/desc/rslt/bminter["+ row +"]/interrslt") + "-" + model.getValue("/root/main/rslt/desc/rslt/bminter["+ row +"]/lastdt") + "-" + model.getValue("/root/main/rslt/desc/rslt/bminter["+ row +"]/userid");
  1504. //본메로우 인터프리테이션 뒤에 붙는 날짜와 보고자 제외해달라는 요청사항 변경요청 9533
  1505. interunion = model.getValue("/root/main/rslt/desc/rslt/bminter["+ row +"]/interrslt"); // + "-" + model.getValue("/root/main/rslt/desc/rslt/bminter["+ row +"]/lastdt") + "-" + model.getValue("/root/main/rslt/desc/rslt/bminter["+ row +"]/userid");
  1506. if(row == 1){
  1507. interpretation = interunion;
  1508. }
  1509. else{
  1510. interpretation = interpretation + "\n" +interunion;
  1511. }
  1512. }
  1513. if(interpretation != "" && model.getValue("/root/main/rslt/desc/rslt/inter2") == ""){
  1514. model.setValue("/root/main/rslt/desc/rslt/inter",interpretation);
  1515. } else if(model.getValue("/root/main/rslt/desc/rslt/inter2") !=""){
  1516. //본메로우 인터프리테이션 뒤에 붙는 날짜와 보고자 제외해달라는 요청사항 변경요청 9533
  1517. /*var localdate2 = localdate.substr(0,4) + "-" + localdate.substr(4,2) + "-" + localdate.substr(6,2) + " " + localdate.substr(9,2) + ":" + localdate.substr(11,2) + ":" + localdate.substr(13,2) ;
  1518. //alert(localdate2);
  1519. if(model.getValue("/root/hidden/readnm") !=""){
  1520. userid = model.getValue("/root/hidden/readnm");
  1521. }
  1522. else{
  1523. userid = model.getValue("/root/hidden/testnm");
  1524. //alert(userid);
  1525. }*/
  1526. interunion = model.getValue("/root/main/rslt/desc/rslt/inter2"); // + "-" + localdate2 + "-" + userid ;
  1527. interpretation = interpretation + "\n" + interunion;
  1528. model.setValue("/root/main/rslt/desc/rslt/inter" , interpretation);
  1529. }
  1530. model.refresh();
  1531. }
  1532. model.setvalue("/root/hidden/TestData/bcno" , model.getvalue("/root/main/testinfo/spcltestinfo/bcno"));
  1533. model.setvalue("/root/hidden/TestData/testcd", model.getValue("/root/main/testinfo/spcltestinfo/testcd"));
  1534. model.makevalue("/root/hidden/TestData/tclscd", model.getValue("/root/main/testinfo/spcltestinfo/tclscd"));
  1535. model.setvalue("/root/hidden/TestData/spccd", model.getvalue("/root/main/testinfo/spcltestinfo/spccd"));
  1536. model.setvalue("/root/hidden/TestData/inptrslt", "");
  1537. model.setvalue("/root/hidden/TestData/rsltstat" , flag);
  1538. model.setvalue("/root/hidden/TestData/testlrgkind" , model.getvalue("/root/main/testinfo/spcltestinfo/testlrgkind"));
  1539. model.setValue("/root/hidden/TestData/descrslt", node.xml, true);
  1540. model.setValue("/root/hidden/TestData/inter", model.getValue("/root/main/rslt/desc/rslt/inter"));
  1541. model.makevalue("/root/hidden/TestData/readid" , model.getvalue("/root/hidden/readid"));
  1542. model.makevalue("/root/hidden/TestData/testid" , model.getvalue("/root/hidden/testid"));
  1543. model.makevalue("/root/hidden/TestData/formkind" , model.getvalue("/root/main/rslt/desc/rslt/refflag"));
  1544. model.copyNode("/root/send/data1" ,"/root/hidden/TestData" );
  1545. if((model.getValue("/root/main/rslt/desc/rslt/refflag") == "01")//Bone Marrow
  1546. || (model.getValue("/root/main/rslt/desc/rslt/refflag") == "05")) { //osmo
  1547. for(i = 1; i <= getNodesetCount("/root/main/testinfo/detailtestinfo"); i++) {
  1548. model.setValue("/root/main/testinfo/detailtestinfo["+ i +"]/chk", "Y");
  1549. }
  1550. }
  1551. //if((model.getValue("/root/main/rslt/desc/rslt/refflag") == "02") //분자유전
  1552. // || (model.getValue("/root/main/rslt/desc/rslt/refflag") == "03") //세포유전
  1553. // || (model.getValue("/root/main/rslt/desc/rslt/refflag") == "04") //Immunophenotyping
  1554. // || (model.getValue("/root/main/rslt/desc/rslt/refflag") == "06") //ICG
  1555. // || (model.getValue("/root/main/rslt/desc/rslt/refflag") == "08") //EP
  1556. /// || (model.getValue("/root/main/rslt/desc/rslt/refflag") == "09")/*산전기형*/) {
  1557. var testcd = model.getValue("/root/main/testinfo/spcltestinfo/testcd");
  1558. var find = grd_rslt.findRow(testcd, 0, 1);
  1559. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk", "Y");
  1560. //}
  1561. //if(model.getValue("/root/main/testinfo/spcltestinfo/rsltstat") != "-") {
  1562. for(i = 1; i <= getNodesetCount("/root/main/testinfo/detailtestinfo"); i++) {
  1563. if(model.getValue("/root/main/testinfo/spcltestinfo/rsltstat") != "-") {
  1564. if((model.getValue("/root/main/testinfo/detailtestinfo["+ i +"]/reptrslt") != "")
  1565. || (model.getValue("/root/main/testinfo/detailtestinfo["+ i +"]/rsltstat") != "-")) {
  1566. model.setValue("/root/main/testinfo/detailtestinfo["+ i +"]/chk", "Y");
  1567. }
  1568. }
  1569. var testcd = model.getValue("/root/main/testinfo/detailtestinfo["+ i +"]/testcd").substring(0, 6);
  1570. var count = getNodesetCount("/root/main/rslt/desc/rslt/detailtestinfo");
  1571. if((model.getValue("/root/main/rslt/desc/rslt/refflag") == "02") //분자유전
  1572. || (model.getValue("/root/main/rslt/desc/rslt/refflag") == "03")) {//세포유전
  1573. if(testcd == model.getValue("/root/main/testinfo/spcltestinfo/testcd")) {
  1574. if(model.getValue("/root/main/testinfo/detailtestinfo["+ i +"]/chk") == "Y") {
  1575. model.makeNode("/root/main/rslt/desc/rslt/detailtestinfo["+ count +"]");
  1576. copyNodeType("/root/main/rslt/desc/rslt/detailtestinfo["+ count +"]", "/root/main/testinfo/detailtestinfo["+ i +"]");
  1577. }
  1578. }
  1579. }
  1580. }
  1581. //}
  1582. if(getNodesetCount("/root/main/testinfo/detailtestinfo") > 0){
  1583. for(i = 0; i < grd_rslt.rows; i++) {
  1584. var find = grd_rslt.findRow("Y", i, 0, false, false);
  1585. if(find < 0) {
  1586. break;
  1587. }
  1588. grd_rslt.addStatus(find,"update");
  1589. i = find;
  1590. }
  1591. var sSendData = grd_rslt.getUpdateData();
  1592. } else {
  1593. var sSendData = "m▦rownum▦chk▦testcd▦bufinptrslt▦reptrslt▦inptrslt▦bcno▦testcmt▩";
  1594. sSendData = sSendData + "u▦100▦Y▦"+model.getValue("/root/hidden/TestData/testcd") +"▦" + model.getvalue("/root/main/testinfo/spcltestinfo/tclsscrnnm") +"▦▦▦" + model.getValue("/root/main/testinfo/spcltestinfo/bcno") +"▦" + model.getValue("/root/main/testinfo/spcltestinfo/testcmt")+ "▩";
  1595. }
  1596. model.setvalue("/root/send/data2" , sSendData);
  1597. //alert(model.getvalue("/root/send/data2"));
  1598. if(flag == "6") {
  1599. model.makeValue("/root/send/bcno", model.getValue("/root/main/testinfo/spcltestinfo/bcno"));
  1600. model.makeValue("/root/send/spccd", model.getValue("/root/main/testinfo/spcltestinfo/spccd"));
  1601. model.makeValue("/root/send/prcpgenrflag", model.getValue("/root/main/testinfo/spcltestinfo/prcpgenrflag"));
  1602. submit("TRLRP00702"); //주진단명
  1603. model.removenode("/root/send/bcno");
  1604. model.removenode("/root/send/spccd");
  1605. model.removenode("/root/send/prcpgenrflag");
  1606. model.makeValue("/root/main/rslt/desc/detltestlist/tclsnm", model.getValue("/root/main/testinfo/spcltestinfo/prcpnm")); //처방명
  1607. model.makeValue("/root/main/rslt/desc/detltestlist/spcnm", model.getValue("/root/main/testinfo/spcltestinfo/spcprntnm")); //검체명
  1608. model.makeValue("/root/send/tclscd", model.getValue("/root/main/testinfo/spcltestinfo/tclscd"));
  1609. model.makeValue("/root/send/testcd", model.getValue("/root/main/testinfo/spcltestinfo/testcd"));
  1610. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  1611. model.makeValue("/root/send/pid", model.getValue("/root/main/testinfo/spcltestinfo/pid"));
  1612. submit("TRLRR90403"); //인증에 필요한 환자정보
  1613. model.removenode("/root/send/tclscd");
  1614. model.removenode("/root/send/testcd");
  1615. model.removenode("/root/send/instcd");
  1616. model.removenode("/root/send/pid");
  1617. model.makeValue("/root/main/rslt/desc/patinfo/medispcdt", getCurrentDate()); //판독시간
  1618. model.makevalue("/root/main/rslt/desc/patinfo/bcolldt",model.getValue("/root/main/testinfo/spcltestinfo/bcolldt"));//채취일자
  1619. model.makevalue("/root/main/rslt/desc/patinfo/workno",model.getValue("/root/main/testinfo/spcltestinfo/workno"));//접수번호
  1620. model.makeValue("/root/main/rslt/desc/patinfo/testid", model.getValue("/root/hidden/testnm"));// 입력자
  1621. model.makeValue("/root/main/rslt/desc/patinfo/medispclid", model.getValue("/root/hidden/readnm")); //판독자
  1622. model.makeValue("/root/main/rslt/desc/patinfo/specdrid", model.getValue("/root/hidden/specdrid")); //특진의
  1623. model.makeValue("/root/main/rslt/desc/patinfo/userflag", model.getValue("/root/hidden/userflag")); //사용자구분
  1624. model.makeValue("/root/main/rslt/desc/patinfo/exla", model.getValue("/root/main/testinfo/spcltestinfo/exla")); //위탁검사일경우 위탁기관에의뢰한정보입니다.. 아닐경우 null
  1625. model.makeValue("/root/main/rslt/desc/patinfo/server", getDomain()); //이미지불러오기 위해 현 서버를 server 노드에 넣는다.
  1626. if(getNodesetCount("/root/main/imglist/rsltseqno") > 0){ //이미지가 있을 경우..
  1627. count = 1
  1628. for(i = model.getValue("/root/main/imglist/minseqno"); i <= model.getValue("/root/main/imglist/maxseqno"); i++) {
  1629. model.makeValue("/root/main/rslt/desc/patinfo/rsltseq["+ count +"]/rsltseq", i);
  1630. count++;
  1631. }
  1632. }
  1633. if(getNodesetCount("/root/main/imglistld/rsltseqno") > 0){ //LD 이미지가 있을 경우..
  1634. count = 1
  1635. for(i = model.getValue("/root/main/imglistld/minseqno"); i <= model.getValue("/root/main/imglistld/maxseqno"); i++) {
  1636. model.makeValue("/root/main/rslt/desc/patinfo/rsltseqld["+ count +"]/rsltseq", i);
  1637. count++;
  1638. }
  1639. }
  1640. model.makeNode("/root/main/rslt/desc/patinfo/reqcnts"); //의뢰지 내용 담을
  1641. copyNodesetType("/root/main/rslt/desc/patinfo/reqcnts", "/root/main/testinfo/spcltestinfo/reqcnts"); //의뢰지 내용을 인증 노드에 카피
  1642. if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "01") { //Bone Marrow
  1643. model.makeNode("/root/main/rslt/desc/patinfo/reqcnts/reqfrminfo/inptitem01/rslt"); //의뢰지 표현을 위해 의뢰지 결과 담을 노드 생성
  1644. //골수 의뢰서 내용
  1645. if(model.getValue("/root/main/rslt/desc/patinfo/reqcnts/reqfrminfo/inptitem01/initial") == "Initial") {
  1646. model.setValue("/root/main/rslt/desc/patinfo/reqcnts/reqfrminfo/inptitem01/initial", "Initial");
  1647. model.setValue("/root/main/rslt/desc/patinfo/reqcnts/reqfrminfo/inptitem01/rslt", model.getValue("/root/main/rslt/desc/patinfo/reqcnts/reqfrminfo/inptitem02/initial"));
  1648. } else if(model.getValue("/root/main/rslt/desc/patinfo/reqcnts/reqfrminfo/inptitem01/fu") == "F/U") {
  1649. model.setValue("/root/main/rslt/desc/patinfo/reqcnts/reqfrminfo/inptitem01/initial", "F/U");
  1650. if(model.getValue("/root/main/rslt/desc/patinfo/reqcnts/reqfrminfo/inptitem02/chemo") != "") {
  1651. model.setValue("/root/main/rslt/desc/patinfo/reqcnts/reqfrminfo/inptitem01/rslt", model.getValue("/root/main/rslt/desc/patinfo/reqcnts/reqfrminfo/inptitem02/chemo") + "\n");
  1652. } else if(model.getValue("/root/main/rslt/desc/patinfo/reqcnts/reqfrminfo/inptitem02/bmt") != "") {
  1653. model.setValue("/root/main/rslt/desc/patinfo/reqcnts/reqfrminfo/inptitem01/rslt", model.getValue("/root/main/rslt/desc/patinfo/reqcnts/reqfrminfo/inptitem02/bmt") + "\n");
  1654. } else if(model.getValue("/root/main/rslt/desc/patinfo/reqcnts/reqfrminfo/inptitem02/ro") != "") {
  1655. model.setValue("/root/main/rslt/desc/patinfo/reqcnts/reqfrminfo/inptitem01/rslt", model.getValue("/root/main/rslt/desc/patinfo/reqcnts/reqfrminfo/inptitem02/ro") + "\n");
  1656. }
  1657. } else if(model.getValue("/root/main/rslt/desc/patinfo/reqcnts/reqfrminfo/inptitem01/others") == "Others") {
  1658. model.setValue("/root/main/rslt/desc/patinfo/reqcnts/reqfrminfo/inptitem01/initial", "Others");
  1659. model.setValue("/root/main/rslt/desc/patinfo/reqcnts/reqfrminfo/inptitem01/rslt", model.getValue("/root/main/rslt/desc/patinfo/reqcnts/reqfrminfo/inptitem02/othersl"));
  1660. }
  1661. } else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "06") { //ICG
  1662. var sfind = grd_rslt.findRow("LSS18101", 1, 1, true, true);
  1663. var rfind = grd_rslt.findRow("LSS18102", 1, 1, true, true);
  1664. model.makeValue("/root/main/rslt/desc/rslt/icg/sref", model.getValue("/root/main/testinfo/detailtestinfo["+ sfind +"]/refval"));
  1665. model.makeValue("/root/main/rslt/desc/rslt/icg/rref", model.getValue("/root/main/testinfo/detailtestinfo["+ rfind +"]/refval"));
  1666. }
  1667. //인증
  1668. if(Sign.signprocess()){
  1669. model.makeNode("/root/send/signdata");
  1670. model.makeValue("/root/send/signdata/bcno", model.getValue("/root/main/testinfo/spcltestinfo/bcno")); //결과테이블에 생성번호 넣기위해.
  1671. model.makeValue("/root/send/signdata/pid", model.getValue("/root/main/testinfo/spcltestinfo/pid")); //등록번호
  1672. model.makeValue("/root/send/signdata/orddd", model.getValue("/root/main/testinfo/spcltestinfo/orddd")); //입원, 응급 : 입원일자, 외래 : 진료일자
  1673. model.makeValue("/root/send/signdata/signno", model.getValue("/root/main/testinfo/spcltestinfo/signno")); //서명번호
  1674. model.makeValue("/root/send/signdata/cretno", model.getValue("/root/main/testinfo/spcltestinfo/cretno")); //생성번호
  1675. model.makeValue("/root/send/signdata/recdd", getCurrentDate()); // 실제기록이 이루어진 기록일자
  1676. model.makeValue("/root/send/signdata/rectm", getCurrentTime()); //실제기록이 이루어진 기록시간
  1677. model.makeValue("/root/send/signdata/recsaveflag", "Y"); // 전자서명 인적정보 변경여부(기록일시 변경되는 경우 : Y, 그외 : N)
  1678. model.makeValue("/root/send/signdata/signflag", "30"); // 서명자료구분(01 : 진료, 02 : 간호, 30:검사)
  1679. model.makeValue("/root/send/signdata/signgenrflag", model.getValue("/root/main/testinfo/spcltestinfo/prcpgenrflag")); //입원, 외래구분
  1680. model.makeValue("/root/send/signdata/formcd", model.getValue("/root/main/testinfo/spcltestinfo/formcd")); //각 기록지별 서식코드 0000002916 : BM
  1681. model.makeValue("/root/send/signdata/orddeptcd", model.getValue("/root/main/testinfo/spcltestinfo/orddeptcd")); //진료과
  1682. model.makeValue("/root/send/signdata/orddrid", model.getValue("/root/main/testinfo/spcltestinfo/orddrid")); //진료의ID
  1683. model.makeValue("/root/send/signdata/signbfcnts", Sign.signedInfos[3]); // 인증할 데이터 정보(미기록 노드 제거된 정보), 미기록 노드 제거전 원본 노드 정보 : Sign.signedInfos[3]
  1684. model.makeValue("/root/send/signdata/signaftcnts", Sign.signedInfos[2]); //공인인증 처리후 데이터
  1685. if(model.getValue("/root/main/testinfo/spcltestinfo/basecdid") == "LL010") {
  1686. model.makeValue("/root/send/signdata/dispyn", "N"); //통합기록조회(통합결과조회)에 기록 보여질 여부(LL010이면 보이지 않는다)
  1687. }
  1688. }else{
  1689. alert("인증실패");
  1690. model.removeNodeset("/root/send/data1");
  1691. model.removeNodeset("/root/send/data2");
  1692. model.removeNodeset("/root/send/signdata");
  1693. model.makeNode("/root/send/data1");
  1694. model.makeNode("/root/send/data2");
  1695. model.resetInstanceNode("/root/hidden/TestData");
  1696. return false;
  1697. }
  1698. //submit("TXLRR00401");
  1699. }
  1700. if(submit("TXLRR00101")) {
  1701. var rsltYN = true;
  1702. }
  1703. if(rsltYN) {
  1704. fSetClear("P");
  1705. }else {
  1706. alert("저장실패");
  1707. }
  1708. model.removeNodeset("/root/send/data1");
  1709. model.removeNodeset("/root/send/data2");
  1710. model.removeNodeset("/root/send/signdata");
  1711. model.makeNode("/root/send/data1");
  1712. model.makeNode("/root/send/data2");
  1713. model.resetInstanceNode("/root/hidden/TestData");
  1714. model.resetInstanceNode("/root/send");
  1715. fchildsearch("SPLRR90700");
  1716. //fchildsearch2("SPLRR90700");
  1717. activateChild("SPLRR90700");
  1718. model.refresh();
  1719. }
  1720. //인증데이터 만들기
  1721. function fMake_SignData(){
  1722. Sign.addnode("/root/main/rslt/desc");
  1723. }
  1724. //이미지 결과 조회, 이미지 표현
  1725. function fImgRef(img){
  1726. var img = document.controls.item(img);
  1727. model.copyNode("/root/send/data1" , "/root/main/testinfo/spcltestinfo");
  1728. model.removeNodeset("/root/send/data2");
  1729. if(model.getValue("/root/main/testinfo/spcltestinfo/testcd") == "LSI113") { //ld이미지
  1730. model.makeValue("/root/send/data1/rsltseqno" , model.getValue("/root/hidden/rsltseqnold"));
  1731. submit("TRLRR01502", false);
  1732. model.makeNode("/root/main/viewld"); //ld 이미지 노드 생성
  1733. copyNodeType("/root/main/viewld", "/root/main/view"); //이미지 이동
  1734. model.removenode("/root/main/view"); //이전 이미지 노드 삭제
  1735. setImageRefInstance("/root/main/viewld/imgrslt"); //이미지 셋팅
  1736. img.attribute("width")= model.getValue("/root/main/viewld/imgwidt");
  1737. img.attribute("height")= model.getValue("/root/main/viewld/imght");
  1738. } else {
  1739. model.makeValue("/root/send/data1/rsltseqno" , model.getValue("/root/hidden/rsltseqno"));
  1740. submit("TRLRR01502", false);
  1741. setImageRefInstance("/root/main/view/imgrslt");//이미지 셋팅
  1742. img.attribute("width")= model.getValue("/root/main/view/imgwidt");
  1743. img.attribute("height")= model.getValue("/root/main/view/imght");
  1744. }
  1745. model.removeNodeset("/root/send/data1");
  1746. model.makeNode("/root/send/data1");
  1747. model.makeNode("/root/send/data2");
  1748. model.refresh();
  1749. }
  1750. //이미지 결과 조회, 이미지 표현
  1751. function fImgRef1(cmb, cpt,img){
  1752. cmb = document.controls.item(cmb);
  1753. cpt = document.controls.item(cpt);
  1754. fimg = document.controls.item(img);
  1755. var img = document.controls.item(img);
  1756. //model.removeNodeset("/root/main/view1");
  1757. model.copyNode("/root/send/data1" , "/root/main/testinfo/spcltestinfo");
  1758. model.removeNodeset("/root/send/data2");
  1759. if(getNodesetCount("/root/main/imglist/rsltseqno") > 0){ //history가 존재하면 이미지 조회
  1760. cmb.value = model.getvalue("/root/main/imglist/rsltseqno");
  1761. fimg.attribute("visibility") = "visible";
  1762. cpt.attribute("visibility") = "hidden";
  1763. }else { //history가 없으면 no_img 띄움.
  1764. fimg.attribute("visibility") = "hidden";
  1765. cpt.attribute("visibility") = "visible";
  1766. }
  1767. model.makeValue("/root/send/data1/rsltseqno" ,"1");
  1768. submit("TRLRR01506", false);
  1769. setImageRefInstance("/root/main/immnoa/immno1/imgrslt");//이미지 셋팅
  1770. img.attribute("width")= model.getValue("/root/main/immnoa/immno1/imgwidt");
  1771. img.attribute("height")= model.getValue("/root/main/immnoa/immno1/imght");
  1772. img_immno2.attribute("left") = model.getValue("/root/main/immnoa/immno1/imgwidt");
  1773. //img_immno3.attribute("left") = model.getValue("/root/main/immnoa/immno1/imgwidt");
  1774. img_immno4.attribute("top") = model.getValue("/root/main/immnoa/immno1/imght");
  1775. img_immno5.attribute("left") = model.getValue("/root/main/immnoa/immno1/imgwidt");
  1776. img_immno5.attribute("top") = model.getValue("/root/main/immnoa/immno1/imght");
  1777. //img_immno6.attribute("left") = model.getValue("/root/main/immnoa/immno1/imgwidt");
  1778. img_immno6.attribute("top") = model.getValue("/root/main/immnoa/immno1/imght");
  1779. // model.makeValue("/root/send/data1/rsltseqno" , model.getValue("/root/main/imglist/rsltseqno["+i+"]"));
  1780. // submit("TRLRR01502", false);
  1781. // setImageRefInstance("/root/main/view/imgrslt");//이미지 셋팅
  1782. model.removeNodeset("/root/send/data1");
  1783. model.makeNode("/root/send/data1");
  1784. model.makeNode("/root/send/data2");
  1785. model.refresh();
  1786. }
  1787. //이미지 결과 조회, 이미지 표현
  1788. function fImgRef2(cmb, cpt,img){
  1789. cmb = document.controls.item(cmb);
  1790. cpt = document.controls.item(cpt);
  1791. fimg = document.controls.item(img);
  1792. var img = document.controls.item(img);
  1793. //model.removeNodeset("/root/main/view2");
  1794. model.copyNode("/root/send/data1" , "/root/main/testinfo/spcltestinfo");
  1795. model.removeNodeset("/root/send/data2");
  1796. if(getNodesetCount("/root/main/imglist/rsltseqno") > 0){ //history가 존재하면 이미지 조회
  1797. cmb.value = model.getvalue("/root/main/imglist/rsltseqno");
  1798. fimg.attribute("visibility") = "visible";
  1799. cpt.attribute("visibility") = "hidden";
  1800. }else { //history가 없으면 no_img 띄움.
  1801. fimg.attribute("visibility") = "hidden";
  1802. cpt.attribute("visibility") = "visible";
  1803. }
  1804. model.makeValue("/root/send/data1/rsltseqno" ,"2");
  1805. submit("TRLRR01507", false);
  1806. setImageRefInstance("/root/main/immnob/immno2/imgrslt");//이미지 셋팅
  1807. img.attribute("width")= model.getValue("/root/main/immnob/immno2/imgwidt");
  1808. img.attribute("height")= model.getValue("/root/main/immnob/immno2/imght");
  1809. var immno2left = img_immno2.attribute("left");
  1810. //alert(immno2left);
  1811. var immno2width = model.getValue("/root/main/immnob/immno2/imgwidt");
  1812. //alert(immno2width);
  1813. img_immno3.attribute("left") = parseInt(immno2left) + parseInt(immno2width);
  1814. img_immno6.attribute("left") = parseInt(immno2left) + parseInt(immno2width);
  1815. // alert(img_immno3.attribute("left"));
  1816. // model.makeValue("/root/send/data1/rsltseqno" , model.getValue("/root/main/imglist/rsltseqno["+i+"]"));
  1817. // submit("TRLRR01502", false);
  1818. // setImageRefInstance("/root/main/view/imgrslt");//이미지 셋팅
  1819. model.removeNodeset("/root/send/data1");
  1820. model.makeNode("/root/send/data1");
  1821. model.makeNode("/root/send/data2");
  1822. model.refresh();
  1823. }
  1824. //이미지 결과 조회, 이미지 표현
  1825. function fImgRef3(cmb, cpt,img){
  1826. cmb = document.controls.item(cmb);
  1827. cpt = document.controls.item(cpt);
  1828. fimg = document.controls.item(img);
  1829. var img = document.controls.item(img);
  1830. //model.removeNodeset("/root/main/view3");
  1831. model.copyNode("/root/send/data1" , "/root/main/testinfo/spcltestinfo");
  1832. model.removeNodeset("/root/send/data2");
  1833. if(getNodesetCount("/root/main/imglist/rsltseqno") > 0){ //history가 존재하면 이미지 조회
  1834. cmb.value = model.getvalue("/root/main/imglist/rsltseqno");
  1835. fimg.attribute("visibility") = "visible";
  1836. cpt.attribute("visibility") = "hidden";
  1837. }else { //history가 없으면 no_img 띄움.
  1838. fimg.attribute("visibility") = "hidden";
  1839. cpt.attribute("visibility") = "visible";
  1840. }
  1841. model.makeValue("/root/send/data1/rsltseqno" ,"3");
  1842. submit("TRLRR01508", false);
  1843. setImageRefInstance("/root/main/immnoc/immno3/imgrslt");//이미지 셋팅
  1844. img.attribute("width")= model.getValue("/root/main/immnoc/immno3/imgwidt");
  1845. img.attribute("height")= model.getValue("/root/main/immnoc/immno3/imght");
  1846. // model.makeValue("/root/send/data1/rsltseqno" , model.getValue("/root/main/imglist/rsltseqno["+i+"]"));
  1847. // submit("TRLRR01502", false);
  1848. // setImageRefInstance("/root/main/view/imgrslt");//이미지 셋팅
  1849. model.removeNodeset("/root/send/data1");
  1850. model.makeNode("/root/send/data1");
  1851. model.makeNode("/root/send/data2");
  1852. model.refresh();
  1853. }
  1854. //이미지 결과 조회, 이미지 표현
  1855. function fImgRef4(cmb, cpt,img){
  1856. cmb = document.controls.item(cmb);
  1857. cpt = document.controls.item(cpt);
  1858. fimg = document.controls.item(img);
  1859. var img = document.controls.item(img);
  1860. //model.removeNodeset("/root/main/view4");
  1861. model.copyNode("/root/send/data1" , "/root/main/testinfo/spcltestinfo");
  1862. model.removeNodeset("/root/send/data2");
  1863. if(getNodesetCount("/root/main/imglist/rsltseqno") > 0){ //history가 존재하면 이미지 조회
  1864. cmb.value = model.getvalue("/root/main/imglist/rsltseqno");
  1865. fimg.attribute("visibility") = "visible";
  1866. cpt.attribute("visibility") = "hidden";
  1867. }else { //history가 없으면 no_img 띄움.
  1868. fimg.attribute("visibility") = "hidden";
  1869. cpt.attribute("visibility") = "visible";
  1870. }
  1871. model.makeValue("/root/send/data1/rsltseqno" ,"4");
  1872. submit("TRLRR01509", false);
  1873. setImageRefInstance("/root/main/immnod/immno4/imgrslt");//이미지 셋팅
  1874. img.attribute("width")= model.getValue("/root/main/immnod/immno4/imgwidt");
  1875. img.attribute("height")= model.getValue("/root/main/immnod/immno4/imght");
  1876. // model.makeValue("/root/send/data1/rsltseqno" , model.getValue("/root/main/imglist/rsltseqno["+i+"]"));
  1877. // submit("TRLRR01502", false);
  1878. // setImageRefInstance("/root/main/view/imgrslt");//이미지 셋팅
  1879. model.removeNodeset("/root/send/data1");
  1880. model.makeNode("/root/send/data1");
  1881. model.makeNode("/root/send/data2");
  1882. model.refresh();
  1883. }
  1884. //이미지 결과 조회, 이미지 표현
  1885. function fImgRef5(cmb, cpt,img){
  1886. cmb = document.controls.item(cmb);
  1887. cpt = document.controls.item(cpt);
  1888. fimg = document.controls.item(img);
  1889. var img = document.controls.item(img);
  1890. //model.removeNodeset("/root/main/view5");
  1891. model.copyNode("/root/send/data1" , "/root/main/testinfo/spcltestinfo");
  1892. model.removeNodeset("/root/send/data2");
  1893. if(getNodesetCount("/root/main/imglist/rsltseqno") > 0){ //history가 존재하면 이미지 조회
  1894. cmb.value = model.getvalue("/root/main/imglist/rsltseqno");
  1895. fimg.attribute("visibility") = "visible";
  1896. cpt.attribute("visibility") = "hidden";
  1897. }else { //history가 없으면 no_img 띄움.
  1898. fimg.attribute("visibility") = "hidden";
  1899. cpt.attribute("visibility") = "visible";
  1900. }
  1901. model.makeValue("/root/send/data1/rsltseqno" ,"5");
  1902. submit("TRLRR01510", false);
  1903. setImageRefInstance("/root/main/immnoe/immno5/imgrslt");//이미지 셋팅
  1904. img.attribute("width")= model.getValue("/root/main/immnoe/immno5/imgwidt");
  1905. img.attribute("height")= model.getValue("/root/main/immnoe/immno5/imght");
  1906. // model.makeValue("/root/send/data1/rsltseqno" , model.getValue("/root/main/imglist/rsltseqno["+i+"]"));
  1907. // submit("TRLRR01502", false);
  1908. // setImageRefInstance("/root/main/view/imgrslt");//이미지 셋팅
  1909. model.removeNodeset("/root/send/data1");
  1910. model.makeNode("/root/send/data1");
  1911. model.makeNode("/root/send/data2");
  1912. model.refresh();
  1913. }
  1914. //이미지 결과 조회, 이미지 표현
  1915. function fImgRef6(cmb, cpt,img){
  1916. cmb = document.controls.item(cmb);
  1917. cpt = document.controls.item(cpt);
  1918. fimg = document.controls.item(img);
  1919. var img = document.controls.item(img);
  1920. //model.removeNodeset("/root/main/view6");
  1921. model.copyNode("/root/send/data1" , "/root/main/testinfo/spcltestinfo");
  1922. model.removeNodeset("/root/send/data2");
  1923. model.makeValue("/root/send/data1/rsltseqno" ,"6");
  1924. submit("TRLRR01511", false);
  1925. setImageRefInstance("/root/main/immnof/immno6/imgrslt");//이미지 셋팅
  1926. img.attribute("width")= model.getValue("/root/main/immnof/immno6/imgwidt");
  1927. img.attribute("height")= model.getValue("/root/main/immnof/immno6/imght");
  1928. // model.makeValue("/root/send/data1/rsltseqno" , model.getValue("/root/main/imglist/rsltseqno["+i+"]"));
  1929. // submit("TRLRR01502", false);
  1930. // setImageRefInstance("/root/main/view/imgrslt");//이미지 셋팅
  1931. model.removeNodeset("/root/send/data1");
  1932. model.makeNode("/root/send/data1");
  1933. model.makeNode("/root/send/data2");
  1934. model.refresh();
  1935. }
  1936. //이미지 콤보 박스 조회
  1937. function fImgRslt(cmb, cpt, img){
  1938. cmb = document.controls.item(cmb);
  1939. cpt = document.controls.item(cpt);
  1940. fimg = document.controls.item(img);
  1941. model.copyNode("/root/send/data1" , "/root/main/testinfo/spcltestinfo");
  1942. if(model.getValue("/root/main/testinfo/spcltestinfo/testcd") == "LSI113") { //ld 이미지
  1943. submit("TRLRR01501");
  1944. model.makeNode("/root/main/imglistld"); //ld history 노드 생성
  1945. copyNodeType("/root/main/imglistld", "/root/main/imglist"); //history 이동
  1946. model.removenode("/root/main/imglist"); //이전 history 노드 삭제
  1947. if(getNodesetCount("/root/main/imglistld/rsltseqno") > 0){ //history가 존재하면 이미지 조회
  1948. cmb.value = model.getvalue("/root/main/imglistld/rsltseqno");
  1949. fImgRef(img);
  1950. fimg.attribute("visibility") = "visible";
  1951. cpt.attribute("visibility") = "hidden";
  1952. }else { //history가 없으면 no_img 띄움.
  1953. fimg.attribute("visibility") = "hidden";
  1954. cpt.attribute("visibility") = "visible";
  1955. }
  1956. } else {
  1957. submit("TRLRR01501");
  1958. if(getNodesetCount("/root/main/imglist/rsltseqno") > 0){ //history가 존재하면 이미지 조회
  1959. cmb.value = model.getvalue("/root/main/imglist/rsltseqno");
  1960. fImgRef(img);
  1961. fimg.attribute("visibility") = "visible";
  1962. cpt.attribute("visibility") = "hidden";
  1963. }else { //history가 없으면 no_img 띄움.
  1964. fimg.attribute("visibility") = "hidden";
  1965. cpt.attribute("visibility") = "visible";
  1966. }
  1967. }
  1968. model.removeNodeset("/root/send/data1");
  1969. model.makeNode("/root/send/data1");
  1970. model.refresh();
  1971. }
  1972. // //이미지 콤보 박스 조회
  1973. // function fImgRslt(cmb, cpt, img){
  1974. // cmb = document.controls.item(cmb);
  1975. // cpt = document.controls.item(cpt);
  1976. // fimg = document.controls.item(img);
  1977. //
  1978. // model.copyNode("/root/send/data1" , "/root/main/testinfo/spcltestinfo");
  1979. //
  1980. //
  1981. // submit("TRLRR01501");
  1982. //
  1983. // if(getNodesetCount("/root/main/imglist/rsltseqno") > 0){ //history가 존재하면 이미지 조회
  1984. // cmb.value = model.getvalue("/root/main/imglist/rsltseqno");
  1985. // fImgRef(img);
  1986. // fimg.attribute("visibility") = "visible";
  1987. // cpt.attribute("visibility") = "hidden";
  1988. // }else { //history가 없으면 no_img 띄움.
  1989. // fimg.attribute("visibility") = "hidden";
  1990. // cpt.attribute("visibility") = "visible";
  1991. // }
  1992. //
  1993. //
  1994. // model.removeNodeset("/root/send/data1");
  1995. // model.makeNode("/root/send/data1");
  1996. //
  1997. // model.refresh();
  1998. // }
  1999. //그리드 키이벤트
  2000. function fGridKeyEvent(grd, pRef){
  2001. gridObj = document.all(grd);
  2002. var row = gridObj.row;
  2003. var col = gridObj.col;
  2004. if(col == 1 || col == 4){
  2005. var vBufInptRslt = model.getvalue(pRef +"["+row+"]/bufinptrslt");
  2006. var vReptRslt = model.getValue(pRef +"["+row+"]/reptrslt");
  2007. var InptRslt = model.getvalue(pRef +"["+row+"]/inptrslt");
  2008. /* if(vReptRslt != "") {
  2009. if(vReptRslt == "" && InptRslt==""){
  2010. model.setvalue(pRef +"["+row+"]/inptrslt",vReptRslt);
  2011. return;
  2012. }
  2013. else{
  2014. if(vReptRslt == InptRslt){
  2015. fCvtViewResult(gridObj, pRef,true);
  2016. return;
  2017. }
  2018. }
  2019. }else {
  2020. if(vBufInptRslt == "" && InptRslt==""){
  2021. model.setvalue(pRef +"["+row+"]/inptrslt",vBufInptRslt);
  2022. return;
  2023. }
  2024. else{
  2025. if(vBufInptRslt == InptRslt){
  2026. fCvtViewResult(gridObj, pRef,true);
  2027. return;
  2028. }
  2029. }
  2030. }*/
  2031. fCvtResultCode(row, pRef); //결과코드
  2032. fCvtViewResult(gridObj, pRef); //결과판정
  2033. } else{
  2034. }
  2035. }
  2036. //그리드 키이벤트 (STR 전용)
  2037. function fGridKeyEventStr(grd, pRef){
  2038. gridObj = document.all(grd);
  2039. var row = gridObj.row;
  2040. var col = gridObj.col;
  2041. var vBufInptRslt = model.getvalue(pRef +"["+col+"]/bufinptrslt");
  2042. var vReptRslt = model.getValue(pRef +"["+col+"]/reptrslt");
  2043. var InptRslt = model.getvalue(pRef +"["+col+"]/inptrslt");
  2044. /* if(vReptRslt != "") {
  2045. if(vReptRslt == "" && InptRslt==""){
  2046. model.setvalue(pRef +"["+row+"]/inptrslt",vReptRslt);
  2047. return;
  2048. }
  2049. else{
  2050. if(vReptRslt == InptRslt){
  2051. fCvtViewResult(gridObj, pRef,true);
  2052. return;
  2053. }
  2054. }
  2055. }else {
  2056. if(vBufInptRslt == "" && InptRslt==""){
  2057. model.setvalue(pRef +"["+row+"]/inptrslt",vBufInptRslt);
  2058. return;
  2059. }
  2060. else{
  2061. if(vBufInptRslt == InptRslt){
  2062. fCvtViewResult(gridObj, pRef,true);
  2063. return;
  2064. }
  2065. }
  2066. }*/
  2067. fCvtResultCodeStr(col, pRef); //결과코드
  2068. fCvtViewResultStr(gridObj, pRef); //결과판정
  2069. }
  2070. //그리드 EndEdit (PB만)
  2071. function fGridEndEdit(grd, pRef){
  2072. gridObj = document.all(grd);
  2073. var row = gridObj.row;
  2074. var col = gridObj.col;
  2075. if(model.getValue(pRef +"["+row+"]/lvl") == "1") { //RBC, WBC, Platelet일때.
  2076. return;
  2077. }
  2078. if(col == 1 || col == 4){
  2079. var vBufInptRslt = model.getvalue(pRef +"["+row+"]/bufinptrslt");
  2080. var vReptRslt = model.getValue(pRef +"["+row+"]/reptrslt");
  2081. var InptRslt = model.getvalue(pRef +"["+row+"]/inptrslt");
  2082. /* if(vReptRslt != "") {//말초도말검사
  2083. if(vReptRslt == "" && InptRslt==""){
  2084. model.setvalue(pRef +"["+row+"]/inptrslt",vReptRslt);
  2085. return;
  2086. }
  2087. else{
  2088. if(vReptRslt == InptRslt){
  2089. fCvtViewResult(gridObj, pRef,true);
  2090. return;
  2091. }
  2092. }
  2093. }else {
  2094. if(vBufInptRslt == "" && InptRslt==""){
  2095. model.setvalue(pRef +"["+row+"]/inptrslt",vBufInptRslt);
  2096. return;
  2097. }
  2098. else{
  2099. if(vBufInptRslt == InptRslt){
  2100. fCvtViewResult(gridObj, pRef,true);
  2101. return;
  2102. }
  2103. }
  2104. }*/
  2105. fCvtResultCode(row, pRef); //결과코드
  2106. fCvtViewResult(gridObj, pRef); //결과판정
  2107. } else{
  2108. }
  2109. }
  2110. // 결과판정
  2111. function fCvtViewResult(gridObj, pRef, pMatch, pMulty, pRow){
  2112. var vRow = gridObj.row;
  2113. var vCol = gridObj.col;
  2114. var vMaxRow = gridObj.rows-1;
  2115. if (typeof(pMatch) == "undefined") pMatch = false;
  2116. if (typeof(pMulty) == "undefined") pMulty = false;
  2117. if (typeof(pRow) != "undefined") vRow = pRow;
  2118. var vBufinptrslt = model.getvalue(pRef +"["+vRow+"]/bufinptrslt");
  2119. var vReptrslt = model.getvalue(pRef +"["+vRow+"]/reptrslt");
  2120. if(vReptrslt != "") {//말초도말검사
  2121. model.setvalue(pRef +"["+vRow+"]/inptrslt",vReptrslt);
  2122. var testcd = model.getValue(pRef + "[" + vRow + "]/testcd");
  2123. var find = grd_rslt.findRow(testcd, 1, 1, true, true);
  2124. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", vReptrslt);
  2125. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", vReptrslt);
  2126. }else {
  2127. model.setvalue(pRef +"["+vRow+"]/inptrslt",vReptrslt);
  2128. model.setvalue (pRef +"["+vRow+"]/reptrslt",vReptrslt);
  2129. var testcd = model.getValue(pRef + "[" + vRow + "]/testcd");
  2130. var find = grd_rslt.findRow(testcd, 1, 1, true, true);
  2131. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", vReptrslt);
  2132. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", vReptrslt);
  2133. }
  2134. //if(model.getvalue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != ""){ PB 때문에 20080919 윤재한 막음
  2135. model.setvalue("/root/main/testinfo/detailtestinfo["+ find +"]/chk", "Y");
  2136. //}
  2137. if (pMulty) {
  2138. model.setvalue(pRef +"["+vRow+"]/bufinptrslt", "");
  2139. } else {
  2140. var vMoveRow = "";
  2141. if(vMaxRow == parseInt(vRow))
  2142. vMoveRow = 1;
  2143. else
  2144. vMoveRow = parseInt(vRow) + 1;
  2145. if( vMaxRow >= vMoveRow ) {
  2146. } else {
  2147. vMoveRow -= 1;
  2148. }
  2149. model.setvalue(pRef +"["+vRow+"]/bufinptrslt", "");
  2150. gridObj.row = vMoveRow;
  2151. gridObj.col = vCol;
  2152. model.setvalue(pRef +"["+vMoveRow+"]/bufinptrslt", model.getvalue(pRef +"["+vMoveRow+"]/inptrslt"));
  2153. }
  2154. }
  2155. function fCvtViewResultStr(gridObj, pRef, pMatch, pMulty, pRow){
  2156. var vRow = gridObj.row;
  2157. var vCol = gridObj.col;
  2158. var vMaxRow = gridObj.rows-1;
  2159. if (typeof(pMatch) == "undefined") pMatch = false;
  2160. if (typeof(pMulty) == "undefined") pMulty = false;
  2161. if (typeof(pRow) != "undefined") vRow = pRow;
  2162. var vBufinptrslt = model.getvalue(pRef +"["+vCol+"]/bufinptrslt");
  2163. var vReptrslt = model.getvalue(pRef +"["+vCol+"]/reptrslt");
  2164. //alert(vReptrslt);
  2165. if(vReptrslt != "") {//말초도말검사
  2166. model.setvalue(pRef +"["+vRow+"]/inptrslt",vReptrslt);
  2167. var testcd = model.getValue(pRef + "[" + vCol + "]/testcd");
  2168. //alert(testcd);
  2169. var find = grd_rslt.findRow(testcd, 1, 1, true, true);
  2170. //alert("se "+find + "//" + testcd);
  2171. //alert(find);
  2172. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", vReptrslt);
  2173. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", vReptrslt);
  2174. }else {
  2175. model.setvalue(pRef +"["+vCol+"]/inptrslt",vReptrslt);
  2176. model.setvalue (pRef +"["+vCol+"]/reptrslt",vReptrslt);
  2177. var testcd = model.getValue(pRef + "[" + vCol + "]/testcd");
  2178. var find = grd_rslt.findRow(testcd, 1, 1, true, true);
  2179. //alert("else "+find + "//" + testcd);
  2180. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", vReptrslt);
  2181. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", vReptrslt);
  2182. }
  2183. //if(model.getvalue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != ""){ PB 때문에 20080919 윤재한 막음
  2184. model.setvalue("/root/main/testinfo/detailtestinfo["+ find +"]/chk", "Y");
  2185. //}
  2186. if (pMulty) {
  2187. model.setvalue(pRef +"["+vCol+"]/bufinptrslt", "");
  2188. } else {
  2189. var vMoveRow = "";
  2190. if(vMaxRow == parseInt(vRow))
  2191. vMoveRow = 1;
  2192. else
  2193. vMoveRow = parseInt(vRow) + 1;
  2194. if( vMaxRow >= vMoveRow ) {
  2195. } else {
  2196. vMoveRow -= 1;
  2197. }
  2198. model.setvalue(pRef +"["+vCol+"]/bufinptrslt", "");
  2199. gridObj.row = vMoveRow;
  2200. gridObj.col = vCol;
  2201. model.setvalue(pRef +"["+vMoveRow+"]/bufinptrslt", model.getvalue(pRef +"["+vMoveRow+"]/inptrslt"));
  2202. }
  2203. }
  2204. function fCvtResultCode(row, pRef){
  2205. var vTestcd = model.getValue(pRef + "["+row+"]/tclscd");
  2206. var vInptRslt = model.getValue(pRef + "["+row+"]/bufinptrslt");
  2207. var cdNodes = instance1.selectNodes("/root/init/LB0109[etc01='" + vTestcd + "']/cd");
  2208. var cdNodes2 = instance1.selectNodes("/root/init/LB0109[etc01='" + vTestcd + "']/nm");
  2209. var vRstcontLower ="";
  2210. var vRstcontUpper = "";
  2211. for (i = 1; i <= cdNodes.length; i++) {
  2212. var cd = cdNodes.item(i - 1).text;
  2213. var nm = cdNodes2.item(i - 1).text;
  2214. if(vInptRslt.toLowerCase() == cd) vRstcontLower = nm;
  2215. if(vInptRslt.toUpperCase() == cd) vRstcontUpper = nm;
  2216. }
  2217. if (vRstcontLower.getTrim() != "" || vRstcontUpper.getTrim() != "" ) {
  2218. var vRstcont = (vRstcontLower.getTrim() != "") ? vRstcontLower.getTrim() : vRstcontUpper.getTrim();
  2219. model.setValue(pRef + "["+row+"]/bufinptrslt", vRstcont);
  2220. model.setValue(pRef + "["+row+"]/inptrslt", vRstcont);
  2221. }
  2222. }
  2223. function fCvtResultCodeStr(col, pRef){
  2224. var vTestcd = model.getValue(pRef + "["+col+"]/tclscd");
  2225. var vInptRslt = model.getValue(pRef + "["+col+"]/bufinptrslt");
  2226. var cdNodes = instance1.selectNodes("/root/init/LB0109[etc01='" + vTestcd + "']/cd");
  2227. var cdNodes2 = instance1.selectNodes("/root/init/LB0109[etc01='" + vTestcd + "']/nm");
  2228. var vRstcontLower ="";
  2229. var vRstcontUpper = "";
  2230. for (i = 1; i <= cdNodes.length; i++) {
  2231. var cd = cdNodes.item(i - 1).text;
  2232. var nm = cdNodes2.item(i - 1).text;
  2233. if(vInptRslt.toLowerCase() == cd) vRstcontLower = nm;
  2234. if(vInptRslt.toUpperCase() == cd) vRstcontUpper = nm;
  2235. }
  2236. if (vRstcontLower.getTrim() != "" || vRstcontUpper.getTrim() != "" ) {
  2237. var vRstcont = (vRstcontLower.getTrim() != "") ? vRstcontLower.getTrim() : vRstcontUpper.getTrim();
  2238. model.setValue(pRef + "["+col+"]/bufinptrslt", vRstcont);
  2239. model.setValue(pRef + "["+col+"]/inptrslt", vRstcont);
  2240. }
  2241. }
  2242. //의뢰서 조회
  2243. function fRefREQSHT() {
  2244. if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "01") { //Bone Marrow
  2245. modal("SPLRR90100","","","","","/root/main/testinfo/spcltestinfo", "/root/hidden/reqfrminfo");
  2246. } else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "02") { //분자유전
  2247. modal("SPLRR90200","","","","","/root/main/testinfo/spcltestinfo", "/root/hidden/reqfrminfo");
  2248. } else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "03") { //세포유전
  2249. if(model.getValue("/root/main/testinfo/spcltestinfo/reqfrmcd") =="04" ){
  2250. modal("SPLRR90400","","","","","/root/main/testinfo/spcltestinfo", "/root/hidden/reqfrminfo");
  2251. }
  2252. else{
  2253. modal("SPLRR91300","","","","","/root/main/testinfo/spcltestinfo", "/root/hidden/reqfrminfo");
  2254. }
  2255. } else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "10" || model.getValue("/root/main/rslt/desc/rslt/refflag") == "11") { //PRA, 교차시험
  2256. modal("SPLRR90500","","","","","/root/main/testinfo/spcltestinfo", "/root/hidden/reqfrminfo");
  2257. } else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "09") {//산전기형
  2258. modal("SPLRR90300","","","","","/root/main/testinfo/spcltestinfo", "/root/hidden/reqfrminfo");
  2259. } else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "12") { //TDM
  2260. modal("SPLRR90600","","","","","/root/main/testinfo/spcltestinfo", "/root/hidden/reqfrminfo");
  2261. }else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "07") { //PB
  2262. modal("SPLRR91400","","","","","/root/main/testinfo/spcltestinfo", "/root/hidden/reqfrminfo");
  2263. }else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "99") { //범용보고서
  2264. modal("SPLRR91000","","","","","/root/main/testinfo/spcltestinfo", "/root/hidden/reqfrminfo");
  2265. }
  2266. }
  2267. //키이벤트
  2268. function fKeyEvent(){
  2269. if(event.keyCode == "13"){
  2270. if(event.target == "ipt_testpsn"){ //입력자
  2271. model.setvalue("/root/hidden/testid",ipt_testpsn.currentText.toUpperCase());
  2272. model.refresh();
  2273. fUserNMRef("t");
  2274. ipt_testpsn.selBegin = 0;
  2275. ipt_testpsn.selEnd = ipt_testpsn.currentText.length;
  2276. model.setFocus("ipt_readpsn");
  2277. }
  2278. if(event.target == "ipt_readpsn"){ //판독자
  2279. model.setvalue("/root/hidden/readid",ipt_readpsn.currentText.toUpperCase());
  2280. model.refresh();
  2281. fUserNMRef("r");
  2282. ipt_readpsn.selBegin = 0;
  2283. ipt_readpsn.selEnd = ipt_readpsn.currentText.length;
  2284. model.setFocus("ipt_testpsn");
  2285. }
  2286. if(event.target == "ipt_reftext"){ //검색
  2287. model.setvalue("/root/hidden/ref/text",ipt_reftext.currentText.toUpperCase());
  2288. model.refresh();
  2289. Onclick_btnRef();
  2290. ipt_reftext.selBegin = 0;
  2291. ipt_reftext.selEnd = ipt_reftext.currentText.length;
  2292. model.setFocus("ipt_reftext");
  2293. }
  2294. }
  2295. }
  2296. //환자조회
  2297. function Onclick_btnRef(flag){
  2298. if(flag != "R") {
  2299. model.removeNodeset("/root/main/patlist");
  2300. model.resetInstanceNode("/root/main/testinfo/spcltestinfo");
  2301. model.removeNodeset("/root/main/testinfo/detailtestinfo");
  2302. }
  2303. model.setvalue("/root/hidden/refparam/refflag", "3");
  2304. if(flag == "R") {
  2305. model.copyNode("/root/send/data1","/root/hidden/ref");
  2306. model.setValue("/root/send/data1/refgbn", "2");
  2307. model.setValue("/root/send/data1/text", model.getValue("/root/main/testinfo/spcltestinfo/bcno"));
  2308. model.copyNode("/root/send/data2","/root/hidden/refparam");
  2309. } else {
  2310. model.copyNode("/root/send/data1","/root/hidden/ref");
  2311. if(model.getValue("/root/send/data1/refgbn") == "1") {
  2312. model.setValue("/root/send/data1/text", model.getValue("/root/send/data1/spclno") + model.getValue("/root/send/data1/text"));
  2313. }
  2314. model.copyNode("/root/send/data2","/root/hidden/refparam");
  2315. }
  2316. submit("TRLRR00101");
  2317. if(getNodesetCount("/root/main/patlist") > 0) {
  2318. var grup = model.getValue("/root/main/rslt/desc/rslt/refflag");
  2319. var ngrup = model.getValue("/root/main/patlist/spclrsltformkind");
  2320. if(grup != ngrup) {
  2321. model.makeValue("/root/main/rslt/desc/rslt/refflag", ngrup);
  2322. fTranscrn();
  2323. }else {
  2324. model.resetInstanceNode("/root/main/rslt");
  2325. model.makeValue("/root/main/rslt/desc/rslt/refflag", grup);
  2326. fTranscrn();
  2327. }
  2328. model.makeValue("/root/hidden/refflag/bcno", model.getValue("/root/main/patlist/bcno"));
  2329. model.makeValue("/root/hidden/refflag/testcd", model.getValue("/root/main/patlist/testcd"));
  2330. model.makeValue("/root/hidden/refflag/prcpgenrflag", model.getValue("/root/main/patlist/prcpgenrflag"));
  2331. // if(model.getValue("/root/main/patlist/descrsltyn") != "Y") {
  2332. //alert("!@$#!@$");
  2333. fOnclick_grd_patList(flag);
  2334. // }
  2335. }else {
  2336. messageBox("해당", "E013");
  2337. }
  2338. model.removeNodeset("/root/send/data1");
  2339. model.makeNode("/root/send/data1");
  2340. model.removeNodeset("/root/send/data2");
  2341. model.makeNode("/root/send/data2");
  2342. model.refresh();
  2343. }
  2344. //판독 불러오기
  2345. function fGetRead() {
  2346. model.makeValue("/root/send/bcno" , model.getvalue("/root/hidden/refflag/bcno"));
  2347. model.makeValue("/root/send/testcd" , model.getValue("/root/main/testinfo/spcltestinfo/testcd"));
  2348. submit("TRLRR00403");
  2349. if(model.getValue("/root/main/rslt/desc/rslt/refflag") != "") {
  2350. fTranscrn();
  2351. }
  2352. if(getNodesetCount("/root/main/rslt/desc/rslt") < 1) {
  2353. Onclick_btnRef("R");
  2354. }
  2355. model.removeNodeset("/root/send/bcno");
  2356. model.removeNodeset("/root/send/testcd");
  2357. model.refresh();
  2358. }
  2359. //사용자 이름 검색
  2360. function fUserNMRef(flag){
  2361. if(flag == "t") { //입력자
  2362. if(model.getvalue("/root/hidden/testid") != ""){
  2363. model.makeValue("/root/send/userid" , model.getvalue("/root/hidden/testid"));
  2364. submit("TRLZZ00104");
  2365. model.setValue("/root/hidden/testnm", model.getValue("/root/main/getUsernm/usernm"));
  2366. }
  2367. } else if(flag == "r") { //판독자
  2368. if(model.getvalue("/root/hidden/readid") != ""){
  2369. model.makeValue("/root/send/userid" , model.getvalue("/root/hidden/readid"));
  2370. submit("TRLRR00406");
  2371. model.setValue("/root/hidden/readnm", model.getValue("/root/main/getUsernm/usernm"));
  2372. model.makeValue("/root/hidden/userflag", model.getValue("/root/main/getUsernm/userflag"));
  2373. if(model.getValue("/root/main/getUsernm/userflag") == "2"){
  2374. model.setValue("/root/main/getUsernm/specdrid","");
  2375. model.makeValue("/root/hidden/specdrid","");
  2376. }
  2377. else{
  2378. model.makeValue("/root/hidden/specdrid",model.getValue("/root/main/getUsernm/specdrid"));
  2379. }
  2380. }
  2381. }
  2382. model.removeNodeset("/root/send/userid");
  2383. model.refresh();
  2384. }
  2385. //오른쪽 마우스 눌렀을 때 결과코드 보여주기.
  2386. function fGetMouseDown(gridid, pRef){
  2387. gridObj = document.all(gridid);
  2388. model.removeNodeset("/root/hidden/popupmenu");
  2389. if(event.button == 3){ // 라이트클릭 메뉴만들기...
  2390. model.makeNode("/root/hidden/popupmenu/grid");
  2391. model.makeNode("/root/hidden/popupmenu/grid/item");
  2392. if(gridObj.mouseCol== 1){
  2393. var testcd = model.getvalue(pRef + "["+ gridObj.mouseRow +"]/testcd");
  2394. //결과코드관련
  2395. var n = getNodesetCount("/root/init/LB0109[etc01='" + testcd + "']");
  2396. if (n > 0) {
  2397. var cdNodes = instance1.selectNodes("/root/init/LB0109[etc01='" + testcd + "']/cd");
  2398. var cdNodes2 = instance1.selectNodes("/root/init/LB0109[etc01='" + testcd + "']/nm");
  2399. var dispyn = instance1.selectNodes("/root/init/LB0109[etc01='" + testcd + "']/etc03");
  2400. for (i = 1; i <= n; i++) {
  2401. var cd = cdNodes.item(i - 1).text;
  2402. var nm = cdNodes2.item(i - 1).text;
  2403. var yn = dispyn.item(i - 1).text;
  2404. if(yn == "Y"){
  2405. model.makeValue("/root/hidden/popupmenu/grid/item["+ i +"]/name" , "["+ cd +"] "+ nm);
  2406. model.makeValue("/root/hidden/popupmenu/grid/item["+ i +"]/func" , nm + "▦" + gridObj.mouseRow + "▦" + pRef + "▦" + gridObj);
  2407. }
  2408. }
  2409. }
  2410. }
  2411. if(gridObj.isCell(event.target) && gridObj.mouseRow >= gridObj.fixedrows){
  2412. window.setPopupMenu(true , "/root/hidden/popupmenu/grid/item" , "name", "func" , true);
  2413. //setPopupMenu("grd_TestInfoCnts" , true, "/root/hidden/popupmenu/grid/item", "name", "func");
  2414. }else{
  2415. window.setPopupMenu(false);
  2416. }
  2417. }
  2418. }
  2419. function fOnmenu(popupParam){
  2420. var aL = popupParam.split("▦");
  2421. fRsltCode2(aL[0] , aL[1], aL[2], aL[3]);
  2422. }
  2423. function fRsltCode2(nm , pRow, pRef, gridObj){
  2424. model.setvalue(pRef + "["+ pRow +"]/reptrslt", nm);
  2425. model.refresh();
  2426. fCvtViewResult(gridObj, pRef, true, true, pRow);
  2427. model.removeNodeset("/root/hidden/popupmenu");
  2428. }
  2429. function fXERslt(){
  2430. modal("SPLLR91500 ","","","","","/root/main/rslt/desc/rslt/cbcrslt/bcno","/root/send/bcno");
  2431. }
  2432. function fAddress(pRef){//세포유전및FISH검사관리 주소 조회, 분자쪽도 추가
  2433. model.makeValue("/root/send/deptflag",pRef);
  2434. submit("TRLRR01505");
  2435. model.removenode("/root/send/deptflag");
  2436. }
  2437. /* @group : 검사항목 그리드 셋팅
  2438. * @ver : 2008.12.22
  2439. * @by : 김성희
  2440. * @-----------------------------------
  2441. * @type : function
  2442. * @access : public
  2443. * @desc : 검사항목 그리드 셋팅 Function
  2444. */
  2445. function fGrdReMake(){
  2446. // model.removeNodeset("/root/main/testinfo/patlist");
  2447. model.refresh();
  2448. if(grd_testlist.cols > gStartCol){
  2449. var cols = grd_testlist.cols
  2450. for(i=cols ; i > gStartCol ; i--)
  2451. grd_testlist.colHidden(i) = true;
  2452. }
  2453. //var strCaption = "환자명^바코드번호^결과일시";
  2454. var caption = "";
  2455. var vTclsnmB= model.getValue("/root/init/LB1006/etc02").split("▦");
  2456. var vTclsnmA = model.getValue("/root/init/LB1006/nm").split("▦");
  2457. //caption = strCaption;
  2458. // for(i=0;i<vTclsnmA.length;i++){
  2459. //
  2460. // grd_testlist.colHidden(i + gStartCol) = false;
  2461. //
  2462. // caption += "^" + vTclsnmA[i];
  2463. // }
  2464. //
  2465. // caption += "|" + strCaption;
  2466. for(i=0;i<vTclsnmB.length;i++){
  2467. grd_testlist.colHidden(i + gStartCol) = false;
  2468. if(i == "0"){
  2469. caption += vTclsnmB[i];
  2470. }
  2471. else{
  2472. caption += "^" + vTclsnmB[i];
  2473. }
  2474. }
  2475. model.makeValue("/root/send/caption", caption);
  2476. grd_testlist.caption = caption;
  2477. grd_testlist.rebuild();
  2478. }
  2479. //조회후 그리드 리메이크
  2480. function fGrdReMake2(){
  2481. var vCdList = model.getValue("/root/init/LB1006/etc01").split("▦");
  2482. var vCdCount = vCdList.length;
  2483. //alert(vCdCount);
  2484. var vOrgrst = "";
  2485. var curCol = 0;
  2486. for (var row = 1; row < (grd_testlist.rows-1) ; row++) {
  2487. for (var col=0; col < parseInt(vCdCount); col++) {
  2488. vOrgrst = "inptrslt" + (eval(col+1) );
  2489. if (model.getValue("/root/main/testinfo/patlist["+row+"]/"+vOrgrst+"/@readonly") == "true") {
  2490. curCol = eval(gStartCol+col);
  2491. //alert(curCol);
  2492. grd_testlist.cellStyle("background-color", (row+1), curCol, (row+1),curCol) = "#eaeaea";
  2493. grd_testlist.isReadOnly((row+1), curCol) = true;
  2494. }
  2495. }
  2496. }
  2497. //grd_testlist.
  2498. }
  2499. function fGridKeyDown(){
  2500. var curRow = grd_testlist.row; //현재로우
  2501. var curCol = grd_testlist.col; //현재컬럼
  2502. if (event.keyCode == 37 || event.keyCode == 38 || event.keyCode == 39 || event.keyCode == 40) {
  2503. if (event.keyCode == 37) { //←
  2504. --curCol;
  2505. } else if (event.keyCode == 38) { //↑
  2506. --curRow;
  2507. } else if (event.keyCode == 39) { //→
  2508. ++curCol;
  2509. } else if (event.keyCode == 40) { //↓
  2510. ++curRow;
  2511. }
  2512. var refRow = fGetRow(curRow, curCol); //실제 데이터있는 그리드의 로우 검색
  2513. //fPatGridClick(curRow, curCol); //검체정보 조회
  2514. if (refRow > 0) {
  2515. var vInptRslt = model.getValue("/root/main/testinfo/detailtestinfo["+refRow+"]/inptrslt");
  2516. grd_testlist.valueMatrix(curRow, curCol) = vInptRslt;
  2517. }
  2518. }
  2519. }
  2520. //비정상만조회
  2521. function fChkWideuseAbnr(ref){
  2522. if(ref == "Y"){
  2523. if(getNodesetCount("/root/main/rslt/desc/rslt/detltclsinfo") > 0) {
  2524. for(i = 1; i <= getNodesetCount("/root/main/rslt/desc/rslt/detltclsinfo"); i++) {
  2525. if(model.getValue("/root/main/rslt/desc/rslt/detltclsinfo["+ i +"]/reptrslt") != "비정상"){
  2526. grd_wideuse_dtcl1.rowHidden(i) = true;
  2527. }
  2528. }
  2529. }
  2530. }else{
  2531. if(getNodesetCount("/root/main/rslt/desc/rslt/detltclsinfo") > 0) {
  2532. for(i = 1; i <= getNodesetCount("/root/main/rslt/desc/rslt/detltclsinfo"); i++) {
  2533. grd_wideuse_dtcl1.rowHidden(i) = false;
  2534. }
  2535. }
  2536. }
  2537. }
  2538. ]]>
  2539. </script>
  2540. </xhtml:head>
  2541. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  2542. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
  2543. <switch id="switch3" style="left:0px; top:85px; width:1192px; height:655px; ">
  2544. <case id="pra">
  2545. <line id="line63" class="line_1" style="x1:5px; y1:25px; x2:560px; y2:25px; "/>
  2546. <caption id="caption102" class="tit_2" style="left:10px; top:10px; width:115px; height:13px; ">PRA Screening</caption>
  2547. <datagrid id="grd_pra_scrn" nodeset="/root/main/rslt/desc/rslt/pra/prascreening" caption="^이전결과접수일시^이전결과^결과" colsep="^" colwidth="166, 105, 80, 80" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="free" style="left:5px; top:30px; width:555px; height:138px; ">
  2548. <col ref="tclsscrnnm"/>
  2549. <col ref="bfspcacptdt" format="yyyy-mm-dd hh:nn"/>
  2550. <col ref="bfreptrslt"/>
  2551. <col ref="reptrslt" type="input"/>
  2552. <script type="javascript" ev:event="onendedit">
  2553. <![CDATA[/*
  2554. var testcd = model.getValue("/root/main/rslt/desc/rslt/pra/prascreening["+ grd_pra_scrn.row +"]/testcd");
  2555. var find = grd_rslt.findRow(testcd, 1, 1, true, true);
  2556. if(grd_pra_scrn.row == grd_pra_scrn.rows - 1) {
  2557. model.setValue("/root/main/rslt/desc/rslt/pra/prascreening["+ grd_pra_scrn.row +"]/inptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/prascreening["+ grd_pra_scrn.row +"]/reptrslt"));
  2558. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/prascreening["+ grd_pra_scrn.row +"]/reptrslt"));
  2559. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/prascreening["+ grd_pra_scrn.row +"]/reptrslt"));
  2560. if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
  2561. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk" , "Y");
  2562. }
  2563. grd_pra_scrn.row = 1;
  2564. } else {
  2565. model.setValue("/root/main/rslt/desc/rslt/pra/prascreening["+ datagrid26.row +"]/inptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/prascreening["+ grd_pra_scrn.row +"]/reptrslt"));
  2566. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/prascreening["+ grd_pra_scrn.row +"]/reptrslt"));
  2567. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/prascreening["+ grd_pra_scrn.row +"]/reptrslt"));
  2568. if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
  2569. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk" , "Y");
  2570. }
  2571. grd_pra_scrn.row = (grd_pra_scrn.row) + 1;
  2572. }*/
  2573. fGridKeyEvent("grd_pra_scrn", "/root/main/rslt/desc/rslt/pra/prascreening");
  2574. ]]>
  2575. </script>
  2576. </datagrid>
  2577. <caption id="caption100" class="tit_2" style="left:570px; top:10px; width:133px; height:13px; ">PRA Identification</caption>
  2578. <line id="line64" class="line_1" style="x1:565px; y1:25px; x2:1180px; y2:25px; "/>
  2579. <datagrid id="grd_pra_iden" nodeset="/root/main/rslt/desc/rslt/pra/iden" caption="^이전결과접수일시^이전결과^결과" colsep="^" colwidth="250, 110, 80, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="free" style="left:565px; top:30px; width:615px; height:225px; ">
  2580. <col ref="tclsscrnnm"/>
  2581. <col ref="bfspcacptdt" format="yyyy-mm-dd hh:nn"/>
  2582. <col ref="bfreptrslt"/>
  2583. <col ref="reptrslt" type="input"/>
  2584. <script type="javascript" ev:event="onendedit">
  2585. <![CDATA[/*
  2586. var testcd = model.getValue("/root/main/rslt/desc/rslt/pra/iden["+ datagrid27.row +"]/testcd");
  2587. var find = grd_rslt.findRow(testcd, 1, 1, true, true);
  2588. if(datagrid27.row == datagrid27.rows - 1) {
  2589. model.setValue("/root/main/rslt/desc/rslt/pra/iden["+ datagrid27.row +"]/inptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/iden["+ datagrid27.row +"]/reptrslt"));
  2590. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/iden["+ datagrid27.row +"]/reptrslt"));
  2591. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/iden["+ datagrid27.row +"]/reptrslt"));
  2592. datagrid27.row = 1;
  2593. } else {
  2594. model.setValue("/root/main/rslt/desc/rslt/pra/iden["+ datagrid27.row +"]/inptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/iden["+ datagrid27.row +"]/reptrslt"));
  2595. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/iden["+ datagrid27.row +"]/reptrslt"));
  2596. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/iden["+ datagrid27.row +"]/reptrslt"));
  2597. datagrid27.row = (datagrid27.row) + 1;
  2598. }
  2599. var per = model.getValue("/root/main/rslt/desc/rslt/pra/iden["+ grd_pra_iden.row +"]/per");
  2600. var testcd = model.getValue("/root/main/rslt/desc/rslt/pra/iden["+ grd_pra_iden.row +"]/testcd");
  2601. var find = grd_rslt.findRow(testcd, 1, 1, true, true);
  2602. if(per == "0") {
  2603. model.setValue("/root/main/rslt/desc/rslt/pra/iden["+ grd_pra_iden.row +"]/reptrslt", "Negative");
  2604. model.setValue("/root/main/rslt/desc/rslt/pra/iden["+ grd_pra_iden.row +"]/inptrslt", "Negative");
  2605. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", "Negative");
  2606. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", "Negative");
  2607. if(grd_pra_iden.row == grd_pra_iden.rows - 1) {
  2608. grd_pra_iden.row = 1;
  2609. }else {
  2610. grd_pra_iden.row = (grd_pra_iden.row) + 1;
  2611. }
  2612. } else if(per >= 1) {
  2613. model.setValue("/root/main/rslt/desc/rslt/pra/iden["+ grd_pra_iden.row +"]/reptrslt", "Positive");
  2614. model.setValue("/root/main/rslt/desc/rslt/pra/iden["+ grd_pra_iden.row +"]/inptrslt", "Positive");
  2615. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", "Positive");
  2616. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", "Positive");
  2617. if(grd_pra_iden.row == grd_pra_iden.rows - 1) {
  2618. grd_pra_iden.row = 1;
  2619. }else {
  2620. grd_pra_iden.row = (grd_pra_iden.row) + 1;
  2621. }
  2622. } */
  2623. fGridKeyEvent("grd_pra_iden", "/root/main/rslt/desc/rslt/pra/iden");
  2624. ]]>
  2625. </script>
  2626. </datagrid>
  2627. <caption id="caption30" class="tit_2" style="left:570px; top:260px; width:115px; height:13px; ">판독결과</caption>
  2628. <line id="line66" class="line_1" style="x1:565px; y1:275px; x2:1180px; y2:275px; "/>
  2629. <caption id="caption9" class="tit_2" style="left:10px; top:260px; width:192px; height:13px; ">판독예문</caption>
  2630. <line id="line13" class="line_1" style="x1:5px; y1:276px; x2:560px; y2:276px; "/>
  2631. <button id="button13" class="btn2_letter4" style="left:495px; top:256px; width:64px; height:19px; ">
  2632. <caption>판독예문</caption>
  2633. <script type="javascript" ev:event="DOMActivate">
  2634. <![CDATA[
  2635. modal("SMLLF02000 ","","","","","/root/main/testinfo/spcltestinfo/testcd","/root/hidden/testcd");
  2636. submit("TRLRR00402");
  2637. fRsltCode("grd_pb_readexmp");
  2638. model.refresh();
  2639. ]]>
  2640. </script>
  2641. </button>
  2642. <button id="button27" class="btn2_letter4" style="left:1115px; top:5px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter6.gif; ">
  2643. <caption>결과조회</caption>
  2644. <script type="javascript" ev:event="onclick">
  2645. <![CDATA[
  2646. open("SMLLP01400");
  2647. ]]>
  2648. </script>
  2649. </button>
  2650. <datagrid id="grd_pb_readexmp" nodeset="/root/main/rsltcode" caption="판독예문코드^판독예문내용" colsep="^" colwidth="80, 432" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:5px; top:281px; width:555px; height:345px; ">
  2651. <col ref="cd"/>
  2652. <col ref="nm"/>
  2653. <script type="javascript" ev:event="ondblclick">
  2654. <![CDATA[
  2655. fRsltCodeDBClick("grd_pb_readexmp");
  2656. ]]>
  2657. </script>
  2658. </datagrid>
  2659. <textarea id="tar_pb_readrslt" ref="/root/main/rslt/desc/rslt/readrslt" style="left:565px; top:280px; width:615px; height:345px; "/>
  2660. <select id="checkbox14" ref="/root/hidden/readexmpadd" overflow="visible" appearance="full" style="left:440px; top:258px; width:50px; height:20px; border-style:none; ">
  2661. <choices>
  2662. <item>
  2663. <label>추가</label>
  2664. <value>Y</value>
  2665. </item>
  2666. </choices>
  2667. </select>
  2668. </case>
  2669. <case id="bm" style="left:0px; top:0px; width:1192px; height:655px; ">
  2670. <switch id="switch1" class="sw_box" style="left:404px; top:25px; width:786px; height:625px; ">
  2671. <case id="bm_img">
  2672. <caption id="cpt_bm_noimg" class="no_image" style="left:0px; top:0px; width:210px; height:240px; vertical-align:middle; background-image:../../../com/commonweb/images/no_image.gif; "/>
  2673. <select1 id="cmb_bm_seq" ref="/root/hidden/rsltseqno" class="combo_default" appearance="minimal" style="left:88px; top:4px; width:120px; height:19px; ">
  2674. <choices>
  2675. <itemset nodeset="/root/main/imglist">
  2676. <label ref="lastupdtrdt"/>
  2677. <value ref="rsltseqno"/>
  2678. </itemset>
  2679. </choices>
  2680. <script type="javascript" ev:event="xforms-value-changed">
  2681. <![CDATA[
  2682. fImgRef("img_bm");
  2683. ]]>
  2684. </script>
  2685. </select1>
  2686. <button id="button22" class="btn2_letter7" style="left:210px; top:4px; width:97px; height:19px; ">
  2687. <caption>이미지결과등록</caption>
  2688. <script type="javascript" ev:event="DOMActivate">
  2689. <![CDATA[
  2690. if(model.getvalue("/root/main/testinfo/spcltestinfo/bcno") != ""){
  2691. modal("SMLRR01500","", "", "","", "/root/main/testinfo/spcltestinfo", "/root/hidden/spcltestinfo");
  2692. fImgRslt("cmb_bm_seq", "cpt_bm_noimg", "img_bm");
  2693. }
  2694. ]]>
  2695. </script>
  2696. </button>
  2697. <caption id="caption17" class="cell_1" style="left:5px; top:2px; width:80px; height:23px; vertical-align:middle; ">History</caption>
  2698. <img id="img_bm" ref="/root/main/view/imgrslt" src="../images/결과이미지.gif" style="left:5px; top:28px; width:775px; height:587px; background-stretch:stretch; "/>
  2699. <img id="img3" visibility="hidden" style="left:305px; top:45px; width:365px; height:148px; background-color:#ff6600; background-stretch:stretch; "/>
  2700. </case>
  2701. <case id="bm_desc" selected="true">
  2702. <button id="button50" class="btn2_letter10" style="left:330px; top:469px; width:130px; height:19px; ">
  2703. <caption>interpretation grid</caption>
  2704. <script type="javascript" ev:event="DOMActivate">
  2705. <![CDATA[
  2706. if(group_bminter.attribute("visibility") == "visible") {
  2707. group_bminter.attribute("visibility") = "hidden";
  2708. }else {
  2709. group_bminter.attribute("visibility") = "visible";
  2710. }
  2711. ]]>
  2712. </script>
  2713. </button>
  2714. <button id="button44" class="btn2_letter7" style="left:484px; top:469px; width:97px; height:19px; ">
  2715. <caption>IHC stain</caption>
  2716. <script type="javascript" ev:event="DOMActivate">
  2717. <![CDATA[
  2718. if(group11.attribute("visibility") == "visible") {
  2719. group11.attribute("visibility") = "hidden";
  2720. }else {
  2721. group11.attribute("visibility") = "visible";
  2722. }
  2723. ]]>
  2724. </script>
  2725. </button>
  2726. <textarea id="tar_bm_readrslt" ref="/root/main/rslt/desc/rslt/readrslt" style="left:0px; top:18px; width:780px; height:447px; font-size:11pt; "/>
  2727. <button id="button17" class="btn2_letter7" style="left:584px; top:469px; width:97px; height:19px; ">
  2728. <caption>Special stain</caption>
  2729. <script type="javascript" ev:event="DOMActivate">
  2730. <![CDATA[
  2731. if(group12.attribute("visibility") == "visible") {
  2732. group12.attribute("visibility") = "hidden";
  2733. }else {
  2734. group12.attribute("visibility") = "visible";
  2735. }
  2736. ]]>
  2737. </script>
  2738. </button>
  2739. <textarea id="tar_bm_itpt" ref="/root/main/rslt/desc/rslt/inter2" style="left:0px; top:491px; width:780px; height:55px; font-size:11pt; ">
  2740. <script type="javascript" ev:event="xforms-value-changed">
  2741. <![CDATA[
  2742. model.setValue("/root/main/rslt/desc/rslt/inter",model.getValue("/root/main/rslt/desc/rslt/inter2"));
  2743. model.refresh();
  2744. ]]>
  2745. </script>
  2746. </textarea>
  2747. <button id="button19" class="btn2_letter7" style="left:684px; top:469px; width:97px; height:19px; ">
  2748. <caption>BM Diff.count</caption>
  2749. <script type="javascript" ev:event="DOMActivate">
  2750. <![CDATA[
  2751. if(group2.attribute("visibility") == "visible") {
  2752. var val = null;
  2753. sum = 0;
  2754. for(i = 1; i < grd_bm_diff.rows; i++) {
  2755. if(model.getValue("/root/main/rslt/desc/rslt/bm/diff["+ i +"]/input") != "") {
  2756. val = model.getValue("/root/main/rslt/desc/rslt/bm/diff["+ i +"]/input");
  2757. sum += parseInt(val);
  2758. }
  2759. }
  2760. if(sum < 100) {
  2761. messageBox("BM Diff.count 값이 100보다 작습니다.", "E");
  2762. }
  2763. group2.attribute("visibility") = "hidden";
  2764. }else {
  2765. group2.attribute("visibility") = "visible";
  2766. }
  2767. ]]>
  2768. </script>
  2769. </button>
  2770. <line id="line11" class="line_1" style="x1:0px; y1:13px; x2:780px; y2:13px; "/>
  2771. <caption id="caption4" class="tit_2" style="left:5px; top:473px; width:115px; height:13px; ">Interpretation</caption>
  2772. <caption id="caption5" class="tit_2" style="left:5px; top:549px; width:158px; height:13px; ">Comments</caption>
  2773. <line id="line3" class="line_1" style="x1:0px; y1:486px; x2:780px; y2:486px; "/>
  2774. <line id="line4" class="line_1" style="x1:0px; y1:561px; x2:780px; y2:561px; "/>
  2775. <caption id="caption28" class="tit_2" style="left:5px; top:0px; width:115px; height:13px; ">판독결과</caption>
  2776. <textarea id="tar_bm_comment" ref="/root/main/rslt/desc/rslt/comments" style="left:0px; top:567px; width:780px; height:55px; font-size:11pt; "/>
  2777. <group id="group2" visibility="hidden" overflow="visible" style="left:510px; top:100px; width:270px; height:370px; ">
  2778. <datagrid id="grd_bm_diff" nodeset="/root/main/rslt/desc/rslt/bm/diff" visibility="visible" caption="검사명^결과" colsep="^" colwidth="150, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:20px; width:270px; height:348px; ">
  2779. <col ref="tclsnm" type="input"/>
  2780. <col ref="input" type="input"/>
  2781. <script type="javascript" ev:event="onendedit">
  2782. <![CDATA[
  2783. if((grd_bm_diff.isCell(event.target) && grd_bm_diff.row >= grd_bm_diff.fixedRows) && grd_bm_diff.col >= 1 ){
  2784. var val = null;
  2785. sum = 0;
  2786. for(i = 1; i < grd_bm_diff.rows; i++) {
  2787. if(model.getValue("/root/main/rslt/desc/rslt/bm/diff["+ i +"]/input") != "") {
  2788. val = model.getValue("/root/main/rslt/desc/rslt/bm/diff["+ i +"]/input");
  2789. sum += parseInt(val);
  2790. }
  2791. }
  2792. if(sum > 100) {
  2793. messageBox("BM Diff.count 값이 100", "E003");
  2794. return;
  2795. }
  2796. }
  2797. ]]>
  2798. </script>
  2799. </datagrid>
  2800. <button id="button25" class="btn2_letter3" style="left:215px; top:0px; width:53px; height:19px; ">
  2801. <caption>행추가</caption>
  2802. <script type="javascript" ev:event="DOMActivate">
  2803. <![CDATA[
  2804. grd_bm_diff.addRow();
  2805. ]]>
  2806. </script>
  2807. </button>
  2808. </group>
  2809. <group id="group12" visibility="hidden" overflow="visible" style="left:495px; top:205px; width:280px; height:235px; ">
  2810. <button id="button47" class="btn2_letter3" style="left:200px; top:0px; width:53px; height:19px; ">
  2811. <caption>행추가</caption>
  2812. <script type="javascript" ev:event="DOMActivate">
  2813. <![CDATA[
  2814. grd_bm_sst.addRow();
  2815. ]]>
  2816. </script>
  2817. </button>
  2818. <datagrid id="grd_bm_sst" nodeset="/root/main/rslt/desc/rslt/bm/sst" visibility="visible" caption="검사명^결과" colsep="^" colwidth="150, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:20px; width:275px; height:209px; ">
  2819. <col ref="tclsnm" type="input"/>
  2820. <col ref="input" type="input"/>
  2821. </datagrid>
  2822. </group>
  2823. <group id="group11" visibility="hidden" overflow="visible" style="left:225px; top:210px; width:280px; height:235px; ">
  2824. <button id="button46" class="btn2_letter3" style="left:200px; top:0px; width:53px; height:19px; ">
  2825. <caption>행추가</caption>
  2826. <script type="javascript" ev:event="DOMActivate">
  2827. <![CDATA[
  2828. grd_bm_ihc.addRow();
  2829. ]]>
  2830. </script>
  2831. </button>
  2832. <datagrid id="grd_bm_ihc" nodeset="/root/main/rslt/desc/rslt/bm/ihc" visibility="visible" caption="검사명^결과" colsep="^" colwidth="150, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:20px; width:275px; height:204px; ">
  2833. <col ref="tclsnm" type="input"/>
  2834. <col ref="input" type="input"/>
  2835. </datagrid>
  2836. </group>
  2837. <group id="group_bminter" visibility="hidden" scroll="auto" style="left:0px; top:338px; width:775px; height:130px; ">
  2838. <datagrid id="grd_bminter" nodeset="/root/main/rslt/desc/rslt/bminter" scroll="auto" autoresize="true" caption="chk^내용^일자^보고자" colsep="^" colwidth="29, 514, 124, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:25px; width:775px; height:100px; ">
  2839. <col checkvalue="true,false" ref="chk" type="checkbox"/>
  2840. <col ref="interrslt" type="input"/>
  2841. <col ref="lastdt" format="yyyy-mm-dd hh:nn"/>
  2842. <col ref="userid" type="input"/>
  2843. <script type="javascript" ev:event="onkeypress">
  2844. <![CDATA[
  2845. if(event.keyCode == "13"){
  2846. var row = grd_bminter.row;
  2847. model.setValue("/root/main/rslt/desc/rslt/bminter["+ row +"]/chk","true");
  2848. //alert(event.keyCode);
  2849. model.refresh();
  2850. }
  2851. ]]>
  2852. </script>
  2853. </datagrid>
  2854. <button id="button49" class="btn2_letter3" style="left:707px; top:5px; width:53px; height:19px; ">
  2855. <caption>행추가</caption>
  2856. <script type="javascript" ev:event="DOMActivate">
  2857. <![CDATA[
  2858. grd_bminter.addRow();
  2859. var row = grd_bminter.row;
  2860. ]]>
  2861. </script>
  2862. </button>
  2863. </group>
  2864. </case>
  2865. </switch>
  2866. <caption id="caption25" class="tit_2" style="left:10px; top:10px; width:115px; height:14px; ">CBC Result</caption>
  2867. <line id="line1" class="line_1" style="x1:5px; y1:26px; x2:400px; y2:26px; "/>
  2868. <line id="line2" class="line_1" style="x1:5px; y1:241px; x2:400px; y2:241px; "/>
  2869. <caption id="caption26" class="tit_2" style="left:10px; top:225px; width:115px; height:13px; ">연관검사</caption>
  2870. <line id="line10" class="line_1" style="x1:5px; y1:457px; x2:400px; y2:457px; "/>
  2871. <caption id="caption27" class="tit_2" style="left:10px; top:441px; width:115px; height:13px; ">BM 이전결과</caption>
  2872. <datagrid id="grd_bm_cbcrslt" nodeset="/root/main/rslt/desc/rslt/cbcrslt" caption="검사코드^검사명^결과^단위^보고일시^이전결과^inptrslt" colsep="^" colwidth="55, 95, 50, 50, 105, 65" dataheight="23" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:5px; top:31px; width:395px; height:185px; ">
  2873. <col ref="testcd"/>
  2874. <col ref="tclsnm"/>
  2875. <col ref="reptrslt"/>
  2876. <col ref="rsltunit"/>
  2877. <col ref="lastreptdt" format="yyyy-mm-dd hh:nn"/>
  2878. <col ref="bfreptrst"/>
  2879. <script type="javascript" ev:event="onmousedown">
  2880. <![CDATA[
  2881. if ( (grd_bm_cbcrslt.row >= grd_bm_cbcrslt.fixedRows) && (grd_bm_cbcrslt.isCell(event.target))) {
  2882. grd_bm_cbcrslt.row = grd_bm_cbcrslt.mouseRow;
  2883. model.removenode("/root/hidden/popupmenu/grid");
  2884. model.makeValue("/root/hidden/popupmenu/grid/item/name" , "▶ XE2100결과조회");
  2885. model.makeValue("/root/hidden/popupmenu/grid/item/func" , "fXERslt");
  2886. setPopupMenu("grd_bm_cbcrslt", false, "/root/hidden/popupmenu/grid/item", "name", "func");
  2887. }
  2888. ]]>
  2889. </script>
  2890. <script type="javascript" ev:event="DOMFocusOut">
  2891. <![CDATA[
  2892. initPopupMenu();
  2893. ]]>
  2894. </script>
  2895. </datagrid>
  2896. <datagrid id="grd_bm_relrslt" nodeset="/root/main/rslt/desc/rslt/testlist" caption="검사코드^검사명^결과^보고일시^참고치^이전결과" colsep="^" colwidth="55, 145, 50, 120, 60, 65" dataheight="23" rowheader="seq" rowheight="23" rowsep="|" style="left:5px; top:246px; width:395px; height:185px; ">
  2897. <col ref="tclscd"/>
  2898. <col ref="tclsscrnnm"/>
  2899. <col ref="reptrslt"/>
  2900. <col ref="lastreptdt" format="yyyy-mm-dd hh:nn"/>
  2901. <col ref="ref"/>
  2902. <col ref="bfreptrst"/>
  2903. </datagrid>
  2904. <datagrid id="grd_bm_bfbmrslt" nodeset="/root/main/rslt/desc/rslt/bfbm" caption="보고일시^특수검사연번호^결과^inptrslt" colsep="^" colwidth="105, 90, 174" dataheight="23" ellipsis="true" extendlastcol="scroll" frozencols="2" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:5px; top:462px; width:395px; height:185px; ">
  2905. <col ref="lastreptdt" format="yyyy-mm-dd hh:nn"/>
  2906. <col ref="spcltestno"/>
  2907. <col ref="inter"/>
  2908. </datagrid>
  2909. <select1 id="cmb_exmp" ref="/root/hidden/readexmp" appearance="minimal" style="left:1010px; top:5px; width:180px; height:19px; ">
  2910. <choices>
  2911. <itemset nodeset="/root/init/readrslt">
  2912. <label ref="nm"/>
  2913. <value ref="cd"/>
  2914. </itemset>
  2915. </choices>
  2916. <script type="javascript" ev:event="xforms-value-changed">
  2917. <![CDATA[
  2918. var val = model.getValue("/root/hidden/readexmp");
  2919. // var etc02node = instance1.selectNodes("/root/init/readrslt[cd = '"+ val +"']/etc02");
  2920. // var etc01node = instance1.selectNodes("/root/init/readrslt[cd = '"+ val +"']/etc01");
  2921. var etc02node = instance1.selectNodes("/root/init/readrslt[cd = '"+ val +"' and etc03='"+ model.getvalue("/root/main/testinfo/spcltestinfo/testcd") +"']/etc02");
  2922. var etc01node = instance1.selectNodes("/root/init/readrslt[cd = '"+ val +"' and etc03='"+ model.getvalue("/root/main/testinfo/spcltestinfo/testcd") +"']/etc01");
  2923. var etc02 = etc02node.item(0).text;
  2924. var etc01 = etc01node.item(0).text;
  2925. //추가 체크되면 기존 입력한 내용에 추가하여 입력
  2926. if(model.getValue("/root/hidden/readexmpadd") == "Y") {
  2927. var read = model.getValue("/root/main/rslt/desc/rslt/readrslt");
  2928. model.setValue("/root/main/rslt/desc/rslt/readrslt", read + "\n" + etc01);
  2929. } else {
  2930. model.setValue("/root/main/rslt/desc/rslt/readrslt", etc01);
  2931. }
  2932. //판독결과에만 추가 체크되어 있으면 inter은 입력하지 않음.
  2933. if(model.getValue("/root/hidden/readexmpyn") != "Y"){
  2934. var inter = model.getValue("/root/main/rslt/desc/rslt/inter2");
  2935. if(model.getValue("/root/hidden/readexmpadd") == "Y"){
  2936. model.setValue("/root/main/rslt/desc/rslt/inter2", inter +"\n"+ etc02);
  2937. }
  2938. else{
  2939. model.setValue("/root/main/rslt/desc/rslt/inter2", etc02);
  2940. }
  2941. }
  2942. model.refresh();
  2943. ]]>
  2944. </script>
  2945. </select1>
  2946. <button id="button4" class="btn2_letter4" style="left:336px; top:220px; width:64px; height:19px; ">
  2947. <caption>연관검사</caption>
  2948. <script type="javascript" ev:event="DOMActivate">
  2949. <![CDATA[
  2950. modal("SMLLF00900");
  2951. fGetRelRslt();
  2952. ]]>
  2953. </script>
  2954. </button>
  2955. <button id="button5" class="btn2_letter4" style="left:941px; top:5px; width:64px; height:19px; ">
  2956. <caption>판독예문</caption>
  2957. <script type="javascript" ev:event="DOMActivate">
  2958. <![CDATA[
  2959. modal("SMLLF02000 ","","","","","/root/main/testinfo/spcltestinfo/testcd","/root/hidden/testcd");
  2960. submit("TRLRR00402");
  2961. fRsltCode("");
  2962. model.refresh();
  2963. ]]>
  2964. </script>
  2965. </button>
  2966. <button id="btn_bm_img" class="btn_sw" group="tab" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:493px; top:3px; width:90px; height:22px; ">
  2967. <caption>이미지결과</caption>
  2968. <script type="javascript" ev:event="DOMActivate">
  2969. <![CDATA[
  2970. model.toggle("bm_img");
  2971. ]]>
  2972. </script>
  2973. </button>
  2974. <button id="btn_bm_desc" class="btn_sw" group="tab" selected="true" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:404px; top:3px; width:89px; height:22px; ">
  2975. <caption>서술결과</caption>
  2976. <script type="javascript" ev:event="DOMActivate">
  2977. <![CDATA[
  2978. model.toggle("bm_desc");
  2979. ]]>
  2980. </script>
  2981. </button>
  2982. <select id="checkbox13" ref="/root/hidden/readexmpadd" overflow="visible" appearance="full" style="left:886px; top:7px; width:50px; height:20px; border-style:none; ">
  2983. <choices>
  2984. <item>
  2985. <label>추가</label>
  2986. <value>Y</value>
  2987. </item>
  2988. </choices>
  2989. </select>
  2990. <button id="button2" class="btn2_letter4" visibility="hidden" style="left:585px; top:5px; width:64px; height:19px; ">
  2991. <caption>서식출력</caption>
  2992. <script type="javascript" ev:event="DOMActivate">
  2993. <![CDATA[
  2994. /* model.setValue("/root/hidden/xslt/signno", model.getValue("/root/main/testinfo/spcltestinfo/signno"));
  2995. model.setValue("/root/hidden/xslt/form", "0000002916");
  2996. modal("SPLRR90900 ","","","","","/root/hidden/xslt","/root/init");*/
  2997. var signno = model.getValue("/root/main/testinfo/spcltestinfo/signno");
  2998. var formcd = model.getValue("/root/main/testinfo/spcltestinfo/formcd");//"0000002916";
  2999. if(signno != 0) {
  3000. setParameter("SPMRI02400_prtrecinfo","E▦" + signno + "▦" + formcd + "▩");
  3001. modal("SPMRI02400");
  3002. } else {
  3003. messageBox("전문의 확인이 되지", "E007");
  3004. }
  3005. ]]>
  3006. </script>
  3007. </button>
  3008. <select id="checkbox18" ref="/root/hidden/readexmpyn" overflow="visible" appearance="full" style="left:720px; top:7px; width:160px; height:20px; border-style:none; ">
  3009. <choices>
  3010. <item>
  3011. <label>판독결과에만 추가</label>
  3012. <value>Y</value>
  3013. </item>
  3014. </choices>
  3015. </select>
  3016. </case>
  3017. <case id="mole" style="left:0px; top:0px; width:1192px; height:655px; ">
  3018. <caption id="caption34" class="tit_2" style="left:10px; top:10px; width:135px; height:14px; ">Bone Marrow 결과</caption>
  3019. <line id="line14" class="line_1" style="x1:5px; y1:26px; x2:1180px; y2:26px; "/>
  3020. <output id="output8" ref="/root/main/rslt/desc/rslt/bfbm/spcltestno" class="output_fix" style="left:5px; top:31px; width:120px; height:19px; "/>
  3021. <textarea id="tar_mole_bfbmrslt" ref="/root/main/rslt/desc/rslt/bfbm/inter" style="left:130px; top:31px; width:1050px; height:37px; "/>
  3022. <line id="line15" class="line_1" style="x1:5px; y1:96px; x2:1180px; y2:96px; "/>
  3023. <caption id="caption35" class="tit_2" style="left:10px; top:80px; width:238px; height:13px; ">이전 검사 결과 (선택 검사에 대한)</caption>
  3024. <line id="line16" class="line_3" style="x1:5px; y1:69px; x2:1180px; y2:69px; "/>
  3025. <textarea id="tar_mole_reqcnt" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/reqcnts" style="left:5px; top:192px; width:1175px; height:60px; "/>
  3026. <line id="line18" class="line_1" style="x1:5px; y1:187px; x2:1180px; y2:187px; "/>
  3027. <caption id="caption36" class="tit_2" style="left:10px; top:171px; width:238px; height:14px; ">임상적 적응증</caption>
  3028. <datagrid id="grd_mole_dtcl" nodeset="/root/main/rslt/desc/rslt/detltclsinfo" caption="^검사코드^검사명^결과^단위^이전보고일시^이전결과^inptrslt" colsep="^" colwidth="0, 70, 100, 50, 50, 105, 65, 0" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:5px; top:282px; width:585px; height:123px; ">
  3029. <col checkvalue="Y,N" ref="chk" type="checkbox"/>
  3030. <col ref="testcd"/>
  3031. <col ref="tclsscrnnm"/>
  3032. <col ref="reptrslt" type="input"/>
  3033. <col ref="rsltunit"/>
  3034. <col ref="bflastreptdt" format="yyyy-mm-dd hh:nn"/>
  3035. <col ref="bfreptrslt"/>
  3036. <col ref="inptrslt"/>
  3037. <script type="javascript" ev:event="onendedit">
  3038. <![CDATA[
  3039. fGridKeyEvent("grd_mole_dtcl", "/root/main/rslt/desc/rslt/detltclsinfo");
  3040. ]]>
  3041. </script>
  3042. </datagrid>
  3043. <caption id="caption37" class="tit_2" style="left:5px; top:262px; width:115px; height:13px; ">세부검사 목록</caption>
  3044. <line id="line19" class="line_1" style="x1:5px; y1:277px; x2:590px; y2:277px; "/>
  3045. <line id="line20" class="line_1" style="x1:595px; y1:275px; x2:1180px; y2:275px; "/>
  3046. <datagrid id="grd_mole_rsltcode" nodeset="/root/main/rsltcode" caption="판독예문코드^판독예문내용" colsep="^" colwidth="115, 426" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:595px; top:280px; width:585px; height:123px; ">
  3047. <col ref="cd"/>
  3048. <col ref="nm"/>
  3049. <script type="javascript" ev:event="ondblclick">
  3050. <![CDATA[
  3051. fRsltCodeDBClick("grd_mole_rsltcode");
  3052. ]]>
  3053. </script>
  3054. </datagrid>
  3055. <caption id="caption38" class="tit_2" style="left:600px; top:260px; width:115px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">판독예문</caption>
  3056. <switch id="switch4" class="sw_box" style="left:5px; top:437px; width:1185px; height:218px; ">
  3057. <case id="mole_desc" selected="true">
  3058. <textarea id="tar_mole_readrslt" ref="/root/main/rslt/desc/rslt/readrslt" style="left:5px; top:20px; width:1169px; height:190px; "/>
  3059. <caption id="caption8" class="tit_2" style="left:5px; top:5px; width:135px; height:13px; ">판독결과</caption>
  3060. </case>
  3061. <case id="mole_img">
  3062. <img id="img_mole" ref="/root/main/view/imgrslt" src="../images/결과이미지.gif" style="left:5px; top:28px; width:800px; height:148px; background-stretch:stretch; "/>
  3063. <caption id="cpt_mole_noimg" class="no_image" style="left:0px; top:0px; width:210px; height:240px; vertical-align:middle; background-image:../../../com/commonweb/images/no_image.gif; "/>
  3064. <select1 id="cmb_mole_seq" ref="/root/hidden/rsltseqno" class="combo_default" appearance="minimal" style="left:88px; top:4px; width:120px; height:19px; ">
  3065. <choices>
  3066. <itemset nodeset="/root/main/imglist">
  3067. <label ref="lastupdtrdt"/>
  3068. <value ref="rsltseqno"/>
  3069. </itemset>
  3070. </choices>
  3071. <script type="javascript" ev:event="xforms-value-changed">
  3072. <![CDATA[
  3073. fImgRef("img_mole");
  3074. ]]>
  3075. </script>
  3076. </select1>
  3077. <button id="button18" class="btn2_letter7" style="left:210px; top:4px; width:97px; height:19px; ">
  3078. <caption>이미지결과등록</caption>
  3079. <script type="javascript" ev:event="DOMActivate">
  3080. <![CDATA[
  3081. if(model.getvalue("/root/main/testinfo/spcltestinfo/bcno") != ""){
  3082. modal("SMLRR01500","", "", "","", "/root/main/testinfo/spcltestinfo", "/root/hidden/spcltestinfo");
  3083. fImgRslt("cmb_mole_seq", "cpt_mole_noimg", "img_mole");
  3084. }
  3085. ]]>
  3086. </script>
  3087. </button>
  3088. <caption id="caption39" class="cell_1" style="left:5px; top:2px; width:80px; height:23px; vertical-align:middle; ">History</caption>
  3089. <img id="img4" visibility="hidden" style="left:430px; top:15px; width:365px; height:148px; background-color:#ff6600; background-stretch:stretch; "/>
  3090. </case>
  3091. </switch>
  3092. <button id="btn_mole_img" class="btn_sw" group="tab" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:94px; top:415px; width:90px; height:22px; ">
  3093. <caption>이미지결과</caption>
  3094. <script type="javascript" ev:event="DOMActivate">
  3095. <![CDATA[
  3096. model.toggle("mole_img");
  3097. ]]>
  3098. </script>
  3099. </button>
  3100. <button id="btn_mole_desc" class="btn_sw" group="tab" selected="true" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:5px; top:415px; width:89px; height:22px; ">
  3101. <caption>서술결과</caption>
  3102. <script type="javascript" ev:event="DOMActivate">
  3103. <![CDATA[
  3104. model.toggle("mole_desc");
  3105. ]]>
  3106. </script>
  3107. </button>
  3108. <button id="button10" class="btn2_letter4" style="left:1115px; top:255px; width:64px; height:19px; ">
  3109. <caption>판독예문</caption>
  3110. <script type="javascript" ev:event="DOMActivate">
  3111. <![CDATA[
  3112. modal("SMLLF02000 ","","","","","/root/main/testinfo/spcltestinfo/testcd","/root/hidden/testcd");
  3113. submit("TRLRR00402");
  3114. fRsltCode("grd_mole_rsltcode");
  3115. model.refresh();
  3116. ]]>
  3117. </script>
  3118. </button>
  3119. <select id="checkbox12" ref="/root/hidden/readexmpadd" overflow="visible" appearance="full" style="left:1060px; top:257px; width:50px; height:20px; border-style:none; ">
  3120. <choices>
  3121. <item>
  3122. <label>추가</label>
  3123. <value>Y</value>
  3124. </item>
  3125. </choices>
  3126. </select>
  3127. <datagrid id="datagrid1" nodeset="/root/main/rslt/desc/rslt/beforerslt" caption="이름^등록번호^성별^나이^진료과^검사명^보고일자^결과" colsep="^" colwidth="80, 100, 40, 40, 50, 150, 105, 585" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:5px; top:101px; width:1175px; height:69px; text-align:center; ">
  3128. <col ref="hngnm"/>
  3129. <col ref="pid"/>
  3130. <col ref="sex"/>
  3131. <col ref="age"/>
  3132. <col ref="orddeptnm"/>
  3133. <col ref="tclsscrnnm"/>
  3134. <col ref="lastreptdt" format="yyyy-mm-dd hh:nn"/>
  3135. <col ref="inter"/>
  3136. </datagrid>
  3137. </case>
  3138. <case id="cell" style="left:0px; top:0px; width:1192px; height:655px; ">
  3139. <textarea id="tar_cell_bfbmrslt" ref="/root/main/rslt/desc/rslt/bfbm/inter" style="left:130px; top:31px; width:1050px; height:37px; "/>
  3140. <output id="output9" ref="/root/main/rslt/desc/rslt/bfbm/spcltestno" class="output_fix" style="left:5px; top:31px; width:120px; height:19px; "/>
  3141. <line id="line21" class="line_1" style="x1:5px; y1:26px; x2:1180px; y2:26px; "/>
  3142. <line id="line22" class="line_1" style="x1:5px; y1:96px; x2:1180px; y2:96px; "/>
  3143. <caption id="caption41" class="tit_2" style="left:10px; top:10px; width:145px; height:13px; ">Bone Marrow 결과</caption>
  3144. <caption id="caption42" class="tit_2" style="left:10px; top:80px; width:135px; height:13px; ">이전 검사 결과</caption>
  3145. <line id="line23" class="line_3" style="x1:5px; y1:69px; x2:1180px; y2:69px; "/>
  3146. <button id="btn_cell_img" class="btn_sw" group="tab" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:94px; top:254px; width:90px; height:22px; ">
  3147. <caption>이미지결과</caption>
  3148. <script type="javascript" ev:event="DOMActivate">
  3149. <![CDATA[
  3150. model.toggle("cell_img");
  3151. ]]>
  3152. </script>
  3153. </button>
  3154. <button id="button1" class="btn2_letter4" style="left:530px; top:255px; width:64px; height:19px; ">
  3155. <caption>연관검사</caption>
  3156. <script type="javascript" ev:event="DOMActivate">
  3157. <![CDATA[
  3158. if(grd_cm.attribute("visibility") == "visible") {
  3159. grd_cm.attribute("visibility") = "hidden";
  3160. }else {
  3161. grd_cm.attribute("visibility") = "visible";
  3162. //modal("SMLLF00900");
  3163. fGetRelRslt();
  3164. }
  3165. ]]>
  3166. </script>
  3167. </button>
  3168. <button id="btn_cell_desc" class="btn_sw" group="tab" selected="true" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:5px; top:254px; width:89px; height:22px; ">
  3169. <caption>서술결과</caption>
  3170. <script type="javascript" ev:event="DOMActivate">
  3171. <![CDATA[
  3172. model.toggle("cell_desc");
  3173. ]]>
  3174. </script>
  3175. </button>
  3176. <switch id="switch5" class="sw_box" style="left:5px; top:275px; width:1185px; height:380px; ">
  3177. <case id="cell_desc" selected="true">
  3178. <line id="line24" class="line_1" style="x1:5px; y1:26px; x2:590px; y2:26px; "/>
  3179. <caption id="caption45" class="tit_2" style="left:10px; top:10px; width:135px; height:14px; ">판독예문</caption>
  3180. <datagrid id="grd_cell_rsltcode" nodeset="/root/main/rsltcode" caption="판독예문코드^판독예문내용" colsep="^" colwidth="115, 427" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:31px; width:585px; height:209px; ">
  3181. <col ref="cd"/>
  3182. <col ref="nm"/>
  3183. <script type="javascript" ev:event="ondblclick">
  3184. <![CDATA[
  3185. fRsltCodeDBClick("grd_cell_rsltcode");
  3186. ]]>
  3187. </script>
  3188. </datagrid>
  3189. <line id="line25" class="line_1" style="x1:595px; y1:25px; x2:1174px; y2:25px; "/>
  3190. <caption id="caption46" class="tit_2" style="left:600px; top:9px; width:135px; height:13px; ">판독결과</caption>
  3191. <textarea id="tar_cell_readrslt" ref="/root/main/rslt/desc/rslt/readrslt" style="left:595px; top:30px; width:579px; height:210px; "/>
  3192. <line id="line26" class="line_1" style="left:595; x1:595px; y1:262px; x2:1174px; y2:262px; "/>
  3193. <caption id="caption47" class="tit_2" style="left:600px; top:246px; width:135px; height:13px; ">Interpretation</caption>
  3194. <textarea id="tar_cell_inpt" ref="/root/main/rslt/desc/rslt/inter" style="left:595; top:267px; width:579px; height:109px; "/>
  3195. <button id="button9" class="btn2_letter4" style="left:526px; top:5px; width:64px; height:19px; ">
  3196. <caption>판독예문</caption>
  3197. <script type="javascript" ev:event="DOMActivate">
  3198. <![CDATA[
  3199. modal("SMLLF02000 ","","","","","/root/main/testinfo/spcltestinfo/testcd","/root/hidden/testcd");
  3200. submit("TRLRR00402");
  3201. fRsltCode("grd_cell_rsltcode");
  3202. model.refresh();
  3203. ]]>
  3204. </script>
  3205. </button>
  3206. <select id="checkbox11" ref="/root/hidden/readexmpadd" overflow="visible" appearance="full" style="left:471px; top:7px; width:50px; height:20px; border-style:none; ">
  3207. <choices>
  3208. <item>
  3209. <label>추가</label>
  3210. <value>Y</value>
  3211. </item>
  3212. </choices>
  3213. </select>
  3214. <caption id="caption163" class="tit_2" style="left:5px; top:246px; width:135px; height:13px; ">Comments</caption>
  3215. <line id="line106" class="line_1" style="left:595; x1:0px; y1:262px; x2:590px; y2:262px; "/>
  3216. <textarea id="textarea2" ref="/root/main/rslt/desc/rslt/comments" style="left:0px; top:267px; width:590px; height:109px; "/>
  3217. <datagrid id="grd_cm" nodeset="/root/main/rslt/desc/rslt/testlist" visibility="hidden" caption="검사코드^검사명^결과^보고일시^참고치^이전결과" colsep="^" colwidth="150, 140" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:0px; width:585px; height:209px; ">
  3218. <col ref="tclscd"/>
  3219. <col ref="tclsscrnnm"/>
  3220. <col ref="reptrslt"/>
  3221. <col ref="lastreptdt" format="yyyy-mm-dd hh:nn"/>
  3222. <col ref="ref"/>
  3223. <col ref="bfreptrst"/>
  3224. </datagrid>
  3225. </case>
  3226. <case id="cell_img">
  3227. <img id="img_cell" ref="/root/main/view/imgrslt" src="../images/결과이미지.gif" style="left:25px; top:35px; width:800px; height:300px; background-stretch:stretch; "/>
  3228. <select1 id="cmb_cell_seq" ref="/root/hidden/rsltseqno" class="combo_default" appearance="minimal" style="left:88px; top:4px; width:120px; height:19px; ">
  3229. <choices>
  3230. <itemset nodeset="/root/main/imglist">
  3231. <label ref="lastupdtrdt"/>
  3232. <value ref="rsltseqno"/>
  3233. </itemset>
  3234. </choices>
  3235. <script type="javascript" ev:event="xforms-value-changed">
  3236. <![CDATA[
  3237. fImgRef("img_cell");
  3238. ]]>
  3239. </script>
  3240. </select1>
  3241. <button id="btn_cell_img_ins" class="btn2_letter7" style="left:210px; top:4px; width:97px; height:19px; ">
  3242. <caption>이미지결과등록</caption>
  3243. <script type="javascript" ev:event="DOMActivate">
  3244. <![CDATA[
  3245. if(model.getvalue("/root/main/testinfo/spcltestinfo/bcno") != ""){
  3246. modal("SMLRR01500","", "", "","", "/root/main/testinfo/spcltestinfo", "/root/hidden/spcltestinfo");
  3247. fImgRslt("cmb_cell_seq", "cpt_cell_noimg", "img_cell");
  3248. }
  3249. ]]>
  3250. </script>
  3251. </button>
  3252. <caption id="caption43" class="cell_1" style="left:5px; top:2px; width:80px; height:23px; vertical-align:middle; ">History</caption>
  3253. <caption id="cpt_cell_noimg" class="no_image" style="left:5px; top:25px; width:210px; height:240px; vertical-align:middle; background-image:../../../com/commonweb/images/no_image.gif; "/>
  3254. <img id="img6" visibility="hidden" style="left:315px; top:10px; width:365px; height:325px; background-color:#ff6600; background-stretch:stretch; "/>
  3255. </case>
  3256. </switch>
  3257. <button id="button26" class="btn2_letter4" style="left:1115px; top:75px; width:64px; height:19px; ">
  3258. <caption>Refresh</caption>
  3259. </button>
  3260. <datagrid id="grd_cell_bfrslt" nodeset="/root/main/rslt/desc/rslt/beforerslt" caption="이름^등록번호^성별^나이^진료과^검사명^접수일자^결과" colsep="^" colwidth="80, 100, 40, 40, 50, 150, 105, 585" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:5px; top:101px; width:1175px; height:138px; text-align:center; ">
  3261. <col ref="hngnm"/>
  3262. <col ref="pid"/>
  3263. <col ref="sex"/>
  3264. <col ref="age"/>
  3265. <col ref="orddeptnm"/>
  3266. <col ref="tclsscrnnm"/>
  3267. <col ref="spcacptdt" format="yyyy-mm-dd hh:nn"/>
  3268. <col ref="inter"/>
  3269. </datagrid>
  3270. <caption id="caption165" class="tit_2" style="left:195px; top:77px; width:135px; height:13px; ">처방명</caption>
  3271. <output id="output4" ref="/root/main/testinfo/spcltestinfo/prcpnm" class="output_fix" style="left:250px; top:75px; width:295px; height:19px; "/>
  3272. <caption id="caption166" class="tit_2" style="left:550px; top:77px; width:135px; height:14px; ">접수번호</caption>
  3273. <output id="output5" ref="/root/main/testinfo/spcltestinfo/workno" class="output_fix" style="left:620px; top:75px; width:150px; height:19px; "/>
  3274. </case>
  3275. <case id="im" style="left:0px; top:0px; width:1192px; height:655px; ">
  3276. <output id="output11" ref="/root/main/rslt/desc/rslt/bfbm/spcltestno" class="output_fix" style="left:5px; top:31px; width:120px; height:19px; "/>
  3277. <line id="line27" class="line_1" style="x1:5px; y1:26px; x2:1180px; y2:26px; "/>
  3278. <caption id="caption48" class="tit_2" style="left:10px; top:10px; width:145px; height:13px; ">Bone Marrow 결과</caption>
  3279. <line id="line28" class="line_3" style="x1:5px; y1:69px; x2:1180px; y2:69px; "/>
  3280. <textarea id="tar_im_bfbmrslt" ref="/root/main/rslt/desc/rslt/bfbm/inter" style="left:130px; top:31px; width:1050px; height:37px; "/>
  3281. <datagrid id="grd_im_rsltcode" nodeset="/root/main/rsltcode" caption="판독예문코드^판독예문내용" colsep="^" colwidth="115, 429" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:5px; top:360px; width:585px; height:276px; ">
  3282. <col ref="cd"/>
  3283. <col ref="nm"/>
  3284. <script type="javascript" ev:event="ondblclick">
  3285. <![CDATA[
  3286. fRsltCodeDBClick("grd_im_rsltcode");
  3287. ]]>
  3288. </script>
  3289. </datagrid>
  3290. <line id="line29" class="line_1" style="x1:5px; y1:355px; x2:590px; y2:355px; "/>
  3291. <caption id="caption49" class="tit_2" style="left:10px; top:340px; width:115px; height:13px; ">판독예문</caption>
  3292. <line id="line30" class="line_1" style="x1:5px; y1:95px; x2:590px; y2:95px; "/>
  3293. <caption id="caption50" class="tit_2" style="left:10px; top:80px; width:115px; height:14px; ">세부검사</caption>
  3294. <line id="line31" class="line_1" style="x1:595px; y1:95px; x2:1180px; y2:95px; "/>
  3295. <line id="line32" class="line_1" style="x1:595px; y1:355px; x2:1180px; y2:355px; "/>
  3296. <caption id="caption51" class="tit_2" style="left:600px; top:340px; width:115px; height:13px; ">판독결과</caption>
  3297. <textarea id="tar_im_readrslt" ref="/root/main/rslt/desc/rslt/readrslt" style="left:595px; top:360px; width:585px; height:276px; "/>
  3298. <button id="button15" class="btn2_letter4" style="left:525px; top:335px; width:64px; height:19px; ">
  3299. <caption>판독예문</caption>
  3300. <script type="javascript" ev:event="DOMActivate">
  3301. <![CDATA[
  3302. modal("SMLLF02000 ","","","","","/root/main/testinfo/spcltestinfo/testcd","/root/hidden/testcd");
  3303. submit("TRLRR00402");
  3304. fRsltCode("grd_im_rsltcode");
  3305. model.refresh();
  3306. ]]>
  3307. </script>
  3308. </button>
  3309. <datagrid id="grd_im_dtcl1" nodeset="/root/main/rslt/desc/rslt/detltclsinfo" caption="^검사코드^검사명^결과^단위^이전보고일시^이전결과^inptrslt" colsep="^" colwidth="0, 55, 100, 50, 50, 105, 65, 0" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:5px; top:100px; width:585px; height:230px; ">
  3310. <col checkvalue="Y,N" ref="chk" type="checkbox"/>
  3311. <col ref="testcd"/>
  3312. <col ref="tclsscrnnm"/>
  3313. <col ref="reptrslt" type="input"/>
  3314. <col ref="rsltunit"/>
  3315. <col ref="bflastreptdt"/>
  3316. <col ref="bfreptrslt"/>
  3317. <col ref="inptrslt"/>
  3318. <script type="javascript" ev:event="onendedit">
  3319. <![CDATA[
  3320. fGridKeyEvent("grd_im_dtcl1", "/root/main/rslt/desc/rslt/detltclsinfo");
  3321. ]]>
  3322. </script>
  3323. </datagrid>
  3324. <datagrid id="grd_im_dtcl2" nodeset="/root/main/rslt/desc/rslt/detltclsinfo2" caption="^검사코드^검사명^결과^단위^이전보고일시^이전결과^inptrslt" colsep="^" colwidth="0, 55, 100, 50, 50, 105, 65, 0" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:595px; top:100px; width:585px; height:230px; ">
  3325. <col checkvalue="Y,N" ref="chk" type="checkbox"/>
  3326. <col ref="testcd"/>
  3327. <col ref="tclsscrnnm"/>
  3328. <col ref="reptrslt" type="input"/>
  3329. <col ref="rsltunit"/>
  3330. <col ref="bflastreptdt"/>
  3331. <col ref="bfreptrslt"/>
  3332. <col ref="inptrslt"/>
  3333. <script type="javascript" ev:event="onendedit">
  3334. <![CDATA[
  3335. fGridKeyEvent("grd_im_dtcl2", "/root/main/rslt/desc/rslt/detltclsinfo2");
  3336. ]]>
  3337. </script>
  3338. </datagrid>
  3339. <select id="checkbox10" ref="/root/hidden/readexmpadd" overflow="visible" appearance="full" style="left:470px; top:337px; width:50px; height:20px; border-style:none; ">
  3340. <choices>
  3341. <item>
  3342. <label>추가</label>
  3343. <value>Y</value>
  3344. </item>
  3345. </choices>
  3346. </select>
  3347. </case>
  3348. <case id="of" style="left:0px; top:0px; width:1192px; height:655px; ">
  3349. <datagrid id="grd_1con" nodeset="/root/main/rslt/desc/rslt/osmotic/incu1con" caption="NaCl(%)^OD^Hemolysis(%)" colsep="^" colwidth="70, 40, 90" extendlastcol="scroll" fixedcols="1" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:5px; top:31px; width:210px; height:347px; text-align:center; ">
  3350. <col ref="nacl"/>
  3351. <col ref="od" type="input"/>
  3352. <col ref="hm"/>
  3353. <script type="javascript" ev:event="onendedit">
  3354. <![CDATA[
  3355. if(event.keyCode == "13") {
  3356. var row = grd_1con.row;
  3357. if(row == (grd_1con.rows - 1)) {
  3358. grd_1con.row = 1;
  3359. }else {
  3360. grd_1con.row = parseInt(row) + 1;
  3361. }
  3362. }
  3363. ]]>
  3364. </script>
  3365. </datagrid>
  3366. <line id="line33" class="line_1" style="x1:5px; y1:26px; x2:215px; y2:26px; "/>
  3367. <caption id="caption52" class="tit_2" style="left:10px; top:10px; width:192px; height:13px; ">1시간 incubation (Control)</caption>
  3368. <caption id="caption53" class="tit_2" style="left:225px; top:10px; width:192px; height:14px; ">1시간 incubation (Patient)</caption>
  3369. <line id="line34" class="line_1" style="x1:220px; y1:26px; x2:430px; y2:26px; "/>
  3370. <line id="line35" class="line_1" style="x1:435px; y1:26px; x2:645px; y2:26px; "/>
  3371. <caption id="caption54" class="tit_2" style="left:440px; top:10px; width:194px; height:14px; ">24시간 incubation (Control)</caption>
  3372. <caption id="caption55" class="tit_2" style="left:655px; top:10px; width:192px; height:14px; ">24시간 incubation (Patient)</caption>
  3373. <line id="line36" class="line_1" style="x1:650px; y1:26px; x2:860px; y2:26px; "/>
  3374. <caption id="caption71" style="left:848px; top:364px; width:15px; height:20px; ">%</caption>
  3375. <datagrid id="grd_1pat" nodeset="/root/main/rslt/desc/rslt/osmotic/incu1pat" caption="NaCl(%)^OD^Hemolysis(%)" colsep="^" colwidth="70, 40, 90" extendlastcol="scroll" fixedcols="1" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:220px; top:31px; width:210px; height:347px; text-align:center; ">
  3376. <col ref="nacl"/>
  3377. <col ref="od" type="input"/>
  3378. <col ref="hm"/>
  3379. <script type="javascript" ev:event="onendedit">
  3380. <![CDATA[
  3381. if(event.keyCode == "13") {
  3382. var row = grd_1pat.row;
  3383. if(row == (grd_1pat.rows - 1)) {
  3384. grd_1pat.row = 1;
  3385. }else {
  3386. grd_1pat.row = parseInt(row) + 1;
  3387. }
  3388. }
  3389. ]]>
  3390. </script>
  3391. </datagrid>
  3392. <datagrid id="grd_24con" nodeset="/root/main/rslt/desc/rslt/osmotic/incu24con" caption="NaCl(%)^OD^Hemolysis(%)" colsep="^" colwidth="70, 40, 90" extendlastcol="scroll" fixedcols="1" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:435px; top:31px; width:210px; height:347px; text-align:center; ">
  3393. <col ref="nacl"/>
  3394. <col ref="od" type="input"/>
  3395. <col ref="hm"/>
  3396. <script type="javascript" ev:event="onendedit">
  3397. <![CDATA[
  3398. if(event.keyCode == "13") {
  3399. var row = grd_24con.row;
  3400. if(row == (grd_24con.rows - 1)) {
  3401. grd_24con.row = 1;
  3402. }else {
  3403. grd_24con.row = parseInt(row) + 1;
  3404. }
  3405. }
  3406. ]]>
  3407. </script>
  3408. </datagrid>
  3409. <datagrid id="grd_24pat" nodeset="/root/main/rslt/desc/rslt/osmotic/incu24pat" caption="NaCl(%)^OD^Hemolysis(%)" colsep="^" colwidth="70, 40, 90" extendlastcol="scroll" fixedcols="1" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:650px; top:31px; width:210px; height:347px; text-align:center; ">
  3410. <col ref="nacl"/>
  3411. <col ref="od" type="input"/>
  3412. <col ref="hm"/>
  3413. <script type="javascript" ev:event="onendedit">
  3414. <![CDATA[
  3415. if(event.keyCode == "13") {
  3416. var row = grd_24pat.row;
  3417. if(row == (grd_24pat.rows - 1)) {
  3418. grd_24pat.row = 1;
  3419. }else {
  3420. grd_24pat.row = parseInt(row) + 1;
  3421. }
  3422. }
  3423. ]]>
  3424. </script>
  3425. </datagrid>
  3426. <button id="button31" class="btn_sw" group="tab" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:94px; top:382px; width:90px; height:22px; ">
  3427. <caption>이미지결과</caption>
  3428. <script type="javascript" ev:event="DOMActivate">
  3429. <![CDATA[
  3430. model.toggle("of_img");
  3431. ]]>
  3432. </script>
  3433. </button>
  3434. <switch id="switch2" class="sw_box" style="left:5px; top:404px; width:1185px; height:245px; ">
  3435. <case id="of_desc" selected="true">
  3436. <caption id="caption70" class="cell_1" style="left:683px; top:25px; width:80px; height:23px; vertical-align:middle; ">patient</caption>
  3437. <line id="line40" class="line_3" style="x1:5px; y1:71px; x2:430px; y2:71px; "/>
  3438. <input id="ipt_f24con" ref="/root/main/rslt/desc/rslt/osmotic/f24con" class="input_default" style="left:151px; top:50px; width:80px; height:19px; text-align:right; ">
  3439. <script type="javascript" ev:event="DOMFocusOut">
  3440. <![CDATA[
  3441. model.setValue("/root/main/rslt/desc/rslt/osmotic/f24con", ipt_f24con.currentText);
  3442. model.setValue("/root/main/rslt/desc/rslt/osmotic/f1con", ipt_f1con.currentText);
  3443. var begin1 = model.getValue("/root/main/rslt/desc/rslt/osmotic/f1con");
  3444. var begin24 = model.getValue("/root/main/rslt/desc/rslt/osmotic/f24con");
  3445. var rslt = begin24;
  3446. /* if(begin1 != "" && begin24 != "") {
  3447. rslt = begin1 + "(1hr)/" + begin24 + "(24hr)";
  3448. } else if(begin1 != "" && begin24 == "") {
  3449. rslt = begin1 + "(1hr)";
  3450. } else if(begin1 == "" && begin24 != "") {
  3451. rslt = begin24 + "(24hr)";
  3452. } else {
  3453. rslt = "";
  3454. }*/
  3455. var find = grd_rslt.findRow("LHS10105", 1, 1, true, true);
  3456. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", rslt);
  3457. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", rslt);
  3458. if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
  3459. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk", "Y");
  3460. }
  3461. model.refresh();
  3462. ]]>
  3463. </script>
  3464. </input>
  3465. <line id="line41" class="line_3" style="x1:435px; y1:71px; x2:860px; y2:71px; "/>
  3466. <input id="ipt_e24con" ref="/root/main/rslt/desc/rslt/osmotic/e24con" style="left:581px; top:50px; width:80px; height:19px; text-align:right; ">
  3467. <script type="javascript" ev:event="DOMFocusOut">
  3468. <![CDATA[
  3469. model.setValue("/root/main/rslt/desc/rslt/osmotic/e24con", ipt_e24con.currentText);
  3470. model.setValue("/root/main/rslt/desc/rslt/osmotic/e1con", ipt_e1con.currentText);
  3471. var end1 = model.getValue("/root/main/rslt/desc/rslt/osmotic/e1con");
  3472. var end24 = model.getValue("/root/main/rslt/desc/rslt/osmotic/e24con");
  3473. var rslt = end24;
  3474. /* if(end1 != "" && end24 != "") {
  3475. rslt = end1 + "(1hr)/" + end24 + "(24hr)";
  3476. } else if(end1 != "" && end24 == "") {
  3477. rslt = end1 + "(1hr)";
  3478. } else if(end1 == "" && end24 != "") {
  3479. rslt = end24 + "(24hr)";
  3480. } else {
  3481. rslt = "";
  3482. }*/
  3483. var find = grd_rslt.findRow("LHS10106", 1, 1, true, true);
  3484. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", rslt);
  3485. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", rslt);
  3486. if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
  3487. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk", "Y");
  3488. }
  3489. model.refresh();
  3490. ]]>
  3491. </script>
  3492. </input>
  3493. <caption id="caption60" class="cell_1" style="left:68px; top:25px; width:80px; height:23px; vertical-align:middle; ">control</caption>
  3494. <caption id="caption126" class="tit_2" style="left:440px; top:83px; width:115px; height:13px; ">판독결과</caption>
  3495. <caption id="caption72" class="cell_1" style="left:498px; top:49px; width:80px; height:23px; vertical-align:middle; ">control</caption>
  3496. <caption id="caption61" style="left:231px; top:26px; width:15px; height:20px; ">%</caption>
  3497. <line id="line42" class="line_2" style="x1:435px; y1:47px; x2:860px; y2:47px; "/>
  3498. <line id="line43" class="line_1" style="x1:5px; y1:98px; x2:430px; y2:98px; "/>
  3499. <caption id="caption73" style="left:661px; top:50px; width:15px; height:20px; ">%</caption>
  3500. <caption id="caption62" class="cell_1" style="left:253px; top:25px; width:80px; height:23px; vertical-align:middle; ">patient</caption>
  3501. <line id="line44" class="line_1" style="x1:435px; y1:98px; x2:860px; y2:98px; "/>
  3502. <caption id="caption74" class="cell_1" style="left:683px; top:49px; width:80px; height:23px; vertical-align:middle; ">patient</caption>
  3503. <caption id="caption63" style="left:418px; top:26px; width:15px; height:20px; ">%</caption>
  3504. <caption id="caption75" style="left:847px; top:26px; width:15px; height:20px; ">%</caption>
  3505. <caption id="caption64" class="cell_1" style="left:68px; top:49px; width:80px; height:23px; vertical-align:middle; ">control</caption>
  3506. <caption id="caption76" class="cell_1" style="left:435px; top:25px; width:60px; height:23px; vertical-align:middle; ">1 시간</caption>
  3507. <caption id="caption65" style="left:231px; top:50px; width:15px; height:20px; ">%</caption>
  3508. <datagrid id="grd_of_rsltcode" nodeset="/root/main/rsltcode" caption="판독예문코드^판독예문내용" colsep="^" colwidth="100, 275" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:5px; top:103px; width:425px; height:136px; ">
  3509. <col ref="cd"/>
  3510. <col ref="nm"/>
  3511. <script type="javascript" ev:event="ondblclick">
  3512. <![CDATA[
  3513. fRsltCodeDBClick("grd_of_rsltcode");
  3514. ]]>
  3515. </script>
  3516. </datagrid>
  3517. <caption id="caption77" class="cell_1" style="left:435px; top:49px; width:60px; height:23px; vertical-align:middle; ">24시간</caption>
  3518. <caption id="caption66" class="cell_1" style="left:253px; top:49px; width:80px; height:23px; vertical-align:middle; ">patient</caption>
  3519. <caption id="caption78" style="left:847px; top:50px; width:15px; height:20px; ">%</caption>
  3520. <caption id="caption67" style="left:418px; top:50px; width:15px; height:20px; ">%</caption>
  3521. <input id="ipt_f1pat" ref="/root/main/rslt/desc/rslt/osmotic/f1pat" class="input_default" style="left:336px; top:26px; width:80px; height:19px; text-align:right; ">
  3522. <script type="javascript" ev:event="DOMFocusOut">
  3523. <![CDATA[
  3524. model.setValue("/root/main/rslt/desc/rslt/osmotic/f24pat", ipt_f24pat.currentText);
  3525. model.setValue("/root/main/rslt/desc/rslt/osmotic/f1pat", ipt_f1pat.currentText);
  3526. var bepat1 = model.getValue("/root/main/rslt/desc/rslt/osmotic/f1pat");
  3527. var bepat24 = model.getValue("/root/main/rslt/desc/rslt/osmotic/f24pat");
  3528. var rslt = bepat1;
  3529. /* if(bepat1 != "" && bepat24 != "") {
  3530. rslt = bepat1 + "(1hr)/" + bepat24 + "(24hr)";
  3531. } else if(bepat1 != "" && bepat24 == "") {
  3532. rslt = bepat1 + "(1hr)";
  3533. } else if(bepat1 == "" && bepat24 != "") {
  3534. rslt = bepat24 + "(24hr)";
  3535. } else {
  3536. rslt = "";
  3537. }*/
  3538. var find = grd_rslt.findRow("LHS10103", 1, 1, true, true);
  3539. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", rslt);
  3540. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", rslt);
  3541. if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
  3542. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk", "Y");
  3543. }
  3544. model.refresh();
  3545. ]]>
  3546. </script>
  3547. </input>
  3548. <caption id="caption56" class="tit_2" style="left:10px; top:4px; width:192px; height:13px; ">용혈시작농도</caption>
  3549. <line id="line37" class="line_1" style="x1:5px; y1:20px; x2:430px; y2:20px; "/>
  3550. <caption id="caption79" class="tit_2" style="left:10px; top:82px; width:192px; height:13px; ">판독예문</caption>
  3551. <caption id="caption68" class="cell_1" style="left:498px; top:25px; width:80px; height:23px; vertical-align:middle; ">control</caption>
  3552. <caption id="caption57" class="tit_2" style="left:440px; top:4px; width:192px; height:13px; ">완전용혈농도</caption>
  3553. <line id="line38" class="line_1" style="x1:435px; y1:20px; x2:860px; y2:20px; "/>
  3554. <textarea id="tar_of_readrslt" ref="/root/main/rslt/desc/rslt/readrslt" style="left:435px; top:103px; width:425px; height:136px; "/>
  3555. <caption id="caption69" style="left:661px; top:26px; width:15px; height:20px; ">%</caption>
  3556. <input id="ipt_f24pat" ref="/root/main/rslt/desc/rslt/osmotic/f24pat" class="input_default" style="left:336px; top:50px; width:80px; height:19px; text-align:right; ">
  3557. <script type="javascript" ev:event="DOMFocusOut">
  3558. <![CDATA[
  3559. model.setValue("/root/main/rslt/desc/rslt/osmotic/f24pat", ipt_f24pat.currentText);
  3560. model.setValue("/root/main/rslt/desc/rslt/osmotic/f1pat", ipt_f1pat.currentText);
  3561. var bepat1 = model.getValue("/root/main/rslt/desc/rslt/osmotic/f1pat");
  3562. var bepat24 = model.getValue("/root/main/rslt/desc/rslt/osmotic/f24pat");
  3563. var rslt = bepat24;
  3564. /* if(bepat1 != "" && bepat24 != "") {
  3565. rslt = bepat1 + "(1hr)/" + bepat24 + "(24hr)";
  3566. } else if(bepat1 != "" && bepat24 == "") {
  3567. rslt = bepat1 + "(1hr)";
  3568. } else if(bepat1 == "" && bepat24 != "") {
  3569. rslt = bepat24 + "(24hr)";
  3570. } else {
  3571. rslt = "";
  3572. }*/
  3573. var find = grd_rslt.findRow("LHS10107", 1, 1, true, true);
  3574. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", rslt);
  3575. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", rslt);
  3576. if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
  3577. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk", "Y");
  3578. }
  3579. model.refresh();
  3580. ]]>
  3581. </script>
  3582. </input>
  3583. <caption id="caption58" class="cell_1" style="left:5px; top:25px; width:60px; height:23px; vertical-align:middle; ">1 시간</caption>
  3584. <line id="line39" class="line_2" style="x1:5px; y1:47px; x2:430px; y2:47px; "/>
  3585. <button id="button42" class="btn2_letter11" style="left:720px; top:-1px; width:141px; height:19px; background-image:../../../com/commonweb/images/btn2_letter6.gif; ">
  3586. <caption>Hemolysis 계산 확인</caption>
  3587. <script type="javascript" ev:event="DOMActivate">
  3588. <![CDATA[
  3589. fCalc();
  3590. ]]>
  3591. </script>
  3592. </button>
  3593. <caption id="caption59" class="cell_1" style="left:5px; top:49px; width:60px; height:23px; vertical-align:middle; ">24시간</caption>
  3594. <select id="checkbox9" ref="/root/hidden/readexmpadd" overflow="visible" appearance="full" style="left:311px; top:80px; width:50px; height:20px; border-style:none; ">
  3595. <choices>
  3596. <item>
  3597. <label>추가</label>
  3598. <value>Y</value>
  3599. </item>
  3600. </choices>
  3601. </select>
  3602. <input id="ipt_e1pat" ref="/root/main/rslt/desc/rslt/osmotic/e1pat" class="input_default" style="left:766px; top:26px; width:80px; height:19px; text-align:right; ">
  3603. <script type="javascript" ev:event="DOMFocusOut">
  3604. <![CDATA[
  3605. model.setValue("/root/main/rslt/desc/rslt/osmotic/e24pat", ipt_e24pat.currentText);
  3606. model.setValue("/root/main/rslt/desc/rslt/osmotic/e1pat", ipt_e1pat.currentText);
  3607. var endpat1 = model.getValue("/root/main/rslt/desc/rslt/osmotic/e1pat");
  3608. var endpat24 = model.getValue("/root/main/rslt/desc/rslt/osmotic/e24pat");
  3609. var rslt = endpat1
  3610. /* if(endpat1 != "" && endpat24 != "") {
  3611. rslt = endpat1 + "(1hr)/" + endpat24 + "(24hr)";
  3612. } else if(endpat1 != "" && endpat24 == "") {
  3613. rslt = endpat1 + "(1hr)";
  3614. } else if(endpat1 == "" && endpat24 != "") {
  3615. rslt = endpat24 + "(24hr)";
  3616. } else {
  3617. rslt = "";
  3618. }*/
  3619. var find = grd_rslt.findRow("LHS10104", 1, 1, true, true);
  3620. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", rslt);
  3621. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", rslt);
  3622. if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
  3623. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk", "Y");
  3624. }
  3625. model.refresh();
  3626. ]]>
  3627. </script>
  3628. </input>
  3629. <input id="ipt_e1con" ref="/root/main/rslt/desc/rslt/osmotic/e1con" class="input_default" style="left:581px; top:26px; width:80px; height:19px; text-align:right; ">
  3630. <script type="javascript" ev:event="DOMFocusOut">
  3631. <![CDATA[
  3632. model.setValue("/root/main/rslt/desc/rslt/osmotic/e24con", ipt_e24con.currentText);
  3633. model.setValue("/root/main/rslt/desc/rslt/osmotic/e1con", ipt_e1con.currentText);
  3634. var end1 = model.getValue("/root/main/rslt/desc/rslt/osmotic/e1con");
  3635. var end24 = model.getValue("/root/main/rslt/desc/rslt/osmotic/e24con");
  3636. var rslt = end1;
  3637. /* if(end1 != "" && end24 != "") {
  3638. rslt = end1 + "(1hr)/" + end24 + "(24hr)";
  3639. } else if(end1 != "" && end24 == "") {
  3640. rslt = end1 + "(1hr)";
  3641. } else if(end1 == "" && end24 != "") {
  3642. rslt = end24 + "(24hr)";
  3643. } else {
  3644. rslt = "";
  3645. }*/
  3646. var find = grd_rslt.findRow("LHS10102", 1, 1, true, true);
  3647. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", rslt);
  3648. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", rslt);
  3649. if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
  3650. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk", "Y");
  3651. }
  3652. model.refresh();
  3653. ]]>
  3654. </script>
  3655. </input>
  3656. <button id="button11" class="btn2_letter4" style="left:366px; top:78px; width:64px; height:19px; ">
  3657. <caption>판독예문</caption>
  3658. <script type="javascript" ev:event="DOMActivate">
  3659. <![CDATA[
  3660. modal("SMLLF02000 ","","","","","/root/main/testinfo/spcltestinfo/testcd","/root/hidden/testcd");
  3661. submit("TRLRR00402");
  3662. fRsltCode("grd_of_rsltcode");
  3663. model.refresh();
  3664. ]]>
  3665. </script>
  3666. </button>
  3667. <input id="ipt_f1con" ref="/root/main/rslt/desc/rslt/osmotic/f1con" class="input_default" style="left:151px; top:26px; width:80px; height:19px; text-align:right; ">
  3668. <script type="javascript" ev:event="DOMFocusOut">
  3669. <![CDATA[
  3670. model.setValue("/root/main/rslt/desc/rslt/osmotic/f24con", ipt_f24con.currentText);
  3671. model.setValue("/root/main/rslt/desc/rslt/osmotic/f1con", ipt_f1con.currentText);
  3672. var begin1 = model.getValue("/root/main/rslt/desc/rslt/osmotic/f1con");
  3673. var begin24 = model.getValue("/root/main/rslt/desc/rslt/osmotic/f24con");
  3674. // var rslt = ""
  3675. var rslt = begin1;
  3676. /* if(begin1 != "" && begin24 != "") {
  3677. rslt = begin1 + "(1hr)/" + begin24 + "(24hr)";
  3678. } else if(begin1 != "" && begin24 == "") {
  3679. rslt = begin1 + "(1hr)";
  3680. } else if(begin1 == "" && begin24 != "") {
  3681. rslt = begin24 + "(24hr)";
  3682. } else {
  3683. rslt = "";
  3684. }*/
  3685. var find = grd_rslt.findRow("LHS10101", 1, 1, true, true);
  3686. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", rslt);
  3687. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", rslt);
  3688. if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
  3689. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk", "Y");
  3690. }
  3691. model.refresh();
  3692. ]]>
  3693. </script>
  3694. </input>
  3695. <input id="ipt_e24pat" ref="/root/main/rslt/desc/rslt/osmotic/e24pat" class="input_default" style="left:766px; top:50px; width:80px; height:19px; text-align:right; ">
  3696. <script type="javascript" ev:event="DOMFocusOut">
  3697. <![CDATA[
  3698. model.setValue("/root/main/rslt/desc/rslt/osmotic/e24pat", ipt_e24pat.currentText);
  3699. model.setValue("/root/main/rslt/desc/rslt/osmotic/e1pat", ipt_e1pat.currentText);
  3700. var endpat1 = model.getValue("/root/main/rslt/desc/rslt/osmotic/e1pat");
  3701. var endpat24 = model.getValue("/root/main/rslt/desc/rslt/osmotic/e24pat");
  3702. var rslt = endpat24;
  3703. /* if(endpat1 != "" && endpat24 != "") {
  3704. rslt = endpat1 + "(1hr)/" + endpat24 + "(24hr)";
  3705. } else if(endpat1 != "" && endpat24 == "") {
  3706. rslt = endpat1 + "(1hr)";
  3707. } else if(endpat1 == "" && endpat24 != "") {
  3708. rslt = endpat24 + "(24hr)";
  3709. } else {
  3710. rslt = "";
  3711. }*/
  3712. var find = grd_rslt.findRow("LHS10108", 1, 1, true, true);
  3713. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", rslt);
  3714. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", rslt);
  3715. if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
  3716. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk", "Y");
  3717. }
  3718. model.refresh();
  3719. ]]>
  3720. </script>
  3721. </input>
  3722. </case>
  3723. <case id="of_img">
  3724. <img id="img_of" ref="/root/main/view/imgrslt" src="../images/결과이미지.gif" style="left:5px; top:28px; width:800px; height:148px; background-stretch:stretch; "/>
  3725. <caption id="cpt_of_noimg" class="no_image" style="left:0px; top:0px; width:210px; height:240px; vertical-align:middle; background-image:../../../com/commonweb/images/no_image.gif; "/>
  3726. <select1 id="cmb_of_seq" ref="/root/hidden/rsltseqno" class="combo_default" appearance="minimal" style="left:88px; top:4px; width:120px; height:19px; ">
  3727. <choices>
  3728. <itemset nodeset="/root/main/imglist">
  3729. <label ref="lastupdtrdt"/>
  3730. <value ref="rsltseqno"/>
  3731. </itemset>
  3732. </choices>
  3733. <script type="javascript" ev:event="xforms-value-changed">
  3734. <![CDATA[
  3735. fImgRef("img_of");
  3736. ]]>
  3737. </script>
  3738. </select1>
  3739. <button id="button33" class="btn2_letter7" style="left:210px; top:4px; width:97px; height:19px; ">
  3740. <caption>이미지결과등록</caption>
  3741. <script type="javascript" ev:event="DOMActivate">
  3742. <![CDATA[
  3743. if(model.getvalue("/root/main/testinfo/spcltestinfo/bcno") != ""){
  3744. modal("SMLRR01500","", "", "","", "/root/main/testinfo/spcltestinfo", "/root/hidden/spcltestinfo");
  3745. fImgRslt("cmb_of_seq", "cpt_of_noimg", "img_of");
  3746. }
  3747. ]]>
  3748. </script>
  3749. </button>
  3750. <caption id="caption150" class="cell_1" style="left:5px; top:2px; width:80px; height:23px; vertical-align:middle; ">History</caption>
  3751. <img id="img2" visibility="hidden" style="left:430px; top:15px; width:365px; height:148px; background-color:#ff6600; background-stretch:stretch; "/>
  3752. </case>
  3753. </switch>
  3754. <button id="button32" class="btn_sw" group="tab" selected="true" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:5px; top:382px; width:89px; height:22px; ">
  3755. <caption>서술결과</caption>
  3756. <script type="javascript" ev:event="DOMActivate">
  3757. <![CDATA[
  3758. model.toggle("of_desc");
  3759. ]]>
  3760. </script>
  3761. </button>
  3762. </case>
  3763. <case id="icg" style="left:0px; top:0px; width:1192px; height:655px; ">
  3764. <group id="group8" style="left:590px; top:31px; width:590px; height:428px; ">
  3765. <img id="img_icg" ref="/root/main/view/imgrslt" src="../images/결과이미지.gif" style="left:0px; top:0px; width:590px; height:428px; background-stretch:stretch; "/>
  3766. <caption id="cpt_icg_noimg" class="no_image" style="left:0px; top:-1px; width:210px; height:240px; vertical-align:middle; background-image:../../../com/commonweb/images/no_image.gif; "/>
  3767. </group>
  3768. <line id="line46" class="line_1" style="x1:0px; y1:485px; x2:585px; y2:485px; "/>
  3769. <caption id="caption85" class="tit_2" style="left:5px; top:469px; width:192px; height:13px; ">판독예문</caption>
  3770. <datagrid id="grd_icg_rsltcode" nodeset="/root/main/rsltcode" caption="판독예문코드^판독예문내용" colsep="^" colwidth="115, 273" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:490px; width:585px; height:161px; ">
  3771. <col ref="cd"/>
  3772. <col ref="nm"/>
  3773. <script type="javascript" ev:event="ondblclick">
  3774. <![CDATA[
  3775. fRsltCodeDBClick("grd_icg_rsltcode");
  3776. ]]>
  3777. </script>
  3778. </datagrid>
  3779. <textarea id="tar_icg_readrslt" ref="/root/main/rslt/desc/rslt/readrslt" style="left:590px; top:490px; width:590px; height:161px; "/>
  3780. <line id="line51" class="line_1" style="x1:590px; y1:485px; x2:1180px; y2:485px; "/>
  3781. <caption id="caption88" class="tit_2" style="left:595px; top:469px; width:115px; height:13px; ">판독결과</caption>
  3782. <button id="button20" class="btn2_letter4" style="left:520px; top:465px; width:64px; height:19px; ">
  3783. <caption>판독예문</caption>
  3784. <script type="javascript" ev:event="DOMActivate">
  3785. <![CDATA[
  3786. modal("SMLLF02000 ","","","","","/root/main/testinfo/spcltestinfo/testcd","/root/hidden/testcd");
  3787. submit("TRLRR00402");
  3788. fRsltCode("grd_icg_rsltcode");
  3789. model.refresh();
  3790. ]]>
  3791. </script>
  3792. </button>
  3793. <select id="checkbox8" ref="/root/hidden/readexmpadd" overflow="visible" appearance="full" style="left:465px; top:466px; width:50px; height:20px; border-style:none; ">
  3794. <choices>
  3795. <item>
  3796. <label>추가</label>
  3797. <value>Y</value>
  3798. </item>
  3799. </choices>
  3800. </select>
  3801. <caption id="caption22" class="hand" style="left:926px; top:3px; width:80px; height:23px; vertical-align:middle; ">History</caption>
  3802. <button id="button7" class="btn2_letter2" style="left:1136px; top:6px; width:42px; height:19px; ">
  3803. <caption>등록</caption>
  3804. <script type="javascript" ev:event="DOMActivate">
  3805. <![CDATA[
  3806. if(model.getvalue("/root/main/testinfo/spcltestinfo/bcno") != ""){
  3807. modal("SMLRR01500","", "", "","", "/root/main/testinfo/spcltestinfo", "/root/hidden/spcltestinfo");
  3808. fImgRslt("cmb_icg_seq", "cpt_icg_noimg", "img_icg");
  3809. }
  3810. ]]>
  3811. </script>
  3812. </button>
  3813. <select1 id="cmb_icg_seq" ref="/root/hidden/rsltseqno" class="combo_default" appearance="minimal" style="left:1009px; top:6px; width:120px; height:19px; ">
  3814. <choices>
  3815. <itemset nodeset="/root/main/imglist">
  3816. <label ref="lastupdtrdt"/>
  3817. <value ref="rsltseqno"/>
  3818. </itemset>
  3819. </choices>
  3820. <script type="javascript" ev:event="xforms-value-changed">
  3821. <![CDATA[
  3822. fImgRef("img_icg");
  3823. ]]>
  3824. </script>
  3825. </select1>
  3826. <caption id="caption6" class="tit_2" style="left:595px; top:10px; width:192px; height:13px; ">이미지</caption>
  3827. <line id="line90" class="line_1" style="x1:590px; y1:26px; x2:1180px; y2:26px; "/>
  3828. <caption id="caption137" class="cell_1" style="left:5px; top:201px; width:55px; height:23px; vertical-align:middle; ">5분농도</caption>
  3829. <caption id="caption138" class="cell_1" style="left:5px; top:225px; width:55px; height:23px; vertical-align:middle; ">소실율</caption>
  3830. <caption id="caption140" style="left:463px; top:207px; width:40px; height:20px; ">mg/dL</caption>
  3831. <caption id="caption141" class="cell_1" style="left:5px; top:249px; width:55px; height:23px; vertical-align:middle; ">R15</caption>
  3832. <input id="input6" ref="/root/main/rslt/desc/rslt/icg/min5" class="input_default" style="left:63px; top:202px; width:65px; height:19px; "/>
  3833. <input id="input7" ref="/root/main/rslt/desc/rslt/icg/min10" class="input_default" style="left:228px; top:202px; width:65px; height:19px; "/>
  3834. <caption id="caption142" class="cell_1" style="left:166px; top:201px; width:59px; height:23px; vertical-align:middle; ">10분농도</caption>
  3835. <line id="line49" class="line_1" style="x1:5px; y1:196px; x2:503px; y2:196px; "/>
  3836. <caption id="caption143" class="cell_1" style="left:336px; top:201px; width:59px; height:23px; vertical-align:middle; ">15분농도</caption>
  3837. <input id="input8" ref="/root/main/rslt/desc/rslt/icg/min15" class="input_default" style="left:398px; top:202px; width:65px; height:19px; "/>
  3838. <input id="ipt_icg_sosil" ref="/root/main/rslt/desc/rslt/icg/sosil" class="input_default" style="left:63px; top:226px; width:100px; height:19px; ">
  3839. <script type="javascript" ev:event="DOMFocusOut">
  3840. <![CDATA[
  3841. model.setValue("/root/main/rslt/desc/rslt/icg/sosil", ipt_icg_sosil.currentText);
  3842. var sosil = model.getValue("/root/main/rslt/desc/rslt/icg/sosil");
  3843. var find = grd_rslt.findRow("LSS18101", 1, 1, true, true);
  3844. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", sosil);
  3845. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", sosil);
  3846. if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
  3847. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk", "Y");
  3848. }
  3849. model.refresh();
  3850. ]]>
  3851. </script>
  3852. </input>
  3853. <line id="line91" class="line_2" style="x1:5px; y1:223px; x2:503px; y2:223px; "/>
  3854. <caption id="caption145" style="left:293px; top:207px; width:40px; height:20px; ">mg/dL</caption>
  3855. <caption id="caption146" style="left:128px; top:207px; width:40px; height:20px; ">mg/dL</caption>
  3856. <line id="line92" class="line_2" style="x1:5px; y1:247px; x2:503px; y2:247px; "/>
  3857. <caption id="caption144" style="left:163px; top:253px; width:20px; height:20px; ">%</caption>
  3858. <input id="ipt_icg_r15" ref="/root/main/rslt/desc/rslt/icg/r15" class="input_default" style="left:63px; top:250px; width:100px; height:19px; ">
  3859. <script type="javascript" ev:event="DOMFocusOut">
  3860. <![CDATA[
  3861. model.setValue("/root/main/rslt/desc/rslt/icg/r15", ipt_icg_r15.currentText);
  3862. var r15 = model.getValue("/root/main/rslt/desc/rslt/icg/r15");
  3863. var find = grd_rslt.findRow("LSS18102", 1, 1, true, true);
  3864. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", r15);
  3865. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", r15);
  3866. if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
  3867. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk", "Y");
  3868. }
  3869. model.refresh();
  3870. ]]>
  3871. </script>
  3872. </input>
  3873. <line id="line93" class="line_3" style="x1:5px; y1:271px; x2:503px; y2:271px; "/>
  3874. <caption id="caption147" class="tit_2" style="left:10px; top:180px; width:192px; height:13px; ">ICG 결과관리</caption>
  3875. <line id="lin_5" class="line_1" style="x1:5px; y1:26px; x2:505px; y2:26px; "/>
  3876. <caption id="cpt_tit2" class="tit_2" style="left:10px; top:10px; width:152px; height:13px; ">투여 및 채혈 정보</caption>
  3877. <output id="opt_nerse" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/nerse" class="output_fix" style="left:138px; top:32px; width:115px; height:19px; "/>
  3878. <caption id="cpt_bcollnerse" class="cell_1" style="left:5px; top:31px; width:130px; height:23px; vertical-align:middle; ">ICG 투여 및 채혈자</caption>
  3879. <line id="lin_12" class="line_2" style="x1:5px; y1:53px; x2:505px; y2:52px; "/>
  3880. <caption id="cpt_weight" class="cell_1" style="left:256px; top:31px; width:130px; height:23px; vertical-align:middle; ">체 중</caption>
  3881. <output id="opt_weght" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/weight" class="output_fix" style="left:389px; top:32px; width:115px; height:19px; "/>
  3882. <caption id="caption12" class="cell_1" style="left:5px; top:79px; width:130px; height:23px; vertical-align:middle; ">투여된 질량 (mg)</caption>
  3883. <line id="line47" class="line_2" style="x1:5px; y1:101px; x2:505px; y2:100px; "/>
  3884. <caption id="caption23" class="cell_1" style="left:256px; top:79px; width:130px; height:23px; vertical-align:middle; ">투여된 부피 (mL)</caption>
  3885. <input id="ipt_icgquan1" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/icgdrugqty1" class="input_default" style="left:138px; top:56px; width:115px; height:19px; "/>
  3886. <input id="ipt_icgquan2" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/icgdrugqty2" class="input_default" style="left:138px; top:80px; width:115px; height:19px; "/>
  3887. <caption id="cpt_icgquan" class="cell_1" style="left:5px; top:55px; width:130px; height:23px; vertical-align:middle; ">투여해야할 질량 (mg)</caption>
  3888. <input id="ipt_size1" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/icgdrugsize1" class="input_default" style="left:389px; top:56px; width:115px; height:19px; "/>
  3889. <line id="line45" class="line_2" style="x1:5px; y1:77px; x2:505px; y2:76px; "/>
  3890. <input id="ipt_size2" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/icgdrugsize2" class="input_default" style="left:389px; top:80px; width:115px; height:19px; "/>
  3891. <caption id="cpt_size" class="cell_1" style="left:256px; top:55px; width:130px; height:23px; vertical-align:middle; ">투여해야할 부피 (mL)</caption>
  3892. <line id="line48" class="line_2" style="x1:5px; y1:125px; x2:505px; y2:124px; "/>
  3893. <caption id="caption44" class="cell_1" style="left:5px; top:103px; width:248px; height:23px; vertical-align:middle; ">ICG 투여 후 5분 검체 채혈까지의 경과 시간</caption>
  3894. <input id="ipt_5spcmm" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/spc5mm" class="input_default" style="left:256px; top:104px; width:27px; height:19px; "/>
  3895. <caption id="caption40" style="left:284px; top:105px; width:21px; height:20px; font-size:11pt; font-weight:bold; ">분</caption>
  3896. <caption id="caption80" style="left:338px; top:105px; width:21px; height:20px; font-size:11pt; font-weight:bold; ">초</caption>
  3897. <input id="input11" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/spc5ss" class="input_default" style="left:310px; top:104px; width:27px; height:19px; "/>
  3898. <caption id="caption81" style="left:285px; top:129px; width:21px; height:20px; font-size:11pt; font-weight:bold; ">분</caption>
  3899. <input id="input12" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/spc10mm" class="input_default" style="left:257px; top:128px; width:27px; height:19px; "/>
  3900. <input id="input14" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/spc10ss" class="input_default" style="left:311px; top:128px; width:27px; height:19px; "/>
  3901. <caption id="caption82" class="cell_1" style="left:6px; top:127px; width:248px; height:23px; vertical-align:middle; ">ICG 투여 후 10분 검체 채혈까지의 경과 시간</caption>
  3902. <line id="line50" class="line_2" style="x1:6px; y1:149px; x2:506px; y2:148px; "/>
  3903. <caption id="caption83" style="left:339px; top:129px; width:21px; height:20px; font-size:11pt; font-weight:bold; ">초</caption>
  3904. <caption id="caption84" style="left:285px; top:153px; width:21px; height:20px; font-size:11pt; font-weight:bold; ">분</caption>
  3905. <caption id="caption86" class="cell_1" style="left:6px; top:151px; width:248px; height:23px; vertical-align:middle; ">ICG 투여 후 15분 검체 채혈까지의 경과 시간</caption>
  3906. <caption id="caption87" style="left:339px; top:153px; width:21px; height:20px; font-size:11pt; font-weight:bold; ">초</caption>
  3907. <input id="input16" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/spc15mm" class="input_default" style="left:257px; top:152px; width:27px; height:19px; "/>
  3908. <input id="input18" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/spc15ss" class="input_default" style="left:311px; top:152px; width:27px; height:19px; "/>
  3909. <line id="line94" class="line_3" style="x1:6px; y1:173px; x2:506px; y2:172px; "/>
  3910. </case>
  3911. <case id="pb" style="left:0px; top:0px; width:1192px; height:655px; ">
  3912. <line id="line52" class="line_1" style="x1:5px; y1:26px; x2:400px; y2:26px; "/>
  3913. <caption id="caption89" class="tit_2" style="left:10px; top:10px; width:192px; height:14px; ">CBC Result</caption>
  3914. <line id="line53" class="line_1" style="x1:410px; y1:26px; x2:1190px; y2:26px; "/>
  3915. <caption id="caption90" class="tit_2" style="left:415px; top:10px; width:192px; height:13px; ">말초도말검사</caption>
  3916. <line id="line54" class="line_1" style="x1:5px; y1:242px; x2:400px; y2:242px; "/>
  3917. <caption id="caption91" class="tit_2" style="left:10px; top:226px; width:192px; height:13px; ">CBC Diff</caption>
  3918. <datagrid id="grd_pb_mal1" nodeset="/root/main/rslt/desc/rslt/mal1" caption="검사명^결과^결과^chk^testcd^inptrslt" colsep="^" colwidth="140, 55, 55, 0, 0, 0" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:410px; top:31px; width:253px; height:322px; ">
  3919. <col ref="tclsscrnnm"/>
  3920. <col ref="reptrslt" type="input"/>
  3921. <col ref="bfrslt"/>
  3922. <col checkvalue="Y,N" type="chk"/>
  3923. <col ref="testcd"/>
  3924. <col ref="inptrslt"/>
  3925. <script type="javascript" ev:event="onmousedown">
  3926. <![CDATA[
  3927. fGetMouseDown("grd_pb_mal1", "/root/main/rslt/desc/rslt/mal1");
  3928. ]]>
  3929. </script>
  3930. <script type="javascript" ev:event="onendedit">
  3931. <![CDATA[
  3932. fGridEndEdit("grd_pb_mal1", "/root/main/rslt/desc/rslt/mal1");
  3933. ]]>
  3934. </script>
  3935. </datagrid>
  3936. <datagrid id="grd_pb_mal2" nodeset="/root/main/rslt/desc/rslt/mal2" caption="검사명^결과^결과^chk^testcd^inptrslt" colsep="^" colwidth="140, 50, 50, 0, 0, 0" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:666px; top:31px; width:243px; height:322px; ">
  3937. <col ref="tclsscrnnm"/>
  3938. <col ref="reptrslt" type="input"/>
  3939. <col ref="bfrslt"/>
  3940. <col checkvalue="Y,N" type="chk"/>
  3941. <col ref="testcd"/>
  3942. <col ref="inptrslt"/>
  3943. <script type="javascript" ev:event="onmousedown">
  3944. <![CDATA[
  3945. fGetMouseDown("grd_pb_mal2", "/root/main/rslt/desc/rslt/mal2");
  3946. ]]>
  3947. </script>
  3948. <script type="javascript" ev:event="onendedit">
  3949. <![CDATA[
  3950. fGridEndEdit("grd_pb_mal2", "/root/main/rslt/desc/rslt/mal2");
  3951. ]]>
  3952. </script>
  3953. </datagrid>
  3954. <datagrid id="grd_pb_mal3" nodeset="/root/main/rslt/desc/rslt/mal3" caption="검사명^결과^결과^chk^testcd^inptrlst" colsep="^" colwidth="150, 50, 50, 0, 0, 0" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:912px; top:31px; width:278px; height:322px; ">
  3955. <col ref="tclsscrnnm"/>
  3956. <col ref="reptrslt" type="input"/>
  3957. <col ref="bfrslt"/>
  3958. <col checkvalue="Y,N" type="chk"/>
  3959. <col ref="testcd"/>
  3960. <col ref="inptrslt"/>
  3961. <script type="javascript" ev:event="onmousedown">
  3962. <![CDATA[
  3963. fGetMouseDown("grd_pb_mal3", "/root/main/rslt/desc/rslt/mal3");
  3964. ]]>
  3965. </script>
  3966. <script type="javascript" ev:event="onendedit">
  3967. <![CDATA[
  3968. fGridEndEdit("grd_pb_mal3", "/root/main/rslt/desc/rslt/mal3");
  3969. ]]>
  3970. </script>
  3971. </datagrid>
  3972. <line id="line55" class="line_1" style="x1:410px; y1:378px; x2:796px; y2:378px; "/>
  3973. <line id="line56" class="line_1" style="x1:803px; y1:378px; x2:1190px; y2:378px; "/>
  3974. <textarea id="tar_pb_read" ref="/root/main/rslt/desc/rslt/readrslt" style="left:803px; top:383px; width:386px; height:253px; "/>
  3975. <caption id="caption92" class="tit_2" style="left:415px; top:362px; width:192px; height:14px; ">판독예문</caption>
  3976. <caption id="caption93" class="tit_2" style="left:808px; top:363px; width:115px; height:13px; ">판독결과</caption>
  3977. <datagrid id="grd_pb_rsltcode" nodeset="/root/main/rsltcode" caption="판독예문코드^판독예문내용" colsep="^" colwidth="80, 275" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:410px; top:383px; width:386px; height:253px; ">
  3978. <col ref="cd"/>
  3979. <col ref="nm"/>
  3980. <script type="javascript" ev:event="ondblclick">
  3981. <![CDATA[
  3982. fRsltCodeDBClick("grd_pb_rsltcode");
  3983. ]]>
  3984. </script>
  3985. </datagrid>
  3986. <datagrid id="grd_pb_cbc" nodeset="/root/main/rslt/desc/rslt/cbcrslt" caption="검사코드^검사명^결과^단위^보고일시^이전결과" colsep="^" colwidth="55, 100, 50, 50, 115, 65" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:5px; top:31px; width:395px; height:186px; ">
  3987. <col ref="testcd"/>
  3988. <col ref="tclsnm"/>
  3989. <col ref="reptrslt"/>
  3990. <col ref="rsltunit"/>
  3991. <col ref="lastreptdt" format="yyyy-mm-dd hh:nn"/>
  3992. <col ref="bfreptrst"/>
  3993. <script type="javascript" ev:event="onmousedown">
  3994. <![CDATA[
  3995. if ( (grd_pb_cbc.row >= grd_pb_cbc.fixedRows) && (grd_pb_cbc.isCell(event.target))) {
  3996. grd_pb_cbc.row = grd_pb_cbc.mouseRow;
  3997. model.removenode("/root/hidden/popupmenu/grid");
  3998. model.makeValue("/root/hidden/popupmenu/grid/item/name" , "▶ XE2100결과조회");
  3999. model.makeValue("/root/hidden/popupmenu/grid/item/func" , "fXERslt");
  4000. setPopupMenu("grd_pb_cbc", false, "/root/hidden/popupmenu/grid/item", "name", "func");
  4001. }
  4002. ]]>
  4003. </script>
  4004. <script type="javascript" ev:event="DOMFocusOut">
  4005. <![CDATA[
  4006. initPopupMenu();
  4007. ]]>
  4008. </script>
  4009. </datagrid>
  4010. <datagrid id="grd_pb_diff" nodeset="/root/main/rslt/desc/rslt/cbc2" caption="검사코드^검사명^결과^단위^보고일시^이전결과" colsep="^" colwidth="55, 100, 50, 50, 115, 65" dataheight="23" rowheader="seq" rowheight="23" rowsep="|" style="left:5px; top:247px; width:395px; height:391px; ">
  4011. <col ref="testcd"/>
  4012. <col ref="tclsnm"/>
  4013. <col ref="reptrslt"/>
  4014. <col ref="rsltunit"/>
  4015. <col ref="lastreptdt" format="yyyy-mm-dd hh:nn"/>
  4016. <col ref="bfreptrst"/>
  4017. </datagrid>
  4018. <button id="button12" class="btn2_letter4" style="left:731px; top:358px; width:64px; height:19px; ">
  4019. <caption>판독예문</caption>
  4020. <script type="javascript" ev:event="DOMActivate">
  4021. <![CDATA[
  4022. modal("SMLLF02000 ","","","","","/root/main/testinfo/spcltestinfo/testcd","/root/hidden/testcd");
  4023. submit("TRLRR00402");
  4024. fRsltCode("grd_pb_rsltcode");
  4025. model.refresh();
  4026. ]]>
  4027. </script>
  4028. </button>
  4029. <select id="checkbox7" ref="/root/hidden/readexmpadd" overflow="visible" appearance="full" style="left:676px; top:360px; width:50px; height:20px; border-style:none; ">
  4030. <choices>
  4031. <item>
  4032. <label>추가</label>
  4033. <value>Y</value>
  4034. </item>
  4035. </choices>
  4036. </select>
  4037. </case>
  4038. <case id="ep">
  4039. <button id="button3" class="btn2_letter4" style="left:525px; top:335px; width:64px; height:19px; ">
  4040. <caption>연관검사</caption>
  4041. <script type="javascript" ev:event="DOMActivate">
  4042. <![CDATA[
  4043. modal("SMLLF00900");
  4044. fGetRelRslt();
  4045. ]]>
  4046. </script>
  4047. </button>
  4048. <datagrid id="datagrid2" nodeset="/root/main/rslt/desc/rslt/testlist" caption="검사코드^검사명^결과^보고일시^참고치^이전결과" colsep="^" colwidth="55, 145, 50, 120, 60, 134" dataheight="23" rowheader="seq" rowheight="23" rowsep="|" style="left:5px; top:361px; width:585px; height:285px; ">
  4049. <col ref="tclscd"/>
  4050. <col ref="tclsscrnnm"/>
  4051. <col ref="reptrslt"/>
  4052. <col ref="lastreptdt" format="yyyy-mm-dd hh:nn"/>
  4053. <col ref="ref"/>
  4054. <col ref="bfreptrst"/>
  4055. </datagrid>
  4056. <line id="line57" class="line_1" style="x1:5px; y1:26px; x2:590px; y2:26px; "/>
  4057. <caption id="caption94" class="tit_2" style="left:10px; top:10px; width:192px; height:14px; ">세부검사</caption>
  4058. <line id="line58" class="line_1" style="x1:595px; y1:455px; x2:1180px; y2:455px; "/>
  4059. <textarea id="tar_ep_readrslt" ref="/root/main/rslt/desc/rslt/readrslt" style="left:595px; top:460px; width:585px; height:90px; "/>
  4060. <datagrid id="grd_ep_rsltcode" nodeset="/root/main/rsltcode" caption="판독예문코드^판독예문내용" colsep="^" colwidth="115, 429" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:595px; top:316px; width:585px; height:124px; ">
  4061. <col ref="cd"/>
  4062. <col ref="nm"/>
  4063. <script type="javascript" ev:event="ondblclick">
  4064. <![CDATA[
  4065. fRsltCodeDBClick("grd_ep_rsltcode");
  4066. ]]>
  4067. </script>
  4068. </datagrid>
  4069. <line id="line59" class="line_1" style="x1:595px; y1:311px; x2:1180px; y2:311px; "/>
  4070. <caption id="caption96" class="tit_2" style="left:600px; top:296px; width:115px; height:13px; ">판독예문</caption>
  4071. <button id="button16" class="btn2_letter4" style="left:1116px; top:291px; width:64px; height:19px; ">
  4072. <caption>판독예문</caption>
  4073. <script type="javascript" ev:event="DOMActivate">
  4074. <![CDATA[
  4075. modal("SMLLF02000 ","","","","","/root/main/testinfo/spcltestinfo/testcd","/root/hidden/testcd");
  4076. submit("TRLRR00402");
  4077. fRsltCode("grd_ep_rsltcode");
  4078. model.refresh();
  4079. ]]>
  4080. </script>
  4081. </button>
  4082. <datagrid id="grd_ep_dtcl" nodeset="/root/main/rslt/desc/rslt/detltclsinfo" visibility="visible" caption="^검사코드^검사명^결과^단위^이전보고일시^이전결과^inptrslt" colsep="^" colwidth="0, 55, 100, 50, 50, 105, 65, 0" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:5px; top:31px; width:585px; height:299px; ">
  4083. <col checkvalue="Y,N" ref="chk" type="checkbox"/>
  4084. <col ref="testcd"/>
  4085. <col ref="tclsscrnnm"/>
  4086. <col ref="reptrslt" type="input"/>
  4087. <col ref="rsltunit"/>
  4088. <col ref="bflastreptdt"/>
  4089. <col ref="bfreptrslt"/>
  4090. <col ref="inptrslt"/>
  4091. <script type="javascript" ev:event="onendedit">
  4092. <![CDATA[
  4093. fGridKeyEvent("grd_ep_dtcl", "/root/main/rslt/desc/rslt/detltclsinfo");
  4094. ]]>
  4095. </script>
  4096. </datagrid>
  4097. <caption id="caption97" class="tit_2" style="left:600px; top:10px; width:192px; height:13px; ">이미지</caption>
  4098. <line id="line60" class="line_1" style="x1:595px; y1:26px; x2:1180px; y2:26px; "/>
  4099. <button id="button30" class="btn2_letter2" style="left:1136px; top:6px; width:42px; height:19px; ">
  4100. <caption>등록</caption>
  4101. <script type="javascript" ev:event="DOMActivate">
  4102. <![CDATA[
  4103. if(model.getvalue("/root/main/testinfo/spcltestinfo/bcno") != ""){
  4104. modal("SMLRR01500","", "", "","", "/root/main/testinfo/spcltestinfo", "/root/hidden/spcltestinfo");
  4105. var tclscd = model.getValue("/root/main/testinfo/spcltestinfo/tclscd");
  4106. if(tclscd == "LSI104" || tclscd == "LSI105"){
  4107. group4.attribute("visibility") = "hidden"
  4108. group5.attribute("visibility") = "visible"
  4109. model.copyNode("/root/send/data1" , "/root/main/testinfo/spcltestinfo");
  4110. submit("TRLRR01501");
  4111. fImgRef1( "cmb_ep_seq", "cpt_immno_noimg","img_immno1"); //immno이미지
  4112. fImgRef2( "cmb_ep_seq", "cpt_immno_noimg","img_immno2"); //immno이미지
  4113. fImgRef3( "cmb_ep_seq", "cpt_immno_noimg","img_immno3"); //immno이미지
  4114. fImgRef4( "cmb_ep_seq", "cpt_immno_noimg","img_immno4"); //immno이미지
  4115. fImgRef5( "cmb_ep_seq", "cpt_immno_noimg","img_immno5"); //immno이미지
  4116. fImgRef6( "cmb_ep_seq", "cpt_immno_noimg","img_immno6"); //immno이미지
  4117. }
  4118. else{
  4119. fImgRslt("cmb_ep_seq", "cpt_ep_noimg", "img_ep"); //이미지
  4120. group4.attribute("visibility") = "visible"
  4121. group5.attribute("visibility") = "hidden"
  4122. }
  4123. model.removeNodeset("/root/send/data1");
  4124. model.makeNode("/root/send/data1");
  4125. model.refresh();
  4126. }
  4127. ]]>
  4128. </script>
  4129. </button>
  4130. <select1 id="cmb_ep_seq" ref="/root/hidden/rsltseqno" class="combo_default" appearance="minimal" style="left:1009px; top:6px; width:120px; height:19px; ">
  4131. <choices>
  4132. <itemset nodeset="/root/main/imglist">
  4133. <label ref="lastupdtrdt"/>
  4134. <value ref="rsltseqno"/>
  4135. </itemset>
  4136. </choices>
  4137. <script type="javascript" ev:event="xforms-value-changed">
  4138. <![CDATA[
  4139. fImgRef("img_ep");
  4140. ]]>
  4141. </script>
  4142. </select1>
  4143. <caption id="caption29" class="hand" style="left:926px; top:4px; width:80px; height:23px; vertical-align:middle; ">History</caption>
  4144. <group id="group4" style="left:595px; top:31px; width:585px; height:259px; ">
  4145. <img id="img_ep" ref="/root/main/view/imgrslt" src="../images/결과이미지.gif" style="left:0px; top:0px; width:585px; height:255px; background-stretch:stretch; "/>
  4146. <caption id="cpt_ep_noimg" class="no_image" style="left:0px; top:-1px; width:210px; height:240px; vertical-align:middle; background-image:../../../com/commonweb/images/no_image.gif; "/>
  4147. </group>
  4148. <group id="group5" scroll="auto" style="left:595px; top:31px; width:585px; height:259px; ">
  4149. <img id="img_immno1" ref="/root/main/immnoa/immno1/imgrslt" src="../images/결과이미지.gif" style="left:0px; top:0px; width:0px; height:0px; background-stretch:stretch; "/>
  4150. <img id="img_immno2" ref="/root/main/immnob/immno2/imgrslt" src="../images/결과이미지.gif" style="left:0px; top:0px; width:0px; height:0px; background-stretch:stretch; "/>
  4151. <img id="img_immno3" ref="/root/main/immnoc/immno3/imgrslt" src="../images/결과이미지.gif" style="left:0px; top:0px; width:0px; height:0px; background-stretch:stretch; "/>
  4152. <img id="img_immno4" ref="/root/main/immnod/immno4/imgrslt" src="../images/결과이미지.gif" style="left:0px; top:0px; width:0px; height:0px; background-stretch:stretch; "/>
  4153. <img id="img_immno5" ref="/root/main/immnoe/immno5/imgrslt" src="../images/결과이미지.gif" style="left:0px; top:0px; width:0px; height:0px; background-stretch:stretch; "/>
  4154. <img id="img_immno6" ref="/root/main/immnof/immno6/imgrslt" src="../images/결과이미지.gif" style="left:0px; top:0px; width:0px; height:0px; background-stretch:stretch; "/>
  4155. <caption id="cpt_immno_noimg" class="no_image" style="left:0px; top:-1px; width:210px; height:240px; vertical-align:middle; background-image:../../../com/commonweb/images/no_image.gif; "/>
  4156. </group>
  4157. <select id="checkbox6" ref="/root/hidden/readexmpadd" overflow="visible" appearance="full" style="left:1061px; top:293px; width:50px; height:20px; border-style:none; ">
  4158. <choices>
  4159. <item>
  4160. <label>추가</label>
  4161. <value>Y</value>
  4162. </item>
  4163. </choices>
  4164. </select>
  4165. <caption id="caption169" class="tit_2" style="left:10px; top:341px; width:115px; height:13px; ">연관검사</caption>
  4166. <line id="line107" class="line_1" style="x1:5px; y1:356px; x2:590px; y2:356px; "/>
  4167. <datagrid id="grd_proteinEP" nodeset="/root/main/rslt/desc/rslt/proteinEP" visibility="hidden" caption="^검사명^정량(g/dL)^참고치(g/dL)^결과(%)^참고치(%)^이전결과^" colsep="^" colwidth="0, 113, 89, 94, 82, 105, 79" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:5px; top:30px; width:585px; height:299px; ">
  4168. <col checkvalue="Y,N" ref="chk" type="checkbox"/>
  4169. <col ref="tclsnm"/>
  4170. <col ref="reptrsltorigin" type="input"/>
  4171. <col ref="reforigin"/>
  4172. <col ref="reptrsltpersent" type="input"/>
  4173. <col ref="refpersent"/>
  4174. <col ref="bfreptrslt1"/>
  4175. <script type="javascript" ev:event="onendedit">
  4176. <![CDATA[
  4177. fGridKeyEvent("grd_ep_dtcl", "/root/main/rslt/desc/rslt/detltclsinfo");
  4178. ]]>
  4179. </script>
  4180. </datagrid>
  4181. <caption id="caption95" class="tit_2" visibility="visible" style="left:595px; top:442px; width:115px; height:13px; ">판독결과</caption>
  4182. <textarea id="tar_ep_comments" ref="/root/main/rslt/desc/rslt/comment" style="left:595px; top:565px; width:585px; height:80px; "/>
  4183. <line id="line108" class="line_1" style="x1:595px; y1:561px; x2:1180px; y2:561px; "/>
  4184. <caption id="caption171" class="tit_2" visibility="visible" style="left:595px; top:549px; width:115px; height:13px; ">comments</caption>
  4185. </case>
  4186. <case id="befchildbrth">
  4187. <caption id="caption31" class="tit_2" style="left:10px; top:10px; width:192px; height:14px; ">의뢰내용</caption>
  4188. <line id="line5" class="line_1" style="x1:5px; y1:26px; x2:1180px; y2:26px; "/>
  4189. <line id="line8" class="line_1" style="x1:5px; y1:75px; x2:590px; y2:75px; "/>
  4190. <caption id="caption32" class="tit_2" style="left:10px; top:60; width:115px; height:13px; ">연관검사</caption>
  4191. <datagrid id="grd_befchildbrth_rsltcode" nodeset="/root/main/rsltcode" caption="판독예문코드^판독예문내용" colsep="^" colwidth="115, 425" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:595; top:80px; width:585px; height:230; ">
  4192. <col ref="cd"/>
  4193. <col ref="nm"/>
  4194. <script type="javascript" ev:event="ondblclick">
  4195. <![CDATA[
  4196. fRsltCodeDBClick("grd_befchildbrth_rsltcode");
  4197. ]]>
  4198. </script>
  4199. </datagrid>
  4200. <line id="line61" class="line_1" style="left:595; x1:595px; y1:75px; x2:1180px; y2:75px; "/>
  4201. <caption id="caption33" class="tit_2" style="left:600px; top:60; width:105px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">판독예문</caption>
  4202. <line id="line62" class="line_1" style="x1:5px; y1:330px; x2:1180px; y2:330px; "/>
  4203. <textarea id="tar_befchildbrth_readrslt" ref="/root/main/rslt/desc/rslt/readrslt" style="left:5px; top:335px; width:1175px; height:313px; "/>
  4204. <caption id="caption98" class="tit_2" style="left:10px; top:315px; width:115px; height:13px; ">판독결과</caption>
  4205. <button id="button21" class="btn2_letter4" style="left:1116px; top:55px; width:64px; height:19px; ">
  4206. <caption>판독예문</caption>
  4207. <script type="javascript" ev:event="DOMActivate">
  4208. <![CDATA[
  4209. modal("SMLLF02000 ","","","","","/root/main/testinfo/spcltestinfo/testcd","/root/hidden/testcd");
  4210. submit("TRLRR00402");
  4211. fRsltCode("grd_befchildbrth_rsltcode");
  4212. model.refresh();
  4213. ]]>
  4214. </script>
  4215. </button>
  4216. <datagrid id="grd_befchildbrth_testlist" nodeset="/root/main/rslt/desc/rslt/testlist" caption="검사코드^검사명^결과^보고일시^참고치^이전결과" colsep="^" colwidth="55, 145, 50, 120, 60, 65" dataheight="23" rowheader="seq" rowheight="23" rowsep="|" style="left:5px; top:80px; width:585px; height:230; ">
  4217. <col ref="tclscd"/>
  4218. <col ref="tclsscrnnm"/>
  4219. <col ref="reptrslt"/>
  4220. <col ref="lastreptdt" format="yyyy-mm-dd hh:nn"/>
  4221. <col ref="ref"/>
  4222. <col ref="bfreptrst"/>
  4223. </datagrid>
  4224. <group id="group6" style="left:5px; top:31px; width:1175px; height:24px; ">
  4225. <caption id="caption128" class="cell_1" style="left:0px; top:0px; width:150px; height:23px; vertical-align:middle; ">현재 체중</caption>
  4226. <input id="input2" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/inptitem01/bdwt" class="input_essential" style="left:153px; top:1px; width:100px; height:19px; "/>
  4227. <caption id="caption130" class="cell_1" style="left:277px; top:0px; width:150px; height:23px; vertical-align:middle; ">LMP (최종월경일)</caption>
  4228. <input id="input4" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/inptitem01/LPM" class="input_essential" inputtype="date" format="yyyy-mm-dd" style="left:430px; top:1px; width:100px; height:19px; "/>
  4229. <input id="input5" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/inptitem01/week" class="input_default" style="left:686px; top:1px; width:40px; height:19px; text-align:right; "/>
  4230. <caption id="caption131" class="cell_1" style="left:533px; top:0px; width:150px; height:23px; vertical-align:middle; ">초음파검사상 임신주수</caption>
  4231. <caption id="caption132" class="cell_1" style="left:806px; top:0px; width:150px; height:23px; vertical-align:middle; ">당뇨병 여부</caption>
  4232. <caption id="caption133" class="cell_1" style="left:991px; top:0px; width:150px; height:23px; vertical-align:middle; ">고혈압 여부</caption>
  4233. <caption id="caption134" style="left:728px; top:3px; width:16px; height:14px; ">주</caption>
  4234. <caption id="caption135" style="left:787px; top:3px; width:18px; height:14px; ">일</caption>
  4235. <input id="input3" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/inptitem01/day" class="input_default" style="left:745px; top:1px; width:40px; height:19px; text-align:right; "/>
  4236. <select id="checkbox1" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/inptitem01/glycosyn" overflow="visible" appearance="full" style="left:959px; top:4px; width:29px; height:15px; border-style:none; ">
  4237. <choices>
  4238. <item>
  4239. <label>Y</label>
  4240. <value>1</value>
  4241. </item>
  4242. </choices>
  4243. </select>
  4244. <select id="checkbox2" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/inptitem01/hypetsyn" overflow="visible" appearance="full" style="left:1144px; top:3px; width:29px; height:16px; border-style:none; ">
  4245. <choices>
  4246. <item>
  4247. <label>Y</label>
  4248. <value>1</value>
  4249. </item>
  4250. </choices>
  4251. </select>
  4252. <line id="line89" class="line_3" style="x1:0px; y1:22px; x2:1175px; y2:22px; "/>
  4253. <caption id="caption129" style="left:255px; top:8px; width:19px; height:13px; ">Kg</caption>
  4254. </group>
  4255. <select id="checkbox5" ref="/root/hidden/readexmpadd" overflow="visible" appearance="full" style="left:1061px; top:57px; width:50px; height:20px; border-style:none; ">
  4256. <choices>
  4257. <item>
  4258. <label>추가</label>
  4259. <value>Y</value>
  4260. </item>
  4261. </choices>
  4262. </select>
  4263. </case>
  4264. <case id="cm">
  4265. <datagrid id="grd_dshla" nodeset="/root/main/rslt/desc/rslt/cm/dshla" caption="^결과^s/c ratio" colsep="^" colwidth="240, 112, 0" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:5px; top:75px; width:590px; height:77px; ">
  4266. <col ref="tclsscrnnm"/>
  4267. <col ref="reptrslt" type="input"/>
  4268. <col ref="scratio"/>
  4269. <script type="javascript" ev:event="onendedit">
  4270. <![CDATA[
  4271. /* var testcd = model.getValue("/root/main/rslt/desc/rslt/cm/dshla["+ grd_dshla.row +"]/testcd");
  4272. var find = grd_rslt.findRow(testcd, 1, 1, true, true);
  4273. if(grd_dshla.row == grd_dshla.rows - 1) {
  4274. model.setValue("/root/main/rslt/desc/rslt/cm/dshla["+ grd_dshla.row +"]/inptrslt", model.getValue("/root/main/rslt/desc/rslt/cm/dshla["+ grd_dshla.row +"]/reptrslt"));
  4275. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", model.getValue("/root/main/rslt/desc/rslt/cm/dshla["+ grd_dshla.row +"]/reptrslt"));
  4276. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", model.getValue("/root/main/rslt/desc/rslt/cm/dshla["+ grd_dshla.row +"]/reptrslt"));
  4277. if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
  4278. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk" , "Y");
  4279. }
  4280. grd_dshla.row = 1;
  4281. } else {
  4282. model.setValue("/root/main/rslt/desc/rslt/cm/dshla["+ grd_dshla.row +"]/inptrslt", model.getValue("/root/main/rslt/desc/rslt/cm/dshla["+ grd_dshla.row +"]/reptrslt"));
  4283. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", model.getValue("/root/main/rslt/desc/rslt/cm/dshla["+ grd_dshla.row +"]/reptrslt"));
  4284. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", model.getValue("/root/main/rslt/desc/rslt/cm/dshla["+ grd_dshla.row +"]/reptrslt"));
  4285. if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
  4286. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk" , "Y");
  4287. }
  4288. grd_dshla.row = (grd_dshla.row) + 1;
  4289. }*/
  4290. fGridKeyEvent("grd_dshla", "/root/main/rslt/desc/rslt/cm/dshla");
  4291. ]]>
  4292. </script>
  4293. </datagrid>
  4294. <caption id="caption99" class="tit_2" style="left:10px; top:5px; width:115px; height:13px; ">공여자 정보</caption>
  4295. <line id="line67" class="line_1" style="x1:5px; y1:21px; x2:435px; y2:21px; "/>
  4296. <caption id="caption101" class="cell_1" style="left:5px; top:26px; width:80px; height:23px; vertical-align:middle; ">PID</caption>
  4297. <input id="input26" ref="/root/main/testinfo/spcltestinfo/reqfrmtbl/reqfrminfo/inptitem01/dnorpid" class="input_default" style="left:88px; top:27px; width:80px; height:19px; "/>
  4298. <input id="input27" ref="/root/main/testinfo/spcltestinfo/reqfrmtbl/reqfrminfo/inptitem01/dnornm" class="input_default" style="left:254px; top:27px; width:80px; height:19px; "/>
  4299. <caption id="caption103" class="cell_1" style="left:171px; top:26px; width:80px; height:23px; vertical-align:middle; ">성명</caption>
  4300. <button id="button37" class="btn2_letter4" style="left:1124px; top:50px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter6.gif; ">
  4301. <caption>결과조회</caption>
  4302. <script type="javascript" ev:event="onclick">
  4303. <![CDATA[
  4304. open("SMLLP01400");
  4305. ]]>
  4306. </script>
  4307. </button>
  4308. <line id="line68" class="line_1" style="x1:5px; y1:170px; x2:595px; y2:170px; "/>
  4309. <datagrid id="grd_cm_cytoto" nodeset="/root/main/rslt/desc/rslt/cm/cytoto" caption="검사항목^이전결과접수일시^이전결과^결과" colsep="^" colwidth="280, 105, 80, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="free" style="left:5px; top:175px; width:590px; height:278px; ">
  4310. <col ref="tclsscrnnm"/>
  4311. <col ref="bfspcacptdt" format="yyyy-mm-dd hh:nn"/>
  4312. <col ref="bfreptrslt"/>
  4313. <col ref="reptrslt" type="input"/>
  4314. <script type="javascript" ev:event="onendedit">
  4315. <![CDATA[
  4316. fGridKeyEvent("grd_cm_cytoto", "/root/main/rslt/desc/rslt/cm/cytoto");
  4317. ]]>
  4318. </script>
  4319. </datagrid>
  4320. <caption id="caption104" class="tit_2" style="left:10px; top:154px; width:133px; height:13px; ">Cytotoxicity</caption>
  4321. <line id="line65" class="line_3" style="x1:5px; y1:48px; x2:435px; y2:48px; "/>
  4322. <line id="line69" class="line_1" style="x1:599px; y1:70px; x2:1189px; y2:70px; "/>
  4323. <datagrid id="grd_cm_flow" nodeset="/root/main/rslt/desc/rslt/cm/flow" caption="검사항목^이전결과접수일시^이전결과^결과" colsep="^" colwidth="285, 103, 80, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="free" style="left:599px; top:75px; width:591px; height:378px; ">
  4324. <col ref="tclsscrnnm"/>
  4325. <col ref="bfspcacptdt" format="yyyy-mm-dd hh:nn"/>
  4326. <col ref="bfreptrslt"/>
  4327. <col ref="reptrslt" type="input"/>
  4328. <script type="javascript" ev:event="onendedit">
  4329. <![CDATA[
  4330. fGridKeyEvent("grd_cm_flow", "/root/main/rslt/desc/rslt/cm/flow");
  4331. ]]>
  4332. </script>
  4333. </datagrid>
  4334. <caption id="caption105" class="tit_2" style="left:604px; top:54px; width:203px; height:13px; ">Flow Cytometric Crossmatch</caption>
  4335. <caption id="caption106" class="tit_2" style="left:10px; top:54px; width:195px; height:13px; ">공여자 특이 HLA 항체</caption>
  4336. <line id="line71" class="line_1" style="x1:5px; y1:70px; x2:595px; y2:70px; "/>
  4337. <line id="line72" class="line_1" style="x1:599px; y1:477px; x2:1189px; y2:477px; "/>
  4338. <caption id="caption107" class="tit_2" style="left:604px; top:461px; width:115px; height:13px; ">판독결과</caption>
  4339. <textarea id="tar_cm_readrslt" ref="/root/main/rslt/desc/rslt/readrslt" style="left:599px; top:482px; width:591px; height:161px; "/>
  4340. <line id="line70" class="line_1" style="x1:5px; y1:477px; x2:595px; y2:477px; "/>
  4341. <caption id="caption10" class="tit_2" style="left:10px; top:461px; width:192px; height:13px; ">판독예문</caption>
  4342. <button id="button14" class="btn2_letter4" style="left:530px; top:457px; width:64px; height:19px; ">
  4343. <caption>판독예문</caption>
  4344. <script type="javascript" ev:event="DOMActivate">
  4345. <![CDATA[
  4346. modal("SMLLF02000 ","","","","","/root/main/testinfo/spcltestinfo/testcd","/root/hidden/testcd");
  4347. submit("TRLRR00402");
  4348. fRsltCode("grd_cm_rsltcode");
  4349. model.refresh();
  4350. ]]>
  4351. </script>
  4352. </button>
  4353. <datagrid id="grd_cm_rsltcode" nodeset="/root/main/rsltcode" caption="판독예문코드^판독예문내용" colsep="^" colwidth="80, 275" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:5px; top:482px; width:590px; height:161px; ">
  4354. <col ref="cd"/>
  4355. <col ref="nm"/>
  4356. <script type="javascript" ev:event="ondblclick">
  4357. <![CDATA[
  4358. fRsltCodeDBClick("grd_cm_rsltcode");
  4359. ]]>
  4360. </script>
  4361. </datagrid>
  4362. <select id="checkbox4" ref="/root/hidden/readexmpadd" overflow="visible" appearance="full" style="left:475px; top:459px; width:50px; height:20px; border-style:none; ">
  4363. <choices>
  4364. <item>
  4365. <label>추가</label>
  4366. <value>Y</value>
  4367. </item>
  4368. </choices>
  4369. </select>
  4370. </case>
  4371. <case id="wideuse">
  4372. <caption id="caption108" class="tit_2" style="left:10px; top:10px; width:115px; height:13px; ">세부검사</caption>
  4373. <line id="line73" class="line_1" style="x1:5px; y1:25px; x2:590px; y2:25px; "/>
  4374. <line id="line74" class="line_1" style="x1:600px; y1:25px; x2:1185px; y2:25px; "/>
  4375. <caption id="caption109" class="tit_2" style="left:605px; top:10px; width:115px; height:13px; ">Image</caption>
  4376. <datagrid id="grd_wideuse_rsltcode" nodeset="/root/main/rsltcode" caption="판독예문코드^판독예문내용" colsep="^" colwidth="115, 425" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:5px; top:535px; width:585px; height:115px; ">
  4377. <col ref="cd"/>
  4378. <col ref="nm"/>
  4379. <script type="javascript" ev:event="ondblclick">
  4380. <![CDATA[
  4381. fRsltCodeDBClick("grd_wideuse_rsltcode");
  4382. ]]>
  4383. </script>
  4384. </datagrid>
  4385. <line id="line76" class="line_1" style="x1:5px; y1:530px; x2:590px; y2:530px; "/>
  4386. <caption id="caption110" class="tit_2" style="left:10px; top:515px; width:110px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">판독예문</caption>
  4387. <line id="line77" class="line_1" style="x1:595px; y1:400px; x2:1180px; y2:400px; "/>
  4388. <caption id="caption111" class="tit_2" style="left:600px; top:385px; width:110px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">판독결과</caption>
  4389. <textarea id="tar_wideuse_readrslt" ref="/root/main/rslt/desc/rslt/readrslt" style="left:595px; top:405px; width:585px; height:95px; "/>
  4390. <button id="button23" class="btn2_letter4" style="left:525px; top:510px; width:64px; height:19px; ">
  4391. <caption>판독예문</caption>
  4392. <script type="javascript" ev:event="DOMActivate">
  4393. <![CDATA[
  4394. modal("SMLLF02000 ","","","","","/root/main/testinfo/spcltestinfo/testcd","/root/hidden/testcd");
  4395. submit("TRLRR00402");
  4396. fRsltCode("grd_wideuse_rsltcode");
  4397. model.refresh();
  4398. ]]>
  4399. </script>
  4400. </button>
  4401. <datagrid id="grd_wideuse_dtcl1" nodeset="/root/main/rslt/desc/rslt/detltclsinfo" caption="^검사코드^검사명^결과^단위^이전보고일시^이전결과^inptrslt" colsep="^" colwidth="0, 70, 406, 50, 0, 0, 0, 0" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:5px; top:30px; width:585px; height:475px; ">
  4402. <col checkvalue="Y,N" ref="chk" type="checkbox"/>
  4403. <col ref="testcd"/>
  4404. <col ref="tclsscrnnm"/>
  4405. <col ref="reptrslt" type="input"/>
  4406. <col ref="rsltunit"/>
  4407. <col ref="bflastreptdt"/>
  4408. <col ref="bfreptrslt"/>
  4409. <col ref="inptrslt"/>
  4410. <script type="javascript" ev:event="onendedit">
  4411. <![CDATA[
  4412. fGridKeyEvent("grd_wideuse_dtcl1", "/root/main/rslt/desc/rslt/detltclsinfo");
  4413. ]]>
  4414. </script>
  4415. </datagrid>
  4416. <group id="group7" style="left:600px; top:30px; width:585px; height:345px; ">
  4417. <img id="img_wideuse" ref="/root/main/view/imgrslt" src="../images/결과이미지.gif" style="left:0px; top:0px; width:585px; height:340px; background-stretch:stretch; "/>
  4418. <caption id="cpt_wideuse_noimg" class="no_image" style="left:0px; top:-1px; width:210px; height:240px; vertical-align:middle; background-image:../../../com/commonweb/images/no_image.gif; "/>
  4419. </group>
  4420. <select1 id="cmb_wideuse_seq" ref="/root/hidden/rsltseqno" class="combo_default" appearance="minimal" style="left:1015px; top:4px; width:120px; height:19px; ">
  4421. <choices>
  4422. <itemset nodeset="/root/main/imglist">
  4423. <label ref="lastupdtrdt"/>
  4424. <value ref="rsltseqno"/>
  4425. </itemset>
  4426. </choices>
  4427. <script type="javascript" ev:event="xforms-value-changed">
  4428. <![CDATA[
  4429. fImgRef("img_wideuse");
  4430. ]]>
  4431. </script>
  4432. </select1>
  4433. <button id="button28" class="btn2_letter2" style="left:1142px; top:5px; width:42px; height:19px; ">
  4434. <caption>등록</caption>
  4435. <script type="javascript" ev:event="DOMActivate">
  4436. <![CDATA[
  4437. if(model.getvalue("/root/main/testinfo/spcltestinfo/bcno") != ""){
  4438. modal("SMLRR01500","", "", "","", "/root/main/testinfo/spcltestinfo", "/root/hidden/spcltestinfo");
  4439. fImgRslt("cmb_wideuse_seq", "cpt_wideuse_noimg", "img_wideuse");
  4440. }
  4441. ]]>
  4442. </script>
  4443. </button>
  4444. <caption id="caption136" class="hand" style="left:932px; top:2px; width:80px; height:23px; vertical-align:middle; ">History</caption>
  4445. <select id="checkbox3" ref="/root/hidden/readexmpadd" overflow="visible" appearance="full" style="left:470px; top:512px; width:50px; height:20px; border-style:none; ">
  4446. <choices>
  4447. <item>
  4448. <label>추가</label>
  4449. <value>Y</value>
  4450. </item>
  4451. </choices>
  4452. </select>
  4453. <line id="line109" class="line_1" style="x1:595px; y1:515px; x2:1180px; y2:515px; "/>
  4454. <textarea id="tar_wideuse_inter" ref="/root/main/rslt/desc/rslt/inter" style="left:595px; top:520px; width:585px; height:55px; "/>
  4455. <caption id="caption139" class="tit_2" style="left:600px; top:500px; width:110px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">Interpretation</caption>
  4456. <line id="line110" class="line_1" style="x1:595px; y1:590px; x2:1180px; y2:590px; "/>
  4457. <caption id="caption172" class="tit_2" style="left:600px; top:575px; width:110px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">Comments</caption>
  4458. <textarea id="tar_wideuse_comment" ref="/root/main/rslt/desc/rslt/comments" style="left:595px; top:595px; width:585px; height:55px; "/>
  4459. <select id="chk_wideuse_abnr" ref="/root/hidden/wideuseabnr" overflow="visible" appearance="full" style="left:495px; top:8px; width:95px; height:15px; border-style:none; ">
  4460. <choices>
  4461. <item>
  4462. <label>비정상만 조회</label>
  4463. <value>Y</value>
  4464. </item>
  4465. </choices>
  4466. <script type="javascript" ev:event="onclick">
  4467. <![CDATA[
  4468. //alert(chk_wideuse_abnr.value);
  4469. fChkWideuseAbnr(chk_wideuse_abnr.value);
  4470. ]]>
  4471. </script>
  4472. </select>
  4473. </case>
  4474. <case id="tdm">
  4475. <button id="button6" class="btn2_letter4" style="left:795px; top:300px; width:64px; height:19px; ">
  4476. <caption>판독예문</caption>
  4477. <script type="javascript" ev:event="DOMActivate">
  4478. <![CDATA[
  4479. modal("SMLLF02000 ","","","","","/root/main/testinfo/spcltestinfo/testcd","/root/hidden/testcd");
  4480. submit("TRLRR00402");
  4481. fRsltCode("grd_tdm_rsltcode");
  4482. model.refresh();
  4483. ]]>
  4484. </script>
  4485. </button>
  4486. <select id="checkbox15" ref="/root/hidden/readexmpadd" overflow="visible" appearance="full" style="left:740px; top:300px; width:50px; height:20px; border-style:none; ">
  4487. <choices>
  4488. <item>
  4489. <label>추가</label>
  4490. <value>Y</value>
  4491. </item>
  4492. </choices>
  4493. </select>
  4494. <datagrid id="grd_tdm_rsltcode" nodeset="/root/main/rsltcode" caption="판독예문코드^판독예문내용" colsep="^" colwidth="115, 719" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:5px; top:325px; width:860px; height:124px; ">
  4495. <col ref="cd"/>
  4496. <col ref="nm"/>
  4497. <script type="javascript" ev:event="ondblclick">
  4498. <![CDATA[
  4499. fRsltCodeDBClick("grd_tdm_rsltcode");
  4500. ]]>
  4501. </script>
  4502. </datagrid>
  4503. <line id="line86" class="line_2" style="x1:5px; y1:149px; x2:430px; y2:149px; "/>
  4504. <line id="line85" class="line_2" style="x1:5px; y1:125px; x2:430px; y2:125px; "/>
  4505. <line id="line83" class="line_2" style="x1:5px; y1:101px; x2:430px; y2:101px; "/>
  4506. <line id="line82" class="line_2" style="x1:5px; y1:77px; x2:430px; y2:77px; "/>
  4507. <line id="line79" class="line_2" style="x1:5px; y1:53px; x2:430px; y2:53px; "/>
  4508. <line id="line78" class="line_1" style="x1:5px; y1:26px; x2:430px; y2:26px; "/>
  4509. <caption id="caption112" class="tit_2" style="left:10px; top:10px; width:115px; height:14px; ">TDM</caption>
  4510. <input id="input28" class="input_default" style="left:88px; top:32px; width:125px; height:19px; "/>
  4511. <caption id="caption113" class="cell_1" style="left:5px; top:31px; width:80px; height:23px; vertical-align:middle; ">의뢰약물이름</caption>
  4512. <caption id="caption114" class="cell_1" style="left:216px; top:31px; width:80px; height:23px; vertical-align:middle; ">의뢰사유</caption>
  4513. <input id="input29" class="input_default" style="left:299px; top:32px; width:131px; height:19px; "/>
  4514. <caption id="caption115" class="tit_2" style="left:440px; top:10px; width:115px; height:13px; ">연관검사</caption>
  4515. <line id="line80" class="line_1" style="x1:435px; y1:26px; x2:860px; y2:26px; "/>
  4516. <button id="button8" class="btn2_letter4" style="left:795px; top:6px; width:64px; height:19px; ">
  4517. <caption>연관검사</caption>
  4518. <script type="javascript" ev:event="DOMActivate">
  4519. <![CDATA[
  4520. modal("SMLLF00900");
  4521. fGetRelRslt();
  4522. ]]>
  4523. </script>
  4524. </button>
  4525. <caption id="caption116" class="tit_2" style="left:10px; top:455px; width:115px; height:13px; ">판독결과</caption>
  4526. <line id="line81" class="line_1" style="x1:5px; y1:471px; x2:860px; y2:471px; "/>
  4527. <caption id="caption117" class="cell_1" style="left:5px; top:55px; width:80px; height:23px; vertical-align:middle; ">의뢰기타정보</caption>
  4528. <caption id="caption118" class="cell_1" style="left:5px; top:79px; width:80px; height:23px; vertical-align:middle; ">실제채혈시간</caption>
  4529. <input id="input30" class="input_default" style="left:88px; top:56px; width:342px; height:19px; "/>
  4530. <input id="input31" class="input_default" style="left:88px; top:80px; width:342px; height:19px; "/>
  4531. <input id="input32" class="input_default" style="left:68px; top:104px; width:54px; height:19px; "/>
  4532. <caption id="caption119" class="cell_1" style="left:5px; top:103px; width:60px; height:23px; vertical-align:middle; ">키 (㎡)</caption>
  4533. <input id="input33" class="input_default" style="left:188px; top:104px; width:50px; height:19px; "/>
  4534. <caption id="caption120" class="cell_1" style="left:125px; top:103px; width:60px; height:23px; vertical-align:middle; ">키 (㎡)</caption>
  4535. <caption id="caption121" class="cell_1" style="left:241px; top:103px; width:80px; height:23px; vertical-align:middle; ">BMI 계산값</caption>
  4536. <input id="input34" class="input_default" style="left:324px; top:104px; width:106px; height:19px; "/>
  4537. <caption id="caption122" class="cell_1" style="left:5px; top:127px; width:180px; height:23px; vertical-align:middle; ">단순 약물농도 측정값</caption>
  4538. <input id="input35" class="input_default" style="left:188px; top:128px; width:242px; height:19px; "/>
  4539. <caption id="caption123" class="cell_1" style="left:5px; top:151px; width:180px; height:23px; vertical-align:middle; ">약물농도 with 참고범위 측정값</caption>
  4540. <line id="line84" class="line_3" style="x1:5px; y1:173px; x2:430px; y2:173px; "/>
  4541. <input id="input36" class="input_default" style="left:188px; top:152px; width:242px; height:19px; "/>
  4542. <line id="line87" class="line_1" style="x1:5px; y1:201px; x2:860px; y2:201px; "/>
  4543. <caption id="caption124" class="tit_2" style="left:10px; top:185px; width:315px; height:14px; ">약물농도 with 참고범위에 지정되어 있는 정보...</caption>
  4544. <textarea id="tar_tdm_refinfo" ref="/root/main/rslt/desc/rslt/tdmrslt" style="left:5px; top:206px; width:855px; height:89px; "/>
  4545. <caption id="caption125" class="tit_2" style="left:10px; top:306px; width:315px; height:14px; ">최근 1주일간 투약력</caption>
  4546. <line id="line88" class="line_1" style="x1:5px; y1:322px; x2:860px; y2:322px; "/>
  4547. <textarea id="tar_tdm_weekmedi" ref="/root/main/rslt/desc/rslt/readrslt" style="left:5px; top:476px; width:855px; height:144px; "/>
  4548. <datagrid id="datagrid4" nodeset="/root/main/rslt/desc/rslt/testlist" caption="검사코드^검사명^결과^보고일시^참고치^이전결과" colsep="^" colwidth="55, 145, 50, 120, 60, 65" dataheight="23" rowheader="seq" rowheight="23" rowsep="|" style="left:435px; top:30px; width:425px; height:140px; ">
  4549. <col ref="tclscd"/>
  4550. <col ref="tclsscrnnm"/>
  4551. <col ref="reptrslt"/>
  4552. <col ref="lastreptdt" format="yyyy-mm-dd hh:nn"/>
  4553. <col ref="ref"/>
  4554. <col ref="bfreptrst"/>
  4555. </datagrid>
  4556. </case>
  4557. <case id="ckld">
  4558. <caption id="caption148" class="tit_2" style="left:10px; top:10px; width:55px; height:13px; ">CK</caption>
  4559. <line id="line95" class="line_1" style="x1:5px; y1:25px; x2:560px; y2:25px; "/>
  4560. <line id="line96" class="line_1" style="x1:565px; y1:25px; x2:1180px; y2:25px; "/>
  4561. <caption id="caption149" class="tit_2" style="left:570px; top:10px; width:65px; height:13px; ">LD</caption>
  4562. <caption id="caption151" class="hand" style="left:307px; top:215px; width:80px; height:23px; vertical-align:middle; ">History</caption>
  4563. <line id="line97" class="line_1" style="x1:5px; y1:238px; x2:560px; y2:238px; "/>
  4564. <button id="button34" class="btn2_letter2" style="left:517px; top:218px; width:42px; height:19px; ">
  4565. <caption>등록</caption>
  4566. <script type="javascript" ev:event="DOMActivate">
  4567. <![CDATA[
  4568. if(model.getvalue("/root/main/testinfo/spcltestinfo/bcno") != ""){
  4569. modal("SMLRR01500","", "", "","", "/root/main/testinfo/spcltestinfo", "/root/hidden/spcltestinfo");
  4570. fImgRslt("cmb_ck_seq", "cpt_ck_noimg", "img_ck");
  4571. }
  4572. ]]>
  4573. </script>
  4574. </button>
  4575. <caption id="caption152" class="tit_2" style="left:10px; top:223px; width:115px; height:13px; ">CK Image</caption>
  4576. <group id="group9" style="left:5px; top:243px; width:555px; height:287px; ">
  4577. <img id="img_ck" ref="/root/main/view/imgrslt" src="../images/결과이미지.gif" style="left:0px; top:0px; width:555px; height:287px; background-stretch:stretch; "/>
  4578. <caption id="cpt_ck_noimg" class="no_image" style="left:0px; top:-1px; width:210px; height:230px; vertical-align:middle; background-image:../../../com/commonweb/images/no_image.gif; "/>
  4579. </group>
  4580. <datagrid id="grd_ck" nodeset="/root/main/rslt/desc/rslt/ckld/ck" caption="^이전결과접수일시^이전결과^결과^단위" colsep="^" colwidth="166, 105, 80, 80, 50" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="free" style="left:5px; top:30px; width:555px; height:140px; ">
  4581. <col ref="tclsscrnnm"/>
  4582. <col ref="bfspcacptdt" format="yyyy-mm-dd hh:nn"/>
  4583. <col ref="bfreptrslt"/>
  4584. <col ref="reptrslt" type="input"/>
  4585. <col ref="rsltunit"/>
  4586. <script type="javascript" ev:event="onendedit">
  4587. <![CDATA[/*
  4588. var testcd = model.getValue("/root/main/rslt/desc/rslt/pra/prascreening["+ grd_pra_scrn.row +"]/testcd");
  4589. var find = grd_rslt.findRow(testcd, 1, 1, true, true);
  4590. if(grd_pra_scrn.row == grd_pra_scrn.rows - 1) {
  4591. model.setValue("/root/main/rslt/desc/rslt/pra/prascreening["+ grd_pra_scrn.row +"]/inptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/prascreening["+ grd_pra_scrn.row +"]/reptrslt"));
  4592. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/prascreening["+ grd_pra_scrn.row +"]/reptrslt"));
  4593. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/prascreening["+ grd_pra_scrn.row +"]/reptrslt"));
  4594. if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
  4595. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk" , "Y");
  4596. }
  4597. grd_pra_scrn.row = 1;
  4598. } else {
  4599. model.setValue("/root/main/rslt/desc/rslt/pra/prascreening["+ datagrid26.row +"]/inptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/prascreening["+ grd_pra_scrn.row +"]/reptrslt"));
  4600. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/prascreening["+ grd_pra_scrn.row +"]/reptrslt"));
  4601. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/prascreening["+ grd_pra_scrn.row +"]/reptrslt"));
  4602. if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
  4603. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk" , "Y");
  4604. }
  4605. grd_pra_scrn.row = (grd_pra_scrn.row) + 1;
  4606. }*/
  4607. fGridKeyEvent("grd_ck", "/root/main/rslt/desc/rslt/ckld/ck");
  4608. ]]>
  4609. </script>
  4610. </datagrid>
  4611. <datagrid id="grd_ld" nodeset="/root/main/rslt/desc/rslt/ckld/ld" caption="^이전결과접수일시^이전결과^결과^단위" colsep="^" colwidth="250, 110, 80, 100, 50" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="free" style="left:565px; top:30px; width:615px; height:186px; ">
  4612. <col ref="tclsscrnnm"/>
  4613. <col ref="bfspcacptdt" format="yyyy-mm-dd hh:nn"/>
  4614. <col ref="bfreptrslt"/>
  4615. <col ref="reptrslt" type="input"/>
  4616. <col ref="rsltunit"/>
  4617. <script type="javascript" ev:event="onendedit">
  4618. <![CDATA[/*
  4619. var testcd = model.getValue("/root/main/rslt/desc/rslt/pra/iden["+ datagrid27.row +"]/testcd");
  4620. var find = grd_rslt.findRow(testcd, 1, 1, true, true);
  4621. if(datagrid27.row == datagrid27.rows - 1) {
  4622. model.setValue("/root/main/rslt/desc/rslt/pra/iden["+ datagrid27.row +"]/inptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/iden["+ datagrid27.row +"]/reptrslt"));
  4623. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/iden["+ datagrid27.row +"]/reptrslt"));
  4624. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/iden["+ datagrid27.row +"]/reptrslt"));
  4625. datagrid27.row = 1;
  4626. } else {
  4627. model.setValue("/root/main/rslt/desc/rslt/pra/iden["+ datagrid27.row +"]/inptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/iden["+ datagrid27.row +"]/reptrslt"));
  4628. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/iden["+ datagrid27.row +"]/reptrslt"));
  4629. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/iden["+ datagrid27.row +"]/reptrslt"));
  4630. datagrid27.row = (datagrid27.row) + 1;
  4631. }
  4632. var per = model.getValue("/root/main/rslt/desc/rslt/pra/iden["+ grd_pra_iden.row +"]/per");
  4633. var testcd = model.getValue("/root/main/rslt/desc/rslt/pra/iden["+ grd_pra_iden.row +"]/testcd");
  4634. var find = grd_rslt.findRow(testcd, 1, 1, true, true);
  4635. if(per == "0") {
  4636. model.setValue("/root/main/rslt/desc/rslt/pra/iden["+ grd_pra_iden.row +"]/reptrslt", "Negative");
  4637. model.setValue("/root/main/rslt/desc/rslt/pra/iden["+ grd_pra_iden.row +"]/inptrslt", "Negative");
  4638. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", "Negative");
  4639. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", "Negative");
  4640. if(grd_pra_iden.row == grd_pra_iden.rows - 1) {
  4641. grd_pra_iden.row = 1;
  4642. }else {
  4643. grd_pra_iden.row = (grd_pra_iden.row) + 1;
  4644. }
  4645. } else if(per >= 1) {
  4646. model.setValue("/root/main/rslt/desc/rslt/pra/iden["+ grd_pra_iden.row +"]/reptrslt", "Positive");
  4647. model.setValue("/root/main/rslt/desc/rslt/pra/iden["+ grd_pra_iden.row +"]/inptrslt", "Positive");
  4648. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", "Positive");
  4649. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", "Positive");
  4650. if(grd_pra_iden.row == grd_pra_iden.rows - 1) {
  4651. grd_pra_iden.row = 1;
  4652. }else {
  4653. grd_pra_iden.row = (grd_pra_iden.row) + 1;
  4654. }
  4655. } */
  4656. fGridKeyEvent("grd_ld", "/root/main/rslt/desc/rslt/ckld/ld");
  4657. ]]>
  4658. </script>
  4659. </datagrid>
  4660. <select1 id="cmb_ck_seq" ref="/root/hidden/rsltseqno" class="combo_default" appearance="minimal" style="left:390px; top:217px; width:120px; height:19px; ">
  4661. <choices>
  4662. <itemset nodeset="/root/main/imglist">
  4663. <label ref="lastupdtrdt"/>
  4664. <value ref="rsltseqno"/>
  4665. </itemset>
  4666. </choices>
  4667. <script type="javascript" ev:event="xforms-value-changed">
  4668. <![CDATA[
  4669. fImgRef("img_ck");
  4670. ]]>
  4671. </script>
  4672. </select1>
  4673. <line id="line98" class="line_1" style="x1:565px; y1:238px; x2:1180px; y2:238px; "/>
  4674. <caption id="caption153" class="hand" style="left:927px; top:215px; width:80px; height:23px; vertical-align:middle; ">History</caption>
  4675. <caption id="caption154" class="tit_2" style="left:570px; top:223px; width:115px; height:13px; ">LD Image</caption>
  4676. <group id="group10" style="left:565px; top:243px; width:615px; height:287px; ">
  4677. <img id="img_ld" ref="/root/main/viewld/imgrslt" src="../images/결과이미지.gif" style="left:0px; top:0px; width:615px; height:287px; background-stretch:stretch; "/>
  4678. <caption id="cpt_ld_noimg" class="no_image" style="left:0px; top:-1px; width:210px; height:240px; vertical-align:middle; background-image:../../../com/commonweb/images/no_image.gif; "/>
  4679. </group>
  4680. <button id="button35" class="btn2_letter2" style="left:1137px; top:218px; width:42px; height:19px; ">
  4681. <caption>등록</caption>
  4682. <script type="javascript" ev:event="DOMActivate">
  4683. <![CDATA[
  4684. if(model.getvalue("/root/main/testinfo/spcltestinfo/bcno") != ""){
  4685. var testcd = model.getValue("/root/main/testinfo/spcltestinfo/testcd");
  4686. model.setValue("/root/main/testinfo/spcltestinfo/testcd", "LSI113"); //CK 가 조회되므로 임시로 LD로 변경.
  4687. modal("SMLRR01500","", "", "","", "/root/main/testinfo/spcltestinfo", "/root/hidden/spcltestinfo");
  4688. fImgRslt("cmb_ld_seq", "cpt_ld_noimg", "img_ld");
  4689. model.setValue("/root/main/testinfo/spcltestinfo/testcd", testcd); //원상 복구..
  4690. fImgRslt("cmb_ck_seq", "cpt_ck_noimg", "img_ck"); //ck history가 지워짐으로 ck history 한번 더 조회
  4691. }
  4692. ]]>
  4693. </script>
  4694. </button>
  4695. <select1 id="cmb_ld_seq" ref="/root/hidden/rsltseqnold" class="combo_default" appearance="minimal" style="left:1010px; top:217px; width:120px; height:19px; ">
  4696. <choices>
  4697. <itemset nodeset="/root/main/imglistld">
  4698. <label ref="lastupdtrdt"/>
  4699. <value ref="rsltseqno"/>
  4700. </itemset>
  4701. </choices>
  4702. <script type="javascript" ev:event="xforms-value-changed">
  4703. <![CDATA[
  4704. var testcd = model.getValue("/root/main/testinfo/spcltestinfo/testcd");
  4705. model.setValue("/root/main/testinfo/spcltestinfo/testcd", "LSI113"); //CK 가 조회되므로 임시로 LD로 변경.
  4706. fImgRef("img_ld");
  4707. model.setValue("/root/main/testinfo/spcltestinfo/testcd", testcd); //원상 복구..
  4708. fImgRef("img_ck"); //ck 이미지가 지워짐으로 ck 이미지 한번더 조회
  4709. ]]>
  4710. </script>
  4711. </select1>
  4712. <caption id="caption155" class="tit_2" style="left:570px; top:537px; width:115px; height:13px; ">판독결과</caption>
  4713. <datagrid id="grd_ckld_rsltcode" nodeset="/root/main/rsltcode" caption="판독예문코드^판독예문내용" colsep="^" colwidth="80, 275" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:5px; top:558px; width:555px; height:92px; ">
  4714. <col ref="cd"/>
  4715. <col ref="nm"/>
  4716. <script type="javascript" ev:event="ondblclick">
  4717. <![CDATA[
  4718. fRsltCodeDBClick("grd_ckld_rsltcode");
  4719. ]]>
  4720. </script>
  4721. </datagrid>
  4722. <caption id="caption156" class="tit_2" style="left:10px; top:537px; width:192px; height:13px; ">판독예문</caption>
  4723. <select id="checkbox16" ref="/root/hidden/readexmpadd" overflow="visible" appearance="full" style="left:440px; top:535px; width:50px; height:20px; border-style:none; ">
  4724. <choices>
  4725. <item>
  4726. <label>추가</label>
  4727. <value>Y</value>
  4728. </item>
  4729. </choices>
  4730. </select>
  4731. <textarea id="tar_ckld_weekmedi" ref="/root/main/rslt/desc/rslt/readrslt" style="left:565px; top:558px; width:615px; height:92px; "/>
  4732. <line id="line99" class="line_1" style="x1:5px; y1:553px; x2:560px; y2:553px; "/>
  4733. <button id="button36" class="btn2_letter4" style="left:495px; top:533px; width:64px; height:19px; ">
  4734. <caption>판독예문</caption>
  4735. <script type="javascript" ev:event="DOMActivate">
  4736. <![CDATA[
  4737. modal("SMLLF02000 ","","","","","/root/main/testinfo/spcltestinfo/testcd","/root/hidden/testcd");
  4738. submit("TRLRR00402");
  4739. fRsltCode("grd_ckld_rsltcode");
  4740. model.refresh();
  4741. ]]>
  4742. </script>
  4743. </button>
  4744. <line id="line100" class="line_1" style="x1:565px; y1:553px; x2:1180px; y2:553px; "/>
  4745. </case>
  4746. <case id="fish" selected="true">
  4747. <caption id="caption167" class="tit_2" style="left:205px; top:67px; width:85px; height:13px; ">처방명</caption>
  4748. <caption id="captionProbe" class="tit_2" style="left:5px; top:15px; width:115px; height:13px; ">Probe</caption>
  4749. <caption id="caption157" class="tit_2" style="left:5px; top:42px; width:115px; height:14px; ">사용하는 시약</caption>
  4750. <switch id="switch6" style="left:5px; top:85px; width:1150px; height:555px; ">
  4751. <case id="fish_desc" selected="true">
  4752. <caption id="caption158" class="tit_2" style="left:10px; top:10px; width:115px; height:14px; ">검사 결과</caption>
  4753. <caption id="caption159" class="tit_2" style="left:565px; top:10px; width:192px; height:13px; ">판독예문</caption>
  4754. <select id="checkbox17" ref="/root/hidden/readexmpadd" overflow="visible" appearance="full" style="left:1030px; top:10px; width:50px; height:20px; border-style:none; ">
  4755. <choices>
  4756. <item>
  4757. <label>추가</label>
  4758. <value>Y</value>
  4759. </item>
  4760. </choices>
  4761. </select>
  4762. <button id="button24" class="btn2_letter4" style="left:1080px; top:10px; width:64px; height:19px; ">
  4763. <caption>판독예문</caption>
  4764. <script type="javascript" ev:event="DOMActivate">
  4765. <![CDATA[
  4766. modal("SMLLF02000 ","","","","","/root/main/testinfo/spcltestinfo/testcd","/root/hidden/testcd");
  4767. submit("TRLRR00402");
  4768. fRsltCode("grd_fishld_rsltcode");
  4769. model.refresh();
  4770. ]]>
  4771. </script>
  4772. </button>
  4773. <datagrid id="grd_fishld_rsltcode" nodeset="/root/main/rsltcode" caption="판독예문코드^판독예문내용" colsep="^" colwidth="115, 426" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:560px; top:29px; width:585px; height:123px; ">
  4774. <col ref="cd"/>
  4775. <col ref="nm"/>
  4776. <script type="javascript" ev:event="ondblclick">
  4777. <![CDATA[
  4778. fRsltCodeDBClick("grd_fishld_rsltcode");
  4779. ]]>
  4780. </script>
  4781. </datagrid>
  4782. <caption id="caption160" class="tit_2" style="left:564px; top:154px; width:115px; height:13px; ">판독결과</caption>
  4783. <textarea id="tar_fishld_weekmedi" ref="/root/main/rslt/desc/rslt/readrslt" style="left:560px; top:168px; width:585px; height:123px; "/>
  4784. <caption id="caption161" class="tit_2" style="left:560px; top:305px; width:115px; height:13px; ">Interpretation</caption>
  4785. <textarea id="tar_fish_itpt" ref="/root/main/rslt/desc/rslt/inter" style="left:560px; top:320px; width:585px; height:105px; "/>
  4786. <line id="line102" class="line_1" style="x1:560px; y1:316px; x2:1145px; y2:316px; "/>
  4787. <line id="line101" class="line_1" style="x1:560px; y1:165px; x2:1145px; y2:165px; "/>
  4788. <line id="line103" class="line_1" style="x1:560px; y1:25px; x2:1145px; y2:25px; "/>
  4789. <line id="line104" class="line_1" style="x1:21px; y1:25px; x2:547px; y2:25px; "/>
  4790. <caption id="caption162" class="tit_2" style="left:560px; top:430px; width:158px; height:13px; ">Comments</caption>
  4791. <line id="line105" class="line_1" style="x1:560px; y1:441px; x2:1145px; y2:441px; "/>
  4792. <textarea id="textarea3" ref="/root/main/rslt/desc/rslt/comments" style="left:560px; top:445px; width:585px; height:100px; "/>
  4793. <datagrid id="grd_fishrslt2" nodeset="/root/main/rslt/desc/rslt/fishrslt" visibility="hidden" caption="검사명^Control^MMC" colsep="^" colwidth="300, 113,113" mergecellsfixedrows="bycolrec" rowsep="|" style="left:20px; top:25px; width:526px; height:516px; ">
  4794. <col ref="basecdnm"/>
  4795. <col ref="reptrslt1" type="input"/>
  4796. <col ref="reptrslt2" type="input"/>
  4797. </datagrid>
  4798. <datagrid id="grd_fishrslt1" nodeset="/root/main/rslt/desc/rslt/fishrslt" visibility="visible" caption="검사명^결과" colsep="^" colwidth="300, 226" mergecellsfixedrows="bycolrec" rowsep="|" style="left:20px; top:25px; width:526px; height:516px; ">
  4799. <col ref="basecdnm"/>
  4800. <col ref="reptrslt" type="input"/>
  4801. </datagrid>
  4802. </case>
  4803. <case id="fish_img">
  4804. <caption id="caption164" class="cell_1" style="left:5px; top:2px; width:80px; height:23px; vertical-align:middle; ">History</caption>
  4805. <caption id="cpt_fish_noimg" class="no_image" style="left:5px; top:23px; width:225px; height:240px; vertical-align:middle; background-image:../../../com/commonweb/images/no_image.gif; "/>
  4806. <button id="button29" class="btn2_letter7" style="left:210px; top:4px; width:97px; height:19px; ">
  4807. <caption>이미지결과등록</caption>
  4808. <script type="javascript" ev:event="DOMActivate">
  4809. <![CDATA[
  4810. if(model.getvalue("/root/main/testinfo/spcltestinfo/bcno") != ""){
  4811. modal("SMLRR01500","", "", "","", "/root/main/testinfo/spcltestinfo", "/root/hidden/spcltestinfo");
  4812. fImgRslt("cmb_fish_seq", "cpt_fish_noimg", "img_fish");
  4813. }
  4814. ]]>
  4815. </script>
  4816. </button>
  4817. <img id="img_fish" ref="/root/main/view/imgrslt" src="../images/결과이미지.gif" style="left:5px; top:23px; width:775px; height:587px; background-stretch:stretch; "/>
  4818. <img id="img5" visibility="hidden" style="left:305px; top:45px; width:365px; height:148px; background-color:#ff6600; background-stretch:stretch; "/>
  4819. <select1 id="cmb_fish_seq" ref="/root/hidden/rsltseqno" class="combo_default" appearance="minimal" style="left:88px; top:4px; width:120px; height:19px; ">
  4820. <choices>
  4821. <itemset nodeset="/root/main/imglist">
  4822. <label ref="lastupdtrdt"/>
  4823. <value ref="rsltseqno"/>
  4824. </itemset>
  4825. </choices>
  4826. <script type="javascript" ev:event="xforms-value-changed">
  4827. <![CDATA[
  4828. fImgRef("img_fish");
  4829. ]]>
  4830. </script>
  4831. </select1>
  4832. </case>
  4833. </switch>
  4834. <button id="btn_fish_desc" class="btn_sw" group="tab" selected="true" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:5px; top:65px; width:89px; height:22px; ">
  4835. <caption>판독결과</caption>
  4836. <script type="javascript" ev:event="DOMActivate">
  4837. <![CDATA[
  4838. model.toggle("fish_desc");
  4839. ]]>
  4840. </script>
  4841. </button>
  4842. <button id="btn_fish_img" class="btn_sw" group="tab" selected="true" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:95px; top:65px; width:89px; height:22px; ">
  4843. <caption>이미지결과</caption>
  4844. <script type="javascript" ev:event="DOMActivate">
  4845. <![CDATA[
  4846. model.toggle("fish_img");
  4847. ]]>
  4848. </script>
  4849. </button>
  4850. <input id="input_siyak" ref="/root/main/rslt/desc/rslt/fishinfo/basecddesc" class="input_essential" style="left:110px; top:42px; width:1045px; height:19px; ">
  4851. <script type="javascript" ev:event="xforms-value-changed">
  4852. <![CDATA[
  4853. model.setValue("/root/main/rslt/desc/rslt/siyak",input_siyak.currentText);
  4854. input_siyak.refresh();
  4855. ]]>
  4856. </script>
  4857. </input>
  4858. <input id="input_probe" ref="/root/main/rslt/desc/rslt/fishinfo/basecdnm" class="input_essential" style="left:110px; top:15px; width:1045px; height:19px; ">
  4859. <script type="javascript" ev:event="xforms-value-changed">
  4860. <![CDATA[
  4861. model.setValue("/root/main/rslt/desc/rslt/probe",input_probe.currentText);
  4862. input_probe.refresh();
  4863. ]]>
  4864. </script>
  4865. </input>
  4866. <output id="output6" ref="/root/main/testinfo/spcltestinfo/prcpnm" class="output_fix" style="left:265px; top:65px; width:295px; height:19px; "/>
  4867. <output id="output7" ref="/root/main/testinfo/spcltestinfo/workno" class="output_fix" style="left:635px; top:65px; width:150px; height:19px; "/>
  4868. <caption id="caption168" class="tit_2" style="left:567px; top:68px; width:85px; height:13px; ">접수번호</caption>
  4869. </case>
  4870. <case id="str">
  4871. <datagrid id="grd_testlist" nodeset="/root/main/testinfo/spcltestinfo" autoresize="true" backcoloralternate="transparent" caption="inptrslt1^inptrslt2^inptrslt3^inptrslt4^inptrslt5^inptrslt6^inptrslt7^inptrslt8^inptrslt9^inptrslt10^inptrslt11^inptrslt12^inptrslt13^inptrslt14^inptrslt15^inptrslt16^inptrslt17^inptrslt18^inptrslt19^inptrslt20^inptrslt21^inptrslt22^inptrslt23^inptrslt24^inptrslt25^inptrslt26^inptrslt27^inptrslt28^inptrslt29^inptrslt30^inptrslt31^inptrslt32^inptrslt33^inptrslt34^inptrslt35" 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" dataheight="23" defaultrows="1" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="|" selectionmode="free" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:-5px; top:30px; width:1199px; height:115px; ">
  4872. <col ref="inptrslt1" type="input" style="text-align:center; "/>
  4873. <col ref="inptrslt2" type="input" style="text-align:center; "/>
  4874. <col ref="inptrslt3" type="input" style="text-align:center; "/>
  4875. <col ref="inptrslt4" type="input" style="text-align:center; "/>
  4876. <col ref="inptrslt5" type="input" style="text-align:center; "/>
  4877. <col ref="inptrslt6" type="input" style="text-align:center; "/>
  4878. <col ref="inptrslt7" type="input" style="text-align:center; "/>
  4879. <col ref="inptrslt8" type="input" style="text-align:center; "/>
  4880. <col ref="inptrslt9" type="input" style="text-align:center; "/>
  4881. <col ref="inptrslt10" type="input" style="text-align:center; "/>
  4882. <col ref="inptrslt11" type="input" style="text-align:center; "/>
  4883. <col ref="inptrslt12" type="input" style="text-align:center; "/>
  4884. <col ref="inptrslt13" type="input" style="text-align:center; "/>
  4885. <col ref="inptrslt14" type="input" style="text-align:center; "/>
  4886. <col ref="inptrslt15" type="input" style="text-align:center; "/>
  4887. <col ref="inptrslt16" type="input" style="text-align:center; "/>
  4888. <col ref="inptrslt17" type="input" style="text-align:center; "/>
  4889. <col ref="inptrslt18" type="input" style="text-align:center; "/>
  4890. <col ref="inptrslt19" type="input" style="text-align:center; "/>
  4891. <col ref="inptrslt20" type="input" style="text-align:center; "/>
  4892. <col ref="inptrslt21" type="input" style="text-align:center; "/>
  4893. <col ref="inptrslt22" type="input" style="text-align:center; "/>
  4894. <col ref="inptrslt23" type="input" style="text-align:center; "/>
  4895. <col ref="inptrslt24" type="input" style="text-align:center; "/>
  4896. <col ref="inptrslt25" type="input" style="text-align:center; "/>
  4897. <col ref="inptrslt26" type="input" style="text-align:center; "/>
  4898. <col ref="inptrslt27" type="input" style="text-align:center; "/>
  4899. <col ref="inptrslt28" type="input" style="text-align:center; "/>
  4900. <col ref="inptrslt29" type="input" style="text-align:center; "/>
  4901. <col ref="inptrslt30" type="input" style="text-align:center; "/>
  4902. <col ref="inptrslt31" type="input" style="text-align:center; "/>
  4903. <col ref="inptrslt32" type="input" style="text-align:center; "/>
  4904. <col ref="inptrslt33" type="input" style="text-align:center; "/>
  4905. <col ref="inptrslt34" type="input" style="text-align:center; "/>
  4906. <col ref="inptrslt35" type="input" style="text-align:center; "/>
  4907. <script type="javascript" ev:event="onclick">
  4908. <![CDATA[
  4909. // if((grd_testlist.isCell(event.target) && grd_testlist.row >= grd_testlist.fixedRows) && grd_testlist.col >= 6 ){ //검사항목
  4910. // //fPatGridClick(grd_testlist.row,grd_testlist.col);
  4911. // } else if(grd_testlist.col == 1) { //체크박스
  4912. // fSelectCancle();
  4913. // }
  4914. //
  4915. // var row = grd_testlist.row
  4916. // if(model.getValue("/root/main/testinfo/patlist["+ row +"]/chk") == "true"){
  4917. // grd_testlist.rowStatus(row) = "2"
  4918. // }
  4919. // //alert(model.getValue("/root/main/testinfo/patlist["+ (grd_testlist.row -1) +"]/pid"));
  4920. // //alert(model.getValue("/root/main/testinfo/patlist["+ (grd_testlist.row -1) +"]/bcno"));
  4921. // ]]>
  4922. </script>
  4923. <script type="javascript" ev:event="onkeypress">
  4924. <![CDATA[
  4925. if(event.keyCode == "13"){
  4926. var row = grd_testlist.row;
  4927. var vcol = grd_testlist.col;
  4928. //alert(col);
  4929. //alert(model.getValue("/root/main/testinfo/spcltestinfo/inptrslt"+ col +""));
  4930. model.setValue("/root/main/rslt/desc/rslt/detltclsinfo["+ vcol +"]/reptrslt",model.getValue("/root/main/testinfo/spcltestinfo/inptrslt"+ vcol +""));
  4931. model.setValue("/root/main/rslt/desc/rslt/detltclsinfo["+ vcol +"]/inptrslt",model.getValue("/root/main/testinfo/spcltestinfo/inptrslt"+ vcol +""));
  4932. model.setValue("/root/main/rslt/desc/rslt/detltclsinfo["+ vcol +"]/bufinptrslt",model.getValue("/root/main/testinfo/spcltestinfo/inptrslt"+ vcol +""));
  4933. fGridKeyEventStr("grd_testlist", "/root/main/rslt/desc/rslt/detltclsinfo");
  4934. if(grd_testlist.cols != vcol){
  4935. vcol = parseInt(vcol) + 1;
  4936. grd_testlist.col = vcol;
  4937. }
  4938. model.refresh();
  4939. }
  4940. ]]>
  4941. </script>
  4942. <script type="javascript" ev:event="onkeydown">
  4943. <![CDATA[
  4944. fGridKeyDown();
  4945. ]]>
  4946. </script>
  4947. <script type="javascript" ev:event="onmousedown">
  4948. <![CDATA[
  4949. //fGetMouseDown();
  4950. ]]>
  4951. </script>
  4952. <script type="javascript" ev:event="DOMFocusOut">
  4953. <![CDATA[
  4954. window.setPopupMenu(false);
  4955. ]]>
  4956. </script>
  4957. <script type="javascript" ev:event="onmouseout">
  4958. <![CDATA[
  4959. window.setPopupMenu(false);
  4960. ]]>
  4961. </script>
  4962. </datagrid>
  4963. <caption id="caption173" class="tit_2" style="left:5px; top:10px; width:115px; height:13px; ">세부검사</caption>
  4964. <group id="group13" style="left:0px; top:160px; width:1190px; height:435px; ">
  4965. <line id="line6" class="line_1" style="x1:0px; y1:45px; x2:560px; y2:45px; "/>
  4966. <select id="checkbox19" ref="/root/hidden/readexmpadd" overflow="visible" appearance="full" style="left:438px; top:27px; width:50px; height:20px; border-style:none; ">
  4967. <choices>
  4968. <item>
  4969. <label>추가</label>
  4970. <value>Y</value>
  4971. </item>
  4972. </choices>
  4973. </select>
  4974. <datagrid id="grd_str_rsltcode" nodeset="/root/main/rsltcode" caption="판독예문코드^판독예문내용" colsep="^" colwidth="115, 425" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:50px; width:560px; height:115px; ">
  4975. <col ref="cd"/>
  4976. <col ref="nm"/>
  4977. <script type="javascript" ev:event="ondblclick">
  4978. <![CDATA[
  4979. fRsltCodeDBClick("grd_str_rsltcode");
  4980. ]]>
  4981. </script>
  4982. </datagrid>
  4983. <button id="button48" class="btn2_letter4" style="left:494px; top:26px; width:64px; height:19px; ">
  4984. <caption>판독예문</caption>
  4985. <script type="javascript" ev:event="DOMActivate">
  4986. <![CDATA[
  4987. modal("SMLLF02000 ","","","","","/root/main/testinfo/spcltestinfo/testcd","/root/hidden/testcd");
  4988. submit("TRLRR00402");
  4989. fRsltCode("grd_str_rsltcode");
  4990. model.refresh();
  4991. ]]>
  4992. </script>
  4993. </button>
  4994. <caption id="caption174" class="tit_2" style="left:10px; top:30px; width:110px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">판독예문</caption>
  4995. <line id="line111" class="line_1" style="x1:595px; y1:198px; x2:1180px; y2:198px; "/>
  4996. <caption id="caption175" class="tit_2" style="left:600px; top:183px; width:110px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">Interpretation</caption>
  4997. <textarea id="textarea1" ref="/root/main/rslt/desc/rslt/readrslt" style="left:595px; top:50px; width:585px; height:115px; "/>
  4998. <line id="line112" class="line_1" style="x1:595px; y1:45px; x2:1180px; y2:45px; "/>
  4999. <line id="line113" class="line_1" style="x1:0px; y1:195px; x2:560px; y2:195px; "/>
  5000. <caption id="caption176" class="tit_2" style="left:0px; top:180px; width:85px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">Comments</caption>
  5001. <textarea id="textarea4" ref="/root/main/rslt/desc/rslt/inter" style="left:595px; top:203px; width:585px; height:152px; "/>
  5002. <textarea id="textarea5" ref="/root/main/rslt/desc/rslt/comments" style="left:0px; top:200px; width:560px; height:155px; "/>
  5003. <caption id="caption177" class="tit_2" style="left:600px; top:30px; width:110px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">판독결과</caption>
  5004. <input id="input9" ref="/root/main/rslt/desc/rslt/donor" class="input_button" style="left:1045px; top:175px; width:130px; height:19px; ">
  5005. <script type="javascript" ev:event="onkeypress">
  5006. <![CDATA[
  5007. if(event.keyCode == "13"){
  5008. model.makeValue("/root/main/rslt/desc/rslt/donor",input9.currentText);
  5009. }
  5010. ]]>
  5011. </script>
  5012. </input>
  5013. <caption id="caption178" class="tit_2" style="left:967px; top:178px; width:115px; height:13px; ">Donor 명</caption>
  5014. <line id="line115" class="line_9" style="x1:580px; y1:5px; x2:580px; y2:355px; "/>
  5015. <line id="line114" class="line_9" style="x1:0px; y1:5px; x2:1190px; y2:5px; "/>
  5016. </group>
  5017. </case>
  5018. </switch>
  5019. <line id="line7" class="line_3" style="x1:414px; y1:83px; x2:1192px; y2:83px; "/>
  5020. <line id="line9" class="line_2" style="x1:414px; y1:58px; x2:1192px; y2:58px; "/>
  5021. <caption id="caption21" class="tit_2" style="left:0px; top:15px; width:115px; height:14px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">특수검사 정보</caption>
  5022. <line id="line12" class="line_1" style="x1:0px; y1:31px; x2:405px; y2:31px; "/>
  5023. <caption id="caption20" class="cell_1" style="left:414px; top:60px; width:56px; height:23px; vertical-align:middle; ">채취일시</caption>
  5024. <caption id="caption24" class="cell_1" style="left:1009px; top:60px; width:59px; height:23px; vertical-align:middle; ">보고일시</caption>
  5025. <output id="output1" ref="/root/main/testinfo/spcltestinfo/extrtestinstcd" class="output_fix" style="left:473px; top:36px; width:112px; height:19px; "/>
  5026. <output id="opt_pid" ref="/root/main/testinfo/spcltestinfo/pid" class="output_fix" style="left:663px; top:36px; width:70px; height:19px; "/>
  5027. <output id="opt_patnm" ref="/root/main/testinfo/spcltestinfo/patnm" class="output_fix" style="left:809px; top:36px; width:80px; height:19px; "/>
  5028. <output id="opt_orddept" ref="/root/main/testinfo/spcltestinfo/orddeptnm" class="output_fix" style="left:965px; top:36px; width:50px; height:19px; "/>
  5029. <output id="opt_orddr" ref="/root/main/testinfo/spcltestinfo/orddrnm" class="output_fix" style="left:1091px; top:36px; width:100px; height:19px; "/>
  5030. <output id="opt_bcolldt" ref="/root/main/testinfo/spcltestinfo/bcolldt" class="output_fix" format="9999-99-99 99:99:99" style="left:473px; top:62px; width:115px; height:19px; "/>
  5031. <output id="opt_testdt" ref="/root/main/testinfo/spcltestinfo/rsltrgstdt" class="output_fix" style="left:853px; top:62px; width:153px; height:19px; "/>
  5032. <output id="opt_resddt" ref="/root/main/testinfo/spcltestinfo/lastreptdt" class="output_fix" format="9999-99-99 99:99:99" style="left:1071px; top:62px; width:120px; height:19px; "/>
  5033. <caption id="caption2" class="cell_1" style="left:590px; top:35px; width:70px; height:23px; vertical-align:middle; ">등록번호</caption>
  5034. <caption id="caption13" class="cell_1" style="left:736px; top:35px; width:70px; height:23px; vertical-align:middle; ">성명</caption>
  5035. <caption id="caption14" class="cell_1" style="left:414px; top:35px; width:56px; height:23px; vertical-align:middle; ">병원명</caption>
  5036. <caption id="caption15" class="cell_1" style="left:892px; top:35px; width:70px; height:23px; vertical-align:middle; ">진료과명</caption>
  5037. <caption id="caption19" class="cell_1" style="left:1018px; top:35px; width:70px; height:23px; vertical-align:middle; ">진료의명</caption>
  5038. <output id="opt_acptdt" ref="/root/main/testinfo/spcltestinfo/spcacptdt" class="output_fix" format="9999-99-99 99:99:99" style="left:653px; top:62px; width:115px; height:19px; "/>
  5039. <caption id="caption3" class="cell_1" style="left:591px; top:60px; width:59px; height:23px; vertical-align:middle; ">접수일시</caption>
  5040. <caption id="caption7" class="cell_1" style="left:771px; top:60px; width:79px; height:23px; vertical-align:middle; ">결과입력일시</caption>
  5041. <input id="ipt_readpsn" ref="/root/hidden/readid" class="input_essential" style="left:948px; top:5px; width:76px; height:19px; "/>
  5042. <output id="opt_readpsn" ref="/root/hidden/readnm" class="output_fix" style="left:1026px; top:5px; width:82px; height:19px; "/>
  5043. <caption id="caption16" class="tit_2" style="left:892px; top:9px; width:60px; height:13px; ">판독자</caption>
  5044. <input id="ipt_testpsn" ref="/root/hidden/testid" class="input_essential" style="left:730px; top:6px; width:76px; height:19px; "/>
  5045. <output id="opt_testpsn" ref="/root/hidden/testnm" class="output_fix" style="left:808px; top:6px; width:82px; height:19px; "/>
  5046. <caption id="caption11" class="tit_2" style="left:674px; top:9px; width:60px; height:13px; ">입력자</caption>
  5047. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:5px; top:35px; width:305px; height:48px; "/>
  5048. <caption id="caption127" class="search_name" style="left:15px; top:39px; width:94px; height:17px; ">검색구분 :</caption>
  5049. <select1 id="cmb_refflag" ref="/root/hidden/ref/refgbn" class="combo_search" appearance="minimal" style="left:105px; top:38px; width:195px; height:19px; ">
  5050. <choices>
  5051. <item>
  5052. <label>특수검사번호</label>
  5053. <value>1</value>
  5054. </item>
  5055. <item>
  5056. <label>바코드번호</label>
  5057. <value>2</value>
  5058. </item>
  5059. </choices>
  5060. <script type="javascript" ev:event="xforms-value-changed">
  5061. <![CDATA[
  5062. if(model.getValue("/root/hidden/ref/refgbn") == "1") {
  5063. input1.attribute("visibility") = "visible"
  5064. }else {
  5065. input1.attribute("visibility") = "hidden"
  5066. }
  5067. ]]>
  5068. </script>
  5069. </select1>
  5070. <input id="ipt_reftext" ref="/root/hidden/ref/text" class="input_button" navindex="1" imemode="alpha" inputtype="button" style="left:105px; top:62px; width:195px; height:19px; ">
  5071. <script type="javascript" ev:event="onbuttonclick">
  5072. <![CDATA[
  5073. model.setvalue("/root/hidden/ref/text",ipt_reftext.currentText.toUpperCase());
  5074. model.setValue("/root/hidden/ref/spclno", input1.currentText.toUpperCase());
  5075. model.refresh();
  5076. Onclick_btnRef();
  5077. ]]>
  5078. </script>
  5079. </input>
  5080. <button id="button38" class="btn2_letter4" style="left:341px; top:10px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter6.gif; ">
  5081. <caption>환자조회</caption>
  5082. <script type="javascript" ev:event="DOMActivate">
  5083. <![CDATA[
  5084. //window.load("SPLRR90700.xrw","mdichild","","left:100; top:100; width:400; height:400; sysmenu:visible; min:visible; max:true; resize:true; caption:visible;");
  5085. //window.children.item("SPLRR90700").activate();
  5086. open("SPLRR90700");
  5087. ]]>
  5088. </script>
  5089. </button>
  5090. <datagrid id="grd_rslt" nodeset="/root/main/testinfo/detailtestinfo" visibility="hidden" caption="chk^검사코드^검사명^결과^결과^inptrslt^bcno^testcmt" colsep="^" colwidth="50, 100, 100, 100, 100, 10, 100,0" mergecellsfixedrows="bycolrec" rowsep="|" style="left:70px; top:265px; width:480px; height:120px; ">
  5091. <col checkvalue="Y,N" ref="chk" type="checkbox"/>
  5092. <col ref="testcd"/>
  5093. <col ref="tclsscrnnm"/>
  5094. <col ref="bufinptrslt" type="input"/>
  5095. <col ref="reptrslt"/>
  5096. <col ref="inptrslt"/>
  5097. <col ref="bcno"/>
  5098. <col ref="testcmt"/>
  5099. </datagrid>
  5100. <datagrid id="grd_lb0901" nodeset="/root/init/LB0901" visibility="hidden" caption="caption1^caption2^caption3" colsep="^" mergecellsfixedrows="bycolrec" rowsep="|" style="left:90px; top:205px; width:350px; height:150px; ">
  5101. <col ref="cd"/>
  5102. <col ref="nm"/>
  5103. <col ref="etc04"/>
  5104. </datagrid>
  5105. <line id="line17" class="line_1" style="x1:414px; y1:31px; x2:1192px; y2:31px; "/>
  5106. <input id="input1" ref="/root/hidden/ref/spclno" style="left:45px; top:62px; width:60px; height:19px; font-weight:bold; text-align:right; "/>
  5107. <output id="output2" ref="/root/main/testinfo/spcltestinfo/medispclid" class="output_fix" style="left:493px; top:7px; width:47px; height:19px; "/>
  5108. <caption id="caption18" class="cell_1" style="left:415px; top:5px; width:75px; height:23px; vertical-align:middle; ">판독자/일시</caption>
  5109. <caption id="caption170" style="left:544px; top:7px; width:10px; height:20px; ">/</caption>
  5110. <output id="output3" ref="/root/main/testinfo/spcltestinfo/medispcdt" class="output_fix" format="9999-99-99 99:99:99" style="left:555px; top:7px; width:115px; height:19px; "/>
  5111. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:315px; top:36px; width:90px; height:48px; "/>
  5112. <caption id="caption179" class="cell_1" style="left:325px; top:39px; width:70px; height:22px; text-align:center; vertical-align:middle; ">처방일자</caption>
  5113. <output id="output10" ref="/root/main/testinfo/spcltestinfo/prcpdd" class="output_fix" format="9999-99-99" style="left:325px; top:63px; width:70px; height:19px; text-align:center; "/>
  5114. <output id="output12" ref="/root/hidden/specdrid" class="output_fix" style="left:1110px; top:5px; width:82px; height:19px; "/>
  5115. <caption id="cap_exla" class="tit_2" visibility="hidden" style="left:125px; top:13px; width:80px; height:13px; ">위탁기관 :</caption>
  5116. <select1 id="cbo_exla" ref="/root/main/testinfo/spcltestinfo/exla" class="combo_search" visibility="hidden" appearance="minimal" style="left:205px; top:10px; width:125px; height:19px; ">
  5117. <choices>
  5118. <itemset nodeset="/root/init/LB0135">
  5119. <label ref="nm"/>
  5120. <value ref="cd"/>
  5121. </itemset>
  5122. </choices>
  5123. <script type="javascript" ev:event="onmouseover">
  5124. <![CDATA[
  5125. cbo_exla.hint = model.getValue("/root/main/testinfo/spcltestinfo/exla");
  5126. ]]>
  5127. </script>
  5128. </select1>
  5129. </group>
  5130. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  5131. <caption id="cpt_title" class="tit_1" style="left:0px; top:0px; width:475px; height:13px; background-image:../../../com/commonweb/images/tit_bullet1.gif; "/>
  5132. </group>
  5133. <group id="group14" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
  5134. <button id="button39" class="btn3_letter6" style="left:166px; top:3px; width:104px; height:22px; background-image:../../../com/commonweb/images/btn3_letter6.gif; ">
  5135. <caption>통합결과조회</caption>
  5136. <script type="javascript" ev:event="DOMActivate">
  5137. <![CDATA[
  5138. modal("SMAER00800 ","","","","","/root/main/testinfo/spcltestinfo/pid","/root/send/data/singdata/srchpid");
  5139. ]]>
  5140. </script>
  5141. </button>
  5142. <button id="btn_reqref" class="btn3_letter5" visibility="hidden" style="left:273px; top:3px; width:92px; height:22px; background-image:../../../com/commonweb/images/btn3_letter5.gif; ">
  5143. <caption>의뢰서조회</caption>
  5144. <script type="javascript" ev:event="onclick">
  5145. <![CDATA[
  5146. fRefREQSHT();
  5147. ]]>
  5148. </script>
  5149. </button>
  5150. <button id="button40" class="btn3_letter6" style="left:59px; top:3px; width:104px; height:22px; background-image:../../../com/commonweb/images/btn3_letter6.gif; ">
  5151. <caption>수진이력조회</caption>
  5152. <script type="javascript" ev:event="DOMActivate">
  5153. <![CDATA[
  5154. setParameter ("SMMMO02500_cond", model.getvalue("/root/main/testinfo/spcltestinfo/pid"));
  5155. open ("SMMMO02500");
  5156. ]]>
  5157. </script>
  5158. </button>
  5159. <line id="line75" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  5160. <button id="btn_rsltsave" class="btn4_letter4" disable.background-image="../../../com/commonweb/images/dis_btn4_letter4.gif" style="left:783px; top:3px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn4_letter4.gif; ">
  5161. <caption>결과입력</caption>
  5162. <script type="javascript" ev:event="onclick">
  5163. <![CDATA[
  5164. fInsRsltSave("1");
  5165. ]]>
  5166. </script>
  5167. </button>
  5168. <button id="btn_LstRept" class="btn4_letter4" disable.background-image="../../../com/commonweb/images/dis_btn4_letter4.gif" style="left:949px; top:3px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn4_letter4.gif; ">
  5169. <caption>결과보고</caption>
  5170. <script type="javascript" ev:event="onclick">
  5171. <![CDATA[
  5172. fInsRsltSave("4");
  5173. ]]>
  5174. </script>
  5175. </button>
  5176. <button id="btn_cle" class="btn4_letter3" disable.background-image="../../../com/commonweb/images/dis_btn4_letter3.gif" style="left:1127px; top:3px; width:68px; height:22px; background-image:../../../com/commonweb/images/btn4_letter3.gif; ">
  5177. <caption>초기화</caption>
  5178. <script type="javascript" ev:event="onclick">
  5179. <![CDATA[
  5180. fSetClear();
  5181. ]]>
  5182. </script>
  5183. </button>
  5184. <button id="button41" class="btn4_letter5" disable.background-image="../../../com/commonweb/images/dis_btn4_letter5.gif" style="left:1032px; top:3px; width:92px; height:22px; background-image:../../../com/commonweb/images/btn4_letter5.gif; ">
  5185. <caption>전문의확인</caption>
  5186. <script type="javascript" ev:event="onclick">
  5187. <![CDATA[
  5188. fInsRsltSave("6");
  5189. ]]>
  5190. </script>
  5191. </button>
  5192. <button id="button43" class="btn4_letter4" visibility="hidden" disable.background-image="../../../com/commonweb/images/dis_btn4_letter4.gif" style="left:700px; top:3px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn4_letter4.gif; ">
  5193. <caption>검사완료</caption>
  5194. <script type="javascript" ev:event="onclick">
  5195. <![CDATA[
  5196. var testcd = model.getValue("/root/main/testinfo/spcltestinfo/testcd")
  5197. var find = grd_rslt.findRow(testcd, 0, 1);
  5198. model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk", "Y");
  5199. fInsRsltSave("4");
  5200. ]]>
  5201. </script>
  5202. </button>
  5203. <button id="button45" class="btn6_letter2" style="left:0px; top:3px; width:56px; height:22px; ">
  5204. <caption>출력</caption>
  5205. <script type="javascript" ev:event="DOMActivate">
  5206. <![CDATA[
  5207. /* model.setValue("/root/hidden/xslt/signno", model.getValue("/root/main/testinfo/spcltestinfo/signno"));
  5208. model.setValue("/root/hidden/xslt/form", "0000002916");
  5209. modal("SPLRR90900 ","","","","","/root/hidden/xslt","/root/init");*/
  5210. var signno = model.getValue("/root/main/testinfo/spcltestinfo/signno");
  5211. var formcd = model.getValue("/root/main/testinfo/spcltestinfo/formcd");//"0000002916";
  5212. if(signno != 0) {
  5213. setParameter("SPMRI02400_prtrecinfo","E▦" + signno + "▦" + formcd + "▩");
  5214. modal("SPMRI02400");
  5215. } else {
  5216. messageBox("전문의 확인이 되지", "E007");
  5217. }
  5218. ]]>
  5219. </script>
  5220. </button>
  5221. <button id="button51" class="btn4_letter4" disable.background-image="../../../com/commonweb/images/dis_btn4_letter4.gif" style="left:866px; top:3px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn4_letter4.gif; ">
  5222. <caption>중간보고</caption>
  5223. <script type="javascript" ev:event="onclick">
  5224. <![CDATA[
  5225. fInsRsltSave("2");
  5226. ]]>
  5227. </script>
  5228. </button>
  5229. </group>
  5230. <script type="javascript" ev:event="onkeypress">
  5231. <![CDATA[
  5232. fKeyEvent();
  5233. ]]>
  5234. </script>
  5235. <script type="javascript" ev:event="onmenu">
  5236. <![CDATA[
  5237. var popupParam = event.description;
  5238. fOnmenu(popupParam);
  5239. ]]>
  5240. </script>
  5241. </xhtml:body>
  5242. </xhtml:html>