1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMMI00100" position="absolute 0 0 1253 940" titletext="통합검사결과조회" onload="SMMMI00100_onload" oninit="SMMMI00100_oninit">
- <Layouts>
- <Layout>
- <Div id="group3" taborder="0" position="absolute 0 13 1250 935" anchor="all">
- <Layouts>
- <Layout width="1250" height="922">
- <Button id="button52" taborder="3" text="lis.P" class="btn2" enable="false" position="absolute 1162 65 1204 84" anchor="default" onclick="group3_button52_onclick"/>
- <Button id="btn_rcadiac" taborder="5" text="R-CARDIAC" class="btn2" position="absolute 725 65 808 84" anchor="default" onclick="group3_btn_rcadiac_onclick"/>
- <Button id="button49" taborder="6" text="틀고정" class="btn5" position="absolute 1193 86 1246 105" anchor="default" onclick="group3_button49_onclick"/>
- <Button id="button48" taborder="7" text="틀해제" class="btn5" position="absolute 1140 86 1193 105" anchor="default" onclick="group3_button48_onclick"/>
- <Button id="btn_cadiac" taborder="11" text="CARDIAC" class="btn2" position="absolute 656 65 725 84" anchor="default" onclick="group3_btn_cadiac_onclick"/>
- <Button id="button42" taborder="14" text="참고(핵)" class="btn5" position="absolute 1076 86 1140 105" anchor="default" onclick="group3_button42_onclick" tooltiptext="진검,미생물,핵의학체외에 대한 누적결과조회입니다"/>
- <Button id="button1" taborder="15" text="엑셀" class="btn2" position="absolute 1120 65 1162 84" anchor="default" onclick="group3_button1_onclick"/>
- <Button id="button40" taborder="17" text="출력" class="btn2" position="absolute 1078 65 1120 84" anchor="default" onclick="group3_button40_onclick"/>
- <Button id="button36" taborder="18" text="건진소견" class="btn2" position="absolute 734 86 798 105" anchor="default" onclick="group3_button36_onclick"/>
- <Button id="button39" taborder="20" text="세로누적" class="btn5" position="absolute 798 86 862 105" anchor="default" onclick="group3_button39_onclick" tooltiptext="검사항목(진검,미생물,핵의학체외) 1건에 대한 세로누적결과조회입니다"/>
- <Button id="button23" taborder="21" text="기능" class="btn2" position="absolute 628 86 681 105" anchor="default" onclick="group3_button23_onclick"/>
- <Button id="button22" taborder="22" text="내시경" class="btn2" position="absolute 575 86 628 105" anchor="default" onclick="group3_button22_onclick"/>
- <Button id="button10" taborder="23" text="전체" class="btn2" position="absolute 310 86 363 105" anchor="default" onclick="group3_button10_onclick"/>
- <Button id="button21" taborder="24" text="영상" class="btn2" position="absolute 469 86 522 105" anchor="default" onclick="group3_button21_onclick"/>
- <Button id="button20" taborder="25" text="핵체외" class="btn2" position="absolute 522 86 575 105" anchor="default" onclick="group3_button20_onclick"/>
- <Button id="button19" taborder="26" text="병리" class="btn2" position="absolute 416 86 469 105" anchor="default" onclick="group3_button19_onclick"/>
- <Button id="button18" taborder="27" text="미생물" class="btn2" position="absolute 681 86 734 105" anchor="default" onclick="group3_button18_onclick"/>
- <Button id="button17" taborder="28" text="진검" class="btn2" position="absolute 363 86 416 105" anchor="default" onclick="group3_button17_onclick"/>
- <Button id="button37" taborder="29" text="메뉴" class="btn2" position="absolute 1204 65 1246 84" anchor="default" onclick="group3_button37_onclick"/>
- <Button id="button7" taborder="30" text="PACS-등록번호" class="btn2" position="absolute 976 65 1078 84" anchor="default" onclick="group3_button7_onclick"/>
- <Button id="button33" taborder="34" text="PACS연동" class="btn2" position="absolute 902 65 976 84" anchor="default" onclick="group3_button33_onclick"/>
- <Combo id="combo1" taborder="35" innerdataset="@ds_initexecorddept2" codecolumn="execorddeptcdid" datacolumn="execorddeptcdnm" class="combo_search" position="absolute 310 65 475 84" anchor="default" autoselect="true" type="search" onitemchanged="group3_combo1_onitemchanged"/>
- <Button id="button25" taborder="36" text="미생물누적" class="btn5" position="absolute 1001 86 1076 105" anchor="default" onclick="group3_button25_onclick" tooltiptext="미생물 검사에 대한 누적결과조회입니다"/>
- <Button id="button34" taborder="37" text="Graph누적" class="btn5" position="absolute 926 86 1001 105" anchor="default" tooltiptext="진검,미생물,핵의학체외에 대한 그래프 누적결과조회입니다" onclick="group3_button34_onclick"/>
- <Button id="button30" taborder="38" text="가로누적" class="btn5" position="absolute 862 86 926 105" anchor="default" onclick="group3_button30_onclick" tooltiptext="진검,미생물,핵의학체외에 대한 누적결과조회입니다"/>
- <Button id="button31" taborder="40" text="CDIS연속연동" class="btn2" position="absolute 808 65 902 84" anchor="default" onclick="group3_button31_onclick"/>
- <cp_selCombo id="cmb_mdl" taborder="63" scrollbars="none" position="absolute 475 64 655 88" class="combo_search" anchor="default"/>
- <Static id="caption2" text="병동" class="search_name" visible="false" position="absolute 1075 32 1161 49" anchor="default"/>
- <Combo id="cmb_mdl_hidden" taborder="19" innerdataset="@ds_LB0102" codecolumn="cd" datacolumn="nm" class="combo_search" position="absolute 42 65 222 84" columncount="2" anchor="default" autoselect="true" type="search" visible="false"/>
- <Button id="button35" taborder="32" text="핵체외연속보기" class="btn2" visible="false" position="absolute 1064 40 1161 59" anchor="default"/>
- <Button id="button24" taborder="33" text="진검연속보기" class="btn2" visible="false" position="absolute 1064 40 1161 59" anchor="default"/>
- <Button id="button32" taborder="39" text="영상연속보기" class="btn2" visible="false" position="absolute 1075 40 1161 59" anchor="default"/>
- <Button id="button27" taborder="41" text="기능연속보기" class="btn2" visible="false" position="absolute 1075 40 1161 59" anchor="default"/>
- <Button id="button26" taborder="42" text="미생물연속보기" class="btn2" visible="false" position="absolute 1064 40 1161 59" anchor="default"/>
- <Button id="button29" taborder="43" text="병리연속보기" class="btn2" visible="false" position="absolute 1075 40 1161 59" anchor="default"/>
- <Button id="button28" taborder="44" text="내시경연속보기" class="btn2" visible="false" position="absolute 1064 40 1161 59" anchor="default"/>
- <ActiveX id="obj_imge" visible="false" position="absolute 635 110 1135 610" progid="{72e5d9ed-0d6a-46e8-aead-23144bfef878}" useautobitmapcache="1" taborder="45" anchor="default"/>
- <Button id="button14" taborder="46" text="미생물누적조회" class="btn2" visible="false" position="absolute 1064 40 1161 59" anchor="default"/>
- <Button id="button16" taborder="47" text="PACS Ord+Pat" class="btn2" visible="false" position="absolute 1053 40 1161 59" anchor="default"/>
- <Button id="button8" taborder="48" text="PACS Pat" class="btn2" visible="false" position="absolute 1086 40 1161 59" anchor="default"/>
- <Button id="button6" taborder="49" text="PACS연동" class="btn2" visible="false" position="absolute 1086 40 1161 59" anchor="default"/>
- <Button id="button11" taborder="50" text="그래프" class="btn2" visible="false" position="absolute 1108 40 1161 59" anchor="default"/>
- <Button id="button4" taborder="51" text="CDIS연동" class="btn2" visible="false" position="absolute 1097 40 1161 59" anchor="default"/>
- <Button id="button3" taborder="55" text="연속보기" class="btn2" visible="false" position="absolute 1097 40 1161 59" anchor="default"/>
- <Button id="button12" taborder="56" text="누적조회" class="btn2" visible="false" position="absolute 1097 40 1161 59" anchor="default"/>
- <Static id="caption22" text="결과내역" class="tit_2" visible="false" position="absolute 277 26 359 39" anchor="default"/>
- <Div id="grp_sea" taborder="59" position="absolute 0 10 1249 62" anchor="left top right" class="div_SA">
- <Layouts>
- <Layout>
- <Calendar id="ipt_date1" taborder="1" class="input_default" position="absolute 110 6 200 25" dateformat="yyyy-MM-dd" value="null" anchor="default"/>
- <Calendar id="ipt_date2" taborder="2" class="input_default" position="absolute 203 6 293 25" dateformat="yyyy-MM-dd" value="null" anchor="default"/>
- <Static id="caption3" text="등록번호" class="search_name" position="absolute 385 29 471 46" anchor="default"/>
- <Edit id="ipt_pid" taborder="3" class="input_search" position="absolute 466 29 555 48" anchor="default" inputtype="number" onkeydown="group3_grp_sea_ipt_pid_onkeydown"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 367 4 373 42" anchor="default"/>
- <Shape id="line2" linetype="vertical" class="line_4" position="absolute 1102 7 1108 45" anchor="top right"/>
- <Radio id="rdo_statecd" taborder="6" columncount="4" rowcount="2" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 110 28 288 49" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">P</Col>
- <Col id="datacolumn">처방일</Col>
- </Row>
- <Row>
- <Col id="codecolumn">J</Col>
- <Col id="datacolumn">검사일</Col>
- </Row>
- <Row>
- <Col id="codecolumn">Z</Col>
- <Col id="datacolumn">보고일</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="caption1" text="주치의" class="search_name" position="absolute 594 7 661 24" anchor="default"/>
- <Static id="caption4" text="진료과" class="search_name" position="absolute 385 7 455 24" anchor="default"/>
- <Combo id="cmb_orddr" taborder="7" innerdataset="@ds_initexecdr" codecolumn="execorddrcdid" datacolumn="execorddrcdnm" class="combo_search" position="absolute 664 6 755 25" anchor="default"/>
- <Combo id="cmb_orddept" taborder="8" innerdataset="@ds_initexecorddept" codecolumn="execorddeptcdid" datacolumn="execorddeptcdnm" class="combo_search" position="absolute 466 6 579 25" anchor="default" onitemchanged="group3_grp_sea_cmb_orddept_onitemchanged" autoselect="true" type="search" imemode="hangul"/>
- <Combo id="cmb_roomcd" taborder="9" innerdataset="ds_init_cmb_roomcd" codecolumn="execroomcdid" datacolumn="execroomcdnm" class="combo_search" visible="false" position="absolute 966 7 1039 26" anchor="default"/>
- <Static id="caption5" text="환자명" class="search_name" position="absolute 594 29 680 46" anchor="default"/>
- <Static id="caption10" text="조회기준" class="search_name" position="absolute 12 29 98 46" anchor="default" style="font:Dotum,9,bold;"/>
- <Static id="caption11" text="조회기간" class="search_name" position="absolute 12 7 98 24" anchor="default" style="font:Dotum,9,bold;"/>
- <Edit id="input1" taborder="10" class="input_search" position="absolute 664 29 753 48" anchor="default" imemode="hangul"/>
- <Button id="button5" taborder="11" class="icon_search" position="absolute 758 30 774 46" anchor="default" onclick="group3_grp_sea_button5_onclick"/>
- <Edit id="input2" taborder="12" class="input_search" enable="false" position="absolute 780 29 840 48" anchor="default"/>
- <Edit id="input3" taborder="13" class="input_search" enable="false" position="absolute 902 29 922 48" anchor="default"/>
- <Edit id="input4" taborder="14" class="input_search" enable="false" position="absolute 923 29 948 48" anchor="default"/>
- <Edit id="input5" taborder="15" class="input_search" enable="false" position="absolute 841 29 901 48" anchor="default"/>
- <Edit id="input10" taborder="16" class="input_search" enable="false" position="absolute 780 7 901 26" anchor="default"/>
- <Button id="button45" taborder="17" text="환경설정" class="btn2" position="absolute 965 7 1040 26" anchor="default" onclick="group3_grp_sea_button45_onclick"/>
- <Combo id="cmb_term" taborder="19" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_default" position="absolute 296 6 356 25" onitemchanged="group3_grp_sea_cmb_term_onitemchanged" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">7</Col>
- <Col id="datacolumn">1주</Col>
- </Row>
- <Row>
- <Col id="codecolumn">14</Col>
- <Col id="datacolumn">2주</Col>
- </Row>
- <Row>
- <Col id="codecolumn">30</Col>
- <Col id="datacolumn">1달</Col>
- </Row>
- <Row>
- <Col id="codecolumn">90</Col>
- <Col id="datacolumn">3개월</Col>
- </Row>
- <Row>
- <Col id="codecolumn">180</Col>
- <Col id="datacolumn">6개월</Col>
- </Row>
- <Row>
- <Col id="codecolumn">270</Col>
- <Col id="datacolumn">9개월</Col>
- </Row>
- <Row>
- <Col id="codecolumn">365</Col>
- <Col id="datacolumn">1년</Col>
- </Row>
- <Row>
- <Col id="codecolumn">730</Col>
- <Col id="datacolumn">2년</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Button id="btn_PathoRsltOld" taborder="20" text="병리결과OLD" class="btn2" visible="false" position="absolute 1046 7 1132 26" onclick="group3_grp_sea_btn_PathoRsltOld_onclick" anchor="default"/>
- <Button id="button51" taborder="21" text="과거검사결과" class="btn2" position="absolute 1140 7 1226 26" onclick="group3_grp_sea_button51_onclick" anchor="top right"/>
- <Button id="btn_MyPatList" taborder="22" text="대상자조회" class="btn2" position="absolute 965 30 1040 49" onclick="group3_grp_sea_btn_MyPatList_onclick" anchor="default"/>
- <Button id="btn_srch" taborder="5" text="결과조회" class="btn1" position="absolute 1140 27 1226 49" anchor="top right" onclick="group3_grp_sea_btn_srch_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="grd_subresultdetail1" class="datagrid_noborder" taborder="60" binddataset="ds_subresultdetail1" useinputpanel="false" position="absolute 310 107 1248 917" anchor="all" scrollpixel="none" scrollbars="autoboth" cellclickbound="control" selecttype="multirow" readonly="true" extendsizetype="row" autosizingtype="row" onlbuttonup="group3_grd_subresultdetail1_onlbuttonup" onrbuttondown="group3_grd_subresultdetail1_onrbuttondown" onlbuttondown="group3_grd_subresultdetail1_onlbuttondown" onkeydown="group3_grd_subresultdetail1_onkeydown" onmousemove="group3_grd_subresultdetail1_onmousemove" ondrag="group3_grd_subresultdetail1_ondrag">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="19" band="left"/>
- <Column size="1184"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="0" band="head"/>
- <Row size="21"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="결과내역 "/>
- <Cell col="2" text="judgmark"/>
- <Cell col="3" text="judgmark2"/>
- <Cell col="4" text="prcpcd"/>
- <Cell col="5" text="prcpnm"/>
- <Cell col="6" text="img"/>
- <Cell col="7" text="imgcnts"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="expr:edittype" style="line:0 none #808080ff ;background:BIND(background);background2:BIND(background);controlbackground:BIND(controlbackground);controlborder:BIND(controlborder);" text="bind:check" expr="expr:(check=="Y"||check==1)?1:0"/>
- <Cell col="1" displaytype="expr:img=='IMG' ? 'image' : 'normal'" style="align:left;padding:3 5 3 5;line:0 none #808080ff ;background:BIND(background);background2:BIND(background);color:BIND(color);color2:BIND(color);font:BIND(font);" text="expr:img =='IMG' ? imgcnts : reptrslt" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="2" text="bind:judgmark"/>
- <Cell col="3" text="bind:judgmark2"/>
- <Cell col="4" text="bind:prcpcd"/>
- <Cell col="5" text="bind:prcpnm"/>
- <Cell col="6" text="bind:img"/>
- <Cell col="7" text="bind:imgcnts"/>
- </Band>
- </Format>
- </Formats>
- <Layouts>
- <Layout width="938" height="810"/>
- </Layouts>
- </Grid>
- <Tab id="switch1" taborder="53" position="absolute 5 84 310 917" anchor="left top bottom" onchanged="group3_switch1_onchanged" visible="true" tabindex="1">
- <Tabpages>
- <Tabpage id="case5" text="그룹별">
- <Layouts>
- <Layout>
- <Shape id="roundrect3" type="roundrectangle" class="roundrect_search" position="absolute 0 2 299 47"/>
- <Grid id="datagrid1" taborder="1" binddataset="ds_maindailylist" useinputpanel="false" position="absolute 0 50 298 805" anchor="all" autosizingtype="row" extendsizetype="row" oncelldblclick="group3_switch1_case5_datagrid1_oncelldblclick" areaselecttype="limitband" onlbuttondown="group3_switch1_case5_datagrid1_onlbuttondown" onlbuttonup="group3_switch1_case5_datagrid1_onlbuttonup" selecttype="multirow" onrbuttondown="group3_switch1_case5_datagrid1_onrbuttondown" cellsizingtype="col" cellsizebandtype="allband">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="68" band="left"/>
- <Column size="68" band="left"/>
- <Column size="68" band="left"/>
- <Column size="115"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="102"/>
- <Column size="58"/>
- <Column size="39"/>
- <Column size="65"/>
- <Column size="54"/>
- <Column size="68"/>
- <Column size="68"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="68"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell displaytype="checkbox" edittype="checkbox"/>
- <Cell col="1" text="보고일자"/>
- <Cell col="2" text="검사일자"/>
- <Cell col="3" text="처방일자"/>
- <Cell col="4" text="검사명"/>
- <Cell col="5" text="검체명"/>
- <Cell col="6" text="병리번호"/>
- <Cell col="7" text="바코드번호"/>
- <Cell col="8" text="육안검사의"/>
- <Cell col="9" text="상태"/>
- <Cell col="10" text="입/외"/>
- <Cell col="11" text="처방의"/>
- <Cell col="12" text="구분"/>
- <Cell col="13" text="보고일자"/>
- <Cell col="14" text="처방일자"/>
- <Cell col="15" text="검사중분류코드"/>
- <Cell col="16" text="유일번호"/>
- <Cell col="17" text="등록번호"/>
- <Cell col="18" text="전자서명번호"/>
- <Cell col="19" text="서식코드"/>
- <Cell col="20" text="검사일자"/>
- <Cell col="21" text="hla"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" style="background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:check" expr="expr:(check=="Y"||check==1)?1:0" autosizerow="limitmin"/>
- <Cell col="1" displaytype="date" style="background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:lastreptdd" autosizerow="limitmin"/>
- <Cell col="2" displaytype="date" style="background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:execdd1" autosizerow="limitmin"/>
- <Cell col="3" displaytype="date" style="background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:prcpdd1" autosizerow="limitmin"/>
- <Cell col="4" style="align:left;padding:2 3 2 3;background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:examnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="5" style="align:left;padding:0 0 0 5;background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:spcnm" autosizerow="default"/>
- <Cell col="6" style="align:left;padding:0 0 0 5;background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:ptno" autosizerow="limitmin"/>
- <Cell col="7" style="align:left;padding:0 0 0 5;background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:bcno" autosizerow="limitmin"/>
- <Cell col="8" style="align:left;padding:0 0 0 5;background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:grosdrnm" autosizerow="limitmin"/>
- <Cell col="9" style="align:left;padding:0 0 0 5;background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:statnm" autosizerow="limitmin"/>
- <Cell col="10" displaytype="combo" edittype="combo" style="align:left;padding:0 0 0 5;background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:prcpgenrflag" combodataset="ds_M0010" combocodecol="cdid" combodatacol="cdnm" autosizerow="limitmin"/>
- <Cell col="11" style="align:left;padding:0 0 0 5;background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:drnm" autosizerow="limitmin"/>
- <Cell col="12" style="align:left;padding:0 0 0 5;background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:examgubun" autosizerow="limitmin"/>
- <Cell col="13" displaytype="date" style="background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:lastreptdd1" autosizerow="limitmin"/>
- <Cell col="14" displaytype="date" style="background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:prcpdd" autosizerow="limitmin"/>
- <Cell col="15" style="background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:testmdlcd" autosizerow="limitmin"/>
- <Cell col="16" style="background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:execprcpuniqno" autosizerow="limitmin"/>
- <Cell col="17" style="background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:pid" autosizerow="limitmin"/>
- <Cell col="18" style="background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:signno" autosizerow="limitmin"/>
- <Cell col="19" style="background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:formcd" autosizerow="limitmin"/>
- <Cell col="20" displaytype="date" style="background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:execdd" autosizerow="limitmin"/>
- <Cell col="21" text="bind:hla" autosizerow="limitmin"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="button43" taborder="2" text="선택항목조회" class="btn2" position="absolute 12 4 98 23" anchor="default" onclick="group3_switch1_case5_button43_onclick"/>
- <Button id="button44" taborder="3" text="서식항목조회" class="btn2" position="absolute 12 26 98 45" anchor="default" onclick="group3_switch1_case5_button44_onclick"/>
- <Combo id="combo2" taborder="4" innerdataset="@ds_maindistinctdailylist" codecolumn="prcpdd" datacolumn="refname" class="combo_search" position="absolute 105 5 275 24" anchor="default" onitemchanged="group3_switch1_case5_combo2_onitemchanged"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case1" text="분류별">
- <Layouts>
- <Layout>
- <Grid id="grd_maindaily" taborder="1" binddataset="ds_maindailylist" useinputpanel="false" position="absolute 0 50 299 805" anchor="all" areaselecttype="limitband" selecttype="multirow" autofittype="none" autosizebandtype="body" extendsizetype="row" autosizingtype="row" cellsizingtype="col" oncelldblclick="group3_switch1_case1_grd_maindaily_oncelldblclick" onlbuttonup="group3_switch1_case1_grd_maindaily_onlbuttonup" onlbuttondown="group3_switch1_case1_grd_maindaily_onlbuttondown" onrbuttondown="group3_switch1_case1_grd_maindaily_onrbuttondown" cellsizebandtype="allband" scrollpixel="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="75" band="left"/>
- <Column size="75" band="left"/>
- <Column size="75" band="left"/>
- <Column size="115" band="left"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="102"/>
- <Column size="58"/>
- <Column size="39"/>
- <Column size="65"/>
- <Column size="54"/>
- <Column size="68"/>
- <Column size="68"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="68"/>
- <Column size="0"/>
- <Column size="30"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="21"/>
- </Rows>
- <Band id="head">
- <Cell displaytype="checkbox" edittype="checkbox"/>
- <Cell col="1" text="보고일자"/>
- <Cell col="2" text="검사일자"/>
- <Cell col="3" text="처방일자"/>
- <Cell col="4" text="검사명"/>
- <Cell col="5" text="검체명"/>
- <Cell col="6" text="병리번호"/>
- <Cell col="7" text="바코드번호"/>
- <Cell col="8" text="육안검사의"/>
- <Cell col="9" text="상태"/>
- <Cell col="10" text="입/외"/>
- <Cell col="11" text="처방의"/>
- <Cell col="12" text="구분"/>
- <Cell col="13" text="보고일자"/>
- <Cell col="14" text="처방일자"/>
- <Cell col="15" text="검사중분류코드"/>
- <Cell col="16" text="유일번호"/>
- <Cell col="17" text="등록번호"/>
- <Cell col="18" text="전자서명번호"/>
- <Cell col="19" text="서식코드"/>
- <Cell col="20" text="검사일자"/>
- <Cell col="21" text="hla"/>
- <Cell col="22" text="PB"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" style="background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:check" expr="expr:(check=="Y"||check==1)?1:0"/>
- <Cell col="1" displaytype="date" style="background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:lastreptdd"/>
- <Cell col="2" displaytype="date" style="background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:execdd1"/>
- <Cell col="3" displaytype="date" style="background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:prcpdd1"/>
- <Cell col="4" style="align:left;padding:0 0 0 5;background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:examnm" wordwrap="none" autosizerow="default"/>
- <Cell col="5" style="align:left;padding:2 3 2 3;background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:spcnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="6" style="align:left;padding:0 0 0 5;background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:ptno"/>
- <Cell col="7" style="align:left;padding:0 0 0 5;background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:bcno"/>
- <Cell col="8" style="align:left;padding:0 0 0 5;background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:grosdrnm"/>
- <Cell col="9" style="align:left;padding:0 0 0 5;background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:statnm"/>
- <Cell col="10" displaytype="combo" edittype="combo" style="align:left;padding:0 0 0 5;background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:prcpgenrflag" combodataset="ds_M0010" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="11" style="align:left;padding:0 0 0 5;background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:drnm"/>
- <Cell col="12" style="align:left;padding:0 0 0 5;background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:examgubun"/>
- <Cell col="13" displaytype="date" style="background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:lastreptdd1"/>
- <Cell col="14" displaytype="date" style="background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:prcpdd"/>
- <Cell col="15" style="background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:testmdlcd"/>
- <Cell col="16" style="background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:execprcpuniqno"/>
- <Cell col="17" style="background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:pid"/>
- <Cell col="18" style="background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:signno"/>
- <Cell col="19" style="background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:formcd"/>
- <Cell col="20" displaytype="date" style="background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:execdd"/>
- <Cell col="21" text="bind:hla"/>
- <Cell col="22" style="align:center middle;background:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");background2:EXPR((bgcolor=="Y") ? "#b9e5fb" : "#ffffff");" text="bind:pbsmearyn"/>
- </Band>
- </Format>
- </Formats>
- <Layouts>
- <Layout width="300" height="762"/>
- </Layouts>
- </Grid>
- <Shape id="roundrect3" type="roundrectangle" class="roundrect_search" position="absolute 0 2 299 47" anchor="default"/>
- <Button id="btn_dailysrch" taborder="2" text="검색" class="btn2_letter2" visible="false" position="absolute 250 12 292 31" anchor="default"/>
- <Combo id="cmb_dailylist" taborder="3" class="combo_search" position="absolute 105 5 275 24" anchor="default" onitemchanged="group3_switch1_case1_cmb_dailylist_onitemchanged" innerdataset="@ds_maindistinctdailylist" codecolumn="prcpdd" datacolumn="refname"/>
- <Combo id="cmb_dailyviewgb" taborder="4" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" visible="false" position="absolute 170 11 283 30" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">텍스트결과조회</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">디자인결과조회</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">텍스트+디자인결과</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Button id="button38" taborder="5" text="선택항목조회" class="btn2" position="absolute 12 4 98 23" anchor="default" onclick="group3_switch1_case1_button38_onclick"/>
- <Button id="button41" taborder="6" text="서식항목조회" class="btn2" position="absolute 12 26 98 45" anchor="default" onclick="group3_switch1_case1_button41_onclick"/>
- <Button id="btn_one" taborder="7" text="전체항목조회" class="btn2" position="absolute 196 26 282 45" onclick="group3_switch1_case1_btn_one_onclick" visible="false" anchor="default"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case3" text="SET별">
- <Layouts>
- <Layout>
- <Grid id="trv_prmsprcpsetlist" taborder="1" useinputpanel="false" treeusecheckbox="false" position="absolute 0 122 299 805" autofit="col" anchor="all" binddataset="ds_prmsprcpsetlist" treeinitstatus="expand,all" treeuseline="true" autosizingtype="none" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="299"/>
- </Columns>
- <Rows>
- <Row size="0" band="head"/>
- <Row size="18"/>
- </Rows>
- <Band id="head">
- <Cell text="setnm"/>
- </Band>
- <Band id="body">
- <Cell displaytype="tree" edittype="tree" style="line:1 none #808080ff ;background:transparent;background2:transparent;" text="bind:setnm" treelevel="bind:levl"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_makedset" taborder="2" text="SET수정/등록" class="btn2" position="absolute 5 2 102 21" anchor="default" onclick="group3_switch1_case3_btn_makedset_onclick"/>
- <Button id="btn_setsrch" taborder="3" text="SET전체항목조회" class="btn2" position="absolute 103 2 211 21" anchor="default" onclick="group3_switch1_case3_btn_setsrch_onclick"/>
- <Shape id="roundrect4" type="roundrectangle" position="absolute 5 27 299 117" anchor="default"/>
- <Button id="button2" taborder="4" text="검색" class="btn2_letter2" position="absolute 217 91 259 110" anchor="default" onclick="group3_switch1_case3_button2_onclick"/>
- <Edit id="ipt_foldnm" taborder="5" position="absolute 89 91 214 110" anchor="default" onkeydown="group3_switch1_case3_ipt_foldnm_onkeydown"/>
- <Static id="caption12" text="폴더명 :" class="search_name" position="absolute 15 93 101 110" anchor="default"/>
- <Combo id="cmb_deptset" taborder="6" innerdataset="@ds_deptlist" codecolumn="deptcd" datacolumn="deptnm" enable="false" position="absolute 46 66 240 85" anchor="default" onitemchanged="group3_switch1_case3_cmb_deptset_onitemchanged" index="-1"/>
- <Radio id="rdo_setflag" taborder="7" columncount="3" rowcount="1" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 53 39 232 59" anchor="default" onitemchanged="group3_switch1_case3_rdo_setflag_onitemchanged" value="D" index="1">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">P</Col>
- <Col id="datacolumn">개인</Col>
- </Row>
- <Row>
- <Col id="codecolumn">D</Col>
- <Col id="datacolumn">과</Col>
- </Row>
- <Row>
- <Col id="codecolumn">T</Col>
- <Col id="datacolumn">타과</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="caption13" text="개인" visible="false" position="absolute 71 39 114 59" anchor="default" style="color:red;"/>
- <Static id="caption14" text="과" visible="false" position="absolute 130 39 173 59" anchor="default" style="color:red;"/>
- <Static id="caption15" text="타과" visible="false" position="absolute 190 39 233 59" anchor="default" style="color:red;"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case4" text="진행상태" style="anchor:default;margin:0 0 0 0;">
- <Layouts>
- <Layout>
- <Grid id="grd_mainprogress" taborder="0" binddataset="ds_mainprogress" useinputpanel="false" position="absolute 0 0 299 809" anchor="all" extendsizetype="row" autosizingtype="row" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" autofittype="none">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="40"/>
- <Column size="75"/>
- <Column size="47"/>
- <Column size="143"/>
- <Column size="63"/>
- <Column size="57"/>
- <Column size="65"/>
- <Column size="45"/>
- <Column size="58"/>
- <Column size="58"/>
- <Column size="45"/>
- <Column size="72"/>
- <Column size="72"/>
- <Column size="72"/>
- <Column size="72"/>
- <Column size="72"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="75"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="입/외"/>
- <Cell col="1" text="처방적용일"/>
- <Cell col="2" text="구분"/>
- <Cell col="3" text="처방명"/>
- <Cell col="4" text="검체명"/>
- <Cell col="5" text="검체번호"/>
- <Cell col="6" text="병리번호"/>
- <Cell col="7" text="육안검사의"/>
- <Cell col="8" text="판독의"/>
- <Cell col="9" text="상태"/>
- <Cell col="10" text="처방의"/>
- <Cell col="11" text="예약일시"/>
- <Cell col="12" text="채취일시"/>
- <Cell col="13" text="접수일시"/>
- <Cell col="14" text="실시일시"/>
- <Cell col="15" text="보고일시"/>
- <Cell col="16" text="채취자"/>
- <Cell col="17" text="접수자"/>
- <Cell col="18" text="처방코드"/>
- </Band>
- <Band id="body">
- <Cell displaytype="combo" edittype="combo" style="align:center;" text="bind:prcpgenrflag" combodataset="ds_M0010" combocodecol="cdid" combodatacol="cdnm" autosizerow="limitmin"/>
- <Cell col="1" displaytype="date" text="bind:prcpdt" autosizerow="limitmin"/>
- <Cell col="2" style="align:left middle;" text="bind:biznm" autosizerow="limitmin"/>
- <Cell col="3" style="align:left top;padding:5 2 0 2;" text="bind:prcpnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="4" style="align:left top;padding:5 2 0 2;" text="bind:spcnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="5" style="padding:5 2 0 2;" text="bind:drugmthdspccd" autosizerow="limitmin"/>
- <Cell col="6" style="align:left top;padding:5 2 0 2;" text="bind:bcno" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="7" text="bind:grosdrnm" autosizerow="limitmin"/>
- <Cell col="8" text="bind:spcdrnm" autosizerow="limitmin"/>
- <Cell col="9" text="bind:prcpstatnm" autosizerow="limitmin"/>
- <Cell col="10" text="bind:orddrnm" autosizerow="limitmin"/>
- <Cell col="11" displaytype="normal" style="align:left top;padding:5 2 0 2;" text="bind:rsrvdt" wordwrap="word" mask="expr:getColumn(currow,'rsrvdt')=='-'?"":"@@@@-@@-@@ @@:@@:@@"" autosizerow="limitmin"/>
- <Cell col="12" displaytype="normal" style="align:left top;padding:5 2 0 2;" text="bind:bcolldt" wordwrap="word" mask="expr:getColumn(currow,'bcolldt')=='-'?"":"@@@@-@@-@@ @@:@@:@@"" autosizerow="limitmin"/>
- <Cell col="13" displaytype="normal" style="align:left top;padding:5 2 0 2;" text="bind:acptdt" wordwrap="word" mask="expr:getColumn(currow,'acptdt')=='-'?"":"@@@@-@@-@@ @@:@@:@@"" autosizerow="limitmin"/>
- <Cell col="14" displaytype="normal" style="align:left top;padding:5 2 0 2;" text="bind:execdt" wordwrap="word" mask="expr:getColumn(currow,'execdt')=='-'?"":"@@@@-@@-@@ @@:@@:@@"" autosizerow="limitmin"/>
- <Cell col="15" displaytype="normal" style="align:left top;padding:5 2 0 2;" text="bind:reptdt" wordwrap="word" mask="expr:getColumn(currow,'reptdt')=='-'?"":"@@@@-@@-@@ @@:@@:@@"" autosizerow="limitmin"/>
- <Cell col="16" text="bind:bcollid" autosizerow="limitmin"/>
- <Cell col="17" text="bind:acptid" autosizerow="limitmin"/>
- <Cell col="18" text="bind:prcpcd" autosizerow="limitmin"/>
- </Band>
- </Format>
- </Formats>
- <Layouts>
- <Layout width="299" height="809"/>
- </Layouts>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Button id="button103" taborder="57" class="icon_right" position="absolute 279 86 305 105" anchor="default" onclick="group3_button103_onclick"/>
- <Button id="button102" taborder="58" class="icon_left" position="absolute 252 86 278 105" anchor="default" onclick="group3_button102_onclick"/>
- <Grid id="datagrid2" taborder="61" useinputpanel="false" position="absolute 310 107 1248 917" anchor="all" binddataset="ds_row" selecttype="multiarea" onrbuttondown="group3_datagrid2_onrbuttondown" onkeydown="group3_datagrid2_onkeydown">
- <Formats>
- <Format id="default"/>
- </Formats>
- </Grid>
- <Grid id="grd_subresultdetail2" class="datagrid_noborder" taborder="62" binddataset="ds_subresultdetail1_1" useinputpanel="false" visible="false" position="absolute 310 107 1248 917" style="border:2 solid #33bbbbff,0 solid #bac5ccff,1 solid #bac5ccff,0 solid #bac5ccff;" anchor="all" cellsizingtype="col" cellsizebandtype="allband" selecttype="multiarea" onrbuttondown="group3_grd_subresultdetail2_onrbuttondown" onkeydown="group3_grd_subresultdetail2_onkeydown" onmousemove="group3_grd_subresultdetail2_onmousemove">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="266" band="left"/>
- <Column size="55" band="left"/>
- <Column size="55" band="left"/>
- <Column size="76" band="left"/>
- <Column size="107"/>
- <Column size="62"/>
- <Column size="62"/>
- <Column size="91"/>
- <Column size="62"/>
- <Column size="100"/>
- <Column size="57"/>
- <Column size="68"/>
- <Column size="66"/>
- <Column size="208"/>
- <Column size="30"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="검사명"/>
- <Cell col="2" text="결과"/>
- <Cell col="3" text="단위"/>
- <Cell col="4" text="참고치"/>
- <Cell col="5" text="보고일시"/>
- <Cell col="6" text="검사자"/>
- <Cell col="7" text="확인자"/>
- <Cell col="8" text="시행부서"/>
- <Cell col="9" text="검사코드"/>
- <Cell col="10" text="검체번호"/>
- <Cell col="11" text="판정마크"/>
- <Cell col="12" text="구분"/>
- <Cell col="13" text="처방코드"/>
- <Cell col="14" text="처방명"/>
- <Cell col="15" text="판정"/>
- </Band>
- <Band id="body">
- <Cell style="background:URL('theme://images/bg_gridHead.png') stretch 3,3;background2:URL('theme://images/bg_gridHead.png') stretch 3,3;font:굴림체,9;selectbackground:URL('theme://images/bg_gridHead.png') stretch 3,3;" text="expr:currow+1"/>
- <Cell col="1" style="align:left middle;padding:0 0 0 5;line:1 none #808080ff ;background:transparent;background2:transparent;font:굴림체,9;" text="bind:tclsscrnnnm" tooltiptext="bind:tclsscrnnnm"/>
- <Cell col="2" style="align:left middle;padding:0 5 0 0;line:1 none #808080ff ;background:transparent;background2:transparent;font:굴림체,9;" text="expr:bind:((judgmark=='' && judgmark2=='') || judgmark == 'IMG' ? "" : reptrslt)"/>
- <Cell col="3" style="align:left middle;padding:0 0 0 5;line:1 none #808080ff ;background:transparent;background2:transparent;font:굴림체,9;" text="expr:bind:((judgmark=='' && judgmark2=='') || judgmark == 'IMG' ? "" : rsltunit)"/>
- <Cell col="4" style="align:left middle;padding:0 0 0 5;line:1 none #808080ff ;background:transparent;background2:transparent;font:굴림체,9;" text="expr:bind:((judgmark=='' && judgmark2=='') || judgmark == 'IMG' ? "" : ref)" tooltiptext="bind:ref"/>
- <Cell col="5" style="align:left middle;padding:0 0 0 5;line:1 none #808080ff ;background:transparent;background2:transparent;font:굴림체,9;" text="expr:bind:((judgmark=='' && judgmark2=='') || judgmark == 'IMG' ? "" : lastreptdt)"/>
- <Cell col="6" style="align:left middle;padding:0 0 0 5;line:1 none #808080ff ;background:transparent;background2:transparent;font:굴림체,9;" text="expr:bind:((judgmark=='' && judgmark2=='') || judgmark == 'IMG' ? "" : testpsn)"/>
- <Cell col="7" style="align:left middle;padding:0 0 0 5;line:1 none #808080ff ;background:transparent;background2:transparent;font:굴림체,9;" text="expr:bind:((judgmark=='' && judgmark2=='') || judgmark == 'IMG' ? "" : chkid)"/>
- <Cell col="8" style="align:left middle;padding:0 0 0 5;line:1 none #808080ff ;background:transparent;background2:transparent;font:굴림체,9;" text="expr:bind:((judgmark=='' && judgmark2=='') || judgmark == 'IMG' ? "" : tsectnm)"/>
- <Cell col="9" style="align:left middle;padding:0 0 0 5;line:1 none #808080ff ;background:transparent;background2:transparent;font:굴림체,9;" text="bind:testcd"/>
- <Cell col="10" style="align:left middle;padding:0 0 0 5;line:1 none #808080ff ;background:transparent;background2:transparent;font:굴림체,9;" text="bind:bcno"/>
- <Cell col="11" displaytype="combo" edittype="combo" style="align:left middle;padding:0 0 0 5;line:1 none #808080ff ;background:transparent;background2:transparent;font:굴림체,9;" text="bind:judgmark" combodataset="ds_cmb_judgmark" combocodecol="value" combodatacol="label"/>
- <Cell col="12" style="align:left middle;padding:0 0 0 5;line:1 none #808080ff ;background:transparent;background2:transparent;font:굴림체,9;" text="bind:flag"/>
- <Cell col="13" style="align:left middle;padding:0 0 0 5;line:1 none #808080ff ;background:transparent;background2:transparent;font:굴림체,9;" text="bind:prcpcd"/>
- <Cell col="14" style="align:left middle;padding:0 0 0 5;line:1 none #808080ff ;background:transparent;background2:transparent;font:굴림체,9;" text="bind:prcpnm"/>
- <Cell col="15" displaytype="combo" edittype="combo" style="align:left middle;padding:0 0 0 5;line:1 none #808080ff ;background:transparent;background2:transparent;font:굴림체,9;" text="bind:judgmark2" combodataset="ds_cmb_judgmark2" combocodecol="value" combodatacol="label"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="grp_makedset" taborder="52" visible="false" position="absolute 0 243 306 918" anchor="left top bottom" style="background:white;">
- <Layouts>
- <Layout>
- <Grid id="grd_makedset" taborder="1" binddataset="ds_prmsprcpsetlistall" useinputpanel="false" position="absolute 3 24 303 669" anchor="all" onlbuttondown="group3_grp_makedset_grd_makedset_onlbuttondown" autofittype="col" extendsizetype="row" autosizingtype="row" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="40"/>
- <Column size="76"/>
- <Column size="164"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="구분"/>
- <Cell col="1" text="SET명"/>
- <Cell col="2" text="검사항목"/>
- </Band>
- <Band id="body">
- <Cell text="bind:setkindnm"/>
- <Cell col="1" text="bind:setnm"/>
- <Cell col="2" text="bind:testcdnm" wordwrap="char" autosizerow="limitmin"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="button9" taborder="2" text="닫기" class="btn2_letter2" position="absolute 250 3 292 22" anchor="default" onclick="group3_grp_makedset_button9_onclick"/>
- <Static id="caption9" text="SET 전체항목조회" class="tit_1" position="absolute 3 0 193 24" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Div id="grp_searchset" taborder="54" visible="false" position="absolute 525 391 952 655" anchor="default">
- <Layouts>
- <Layout>
- <Static id="caption7" text="진료과" class="search_name" position="absolute 10 26 80 43" anchor="default"/>
- <Button id="button15" taborder="3" text="닫기" class="btn2_letter2" position="absolute 370 26 412 45" anchor="default"/>
- <Grid id="datagrid6" taborder="1" useinputpanel="false" position="absolute 1 53 425 261" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="67"/>
- <Column size="54"/>
- <Column size="94"/>
- <Column size="203"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="진료과"/>
- <Cell col="1" text="구분"/>
- <Cell col="2" text="SET명"/>
- <Cell col="3" text="검사항목"/>
- </Band>
- <Band id="body">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2"/>
- <Cell col="3"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption8" text="SET 조회" class="tit_1" position="absolute 25 10 131 23" anchor="default"/>
- <Shape id="roundrect1" type="roundrectangle" class="roundrect_search" position="absolute 3 20 423 50" anchor="default"/>
- <Combo id="combo5" taborder="2" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 80 26 193 45" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">combo1</Col>
- <Col id="datacolumn">combo1</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- </Layout>
- </Layouts>
- </Div>
- <Div id="div_lis" taborder="64" position="absolute 311 141 1238 904" style="background:white;border:1 solid #808080ff ;" visible="false" anchor="default">
- <Layouts>
- <Layout width="925" height="762">
- <Grid id="grd_LisResultList" taborder="0" binddataset="ds_subresultdetail2" useinputpanel="false" visible="true" position="absolute 0 25 925 761" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="70"/>
- <Column size="200"/>
- <Column size="75"/>
- <Column size="60"/>
- <Column size="70"/>
- <Column size="100"/>
- <Column size="85"/>
- <Column size="85"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="80"/>
- <Column size="83"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="90"/>
- <Column size="80"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="검사분류"/>
- <Cell col="2" text="검사명"/>
- <Cell col="3" text="결과값"/>
- <Cell col="4" text="단위"/>
- <Cell col="5" text="참고치"/>
- <Cell col="6" text="보고일시"/>
- <Cell col="7" text="접수일시"/>
- <Cell col="8" text="처방일시"/>
- <Cell col="9" text="검사자"/>
- <Cell col="10" text="확인자"/>
- <Cell col="11" text="시행부서"/>
- <Cell col="12" text="바코드"/>
- <Cell col="13" text="caption6"/>
- <Cell col="14" text="검사코드"/>
- <Cell col="15" text="caption8"/>
- <Cell col="16" text="검체명"/>
- <Cell col="17" text="결과상태"/>
- </Band>
- <Band id="body">
- <Cell style="background:URL('theme://images/bg_gridHead.png') stretch 3,3;background2:URL('theme://images/bg_gridHead.png') stretch 3,3;selectbackground:URL('theme://images/bg_gridHead.png') stretch 3,3;" text="expr:currow+1"/>
- <Cell col="1" displaytype="text" style="align:left top;padding:5 2 1 2;" text="bind:examnm" wordwrap="char"/>
- <Cell col="2" displaytype="text" style="align:left top;padding:5 2 1 2;" text="bind:tclsscrnnnm" wordwrap="char"/>
- <Cell col="3" displaytype="text" style="align:left top;padding:5 2 1 2;" text="bind:reptrslt" wordwrap="char"/>
- <Cell col="4" displaytype="text" style="align:left top;padding:5 2 1 2;" text="bind:rsltunit" wordwrap="char"/>
- <Cell col="5" displaytype="text" style="align:left top;padding:5 2 1 2;" text="bind:ref" wordwrap="char"/>
- <Cell col="6" displaytype="text" style="align:left top;padding:5 2 1 2;" text="bind:lastreptdt" wordwrap="char"/>
- <Cell col="7" displaytype="text" style="align:left top;padding:5 2 1 2;" text="bind:execdd1" wordwrap="char"/>
- <Cell col="8" displaytype="text" style="align:left top;padding:5 2 1 2;" text="bind:prcpdd1" wordwrap="char"/>
- <Cell col="9" displaytype="text" style="align:left top;padding:5 2 1 2;" text="bind:testpsn" wordwrap="char"/>
- <Cell col="10" displaytype="text" style="align:left top;padding:5 2 1 2;" text="bind:chkid" wordwrap="char"/>
- <Cell col="11" displaytype="text" style="align:left top;padding:5 2 1 2;" text="bind:tsectnm" wordwrap="char"/>
- <Cell col="12" displaytype="text" style="align:left top;padding:5 2 1 2;" text="bind:bcno" wordwrap="char"/>
- <Cell col="13" displaytype="text" style="align:left top;padding:5 2 1 2;" text="bind:judgmark" wordwrap="char"/>
- <Cell col="14" displaytype="text" style="align:left top;padding:5 2 1 2;" text="bind:prcpcd" wordwrap="char"/>
- <Cell col="15" displaytype="text" style="align:left top;padding:5 2 1 2;" text="bind:lastreptdd" wordwrap="char"/>
- <Cell col="16" displaytype="text" style="align:left top;padding:5 2 1 2;" text="bind:spcnm" wordwrap="char"/>
- <Cell col="17" displaytype="text" style="align:left top;padding:5 2 1 2;" text="bind:statnm" wordwrap="char"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_lisPexcel" taborder="1" text="lis.P엑셀" class="btn2" visible="true" position="absolute 794 4 858 23" anchor="default" onclick="group3_div_lis_btn_lisPexcel_onclick"/>
- <Button id="btn_lisPclose" taborder="2" text="lis.P닫기" class="btn2" visible="true" position="absolute 860 4 924 23" anchor="default" onclick="group3_div_lis_btn_lisPclose_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="datagrid3" taborder="13" binddataset="ds_datagrid3" useinputpanel="false" visible="false" position="absolute 385 197 1160 517" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="47"/>
- <Column size="100"/>
- <Column size="87"/>
- <Column size="88"/>
- <Column size="32"/>
- <Column size="87"/>
- <Column size="51"/>
- <Column size="84"/>
- <Column size="87"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="caption1"/>
- <Cell col="1" text="caption2"/>
- <Cell col="2" text="caption3"/>
- <Cell col="3" text="caption4"/>
- <Cell col="4" text="caption5"/>
- <Cell col="5" text="caption6"/>
- <Cell col="6" text="caption7"/>
- <Cell col="7" text="caption8"/>
- <Cell col="8" text="caption9"/>
- <Cell col="9" text="caption10"/>
- </Band>
- <Band id="body">
- <Cell text="bind:check"/>
- <Cell col="1" text="bind:testmdlcd"/>
- <Cell col="2" text="bind:lastreptdd"/>
- <Cell col="3" text="bind:examgubun"/>
- <Cell col="4" text="bind:level"/>
- <Cell col="5" text="bind:srchpid"/>
- <Cell col="6" text="bind:dutplceinstcd"/>
- <Cell col="7" text="bind:prcpdd"/>
- <Cell col="8" text="bind:execprcpuniqno"/>
- <Cell col="9" text="bind:bcno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_setscrn" taborder="65" text="컬럼설정" class="btn2" position="absolute 237 65 305 85" onclick="group3_btn_setscrn_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Div id="group1" taborder="2" position="absolute 0 0 1194 24">
- <Layouts>
- <Layout>
- <Static id="caption6" text="결과조회" class="tit_1" position="absolute 0 0 200 24" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="datagrid5" taborder="1" binddataset="ds_datagrid5" useinputpanel="false" visible="false" position="absolute 582 496 932 646">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="caption1"/>
- <Cell col="1" text="caption3"/>
- <Cell col="2" text="caption2"/>
- </Band>
- <Band id="body">
- <Cell text="bind:row"/>
- <Cell col="1" text="bind:col"/>
- <Cell col="2" text="bind:value"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="div_hirainfo" taborder="4" visible="false" position="absolute 5 423 318 939" scrollbars="none">
- <Layouts>
- <Layout>
- <Div id="div_hiralist" taborder="0" style="background:white;" position="absolute 0 27 307 513" anchor="default" scrollbars="none">
- <Layouts>
- <Layout>
- <Grid id="grd_record" taborder="0" binddataset="ds_data_userrecordlist" useinputpanel="false" selecttype="multirow" extendsizetype="col" cellsizingtype="col" position="absolute 0 25 298 440" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="40"/>
- <Column size="0"/>
- <Column size="93"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="69"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="322"/>
- <Column size="80"/>
- <Column size="120"/>
- <Column size="50"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="26" band="head"/>
- <Row size="30"/>
- </Rows>
- <Band id="head">
- <Cell displaytype="normal" text="instcd"/>
- <Cell col="1" displaytype="normal" text="번호"/>
- <Cell col="2" displaytype="normal" text="status"/>
- <Cell col="3" displaytype="normal" text="서식명칭"/>
- <Cell col="4" displaytype="normal" text="기록이력번호"/>
- <Cell col="5" text="과"/>
- <Cell col="6" displaytype="normal" text="보고일자"/>
- <Cell col="7" displaytype="normal" text="cretno"/>
- <Cell col="8" displaytype="normal" text="supl_data_fom_cd"/>
- <Cell col="9" displaytype="normal" text="fom_ver"/>
- <Cell col="10" displaytype="normal" text="rgstrid"/>
- <Cell col="11" text="내용"/>
- <Cell col="12" displaytype="normal" text="등록번호"/>
- <Cell col="13" displaytype="normal" text="연동일자"/>
- <Cell col="14" text="연동자"/>
- <Cell col="15" displaytype="normal" text="비고"/>
- <Cell col="16" text="prcpdd"/>
- <Cell col="17" text="execprcpuniqno"/>
- </Band>
- <Band id="body">
- <Cell displaytype="normal" text="bind:instcd"/>
- <Cell col="1" displaytype="normal" style="background:EXPR(dupyn == "Y" ? "violet" : "");background2:EXPR(dupyn == "Y" ? "violet" : "");selectbackground:EXPR(dupyn == "Y" ? "violet" : "");" text="bind:recno"/>
- <Cell col="2" displaytype="normal" text="bind:status"/>
- <Cell col="3" displaytype="text" text="bind:formnm"/>
- <Cell col="4" displaytype="text" text="bind:rechistseq"/>
- <Cell col="5" displaytype="text" text="bind:deptnm"/>
- <Cell col="6" displaytype="text" text="bind:rsltdd" mask="expr:utlf_isNull(orddd) ? "" : "####-##-##""/>
- <Cell col="7" displaytype="text" text="bind:cretno"/>
- <Cell col="8" displaytype="text" text="bind:supl_data_fom_cd"/>
- <Cell col="9" displaytype="text" text="bind:fom_ver"/>
- <Cell col="10" displaytype="text" text="bind:rgstrid"/>
- <Cell col="11" displaytype="normal" style="align:left top;" text="bind:rslttxt" wordwrap="char" autosizerow="limitmax"/>
- <Cell col="12" displaytype="text" text="bind:pid"/>
- <Cell col="13" displaytype="text" text="bind:rgstdd" mask="expr:utlf_isNull(rgstdd) ? "" : "####-##-## ##:##:##""/>
- <Cell col="14" text="bind:rgstrnm"/>
- <Cell col="15" displaytype="text" text="bind:bigo"/>
- <Cell col="16" text="bind:prcpdd"/>
- <Cell col="17" text="bind:execprcpuniqno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption9" text="수집자료보기" class="tit_1" position="absolute -5 0 105 24" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Div id="div_patinfo_back" taborder="2" style="shadow:outer 5,5 10 gray;" position="absolute 0 27 301 497" transparenthittest="true">
- <Layouts>
- <Layout width="301" height="470">
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_rt" taborder="1" text="조회" position="absolute 190 31 239 51" class="btn2_letter2" anchor="default" onclick="div_hirainfo_btn_rt_onclick"/>
- <Button id="btn_cl" taborder="1" text="닫기" position="absolute 245 31 287 51" class="btn2_letter2" onclick="div_hirainfo_div_hiralist_btn_cl_onclick" anchor="default"/>
- <Button id="btn_delhira" taborder="1" text="삭제" onclick="btn_hira_onclick" class="btn5" position="absolute 247 472 287 492" tooltiptext="선택한 모든 항목을 수행합니다." userMsg="삭제" anchor="default"/>
- <CheckBox id="chk_allSrch" taborder="3" text="담은기록전체" onclick="div_hirainfo_chk_allSrch_onclick" visible="false" position="absolute 4 472 104 492" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_datagrid5" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="row" type="STRING"/>
- <Column id="col" type="STRING"/>
- <Column id="value" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_orddr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="execorddrcdnm" type="STRING"/>
- <Column id="execorddrcdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_orddept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="execorddeptcdnm" type="STRING"/>
- <Column id="execorddeptcdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_roomcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="execroomcdnm" type="STRING"/>
- <Column id="execroomcdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_dailylist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="refname" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_deptset" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptnm" type="STRING"/>
- <Column id="deptcd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_combo2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="refname" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_combo1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="execorddeptcdnm" type="STRING"/>
- <Column id="execorddeptcdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_mdl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="nm" type="STRING"/>
- <Column id="cd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_envinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="qestcd" type="STRING"/>
- <Column id="qestclscd" type="STRING"/>
- <Column id="answcnt" type="STRING"/>
- <Column id="answvalnm" type="STRING"/>
- <Column id="answstatcd" type="STRING"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_datagrid3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="check" type="STRING"/>
- <Column id="testmdlcd" type="STRING"/>
- <Column id="lastreptdd" type="STRING"/>
- <Column id="examgubun" type="STRING"/>
- <Column id="level" type="STRING"/>
- <Column id="srchpid" type="STRING"/>
- <Column id="dutplceinstcd" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="execprcpuniqno" type="STRING"/>
- <Column id="bcno" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_wardcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="execwardcdnm" type="STRING"/>
- <Column id="execwardcdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_globalinstance" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instance1" type="STRING" size="256"/>
- <Column id="instance2" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_term" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="term" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="maindata" type="STRING" size="256"/>
- <Column id="val" type="STRING" size="256"/>
- <Column id="formcd" type="STRING" size="256"/>
- <Column id="codeflag" type="STRING" size="256" sumtext="조회구분"/>
- <Column id="cond1" type="STRING" size="256"/>
- <Column id="cond2" type="STRING" size="256"/>
- <Column id="cond3" type="STRING" size="256"/>
- <Column id="cond99" type="STRING" size="256"/>
- <Column id="interqestcd" type="STRING" size="256"/>
- <Column id="grupcdid" type="STRING" size="256"/>
- <Column id="initflag" type="STRING" size="256" sumtext="astlib,진료과진료의코드구분,1:진료과조회"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_initexecward" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="wardroomcdid" type="STRING" size="256" sumtext="병동코드"/>
- <Column id="wardroomcdnm" type="STRING" size="256" sumtext="병동코드명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_initexecorddept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="execorddeptcdid" type="STRING" size="256" sumtext="진료과코드"/>
- <Column id="execorddeptcdnm" type="STRING" size="256" sumtext="진료과코드명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_initexecorddept2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="execorddeptcdid" type="STRING" size="256" sumtext="진료과코드"/>
- <Column id="execorddeptcdnm" type="STRING" size="256" sumtext="진료과코드명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_LB0102" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" onrowposchanged="ds_LB0102_onrowposchanged" cancolumnchange="ds_LB0102_cancolumnchange" canrowposchange="ds_LB0102_canrowposchange" oncolumnchanged="ds_LB0102_oncolumnchanged" onload="ds_LB0102_onload" onrowsetchanged="ds_LB0102_onrowsetchanged" onvaluechanged="ds_LB0102_onvaluechanged">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256" sumtext="코드"/>
- <Column id="nm" type="STRING" size="256" sumtext="코드명"/>
- <Column id="chk" type="STRING" size="256" sumtext="chk"/>
- <Column id="etc01" type="STRING" size="256" sumtext="기타1"/>
- <Column id="etc02" type="STRING" size="256" sumtext="기타2"/>
- <Column id="etc03" type="STRING" size="256" sumtext="기타3"/>
- <Column id="etc04" type="STRING" size="256" sumtext="기타4"/>
- <Column id="etc05" type="STRING" size="256" sumtext="기타4"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="interqestcd" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관기호"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="chosflag" type="STRING" size="256" sumtext="내원구분"/>
- <Column id="prcpall" type="STRING" size="256" sumtext="모든수진내역"/>
- <Column id="deptyn" type="STRING" size="256" sumtext="타과포함"/>
- <Column id="stnddd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_interface" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="answval" type="STRING" size="256" sumtext="기본답안값구분"/>
- <Column id="qestcd" type="STRING" size="256" sumtext="답안명"/>
- <Column id="baseanswvalflag" type="STRING" size="256" sumtext="답안max코드"/>
- <Column id="answvalnm" type="STRING" size="256" sumtext="질문코드"/>
- <Column id="userid" type="STRING" size="256" sumtext="사용자id"/>
- <Column id="answcnt" type="STRING" size="256" sumtext="답변번호"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_M0010" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_singdata" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchdate1" type="STRING" size="256"/>
- <Column id="srchdate2" type="STRING" size="256"/>
- <Column id="srchdate11" type="STRING" size="256"/>
- <Column id="srchdate22" type="STRING" size="256"/>
- <Column id="srchpid" type="STRING" size="256"/>
- <Column id="wardcd" type="STRING" size="256"/>
- <Column id="roomcd" type="STRING" size="256"/>
- <Column id="listflag" type="STRING" size="256"/>
- <Column id="listflag2" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="drid" type="STRING" size="256"/>
- <Column id="chkcheck" type="STRING" size="256"/>
- <Column id="chkcheck1" type="STRING" size="256"/>
- <Column id="chkcheck2" type="STRING" size="256"/>
- <Column id="chkcheck3" type="STRING" size="256"/>
- <Column id="chkcheck4" type="STRING" size="256"/>
- <Column id="chkcheck5" type="STRING" size="256"/>
- <Column id="chkcheck6" type="STRING" size="256"/>
- <Column id="chkcheck7" type="STRING" size="256"/>
- <Column id="chkcheck8" type="STRING" size="256"/>
- <Column id="callflag" type="STRING" size="256"/>
- <Column id="tabflag" type="STRING" size="256"/>
- <Column id="mdlcd" type="STRING" size="256"/>
- <Column id="examgubun" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="offset" type="STRING" size="256"/>
- <Column id="pagesize" type="STRING" size="256"/>
- <Column id="refname" type="STRING" size="256"/>
- <Column id="srchflag" type="STRING" size="256"/>
- <Column id="pageflag" type="STRING" size="256"/>
- <Column id="hlaflag" type="STRING" size="256"/>
- <Column id="prntfrmflag" type="STRING" size="256"/>
- <Column id="dailyviewgb" type="STRING" size="256"/>
- <Column id="compsrefcnts" type="STRING" size="1024"/>
- <Column id="compssizecnts" type="STRING" size="1024"/>
- <Column id="answ005" type="STRING" size="1024"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="listflag">Z</Col>
- <Col id="callflag">N</Col>
- <Col id="pagesize">999</Col>
- <Col id="refname"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_setdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="setkindcd" type="STRING" size="256"/>
- <Column id="deptsetcd" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="deptnm" type="STRING" size="256"/>
- <Column id="foldernm" type="STRING" size="256"/>
- <Column id="setno" type="STRING" size="256"/>
- <Column id="startdd" type="STRING" size="256"/>
- <Column id="enddd" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="tclscdlist" type="STRING" size="256"/>
- <Column id="workflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="setkindcd">D</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_maindailylist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_maindailylist_oncolumnchanged">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="check" type="STRING" size="256"/>
- <Column id="lastreptdd" type="STRING" size="256"/>
- <Column id="prcpdd1" type="STRING" size="256"/>
- <Column id="examnm" type="STRING" size="256"/>
- <Column id="spcnm" type="STRING" size="256"/>
- <Column id="bcno" type="STRING" size="256"/>
- <Column id="grosdrnm" type="STRING" size="256"/>
- <Column id="statnm" type="STRING" size="256"/>
- <Column id="prcpgenrflag" type="STRING" size="256"/>
- <Column id="drnm" type="STRING" size="256"/>
- <Column id="examgubun" type="STRING" size="256"/>
- <Column id="lastreptdd1" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="testmdlcd" type="STRING" size="256"/>
- <Column id="execprcpuniqno" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="signno" type="BIGDECIMAL" size="256"/>
- <Column id="formcd" type="STRING" size="256"/>
- <Column id="execdd" type="STRING" size="256"/>
- <Column id="hla" type="STRING" size="256"/>
- <Column id="execdd1" type="STRING" size="256"/>
- <Column id="check1" type="STRING" size="256"/>
- <Column id="bgcolor" type="STRING" size="256"/>
- <Column id="rowidx" type="STRING" size="256"/>
- <Column id="ptno" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="pbsmearyn" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_mainserious" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="check" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="drnm" type="STRING" size="256"/>
- <Column id="prcpgenrflag" type="STRING" size="256"/>
- <Column id="statnm" type="STRING" size="256"/>
- <Column id="execprcpuniqno" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_mainseriouslist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="examnm" type="STRING" size="256"/>
- <Column id="testmdlcd" type="STRING" size="256"/>
- <Column id="examgubun" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_mainset" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_mainprogress" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpgenrflag" type="STRING" size="256"/>
- <Column id="prcpdt" type="STRING" size="256"/>
- <Column id="biznm" type="STRING" size="256"/>
- <Column id="prcpnm" type="STRING" size="256"/>
- <Column id="spcnm" type="STRING" size="256"/>
- <Column id="drugmthdspccd" type="STRING" size="256"/>
- <Column id="bcno" type="STRING" size="256"/>
- <Column id="grosdrnm" type="STRING" size="256"/>
- <Column id="prcpstatnm" type="STRING" size="256"/>
- <Column id="orddrnm" type="STRING" size="256"/>
- <Column id="rsrvdt" type="STRING" size="256"/>
- <Column id="bcolldt" type="STRING" size="256"/>
- <Column id="acptdt" type="STRING" size="256"/>
- <Column id="execdt" type="STRING" size="256"/>
- <Column id="reptdt" type="STRING" size="256"/>
- <Column id="bcollid" type="STRING" size="256"/>
- <Column id="acptid" type="STRING" size="256"/>
- <Column id="prcpcd" type="STRING" size="256"/>
- <Column id="spcdrnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_subresultdetail1" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" preload="false" firefirstcount="100" firenextcount="100" oncolumnchanged="ds_subresultdetail1_oncolumnchanged">
- <ColumnInfo>
- <Column id="check" type="STRING" size="256"/>
- <Column id="reptrslt" type="STRING" size="256"/>
- <Column id="judgmark" type="STRING" size="256"/>
- <Column id="judgmark2" type="STRING" size="256"/>
- <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
- <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
- <Column id="img" type="STRING" size="256" sumtext="이미지여부"/>
- <Column id="imgcnts" type="BLOB" size="256" sumtext="이미지내용"/>
- <Column id="bcno" type="STRING" size="256" sumtext="바코드번호"/>
- <Column id="testcd" type="STRING" size="256" sumtext="검사코드"/>
- <Column id="flag" type="STRING" size="256" sumtext="진검이미지flag"/>
- <Column id="rownum" type="INT" size="256"/>
- <Column id="rowidx" type="INT" size="256"/>
- <Column id="spcno" type="STRING" size="256"/>
- <Column id="pacsno" type="STRING" size="256"/>
- <Column id="rsltdd" type="STRING" size="256"/>
- <Column id="sort" type="STRING" size="256"/>
- <Column id="sort2" type="STRING" size="256"/>
- <Column id="rsltdispseq" type="STRING" size="256"/>
- <Column id="testmdlcd" type="STRING" size="256"/>
- <Column id="tclsscrnnnm_prt" type="STRING" size="256"/>
- <Column id="reptrslt_prt" type="STRING" size="256"/>
- <Column id="rsltunit_prt" type="STRING" size="256"/>
- <Column id="ref_prt" type="STRING" size="256"/>
- <Column id="lastreptdt_prt" type="STRING" size="256"/>
- <Column id="testpsn_prt" type="STRING" size="256"/>
- <Column id="chkid_prt" type="STRING" size="256"/>
- <Column id="tsectnm_prt" type="STRING" size="256"/>
- <Column id="refnm_prt" type="STRING" size="500"/>
- <Column id="background" type="STRING" size="500"/>
- <Column id="font" type="STRING" size="500"/>
- <Column id="color" type="STRING" size="500"/>
- <Column id="controlbackground" type="STRING" size="500"/>
- <Column id="controlborder" type="STRING" size="500"/>
- <Column id="edittype" type="STRING" size="500"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_maindistinctdailylist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
- <Column id="refname" type="STRING" size="256" sumtext="처방일자"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_initorddd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="orddd" type="STRING" size="256" sumtext="기준일자"/>
- <Column id="gubun" type="STRING" size="256" sumtext="구분"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_datagrid1" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="check" type="STRING" size="256"/>
- <Column id="lastreptdd" type="STRING" size="256"/>
- <Column id="prcpdd1" type="STRING" size="256"/>
- <Column id="examnm" type="STRING" size="256"/>
- <Column id="spcnm" type="STRING" size="256"/>
- <Column id="bcno" type="STRING" size="256"/>
- <Column id="grosdrnm" type="STRING" size="256"/>
- <Column id="statnm" type="STRING" size="256"/>
- <Column id="prcpgenrflag" type="STRING" size="256"/>
- <Column id="drnm" type="STRING" size="256"/>
- <Column id="examgubun" type="STRING" size="256"/>
- <Column id="lastreptdd1" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="testmdlcd" type="STRING" size="256"/>
- <Column id="execprcpuniqno" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="signno" type="BIGDECIMAL" size="256"/>
- <Column id="formcd" type="STRING" size="256"/>
- <Column id="execdd" type="STRING" size="256"/>
- <Column id="hla" type="STRING" size="256"/>
- <Column id="execdd1" type="STRING" size="256"/>
- <Column id="check1" type="STRING" size="256"/>
- <Column id="bgcolor" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_subresultdetail1_1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="tclsscrnnnm" type="STRING" size="256"/>
- <Column id="reptrslt" type="STRING" size="256"/>
- <Column id="rsltunit" type="STRING" size="256"/>
- <Column id="ref" type="STRING" size="256"/>
- <Column id="lastreptdt" type="STRING" size="256"/>
- <Column id="testpsn" type="STRING" size="256"/>
- <Column id="chkid" type="STRING" size="256"/>
- <Column id="tsectnm" type="STRING" size="256"/>
- <Column id="testcd" type="STRING" size="256"/>
- <Column id="bcno" type="STRING" size="256"/>
- <Column id="judgmark" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="prcpcd" type="STRING" size="256"/>
- <Column id="prcpnm" type="STRING" size="256"/>
- <Column id="judgmark2" type="STRING" size="256"/>
- <Column id="pacsno" type="STRING" size="256"/>
- <Column id="spcno" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="dataflag" type="STRING" size="256" sumtext="자료구분(y:1건,n:여러건)"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="이름"/>
- <Column id="hngnm2" type="STRING" size="256" sumtext="이름2"/>
- <Column id="dispnm1" type="STRING" size="256" sumtext="표시명1"/>
- <Column id="dispnm2" type="STRING" size="256" sumtext="표시명2"/>
- <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호1"/>
- <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호2"/>
- <Column id="sex" type="STRING" size="256" sumtext="성별"/>
- <Column id="age" type="STRING" size="256" sumtext="나이"/>
- <Column id="brthdd" type="STRING" size="256" sumtext="생일"/>
- <Column id="hometel" type="STRING" size="256" sumtext="집전화"/>
- <Column id="mpphontel" type="STRING" size="256" sumtext="핸드폰"/>
- <Column id="etctel1" type="STRING" size="256" sumtext="기타연락처1"/>
- <Column id="etctel2" type="STRING" size="256" sumtext="기타연락처2"/>
- <Column id="zipcd1" type="STRING" size="256" sumtext="우편번호1"/>
- <Column id="zipcd2" type="STRING" size="256" sumtext="우편번호2"/>
- <Column id="zipcdseq" type="STRING" size="256" sumtext="우편번호seq"/>
- <Column id="addr" type="STRING" size="256" sumtext="주소"/>
- <Column id="detladdr" type="STRING" size="256" sumtext="상세주소"/>
- <Column id="email" type="STRING" size="256" sumtext="이메일"/>
- <Column id="recmyn" type="STRING" size="256" sumtext="관계여부"/>
- <Column id="recmernm" type="STRING" size="256" sumtext="관계"/>
- <Column id="recmerrela" type="STRING" size="256" sumtext="종교"/>
- <Column id="vipyn" type="STRING" size="256" sumtext="vip여부"/>
- <Column id="viprem" type="STRING" size="256" sumtext="vip"/>
- <Column id="religncd" type="STRING" size="256" sumtext="종교"/>
- <Column id="remfact" type="STRING" size="256" sumtext="참고"/>
- <Column id="ward" type="STRING" size="256" sumtext="병동"/>
- <Column id="allergy" type="STRING" size="256" sumtext="adr(allergy)"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_patchosinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ordtype" type="STRING" size="256" sumtext="진료구분"/>
- <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
- <Column id="ordddtm" type="STRING" size="256" sumtext="진료일시"/>
- <Column id="dschdd" type="STRING" size="256" sumtext="퇴원일자"/>
- <Column id="orddrid" type="STRING" size="256" sumtext="진료의id"/>
- <Column id="centcd" type="STRING" size="256" sumtext="센터코드"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
- <Column id="subdeptcd" type="STRING" size="256" sumtext="세부과코드"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
- <Column id="rsrvflag" type="STRING" size="256" sumtext="예약구분"/>
- <Column id="icd10cd" type="STRING" size="256" sumtext="icd10코드"/>
- <Column id="diagnm" type="STRING" size="256" sumtext="진단명"/>
- <Column id="depthngnm" type="STRING" size="256" sumtext="진단명"/>
- <Column id="orddrnm" type="STRING" size="256" sumtext="진료의명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_patdethinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="patdethyn" type="STRING" size="256" sumtext="환자사망여부"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="drid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="rrgstno1" type="STRING" size="256"/>
- <Column id="rrgstno2" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="ward" type="STRING" size="256"/>
- <Column id="prcpall" type="STRING" size="256"/>
- <Column id="deptyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="dataflag" type="STRING" size="256" sumtext="자료구분(y:1건,n:여러건)"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="이름"/>
- <Column id="hngnm2" type="STRING" size="256" sumtext="이름2"/>
- <Column id="dispnm1" type="STRING" size="256" sumtext="표시명1"/>
- <Column id="dispnm2" type="STRING" size="256" sumtext="표시명2"/>
- <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호1"/>
- <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호2"/>
- <Column id="sex" type="STRING" size="256" sumtext="성별"/>
- <Column id="age" type="STRING" size="256" sumtext="나이"/>
- <Column id="brthdd" type="STRING" size="256" sumtext="생일"/>
- <Column id="hometel" type="STRING" size="256" sumtext="집전화"/>
- <Column id="mpphontel" type="STRING" size="256" sumtext="핸드폰"/>
- <Column id="etctel1" type="STRING" size="256" sumtext="기타연락처1"/>
- <Column id="etctel2" type="STRING" size="256" sumtext="기타연락처2"/>
- <Column id="zipcd1" type="STRING" size="256" sumtext="우편번호1"/>
- <Column id="zipcd2" type="STRING" size="256" sumtext="우편번호2"/>
- <Column id="zipcdseq" type="STRING" size="256" sumtext="우편번호seq"/>
- <Column id="addr" type="STRING" size="256" sumtext="주소"/>
- <Column id="detladdr" type="STRING" size="256" sumtext="상세주소"/>
- <Column id="email" type="STRING" size="256" sumtext="이메일"/>
- <Column id="recmyn" type="STRING" size="256" sumtext="관계여부"/>
- <Column id="recmernm" type="STRING" size="256" sumtext="관계"/>
- <Column id="recmerrela" type="STRING" size="256" sumtext="종교"/>
- <Column id="vipyn" type="STRING" size="256" sumtext="vip여부"/>
- <Column id="viprem" type="STRING" size="256" sumtext="vip"/>
- <Column id="religncd" type="STRING" size="256" sumtext="종교"/>
- <Column id="remfact" type="STRING" size="256" sumtext="참고"/>
- <Column id="ward" type="STRING" size="256" sumtext="병동"/>
- <Column id="allergy" type="STRING" size="256" sumtext="adr(allergy)"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_paminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_initexecdr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="execorddrcdid" type="STRING" size="256"/>
- <Column id="execorddrcdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="suppdeptcd" type="STRING" size="256" sumtext="부서코드"/>
- <Column id="grupcdid" type="STRING" size="256" sumtext="그룹코드"/>
- <Column id="cdid" type="STRING" size="256" sumtext="코드"/>
- <Column id="cdnm" type="STRING" size="256" sumtext="코드명"/>
- <Column id="detldesc" type="STRING" size="256" sumtext="설명"/>
- <Column id="useyn" type="STRING" size="256" sumtext="사용여부"/>
- <Column id="dispseq" type="INT" size="256" sumtext="조회순번"/>
- <Column id="cntlyn1" type="STRING" size="256" sumtext="제어여부1"/>
- <Column id="cntlcd1" type="STRING" size="256" sumtext="제어코드1"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_prmsprcpsetlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" onrowposchanged="ds_prmsprcpsetlist_onrowposchanged">
- <ColumnInfo>
- <Column id="levl" type="INT" size="256" sumtext="level값"/>
- <Column id="setno" type="STRING" size="256" sumtext="set번호"/>
- <Column id="supsetno" type="STRING" size="256" sumtext="상위set번호"/>
- <Column id="setkindcd" type="STRING" size="256" sumtext="set종류코드"/>
- <Column id="settrgtcd" type="STRING" size="256" sumtext="대상코드(과,개인)"/>
- <Column id="prtlno" type="STRING" size="256" sumtext="프로토콜번호"/>
- <Column id="setnm" type="STRING" size="256" sumtext="set명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_row" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_row_oncolumnchanged">
- <ColumnInfo>
- <Column id="row" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <CompositeAnimation id="cani" duration="0" starttime="0"/>
- <PropertyAnimation id="pani1" endingmode="to" repeat="1" repeattype="normal" duration="0" starttime="0"/>
- <PropertyAnimation id="pani2" endingmode="to" repeat="1" repeattype="normal" duration="0" starttime="0"/>
- <Dataset id="ds_subresultdetail2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="examnm" type="STRING" size="256"/>
- <Column id="tclsscrnnnm" type="STRING" size="256"/>
- <Column id="reptrslt" type="STRING" size="256"/>
- <Column id="rsltunit" type="STRING" size="256"/>
- <Column id="ref" type="STRING" size="256"/>
- <Column id="lastreptdt" type="STRING" size="256"/>
- <Column id="execdd1" type="STRING" size="256"/>
- <Column id="prcpdd1" type="STRING" size="256"/>
- <Column id="testpsn" type="STRING" size="256"/>
- <Column id="chkid" type="STRING" size="256"/>
- <Column id="tsectnm" type="STRING" size="256"/>
- <Column id="bcno" type="STRING" size="256"/>
- <Column id="judgmark" type="STRING" size="256"/>
- <Column id="prcpcd" type="STRING" size="256"/>
- <Column id="lastreptdd" type="STRING" size="256"/>
- <Column id="spcnm" type="STRING" size="256"/>
- <Column id="statnm" type="STRING" size="256"/>
- <Column id="prcpgenrflag" type="STRING" size="256"/>
- <Column id="drnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cmb_judgmark" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">title</Col>
- <Col id="value">T</Col>
- </Row>
- <Row>
- <Col id="label">미생물</Col>
- <Col id="value">M</Col>
- </Row>
- <Row>
- <Col id="label">이미지</Col>
- <Col id="value">IMG</Col>
- </Row>
- <Row>
- <Col id="label">공통</Col>
- <Col id="value">C</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_ref" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="testgrupseqno" type="STRING" size="256"/>
- <Column id="startdd" type="STRING" size="256"/>
- <Column id="enddd" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="refgbn" type="STRING" size="256"/>
- <Column id="acptdd" type="STRING" size="256"/>
- <Column id="acptdde" type="STRING" size="256"/>
- <Column id="testmdllist" type="STRING" size="256"/>
- <Column id="tclscdlist" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="refgbn">1</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_data1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_header" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_patinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_getResultDetail" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_deptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptcd" type="STRING" size="256" sumtext="부서코드"/>
- <Column id="deptnm" type="STRING" size="256" sumtext="부서명"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_subresultdetail1_temp" useclientlayout="true" updatecontrol="true" enableevent="false" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" preload="false" onload="ds_subresultdetail1_onload">
- <ColumnInfo>
- <Column id="check" type="STRING" size="256"/>
- <Column id="reptrslt" type="STRING" size="256"/>
- <Column id="judgmark" type="STRING" size="256"/>
- <Column id="judgmark2" type="STRING" size="256"/>
- <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
- <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
- <Column id="img" type="STRING" size="256" sumtext="이미지여부"/>
- <Column id="imgcnts" type="BYTE" size="256" sumtext="이미지내용"/>
- <Column id="bcno" type="STRING" size="256" sumtext="바코드번호"/>
- <Column id="testcd" type="STRING" size="256" sumtext="검사코드"/>
- <Column id="flag" type="STRING" size="256" sumtext="진검이미지flag"/>
- <Column id="rownum" type="INT" size="256"/>
- <Column id="rowidx" type="INT" size="256"/>
- <Column id="tclsscrnnnm_prt" type="STRING" size="256"/>
- <Column id="reptrslt_prt" type="STRING" size="256"/>
- <Column id="rsltunit_prt" type="STRING" size="256"/>
- <Column id="ref_prt" type="STRING" size="256"/>
- <Column id="lastreptdt_prt" type="STRING" size="256"/>
- <Column id="testpsn_prt" type="STRING" size="256"/>
- <Column id="chkid_prt" type="STRING" size="256"/>
- <Column id="tsectnm_prt" type="STRING" size="256"/>
- <Column id="refnm_prt" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_addmicroresult" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="usdd" type="STRING" size="256"/>
- <Column id="uedd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_vertaddresult" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="testcd" type="STRING" size="256"/>
- <Column id="startdd" type="STRING" size="256"/>
- <Column id="enddd" type="STRING" size="256"/>
- <Column id="rrgstno1" type="STRING" size="256"/>
- <Column id="rrgstno2" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_iemr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="docucd" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="pagetot" type="STRING" size="256"/>
- <Column id="cmc_spcid" type="STRING" size="256"/>
- <Column id="cmc_orddate" type="STRING" size="256"/>
- <Column id="cmc_orderseqno" type="STRING" size="256"/>
- <Column id="treatno" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hardcdno_9947" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_addresult" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="startdd" type="STRING" size="256"/>
- <Column id="enddd" type="STRING" size="256"/>
- <Column id="refgbn" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="rrgstno1" type="STRING" size="256"/>
- <Column id="rrgstno2" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_addresult_tclscdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="tclscdlist" type="STRING" size="256"/>
- <Column id="tclsnmlist" type="STRING" size="256"/>
- <Column id="tclscdlist2" type="STRING" size="256"/>
- <Column id="tclsnmlist2" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_singdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_singinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_tmp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="testmdllist" type="STRING" size="256"/>
- <Column id="mdlcd" type="STRING" size="256"/>
- <Column id="param" type="STRING" size="256"/>
- <Column id="scrollrow" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="mdlcd">00</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_data1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_prmsprcpsetlistall" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <PropertyAnimation id="pani3" endingmode="to" repeat="1" repeattype="normal" duration="0" starttime="0"/>
- <Dataset id="ds_getResultDetail_one_cnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="labcnt" type="INT" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cmb_judgmark2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">▼</Col>
- <Col id="value">L</Col>
- </Row>
- <Row>
- <Col id="label">▲</Col>
- <Col id="value">H</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_userdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <PropertyAnimation id="pa_hirainfo_move" endingmode="to" repeat="1" repeattype="normal" duration="300" starttime="0" targetcomp="div_hirainfo" targetprop="position.y" interpolation="Interpolation.curve4InOut"/>
- <Dataset id="ds_auth_hira" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_data_userrecordlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_gridreq01" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="scrnid" type="STRING" size="256" sumtext="화면ID"/>
- <Column id="compscd" type="STRING" size="256" sumtext="화면ID"/>
- <Column id="userid" type="STRING" size="256" sumtext="사용자ID"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_gridseq01" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="compscd" type="STRING" size="256" sumtext="구성코드"/>
- <Column id="compscnts" type="STRING" size="256" sumtext="구성내용"/>
- <Column id="frozencol" type="STRING" size="256" sumtext="컬럼고정필드명"/>
- <Column id="compsrefcnts" type="STRING" size="256" sumtext="구성참조내용"/>
- <Column id="compssizecnts" type="STRING" size="256" sumtext="구성크기내용"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_gridreq02" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="scrnid" type="STRING" size="256" sumtext="화면ID"/>
- <Column id="compscd" type="STRING" size="256" sumtext="화면ID"/>
- <Column id="userid" type="STRING" size="256" sumtext="사용자ID"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_gridseq02" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="compscd" type="STRING" size="256" sumtext="구성코드"/>
- <Column id="compscnts" type="STRING" size="256" sumtext="구성내용"/>
- <Column id="frozencol" type="STRING" size="256" sumtext="컬럼고정필드명"/>
- <Column id="compsrefcnts" type="STRING" size="256" sumtext="구성참조내용"/>
- <Column id="compssizecnts" type="STRING" size="256" sumtext="구성크기내용"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_UC00013" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group3.grp_sea.ipt_date1" propid="value" datasetid="ds_singdata" columnid="srchdate1"/>
- <BindItem id="item1" compid="group3.grp_sea.ipt_date2" propid="value" datasetid="ds_singdata" columnid="srchdate2"/>
- <BindItem id="item2" compid="group3.grp_sea.rdo_statecd" propid="value" datasetid="ds_singdata" columnid="listflag"/>
- <BindItem id="item3" compid="group3.grp_sea.cmb_orddept" propid="value" datasetid="ds_cond" columnid="deptcd"/>
- <BindItem id="item4" compid="group3.grp_sea.cmb_orddr" propid="value" datasetid="ds_singdata" columnid="drid"/>
- <BindItem id="item6" compid="group3.grp_sea.ipt_pid" propid="value" datasetid="ds_singdata" columnid="srchpid"/>
- <BindItem id="item7" compid="group3.grp_sea.input1" propid="value" datasetid="ds_cond" columnid="hngnm"/>
- <BindItem id="item8" compid="group3.grp_sea.input10" propid="value" datasetid="ds_cond" columnid="ward"/>
- <BindItem id="item9" compid="group3.grp_sea.input2" propid="value" datasetid="ds_cond" columnid="rrgstno1"/>
- <BindItem id="item10" compid="group3.grp_sea.input5" propid="value" datasetid="ds_cond" columnid="rrgstno2"/>
- <BindItem id="item11" compid="group3.grp_sea.input3" propid="value" datasetid="ds_cond" columnid="sex"/>
- <BindItem id="item12" compid="group3.grp_sea.input4" propid="value" datasetid="ds_cond" columnid="age"/>
- <BindItem id="item13" compid="group3.grp_sea.cmb_roomcd" propid="value" datasetid="ds_singdata" columnid="roomcd"/>
- <BindItem id="item15" compid="group3.combo1" propid="value" datasetid="ds_setdata" columnid="deptsetcd"/>
- <BindItem id="item16" compid="group3.switch1.case1.cmb_dailyviewgb" propid="value" datasetid="ds_singdata" columnid="dailyviewgb"/>
- <BindItem id="item5" compid="group3.grp_sea.cmb_term" propid="value" datasetid="ds_term" columnid="term"/>
- <BindItem id="item18" compid="group3.switch1.case3.ipt_foldnm" propid="value" datasetid="ds_setdata" columnid="foldernm"/>
- <BindItem id="item19" compid="group3.switch1.case3.cmb_deptset" propid="value" datasetid="ds_setdata" columnid="deptsetcd"/>
- <BindItem id="item20" compid="group3.switch1.case3.rdo_setflag" propid="value" datasetid="ds_setdata" columnid="setkindcd"/>
- <BindItem id="item14" compid="group3.switch1.case1.cmb_dailylist" propid="value" datasetid="ds_singdata" columnid="refname"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2014-10-02
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2014-10-02 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "com_basiccodexp::ZBC001.xjs";
- include "emr_commonxp::EMRCommon.xjs";
- include "emr_prcpinfoxp::SMMMI00100.xjs";
- include "com_pacsxp::ZEP001.xjs";
- include "emr_prcpmngtxp::MMOCommon.xjs";
- include "emr_prcpmngtxp::MMO001.xjs";
- var arErrorCode = new HashArray();
- var vTabOpen = "";
- var vTestmdllist= "";
- var nextcnt = 0;
- var ceilcnt = 0;
- var rowidx1 = 0;
- var rowidx2 = 0;
- var gridObject = "";
- var popupYn = "N";
- var arrMenu = new Array();
- var authHiraYN = "N"; //심평원권환자
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SMMMI00100
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SMMMI00100_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SMMMI00100
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면오픈시 폼load이후 실행
- ****************************************************************************************/
- function SMMMI00100_onload(obj:Form, e:LoadEventInfo)
- {
- // grdf_setGridSort(group3.switch1.case5.datagrid1); // 그리드 정렬 기능 활성화
- form.titletext = form.titletext +" [ "+sysf_getUserInfo("dutplcenm")+" "+sysf_getUserInfo("usernm")+" ]";
-
- // 좌측 검사항목 리스트 컬럼설정 기능 추가 2019.07.26 엄영만
- reqOrderInfoOfCol(ds_gridreq01, ds_gridseq01, "SMMMI00100", group3.switch1.case5.datagrid1, "01"); // 그룹별 검사항목 리스트 컬럼 조회 및 설정
- reqOrderInfoOfCol(ds_gridreq02, ds_gridseq02, "SMMMI00100", group3.switch1.case1.grd_maindaily, "02"); // 분류별 검사항목 리스트 컬럼 조회 및 설정
-
- //보고일 : Z
- if(group3.grp_sea.rdo_statecd.value == "Z"){
- /* 그리드 컬럼 숨김 기능을 컬럼 사이즈를 0으로 만들어 숨김 */
- group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","lastreptdd"),"size",75);
- group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","lastreptdd1"),"size",0);
- group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","prcpdd1"),"size",0);
- group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","prcpdd"),"size",75);
- group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","execdd1"),"size",0);
- group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","execdd"),"size",75);
- group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","lastreptdd"),"size",75);
- group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","lastreptdd1"),"size",0);
- group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","prcpdd1"),"size",0);
- group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","prcpdd"),"size",75);
- group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","execdd1"),"size",0);
- group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","execdd"),"size",75);
- //검사일 : J
- } else if(group3.grp_sea.rdo_statecd.value == "J"){
- group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","execdd1"),"size",75);
- group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","execdd"),"size",0);
- group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","lastreptdd"),"size",0);
- group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","lastreptdd1"),"size",75);
- group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","prcpdd1"),"size",0);
- group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","prcpdd"),"size",75);
- group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","execdd1"),"size",75);
- group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","execdd"),"size",0);
- group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","lastreptdd"),"size",0);
- group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","lastreptdd1"),"size",75);
- group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","prcpdd1"),"size",0);
- group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","prcpdd"),"size",75);
- //처방일 : P
- } else if(group3.grp_sea.rdo_statecd.value == "P"){
- group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","prcpdd1"),"size",75);
- group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","prcpdd"),"size",0);
- group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","lastreptdd"),"size",0);
- group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","lastreptdd1"),"size",75);
- group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","execdd1"),"size",0);
- group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","execdd"),"size",75);
- group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","prcpdd1"),"size",75);
- group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","prcpdd"),"size",0);
- group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","lastreptdd"),"size",0);
- group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","lastreptdd1"),"size",75);
- group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","execdd1"),"size",0);
- group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","execdd"),"size",75);
- }
- //이미지 object, 브라우져 object 비활성화
- group3.obj_imge.visible = false;
-
- //20190402 심사자료수집 대상자
- authHiraYN = lf_getAuthHiraYN();
- grdf_setToolTipBind(div_hirainfo.div_hiralist.grd_record); //내용풍선으로 보이기
-
- //그룹별
- group3.switch1.enableevent = false;
- group3.switch1.tabindex = 0;
- group3.switch1.enableevent = true;
-
- lf_aezfSetSuppDeptcd(); //사용자 정보에 기관정보 세팅
- //병리에서 사용 근무지 기관코드 가져오기
- ds_globalinstance.setColumn(0,"instance2", sysf_getUserInfo("dutplceinstcd"));
-
- //set만들기, set조회 그룹 비활성화
- group3.grp_makedset.visible = false;
- group3.grp_searchset.visible = false;
- fSetUserTermInit(); //사용자 환경설정 tab 세팅
-
- //if(!appf_ContainsUserCD("00013", "Y")) { //신규로직이 아니면
- // fSetSubResultGridProperty();
- //}
- //LIS 중분류 리스트 조회 조건 설정
- ds_send.setColumn(0, "codeflag", "0102|");
- dsf_setDefaultVal(ds_send, "initflag:1");
-
- //병동코드, 진료과코드, 진단검사 초기정보, 검사분류 조회
- var oParam = {};
- oParam.id = "TRAER00823";
- oParam.service = "examcureresultrefapp.RsltRef";
- oParam.method = "reqGetInitRsltRefCdList";
- oParam.inds = "reqparam=ds_send";
- oParam.outds = "ds_initexecward=initexcuward ds_initexecorddept=initexecdept ds_LB0102=0102";
- oParam.async = false;
- oParam.callback = "cf_TRAER00823";
- tranf_submit(oParam);
-
- // 원무정보구분(외래, 입원, 응급....)
- appf_getCodeList([{dsNm: "ds_M0010", cdGrpId: "M0010"}]);
- if(frmf_checkOpener()){
- var param = opener.frmf_getParameter("opener_parameter_id"); //opener parameter value를 get
-
- try {
- ds_send_singdata.copyData(arg_ds_send_singdata); // opener 전달 데이터셋 조회조건에 복사
- } catch(e) {
- }
-
- // 환자조회 화면 전송 환자번호 복사
- ds_singdata.setColumn(0,"srchpid", ds_send_singdata.getColumn(0,"srchpid"));
- if (!utlf_isNull(param)){ //opener parameter가 있는 경우
- condarray = param.split("▦");
- ds_singdata.setColumn(0, "srchpid", condarray[0]);
- } else { //opener parameter가 없는 경우 화면 원무 정보 check
- var paminfo = sysf_getGlobalVariable("paminfo"); //프로그램에 따라 원무정보(paminfo), 환자기본정보(patflag) get
- var openerid = opener.frmf_getScreenID(); //진료대상자리스트 : SMMMO04100, 공통메뉴화면 : SMZUM00300
- var patprcp_pid = opener.frmf_getParameter("SMAER00800_patprcp");
- if (patprcp_pid == "Y") {
- if(!utlf_isNull(ds_singdata.getColumn(0,"srchdate11"))
- && !utlf_isNull(ds_singdata.getColumn(0,"srchdate22"))
- && !utlf_isNull(ds_singdata.getColumn(0,"listflag2"))){ // 진료요청 , 20080116
- // sysf_trace(ds_singdata.saveXML());
- ds_singdata.setColumn(0,"srchdate1", ds_singdata.getColumn(0,"srchdate11"));
- ds_singdata.setColumn(0,"srchdate2", ds_singdata.getColumn(0,"srchdate22"));
- ds_singdata.setColumn(0,"listflag", ds_singdata.getColumn(0,"listflag2"));
- }
- ds_singdata.setColumn(0,"chkcheck","ALL");
-
- var listflag = ds_singdata.getColumn(0,"listflag");
- if(listflag == "B"){
- var srchpid = ds_singdata.getColumn(0,"srchpid"); //model.getValue ( "/root/send/data/singdata/srchpid")
- if(utlf_isNull(srchpid)){
- return;
- }
- ds_singdata.setColumn(0,"listflag","Z"); //model.setValue("/root/send/data/singdata/listflag", "Z");
- fGetSytsRsltRefList("C"); //결과 조회 병리 연속보기
- } else {
- fSetUserBaseInit(); //사용자 환경설정 조회기준 세팅
- fSetUserDeptInit(); //사용자 환경설정 부서 세팅
- fSetUserTabInit(); //사용자 환경설정 tab 세팅
- }
- opener.frmf_setParameter("SMAER00800_patprcp", "N");
- } else if (!utlf_isNull(ds_singdata.getColumn(0,"srchpid"))) { // 등록번호를 파라미터로 연동한 경우가 우선 조회되게 한다.
- if(!utlf_isNull(ds_singdata.getColumn(0,"srchdate11")) && !utlf_isNull(ds_singdata.getColumn(0,"srchdate22")) && !utlf_isNull(ds_singdata.getColumn(0,"listflag2"))){ // 진료요청 , 20080116
- ds_singdata.setColumn(0,"srchdate1", ds_singdata.getColumn(0,"srchdate11"));
- ds_singdata.setColumn(0,"srchdate2", ds_singdata.getColumn(0,"srchdate22"));
- ds_singdata.setColumn(0,"listflag", ds_singdata.getColumn(0,"listflag2"));
- }
- ds_singdata.setColumn(0, "chkcheck", "ALL");
-
- var listflag = ds_singdata.getColumn(0,"listflag");
- if(listflag == "B"){
- var srchpid = ds_singdata.getColumn(0,"srchpid");
- if(utlf_isNull(srchpid)){
- return;
- }
- ds_singdata.setColumn(0,"listflag","Z");
- fGetSytsRsltRefList("C"); //결과 조회 병리 연속보기
- } else {
- fSetUserBaseInit(); //사용자 환경설정 조회기준 세팅
- fSetUserDeptInit(); //사용자 환경설정 부서 세팅
- fSetUserTabInit(); //사용자 환경설정 tab 세팅
- }
-
- } else if(!utlf_isNull(paminfo)){
- dsf_setCSVToDs("ds_paminfo",paminfo);
-
- //상단 정보를 이용하여 프로그램 수행
- var pid = ds_paminfo.getColumn(0,"pid");
- var deptcd = ds_paminfo.getColumn(0,"orddeptcd");
- var hngnm = ds_paminfo.getColumn(0,"hngnm");
- var rrgstno1 = ds_paminfo.getColumn(0,"rrgstno1");
- var rrgstno2 = ds_paminfo.getColumn(0,"rrgstno2");
- var sex = ds_paminfo.getColumn(0,"sex");
- var age = ds_paminfo.getColumn(0,"age");
- ds_singdata.setColumn(0,"srchpid" , pid);
- ds_singdata.setColumn(0,"deptcd" , deptcd);
- fChngSrchDrId(); // 주치의콤보 조회
- if(ds_patinfolist.rowcount < 1) ds_patinfolist.addRow();
- ds_patinfolist.setColumn(0,"hngnm" ,hngnm);
- ds_patinfolist.setColumn(0,"rrgstno1",rrgstno1);
- ds_patinfolist.setColumn(0,"rrgstno2",rrgstno2);
- ds_patinfolist.setColumn(0,"sex" ,sex);
- ds_patinfolist.setColumn(0,"age" ,age);
- ds_singdata.setColumn(0,"chkcheck" ,"ALL");
-
- if(!utlf_isNull(ds_singdata.getColumn(0,"srchpid"))){
- fSetUserBaseInit(); //사용자 환경설정 조회기준 세팅
- fSetUserDeptInit(); //사용자 환경설정 부서 세팅
- fSetUserTabInit(); //사용자 환경설정 tab 세팅
- }
- } else {
- fSetUserBaseInit(); //사용자 환경설정 조회기준 세팅
- fSetUserDeptInit(); //사용자 환경설정 부서 세팅
- fSetUserTabInit(); //사용자 환경설정 tab 세팅
- }
- }
- }
- //병리결과OLD 버튼 비활성화여부
- var instance1 = ds_globalinstance.getColumn(0,"instance1");
- ds_globalinstance.setColumn(0,"instance1","1000000000");
- ds_send.setColumn(0,"grupcdid","S001");
-
- var arrColInfo = [{col:"suppdeptcd" , type:"string" , size:256}
- ,{col:"grupcdid" , type:"string" , size:256}]
- dsf_createDs("ds_temp",arrColInfo,"true");
- var nRow = ds_temp.addRow()
- ds_temp.setColumn(nRow,"suppdeptcd", ds_globalinstance.getColumn(0,"instance1"));
- ds_temp.setColumn(nRow,"grupcdid" , ds_send.getColumn(0,"grupcdid"));
- var oParam = {};
- oParam.id = "TRAEB00010";
- oParam.service = "examcurebaseapp.ComCode";
- oParam.method = "reqGetComCodeDetailList";
- oParam.inds = "req=ds_temp";
- oParam.outds = "ds_item=item";
- oParam.async = true;
- oParam.callback = "cf_TRAEB00010";
- tranf_submit(oParam);
-
- ds_globalinstance.setColumn(0,"instance1",instance1);
- ds_singdata.setColumn(0,"chkcheck","");
- group3.grp_sea.ipt_pid.setFocus();
-
- /* 이미 체크박스로 그려뒀으니 후에 입력가능한지 확인후 edittype만 변경 */
- grdf_initGrid(group3.switch1.case1.grd_maindaily);
- grdf_initGrid(group3.switch1.case5.datagrid1);
- grdf_setGridSort(group3.switch1.case4.grd_mainprogress); // 그리드 소트만
- //임상시험 의뢰자 관련하여 [피보험자]라는 화면에서 결과조회를 팝업으로 CALL 할때 다른 등록번호를 조회할 수 없도록.
- if(frmf_checkOpener()){
- var authflagpid = opener.frmf_getParameter("opener_parameter_id"); //opener parameter value를 get
- var authflag = opener.frmf_getParameter("opener_parameter_authflag"); //opener parameter value를 get
- if(authflag == "N"){
- //alert("임상시험 피보험자 화면에서 Call");
- group3.grp_sea.ipt_pid.enable = false; //등록번호 입력란
- group3.grp_sea.button5.visible = false; //이름 검색버튼
- group3.grp_sea.btn_MyPatList.visible = false; //대상자조회 버튼
- group3.button40.visible = false; //출력 버튼
- group3.button1.visible = false; //엑셀 버튼
- ds_singdata.setColumn(0,"srchpid",authflagpid);
- }
- }
- if(!utlf_isNull(ds_singdata.getColumn(0,"srchpid"))){
- fReqGetPatComnInfo("ds_req", ds_singdata.getColumn(0,"srchpid")); //환자정보 조회
- }
- fSetUserFrozenColInit(); //사용자 환경설정 조회기준 세팅(통합검사결과조회 틀고정 기본 설정)
- fSetUserHlaPopupInit(); //사용자 환경설정 조회기준 세팅(합검사 결과조회 공여자 HLA 검사 결과조회 화면 자동호출 여부)
- fSetUserPrntFrmInit(); //통합검사 결과조회 출력 양식 조건(세로/가로)
-
- fSetPopupMenu();
-
- // 환자정보 불러왔을경우 오픈시 자동조회 추가
- if(!utlf_isNull(ds_singdata.getColumn(0,"srchpid"))) {
- var e = new ClickEventInfo;
- frmf_inputEnterKey("group3.grp_sea.btn_srch", "onclick", e );
- }
- }
- /****************************************************************************************
- * Function : fSetSubResultGridProperty
- * Description : 초기 그리드 설정
- * Argument :
- * return type :
- * Creator :
- ****************************************************************************************/
- var bSetGridProperty = true;
- function fSetSubResultGridProperty() {
- try {
- if(bSetGridProperty) {
- bSetGridProperty = false;
- group3.grd_subresultdetail1.setCellProperty("body",0,"edittype","checkbox");
- group3.grd_subresultdetail1.setBandProperty("body","cellbackground","#FFFFFF");
- group3.grd_subresultdetail1.setBandProperty("body","cellbackground2","#FFFFFF");
- group3.grd_subresultdetail1.setBandProperty("body","cellcolor","#000000");
- var sExpr1 ="background:EXPR(getColumn(currow,'judgmark')=='T'?"lightblue""//url('theme://images/tab_hide_blue.gif') repeat-x
- +":"")"
- +";background2:EXPR(getColumn(currow,'judgmark')=='T'?"lightblue""//url('theme://images/tab_hide_blue.gif') repeat-x
- +":"")"
- +";line:"0 none #808080ff""
- +";controlbackground:EXPR(utlf_isNull(getColumn(currow,'judgmark'))||getColumn(currow,'judgmark')=='T'||getColumn(currow,'judgmark')=='P'?"silver":"default")"
- +";controlborder:EXPR(utlf_isNull(getColumn(currow,'judgmark'))||getColumn(currow,'judgmark')=='T'||getColumn(currow,'judgmark')=='P'?"1 solid #708090cc":"default")"
- ;
- var sExpr2 ="background:EXPR(getColumn(currow,'judgmark')=='T'?"lightblue""//url('theme://images/tab_hide_blue.gif') repeat-x
- +":getColumn(currow,'judgmark')=='P'?"#f7a08b""
- +":getColumn(currow,'judgmark')=='Q'?"#9999cc""
- +":"")"
- +";background2:EXPR(getColumn(currow,'judgmark')=='T'?"lightblue""//url('theme://images/tab_hide_blue.gif') repeat-x
- +":getColumn(currow,'judgmark')=='P'?"#f7a08b""
- +":getColumn(currow,'judgmark')=='Q'?"#9999cc""
- +":"")"
- +";color:EXPR(getColumn(currow,'judgmark2')=='H'?"red""
- +":getColumn(currow,'judgmark2')=='L'?"blue""
- +":getColumn(currow,'judgmark')=='T'?"""
- +":"")"
- +";color2:EXPR(getColumn(currow,'judgmark2')=='H'?"red""
- +":getColumn(currow,'judgmark2')=='L'?"blue""
- +":getColumn(currow,'judgmark')=='T'?"""
- +":"")"
- +";font:EXPR(getColumn(currow,'judgmark')=='ST' || getColumn(currow,'judgmark')=='T'?"굴림체,9,bold""
- +":"굴림체,9")"
- +";align:"left""
- +";line:"0 none #808080ff""
- ;
- group3.grd_subresultdetail1.setCellProperty("body", 0, "edittype", "EXPR:utlf_isNull(getColumn(currow,'judgmark'))||getColumn(currow,'judgmark')=='T'||getColumn(currow,'judgmark')=='P'?"none":"checkbox"");
- group3.grd_subresultdetail1.setCellProperty("body", 0, "style", sExpr1);
- group3.grd_subresultdetail1.setCellProperty("body", 1, "style", sExpr2);
- /* XP 의 EXPR 을 이용하여 style을 하나의 함수로 처리 END */
- }
- } catch (e) {
- sysf_messageBox("통합결과조회 그리드 설정중 오류 발생", "E" );
- }
- }
- // 진료대상자에서 환자 변경시 호출 하도록 생성 2049.07.03 엄영만
- // 환자번호가 바뀌지 않는 현상 발생 함.
- function fChangePid(sPid) {
- var sRtn = "";
-
- try {
- if(utlf_isNull(sPid)) {
- sysf_messageBox("변경하려는 환자번호가 지정되지 않았습니다.", "E" );
- return sRtn;
- }
- ds_singdata.setColumn(0, "srchpid", sPid);
- group3.grp_sea.btn_srch.click();
- sRtn = ds_singdata.getColumn(0, "srchpid");
-
- if(sPid != sRtn) {
- sysf_messageBox("통합결과조회 요청 환자번호와 조회결과 환자 번호가 서로 다릅니다. 전산실(4204)로 연락 부탁드립니다.", "E" );
- }
- } catch (e) {
- sysf_messageBox("통합결과조회 환자변경 조회중 오류가 발생 하였습니다. 전산실(4204)로 연락 부탁드립니다.", "E" );
- sRtn = "";
- }
- return sRtn;
- }
-
- /****************************************************************************************
- * Components : Tab
- * Components ID : group3.switch1
- * Event : onchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 탭 인덱스 변경 이벤트
- ****************************************************************************************/
- function group3_switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- if(e.postindex == 0) {
- vTabOpen = "";
- ds_maindailylist.enableevent = false;
- fGetSytsRsltRefList("ALL", "G"); //SMMMI00100.js
- ds_maindailylist.enableevent = true;
- group3.button102.visible = true;
- group3.button103.visible = true;
- } else if(e.postindex == 1) {
- vTabOpen = "";
- fGetSytsRsltRefList("ALL", "B"); //SMMMI00100.js
- group3.button102.visible = true;
- group3.button103.visible = true;
- } else if(e.postindex == 2) {
- vTabOpen = "Y";
- var AnswData = fGetIntefeAnsw("019");
- if(!utlf_isNull(AnswData)) {
- if( AnswData == "001" ){
- ds_setdata.setColumn(0,"setkindcd","P");
- } else {
- ds_setdata.setColumn(0,"setkindcd","D");
- }
- }
- fGetMainSetList();
- group3.button102.visible = true;
- group3.button103.visible = true;
- } else if(e.postindex == 3) {
- vTabOpen = "Y";
- group3.grp_makedset.visible = false;
- group3.datagrid2.visible = false;
- group3.grd_subresultdetail1.visible = true;
- group3.grd_subresultdetail2.visible = false;
- fGetMainProgressList();
- fGetWideListX2(group3.switch1, group3.switch1.case4.grd_mainprogress);
- group3.button102.visible = false;
- group3.button103.visible = false;
- }
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : group3.grp_sea.cmb_orddept
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 진료과 콤보 선택
- ****************************************************************************************/
- function group3_grp_sea_cmb_orddept_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- ds_singdata.setColumn(0,"deptcd",e.postvalue);
- fChngSrchDrId();
- }
- /****************************************************************************************
- * Components : Dataset
- * Components ID : ds_prmsprcpsetlist
- * Event : onrowposchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 트리선택 상세조회
- ****************************************************************************************/
- function ds_prmsprcpsetlist_onrowposchanged(obj:Dataset, e:DSRowPosChangeEventInfo)
- {
- fGetNResultRef();
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : group3.grp_sea.ipt_pid
- * Event : onkeydown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 등록번호 입력후 엔터키 실행
- ****************************************************************************************/
- function group3_grp_sea_ipt_pid_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- obj.updateToDataset();
-
- // 포커스 이동시에도 환자조회가 가능하도록 ds_singdata_oncolumnchanged 이벤트로 이동 -> 화면 리로드시 문제 발생 함수 따로 생성
- execPidKeyEvent();
- }
- }
- function execPidKeyEvent() {
- /*
- * case1 : 분류별
- * case2 : 검사분류별
- * case3 : SET별
- * case4 : 진행상태
- * case5 : 그룹별
- */
- group3.grp_sea.btn_srch.click();
-
- if(group3.div_lis.visible = true){ //20120406
- group3.div_lis.visible = false;
- }
-
- if(frmf_findPopup("SPMMI00200")) frmf_findPopup("SPMMI00200").close();
- if(frmf_findPopup("SPMMI00300")) frmf_findPopup("SPMMI00300").close();
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : group3.switch1.case1.cmb_dailylist
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function group3_switch1_case1_cmb_dailylist_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- ds_singdata.setColumn(0,"chkcheck","ALL");
- var refname = e.postvalue;
- if(!utlf_isNull(refname) && refname != "-") {
- var param = refname.split("_");
- } else {
- var param = "";
- }
-
- if (param.length > 0) {
- ds_singdata.setColumn(0,"deptcd",param[0]);
- ds_singdata.setColumn(0,"prcpdd",param[1]);
- fGetMainDailyList("B");
- } else {
- ds_singdata.setColumn(0,"deptcd","");
- ds_singdata.setColumn(0,"prcpdd","");
- fGetMainDailyList("B");
- }
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : group3.switch1.case1.grd_maindaily
- * Event : oncelldblclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function group3_switch1_case1_grd_maindaily_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- ds_maindailylist.enableevent = false;
- var cRow = e.row;
- var cCol = e.col;
- if (cRow > -1 && cCol > 0) {
- fClickResultList();
- }
- ds_maindailylist.enableevent = true;
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.button10
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 전체버튼 실행
- ****************************************************************************************/
- function group3_button10_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_maindailylist.enableevent = false;
-
- fGetSytsRsltRefList("ALL");
-
- ds_maindailylist.enableevent = true;
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.grp_sea.btn_srch
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회버튼 실행
- ****************************************************************************************/
- function group3_grp_sea_btn_srch_onclick(obj:Button, e:ClickEventInfo)
- {
- try{
- if( parent.openstatus != "maximize" ){
- parent.openstatus = "normal";
- }
- }catch(e){}
-
- var pid = ds_singdata.getColumn(0,"srchpid");
- if(utlf_isNull(pid)) {
- return;
- }
- //fReqGetPatComnInfo("ds_req", ds_singdata.getColumn(0,"srchpid")); //환자기본정보 조회
- if ( group3.switch1.tabindex == 0 || group3.switch1.tabindex == 1) { // 그룹별, 분류별 조회
- fGetSytsRsltRefList("ALL"); //SMMMI00100.js
- } else if ( group3.switch1.tabindex == 2 ) { // SET별 조회
- fGetMainSetList();
- } else if ( group3.switch1.tabindex == 3 ) { // 진행상태별 조회
- fGetMainProgressList();
- }
-
- if(frmf_findPopup("SPMMI00200")) frmf_findPopup("SPMMI00200").close();
- if(frmf_findPopup("SPMMI00300")) frmf_findPopup("SPMMI00300").close();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.button17
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 진검 결과조회
- ****************************************************************************************/
- function group3_button17_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetSytsRsltRefList("A");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.button19
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 병리 결과조회
- ****************************************************************************************/
- function group3_button19_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetSytsRsltRefList("C"); //결과 조회 병리 연속보기
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.button19
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 영상 결과조회
- ****************************************************************************************/
- function group3_button21_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetSytsRsltRefList("E");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.button20
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 핵체외 결과조회
- ****************************************************************************************/
- function group3_button20_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetSytsRsltRefList("D");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.button22
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 내시경 결과조회
- ****************************************************************************************/
- function group3_button22_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetSytsRsltRefList("F");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.button23
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 기능 결과조회
- ****************************************************************************************/
- function group3_button23_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetSytsRsltRefList("G");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.button18
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 미생물 결과조회
- ****************************************************************************************/
- function group3_button18_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetSytsRsltRefList("B");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.button36
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 건진소견 결과조회
- ****************************************************************************************/
- function group3_button36_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetHealExamDetailList();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.switch1.case1.button38
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 선택항목조회 버튼 실행
- ****************************************************************************************/
- function group3_switch1_case1_button38_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetCheckedResultContinueList("B"); // 분류별 조회
-
- if(group3.div_lis.visible = true){
- group3.div_lis.visible = false;
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.button103
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그룹탭 확장버튼
- ****************************************************************************************/
- function group3_button103_onclick(obj:Button, e:ClickEventInfo)
- {
- if(vTabOpen != "Y") {
- var fromV = "";
- var toV = "";
- var objLComp = "";
- var objRComp = "";
- var objLSub = "";
- var objRSub = "";
- if(group3.switch1.tabindex == 0 || group3.switch1.tabindex == 1) {
- fromV = 310;
- toV = 850;
- objLComp = "group3.switch1";
- objRComp = "group3.grd_subresultdetail1";
- objRSub = "group3.grd_subresultdetail2";
- } else if(group3.switch1.tabindex == 3) {
- fromV = 310;
- toV = 1248;
- objLComp = "group3.switch1";
- objRComp = "group3.grd_subresultdetail1";
- } else if(group3.switch1.tabindex == 2) {
- fromV = 0;
- toV = 310;
- objLComp = "group3.switch1";
- objRComp = "group3.datagrid2";
- objLSub = "group3.grp_makedset";
- }
-
- lf_playAniLeft(objLComp,objRComp,fromV,toV,objLSub,objRSub);
- vTabOpen = "Y";
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.button102
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그룹탭 축소버튼
- ****************************************************************************************/
- function group3_button102_onclick(obj:Button, e:ClickEventInfo)
- {
- if(vTabOpen == "Y") {
- var fromV = "";
- var toV = "";
- var objLComp = "";
- var objRComp = "";
- var objLSub = "";
- var objRSub = "";
- if(group3.switch1.tabindex == 0 || group3.switch1.tabindex == 1) {
- fromV = 850;
- toV = 310;
- objLComp = "group3.switch1";
- objRComp = "group3.grd_subresultdetail1";
- objRSub = "group3.grd_subresultdetail2";
- } else if(group3.switch1.tabindex == 3) {
- fromV = 1248;
- toV = 310;
- objLComp = "group3.switch1";
- objRComp = "group3.grd_subresultdetail1";
- } else if(group3.switch1.tabindex == 2) {
- fromV = 310;
- toV = 0;
- objLComp = "group3.switch1";
- objRComp = "group3.datagrid2";
- objLSub = "group3.grp_makedset";
- }
- lf_playAniLeft(objLComp,objRComp,fromV,toV,objLSub,objRSub);
- vTabOpen = "";
- }
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : group3.switch1.case5.combo2
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그룹별 항목 선택일자 조회
- ****************************************************************************************/
- function group3_switch1_case5_combo2_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- ds_singdata.setColumn(0,"chkcheck","ALL");
- var refname = e.postvalue;
- if(!utlf_isNull(refname) && refname != "-") {
- var param = refname.split("_");
- } else {
- var param = "";
- }
- if (param.length > 0) {
- ds_singdata.setColumn(0,"deptcd",param[0]);
- ds_singdata.setColumn(0,"prcpdd",param[1]);
- fGetMainDailyList("G");
- } else {
- ds_singdata.setColumn(0,"deptcd","");
- ds_singdata.setColumn(0,"prcpdd","");
- fGetMainDailyList("G");
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.switch1.case5.button43
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 선택항목조회 버튼 실행
- ****************************************************************************************/
- function group3_switch1_case5_button43_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetCheckedResultContinueList("G"); // 분류별 조회
-
- if(group3.div_lis.visible = true){
- group3.div_lis.visible = false;
- }
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : group3.grp_sea.cmb_term
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회기간 기간설정
- ****************************************************************************************/
- function group3_grp_sea_cmb_term_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- var date2 = group3.grp_sea.ipt_date2.value;
- var term = e.postvalue;
-
- group3.grp_sea.ipt_date1.value = date2.getAddDate(-term, "D").getDateFormat("YYYYMMDD") ;
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : group3.grp_sea.button5
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function group3_grp_sea_button5_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetPatInfo();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.grp_sea.button45
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 환경설정 팝업 오픈
- ****************************************************************************************/
- function group3_grp_sea_button45_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_open("SMMMB01100", "SMMMB01100", "", "", "", "", "", "", "", "", "", "", "M");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.grp_sea.btn_PathoRsltOld
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 병리결과OLD 화면 오픈
- ****************************************************************************************/
- function group3_grp_sea_btn_PathoRsltOld_onclick(obj:Button, e:ClickEventInfo)
- {
- if (utlf_isNull(ds_singdata.getColumn(0,"srchpid"))) {
- sysf_messageBox("등록번호를 입력하세요.","I999");
- return true;
- }
- var objArg = new Object();
- objArg.arg_pid = ds_singdata.getColumn(0,"srchpid");
-
- frmf_open("SPLPP90100", "SPLPP90100", objArg, "", "", "", "", "", "", "", "", "", "M");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.grp_sea.button51
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 과거검사결과 화면 오픈
- ****************************************************************************************/
- function group3_grp_sea_button51_onclick(obj:Button, e:ClickEventInfo)
- {
- if (utlf_isNull(ds_singdata.getColumn(0,"srchpid"))) {
- sysf_messageBox("등록번호를 입력하세요.","I999");
- return true;
- }
- frmf_setParameter("SMMMI00100_pid" ,ds_singdata.getColumn(0,"srchpid"));
- frmf_setParameter("SMMMI00100_hngnm",ds_cond.getColumn(0,"hngnm"));
- frmf_modal("SMAOE01000","SMAOE01000", "", "", "", "", "", "", "", "", "", "", "M");
- frmf_clearParameter("SMMMI00100_pid");
- frmf_clearParameter("SMMMI00100_hngnm");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.grp_sea.btn_MyPatList
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 과거검사결과 화면 오픈
- ****************************************************************************************/
- function group3_grp_sea_btn_MyPatList_onclick(obj:Button, e:ClickEventInfo)
- {
- var objArg = new Object();
- objArg.arg_ds_singdata = ds_singdata;
- frmf_open("SPAER00802","SPAER00802", objArg, "Y", "", 1000, 0, "", "", "", "", "", "M");
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : group3.combo1
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 과별SET 누적조회 콤보 선택
- ****************************************************************************************/
- function group3_combo1_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- ds_setdata.setColumn(0,"deptsetcd",e.postvalue);
- ds_setdata.setColumn(0,"deptnm" ,e.posttext);
- if(ds_setdata.getColumn(0,"deptsetcd") == "-") {
- ds_setdata.setColumn(0,"deptsetcd","");
- ds_setdata.setColumn(0,"deptnm","");
- }
- group3.switch1.enableevent = false;
- group3.switch1.tabindex = 2;
- group3.switch1.enableevent = true;
- fGetMainSetList();
- fSetUserFrozenColInit(); //사용자 환경설정 조회기준 세팅(통합검사결과조회 틀고정 기본 설정)
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : group3.switch1.case3.cmb_deptset
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function group3_switch1_case3_cmb_deptset_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- ds_setdata.setColumn(0,"deptsetcd",e.postvalue);
- ds_setdata.setColumn(0,"deptnm",e.posttext);
- if(ds_setdata.getColumn(0,"deptsetcd") == "-") {
- ds_setdata.setColumn(0,"deptnm","");
- }
- group3.switch1.enableevent = false;
- group3.switch1.tabindex = 2;
- group3.switch1.enableevent = true;
- fGetMainSetList();
- }
- /****************************************************************************************
- * Components : Radio
- * Components ID : group3.switch1.case3.rdo_setflag
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function group3_switch1_case3_rdo_setflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- group3.grp_makedset.visible = false; // SET전체항목조회 비활성화
- if(ds_setdata.getColumn(0,"setkindcd") == "P" || ds_setdata.getColumn(0,"setkindcd") == "D"){
- var oParam = {};
- oParam.id = "TRAER00815";
- oParam.service = "examcureresultrefapp.RsltRef";
- oParam.method = "reqGetTestDeptSetList";
- oParam.inds = "req=ds_setdata";
- oParam.outds = "ds_deptlist=deptlist";
- oParam.async = false;
- oParam.callback = "";
- tranf_submit(oParam);
- group3.switch1.case3.cmb_deptset.enable = false;
- readfunc();
- ds_setdata.setColumn(0,"deptsetcd","");
- }else{
- var oParam = {};
- oParam.id = "TRAER00815";
- oParam.service = "examcureresultrefapp.RsltRef";
- oParam.method = "reqGetTestDeptSetList";
- oParam.inds = "req=ds_setdata";
- oParam.outds = "ds_deptlist=deptlist";
- oParam.async = false;
- oParam.callback = "";
- tranf_submit(oParam);
- group3.switch1.case3.cmb_deptset.enable = true;
- readfunc(); // 실제 조회 결과는 없음.
- ds_setdata.setColumn(0,"deptsetcd","-");
- }
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : group3.switch1.case3.ipt_foldnm
- * Event : onkeydown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 폴더명 검색 실행
- ****************************************************************************************/
- function group3_switch1_case3_ipt_foldnm_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- ds_setdata.setColumn(0,"foldernm",obj.value);
- fSrchFolderNM();
- }
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : group3.switch1.case3.ipt_foldnm
- * Event : onkeydown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 폴더명 검색 실행
- ****************************************************************************************/
- function group3_switch1_case3_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- fSrchFolderNM();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.button25
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 미생물누적 버튼 클릭
- ****************************************************************************************/
- function group3_button25_onclick(obj:Button, e:ClickEventInfo)
- {
- fSetAddMicroResult();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.button39
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그래프누적 버튼 클릭
- ****************************************************************************************/
- function group3_button39_onclick(obj:Button, e:ClickEventInfo)
- {
- if ( group3.grd_subresultdetail1.visible == true ) {
- fSetVertAddResult("1");
- }else if ( group3.datagrid2.visible == true ) {
- fSetVertAddResult("2");
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.btn_cadiac
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : cadiac 버튼 클릭
- ****************************************************************************************/
- function group3_btn_cadiac_onclick(obj:Button, e:ClickEventInfo)
- {
- if ( group3.switch1.tabindex == 2 || group3.switch1.tabindex == 3 ) {
- sysf_messageBox("[CADIAC 연동-등록번호기준] 기능은 분류별/그룹별 조회에서만 적용됩니다.","I999");
- return true;
- }
- //20190212 수정
- if ( ds_singdata.getColumn(0,"srchpid") == "" ) {
- sysf_messageBox("등록번호를 입력하세요.","I999");
- return true;
- }
- if ( group3.switch1.tabindex == 1 ) fClickCADIACPatResultList(group3.switch1.case1.grd_maindaily);
- if ( group3.switch1.tabindex == 0 ) fClickCADIACPatResultList(group3.switch1.case5.datagrid1);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.button31
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : CDIS연속연동 버튼 클릭
- ****************************************************************************************/
- function group3_button31_onclick(obj:Button, e:ClickEventInfo)
- {
- if ( group3.switch1.tabindex == 2 || group3.switch1.tabindex == 3 ) {
- sysf_messageBox("[CDIS연속연동] 기능은 분류별/그룹별 조회에서만 적용됩니다.","I999");
- return true;
- }
- if ( ds_singdata.getColumn(0,"srchpid") == "" ) {
- sysf_messageBox("등록번호를 입력하세요.","I999");
- return true;
- }
-
- if ( group3.switch1.tabindex == 1 ) fClickCDISResultList(group3.switch1.case1.grd_maindaily);
- if ( group3.switch1.tabindex == 0 ) fClickCDISResultList(group3.switch1.case5.datagrid1);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.btn_rcadiac
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : rcadiac 버튼 클릭
- ****************************************************************************************/
- function group3_btn_rcadiac_onclick(obj:Button, e:ClickEventInfo)
- {
- if ( group3.switch1.tabindex == 2 || group3.switch1.tabindex == 3 ) {
- sysf_messageBox("[CADIAC 연동-등록번호기준] 기능은 분류별/그룹별 조회에서만 적용됩니다.","I999");
- return true;
- }
- if ( ds_singdata.getColumn(0,"srchpid") == "" ) {
- sysf_messageBox("등록번호를 입력하세요.","I999");
- return true;
- }
- if ( group3.switch1.tabindex == 1 ) fClickCADIACPatReportList(group3.switch1.case1.grd_maindaily);
- if ( group3.switch1.tabindex == 0 ) fClickCADIACPatReportList(group3.switch1.case5.datagrid1);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.button33
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : PACS연동 버튼 클릭
- ****************************************************************************************/
- function group3_button33_onclick(obj:Button, e:ClickEventInfo)
- {
- if ( group3.switch1.tabindex == 2 || group3.switch1.tabindex == 3 ) {
- sysf_messageBox("[PACS 연동] 기능은 분류별/그룹별 조회에서만 적용됩니다.","I999");
- return true;
- }
-
- if ( ds_singdata.getColumn(0,"srchpid") == "" ) {
- sysf_messageBox("등록번호를 입력하세요.","I999");
- return true;
- }
-
- if ( group3.switch1.tabindex == 1 ) fClickPACSOrdPatResultList(group3.switch1.case1.grd_maindaily);
- if ( group3.switch1.tabindex == 0 ) fClickPACSOrdPatResultList(group3.switch1.case5.datagrid1);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.button7
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : PACS 연동-등록번호기준 버튼 클릭
- ****************************************************************************************/
- function group3_button7_onclick(obj:Button, e:ClickEventInfo)
- {
- if ( group3.switch1.tabindex == 2 || group3.switch1.tabindex == 3 ) {
- sysf_messageBox("[PACS 연동-등록번호기준] 기능은 분류별/그룹별 조회에서만 적용됩니다.","I999");
- return true;
- }
- if ( utlf_isNull(ds_singdata.getColumn(0,"srchpid")) ) {
- sysf_messageBox("등록번호를 입력하세요.","I999");
- return true;
- }
- if ( group3.switch1.tabindex == 1 ) fClickPACSPatResultList(group3.switch1.case1.grd_maindaily);
- if ( group3.switch1.tabindex == 0 ) fClickPACSPatResultList(group3.switch1.case5.datagrid1);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.button40
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 출력 버튼 클릭
- ****************************************************************************************/
- function group3_button40_onclick(obj:Button, e:ClickEventInfo)
- {
- if ( group3.switch1.tabindex == 1 || group3.switch1.tabindex == 0 ) {
- var chkcheck1 = ds_singdata.getColumn(0,"chkcheck1");
- var chkcheck4 = ds_singdata.getColumn(0,"chkcheck4");
- var result = "";
-
- frmf_openLoadingBar();
-
- if (utlf_isNull(ds_patinfolist.getColumn(0,"pid"))) {
- fReqGetPatComnInfo("ds_req", ds_singdata.getColumn(0,"srchpid" )); //환자기본정보 조회
- }
- // 보안출력 관련 추가 2019.05.20 엄영만 요청서:20190513033
- dsf_createDs("ds_tempPatInfo");
- dsf_copyDs(ds_tempPatInfo, ds_patinfolist, "replace");
-
- if(lf_ContainsHardCD("629", "Y") && !lf_ContainsHardCD("630", sysf_getUserInfo("userid")) && !lf_ContainsHardCD("631", sysf_getUserInfo("dutplcecd"))) { // 통합결과조회 보안출력 사용여부(629), 통합결과조회 보안출력 예외사용자(630), 예외부서(631)
- var sTempPid = ds_tempPatInfo.getColumn(0, "pid");
- var sTempHngNm = ds_tempPatInfo.getColumn(0, "hngnm");
-
- if(sTempPid.length > 2) { // 3자리 이상일경우
- sTempPid = sTempPid.substring(0, 1) + "**" + sTempPid.substring(3, sTempPid.length);
- }
-
- if(sTempHngNm.length == 2) { // 2자리
- sTempHngNm = sTempHngNm.substring(0, 1) + "*";
- } else if(sTempHngNm.length == 3) { // 3자리
- sTempHngNm = sTempHngNm.substring(0, 1) + "*" + sTempHngNm.substring(2, sTempHngNm.length);;
- } else if(sTempHngNm.length > 3) { // 4자리 이상
- sTempHngNm = sTempHngNm.substring(0, 1) + "**" + sTempHngNm.substring(3, sTempHngNm.length);;
- }
-
- ds_tempPatInfo.setColumn(0, "pid", sTempPid);
- ds_tempPatInfo.setColumn(0, "hngnm", sTempHngNm);
- } // End of 보안출력 관련 추가 2019.05.20 엄영만 요청서:20190513033
-
- // 진검일 경우
- if (chkcheck1 == "A" ||chkcheck4 == "D") {
-
- var nodeCnt = ds_subresultdetail1_1.rowcount;
- for (var i =0; i < nodeCnt; i++) {
- result = "";
-
- var tclsscrnnnm = ds_subresultdetail1_1.getColumn(i,"tclsscrnnnm");
- var reptrslt = ds_subresultdetail1_1.getColumn(i,"reptrslt");
-
- if (tclsscrnnnm == reptrslt) {
- result = ds_subresultdetail1_1.getColumn(i,"tclsscrnnnm");
- } else {
- var tnmdleng = 0;
-
- var sTclsscrnnm = ds_subresultdetail1_1.getColumn(i,"tclsscrnnnm").getTrim();
- result = sTclsscrnnm;
- tnmdleng = utlf_getStringLength(sTclsscrnnm);
-
- for (var j = tnmdleng; j < 36; j++) {
- result += " ";
- tnmdleng++;
- }
-
- var sReptrslt = ds_subresultdetail1_1.getColumn(i,"reptrslt").getTrim();
- tnmdleng = tnmdleng + utlf_getStringLength(sReptrslt);
-
- for (var j = tnmdleng; j < 52; j++) {
- result += " ";
- tnmdleng++;
- }
- result += sReptrslt;
-
- var sRsltunit = ds_subresultdetail1_1.getColumn(i,"rsltunit").getTrim();
- tnmdleng += utlf_getStringLength(sRsltunit);
- for (var j = tnmdleng; j < 64; j++) {
- result += " ";
- tnmdleng++;
- }
- result += sRsltunit;
-
- var sRef = ds_subresultdetail1_1.getColumn(i,"ref").getTrim();
- tnmdleng += utlf_getStringLength(sRef);
- for (var j = tnmdleng; j < 78; j++) {
- result += " ";
- tnmdleng++;
- }
- result += sRef;
-
- var sLastreptdt = ds_subresultdetail1_1.getColumn(i,"lastreptdt").getTrim();
- tnmdleng += utlf_getStringLength(sLastreptdt);
- for (var j = tnmdleng; j < 98; j++) {
- result += " ";
-
- }
- result += sLastreptdt;
-
- var sTestpsn = ds_subresultdetail1_1.getColumn(i,"testpsn").getTrim();
- tnmdleng += utlf_getStringLength(sTestpsn);
- for (var j = tnmdleng; j < 103; j++) {
- result += " ";
- tnmdleng++;
- }
- result += sTestpsn;
-
- var sChkid = ds_subresultdetail1_1.getColumn(i,"chkid").getTrim();
- tnmdleng += utlf_getStringLength(sChkid);
- for (var j = tnmdleng; j < 112; j++) {
- result += " ";
- tnmdleng++;
- }
- result += sChkid;
-
- var sTsectnm = ds_subresultdetail1_1.getColumn(i,"tsectnm").getTrim();
- tnmdleng += utlf_getStringLength(sTsectnm);
- for (var j = tnmdleng; j < 124; j++) {
- result += " ";
- tnmdleng++;
- }
- result += sTsectnm;
-
- }
-
- ds_subresultdetail1_1.addColumn("tclsscrnnnm", "string", 256);
- ds_subresultdetail1_1.setColumn(i, "tclsscrnnnm", result);
- }
- var arrColInfo = [{col:"pid" , type:"string" , size:256 ,val:ds_tempPatInfo.getColumn(0,"pid")}
- ,{col:"hngnm" , type:"string" , size:256, val:ds_tempPatInfo.getColumn(0,"hngnm")}
- ,{col:"rrgstno1" , type:"string" , size:256, val:ds_tempPatInfo.getColumn(0,"rrgstno1")}
- ,{col:"rrgstno2" , type:"string" , size:256, val:ds_tempPatInfo.getColumn(0,"rrgstno2")}
- ,{col:"mpphontel" , type:"string" , size:256, val:ds_tempPatInfo.getColumn(0,"mpphontel")}
- ,{col:"addr" , type:"string" , size:256, val:ds_tempPatInfo.getColumn(0,"addr")}
- ,{col:"detladdr" , type:"string" , size:256, val:ds_tempPatInfo.getColumn(0,"detladdr")}];
-
- dsf_createDsRow("ds_subresultdetail1_hidden",arrColInfo,"true");
-
- // Progress End
- frmf_closeLoadingBar();
-
- var objDOM = rptf_createDOM(); // DOM 객체 설정
-
- rptf_setNodeListToDOM(objDOM, "/root/hidden/subordlist2/subresultdetail1", ds_subresultdetail1_1); // 데이터셋 1
-
- rptf_setNodeListToDOM(objDOM, "/root/main/srchinfo/patinfolist", ds_subresultdetail1_hidden); // 데이터셋 2
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
- objParam.xml_data_XML2 = objDOM.documentElement.source;
-
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
- rptf_exeReportPreview30(["RPMMI00102"],[objParam], option);
-
- dsf_deleteDs("ds_subresultdetail1_hidden");
-
- } else {
-
- var prntfrmflag = ds_singdata.getColumn(0,"prntfrmflag");
- var prtFlag = "A";
- ////////////////////////////////////////////////////////////////
- //2011.01.23 instance에 한페이지 이상출력시 error로 row단위로 짜름,RPMMI00103파일경로수정
- var rsltChk = 0;
-
- var j = 0;
- var rsltprcp = "";
- var rsltCnts = "";
- var rsltArray = "";
- var rsltNodeCnt = ds_subresultdetail1.rowcount;
-
- var arrColInfo = [{col:"check" , type:"string" , size:256 }
- ,{col:"reptrslt" , type:"string" , size:256}
- ,{col:"judgmark" , type:"string" , size:256}
- ,{col:"judgmark2" , type:"string" , size:256}
- ,{col:"prcpcd" , type:"string" , size:256}
- ,{col:"prcpnm" , type:"string" , size:256}
- ,{col:"img" , type:"string" , size:256}
- ,{col:"imgcnts" , type:"string" , size:256}
- ,{col:"bcno" , type:"string" , size:256}
- ,{col:"testcd" , type:"string" , size:256}
- ,{col:"flag" , type:"string" , size:256}];
-
- dsf_createDs("ds_subresultdetail1_hidden",arrColInfo,"true");
- //sysf_trace("check : "+ds_singdata.getColumn(0,"chkcheck"));
- for( var m = 0 ; m < rsltNodeCnt ; m++ ) {
- //kimsj 검사결과 내역중 이미지(IMG) 가 있을 경우 SKIP
- if ( ds_subresultdetail1.getColumn(m,"img") == "IMG") continue;
- check = ds_subresultdetail1.getColumn(m,"check");
- judgmark = ds_subresultdetail1.getColumn(m,"judgmark");
- judgmark2 = ds_subresultdetail1.getColumn(m,"judgmark2");
- rsltprcp = ds_subresultdetail1.getColumn(m,"prcpcd");
- prcpnm = ds_subresultdetail1.getColumn(m,"prcpnm");
- img = ds_subresultdetail1.getColumn(m,"img");
- imgcnts = ds_subresultdetail1.getColumn(m,"imgcnts");
- bcno = ds_subresultdetail1.getColumn(m,"bcno");
- testcd = ds_subresultdetail1.getColumn(m,"testcd");
- flag = ds_subresultdetail1.getColumn(m,"flag");
- rsltCnts = ds_subresultdetail1.getColumn(m,"reptrslt");
- rsltArray = rsltCnts.split("\n");
- for (var k = 0; k < rsltArray.length; k++) {
- j= ds_subresultdetail1_hidden.addRow();
- ds_subresultdetail1_hidden.setColumn(j,"check" ,check);
- ds_subresultdetail1_hidden.setColumn(j,"reptrslt" , rsltArray[k]); //공백문자 포함하기 위해 "_"추가 [pData.substr(1, plen)]
- ds_subresultdetail1_hidden.setColumn(j,"judgmark" , judgmark);
- ds_subresultdetail1_hidden.setColumn(j,"judgmark2" , judgmark2);
- ds_subresultdetail1_hidden.setColumn(j,"prcpcd" , rsltprcp);
- ds_subresultdetail1_hidden.setColumn(j,"prcpnm" , prcpnm);
- ds_subresultdetail1_hidden.setColumn(j,"img" , img);
- ds_subresultdetail1_hidden.setColumn(j,"imgcnts" , imgcnts);
- ds_subresultdetail1_hidden.setColumn(j,"bcno" , bcno);
- ds_subresultdetail1_hidden.setColumn(j,"testcd" , testcd);
- ds_subresultdetail1_hidden.setColumn(j,"flag" , flag);
- /////////////****** 출력물 관련 수정. 5개 항목만 java단에서 따로 가져와서 출력물 생성. 2016.05.03. 노회식 start
- if(ds_singdata.getColumn(0,"chkcheck") != "ALL" && !utlf_isNull(ds_singdata.getColumn(0,"chkcheck")) && ds_singdata.getColumn(0,"chkcheck") != "B" ) { //미생물 추가
- prtFlag = "N"; // 전체 조회일경우만 새로운 형식으로.. 나머진 기존대로.
- } else if((!utlf_isNull(judgmark) && judgmark != "C") || (utlf_isNull(judgmark) && rsltArray[k].getTrim().substr(0,3) != "검사명")) { // 타이틀 및 기타내용은 그대로 복사하여 렉스퍼트에서 가로 합치기
- dsf_makeValue(ds_subresultdetail1_hidden,"tclsscrnnnm_prt" ,"string",rsltArray[k],j);
- } else if(judgmark == "C") { // 내용은 출력용 컬럼 가져온거 하나하나 전달.
- dsf_makeValue(ds_subresultdetail1_hidden,"colflag" ,"string","C",j);
- dsf_makeValue(ds_subresultdetail1_hidden,"tclsscrnnnm_prt" ,"string",ds_subresultdetail1.getColumn(m,"tclsscrnnnm_prt"),j);
- // 결과상태 컬럼을 따로 가져오기가 힘들다.
- var rsltstat = "";
- var rsltstring = rsltArray[k].getTrim().setReplaceWord(" ","").setReplaceWord("[","(").setReplaceWord("]",")");
- //sysf_trace(rsltstring + " : " + utlf_isSearchString(rsltstring,"(검사중)") + " " + utlf_isSearchString(rsltstring,"(중간보고)") + " " + utlf_isSearchString(rsltstring,"(최종보고)") + " " + utlf_isSearchString(rsltstring,"(수정보고)"));
- if(utlf_isSearchString(rsltstring,"(검사중)")) {
- rsltstat = "[검사중]";
- } else if(utlf_isSearchString(rsltstring,"(중간보고)")) {
- rsltstat = "[중간보고]";
- } else if(utlf_isSearchString(rsltstring,"(최종보고)")) {
- rsltstat = "[최종보고]";
- } else if(utlf_isSearchString(rsltstring,"(수정보고)")) {
- rsltstat = "(수정보고)";
- } else rsltstat = "";
- if(rsltstat != "[검사중]")
- dsf_makeValue(ds_subresultdetail1_hidden,"reptrslt_prt" ,"string",ds_subresultdetail1.getColumn(m,"reptrslt_prt")+" "+rsltstat+" "+(judgmark2=="H"?" ▲":judgmark2=="L"?" ▼":""),j);
- else
- dsf_makeValue(ds_subresultdetail1_hidden,"reptrslt_prt" ,"string",rsltstat,j);
- dsf_makeValue(ds_subresultdetail1_hidden,"rsltunit_prt" ,"string",ds_subresultdetail1.getColumn(m,"rsltunit_prt"),j);
- dsf_makeValue(ds_subresultdetail1_hidden,"ref_prt" ,"string",ds_subresultdetail1.getColumn(m,"ref_prt"),j);
- dsf_makeValue(ds_subresultdetail1_hidden,"lastreptdt_prt" ,"string",ds_subresultdetail1.getColumn(m,"lastreptdt_prt"),j);
- dsf_makeValue(ds_subresultdetail1_hidden,"testpsn_prt" ,"string",ds_subresultdetail1.getColumn(m,"testpsn_prt"),j);
- dsf_makeValue(ds_subresultdetail1_hidden,"chkid_prt" ,"string",ds_subresultdetail1.getColumn(m,"chkid_prt"),j);
- dsf_makeValue(ds_subresultdetail1_hidden,"tsectnm_prt" ,"string",ds_subresultdetail1.getColumn(m,"tsectnm_prt"),j);
- } else if(utlf_isNull(rsltArray[k].getTrim()) && utlf_isNull(judgmark)) { // 내용도 없고 구분도 없는경우 그냥 빈칸
- dsf_makeValue(ds_subresultdetail1_hidden,"tclsscrnnnm_prt" ,"string","",j);
- } else if(utlf_isNull(judgmark) && rsltArray[k].getTrim().substr(0,3) == "검사명") { // 내용이 검사명으로 시작하면
- dsf_makeValue(ds_subresultdetail1_hidden,"colflag" ,"string","C",j);
- dsf_makeValue(ds_subresultdetail1_hidden,"tclsscrnnnm_prt" ,"string","검사명",j);
- dsf_makeValue(ds_subresultdetail1_hidden,"reptrslt_prt" ,"string","결과값",j);
- dsf_makeValue(ds_subresultdetail1_hidden,"rsltunit_prt" ,"string","단위",j);
- dsf_makeValue(ds_subresultdetail1_hidden,"ref_prt" ,"string","참고치",j);
- dsf_makeValue(ds_subresultdetail1_hidden,"lastreptdt_prt" ,"string","보고일시",j);
- dsf_makeValue(ds_subresultdetail1_hidden,"testpsn_prt" ,"string","검사자",j);
- dsf_makeValue(ds_subresultdetail1_hidden,"chkid_prt" ,"string","확인자",j);
- dsf_makeValue(ds_subresultdetail1_hidden,"tsectnm_prt" ,"string","시행부서",j);
- }
- /////////////****** 출력물 관련 수정. 5개 항목만 java단에서 따로 가져와서 출력물 생성. 2016.05.03. 노회식 end
- }
- }
- // Progress End
-
- frmf_closeLoadingBar();
- // exeReportPreview(prntfrmflag, "XMLSTR", "/root/main", "/root/main");
-
- var objDOM = rptf_createDOM(); // DOM 객체 설정
-
- rptf_setNodeListToDOM(objDOM, "/root/hidden/subordlist1/subresultdetail1", ds_subresultdetail1_hidden); // 데이터셋 1
- rptf_setNodeListToDOM(objDOM, "/root/main/srchinfo/patinfolist", ds_tempPatInfo); // 데이터셋 2
- //sysf_trace(objDOM.documentElement.source); // XML 내용출력
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
- objParam.xml_data_XML2 = objDOM.documentElement.source;
- objParam.prt_flag = prtFlag;
-
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
- rptf_exeReportPreview30([prntfrmflag],[objParam], option);
- dsf_deleteDs("ds_subresultdetail1_hidden");
- }
- }else {
- sysf_messageBox("출력기능은 분류별/그룹별 탭에서만 가능합니다.(RexPert)","I999");
- return true;
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.button37
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 메뉴 버튼 클릭
- ****************************************************************************************/
- function group3_button37_onclick(obj:Button, e:ClickEventInfo)
- {
- // frmf_open("SMAZZ00101","SMAZZ00101",null,null,null,null,null,null,null,null,null,null,"M");
- xxf_tfOpen("SMAZZ00101",null,null,null,null,null,null,null,null,null,null,"none");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.button30
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 가로누적 버튼 클릭
- ****************************************************************************************/
- function group3_button30_onclick(obj:Button, e:ClickEventInfo)
- {
- // 1 일경우에는 누적조회 버튼을 클릭했다는 의미, 2는 그래프버튼을 클릭했다는 의미
- if (group3.grd_subresultdetail1.visible == true) {
- fSetAddResult("1");
- } else if ( group3.datagrid2.visible == true ) {
- fSetAddSPCResult("1");
- }
- }
- /****************************************************************************************
- * Components : Dataset
- * Components ID : ds_subresultdetail1
- * Event : oncolumnchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회결과 체크시
- ****************************************************************************************/
- function ds_subresultdetail1_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid=="check") {
- obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
- }
- }
- /****************************************************************************************
- * Components : Dataset
- * Components ID : ds_maindailylist
- * Event : oncolumnchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 분류별 항목 체크시
- ****************************************************************************************/
- function ds_maindailylist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid=="check") {
- obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
- }
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : group3.switch1.case5.grd_maindaily
- * Event : onlbuttondown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 선택시 체크박스 설정
- ****************************************************************************************/
- function group3_switch1_case1_grd_maindaily_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- if ( e.row > -1 && e.col > 0 && popupYn == "N") {
- var selectedRows = grdf_getSelectedRows(obj);
- var startRow = selectedRows[0];
- var endRow = selectedRows[selectedRows.length - 1];
- for(var i = startRow ; i <= endRow ; i++) {
- if(objects[obj.binddataset].getColumn(i,"check") == "Y") objects[obj.binddataset].setColumn(i,"check","N");
- else objects[obj.binddataset].setColumn(i,"check","Y")
- }
- } else if(popupYn == "Y") {
- popupYn = "N";
- }
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : group3.switch1.case5.datagrid1
- * Event : onlbuttondown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 선택시 체크박스 설정
- ****************************************************************************************/
- function group3_switch1_case5_datagrid1_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- if ( e.row > -1 && e.col > 0 && popupYn == "N") {
- var selectedRows = grdf_getSelectedRows(obj);
- var startRow = selectedRows[0];
- var endRow = selectedRows[selectedRows.length - 1];
- for(var i = startRow ; i <= endRow ; i++) {
- if(objects[obj.binddataset].getColumn(i,"check") == "Y") objects[obj.binddataset].setColumn(i,"check","N");
- else objects[obj.binddataset].setColumn(i,"check","Y");
- }
- } else if(popupYn == "Y") {
- popupYn = "N";
- }
- }
- /****************************************************************************************
- * Components : Dataset
- * Components ID : ds_row
- * Event : oncolumnchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function ds_row_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- // if(e.columnid=="chk") {
- // obj.setColumn(e.row,e.columnid,(e.newvalue=="true"||e.newvalue==1)?"true":"false");
- // }
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : group3.switch1.case1.grd_maindaily
- * Event : onlbuttondown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 선택시 포커스 이동
- ****************************************************************************************/
- function group3_switch1_case1_grd_maindaily_onlbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- //obj.setCellPos(e.cell);
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : group3.switch1.case5.datagrid1
- * Event : onlbuttondown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 선택시 포커스 이동
- ****************************************************************************************/
- function group3_switch1_case5_datagrid1_onlbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- //obj.setCellPos(e.cell);
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : group3.switch1.case5.datagrid1
- * Event : onrbuttondown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그룹별 그리드 마우스우클릭시 팝업메뉴 띄움
- ****************************************************************************************/
- function group3_switch1_case5_datagrid1_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row > -1){
- gridObject = obj;
- popmenuG.trackPopup(e.screenX,e.screenY);
- popupYn = "Y";
- }
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : group3.switch1.case1.grd_maindaily
- * Event : onrbuttondown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 분류별 그리드 마우스우클릭시 팝업메뉴 띄움
- ****************************************************************************************/
- function group3_switch1_case1_grd_maindaily_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row > -1){
- grdf_setSelectedCell(obj, e); // 선택된 행 확실히 선택해줌
- gridObject = obj;
- popmenuB.trackPopup(e.screenX,e.screenY);
- popupYn = "Y";
- }
- return true;
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : group3.grd_subresultdetail1
- * Event : onlbuttonup
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 결과데이터 선택시 체크/체크제거
- ****************************************************************************************/
- function group3_grd_subresultdetail1_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- if ( e.row > -1 && e.col > -1 && popupYn == "N") {
- var selectedRows = grdf_getSelectedRows(obj);
- var startRow = selectedRows[0];
- var endRow = selectedRows[selectedRows.length - 1];
- for(var i = startRow ; i <= endRow ; i++) {
- if( !(objects[obj.binddataset].getColumn(i,"judgmark")=="T"
- || objects[obj.binddataset].getColumn(i,"judgmark")=="P"
- || utlf_isNull(objects[obj.binddataset].getColumn(i,"judgmark")))) {
- if(objects[obj.binddataset].getColumn(i,"check") == "Y") objects[obj.binddataset].setColumn(i,"check","N");
- else objects[obj.binddataset].setColumn(i,"check","Y");
- }
- }
- } else if(popupYn == "Y") {
- popupYn = "N";
- }
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : group3.grd_subresultdetail1
- * Event : onlbuttondown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 결과조회 클릭
- ****************************************************************************************/
- function group3_grd_subresultdetail1_onlbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- //obj.setCellPos(e.cell);
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : group3.grd_subresultdetail1
- * Event : onrbuttondown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 분류별 결과조회 우클릭시 팝업메뉴 띄움
- ****************************************************************************************/
- function group3_grd_subresultdetail1_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row > -1){
- ds_subresultdetail1.rowposition = e.row;
- gridObject = obj;
- popmenuX.destroy();
- arrMenu = new Array();
- arrMenu[0] = {id: "clear" , level: "0", title: "체크박스 해제"};
- arrMenu[1] = {id: "-" , level: "0", title: "-------------------"};
- arrMenu[2] = {id: "copy2" , level: "0", title: "복사하기"};
- if(ds_subresultdetail1.getColumn(e.row,"judgmark")=="IMG"
- && !utlf_isNull(ds_subresultdetail1.getColumn(e.row,"bcno"))) {
- arrMenu[3] = {id: "fGetimg" , level: "0", title: "▶ 진단검사 이미지 보기"};
- }
- if(ds_subresultdetail1.getColumn(e.row,"judgmark")=="IMP"
- && !utlf_isNull(ds_subresultdetail1.getColumn(e.row,"bcno"))) {
- arrMenu[4] = {id: "fGetPatholimg" , level: "0", title: "▶ 병리 이미지 보기"};
- }
- if(ds_subresultdetail1.getColumn(e.row,"judgmark2")=="NNN"
- && !utlf_isNull(ds_subresultdetail1.getColumn(e.row,"prcpcd"))) {
- arrMenu[4] = {id: "fGetNNNimg" , level: "0", title: "▶ 서술형 참고치 보기"};
- }
-
- //20190402 권한이 있는 경우에만 메뉴로 추가
- if ( authHiraYN == "Y" ) {
- arrMenu[5] = {id: "-" , level: "0", title: "-------------------"};
- arrMenu[6] = {id: "simsa_R" , level: "0", title: "심사자료수집"};
- arrMenu[7] = {id: "simsa_V" , level: "0", title: "심사수집자료보기"};
- }
-
- frmf_createPopupMenu("popmenuX"
- ,"fPopupMenu"
- ,arrMenu
- );
-
- popmenuX.trackPopup(e.screenX,e.screenY);
- popupYn = "Y";
- }
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : group3.datagrid2
- * Event : onrbuttondown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 세트별 결과조회 우클릭시 팝업메뉴 띄움
- ****************************************************************************************/
- function group3_datagrid2_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row > -1){
- gridObject = obj;
- popmenuC.trackPopup(e.screenX,e.screenY);
- }
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : group3.datagrid2
- * Event : onkeydown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 세트별 결과조회 내용 선택후 Ctrl+C 로 내용 복사
- ****************************************************************************************/
- function group3_datagrid2_onkeydown(obj:Grid, e:KeyEventInfo)
- {
- if(e.ctrlKey == true && e.keycode == 67) {
- grdf_clipboardCopy(obj, "AST");
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.button1
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 엑셀버튼 클릭 하여 엑셀저장
- ****************************************************************************************/
- function group3_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- var chkcheck1 = ds_singdata.getColumn(0,"chkcheck1");
- if ( group3.switch1.tabindex == 1 || group3.switch1.tabindex == 0 ) {
- if (chkcheck1 == "A") {
- if(objects[group3.grd_subresultdetail2.binddataset].rowcount > 0) {
- grdf_exportExcel(group3.grd_subresultdetail2,"excel","sheet1");
- sysf_messageBox("저장이 ", "I002");
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
- } else {
- if(objects[group3.grd_subresultdetail1.binddataset].rowcount > 0) {
- grdf_exportExcel(group3.grd_subresultdetail1,"excel","sheet1");
- sysf_messageBox("저장이 ", "I002");
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
- }
- }else if (group3.switch1.tabindex == 2) {
- if(objects[group3.datagrid2.binddataset].rowcount > 0) {
- grdf_exportExcel(group3.datagrid2,"excel","sheet1");
- sysf_messageBox("저장이 ", "I002");
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
- }else if (group3.switch1.tabindex == 3) {
- if(objects[group3.switch1.case4.grd_mainprogress.binddataset].rowcount > 0) {
- grdf_exportExcel(group3.switch1.case4.grd_mainprogress,"excel","sheet1");
- sysf_messageBox("저장이 ", "I002");
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.switch1.case1.button41
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 분류별 서식항목조회 버튼 클릭
- ****************************************************************************************/
- function group3_switch1_case1_button41_onclick(obj:Button, e:ClickEventInfo)
- {
- if ( group3.switch1.tabindex == 3 || group3.switch1.tabindex == 4 ) {
- sysf_messageBox("[서식항목조회] 기능은 분류별/그룹별 조회에서만 적용됩니다.","I999");
- return true;
- }
- if(ds_maindailylist.rowcount == 0) return;
-
- fPopupXsltContinueList2();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.switch1.case5.button44
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그룹별 서식항목조회 버튼 클릭
- ****************************************************************************************/
- function group3_switch1_case5_button44_onclick(obj:Button, e:ClickEventInfo)
- {
- if ( group3.switch1.tabindex == 3 || group3.switch1.tabindex == 4 ) {
- sysf_messageBox("[서식항목조회] 기능은 분류별/그룹별 조회에서만 적용됩니다.","I999");
- return true;
- }
- if(ds_maindailylist.rowcount == 0) return;
-
- fPopupXsltContinueList2();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.switch1.case3.btn_makedset
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 세트별 세트수정/등록 버튼 클릭
- ****************************************************************************************/
- function group3_switch1_case3_btn_makedset_onclick(obj:Button, e:ClickEventInfo)
- {
- group3.grp_makedset.visible = false;
- var xpt = this.position.left;
- var ypt = this.position.top;
- frmf_open("SPAER00803","SPAER00803","",1,xpt + 15,ypt+33,"","","","","","","P");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.switch1.case3.btn_setsrch
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 세트별 세트전체항목조회 버튼 클릭
- ****************************************************************************************/
- function group3_switch1_case3_btn_setsrch_onclick(obj:Button, e:ClickEventInfo)
- {
- if ( group3.grp_makedset.visible == true ) {
- group3.grp_makedset.visible = false;
- return;
- } else {
- group3.grp_makedset.visible = true;
- dsf_makeValue(ds_singdata,"deptsetcd","string",ds_setdata.getColumn(0,"deptsetcd"));
- readPDfunc();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.grp_makedset.button9
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 세트별 세트전체항목조회 버튼 클릭
- ****************************************************************************************/
- function group3_grp_makedset_button9_onclick(obj:Button, e:ClickEventInfo)
- {
- group3.grp_makedset.visible = false;
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : group3.grp_makedset.grd_makedset
- * Event : onlbuttondown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 세트전체항목조회 리스트 클릭하여 결과조회
- ****************************************************************************************/
- function group3_grp_makedset_grd_makedset_onlbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- if ( e.row > -1 ) {
- fGetPDResultRef();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.button48
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 틀해제 버튼 클릭하여 그리드 픽스해제
- ****************************************************************************************/
- function group3_button48_onclick(obj:Button, e:ClickEventInfo)
- {
- for(var i = 0 ; i < 5 ; i++) {
- group3.datagrid2.setFormatColProperty(i,"band","body");
- group3.grd_subresultdetail2.setFormatColProperty(i,"band","body");
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.button49
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 틀고정 버튼 클릭하여 그리드 픽스
- ****************************************************************************************/
- function group3_button49_onclick(obj:Button, e:ClickEventInfo)
- {
- for(var i = 0 ; i < 5 ; i++) {
- group3.datagrid2.setFormatColProperty(i,"band","left");
- group3.grd_subresultdetail2.setFormatColProperty(i,"band","left");
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.button42
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 참고(핵) 버튼 클릭하여 핵의학과 참고 화면 팝업오픈
- ****************************************************************************************/
- function group3_button42_onclick(obj:Button, e:ClickEventInfo)
- {
- // open("SPLNP90400",1,0,0,"SPLNP90400");
- xxf_tfOpen("SPLNP90400",1,0,0,null,null,null,null,null,null,null,"none");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.button34
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그래프누적 버튼 클릭하여 팝업오픈
- ****************************************************************************************/
- function group3_button34_onclick(obj:Button, e:ClickEventInfo)
- {
- if ( group3.grd_subresultdetail1.visible == true ) {
- fSetAddResult("2");
- }else if ( group3.datagrid2.visible == true ) {
- fSetAddSPCResult("2");
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.button52
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : lis.p 버튼 클릭하여 lis결과조회 그리드 보이기
- ****************************************************************************************/
- function group3_button52_onclick(obj:Button, e:ClickEventInfo)
- {
- fLisPrintRowHidden();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.div_lis.btn_lisPexcel
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : lis.p 엑셀버튼 클릭하여 엑셀저장
- ****************************************************************************************/
- function group3_div_lis_btn_lisPexcel_onclick(obj:Button, e:ClickEventInfo)
- {
- var sPid = ds_patinfolist.getColumn(0,"pid"); //model.getValue("/root/main/srchinfo/patinfolist/pid");
- var sPatnm = ds_patinfolist.getColumn(0,"hngnm"); //model.getValue("/root/main/srchinfo/patinfolist/hngnm");
- var sFilename = sPid +"_" + sPatnm+ " " ;
-
- if(ds_subresultdetail2.rowcount > 0) {
- grdf_exportExcel(group3.div_lis.grd_LisResultList,sFilename,"sheet1");
- sysf_messageBox("저장이 ", "I002");
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.div_lis.btn_lisPclose
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : lis.p 닫기 버튼 클릭하여 그리드 숨기기
- ****************************************************************************************/
- function group3_div_lis_btn_lisPclose_onclick(obj:Button, e:ClickEventInfo)
- {
- group3.div_lis.visible = false;
- fLisPrintRowHiddenReturn();
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : group3.grd_subresultdetail1
- * Event : onkeydown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : ctrl+c 키로 선택행 결과 복사
- ****************************************************************************************/
- function group3_grd_subresultdetail1_onkeydown(obj:Grid, e:KeyEventInfo)
- {
- //Ctrl + C :: 복사하기
- if(e.ctrlKey == true && e.keycode == 67)
- {
- lf_copyResult(obj);
- }
- }
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Function : lf_aezfSetSuppDeptcd
- * Description : 사용자 정보에 기관정보 세팅. AEZ0001.js
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function lf_aezfSetSuppDeptcd() {
- var dutplcecd = sysf_getUserInfo("dutplcecd");
- var selectplcecd = frmf_getPrestDeptCd();
-
- if (utlf_isNull(selectplcecd)) {
- selectplcecd = dutplcecd;
- }
-
- ds_globalinstance.setColumn(0,"instance1",selectplcecd);
- }
- /****************************************************************************************
- * Function : fSetUserTermInit
- * Description : 사용자 환경설정 tab 세팅.
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fSetUserTermInit(){
- var AnswData = fGetIntefeAnsw("001");
- if(!utlf_isNull(AnswData)){
- if(AnswData == "001"){
- ds_term.setColumn(0,"term","90");
- } else if(AnswData == "002"){
- ds_term.setColumn(0,"term","180");
- } else if(AnswData =="003"){
- ds_term.setColumn(0,"term","270");
- } else if(AnswData == "004"){
- ds_term.setColumn(0,"term","365");
- } else if(AnswData == "005"){
- ds_term.setColumn(0,"term","730");
- } else if(AnswData == "006"){
- ds_term.setColumn(0,"term","7");
- } else if(AnswData == "007"){
- ds_term.setColumn(0,"term","14");
- } else if(AnswData == "008"){
- ds_term.setColumn(0,"term","30");
- }
-
- group3.grp_sea.ipt_date2.value = utlf_getCurrentDate();
- var date2 = group3.grp_sea.ipt_date2.value;
- var term = ds_term.getColumn(0,"term");
- group3.grp_sea.ipt_date1.value = date2.getAddDate(-term, "D").getDateFormat("YYYYMMDD") ;
- }else{
- //조회기간, Combo Box 초기화
- group3.grp_sea.ipt_date1.value = utlf_getCurrentDate();
- var vRsrvdd = group3.grp_sea.ipt_date1.value ;
- vRsrvdd = vRsrvdd.getAddDate(-90);
- group3.grp_sea.ipt_date1.value = vRsrvdd.getDateFormat();
- group3.grp_sea.ipt_date2.value = utlf_getCurrentDate();
- ds_term.setColumn(0,"term","90");
- }
- }
- /****************************************************************************************
- * Function : fGetIntefeAnsw
- * Description : 사용자 환경설정의 값을 조회한다
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fGetIntefeAnsw(qestcd){
- var sAnstCnt = ds_init_envinfo.lookup("qestcd", qestcd, "answcnt");
-
- if(utlf_isNull(sAnstCnt)) {
- ds_req.clearData();
- ds_req.setColumn(ds_req.addRow(),"instcd", "");
- var oParam = {};
- oParam.id = "TRMMB01104";
- oParam.service = "prcpbaseapp.EnvInfoMngt";
- oParam.method = "reqGetInterfaceAnsw";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_init_envinfo=interface";
- oParam.async = false;
- tranf_submit(oParam);
- sAnstCnt = ds_init_envinfo.lookup("qestcd", qestcd, "answcnt");
-
- }
-
- return sAnstCnt;
- }
- /****************************************************************************************
- * Function : cf_TRAER00823
- * Description : TRAER00823 콜백함수
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function cf_TRAER00823(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) {
- return;
- } else {
- ds_initexecorddept.updateColID("deptcd","execorddeptcdid");
- ds_initexecorddept.updateColID("deptnm","execorddeptcdnm");
- dsf_copyDs(ds_initexecorddept2,ds_initexecorddept,"replace");
- ds_initexecorddept2.setColumn(0,"execorddeptcdid","");
- ds_initexecorddept2.setColumn(0,"execorddeptcdnm"," 과별SET 누적조회");
- ds_LB0102.setColumn(0,"nm"," 검사분류별 누적조회");
-
- ds_initexecorddept2.deleteRow(ds_initexecorddept2.findRow("execorddeptcdid","2020000000")); // 신경과
- ds_initexecorddept2.deleteRow(ds_initexecorddept2.findRow("execorddeptcdid","2040000000")); // 외과
- ds_initexecorddept2.deleteRow(ds_initexecorddept2.findRow("execorddeptcdid","2050000000")); // 정형외과
- ds_initexecorddept2.deleteRow(ds_initexecorddept2.findRow("execorddeptcdid","2060000000")); // 신경외과
- ds_initexecorddept2.deleteRow(ds_initexecorddept2.findRow("execorddeptcdid","2080000000")); // 성형외과
- ds_initexecorddept2.deleteRow(ds_initexecorddept2.findRow("execorddeptcdid","2090000000")); // 마취통증의학과
- ds_initexecorddept2.deleteRow(ds_initexecorddept2.findRow("execorddeptcdid","2120000000")); // 안과
- ds_initexecorddept2.deleteRow(ds_initexecorddept2.findRow("execorddeptcdid","2130000000")); // 이비인후과
- ds_initexecorddept2.deleteRow(ds_initexecorddept2.findRow("execorddeptcdid","2140000000")); // 피부과
- ds_initexecorddept2.deleteRow(ds_initexecorddept2.findRow("execorddeptcdid","2160000000")); // 영상의학과
- ds_initexecorddept2.deleteRow(ds_initexecorddept2.findRow("execorddeptcdid","2170000000")); // 방사선종양학과
- ds_initexecorddept2.deleteRow(ds_initexecorddept2.findRow("execorddeptcdid","2180000000")); // 핵의학과
- ds_initexecorddept2.deleteRow(ds_initexecorddept2.findRow("execorddeptcdid","2200000000")); // 진단검사의학과
- ds_initexecorddept2.deleteRow(ds_initexecorddept2.findRow("execorddeptcdid","2210000000")); // 병리과
- ds_initexecorddept2.deleteRow(ds_initexecorddept2.findRow("execorddeptcdid","2220000000")); // 재활의학과
- ds_initexecorddept2.deleteRow(ds_initexecorddept2.findRow("execorddeptcdid","2230000000")); // 가정의학과
- ds_initexecorddept2.deleteRow(ds_initexecorddept2.findRow("execorddeptcdid","2240000000")); // 치과
- ds_initexecorddept2.deleteRow(ds_initexecorddept2.findRow("execorddeptcdid","2280000000")); // 응급의학과
- ds_initexecorddept2.deleteRow(ds_initexecorddept2.findRow("execorddeptcdid","3100000000")); // 호스피스과
- ds_initexecorddept2.deleteRow(ds_initexecorddept2.findRow("execorddeptcdid","3240200000")); // 임상약리과
-
- var nRow = ds_initexecorddept2.addRow();
- ds_initexecorddept2.setColumn(nRow,"execorddeptcdid","3240000000");
- ds_initexecorddept2.setColumn(nRow,"execorddeptcdnm","약제과");
- group3.cmb_mdl.setDataSet(ds_LB0102,"cd","nm","D"); // 가로 세로 배열 구분값 추가 D 세로 A 가로(기본)
- group3.cmb_mdl.setComboSize(180,19);
- group3.cmb_mdl.setData(ds_LB0102.getColumn(0,"cd"));
- group3.cmb_mdl.setCallEvent("group3_cmb_mdl_onitemchanged");
-
- // [요청번호:20160803017] 결과창에 주로 사용하는 진료과를 우선지정
- lf_getHardCDList("N", 9967, 0 , ds_data_userdeptlist);
-
- ds_data_userdeptlist.filter("hardcdnm=='"+sysf_getUserInfo("userid")+"'");
- if( ds_data_userdeptlist.rowcount > 0 ){
- dsf_setDefaultVal(ds_initexecorddept, "usersort:2")
-
- for(var i=0; i<ds_data_userdeptlist.rowcount; i++){
- var sUserDeptcd = ds_data_userdeptlist.getColumn(i, "hardcd");
- var sCdseqno = ds_data_userdeptlist.getColumn(i, "cdseqno");
- for(var j=0; j<ds_initexecorddept.rowcount; j++){
- var sDeptcd = ds_initexecorddept.getColumn(j, "execorddeptcdid");
- if( sUserDeptcd == sDeptcd ){
- ds_initexecorddept.setColumn(j, "usersort", "1");
- ds_initexecorddept.setColumn(j, "execorddeptcdnm", ds_initexecorddept.getColumn(j, "execorddeptcdnm") + "★");
- }
- }
- }
-
- ds_initexecorddept.setColumn(ds_initexecorddept.findRow("sort", "1"), "usersort", "0");
- ds_initexecorddept.keystring = "";
- ds_initexecorddept.keystring = "S:+usersort+sort";
-
- }
-
- dsf_setDefaultVal(ds_initexecorddept,"all");
-
- ds_data_userdeptlist.filter("");
- group3.grp_sea.cmb_orddept.index = 0;
-
- ds_setdata.setColumn(0,"deptsetcd", "");
- }
- }
- /****************************************************************************************
- * Function : fcheckyn
- * Description : 검사구분을 Check 하기 위한 Function
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fcheckyn(gubn) {
- ds_singdata.setColumn(0,"chkcheck", gubn);
- ds_singdata.setColumn(0,"chkcheck1", "");
- ds_singdata.setColumn(0,"chkcheck2", "");
- ds_singdata.setColumn(0,"chkcheck3", "");
- ds_singdata.setColumn(0,"chkcheck4", "");
- ds_singdata.setColumn(0,"chkcheck5", "");
- ds_singdata.setColumn(0,"chkcheck6", "");
- ds_singdata.setColumn(0,"chkcheck7", "");
- ds_singdata.setColumn(0,"chkcheck8", "");
- switch (gubn) {
- case "A" :
- ds_singdata.setColumn(0,"chkcheck1","A");
- break;
- case "B" :
- ds_singdata.setColumn(0,"chkcheck2","B");
- break;
- case "C" :
- ds_singdata.setColumn(0,"chkcheck3","C");
- break;
- case "D" :
- ds_singdata.setColumn(0,"chkcheck4","D");
- break;
- case "E" :
- ds_singdata.setColumn(0,"chkcheck5","E");
- break;
- case "F" :
- ds_singdata.setColumn(0,"chkcheck6","F");
- break;
- case "G" :
- ds_singdata.setColumn(0,"chkcheck7","G");
- break;
- default : break;
- }
- }
- /****************************************************************************************
- * Function : fGetWideListX1
- * Description : 결과 조회 Grid 펼치기 Function X좌표
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fGetWideListX1(tab1, grd1) {
- var extnGrdWidht = 303;
- var extnGrdWidht2 = 298;
- tab1.position.width = extnGrdWidht;
- grd1.position.width = extnGrdWidht2;
- }
- /****************************************************************************************
- * Function : fGetWideListY2
- * Description : 결과 조회 Grid 펼치기 Function Y좌표
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fGetWideListY2(grd1, left, right) {
- grd1.position.right = right;
- grd1.position.left = left;
- }
- /****************************************************************************************
- * Function : fGetMainListCondiCheck_Case1
- * Description : 조건 일자별 메인조회를 위한 조건체크 Function
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fGetMainListCondiCheck_Case1() {
- if (utlf_isNull(ds_singdata.getColumn(0,"srchpid"))) {
- group3.grp_sea.ipt_pid.setFocus();
- return "0";
- }
- }
- /****************************************************************************************
- * Function : fInitGrid
- * Description : Grid초기화 Function
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fInitGrid() {
- ds_maindailylist.clearData();
- ds_mainserious.clearData();
- ds_mainseriouslist.clearData();
- ds_mainset.clearData();
- ds_mainprogress.clearData();
- ds_subresultdetail1.clearData();
-
- // 일자별 조회만 적용. 20080727 , 장준원
- if (group3.switch1.tabindex == 1 ) {
- // 보고일 기준
- if (group3.grp_sea.rdo_statecd.value == "Z" ) {
- group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","lastreptdd"),"size",75);
- group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","lastreptdd1"),"size",0);
- group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","prcpdd1"),"size",0);
- group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","prcpdd"),"size",75);
- group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","execdd1"),"size",0);
- group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","execdd"),"size",75);
-
- // 검사일 기준
- } else if ( group3.grp_sea.rdo_statecd.value == "J" ) {
- group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","execdd1"),"size",75);
- group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","execdd"),"size",0);
- group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","lastreptdd"),"size",0);
- group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","lastreptdd1"),"size",75);
- group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","prcpdd1"),"size",0);
- group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","prcpdd"),"size",75);
- // 처방일 기준
- } else if ( group3.grp_sea.rdo_statecd.value == "P" ) {
- group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","prcpdd1"),"size",75);
- group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","prcpdd"),"size",0);
- group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","lastreptdd"),"size",0);
- group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","lastreptdd1"),"size",75);
- group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","execdd1"),"size",0);
- group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","execdd"),"size",75);
- }
- }
-
- if (group3.switch1.tabindex == 0 ) {
- // 보고일 기준
- if ( group3.grp_sea.rdo_statecd.value == "Z" ) {
- group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","lastreptdd"),"size",75);
- group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","lastreptdd1"),"size",0);
- group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","prcpdd1"),"size",0);
- group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","prcpdd"),"size",75);
- group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","execdd1"),"size",0);
- group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","execdd"),"size",75);
-
- // 검사일 기준
- } else if ( group3.grp_sea.rdo_statecd.value == "J" ) {
- group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","execdd1"),"size",75);
- group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","execdd"),"size",0);
- group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","lastreptdd"),"size",0);
- group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","lastreptdd1"),"size",75);
- group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","prcpdd"),"size",75);
- group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","prcpdd1"),"size",0);
-
- // 처방일 기준
- } else if ( group3.grp_sea.rdo_statecd.value == "P" ) {
- group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","prcpdd1"),"size",75);
- group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","prcpdd"),"size",0);
- group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","lastreptdd"),"size",0);
- group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","lastreptdd1"),"size",75);
- group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","execdd1"),"size",0);
- group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","execdd"),"size",75);
- }
- }
- }
- /****************************************************************************************
- * Function : fGetCheckedResultContinueList
- * Description : Daily 및 Serious 결과 연속보기 상세조회 Function
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fGetCheckedResultContinueList(sGubun) {
- var nRow = 0;
- if(group3.switch1.tabindex == 2 || group3.switch1.tabindex == 3){
- sysf_messageBox("[선택항목조회] 기능은 분류별/그룹별 조회에서만 적용됩니다.","I999");
- return true;
- }
- if ( ds_maindailylist.rowcount == 0 ) return;
-
- fInitial_subordlist();
-
- var arrColInfo = [{col:"instcd" , type:"string" , size:256}
- ,{col:"bcno" , type:"string" , size:256}
- ,{col:"testmdlcd" , type:"string" , size:256}
- ,{col:"lastreptdd" , type:"string" , size:256}
- ,{col:"examgubun" , type:"string" , size:256}
- ,{col:"pid" , type:"string" , size:256}
- ,{col:"prcpdd" , type:"string" , size:256}
- ,{col:"execprcpuniqno" , type:"string" , size:256}
- ,{col:"check" , type:"string" , size:256}
- ,{col:"level" , type:"string" , size:256}
- ,{col:"flag" , type:"string" , size:256}
- ,{col:"rowidx" , type:"int" }
- ];
-
- if(!utlf_isNull(arrColInfo)){
- dsf_createDs("ds_temp", arrColInfo);
- }
-
- for(var i = 0 ; i<ds_maindailylist.rowcount ; i++) {
- if(ds_maindailylist.getColumn(i,"check") == "Y") {
- nRow = ds_temp.addRow();
- ds_temp.setColumn(nRow,"instcd" , ds_maindailylist.getColumn(i,"instcd"));
- ds_temp.setColumn(nRow,"check" , ds_maindailylist.getColumn(i,"check"));
- ds_temp.setColumn(nRow,"pid" , ds_maindailylist.getColumn(i,"pid"));
- ds_temp.setColumn(nRow,"prcpdd" , ds_maindailylist.getColumn(i,"prcpdd"));
- ds_temp.setColumn(nRow,"execprcpuniqno" , ds_maindailylist.getColumn(i,"execprcpuniqno"));
- ds_temp.setColumn(nRow,"examgubun" , ds_maindailylist.getColumn(i,"examgubun"));
- ds_temp.setColumn(nRow,"bcno" , ds_maindailylist.getColumn(i,"bcno"));
- ds_temp.setColumn(nRow,"testmdlcd" , ds_maindailylist.getColumn(i,"testmdlcd"));
- ds_temp.setColumn(nRow,"lastreptdd" , ds_maindailylist.getColumn(i,"lastreptdd"));
- ds_temp.setColumn(nRow,"level" , "3");
- ds_temp.setColumn(nRow,"flag" , "col");
- ds_temp.setColumn(nRow,"rowidx" , nRow);
- }
- }
-
- if(ds_temp.rowcount <= 0) {
- sysf_messageBox("[연속보기] 기능은 한가지 이상 체크가 되어야 합니다.","I999");
- return true;
- }
-
- var chkcheck1 = ds_singdata.getColumn(0,"chkcheck1");
- var chkcheck4 = ds_singdata.getColumn(0,"chkcheck4");
-
- if (chkcheck1 == "A" || chkcheck4 == "D" ) { // 진검, 핵의학일 경우
- ds_subresultdetail1_1.clearData();
- group3.grd_subresultdetail1.visible = false;
- group3.grd_subresultdetail2.visible = true;
- } else {
- ds_subresultdetail1.clearData();
- group3.grd_subresultdetail1.visible = true;
- group3.grd_subresultdetail2.visible = false;
- }
-
- ds_singdata.setColumn(0, "srchflag", sGubun); // 'B':분류별, 'G'그룹별
-
- ////sysf_trace(ds_temp.saveXML());
- var oParam = {};
- oParam.id = "TRAER00853";
- oParam.service = "examcureresultrefapp.RsltRef";
- oParam.method = "reqGetCheckedResultContinueList";
- oParam.inds = "singdata=ds_singdata refparam=ds_temp";
- oParam.async = false;
- if (chkcheck1 == "A" || chkcheck4 == "D" ) { // 진검일 경우
- oParam.outds = "ds_subresultdetail1_1=getResultDetail";
- oParam.callback = "cf_TRAER00852";
- tranf_submit(oParam);
- } else {
- oParam.outds = "ds_subresultdetail1=getResultDetail";
- oParam.callback = "cf_TRAER00850";
- tranf_submit(oParam);
- }
- dsf_deleteDs("ds_temp");
- }
- /****************************************************************************************
- * Function : fClickResultContinueList_one
- * Description : Daily 및 Serious 결과 연속보기 상세조회 one sql Function
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fClickResultContinueList_one() {
- //sysf_trace("시작시각==>" + utlf_getCurrentTime());
- if(group3.switch1.tabindex == 1) var tabselect = "daily"; //분류별
- var cutcnt = 10;
- nextcnt = 0;
- ds_subresultdetail1.clearData();
- ds_subresultdetail1_1.clearData();
- if(tabselect == "daily"){
- var e = new ClickEventInfo;
- frmf_inputEnterKey("group3.button102", "onclick", e );
- fInitial_subordlist();
-
- if(ds_maindailylist.rowcount > 0){
- var loop = ds_maindailylist.rowcount;
- var ckcnt = 0;
- ds_maindailylist.addColumn("level","string");
- ds_maindailylist.addColumn("srchpid","string");
- ds_maindailylist.addColumn("dutplceinstcd","string");
- for(var i=0; i<loop; i++){
- var examgubun = ds_maindailylist.getColumn(i,"examgubun");
- if(examgubun != "진검" && examgubun != "미생물"){
- ds_maindailylist.setColumn(i,"level","3");
- ds_maindailylist.setColumn(i,"srchpid",ds_singdata.getColumn(0,"srchpid"));
- ds_maindailylist.setColumn(i,"dutplceinstcd",ds_globalinstance.getColumn(0,"instance2"));
- ckcnt++;
- }
- }
- var chkcheck1 = ds_singdata.getColumn(0,"chkcheck1");
- var chkcheck4 = ds_singdata.getColumn(0,"chkcheck4");
-
-
- var arrColInfo = [{col:"bcno" , type:"string" , size:256}
- ,{col:"testmdlcd" , type:"string" , size:256}
- ,{col:"lastreptdd" , type:"string" , size:256}
- ,{col:"examgubun" , type:"string" , size:256}
- ,{col:"level" , type:"string" , size:256}
- ,{col:"pid" , type:"string" , size:256}
- ,{col:"instcd" , type:"string" , size:256}
- ,{col:"prcpdd" , type:"string" , size:256}
- ,{col:"execprcpuniqno" , type:"int" , size:256}
- ,{col:"check" , type:"string" , size:256}
- ,{col:"flag" , type:"string" , size:256}
- ]
-
- dsf_createDs("ds_temp",arrColInfo);
-
-
- var sInDsName = dsf_createDsRow("ds_temp_one", [{col: "instcd" , val: sysf_getUserInfo("dutplceinstcd")}
- , {col: "srchdate1" , val: ds_singdata.getColumn(0,"srchdate1")}
- , {col: "srchdate2", val: ds_singdata.getColumn(0,"srchdate2")}
- , {col: "listflag", val: ds_singdata.getColumn(0,"listflag")}
- , {col: "pid", val: ds_singdata.getColumn(0,"srchpid")}]);
-
-
- for(var i = 0 ; i<ds_maindailylist.rowcount ; i++) {
- if(ds_maindailylist.getColumn(i,"examgubun")!="진검" && ds_maindailylist.getColumn(i,"examgubun")!="미생물") {
- var nRow = ds_temp.addRow();
- ds_temp.setColumn(nRow,"bcno" ,ds_maindailylist.getColumn(i,"bcno"));
- ds_temp.setColumn(nRow,"testmdlcd" ,ds_maindailylist.getColumn(i,"testmdlcd"));
- ds_temp.setColumn(nRow,"lastreptdd" ,ds_maindailylist.getColumn(i,"lastreptdd"));
- ds_temp.setColumn(nRow,"examgubun" ,ds_maindailylist.getColumn(i,"examgubun"));
- ds_temp.setColumn(nRow,"level" ,ds_maindailylist.getColumn(i,"level"));
- ds_temp.setColumn(nRow,"pid" ,ds_maindailylist.getColumn(i,"srchpid"));
- ds_temp.setColumn(nRow,"instcd" ,ds_maindailylist.getColumn(i,"dutplceinstcd"));
- ds_temp.setColumn(nRow,"prcpdd" ,ds_maindailylist.getColumn(i,"prcpdd"));
- ds_temp.setColumn(nRow,"execprcpuniqno" ,ds_maindailylist.getColumn(i,"execprcpuniqno"));
- ds_temp.setColumn(nRow,"check" ,ds_maindailylist.getColumn(i,"check"));
- ds_temp.setColumn(nRow,"flag" ,"col");
- }
- }
-
-
- ////sysf_trace(ds_temp.saveXML());
- //진검일 경우
-
- if(chkcheck1 == "A" ||chkcheck4 == "D"){
- //submit("TRAER00852", false);
- ////sysf_trace(ds_temp.saveXML());
- var oParam = {};
- oParam.id = "TRAER00852";
- oParam.service = "examcureresultrefapp.RsltRef";
- oParam.method = "reqGetSytsRsltRefTClsDetaiList";
- oParam.inds = "refparam=ds_temp";
- oParam.outds = "ds_subresultdetail1_1=getResultDetail";
- oParam.async = true;
- oParam.callback = "cf_TRAER00852";
- tranf_submit(oParam);
- //grd_subresultdetail2.resizeCells(); // 그리드옵션에 높이 자동조절 되게끔 수정필요.
- }else{
- call_reqGetRsltRefDetailList_one();
- }
- }
- }
- }
- /****************************************************************************************
- * Function : fInitial_subordlist
- * Description :
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fInitial_subordlist(){
- ds_subresultdetail1.clearData();
- ds_subresultdetail1_1.clearData();
- ds_send.setColumn(0,"maindata","");
- }
- /****************************************************************************************
- * Function : cf_TRAER00852
- * Description : TRAER00852 콜백함수
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function cf_TRAER00852(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) {
- return;
- } else {
- if(!appf_ContainsUserCD("00013", "Y")) { //신규로직이 아니면
- ds_subresultdetail1_1.updateColID("pacsno","testcd");
- ds_subresultdetail1_1.updateColID("spcno" ,"bcno");
- dsf_setDefaultVal(ds_subresultdetail1_1,"flag:rsltref");
- for(var i = 0 ; i < ds_subresultdetail1_1.rowcount ; i++) {
- if(ds_subresultdetail1_1.getColumn(i,"judgmark")=="T") {
- for(var j = 0 ; j < ds_subresultdetail1_1.colcount ; j++) {
- if(ds_subresultdetail1_1.getColID(j)!="tclsscrnnnm") {
- ds_subresultdetail1_1.setColumn(i,j,"");
- }
- }
- }
- }
- }
- ds_subresultdetail1_1.rowposition = -1;
- }
- ////sysf_trace(ds_subresultdetail1_1.saveXML());
- }
- /****************************************************************************************
- * Function : cf_TRAER00850_one_cnt
- * Description : TRAER00850 콜백함수
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function cf_TRAER00850_one_cnt(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- if(ds_getResultDetail_one_cnt.getColumn(0,"labcnt") < 10000)
- {
- call_reqGetRsltRefDetailList_one();
- }
- else
- {
- alert("데이타가 10,000Row 이상입니다. 범위를 줄여서 재조회 바랍니다.");
- return;
- }
- }
- function call_reqGetRsltRefDetailList_one()
- {
- var oParam = {};
- oParam.id = "TRAER00850";
- oParam.service = "examcureresultrefapp.RsltRef";
- oParam.method = "reqGetRsltRefDetailList_one";
- oParam.inds = "reqoneparam=ds_temp_one reqparam=ds_temp";
- oParam.outds = "ds_subresultdetail1=getResultDetail";
- oParam.async = false;
- oParam.callback = "cf_TRAER00850";
- tranf_submit(oParam);
- }
- /****************************************************************************************
- * Function : cf_TRAER00850
- * Description : TRAER00850 콜백함수
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function cf_TRAER00850(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- /*//sysf_trace(ds_subresultdetail1.saveXML());*/
-
- ds_subresultdetail1.enableevent = false;
-
- if(!appf_ContainsUserCD("00013", "Y")) { //신규로직이 아니면
- fSetSubResultGridProperty();
-
- ds_subresultdetail1.addColumn("check","string");
- dsf_setDefaultVal(ds_subresultdetail1,"check:N,flag:rsltref");
- for(var i = 0 ; i < ds_subresultdetail1.rowcount ; i++) {
- ds_subresultdetail1.setColumn(i,"bcno" ,ds_subresultdetail1.getColumn(i,"spcno"));
- ds_subresultdetail1.setColumn(i,"testcd",ds_subresultdetail1.getColumn(i,"pacsno"));
- }
- }
-
- ds_subresultdetail1.rowposition = -1;
- if(utlf_isNull(ds_subresultdetail1.getColumnInfo("img"))) {
- ds_subresultdetail1.addColumn("img", "string");
- ds_subresultdetail1.addColumn("imgcnts", "byte");
- }
-
- fSetSubDetailGrid(); //결과내역 그리드 세팅한다.
-
- ds_subresultdetail1.enableevent = true;
- }
- /****************************************************************************************
- * Function : fSetSubDetailGrid
- * Description : Daily , Serious 결과 내역 그리드 Setting Function
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fSetSubDetailGrid(){
- ////////////////////////////
- // 결과내역 그리드 세팅한다//
- ////////////////////////////
- // 체크박스 미사용(전에조회에사용된 세팅을 해제하기 위해) 해제
- // 진검의 L,H에 적용한 색상 해제 ,
- var srchLength1 = ds_subresultdetail1.rowcount;
-
- // 서식 이미지 구현
- for ( var i = 0; i < srchLength1; i++ ) {
- if ( ds_subresultdetail1.getColumn(i,"img") == "IMG" ) {
- var e = "서식 이미지 구현 실패입니다";
- try {
- var IMGE_SZ = 500;
- var strXvgInfo = "";
- var imgcnts = ds_subresultdetail1.getColumn(i,"imgcnts");
- var rsltcnts = ds_subresultdetail1.getColumn(i,"reptrslt");
- if(rsltcnts.indexOf("<")==0){ // lt, gt 변환
- rsltcnts = rsltcnts.replace(/</gi, "<");
- rsltcnts = rsltcnts.replace(/>/gi, ">");
- ds_subresultdetail1.setColumn(i,"reptrslt", rsltcnts);
- }
- group3.obj_imge.DeleteAllShape();
-
- var shapeinfo = rsltcnts;
-
- // caption 을 모두 CDATA 처리 MMR01200.xjs
- rsltcnts = fSetCdata(rsltcnts);
-
- if(!utlf_isNull(rsltcnts)) {
- strXvgInfo = fGetMetaMode(rsltcnts); //MMR01200.xjs
- var tmpShape = removeXvgTag(rsltcnts); //EMRCommon.xjs
- }
- group3.obj_imge.Clear();
-
- var viewMode = group3.obj_imge.GetViewMode();
- if(viewMode != 1) { // ActiveX를 스크린 사이즈로 맞춤
- group3.obj_imge.SetViewMode(1);
- }
-
- group3.obj_imge.SetControlSize(strXvgInfo[1], strXvgInfo[2]);
-
- group3.obj_imge.LoadImageBase64(imgcnts);
-
- var sz = group3.obj_imge.GetImageSizeEx(false);
- var arrSz = sz.split("|");
- var imgewid = arrSz[0];
- var imgehei = arrSz[1];
- group3.grd_subresultdetail1.setFormatRowProperty(i,"size",imgehei);
-
- // 현재 OCX 크기에 이미지를 맞추어 계산한 Base64코드를 반환한다.
- var strBase64 = group3.obj_imge.GetThumbnailBase64(imgewid, imgehei);
- ds_subresultdetail1.setColumn(i,"reptrslt",strBase64);
- } catch (e) {
- }
- }
- }
- //진단검사 HLA 검사적용 여부, 20090128, 장준원
- grdf_initGrid(group3.switch1.case1.grd_maindaily);
- // fGetHLAList(); // 해당로직 필요성을 몰라서 주석 처리 2019.11.21 엄영만
- }
- /****************************************************************************************
- * Function : fReqGetPatComnInfo
- * Description : 환자기본정보 조회
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fReqGetPatComnInfo(sDsObj, pid, stnddd){
- var dsObj = eval(sDsObj);
- dsObj.clearData();
- var nRow = dsObj.addRow();
- var prcpall = ds_cond.getColumn(0,"prcpall");
- var deptyn = ds_cond.getColumn(0,"deptyn");
- dsObj.setColumn(nRow,"pid" ,pid);
- dsObj.setColumn(nRow,"stnddd" ,stnddd);
- dsObj.setColumn(nRow,"prcpall" ,prcpall);
- dsObj.setColumn(nRow,"deptyn" ,deptyn);
- dsObj.setColumn(nRow,"chosflag" ,"N");
- var oParam = {};
- oParam.id = "TRMMO02505";
- oParam.service = "prcpmngtapp.PatPrcpSrchMngt";
- oParam.method = "reqGetPatBaseInfo";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_patinfolist=patinfolist ds_patchosinfolist=patchosinfolist ds_patdethinfo=patdethinfo";
- oParam.async = false;
- oParam.callback = "cf_TRMMO02505";
- tranf_submit(oParam);
- }
- /****************************************************************************************
- * Function : cf_TRMMO02505
- * Description : TRMMO02505 콜백함수
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function cf_TRMMO02505(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) {
- return;
- } else {
- var deptCd = "";
- if(utlf_isNull(ds_singdata.getColumn(0,"deptcd"))) {
- deptCd = ds_cond.getColumn(0,"deptcd");
- } else {
- deptCd = ds_singdata.getColumn(0,"deptcd");
- }
- // trace("deptCd : " + deptCd);
- // trace(ds_initexecorddept.findRow("execorddeptcdid",deptCd));
- if(ds_initexecorddept.findRow("execorddeptcdid",deptCd) < 1) {
- deptCd = "";
- }
-
- ds_cond.setColumn(0,"hngnm" ,ds_patinfolist.getColumn(0,"hngnm"));
- ds_cond.setColumn(0,"rrgstno1" ,ds_patinfolist.getColumn(0,"rrgstno1"));
- ds_cond.setColumn(0,"rrgstno2" ,ds_patinfolist.getColumn(0,"rrgstno2"));
- ds_cond.setColumn(0,"sex" ,ds_patinfolist.getColumn(0,"sex"));
- ds_cond.setColumn(0,"age" ,ds_patinfolist.getColumn(0,"age"));
- ds_cond.setColumn(0,"ward" ,ds_patinfolist.getColumn(0,"ward"));
- ds_cond.setColumn(0,"deptcd" ,deptCd);
-
- ds_singdata.setColumn(0,"deptcd",deptCd);
- fChngSrchDrId();
- }
- }
- /****************************************************************************************
- * Function : fGetHLAList
- * Description : 진단검사 HLA 검사적용 여부
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fGetHLAList() {
- if(group3.switch1.tabindex == 0 || group3.switch1.tabindex == 1) {
- var cnt = 0;
- if (ds_maindailylist.rowcount > 0) {
- var loop = ds_maindailylist.rowcount;
- for( var i = 0 ; i < loop ; i++ ) {
- if(ds_maindailylist.getColumn(i,"hla")=="Y") cnt++;
- }
- }
-
- if ( cnt > 0 ) {
- var arrColInfo = [{col:"pid" , type:"string" , size:256}]
- dsf_createDs("ds_temp",arrColInfo,"true");
- ds_temp.setColumn(ds_temp.addRow(),"pid",ds_singdata.getColumn(0,"srchpid"));
-
- var hlaflag = ds_singdata.getColumn(0,"hlaflag");
- if (hlaflag == "Y") {
- // open("SPLLP90200" , "","","","","/root/hidden/refparam" , "/root/hidden/refparam");
- /* TF화면 직접 불러오는 작업 필요 데이터셋을 넘길지 변수를 넘길지 모름 */
- }
- dsf_deleteDs("ds_temp");
- return;
- }
- }else {
- return;
- }
- }
- /****************************************************************************************
- * Function : fGetMainListCondiCheck_Case4
- * Description : 조건체크. 환자번호유무
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fGetMainListCondiCheck_Case4() {
- if(utlf_isNull(ds_singdata.getColumn(0,"srchpid"))) {
- group3.grp_sea.ipt_pid.setFocus();
- return "0";
- }
- }
- /****************************************************************************************
- * Function : fSetUserBaseInit
- * Description : 사용자 환경설정 조회기준 세팅
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fSetUserBaseInit(){
- var AnswData = fGetIntefeAnsw("004");
- if(!utlf_isNull(AnswData)){
- if(AnswData == "001"){
- ds_singdata.setColumn(0,"listflag","P");
- } else if (AnswData == "002"){
- ds_singdata.setColumn(0,"listflag","J");
- } else if (AnswData == "003"){
- ds_singdata.setColumn(0,"listflag","Z");
- }
- }
- }
- /****************************************************************************************
- * Function : fSetUserDeptInit
- * Description : 사용자 환경설정 부서 세팅
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fSetUserDeptInit(){
- var AnswData = fGetIntefeAnsw("003");
- if(!utlf_isNull(AnswData)){
- if(AnswData == "003"){
- ds_cond.setColumn(0,"deptcd" ,"");
- ds_singdata.setColumn(0,"deptcd","");
- }else{
- ds_cond.setColumn(0,"deptcd" , sysf_getUserInfo("dutplcecd"));
- ds_singdata.setColumn(0,"deptcd", sysf_getUserInfo("dutplcecd"));
- }
- }
- }
- /****************************************************************************************
- * Function : fSetUserTabInit
- * Description : 사용자 환경설정 tab 세팅
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fSetUserTabInit(){
- var chkbutton = fSetUserSeriesButtonInit();
- var AnswData = fGetIntefeAnsw("002");
- if(!utlf_isNull(AnswData)){
- group3.switch1.enableevent = false;
-
- if( AnswData == "002" ){ // SET 별
- group3.switch1.tabindex = 2;
- } else if( AnswData == "003" ){ // 진행상태
- group3.switch1.tabindex = 3;
- } else if( AnswData == "005" ){ // 그룹별
- group3.switch1.tabindex = 0;
-
- var compsrefcnts = ds_gridseq01.getColumn(0, "compsrefcnts");
- var compssizecnts = ds_gridseq01.getColumn(0, "compssizecnts");
-
- if(utlf_isNull(compsrefcnts)) compsrefcnts = "";
- if(utlf_isNull(compssizecnts)) compssizecnts = "";
-
- ds_singdata.setColumn(0, "compsrefcnts", compsrefcnts);
- ds_singdata.setColumn(0, "compssizecnts", compssizecnts);
-
- } else if(AnswData == "006"){ // 분류별
- group3.switch1.tabindex = 1;
-
- var compsrefcnts = ds_gridseq02.getColumn(0, "compsrefcnts");
- var compssizecnts = ds_gridseq02.getColumn(0, "compssizecnts");
-
- if(utlf_isNull(compsrefcnts)) compsrefcnts = "";
- if(utlf_isNull(compssizecnts)) compssizecnts = "";
-
- ds_singdata.setColumn(0, "compsrefcnts", compsrefcnts);
- ds_singdata.setColumn(0, "compssizecnts", compssizecnts);
- }
-
- group3.switch1.enableevent = true;
- }
- }
- /****************************************************************************************
- * Function : fSetUserSeriesButtonInit
- * Description : 분류별/그룹별의 분류버튼들의 우선 조회순위 기준 세팅
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fSetUserSeriesButtonInit(){
- var AnswData = fGetIntefeAnsw("015");
- if(!utlf_isNull(AnswData)) {
- if( AnswData == "001" ){
- return "ALL";
- }
- if( AnswData == "002" ){
- return "A";
- }
- if( AnswData == "003" ){
- return "B";
- }
- if( AnswData == "004" ){
- return "C";
- }
- if( AnswData == "005" ){
- return "D";
- }
- if( AnswData == "006" ){
- return "E";
- }
- if( AnswData == "007" ){
- return "F";
- }
- if( AnswData == "008" ){
- return "G";
- }
- }else {
- return "ALL";
- }
- }
- /****************************************************************************************
- * Function : fGetHealExamDetailList
- * Description : 건진소견 보기 기능
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fGetHealExamDetailList() {
- dsf_copyDs(ds_temp_patinfolist,ds_patinfolist,"replace");
- group3.grp_makedset.visible = false;
- group3.datagrid2.visible = false;
- group3.grd_subresultdetail1.visible = true;
- fGetWideListX1(group3.switch1, group3.switch1.case1.grd_maindaily);
- fGetWideListY2(group3.grd_subresultdetail1, "311", group3.position.right-1);
-
- fInitial_subordlist();
-
- // 조건 체크
- var check = fGetMainListCondiCheck_Case1();
- if ( check == "0" ) return true;
-
- dsf_createDs("ds_temp_req");
- ds_temp_req.copyData(ds_singdata);
- ds_temp_req.updateColID("srchdate1" ,"fromdd");
- ds_temp_req.updateColID("srchdate2" ,"todd");
- ds_temp_req.updateColID("srchpid" ,"pid");
-
- var oParam = {};
- oParam.id = "TRAER00851";
- oParam.service = "examcureresultrefapp.RsltRef";
- oParam.method = "reqGetHealExamDetailList";
- oParam.inds = "reqparam=ds_temp_req";
- oParam.outds = "ds_subresultdetail1=getResultDetail";
- oParam.async = false;
- tranf_submit(oParam);
-
- /*
- * 일자별 결과내역 그리드 세팅한다.
- */
- fSetSubDetailGrid();
- dsf_copyDs(ds_patinfolist,ds_temp_patinfolist,"replace");
- group3.button52.enable = false;
- }
- /****************************************************************************************
- * Function : fChngSrchDrId
- * Description : 주치의정보 조회를 위한 Function
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fChngSrchDrId() {
- if (utlf_isNull(ds_singdata.getColumn(0,"deptcd"))) return;
- ds_singdata.addColumn("initflag","string");
- ds_singdata.setColumn(0,"initflag","2");
- var oParam = {};
- oParam.id = "TRAER00804";
- oParam.service = "examcureresultrefapp.RsltRef";
- oParam.method = "reqGetInitRsltRefDrIdList";
- oParam.inds = "reqparam=ds_singdata";
- oParam.outds = "ds_initexecdr=initexecdr";
- oParam.async = false;
- oParam.callback = "cf_TRAER00804";
- tranf_submit(oParam);
- ds_singdata.deleteColumn("initflag");
- }
- /****************************************************************************************
- * Function : cf_TRAER00804
- * Description : TRAER00804 의 콜백함수
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function cf_TRAER00804(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- ds_initexecdr.updateColID("drid","execorddrcdid");
- ds_initexecdr.updateColID("drnm","execorddrcdnm");
- group3.grp_sea.cmb_orddr.index = 1; // 이미 인덱스가 0인상황에서 다시 인덱스 0을 선택할때 바뀐 innerdataset이 반영이 되지 않는듯. 인덱스 변경을 후 다시 적용
- group3.grp_sea.cmb_orddr.index = 0;
- }
- /****************************************************************************************
- * Function : cf_TRAEB00010
- * Description : TRAEB00010 의 콜백함수
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function cf_TRAEB00010(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) {
- dsf_deleteDs("ds_temp");
- return;
- } else {
- if(ds_item.getColumn(0,"cdid") == "Y"){
- group3.grp_sea.btn_PathoRsltOld.visible = true;
- }
- dsf_deleteDs("ds_temp");
- }
- }
- /****************************************************************************************
- * Function : fSetUserFrozenColInit
- * Description : 사용자 환경설정 조회기준 세팅(통합검사결과조회 틀고정 기본 설정)
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fSetUserFrozenColInit(){
- var AnswData = fGetIntefeAnsw("025");
- if(objects[group3.datagrid2.binddataset].rowcount < 1) return;
- if(AnswData == "001"){ //틀고정
- for(var i = 0 ; i < 5 ; i++) {
- group3.datagrid2.setFormatColProperty(i,"band","left");
- group3.grd_subresultdetail2.setFormatColProperty(i,"band","left");
- }
- }else{ //틀해제
- for(var i = 0 ; i < 5 ; i++) {
- group3.datagrid2.setFormatColProperty(i,"band","body");
- group3.grd_subresultdetail2.setFormatColProperty(i,"band","body");
- }
- }
- }
- /****************************************************************************************
- * Function : fSetUserHlaPopupInit
- * Description : 사용자 환경설정 조회기준 세팅(합검사 결과조회 공여자 HLA 검사 결과조회 화면 자동호출 여부)
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fSetUserHlaPopupInit(){
- var AnswData = fGetIntefeAnsw("026");
- if (AnswData == "001") { // Y
- ds_singdata.setColumn(0,"hlaflag","T");
- } else {
- ds_singdata.setColumn(0,"hlaflag","N");
- }
- }
- /****************************************************************************************
- * Function : fSetUserPrntFrmInit
- * Description : 통합검사 결과조회 출력 양식 조건(세로/가로)
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fSetUserPrntFrmInit(){
- var AnswData = fGetIntefeAnsw("029");
- if (AnswData == "001") { // 세로
- ds_singdata.setColumn(0,"prntfrmflag","RPMMI00103");
- } else { // 가로
- ds_singdata.setColumn(0,"prntfrmflag","RPMMI00101");
- }
- }
- /****************************************************************************************
- * Function : fGetMainSeriousList
- * Description : 조건 메인 검사분류별조회 Function
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fGetMainSeriousList() {
- // 조건 체크
- var check = fGetMainListCondiCheck_Case2();
- if(check == "0") return true;
- // Grid 초기화
- fInitGrid();
- ds_singdata.setColumn(0,"tabflag","serious");
- ds_singdata.addColumn("detailgb","string");
- ds_singdata.setColumn(0,"detailgb","1");
- var oParam = {};
- oParam.id = "TRAER00808";
- oParam.service = "examcureresultrefapp.RsltRef";
- oParam.method = "reqGetRsltRefMainList";
- oParam.inds = "reqparam=ds_singdata";
- oParam.outds = "ds_mainseriouslist=getresultlist";
- oParam.async = false;
- oParam.callback = "";
- tranf_submit(oParam);
- ds_singdata.deleteColumn("detailgb");
-
- }
- /****************************************************************************************
- * Function : fGetMainListCondiCheck_Case2
- * Description : 조건 검사분류별 메인조회를 위한 조건체크 Function
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fGetMainListCondiCheck_Case2() {
- if(utlf_isNull(ds_singdata.setColumn(0,"srchpid"))) {
- group3.grp_sea.ipt_pid.setFocus();
- return "0";
- }
- }
- /****************************************************************************************
- * Function : fGetMainSetList
- * Description : 조건 메인 SET별조회 Function
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fGetMainSetList() {
- var sSrchPid = ds_singdata.getColumn(0,"srchpid");
- if(utlf_isNull(sSrchPid)) {
- return;
- }
-
- var sPid = ds_patinfolist.getColumn(0,"pid");
- if(utlf_isNull(sPid)) {
- sPid = "";
- }
-
- if(sSrchPid != sPid) {
- fReqGetPatComnInfo("ds_req", sSrchPid);
- }
-
- group3.grp_makedset.visible = false; // SET전체항목조회 비활성화
- group3.datagrid2.visible = true;
- group3.grd_subresultdetail1.visible = false;
- group3.grd_subresultdetail2.visible = false;
- fGetWideListX2(group3.switch1, group3.switch1.case3.trv_prmsprcpsetlist);
-
-
- // Progress Start
- frmf_openLoadingBar();
- var setkindcd = ds_setdata.getColumn(0,"setkindcd");
- var cnt = 0;
- readfunc();
- // Tree 자동 선택 후 조회하기
- if ( group3.switch1.case3.trv_prmsprcpsetlist.rowcount > 0) {
- // 기본설정 기능으로 결과상세조회할 지 의 여부를 판단한다. 20090109
- fGetResultContinueListInit3();
- }
- // Progress End
- frmf_closeLoadingBar();
- }
- /****************************************************************************************
- * Function : readfunc
- * Description : set 관련함수
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function readfunc(){
- var setkindcd = ds_setdata.getColumn(0,"setkindcd") ;
- if (setkindcd == "D") {
- ds_setdata.setColumn(0,"deptsetcd" ,sysf_getUserInfo("dutplcecd"));
- ds_setdata.setColumn(0,"deptnm" ,sysf_getUserInfo("dutplcenm"));
- }
- var oParam = {};
- oParam.id = "TRAER00813";
- oParam.service = "examcureresultrefapp.RsltRef";
- oParam.method = "reqGetTestSetList";
- oParam.inds = "req=ds_setdata";
- oParam.outds = "ds_prmsprcpsetlist=prmsprcpsetlist";
- oParam.async = false;
- oParam.callback = "";
- tranf_submit(oParam);
- if(setkindcd =="T" && utlf_isNull(ds_setdata.getColumn(0,"deptsetcd"))) {
- ds_setdata.setColumn(0,"deptsetcd", "-");
- }
-
- if (setkindcd == "P" || setkindcd == "D"){
- group3.switch1.case3.cmb_deptset.enable = false;
- }
-
- ds_setdata.setColumn(0,"foldernm", "");
-
- fInitDatagrid2();
- }
- /****************************************************************************************
- * Function : fInitDatagrid2
- * Description : datagrid2 그리드 설정 초기화
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fInitDatagrid2() {
- var cols = group3.datagrid2.getCellCount("Head");
- var rows = group3.datagrid2.rowcount;
- for( var i = 0; i < cols; i++ ) {
- group3.datagrid2.deleteContentsCol(i);
- }
- group3.datagrid2.deleteContentsRow("Head",0);
- group3.datagrid2.deleteContentsRow("Body",0);
- ds_row.clearData();
- }
- /****************************************************************************************
- * Function : fReMake
- * Description : datagrid2 그리드 설정
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fReMake(){
- for(var j = 5 ; j < group3.datagrid2.getCellCount("Head") ; j++){
- var sExpr1 ="color:EXPR(getColumn(currow,'judg"+(j-5)+"')=='H'?"red""
- +":getColumn(currow,'judg"+(j-5)+"')=='L'?"blue""
- +":"")"
- +";color2:EXPR(getColumn(currow,'judg"+(j-5)+"')=='H'?"red""
- +":getColumn(currow,'judg"+(j-5)+"')=='L'?"blue""
- +":"")"
- +";align:right;padding:0 2 0 0"
- ;
- group3.datagrid2.setCellProperty("body", j, "style", sExpr1);
- }
- }
- /****************************************************************************************
- * Function : fGetResultContinueListInit3
- * Description : 좌측 분류별/그룹별 자동 체크 후 상세내역 조회 유뮤 세팅
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fGetResultContinueListInit3() {
-
- var AnswData = fGetIntefeAnsw("005");
- if(!utlf_isNull(AnswData)) {
-
- if( AnswData == "004" ||AnswData == "005" || AnswData == "006" ){
- ds_prmsprcpsetlist.selectRow(1);
- }
- }
- }
- /****************************************************************************************
- * Function : fGetNResultRef
- * Description : SET별누적조회 Function
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fGetNResultRef(){
-
- if(utlf_isNull(ds_singdata.getColumn(0,"srchpid"))){
- sysf_messageBox("등록번호를","C001","");
- return;
- }
- if (ds_prmsprcpsetlist.rowposition < 0){
- sysf_messageBox("조회할 SET명을 선택한 후 조회하시기 바랍니다.", "E999", "");
- return;
- }
- fInitDatagrid2();
- var vSelSlipcd = vTestmdllist;
-
- if(!utlf_isNull(vSelSlipcd)) ds_ref.setColumn(0,"testmdllist",vTestmdllist.substring(0,vTestmdllist.length -1));
- else ds_ref.setColumn(0,"testmdllist","");
-
- dsf_copyDs(ds_data1,ds_ref,"replace");
-
- var rowpos = ds_prmsprcpsetlist.rowposition;
-
- ds_setdata.setColumn(0,"setno",ds_prmsprcpsetlist.getColumn(rowpos,"setno"));
-
- // LIS Map File을 적용하기 위해 세팅한다.
- ds_setdata.setColumn(0,"startdd",ds_singdata.getColumn(0,"srchdate1"));
- ds_setdata.setColumn(0,"enddd" ,ds_singdata.getColumn(0,"srchdate2"));
- ds_setdata.setColumn(0,"pid" ,ds_singdata.getColumn(0,"srchpid"));
- var oParam = {};
- oParam.id = "TRLLP01201";
- oParam.service = "refprintmngtapp.GeneralRefPrintMngt";
- oParam.method = "reqGetAcmlTestList2";
- oParam.inds = "cond=ds_setdata cond2=ds_data1";
- oParam.outds = "ds_row=row ds_header=header ds_patinfo=patinfo";
- oParam.async = false;
- oParam.callback = "";
- tranf_submit(oParam);
- if(ds_row.rowcount == 0) return;
- var gridCaption = ds_header.getColumn(0,"caption");
- var gridCaptionArray= gridCaption.split("^");
- var gridColRef = ds_header.getColumn(0,"colref");
- var gridColRefArray = gridColRef.split("^");
- var gridColType = ds_header.getColumn(0,"type");
- var gridColTypeArray= gridColType.split("^");
- group3.datagrid2.insertContentsRow("Head",0);
- group3.datagrid2.insertContentsRow("Body",0);
- for (var i = 0; i < gridColRefArray.length; i++ ) {
- if (gridColRefArray[i].substr(0, 4) == "rslt") {
- var tmpstr = "rsltORD".concat(gridColRefArray[i].substr(4));
- gridColRefArray[i] = tmpstr;
- }
- group3.datagrid2.insertContentsCol("Body", i);
- group3.datagrid2.setCellProperty("Head", i, "text", gridCaptionArray[i]);
- group3.datagrid2.setCellProperty("Body", i, "text", "bind:"+gridColRefArray[i]);
- }
- group3.datagrid2.deleteContentsCol(gridColRefArray.length);
- group3.datagrid2.redraw();
- group3.datagrid2.insertContentsCol("Body", 0);
- group3.datagrid2.setFormatColProperty(0,"size",22);
- group3.datagrid2.setFormatColProperty(1,"size",22);
- group3.datagrid2.setFormatColProperty(2,"size",100);
- group3.datagrid2.setFormatColProperty(3,"size",80);
- group3.datagrid2.setFormatColProperty(4,"size",80);
- group3.datagrid2.setFormatRowProperty(0,"size",35);
- group3.datagrid2.setCellProperty("Body", 0, "text" , "expr:currow+1");
- group3.datagrid2.setCellProperty("Body", 0, "background" , "URL('theme://images/bg_gridHead.png') stretch 3,3");
- group3.datagrid2.setCellProperty("Body", 0, "background2" , "URL('theme://images/bg_gridHead.png') stretch 3,3");
- group3.datagrid2.setCellProperty("Body", 0, "selectbackground" , "URL('theme://images/bg_gridHead.png') stretch 3,3");
- group3.datagrid2.setCellProperty("Head", 1, "displaytype" , "checkbox");
- group3.datagrid2.setCellProperty("Head", 1, "edittype" , "checkbox");
- group3.datagrid2.setCellProperty("Body", 1, "displaytype" , "checkbox");
- group3.datagrid2.setCellProperty("Body", 1, "edittype" , "checkbox");
- grdf_initGrid(group3.datagrid2);
- for(var i = 2 ; i < 5 ; i++) {
- group3.datagrid2.setCellProperty("Body",i,"style","align:left;padding:0 0 0 2");
- }
- for(var i = 5 ; i < group3.datagrid2.getCellCount("Head") ; i++ ) {
- group3.datagrid2.setFormatColProperty(i,"size",80);
- }
- fReMake();
- fSetUserFrozenColInit();
- }
- /****************************************************************************************
- * Function : fGetMainDailyList
- * Description : 조건 메인 일자별조회 Function
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fGetMainDailyList(sGubun) {
- group3.switch1.enableevent = false;
- if ( sGubun == "G") {
- group3.switch1.tabindex = 0;
- } else {
- group3.switch1.tabindex = 1;
- }
- group3.switch1.enableevent = true;
- group3.grp_makedset.visible = false;
- group3.datagrid2.visible = false;
- group3.grd_subresultdetail1.visible = true;
-
- // 조건 체크
- var check = fGetMainListCondiCheck_Case1();
- if (check == "0") return true;
-
- if (ds_singdata.getColumn(0,"chkcheck") == "ALL") {
- fcheckyn("ALL");
- }
-
- // Grid 초기화
- fInitGrid();
-
- var sAnsw005 = fGetIntefeAnsw("005");
- ds_singdata.setColumn(0, "answ005", sAnsw005); // 통합결과조회 검색 범위 사용자 설정
-
- if ( sGubun == "G") {
- ds_singdata.setColumn(0,"tabflag", "group"); // 그룹별
- } else {
- ds_singdata.setColumn(0,"tabflag", "class"); // 분류별
- }
-
- // Progress Start
- frmf_openLoadingBar();
- var oParam = {};
- oParam.id = "TRMMI00106";
- oParam.service = "examcureresultrefapp.RsltRef";
- oParam.method = "reqGetRsltRefMainList";
- oParam.inds = "reqparam=ds_singdata";
- oParam.outds = "ds_maindailylist=getresultlist";
- oParam.async = false;
- oParam.callback = "cf_TRMMI00106";
- tranf_submit(oParam);
-
- dsf_setDefaultVal(ds_maindailylist,"all");
- ds_maindailylist.rowposition = -1;
- if(ds_maindailylist.findRow("check", "Y") > -1) { // 상세내역 조회 항목이 있으면
- fGetCheckedResultContinueList(sGubun);
- }
-
- // Progress End
- frmf_closeLoadingBar();
- }
- /****************************************************************************************
- * Function : cf_TRMMI00106
- * Description : TRMMI00106 콜백함수
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function cf_TRMMI00106(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) {
- return;
- }
- }
- /****************************************************************************************
- * Function : fGetMainProgressList
- * Description : 조건 메인 진행상태별조회 Function
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fGetMainProgressList() {
- var sSrchPid = ds_singdata.getColumn(0,"srchpid");
- if(utlf_isNull(sSrchPid)) {
- return;
- }
-
- var sPid = ds_patinfolist.getColumn(0,"pid");
- if(utlf_isNull(sPid)) {
- sPid = "";
- }
-
- if(sSrchPid != sPid) {
- fReqGetPatComnInfo("ds_req", sSrchPid);
- }
-
- // 조건 체크
- var check = fGetMainListCondiCheck_Case4();
- if ( check == "0" ) return true;
- // Grid 초기화
- fInitGrid();
- // Progress Start
- frmf_openLoadingBar();
- // 환자정보
- // 대량조회-offset초기화
- ds_mainprogress.clearData();
- ds_singdata.setColumn(0,"offset","0");
-
- ds_singdata.setColumn(0,"tabflag","progress");
- var oParam = {};
- oParam.id = "TRAER00810";
- oParam.service = "examcureresultrefapp.RsltRef";
- oParam.method = "reqGetRsltRefMainList";
- oParam.inds = "reqparam=ds_singdata";
- oParam.outds = "ds_mainprogress=getresultlist";
- oParam.async = false;
- oParam.callback = "";
- tranf_submit(oParam);
-
- // Progress End
- frmf_closeLoadingBar();
- }
- /****************************************************************************************
- * Function : fClickResultList
- * Description : Daily 결과 상세조회 Function
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fClickResultList() {
- var row = ds_maindailylist.rowposition;
- // 일자별
- if ( group3.switch1.tabindex == 1 ) {
- var tabselect = "daily";
- var e = new ClickEventInfo;
- frmf_inputEnterKey("group3.button102", "onclick", e );
- fInitial_subordlist();
- /*
- * 일자별탭 그리드 세팅한다.
- */
- var loop = ds_maindailylist.rowcount;
- ds_maindailylist.addColumn("level","string");
- ds_maindailylist.addColumn("srchpid","string");
- ds_maindailylist.addColumn("dutplceinstcd","string");
- for(var i = 0 ; i < loop ; i++ ) {
- ds_maindailylist.setColumn(i,"level","3");
- }
- ds_maindailylist.setColumn(row,"srchpid",ds_singdata.getColumn(0,"srchpid"));
- ds_maindailylist.setColumn(row,"dutplceinstcd",ds_globalinstance.getColumn(0,"instance2"));
- var arrColInfo = [{col:"bcno" , type:"string" , size:256}
- ,{col:"testmdlcd" , type:"string" , size:256}
- ,{col:"lastreptdd" , type:"string" , size:256}
- ,{col:"examgubun" , type:"string" , size:256}
- ,{col:"level" , type:"string" , size:256}
- ,{col:"pid" , type:"string" , size:256}
- ,{col:"instcd" , type:"string" , size:256}
- ,{col:"prcpdd" , type:"string" , size:256}
- ,{col:"execprcpuniqno" , type:"int" , size:256}
- ,{col:"check" , type:"string" , size:256}
- ,{col:"flag" , type:"string" , size:256}
- ]
- dsf_createDs("ds_temp",arrColInfo,"true");
- var nRow = ds_temp.addRow();
- ds_temp.setColumn(nRow,"bcno" ,ds_maindailylist.getColumn(row,"bcno"));
- ds_temp.setColumn(nRow,"testmdlcd" ,ds_maindailylist.getColumn(row,"testmdlcd"));
- ds_temp.setColumn(nRow,"lastreptdd" ,ds_maindailylist.getColumn(row,"lastreptdd"));
- ds_temp.setColumn(nRow,"examgubun" ,ds_maindailylist.getColumn(row,"examgubun"));
- ds_temp.setColumn(nRow,"level" ,ds_maindailylist.getColumn(row,"level"));
- ds_temp.setColumn(nRow,"pid" ,ds_maindailylist.getColumn(row,"srchpid"));
- ds_temp.setColumn(nRow,"instcd" ,ds_maindailylist.getColumn(row,"dutplceinstcd"));
- ds_temp.setColumn(nRow,"prcpdd" ,ds_maindailylist.getColumn(row,"prcpdd"));
- ds_temp.setColumn(nRow,"execprcpuniqno" ,ds_maindailylist.getColumn(row,"execprcpuniqno"));
- ds_temp.setColumn(nRow,"check" ,"Y");
- ds_temp.setColumn(nRow,"flag" ,"col");
- ds_subresultdetail1.enableevent = false;
- var oParam = {};
- oParam.id = "TRAER00850";
- oParam.service = "examcureresultrefapp.RsltRef";
- oParam.method = "reqGetRsltRefDetailList";
- oParam.inds = "reqparam=ds_temp";
- oParam.outds = "ds_subresultdetail1=getResultDetail";
- oParam.async = false;
- oParam.callback = "cf_TRAER00850";
- tranf_submit(oParam);
- ds_subresultdetail1.enableevent = true;
- dsf_deleteDs("ds_temp");
- /*
- * 일자별 결과내역 그리드 세팅한다.
- */
- fSetSubDetailGrid();
- }
- // 일자별2
- if ( group3.switch1.tabindex == 0 ) {
- var e = new ClickEventInfo;
- frmf_inputEnterKey("group3.button102", "onclick", e );
- fInitial_subordlist();
- /*
- * 일자별탭 그리드 세팅한다.
- */
- var loop = ds_maindailylist.rowcount;
- ds_maindailylist.addColumn("level","string");
- ds_maindailylist.addColumn("srchpid","string");
- ds_maindailylist.addColumn("dutplceinstcd","string");
- for( var i = 0 ; i < loop ; i++ ) {
- ds_maindailylist.setColumn(i,"level","3");
- }
- ds_maindailylist.setColumn(row,"srchpid",ds_singdata.getColumn(0,"srchpid"));
- ds_maindailylist.setColumn(row,"dutplceinstcd",ds_globalinstance.getColumn(0,"instance2"));
- // 20090625, 장준원 추가 , 진단검사 조회 더블 클릭시 조회 오류 수정.
- ds_datagrid3.clearData();
- var irow = 0;
- var check = "Y";
- if ( check == "Y" ) {
- var examnm = ds_maindailylist.getColumn(row,"examnm");
- var examnm1 = examnm.split(",");
- var bcno = ds_maindailylist.getColumn(row,"bcno");
- var bcno1 = bcno.split(",");
- var testmdlcd = ds_maindailylist.getColumn(row,"testmdlcd");
- var testmdlcd1 = testmdlcd.split(",");
- var execprcpuniqno = ds_maindailylist.getColumn(row,"execprcpuniqno");
- var execprcpuniqno1 = execprcpuniqno.split(",");
- var examgubun = ds_maindailylist.getColumn(row,"examgubun");
- var level = ds_maindailylist.getColumn(row,"level");
- var srchpid = ds_maindailylist.getColumn(row,"srchpid");
- var dutplceinstcd = ds_maindailylist.getColumn(row,"dutplceinstcd");
- var check = ds_maindailylist.getColumn(row,"check");
- var prcpdd = ds_maindailylist.getColumn(row,"prcpdd");
- var prcpdd1 = prcpdd.split(",");
- var lastreptdd = ds_maindailylist.getColumn(row,"lastreptdd");
-
- for (var k = 0; k < prcpdd1.length; k++ ) {
- irow = ds_datagrid3.addRow();
- ds_datagrid3.setColumn(irow,"check" ,check);
- ds_datagrid3.setColumn(irow,"testmdlcd" ,testmdlcd1[k]);
- ds_datagrid3.setColumn(irow,"lastreptdd" ,lastreptdd);
- ds_datagrid3.setColumn(irow,"examgubun" ,examgubun);
- ds_datagrid3.setColumn(irow,"level" ,level);
- ds_datagrid3.setColumn(irow,"srchpid" ,srchpid);
- ds_datagrid3.setColumn(irow,"dutplceinstcd" ,dutplceinstcd);
- ds_datagrid3.setColumn(irow,"prcpdd" ,prcpdd1[k]);
- ds_datagrid3.setColumn(irow,"execprcpuniqno",execprcpuniqno1[k]);
- ds_datagrid3.setColumn(irow,"bcno" ,bcno1[k]);
- }
- }
- // 20090625, 장준원 추가 종료
- var arrColInfo = [{col:"bcno" , type:"string" , size:256}
- ,{col:"testmdlcd" , type:"string" , size:256}
- ,{col:"lastreptdd" , type:"string" , size:256}
- ,{col:"examgubun" , type:"string" , size:256}
- ,{col:"level" , type:"string" , size:256}
- ,{col:"pid" , type:"string" , size:256}
- ,{col:"instcd" , type:"string" , size:256}
- ,{col:"prcpdd" , type:"string" , size:256}
- ,{col:"execprcpuniqno" , type:"int" , size:256}
- ,{col:"check" , type:"string" , size:256}
- ,{col:"flag" , type:"string" , size:256}
- ]
- dsf_createDs("ds_temp",arrColInfo,"true");
- for(var i = 0 ; i < ds_datagrid3.rowcount ; i++) {
- var nRow = ds_temp.addRow();
- ds_temp.setColumn(nRow,"bcno" ,ds_datagrid3.getColumn(i,"bcno"));
- ds_temp.setColumn(nRow,"testmdlcd" ,ds_datagrid3.getColumn(i,"testmdlcd"));
- ds_temp.setColumn(nRow,"lastreptdd" ,ds_datagrid3.getColumn(i,"lastreptdd"));
- ds_temp.setColumn(nRow,"examgubun" ,ds_datagrid3.getColumn(i,"examgubun"));
- ds_temp.setColumn(nRow,"level" ,ds_datagrid3.getColumn(i,"level"));
- ds_temp.setColumn(nRow,"pid" ,ds_datagrid3.getColumn(i,"srchpid"));
- ds_temp.setColumn(nRow,"instcd" ,ds_datagrid3.getColumn(i,"dutplceinstcd"));
- ds_temp.setColumn(nRow,"prcpdd" ,ds_datagrid3.getColumn(i,"prcpdd"));
- ds_temp.setColumn(nRow,"execprcpuniqno" ,ds_datagrid3.getColumn(i,"execprcpuniqno"));
- ds_temp.setColumn(nRow,"check" ,ds_datagrid3.getColumn(i,"check"));
- ds_temp.setColumn(nRow,"flag" ,"col");
- }
- var rCSV = dsf_getDsCSV(ds_temp);
- ds_send.setColumn(0,"maindata",rCSV);
-
- ds_subresultdetail1.enableevent = false;
- var oParam = {};
- oParam.id = "TRAER00850";
- oParam.service = "examcureresultrefapp.RsltRef";
- oParam.method = "reqGetRsltRefDetailList";
- oParam.inds = "reqparam=ds_temp";
- oParam.outds = "ds_subresultdetail1=getResultDetail";
- oParam.async = false;
- oParam.callback = "cf_TRAER00850";
- tranf_submit(oParam);
- ds_subresultdetail1.enableevent = true;
- dsf_deleteDs("ds_temp");
- /*
- * 일자별 결과내역 그리드 세팅한다.
- */
- fSetSubDetailGrid();
- }
- }
- /****************************************************************************************
- * Function : lf_playAniLeft
- * Description : 탭너비조절 애니메이션 실행
- * Argument : objLComp
- * : objRComp
- * : fromV
- * : toV
- * return type :
- * Creator :
- ****************************************************************************************/
- function lf_playAniLeft(objLComp,objRComp,fromV,toV,objLSub,objRSub) {
- lf_stopPrevAnim(cani);
-
- pani1.targetcomp = objLComp;
- pani1.targetprop = "position.right";
- pani1.fromvalue = fromV;
- pani1.tovalue = toV;
- pani1.interpolation = "Interpolation.linear";
-
- pani2.targetcomp = objRComp;
- pani2.targetprop = "position.left";
- pani2.fromvalue = fromV;
- pani2.tovalue = toV;
- pani2.interpolation = "Interpolation.linear";
-
- cani.addItem(pani1);
- cani.addItem(pani2);
-
- if(!utlf_isNull(objLSub)) {
- pani3.targetcomp = objLSub;
- pani3.targetprop = "position.right";
- pani3.fromvalue = fromV;
- pani3.tovalue = toV;
- pani3.interpolation = "Interpolation.linear";
- cani.addItem(pani3);
- }
-
- if(!utlf_isNull(objRSub)) {
- pani3.targetcomp = objRSub;
- pani3.targetprop = "position.left";
- pani3.fromvalue = fromV;
- pani3.tovalue = toV;
- pani3.interpolation = "Interpolation.linear";
- cani.addItem(pani3);
- }
-
- cani.duration = 500;
- cani.run();
- }
- /****************************************************************************************
- * Function : lf_stopPrevAnim
- * Description : 애니메이션 실행을 위해 각 개체별 애니메이션 복합 애니메이션에 추가
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function lf_stopPrevAnim(compAnim) {
- for(var i = 0; i < compAnim.getItemCount(); i++)
- compAnim.deleteItem(i);
- }
- /****************************************************************************************
- * Function : fGetWideListX2
- * Description : 결과 조회 Grid 접기 Function
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fGetWideListX2(tab1, grd1) {
- if (group3.switch1.tabindex == 1) {
- var extnGrdWidht = 840;
- var extnGrdWidht2 = 830;
- } else if (group3.switch1.tabindex == 0) {
- var extnGrdWidht = 840;
- var extnGrdWidht2 = 830;
- } else if (group3.switch1.tabindex == 2) {
- var extnGrdWidht = 305;
- var extnGrdWidht2 = 300;
- } else if (group3.switch1.tabindex == 3) {
- var extnGrdWidht = group3.position.right-1;
- var extnGrdWidht2 = group3.position.right-1;
- }
- tab1.position.width = extnGrdWidht;
- grd1.position.width = extnGrdWidht2;
- }
- /****************************************************************************************
- * Function : cf_TRAER00850
- * Description : TRAER00850 콜백함수
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function cf_TRAER00850_1(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) {
- return;
- } else {
- /*//sysf_trace(ds_getResultDetail.saveXML());*/
- ds_getResultDetail.updateColID("pacsno","testcd");
- ds_getResultDetail.updateColID("spcno" ,"bcno");
- ds_getResultDetail.addColumn("check","string");
- dsf_setDefaultVal(ds_getResultDetail,"check:N");
-
- if(utlf_isNull(ds_getResultDetail.getColumnInfo("img"))) {
- ds_getResultDetail.addColumn("img","string");
- ds_getResultDetail.addColumn("imgcnts","byte");
- }
-
- dsf_copyDs(ds_subresultdetail1,ds_getResultDetail,"after");
-
- this.group3.switch1.case1.grd_maindaily.redraw();
-
- /* 테스트 시작 */
- var arrColInfo = [{col:"bcno" , type:"string" , size:256}
- ,{col:"testmdlcd" , type:"string" , size:256}
- ,{col:"lastreptdd" , type:"string" , size:256}
- ,{col:"examgubun" , type:"string" , size:256}
- ,{col:"level" , type:"string" , size:256}
- ,{col:"pid" , type:"string" , size:256}
- ,{col:"instcd" , type:"string" , size:256}
- ,{col:"prcpdd" , type:"string" , size:256}
- ,{col:"execprcpuniqno" , type:"int" , size:256}
- ,{col:"check" , type:"string" , size:256}
- ,{col:"flag" , type:"string" , size:256}
- ]
- dsf_createDs("ds_temp1",arrColInfo,"true");
-
- var lastcnt = 0;
- var newrow;
- if (nextcnt <ds_temp.rowcount )
- {
-
- if (nextcnt + 3 < ds_temp.rowcount)
- {
- for(var i=nextcnt; i < nextcnt + 3; i++)
- {
- newrow=ds_temp1.addRow();
- ds_temp1.copyRow(newrow,ds_temp, i);
-
- /*//sysf_trace(ds_temp1.saveXML());*/
-
- lastcnt++;
- }
- nextcnt = nextcnt + lastcnt;
- lastcnt = 0;
- }
- else
- {
- for(var i=nextcnt; i < ds_temp.rowcount; i++)
- {
- newrow=ds_temp1.addRow();
- ds_temp1.copyRow(newrow,ds_temp, i);
-
- lastcnt++;
- }
- nextcnt = nextcnt + lastcnt;
- lastcnt = 0;
- }
- var oParam = {};
- oParam.id = "TRAER00850";
- oParam.service = "examcureresultrefapp.RsltRef";
- oParam.method = "reqGetRsltRefDetailList";
- oParam.inds = "reqparam=ds_temp1";
- oParam.outds = "ds_getResultDetail=getResultDetail";
- oParam.async = true;
- oParam.progress = false;
- oParam.callback = "cf_TRAER00850_1";
- tranf_submit(oParam);
- //model.refresh();
-
- fSetSubDetailGrid(); //결과내역 그리드 세팅한다.
- }
- dsf_deleteDs("ds_temp1");
- }
- ////sysf_trace(ds_subresultdetail1.saveXML());
- }
- /****************************************************************************************
- * Function : cf_TRAER00850_2
- * Description : TRAER00850 콜백함수
- * Argument :
- * return type :
- * Creator :
- ****************************************************************************************/
- function cf_TRAER00850_2(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode > -1) {
- if(utlf_isNull(this.objects["ds_getResultDetail" + String(sSvcId).slice(10)])) {
- sysf_trace("reqGetRsltRefDetailList 실행후 DS 미생성 - Return : "+"ds_getResultDetail" + String(sSvcId).slice(10));
- return;
- }
-
- this.objects["ds_getResultDetail" + String(sSvcId).slice(10)].addColumn("check","string");
- dsf_setDefaultVal(this.objects["ds_getResultDetail" + String(sSvcId).slice(10)],"check:N");
- this.objects["ds_getResultDetail" + String(sSvcId).slice(10)].addColumn("rownum","int");
-
- for(var i=0;i<this.objects["ds_getResultDetail" + String(sSvcId).slice(10)].rowcount;i++) {
- this.objects["ds_getResultDetail" + String(sSvcId).slice(10)].setColumn(i,"rownum",i)
- }
- if(utlf_isNull(ds_getResultDetail.getColumnInfo("img"))) {
- trace(" AAAAAAAAAAAAAAAAAAAAAA ");
- this.objects["ds_getResultDetail" + String(sSvcId).slice(10)].addColumn("img","string");
- this.objects["ds_getResultDetail" + String(sSvcId).slice(10)].addColumn("imgcnts","byte");
- }
-
- this.objects["ds_getResultDetail" + String(sSvcId).slice(10)].updateColID("pacsno","testcd");
- this.objects["ds_getResultDetail" + String(sSvcId).slice(10)].updateColID("spcno" ,"bcno");
- ds_subresultdetail1_temp.appendData(this.objects["ds_getResultDetail" + String(sSvcId).slice(10)],true);
- dsf_deleteDs("ds_getResultDetail" + String(sSvcId).slice(10));
- }
-
- rowidx2++;
-
- trace("11 rowidx1 : " + rowidx1);
- trace("11 rowidx2 : " + rowidx2);
- if(rowidx1 == rowidx2) {
- ds_subresultdetail1.appendData(ds_subresultdetail1_temp,true);
- ds_subresultdetail1.keystring ="S:rowidx+rownum";
- fSetSubDetailGrid(); //결과내역 그리드 세팅한다.
- ds_subresultdetail1.enableevent = true;
- }
- }
- /****************************************************************************************
- * Function : fGetPatInfo
- * Description : 환자조회 팝업 오픈
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fGetPatInfo() {
- // var objArg = new Object();
- // objArg.arg_ds_send = ds_singdata;
- frmf_modal("SPPMC02500","SPPMC02500", "", "", "", 200, 200, "", "", "", "", "", "M");
- ds_singdata.setColumn(0,"srchpid",ds_patinfolist.getColumn(0,"pid"));
-
- frmf_setInputNodeCurPid(group3.grp_sea.ipt_pid);
- if ( group3.switch1.tabindex == 0 || group3.switch1.tabindex == 1 ) {
- fReqGetPatComnInfo("ds_req", ds_singdata.getColumn(0,"srchpid")); //환자기본정보 조회
- var e = new ClickEventInfo;
- frmf_inputEnterKey("group3.button10", "onclick", e );
- } else {
- var e = new ClickEventInfo;
- frmf_inputEnterKey("group3.grp_sea.btn_srch", "onclick", e );
- }
- if(group3.div_lis.visible = true){ //20120406
- group3.div_lis.visible = false;
- }
-
- if(frmf_findPopup("SPMMI00200")) frmf_findPopup("SPMMI00200").close();
- if(frmf_findPopup("SPMMI00300")) frmf_findPopup("SPMMI00300").close();
- }
- /****************************************************************************************
- * Function : fGetNSeriesResultRef
- * Description : 진검분류별 누적 조회 Function
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fGetNSeriesResultRef(){
- if(utlf_isNull(ds_singdata.getColumn(0,"srchpid"))){
- sysf_messageBox("등록번호를","C001","") ;
- return;
- }
-
- fInitDatagrid2();
-
- // LIS Map File을 적용하기 위해 세팅한다.
- ds_setdata.setColumn(0,"startdd" ,ds_singdata.getColumn(0,"srchdate1"));
- ds_setdata.setColumn(0,"enddd" ,ds_singdata.getColumn(0,"srchdate2"));
- ds_setdata.setColumn(0,"pid" ,ds_singdata.getColumn(0,"srchpid"));
- ds_setdata.setColumn(0,"setno" ,"");
- ds_setdata.setColumn(0,"tclscdlist" ,group3.cmb_mdl_hidden.value);
- ds_setdata.setColumn(0,"workflag" ,"1");
-
- var oParam = {};
- oParam.id = "TRLLP01201";
- oParam.service = "refprintmngtapp.GeneralRefPrintMngt";
- oParam.method = "reqGetAcmlTestList2";
- oParam.inds = "cond=ds_setdata cond2=ds_data1";
- oParam.outds = "ds_row=row ds_header=header ds_patinfo=patinfo";
- oParam.async = false;
- oParam.callback = "";
- tranf_submit(oParam);
-
- if(ds_row.rowcount == 0) return;
- var gridCaption = ds_header.getColumn(0,"caption"); // model.getValue("/root/hidden/temp/rsltlist/header/caption");
- var gridCaptionArray= gridCaption.split("^");
- var gridColRef = ds_header.getColumn(0,"colref"); // model.getValue("/root/hidden/temp/rsltlist/header/colref");
- var gridColRefArray = gridColRef.split("^");
- var gridColType = ds_header.getColumn(0,"type"); // model.getValue("/root/hidden/temp/rsltlist/header/type");
- var gridColTypeArray= gridColType.split("^");
-
- group3.datagrid2.insertContentsRow("Head",0);
- group3.datagrid2.insertContentsRow("Body",0);
- for (var i = 0; i < gridColRefArray.length; i++ ) {
- if (gridColRefArray[i].substr(0, 4) == "rslt") {
- var tmpstr = "rsltORD".concat(gridColRefArray[i].substr(4));
- gridColRefArray[i] = tmpstr;
- }
- group3.datagrid2.insertContentsCol("Body", i);
- group3.datagrid2.setCellProperty("Head", i, "text", gridCaptionArray[i]);
- group3.datagrid2.setCellProperty("Body", i, "text", "bind:"+gridColRefArray[i]);
- }
- group3.datagrid2.deleteContentsCol(gridColRefArray.length);
- group3.datagrid2.redraw();
- group3.datagrid2.insertContentsCol("Body", 0);
- group3.datagrid2.setFormatColProperty(0,"size",22);
- group3.datagrid2.setFormatColProperty(1,"size",22);
- group3.datagrid2.setFormatColProperty(2,"size",100);
- group3.datagrid2.setFormatColProperty(3,"size",80);
- group3.datagrid2.setFormatColProperty(4,"size",80);
- group3.datagrid2.setFormatRowProperty(0,"size",35);
- group3.datagrid2.setCellProperty("Body", 0, "text" , "expr:currow+1");
- group3.datagrid2.setCellProperty("Body", 0, "background" , "URL('theme://images/bg_gridHead.png') stretch 3,3");
- group3.datagrid2.setCellProperty("Body", 0, "background2" , "URL('theme://images/bg_gridHead.png') stretch 3,3");
- group3.datagrid2.setCellProperty("Body", 0, "selectbackground" , "URL('theme://images/bg_gridHead.png') stretch 3,3");
- group3.datagrid2.setCellProperty("Head", 1, "displaytype" , "checkbox");
- group3.datagrid2.setCellProperty("Head", 1, "edittype" , "checkbox");
- group3.datagrid2.setCellProperty("Body", 1, "displaytype" , "checkbox");
- group3.datagrid2.setCellProperty("Body", 1, "edittype" , "checkbox");
- grdf_initGrid(group3.datagrid2);
-
- for(var i = 2 ; i < 5 ; i++) {
- group3.datagrid2.setCellProperty("Body",i,"style","align:left;padding:0 2 0 2");
- }
- for(var i = 5 ; i < group3.datagrid2.getCellCount("Head") ; i++ ) {
- group3.datagrid2.setFormatColProperty(i,"size",80);
- }
- fReMake();
- fSetUserFrozenColInit();
- }
- /****************************************************************************************
- * Function : group3_cmb_mdl_onitemchanged
- * Description : 유저컴포넌트 2column 콤보 이벤트 설정
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function group3_cmb_mdl_onitemchanged(e) {
- group3.cmb_mdl_hidden.value = e.postvalue;
- group3.switch1.enableevent = false;
- group3.switch1.tabindex = 2;
- group3.switch1.enableevent = true;
- group3.grd_subresultdetail1.visible = false;
- group3.grd_subresultdetail2.visible = false;
- group3.datagrid2.visible = true;
- fGetWideListX2(group3.switch1, group3.switch1.case1.grd_maindaily);
- fGetNSeriesResultRef();
- //진검분류별 기준자료 조회
- ds_setdata.setColumn(0,"setno","");
- ds_setdata.setColumn(0,"workflag","");
- fSetUserFrozenColInit(); //사용자 환경설정 조회기준 세팅(통합검사결과조회 틀고정 기본 설정)
- }
- /****************************************************************************************
- * Function : fSetVertAddResult
- * Description : 세로 누적 결과 조회 Function
- * Argument : refgbn : 그래프 구분"1" : 텍스트 결과 내역에서 호출 , "2" : 수치 누적결과 내역에서 호출
- * return type :
- * Creator :
- ****************************************************************************************/
- function fSetVertAddResult(refgbn) {
- var cnt = 0;
- var testcd = "";
- ds_vertaddresult.clearData();
-
- if ( refgbn == "1" ) {
-
- var srchLength1 = this.ds_subresultdetail1.rowcount ;
- for ( var i = 0; i < srchLength1; i++ ) {
- if (ds_subresultdetail1.getColumn(i,"check") == "Y" ) {
- cnt++;
- }
- }
- //sysf_trace("cnt==>" + cnt);
- if ( cnt == 1 ) {
- // 체크한 로우의 검사코드를 추출한다.
- for ( var j =0; j < srchLength1; j++ ) {
- if (ds_subresultdetail1.getColumn(j,"check") == "Y" ) {
- testcd = ds_subresultdetail1.getColumn(j,"prcpcd").getTrim();
- }
- }
- }else {
- sysf_messageBox("[세로누적조회(진검,미생물,핵의학체외)] 검사항목 1건에 대해서만 조회 가능합니다.","I999");
- return "0";
- }
- if ( testcd == "") return "0";
- ds_vertaddresult.addRow();
- ds_vertaddresult.setColumn(0,"pid",ds_patinfolist.getColumn(0,"pid"));
- ds_vertaddresult.setColumn(0,"hngnm",ds_patinfolist.getColumn(0,"hngnm"));
- ds_vertaddresult.setColumn(0,"sex",ds_patinfolist.getColumn(0,"sex"));
- ds_vertaddresult.setColumn(0,"age",ds_patinfolist.getColumn(0,"age"));
- ds_vertaddresult.setColumn(0,"testcd",testcd);
- ds_vertaddresult.setColumn(0,"startdd",ds_singdata.getColumn(0,"srchdate1"));
- ds_vertaddresult.setColumn(0,"enddd",ds_singdata.getColumn(0,"srchdate2"));
-
- var objArg = new Object();
- objArg.arg_ds_init_baseinfo = ds_vertaddresult;
- // frmf_modal("SPMMI00300","SPMMI00300", objArg, "", 1, 20, 248, "", "", "", "", "", "M");
- frmf_open("SPMMI00300","SPMMI00300", objArg, "", 1, 20, 248, "", "", "", "", "", "M");
- }
- if ( refgbn == "2" ) {
-
- var srchLength1 = ds_row.rowcount;
- for ( var i = 0; i < srchLength1; i++ ) {
- if (ds_row.getColumn(i,"chk") == 1 ) {
- cnt++;
- }
- }
- if ( cnt == 1 ) {
- // 체크한 로우의 검사코드를 추출한다.
- for ( var j = 0; j < srchLength1; j++ ) {
- if (ds_row.getColumn(j,"chk") == 1 ) {
- testcd = ds_row.getColumn(j,"testcd").getTrim();
- }
- }
- }else {
- sysf_messageBox("[세로누적조회(진검,미생물,핵의학체외)] 검사항목 1건에 대해서만 조회 가능합니다.","I999");
- return "0";
- }
- if ( testcd == "") return "0";
-
- ds_vertaddresult.addRow();
- ds_vertaddresult.setColumn(0,"pid",ds_patinfolist.getColumn(0,"pid"));
- ds_vertaddresult.setColumn(0,"hngnm",ds_patinfolist.getColumn(0,"hngnm"));
- ds_vertaddresult.setColumn(0,"sex",ds_patinfolist.getColumn(0,"sex"));
- ds_vertaddresult.setColumn(0,"age",ds_patinfolist.getColumn(0,"age"));
- ds_vertaddresult.setColumn(0,"testcd",testcd);
- ds_vertaddresult.setColumn(0,"startdd",ds_singdata.getColumn(0,"srchdate1"));
- ds_vertaddresult.setColumn(0,"enddd",ds_singdata.getColumn(0,"srchdate2"));
-
- var objArg = new Object();
- objArg.arg_ds_init_baseinfo = ds_vertaddresult;
- // frmf_modal("SPMMI00300","SPMMI00300", objArg, "", 1, 20, 248, "", "", "", "", "", "M");
- frmf_open("SPMMI00300","SPMMI00300", objArg, "", 1, 20, 248, "", "", "", "", "", "M");
- }
- }
- /****************************************************************************************
- * Function : fClickCADIACPatResultList
- * Description : CadiacPACS 등록번호 연동
- * Argument : grdobj : 그리드
- * return type :
- * Creator :
- ****************************************************************************************/
- function fClickCADIACPatResultList(grdobj) {
- var pid = ds_singdata.getColumn(0,"srchpid");
-
- zepfCadiacPacsPatientID(pid);
- }
- /****************************************************************************************
- * Function : fClickCADIACPatReportList
- * Description : CadiacPACS 등록번호 연동
- * Argument : grdobj : 그리드
- * return type :
- * Creator :
- ****************************************************************************************/
- function fClickCADIACPatReportList(grdobj) {
- var pid = ds_singdata.getColumn(0,"srchpid");
- zepfCadiacPacsRptPatientID(pid);
- }
- /****************************************************************************************
- * Function : fSetAddMicroResult
- * Description : 미생물 누적 결과 조회 Function
- * Argument :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fSetAddMicroResult() {
- if ( ds_singdata.getColumn(0,"srchpid") == "" ) {
- sysf_messageBox("[미생물누적조회] 기능은 환자번호가 체크되어야 합니다.","I999");
- return "0";
- }
-
- ds_addmicroresult.clearData();
- ds_addmicroresult.addRow();
- ds_addmicroresult.setColumn(0,"pid", ds_singdata.getColumn(0,"srchpid") );
- ds_addmicroresult.setColumn(0,"usdd", ds_singdata.getColumn(0,"srchdate1") );
- ds_addmicroresult.setColumn(0,"uedd", ds_singdata.getColumn(0,"srchdate2") );
-
- /*//sysf_trace(ds_addmicroresult.saveXML());*/
- var objArg = new Object();
- objArg.arg_ds_send = ds_addmicroresult;
- frmf_modal("SMMMI00200","SMMMI00200", objArg, "", 1, 345, 250, "", "", "", "", "", "P");
- }
- /****************************************************************************************
- * Function : fClickCDISResultList
- * Description : Daily 및 Serious CDIS 결과 조회 Function
- * Argument : grdobj : 그리드
- * return type :
- * Creator :
- ****************************************************************************************/
- function fClickCDISResultList(grdobj:Grid) {
- var rowidx = grdobj.currentrow;
- ds_send_iemr.clearData();
-
- if ( group3.switch1.tabindex == 1 ) {
- var prcpdd = "";
- var execprcpuniqno = "";
- var instcd = "";
- var flag = "";
-
- // 진검, 병리,미생물, 핵체외 제외한 검사에 대해서 CDIS이미지 연동을 실시한다.
- if ( ds_maindailylist.getColumn(rowidx,"execprcpuniqno") != '0' ) {
-
- var srchLength1 = ds_maindailylist.rowcount;
- for ( var i = 0; i < srchLength1; i++ ) {
- if (ds_maindailylist.getColumn(i, "check") == "Y" ) {
-
- prcpdd += ds_maindailylist.getColumn(i,"prcpdd").getTrim()+",";
- execprcpuniqno += ds_maindailylist.getColumn(i,"execprcpuniqno").getTrim()+",";
- instcd += sysf_getUserInfo("dutplceinstcd").getTrim()+",";
- flag = "Y";
- }
- }
-
- if ( flag == "Y" ) {
- var sprcpdd = aezfTrim(prcpdd, 44);
- var sexecprcpuniqno = aezfTrim(execprcpuniqno, 44);
- var sinstcd = aezfTrim(instcd, 44);
- if(ds_send_iemr.rowcount == 0)
- {
- ds_send_iemr.addRow();
- }
- ds_send_iemr.setColumn(0,"cmc_orddate", sprcpdd);
- ds_send_iemr.setColumn(0,"cmc_orderseqno", sexecprcpuniqno);
- ds_send_iemr.setColumn(0,"cmc_spcid", sinstcd);
-
- var objArg = new Object();
- objArg.arg_ds_hidden_temp = ds_send_iemr; // SSMRC03130 화면 수정후 적용
-
- frmf_open("SSMRC03130", "SSMRC03130", objArg, null, null, null, null, null, null, null, null, null, "M");
- }
- }
- }
-
- }
- /****************************************************************************************
- * Function : fClickPACSOrdPatResultList
- * Description : Daily 및 Serious PACS OrdPat 결과 조회 Function
- * Argument : grdobj : 그리드
- * return type :
- * Creator :
- ****************************************************************************************/
- function fClickPACSOrdPatResultList(grdobj:Grid) {
- var rowidx = grdobj.currentrow;
-
- if(rowidx < 0) rowidx = 0;
- //trace("rowidx" + rowidx);
- if ( group3.switch1.tabindex == 1 ) {
- if ( utlf_isNull(ds_maindailylist.getColumn(rowidx,"execprcpuniqno")) ||
- ds_maindailylist.getColumn(rowidx,"execprcpuniqno") == 0 ) {
- sysf_messageBox("PACS Viewer와 연동된 검사가 아닙니다. (유일번호가 0이거나 NULL입니다)","I999");
- return;
- }
- var pacsorderid = ds_maindailylist.getColumn(rowidx,"prcpdd")+ds_maindailylist.getColumn(rowidx,"execprcpuniqno");
- var pid = ds_maindailylist.getColumn(rowidx,"pid");
-
- var prcpdd = ds_maindailylist.getColumn(rowidx,"prcpdd");
- var execprcpuniqno = ds_maindailylist.getColumn(rowidx,"execprcpuniqno");
- var instcd = ds_globalinstance.getColumn(0,"instance2");
- }
-
- //trace("2");
- if ( group3.switch1.tabindex == 0 ) {
- if ( utlf_isNull(ds_maindailylist.getColumn(rowidx,"execprcpuniqno")) ||
- ds_maindailylist.getColumn(rowidx,"execprcpuniqno") == 0 ) {
- sysf_messageBox("PACS Viewer와 연동된 검사가 아닙니다. (유일번호가 0이거나 NULL입니다)","I999");
- return;
- }
- var pacsorderid = ds_maindailylist.getColumn(rowidx,"prcpdd")+ds_maindailylist.getColumn(rowidx,"execprcpuniqno");
- var pid = ds_maindailylist.getColumn(rowidx,"pid");
-
- var prcpdd = ds_maindailylist.getColumn(rowidx,"prcpdd");
- var execprcpuniqno = ds_maindailylist.getColumn(rowidx,"execprcpuniqno");
- var instcd = ds_globalinstance.getColumn(0,"instance2");
- }
- //trace("3");
- // PACS 맵핑테이블 조회, Old Key와 일치하면 Old Key Pacs View 호출
- var arrColInfo = [{col:"prcpdd" , type:"string" , size:256 ,val:prcpdd}
- ,{col:"execprcpuniqno" , type:"string" , size:256, val:execprcpuniqno}
- ,{col:"instcd" , type:"string" , size:256, val:instcd}
- ,{col:"pid" , type:"string" , size:256, val:pid}];
-
- dsf_createDsRow("ds_pacsdata",arrColInfo,"true");
-
- arrColInfo = {col:"oldprcpkey" , type:"string" , size:256 };
-
- dsf_createDs("ds_initpacskey",arrColInfo,"false");
-
- var oParam = {};
- oParam.id = "TRAER00818";
- oParam.service = "examcureresultrefapp.RsltRef";
- oParam.method = "reqGetRsltRefPacsOldKeyList";
- oParam.inds = "reqparam=ds_pacsdata";
- oParam.outds = "ds_initpacskey=getresultlist";
- oParam.async = false;
- oParam.callback = "cf_TRAER00818";
- tranf_submit(oParam);
- //trace("4");
- if ( ds_initpacskey.rowCount > 0 ) {
- pacsorderid = ds_initpacskey.getColumn(0,"oldprcpkey");
- zepfpacsAll(pacsorderid, pid);
- }else {
- zepfpacsAll(pacsorderid, pid);
- }
- }
- /****************************************************************************************
- * Function : cf_TRAER00818
- * Description : TRAER00818 콜백함수
- * Argument :
- * return type :
- * Creator :
- ****************************************************************************************/
- function cf_TRAER00818(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- /****************************************************************************************
- * Function : fClickPACSPatResultList
- * Description : Daily 및 Serious PACS Pat 결과 조회 Function , 사용안함
- * Argument : grdobj : 그리드
- * return type :
- * Creator :
- ****************************************************************************************/
- function fClickPACSPatResultList(grdobj) {
- var pid = ds_singdata.getColumn(0,"srchpid");
- zepfpacsPatientID(pid);
- }
- /****************************************************************************************
- * Function : fSetAddResult
- * Description : 누적 결과 조회 Function
- * Argument : refgbn : 텍스트/그래프 구분 (1 : 2)
- * return type :
- * Creator :
- ****************************************************************************************/
- function fSetAddResult(refgbn) {
-
- if (utlf_isNull(ds_singdata.getColumn(0,"srchpid"))) {
- sysf_messageBox("[누적조회][그래프] 기능은 환자번호가 체크되어야 합니다.","I999");
- return "0";
- }
-
- ds_hidden_addresult.clearData();
- ds_hidden_addresult_tclscdlist.clearData();
- ds_hidden_addresult.addRow();
- ds_hidden_addresult_tclscdlist.addRow();
-
- var prcpcd = "";
- var prcpnm = "";
- var prcpcd2 = "";
- var prcpnm2 = "";
- var pnm = "";
- var pnm2 = "";
- var flag = "";
- // 처방구분코드가 진검:'C' , 병리:'M' 인 경우에만 누적결과 조회를 실행한다.
- for ( var i = 0; i <= ds_subresultdetail1.rowcount; i++ ) {
- if (ds_subresultdetail1.getColumn(i,"check") == "Y" ) { //체크된 것중에 'C', 'M' 아닌것이 포함된경우 break;
- if (ds_subresultdetail1.getColumn(i,"judgmark") == "C" || // 체크된 것중에 'C', 'M' 포함된경우
- ds_subresultdetail1.getColumn(i,"judgmark") == "M" ) {
- prcpnm = aezfTrim(ds_subresultdetail1.getColumn(i,"prcpnm").getTrim(), 12288);
- prcpnm2 = aezfTrim(ds_subresultdetail1.getColumn(i,"prcpnm").getTrim(), 12288);
- prcpcd += "'"+ds_subresultdetail1.getColumn(i,"prcpcd").getTrim()+"'"+",";
- prcpnm += ",";
- prcpcd2 += ds_subresultdetail1.getColumn(i,"prcpcd").getTrim()+"▦";
- prcpnm2 += "▦";
- pnm += prcpnm;
- pnm2 += prcpnm2;
- flag = "Y";
- }
- }
- }
- if ( flag == "Y" ) {
- ds_hidden_addresult.setColumn(0,"pid", ds_singdata.getColumn(0,"srchpid"));
- ds_hidden_addresult.setColumn(0,"startdd", ds_singdata.getColumn(0,"srchdate1"));
- ds_hidden_addresult.setColumn(0,"enddd", ds_singdata.getColumn(0,"srchdate2"));
- var prcpcd = aezfTrim(prcpcd, 44);
- var dd = aezfTrim(pnm, 12288);
- var prcpnm = aezfTrim(dd, 44);
- var prcpcd2 = aezfTrim(prcpcd2, 9638);
- var cc = aezfTrim(pnm2, 9638);
- var prcpnm2 = aezfTrim(cc, 12288);
-
- ds_hidden_addresult_tclscdlist.setColumn(0,"tclscdlist", prcpcd );
- ds_hidden_addresult_tclscdlist.setColumn(0,"tclsnmlist", prcpnm );
- ds_hidden_addresult_tclscdlist.setColumn(0,"tclscdlist2", prcpcd2);
- ds_hidden_addresult_tclscdlist.setColumn(0,"tclsnmlist2", prcpnm2);
- if ( refgbn == "1" )
- ds_hidden_addresult.setColumn(0,"refgbn","1");
- else if ( refgbn == "2" )
- ds_hidden_addresult.setColumn(0,"refgbn","2");
-
- var objArg = new Object();
- objArg.arg_ds_hidden_ref = ds_hidden_addresult;
- objArg.arg_ds_hidden_ref_tclscdlist = ds_hidden_addresult_tclscdlist;
- // frmf_modal("SPMMI00200", "SPMMI00200", objArg, "", 20, 248, "", "", "", "", "", "", "M");
- frmf_open("SPMMI00200", "SPMMI00200", objArg, "", 20, 248, "", "", "", "", "", "", "M");
- }else {
- sysf_messageBox("결과내역 체크를 하지 않았거나 진단검사/핵의학체외 검사에 대한 누적조회입니다.","I999");
- return;
- }
- }
- /****************************************************************************************
- * Function : fSetAddSPCResult
- * Description : SET별 누적 결과 조회 Function
- * Argument : refgbn : 텍스트/그래프 구분 (1 : 2)
- * return type :
- * Creator :
- ****************************************************************************************/
- function fSetAddSPCResult(refgbn) {
- if ( utlf_isNull(ds_singdata.getColumn(0,"srchpid")) ) {
- sysf_messageBox("[누적조회][그래프] 기능은 환자번호가 체크되어야 합니다.","I999");
- return "0";
- }
- ds_hidden_addresult.clearData(); ds_hidden_addresult.addRow();
- var prcpcd = "";
- var prcpnm = "";
- var prcpcd2 = "";
- var prcpnm2 = "";
- var pnm = "";
- var pnm2 = "";
- var flag = "";
- for ( var i = 0; i < ds_row.rowcount; i++ ) {
- if (ds_row.getColumn(i,"chk") == 1 ) { //체크된 것중에 'C', 'M' 아닌것이 포함된경우 break;
-
- prcpnm = aezfTrim(ds_row.getColumn(i,"tclsscrnnm").getTrim(), 12288);
- prcpnm2 = aezfTrim(ds_row.getColumn(i,"tclsscrnnm").getTrim(), 12288);
-
- prcpcd += "'"+ds_row.getColumn(i,"testcd").getTrim()+"'"+",";
- prcpnm += ",";
- prcpcd2 += ds_row.getColumn(i,"testcd").getTrim()+"▦";
- prcpnm2 += "▦";
- pnm += prcpnm;
- pnm2 += prcpnm2;
-
- flag = "Y";
- }
- }
-
- if ( flag == "Y" ) {
- ds_hidden_addresult.setColumn(0,"pid" , ds_singdata.getColumn(0,"srchpid") );
- ds_hidden_addresult.setColumn(0,"startdd", ds_singdata.getColumn(0,"srchdate1") );
- ds_hidden_addresult.setColumn(0,"enddd" , ds_singdata.getColumn(0,"srchdate2") );
- // 44:, 12288:tab 9638:▦
- var prcpcd = aezfTrim(prcpcd, 44);
-
- var dd = aezfTrim(pnm, 12288);
- var prcpnm = aezfTrim(dd, 44);
-
- var prcpcd2 = aezfTrim(prcpcd2, 9638);
-
- var cc = aezfTrim(pnm2, 9638);
- var prcpnm2 = aezfTrim(cc, 12288);
-
- ds_hidden_addresult_tclscdlist.setColumn(0,"tclscdlist", prcpcd );
- ds_hidden_addresult_tclscdlist.setColumn(0,"tclsnmlist", prcpnm );
- ds_hidden_addresult_tclscdlist.setColumn(0,"tclscdlist2", prcpcd2);
- ds_hidden_addresult_tclscdlist.setColumn(0,"tclsnmlist2", prcpnm2);
- if ( refgbn == "1" )
- ds_hidden_addresult.setColumn(0,"refgbn", "1");
- else if ( refgbn == "2" )
- ds_hidden_addresult.setColumn(0,"refgbn", "2");
-
- var objArg = new Object();
- objArg.arg_ds_hidden_ref = ds_hidden_addresult;
- objArg.arg_ds_hidden_ref_tclscdlist = ds_hidden_addresult_tclscdlist;
- // frmf_modal("SPMMI00200","SPMMI00200", objArg, "", "", 20, 248, "", "", "", "", "", "M");
- frmf_open("SPMMI00200","SPMMI00200", objArg, "", "", 20, 248, "", "", "", "", "", "M");
- }else {
- sysf_messageBox("결과내역 체크를 하지 않았거나 진단검사/핵의학체외 검사에 대한 누적조회입니다.","I999");
- return;
- }
- }
- /****************************************************************************************
- * Function : fSetPopupMenu
- * Description : 팝업메뉴 생성
- * Argument :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fSetPopupMenu() {
- frmf_createPopupMenu("popmenuX"
- ,"fPopupMenu"
- ,arrMenu
- );
- frmf_createPopupMenu("popmenuG"
- ,"fPopupMenu"
- ,[{id: "clear" , level: "0", title: "체크박스해제"}
- ,{id: "-" , level: "0", title: "-------------------"}
- ,{id: "search_G" , level: "0", title: "[선택항목조회]"}
- ,{id: "searchS" , level: "0", title: "[서식항목조회]_1건출력"}
- ,{id: "searchM" , level: "0", title: "[서식항목조회]_연속출력"}
- ]
- );
- frmf_createPopupMenu("popmenuB"
- ,"fPopupMenu"
- ,[{id: "clear" , level: "0", title: "체크박스해제"}
- ,{id: "-" , level: "0", title: "-------------------"}
- ,{id: "search_B" , level: "0", title: "[선택항목조회]"}
- ,{id: "searchS" , level: "0", title: "[서식항목조회]_1건출력"}
- ,{id: "searchM" , level: "0", title: "[서식항목조회]_연속출력"}
- ,{id: "-" , level: "0", title: "-------------------"}
- ]
- );
- frmf_createPopupMenu("popmenuC"
- ,"fPopupMenu"
- ,[{id: "copy", level: "0", title: "복사하기"}] //항목추가
- );
- }
- /****************************************************************************************
- * Function : fPopupMenu
- * Description : 팝업메뉴 선택시 실행함수
- * Argument :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fPopupMenu(obj:PopupMenu, e:MenuClickEventInfo) {
- if(e.id == "clear") {
- fCheckCancel();
- }
- if(e.id == "search_B") {
- fGetCheckedResultContinueList("B");
- }
- if(e.id == "simsa_R") { //20190311 kya 심사자료수집
- fMianSimsaResult();
- }
- if(e.id == "simsa_V") { //20190311 kya 심사수집자료 보기
- fMianSimsaResultView();
- }
- if(e.id == "search_G") {
- fGetCheckedResultContinueList("G");
- }
- if(e.id == "searchS") {
- fPopupXsltList();
- }
- if(e.id == "searchM") {
- fPopupXsltContinueList2();
- }
- if(e.id == "copy") {
- astgrid_gridcopy(gridObject);
- }
- if(e.id == "copy2") {
- lf_copyResult(gridObject);
- }
- if(e.id == "fGetimg") {
- fGetimg();
- }
- if(e.id == "fGetimg2") {
- fGetimg2();
- }
- if(e.id == "fGetPatholimg") {
- fGetPatholimg();
- }
- if(e.id == "fGetNNNimg") {
- fGetNNNimg();
- }
- popupYn = "N";
- }
- /****************************************************************************************
- * Function : fCheckCancel
- * Description : 그리드 체크 해제
- * Argument :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fCheckCancel() {
- for(var i = 0; i <= gridObject.rowcount; i++) {
- objects[gridObject.binddataset].setColumn(i,"check","N");
- }
- gridObject = "";
- }
- /****************************************************************************************
- * Function : fPopupXsltList
- * Description : 결과 조회 디자인 결과내역 보기 Function
- * Argument :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fPopupXsltList() {
- ds_send.setColumn(0,"val" ,"");
- ds_send.setColumn(0,"formcd","");
- var signstr = "";
- if ( utlf_isNull(ds_maindailylist.getColumn(ds_maindailylist.rowposition,"signno"))) {
- var signno = "";
- var formcd = "";
- }else {
- var signno = ds_maindailylist.getColumn(ds_maindailylist.rowposition,"signno");
- var formcd = ds_maindailylist.getColumn(ds_maindailylist.rowposition,"formcd");
- }
- if ( !utlf_isNull(signno) ) {
- var signno1 = String(signno).split(",");
- var formcd1 = String(formcd).split(",");
- for (var k = 0; k < signno1.length; k++){
- signstr += "E▦";
- signstr += parseFloat(signno1[k])+"▦";
- signstr += formcd1[k].getTrim()+"▩";
- }
- frmf_setParameter("SPMRI02400_prtrecinfo", signstr);
- frmf_modal("SPMRI02400","SPMRI02400", "", "", "", "", "", "", "", "", "", "", "M");
- } else {
- sysf_messageBox("출력할 결과서식 정보가 존재하지 않습니다.","I999");
- return;
- }
- }
- /****************************************************************************************
- * Function : fPopupXsltContinueList2
- * Description : 결과 조회 디자인 결과내역 보기 Function
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fPopupXsltContinueList2() {
- ds_send.setColumn(0,"val" ,"");
- ds_send.setColumn(0,"formcd","");
-
- var srchLength1 = ds_maindailylist.rowcount;
- var signno = 0;
- var ckcnt = 0;
- var formcd = "";
- var signstr = "";
-
- if ( parseInt(srchLength1) > 0 ) {
- var arrexecprcpuniqno = new Array();
- var arrsignno = new Array();
- var pid;
- var k = 0;
-
- pid = ds_maindailylist.getColumn(0,"pid");
-
- for ( var i = 0; i < parseInt(srchLength1); i++ ) {
-
- check = ds_maindailylist.getColumn(i,"check");
-
- if ( check == "Y" ) {
- arrexecprcpuniqno[k] = ds_maindailylist.getColumn(i,"execprcpuniqno");
- arrsignno[k] = ds_maindailylist.getColumn(i,"signno");
- if (utlf_isNull(arrsignno[k])) {
- arrsignno[k] ="0";
- }
- k = k+1;
- }
- }
-
- dsf_makeValue(ds_send2,"pid" ,"string",pid);
- dsf_makeValue(ds_send2,"execprcpuniqno" ,"string",arrexecprcpuniqno);
- dsf_makeValue(ds_send2,"signno" ,"string",arrsignno);
-
- var oParam = {};
- oParam.id = "TRLLP01202";
- oParam.service = "refprintmngtapp.GeneralRefPrintMngt";
- oParam.method = "reqGetFormdata";
- oParam.inds = "req=ds_send2";
- oParam.outds = "ds_temp_singinfo=item";
- oParam.async = false;
- oParam.callback = "";
- tranf_submit(oParam);
-
- signstr = ds_temp_singinfo.getColumn(0,"signstr");
-
- if ( k == 0 ) {
- return true;
- }
- if ( !utlf_isNull(signstr) ) {
- signstr = signstr +"▩"
- frmf_setParameter("SPMRI02400_prtrecinfo", signstr);
- var xpt = 50;
- var ypt = 50;
- frmf_modal("SPMRI02400","SPMRI02400", "", "", 2, xpt, ypt, "", "", "", "", "", "M");
- }else {
- sysf_messageBox("출력할 결과서식 정보가 존재하지 않습니다.","I999");
- return;
- }
- }
- }
- /****************************************************************************************
- * Function : astgrid_gridcopy
- * Description : 그리드 내 선택된 내용 클립보드 복사
- * Argument : gridObj : 그리드
- * return type :
- * Creator :
- ****************************************************************************************/
- function astgrid_gridcopy(gridObj) {
- grdf_clipboardCopy(gridObj, "AST");
- }
- /****************************************************************************************
- * Function : readPDfunc
- * Description : 세트별 전체항목조회
- * Argument :
- * return type :
- * Creator :
- ****************************************************************************************/
- function readPDfunc(){
- var oParam = {};
- oParam.id = "TRAER00817";
- oParam.service = "examcureresultrefapp.RsltRef";
- oParam.method = "reqGetTestPDSetList";
- oParam.inds = "req=ds_singdata";
- oParam.outds = "ds_prmsprcpsetlistall=prmsprcpsetlist";
- oParam.async = false;
- oParam.callback = "cf_TRAER00817";
- tranf_submit(oParam);
- ds_setdata.setColumn(0,"foldernm", "");
- fInitDatagrid2();
- }
- /****************************************************************************************
- * Function : cf_TRAER00817
- * Description : TRAER00817 콜백함수
- * Argument :
- * return type :
- * Creator :
- ****************************************************************************************/
- function cf_TRAER00817(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- /****************************************************************************************
- * Function : fGetPDResultRef
- * Description : 세트선택시 결과 조회
- * Argument :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fGetPDResultRef(){
- if(utlf_isNull(ds_singdata.getColumn(0,"srchpid"))){
- sysf_messageBox("등록번호를","C001","");
- return;
- }
-
- fInitDatagrid2();
- var vSelSlipcd = ds_hidden.getColumn("testmdllist");/* model.getvalue("/root/hidden/testmdllist");*/
-
- if(!utlf_isNull(vSelSlipcd)) ds_ref.setColumn(0,"testmdllist" , vSelSlipcd.substring(0,vSelSlipcd.length -1));
- else ds_ref.setColumn(0,"testmdllist","");
-
- ds_send_data1.copyData(ds_ref);
-
- var rowpos = ds_prmsprcpsetlistall.rowposition;
-
- ds_setdata.setColumn(0,"setno" ,ds_prmsprcpsetlistall.getColumn(rowpos,"setno"));
-
- // LIS Map File을 적용하기 위해 세팅한다.
- ds_setdata.setColumn(0,"startdd", ds_singdata.getColumn(0,"srchdate1"));
- ds_setdata.setColumn(0,"enddd" , ds_singdata.getColumn(0,"srchdate2"));
- ds_setdata.setColumn(0,"pid" , ds_singdata.getColumn(0,"srchpid"));
-
- dsf_setTypeFormat(ds_setdata, "setno:INT");
- var oParam = {};
- oParam.id = "TRLLP01201";
- oParam.service = "refprintmngtapp.GeneralRefPrintMngt";
- oParam.method = "reqGetAcmlTestList2";
- oParam.inds = "cond=ds_setdata cond2=ds_send_data1";
- oParam.outds = "ds_row=row ds_header=header ds_patinfo=patinfo";
- oParam.async = false;
- oParam.callback = "";
- tranf_submit(oParam);
-
- if(ds_row.rowcount == 0) return;
- //ref 정보
- var gridCaption = ds_header.getColumn(0,"caption");
- var gridCaptionArray= gridCaption.split("^");
- var gridColRef = ds_header.getColumn(0,"colref");
- var gridColRefArray = gridColRef.split("^");
- var gridColType = ds_header.getColumn(0,"type");
- var gridColTypeArray= gridColType.split("^");
- group3.datagrid2.insertContentsRow("Head",0);
- group3.datagrid2.insertContentsRow("Body",0);
- for (var i = 0; i < gridColRefArray.length; i++ ) {
- if (gridColRefArray[i].substr(0, 4) == "rslt") {
- var tmpstr = "rsltORD".concat(gridColRefArray[i].substr(4));
- gridColRefArray[i] = tmpstr;
- }
- group3.datagrid2.insertContentsCol("Body", i);
- group3.datagrid2.setCellProperty("Head", i, "text", gridCaptionArray[i]);
- group3.datagrid2.setCellProperty("Body", i, "text", "bind:"+gridColRefArray[i]);
- }
- group3.datagrid2.deleteContentsCol(gridColRefArray.length);
- group3.datagrid2.redraw();
- group3.datagrid2.insertContentsCol("Body", 0);
- group3.datagrid2.setFormatColProperty(0,"size",22);
- group3.datagrid2.setFormatColProperty(1,"size",22);
- group3.datagrid2.setFormatColProperty(2,"size",100);
- group3.datagrid2.setFormatColProperty(3,"size",80);
- group3.datagrid2.setFormatColProperty(4,"size",80);
- group3.datagrid2.setFormatRowProperty(0,"size",35);
- group3.datagrid2.setCellProperty("Body", 0, "text" , "expr:currow+1");
- group3.datagrid2.setCellProperty("Body", 0, "background" , "URL('theme://images/bg_gridHead.png') stretch 3,3");
- group3.datagrid2.setCellProperty("Body", 0, "background2" , "URL('theme://images/bg_gridHead.png') stretch 3,3");
- group3.datagrid2.setCellProperty("Body", 0, "selectbackground" , "URL('theme://images/bg_gridHead.png') stretch 3,3");
- group3.datagrid2.setCellProperty("Head", 1, "displaytype" , "checkbox");
- group3.datagrid2.setCellProperty("Head", 1, "edittype" , "checkbox");
- group3.datagrid2.setCellProperty("Body", 1, "displaytype" , "checkbox");
- group3.datagrid2.setCellProperty("Body", 1, "edittype" , "checkbox");
- //group3.datagrid2.setCellProperty("Body", 1, "expr" , "expr:(chk=="true"||chk==1)?1:0");
- grdf_initGrid(group3.datagrid2);
- for(var i = 2 ; i < 5 ; i++) {
- group3.datagrid2.setCellProperty("Body",i,"style","align:left;padding:0 2 0 2");
- }
- for(var i = 5 ; i < group3.datagrid2.getCellCount("Head") ; i++ ) {
- group3.datagrid2.setFormatColProperty(i,"size",80);
- }
- fReMake();
- fSetUserFrozenColInit();
- }
- /****************************************************************************************
- * Function : fSetGridColor
- * Description : 세트결과조회 항목 그리드 설정
- * Argument :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fSetGridColor(){
- for(var i = 1 ; i < group3.grd_subresultdetail2.getFormatColCount() ; i++) {
- group3.grd_subresultdetail2.setCellProperty("body", i, "color","EXPR(judgmark2=='H'?'red':"
- +"judgmark2=='L'?'blue':'')");
- group3.grd_subresultdetail2.setCellProperty("body", i, "color2","EXPR(judgmark2=='H'?'red':"
- +"judgmark2=='L'?'blue':'')");
- }
- }
- /****************************************************************************************
- * Function : fLisPrintRowHidden
- * Description : 진검출력을위해 셀을 숨김.
- * Argument :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fLisPrintRowHidden() {
- fPrintLisExcle();
- }
- /****************************************************************************************
- * Function : fPrintLisExcle
- * Description : 진검 엑셀출력 그리드 보여줌
- * Argument :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fPrintLisExcle(){ //20120322
- group3.div_lis.visible = true;
- ds_subresultdetail2.clearData();
-
- var j = 0;
- for(var i = 0; i < ds_subresultdetail1_1.rowcount; i++) {
- var sTitleYn = ds_subresultdetail1_1.getColumn(i,"testpsn");
- var iTitleLen = utlf_getStringLength(sTitleYn);
- if ( iTitleLen < 7 && !utlf_isNull(sTitleYn)) {
- dsf_makeValue(ds_subresultdetail2,"tclsscrnnnm" ,"string", ds_subresultdetail1_1.getColumn(i,"tclsscrnnnm") ,j);
- dsf_makeValue(ds_subresultdetail2,"reptrslt" ,"string", ds_subresultdetail1_1.getColumn(i,"reptrslt") ,j);
- dsf_makeValue(ds_subresultdetail2,"rsltunit" ,"string", ds_subresultdetail1_1.getColumn(i,"rsltunit") ,j);
- dsf_makeValue(ds_subresultdetail2,"ref" ,"string", ds_subresultdetail1_1.getColumn(i,"ref") ,j);
- dsf_makeValue(ds_subresultdetail2,"lastreptdt" ,"string", ds_subresultdetail1_1.getColumn(i,"lastreptdt") ,j);
- dsf_makeValue(ds_subresultdetail2,"testpsn" ,"string", ds_subresultdetail1_1.getColumn(i,"testpsn") ,j);
- dsf_makeValue(ds_subresultdetail2,"chkid" ,"string", ds_subresultdetail1_1.getColumn(i,"chkid") ,j);
- dsf_makeValue(ds_subresultdetail2,"tsectnm" ,"string", ds_subresultdetail1_1.getColumn(i,"tsectnm") ,j);
- dsf_makeValue(ds_subresultdetail2,"bcno" ,"string", ds_subresultdetail1_1.getColumn(i,"bcno") ,j);
- dsf_makeValue(ds_subresultdetail2,"judgmark" ,"string", ds_subresultdetail1_1.getColumn(i,"judgmark") ,j);
- dsf_makeValue(ds_subresultdetail2,"prcpcd" ,"string", ds_subresultdetail1_1.getColumn(i,"prcpcd") ,j);
-
- var unqBcno = ds_subresultdetail1_1.getColumn(i,"bcno");
-
- for(var k = 0; k < group3.switch1.case5.datagrid1.rowcount; k++){
- var unqBcno_left = ds_maindailylist.getColumn(k,"bcno");
- unqBcno = unqBcno.substring(0,8);
- if(unqBcno == unqBcno_left){
- //alert (unqBcno+"__2");
- dsf_makeValue(ds_subresultdetail2,"lastreptdd" ,"string", ds_maindailylist.getColumn(k,"lastreptdd") , j);
- dsf_makeValue(ds_subresultdetail2,"execdd1" ,"string", ds_maindailylist.getColumn(k,"execdd1") , j);
- dsf_makeValue(ds_subresultdetail2,"prcpdd1" ,"string", ds_maindailylist.getColumn(k,"prcpdd1") , j);
- dsf_makeValue(ds_subresultdetail2,"examnm" ,"string", ds_maindailylist.getColumn(k,"examnm") , j);
- dsf_makeValue(ds_subresultdetail2,"spcnm" ,"string", ds_maindailylist.getColumn(k,"spcnm") , j);
- dsf_makeValue(ds_subresultdetail2,"statnm" ,"string", ds_maindailylist.getColumn(k,"statnm") , j);
- dsf_makeValue(ds_subresultdetail2,"prcpgenrflag" ,"string", ds_maindailylist.getColumn(k,"prcpgenrflag") , j);
- dsf_makeValue(ds_subresultdetail2,"drnm" ,"string", ds_maindailylist.getColumn(k,"drnm") , j);
- }
- }
- j++;
- }
- }
- }
- /****************************************************************************************
- * Function : fLisPrintRowHiddenReturn
- * Description : 진검출력을위해 숨긴셀을 다시 돌린다
- * Argument :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fLisPrintRowHiddenReturn() {
- // for(var i = 0; i < ds_subresultdetail1_1.rowcount; i++) {
- // group3.grd_subresultdetail2.setFormatRowProperty(i,"size",24);
- // }
- }
- function lf_initPageByBroadcast(){
- //this.getOwnerFrame().openstatus = lgv_vOpenstatus;
- var pamInfoCvs = sysf_getGlobalVariable("paminfo"); //상단정보가 있을 경우는 검색
- var pid = "";
-
- if(!utlf_isNull(pamInfoCvs)){
- ds_paminfo.clearData();
- dsf_setCSVToDs("ds_paminfo",pamInfoCvs);
- ds_signdata.setColumn(0, "srchpid", ds_paminfo.getColumn(0, "pid"));
-
- if ( !utlf_isNull(ds_signdata.getColumn(0, "srchpid")) ) {
- frmf_inputEnterKey("group3.grp_sea.btn_srch", "onclick", new ClickEventInfo);
- }
- }
- }
- /****************************************************************************************
- * Function : fGetimg
- * Description : 결과 조회 LIS 자체 이미지 상세 조회 Function
- * Argument :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fGetimg(){
- var row = ds_subresultdetail1.rowposition;
- if(ds_subresultdetail1.getColumn(row,"judgmark") == "IMG" && !utlf_isNull(ds_subresultdetail1.getColumn(row,"bcno"))) {
- // modal("SMLRR01500","", "", "","", "/root/main/subordlist1/subresultdetail1["+row+"]", "/root/hidden/spcltestinfo");
- var objArg = new Object();
- dsf_createDs("ds_temp_subresultdetail1");
- dsf_copyColInfo(ds_temp_subresultdetail1,ds_subresultdetail1);
- ds_temp_subresultdetail1.copyRow(ds_temp_subresultdetail1.addRow(),ds_subresultdetail1,row);
- objArg.arg_ds_hidden_spcltestinfo = ds_temp_subresultdetail1;
- frmf_modal("SMLRR01500","SMLRR01500", objArg, "", "", "", "", "", "", "", "", "", "M");
- dsf_deleteDs("ds_temp_subresultdetail1");
- }
- }
- function fGetimg2(){
- var row = ds_subresultdetail1_1.rowposition;
- if(ds_subresultdetail1_1.getColumn(row,"judgmark") == "IMG" && !utlf_isNull(ds_subresultdetail1_1.getColumn(row,"bcno"))) {
- var objArg = new Object();
- dsf_createDs("ds_temp_subresultdetail1");
- dsf_copyColInfo(ds_temp_subresultdetail1,ds_subresultdetail1_1);
- ds_temp_subresultdetail1.copyRow(ds_temp_subresultdetail1.addRow(),ds_subresultdetail1_1,row);
- objArg.arg_ds_hidden_spcltestinfo = ds_temp_subresultdetail1;
- frmf_modal("SMLRR01500","SMLRR01500", objArg, "", "", "", "", "", "", "", "", "", "M");
- dsf_deleteDs("ds_temp_subresultdetail1");
- }
- }
- /****************************************************************************************
- * Function : fGetPatholimg
- * Description : 결과 조회 LIS (병리) 자체 이미지 상세 조회 Function
- * Argument :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fGetPatholimg(){
- var row = ds_subresultdetail1.rowposition;
- if(ds_subresultdetail1.getColumn(row,"judgmark") == "IMP" && !utlf_isNull(ds_subresultdetail1.getColumn(row,"bcno"))) {
- frmf_setParameter("SMLPP02000_scrno", "SMAER00800");
- frmf_setParameter("SMLPP02000_no", ds_subresultdetail1.getColumn(row,"bcno"));
- // modal("SMLPP02000");
- frmf_modal("SMLPP02000","SMLPP02000", "", "", "", "", "", "", "", "", "", "", "M");
- frmf_setParameter("SMLPP02000_scrno", "");
- frmf_setParameter("SMLPP02000_no", "");
- }
- }
- /****************************************************************************************
- * Function : fGetNNNimg
- * Description : 결과 조회 LIS (핵체외) 자체 이미지 상세 조회 Function
- * Argument :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fGetNNNimg(){
- var row = ds_subresultdetail1.rowposition;
- if(ds_subresultdetail1.getColumn(row,"judgmark2") == "NNN" && !utlf_isNull(ds_subresultdetail1.getColumn(row,"prcpcd"))) {
- // modal("SPLNP90400","", "", "","", "/root/main/subordlist1/subresultdetail1["+row+"]/prcpcd", "/root/hidden/prcpcd");
- var objArg = new Object();
- objArg.arg_prcpcd = ds_subresultdetail1.getColumn(row,"prcpcd");
- frmf_modal("SPLNP90400","SPLNP90400", objArg, "", "", "", "", "", "", "", "", "", "M");
- }
- }
- function group3_switch1_case1_btn_one_onclick(obj:Button, e:ClickEventInfo)
- {
- if(group3.switch1.tabindex == 2 || group3.switch1.tabindex == 3){
- sysf_messageBox("[전체항목조회] 기능은 분류별/그룹별 조회에서만 적용됩니다.","I999");
- return true;
- }
- if(ds_maindailylist.rowcount == 0) return;
-
- ds_subresultdetail1.enableevent = false;
- fClickResultContinueList_one(); //Daily 및 Serious 결과 연속보기 상세조회
- ds_subresultdetail1.enableevent = true;
- if(group3.div_lis.visible = true){
- group3.div_lis.visible = false;
- }
- }
- function group3_grd_subresultdetail2_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row > -1){
- gridObject = obj;
- ds_subresultdetail1_1.rowposition = e.row;
- gridObject = obj;
- popmenuX.destroy();
- arrMenu = new Array();
- arrMenu[0] = {id: "copy" , level: "0", title: "복사하기"};
- if(ds_subresultdetail1_1.getColumn(e.row,"judgmark")=="IMG"
- && !utlf_isNull(ds_subresultdetail1_1.getColumn(e.row,"bcno"))) {
- arrMenu[1] = {id: "fGetimg2" , level: "0", title: "▶ 진단검사 이미지 보기"};
- }
-
- frmf_createPopupMenu("popmenuX"
- ,"fPopupMenu"
- ,arrMenu
- );
-
-
- popmenuX.trackPopup(e.screenX,e.screenY);
- popupYn = "Y";
- }
- }
- function group3_grd_subresultdetail2_onkeydown(obj:Grid, e:KeyEventInfo)
- {
- if(e.ctrlKey == true && e.keycode == 67) {
- grdf_clipboardCopy(obj, "AST");
- }
- }
- function group3_switch1_case5_datagrid1_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- ds_maindailylist.enableevent = false;
- var cRow = e.row;
- var cCol = e.col;
- if (cRow > -1 && cCol > 0) {
- fClickResultList();
- }
- ds_maindailylist.enableevent = true;
- }
- /****************************************************************************************
- * Argument : obj : grid ID
- * Description : 선택된 행 클립보드 복사
- ****************************************************************************************/
- function lf_copyResult(obj) {
- var objGrd = obj;
- var lv_oBindDs = eval(objGrd.binddataset);
- var lv_sVal;
- var lv_sClipboard = "";
- var lv_nAreaStartRow;
- var lv_nAreaEndRow;
-
- lv_nAreaStartRow = parseInt(objGrd.selectstartrow) ;
- lv_nAreaEndRow = parseInt(objGrd.selectendrow);
- for(var nRow = lv_nAreaStartRow; nRow <= lv_nAreaEndRow; nRow++)
- {
- lv_sVal = objGrd.getCellValue(nRow,1);
- lv_sClipboard = lv_sClipboard + lv_sVal;
- lv_sClipboard = lv_sClipboard.substr(0,lv_sClipboard.length);
- lv_sClipboard = lv_sClipboard + String.fromCharCode(10);
- }
- lv_sClipboard = lv_sClipboard.substr(0,lv_sClipboard.length-1);
-
- iv_sClipboard = lv_sClipboard;
-
- system.setClipboard("CF_TEXT",lv_sClipboard);
- return;
- }
- function group3_grd_subresultdetail1_onmousemove(obj:Grid, e:GridMouseEventInfo)
- {
-
- if(e.row >-1 && e.col > -1){
- if(!utlf_isNull(group3.grd_subresultdetail1.getCellValue(e.row,e.col))){
- var ttext = "";
- if (e.clientX >= 0 && e.clientX < 230) {
- ttext = ds_subresultdetail1.getColumn(e.row,"tclsscrnnnm_prt");
- ttext = utlf_transNullToEmpty(ttext);
- if (!utlf_isNull(ttext)) {
- ttext = ds_subresultdetail1.getColumn(e.row,"prcpcd") + " " + ds_subresultdetail1.getColumn(e.row,"prcpnm");
- }
-
- }else if (e.clientX >=230 && e.clientX < 280) {
- ttext = ds_subresultdetail1.getColumn(e.row,"reptrslt_prt");
- }else if (e.clientX >=420 && e.clientX < 533) {
- ttext = ds_subresultdetail1.getColumn(e.row,"rsltunit_prt");
- }else if (e.clientX >=533 && e.clientX < 625) {
- ttext = ds_subresultdetail1.getColumn(e.row,"refnm_prt");
- }
- ttext = utlf_transNullToEmpty(ttext);
- if (!utlf_isNull(ttext)) {
- group3.grd_subresultdetail1.tooltiptext = ttext.toString().replace('undefined','');
-
- }else {
- group3.grd_subresultdetail1.tooltiptext ="";
- }
- }else{
- group3.grd_subresultdetail1.tooltiptext ="";
- }
- }
- }
- //
- function group3_grd_subresultdetail1_ondrag(obj:Grid, e:GridDragEventInfo)
- {
- if(e.row < 0 || e.col < 0) return false;
-
- var text = "";
- var selectedRows = grdf_getSelectedRows(obj);
-
- for(var i = 0; i < selectedRows.length; i++) {
- text += ds_subresultdetail1.getColumn(selectedRows[i], "prcpnm") + "^";
- text += ds_subresultdetail1.getColumn(selectedRows[i], "prcpcd") + "^";
- text += "|";
- }
- //
- var objDragData = new DragDataObject();
- objDragData.setData( DragDataFormats.TEXT, text);
-
- e.dragdata = objDragData;
-
- return (!utlf_isNull(frmf_findPopup("SPAER00803")));
- }
-
- function Button00_onclick(obj:Button, e:ClickEventInfo)
- {
- var arrColInfo = [{col:"bcno" , type:"string" , size:256}
- ,{col:"testmdlcd" , type:"string" , size:256}
- ,{col:"lastreptdd" , type:"string" , size:256}
- ,{col:"examgubun" , type:"string" , size:256}
- ,{col:"level" , type:"string" , size:256}
- ,{col:"chosflag" , type:"string" , size:256}
- ,{col:"pid" , type:"string" , size:256}
- ,{col:"prcpdd" , type:"string" , size:256}
- ,{col:"execprcpuniqno" , type:"int" , size:256}
- ,{col:"orddd" , type:"string" , size:256}
- ,{col:"cretno" , type:"string" , size:256}
- ,{col:"rsltflag" , type:"string" , size:256}
- ,{col:"supl_data_fom_cd" , type:"string" , size:256}
- ,{col:"fom_ver" , type:"string" , size:256}
- ,{col:"status" , type:"string" , size:256}
- ]
-
- dsf_createDs("ds_temp_insert",arrColInfo);
-
- var oRowidx = null;
- var nRowidx = null;
- var oReptrslt = "";
- var nReptrslt = "";
- var rsltflag = "";
-
- for (var i = 0; i < ds_subresultdetail1.rowcount; i++) {
- if (ds_subresultdetail1.getColumn(i,"check") == 'Y') {
- nRowidx = ds_subresultdetail1.getColumn(i,"rowidx");
- var examgubun = ds_maindailylist.getColumn(nRowidx,"examgubun");
- if ( examgubun != "진검" && examgubun != "미생물" && examgubun != "병리" && examgubun != "핵의학" ) {
-
- var nReptrslt = ds_subresultdetail1.getColumn(i,"reptrslt");
- if ( oRowidx <> nRowidx ) {
- if (nReptrslt == " [FINDING]") rsltflag = "F";
- if (nReptrslt == " [CONCLUSION]") rsltflag = "C";
- } else { //rowidx 동일
- if (nReptrslt == " [FINDING]") rsltflag = "F";
- if (rsltflag <> "F" && nReptrslt == " [CONCLUSION]") rsltflag = "C";
- if (rsltflag == "F" && nReptrslt == " [CONCLUSION]") rsltflag = "A";
- ds_temp_insert.setColumn(nRow,"rsltflag" ,rsltflag);
- }
-
- if ( oRowidx <> nRowidx ) {
- var nRow = ds_temp_insert.addRow();
- ds_temp_insert.setColumn(nRow,"rsltflag" ,rsltflag);
- ds_temp_insert.setColumn(nRow,"bcno" ,ds_maindailylist.getColumn(nRowidx,"bcno"));
- ds_temp_insert.setColumn(nRow,"testmdlcd" ,ds_maindailylist.getColumn(nRowidx,"testmdlcd"));
- ds_temp_insert.setColumn(nRow,"lastreptdd" ,ds_maindailylist.getColumn(nRowidx,"lastreptdd"));
- ds_temp_insert.setColumn(nRow,"examgubun" ,ds_maindailylist.getColumn(nRowidx,"examgubun"));
- ds_temp_insert.setColumn(nRow,"level" ,ds_maindailylist.getColumn(nRowidx,"level"));
- ds_temp_insert.setColumn(nRow,"chosflag" ,ds_maindailylist.getColumn(nRowidx,"prcpgenrflag"));
- ds_temp_insert.setColumn(nRow,"pid" ,ds_maindailylist.getColumn(nRowidx,"pid"));
- ds_temp_insert.setColumn(nRow,"prcpdd" ,ds_maindailylist.getColumn(nRowidx,"prcpdd"));
- ds_temp_insert.setColumn(nRow,"execprcpuniqno" ,ds_maindailylist.getColumn(nRowidx,"execprcpuniqno"));
- ds_temp_insert.setColumn(nRow,"orddd" ,'-');
- ds_temp_insert.setColumn(nRow,"cretno" ,0);
- ds_temp_insert.setColumn(nRow,"supl_data_fom_cd" ,"ERR001");
- ds_temp_insert.setColumn(nRow,"fom_ver" ,"001");
- ds_temp_insert.setColumn(nRow,"status" ,"i");
-
- oRowidx = nRowidx;
- oReptrslt = nReptrslt;
- }
- }
- }
- }
-
- for (var i = 0; i < ds_subresultdetail2.rowcount; i++) {
- if (ds_subresultdetail2.getColumn(i,"check") == 'Y') {
-
- var nRowidx = ds_subresultdetail2.getColumn(i,"rowidx");
- var examgubun = ds_maindailylist.getColumn(nRowidx,"examgubun");
- if ( examgubun != "진검" && examgubun != "미생물" && examgubun != "병리" && examgubun != "핵의학" ) {
-
- var nReptrslt = ds_subresultdetail2.getColumn(i,"reptrslt");
- if ( oRowidx <> nRowidx ) {
- if (nReptrslt == " [FINDING]") rsltflag = "F";
- if (nReptrslt == " [CONCLUSION]") rsltflag = "C";
- } else { //rowidx 동일
- if (nReptrslt == " [FINDING]") rsltflag = "F";
- if (rsltflag <> "F" && nReptrslt == " [CONCLUSION]") rsltflag = "C";
- if (rsltflag == "F" && nReptrslt == " [CONCLUSION]") rsltflag = "A";
- ds_temp_insert.setColumn(nRow,"rsltflag" ,rsltflag);
- }
-
- if ( oRowidx <> nRowidx ) {
- var nRow = ds_temp_insert.addRow();
- trace('222 :'+nRowidx+'/'+nRow);
- ds_temp_insert.setColumn(nRow,"rsltflag" ,rsltflag);
- ds_temp_insert.setColumn(nRow,"bcno" ,ds_maindailylist.getColumn(nRowidx,"bcno"));
- ds_temp_insert.setColumn(nRow,"testmdlcd" ,ds_maindailylist.getColumn(nRowidx,"testmdlcd"));
- ds_temp_insert.setColumn(nRow,"lastreptdd" ,ds_maindailylist.getColumn(nRowidx,"lastreptdd"));
- ds_temp_insert.setColumn(nRow,"examgubun" ,ds_maindailylist.getColumn(nRowidx,"examgubun"));
- ds_temp_insert.setColumn(nRow,"level" ,ds_maindailylist.getColumn(nRowidx,"level"));
- ds_temp_insert.setColumn(nRow,"chosflag" ,ds_maindailylist.getColumn(nRowidx,"prcpgenrflag"));
- ds_temp_insert.setColumn(nRow,"pid" ,ds_maindailylist.getColumn(nRowidx,"pid"));
- ds_temp_insert.setColumn(nRow,"prcpdd" ,ds_maindailylist.getColumn(nRowidx,"prcpdd"));
- ds_temp_insert.setColumn(nRow,"execprcpuniqno" ,ds_maindailylist.getColumn(nRowidx,"execprcpuniqno"));
- ds_temp_insert.setColumn(nRow,"orddd" ,ds_maindailylist.getColumn(nRowidx,"orddd"));
- ds_temp_insert.setColumn(nRow,"cretno" ,ds_maindailylist.getColumn(nRowidx,"cretno"));
- ds_temp_insert.setColumn(nRow,"supl_data_fom_cd" ,"ERR001");
- ds_temp_insert.setColumn(nRow,"fom_ver" ,"001");
- ds_temp_insert.setColumn(nRow,"status" ,"i");
- }
- }
- }
- }
- // trace(ds_temp_insert.saveXML());
- var oParam = {};
- oParam.id = "TRAER00852_dump";
- oParam.service = "examcureresultrefapp.RsltRef";
- oParam.method = "reqExeSimsaRadList";
- oParam.inds = "refparam=ds_temp_insert";
- oParam.outds = "ds_hidden_item=item";
- oParam.async = true;
- oParam.callback = "cf_TRAER00852";
- tranf_submit(oParam);
- }
- function div_hirainfo_div_hiralist_btn_cl_onclick(obj:Button, e:ClickEventInfo)
- {
- div_hirainfo.visible = false;
- }
- function btn_hira_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_delSimsaResult(ds_data_userrecordlist.rowposition); //삭제
- }
- function div_hirainfo_btn_rt_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_getUserSimsaList(); //조회
- }
- /**
- * @desc : 컬럼설정 버튼 클릭
- * @
- * @param :
- * @return :
- * @author : 엄영만
- * @---------------------------------------------------
- */
- function group3_btn_setscrn_onclick(obj:Button, e:ClickEventInfo)
- {
- var sCaseId = "";
- var nTapIndex = group3.switch1.tabindex;
-
- if (nTapIndex == 0) { // 그룹별
- sCaseId = "group";
- } else if (nTapIndex == 1) { // 분류별
- sCaseId = "kind";
- }
-
- frmf_setParameter("SPMMI00700_param_caseid", sCaseId);
- frmf_modal("SPMMI00700", "SPMMI00700", null, null, null, null, null, null, null, null, null, null, "M");
-
- var useyn = frmf_getParameter("SPMMI00700_rtn_useyn");
- if(useyn == "Y") {
- frmf_clearParameter("SPMMI00700_rtn_useyn");
- ds_maindailylist.clearData(); // 데이터가 있는상태로 컬럼설정을 다시 하면 속도가 오래 걸림
-
- reqOrderInfoOfCol(ds_gridreq01, ds_gridseq01, "SMMMI00100", group3.switch1.case5.datagrid1, "01"); // 그룹별 검사항목 리스트 컬럼 조회 및 설정
- reqOrderInfoOfCol(ds_gridreq02, ds_gridseq02, "SMMMI00100", group3.switch1.case1.grd_maindaily, "02"); // 분류별 검사항목 리스트 컬럼 조회 및 설정
-
- group3.grp_sea.btn_srch.click(); // 검사결과 재조회
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|