1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLLR00400_판독결과관리.xrw
- * 설 명 : 판독결과관리
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 - 윤재한
- * 작 성 일 : 2007.11.05
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" ztype="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>판독결과관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <testinfo>
- <spcltestinfo>
- <extrtestinstcd/>
- <pid/>
- <patnm/>
- <orddeptnm/>
- <orddrnm/>
- <bcno/>
- <bcolldt/>
- <spcacptdt/>
- <lastreptdt/>
- <medispcdt/>
- <testcd/>
- <tclsscrnm/>
- <descrslt/>
- <testlrgkind/>
- <tclscd/>
- <prcpdd/>
- <exla/>
- </spcltestinfo>
- <detailtestinfo>
- <testcd/>
- <tclsscrnnm/>
- <inptrslt/>
- </detailtestinfo>
- </testinfo>
- <imglist>
- <rsltseqno/>
- <lastupdtrdt/>
- <imght/>
- <imgwidt/>
- </imglist>
- <view>
- <imgnm/>
- <imgrslt/>
- <imgwidt/>
- <imght/>
- <rsltseqno/>
- <savdelflag/>
- </view>
- <rsltcode>
- <cd/>
- <nm/>
- </rsltcode>
- <rslt>
- <desc>
- <rslt>
- <refflag/>
- <readrslt/>
- <bm/>
- <comments/>
- <inter/>
- <fishinfo>
- <basecdnm/>
- <basecddesc/>
- </fishinfo>
- <fishrslt/>
- <donor/>
- <bminter>
- <interrslt/>
- <rsltstat/>
- <lastdt/>
- <userid/>
- <chk/>
- </bminter>
- <inter2/>
- <tdmrslt/>
- </rslt>
- </desc>
- </rslt>
- <getUsernm>
- <usernm/>
- </getUsernm>
- </main>
- <send>
- <data1/>
- <data2/>
- <bcno/>
- <testcd/>
- <pid/>
- </send>
- <init/>
- <hidden>
- <TestData>
- <bcno/>
- <testcd/>
- <spccd/>
- <inptrslt/>
- <rsltstat/>
- <testlrgkind/>
- <descrslt/>
- <inter/>
- </TestData>
- <default/>
- <rsltseqno/>
- <rsltseqnold/>
- <RelationParm>
- <pid/>
- <tclsscrnnm/>
- <testcd/>
- <spccd/>
- </RelationParm>
- <testid/>
- <testnm/>
- <readid/>
- <readnm/>
- <ref>
- <refgbn/>
- <text/>
- <spclno/>
- <parentyn/>
- </ref>
- <refparam>
- <refflag/>
- <refflag2/>
- </refparam>
- <spcltestkind/>
- <readexmp/>
- <readexmpadd/>
- <xslt>
- <signno/>
- <form/>
- </xslt>
- <wideuseabnr/>
- <fish/>
- <readexmpyn/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/ENRSignEngine.js"/>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- fSetClear();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fBaseInfoRef("0901|0109|0902|1006|0135|");
-
- var op = open("SPLRR90700", "", "", "", "", "/root/properties/menu/menuparam", "/root/hidden/testgroup/formkind"); //환자리스트
-
- model.setFocus("ipt_reftext");
-
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-model-destruct">
- <![CDATA[
- setCloseChildWindow(); //화면전환시 child가 close되도록 저장
- closeChildWindow(); //화면전환시 child닫기로 지정된 경우 해당 child를 모두 닫는다.
- ]]>
- </script>
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init"/>
- <submission id="TRLZZ00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/LB0103"/>
- <submission id="TRLZZ00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/getUsernm"/>
- <submission id="TXLRR00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
- <submission id="TXLRR00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
- <submission id="TRLRR00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/patlist"/>
- <submission id="TRLRR00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/testinfo"/>
- <submission id="TRLRR00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/rslt/desc/rslt/cbcrslt"/>
- <submission id="TRLRR00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/readrslt"/>
- <submission id="TRLRR00403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/rslt"/>
- <submission id="TRLRR00404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/rslt/desc/rslt/detltclsinfo"/>
- <submission id="TRLRR00405" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/rslt/desc/rslt/mal1"/>
- <submission id="TRLRR00406" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/getUsernm"/>
- <submission id="TRLRR00407" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/rslt/desc/rslt/bm"/>
- <submission id="TRLRR00408" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/rslt/desc/rslt/fishinfo"/>
- <submission id="TRLRR00409" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/rslt/desc/rslt/proteinEP"/>
- <submission id="TRLRP00702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/rslt/desc/patinfo"/>
- <submission id="TRLRR01501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/imglist"/>
- <submission id="TRLRR01502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/view"/>
- <submission id="TRLRR90401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/rslt/desc/rslt/testlist"/>
- <submission id="TRLRR90402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/rslt/desc/rslt/bfbm"/>
- <submission id="TRLRR90403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/rslt/desc/patinfo"/>
- <submission id="TRLRR01505" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/testinfo/spcltestinfo/address"/>
- <submission id="TRLRR00411" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/fish"/>
- <submission id="TRLRR01506" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/immnoa"/>
- <submission id="TRLRR01507" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/immnob"/>
- <submission id="TRLRR01508" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/immnoc"/>
- <submission id="TRLRR01509" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/immnod"/>
- <submission id="TRLRR01510" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/immnoe"/>
- <submission id="TRLRR01511" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/immnof"/>
- </model>
- <script type="javascript">
- <![CDATA[
- var gStartCol = 4;
-
- //초기화
- function fSetClear(flag) {
- model.resetInstanceNode("/root/");
-
- if(flag != "P") {
- //화면 열었을 경우 또는 초기화 눌렀을때.
- fBaseInfoRef("0901|0109|0902|1006|"); // 0901 : 특수검사 그룹, 0109 : 결과코드, 0902 : 범용결과관리 면역부 산전검사 코드
-
- model.setvalue("/root/hidden/ref/refgbn" , "1");
- model.setvalue("/root/hidden/ref/text" , "");
- model.setValue("/root/hidden/readexmpadd", "Y");
- model.setValue("/root/hidden/readexmpyn", "");
- //model.setValue("/root/hidden/readinteryn", "Y");
-
- var param = model.getValue("/root/properties/menu/menuparam");
-
- model.setValue("/root/main/rslt/desc/rslt/refflag", param); //메뉴파람 or 특수결과양식유형 에 따른..
-
- fTranscrn();//화면전환
-
- } else {
- //결과저장 후 화면초기화(flag = 'P')
- model.removenode("/root/main/rslt/desc/rslt"); //서술결과 지움
- model.removeNodeset("/root/main/rslt/desc/rslt/osmotic"); //osmotic 경우 입력했던 OD값 및 %값 지움
-
- if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "05") { //osmotic 인 경우
- fGridMake(); //그리드 생성
- }
- }
-
- model.setFocus("ipt_reftext");
-
- model.removeNodeset("/root/main/rsltcode"); //결과코드 지움
- model.removeNodeset("/root/main/rslt/desc/rslt/cbcrslt"); //CBC결과
- model.removeNodeset("/root/main/rslt/desc/rslt/testlist");//연관검사
- model.removeNodeset("/root/main/testinfo/spcltestinfo");//환자정보
- model.removenode("/root/main/imglist"); //이미지 콤보 지움
- model.removenode("/root/main/view"); //이미지 지움
- model.removenode("/root/main/imglistld"); //LD 이미지 콤보 지움
- model.removenode("/root/main/viewld"); //LD 이미지 지움
- model.removenode("/root/main/testinfo"); //grd_rslt 지움
-
- model.refresh();
- }
-
- //화면 전환
- function fTranscrn() {
- if(model.getValue("/root/main/rslt/desc/rslt/refflag") != "05") {
- model.removenode("/root/main/rslt/desc/rslt/osmotic");
- }
-
- var yy = getCurrentDate(); //특수검사연번호때문
- yy = yy.substr(2, 2);
-
- if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "01") {
- //Bone Marrow
- model.toggle("bm");
-
- btn_bm_desc.dispatch("DOMActivate");
- btn_bm_desc.selected = true;
-
- cpt_title.attribute("text") = "Bone Marrow 결과관리";
-
- model.setValue("/root/main/rslt/desc/rslt/refflag", "01");
-
- model.setValue("/root/hidden/ref/spclno", "B" + yy + "-"); //특수검사연번호
-
- } else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "02") {
- //분자유전
- model.toggle("mole");
-
- btn_mole_desc.dispatch("DOMActivate");
- btn_mole_desc.selected = true;
-
- cpt_title.attribute("text") = "분자유전 결과관리";
-
- model.setValue("/root/main/rslt/desc/rslt/refflag", "02");
-
- model.setValue("/root/hidden/ref/spclno", yy + "-"); //특수검사연번호
-
- } else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "03") {
- //세포유전
- model.toggle("cell");
-
- btn_cell_desc.dispatch("DOMActivate");
- btn_cell_desc.selected = true;
-
- cpt_title.attribute("text") = "세포유전 결과관리";
-
- model.setValue("/root/main/rslt/desc/rslt/refflag", "03");
-
- model.setValue("/root/hidden/ref/spclno", yy + "-"); //특수검사연번호
-
- } else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "04") {
- //Immunophenotyping
- model.toggle("im");
-
- cpt_title.attribute("text") = "Immunophenotyping 결과관리";
-
- model.setValue("/root/main/rslt/desc/rslt/refflag", "04");
-
- model.setValue("/root/hidden/ref/spclno", yy + "-"); //특수검사연번호
-
- } else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "05") {
- //Osmotic
- model.toggle("of");
-
- cpt_title.attribute("text") = "Osmotic Fragility 결과관리";
-
- if(getNodesetCount("/root/main/rslt/desc/rslt/osmotic") < 1) {
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/f1con");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/e1con");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/f24con");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/e24con");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/f1pat");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/e1pat");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/f24pat");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/e24pat");
- }
-
- model.setValue("/root/hidden/ref/spclno", "OFT" + yy + "-"); //특수검사연번호
-
- fGridMake();
-
- } else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "06") {
- //ICG
- model.toggle("icg");
-
- cpt_title.attribute("text") = "ICG 결과관리";
-
- model.setValue("/root/main/rslt/desc/rslt/refflag", "06");
-
- model.setValue("/root/hidden/ref/spclno", yy + "-"); //특수검사연번호
-
- } else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "07") {
- //PB
- model.toggle("pb");
-
- cpt_title.attribute("text") = "PB 결과관리";
-
- model.setValue("/root/main/rslt/desc/rslt/refflag", "07");
-
- model.setValue("/root/hidden/ref/spclno", "PB" + yy + "-"); //특수검사연번호
-
- } else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "08") {
- //EP
- model.toggle("ep");
-
- cpt_title.attribute("text") = "EP 결과관리";
-
- model.setValue("/root/main/rslt/desc/rslt/refflag", "08");
-
- model.setValue("/root/hidden/ref/spclno", yy + "-"); //특수검사연번호
-
- } else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "09") {
- //산전기형
- model.toggle("befchildbrth");
-
- cpt_title.attribute("text") = "산전기형 결과관리";
-
- model.setValue("/root/main/rslt/desc/rslt/refflag", "09");
-
- model.setValue("/root/hidden/ref/spclno", yy + "-"); //특수검사연번호
-
- } else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "10") {
- //PRA
- model.toggle("pra");
-
- cpt_title.attribute("text") = "PRA 결과관리";
-
- model.setValue("/root/main/rslt/desc/rslt/refflag", "10");
-
- model.setValue("/root/hidden/ref/spclno", yy + "-"); //특수검사연번호
-
- } else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "11") {
- //교차시험
- model.toggle("cm");
-
- cpt_title.attribute("text") = "교차시험 결과관리";
-
- model.setValue("/root/main/rslt/desc/rslt/refflag", "11");
-
- model.setValue("/root/hidden/ref/spclno", yy + "-"); //특수검사연번호
-
- } else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "12") {
- //TDM
- model.toggle("tdm");
-
- cpt_title.attribute("text") = "TDM 결과관리";
-
- model.setValue("/root/main/rslt/desc/rslt/refflag", "12");
-
- model.setValue("/root/hidden/ref/spclno", yy + "-"); //특수검사연번호
-
- } else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "13") {
- //CKLD
- model.toggle("ckld");
-
- cpt_title.attribute("text") = "CKLD 결과관리";
-
- model.setValue("/root/main/rslt/desc/rslt/refflag", "13");
-
- model.setValue("/root/hidden/ref/spclno", yy + "-"); //특수검사연번호
-
- }else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "14") {
- //FISH
- model.toggle("fish");
-
- btn_fish_desc.dispatch("DOMActivate");
- btn_fish_desc.selected = true;
-
- cpt_title.attribute("text") = "fish&염색체 결과관리";
-
- model.setValue("/root/main/rslt/desc/rslt/refflag", "14");
-
- model.setValue("/root/hidden/ref/spclno", yy + "-"); //특수검사연번호
-
- }else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "15") {
- //STR
- model.toggle("str");
-
- btn_fish_desc.dispatch("DOMActivate");
- btn_fish_desc.selected = true;
-
- cpt_title.attribute("text") = "STR 결과관리";
-
- model.setValue("/root/main/rslt/desc/rslt/refflag", "15");
-
- model.setValue("/root/hidden/ref/spclno", yy + "-"); //특수검사연번호
-
- }else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "99") {
- //범용보고서
- model.toggle("wideuse");
-
- cpt_title.attribute("text") = "범용보고서 결과관리";
-
- model.setValue("/root/main/rslt/desc/rslt/refflag", "99");
-
- model.setValue("/root/hidden/ref/spclno", yy + "-"); //특수검사연번호
-
- }
-
- model.refresh();
-
- }
-
- //환자정보 조회
- function fOnclick_grd_patList(flag){
- model.makeValue("/root/main/rslt/desc/rslt/readrslt", "");
- //alert(flag);
- if(flag != "R") {
- //PB 처럼 판독에서 결과 저장을 하지 않고 검체별에서 결과저장을 한 경우 다시 조회 (flag = "R")가 아니다.
- model.resetInstanceNode("/root/main/testinfo");
- model.resetInstanceNode("/root/main/imglist");
- model.resetInstanceNode("/root/main/imglistld");
- model.resetInstanceNode("/root/main/view");
- model.resetInstanceNode("/root/main/viewld");
- model.removeNodeset("/root/main/rslt/desc/rslt/bfbm");
- model.removeNodeset("/root/main/rslt/desc/rslt/beforerslt");
- model.removeNodeset("/root/main/rslt/desc/rslt/pra");
- model.removeNodeset("/root/main/rslt/desc/rslt/cm");
- model.removeNodeset("/root/main/rslt/desc/rslt/sst");
- model.removeNodeset("/root/main/rslt/desc/rslt/diff");
- model.removeNodeset("/root/main/rslt/desc/rslt/ihc");
- model.removeNodeset("/root/main/rslt/desc/rslt/testlist");
- model.removeNodeset("/root/main/rslt/desc/rslt/cbcrslt");
- model.removeNodeset("/root/main/rslt/desc/rslt/mal1");
- model.removeNodeset("/root/main/rslt/desc/rslt/mal2");
- model.removeNodeset("/root/main/rslt/desc/rslt/mal3");
- model.removeNodeset("/root/main/rslt/desc/rslt/ckld");
- model.removeNodeset("/root/main/rslt/desc/rslt/proteinEP");
- model.removeNodeset("/root/main/rslt/desc/rslt/bm");
- model.removeNodeset("/root/main/rslt/desc/rslt/fishinfo");
- model.removeNodeset("/root/main/rslt/desc/rslt/fishrslt");
- model.removeNodeset("/root/main/rslt/desc/rslt/address");
- model.removeNodeset("/root/main/rslt/desc/rslt/bminter");
- model.removeNodeset("/root/main/immnoa");
- model.removeNodeset("/root/main/immnob");
- model.removeNodeset("/root/main/immnoc");
- model.removeNodeset("/root/main/immnod");
- model.removeNodeset("/root/main/immnoe");
- model.removeNodeset("/root/main/immnof");
-
- model.makeValue("/root/send/bcno" , model.getvalue("/root/hidden/refflag/bcno"));
- model.makeValue("/root/send/testcd" , model.getvalue("/root/hidden/refflag/testcd"));
- model.makeValue("/root/send/prcpgenrflag" , model.getvalue("/root/hidden/refflag/prcpgenrflag"));
- model.makeValue("/root/send/spclrsltformkind" , model.getvalue("/root/hidden/refflag/spclrsltformkind"));
- submit("TRLRR00102"); //환자정보 & 검사리스트
-
-
- if(model.getValue("/root/main/testinfo/spcltestinfo/lastreptid" ) !== ""){
- model.setValue("/root/hidden/testid",model.getValue("/root/main/testinfo/spcltestinfo/lastreptid"));
- fUserNMRef("t");
- }
-
- if(model.getValue("/root/main/testinfo/spcltestinfo/medireptid" ) !== ""){
- model.setValue("/root/hidden/readid",model.getValue("/root/main/testinfo/spcltestinfo/medireptid"));
- fUserNMRef("r");
- }
- // if(model.getValue("/root/main/testinfo/spcltestinfo/lastreptid") == "" ){
- // //alert(1111111);
- // model.setValue("/root/hidden/testid","");
- // model.setValue("/root/hidden/testnm","");
- //
- // }
- // if(model.getValue("/root/main/testinfo/spcltestinfo/medispclid") == "" ){
- // //alert(1111111);
- // model.setValue("/root/hidden/readid","");
- // model.setValue("/root/hidden/readnm","");
- //
- // }
- model.refresh();
- submit("TRLRR00402"); //판독예문
-
- model.removeNodeset("/root/send/bcno");
- model.removeNodeset("/root/send/testcd");
- model.removeNodeset("/root/send/prcpgenrflag");
- }
-
- if(getNodesetCount("/root/main/testinfo/spcltestinfo") > 0) {
- //환자정보가 있을경우
- if(getNodesetCount("/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo") > 0) {
- //의뢰지가 있을 경우 의뢰서 조회 버튼 보이게
- btn_reqref.attribute("visibility") = "visible";
- } else {
- //의뢰지가 없을 경우 의뢰서 조회 버튼 안 보이게
- btn_reqref.attribute("visibility") = "hidden";
- }
-
- if(flag != "R") {
- //PB 처럼 판독에서 결과 저장을 하지 않고 검체별에서 결과저장을 한 경우 다시 조회 (flag = "R")가 아니다.
- fUpPatinfo();
- fRsltCode("");
- }
-
- var refNo = model.getValue("/root/main/rslt/desc/rslt/refflag");
-
- if(model.getValue("/root/main/testinfo/spcltestinfo/rsltstat") == "-" || flag == "R") {
- //재조회이거나 결과플래그가 '-'일 때
- //alert("A");
- if(refNo == "01") {
- //Bone Marrow 결과입력
- model.makeNode("/root/main/rslt/desc/rslt/ssr");
- model.makeNode("/root/main/rslt/desc/rslt/inter");
- model.makeNode("/root/main/rslt/desc/rslt/inter2");
- model.makeNode("/root/main/rslt/desc/rslt/comments");
-
- //기존에 inter로 되어있던 인스턴스 구조를 inter2로 바꾸고
- //결과입력시 inter로 다시 셋해주도록 수정하여,
- // 수정전에 inter로 결과가 들어간 결과값이 조회가 안되어 수정함. 2009.11.04 김성희
- //즉, 조회는 inter로 해오고 화면에는 inter2로 보여줌. 그리고 다시 결과 수정하면 inter로 셋해줌.
- model.setValue("/root/main/rslt/desc/rslt/inter2", model.getValue("/root/main/rslt/desc/rslt/inter"));
-
- group_bminter.attribute("visibility") = "hidden";
- // for(i=1; i<= grd_bminter.rows; i++){
- // model.setValue("/root/main/rslt/desc/rslt/bminter["+ i +"]/chk","N");
- // }
-
- fGetCBCRslt("01"); //CBC 결과
- fGetRelRslt(); //연관검사
- fGetBInterRslt(); //이전검사
- fGetSD(); //Special stain과 BM Diff.count
- fImgRslt("cmb_bm_seq", "cpt_bm_noimg", "img_bm");
-
- } else if(refNo == "02") {
- // 분자유전
- fGetBInterRslt("D"); //Bone Marrow 이전결과와 이전결과
- fAddress("P"); //분자유전주소
- model.makeValue("/root/main/rslt/desc/rslt/address/basecd",model.getValue("/root/main/testinfo/spcltestinfo/address/basecd"));
- model.makeValue("/root/main/rslt/desc/rslt/address/basecdidnm",model.getValue("/root/main/testinfo/spcltestinfo/address/basecdidnm"));
- model.makeValue("/root/main/rslt/desc/rslt/address/basecdnm",model.getValue("/root/main/testinfo/spcltestinfo/address/basecdnm"));
- model.makeValue("/root/main/rslt/desc/rslt/address/basecddesc",model.getValue("/root/main/testinfo/spcltestinfo/address/basecddesc"));
- fGetDetlTcls(); //세부검사
-
- fImgRslt("cmb_mole_seq", "cpt_mole_noimg", "img_mole"); //이미지
-
- } else if(refNo == "03") {
- //세포유전
- model.makeNode("/root/main/rslt/desc/rslt/inter");
- model.makeNode("/root/main/rslt/desc/rslt/comments");
-
- //model.setValue("/root/main/rslt/desc/rslt/comments","aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa");
- fGetBInterRslt("D"); //Bone Marrow 이전결과와 이전결과
- fGetRelRslt(); // 연관검사
- fImgRslt("cmb_cell_seq", "cpt_cell_noimg", "img_cell"); //이미지
- fAddress("D");
- model.makeValue("/root/main/rslt/desc/rslt/address/basecd",model.getValue("/root/main/testinfo/spcltestinfo/address/basecd"));
- model.makeValue("/root/main/rslt/desc/rslt/address/basecdidnm",model.getValue("/root/main/testinfo/spcltestinfo/address/basecdidnm"));
- model.makeValue("/root/main/rslt/desc/rslt/address/basecdnm",model.getValue("/root/main/testinfo/spcltestinfo/address/basecdnm"));
- model.makeValue("/root/main/rslt/desc/rslt/address/basecddesc",model.getValue("/root/main/testinfo/spcltestinfo/address/basecddesc"));
-
- } else if(refNo == "04") {
- //Immunophenotyping
- fGetBInterRslt("D"); //Bone Marrow 이전결과와 이전결과
-
- fGetDetlTcls(); //세부검사
-
- if(getNodesetCount("/root/main/rslt/desc/rslt/detltclsinfo") > 0) {
- for(i = 9; i <= getNodesetCount("/root/main/rslt/desc/rslt/detltclsinfo"); i++) {
- model.makeNode("/root/main/rslt/desc/rslt/detltclsinfo2");
-
- if(getNodesetCount("/root/main/rslt/desc/rslt/detltclsinfo2/testcd") < 1) {
- copyNodesetType("/root/main/rslt/desc/rslt/detltclsinfo2", "/root/main/rslt/desc/rslt/detltclsinfo["+ i +"]");
-
- } else {
- copyNodesetType("/root/main/rslt/desc/rslt/detltclsinfo2", "/root/main/rslt/desc/rslt/detltclsinfo["+ i +"]", "after");
-
- }
- model.removeNodeset("/root/main/rslt/desc/rslt/detltclsinfo["+ i +"]");
- i = i - 1;
- }
- }
-
- model.refresh();
-
- } else if(refNo == "05") {
- //Osmotic
- fImgRslt("cmb_of_seq", "cpt_of_noimg", "img_of"); //이미지
-
- } else if(refNo == "06") {
- //ICG
- model.makeNode("/root/main/rslt/desc/rslt/icg/min5");
- model.makeNode("/root/main/rslt/desc/rslt/icg/min10");
- model.makeNode("/root/main/rslt/desc/rslt/icg/min15");
- model.makeNode("/root/main/rslt/desc/rslt/icg/sosil");
- model.makeNode("/root/main/rslt/desc/rslt/icg/vangam");
- model.makeNode("/root/main/rslt/desc/rslt/icg/r15");
-
- fImgRslt("cmb_icg_seq", "cpt_icg_noimg", "img_icg"); //이미지
- } else if(refNo == "07") { //PB 결과입력
- fGetCBCRslt("07");
-
- model.removeNodeset("/root/main/rslt/desc/rslt/cbc2");
-
- var count = getNodesetCount("/root/main/rslt/desc/rslt/cbcrslt");
- var val = model.getValue("/root/main/rslt/desc/rslt/cbcrslt["+ count +"]/testcd");
- var i = 0;
-
- if(count > 0) {
- for(j = 1; j <= count; j++) {
- tcls = model.getValue("/root/main/rslt/desc/rslt/cbcrslt["+ j +"]/testcd");
-
- if(tcls.substr(3, 3) == "105") {
- //diff결과는 다른 그리드에 표현
- if(i == 0) {
- model.makeNode("/root/main/rslt/desc/rslt/cbc2");
- }
-
- if(getNodesetCount("/root/main/rslt/desc/rslt/cbc2/testcd") < 1) {
- copyNodesetType("/root/main/rslt/desc/rslt/cbc2", "/root/main/rslt/desc/rslt/cbcrslt["+ j +"]");
- } else {
- copyNodesetType("/root/main/rslt/desc/rslt/cbc2", "/root/main/rslt/desc/rslt/cbcrslt["+ j +"]", "after");
- }
-
- if(model.getValue("/root/main/rslt/desc/rslt/cbcrslt["+ j +"]/testcd") == val) {
- model.removeNodeset("/root/main/rslt/desc/rslt/cbcrslt["+ j +"]");
- break;
- } else {
- model.removeNodeset("/root/main/rslt/desc/rslt/cbcrslt["+ j +"]");
- }
-
- j = j - 1;
- i++;
-
- }
- }
- model.refresh();
-
- }
- fGetMalRslt();
-
- } else if(refNo == "08") {
- //EP
- var tclscd = model.getValue("/root/main/testinfo/spcltestinfo/tclscd");
- model.makeValue("/root/main/rslt/desc/rslt/tclscd",tclscd);
-
- var testcd = model.getValue("/root/main/testinfo/spcltestinfo/testcd");
- model.makeValue("/root/main/rslt/desc/rslt/testcd", testcd);
-
- if(tclscd == "LSI103" || tclscd == "LSI102" || testcd == "LSI103" || testcd == "LSI102") {
- fGetproteinEP(); //proteinEP검사
-
- for (i=1;i <= grd_proteinEP.rows;i++){
- var vJudg1 = model.getvalue("/root/main/rslt/desc/rslt/proteinEP["+i+"]/judgmarkorigin");
-
- if(vJudg1 == "H") {
- grd_proteinEP.cellStyle ("background-color",i,3,i,3) = "#f7a08b";
- } else if(vJudg1 == "L") {
- grd_proteinEP.cellStyle ("background-color",i,3,i,3) = "#b9e5fb";
- } else {
- grd_proteinEP.cellStyle ("background-color",i,3,i,3) = "#ffffff";
- }
-
- var vJudg2 = model.getvalue("/root/main/rslt/desc/rslt/proteinEP["+i+"]/judgmarkpersent");
-
- if(vJudg2 == "H") {
- grd_proteinEP.cellStyle ("background-color",i,5,i,5) = "#f7a08b";
- } else if(vJudg2 == "L") {
- grd_proteinEP.cellStyle ("background-color",i,5,i,5) = "#b9e5fb";
- } else {
- grd_proteinEP.cellStyle ("background-color",i,5,i,5) = "#ffffff";
- }
- }
-
- } else {
- //alert("$#@$@#$@#$@#$@#$@#$@#");
- fGetDetlTcls(); //세부검사
-
- }
-
- if( tclscd == "LSI103" || tclscd == "LSI102" || testcd == "LSI103" || testcd == "LSI102") {
- grd_proteinEP.attribute("visibility") = "visible"
- grd_ep_dtcl.attribute("visibility") = "hidden"
-
- } else {
- grd_proteinEP.attribute("visibility") = "hidden"
- grd_ep_dtcl.attribute("visibility") = "visible"
-
- }
-
- if(tclscd == "LSI103" || testcd == "LSI103" ){
- grd_proteinEP.caption = "^검사명^정량(mg/dL)^참고치(mg/dL)^결과(%)^참고치(%)^이전결과^";
- }
-
- if(tclscd == "LSI102" || testcd == "LSI102"){
- grd_proteinEP.caption = "^검사명^정량(g/dL)^참고치(g/dL)^결과(%)^참고치(%)^이전결과^";
- }
-
- fGetRelRslt(); //연관검사
-
- if(tclscd == "LSI104" || tclscd == "LSI105" || testcd == "LSI104" || testcd == "LSI105" ){
- caption29.attribute("visibility") = "hidden"
- cmb_ep_seq.attribute("visibility") = "hidden"
- group4.attribute("visibility") = "hidden"
- group5.attribute("visibility") = "visible"
- model.copyNode("/root/send/data1" , "/root/main/testinfo/spcltestinfo");
-
- submit("TRLRR01501");
-
- fImgRef1( "cmb_ep_seq", "cpt_immno_noimg","img_immno1"); //immno이미지
- fImgRef2( "cmb_ep_seq", "cpt_immno_noimg","img_immno2"); //immno이미지
- fImgRef3( "cmb_ep_seq", "cpt_immno_noimg","img_immno3"); //immno이미지
- fImgRef4( "cmb_ep_seq", "cpt_immno_noimg","img_immno4"); //immno이미지
- fImgRef5( "cmb_ep_seq", "cpt_immno_noimg","img_immno5"); //immno이미지
- fImgRef6( "cmb_ep_seq", "cpt_immno_noimg","img_immno6"); //immno이미지
-
- } else {
- fImgRslt("cmb_ep_seq", "cpt_ep_noimg", "img_ep"); //이미지
- caption29.attribute("visibility") = "visible"
- cmb_ep_seq.attribute("visibility") = "visible"
- //alert("ASDFASDF");
- group4.attribute("visibility") = "visible"
- group5.attribute("visibility") = "hidden"
-
- }
- model.removeNodeset("/root/send/data1");
- model.makeNode("/root/send/data1");
- model.refresh();
-
- } else if(refNo == "09") {
- //산전기형
- fGetRelRslt(); //연관검사
-
- } else if(refNo == "10") {
- //PRA
- fGetPRA(); //PRA 검사항목
-
- } else if(refNo == "11") {
- //교차시험
- fGetCM(); //교차시험 검사항목
-
- } else if(refNo == "12") {
- //TDM
- fGetRelRslt(); //연관검사
-
- } else if(refNo == "13") {
- //CKLD
- fGetCKLD(); //CKLD 검사항목
- var testcd = model.getValue("/root/main/testinfo/spcltestinfo/testcd");
-
- model.setValue("/root/main/testinfo/spcltestinfo/testcd", "LSI113"); //LD 이미지 조회하기 위해 임시로 LD 코드로 박음.
- fImgRslt("cmb_ld_seq", "cpt_ld_noimg", "img_ld"); //이미지
- model.setValue("/root/main/testinfo/spcltestinfo/testcd", testcd); //원상복귀..
-
- fImgRslt("cmb_ck_seq", "cpt_ck_noimg", "img_ck"); //이미지
-
- } else if(refNo == "14"){
- model.removeNodeset("/root/hidden/fishinfo");
- model.removeNodeset("/root/hidden/fishrslt");
- model.makeNode("/root/main/rslt/desc/rslt/inter");
- model.makeNode("/root/main/rslt/desc/rslt/comments");
- // model.makenode("/root/main/rslt/desc/rslt/fishrslt/reptrslt1");
- // model.makenode("/root/main/rslt/desc/rslt/fishrslt/reptrslt2");
- fAddress("D");
- model.makeValue("/root/main/rslt/desc/rslt/address/basecd",model.getValue("/root/main/testinfo/spcltestinfo/address/basecd"));
- model.makeValue("/root/main/rslt/desc/rslt/address/basecdidnm",model.getValue("/root/main/testinfo/spcltestinfo/address/basecdidnm"));
- model.makeValue("/root/main/rslt/desc/rslt/address/basecdnm",model.getValue("/root/main/testinfo/spcltestinfo/address/basecdnm"));
- model.makeValue("/root/main/rslt/desc/rslt/address/basecddesc",model.getValue("/root/main/testinfo/spcltestinfo/address/basecddesc"));
- model.makeValue("/root/main/rslt/desc/rslt/tclscd",model.getValue("/root/main/testinfo/spcltestinfo/tclscd"));
-
- if(model.getValue("/root/main/testinfo/spcltestinfo/tclscd") == "LDR113") {
- grd_fishrslt1.attribute("visibility") = "hidden"
- grd_fishrslt2.attribute("visibility") = "visible"
- }else {
- grd_fishrslt1.attribute("visibility") = "visible"
- grd_fishrslt2.attribute("visibility") = "hidden"
- }
-
- var tclskind = model.getValue("/root/main/testinfo/spcltestinfo/tclskind");
- if(tclskind != "1") {
- fGetFishRslt();
- } else {
- fGetFishRslt("R");
- }
- model.refresh();
-
- } else if(refNo == "15") {
- model.makeNode("/root/main/rslt/desc/rslt/inter");
- model.makeNode("/root/main/rslt/desc/rslt/comments");
- // model.makenode("/root/main/rslt/desc/rslt/fishrslt/reptrslt1");
- // model.makenode("/root/main/rslt/desc/rslt/fishrslt/reptrslt2");
-
- fGrdReMake();
- fGrdReMake2();
-
- fGetDetlTcls(); //세부검사
-
- model.refresh();
-
- } else if(refNo == "99") {
- //범용
- grd_wideuse_dtcl1.rebuildStyle();
- model.makeNode("/root/main/rslt/desc/rslt/ssr");
- model.makeNode("/root/main/rslt/desc/rslt/inter");
- model.makeNode("/root/main/rslt/desc/rslt/comments");
-
- var tclscd = model.getValue("/root/main/testinfo/spcltestinfo/tclscd");
- //alert(tclscd);
- model.makeValue("/root/main/rslt/desc/rslt/tclscd",tclscd);
-
- fGetDetlTcls(); //세부검사
-
- //산전검사이면
- if(tclscd == model.getValue("/root/init/LB0902/cd") ){
- fSetTestGridStyle("Y"); //산전검사일때 화면 구조 변경
- }else{
- fSetTestGridStyle("N"); //산전검사 아닐때 화면 원래대로
- }
-
- /*if(getNodesetCount("/root/main/rslt/desc/rslt/detltclsinfo") > 0) {
- for(i = 13; i <= getNodesetCount("/root/main/rslt/desc/rslt/detltclsinfo"); i++) {
- model.makeNode("/root/main/rslt/desc/rslt/detltclsinfo2");
-
- if(getNodesetCount("/root/main/rslt/desc/rslt/detltclsinfo2/testcd") < 1) {
- copyNodesetType("/root/main/rslt/desc/rslt/detltclsinfo2", "/root/main/rslt/desc/rslt/detltclsinfo["+ i +"]");
- } else {
- copyNodesetType("/root/main/rslt/desc/rslt/detltclsinfo2", "/root/main/rslt/desc/rslt/detltclsinfo["+ i +"]", "after");
- }
- model.removeNodeset("/root/main/rslt/desc/rslt/detltclsinfo["+ i +"]");
- i = i - 1;
- }
- }*/
-
- if(getNodesetCount("/root/main/rslt/desc/rslt/detltclsinfo") > 0 && model.getValue("/root/hidden/ref/parentyn") == "Y") {
- for(i = 1; i <= getNodesetCount("/root/main/rslt/desc/rslt/detltclsinfo"); i++) {
- setRowStyle("grd_wideuse_dtcl1", "5", "비정상", "reptrslt", "equal"); //"5" 붉은색
- }
- }
-
- model.refresh();
-
- fImgRslt("cmb_wideuse_seq", "cpt_wideuse_noimg", "img_wideuse"); //이미지
- }
-
- } else {
- //결과저장 및 결과보고 되어있을 경우 서술결과(판독결과)만 조회
-
- fGetRead();
- //alert("B");
- //model.resetInstanceNode("/root/main/view");
- refNo = model.getValue("/root/main/rslt/desc/rslt/refflag");
-
- if(refNo == "01") {
- model.makeNode("/root/main/rslt/desc/rslt/inter2");
- //기존에 inter로 되어있던 인스턴스 구조를 inter2로 바꾸고
- //결과입력시 inter로 다시 셋해주도록 수정하여,
- //수정전에 inter로 결과가 들어간 결과값이 조회가 안되어 수정함. 2009.11.04 김성희
- //즉, 조회는 inter로 해오고 화면에는 inter2로 보여줌. 그리고 다시 결과 수정하면 inter로 셋해줌.
- model.setValue("/root/main/rslt/desc/rslt/inter2", model.getValue("/root/main/rslt/desc/rslt/inter"));
-
- group_bminter.attribute("visibility") = "hidden";
- for(i=1; i < grd_bminter.rows; i++){
- if(model.getValue("/root/main/rslt/desc/rslt/bminter["+ i +"]/chk") != ""){
- model.setValue("/root/main/rslt/desc/rslt/bminter["+ i +"]/chk","false");
- }
- }
- fImgRslt("cmb_bm_seq", "cpt_bm_noimg", "img_bm");
-
- } else if(refNo == "02") {
- fImgRslt("cmb_mole_seq", "cpt_mole_noimg", "img_mole");
-
- } else if(refNo == "03") {
- fImgRslt("cmb_cell_seq", "cpt_cell_noimg", "img_cell");
-
- } else if(refNo == "05") { //Osmotic Fragility
- fImgRslt("cmb_of_seq", "cpt_of_noimg", "img_of"); //이미지
-
- } else if(refNo == "06") { //ICG
- fImgRslt("cmb_icg_seq", "cpt_icg_noimg", "img_icg"); //이미지
-
- } else if(refNo == "07") { //PB
- setRowStyle("grd_pb_mal1", "0", "", "testcd");
- setRowStyle("grd_pb_mal2", "0", "", "testcd");
- setRowStyle("grd_pb_mal3", "0", "", "testcd");
-
- } else if(refNo == "08") { //EP
- fGetRelRslt(); //연관검사
-
- var tclscd = model.getValue("/root/main/testinfo/spcltestinfo/tclscd");
- model.makeValue("/root/main/rslt/desc/rslt/tclscd",tclscd);
-
- // 2010-03-23 JJH : EP Panel항목으로 추가
- var testcd = model.getValue("/root/main/testinfo/spcltestinfo/testcd");
- model.makeValue("/root/main/rslt/desc/rslt/tclscd",testcd);
-
- if(tclscd == "LSI103" || tclscd == "LSI102" || testcd == "LSI103" || testcd == "LSI102") {
- grd_proteinEP.attribute("visibility") = "visible";
- grd_ep_dtcl.attribute("visibility") = "hidden";
- } else {
- grd_proteinEP.attribute("visibility") = "hidden";
- grd_ep_dtcl.attribute("visibility") = "visible";
- }
-
- if(tclscd == "LSI103" || testcd == "LSI103") {
- grd_proteinEP.caption = "^검사명^정량(mg/dL)^참고치(mg/dL)^결과(%)^참고치(%)^이전결과^";
- }
-
- if(tclscd == "LSI102" || testcd == "LSI102" ) {
- grd_proteinEP.caption = "^검사명^정량(g/dL)^참고치(g/dL)^결과(%)^참고치(%)^이전결과^";
- }
-
- if( tclscd == "LSI103" || tclscd == "LSI102" || testcd == "LSI103" || testcd == "LSI102") {
- //alert("!@$@#$$!@$");
- fGetproteinEP();//proteinEP검사
-
- for (i=1;i <= grd_proteinEP.rows;i++){
- //alert ("!!!!!!!!!!!!!!!!!!!!!!");
- var vJudg1 = model.getvalue("/root/main/rslt/desc/rslt/proteinEP["+i+"]/judgmarkorigin");
-
- if(vJudg1 == "H"){
- grd_proteinEP.cellStyle ("background-color",i,3,i,3) = "#f7a08b";
- } else if(vJudg1 == "L"){
- grd_proteinEP.cellStyle ("background-color",i,3,i,3) = "#b9e5fb";
- } else {
- grd_proteinEP.cellStyle ("background-color",i,3,i,3) = "#ffffff";
- }
-
- var vJudg2 = model.getvalue("/root/main/rslt/desc/rslt/proteinEP["+i+"]/judgmarkpersent");
-
- if(vJudg2 == "H"){
- grd_proteinEP.cellStyle ("background-color",i,5,i,5) = "#f7a08b";
- } else if(vJudg2 == "L") {
- grd_proteinEP.cellStyle ("background-color",i,5,i,5) = "#b9e5fb";
- } else {
- grd_proteinEP.cellStyle ("background-color",i,5,i,5) = "#ffffff";
- }
- }
-
- }
-
- if(tclscd == "LSI104" || tclscd == "LSI105" || testcd == "LSI104" || testcd == "LSI105" ){
- caption29.attribute("visibility") = "hidden"
- cmb_ep_seq.attribute("visibility") = "hidden"
- group4.attribute("visibility") = "hidden"
- group5.attribute("visibility") = "visible"
- model.copyNode("/root/send/data1" , "/root/main/testinfo/spcltestinfo");
-
- submit("TRLRR01501");
-
- fImgRef1( "cmb_ep_seq", "cpt_immno_noimg","img_immno1"); //immno이미지
- fImgRef2( "cmb_ep_seq", "cpt_immno_noimg","img_immno2"); //immno이미지
- fImgRef3( "cmb_ep_seq", "cpt_immno_noimg","img_immno3"); //immno이미지
- fImgRef4( "cmb_ep_seq", "cpt_immno_noimg","img_immno4"); //immno이미지
- fImgRef5( "cmb_ep_seq", "cpt_immno_noimg","img_immno5"); //immno이미지
- fImgRef6( "cmb_ep_seq", "cpt_immno_noimg","img_immno6"); //immno이미지
- } else {
- fImgRslt("cmb_ep_seq", "cpt_ep_noimg", "img_ep"); //이미지
- group4.attribute("visibility") = "visible"
- group5.attribute("visibility") = "hidden"
- caption29.attribute("visibility") = "visible"
- cmb_ep_seq.attribute("visibility") = "visible"
- }
-
- model.removeNodeset("/root/send/data1");
- model.makeNode("/root/send/data1");
- model.refresh();
-
- } else if(refNo == "13") {
- //CKLD
- var testcd = model.getValue("/root/main/testinfo/spcltestinfo/testcd");
-
- model.setValue("/root/main/testinfo/spcltestinfo/testcd", "LSI113"); //LD 이미지 조회하기 위해 임시로 LD 코드로 박음.
- fImgRslt("cmb_ld_seq", "cpt_ld_noimg", "img_ld"); //이미지
- model.setValue("/root/main/testinfo/spcltestinfo/testcd", testcd); //원상복귀..
-
- fImgRslt("cmb_ck_seq", "cpt_ck_noimg", "img_ck"); //이미지
-
- } else if(refNo == "14") {
- //FISH
- if(model.getValue("/root/main/testinfo/spcltestinfo/tclscd") == "LDR113") {
- grd_fishrslt1.attribute("visibility") = "hidden"
- grd_fishrslt2.attribute("visibility") = "visible"
- }else {
- grd_fishrslt1.attribute("visibility") = "visible"
- grd_fishrslt2.attribute("visibility") = "hidden"
- }
-
- } else if(refNo == "15") {
- //STR
- fGrdReMake();
- fGrdReMake2();
-
- var count = getNodesetCount("/root/main/rslt/desc/rslt/detltclsinfo");
-
- for (i =1 ; i<= count; i++){
- model.setValue("/root/main/testinfo/spcltestinfo/inptrslt"+ i +"",model.getValue("/root/main/rslt/desc/rslt/detltclsinfo["+ i +"]/reptrslt"));
- }
-
- } else if(refNo == "99") { //범용보고서
- grd_wideuse_dtcl1.rebuildStyle();
-
- var tclscd = model.getValue("/root/main/testinfo/spcltestinfo/tclscd");
- //alert(model.getValue("/root/init/LB0902/cd"));
- //alert(model.getValue("/root/main/testinfo/spcltestinfo/rsltstat"));
- //산전검사이면서 최종보고전 이면 세부검사 조회.
- if(tclscd == model.getValue("/root/init/LB0902/cd")){
- if(model.getValue("/root/main/testinfo/spcltestinfo/rsltstat") < 4){
- model.makeValue("/root/main/rslt/desc/rslt/tclscd",tclscd);
- fGetDetlTcls(); //세부검사
- }
- fSetTestGridStyle("Y"); //산전검사일때 화면 구조 변경
-
- } else {
- fSetTestGridStyle("N"); //산전검사 아닐때 화면 원래대로
- }
-
- if(getNodesetCount("/root/main/rslt/desc/rslt/detltclsinfo") > 0 && model.getValue("/root/hidden/ref/parentyn") == "Y") {
- for(i = 1; i <= getNodesetCount("/root/main/rslt/desc/rslt/detltclsinfo"); i++) {
- setRowStyle("grd_wideuse_dtcl1", "5", "비정상", "reptrslt", "equal"); //"5" 붉은색
- }
- }
- model.refresh();
-
- fImgRslt("cmb_wideuse_seq", "cpt_wideuse_noimg", "img_wideuse"); //이미지
- }
- }
-
- model.removeNodeset("/root/send/bcno");
- model.removeNodeset("/root/send/testcd");
- }
-
- //위탁기관 존재시 위탁기관 Visible
- if(model.getValue("/root/main/testinfo/spcltestinfo/exla") != ""){
- cbo_exla.visible = true;
- cap_exla.visible = true;
- } else {
- cbo_exla.visible = false;
- cap_exla.visible = false;
- }
-
- model.refresh();
- }
-
- //산전검사용 화면 구조 변경
- function fSetTestGridStyle(gbn){
- var param = gbn;
-
- if(param == "Y"){
- grd_wideuse_dtcl1.colHidden(grd_wideuse_dtcl1.colRef("rsltunit")) = false; //단위
-
- grd_wideuse_dtcl1.colWidth(grd_wideuse_dtcl1.colRef("tclsscrnnm")) = 306; //검사명
- grd_wideuse_dtcl1.colWidth(grd_wideuse_dtcl1.colRef("rsltunit")) = 60; //단위
-
- grd_wideuse_dtcl1.refresh();
-
- group7.visible = false;
- caption109.visible = false;
- caption136.visible = false;
- cmb_wideuse_seq.visible = false;
- button28.visible = false;
- line74.visible = false;
-
- caption111.attribute("top") = 10;
- line77.attribute("y1") = 25;
- line77.attribute("y2") = 25;
- tar_wideuse_readrslt.attribute("top") = 30;
-
- caption139.attribute("top") = 130;
- line109.attribute("y1") = 145;
- line109.attribute("y2") = 145;
- tar_wideuse_inter.attribute("top") = 150;
- tar_wideuse_inter.attribute("height") = 420;
-
- } else if(param == "N") {
- grd_wideuse_dtcl1.colHidden(grd_wideuse_dtcl1.colRef("rsltunit")) = true; //단위
-
- grd_wideuse_dtcl1.colWidth(grd_wideuse_dtcl1.colRef("tclsscrnnm")) = 406; //결과
- grd_wideuse_dtcl1.colWidth(grd_wideuse_dtcl1.colRef("rsltunit")) = 0; //결과
-
- grd_wideuse_dtcl1.refresh();
- group7.visible = true;
- caption109.visible = true;
- caption136.visible = true;
- cmb_wideuse_seq.visible = true;
- button28.visible = true;
- line74.visible = true;
-
- caption111.attribute("top") = 385;
- line77.attribute("y1") = 400;
- line77.attribute("y2") = 400;
- tar_wideuse_readrslt.attribute("top") = 405;
-
- caption139.attribute("top") = 500;
- line109.attribute("y1") = 515;
- line109.attribute("y2") = 515;
- tar_wideuse_inter.attribute("top") = 520;
- tar_wideuse_inter.attribute("height") = 55;
-
- }
- }
-
- //CBC 결과
- function fGetCBCRslt(viewflag) {
- model.makeValue("/root/send/pid", model.getValue("/root/main/testinfo/spcltestinfo/pid"));
- model.makeValue("/root/send/bcno", model.getValue("/root/main/testinfo/spcltestinfo/bcno"));
- model.makeValue("/root/send/tclsflag", viewflag);
-
- submit("TRLRR00401");
-
- model.removeNodeset("/root/send/pid");
-
- model.refresh();
- }
-
- //연관결과
- function fGetRelRslt() {
- model.makeValue("/root/send/pid", model.getValue("/root/main/testinfo/spcltestinfo/pid"));
- model.makeValue("/root/send/spccd", model.getValue("/root/main/testinfo/spcltestinfo/spccd"));
- model.makeValue("/root/send/testcd", model.getValue("/root/main/testinfo/spcltestinfo/testcd"));
-
- submit("TRLRR90401");
-
- model.removeNodeset("/root/send/pid");
- model.removeNodeset("/root/send/testcd");
- model.removeNodeset("/root/send/spccd");
-
- model.refresh();
- }
-
- //BM 이전결과, 이전검사결과
- function fGetBInterRslt(flag) {
- model.makeValue("/root/send/pid", model.getValue("/root/main/testinfo/spcltestinfo/pid"));
- if(flag == "D") { //Bone Marrow에서의 이전결과 조회가 아닐 때 코드픽스
- model.makeValue("/root/send/testcd", "LHB001");
- }else {
- model.makeValue("/root/send/testcd", model.getValue("/root/main/testinfo/spcltestinfo/testcd"));
- }
- model.makeValue("/root/send/tclscd", model.getValue("/root/main/testinfo/spcltestinfo/testcd"));
- model.makeValue("/root/send/spclrsltformkind", model.getValue("/root/main/rslt/desc/rslt/refflag"));
-
- submit("TRLRR90402");
-
- if(getNodesetCount("/root/main/rslt/desc/rslt/bfbm") > 0) { //Bone Marrow 이전결과
- //model.setValue("/root/main/rslt/desc/rslt/bfbm/inter", model.getValue("/root/main/rslt/desc/rslt/bfbm/descrslt/rslt/inter"));
- //model.removeNodeset("/root/main/rslt/desc/rslt/bfbm/descrslt");
- }
-
- if(getNodesetCount("/root/main/rslt/desc/rslt/beforerslt") > 0) { //이전검사결과
- if(getNodesetCount("/root/main/rslt/desc/rslt/beforerslt/inter/inter") > 0) {
- //model.setValue("/root/main/rslt/desc/rslt/beforerslt/inter", model.getValue("/root/main/rslt/desc/rslt/beforerslt/descrslt/rslt/inter"));
- } else {
- //model.setValue("/root/main/rslt/desc/rslt/beforerslt/inter", model.getValue("/root/main/rslt/desc/rslt/beforerslt/descrslt/rslt/readrslt"));
- model.makeValue("/root/main/rslt/desc/rslt/beforerslt/inter/inter", model.getValue("/root/main/rslt/desc/rslt/beforerslt/readrslt/readrslt"));
- }
-
- //model.removeNodeset("/root/main/rslt/desc/rslt/beforerslt/descrslt");
- }
-
- model.removeNodeset("/root/send/pid");
- model.removeNodeset("/root/send/testcd");
- model.removeNodeset("/root/send/tclscd");
-
- model.refresh();
-
- }
-
- //Special Stain, Diff조회
- function fGetSD() {
- submit("TRLRR00407");
- }
-
- function fGetFishRslt(flag){
- //alert(flag);
- //alert(model.getValue("/root/main/testinfo/spcltestinfo/tclskind"));
- /*if(flag == "R"){
-
- model.makeValue("/root/send/bcno", model.getValue("/root/main/testinfo/spcltestinfo/bcno"));
- model.makeValue("/root/send/testcd", model.getValue("/root/main/testinfo/spcltestinfo/testcd"));
- model.makeValue("/root/send/tclskind",model.getValue("/root/main/testinfo/spcltestinfo/tclskind"));
- model.makeValue("/root/send/tclscd",model.getValue("/root/main/testinfo/spcltestinfo/tclscd"));
- submit("TRLRR00411");
-
- //alert(count);
- //alert(count1);
- var i=0;
- var count1 = getNodesetCount("/root/hidden/fishinfo");
-
- for(i = 1; i <= count1; i++) {
- model.makeValue("/root/main/rslt/desc/rslt/fishinfo["+ i +"]/basecdnm",model.getValue("/root/hidden/fishinfo["+ i +"]/fishinfo/basecdnm"));
- model.makeValue("/root/main/rslt/desc/rslt/fishinfo["+ i +"]/basecddesc",model.getValue("/root/hidden/fishinfo["+ i +"]/fishinfo/basecddesc"));
- model.makeValue("/root/main/rslt/desc/rslt/tclsnm["+ i +"]",model.getValue("/root/hidden/tclsnm["+ i +"]"))
- model.makeValue("/root/main/rslt/desc/rslt/readrslt2["+ i +"]",model.getValue("/root/hidden/readrslt["+ i +"]"));
- }
-
- i=0;
- var j=0;
- count1 = getNodesetCount("/root/hidden/fishrslt");
- var count3 = 0;
-
- for(i = 1; i <= count1; i++){
- var count2 = getNodesetCount("/root/hidden/fishrslt["+ i +"]/fishrslt");
- //alert(count2);
- for(j=1;j<= count2; j++){
- count3 ++;
- model.makeValue("/root/main/rslt/desc/rslt/fishrslt["+ count3 +"]/basecdnm",model.getValue("/root/hidden/fishrslt["+ i +"]/fishrslt["+ j +"]/basecdnm"));
- model.makeValue("/root/main/rslt/desc/rslt/fishrslt["+ count3 +"]/reptrslt",model.getValue("/root/hidden/fishrslt["+ i +"]/fishrslt["+ j +"]/reptrslt"));
- model.makeValue("/root/main/rslt/desc/rslt/fishrslt["+ count3 +"]/reptrslt1",model.getValue("/root/hidden/fishrslt["+ i +"]/fishrslt["+ j +"]/reptrslt1"));
- model.makeValue("/root/main/rslt/desc/rslt/fishrslt["+ count3 +"]/reptrslt2",model.getValue("/root/hidden/fishrslt["+ i +"]/fishrslt["+ j +"]/reptrslt2"));
- }
- }
- } else {*/
- model.makeValue("/root/send/bcno", model.getValue("/root/main/testinfo/spcltestinfo/bcno"));
- model.makeValue("/root/send/testcd", model.getValue("/root/main/testinfo/spcltestinfo/testcd"));
- submit("TRLRR00408");
- model.makeValue("/root/main/rslt/desc/rslt/tclsscrnnm",model.getValue("/root/main/testinfo/detailtestinfo/tclsscrnnm"));
- //}
-
- //alert(model.getValue("/root/send/testcd"));
- }
-
- //말초도말검사
- function fGetMalRslt() {
- model.removeNodeset("/root/main/rslt/desc/rslt/mal1");
- model.removeNodeset("/root/main/rslt/desc/rslt/mal2");
- model.removeNodeset("/root/main/rslt/desc/rslt/mal3");
-
- model.makeValue("/root/send/bcno", model.getValue("/root/main/testinfo/spcltestinfo/bcno"));
-
- submit("TRLRR00405");
-
- count = getNodesetCount("/root/main/rslt/desc/rslt/mal1");
-
- var ref1 = false;
- var ref2 = false;
- var val1 = model.getValue("/root/main/rslt/desc/rslt/mal1[12]/testcd");
- var val2 = model.getValue("/root/main/rslt/desc/rslt/mal1[24]/testcd");
- var val3 = model.getValue("/root/main/rslt/desc/rslt/mal1["+ count +"]/testcd");
- tCount = 1;
- if(count > 0) {
- model.makeNode("/root/main/rslt/desc/rslt/mal2");
- model.makeNode("/root/main/rslt/desc/rslt/mal3");
-
- for(i=1; i<=count; i++) {
- if(model.getValue("/root/main/rslt/desc/rslt/mal1["+ i +"]/testcd") == "") {
- if(tCount == 1) {
- } else {
- model.setValue("/root/main/rslt/desc/rslt/mal1["+ i +"]/reptrslt", "");
- model.setValue("/root/main/rslt/desc/rslt/mal1["+ i +"]/bfrslt", "");
- }
- tCount++;
- }
-
- if(!ref1 && !ref2) {
- if(model.getValue("/root/main/rslt/desc/rslt/mal1["+ i +"]/testcd") == val1) {
- ref1 = true;
- }
- } else if(ref1 && !ref2) {
- if(getNodesetCount("/root/main/rslt/desc/rslt/mal2/testcd") < 1) {
- copyNodesetType("/root/main/rslt/desc/rslt/mal2", "/root/main/rslt/desc/rslt/mal1["+ i +"]");
- } else {
- copyNodesetType("/root/main/rslt/desc/rslt/mal2", "/root/main/rslt/desc/rslt/mal1["+ i +"]", "after");
- }
-
- if(model.getValue("/root/main/rslt/desc/rslt/mal1["+ i +"]/testcd") == val2) {
- model.removeNodeset("/root/main/rslt/desc/rslt/mal1["+ i +"]");
- ref2 = true;
- } else {
- model.removeNodeset("/root/main/rslt/desc/rslt/mal1["+ i +"]");
- }
- i = i - 1;
- } else if(ref1 && ref2) {
- if(getNodesetCount("/root/main/rslt/desc/rslt/mal3/testcd") < 1) {
- copyNodesetType("/root/main/rslt/desc/rslt/mal3", "/root/main/rslt/desc/rslt/mal1["+ i +"]");
- } else {
- copyNodesetType("/root/main/rslt/desc/rslt/mal3", "/root/main/rslt/desc/rslt/mal1["+ i +"]", "after");
- }
-
- if(model.getValue("/root/main/rslt/desc/rslt/mal1["+ i +"]/testcd") == val3) {
- model.removeNodeset("/root/main/rslt/desc/rslt/mal1["+ i +"]");
- break;
- } else {
- model.removeNodeset("/root/main/rslt/desc/rslt/mal1["+ i +"]");
- }
- i = i - 1;
- }
- }
- }
- model.refresh();
-
- setRowStyle("grd_pb_mal1", "0", "", "testcd");
- setRowStyle("grd_pb_mal2", "0", "", "testcd");
- setRowStyle("grd_pb_mal3", "0", "", "testcd");
-
- model.removeNodeset("/root/send/bcno");
-
- model.refresh();
- }
-
- //of그리드 만들기
- function fGridMake() {
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1con[1]");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1con[1]/nacl");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1con[1]/od");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1con[1]/hm");
-
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1pat[1]");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1pat[1]/nacl");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1pat[1]/od");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1pat[1]/hm");
-
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24con[1]");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24con[1]/nacl");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24con[1]/od");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24con[1]/hm");
-
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24pat[1]");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24pat[1]/nacl");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24pat[1]/od");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24pat[1]/hm");
-
- model.setValue("/root/main/rslt/desc/rslt/osmotic/incu1con[1]/nacl", fCOMLIS_RstRound(1, 2, 1)); //ex) 0.3 -> 0.30
- model.setValue("/root/main/rslt/desc/rslt/osmotic/incu1pat[1]/nacl", fCOMLIS_RstRound(1, 2, 1));
- model.setValue("/root/main/rslt/desc/rslt/osmotic/incu24con[1]/nacl", fCOMLIS_RstRound(1, 2, 1));
- model.setValue("/root/main/rslt/desc/rslt/osmotic/incu24pat[1]/nacl", fCOMLIS_RstRound(1, 2, 1));
-
-
-
- val = 0.90;
-
- for(i = 2; i <= 15; i++) {
- val = val - 0.05 ;
-
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1con["+ i +"]");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1con["+ i +"]/nacl");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1con["+ i +"]/od");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1con["+ i +"]/hm");
-
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1pat["+ i +"]");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1pat["+ i +"]/nacl");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1pat["+ i +"]/od");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1pat["+ i +"]/hm");
-
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24con["+ i +"]");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24con["+ i +"]/nacl");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24con["+ i +"]/od");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24con["+ i +"]/hm");
-
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24pat["+ i +"]");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24pat["+ i +"]/nacl");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24pat["+ i +"]/od");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24pat["+ i +"]/hm");
-
- model.setValue("/root/main/rslt/desc/rslt/osmotic/incu1con["+ i +"]/nacl", fCOMLIS_RstRound(val, 2, 1)); //ex) 0.3 -> 0.30
- model.setValue("/root/main/rslt/desc/rslt/osmotic/incu1pat["+ i +"]/nacl", fCOMLIS_RstRound(val, 2, 1));
- model.setValue("/root/main/rslt/desc/rslt/osmotic/incu24con["+ i +"]/nacl", fCOMLIS_RstRound(val, 2, 1));
- model.setValue("/root/main/rslt/desc/rslt/osmotic/incu24pat["+ i +"]/nacl", fCOMLIS_RstRound(val, 2, 1));
- }
-
- for(i = 16; i <= 17; i++) {
- val = val - 0.1 ;
-
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1con["+ i +"]");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1con["+ i +"]/nacl");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1con["+ i +"]/od");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1con["+ i +"]/hm");
-
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1pat["+ i +"]");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1pat["+ i +"]/nacl");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1pat["+ i +"]/od");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu1pat["+ i +"]/hm");
-
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24con["+ i +"]");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24con["+ i +"]/nacl");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24con["+ i +"]/od");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24con["+ i +"]/hm");
-
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24pat["+ i +"]");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24pat["+ i +"]/nacl");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24pat["+ i +"]/od");
- model.makeNode("/root/main/rslt/desc/rslt/osmotic/incu24pat["+ i +"]/hm");
-
- model.setValue("/root/main/rslt/desc/rslt/osmotic/incu1con["+ i +"]/nacl", fCOMLIS_RstRound(val, 2, 1)); //ex) 0.3 -> 0.30
- model.setValue("/root/main/rslt/desc/rslt/osmotic/incu1pat["+ i +"]/nacl", fCOMLIS_RstRound(val, 2, 1));
- model.setValue("/root/main/rslt/desc/rslt/osmotic/incu24con["+ i +"]/nacl", fCOMLIS_RstRound(val, 2, 1));
- model.setValue("/root/main/rslt/desc/rslt/osmotic/incu24pat["+ i +"]/nacl", fCOMLIS_RstRound(val, 2, 1));
- }
-
- model.refresh();
- }
-
- //hemolysis 계산하기
- function fCalc() {
- L1c = model.getValue("/root/main/rslt/desc/rslt/osmotic/incu1con[17]/od"); //1시간 Control 0 OD값
- N1c = model.getValue("/root/main/rslt/desc/rslt/osmotic/incu1con[1]/od"); //1시간 Control 1 OD값
-
- L1p = model.getValue("/root/main/rslt/desc/rslt/osmotic/incu1pat[17]/od"); //1시간 Control 0 OD값
- N1p = model.getValue("/root/main/rslt/desc/rslt/osmotic/incu1pat[1]/od"); //1시간 Patient 1 OD값
-
- L24c = model.getValue("/root/main/rslt/desc/rslt/osmotic/incu24con[17]/od"); //24시간 Control 0 OD값
- N24c = model.getValue("/root/main/rslt/desc/rslt/osmotic/incu24con[1]/od"); //24시간 Control 1 OD값
-
- L24p = model.getValue("/root/main/rslt/desc/rslt/osmotic/incu24pat[17]/od"); //24시간 Patient 0 OD값
- N24p = model.getValue("/root/main/rslt/desc/rslt/osmotic/incu24pat[1]/od"); //24시간 Patient 1 OD값
-
- for(i = 2; i<= 16; i++) {
- var val1c = model.getValue("/root/main/rslt/desc/rslt/osmotic/incu1con["+ i +"]/od"); //1시간 Control OD값
- var val1p = model.getValue("/root/main/rslt/desc/rslt/osmotic/incu1pat["+ i +"]/od"); //1시간 Control OD값
- var val24c = model.getValue("/root/main/rslt/desc/rslt/osmotic/incu24con["+ i +"]/od"); //24시간 Control OD값
- var val24p = model.getValue("/root/main/rslt/desc/rslt/osmotic/incu24pat["+ i +"]/od"); //24시간 Patient OD값
-
- if(val1c != "") {
- if(L1c != "" && N1c != "") {
- var rslt = ((parseFloat(val1c) - parseFloat(N1c)) / parseFloat(L1c)) * 100;
- rslt = fCOMLIS_RstRound(rslt, "2", "1");
-
- model.setValue("/root/main/rslt/desc/rslt/osmotic/incu1con["+ i +"]/hm", rslt);
- } else if(L1c == "" || N1c == "") { //'0' 이나 '1' OD값이 없을때
- if(L1c == "") {
- messageBox("1시간 incubation (Control)의 0(Lysis (C))을", "C001");
- return;
- } else {
- messageBox("1시간 incubation (Control)의 1(Non-L (C))을", "C001");
- return;
- }
- }
- }
-
- if(val1p != "") {
- if(L1p != "" && N1p != "") {
- var rslt = ((parseFloat(val1p) - parseFloat(N1p)) / parseFloat(L1p)) * 100;
- rslt = fCOMLIS_RstRound(rslt, "2", "1");
-
- model.setValue("/root/main/rslt/desc/rslt/osmotic/incu1pat["+ i +"]/hm", rslt);
- }else if(L1p == "" || N1p == "") { //'0' 이나 '1' OD값이 없을때
- if(L1p == "") {
- messageBox("1시간 incubation (Patient)의 0(Lysis (C))을", "C001");
- return;
- } else {
- messageBox("1시간 incubation (Patient)의 1(Non-L (C))을", "C001");
- return;
- }
- }
- }
-
- if(val24c != "") {
- if(L24c != "" && N24c != "") {
- var rslt = ((parseFloat(val24c) - parseFloat(N24c)) / parseFloat(L24c)) * 100;
- rslt = fCOMLIS_RstRound(rslt, "2", "1");
-
- model.setValue("/root/main/rslt/desc/rslt/osmotic/incu24con["+ i +"]/hm", rslt);
- }else if(L24c == "" || N24c == "") { //'0' 이나 '1' OD값이 없을때
- if(L24c == "") {
- messageBox("24시간 incubation (Control)의 0(Lysis (C))을", "C001");
- return;
- } else {
- messageBox("24시간 incubation (Control)의 1(Non-L (C))을", "C001");
- return;
- }
- }
- }
-
- if(val24p != "") {
- if(L24p != "" && N24p != "") {
- var rslt = ((parseFloat(val24p) - parseFloat(N24p)) / parseFloat(L24p)) * 100;
- rslt = fCOMLIS_RstRound(rslt, "2", "1");
-
- model.setValue("/root/main/rslt/desc/rslt/osmotic/incu24pat["+ i +"]/hm", rslt);
- }else if(L24p == "" || N24p == "") { //'0' 이나 '1' OD값이 없을때
- if(L24p == "") {
- messageBox("24시간 incubation (Patient)의 0(Lysis (C))을", "C001");
- return;
- } else {
- messageBox("24시간 incubation (Patient)의 1(Non-L (C))을", "C001");
- return;
- }
- }
- }
- }
- model.refresh();
- }
-
- //PRA Screening & Identification 조회
- function fGetPRA() {
- Scount = 1;
- Icount = 1;
-
- for(i = 1; i <= getNodesetCount("/root/main/testinfo/detailtestinfo"); i++) {
- var testcd = model.getValue("/root/main/testinfo/detailtestinfo["+ i +"]/testcd");
-
- if(testcd.substr(0, 6) == "LIP162" || testcd.substr(0, 6) == "LIP163") {
- model.makeNode("/root/main/rslt/desc/rslt/pra/prascreening["+ Scount +"]");
-
- copyNodesetType("/root/main/rslt/desc/rslt/pra/prascreening["+ Scount +"]", "/root/main/testinfo/detailtestinfo["+ i +"]");
-
- Scount++;
- } else if(testcd.substr(0, 6) == "LIP165" || testcd.substr(0, 6) == "LIP166") {
- model.makeNode("/root/main/rslt/desc/rslt/pra/iden["+ Icount +"]");
-
- copyNodesetType("/root/main/rslt/desc/rslt/pra/iden["+ Icount +"]", "/root/main/testinfo/detailtestinfo["+ i +"]");
-
- Icount++;
- }
- }
-
- model.refresh();
- }
-
- //Cytotoxicity, Flow cyrometric 조회
- function fGetCM() {
- Ccount = 1;
- Fcount = 1;
- Dcount = 1;
-
- model.makeValue("/root/main/rslt/desc/rslt/cm/dnorpid", model.getValue("/root/main/testinfo/spcltestinfo/reqfrmtbl/reqfrminfo/inptitem01/dnorpid"));
- model.makeValue("/root/main/rslt/desc/rslt/cm/dnornm", model.getValue("/root/main/testinfo/spcltestinfo/reqfrmtbl/reqfrminfo/inptitem01/dnornm"));
-
- for(i = 1; i <= getNodesetCount("/root/main/testinfo/detailtestinfo"); i++) {
- var testcd = model.getValue("/root/main/testinfo/detailtestinfo["+ i +"]/testcd");
-
- if(testcd.substr(0, 6) == "LIP153" || testcd.substr(0, 6) == "LIP154") {
- model.makeNode("/root/main/rslt/desc/rslt/cm/cytoto["+ Ccount +"]");
-
- copyNodesetType("/root/main/rslt/desc/rslt/cm/cytoto["+ Ccount +"]", "/root/main/testinfo/detailtestinfo["+ i +"]");
-
- Ccount++;
- } else if(testcd.substr(0, 6) == "LIP156" || testcd.substr(0, 6) == "LIP157") {
- model.makeNode("/root/main/rslt/desc/rslt/cm/flow["+ Fcount +"]");
-
- copyNodesetType("/root/main/rslt/desc/rslt/cm/flow["+ Fcount +"]", "/root/main/testinfo/detailtestinfo["+ i +"]");
-
- Fcount++;
- }else if(testcd.substr(0, 6) == "LIP158" || testcd.substr(0, 6) == "LIP159") {
- model.makeNode("/root/main/rslt/desc/rslt/cm/dshla["+ Dcount +"]");
-
- copyNodesetType("/root/main/rslt/desc/rslt/cm/dshla["+ Dcount +"]", "/root/main/testinfo/detailtestinfo["+ i +"]");
-
- model.makeNode("/root/main/rslt/desc/rslt/cm/dshla["+ Dcount +"]/scratio");
-
- Dcount++;
- }
- }
-
- model.refresh();
- }
-
- //CKLD 조회
- function fGetCKLD() {
- Ccount = 1;
- Lcount = 1;
-
- for(i = 1; i <= getNodesetCount("/root/main/testinfo/detailtestinfo"); i++) {
- var testcd = model.getValue("/root/main/testinfo/detailtestinfo["+ i +"]/testcd");
-
- if(testcd.substr(0, 6) == "LSI112") { //CK 검사항목
- model.makeNode("/root/main/rslt/desc/rslt/ckld/ck["+ Ccount +"]");
-
- copyNodesetType("/root/main/rslt/desc/rslt/ckld/ck["+ Ccount +"]", "/root/main/testinfo/detailtestinfo["+ i +"]");
-
- Ccount++;
- } else if(testcd.substr(0, 6) == "LSI113") { //LD 검사항목
- model.makeNode("/root/main/rslt/desc/rslt/ckld/ld["+ Lcount +"]");
-
- copyNodesetType("/root/main/rslt/desc/rslt/ckld/ld["+ Lcount +"]", "/root/main/testinfo/detailtestinfo["+ i +"]");
-
- Lcount++;
- }
- }
-
- model.refresh();
- }
-
- function fGetFish() {
- Ccount = 1;
- Lcount = 1;
-
- for(i = 1; i <= getNodesetCount("/root/main/testinfo/detailtestinfo"); i++) {
- var testcd = model.getValue("/root/main/testinfo/detailtestinfo["+ i +"]/testcd");
-
- if(testcd.substr(0, 6) == "LSI112") { //CK 검사항목
- model.makeNode("/root/main/rslt/desc/rslt/fish/ck["+ Ccount +"]");
-
- copyNodesetType("/root/main/rslt/desc/rslt/fish/ck["+ Ccount +"]", "/root/main/testinfo/detailtestinfo["+ i +"]");
-
- Ccount++;
- } else if(testcd.substr(0, 6) == "LSI113") { //LD 검사항목
- model.makeNode("/root/main/rslt/desc/rslt/fish/ld["+ Lcount +"]");
-
- copyNodesetType("/root/main/rslt/desc/rslt/fish/ld["+ Lcount +"]", "/root/main/testinfo/detailtestinfo["+ i +"]");
-
- Lcount++;
- }
- }
-
- model.refresh();
- }
-
- //판독예문 조회
- function fRsltCode(gridID){
- gridObj = document.all(gridID);
-
- model.removeNodeset("/root/main/rsltcode");
-
- model.refresh();
-
- var vTestcd = model.getvalue("/root/main/testinfo/spcltestinfo/testcd");
-
- if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "01") { //Bone Marrow는 콤보
- cmb_exmp.choices.itemset.attribute("nodeset") = "/root/init/readrslt[etc03='" + vTestcd + "']";
- } else { //나머지는 그리드이므로.
- if(gridID != "") { //판독예문 창을 띄어 수정한 후
- var cdNodes = instance1.selectNodes("/root/init/readrslt[etc03='" + vTestcd + "']/cd");
- var cdNodes2 = instance1.selectNodes("/root/init/readrslt[etc03='" + vTestcd + "']/nm");
- var vRstcontLower ="";
- var vRstcontUpper = "";
-
- for (i = 1; i <= cdNodes.length; i++) {
-
- var cd = cdNodes.item(i - 1).text;
- var nm = cdNodes2.item(i - 1).text;
-
- gridObj.addRow(false);
-
- model.setvalue("/root/main/rsltcode["+i+"]/cd" , cd);
- model.setvalue("/root/main/rsltcode["+i+"]/nm" , nm);
- }
-
- if(cdNodes.length > 0)
- model.refresh();
- } else { //특수검사 조회시에는 그리드아이디를 보내지 않는다. 어느 검사인지 알수 없기에..
- var cdNodes = instance1.selectNodes("/root/init/readrslt[etc03='" + vTestcd + "']/cd");
- var cdNodes2 = instance1.selectNodes("/root/init/readrslt[etc03='" + vTestcd + "']/nm");
- var vRstcontLower ="";
- var vRstcontUpper = "";
-
- for (i = 1; i <= cdNodes.length; i++) {
-
- var cd = cdNodes.item(i - 1).text;
- var nm = cdNodes2.item(i - 1).text;
-
- model.makeValue("/root/main/rsltcode["+ i +"]/cd" , cd);
- model.makeValue("/root/main/rsltcode["+ i +"]/nm" , nm);
- }
-
- if(cdNodes.length > 0)
- model.refresh();
- }
- }
- }
-
- //판독예문코드 더블 클릭시
- function fRsltCodeDBClick(gridID){
- gridObj = document.all(gridID);
-
- if(gridObj.rows < 2) { //판독예문이 있을경우에만 이벤트 타도록.
- return;
- }
-
- var vTestcd = model.getvalue("/root/main/testinfo/spcltestinfo/testcd");
- var cd = model.getValue("/root/main/rsltcode["+ gridObj.row +"]/cd");
- var vDescrsltN = instance1.selectNodes("/root/init/readrslt[etc03='" + vTestcd + "' and cd='"+ cd +"']/etc01");
- var vInterN = instance1.selectNodes("/root/init/readrslt[etc03='" + vTestcd + "' and cd='"+ cd +"']/etc02");
- var vCMTN = instance1.selectNodes("/root/init/readrslt[etc03='" + vTestcd + "' and cd='"+ cd +"']/etc04");
-
- var vDescrslt = vDescrsltN.item(0).text; //판독예문
- var vInter = vInterN.item(0).text; //Interpretation
- var vCMT = vCMTN.item(0).text; //Interpretation
-
- if(model.getValue("/root/hidden/readexmpadd") == "Y") {
- var read = model.getValue("/root/main/rslt/desc/rslt/readrslt");
-
- model.setValue("/root/main/rslt/desc/rslt/readrslt", read + vDescrslt);
-
- if(vInter != "") {
- var inter = model.getValue("/root/main/rslt/desc/rslt/inter");
-
- model.setvalue("/root/main/rslt/desc/rslt/inter", inter + vInter);
- }
-
- if(vCMT != "") {
- var cmt = model.getValue("/root/main/rslt/desc/rslt/comments");
-
- model.setvalue("/root/main/rslt/desc/rslt/comments", cmt + vCMT);
- }
- } else {
- model.setvalue("/root/main/rslt/desc/rslt/readrslt" , vDescrslt);
-
- if(vInter != "") {
- model.setvalue("/root/main/rslt/desc/rslt/inter", vInter);
- }
-
- if(vCMT != "") {
- model.setvalue("/root/main/rslt/desc/rslt/comments", vCMT);
- }
- }
-
- model.refresh();
-
- }
-
- //세부검사목록
- function fGetDetlTcls() {
- model.removenode("/root/main/rslt/desc/rslt/detltclsinfo");
- model.removenode("/root/main/rslt/desc/rslt/detltclsinfo2");
-
- model.makeValue("/root/send/tclscd", model.getValue("/root/main/testinfo/spcltestinfo/tclscd"));
- model.makeValue("/root/send/bcno", model.getValue("/root/main/testinfo/spcltestinfo/bcno"));
- model.makeValue("/root/send/parentyn", model.getValue("/root/hidden/ref/parentyn"));
-
- // 2010-03-23 JJH : EP Panel항목으로 추가
- if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "08")
- model.makeValue("/root/send/testcd", model.getValue("/root/main/testinfo/spcltestinfo/testcd"));
-
- submit("TRLRR00404");
-
- model.removeNodeset("/root/send/tclscd");
- model.removeNodeset("/root/send/bcno");
- model.removeNodeset("/root/send/parentyn");
- model.removeNodeset("/root/send/testcd");
- }
-
- //proteinEP 검사
- function fGetproteinEP() {
- model.removenode("/root/main/rslt/desc/rslt/proteinEP");
-
- model.makeValue("/root/send/tclscd", model.getValue("/root/main/testinfo/spcltestinfo/tclscd"));
- model.makeValue("/root/send/bcno", model.getValue("/root/main/testinfo/spcltestinfo/bcno"));
-
- // 2010-03-23 JJH : EP Panel항목으로 추가
- if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "08")
- model.makeValue("/root/send/testcd", model.getValue("/root/main/testinfo/spcltestinfo/testcd"));
-
- submit("TRLRR00409");
-
- model.removeNodeset("/root/send/tclscd");
- model.removeNodeset("/root/send/bcno");
- model.removeNodeset("/root/send/testcd");
- }
-
- //탑정보
- function fUpPatinfo(){
- if(getPatientInfo("pid") != model.getValue("/root/main/testinfo/spcltestinfo/pid")) {
- if(getNodesetCount("/root/main/testinfo/spcltestinfo") > 0){
- setParameter("errflag", "Y"); // exception error창을 띄우지 않음
-
- setParameter("condparam", "S" + "▦" + model.getvalue("/root/main/testinfo/spcltestinfo/prcpdd")+ "▦"
- + model.getvalue("/root/main/testinfo/spcltestinfo/execprcpuniqno") + "▦"
- + model.getvalue("/root/main/testinfo/spcltestinfo/extrtestinstcd") );
-
- modal("SPMMO08900");
- }
-
- var paminfo = getGlobalVariable("paminfo");
- if(paminfo.length < 0){ //상단정보가 없는 경우
- delPatientInfos(); //환자정보 전체 삭제
-
- var pid = model.getValue("/root/main/testinfo/spcltestinfo/pid");
- var hngnm = model.getValue("/root/main/testinfo/spcltestinfo/patnm");
- //상단에 올릴 수 있는 정보가 있으면 아래와 같이 설정해 주시면 됩니다. 없으면 안 해주셔도 되구요..
-
- setPatientInfo("pid" , pid); //등록번호
- setPatientInfo("pname" , pid + "|" + hngnm); //환자명
- }
- }
- }
-
- function fReMake(){
- for(i=1;i<datagrid3.rows;i++){
- datagrid3.cellstyle("background-color" , i,4) = "#EEFFFF";
- datagrid3.cellstyle("background-color" , i,5) = "#FFFFFA";
-
- if(model.getvalue("/root/main/testinfo/detailtestinfo["+i+"]/rstcdexists") == "Y"){
- datagrid3.cellstyle("background-image", i, 4) = "../../../lis/commonweb/images/icnRstCDExists.gif";
- datagrid3.cellstyle("background-position", i, 4) = "right";
- }
- }
- }
-
- //결과저장, 결과보고, 전문의확인
- function fInsRsltSave(flag){
- var node = instance1.selectSingleNode("/root/main/rslt/desc/rslt");
- //alert(node.xml);
- if(model.getvalue("/root/main/testinfo/spcltestinfo/bcno") == "") {
- messageBox("환자가 선택되지", "E007");
- model.setFocus("ipt_reftext");
- model.refresh();
- return;
- }
-
- if(flag == "6") {
- if(model.getValue("/root/hidden/readnm") == "") {
- messageBox("판독자를", "C001");
- model.setFocus("ipt_readpsn");
- model.refresh();
- return;
- }
- } else if(model.getValue("/root/hidden/testnm") == "") {
- messageBox("입력자를", "C001");
- model.setFocus("ipt_testpsn");
- model.refresh();
- return;
- }
-
- if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "01"){
-
- var interpretation = "";
- var localdate = getCurrentDateTime();
- var rsltstatnm = "";
- var rows= grd_bminter.rows;
- var interunion = "";
- var rows2 = rows -1 ;
- var userid = "";
-
- // alert(rows2);
- // if (flag == "2"){
- // rsltstatnm = "[중간보고]";
- // }
- // else if (flag == "4"){
- // rsltstatnm = "[최종보고]";
- // }
- for( row = 1; row < grd_bminter.rows; row++){
- if(model.getValue("/root/main/rslt/desc/rslt/bminter["+ row +"]/chk") == "true"){
- //alert(localdate.substr(0,4));
- 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) ;
- //alert(localdate);
- model.setValue("/root/main/rslt/desc/rslt/bminter["+ row +"]/lastdt", localdate.getTrim());
- // model.setValue("/root/main/rslt/desc/rslt/bminter["+ row +"]/rsltstat", rsltstatnm.getTrim());
-
- }
- // if(flag == "4"){
- //
- // if(row != rows2 ){
- // rsltstatnm = "[중간보고]"
- // model.setValue("/root/main/rslt/desc/rslt/bminter["+ row +"]/rsltstat", rsltstatnm.getTrim());
- // }
- // else{
- // rsltstatnm = "[최종보고]"
- // model.setValue("/root/main/rslt/desc/rslt/bminter["+ row +"]/rsltstat", rsltstatnm.getTrim());
- // }
- // }
- //alert(row+"="+rsltstatnm);
- //alert(grd_bminter.rows);
- // 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");
- //본메로우 인터프리테이션 뒤에 붙는 날짜와 보고자 제외해달라는 요청사항 변경요청 9533
- 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");
- if(row == 1){
- interpretation = interunion;
- }
- else{
- interpretation = interpretation + "\n" +interunion;
- }
- }
-
- if(interpretation != "" && model.getValue("/root/main/rslt/desc/rslt/inter2") == ""){
- model.setValue("/root/main/rslt/desc/rslt/inter",interpretation);
- } else if(model.getValue("/root/main/rslt/desc/rslt/inter2") !=""){
- //본메로우 인터프리테이션 뒤에 붙는 날짜와 보고자 제외해달라는 요청사항 변경요청 9533
- /*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) ;
- //alert(localdate2);
- if(model.getValue("/root/hidden/readnm") !=""){
- userid = model.getValue("/root/hidden/readnm");
- }
- else{
- userid = model.getValue("/root/hidden/testnm");
- //alert(userid);
- }*/
- interunion = model.getValue("/root/main/rslt/desc/rslt/inter2"); // + "-" + localdate2 + "-" + userid ;
- interpretation = interpretation + "\n" + interunion;
-
- model.setValue("/root/main/rslt/desc/rslt/inter" , interpretation);
- }
- model.refresh();
- }
-
- model.setvalue("/root/hidden/TestData/bcno" , model.getvalue("/root/main/testinfo/spcltestinfo/bcno"));
- model.setvalue("/root/hidden/TestData/testcd", model.getValue("/root/main/testinfo/spcltestinfo/testcd"));
- model.makevalue("/root/hidden/TestData/tclscd", model.getValue("/root/main/testinfo/spcltestinfo/tclscd"));
-
- model.setvalue("/root/hidden/TestData/spccd", model.getvalue("/root/main/testinfo/spcltestinfo/spccd"));
- model.setvalue("/root/hidden/TestData/inptrslt", "");
- model.setvalue("/root/hidden/TestData/rsltstat" , flag);
- model.setvalue("/root/hidden/TestData/testlrgkind" , model.getvalue("/root/main/testinfo/spcltestinfo/testlrgkind"));
- model.setValue("/root/hidden/TestData/descrslt", node.xml, true);
- model.setValue("/root/hidden/TestData/inter", model.getValue("/root/main/rslt/desc/rslt/inter"));
- model.makevalue("/root/hidden/TestData/readid" , model.getvalue("/root/hidden/readid"));
- model.makevalue("/root/hidden/TestData/testid" , model.getvalue("/root/hidden/testid"));
- model.makevalue("/root/hidden/TestData/formkind" , model.getvalue("/root/main/rslt/desc/rslt/refflag"));
-
- model.copyNode("/root/send/data1" ,"/root/hidden/TestData" );
-
- if((model.getValue("/root/main/rslt/desc/rslt/refflag") == "01")//Bone Marrow
- || (model.getValue("/root/main/rslt/desc/rslt/refflag") == "05")) { //osmo
- for(i = 1; i <= getNodesetCount("/root/main/testinfo/detailtestinfo"); i++) {
- model.setValue("/root/main/testinfo/detailtestinfo["+ i +"]/chk", "Y");
- }
- }
-
- //if((model.getValue("/root/main/rslt/desc/rslt/refflag") == "02") //분자유전
- // || (model.getValue("/root/main/rslt/desc/rslt/refflag") == "03") //세포유전
- // || (model.getValue("/root/main/rslt/desc/rslt/refflag") == "04") //Immunophenotyping
- // || (model.getValue("/root/main/rslt/desc/rslt/refflag") == "06") //ICG
- // || (model.getValue("/root/main/rslt/desc/rslt/refflag") == "08") //EP
- /// || (model.getValue("/root/main/rslt/desc/rslt/refflag") == "09")/*산전기형*/) {
- var testcd = model.getValue("/root/main/testinfo/spcltestinfo/testcd");
- var find = grd_rslt.findRow(testcd, 0, 1);
-
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk", "Y");
- //}
-
- //if(model.getValue("/root/main/testinfo/spcltestinfo/rsltstat") != "-") {
- for(i = 1; i <= getNodesetCount("/root/main/testinfo/detailtestinfo"); i++) {
- if(model.getValue("/root/main/testinfo/spcltestinfo/rsltstat") != "-") {
- if((model.getValue("/root/main/testinfo/detailtestinfo["+ i +"]/reptrslt") != "")
- || (model.getValue("/root/main/testinfo/detailtestinfo["+ i +"]/rsltstat") != "-")) {
- model.setValue("/root/main/testinfo/detailtestinfo["+ i +"]/chk", "Y");
- }
- }
- var testcd = model.getValue("/root/main/testinfo/detailtestinfo["+ i +"]/testcd").substring(0, 6);
- var count = getNodesetCount("/root/main/rslt/desc/rslt/detailtestinfo");
-
- if((model.getValue("/root/main/rslt/desc/rslt/refflag") == "02") //분자유전
- || (model.getValue("/root/main/rslt/desc/rslt/refflag") == "03")) {//세포유전
- if(testcd == model.getValue("/root/main/testinfo/spcltestinfo/testcd")) {
- if(model.getValue("/root/main/testinfo/detailtestinfo["+ i +"]/chk") == "Y") {
- model.makeNode("/root/main/rslt/desc/rslt/detailtestinfo["+ count +"]");
- copyNodeType("/root/main/rslt/desc/rslt/detailtestinfo["+ count +"]", "/root/main/testinfo/detailtestinfo["+ i +"]");
- }
- }
- }
- }
- //}
-
- if(getNodesetCount("/root/main/testinfo/detailtestinfo") > 0){
- for(i = 0; i < grd_rslt.rows; i++) {
- var find = grd_rslt.findRow("Y", i, 0, false, false);
-
- if(find < 0) {
- break;
- }
-
- grd_rslt.addStatus(find,"update");
-
- i = find;
- }
-
- var sSendData = grd_rslt.getUpdateData();
-
- } else {
- var sSendData = "m▦rownum▦chk▦testcd▦bufinptrslt▦reptrslt▦inptrslt▦bcno▦testcmt▩";
- 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")+ "▩";
- }
- model.setvalue("/root/send/data2" , sSendData);
- //alert(model.getvalue("/root/send/data2"));
-
- if(flag == "6") {
- model.makeValue("/root/send/bcno", model.getValue("/root/main/testinfo/spcltestinfo/bcno"));
- model.makeValue("/root/send/spccd", model.getValue("/root/main/testinfo/spcltestinfo/spccd"));
- model.makeValue("/root/send/prcpgenrflag", model.getValue("/root/main/testinfo/spcltestinfo/prcpgenrflag"));
-
- submit("TRLRP00702"); //주진단명
-
- model.removenode("/root/send/bcno");
- model.removenode("/root/send/spccd");
- model.removenode("/root/send/prcpgenrflag");
-
- model.makeValue("/root/main/rslt/desc/detltestlist/tclsnm", model.getValue("/root/main/testinfo/spcltestinfo/prcpnm")); //처방명
- model.makeValue("/root/main/rslt/desc/detltestlist/spcnm", model.getValue("/root/main/testinfo/spcltestinfo/spcprntnm")); //검체명
-
- model.makeValue("/root/send/tclscd", model.getValue("/root/main/testinfo/spcltestinfo/tclscd"));
- model.makeValue("/root/send/testcd", model.getValue("/root/main/testinfo/spcltestinfo/testcd"));
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/pid", model.getValue("/root/main/testinfo/spcltestinfo/pid"));
-
- submit("TRLRR90403"); //인증에 필요한 환자정보
-
- model.removenode("/root/send/tclscd");
- model.removenode("/root/send/testcd");
- model.removenode("/root/send/instcd");
- model.removenode("/root/send/pid");
-
- model.makeValue("/root/main/rslt/desc/patinfo/medispcdt", getCurrentDate()); //판독시간
- model.makevalue("/root/main/rslt/desc/patinfo/bcolldt",model.getValue("/root/main/testinfo/spcltestinfo/bcolldt"));//채취일자
- model.makevalue("/root/main/rslt/desc/patinfo/workno",model.getValue("/root/main/testinfo/spcltestinfo/workno"));//접수번호
- model.makeValue("/root/main/rslt/desc/patinfo/testid", model.getValue("/root/hidden/testnm"));// 입력자
- model.makeValue("/root/main/rslt/desc/patinfo/medispclid", model.getValue("/root/hidden/readnm")); //판독자
- model.makeValue("/root/main/rslt/desc/patinfo/specdrid", model.getValue("/root/hidden/specdrid")); //특진의
- model.makeValue("/root/main/rslt/desc/patinfo/userflag", model.getValue("/root/hidden/userflag")); //사용자구분
- model.makeValue("/root/main/rslt/desc/patinfo/exla", model.getValue("/root/main/testinfo/spcltestinfo/exla")); //위탁검사일경우 위탁기관에의뢰한정보입니다.. 아닐경우 null
- model.makeValue("/root/main/rslt/desc/patinfo/server", getDomain()); //이미지불러오기 위해 현 서버를 server 노드에 넣는다.
-
- if(getNodesetCount("/root/main/imglist/rsltseqno") > 0){ //이미지가 있을 경우..
- count = 1
- for(i = model.getValue("/root/main/imglist/minseqno"); i <= model.getValue("/root/main/imglist/maxseqno"); i++) {
- model.makeValue("/root/main/rslt/desc/patinfo/rsltseq["+ count +"]/rsltseq", i);
- count++;
- }
-
- }
-
- if(getNodesetCount("/root/main/imglistld/rsltseqno") > 0){ //LD 이미지가 있을 경우..
- count = 1
- for(i = model.getValue("/root/main/imglistld/minseqno"); i <= model.getValue("/root/main/imglistld/maxseqno"); i++) {
- model.makeValue("/root/main/rslt/desc/patinfo/rsltseqld["+ count +"]/rsltseq", i);
- count++;
- }
- }
-
- model.makeNode("/root/main/rslt/desc/patinfo/reqcnts"); //의뢰지 내용 담을
- copyNodesetType("/root/main/rslt/desc/patinfo/reqcnts", "/root/main/testinfo/spcltestinfo/reqcnts"); //의뢰지 내용을 인증 노드에 카피
-
- if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "01") { //Bone Marrow
- model.makeNode("/root/main/rslt/desc/patinfo/reqcnts/reqfrminfo/inptitem01/rslt"); //의뢰지 표현을 위해 의뢰지 결과 담을 노드 생성
- //골수 의뢰서 내용
- if(model.getValue("/root/main/rslt/desc/patinfo/reqcnts/reqfrminfo/inptitem01/initial") == "Initial") {
- model.setValue("/root/main/rslt/desc/patinfo/reqcnts/reqfrminfo/inptitem01/initial", "Initial");
- model.setValue("/root/main/rslt/desc/patinfo/reqcnts/reqfrminfo/inptitem01/rslt", model.getValue("/root/main/rslt/desc/patinfo/reqcnts/reqfrminfo/inptitem02/initial"));
- } else if(model.getValue("/root/main/rslt/desc/patinfo/reqcnts/reqfrminfo/inptitem01/fu") == "F/U") {
- model.setValue("/root/main/rslt/desc/patinfo/reqcnts/reqfrminfo/inptitem01/initial", "F/U");
-
- if(model.getValue("/root/main/rslt/desc/patinfo/reqcnts/reqfrminfo/inptitem02/chemo") != "") {
- model.setValue("/root/main/rslt/desc/patinfo/reqcnts/reqfrminfo/inptitem01/rslt", model.getValue("/root/main/rslt/desc/patinfo/reqcnts/reqfrminfo/inptitem02/chemo") + "\n");
- } else if(model.getValue("/root/main/rslt/desc/patinfo/reqcnts/reqfrminfo/inptitem02/bmt") != "") {
- model.setValue("/root/main/rslt/desc/patinfo/reqcnts/reqfrminfo/inptitem01/rslt", model.getValue("/root/main/rslt/desc/patinfo/reqcnts/reqfrminfo/inptitem02/bmt") + "\n");
- } else if(model.getValue("/root/main/rslt/desc/patinfo/reqcnts/reqfrminfo/inptitem02/ro") != "") {
- model.setValue("/root/main/rslt/desc/patinfo/reqcnts/reqfrminfo/inptitem01/rslt", model.getValue("/root/main/rslt/desc/patinfo/reqcnts/reqfrminfo/inptitem02/ro") + "\n");
- }
- } else if(model.getValue("/root/main/rslt/desc/patinfo/reqcnts/reqfrminfo/inptitem01/others") == "Others") {
- model.setValue("/root/main/rslt/desc/patinfo/reqcnts/reqfrminfo/inptitem01/initial", "Others");
- model.setValue("/root/main/rslt/desc/patinfo/reqcnts/reqfrminfo/inptitem01/rslt", model.getValue("/root/main/rslt/desc/patinfo/reqcnts/reqfrminfo/inptitem02/othersl"));
- }
- } else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "06") { //ICG
- var sfind = grd_rslt.findRow("LSS18101", 1, 1, true, true);
- var rfind = grd_rslt.findRow("LSS18102", 1, 1, true, true);
-
- model.makeValue("/root/main/rslt/desc/rslt/icg/sref", model.getValue("/root/main/testinfo/detailtestinfo["+ sfind +"]/refval"));
- model.makeValue("/root/main/rslt/desc/rslt/icg/rref", model.getValue("/root/main/testinfo/detailtestinfo["+ rfind +"]/refval"));
- }
-
- //인증
- if(Sign.signprocess()){
- model.makeNode("/root/send/signdata");
- model.makeValue("/root/send/signdata/bcno", model.getValue("/root/main/testinfo/spcltestinfo/bcno")); //결과테이블에 생성번호 넣기위해.
- model.makeValue("/root/send/signdata/pid", model.getValue("/root/main/testinfo/spcltestinfo/pid")); //등록번호
- model.makeValue("/root/send/signdata/orddd", model.getValue("/root/main/testinfo/spcltestinfo/orddd")); //입원, 응급 : 입원일자, 외래 : 진료일자
- model.makeValue("/root/send/signdata/signno", model.getValue("/root/main/testinfo/spcltestinfo/signno")); //서명번호
- model.makeValue("/root/send/signdata/cretno", model.getValue("/root/main/testinfo/spcltestinfo/cretno")); //생성번호
- model.makeValue("/root/send/signdata/recdd", getCurrentDate()); // 실제기록이 이루어진 기록일자
- model.makeValue("/root/send/signdata/rectm", getCurrentTime()); //실제기록이 이루어진 기록시간
- model.makeValue("/root/send/signdata/recsaveflag", "Y"); // 전자서명 인적정보 변경여부(기록일시 변경되는 경우 : Y, 그외 : N)
- model.makeValue("/root/send/signdata/signflag", "30"); // 서명자료구분(01 : 진료, 02 : 간호, 30:검사)
- model.makeValue("/root/send/signdata/signgenrflag", model.getValue("/root/main/testinfo/spcltestinfo/prcpgenrflag")); //입원, 외래구분
- model.makeValue("/root/send/signdata/formcd", model.getValue("/root/main/testinfo/spcltestinfo/formcd")); //각 기록지별 서식코드 0000002916 : BM
- model.makeValue("/root/send/signdata/orddeptcd", model.getValue("/root/main/testinfo/spcltestinfo/orddeptcd")); //진료과
- model.makeValue("/root/send/signdata/orddrid", model.getValue("/root/main/testinfo/spcltestinfo/orddrid")); //진료의ID
- model.makeValue("/root/send/signdata/signbfcnts", Sign.signedInfos[3]); // 인증할 데이터 정보(미기록 노드 제거된 정보), 미기록 노드 제거전 원본 노드 정보 : Sign.signedInfos[3]
- model.makeValue("/root/send/signdata/signaftcnts", Sign.signedInfos[2]); //공인인증 처리후 데이터
-
- if(model.getValue("/root/main/testinfo/spcltestinfo/basecdid") == "LL010") {
- model.makeValue("/root/send/signdata/dispyn", "N"); //통합기록조회(통합결과조회)에 기록 보여질 여부(LL010이면 보이지 않는다)
- }
- }else{
- alert("인증실패");
-
- model.removeNodeset("/root/send/data1");
- model.removeNodeset("/root/send/data2");
- model.removeNodeset("/root/send/signdata");
- model.makeNode("/root/send/data1");
- model.makeNode("/root/send/data2");
- model.resetInstanceNode("/root/hidden/TestData");
-
- return false;
- }
-
- //submit("TXLRR00401");
- }
-
- if(submit("TXLRR00101")) {
- var rsltYN = true;
- }
-
- if(rsltYN) {
- fSetClear("P");
- }else {
- alert("저장실패");
- }
-
- model.removeNodeset("/root/send/data1");
- model.removeNodeset("/root/send/data2");
- model.removeNodeset("/root/send/signdata");
- model.makeNode("/root/send/data1");
- model.makeNode("/root/send/data2");
- model.resetInstanceNode("/root/hidden/TestData");
- model.resetInstanceNode("/root/send");
-
-
- fchildsearch("SPLRR90700");
- //fchildsearch2("SPLRR90700");
- activateChild("SPLRR90700");
-
-
- model.refresh();
- }
-
- //인증데이터 만들기
- function fMake_SignData(){
- Sign.addnode("/root/main/rslt/desc");
- }
-
- //이미지 결과 조회, 이미지 표현
- function fImgRef(img){
- var img = document.controls.item(img);
-
- model.copyNode("/root/send/data1" , "/root/main/testinfo/spcltestinfo");
- model.removeNodeset("/root/send/data2");
-
-
- if(model.getValue("/root/main/testinfo/spcltestinfo/testcd") == "LSI113") { //ld이미지
- model.makeValue("/root/send/data1/rsltseqno" , model.getValue("/root/hidden/rsltseqnold"));
- submit("TRLRR01502", false);
-
- model.makeNode("/root/main/viewld"); //ld 이미지 노드 생성
- copyNodeType("/root/main/viewld", "/root/main/view"); //이미지 이동
- model.removenode("/root/main/view"); //이전 이미지 노드 삭제
-
- setImageRefInstance("/root/main/viewld/imgrslt"); //이미지 셋팅
-
- img.attribute("width")= model.getValue("/root/main/viewld/imgwidt");
- img.attribute("height")= model.getValue("/root/main/viewld/imght");
- } else {
-
- model.makeValue("/root/send/data1/rsltseqno" , model.getValue("/root/hidden/rsltseqno"));
-
- submit("TRLRR01502", false);
- setImageRefInstance("/root/main/view/imgrslt");//이미지 셋팅
-
- img.attribute("width")= model.getValue("/root/main/view/imgwidt");
- img.attribute("height")= model.getValue("/root/main/view/imght");
- }
-
-
- model.removeNodeset("/root/send/data1");
- model.makeNode("/root/send/data1");
- model.makeNode("/root/send/data2");
-
- model.refresh();
- }
-
- //이미지 결과 조회, 이미지 표현
- function fImgRef1(cmb, cpt,img){
- cmb = document.controls.item(cmb);
- cpt = document.controls.item(cpt);
- fimg = document.controls.item(img);
- var img = document.controls.item(img);
-
- //model.removeNodeset("/root/main/view1");
- model.copyNode("/root/send/data1" , "/root/main/testinfo/spcltestinfo");
- model.removeNodeset("/root/send/data2");
-
- if(getNodesetCount("/root/main/imglist/rsltseqno") > 0){ //history가 존재하면 이미지 조회
- cmb.value = model.getvalue("/root/main/imglist/rsltseqno");
-
- fimg.attribute("visibility") = "visible";
- cpt.attribute("visibility") = "hidden";
-
- }else { //history가 없으면 no_img 띄움.
- fimg.attribute("visibility") = "hidden";
- cpt.attribute("visibility") = "visible";
-
- }
-
- model.makeValue("/root/send/data1/rsltseqno" ,"1");
- submit("TRLRR01506", false);
- setImageRefInstance("/root/main/immnoa/immno1/imgrslt");//이미지 셋팅
- img.attribute("width")= model.getValue("/root/main/immnoa/immno1/imgwidt");
- img.attribute("height")= model.getValue("/root/main/immnoa/immno1/imght");
- img_immno2.attribute("left") = model.getValue("/root/main/immnoa/immno1/imgwidt");
- //img_immno3.attribute("left") = model.getValue("/root/main/immnoa/immno1/imgwidt");
- img_immno4.attribute("top") = model.getValue("/root/main/immnoa/immno1/imght");
- img_immno5.attribute("left") = model.getValue("/root/main/immnoa/immno1/imgwidt");
- img_immno5.attribute("top") = model.getValue("/root/main/immnoa/immno1/imght");
- //img_immno6.attribute("left") = model.getValue("/root/main/immnoa/immno1/imgwidt");
- img_immno6.attribute("top") = model.getValue("/root/main/immnoa/immno1/imght");
- // model.makeValue("/root/send/data1/rsltseqno" , model.getValue("/root/main/imglist/rsltseqno["+i+"]"));
- // submit("TRLRR01502", false);
- // setImageRefInstance("/root/main/view/imgrslt");//이미지 셋팅
-
- model.removeNodeset("/root/send/data1");
- model.makeNode("/root/send/data1");
- model.makeNode("/root/send/data2");
-
- model.refresh();
- }
-
- //이미지 결과 조회, 이미지 표현
- function fImgRef2(cmb, cpt,img){
- cmb = document.controls.item(cmb);
- cpt = document.controls.item(cpt);
- fimg = document.controls.item(img);
- var img = document.controls.item(img);
-
- //model.removeNodeset("/root/main/view2");
-
- model.copyNode("/root/send/data1" , "/root/main/testinfo/spcltestinfo");
- model.removeNodeset("/root/send/data2");
-
- if(getNodesetCount("/root/main/imglist/rsltseqno") > 0){ //history가 존재하면 이미지 조회
- cmb.value = model.getvalue("/root/main/imglist/rsltseqno");
-
- fimg.attribute("visibility") = "visible";
- cpt.attribute("visibility") = "hidden";
- }else { //history가 없으면 no_img 띄움.
- fimg.attribute("visibility") = "hidden";
- cpt.attribute("visibility") = "visible";
- }
-
- model.makeValue("/root/send/data1/rsltseqno" ,"2");
- submit("TRLRR01507", false);
- setImageRefInstance("/root/main/immnob/immno2/imgrslt");//이미지 셋팅
- img.attribute("width")= model.getValue("/root/main/immnob/immno2/imgwidt");
- img.attribute("height")= model.getValue("/root/main/immnob/immno2/imght");
-
- var immno2left = img_immno2.attribute("left");
- //alert(immno2left);
- var immno2width = model.getValue("/root/main/immnob/immno2/imgwidt");
- //alert(immno2width);
- img_immno3.attribute("left") = parseInt(immno2left) + parseInt(immno2width);
- img_immno6.attribute("left") = parseInt(immno2left) + parseInt(immno2width);
-
- // alert(img_immno3.attribute("left"));
- // model.makeValue("/root/send/data1/rsltseqno" , model.getValue("/root/main/imglist/rsltseqno["+i+"]"));
- // submit("TRLRR01502", false);
- // setImageRefInstance("/root/main/view/imgrslt");//이미지 셋팅
-
- model.removeNodeset("/root/send/data1");
- model.makeNode("/root/send/data1");
- model.makeNode("/root/send/data2");
-
- model.refresh();
- }
- //이미지 결과 조회, 이미지 표현
- function fImgRef3(cmb, cpt,img){
- cmb = document.controls.item(cmb);
- cpt = document.controls.item(cpt);
- fimg = document.controls.item(img);
- var img = document.controls.item(img);
-
- //model.removeNodeset("/root/main/view3");
-
- model.copyNode("/root/send/data1" , "/root/main/testinfo/spcltestinfo");
- model.removeNodeset("/root/send/data2");
-
- if(getNodesetCount("/root/main/imglist/rsltseqno") > 0){ //history가 존재하면 이미지 조회
- cmb.value = model.getvalue("/root/main/imglist/rsltseqno");
-
- fimg.attribute("visibility") = "visible";
- cpt.attribute("visibility") = "hidden";
- }else { //history가 없으면 no_img 띄움.
- fimg.attribute("visibility") = "hidden";
- cpt.attribute("visibility") = "visible";
- }
-
- model.makeValue("/root/send/data1/rsltseqno" ,"3");
- submit("TRLRR01508", false);
- setImageRefInstance("/root/main/immnoc/immno3/imgrslt");//이미지 셋팅
- img.attribute("width")= model.getValue("/root/main/immnoc/immno3/imgwidt");
- img.attribute("height")= model.getValue("/root/main/immnoc/immno3/imght");
-
- // model.makeValue("/root/send/data1/rsltseqno" , model.getValue("/root/main/imglist/rsltseqno["+i+"]"));
- // submit("TRLRR01502", false);
- // setImageRefInstance("/root/main/view/imgrslt");//이미지 셋팅
-
- model.removeNodeset("/root/send/data1");
- model.makeNode("/root/send/data1");
- model.makeNode("/root/send/data2");
-
- model.refresh();
- }
- //이미지 결과 조회, 이미지 표현
- function fImgRef4(cmb, cpt,img){
- cmb = document.controls.item(cmb);
- cpt = document.controls.item(cpt);
- fimg = document.controls.item(img);
- var img = document.controls.item(img);
-
- //model.removeNodeset("/root/main/view4");
-
- model.copyNode("/root/send/data1" , "/root/main/testinfo/spcltestinfo");
- model.removeNodeset("/root/send/data2");
-
- if(getNodesetCount("/root/main/imglist/rsltseqno") > 0){ //history가 존재하면 이미지 조회
- cmb.value = model.getvalue("/root/main/imglist/rsltseqno");
-
- fimg.attribute("visibility") = "visible";
- cpt.attribute("visibility") = "hidden";
- }else { //history가 없으면 no_img 띄움.
- fimg.attribute("visibility") = "hidden";
- cpt.attribute("visibility") = "visible";
- }
-
- model.makeValue("/root/send/data1/rsltseqno" ,"4");
- submit("TRLRR01509", false);
- setImageRefInstance("/root/main/immnod/immno4/imgrslt");//이미지 셋팅
- img.attribute("width")= model.getValue("/root/main/immnod/immno4/imgwidt");
- img.attribute("height")= model.getValue("/root/main/immnod/immno4/imght");
-
- // model.makeValue("/root/send/data1/rsltseqno" , model.getValue("/root/main/imglist/rsltseqno["+i+"]"));
- // submit("TRLRR01502", false);
- // setImageRefInstance("/root/main/view/imgrslt");//이미지 셋팅
-
- model.removeNodeset("/root/send/data1");
- model.makeNode("/root/send/data1");
- model.makeNode("/root/send/data2");
-
- model.refresh();
- }
- //이미지 결과 조회, 이미지 표현
- function fImgRef5(cmb, cpt,img){
- cmb = document.controls.item(cmb);
- cpt = document.controls.item(cpt);
- fimg = document.controls.item(img);
- var img = document.controls.item(img);
-
- //model.removeNodeset("/root/main/view5");
-
- model.copyNode("/root/send/data1" , "/root/main/testinfo/spcltestinfo");
- model.removeNodeset("/root/send/data2");
-
- if(getNodesetCount("/root/main/imglist/rsltseqno") > 0){ //history가 존재하면 이미지 조회
- cmb.value = model.getvalue("/root/main/imglist/rsltseqno");
-
- fimg.attribute("visibility") = "visible";
- cpt.attribute("visibility") = "hidden";
- }else { //history가 없으면 no_img 띄움.
- fimg.attribute("visibility") = "hidden";
- cpt.attribute("visibility") = "visible";
- }
-
- model.makeValue("/root/send/data1/rsltseqno" ,"5");
- submit("TRLRR01510", false);
- setImageRefInstance("/root/main/immnoe/immno5/imgrslt");//이미지 셋팅
- img.attribute("width")= model.getValue("/root/main/immnoe/immno5/imgwidt");
- img.attribute("height")= model.getValue("/root/main/immnoe/immno5/imght");
-
- // model.makeValue("/root/send/data1/rsltseqno" , model.getValue("/root/main/imglist/rsltseqno["+i+"]"));
- // submit("TRLRR01502", false);
- // setImageRefInstance("/root/main/view/imgrslt");//이미지 셋팅
-
- model.removeNodeset("/root/send/data1");
- model.makeNode("/root/send/data1");
- model.makeNode("/root/send/data2");
-
- model.refresh();
- }
- //이미지 결과 조회, 이미지 표현
- function fImgRef6(cmb, cpt,img){
- cmb = document.controls.item(cmb);
- cpt = document.controls.item(cpt);
- fimg = document.controls.item(img);
- var img = document.controls.item(img);
-
- //model.removeNodeset("/root/main/view6");
-
- model.copyNode("/root/send/data1" , "/root/main/testinfo/spcltestinfo");
- model.removeNodeset("/root/send/data2");
-
-
-
- model.makeValue("/root/send/data1/rsltseqno" ,"6");
- submit("TRLRR01511", false);
- setImageRefInstance("/root/main/immnof/immno6/imgrslt");//이미지 셋팅
- img.attribute("width")= model.getValue("/root/main/immnof/immno6/imgwidt");
- img.attribute("height")= model.getValue("/root/main/immnof/immno6/imght");
-
- // model.makeValue("/root/send/data1/rsltseqno" , model.getValue("/root/main/imglist/rsltseqno["+i+"]"));
- // submit("TRLRR01502", false);
- // setImageRefInstance("/root/main/view/imgrslt");//이미지 셋팅
-
- model.removeNodeset("/root/send/data1");
- model.makeNode("/root/send/data1");
- model.makeNode("/root/send/data2");
-
- model.refresh();
- }
-
-
- //이미지 콤보 박스 조회
- function fImgRslt(cmb, cpt, img){
- cmb = document.controls.item(cmb);
- cpt = document.controls.item(cpt);
- fimg = document.controls.item(img);
-
- model.copyNode("/root/send/data1" , "/root/main/testinfo/spcltestinfo");
-
- if(model.getValue("/root/main/testinfo/spcltestinfo/testcd") == "LSI113") { //ld 이미지
- submit("TRLRR01501");
-
- model.makeNode("/root/main/imglistld"); //ld history 노드 생성
- copyNodeType("/root/main/imglistld", "/root/main/imglist"); //history 이동
- model.removenode("/root/main/imglist"); //이전 history 노드 삭제
-
- if(getNodesetCount("/root/main/imglistld/rsltseqno") > 0){ //history가 존재하면 이미지 조회
- cmb.value = model.getvalue("/root/main/imglistld/rsltseqno");
- fImgRef(img);
- fimg.attribute("visibility") = "visible";
- cpt.attribute("visibility") = "hidden";
- }else { //history가 없으면 no_img 띄움.
- fimg.attribute("visibility") = "hidden";
- cpt.attribute("visibility") = "visible";
- }
- } else {
- submit("TRLRR01501");
-
- if(getNodesetCount("/root/main/imglist/rsltseqno") > 0){ //history가 존재하면 이미지 조회
- cmb.value = model.getvalue("/root/main/imglist/rsltseqno");
- fImgRef(img);
- fimg.attribute("visibility") = "visible";
- cpt.attribute("visibility") = "hidden";
- }else { //history가 없으면 no_img 띄움.
- fimg.attribute("visibility") = "hidden";
- cpt.attribute("visibility") = "visible";
- }
- }
-
- model.removeNodeset("/root/send/data1");
- model.makeNode("/root/send/data1");
-
- model.refresh();
- }
-
- // //이미지 콤보 박스 조회
- // function fImgRslt(cmb, cpt, img){
- // cmb = document.controls.item(cmb);
- // cpt = document.controls.item(cpt);
- // fimg = document.controls.item(img);
- //
- // model.copyNode("/root/send/data1" , "/root/main/testinfo/spcltestinfo");
- //
- //
- // submit("TRLRR01501");
- //
- // if(getNodesetCount("/root/main/imglist/rsltseqno") > 0){ //history가 존재하면 이미지 조회
- // cmb.value = model.getvalue("/root/main/imglist/rsltseqno");
- // fImgRef(img);
- // fimg.attribute("visibility") = "visible";
- // cpt.attribute("visibility") = "hidden";
- // }else { //history가 없으면 no_img 띄움.
- // fimg.attribute("visibility") = "hidden";
- // cpt.attribute("visibility") = "visible";
- // }
- //
- //
- // model.removeNodeset("/root/send/data1");
- // model.makeNode("/root/send/data1");
- //
- // model.refresh();
- // }
-
-
- //그리드 키이벤트
- function fGridKeyEvent(grd, pRef){
- gridObj = document.all(grd);
-
- var row = gridObj.row;
- var col = gridObj.col;
-
- if(col == 1 || col == 4){
- var vBufInptRslt = model.getvalue(pRef +"["+row+"]/bufinptrslt");
- var vReptRslt = model.getValue(pRef +"["+row+"]/reptrslt");
- var InptRslt = model.getvalue(pRef +"["+row+"]/inptrslt");
-
- /* if(vReptRslt != "") {
- if(vReptRslt == "" && InptRslt==""){
- model.setvalue(pRef +"["+row+"]/inptrslt",vReptRslt);
- return;
- }
- else{
- if(vReptRslt == InptRslt){
- fCvtViewResult(gridObj, pRef,true);
- return;
- }
- }
- }else {
- if(vBufInptRslt == "" && InptRslt==""){
- model.setvalue(pRef +"["+row+"]/inptrslt",vBufInptRslt);
- return;
- }
- else{
- if(vBufInptRslt == InptRslt){
- fCvtViewResult(gridObj, pRef,true);
- return;
- }
- }
- }*/
-
-
- fCvtResultCode(row, pRef); //결과코드
- fCvtViewResult(gridObj, pRef); //결과판정
- } else{
- }
- }
-
- //그리드 키이벤트 (STR 전용)
- function fGridKeyEventStr(grd, pRef){
- gridObj = document.all(grd);
-
- var row = gridObj.row;
- var col = gridObj.col;
-
-
- var vBufInptRslt = model.getvalue(pRef +"["+col+"]/bufinptrslt");
- var vReptRslt = model.getValue(pRef +"["+col+"]/reptrslt");
- var InptRslt = model.getvalue(pRef +"["+col+"]/inptrslt");
-
- /* if(vReptRslt != "") {
- if(vReptRslt == "" && InptRslt==""){
- model.setvalue(pRef +"["+row+"]/inptrslt",vReptRslt);
- return;
- }
- else{
- if(vReptRslt == InptRslt){
- fCvtViewResult(gridObj, pRef,true);
- return;
- }
- }
- }else {
- if(vBufInptRslt == "" && InptRslt==""){
- model.setvalue(pRef +"["+row+"]/inptrslt",vBufInptRslt);
- return;
- }
- else{
- if(vBufInptRslt == InptRslt){
- fCvtViewResult(gridObj, pRef,true);
- return;
- }
- }
- }*/
-
-
- fCvtResultCodeStr(col, pRef); //결과코드
- fCvtViewResultStr(gridObj, pRef); //결과판정
-
- }
-
- //그리드 EndEdit (PB만)
- function fGridEndEdit(grd, pRef){
- gridObj = document.all(grd);
-
- var row = gridObj.row;
- var col = gridObj.col;
-
- if(model.getValue(pRef +"["+row+"]/lvl") == "1") { //RBC, WBC, Platelet일때.
- return;
- }
-
- if(col == 1 || col == 4){
- var vBufInptRslt = model.getvalue(pRef +"["+row+"]/bufinptrslt");
- var vReptRslt = model.getValue(pRef +"["+row+"]/reptrslt");
- var InptRslt = model.getvalue(pRef +"["+row+"]/inptrslt");
-
- /* if(vReptRslt != "") {//말초도말검사
- if(vReptRslt == "" && InptRslt==""){
- model.setvalue(pRef +"["+row+"]/inptrslt",vReptRslt);
- return;
- }
- else{
- if(vReptRslt == InptRslt){
- fCvtViewResult(gridObj, pRef,true);
- return;
- }
- }
- }else {
- if(vBufInptRslt == "" && InptRslt==""){
- model.setvalue(pRef +"["+row+"]/inptrslt",vBufInptRslt);
- return;
- }
- else{
- if(vBufInptRslt == InptRslt){
- fCvtViewResult(gridObj, pRef,true);
- return;
- }
- }
- }*/
-
- fCvtResultCode(row, pRef); //결과코드
- fCvtViewResult(gridObj, pRef); //결과판정
- } else{
- }
- }
-
- // 결과판정
- function fCvtViewResult(gridObj, pRef, pMatch, pMulty, pRow){
- var vRow = gridObj.row;
- var vCol = gridObj.col;
-
- var vMaxRow = gridObj.rows-1;
-
- if (typeof(pMatch) == "undefined") pMatch = false;
- if (typeof(pMulty) == "undefined") pMulty = false;
- if (typeof(pRow) != "undefined") vRow = pRow;
-
- var vBufinptrslt = model.getvalue(pRef +"["+vRow+"]/bufinptrslt");
- var vReptrslt = model.getvalue(pRef +"["+vRow+"]/reptrslt");
-
- if(vReptrslt != "") {//말초도말검사
- model.setvalue(pRef +"["+vRow+"]/inptrslt",vReptrslt);
-
- var testcd = model.getValue(pRef + "[" + vRow + "]/testcd");
- var find = grd_rslt.findRow(testcd, 1, 1, true, true);
-
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", vReptrslt);
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", vReptrslt);
- }else {
- model.setvalue(pRef +"["+vRow+"]/inptrslt",vReptrslt);
- model.setvalue (pRef +"["+vRow+"]/reptrslt",vReptrslt);
-
- var testcd = model.getValue(pRef + "[" + vRow + "]/testcd");
- var find = grd_rslt.findRow(testcd, 1, 1, true, true);
-
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", vReptrslt);
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", vReptrslt);
- }
-
- //if(model.getvalue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != ""){ PB 때문에 20080919 윤재한 막음
- model.setvalue("/root/main/testinfo/detailtestinfo["+ find +"]/chk", "Y");
- //}
-
- if (pMulty) {
- model.setvalue(pRef +"["+vRow+"]/bufinptrslt", "");
- } else {
- var vMoveRow = "";
- if(vMaxRow == parseInt(vRow))
- vMoveRow = 1;
- else
- vMoveRow = parseInt(vRow) + 1;
- if( vMaxRow >= vMoveRow ) {
- } else {
- vMoveRow -= 1;
- }
-
- model.setvalue(pRef +"["+vRow+"]/bufinptrslt", "");
-
- gridObj.row = vMoveRow;
- gridObj.col = vCol;
-
-
- model.setvalue(pRef +"["+vMoveRow+"]/bufinptrslt", model.getvalue(pRef +"["+vMoveRow+"]/inptrslt"));
- }
- }
-
- function fCvtViewResultStr(gridObj, pRef, pMatch, pMulty, pRow){
- var vRow = gridObj.row;
- var vCol = gridObj.col;
-
- var vMaxRow = gridObj.rows-1;
-
- if (typeof(pMatch) == "undefined") pMatch = false;
- if (typeof(pMulty) == "undefined") pMulty = false;
- if (typeof(pRow) != "undefined") vRow = pRow;
-
- var vBufinptrslt = model.getvalue(pRef +"["+vCol+"]/bufinptrslt");
- var vReptrslt = model.getvalue(pRef +"["+vCol+"]/reptrslt");
- //alert(vReptrslt);
-
- if(vReptrslt != "") {//말초도말검사
- model.setvalue(pRef +"["+vRow+"]/inptrslt",vReptrslt);
-
- var testcd = model.getValue(pRef + "[" + vCol + "]/testcd");
- //alert(testcd);
- var find = grd_rslt.findRow(testcd, 1, 1, true, true);
- //alert("se "+find + "//" + testcd);
- //alert(find);
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", vReptrslt);
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", vReptrslt);
- }else {
- model.setvalue(pRef +"["+vCol+"]/inptrslt",vReptrslt);
- model.setvalue (pRef +"["+vCol+"]/reptrslt",vReptrslt);
-
- var testcd = model.getValue(pRef + "[" + vCol + "]/testcd");
- var find = grd_rslt.findRow(testcd, 1, 1, true, true);
- //alert("else "+find + "//" + testcd);
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", vReptrslt);
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", vReptrslt);
- }
-
- //if(model.getvalue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != ""){ PB 때문에 20080919 윤재한 막음
- model.setvalue("/root/main/testinfo/detailtestinfo["+ find +"]/chk", "Y");
- //}
-
- if (pMulty) {
- model.setvalue(pRef +"["+vCol+"]/bufinptrslt", "");
- } else {
- var vMoveRow = "";
- if(vMaxRow == parseInt(vRow))
- vMoveRow = 1;
- else
- vMoveRow = parseInt(vRow) + 1;
- if( vMaxRow >= vMoveRow ) {
- } else {
- vMoveRow -= 1;
- }
-
- model.setvalue(pRef +"["+vCol+"]/bufinptrslt", "");
-
- gridObj.row = vMoveRow;
- gridObj.col = vCol;
-
-
- model.setvalue(pRef +"["+vMoveRow+"]/bufinptrslt", model.getvalue(pRef +"["+vMoveRow+"]/inptrslt"));
- }
- }
-
- function fCvtResultCode(row, pRef){
- var vTestcd = model.getValue(pRef + "["+row+"]/tclscd");
- var vInptRslt = model.getValue(pRef + "["+row+"]/bufinptrslt");
-
- var cdNodes = instance1.selectNodes("/root/init/LB0109[etc01='" + vTestcd + "']/cd");
- var cdNodes2 = instance1.selectNodes("/root/init/LB0109[etc01='" + vTestcd + "']/nm");
- var vRstcontLower ="";
- var vRstcontUpper = "";
- for (i = 1; i <= cdNodes.length; i++) {
- var cd = cdNodes.item(i - 1).text;
- var nm = cdNodes2.item(i - 1).text;
-
- if(vInptRslt.toLowerCase() == cd) vRstcontLower = nm;
- if(vInptRslt.toUpperCase() == cd) vRstcontUpper = nm;
- }
-
-
- if (vRstcontLower.getTrim() != "" || vRstcontUpper.getTrim() != "" ) {
- var vRstcont = (vRstcontLower.getTrim() != "") ? vRstcontLower.getTrim() : vRstcontUpper.getTrim();
-
- model.setValue(pRef + "["+row+"]/bufinptrslt", vRstcont);
- model.setValue(pRef + "["+row+"]/inptrslt", vRstcont);
- }
- }
-
- function fCvtResultCodeStr(col, pRef){
- var vTestcd = model.getValue(pRef + "["+col+"]/tclscd");
- var vInptRslt = model.getValue(pRef + "["+col+"]/bufinptrslt");
-
- var cdNodes = instance1.selectNodes("/root/init/LB0109[etc01='" + vTestcd + "']/cd");
- var cdNodes2 = instance1.selectNodes("/root/init/LB0109[etc01='" + vTestcd + "']/nm");
- var vRstcontLower ="";
- var vRstcontUpper = "";
- for (i = 1; i <= cdNodes.length; i++) {
- var cd = cdNodes.item(i - 1).text;
- var nm = cdNodes2.item(i - 1).text;
-
- if(vInptRslt.toLowerCase() == cd) vRstcontLower = nm;
- if(vInptRslt.toUpperCase() == cd) vRstcontUpper = nm;
- }
-
-
- if (vRstcontLower.getTrim() != "" || vRstcontUpper.getTrim() != "" ) {
- var vRstcont = (vRstcontLower.getTrim() != "") ? vRstcontLower.getTrim() : vRstcontUpper.getTrim();
-
- model.setValue(pRef + "["+col+"]/bufinptrslt", vRstcont);
- model.setValue(pRef + "["+col+"]/inptrslt", vRstcont);
- }
- }
-
- //의뢰서 조회
- function fRefREQSHT() {
- if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "01") { //Bone Marrow
- modal("SPLRR90100","","","","","/root/main/testinfo/spcltestinfo", "/root/hidden/reqfrminfo");
- } else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "02") { //분자유전
- modal("SPLRR90200","","","","","/root/main/testinfo/spcltestinfo", "/root/hidden/reqfrminfo");
- } else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "03") { //세포유전
- if(model.getValue("/root/main/testinfo/spcltestinfo/reqfrmcd") =="04" ){
- modal("SPLRR90400","","","","","/root/main/testinfo/spcltestinfo", "/root/hidden/reqfrminfo");
- }
- else{
- modal("SPLRR91300","","","","","/root/main/testinfo/spcltestinfo", "/root/hidden/reqfrminfo");
- }
- } else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "10" || model.getValue("/root/main/rslt/desc/rslt/refflag") == "11") { //PRA, 교차시험
- modal("SPLRR90500","","","","","/root/main/testinfo/spcltestinfo", "/root/hidden/reqfrminfo");
- } else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "09") {//산전기형
- modal("SPLRR90300","","","","","/root/main/testinfo/spcltestinfo", "/root/hidden/reqfrminfo");
- } else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "12") { //TDM
- modal("SPLRR90600","","","","","/root/main/testinfo/spcltestinfo", "/root/hidden/reqfrminfo");
- }else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "07") { //PB
- modal("SPLRR91400","","","","","/root/main/testinfo/spcltestinfo", "/root/hidden/reqfrminfo");
- }else if(model.getValue("/root/main/rslt/desc/rslt/refflag") == "99") { //범용보고서
- modal("SPLRR91000","","","","","/root/main/testinfo/spcltestinfo", "/root/hidden/reqfrminfo");
- }
- }
-
- //키이벤트
- function fKeyEvent(){
- if(event.keyCode == "13"){
- if(event.target == "ipt_testpsn"){ //입력자
- model.setvalue("/root/hidden/testid",ipt_testpsn.currentText.toUpperCase());
- model.refresh();
- fUserNMRef("t");
-
- ipt_testpsn.selBegin = 0;
- ipt_testpsn.selEnd = ipt_testpsn.currentText.length;
- model.setFocus("ipt_readpsn");
- }
-
- if(event.target == "ipt_readpsn"){ //판독자
- model.setvalue("/root/hidden/readid",ipt_readpsn.currentText.toUpperCase());
- model.refresh();
- fUserNMRef("r");
-
- ipt_readpsn.selBegin = 0;
- ipt_readpsn.selEnd = ipt_readpsn.currentText.length;
- model.setFocus("ipt_testpsn");
- }
-
- if(event.target == "ipt_reftext"){ //검색
- model.setvalue("/root/hidden/ref/text",ipt_reftext.currentText.toUpperCase());
- model.refresh();
- Onclick_btnRef();
-
- ipt_reftext.selBegin = 0;
- ipt_reftext.selEnd = ipt_reftext.currentText.length;
- model.setFocus("ipt_reftext");
- }
- }
- }
-
- //환자조회
- function Onclick_btnRef(flag){
- if(flag != "R") {
- model.removeNodeset("/root/main/patlist");
- model.resetInstanceNode("/root/main/testinfo/spcltestinfo");
- model.removeNodeset("/root/main/testinfo/detailtestinfo");
- }
-
- model.setvalue("/root/hidden/refparam/refflag", "3");
-
- if(flag == "R") {
- model.copyNode("/root/send/data1","/root/hidden/ref");
- model.setValue("/root/send/data1/refgbn", "2");
- model.setValue("/root/send/data1/text", model.getValue("/root/main/testinfo/spcltestinfo/bcno"));
- model.copyNode("/root/send/data2","/root/hidden/refparam");
- } else {
- model.copyNode("/root/send/data1","/root/hidden/ref");
-
- if(model.getValue("/root/send/data1/refgbn") == "1") {
- model.setValue("/root/send/data1/text", model.getValue("/root/send/data1/spclno") + model.getValue("/root/send/data1/text"));
- }
-
- model.copyNode("/root/send/data2","/root/hidden/refparam");
- }
-
- submit("TRLRR00101");
-
- if(getNodesetCount("/root/main/patlist") > 0) {
- var grup = model.getValue("/root/main/rslt/desc/rslt/refflag");
- var ngrup = model.getValue("/root/main/patlist/spclrsltformkind");
-
- if(grup != ngrup) {
- model.makeValue("/root/main/rslt/desc/rslt/refflag", ngrup);
- fTranscrn();
- }else {
- model.resetInstanceNode("/root/main/rslt");
-
- model.makeValue("/root/main/rslt/desc/rslt/refflag", grup);
- fTranscrn();
- }
-
- model.makeValue("/root/hidden/refflag/bcno", model.getValue("/root/main/patlist/bcno"));
- model.makeValue("/root/hidden/refflag/testcd", model.getValue("/root/main/patlist/testcd"));
- model.makeValue("/root/hidden/refflag/prcpgenrflag", model.getValue("/root/main/patlist/prcpgenrflag"));
-
- // if(model.getValue("/root/main/patlist/descrsltyn") != "Y") {
- //alert("!@$#!@$");
- fOnclick_grd_patList(flag);
- // }
- }else {
- messageBox("해당", "E013");
- }
-
- model.removeNodeset("/root/send/data1");
- model.makeNode("/root/send/data1");
- model.removeNodeset("/root/send/data2");
- model.makeNode("/root/send/data2");
-
- model.refresh();
- }
-
- //판독 불러오기
- function fGetRead() {
- model.makeValue("/root/send/bcno" , model.getvalue("/root/hidden/refflag/bcno"));
- model.makeValue("/root/send/testcd" , model.getValue("/root/main/testinfo/spcltestinfo/testcd"));
-
- submit("TRLRR00403");
-
- if(model.getValue("/root/main/rslt/desc/rslt/refflag") != "") {
- fTranscrn();
- }
-
- if(getNodesetCount("/root/main/rslt/desc/rslt") < 1) {
- Onclick_btnRef("R");
- }
-
- model.removeNodeset("/root/send/bcno");
- model.removeNodeset("/root/send/testcd");
-
- model.refresh();
- }
-
- //사용자 이름 검색
- function fUserNMRef(flag){
- if(flag == "t") { //입력자
- if(model.getvalue("/root/hidden/testid") != ""){
- model.makeValue("/root/send/userid" , model.getvalue("/root/hidden/testid"));
- submit("TRLZZ00104");
-
- model.setValue("/root/hidden/testnm", model.getValue("/root/main/getUsernm/usernm"));
- }
- } else if(flag == "r") { //판독자
- if(model.getvalue("/root/hidden/readid") != ""){
- model.makeValue("/root/send/userid" , model.getvalue("/root/hidden/readid"));
- submit("TRLRR00406");
-
- model.setValue("/root/hidden/readnm", model.getValue("/root/main/getUsernm/usernm"));
- model.makeValue("/root/hidden/userflag", model.getValue("/root/main/getUsernm/userflag"));
-
- if(model.getValue("/root/main/getUsernm/userflag") == "2"){
- model.setValue("/root/main/getUsernm/specdrid","");
- model.makeValue("/root/hidden/specdrid","");
- }
- else{
- model.makeValue("/root/hidden/specdrid",model.getValue("/root/main/getUsernm/specdrid"));
- }
- }
- }
-
- model.removeNodeset("/root/send/userid");
-
- model.refresh();
- }
-
- //오른쪽 마우스 눌렀을 때 결과코드 보여주기.
- function fGetMouseDown(gridid, pRef){
- gridObj = document.all(gridid);
-
- model.removeNodeset("/root/hidden/popupmenu");
-
- if(event.button == 3){ // 라이트클릭 메뉴만들기...
- model.makeNode("/root/hidden/popupmenu/grid");
- model.makeNode("/root/hidden/popupmenu/grid/item");
-
- if(gridObj.mouseCol== 1){
- var testcd = model.getvalue(pRef + "["+ gridObj.mouseRow +"]/testcd");
- //결과코드관련
- var n = getNodesetCount("/root/init/LB0109[etc01='" + testcd + "']");
-
- if (n > 0) {
- var cdNodes = instance1.selectNodes("/root/init/LB0109[etc01='" + testcd + "']/cd");
- var cdNodes2 = instance1.selectNodes("/root/init/LB0109[etc01='" + testcd + "']/nm");
- var dispyn = instance1.selectNodes("/root/init/LB0109[etc01='" + testcd + "']/etc03");
-
- for (i = 1; i <= n; i++) {
- var cd = cdNodes.item(i - 1).text;
- var nm = cdNodes2.item(i - 1).text;
- var yn = dispyn.item(i - 1).text;
-
- if(yn == "Y"){
- model.makeValue("/root/hidden/popupmenu/grid/item["+ i +"]/name" , "["+ cd +"] "+ nm);
- model.makeValue("/root/hidden/popupmenu/grid/item["+ i +"]/func" , nm + "▦" + gridObj.mouseRow + "▦" + pRef + "▦" + gridObj);
- }
-
- }
- }
- }
-
- if(gridObj.isCell(event.target) && gridObj.mouseRow >= gridObj.fixedrows){
- window.setPopupMenu(true , "/root/hidden/popupmenu/grid/item" , "name", "func" , true);
- //setPopupMenu("grd_TestInfoCnts" , true, "/root/hidden/popupmenu/grid/item", "name", "func");
- }else{
- window.setPopupMenu(false);
- }
- }
- }
-
- function fOnmenu(popupParam){
- var aL = popupParam.split("▦");
-
- fRsltCode2(aL[0] , aL[1], aL[2], aL[3]);
- }
-
- function fRsltCode2(nm , pRow, pRef, gridObj){
- model.setvalue(pRef + "["+ pRow +"]/reptrslt", nm);
- model.refresh();
- fCvtViewResult(gridObj, pRef, true, true, pRow);
- model.removeNodeset("/root/hidden/popupmenu");
- }
-
-
- function fXERslt(){
- modal("SPLLR91500 ","","","","","/root/main/rslt/desc/rslt/cbcrslt/bcno","/root/send/bcno");
- }
-
-
- function fAddress(pRef){//세포유전및FISH검사관리 주소 조회, 분자쪽도 추가
- model.makeValue("/root/send/deptflag",pRef);
-
- submit("TRLRR01505");
- model.removenode("/root/send/deptflag");
- }
-
- /* @group : 검사항목 그리드 셋팅
- * @ver : 2008.12.22
- * @by : 김성희
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 검사항목 그리드 셋팅 Function
- */
- function fGrdReMake(){
- // model.removeNodeset("/root/main/testinfo/patlist");
- model.refresh();
- if(grd_testlist.cols > gStartCol){
- var cols = grd_testlist.cols
- for(i=cols ; i > gStartCol ; i--)
- grd_testlist.colHidden(i) = true;
- }
- //var strCaption = "환자명^바코드번호^결과일시";
- var caption = "";
-
- var vTclsnmB= model.getValue("/root/init/LB1006/etc02").split("▦");
- var vTclsnmA = model.getValue("/root/init/LB1006/nm").split("▦");
-
- //caption = strCaption;
-
- // for(i=0;i<vTclsnmA.length;i++){
- //
- // grd_testlist.colHidden(i + gStartCol) = false;
- //
- // caption += "^" + vTclsnmA[i];
- // }
- //
- // caption += "|" + strCaption;
-
- for(i=0;i<vTclsnmB.length;i++){
- grd_testlist.colHidden(i + gStartCol) = false;
-
- if(i == "0"){
- caption += vTclsnmB[i];
- }
- else{
- caption += "^" + vTclsnmB[i];
- }
- }
-
- model.makeValue("/root/send/caption", caption);
- grd_testlist.caption = caption;
- grd_testlist.rebuild();
- }
-
-
- //조회후 그리드 리메이크
- function fGrdReMake2(){
- var vCdList = model.getValue("/root/init/LB1006/etc01").split("▦");
- var vCdCount = vCdList.length;
- //alert(vCdCount);
- var vOrgrst = "";
- var curCol = 0;
-
- for (var row = 1; row < (grd_testlist.rows-1) ; row++) {
-
- for (var col=0; col < parseInt(vCdCount); col++) {
- vOrgrst = "inptrslt" + (eval(col+1) );
-
- if (model.getValue("/root/main/testinfo/patlist["+row+"]/"+vOrgrst+"/@readonly") == "true") {
- curCol = eval(gStartCol+col);
- //alert(curCol);
- grd_testlist.cellStyle("background-color", (row+1), curCol, (row+1),curCol) = "#eaeaea";
- grd_testlist.isReadOnly((row+1), curCol) = true;
- }
- }
- }
- //grd_testlist.
- }
-
- function fGridKeyDown(){
- var curRow = grd_testlist.row; //현재로우
- var curCol = grd_testlist.col; //현재컬럼
-
- if (event.keyCode == 37 || event.keyCode == 38 || event.keyCode == 39 || event.keyCode == 40) {
- if (event.keyCode == 37) { //←
- --curCol;
- } else if (event.keyCode == 38) { //↑
- --curRow;
- } else if (event.keyCode == 39) { //→
- ++curCol;
- } else if (event.keyCode == 40) { //↓
- ++curRow;
- }
-
- var refRow = fGetRow(curRow, curCol); //실제 데이터있는 그리드의 로우 검색
-
- //fPatGridClick(curRow, curCol); //검체정보 조회
-
- if (refRow > 0) {
- var vInptRslt = model.getValue("/root/main/testinfo/detailtestinfo["+refRow+"]/inptrslt");
- grd_testlist.valueMatrix(curRow, curCol) = vInptRslt;
- }
- }
- }
-
-
- //비정상만조회
- function fChkWideuseAbnr(ref){
- if(ref == "Y"){
- if(getNodesetCount("/root/main/rslt/desc/rslt/detltclsinfo") > 0) {
- for(i = 1; i <= getNodesetCount("/root/main/rslt/desc/rslt/detltclsinfo"); i++) {
- if(model.getValue("/root/main/rslt/desc/rslt/detltclsinfo["+ i +"]/reptrslt") != "비정상"){
- grd_wideuse_dtcl1.rowHidden(i) = true;
- }
- }
- }
- }else{
- if(getNodesetCount("/root/main/rslt/desc/rslt/detltclsinfo") > 0) {
- for(i = 1; i <= getNodesetCount("/root/main/rslt/desc/rslt/detltclsinfo"); i++) {
- grd_wideuse_dtcl1.rowHidden(i) = false;
- }
- }
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
- <switch id="switch3" style="left:0px; top:85px; width:1192px; height:655px; ">
- <case id="pra">
- <line id="line63" class="line_1" style="x1:5px; y1:25px; x2:560px; y2:25px; "/>
- <caption id="caption102" class="tit_2" style="left:10px; top:10px; width:115px; height:13px; ">PRA Screening</caption>
- <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; ">
- <col ref="tclsscrnnm"/>
- <col ref="bfspcacptdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="bfreptrslt"/>
- <col ref="reptrslt" type="input"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[/*
- var testcd = model.getValue("/root/main/rslt/desc/rslt/pra/prascreening["+ grd_pra_scrn.row +"]/testcd");
- var find = grd_rslt.findRow(testcd, 1, 1, true, true);
-
- if(grd_pra_scrn.row == grd_pra_scrn.rows - 1) {
- 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"));
-
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/prascreening["+ grd_pra_scrn.row +"]/reptrslt"));
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/prascreening["+ grd_pra_scrn.row +"]/reptrslt"));
-
- if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk" , "Y");
- }
-
- grd_pra_scrn.row = 1;
- } else {
- 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"));
-
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/prascreening["+ grd_pra_scrn.row +"]/reptrslt"));
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/prascreening["+ grd_pra_scrn.row +"]/reptrslt"));
-
- if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk" , "Y");
- }
-
- grd_pra_scrn.row = (grd_pra_scrn.row) + 1;
- }*/
-
- fGridKeyEvent("grd_pra_scrn", "/root/main/rslt/desc/rslt/pra/prascreening");
- ]]>
- </script>
- </datagrid>
- <caption id="caption100" class="tit_2" style="left:570px; top:10px; width:133px; height:13px; ">PRA Identification</caption>
- <line id="line64" class="line_1" style="x1:565px; y1:25px; x2:1180px; y2:25px; "/>
- <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; ">
- <col ref="tclsscrnnm"/>
- <col ref="bfspcacptdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="bfreptrslt"/>
- <col ref="reptrslt" type="input"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[/*
- var testcd = model.getValue("/root/main/rslt/desc/rslt/pra/iden["+ datagrid27.row +"]/testcd");
- var find = grd_rslt.findRow(testcd, 1, 1, true, true);
-
- if(datagrid27.row == datagrid27.rows - 1) {
- model.setValue("/root/main/rslt/desc/rslt/pra/iden["+ datagrid27.row +"]/inptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/iden["+ datagrid27.row +"]/reptrslt"));
-
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/iden["+ datagrid27.row +"]/reptrslt"));
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/iden["+ datagrid27.row +"]/reptrslt"));
-
- datagrid27.row = 1;
- } else {
- model.setValue("/root/main/rslt/desc/rslt/pra/iden["+ datagrid27.row +"]/inptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/iden["+ datagrid27.row +"]/reptrslt"));
-
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/iden["+ datagrid27.row +"]/reptrslt"));
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/iden["+ datagrid27.row +"]/reptrslt"));
-
- datagrid27.row = (datagrid27.row) + 1;
- }
-
- var per = model.getValue("/root/main/rslt/desc/rslt/pra/iden["+ grd_pra_iden.row +"]/per");
-
- var testcd = model.getValue("/root/main/rslt/desc/rslt/pra/iden["+ grd_pra_iden.row +"]/testcd");
- var find = grd_rslt.findRow(testcd, 1, 1, true, true);
-
- if(per == "0") {
- model.setValue("/root/main/rslt/desc/rslt/pra/iden["+ grd_pra_iden.row +"]/reptrslt", "Negative");
- model.setValue("/root/main/rslt/desc/rslt/pra/iden["+ grd_pra_iden.row +"]/inptrslt", "Negative");
-
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", "Negative");
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", "Negative");
-
- if(grd_pra_iden.row == grd_pra_iden.rows - 1) {
- grd_pra_iden.row = 1;
- }else {
- grd_pra_iden.row = (grd_pra_iden.row) + 1;
- }
- } else if(per >= 1) {
- model.setValue("/root/main/rslt/desc/rslt/pra/iden["+ grd_pra_iden.row +"]/reptrslt", "Positive");
- model.setValue("/root/main/rslt/desc/rslt/pra/iden["+ grd_pra_iden.row +"]/inptrslt", "Positive");
-
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", "Positive");
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", "Positive");
-
- if(grd_pra_iden.row == grd_pra_iden.rows - 1) {
- grd_pra_iden.row = 1;
- }else {
- grd_pra_iden.row = (grd_pra_iden.row) + 1;
- }
- } */
-
- fGridKeyEvent("grd_pra_iden", "/root/main/rslt/desc/rslt/pra/iden");
- ]]>
- </script>
- </datagrid>
- <caption id="caption30" class="tit_2" style="left:570px; top:260px; width:115px; height:13px; ">판독결과</caption>
- <line id="line66" class="line_1" style="x1:565px; y1:275px; x2:1180px; y2:275px; "/>
- <caption id="caption9" class="tit_2" style="left:10px; top:260px; width:192px; height:13px; ">판독예문</caption>
- <line id="line13" class="line_1" style="x1:5px; y1:276px; x2:560px; y2:276px; "/>
- <button id="button13" class="btn2_letter4" style="left:495px; top:256px; width:64px; height:19px; ">
- <caption>판독예문</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMLLF02000 ","","","","","/root/main/testinfo/spcltestinfo/testcd","/root/hidden/testcd");
-
- submit("TRLRR00402");
- fRsltCode("grd_pb_readexmp");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button27" class="btn2_letter4" style="left:1115px; top:5px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter6.gif; ">
- <caption>결과조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- open("SMLLP01400");
- ]]>
- </script>
- </button>
- <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; ">
- <col ref="cd"/>
- <col ref="nm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fRsltCodeDBClick("grd_pb_readexmp");
- ]]>
- </script>
- </datagrid>
- <textarea id="tar_pb_readrslt" ref="/root/main/rslt/desc/rslt/readrslt" style="left:565px; top:280px; width:615px; height:345px; "/>
- <select id="checkbox14" ref="/root/hidden/readexmpadd" overflow="visible" appearance="full" style="left:440px; top:258px; width:50px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>추가</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- </case>
- <case id="bm" style="left:0px; top:0px; width:1192px; height:655px; ">
- <switch id="switch1" class="sw_box" style="left:404px; top:25px; width:786px; height:625px; ">
- <case id="bm_img">
- <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; "/>
- <select1 id="cmb_bm_seq" ref="/root/hidden/rsltseqno" class="combo_default" appearance="minimal" style="left:88px; top:4px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/imglist">
- <label ref="lastupdtrdt"/>
- <value ref="rsltseqno"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fImgRef("img_bm");
- ]]>
- </script>
- </select1>
- <button id="button22" class="btn2_letter7" style="left:210px; top:4px; width:97px; height:19px; ">
- <caption>이미지결과등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getvalue("/root/main/testinfo/spcltestinfo/bcno") != ""){
- modal("SMLRR01500","", "", "","", "/root/main/testinfo/spcltestinfo", "/root/hidden/spcltestinfo");
- fImgRslt("cmb_bm_seq", "cpt_bm_noimg", "img_bm");
- }
- ]]>
- </script>
- </button>
- <caption id="caption17" class="cell_1" style="left:5px; top:2px; width:80px; height:23px; vertical-align:middle; ">History</caption>
- <img id="img_bm" ref="/root/main/view/imgrslt" src="../images/결과이미지.gif" style="left:5px; top:28px; width:775px; height:587px; background-stretch:stretch; "/>
- <img id="img3" visibility="hidden" style="left:305px; top:45px; width:365px; height:148px; background-color:#ff6600; background-stretch:stretch; "/>
- </case>
- <case id="bm_desc" selected="true">
- <button id="button50" class="btn2_letter10" style="left:330px; top:469px; width:130px; height:19px; ">
- <caption>interpretation grid</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(group_bminter.attribute("visibility") == "visible") {
- group_bminter.attribute("visibility") = "hidden";
- }else {
- group_bminter.attribute("visibility") = "visible";
- }
- ]]>
- </script>
- </button>
- <button id="button44" class="btn2_letter7" style="left:484px; top:469px; width:97px; height:19px; ">
- <caption>IHC stain</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(group11.attribute("visibility") == "visible") {
- group11.attribute("visibility") = "hidden";
- }else {
- group11.attribute("visibility") = "visible";
- }
- ]]>
- </script>
- </button>
- <textarea id="tar_bm_readrslt" ref="/root/main/rslt/desc/rslt/readrslt" style="left:0px; top:18px; width:780px; height:447px; font-size:11pt; "/>
- <button id="button17" class="btn2_letter7" style="left:584px; top:469px; width:97px; height:19px; ">
- <caption>Special stain</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(group12.attribute("visibility") == "visible") {
- group12.attribute("visibility") = "hidden";
- }else {
- group12.attribute("visibility") = "visible";
- }
- ]]>
- </script>
- </button>
- <textarea id="tar_bm_itpt" ref="/root/main/rslt/desc/rslt/inter2" style="left:0px; top:491px; width:780px; height:55px; font-size:11pt; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/rslt/desc/rslt/inter",model.getValue("/root/main/rslt/desc/rslt/inter2"));
- model.refresh();
- ]]>
- </script>
- </textarea>
- <button id="button19" class="btn2_letter7" style="left:684px; top:469px; width:97px; height:19px; ">
- <caption>BM Diff.count</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(group2.attribute("visibility") == "visible") {
- var val = null;
- sum = 0;
- for(i = 1; i < grd_bm_diff.rows; i++) {
- if(model.getValue("/root/main/rslt/desc/rslt/bm/diff["+ i +"]/input") != "") {
- val = model.getValue("/root/main/rslt/desc/rslt/bm/diff["+ i +"]/input");
- sum += parseInt(val);
- }
- }
-
- if(sum < 100) {
- messageBox("BM Diff.count 값이 100보다 작습니다.", "E");
- }
- group2.attribute("visibility") = "hidden";
- }else {
- group2.attribute("visibility") = "visible";
- }
- ]]>
- </script>
- </button>
- <line id="line11" class="line_1" style="x1:0px; y1:13px; x2:780px; y2:13px; "/>
- <caption id="caption4" class="tit_2" style="left:5px; top:473px; width:115px; height:13px; ">Interpretation</caption>
- <caption id="caption5" class="tit_2" style="left:5px; top:549px; width:158px; height:13px; ">Comments</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:486px; x2:780px; y2:486px; "/>
- <line id="line4" class="line_1" style="x1:0px; y1:561px; x2:780px; y2:561px; "/>
- <caption id="caption28" class="tit_2" style="left:5px; top:0px; width:115px; height:13px; ">판독결과</caption>
- <textarea id="tar_bm_comment" ref="/root/main/rslt/desc/rslt/comments" style="left:0px; top:567px; width:780px; height:55px; font-size:11pt; "/>
- <group id="group2" visibility="hidden" overflow="visible" style="left:510px; top:100px; width:270px; height:370px; ">
- <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; ">
- <col ref="tclsnm" type="input"/>
- <col ref="input" type="input"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- if((grd_bm_diff.isCell(event.target) && grd_bm_diff.row >= grd_bm_diff.fixedRows) && grd_bm_diff.col >= 1 ){
- var val = null;
- sum = 0;
- for(i = 1; i < grd_bm_diff.rows; i++) {
- if(model.getValue("/root/main/rslt/desc/rslt/bm/diff["+ i +"]/input") != "") {
- val = model.getValue("/root/main/rslt/desc/rslt/bm/diff["+ i +"]/input");
- sum += parseInt(val);
- }
- }
-
- if(sum > 100) {
- messageBox("BM Diff.count 값이 100", "E003");
- return;
- }
- }
- ]]>
- </script>
- </datagrid>
- <button id="button25" class="btn2_letter3" style="left:215px; top:0px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_bm_diff.addRow();
- ]]>
- </script>
- </button>
- </group>
- <group id="group12" visibility="hidden" overflow="visible" style="left:495px; top:205px; width:280px; height:235px; ">
- <button id="button47" class="btn2_letter3" style="left:200px; top:0px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_bm_sst.addRow();
- ]]>
- </script>
- </button>
- <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; ">
- <col ref="tclsnm" type="input"/>
- <col ref="input" type="input"/>
- </datagrid>
- </group>
- <group id="group11" visibility="hidden" overflow="visible" style="left:225px; top:210px; width:280px; height:235px; ">
- <button id="button46" class="btn2_letter3" style="left:200px; top:0px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_bm_ihc.addRow();
- ]]>
- </script>
- </button>
- <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; ">
- <col ref="tclsnm" type="input"/>
- <col ref="input" type="input"/>
- </datagrid>
- </group>
- <group id="group_bminter" visibility="hidden" scroll="auto" style="left:0px; top:338px; width:775px; height:130px; ">
- <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; ">
- <col checkvalue="true,false" ref="chk" type="checkbox"/>
- <col ref="interrslt" type="input"/>
- <col ref="lastdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="userid" type="input"/>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13"){
- var row = grd_bminter.row;
-
-
- model.setValue("/root/main/rslt/desc/rslt/bminter["+ row +"]/chk","true");
- //alert(event.keyCode);
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <button id="button49" class="btn2_letter3" style="left:707px; top:5px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_bminter.addRow();
- var row = grd_bminter.row;
-
-
- ]]>
- </script>
- </button>
- </group>
- </case>
- </switch>
- <caption id="caption25" class="tit_2" style="left:10px; top:10px; width:115px; height:14px; ">CBC Result</caption>
- <line id="line1" class="line_1" style="x1:5px; y1:26px; x2:400px; y2:26px; "/>
- <line id="line2" class="line_1" style="x1:5px; y1:241px; x2:400px; y2:241px; "/>
- <caption id="caption26" class="tit_2" style="left:10px; top:225px; width:115px; height:13px; ">연관검사</caption>
- <line id="line10" class="line_1" style="x1:5px; y1:457px; x2:400px; y2:457px; "/>
- <caption id="caption27" class="tit_2" style="left:10px; top:441px; width:115px; height:13px; ">BM 이전결과</caption>
- <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; ">
- <col ref="testcd"/>
- <col ref="tclsnm"/>
- <col ref="reptrslt"/>
- <col ref="rsltunit"/>
- <col ref="lastreptdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="bfreptrst"/>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if ( (grd_bm_cbcrslt.row >= grd_bm_cbcrslt.fixedRows) && (grd_bm_cbcrslt.isCell(event.target))) {
-
- grd_bm_cbcrslt.row = grd_bm_cbcrslt.mouseRow;
- model.removenode("/root/hidden/popupmenu/grid");
-
- model.makeValue("/root/hidden/popupmenu/grid/item/name" , "▶ XE2100결과조회");
- model.makeValue("/root/hidden/popupmenu/grid/item/func" , "fXERslt");
-
- setPopupMenu("grd_bm_cbcrslt", false, "/root/hidden/popupmenu/grid/item", "name", "func");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- initPopupMenu();
- ]]>
- </script>
- </datagrid>
- <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; ">
- <col ref="tclscd"/>
- <col ref="tclsscrnnm"/>
- <col ref="reptrslt"/>
- <col ref="lastreptdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="ref"/>
- <col ref="bfreptrst"/>
- </datagrid>
- <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; ">
- <col ref="lastreptdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="spcltestno"/>
- <col ref="inter"/>
- </datagrid>
- <select1 id="cmb_exmp" ref="/root/hidden/readexmp" appearance="minimal" style="left:1010px; top:5px; width:180px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/readrslt">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var val = model.getValue("/root/hidden/readexmp");
-
- // var etc02node = instance1.selectNodes("/root/init/readrslt[cd = '"+ val +"']/etc02");
- // var etc01node = instance1.selectNodes("/root/init/readrslt[cd = '"+ val +"']/etc01");
- var etc02node = instance1.selectNodes("/root/init/readrslt[cd = '"+ val +"' and etc03='"+ model.getvalue("/root/main/testinfo/spcltestinfo/testcd") +"']/etc02");
- var etc01node = instance1.selectNodes("/root/init/readrslt[cd = '"+ val +"' and etc03='"+ model.getvalue("/root/main/testinfo/spcltestinfo/testcd") +"']/etc01");
-
- var etc02 = etc02node.item(0).text;
- var etc01 = etc01node.item(0).text;
-
- //추가 체크되면 기존 입력한 내용에 추가하여 입력
- if(model.getValue("/root/hidden/readexmpadd") == "Y") {
- var read = model.getValue("/root/main/rslt/desc/rslt/readrslt");
-
- model.setValue("/root/main/rslt/desc/rslt/readrslt", read + "\n" + etc01);
- } else {
- model.setValue("/root/main/rslt/desc/rslt/readrslt", etc01);
- }
-
- //판독결과에만 추가 체크되어 있으면 inter은 입력하지 않음.
- if(model.getValue("/root/hidden/readexmpyn") != "Y"){
-
- var inter = model.getValue("/root/main/rslt/desc/rslt/inter2");
- if(model.getValue("/root/hidden/readexmpadd") == "Y"){
- model.setValue("/root/main/rslt/desc/rslt/inter2", inter +"\n"+ etc02);
- }
- else{
- model.setValue("/root/main/rslt/desc/rslt/inter2", etc02);
- }
- }
-
- model.refresh();
- ]]>
- </script>
- </select1>
- <button id="button4" class="btn2_letter4" style="left:336px; top:220px; width:64px; height:19px; ">
- <caption>연관검사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMLLF00900");
-
- fGetRelRslt();
- ]]>
- </script>
- </button>
- <button id="button5" class="btn2_letter4" style="left:941px; top:5px; width:64px; height:19px; ">
- <caption>판독예문</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMLLF02000 ","","","","","/root/main/testinfo/spcltestinfo/testcd","/root/hidden/testcd");
-
- submit("TRLRR00402");
- fRsltCode("");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <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; ">
- <caption>이미지결과</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("bm_img");
- ]]>
- </script>
- </button>
- <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; ">
- <caption>서술결과</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("bm_desc");
- ]]>
- </script>
- </button>
- <select id="checkbox13" ref="/root/hidden/readexmpadd" overflow="visible" appearance="full" style="left:886px; top:7px; width:50px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>추가</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <button id="button2" class="btn2_letter4" visibility="hidden" style="left:585px; top:5px; width:64px; height:19px; ">
- <caption>서식출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /* model.setValue("/root/hidden/xslt/signno", model.getValue("/root/main/testinfo/spcltestinfo/signno"));
- model.setValue("/root/hidden/xslt/form", "0000002916");
- modal("SPLRR90900 ","","","","","/root/hidden/xslt","/root/init");*/
-
- var signno = model.getValue("/root/main/testinfo/spcltestinfo/signno");
- var formcd = model.getValue("/root/main/testinfo/spcltestinfo/formcd");//"0000002916";
-
- if(signno != 0) {
- setParameter("SPMRI02400_prtrecinfo","E▦" + signno + "▦" + formcd + "▩");
- modal("SPMRI02400");
- } else {
- messageBox("전문의 확인이 되지", "E007");
- }
- ]]>
- </script>
- </button>
- <select id="checkbox18" ref="/root/hidden/readexmpyn" overflow="visible" appearance="full" style="left:720px; top:7px; width:160px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>판독결과에만 추가</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- </case>
- <case id="mole" style="left:0px; top:0px; width:1192px; height:655px; ">
- <caption id="caption34" class="tit_2" style="left:10px; top:10px; width:135px; height:14px; ">Bone Marrow 결과</caption>
- <line id="line14" class="line_1" style="x1:5px; y1:26px; x2:1180px; y2:26px; "/>
- <output id="output8" ref="/root/main/rslt/desc/rslt/bfbm/spcltestno" class="output_fix" style="left:5px; top:31px; width:120px; height:19px; "/>
- <textarea id="tar_mole_bfbmrslt" ref="/root/main/rslt/desc/rslt/bfbm/inter" style="left:130px; top:31px; width:1050px; height:37px; "/>
- <line id="line15" class="line_1" style="x1:5px; y1:96px; x2:1180px; y2:96px; "/>
- <caption id="caption35" class="tit_2" style="left:10px; top:80px; width:238px; height:13px; ">이전 검사 결과 (선택 검사에 대한)</caption>
- <line id="line16" class="line_3" style="x1:5px; y1:69px; x2:1180px; y2:69px; "/>
- <textarea id="tar_mole_reqcnt" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/reqcnts" style="left:5px; top:192px; width:1175px; height:60px; "/>
- <line id="line18" class="line_1" style="x1:5px; y1:187px; x2:1180px; y2:187px; "/>
- <caption id="caption36" class="tit_2" style="left:10px; top:171px; width:238px; height:14px; ">임상적 적응증</caption>
- <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; ">
- <col checkvalue="Y,N" ref="chk" type="checkbox"/>
- <col ref="testcd"/>
- <col ref="tclsscrnnm"/>
- <col ref="reptrslt" type="input"/>
- <col ref="rsltunit"/>
- <col ref="bflastreptdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="bfreptrslt"/>
- <col ref="inptrslt"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- fGridKeyEvent("grd_mole_dtcl", "/root/main/rslt/desc/rslt/detltclsinfo");
- ]]>
- </script>
- </datagrid>
- <caption id="caption37" class="tit_2" style="left:5px; top:262px; width:115px; height:13px; ">세부검사 목록</caption>
- <line id="line19" class="line_1" style="x1:5px; y1:277px; x2:590px; y2:277px; "/>
- <line id="line20" class="line_1" style="x1:595px; y1:275px; x2:1180px; y2:275px; "/>
- <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; ">
- <col ref="cd"/>
- <col ref="nm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fRsltCodeDBClick("grd_mole_rsltcode");
- ]]>
- </script>
- </datagrid>
- <caption id="caption38" class="tit_2" style="left:600px; top:260px; width:115px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">판독예문</caption>
- <switch id="switch4" class="sw_box" style="left:5px; top:437px; width:1185px; height:218px; ">
- <case id="mole_desc" selected="true">
- <textarea id="tar_mole_readrslt" ref="/root/main/rslt/desc/rslt/readrslt" style="left:5px; top:20px; width:1169px; height:190px; "/>
- <caption id="caption8" class="tit_2" style="left:5px; top:5px; width:135px; height:13px; ">판독결과</caption>
- </case>
- <case id="mole_img">
- <img id="img_mole" ref="/root/main/view/imgrslt" src="../images/결과이미지.gif" style="left:5px; top:28px; width:800px; height:148px; background-stretch:stretch; "/>
- <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; "/>
- <select1 id="cmb_mole_seq" ref="/root/hidden/rsltseqno" class="combo_default" appearance="minimal" style="left:88px; top:4px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/imglist">
- <label ref="lastupdtrdt"/>
- <value ref="rsltseqno"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fImgRef("img_mole");
- ]]>
- </script>
- </select1>
- <button id="button18" class="btn2_letter7" style="left:210px; top:4px; width:97px; height:19px; ">
- <caption>이미지결과등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getvalue("/root/main/testinfo/spcltestinfo/bcno") != ""){
- modal("SMLRR01500","", "", "","", "/root/main/testinfo/spcltestinfo", "/root/hidden/spcltestinfo");
- fImgRslt("cmb_mole_seq", "cpt_mole_noimg", "img_mole");
- }
- ]]>
- </script>
- </button>
- <caption id="caption39" class="cell_1" style="left:5px; top:2px; width:80px; height:23px; vertical-align:middle; ">History</caption>
- <img id="img4" visibility="hidden" style="left:430px; top:15px; width:365px; height:148px; background-color:#ff6600; background-stretch:stretch; "/>
- </case>
- </switch>
- <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; ">
- <caption>이미지결과</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("mole_img");
- ]]>
- </script>
- </button>
- <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; ">
- <caption>서술결과</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("mole_desc");
- ]]>
- </script>
- </button>
- <button id="button10" class="btn2_letter4" style="left:1115px; top:255px; width:64px; height:19px; ">
- <caption>판독예문</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMLLF02000 ","","","","","/root/main/testinfo/spcltestinfo/testcd","/root/hidden/testcd");
-
- submit("TRLRR00402");
- fRsltCode("grd_mole_rsltcode");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <select id="checkbox12" ref="/root/hidden/readexmpadd" overflow="visible" appearance="full" style="left:1060px; top:257px; width:50px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>추가</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <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; ">
- <col ref="hngnm"/>
- <col ref="pid"/>
- <col ref="sex"/>
- <col ref="age"/>
- <col ref="orddeptnm"/>
- <col ref="tclsscrnnm"/>
- <col ref="lastreptdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="inter"/>
- </datagrid>
- </case>
- <case id="cell" style="left:0px; top:0px; width:1192px; height:655px; ">
- <textarea id="tar_cell_bfbmrslt" ref="/root/main/rslt/desc/rslt/bfbm/inter" style="left:130px; top:31px; width:1050px; height:37px; "/>
- <output id="output9" ref="/root/main/rslt/desc/rslt/bfbm/spcltestno" class="output_fix" style="left:5px; top:31px; width:120px; height:19px; "/>
- <line id="line21" class="line_1" style="x1:5px; y1:26px; x2:1180px; y2:26px; "/>
- <line id="line22" class="line_1" style="x1:5px; y1:96px; x2:1180px; y2:96px; "/>
- <caption id="caption41" class="tit_2" style="left:10px; top:10px; width:145px; height:13px; ">Bone Marrow 결과</caption>
- <caption id="caption42" class="tit_2" style="left:10px; top:80px; width:135px; height:13px; ">이전 검사 결과</caption>
- <line id="line23" class="line_3" style="x1:5px; y1:69px; x2:1180px; y2:69px; "/>
- <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; ">
- <caption>이미지결과</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("cell_img");
- ]]>
- </script>
- </button>
- <button id="button1" class="btn2_letter4" style="left:530px; top:255px; width:64px; height:19px; ">
- <caption>연관검사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_cm.attribute("visibility") == "visible") {
- grd_cm.attribute("visibility") = "hidden";
- }else {
- grd_cm.attribute("visibility") = "visible";
-
- //modal("SMLLF00900");
-
- fGetRelRslt();
- }
-
-
-
-
- ]]>
- </script>
- </button>
- <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; ">
- <caption>서술결과</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("cell_desc");
- ]]>
- </script>
- </button>
- <switch id="switch5" class="sw_box" style="left:5px; top:275px; width:1185px; height:380px; ">
- <case id="cell_desc" selected="true">
- <line id="line24" class="line_1" style="x1:5px; y1:26px; x2:590px; y2:26px; "/>
- <caption id="caption45" class="tit_2" style="left:10px; top:10px; width:135px; height:14px; ">판독예문</caption>
- <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; ">
- <col ref="cd"/>
- <col ref="nm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fRsltCodeDBClick("grd_cell_rsltcode");
- ]]>
- </script>
- </datagrid>
- <line id="line25" class="line_1" style="x1:595px; y1:25px; x2:1174px; y2:25px; "/>
- <caption id="caption46" class="tit_2" style="left:600px; top:9px; width:135px; height:13px; ">판독결과</caption>
- <textarea id="tar_cell_readrslt" ref="/root/main/rslt/desc/rslt/readrslt" style="left:595px; top:30px; width:579px; height:210px; "/>
- <line id="line26" class="line_1" style="left:595; x1:595px; y1:262px; x2:1174px; y2:262px; "/>
- <caption id="caption47" class="tit_2" style="left:600px; top:246px; width:135px; height:13px; ">Interpretation</caption>
- <textarea id="tar_cell_inpt" ref="/root/main/rslt/desc/rslt/inter" style="left:595; top:267px; width:579px; height:109px; "/>
- <button id="button9" class="btn2_letter4" style="left:526px; top:5px; width:64px; height:19px; ">
- <caption>판독예문</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMLLF02000 ","","","","","/root/main/testinfo/spcltestinfo/testcd","/root/hidden/testcd");
-
- submit("TRLRR00402");
- fRsltCode("grd_cell_rsltcode");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <select id="checkbox11" ref="/root/hidden/readexmpadd" overflow="visible" appearance="full" style="left:471px; top:7px; width:50px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>추가</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <caption id="caption163" class="tit_2" style="left:5px; top:246px; width:135px; height:13px; ">Comments</caption>
- <line id="line106" class="line_1" style="left:595; x1:0px; y1:262px; x2:590px; y2:262px; "/>
- <textarea id="textarea2" ref="/root/main/rslt/desc/rslt/comments" style="left:0px; top:267px; width:590px; height:109px; "/>
- <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; ">
- <col ref="tclscd"/>
- <col ref="tclsscrnnm"/>
- <col ref="reptrslt"/>
- <col ref="lastreptdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="ref"/>
- <col ref="bfreptrst"/>
- </datagrid>
- </case>
- <case id="cell_img">
- <img id="img_cell" ref="/root/main/view/imgrslt" src="../images/결과이미지.gif" style="left:25px; top:35px; width:800px; height:300px; background-stretch:stretch; "/>
- <select1 id="cmb_cell_seq" ref="/root/hidden/rsltseqno" class="combo_default" appearance="minimal" style="left:88px; top:4px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/imglist">
- <label ref="lastupdtrdt"/>
- <value ref="rsltseqno"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fImgRef("img_cell");
- ]]>
- </script>
- </select1>
- <button id="btn_cell_img_ins" class="btn2_letter7" style="left:210px; top:4px; width:97px; height:19px; ">
- <caption>이미지결과등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getvalue("/root/main/testinfo/spcltestinfo/bcno") != ""){
- modal("SMLRR01500","", "", "","", "/root/main/testinfo/spcltestinfo", "/root/hidden/spcltestinfo");
- fImgRslt("cmb_cell_seq", "cpt_cell_noimg", "img_cell");
- }
- ]]>
- </script>
- </button>
- <caption id="caption43" class="cell_1" style="left:5px; top:2px; width:80px; height:23px; vertical-align:middle; ">History</caption>
- <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; "/>
- <img id="img6" visibility="hidden" style="left:315px; top:10px; width:365px; height:325px; background-color:#ff6600; background-stretch:stretch; "/>
- </case>
- </switch>
- <button id="button26" class="btn2_letter4" style="left:1115px; top:75px; width:64px; height:19px; ">
- <caption>Refresh</caption>
- </button>
- <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; ">
- <col ref="hngnm"/>
- <col ref="pid"/>
- <col ref="sex"/>
- <col ref="age"/>
- <col ref="orddeptnm"/>
- <col ref="tclsscrnnm"/>
- <col ref="spcacptdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="inter"/>
- </datagrid>
- <caption id="caption165" class="tit_2" style="left:195px; top:77px; width:135px; height:13px; ">처방명</caption>
- <output id="output4" ref="/root/main/testinfo/spcltestinfo/prcpnm" class="output_fix" style="left:250px; top:75px; width:295px; height:19px; "/>
- <caption id="caption166" class="tit_2" style="left:550px; top:77px; width:135px; height:14px; ">접수번호</caption>
- <output id="output5" ref="/root/main/testinfo/spcltestinfo/workno" class="output_fix" style="left:620px; top:75px; width:150px; height:19px; "/>
- </case>
- <case id="im" style="left:0px; top:0px; width:1192px; height:655px; ">
- <output id="output11" ref="/root/main/rslt/desc/rslt/bfbm/spcltestno" class="output_fix" style="left:5px; top:31px; width:120px; height:19px; "/>
- <line id="line27" class="line_1" style="x1:5px; y1:26px; x2:1180px; y2:26px; "/>
- <caption id="caption48" class="tit_2" style="left:10px; top:10px; width:145px; height:13px; ">Bone Marrow 결과</caption>
- <line id="line28" class="line_3" style="x1:5px; y1:69px; x2:1180px; y2:69px; "/>
- <textarea id="tar_im_bfbmrslt" ref="/root/main/rslt/desc/rslt/bfbm/inter" style="left:130px; top:31px; width:1050px; height:37px; "/>
- <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; ">
- <col ref="cd"/>
- <col ref="nm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fRsltCodeDBClick("grd_im_rsltcode");
- ]]>
- </script>
- </datagrid>
- <line id="line29" class="line_1" style="x1:5px; y1:355px; x2:590px; y2:355px; "/>
- <caption id="caption49" class="tit_2" style="left:10px; top:340px; width:115px; height:13px; ">판독예문</caption>
- <line id="line30" class="line_1" style="x1:5px; y1:95px; x2:590px; y2:95px; "/>
- <caption id="caption50" class="tit_2" style="left:10px; top:80px; width:115px; height:14px; ">세부검사</caption>
- <line id="line31" class="line_1" style="x1:595px; y1:95px; x2:1180px; y2:95px; "/>
- <line id="line32" class="line_1" style="x1:595px; y1:355px; x2:1180px; y2:355px; "/>
- <caption id="caption51" class="tit_2" style="left:600px; top:340px; width:115px; height:13px; ">판독결과</caption>
- <textarea id="tar_im_readrslt" ref="/root/main/rslt/desc/rslt/readrslt" style="left:595px; top:360px; width:585px; height:276px; "/>
- <button id="button15" class="btn2_letter4" style="left:525px; top:335px; width:64px; height:19px; ">
- <caption>판독예문</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMLLF02000 ","","","","","/root/main/testinfo/spcltestinfo/testcd","/root/hidden/testcd");
-
- submit("TRLRR00402");
- fRsltCode("grd_im_rsltcode");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <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; ">
- <col checkvalue="Y,N" ref="chk" type="checkbox"/>
- <col ref="testcd"/>
- <col ref="tclsscrnnm"/>
- <col ref="reptrslt" type="input"/>
- <col ref="rsltunit"/>
- <col ref="bflastreptdt"/>
- <col ref="bfreptrslt"/>
- <col ref="inptrslt"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- fGridKeyEvent("grd_im_dtcl1", "/root/main/rslt/desc/rslt/detltclsinfo");
- ]]>
- </script>
- </datagrid>
- <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; ">
- <col checkvalue="Y,N" ref="chk" type="checkbox"/>
- <col ref="testcd"/>
- <col ref="tclsscrnnm"/>
- <col ref="reptrslt" type="input"/>
- <col ref="rsltunit"/>
- <col ref="bflastreptdt"/>
- <col ref="bfreptrslt"/>
- <col ref="inptrslt"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- fGridKeyEvent("grd_im_dtcl2", "/root/main/rslt/desc/rslt/detltclsinfo2");
- ]]>
- </script>
- </datagrid>
- <select id="checkbox10" ref="/root/hidden/readexmpadd" overflow="visible" appearance="full" style="left:470px; top:337px; width:50px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>추가</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- </case>
- <case id="of" style="left:0px; top:0px; width:1192px; height:655px; ">
- <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; ">
- <col ref="nacl"/>
- <col ref="od" type="input"/>
- <col ref="hm"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- if(event.keyCode == "13") {
- var row = grd_1con.row;
-
- if(row == (grd_1con.rows - 1)) {
- grd_1con.row = 1;
- }else {
- grd_1con.row = parseInt(row) + 1;
- }
- }
- ]]>
- </script>
- </datagrid>
- <line id="line33" class="line_1" style="x1:5px; y1:26px; x2:215px; y2:26px; "/>
- <caption id="caption52" class="tit_2" style="left:10px; top:10px; width:192px; height:13px; ">1시간 incubation (Control)</caption>
- <caption id="caption53" class="tit_2" style="left:225px; top:10px; width:192px; height:14px; ">1시간 incubation (Patient)</caption>
- <line id="line34" class="line_1" style="x1:220px; y1:26px; x2:430px; y2:26px; "/>
- <line id="line35" class="line_1" style="x1:435px; y1:26px; x2:645px; y2:26px; "/>
- <caption id="caption54" class="tit_2" style="left:440px; top:10px; width:194px; height:14px; ">24시간 incubation (Control)</caption>
- <caption id="caption55" class="tit_2" style="left:655px; top:10px; width:192px; height:14px; ">24시간 incubation (Patient)</caption>
- <line id="line36" class="line_1" style="x1:650px; y1:26px; x2:860px; y2:26px; "/>
- <caption id="caption71" style="left:848px; top:364px; width:15px; height:20px; ">%</caption>
- <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; ">
- <col ref="nacl"/>
- <col ref="od" type="input"/>
- <col ref="hm"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- if(event.keyCode == "13") {
- var row = grd_1pat.row;
-
- if(row == (grd_1pat.rows - 1)) {
- grd_1pat.row = 1;
- }else {
- grd_1pat.row = parseInt(row) + 1;
- }
- }
- ]]>
- </script>
- </datagrid>
- <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; ">
- <col ref="nacl"/>
- <col ref="od" type="input"/>
- <col ref="hm"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- if(event.keyCode == "13") {
- var row = grd_24con.row;
-
- if(row == (grd_24con.rows - 1)) {
- grd_24con.row = 1;
- }else {
- grd_24con.row = parseInt(row) + 1;
- }
- }
- ]]>
- </script>
- </datagrid>
- <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; ">
- <col ref="nacl"/>
- <col ref="od" type="input"/>
- <col ref="hm"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- if(event.keyCode == "13") {
- var row = grd_24pat.row;
-
- if(row == (grd_24pat.rows - 1)) {
- grd_24pat.row = 1;
- }else {
- grd_24pat.row = parseInt(row) + 1;
- }
- }
- ]]>
- </script>
- </datagrid>
- <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; ">
- <caption>이미지결과</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("of_img");
- ]]>
- </script>
- </button>
- <switch id="switch2" class="sw_box" style="left:5px; top:404px; width:1185px; height:245px; ">
- <case id="of_desc" selected="true">
- <caption id="caption70" class="cell_1" style="left:683px; top:25px; width:80px; height:23px; vertical-align:middle; ">patient</caption>
- <line id="line40" class="line_3" style="x1:5px; y1:71px; x2:430px; y2:71px; "/>
- <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; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- model.setValue("/root/main/rslt/desc/rslt/osmotic/f24con", ipt_f24con.currentText);
- model.setValue("/root/main/rslt/desc/rslt/osmotic/f1con", ipt_f1con.currentText);
-
- var begin1 = model.getValue("/root/main/rslt/desc/rslt/osmotic/f1con");
- var begin24 = model.getValue("/root/main/rslt/desc/rslt/osmotic/f24con");
- var rslt = begin24;
-
- /* if(begin1 != "" && begin24 != "") {
- rslt = begin1 + "(1hr)/" + begin24 + "(24hr)";
- } else if(begin1 != "" && begin24 == "") {
- rslt = begin1 + "(1hr)";
- } else if(begin1 == "" && begin24 != "") {
- rslt = begin24 + "(24hr)";
- } else {
- rslt = "";
- }*/
-
- var find = grd_rslt.findRow("LHS10105", 1, 1, true, true);
-
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", rslt);
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", rslt);
-
- if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk", "Y");
- }
-
- model.refresh();
- ]]>
- </script>
- </input>
- <line id="line41" class="line_3" style="x1:435px; y1:71px; x2:860px; y2:71px; "/>
- <input id="ipt_e24con" ref="/root/main/rslt/desc/rslt/osmotic/e24con" style="left:581px; top:50px; width:80px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- model.setValue("/root/main/rslt/desc/rslt/osmotic/e24con", ipt_e24con.currentText);
- model.setValue("/root/main/rslt/desc/rslt/osmotic/e1con", ipt_e1con.currentText);
-
- var end1 = model.getValue("/root/main/rslt/desc/rslt/osmotic/e1con");
- var end24 = model.getValue("/root/main/rslt/desc/rslt/osmotic/e24con");
- var rslt = end24;
-
- /* if(end1 != "" && end24 != "") {
- rslt = end1 + "(1hr)/" + end24 + "(24hr)";
- } else if(end1 != "" && end24 == "") {
- rslt = end1 + "(1hr)";
- } else if(end1 == "" && end24 != "") {
- rslt = end24 + "(24hr)";
- } else {
- rslt = "";
- }*/
-
- var find = grd_rslt.findRow("LHS10106", 1, 1, true, true);
-
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", rslt);
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", rslt);
-
- if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk", "Y");
- }
-
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption60" class="cell_1" style="left:68px; top:25px; width:80px; height:23px; vertical-align:middle; ">control</caption>
- <caption id="caption126" class="tit_2" style="left:440px; top:83px; width:115px; height:13px; ">판독결과</caption>
- <caption id="caption72" class="cell_1" style="left:498px; top:49px; width:80px; height:23px; vertical-align:middle; ">control</caption>
- <caption id="caption61" style="left:231px; top:26px; width:15px; height:20px; ">%</caption>
- <line id="line42" class="line_2" style="x1:435px; y1:47px; x2:860px; y2:47px; "/>
- <line id="line43" class="line_1" style="x1:5px; y1:98px; x2:430px; y2:98px; "/>
- <caption id="caption73" style="left:661px; top:50px; width:15px; height:20px; ">%</caption>
- <caption id="caption62" class="cell_1" style="left:253px; top:25px; width:80px; height:23px; vertical-align:middle; ">patient</caption>
- <line id="line44" class="line_1" style="x1:435px; y1:98px; x2:860px; y2:98px; "/>
- <caption id="caption74" class="cell_1" style="left:683px; top:49px; width:80px; height:23px; vertical-align:middle; ">patient</caption>
- <caption id="caption63" style="left:418px; top:26px; width:15px; height:20px; ">%</caption>
- <caption id="caption75" style="left:847px; top:26px; width:15px; height:20px; ">%</caption>
- <caption id="caption64" class="cell_1" style="left:68px; top:49px; width:80px; height:23px; vertical-align:middle; ">control</caption>
- <caption id="caption76" class="cell_1" style="left:435px; top:25px; width:60px; height:23px; vertical-align:middle; ">1 시간</caption>
- <caption id="caption65" style="left:231px; top:50px; width:15px; height:20px; ">%</caption>
- <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; ">
- <col ref="cd"/>
- <col ref="nm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fRsltCodeDBClick("grd_of_rsltcode");
- ]]>
- </script>
- </datagrid>
- <caption id="caption77" class="cell_1" style="left:435px; top:49px; width:60px; height:23px; vertical-align:middle; ">24시간</caption>
- <caption id="caption66" class="cell_1" style="left:253px; top:49px; width:80px; height:23px; vertical-align:middle; ">patient</caption>
- <caption id="caption78" style="left:847px; top:50px; width:15px; height:20px; ">%</caption>
- <caption id="caption67" style="left:418px; top:50px; width:15px; height:20px; ">%</caption>
- <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; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- model.setValue("/root/main/rslt/desc/rslt/osmotic/f24pat", ipt_f24pat.currentText);
- model.setValue("/root/main/rslt/desc/rslt/osmotic/f1pat", ipt_f1pat.currentText);
-
- var bepat1 = model.getValue("/root/main/rslt/desc/rslt/osmotic/f1pat");
- var bepat24 = model.getValue("/root/main/rslt/desc/rslt/osmotic/f24pat");
- var rslt = bepat1;
-
- /* if(bepat1 != "" && bepat24 != "") {
- rslt = bepat1 + "(1hr)/" + bepat24 + "(24hr)";
- } else if(bepat1 != "" && bepat24 == "") {
- rslt = bepat1 + "(1hr)";
- } else if(bepat1 == "" && bepat24 != "") {
- rslt = bepat24 + "(24hr)";
- } else {
- rslt = "";
- }*/
-
- var find = grd_rslt.findRow("LHS10103", 1, 1, true, true);
-
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", rslt);
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", rslt);
-
- if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk", "Y");
- }
-
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption56" class="tit_2" style="left:10px; top:4px; width:192px; height:13px; ">용혈시작농도</caption>
- <line id="line37" class="line_1" style="x1:5px; y1:20px; x2:430px; y2:20px; "/>
- <caption id="caption79" class="tit_2" style="left:10px; top:82px; width:192px; height:13px; ">판독예문</caption>
- <caption id="caption68" class="cell_1" style="left:498px; top:25px; width:80px; height:23px; vertical-align:middle; ">control</caption>
- <caption id="caption57" class="tit_2" style="left:440px; top:4px; width:192px; height:13px; ">완전용혈농도</caption>
- <line id="line38" class="line_1" style="x1:435px; y1:20px; x2:860px; y2:20px; "/>
- <textarea id="tar_of_readrslt" ref="/root/main/rslt/desc/rslt/readrslt" style="left:435px; top:103px; width:425px; height:136px; "/>
- <caption id="caption69" style="left:661px; top:26px; width:15px; height:20px; ">%</caption>
- <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; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- model.setValue("/root/main/rslt/desc/rslt/osmotic/f24pat", ipt_f24pat.currentText);
- model.setValue("/root/main/rslt/desc/rslt/osmotic/f1pat", ipt_f1pat.currentText);
-
- var bepat1 = model.getValue("/root/main/rslt/desc/rslt/osmotic/f1pat");
- var bepat24 = model.getValue("/root/main/rslt/desc/rslt/osmotic/f24pat");
- var rslt = bepat24;
-
- /* if(bepat1 != "" && bepat24 != "") {
- rslt = bepat1 + "(1hr)/" + bepat24 + "(24hr)";
- } else if(bepat1 != "" && bepat24 == "") {
- rslt = bepat1 + "(1hr)";
- } else if(bepat1 == "" && bepat24 != "") {
- rslt = bepat24 + "(24hr)";
- } else {
- rslt = "";
- }*/
-
- var find = grd_rslt.findRow("LHS10107", 1, 1, true, true);
-
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", rslt);
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", rslt);
-
- if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk", "Y");
- }
-
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption58" class="cell_1" style="left:5px; top:25px; width:60px; height:23px; vertical-align:middle; ">1 시간</caption>
- <line id="line39" class="line_2" style="x1:5px; y1:47px; x2:430px; y2:47px; "/>
- <button id="button42" class="btn2_letter11" style="left:720px; top:-1px; width:141px; height:19px; background-image:../../../com/commonweb/images/btn2_letter6.gif; ">
- <caption>Hemolysis 계산 확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fCalc();
- ]]>
- </script>
- </button>
- <caption id="caption59" class="cell_1" style="left:5px; top:49px; width:60px; height:23px; vertical-align:middle; ">24시간</caption>
- <select id="checkbox9" ref="/root/hidden/readexmpadd" overflow="visible" appearance="full" style="left:311px; top:80px; width:50px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>추가</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <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; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- model.setValue("/root/main/rslt/desc/rslt/osmotic/e24pat", ipt_e24pat.currentText);
- model.setValue("/root/main/rslt/desc/rslt/osmotic/e1pat", ipt_e1pat.currentText);
-
- var endpat1 = model.getValue("/root/main/rslt/desc/rslt/osmotic/e1pat");
- var endpat24 = model.getValue("/root/main/rslt/desc/rslt/osmotic/e24pat");
- var rslt = endpat1
-
- /* if(endpat1 != "" && endpat24 != "") {
- rslt = endpat1 + "(1hr)/" + endpat24 + "(24hr)";
- } else if(endpat1 != "" && endpat24 == "") {
- rslt = endpat1 + "(1hr)";
- } else if(endpat1 == "" && endpat24 != "") {
- rslt = endpat24 + "(24hr)";
- } else {
- rslt = "";
- }*/
-
- var find = grd_rslt.findRow("LHS10104", 1, 1, true, true);
-
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", rslt);
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", rslt);
-
- if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk", "Y");
- }
-
- model.refresh();
-
- ]]>
- </script>
- </input>
- <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; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- model.setValue("/root/main/rslt/desc/rslt/osmotic/e24con", ipt_e24con.currentText);
- model.setValue("/root/main/rslt/desc/rslt/osmotic/e1con", ipt_e1con.currentText);
-
- var end1 = model.getValue("/root/main/rslt/desc/rslt/osmotic/e1con");
- var end24 = model.getValue("/root/main/rslt/desc/rslt/osmotic/e24con");
- var rslt = end1;
-
- /* if(end1 != "" && end24 != "") {
- rslt = end1 + "(1hr)/" + end24 + "(24hr)";
- } else if(end1 != "" && end24 == "") {
- rslt = end1 + "(1hr)";
- } else if(end1 == "" && end24 != "") {
- rslt = end24 + "(24hr)";
- } else {
- rslt = "";
- }*/
-
- var find = grd_rslt.findRow("LHS10102", 1, 1, true, true);
-
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", rslt);
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", rslt);
-
- if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk", "Y");
- }
-
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="button11" class="btn2_letter4" style="left:366px; top:78px; width:64px; height:19px; ">
- <caption>판독예문</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMLLF02000 ","","","","","/root/main/testinfo/spcltestinfo/testcd","/root/hidden/testcd");
-
- submit("TRLRR00402");
- fRsltCode("grd_of_rsltcode");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <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; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- model.setValue("/root/main/rslt/desc/rslt/osmotic/f24con", ipt_f24con.currentText);
- model.setValue("/root/main/rslt/desc/rslt/osmotic/f1con", ipt_f1con.currentText);
-
- var begin1 = model.getValue("/root/main/rslt/desc/rslt/osmotic/f1con");
- var begin24 = model.getValue("/root/main/rslt/desc/rslt/osmotic/f24con");
- // var rslt = ""
- var rslt = begin1;
-
- /* if(begin1 != "" && begin24 != "") {
- rslt = begin1 + "(1hr)/" + begin24 + "(24hr)";
- } else if(begin1 != "" && begin24 == "") {
- rslt = begin1 + "(1hr)";
- } else if(begin1 == "" && begin24 != "") {
- rslt = begin24 + "(24hr)";
- } else {
- rslt = "";
- }*/
-
- var find = grd_rslt.findRow("LHS10101", 1, 1, true, true);
-
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", rslt);
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", rslt);
-
- if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk", "Y");
- }
-
- model.refresh();
- ]]>
- </script>
- </input>
- <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; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- model.setValue("/root/main/rslt/desc/rslt/osmotic/e24pat", ipt_e24pat.currentText);
- model.setValue("/root/main/rslt/desc/rslt/osmotic/e1pat", ipt_e1pat.currentText);
-
- var endpat1 = model.getValue("/root/main/rslt/desc/rslt/osmotic/e1pat");
- var endpat24 = model.getValue("/root/main/rslt/desc/rslt/osmotic/e24pat");
- var rslt = endpat24;
-
- /* if(endpat1 != "" && endpat24 != "") {
- rslt = endpat1 + "(1hr)/" + endpat24 + "(24hr)";
- } else if(endpat1 != "" && endpat24 == "") {
- rslt = endpat1 + "(1hr)";
- } else if(endpat1 == "" && endpat24 != "") {
- rslt = endpat24 + "(24hr)";
- } else {
- rslt = "";
- }*/
-
- var find = grd_rslt.findRow("LHS10108", 1, 1, true, true);
-
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", rslt);
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", rslt);
-
- if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk", "Y");
- }
-
- model.refresh();
-
- ]]>
- </script>
- </input>
- </case>
- <case id="of_img">
- <img id="img_of" ref="/root/main/view/imgrslt" src="../images/결과이미지.gif" style="left:5px; top:28px; width:800px; height:148px; background-stretch:stretch; "/>
- <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; "/>
- <select1 id="cmb_of_seq" ref="/root/hidden/rsltseqno" class="combo_default" appearance="minimal" style="left:88px; top:4px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/imglist">
- <label ref="lastupdtrdt"/>
- <value ref="rsltseqno"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fImgRef("img_of");
- ]]>
- </script>
- </select1>
- <button id="button33" class="btn2_letter7" style="left:210px; top:4px; width:97px; height:19px; ">
- <caption>이미지결과등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getvalue("/root/main/testinfo/spcltestinfo/bcno") != ""){
- modal("SMLRR01500","", "", "","", "/root/main/testinfo/spcltestinfo", "/root/hidden/spcltestinfo");
- fImgRslt("cmb_of_seq", "cpt_of_noimg", "img_of");
- }
- ]]>
- </script>
- </button>
- <caption id="caption150" class="cell_1" style="left:5px; top:2px; width:80px; height:23px; vertical-align:middle; ">History</caption>
- <img id="img2" visibility="hidden" style="left:430px; top:15px; width:365px; height:148px; background-color:#ff6600; background-stretch:stretch; "/>
- </case>
- </switch>
- <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; ">
- <caption>서술결과</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("of_desc");
- ]]>
- </script>
- </button>
- </case>
- <case id="icg" style="left:0px; top:0px; width:1192px; height:655px; ">
- <group id="group8" style="left:590px; top:31px; width:590px; height:428px; ">
- <img id="img_icg" ref="/root/main/view/imgrslt" src="../images/결과이미지.gif" style="left:0px; top:0px; width:590px; height:428px; background-stretch:stretch; "/>
- <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; "/>
- </group>
- <line id="line46" class="line_1" style="x1:0px; y1:485px; x2:585px; y2:485px; "/>
- <caption id="caption85" class="tit_2" style="left:5px; top:469px; width:192px; height:13px; ">판독예문</caption>
- <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; ">
- <col ref="cd"/>
- <col ref="nm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fRsltCodeDBClick("grd_icg_rsltcode");
- ]]>
- </script>
- </datagrid>
- <textarea id="tar_icg_readrslt" ref="/root/main/rslt/desc/rslt/readrslt" style="left:590px; top:490px; width:590px; height:161px; "/>
- <line id="line51" class="line_1" style="x1:590px; y1:485px; x2:1180px; y2:485px; "/>
- <caption id="caption88" class="tit_2" style="left:595px; top:469px; width:115px; height:13px; ">판독결과</caption>
- <button id="button20" class="btn2_letter4" style="left:520px; top:465px; width:64px; height:19px; ">
- <caption>판독예문</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMLLF02000 ","","","","","/root/main/testinfo/spcltestinfo/testcd","/root/hidden/testcd");
-
- submit("TRLRR00402");
- fRsltCode("grd_icg_rsltcode");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <select id="checkbox8" ref="/root/hidden/readexmpadd" overflow="visible" appearance="full" style="left:465px; top:466px; width:50px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>추가</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <caption id="caption22" class="hand" style="left:926px; top:3px; width:80px; height:23px; vertical-align:middle; ">History</caption>
- <button id="button7" class="btn2_letter2" style="left:1136px; top:6px; width:42px; height:19px; ">
- <caption>등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getvalue("/root/main/testinfo/spcltestinfo/bcno") != ""){
- modal("SMLRR01500","", "", "","", "/root/main/testinfo/spcltestinfo", "/root/hidden/spcltestinfo");
- fImgRslt("cmb_icg_seq", "cpt_icg_noimg", "img_icg");
- }
- ]]>
- </script>
- </button>
- <select1 id="cmb_icg_seq" ref="/root/hidden/rsltseqno" class="combo_default" appearance="minimal" style="left:1009px; top:6px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/imglist">
- <label ref="lastupdtrdt"/>
- <value ref="rsltseqno"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fImgRef("img_icg");
- ]]>
- </script>
- </select1>
- <caption id="caption6" class="tit_2" style="left:595px; top:10px; width:192px; height:13px; ">이미지</caption>
- <line id="line90" class="line_1" style="x1:590px; y1:26px; x2:1180px; y2:26px; "/>
- <caption id="caption137" class="cell_1" style="left:5px; top:201px; width:55px; height:23px; vertical-align:middle; ">5분농도</caption>
- <caption id="caption138" class="cell_1" style="left:5px; top:225px; width:55px; height:23px; vertical-align:middle; ">소실율</caption>
- <caption id="caption140" style="left:463px; top:207px; width:40px; height:20px; ">mg/dL</caption>
- <caption id="caption141" class="cell_1" style="left:5px; top:249px; width:55px; height:23px; vertical-align:middle; ">R15</caption>
- <input id="input6" ref="/root/main/rslt/desc/rslt/icg/min5" class="input_default" style="left:63px; top:202px; width:65px; height:19px; "/>
- <input id="input7" ref="/root/main/rslt/desc/rslt/icg/min10" class="input_default" style="left:228px; top:202px; width:65px; height:19px; "/>
- <caption id="caption142" class="cell_1" style="left:166px; top:201px; width:59px; height:23px; vertical-align:middle; ">10분농도</caption>
- <line id="line49" class="line_1" style="x1:5px; y1:196px; x2:503px; y2:196px; "/>
- <caption id="caption143" class="cell_1" style="left:336px; top:201px; width:59px; height:23px; vertical-align:middle; ">15분농도</caption>
- <input id="input8" ref="/root/main/rslt/desc/rslt/icg/min15" class="input_default" style="left:398px; top:202px; width:65px; height:19px; "/>
- <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; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- model.setValue("/root/main/rslt/desc/rslt/icg/sosil", ipt_icg_sosil.currentText);
-
- var sosil = model.getValue("/root/main/rslt/desc/rslt/icg/sosil");
-
- var find = grd_rslt.findRow("LSS18101", 1, 1, true, true);
-
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", sosil);
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", sosil);
-
- if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk", "Y");
- }
-
- model.refresh();
- ]]>
- </script>
- </input>
- <line id="line91" class="line_2" style="x1:5px; y1:223px; x2:503px; y2:223px; "/>
- <caption id="caption145" style="left:293px; top:207px; width:40px; height:20px; ">mg/dL</caption>
- <caption id="caption146" style="left:128px; top:207px; width:40px; height:20px; ">mg/dL</caption>
- <line id="line92" class="line_2" style="x1:5px; y1:247px; x2:503px; y2:247px; "/>
- <caption id="caption144" style="left:163px; top:253px; width:20px; height:20px; ">%</caption>
- <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; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- model.setValue("/root/main/rslt/desc/rslt/icg/r15", ipt_icg_r15.currentText);
-
- var r15 = model.getValue("/root/main/rslt/desc/rslt/icg/r15");
-
- var find = grd_rslt.findRow("LSS18102", 1, 1, true, true);
-
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", r15);
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", r15);
-
- if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk", "Y");
- }
-
- model.refresh();
- ]]>
- </script>
- </input>
- <line id="line93" class="line_3" style="x1:5px; y1:271px; x2:503px; y2:271px; "/>
- <caption id="caption147" class="tit_2" style="left:10px; top:180px; width:192px; height:13px; ">ICG 결과관리</caption>
- <line id="lin_5" class="line_1" style="x1:5px; y1:26px; x2:505px; y2:26px; "/>
- <caption id="cpt_tit2" class="tit_2" style="left:10px; top:10px; width:152px; height:13px; ">투여 및 채혈 정보</caption>
- <output id="opt_nerse" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/nerse" class="output_fix" style="left:138px; top:32px; width:115px; height:19px; "/>
- <caption id="cpt_bcollnerse" class="cell_1" style="left:5px; top:31px; width:130px; height:23px; vertical-align:middle; ">ICG 투여 및 채혈자</caption>
- <line id="lin_12" class="line_2" style="x1:5px; y1:53px; x2:505px; y2:52px; "/>
- <caption id="cpt_weight" class="cell_1" style="left:256px; top:31px; width:130px; height:23px; vertical-align:middle; ">체 중</caption>
- <output id="opt_weght" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/weight" class="output_fix" style="left:389px; top:32px; width:115px; height:19px; "/>
- <caption id="caption12" class="cell_1" style="left:5px; top:79px; width:130px; height:23px; vertical-align:middle; ">투여된 질량 (mg)</caption>
- <line id="line47" class="line_2" style="x1:5px; y1:101px; x2:505px; y2:100px; "/>
- <caption id="caption23" class="cell_1" style="left:256px; top:79px; width:130px; height:23px; vertical-align:middle; ">투여된 부피 (mL)</caption>
- <input id="ipt_icgquan1" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/icgdrugqty1" class="input_default" style="left:138px; top:56px; width:115px; height:19px; "/>
- <input id="ipt_icgquan2" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/icgdrugqty2" class="input_default" style="left:138px; top:80px; width:115px; height:19px; "/>
- <caption id="cpt_icgquan" class="cell_1" style="left:5px; top:55px; width:130px; height:23px; vertical-align:middle; ">투여해야할 질량 (mg)</caption>
- <input id="ipt_size1" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/icgdrugsize1" class="input_default" style="left:389px; top:56px; width:115px; height:19px; "/>
- <line id="line45" class="line_2" style="x1:5px; y1:77px; x2:505px; y2:76px; "/>
- <input id="ipt_size2" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/icgdrugsize2" class="input_default" style="left:389px; top:80px; width:115px; height:19px; "/>
- <caption id="cpt_size" class="cell_1" style="left:256px; top:55px; width:130px; height:23px; vertical-align:middle; ">투여해야할 부피 (mL)</caption>
- <line id="line48" class="line_2" style="x1:5px; y1:125px; x2:505px; y2:124px; "/>
- <caption id="caption44" class="cell_1" style="left:5px; top:103px; width:248px; height:23px; vertical-align:middle; ">ICG 투여 후 5분 검체 채혈까지의 경과 시간</caption>
- <input id="ipt_5spcmm" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/spc5mm" class="input_default" style="left:256px; top:104px; width:27px; height:19px; "/>
- <caption id="caption40" style="left:284px; top:105px; width:21px; height:20px; font-size:11pt; font-weight:bold; ">분</caption>
- <caption id="caption80" style="left:338px; top:105px; width:21px; height:20px; font-size:11pt; font-weight:bold; ">초</caption>
- <input id="input11" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/spc5ss" class="input_default" style="left:310px; top:104px; width:27px; height:19px; "/>
- <caption id="caption81" style="left:285px; top:129px; width:21px; height:20px; font-size:11pt; font-weight:bold; ">분</caption>
- <input id="input12" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/spc10mm" class="input_default" style="left:257px; top:128px; width:27px; height:19px; "/>
- <input id="input14" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/spc10ss" class="input_default" style="left:311px; top:128px; width:27px; height:19px; "/>
- <caption id="caption82" class="cell_1" style="left:6px; top:127px; width:248px; height:23px; vertical-align:middle; ">ICG 투여 후 10분 검체 채혈까지의 경과 시간</caption>
- <line id="line50" class="line_2" style="x1:6px; y1:149px; x2:506px; y2:148px; "/>
- <caption id="caption83" style="left:339px; top:129px; width:21px; height:20px; font-size:11pt; font-weight:bold; ">초</caption>
- <caption id="caption84" style="left:285px; top:153px; width:21px; height:20px; font-size:11pt; font-weight:bold; ">분</caption>
- <caption id="caption86" class="cell_1" style="left:6px; top:151px; width:248px; height:23px; vertical-align:middle; ">ICG 투여 후 15분 검체 채혈까지의 경과 시간</caption>
- <caption id="caption87" style="left:339px; top:153px; width:21px; height:20px; font-size:11pt; font-weight:bold; ">초</caption>
- <input id="input16" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/spc15mm" class="input_default" style="left:257px; top:152px; width:27px; height:19px; "/>
- <input id="input18" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/spc15ss" class="input_default" style="left:311px; top:152px; width:27px; height:19px; "/>
- <line id="line94" class="line_3" style="x1:6px; y1:173px; x2:506px; y2:172px; "/>
- </case>
- <case id="pb" style="left:0px; top:0px; width:1192px; height:655px; ">
- <line id="line52" class="line_1" style="x1:5px; y1:26px; x2:400px; y2:26px; "/>
- <caption id="caption89" class="tit_2" style="left:10px; top:10px; width:192px; height:14px; ">CBC Result</caption>
- <line id="line53" class="line_1" style="x1:410px; y1:26px; x2:1190px; y2:26px; "/>
- <caption id="caption90" class="tit_2" style="left:415px; top:10px; width:192px; height:13px; ">말초도말검사</caption>
- <line id="line54" class="line_1" style="x1:5px; y1:242px; x2:400px; y2:242px; "/>
- <caption id="caption91" class="tit_2" style="left:10px; top:226px; width:192px; height:13px; ">CBC Diff</caption>
- <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; ">
- <col ref="tclsscrnnm"/>
- <col ref="reptrslt" type="input"/>
- <col ref="bfrslt"/>
- <col checkvalue="Y,N" type="chk"/>
- <col ref="testcd"/>
- <col ref="inptrslt"/>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- fGetMouseDown("grd_pb_mal1", "/root/main/rslt/desc/rslt/mal1");
- ]]>
- </script>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- fGridEndEdit("grd_pb_mal1", "/root/main/rslt/desc/rslt/mal1");
- ]]>
- </script>
- </datagrid>
- <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; ">
- <col ref="tclsscrnnm"/>
- <col ref="reptrslt" type="input"/>
- <col ref="bfrslt"/>
- <col checkvalue="Y,N" type="chk"/>
- <col ref="testcd"/>
- <col ref="inptrslt"/>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- fGetMouseDown("grd_pb_mal2", "/root/main/rslt/desc/rslt/mal2");
- ]]>
- </script>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- fGridEndEdit("grd_pb_mal2", "/root/main/rslt/desc/rslt/mal2");
- ]]>
- </script>
- </datagrid>
- <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; ">
- <col ref="tclsscrnnm"/>
- <col ref="reptrslt" type="input"/>
- <col ref="bfrslt"/>
- <col checkvalue="Y,N" type="chk"/>
- <col ref="testcd"/>
- <col ref="inptrslt"/>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- fGetMouseDown("grd_pb_mal3", "/root/main/rslt/desc/rslt/mal3");
- ]]>
- </script>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- fGridEndEdit("grd_pb_mal3", "/root/main/rslt/desc/rslt/mal3");
- ]]>
- </script>
- </datagrid>
- <line id="line55" class="line_1" style="x1:410px; y1:378px; x2:796px; y2:378px; "/>
- <line id="line56" class="line_1" style="x1:803px; y1:378px; x2:1190px; y2:378px; "/>
- <textarea id="tar_pb_read" ref="/root/main/rslt/desc/rslt/readrslt" style="left:803px; top:383px; width:386px; height:253px; "/>
- <caption id="caption92" class="tit_2" style="left:415px; top:362px; width:192px; height:14px; ">판독예문</caption>
- <caption id="caption93" class="tit_2" style="left:808px; top:363px; width:115px; height:13px; ">판독결과</caption>
- <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; ">
- <col ref="cd"/>
- <col ref="nm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fRsltCodeDBClick("grd_pb_rsltcode");
- ]]>
- </script>
- </datagrid>
- <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; ">
- <col ref="testcd"/>
- <col ref="tclsnm"/>
- <col ref="reptrslt"/>
- <col ref="rsltunit"/>
- <col ref="lastreptdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="bfreptrst"/>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if ( (grd_pb_cbc.row >= grd_pb_cbc.fixedRows) && (grd_pb_cbc.isCell(event.target))) {
-
- grd_pb_cbc.row = grd_pb_cbc.mouseRow;
- model.removenode("/root/hidden/popupmenu/grid");
-
- model.makeValue("/root/hidden/popupmenu/grid/item/name" , "▶ XE2100결과조회");
- model.makeValue("/root/hidden/popupmenu/grid/item/func" , "fXERslt");
-
- setPopupMenu("grd_pb_cbc", false, "/root/hidden/popupmenu/grid/item", "name", "func");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- initPopupMenu();
- ]]>
- </script>
- </datagrid>
- <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; ">
- <col ref="testcd"/>
- <col ref="tclsnm"/>
- <col ref="reptrslt"/>
- <col ref="rsltunit"/>
- <col ref="lastreptdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="bfreptrst"/>
- </datagrid>
- <button id="button12" class="btn2_letter4" style="left:731px; top:358px; width:64px; height:19px; ">
- <caption>판독예문</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMLLF02000 ","","","","","/root/main/testinfo/spcltestinfo/testcd","/root/hidden/testcd");
-
- submit("TRLRR00402");
- fRsltCode("grd_pb_rsltcode");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <select id="checkbox7" ref="/root/hidden/readexmpadd" overflow="visible" appearance="full" style="left:676px; top:360px; width:50px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>추가</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- </case>
- <case id="ep">
- <button id="button3" class="btn2_letter4" style="left:525px; top:335px; width:64px; height:19px; ">
- <caption>연관검사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMLLF00900");
-
- fGetRelRslt();
- ]]>
- </script>
- </button>
- <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; ">
- <col ref="tclscd"/>
- <col ref="tclsscrnnm"/>
- <col ref="reptrslt"/>
- <col ref="lastreptdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="ref"/>
- <col ref="bfreptrst"/>
- </datagrid>
- <line id="line57" class="line_1" style="x1:5px; y1:26px; x2:590px; y2:26px; "/>
- <caption id="caption94" class="tit_2" style="left:10px; top:10px; width:192px; height:14px; ">세부검사</caption>
- <line id="line58" class="line_1" style="x1:595px; y1:455px; x2:1180px; y2:455px; "/>
- <textarea id="tar_ep_readrslt" ref="/root/main/rslt/desc/rslt/readrslt" style="left:595px; top:460px; width:585px; height:90px; "/>
- <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; ">
- <col ref="cd"/>
- <col ref="nm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fRsltCodeDBClick("grd_ep_rsltcode");
- ]]>
- </script>
- </datagrid>
- <line id="line59" class="line_1" style="x1:595px; y1:311px; x2:1180px; y2:311px; "/>
- <caption id="caption96" class="tit_2" style="left:600px; top:296px; width:115px; height:13px; ">판독예문</caption>
- <button id="button16" class="btn2_letter4" style="left:1116px; top:291px; width:64px; height:19px; ">
- <caption>판독예문</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMLLF02000 ","","","","","/root/main/testinfo/spcltestinfo/testcd","/root/hidden/testcd");
-
- submit("TRLRR00402");
- fRsltCode("grd_ep_rsltcode");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <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; ">
- <col checkvalue="Y,N" ref="chk" type="checkbox"/>
- <col ref="testcd"/>
- <col ref="tclsscrnnm"/>
- <col ref="reptrslt" type="input"/>
- <col ref="rsltunit"/>
- <col ref="bflastreptdt"/>
- <col ref="bfreptrslt"/>
- <col ref="inptrslt"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- fGridKeyEvent("grd_ep_dtcl", "/root/main/rslt/desc/rslt/detltclsinfo");
- ]]>
- </script>
- </datagrid>
- <caption id="caption97" class="tit_2" style="left:600px; top:10px; width:192px; height:13px; ">이미지</caption>
- <line id="line60" class="line_1" style="x1:595px; y1:26px; x2:1180px; y2:26px; "/>
- <button id="button30" class="btn2_letter2" style="left:1136px; top:6px; width:42px; height:19px; ">
- <caption>등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getvalue("/root/main/testinfo/spcltestinfo/bcno") != ""){
- modal("SMLRR01500","", "", "","", "/root/main/testinfo/spcltestinfo", "/root/hidden/spcltestinfo");
- var tclscd = model.getValue("/root/main/testinfo/spcltestinfo/tclscd");
-
- if(tclscd == "LSI104" || tclscd == "LSI105"){
- group4.attribute("visibility") = "hidden"
- group5.attribute("visibility") = "visible"
- model.copyNode("/root/send/data1" , "/root/main/testinfo/spcltestinfo");
-
-
- submit("TRLRR01501");
-
-
- fImgRef1( "cmb_ep_seq", "cpt_immno_noimg","img_immno1"); //immno이미지
- fImgRef2( "cmb_ep_seq", "cpt_immno_noimg","img_immno2"); //immno이미지
- fImgRef3( "cmb_ep_seq", "cpt_immno_noimg","img_immno3"); //immno이미지
- fImgRef4( "cmb_ep_seq", "cpt_immno_noimg","img_immno4"); //immno이미지
- fImgRef5( "cmb_ep_seq", "cpt_immno_noimg","img_immno5"); //immno이미지
- fImgRef6( "cmb_ep_seq", "cpt_immno_noimg","img_immno6"); //immno이미지
- }
- else{
- fImgRslt("cmb_ep_seq", "cpt_ep_noimg", "img_ep"); //이미지
- group4.attribute("visibility") = "visible"
- group5.attribute("visibility") = "hidden"
- }
- model.removeNodeset("/root/send/data1");
- model.makeNode("/root/send/data1");
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <select1 id="cmb_ep_seq" ref="/root/hidden/rsltseqno" class="combo_default" appearance="minimal" style="left:1009px; top:6px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/imglist">
- <label ref="lastupdtrdt"/>
- <value ref="rsltseqno"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fImgRef("img_ep");
- ]]>
- </script>
- </select1>
- <caption id="caption29" class="hand" style="left:926px; top:4px; width:80px; height:23px; vertical-align:middle; ">History</caption>
- <group id="group4" style="left:595px; top:31px; width:585px; height:259px; ">
- <img id="img_ep" ref="/root/main/view/imgrslt" src="../images/결과이미지.gif" style="left:0px; top:0px; width:585px; height:255px; background-stretch:stretch; "/>
- <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; "/>
- </group>
- <group id="group5" scroll="auto" style="left:595px; top:31px; width:585px; height:259px; ">
- <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; "/>
- <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; "/>
- <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; "/>
- <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; "/>
- <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; "/>
- <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; "/>
- <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; "/>
- </group>
- <select id="checkbox6" ref="/root/hidden/readexmpadd" overflow="visible" appearance="full" style="left:1061px; top:293px; width:50px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>추가</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <caption id="caption169" class="tit_2" style="left:10px; top:341px; width:115px; height:13px; ">연관검사</caption>
- <line id="line107" class="line_1" style="x1:5px; y1:356px; x2:590px; y2:356px; "/>
- <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; ">
- <col checkvalue="Y,N" ref="chk" type="checkbox"/>
- <col ref="tclsnm"/>
- <col ref="reptrsltorigin" type="input"/>
- <col ref="reforigin"/>
- <col ref="reptrsltpersent" type="input"/>
- <col ref="refpersent"/>
- <col ref="bfreptrslt1"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- fGridKeyEvent("grd_ep_dtcl", "/root/main/rslt/desc/rslt/detltclsinfo");
- ]]>
- </script>
- </datagrid>
- <caption id="caption95" class="tit_2" visibility="visible" style="left:595px; top:442px; width:115px; height:13px; ">판독결과</caption>
- <textarea id="tar_ep_comments" ref="/root/main/rslt/desc/rslt/comment" style="left:595px; top:565px; width:585px; height:80px; "/>
- <line id="line108" class="line_1" style="x1:595px; y1:561px; x2:1180px; y2:561px; "/>
- <caption id="caption171" class="tit_2" visibility="visible" style="left:595px; top:549px; width:115px; height:13px; ">comments</caption>
- </case>
- <case id="befchildbrth">
- <caption id="caption31" class="tit_2" style="left:10px; top:10px; width:192px; height:14px; ">의뢰내용</caption>
- <line id="line5" class="line_1" style="x1:5px; y1:26px; x2:1180px; y2:26px; "/>
- <line id="line8" class="line_1" style="x1:5px; y1:75px; x2:590px; y2:75px; "/>
- <caption id="caption32" class="tit_2" style="left:10px; top:60; width:115px; height:13px; ">연관검사</caption>
- <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; ">
- <col ref="cd"/>
- <col ref="nm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fRsltCodeDBClick("grd_befchildbrth_rsltcode");
- ]]>
- </script>
- </datagrid>
- <line id="line61" class="line_1" style="left:595; x1:595px; y1:75px; x2:1180px; y2:75px; "/>
- <caption id="caption33" class="tit_2" style="left:600px; top:60; width:105px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">판독예문</caption>
- <line id="line62" class="line_1" style="x1:5px; y1:330px; x2:1180px; y2:330px; "/>
- <textarea id="tar_befchildbrth_readrslt" ref="/root/main/rslt/desc/rslt/readrslt" style="left:5px; top:335px; width:1175px; height:313px; "/>
- <caption id="caption98" class="tit_2" style="left:10px; top:315px; width:115px; height:13px; ">판독결과</caption>
- <button id="button21" class="btn2_letter4" style="left:1116px; top:55px; width:64px; height:19px; ">
- <caption>판독예문</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMLLF02000 ","","","","","/root/main/testinfo/spcltestinfo/testcd","/root/hidden/testcd");
-
- submit("TRLRR00402");
- fRsltCode("grd_befchildbrth_rsltcode");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <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; ">
- <col ref="tclscd"/>
- <col ref="tclsscrnnm"/>
- <col ref="reptrslt"/>
- <col ref="lastreptdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="ref"/>
- <col ref="bfreptrst"/>
- </datagrid>
- <group id="group6" style="left:5px; top:31px; width:1175px; height:24px; ">
- <caption id="caption128" class="cell_1" style="left:0px; top:0px; width:150px; height:23px; vertical-align:middle; ">현재 체중</caption>
- <input id="input2" ref="/root/main/testinfo/spcltestinfo/reqcnts/reqfrminfo/inptitem01/bdwt" class="input_essential" style="left:153px; top:1px; width:100px; height:19px; "/>
- <caption id="caption130" class="cell_1" style="left:277px; top:0px; width:150px; height:23px; vertical-align:middle; ">LMP (최종월경일)</caption>
- <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; "/>
- <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; "/>
- <caption id="caption131" class="cell_1" style="left:533px; top:0px; width:150px; height:23px; vertical-align:middle; ">초음파검사상 임신주수</caption>
- <caption id="caption132" class="cell_1" style="left:806px; top:0px; width:150px; height:23px; vertical-align:middle; ">당뇨병 여부</caption>
- <caption id="caption133" class="cell_1" style="left:991px; top:0px; width:150px; height:23px; vertical-align:middle; ">고혈압 여부</caption>
- <caption id="caption134" style="left:728px; top:3px; width:16px; height:14px; ">주</caption>
- <caption id="caption135" style="left:787px; top:3px; width:18px; height:14px; ">일</caption>
- <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; "/>
- <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; ">
- <choices>
- <item>
- <label>Y</label>
- <value>1</value>
- </item>
- </choices>
- </select>
- <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; ">
- <choices>
- <item>
- <label>Y</label>
- <value>1</value>
- </item>
- </choices>
- </select>
- <line id="line89" class="line_3" style="x1:0px; y1:22px; x2:1175px; y2:22px; "/>
- <caption id="caption129" style="left:255px; top:8px; width:19px; height:13px; ">Kg</caption>
- </group>
- <select id="checkbox5" ref="/root/hidden/readexmpadd" overflow="visible" appearance="full" style="left:1061px; top:57px; width:50px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>추가</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- </case>
- <case id="cm">
- <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; ">
- <col ref="tclsscrnnm"/>
- <col ref="reptrslt" type="input"/>
- <col ref="scratio"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- /* var testcd = model.getValue("/root/main/rslt/desc/rslt/cm/dshla["+ grd_dshla.row +"]/testcd");
- var find = grd_rslt.findRow(testcd, 1, 1, true, true);
-
- if(grd_dshla.row == grd_dshla.rows - 1) {
- 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"));
-
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", model.getValue("/root/main/rslt/desc/rslt/cm/dshla["+ grd_dshla.row +"]/reptrslt"));
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", model.getValue("/root/main/rslt/desc/rslt/cm/dshla["+ grd_dshla.row +"]/reptrslt"));
-
- if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk" , "Y");
- }
-
- grd_dshla.row = 1;
- } else {
- 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"));
-
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", model.getValue("/root/main/rslt/desc/rslt/cm/dshla["+ grd_dshla.row +"]/reptrslt"));
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", model.getValue("/root/main/rslt/desc/rslt/cm/dshla["+ grd_dshla.row +"]/reptrslt"));
-
- if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk" , "Y");
- }
-
- grd_dshla.row = (grd_dshla.row) + 1;
- }*/
-
- fGridKeyEvent("grd_dshla", "/root/main/rslt/desc/rslt/cm/dshla");
- ]]>
- </script>
- </datagrid>
- <caption id="caption99" class="tit_2" style="left:10px; top:5px; width:115px; height:13px; ">공여자 정보</caption>
- <line id="line67" class="line_1" style="x1:5px; y1:21px; x2:435px; y2:21px; "/>
- <caption id="caption101" class="cell_1" style="left:5px; top:26px; width:80px; height:23px; vertical-align:middle; ">PID</caption>
- <input id="input26" ref="/root/main/testinfo/spcltestinfo/reqfrmtbl/reqfrminfo/inptitem01/dnorpid" class="input_default" style="left:88px; top:27px; width:80px; height:19px; "/>
- <input id="input27" ref="/root/main/testinfo/spcltestinfo/reqfrmtbl/reqfrminfo/inptitem01/dnornm" class="input_default" style="left:254px; top:27px; width:80px; height:19px; "/>
- <caption id="caption103" class="cell_1" style="left:171px; top:26px; width:80px; height:23px; vertical-align:middle; ">성명</caption>
- <button id="button37" class="btn2_letter4" style="left:1124px; top:50px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter6.gif; ">
- <caption>결과조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- open("SMLLP01400");
- ]]>
- </script>
- </button>
- <line id="line68" class="line_1" style="x1:5px; y1:170px; x2:595px; y2:170px; "/>
- <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; ">
- <col ref="tclsscrnnm"/>
- <col ref="bfspcacptdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="bfreptrslt"/>
- <col ref="reptrslt" type="input"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
-
- fGridKeyEvent("grd_cm_cytoto", "/root/main/rslt/desc/rslt/cm/cytoto");
- ]]>
- </script>
- </datagrid>
- <caption id="caption104" class="tit_2" style="left:10px; top:154px; width:133px; height:13px; ">Cytotoxicity</caption>
- <line id="line65" class="line_3" style="x1:5px; y1:48px; x2:435px; y2:48px; "/>
- <line id="line69" class="line_1" style="x1:599px; y1:70px; x2:1189px; y2:70px; "/>
- <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; ">
- <col ref="tclsscrnnm"/>
- <col ref="bfspcacptdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="bfreptrslt"/>
- <col ref="reptrslt" type="input"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- fGridKeyEvent("grd_cm_flow", "/root/main/rslt/desc/rslt/cm/flow");
- ]]>
- </script>
- </datagrid>
- <caption id="caption105" class="tit_2" style="left:604px; top:54px; width:203px; height:13px; ">Flow Cytometric Crossmatch</caption>
- <caption id="caption106" class="tit_2" style="left:10px; top:54px; width:195px; height:13px; ">공여자 특이 HLA 항체</caption>
- <line id="line71" class="line_1" style="x1:5px; y1:70px; x2:595px; y2:70px; "/>
- <line id="line72" class="line_1" style="x1:599px; y1:477px; x2:1189px; y2:477px; "/>
- <caption id="caption107" class="tit_2" style="left:604px; top:461px; width:115px; height:13px; ">판독결과</caption>
- <textarea id="tar_cm_readrslt" ref="/root/main/rslt/desc/rslt/readrslt" style="left:599px; top:482px; width:591px; height:161px; "/>
- <line id="line70" class="line_1" style="x1:5px; y1:477px; x2:595px; y2:477px; "/>
- <caption id="caption10" class="tit_2" style="left:10px; top:461px; width:192px; height:13px; ">판독예문</caption>
- <button id="button14" class="btn2_letter4" style="left:530px; top:457px; width:64px; height:19px; ">
- <caption>판독예문</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMLLF02000 ","","","","","/root/main/testinfo/spcltestinfo/testcd","/root/hidden/testcd");
-
- submit("TRLRR00402");
- fRsltCode("grd_cm_rsltcode");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <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; ">
- <col ref="cd"/>
- <col ref="nm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fRsltCodeDBClick("grd_cm_rsltcode");
- ]]>
- </script>
- </datagrid>
- <select id="checkbox4" ref="/root/hidden/readexmpadd" overflow="visible" appearance="full" style="left:475px; top:459px; width:50px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>추가</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- </case>
- <case id="wideuse">
- <caption id="caption108" class="tit_2" style="left:10px; top:10px; width:115px; height:13px; ">세부검사</caption>
- <line id="line73" class="line_1" style="x1:5px; y1:25px; x2:590px; y2:25px; "/>
- <line id="line74" class="line_1" style="x1:600px; y1:25px; x2:1185px; y2:25px; "/>
- <caption id="caption109" class="tit_2" style="left:605px; top:10px; width:115px; height:13px; ">Image</caption>
- <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; ">
- <col ref="cd"/>
- <col ref="nm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fRsltCodeDBClick("grd_wideuse_rsltcode");
- ]]>
- </script>
- </datagrid>
- <line id="line76" class="line_1" style="x1:5px; y1:530px; x2:590px; y2:530px; "/>
- <caption id="caption110" class="tit_2" style="left:10px; top:515px; width:110px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">판독예문</caption>
- <line id="line77" class="line_1" style="x1:595px; y1:400px; x2:1180px; y2:400px; "/>
- <caption id="caption111" class="tit_2" style="left:600px; top:385px; width:110px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">판독결과</caption>
- <textarea id="tar_wideuse_readrslt" ref="/root/main/rslt/desc/rslt/readrslt" style="left:595px; top:405px; width:585px; height:95px; "/>
- <button id="button23" class="btn2_letter4" style="left:525px; top:510px; width:64px; height:19px; ">
- <caption>판독예문</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMLLF02000 ","","","","","/root/main/testinfo/spcltestinfo/testcd","/root/hidden/testcd");
-
- submit("TRLRR00402");
- fRsltCode("grd_wideuse_rsltcode");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <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; ">
- <col checkvalue="Y,N" ref="chk" type="checkbox"/>
- <col ref="testcd"/>
- <col ref="tclsscrnnm"/>
- <col ref="reptrslt" type="input"/>
- <col ref="rsltunit"/>
- <col ref="bflastreptdt"/>
- <col ref="bfreptrslt"/>
- <col ref="inptrslt"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- fGridKeyEvent("grd_wideuse_dtcl1", "/root/main/rslt/desc/rslt/detltclsinfo");
- ]]>
- </script>
- </datagrid>
- <group id="group7" style="left:600px; top:30px; width:585px; height:345px; ">
- <img id="img_wideuse" ref="/root/main/view/imgrslt" src="../images/결과이미지.gif" style="left:0px; top:0px; width:585px; height:340px; background-stretch:stretch; "/>
- <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; "/>
- </group>
- <select1 id="cmb_wideuse_seq" ref="/root/hidden/rsltseqno" class="combo_default" appearance="minimal" style="left:1015px; top:4px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/imglist">
- <label ref="lastupdtrdt"/>
- <value ref="rsltseqno"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fImgRef("img_wideuse");
- ]]>
- </script>
- </select1>
- <button id="button28" class="btn2_letter2" style="left:1142px; top:5px; width:42px; height:19px; ">
- <caption>등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getvalue("/root/main/testinfo/spcltestinfo/bcno") != ""){
- modal("SMLRR01500","", "", "","", "/root/main/testinfo/spcltestinfo", "/root/hidden/spcltestinfo");
- fImgRslt("cmb_wideuse_seq", "cpt_wideuse_noimg", "img_wideuse");
- }
- ]]>
- </script>
- </button>
- <caption id="caption136" class="hand" style="left:932px; top:2px; width:80px; height:23px; vertical-align:middle; ">History</caption>
- <select id="checkbox3" ref="/root/hidden/readexmpadd" overflow="visible" appearance="full" style="left:470px; top:512px; width:50px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>추가</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <line id="line109" class="line_1" style="x1:595px; y1:515px; x2:1180px; y2:515px; "/>
- <textarea id="tar_wideuse_inter" ref="/root/main/rslt/desc/rslt/inter" style="left:595px; top:520px; width:585px; height:55px; "/>
- <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>
- <line id="line110" class="line_1" style="x1:595px; y1:590px; x2:1180px; y2:590px; "/>
- <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>
- <textarea id="tar_wideuse_comment" ref="/root/main/rslt/desc/rslt/comments" style="left:595px; top:595px; width:585px; height:55px; "/>
- <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; ">
- <choices>
- <item>
- <label>비정상만 조회</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //alert(chk_wideuse_abnr.value);
- fChkWideuseAbnr(chk_wideuse_abnr.value);
- ]]>
- </script>
- </select>
- </case>
- <case id="tdm">
- <button id="button6" class="btn2_letter4" style="left:795px; top:300px; width:64px; height:19px; ">
- <caption>판독예문</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMLLF02000 ","","","","","/root/main/testinfo/spcltestinfo/testcd","/root/hidden/testcd");
-
- submit("TRLRR00402");
- fRsltCode("grd_tdm_rsltcode");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <select id="checkbox15" ref="/root/hidden/readexmpadd" overflow="visible" appearance="full" style="left:740px; top:300px; width:50px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>추가</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <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; ">
- <col ref="cd"/>
- <col ref="nm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fRsltCodeDBClick("grd_tdm_rsltcode");
- ]]>
- </script>
- </datagrid>
- <line id="line86" class="line_2" style="x1:5px; y1:149px; x2:430px; y2:149px; "/>
- <line id="line85" class="line_2" style="x1:5px; y1:125px; x2:430px; y2:125px; "/>
- <line id="line83" class="line_2" style="x1:5px; y1:101px; x2:430px; y2:101px; "/>
- <line id="line82" class="line_2" style="x1:5px; y1:77px; x2:430px; y2:77px; "/>
- <line id="line79" class="line_2" style="x1:5px; y1:53px; x2:430px; y2:53px; "/>
- <line id="line78" class="line_1" style="x1:5px; y1:26px; x2:430px; y2:26px; "/>
- <caption id="caption112" class="tit_2" style="left:10px; top:10px; width:115px; height:14px; ">TDM</caption>
- <input id="input28" class="input_default" style="left:88px; top:32px; width:125px; height:19px; "/>
- <caption id="caption113" class="cell_1" style="left:5px; top:31px; width:80px; height:23px; vertical-align:middle; ">의뢰약물이름</caption>
- <caption id="caption114" class="cell_1" style="left:216px; top:31px; width:80px; height:23px; vertical-align:middle; ">의뢰사유</caption>
- <input id="input29" class="input_default" style="left:299px; top:32px; width:131px; height:19px; "/>
- <caption id="caption115" class="tit_2" style="left:440px; top:10px; width:115px; height:13px; ">연관검사</caption>
- <line id="line80" class="line_1" style="x1:435px; y1:26px; x2:860px; y2:26px; "/>
- <button id="button8" class="btn2_letter4" style="left:795px; top:6px; width:64px; height:19px; ">
- <caption>연관검사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMLLF00900");
-
- fGetRelRslt();
- ]]>
- </script>
- </button>
- <caption id="caption116" class="tit_2" style="left:10px; top:455px; width:115px; height:13px; ">판독결과</caption>
- <line id="line81" class="line_1" style="x1:5px; y1:471px; x2:860px; y2:471px; "/>
- <caption id="caption117" class="cell_1" style="left:5px; top:55px; width:80px; height:23px; vertical-align:middle; ">의뢰기타정보</caption>
- <caption id="caption118" class="cell_1" style="left:5px; top:79px; width:80px; height:23px; vertical-align:middle; ">실제채혈시간</caption>
- <input id="input30" class="input_default" style="left:88px; top:56px; width:342px; height:19px; "/>
- <input id="input31" class="input_default" style="left:88px; top:80px; width:342px; height:19px; "/>
- <input id="input32" class="input_default" style="left:68px; top:104px; width:54px; height:19px; "/>
- <caption id="caption119" class="cell_1" style="left:5px; top:103px; width:60px; height:23px; vertical-align:middle; ">키 (㎡)</caption>
- <input id="input33" class="input_default" style="left:188px; top:104px; width:50px; height:19px; "/>
- <caption id="caption120" class="cell_1" style="left:125px; top:103px; width:60px; height:23px; vertical-align:middle; ">키 (㎡)</caption>
- <caption id="caption121" class="cell_1" style="left:241px; top:103px; width:80px; height:23px; vertical-align:middle; ">BMI 계산값</caption>
- <input id="input34" class="input_default" style="left:324px; top:104px; width:106px; height:19px; "/>
- <caption id="caption122" class="cell_1" style="left:5px; top:127px; width:180px; height:23px; vertical-align:middle; ">단순 약물농도 측정값</caption>
- <input id="input35" class="input_default" style="left:188px; top:128px; width:242px; height:19px; "/>
- <caption id="caption123" class="cell_1" style="left:5px; top:151px; width:180px; height:23px; vertical-align:middle; ">약물농도 with 참고범위 측정값</caption>
- <line id="line84" class="line_3" style="x1:5px; y1:173px; x2:430px; y2:173px; "/>
- <input id="input36" class="input_default" style="left:188px; top:152px; width:242px; height:19px; "/>
- <line id="line87" class="line_1" style="x1:5px; y1:201px; x2:860px; y2:201px; "/>
- <caption id="caption124" class="tit_2" style="left:10px; top:185px; width:315px; height:14px; ">약물농도 with 참고범위에 지정되어 있는 정보...</caption>
- <textarea id="tar_tdm_refinfo" ref="/root/main/rslt/desc/rslt/tdmrslt" style="left:5px; top:206px; width:855px; height:89px; "/>
- <caption id="caption125" class="tit_2" style="left:10px; top:306px; width:315px; height:14px; ">최근 1주일간 투약력</caption>
- <line id="line88" class="line_1" style="x1:5px; y1:322px; x2:860px; y2:322px; "/>
- <textarea id="tar_tdm_weekmedi" ref="/root/main/rslt/desc/rslt/readrslt" style="left:5px; top:476px; width:855px; height:144px; "/>
- <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; ">
- <col ref="tclscd"/>
- <col ref="tclsscrnnm"/>
- <col ref="reptrslt"/>
- <col ref="lastreptdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="ref"/>
- <col ref="bfreptrst"/>
- </datagrid>
- </case>
- <case id="ckld">
- <caption id="caption148" class="tit_2" style="left:10px; top:10px; width:55px; height:13px; ">CK</caption>
- <line id="line95" class="line_1" style="x1:5px; y1:25px; x2:560px; y2:25px; "/>
- <line id="line96" class="line_1" style="x1:565px; y1:25px; x2:1180px; y2:25px; "/>
- <caption id="caption149" class="tit_2" style="left:570px; top:10px; width:65px; height:13px; ">LD</caption>
- <caption id="caption151" class="hand" style="left:307px; top:215px; width:80px; height:23px; vertical-align:middle; ">History</caption>
- <line id="line97" class="line_1" style="x1:5px; y1:238px; x2:560px; y2:238px; "/>
- <button id="button34" class="btn2_letter2" style="left:517px; top:218px; width:42px; height:19px; ">
- <caption>등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getvalue("/root/main/testinfo/spcltestinfo/bcno") != ""){
- modal("SMLRR01500","", "", "","", "/root/main/testinfo/spcltestinfo", "/root/hidden/spcltestinfo");
- fImgRslt("cmb_ck_seq", "cpt_ck_noimg", "img_ck");
- }
- ]]>
- </script>
- </button>
- <caption id="caption152" class="tit_2" style="left:10px; top:223px; width:115px; height:13px; ">CK Image</caption>
- <group id="group9" style="left:5px; top:243px; width:555px; height:287px; ">
- <img id="img_ck" ref="/root/main/view/imgrslt" src="../images/결과이미지.gif" style="left:0px; top:0px; width:555px; height:287px; background-stretch:stretch; "/>
- <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; "/>
- </group>
- <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; ">
- <col ref="tclsscrnnm"/>
- <col ref="bfspcacptdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="bfreptrslt"/>
- <col ref="reptrslt" type="input"/>
- <col ref="rsltunit"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[/*
- var testcd = model.getValue("/root/main/rslt/desc/rslt/pra/prascreening["+ grd_pra_scrn.row +"]/testcd");
- var find = grd_rslt.findRow(testcd, 1, 1, true, true);
-
- if(grd_pra_scrn.row == grd_pra_scrn.rows - 1) {
- 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"));
-
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/prascreening["+ grd_pra_scrn.row +"]/reptrslt"));
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/prascreening["+ grd_pra_scrn.row +"]/reptrslt"));
-
- if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk" , "Y");
- }
-
- grd_pra_scrn.row = 1;
- } else {
- 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"));
-
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/prascreening["+ grd_pra_scrn.row +"]/reptrslt"));
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/prascreening["+ grd_pra_scrn.row +"]/reptrslt"));
-
- if(model.getValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt") != "") {
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk" , "Y");
- }
-
- grd_pra_scrn.row = (grd_pra_scrn.row) + 1;
- }*/
-
- fGridKeyEvent("grd_ck", "/root/main/rslt/desc/rslt/ckld/ck");
- ]]>
- </script>
- </datagrid>
- <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; ">
- <col ref="tclsscrnnm"/>
- <col ref="bfspcacptdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="bfreptrslt"/>
- <col ref="reptrslt" type="input"/>
- <col ref="rsltunit"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[/*
- var testcd = model.getValue("/root/main/rslt/desc/rslt/pra/iden["+ datagrid27.row +"]/testcd");
- var find = grd_rslt.findRow(testcd, 1, 1, true, true);
-
- if(datagrid27.row == datagrid27.rows - 1) {
- model.setValue("/root/main/rslt/desc/rslt/pra/iden["+ datagrid27.row +"]/inptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/iden["+ datagrid27.row +"]/reptrslt"));
-
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/iden["+ datagrid27.row +"]/reptrslt"));
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/iden["+ datagrid27.row +"]/reptrslt"));
-
- datagrid27.row = 1;
- } else {
- model.setValue("/root/main/rslt/desc/rslt/pra/iden["+ datagrid27.row +"]/inptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/iden["+ datagrid27.row +"]/reptrslt"));
-
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/iden["+ datagrid27.row +"]/reptrslt"));
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", model.getValue("/root/main/rslt/desc/rslt/pra/iden["+ datagrid27.row +"]/reptrslt"));
-
- datagrid27.row = (datagrid27.row) + 1;
- }
-
- var per = model.getValue("/root/main/rslt/desc/rslt/pra/iden["+ grd_pra_iden.row +"]/per");
-
- var testcd = model.getValue("/root/main/rslt/desc/rslt/pra/iden["+ grd_pra_iden.row +"]/testcd");
- var find = grd_rslt.findRow(testcd, 1, 1, true, true);
-
- if(per == "0") {
- model.setValue("/root/main/rslt/desc/rslt/pra/iden["+ grd_pra_iden.row +"]/reptrslt", "Negative");
- model.setValue("/root/main/rslt/desc/rslt/pra/iden["+ grd_pra_iden.row +"]/inptrslt", "Negative");
-
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", "Negative");
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", "Negative");
-
- if(grd_pra_iden.row == grd_pra_iden.rows - 1) {
- grd_pra_iden.row = 1;
- }else {
- grd_pra_iden.row = (grd_pra_iden.row) + 1;
- }
- } else if(per >= 1) {
- model.setValue("/root/main/rslt/desc/rslt/pra/iden["+ grd_pra_iden.row +"]/reptrslt", "Positive");
- model.setValue("/root/main/rslt/desc/rslt/pra/iden["+ grd_pra_iden.row +"]/inptrslt", "Positive");
-
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/reptrslt", "Positive");
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/inptrslt", "Positive");
-
- if(grd_pra_iden.row == grd_pra_iden.rows - 1) {
- grd_pra_iden.row = 1;
- }else {
- grd_pra_iden.row = (grd_pra_iden.row) + 1;
- }
- } */
-
- fGridKeyEvent("grd_ld", "/root/main/rslt/desc/rslt/ckld/ld");
- ]]>
- </script>
- </datagrid>
- <select1 id="cmb_ck_seq" ref="/root/hidden/rsltseqno" class="combo_default" appearance="minimal" style="left:390px; top:217px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/imglist">
- <label ref="lastupdtrdt"/>
- <value ref="rsltseqno"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fImgRef("img_ck");
- ]]>
- </script>
- </select1>
- <line id="line98" class="line_1" style="x1:565px; y1:238px; x2:1180px; y2:238px; "/>
- <caption id="caption153" class="hand" style="left:927px; top:215px; width:80px; height:23px; vertical-align:middle; ">History</caption>
- <caption id="caption154" class="tit_2" style="left:570px; top:223px; width:115px; height:13px; ">LD Image</caption>
- <group id="group10" style="left:565px; top:243px; width:615px; height:287px; ">
- <img id="img_ld" ref="/root/main/viewld/imgrslt" src="../images/결과이미지.gif" style="left:0px; top:0px; width:615px; height:287px; background-stretch:stretch; "/>
- <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; "/>
- </group>
- <button id="button35" class="btn2_letter2" style="left:1137px; top:218px; width:42px; height:19px; ">
- <caption>등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getvalue("/root/main/testinfo/spcltestinfo/bcno") != ""){
- var testcd = model.getValue("/root/main/testinfo/spcltestinfo/testcd");
-
- model.setValue("/root/main/testinfo/spcltestinfo/testcd", "LSI113"); //CK 가 조회되므로 임시로 LD로 변경.
- modal("SMLRR01500","", "", "","", "/root/main/testinfo/spcltestinfo", "/root/hidden/spcltestinfo");
- fImgRslt("cmb_ld_seq", "cpt_ld_noimg", "img_ld");
- model.setValue("/root/main/testinfo/spcltestinfo/testcd", testcd); //원상 복구..
-
- fImgRslt("cmb_ck_seq", "cpt_ck_noimg", "img_ck"); //ck history가 지워짐으로 ck history 한번 더 조회
- }
- ]]>
- </script>
- </button>
- <select1 id="cmb_ld_seq" ref="/root/hidden/rsltseqnold" class="combo_default" appearance="minimal" style="left:1010px; top:217px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/imglistld">
- <label ref="lastupdtrdt"/>
- <value ref="rsltseqno"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var testcd = model.getValue("/root/main/testinfo/spcltestinfo/testcd");
-
- model.setValue("/root/main/testinfo/spcltestinfo/testcd", "LSI113"); //CK 가 조회되므로 임시로 LD로 변경.
- fImgRef("img_ld");
- model.setValue("/root/main/testinfo/spcltestinfo/testcd", testcd); //원상 복구..
-
- fImgRef("img_ck"); //ck 이미지가 지워짐으로 ck 이미지 한번더 조회
- ]]>
- </script>
- </select1>
- <caption id="caption155" class="tit_2" style="left:570px; top:537px; width:115px; height:13px; ">판독결과</caption>
- <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; ">
- <col ref="cd"/>
- <col ref="nm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fRsltCodeDBClick("grd_ckld_rsltcode");
- ]]>
- </script>
- </datagrid>
- <caption id="caption156" class="tit_2" style="left:10px; top:537px; width:192px; height:13px; ">판독예문</caption>
- <select id="checkbox16" ref="/root/hidden/readexmpadd" overflow="visible" appearance="full" style="left:440px; top:535px; width:50px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>추가</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <textarea id="tar_ckld_weekmedi" ref="/root/main/rslt/desc/rslt/readrslt" style="left:565px; top:558px; width:615px; height:92px; "/>
- <line id="line99" class="line_1" style="x1:5px; y1:553px; x2:560px; y2:553px; "/>
- <button id="button36" class="btn2_letter4" style="left:495px; top:533px; width:64px; height:19px; ">
- <caption>판독예문</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMLLF02000 ","","","","","/root/main/testinfo/spcltestinfo/testcd","/root/hidden/testcd");
-
- submit("TRLRR00402");
- fRsltCode("grd_ckld_rsltcode");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line100" class="line_1" style="x1:565px; y1:553px; x2:1180px; y2:553px; "/>
- </case>
- <case id="fish" selected="true">
- <caption id="caption167" class="tit_2" style="left:205px; top:67px; width:85px; height:13px; ">처방명</caption>
- <caption id="captionProbe" class="tit_2" style="left:5px; top:15px; width:115px; height:13px; ">Probe</caption>
- <caption id="caption157" class="tit_2" style="left:5px; top:42px; width:115px; height:14px; ">사용하는 시약</caption>
- <switch id="switch6" style="left:5px; top:85px; width:1150px; height:555px; ">
- <case id="fish_desc" selected="true">
- <caption id="caption158" class="tit_2" style="left:10px; top:10px; width:115px; height:14px; ">검사 결과</caption>
- <caption id="caption159" class="tit_2" style="left:565px; top:10px; width:192px; height:13px; ">판독예문</caption>
- <select id="checkbox17" ref="/root/hidden/readexmpadd" overflow="visible" appearance="full" style="left:1030px; top:10px; width:50px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>추가</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <button id="button24" class="btn2_letter4" style="left:1080px; top:10px; width:64px; height:19px; ">
- <caption>판독예문</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMLLF02000 ","","","","","/root/main/testinfo/spcltestinfo/testcd","/root/hidden/testcd");
-
- submit("TRLRR00402");
- fRsltCode("grd_fishld_rsltcode");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <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; ">
- <col ref="cd"/>
- <col ref="nm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fRsltCodeDBClick("grd_fishld_rsltcode");
- ]]>
- </script>
- </datagrid>
- <caption id="caption160" class="tit_2" style="left:564px; top:154px; width:115px; height:13px; ">판독결과</caption>
- <textarea id="tar_fishld_weekmedi" ref="/root/main/rslt/desc/rslt/readrslt" style="left:560px; top:168px; width:585px; height:123px; "/>
- <caption id="caption161" class="tit_2" style="left:560px; top:305px; width:115px; height:13px; ">Interpretation</caption>
- <textarea id="tar_fish_itpt" ref="/root/main/rslt/desc/rslt/inter" style="left:560px; top:320px; width:585px; height:105px; "/>
- <line id="line102" class="line_1" style="x1:560px; y1:316px; x2:1145px; y2:316px; "/>
- <line id="line101" class="line_1" style="x1:560px; y1:165px; x2:1145px; y2:165px; "/>
- <line id="line103" class="line_1" style="x1:560px; y1:25px; x2:1145px; y2:25px; "/>
- <line id="line104" class="line_1" style="x1:21px; y1:25px; x2:547px; y2:25px; "/>
- <caption id="caption162" class="tit_2" style="left:560px; top:430px; width:158px; height:13px; ">Comments</caption>
- <line id="line105" class="line_1" style="x1:560px; y1:441px; x2:1145px; y2:441px; "/>
- <textarea id="textarea3" ref="/root/main/rslt/desc/rslt/comments" style="left:560px; top:445px; width:585px; height:100px; "/>
- <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; ">
- <col ref="basecdnm"/>
- <col ref="reptrslt1" type="input"/>
- <col ref="reptrslt2" type="input"/>
- </datagrid>
- <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; ">
- <col ref="basecdnm"/>
- <col ref="reptrslt" type="input"/>
- </datagrid>
- </case>
- <case id="fish_img">
- <caption id="caption164" class="cell_1" style="left:5px; top:2px; width:80px; height:23px; vertical-align:middle; ">History</caption>
- <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; "/>
- <button id="button29" class="btn2_letter7" style="left:210px; top:4px; width:97px; height:19px; ">
- <caption>이미지결과등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getvalue("/root/main/testinfo/spcltestinfo/bcno") != ""){
- modal("SMLRR01500","", "", "","", "/root/main/testinfo/spcltestinfo", "/root/hidden/spcltestinfo");
- fImgRslt("cmb_fish_seq", "cpt_fish_noimg", "img_fish");
- }
- ]]>
- </script>
- </button>
- <img id="img_fish" ref="/root/main/view/imgrslt" src="../images/결과이미지.gif" style="left:5px; top:23px; width:775px; height:587px; background-stretch:stretch; "/>
- <img id="img5" visibility="hidden" style="left:305px; top:45px; width:365px; height:148px; background-color:#ff6600; background-stretch:stretch; "/>
- <select1 id="cmb_fish_seq" ref="/root/hidden/rsltseqno" class="combo_default" appearance="minimal" style="left:88px; top:4px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/imglist">
- <label ref="lastupdtrdt"/>
- <value ref="rsltseqno"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fImgRef("img_fish");
- ]]>
- </script>
- </select1>
- </case>
- </switch>
- <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; ">
- <caption>판독결과</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("fish_desc");
- ]]>
- </script>
- </button>
- <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; ">
- <caption>이미지결과</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("fish_img");
- ]]>
- </script>
- </button>
- <input id="input_siyak" ref="/root/main/rslt/desc/rslt/fishinfo/basecddesc" class="input_essential" style="left:110px; top:42px; width:1045px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/rslt/desc/rslt/siyak",input_siyak.currentText);
- input_siyak.refresh();
- ]]>
- </script>
- </input>
- <input id="input_probe" ref="/root/main/rslt/desc/rslt/fishinfo/basecdnm" class="input_essential" style="left:110px; top:15px; width:1045px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/rslt/desc/rslt/probe",input_probe.currentText);
- input_probe.refresh();
- ]]>
- </script>
- </input>
- <output id="output6" ref="/root/main/testinfo/spcltestinfo/prcpnm" class="output_fix" style="left:265px; top:65px; width:295px; height:19px; "/>
- <output id="output7" ref="/root/main/testinfo/spcltestinfo/workno" class="output_fix" style="left:635px; top:65px; width:150px; height:19px; "/>
- <caption id="caption168" class="tit_2" style="left:567px; top:68px; width:85px; height:13px; ">접수번호</caption>
- </case>
- <case id="str">
- <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; ">
- <col ref="inptrslt1" type="input" style="text-align:center; "/>
- <col ref="inptrslt2" type="input" style="text-align:center; "/>
- <col ref="inptrslt3" type="input" style="text-align:center; "/>
- <col ref="inptrslt4" type="input" style="text-align:center; "/>
- <col ref="inptrslt5" type="input" style="text-align:center; "/>
- <col ref="inptrslt6" type="input" style="text-align:center; "/>
- <col ref="inptrslt7" type="input" style="text-align:center; "/>
- <col ref="inptrslt8" type="input" style="text-align:center; "/>
- <col ref="inptrslt9" type="input" style="text-align:center; "/>
- <col ref="inptrslt10" type="input" style="text-align:center; "/>
- <col ref="inptrslt11" type="input" style="text-align:center; "/>
- <col ref="inptrslt12" type="input" style="text-align:center; "/>
- <col ref="inptrslt13" type="input" style="text-align:center; "/>
- <col ref="inptrslt14" type="input" style="text-align:center; "/>
- <col ref="inptrslt15" type="input" style="text-align:center; "/>
- <col ref="inptrslt16" type="input" style="text-align:center; "/>
- <col ref="inptrslt17" type="input" style="text-align:center; "/>
- <col ref="inptrslt18" type="input" style="text-align:center; "/>
- <col ref="inptrslt19" type="input" style="text-align:center; "/>
- <col ref="inptrslt20" type="input" style="text-align:center; "/>
- <col ref="inptrslt21" type="input" style="text-align:center; "/>
- <col ref="inptrslt22" type="input" style="text-align:center; "/>
- <col ref="inptrslt23" type="input" style="text-align:center; "/>
- <col ref="inptrslt24" type="input" style="text-align:center; "/>
- <col ref="inptrslt25" type="input" style="text-align:center; "/>
- <col ref="inptrslt26" type="input" style="text-align:center; "/>
- <col ref="inptrslt27" type="input" style="text-align:center; "/>
- <col ref="inptrslt28" type="input" style="text-align:center; "/>
- <col ref="inptrslt29" type="input" style="text-align:center; "/>
- <col ref="inptrslt30" type="input" style="text-align:center; "/>
- <col ref="inptrslt31" type="input" style="text-align:center; "/>
- <col ref="inptrslt32" type="input" style="text-align:center; "/>
- <col ref="inptrslt33" type="input" style="text-align:center; "/>
- <col ref="inptrslt34" type="input" style="text-align:center; "/>
- <col ref="inptrslt35" type="input" style="text-align:center; "/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // if((grd_testlist.isCell(event.target) && grd_testlist.row >= grd_testlist.fixedRows) && grd_testlist.col >= 6 ){ //검사항목
- // //fPatGridClick(grd_testlist.row,grd_testlist.col);
- // } else if(grd_testlist.col == 1) { //체크박스
- // fSelectCancle();
- // }
- //
- // var row = grd_testlist.row
- // if(model.getValue("/root/main/testinfo/patlist["+ row +"]/chk") == "true"){
- // grd_testlist.rowStatus(row) = "2"
- // }
- // //alert(model.getValue("/root/main/testinfo/patlist["+ (grd_testlist.row -1) +"]/pid"));
- // //alert(model.getValue("/root/main/testinfo/patlist["+ (grd_testlist.row -1) +"]/bcno"));
- // ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13"){
- var row = grd_testlist.row;
- var vcol = grd_testlist.col;
- //alert(col);
- //alert(model.getValue("/root/main/testinfo/spcltestinfo/inptrslt"+ col +""));
- model.setValue("/root/main/rslt/desc/rslt/detltclsinfo["+ vcol +"]/reptrslt",model.getValue("/root/main/testinfo/spcltestinfo/inptrslt"+ vcol +""));
- model.setValue("/root/main/rslt/desc/rslt/detltclsinfo["+ vcol +"]/inptrslt",model.getValue("/root/main/testinfo/spcltestinfo/inptrslt"+ vcol +""));
- model.setValue("/root/main/rslt/desc/rslt/detltclsinfo["+ vcol +"]/bufinptrslt",model.getValue("/root/main/testinfo/spcltestinfo/inptrslt"+ vcol +""));
- fGridKeyEventStr("grd_testlist", "/root/main/rslt/desc/rslt/detltclsinfo");
- if(grd_testlist.cols != vcol){
- vcol = parseInt(vcol) + 1;
-
- grd_testlist.col = vcol;
- }
- model.refresh();
-
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- fGridKeyDown();
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- //fGetMouseDown();
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- window.setPopupMenu(false);
- ]]>
- </script>
- <script type="javascript" ev:event="onmouseout">
- <![CDATA[
- window.setPopupMenu(false);
- ]]>
- </script>
- </datagrid>
- <caption id="caption173" class="tit_2" style="left:5px; top:10px; width:115px; height:13px; ">세부검사</caption>
- <group id="group13" style="left:0px; top:160px; width:1190px; height:435px; ">
- <line id="line6" class="line_1" style="x1:0px; y1:45px; x2:560px; y2:45px; "/>
- <select id="checkbox19" ref="/root/hidden/readexmpadd" overflow="visible" appearance="full" style="left:438px; top:27px; width:50px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>추가</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <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; ">
- <col ref="cd"/>
- <col ref="nm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fRsltCodeDBClick("grd_str_rsltcode");
- ]]>
- </script>
- </datagrid>
- <button id="button48" class="btn2_letter4" style="left:494px; top:26px; width:64px; height:19px; ">
- <caption>판독예문</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMLLF02000 ","","","","","/root/main/testinfo/spcltestinfo/testcd","/root/hidden/testcd");
-
- submit("TRLRR00402");
- fRsltCode("grd_str_rsltcode");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption174" class="tit_2" style="left:10px; top:30px; width:110px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">판독예문</caption>
- <line id="line111" class="line_1" style="x1:595px; y1:198px; x2:1180px; y2:198px; "/>
- <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>
- <textarea id="textarea1" ref="/root/main/rslt/desc/rslt/readrslt" style="left:595px; top:50px; width:585px; height:115px; "/>
- <line id="line112" class="line_1" style="x1:595px; y1:45px; x2:1180px; y2:45px; "/>
- <line id="line113" class="line_1" style="x1:0px; y1:195px; x2:560px; y2:195px; "/>
- <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>
- <textarea id="textarea4" ref="/root/main/rslt/desc/rslt/inter" style="left:595px; top:203px; width:585px; height:152px; "/>
- <textarea id="textarea5" ref="/root/main/rslt/desc/rslt/comments" style="left:0px; top:200px; width:560px; height:155px; "/>
- <caption id="caption177" class="tit_2" style="left:600px; top:30px; width:110px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">판독결과</caption>
- <input id="input9" ref="/root/main/rslt/desc/rslt/donor" class="input_button" style="left:1045px; top:175px; width:130px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13"){
- model.makeValue("/root/main/rslt/desc/rslt/donor",input9.currentText);
- }
- ]]>
- </script>
- </input>
- <caption id="caption178" class="tit_2" style="left:967px; top:178px; width:115px; height:13px; ">Donor 명</caption>
- <line id="line115" class="line_9" style="x1:580px; y1:5px; x2:580px; y2:355px; "/>
- <line id="line114" class="line_9" style="x1:0px; y1:5px; x2:1190px; y2:5px; "/>
- </group>
- </case>
- </switch>
- <line id="line7" class="line_3" style="x1:414px; y1:83px; x2:1192px; y2:83px; "/>
- <line id="line9" class="line_2" style="x1:414px; y1:58px; x2:1192px; y2:58px; "/>
- <caption id="caption21" class="tit_2" style="left:0px; top:15px; width:115px; height:14px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">특수검사 정보</caption>
- <line id="line12" class="line_1" style="x1:0px; y1:31px; x2:405px; y2:31px; "/>
- <caption id="caption20" class="cell_1" style="left:414px; top:60px; width:56px; height:23px; vertical-align:middle; ">채취일시</caption>
- <caption id="caption24" class="cell_1" style="left:1009px; top:60px; width:59px; height:23px; vertical-align:middle; ">보고일시</caption>
- <output id="output1" ref="/root/main/testinfo/spcltestinfo/extrtestinstcd" class="output_fix" style="left:473px; top:36px; width:112px; height:19px; "/>
- <output id="opt_pid" ref="/root/main/testinfo/spcltestinfo/pid" class="output_fix" style="left:663px; top:36px; width:70px; height:19px; "/>
- <output id="opt_patnm" ref="/root/main/testinfo/spcltestinfo/patnm" class="output_fix" style="left:809px; top:36px; width:80px; height:19px; "/>
- <output id="opt_orddept" ref="/root/main/testinfo/spcltestinfo/orddeptnm" class="output_fix" style="left:965px; top:36px; width:50px; height:19px; "/>
- <output id="opt_orddr" ref="/root/main/testinfo/spcltestinfo/orddrnm" class="output_fix" style="left:1091px; top:36px; width:100px; height:19px; "/>
- <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; "/>
- <output id="opt_testdt" ref="/root/main/testinfo/spcltestinfo/rsltrgstdt" class="output_fix" style="left:853px; top:62px; width:153px; height:19px; "/>
- <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; "/>
- <caption id="caption2" class="cell_1" style="left:590px; top:35px; width:70px; height:23px; vertical-align:middle; ">등록번호</caption>
- <caption id="caption13" class="cell_1" style="left:736px; top:35px; width:70px; height:23px; vertical-align:middle; ">성명</caption>
- <caption id="caption14" class="cell_1" style="left:414px; top:35px; width:56px; height:23px; vertical-align:middle; ">병원명</caption>
- <caption id="caption15" class="cell_1" style="left:892px; top:35px; width:70px; height:23px; vertical-align:middle; ">진료과명</caption>
- <caption id="caption19" class="cell_1" style="left:1018px; top:35px; width:70px; height:23px; vertical-align:middle; ">진료의명</caption>
- <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; "/>
- <caption id="caption3" class="cell_1" style="left:591px; top:60px; width:59px; height:23px; vertical-align:middle; ">접수일시</caption>
- <caption id="caption7" class="cell_1" style="left:771px; top:60px; width:79px; height:23px; vertical-align:middle; ">결과입력일시</caption>
- <input id="ipt_readpsn" ref="/root/hidden/readid" class="input_essential" style="left:948px; top:5px; width:76px; height:19px; "/>
- <output id="opt_readpsn" ref="/root/hidden/readnm" class="output_fix" style="left:1026px; top:5px; width:82px; height:19px; "/>
- <caption id="caption16" class="tit_2" style="left:892px; top:9px; width:60px; height:13px; ">판독자</caption>
- <input id="ipt_testpsn" ref="/root/hidden/testid" class="input_essential" style="left:730px; top:6px; width:76px; height:19px; "/>
- <output id="opt_testpsn" ref="/root/hidden/testnm" class="output_fix" style="left:808px; top:6px; width:82px; height:19px; "/>
- <caption id="caption11" class="tit_2" style="left:674px; top:9px; width:60px; height:13px; ">입력자</caption>
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:5px; top:35px; width:305px; height:48px; "/>
- <caption id="caption127" class="search_name" style="left:15px; top:39px; width:94px; height:17px; ">검색구분 :</caption>
- <select1 id="cmb_refflag" ref="/root/hidden/ref/refgbn" class="combo_search" appearance="minimal" style="left:105px; top:38px; width:195px; height:19px; ">
- <choices>
- <item>
- <label>특수검사번호</label>
- <value>1</value>
- </item>
- <item>
- <label>바코드번호</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/hidden/ref/refgbn") == "1") {
- input1.attribute("visibility") = "visible"
- }else {
- input1.attribute("visibility") = "hidden"
- }
- ]]>
- </script>
- </select1>
- <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; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- model.setvalue("/root/hidden/ref/text",ipt_reftext.currentText.toUpperCase());
- model.setValue("/root/hidden/ref/spclno", input1.currentText.toUpperCase());
- model.refresh();
- Onclick_btnRef();
- ]]>
- </script>
- </input>
- <button id="button38" class="btn2_letter4" style="left:341px; top:10px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter6.gif; ">
- <caption>환자조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //window.load("SPLRR90700.xrw","mdichild","","left:100; top:100; width:400; height:400; sysmenu:visible; min:visible; max:true; resize:true; caption:visible;");
- //window.children.item("SPLRR90700").activate();
- open("SPLRR90700");
- ]]>
- </script>
- </button>
- <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; ">
- <col checkvalue="Y,N" ref="chk" type="checkbox"/>
- <col ref="testcd"/>
- <col ref="tclsscrnnm"/>
- <col ref="bufinptrslt" type="input"/>
- <col ref="reptrslt"/>
- <col ref="inptrslt"/>
- <col ref="bcno"/>
- <col ref="testcmt"/>
- </datagrid>
- <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; ">
- <col ref="cd"/>
- <col ref="nm"/>
- <col ref="etc04"/>
- </datagrid>
- <line id="line17" class="line_1" style="x1:414px; y1:31px; x2:1192px; y2:31px; "/>
- <input id="input1" ref="/root/hidden/ref/spclno" style="left:45px; top:62px; width:60px; height:19px; font-weight:bold; text-align:right; "/>
- <output id="output2" ref="/root/main/testinfo/spcltestinfo/medispclid" class="output_fix" style="left:493px; top:7px; width:47px; height:19px; "/>
- <caption id="caption18" class="cell_1" style="left:415px; top:5px; width:75px; height:23px; vertical-align:middle; ">판독자/일시</caption>
- <caption id="caption170" style="left:544px; top:7px; width:10px; height:20px; ">/</caption>
- <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; "/>
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:315px; top:36px; width:90px; height:48px; "/>
- <caption id="caption179" class="cell_1" style="left:325px; top:39px; width:70px; height:22px; text-align:center; vertical-align:middle; ">처방일자</caption>
- <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; "/>
- <output id="output12" ref="/root/hidden/specdrid" class="output_fix" style="left:1110px; top:5px; width:82px; height:19px; "/>
- <caption id="cap_exla" class="tit_2" visibility="hidden" style="left:125px; top:13px; width:80px; height:13px; ">위탁기관 :</caption>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/LB0135">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onmouseover">
- <![CDATA[
- cbo_exla.hint = model.getValue("/root/main/testinfo/spcltestinfo/exla");
- ]]>
- </script>
- </select1>
- </group>
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="cpt_title" class="tit_1" style="left:0px; top:0px; width:475px; height:13px; background-image:../../../com/commonweb/images/tit_bullet1.gif; "/>
- </group>
- <group id="group14" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <button id="button39" class="btn3_letter6" style="left:166px; top:3px; width:104px; height:22px; background-image:../../../com/commonweb/images/btn3_letter6.gif; ">
- <caption>통합결과조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMAER00800 ","","","","","/root/main/testinfo/spcltestinfo/pid","/root/send/data/singdata/srchpid");
- ]]>
- </script>
- </button>
- <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; ">
- <caption>의뢰서조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fRefREQSHT();
- ]]>
- </script>
- </button>
- <button id="button40" class="btn3_letter6" style="left:59px; top:3px; width:104px; height:22px; background-image:../../../com/commonweb/images/btn3_letter6.gif; ">
- <caption>수진이력조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setParameter ("SMMMO02500_cond", model.getvalue("/root/main/testinfo/spcltestinfo/pid"));
- open ("SMMMO02500");
- ]]>
- </script>
- </button>
- <line id="line75" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <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; ">
- <caption>결과입력</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fInsRsltSave("1");
- ]]>
- </script>
- </button>
- <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; ">
- <caption>결과보고</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fInsRsltSave("4");
- ]]>
- </script>
- </button>
- <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; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSetClear();
- ]]>
- </script>
- </button>
- <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; ">
- <caption>전문의확인</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fInsRsltSave("6");
- ]]>
- </script>
- </button>
- <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; ">
- <caption>검사완료</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var testcd = model.getValue("/root/main/testinfo/spcltestinfo/testcd")
- var find = grd_rslt.findRow(testcd, 0, 1);
-
- model.setValue("/root/main/testinfo/detailtestinfo["+ find +"]/chk", "Y");
- fInsRsltSave("4");
- ]]>
- </script>
- </button>
- <button id="button45" class="btn6_letter2" style="left:0px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /* model.setValue("/root/hidden/xslt/signno", model.getValue("/root/main/testinfo/spcltestinfo/signno"));
- model.setValue("/root/hidden/xslt/form", "0000002916");
- modal("SPLRR90900 ","","","","","/root/hidden/xslt","/root/init");*/
-
- var signno = model.getValue("/root/main/testinfo/spcltestinfo/signno");
- var formcd = model.getValue("/root/main/testinfo/spcltestinfo/formcd");//"0000002916";
-
- if(signno != 0) {
- setParameter("SPMRI02400_prtrecinfo","E▦" + signno + "▦" + formcd + "▩");
- modal("SPMRI02400");
- } else {
- messageBox("전문의 확인이 되지", "E007");
- }
- ]]>
- </script>
- </button>
- <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; ">
- <caption>중간보고</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fInsRsltSave("2");
- ]]>
- </script>
- </button>
- </group>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fKeyEvent();
- ]]>
- </script>
- <script type="javascript" ev:event="onmenu">
- <![CDATA[
- var popupParam = event.description;
- fOnmenu(popupParam);
- ]]>
- </script>
- </xhtml:body>
- </xhtml:html>
|