SMMMI00100_통합결과조회.xfdl 353 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMMI00100" position="absolute 0 0 1253 940" titletext="통합검사결과조회" onload="SMMMI00100_onload" oninit="SMMMI00100_oninit">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group3" taborder="0" position="absolute 0 13 1250 935" anchor="all">
  8. <Layouts>
  9. <Layout width="1250" height="922">
  10. <Button id="button52" taborder="3" text="lis.P" class="btn2" enable="false" position="absolute 1162 65 1204 84" anchor="default" onclick="group3_button52_onclick"/>
  11. <Button id="btn_rcadiac" taborder="5" text="R-CARDIAC" class="btn2" position="absolute 725 65 808 84" anchor="default" onclick="group3_btn_rcadiac_onclick"/>
  12. <Button id="button49" taborder="6" text="틀고정" class="btn5" position="absolute 1193 86 1246 105" anchor="default" onclick="group3_button49_onclick"/>
  13. <Button id="button48" taborder="7" text="틀해제" class="btn5" position="absolute 1140 86 1193 105" anchor="default" onclick="group3_button48_onclick"/>
  14. <Button id="btn_cadiac" taborder="11" text="CARDIAC" class="btn2" position="absolute 656 65 725 84" anchor="default" onclick="group3_btn_cadiac_onclick"/>
  15. <Button id="button42" taborder="14" text="참고(핵)" class="btn5" position="absolute 1076 86 1140 105" anchor="default" onclick="group3_button42_onclick" tooltiptext="진검,미생물,핵의학체외에 대한 누적결과조회입니다"/>
  16. <Button id="button1" taborder="15" text="엑셀" class="btn2" position="absolute 1120 65 1162 84" anchor="default" onclick="group3_button1_onclick"/>
  17. <Button id="button40" taborder="17" text="출력" class="btn2" position="absolute 1078 65 1120 84" anchor="default" onclick="group3_button40_onclick"/>
  18. <Button id="button36" taborder="18" text="건진소견" class="btn2" position="absolute 734 86 798 105" anchor="default" onclick="group3_button36_onclick"/>
  19. <Button id="button39" taborder="20" text="세로누적" class="btn5" position="absolute 798 86 862 105" anchor="default" onclick="group3_button39_onclick" tooltiptext="검사항목(진검,미생물,핵의학체외) 1건에 대한 세로누적결과조회입니다"/>
  20. <Button id="button23" taborder="21" text="기능" class="btn2" position="absolute 628 86 681 105" anchor="default" onclick="group3_button23_onclick"/>
  21. <Button id="button22" taborder="22" text="내시경" class="btn2" position="absolute 575 86 628 105" anchor="default" onclick="group3_button22_onclick"/>
  22. <Button id="button10" taborder="23" text="전체" class="btn2" position="absolute 310 86 363 105" anchor="default" onclick="group3_button10_onclick"/>
  23. <Button id="button21" taborder="24" text="영상" class="btn2" position="absolute 469 86 522 105" anchor="default" onclick="group3_button21_onclick"/>
  24. <Button id="button20" taborder="25" text="핵체외" class="btn2" position="absolute 522 86 575 105" anchor="default" onclick="group3_button20_onclick"/>
  25. <Button id="button19" taborder="26" text="병리" class="btn2" position="absolute 416 86 469 105" anchor="default" onclick="group3_button19_onclick"/>
  26. <Button id="button18" taborder="27" text="미생물" class="btn2" position="absolute 681 86 734 105" anchor="default" onclick="group3_button18_onclick"/>
  27. <Button id="button17" taborder="28" text="진검" class="btn2" position="absolute 363 86 416 105" anchor="default" onclick="group3_button17_onclick"/>
  28. <Button id="button37" taborder="29" text="메뉴" class="btn2" position="absolute 1204 65 1246 84" anchor="default" onclick="group3_button37_onclick"/>
  29. <Button id="button7" taborder="30" text="PACS-등록번호" class="btn2" position="absolute 976 65 1078 84" anchor="default" onclick="group3_button7_onclick"/>
  30. <Button id="button33" taborder="34" text="PACS연동" class="btn2" position="absolute 902 65 976 84" anchor="default" onclick="group3_button33_onclick"/>
  31. <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"/>
  32. <Button id="button25" taborder="36" text="미생물누적" class="btn5" position="absolute 1001 86 1076 105" anchor="default" onclick="group3_button25_onclick" tooltiptext="미생물 검사에 대한 누적결과조회입니다"/>
  33. <Button id="button34" taborder="37" text="Graph누적" class="btn5" position="absolute 926 86 1001 105" anchor="default" tooltiptext="진검,미생물,핵의학체외에 대한 그래프 누적결과조회입니다" onclick="group3_button34_onclick"/>
  34. <Button id="button30" taborder="38" text="가로누적" class="btn5" position="absolute 862 86 926 105" anchor="default" onclick="group3_button30_onclick" tooltiptext="진검,미생물,핵의학체외에 대한 누적결과조회입니다"/>
  35. <Button id="button31" taborder="40" text="CDIS연속연동" class="btn2" position="absolute 808 65 902 84" anchor="default" onclick="group3_button31_onclick"/>
  36. <cp_selCombo id="cmb_mdl" taborder="63" scrollbars="none" position="absolute 475 64 655 88" class="combo_search" anchor="default"/>
  37. <Static id="caption2" text="병동" class="search_name" visible="false" position="absolute 1075 32 1161 49" anchor="default"/>
  38. <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"/>
  39. <Button id="button35" taborder="32" text="핵체외연속보기" class="btn2" visible="false" position="absolute 1064 40 1161 59" anchor="default"/>
  40. <Button id="button24" taborder="33" text="진검연속보기" class="btn2" visible="false" position="absolute 1064 40 1161 59" anchor="default"/>
  41. <Button id="button32" taborder="39" text="영상연속보기" class="btn2" visible="false" position="absolute 1075 40 1161 59" anchor="default"/>
  42. <Button id="button27" taborder="41" text="기능연속보기" class="btn2" visible="false" position="absolute 1075 40 1161 59" anchor="default"/>
  43. <Button id="button26" taborder="42" text="미생물연속보기" class="btn2" visible="false" position="absolute 1064 40 1161 59" anchor="default"/>
  44. <Button id="button29" taborder="43" text="병리연속보기" class="btn2" visible="false" position="absolute 1075 40 1161 59" anchor="default"/>
  45. <Button id="button28" taborder="44" text="내시경연속보기" class="btn2" visible="false" position="absolute 1064 40 1161 59" anchor="default"/>
  46. <ActiveX id="obj_imge" visible="false" position="absolute 635 110 1135 610" progid="{72e5d9ed-0d6a-46e8-aead-23144bfef878}" useautobitmapcache="1" taborder="45" anchor="default"/>
  47. <Button id="button14" taborder="46" text="미생물누적조회" class="btn2" visible="false" position="absolute 1064 40 1161 59" anchor="default"/>
  48. <Button id="button16" taborder="47" text="PACS Ord+Pat" class="btn2" visible="false" position="absolute 1053 40 1161 59" anchor="default"/>
  49. <Button id="button8" taborder="48" text="PACS Pat" class="btn2" visible="false" position="absolute 1086 40 1161 59" anchor="default"/>
  50. <Button id="button6" taborder="49" text="PACS연동" class="btn2" visible="false" position="absolute 1086 40 1161 59" anchor="default"/>
  51. <Button id="button11" taborder="50" text="그래프" class="btn2" visible="false" position="absolute 1108 40 1161 59" anchor="default"/>
  52. <Button id="button4" taborder="51" text="CDIS연동" class="btn2" visible="false" position="absolute 1097 40 1161 59" anchor="default"/>
  53. <Button id="button3" taborder="55" text="연속보기" class="btn2" visible="false" position="absolute 1097 40 1161 59" anchor="default"/>
  54. <Button id="button12" taborder="56" text="누적조회" class="btn2" visible="false" position="absolute 1097 40 1161 59" anchor="default"/>
  55. <Static id="caption22" text="결과내역" class="tit_2" visible="false" position="absolute 277 26 359 39" anchor="default"/>
  56. <Div id="grp_sea" taborder="59" position="absolute 0 10 1249 62" anchor="left top right" class="div_SA">
  57. <Layouts>
  58. <Layout>
  59. <Calendar id="ipt_date1" taborder="1" class="input_default" position="absolute 110 6 200 25" dateformat="yyyy-MM-dd" value="null" anchor="default"/>
  60. <Calendar id="ipt_date2" taborder="2" class="input_default" position="absolute 203 6 293 25" dateformat="yyyy-MM-dd" value="null" anchor="default"/>
  61. <Static id="caption3" text="등록번호" class="search_name" position="absolute 385 29 471 46" anchor="default"/>
  62. <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"/>
  63. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 367 4 373 42" anchor="default"/>
  64. <Shape id="line2" linetype="vertical" class="line_4" position="absolute 1102 7 1108 45" anchor="top right"/>
  65. <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">
  66. <Dataset id="innerdataset">
  67. <ColumnInfo>
  68. <Column id="codecolumn"/>
  69. <Column id="datacolumn"/>
  70. </ColumnInfo>
  71. <Rows>
  72. <Row>
  73. <Col id="codecolumn">P</Col>
  74. <Col id="datacolumn">처방일</Col>
  75. </Row>
  76. <Row>
  77. <Col id="codecolumn">J</Col>
  78. <Col id="datacolumn">검사일</Col>
  79. </Row>
  80. <Row>
  81. <Col id="codecolumn">Z</Col>
  82. <Col id="datacolumn">보고일</Col>
  83. </Row>
  84. </Rows>
  85. </Dataset>
  86. </Radio>
  87. <Static id="caption1" text="주치의" class="search_name" position="absolute 594 7 661 24" anchor="default"/>
  88. <Static id="caption4" text="진료과" class="search_name" position="absolute 385 7 455 24" anchor="default"/>
  89. <Combo id="cmb_orddr" taborder="7" innerdataset="@ds_initexecdr" codecolumn="execorddrcdid" datacolumn="execorddrcdnm" class="combo_search" position="absolute 664 6 755 25" anchor="default"/>
  90. <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"/>
  91. <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"/>
  92. <Static id="caption5" text="환자명" class="search_name" position="absolute 594 29 680 46" anchor="default"/>
  93. <Static id="caption10" text="조회기준" class="search_name" position="absolute 12 29 98 46" anchor="default" style="font:Dotum,9,bold;"/>
  94. <Static id="caption11" text="조회기간" class="search_name" position="absolute 12 7 98 24" anchor="default" style="font:Dotum,9,bold;"/>
  95. <Edit id="input1" taborder="10" class="input_search" position="absolute 664 29 753 48" anchor="default" imemode="hangul"/>
  96. <Button id="button5" taborder="11" class="icon_search" position="absolute 758 30 774 46" anchor="default" onclick="group3_grp_sea_button5_onclick"/>
  97. <Edit id="input2" taborder="12" class="input_search" enable="false" position="absolute 780 29 840 48" anchor="default"/>
  98. <Edit id="input3" taborder="13" class="input_search" enable="false" position="absolute 902 29 922 48" anchor="default"/>
  99. <Edit id="input4" taborder="14" class="input_search" enable="false" position="absolute 923 29 948 48" anchor="default"/>
  100. <Edit id="input5" taborder="15" class="input_search" enable="false" position="absolute 841 29 901 48" anchor="default"/>
  101. <Edit id="input10" taborder="16" class="input_search" enable="false" position="absolute 780 7 901 26" anchor="default"/>
  102. <Button id="button45" taborder="17" text="환경설정" class="btn2" position="absolute 965 7 1040 26" anchor="default" onclick="group3_grp_sea_button45_onclick"/>
  103. <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">
  104. <Dataset id="innerdataset">
  105. <ColumnInfo>
  106. <Column id="codecolumn" size="256"/>
  107. <Column id="datacolumn" size="256"/>
  108. </ColumnInfo>
  109. <Rows>
  110. <Row>
  111. <Col id="codecolumn">7</Col>
  112. <Col id="datacolumn">1주</Col>
  113. </Row>
  114. <Row>
  115. <Col id="codecolumn">14</Col>
  116. <Col id="datacolumn">2주</Col>
  117. </Row>
  118. <Row>
  119. <Col id="codecolumn">30</Col>
  120. <Col id="datacolumn">1달</Col>
  121. </Row>
  122. <Row>
  123. <Col id="codecolumn">90</Col>
  124. <Col id="datacolumn">3개월</Col>
  125. </Row>
  126. <Row>
  127. <Col id="codecolumn">180</Col>
  128. <Col id="datacolumn">6개월</Col>
  129. </Row>
  130. <Row>
  131. <Col id="codecolumn">270</Col>
  132. <Col id="datacolumn">9개월</Col>
  133. </Row>
  134. <Row>
  135. <Col id="codecolumn">365</Col>
  136. <Col id="datacolumn">1년</Col>
  137. </Row>
  138. <Row>
  139. <Col id="codecolumn">730</Col>
  140. <Col id="datacolumn">2년</Col>
  141. </Row>
  142. </Rows>
  143. </Dataset>
  144. </Combo>
  145. <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"/>
  146. <Button id="button51" taborder="21" text="과거검사결과" class="btn2" position="absolute 1140 7 1226 26" onclick="group3_grp_sea_button51_onclick" anchor="top right"/>
  147. <Button id="btn_MyPatList" taborder="22" text="대상자조회" class="btn2" position="absolute 965 30 1040 49" onclick="group3_grp_sea_btn_MyPatList_onclick" anchor="default"/>
  148. <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"/>
  149. </Layout>
  150. </Layouts>
  151. </Div>
  152. <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">
  153. <Formats>
  154. <Format id="default">
  155. <Columns>
  156. <Column size="19" band="left"/>
  157. <Column size="1184"/>
  158. <Column size="0"/>
  159. <Column size="0"/>
  160. <Column size="0"/>
  161. <Column size="0"/>
  162. <Column size="0"/>
  163. <Column size="0"/>
  164. </Columns>
  165. <Rows>
  166. <Row size="0" band="head"/>
  167. <Row size="21"/>
  168. </Rows>
  169. <Band id="head">
  170. <Cell/>
  171. <Cell col="1" text="결과내역 "/>
  172. <Cell col="2" text="judgmark"/>
  173. <Cell col="3" text="judgmark2"/>
  174. <Cell col="4" text="prcpcd"/>
  175. <Cell col="5" text="prcpnm"/>
  176. <Cell col="6" text="img"/>
  177. <Cell col="7" text="imgcnts"/>
  178. </Band>
  179. <Band id="body">
  180. <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==&quot;Y&quot;||check==1)?1:0"/>
  181. <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"/>
  182. <Cell col="2" text="bind:judgmark"/>
  183. <Cell col="3" text="bind:judgmark2"/>
  184. <Cell col="4" text="bind:prcpcd"/>
  185. <Cell col="5" text="bind:prcpnm"/>
  186. <Cell col="6" text="bind:img"/>
  187. <Cell col="7" text="bind:imgcnts"/>
  188. </Band>
  189. </Format>
  190. </Formats>
  191. <Layouts>
  192. <Layout width="938" height="810"/>
  193. </Layouts>
  194. </Grid>
  195. <Tab id="switch1" taborder="53" position="absolute 5 84 310 917" anchor="left top bottom" onchanged="group3_switch1_onchanged" visible="true" tabindex="1">
  196. <Tabpages>
  197. <Tabpage id="case5" text="그룹별">
  198. <Layouts>
  199. <Layout>
  200. <Shape id="roundrect3" type="roundrectangle" class="roundrect_search" position="absolute 0 2 299 47"/>
  201. <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">
  202. <Formats>
  203. <Format id="default">
  204. <Columns>
  205. <Column size="25" band="left"/>
  206. <Column size="68" band="left"/>
  207. <Column size="68" band="left"/>
  208. <Column size="68" band="left"/>
  209. <Column size="115"/>
  210. <Column size="70"/>
  211. <Column size="70"/>
  212. <Column size="0"/>
  213. <Column size="102"/>
  214. <Column size="58"/>
  215. <Column size="39"/>
  216. <Column size="65"/>
  217. <Column size="54"/>
  218. <Column size="68"/>
  219. <Column size="68"/>
  220. <Column size="0"/>
  221. <Column size="0"/>
  222. <Column size="0"/>
  223. <Column size="0"/>
  224. <Column size="0"/>
  225. <Column size="68"/>
  226. <Column size="0"/>
  227. </Columns>
  228. <Rows>
  229. <Row size="24" band="head"/>
  230. <Row size="24"/>
  231. </Rows>
  232. <Band id="head">
  233. <Cell displaytype="checkbox" edittype="checkbox"/>
  234. <Cell col="1" text="보고일자"/>
  235. <Cell col="2" text="검사일자"/>
  236. <Cell col="3" text="처방일자"/>
  237. <Cell col="4" text="검사명"/>
  238. <Cell col="5" text="검체명"/>
  239. <Cell col="6" text="병리번호"/>
  240. <Cell col="7" text="바코드번호"/>
  241. <Cell col="8" text="육안검사의"/>
  242. <Cell col="9" text="상태"/>
  243. <Cell col="10" text="입/외"/>
  244. <Cell col="11" text="처방의"/>
  245. <Cell col="12" text="구분"/>
  246. <Cell col="13" text="보고일자"/>
  247. <Cell col="14" text="처방일자"/>
  248. <Cell col="15" text="검사중분류코드"/>
  249. <Cell col="16" text="유일번호"/>
  250. <Cell col="17" text="등록번호"/>
  251. <Cell col="18" text="전자서명번호"/>
  252. <Cell col="19" text="서식코드"/>
  253. <Cell col="20" text="검사일자"/>
  254. <Cell col="21" text="hla"/>
  255. </Band>
  256. <Band id="body">
  257. <Cell displaytype="checkbox" edittype="checkbox" style="background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:check" expr="expr:(check==&quot;Y&quot;||check==1)?1:0" autosizerow="limitmin"/>
  258. <Cell col="1" displaytype="date" style="background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:lastreptdd" autosizerow="limitmin"/>
  259. <Cell col="2" displaytype="date" style="background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:execdd1" autosizerow="limitmin"/>
  260. <Cell col="3" displaytype="date" style="background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:prcpdd1" autosizerow="limitmin"/>
  261. <Cell col="4" style="align:left;padding:2 3 2 3;background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:examnm" wordwrap="char" autosizerow="limitmin"/>
  262. <Cell col="5" style="align:left;padding:0 0 0 5;background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:spcnm" autosizerow="default"/>
  263. <Cell col="6" style="align:left;padding:0 0 0 5;background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:ptno" autosizerow="limitmin"/>
  264. <Cell col="7" style="align:left;padding:0 0 0 5;background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:bcno" autosizerow="limitmin"/>
  265. <Cell col="8" style="align:left;padding:0 0 0 5;background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:grosdrnm" autosizerow="limitmin"/>
  266. <Cell col="9" style="align:left;padding:0 0 0 5;background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:statnm" autosizerow="limitmin"/>
  267. <Cell col="10" displaytype="combo" edittype="combo" style="align:left;padding:0 0 0 5;background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:prcpgenrflag" combodataset="ds_M0010" combocodecol="cdid" combodatacol="cdnm" autosizerow="limitmin"/>
  268. <Cell col="11" style="align:left;padding:0 0 0 5;background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:drnm" autosizerow="limitmin"/>
  269. <Cell col="12" style="align:left;padding:0 0 0 5;background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:examgubun" autosizerow="limitmin"/>
  270. <Cell col="13" displaytype="date" style="background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:lastreptdd1" autosizerow="limitmin"/>
  271. <Cell col="14" displaytype="date" style="background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:prcpdd" autosizerow="limitmin"/>
  272. <Cell col="15" style="background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:testmdlcd" autosizerow="limitmin"/>
  273. <Cell col="16" style="background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:execprcpuniqno" autosizerow="limitmin"/>
  274. <Cell col="17" style="background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:pid" autosizerow="limitmin"/>
  275. <Cell col="18" style="background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:signno" autosizerow="limitmin"/>
  276. <Cell col="19" style="background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:formcd" autosizerow="limitmin"/>
  277. <Cell col="20" displaytype="date" style="background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:execdd" autosizerow="limitmin"/>
  278. <Cell col="21" text="bind:hla" autosizerow="limitmin"/>
  279. </Band>
  280. </Format>
  281. </Formats>
  282. </Grid>
  283. <Button id="button43" taborder="2" text="선택항목조회" class="btn2" position="absolute 12 4 98 23" anchor="default" onclick="group3_switch1_case5_button43_onclick"/>
  284. <Button id="button44" taborder="3" text="서식항목조회" class="btn2" position="absolute 12 26 98 45" anchor="default" onclick="group3_switch1_case5_button44_onclick"/>
  285. <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"/>
  286. </Layout>
  287. </Layouts>
  288. </Tabpage>
  289. <Tabpage id="case1" text="분류별">
  290. <Layouts>
  291. <Layout>
  292. <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">
  293. <Formats>
  294. <Format id="default">
  295. <Columns>
  296. <Column size="25" band="left"/>
  297. <Column size="75" band="left"/>
  298. <Column size="75" band="left"/>
  299. <Column size="75" band="left"/>
  300. <Column size="115" band="left"/>
  301. <Column size="70"/>
  302. <Column size="70"/>
  303. <Column size="0"/>
  304. <Column size="102"/>
  305. <Column size="58"/>
  306. <Column size="39"/>
  307. <Column size="65"/>
  308. <Column size="54"/>
  309. <Column size="68"/>
  310. <Column size="68"/>
  311. <Column size="0"/>
  312. <Column size="0"/>
  313. <Column size="0"/>
  314. <Column size="0"/>
  315. <Column size="0"/>
  316. <Column size="68"/>
  317. <Column size="0"/>
  318. <Column size="30"/>
  319. </Columns>
  320. <Rows>
  321. <Row size="24" band="head"/>
  322. <Row size="21"/>
  323. </Rows>
  324. <Band id="head">
  325. <Cell displaytype="checkbox" edittype="checkbox"/>
  326. <Cell col="1" text="보고일자"/>
  327. <Cell col="2" text="검사일자"/>
  328. <Cell col="3" text="처방일자"/>
  329. <Cell col="4" text="검사명"/>
  330. <Cell col="5" text="검체명"/>
  331. <Cell col="6" text="병리번호"/>
  332. <Cell col="7" text="바코드번호"/>
  333. <Cell col="8" text="육안검사의"/>
  334. <Cell col="9" text="상태"/>
  335. <Cell col="10" text="입/외"/>
  336. <Cell col="11" text="처방의"/>
  337. <Cell col="12" text="구분"/>
  338. <Cell col="13" text="보고일자"/>
  339. <Cell col="14" text="처방일자"/>
  340. <Cell col="15" text="검사중분류코드"/>
  341. <Cell col="16" text="유일번호"/>
  342. <Cell col="17" text="등록번호"/>
  343. <Cell col="18" text="전자서명번호"/>
  344. <Cell col="19" text="서식코드"/>
  345. <Cell col="20" text="검사일자"/>
  346. <Cell col="21" text="hla"/>
  347. <Cell col="22" text="PB"/>
  348. </Band>
  349. <Band id="body">
  350. <Cell displaytype="checkbox" edittype="checkbox" style="background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:check" expr="expr:(check==&quot;Y&quot;||check==1)?1:0"/>
  351. <Cell col="1" displaytype="date" style="background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:lastreptdd"/>
  352. <Cell col="2" displaytype="date" style="background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:execdd1"/>
  353. <Cell col="3" displaytype="date" style="background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:prcpdd1"/>
  354. <Cell col="4" style="align:left;padding:0 0 0 5;background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:examnm" wordwrap="none" autosizerow="default"/>
  355. <Cell col="5" style="align:left;padding:2 3 2 3;background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:spcnm" wordwrap="char" autosizerow="limitmin"/>
  356. <Cell col="6" style="align:left;padding:0 0 0 5;background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:ptno"/>
  357. <Cell col="7" style="align:left;padding:0 0 0 5;background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:bcno"/>
  358. <Cell col="8" style="align:left;padding:0 0 0 5;background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:grosdrnm"/>
  359. <Cell col="9" style="align:left;padding:0 0 0 5;background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:statnm"/>
  360. <Cell col="10" displaytype="combo" edittype="combo" style="align:left;padding:0 0 0 5;background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:prcpgenrflag" combodataset="ds_M0010" combocodecol="cdid" combodatacol="cdnm"/>
  361. <Cell col="11" style="align:left;padding:0 0 0 5;background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:drnm"/>
  362. <Cell col="12" style="align:left;padding:0 0 0 5;background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:examgubun"/>
  363. <Cell col="13" displaytype="date" style="background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:lastreptdd1"/>
  364. <Cell col="14" displaytype="date" style="background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:prcpdd"/>
  365. <Cell col="15" style="background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:testmdlcd"/>
  366. <Cell col="16" style="background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:execprcpuniqno"/>
  367. <Cell col="17" style="background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:pid"/>
  368. <Cell col="18" style="background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:signno"/>
  369. <Cell col="19" style="background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:formcd"/>
  370. <Cell col="20" displaytype="date" style="background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:execdd"/>
  371. <Cell col="21" text="bind:hla"/>
  372. <Cell col="22" style="align:center middle;background:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);background2:EXPR((bgcolor==&quot;Y&quot;) ? &quot;#b9e5fb&quot; : &quot;#ffffff&quot;);" text="bind:pbsmearyn"/>
  373. </Band>
  374. </Format>
  375. </Formats>
  376. <Layouts>
  377. <Layout width="300" height="762"/>
  378. </Layouts>
  379. </Grid>
  380. <Shape id="roundrect3" type="roundrectangle" class="roundrect_search" position="absolute 0 2 299 47" anchor="default"/>
  381. <Button id="btn_dailysrch" taborder="2" text="검색" class="btn2_letter2" visible="false" position="absolute 250 12 292 31" anchor="default"/>
  382. <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"/>
  383. <Combo id="cmb_dailyviewgb" taborder="4" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" visible="false" position="absolute 170 11 283 30" anchor="default">
  384. <Dataset id="innerdataset">
  385. <ColumnInfo>
  386. <Column id="codecolumn"/>
  387. <Column id="datacolumn"/>
  388. </ColumnInfo>
  389. <Rows>
  390. <Row>
  391. <Col id="codecolumn">1</Col>
  392. <Col id="datacolumn">텍스트결과조회</Col>
  393. </Row>
  394. <Row>
  395. <Col id="codecolumn">2</Col>
  396. <Col id="datacolumn">디자인결과조회</Col>
  397. </Row>
  398. <Row>
  399. <Col id="codecolumn">3</Col>
  400. <Col id="datacolumn">텍스트+디자인결과</Col>
  401. </Row>
  402. </Rows>
  403. </Dataset>
  404. </Combo>
  405. <Button id="button38" taborder="5" text="선택항목조회" class="btn2" position="absolute 12 4 98 23" anchor="default" onclick="group3_switch1_case1_button38_onclick"/>
  406. <Button id="button41" taborder="6" text="서식항목조회" class="btn2" position="absolute 12 26 98 45" anchor="default" onclick="group3_switch1_case1_button41_onclick"/>
  407. <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"/>
  408. </Layout>
  409. </Layouts>
  410. </Tabpage>
  411. <Tabpage id="case3" text="SET별">
  412. <Layouts>
  413. <Layout>
  414. <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">
  415. <Formats>
  416. <Format id="default">
  417. <Columns>
  418. <Column size="299"/>
  419. </Columns>
  420. <Rows>
  421. <Row size="0" band="head"/>
  422. <Row size="18"/>
  423. </Rows>
  424. <Band id="head">
  425. <Cell text="setnm"/>
  426. </Band>
  427. <Band id="body">
  428. <Cell displaytype="tree" edittype="tree" style="line:1 none #808080ff ;background:transparent;background2:transparent;" text="bind:setnm" treelevel="bind:levl"/>
  429. </Band>
  430. </Format>
  431. </Formats>
  432. </Grid>
  433. <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"/>
  434. <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"/>
  435. <Shape id="roundrect4" type="roundrectangle" position="absolute 5 27 299 117" anchor="default"/>
  436. <Button id="button2" taborder="4" text="검색" class="btn2_letter2" position="absolute 217 91 259 110" anchor="default" onclick="group3_switch1_case3_button2_onclick"/>
  437. <Edit id="ipt_foldnm" taborder="5" position="absolute 89 91 214 110" anchor="default" onkeydown="group3_switch1_case3_ipt_foldnm_onkeydown"/>
  438. <Static id="caption12" text="폴더명 :" class="search_name" position="absolute 15 93 101 110" anchor="default"/>
  439. <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"/>
  440. <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">
  441. <Dataset id="innerdataset">
  442. <ColumnInfo>
  443. <Column id="codecolumn"/>
  444. <Column id="datacolumn"/>
  445. </ColumnInfo>
  446. <Rows>
  447. <Row>
  448. <Col id="codecolumn">P</Col>
  449. <Col id="datacolumn">개인</Col>
  450. </Row>
  451. <Row>
  452. <Col id="codecolumn">D</Col>
  453. <Col id="datacolumn">과</Col>
  454. </Row>
  455. <Row>
  456. <Col id="codecolumn">T</Col>
  457. <Col id="datacolumn">타과</Col>
  458. </Row>
  459. </Rows>
  460. </Dataset>
  461. </Radio>
  462. <Static id="caption13" text="개인" visible="false" position="absolute 71 39 114 59" anchor="default" style="color:red;"/>
  463. <Static id="caption14" text="과" visible="false" position="absolute 130 39 173 59" anchor="default" style="color:red;"/>
  464. <Static id="caption15" text="타과" visible="false" position="absolute 190 39 233 59" anchor="default" style="color:red;"/>
  465. </Layout>
  466. </Layouts>
  467. </Tabpage>
  468. <Tabpage id="case4" text="진행상태" style="anchor:default;margin:0 0 0 0;">
  469. <Layouts>
  470. <Layout>
  471. <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">
  472. <Formats>
  473. <Format id="default">
  474. <Columns>
  475. <Column size="40"/>
  476. <Column size="75"/>
  477. <Column size="47"/>
  478. <Column size="143"/>
  479. <Column size="63"/>
  480. <Column size="57"/>
  481. <Column size="65"/>
  482. <Column size="45"/>
  483. <Column size="58"/>
  484. <Column size="58"/>
  485. <Column size="45"/>
  486. <Column size="72"/>
  487. <Column size="72"/>
  488. <Column size="72"/>
  489. <Column size="72"/>
  490. <Column size="72"/>
  491. <Column size="50"/>
  492. <Column size="50"/>
  493. <Column size="75"/>
  494. </Columns>
  495. <Rows>
  496. <Row size="24" band="head"/>
  497. <Row size="24"/>
  498. </Rows>
  499. <Band id="head">
  500. <Cell text="입/외"/>
  501. <Cell col="1" text="처방적용일"/>
  502. <Cell col="2" text="구분"/>
  503. <Cell col="3" text="처방명"/>
  504. <Cell col="4" text="검체명"/>
  505. <Cell col="5" text="검체번호"/>
  506. <Cell col="6" text="병리번호"/>
  507. <Cell col="7" text="육안검사의"/>
  508. <Cell col="8" text="판독의"/>
  509. <Cell col="9" text="상태"/>
  510. <Cell col="10" text="처방의"/>
  511. <Cell col="11" text="예약일시"/>
  512. <Cell col="12" text="채취일시"/>
  513. <Cell col="13" text="접수일시"/>
  514. <Cell col="14" text="실시일시"/>
  515. <Cell col="15" text="보고일시"/>
  516. <Cell col="16" text="채취자"/>
  517. <Cell col="17" text="접수자"/>
  518. <Cell col="18" text="처방코드"/>
  519. </Band>
  520. <Band id="body">
  521. <Cell displaytype="combo" edittype="combo" style="align:center;" text="bind:prcpgenrflag" combodataset="ds_M0010" combocodecol="cdid" combodatacol="cdnm" autosizerow="limitmin"/>
  522. <Cell col="1" displaytype="date" text="bind:prcpdt" autosizerow="limitmin"/>
  523. <Cell col="2" style="align:left middle;" text="bind:biznm" autosizerow="limitmin"/>
  524. <Cell col="3" style="align:left top;padding:5 2 0 2;" text="bind:prcpnm" wordwrap="char" autosizerow="limitmin"/>
  525. <Cell col="4" style="align:left top;padding:5 2 0 2;" text="bind:spcnm" wordwrap="char" autosizerow="limitmin"/>
  526. <Cell col="5" style="padding:5 2 0 2;" text="bind:drugmthdspccd" autosizerow="limitmin"/>
  527. <Cell col="6" style="align:left top;padding:5 2 0 2;" text="bind:bcno" wordwrap="char" autosizerow="limitmin"/>
  528. <Cell col="7" text="bind:grosdrnm" autosizerow="limitmin"/>
  529. <Cell col="8" text="bind:spcdrnm" autosizerow="limitmin"/>
  530. <Cell col="9" text="bind:prcpstatnm" autosizerow="limitmin"/>
  531. <Cell col="10" text="bind:orddrnm" autosizerow="limitmin"/>
  532. <Cell col="11" displaytype="normal" style="align:left top;padding:5 2 0 2;" text="bind:rsrvdt" wordwrap="word" mask="expr:getColumn(currow,'rsrvdt')=='-'?&quot;&quot;:&quot;@@@@-@@-@@ @@:@@:@@&quot;" autosizerow="limitmin"/>
  533. <Cell col="12" displaytype="normal" style="align:left top;padding:5 2 0 2;" text="bind:bcolldt" wordwrap="word" mask="expr:getColumn(currow,'bcolldt')=='-'?&quot;&quot;:&quot;@@@@-@@-@@ @@:@@:@@&quot;" autosizerow="limitmin"/>
  534. <Cell col="13" displaytype="normal" style="align:left top;padding:5 2 0 2;" text="bind:acptdt" wordwrap="word" mask="expr:getColumn(currow,'acptdt')=='-'?&quot;&quot;:&quot;@@@@-@@-@@ @@:@@:@@&quot;" autosizerow="limitmin"/>
  535. <Cell col="14" displaytype="normal" style="align:left top;padding:5 2 0 2;" text="bind:execdt" wordwrap="word" mask="expr:getColumn(currow,'execdt')=='-'?&quot;&quot;:&quot;@@@@-@@-@@ @@:@@:@@&quot;" autosizerow="limitmin"/>
  536. <Cell col="15" displaytype="normal" style="align:left top;padding:5 2 0 2;" text="bind:reptdt" wordwrap="word" mask="expr:getColumn(currow,'reptdt')=='-'?&quot;&quot;:&quot;@@@@-@@-@@ @@:@@:@@&quot;" autosizerow="limitmin"/>
  537. <Cell col="16" text="bind:bcollid" autosizerow="limitmin"/>
  538. <Cell col="17" text="bind:acptid" autosizerow="limitmin"/>
  539. <Cell col="18" text="bind:prcpcd" autosizerow="limitmin"/>
  540. </Band>
  541. </Format>
  542. </Formats>
  543. <Layouts>
  544. <Layout width="299" height="809"/>
  545. </Layouts>
  546. </Grid>
  547. </Layout>
  548. </Layouts>
  549. </Tabpage>
  550. </Tabpages>
  551. </Tab>
  552. <Button id="button103" taborder="57" class="icon_right" position="absolute 279 86 305 105" anchor="default" onclick="group3_button103_onclick"/>
  553. <Button id="button102" taborder="58" class="icon_left" position="absolute 252 86 278 105" anchor="default" onclick="group3_button102_onclick"/>
  554. <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">
  555. <Formats>
  556. <Format id="default"/>
  557. </Formats>
  558. </Grid>
  559. <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">
  560. <Formats>
  561. <Format id="default">
  562. <Columns>
  563. <Column size="25" band="left"/>
  564. <Column size="266" band="left"/>
  565. <Column size="55" band="left"/>
  566. <Column size="55" band="left"/>
  567. <Column size="76" band="left"/>
  568. <Column size="107"/>
  569. <Column size="62"/>
  570. <Column size="62"/>
  571. <Column size="91"/>
  572. <Column size="62"/>
  573. <Column size="100"/>
  574. <Column size="57"/>
  575. <Column size="68"/>
  576. <Column size="66"/>
  577. <Column size="208"/>
  578. <Column size="30"/>
  579. </Columns>
  580. <Rows>
  581. <Row size="24" band="head"/>
  582. <Row size="24"/>
  583. </Rows>
  584. <Band id="head">
  585. <Cell/>
  586. <Cell col="1" text="검사명"/>
  587. <Cell col="2" text="결과"/>
  588. <Cell col="3" text="단위"/>
  589. <Cell col="4" text="참고치"/>
  590. <Cell col="5" text="보고일시"/>
  591. <Cell col="6" text="검사자"/>
  592. <Cell col="7" text="확인자"/>
  593. <Cell col="8" text="시행부서"/>
  594. <Cell col="9" text="검사코드"/>
  595. <Cell col="10" text="검체번호"/>
  596. <Cell col="11" text="판정마크"/>
  597. <Cell col="12" text="구분"/>
  598. <Cell col="13" text="처방코드"/>
  599. <Cell col="14" text="처방명"/>
  600. <Cell col="15" text="판정"/>
  601. </Band>
  602. <Band id="body">
  603. <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"/>
  604. <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"/>
  605. <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=='' &amp;&amp; judgmark2=='') || judgmark == 'IMG' ? &quot;&quot; : reptrslt)"/>
  606. <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=='' &amp;&amp; judgmark2=='') || judgmark == 'IMG' ? &quot;&quot; : rsltunit)"/>
  607. <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=='' &amp;&amp; judgmark2=='') || judgmark == 'IMG' ? &quot;&quot; : ref)" tooltiptext="bind:ref"/>
  608. <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=='' &amp;&amp; judgmark2=='') || judgmark == 'IMG' ? &quot;&quot; : lastreptdt)"/>
  609. <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=='' &amp;&amp; judgmark2=='') || judgmark == 'IMG' ? &quot;&quot; : testpsn)"/>
  610. <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=='' &amp;&amp; judgmark2=='') || judgmark == 'IMG' ? &quot;&quot; : chkid)"/>
  611. <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=='' &amp;&amp; judgmark2=='') || judgmark == 'IMG' ? &quot;&quot; : tsectnm)"/>
  612. <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"/>
  613. <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"/>
  614. <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"/>
  615. <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"/>
  616. <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"/>
  617. <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"/>
  618. <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"/>
  619. </Band>
  620. </Format>
  621. </Formats>
  622. </Grid>
  623. <Div id="grp_makedset" taborder="52" visible="false" position="absolute 0 243 306 918" anchor="left top bottom" style="background:white;">
  624. <Layouts>
  625. <Layout>
  626. <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">
  627. <Formats>
  628. <Format id="default">
  629. <Columns>
  630. <Column size="40"/>
  631. <Column size="76"/>
  632. <Column size="164"/>
  633. </Columns>
  634. <Rows>
  635. <Row size="24" band="head"/>
  636. <Row size="24"/>
  637. </Rows>
  638. <Band id="head">
  639. <Cell text="구분"/>
  640. <Cell col="1" text="SET명"/>
  641. <Cell col="2" text="검사항목"/>
  642. </Band>
  643. <Band id="body">
  644. <Cell text="bind:setkindnm"/>
  645. <Cell col="1" text="bind:setnm"/>
  646. <Cell col="2" text="bind:testcdnm" wordwrap="char" autosizerow="limitmin"/>
  647. </Band>
  648. </Format>
  649. </Formats>
  650. </Grid>
  651. <Button id="button9" taborder="2" text="닫기" class="btn2_letter2" position="absolute 250 3 292 22" anchor="default" onclick="group3_grp_makedset_button9_onclick"/>
  652. <Static id="caption9" text="SET 전체항목조회" class="tit_1" position="absolute 3 0 193 24" anchor="default"/>
  653. </Layout>
  654. </Layouts>
  655. </Div>
  656. <Div id="grp_searchset" taborder="54" visible="false" position="absolute 525 391 952 655" anchor="default">
  657. <Layouts>
  658. <Layout>
  659. <Static id="caption7" text="진료과" class="search_name" position="absolute 10 26 80 43" anchor="default"/>
  660. <Button id="button15" taborder="3" text="닫기" class="btn2_letter2" position="absolute 370 26 412 45" anchor="default"/>
  661. <Grid id="datagrid6" taborder="1" useinputpanel="false" position="absolute 1 53 425 261" anchor="default">
  662. <Formats>
  663. <Format id="default">
  664. <Columns>
  665. <Column size="67"/>
  666. <Column size="54"/>
  667. <Column size="94"/>
  668. <Column size="203"/>
  669. </Columns>
  670. <Rows>
  671. <Row size="24" band="head"/>
  672. <Row size="24"/>
  673. </Rows>
  674. <Band id="head">
  675. <Cell text="진료과"/>
  676. <Cell col="1" text="구분"/>
  677. <Cell col="2" text="SET명"/>
  678. <Cell col="3" text="검사항목"/>
  679. </Band>
  680. <Band id="body">
  681. <Cell/>
  682. <Cell col="1"/>
  683. <Cell col="2"/>
  684. <Cell col="3"/>
  685. </Band>
  686. </Format>
  687. </Formats>
  688. </Grid>
  689. <Static id="caption8" text="SET 조회" class="tit_1" position="absolute 25 10 131 23" anchor="default"/>
  690. <Shape id="roundrect1" type="roundrectangle" class="roundrect_search" position="absolute 3 20 423 50" anchor="default"/>
  691. <Combo id="combo5" taborder="2" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 80 26 193 45" anchor="default">
  692. <Dataset id="innerdataset">
  693. <ColumnInfo>
  694. <Column id="codecolumn"/>
  695. <Column id="datacolumn"/>
  696. </ColumnInfo>
  697. <Rows>
  698. <Row>
  699. <Col id="codecolumn">combo1</Col>
  700. <Col id="datacolumn">combo1</Col>
  701. </Row>
  702. </Rows>
  703. </Dataset>
  704. </Combo>
  705. </Layout>
  706. </Layouts>
  707. </Div>
  708. <Div id="div_lis" taborder="64" position="absolute 311 141 1238 904" style="background:white;border:1 solid #808080ff ;" visible="false" anchor="default">
  709. <Layouts>
  710. <Layout width="925" height="762">
  711. <Grid id="grd_LisResultList" taborder="0" binddataset="ds_subresultdetail2" useinputpanel="false" visible="true" position="absolute 0 25 925 761" anchor="default">
  712. <Formats>
  713. <Format id="default">
  714. <Columns>
  715. <Column size="25"/>
  716. <Column size="70"/>
  717. <Column size="200"/>
  718. <Column size="75"/>
  719. <Column size="60"/>
  720. <Column size="70"/>
  721. <Column size="100"/>
  722. <Column size="85"/>
  723. <Column size="85"/>
  724. <Column size="60"/>
  725. <Column size="60"/>
  726. <Column size="80"/>
  727. <Column size="83"/>
  728. <Column size="0"/>
  729. <Column size="80"/>
  730. <Column size="0"/>
  731. <Column size="90"/>
  732. <Column size="80"/>
  733. </Columns>
  734. <Rows>
  735. <Row size="24" band="head"/>
  736. <Row size="24"/>
  737. </Rows>
  738. <Band id="head">
  739. <Cell/>
  740. <Cell col="1" text="검사분류"/>
  741. <Cell col="2" text="검사명"/>
  742. <Cell col="3" text="결과값"/>
  743. <Cell col="4" text="단위"/>
  744. <Cell col="5" text="참고치"/>
  745. <Cell col="6" text="보고일시"/>
  746. <Cell col="7" text="접수일시"/>
  747. <Cell col="8" text="처방일시"/>
  748. <Cell col="9" text="검사자"/>
  749. <Cell col="10" text="확인자"/>
  750. <Cell col="11" text="시행부서"/>
  751. <Cell col="12" text="바코드"/>
  752. <Cell col="13" text="caption6"/>
  753. <Cell col="14" text="검사코드"/>
  754. <Cell col="15" text="caption8"/>
  755. <Cell col="16" text="검체명"/>
  756. <Cell col="17" text="결과상태"/>
  757. </Band>
  758. <Band id="body">
  759. <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"/>
  760. <Cell col="1" displaytype="text" style="align:left top;padding:5 2 1 2;" text="bind:examnm" wordwrap="char"/>
  761. <Cell col="2" displaytype="text" style="align:left top;padding:5 2 1 2;" text="bind:tclsscrnnnm" wordwrap="char"/>
  762. <Cell col="3" displaytype="text" style="align:left top;padding:5 2 1 2;" text="bind:reptrslt" wordwrap="char"/>
  763. <Cell col="4" displaytype="text" style="align:left top;padding:5 2 1 2;" text="bind:rsltunit" wordwrap="char"/>
  764. <Cell col="5" displaytype="text" style="align:left top;padding:5 2 1 2;" text="bind:ref" wordwrap="char"/>
  765. <Cell col="6" displaytype="text" style="align:left top;padding:5 2 1 2;" text="bind:lastreptdt" wordwrap="char"/>
  766. <Cell col="7" displaytype="text" style="align:left top;padding:5 2 1 2;" text="bind:execdd1" wordwrap="char"/>
  767. <Cell col="8" displaytype="text" style="align:left top;padding:5 2 1 2;" text="bind:prcpdd1" wordwrap="char"/>
  768. <Cell col="9" displaytype="text" style="align:left top;padding:5 2 1 2;" text="bind:testpsn" wordwrap="char"/>
  769. <Cell col="10" displaytype="text" style="align:left top;padding:5 2 1 2;" text="bind:chkid" wordwrap="char"/>
  770. <Cell col="11" displaytype="text" style="align:left top;padding:5 2 1 2;" text="bind:tsectnm" wordwrap="char"/>
  771. <Cell col="12" displaytype="text" style="align:left top;padding:5 2 1 2;" text="bind:bcno" wordwrap="char"/>
  772. <Cell col="13" displaytype="text" style="align:left top;padding:5 2 1 2;" text="bind:judgmark" wordwrap="char"/>
  773. <Cell col="14" displaytype="text" style="align:left top;padding:5 2 1 2;" text="bind:prcpcd" wordwrap="char"/>
  774. <Cell col="15" displaytype="text" style="align:left top;padding:5 2 1 2;" text="bind:lastreptdd" wordwrap="char"/>
  775. <Cell col="16" displaytype="text" style="align:left top;padding:5 2 1 2;" text="bind:spcnm" wordwrap="char"/>
  776. <Cell col="17" displaytype="text" style="align:left top;padding:5 2 1 2;" text="bind:statnm" wordwrap="char"/>
  777. </Band>
  778. </Format>
  779. </Formats>
  780. </Grid>
  781. <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"/>
  782. <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"/>
  783. </Layout>
  784. </Layouts>
  785. </Div>
  786. <Grid id="datagrid3" taborder="13" binddataset="ds_datagrid3" useinputpanel="false" visible="false" position="absolute 385 197 1160 517" anchor="default">
  787. <Formats>
  788. <Format id="default">
  789. <Columns>
  790. <Column size="47"/>
  791. <Column size="100"/>
  792. <Column size="87"/>
  793. <Column size="88"/>
  794. <Column size="32"/>
  795. <Column size="87"/>
  796. <Column size="51"/>
  797. <Column size="84"/>
  798. <Column size="87"/>
  799. <Column size="100"/>
  800. </Columns>
  801. <Rows>
  802. <Row size="24" band="head"/>
  803. <Row size="24"/>
  804. </Rows>
  805. <Band id="head">
  806. <Cell text="caption1"/>
  807. <Cell col="1" text="caption2"/>
  808. <Cell col="2" text="caption3"/>
  809. <Cell col="3" text="caption4"/>
  810. <Cell col="4" text="caption5"/>
  811. <Cell col="5" text="caption6"/>
  812. <Cell col="6" text="caption7"/>
  813. <Cell col="7" text="caption8"/>
  814. <Cell col="8" text="caption9"/>
  815. <Cell col="9" text="caption10"/>
  816. </Band>
  817. <Band id="body">
  818. <Cell text="bind:check"/>
  819. <Cell col="1" text="bind:testmdlcd"/>
  820. <Cell col="2" text="bind:lastreptdd"/>
  821. <Cell col="3" text="bind:examgubun"/>
  822. <Cell col="4" text="bind:level"/>
  823. <Cell col="5" text="bind:srchpid"/>
  824. <Cell col="6" text="bind:dutplceinstcd"/>
  825. <Cell col="7" text="bind:prcpdd"/>
  826. <Cell col="8" text="bind:execprcpuniqno"/>
  827. <Cell col="9" text="bind:bcno"/>
  828. </Band>
  829. </Format>
  830. </Formats>
  831. </Grid>
  832. <Button id="btn_setscrn" taborder="65" text="컬럼설정" class="btn2" position="absolute 237 65 305 85" onclick="group3_btn_setscrn_onclick"/>
  833. </Layout>
  834. </Layouts>
  835. </Div>
  836. <Div id="group1" taborder="2" position="absolute 0 0 1194 24">
  837. <Layouts>
  838. <Layout>
  839. <Static id="caption6" text="결과조회" class="tit_1" position="absolute 0 0 200 24" anchor="default"/>
  840. </Layout>
  841. </Layouts>
  842. </Div>
  843. <Grid id="datagrid5" taborder="1" binddataset="ds_datagrid5" useinputpanel="false" visible="false" position="absolute 582 496 932 646">
  844. <Formats>
  845. <Format id="default">
  846. <Columns>
  847. <Column size="100"/>
  848. <Column size="100"/>
  849. <Column size="100"/>
  850. </Columns>
  851. <Rows>
  852. <Row size="24" band="head"/>
  853. <Row size="24"/>
  854. </Rows>
  855. <Band id="head">
  856. <Cell text="caption1"/>
  857. <Cell col="1" text="caption3"/>
  858. <Cell col="2" text="caption2"/>
  859. </Band>
  860. <Band id="body">
  861. <Cell text="bind:row"/>
  862. <Cell col="1" text="bind:col"/>
  863. <Cell col="2" text="bind:value"/>
  864. </Band>
  865. </Format>
  866. </Formats>
  867. </Grid>
  868. <Div id="div_hirainfo" taborder="4" visible="false" position="absolute 5 423 318 939" scrollbars="none">
  869. <Layouts>
  870. <Layout>
  871. <Div id="div_hiralist" taborder="0" style="background:white;" position="absolute 0 27 307 513" anchor="default" scrollbars="none">
  872. <Layouts>
  873. <Layout>
  874. <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">
  875. <Formats>
  876. <Format id="default">
  877. <Columns>
  878. <Column size="0"/>
  879. <Column size="40"/>
  880. <Column size="0"/>
  881. <Column size="93"/>
  882. <Column size="0"/>
  883. <Column size="0"/>
  884. <Column size="69"/>
  885. <Column size="0"/>
  886. <Column size="0"/>
  887. <Column size="0"/>
  888. <Column size="0"/>
  889. <Column size="322"/>
  890. <Column size="80"/>
  891. <Column size="120"/>
  892. <Column size="50"/>
  893. <Column size="80"/>
  894. <Column size="0"/>
  895. <Column size="0"/>
  896. </Columns>
  897. <Rows>
  898. <Row size="26" band="head"/>
  899. <Row size="30"/>
  900. </Rows>
  901. <Band id="head">
  902. <Cell displaytype="normal" text="instcd"/>
  903. <Cell col="1" displaytype="normal" text="번호"/>
  904. <Cell col="2" displaytype="normal" text="status"/>
  905. <Cell col="3" displaytype="normal" text="서식명칭"/>
  906. <Cell col="4" displaytype="normal" text="기록이력번호"/>
  907. <Cell col="5" text="과"/>
  908. <Cell col="6" displaytype="normal" text="보고일자"/>
  909. <Cell col="7" displaytype="normal" text="cretno"/>
  910. <Cell col="8" displaytype="normal" text="supl_data_fom_cd"/>
  911. <Cell col="9" displaytype="normal" text="fom_ver"/>
  912. <Cell col="10" displaytype="normal" text="rgstrid"/>
  913. <Cell col="11" text="내용"/>
  914. <Cell col="12" displaytype="normal" text="등록번호"/>
  915. <Cell col="13" displaytype="normal" text="연동일자"/>
  916. <Cell col="14" text="연동자"/>
  917. <Cell col="15" displaytype="normal" text="비고"/>
  918. <Cell col="16" text="prcpdd"/>
  919. <Cell col="17" text="execprcpuniqno"/>
  920. </Band>
  921. <Band id="body">
  922. <Cell displaytype="normal" text="bind:instcd"/>
  923. <Cell col="1" displaytype="normal" style="background:EXPR(dupyn == &quot;Y&quot; ? &quot;violet&quot; : &quot;&quot;);background2:EXPR(dupyn == &quot;Y&quot; ? &quot;violet&quot; : &quot;&quot;);selectbackground:EXPR(dupyn == &quot;Y&quot; ? &quot;violet&quot; : &quot;&quot;);" text="bind:recno"/>
  924. <Cell col="2" displaytype="normal" text="bind:status"/>
  925. <Cell col="3" displaytype="text" text="bind:formnm"/>
  926. <Cell col="4" displaytype="text" text="bind:rechistseq"/>
  927. <Cell col="5" displaytype="text" text="bind:deptnm"/>
  928. <Cell col="6" displaytype="text" text="bind:rsltdd" mask="expr:utlf_isNull(orddd) ? &quot;&quot; : &quot;####-##-##&quot;"/>
  929. <Cell col="7" displaytype="text" text="bind:cretno"/>
  930. <Cell col="8" displaytype="text" text="bind:supl_data_fom_cd"/>
  931. <Cell col="9" displaytype="text" text="bind:fom_ver"/>
  932. <Cell col="10" displaytype="text" text="bind:rgstrid"/>
  933. <Cell col="11" displaytype="normal" style="align:left top;" text="bind:rslttxt" wordwrap="char" autosizerow="limitmax"/>
  934. <Cell col="12" displaytype="text" text="bind:pid"/>
  935. <Cell col="13" displaytype="text" text="bind:rgstdd" mask="expr:utlf_isNull(rgstdd) ? &quot;&quot; : &quot;####-##-## ##:##:##&quot;"/>
  936. <Cell col="14" text="bind:rgstrnm"/>
  937. <Cell col="15" displaytype="text" text="bind:bigo"/>
  938. <Cell col="16" text="bind:prcpdd"/>
  939. <Cell col="17" text="bind:execprcpuniqno"/>
  940. </Band>
  941. </Format>
  942. </Formats>
  943. </Grid>
  944. <Static id="caption9" text="수집자료보기" class="tit_1" position="absolute -5 0 105 24" anchor="default"/>
  945. </Layout>
  946. </Layouts>
  947. </Div>
  948. <Div id="div_patinfo_back" taborder="2" style="shadow:outer 5,5 10 gray;" position="absolute 0 27 301 497" transparenthittest="true">
  949. <Layouts>
  950. <Layout width="301" height="470">
  951. </Layout>
  952. </Layouts>
  953. </Div>
  954. <Button id="btn_rt" taborder="1" text="조회" position="absolute 190 31 239 51" class="btn2_letter2" anchor="default" onclick="div_hirainfo_btn_rt_onclick"/>
  955. <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"/>
  956. <Button id="btn_delhira" taborder="1" text="삭제" onclick="btn_hira_onclick" class="btn5" position="absolute 247 472 287 492" tooltiptext="선택한 모든 항목을 수행합니다." userMsg="삭제" anchor="default"/>
  957. <CheckBox id="chk_allSrch" taborder="3" text="담은기록전체" onclick="div_hirainfo_chk_allSrch_onclick" visible="false" position="absolute 4 472 104 492" anchor="default"/>
  958. </Layout>
  959. </Layouts>
  960. </Div>
  961. </Layout>
  962. </Layouts>
  963. <Objects>
  964. <Dataset id="ds_datagrid5" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  965. <ColumnInfo>
  966. <Column id="row" type="STRING"/>
  967. <Column id="col" type="STRING"/>
  968. <Column id="value" type="STRING"/>
  969. </ColumnInfo>
  970. </Dataset>
  971. <Dataset id="ds_init_cmb_orddr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  972. <ColumnInfo>
  973. <Column id="execorddrcdnm" type="STRING"/>
  974. <Column id="execorddrcdid" type="STRING"/>
  975. </ColumnInfo>
  976. </Dataset>
  977. <Dataset id="ds_init_cmb_orddept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  978. <ColumnInfo>
  979. <Column id="execorddeptcdnm" type="STRING"/>
  980. <Column id="execorddeptcdid" type="STRING"/>
  981. </ColumnInfo>
  982. </Dataset>
  983. <Dataset id="ds_init_cmb_roomcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  984. <ColumnInfo>
  985. <Column id="execroomcdnm" type="STRING"/>
  986. <Column id="execroomcdid" type="STRING"/>
  987. </ColumnInfo>
  988. </Dataset>
  989. <Dataset id="ds_init_cmb_dailylist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  990. <ColumnInfo>
  991. <Column id="refname" type="STRING"/>
  992. <Column id="prcpdd" type="STRING"/>
  993. </ColumnInfo>
  994. </Dataset>
  995. <Dataset id="ds_init_cmb_deptset" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  996. <ColumnInfo>
  997. <Column id="deptnm" type="STRING"/>
  998. <Column id="deptcd" type="STRING"/>
  999. </ColumnInfo>
  1000. </Dataset>
  1001. <Dataset id="ds_init_combo2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1002. <ColumnInfo>
  1003. <Column id="refname" type="STRING"/>
  1004. <Column id="prcpdd" type="STRING"/>
  1005. </ColumnInfo>
  1006. </Dataset>
  1007. <Dataset id="ds_init_combo1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1008. <ColumnInfo>
  1009. <Column id="execorddeptcdnm" type="STRING"/>
  1010. <Column id="execorddeptcdid" type="STRING"/>
  1011. </ColumnInfo>
  1012. </Dataset>
  1013. <Dataset id="ds_init_cmb_mdl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1014. <ColumnInfo>
  1015. <Column id="nm" type="STRING"/>
  1016. <Column id="cd" type="STRING"/>
  1017. </ColumnInfo>
  1018. </Dataset>
  1019. <Dataset id="ds_init_envinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1020. <ColumnInfo>
  1021. <Column id="qestcd" type="STRING"/>
  1022. <Column id="qestclscd" type="STRING"/>
  1023. <Column id="answcnt" type="STRING"/>
  1024. <Column id="answvalnm" type="STRING"/>
  1025. <Column id="answstatcd" type="STRING"/>
  1026. </ColumnInfo>
  1027. <Rows>
  1028. <Row/>
  1029. </Rows>
  1030. </Dataset>
  1031. <Dataset id="ds_datagrid3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1032. <ColumnInfo>
  1033. <Column id="check" type="STRING"/>
  1034. <Column id="testmdlcd" type="STRING"/>
  1035. <Column id="lastreptdd" type="STRING"/>
  1036. <Column id="examgubun" type="STRING"/>
  1037. <Column id="level" type="STRING"/>
  1038. <Column id="srchpid" type="STRING"/>
  1039. <Column id="dutplceinstcd" type="STRING"/>
  1040. <Column id="prcpdd" type="STRING"/>
  1041. <Column id="execprcpuniqno" type="STRING"/>
  1042. <Column id="bcno" type="STRING"/>
  1043. </ColumnInfo>
  1044. </Dataset>
  1045. <Dataset id="ds_init_cmb_wardcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1046. <ColumnInfo>
  1047. <Column id="execwardcdnm" type="STRING"/>
  1048. <Column id="execwardcdid" type="STRING"/>
  1049. </ColumnInfo>
  1050. </Dataset>
  1051. <Dataset id="ds_globalinstance" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1052. <ColumnInfo>
  1053. <Column id="instance1" type="STRING" size="256"/>
  1054. <Column id="instance2" type="STRING" size="256"/>
  1055. </ColumnInfo>
  1056. <Rows>
  1057. <Row/>
  1058. </Rows>
  1059. </Dataset>
  1060. <Dataset id="ds_term" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1061. <ColumnInfo>
  1062. <Column id="term" type="STRING" size="256"/>
  1063. </ColumnInfo>
  1064. <Rows>
  1065. <Row/>
  1066. </Rows>
  1067. </Dataset>
  1068. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1069. <ColumnInfo>
  1070. <Column id="maindata" type="STRING" size="256"/>
  1071. <Column id="val" type="STRING" size="256"/>
  1072. <Column id="formcd" type="STRING" size="256"/>
  1073. <Column id="codeflag" type="STRING" size="256" sumtext="조회구분"/>
  1074. <Column id="cond1" type="STRING" size="256"/>
  1075. <Column id="cond2" type="STRING" size="256"/>
  1076. <Column id="cond3" type="STRING" size="256"/>
  1077. <Column id="cond99" type="STRING" size="256"/>
  1078. <Column id="interqestcd" type="STRING" size="256"/>
  1079. <Column id="grupcdid" type="STRING" size="256"/>
  1080. <Column id="initflag" type="STRING" size="256" sumtext="astlib,진료과진료의코드구분,1:진료과조회"/>
  1081. </ColumnInfo>
  1082. <Rows>
  1083. <Row/>
  1084. </Rows>
  1085. </Dataset>
  1086. <Dataset id="ds_initexecward" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1087. <ColumnInfo>
  1088. <Column id="wardroomcdid" type="STRING" size="256" sumtext="병동코드"/>
  1089. <Column id="wardroomcdnm" type="STRING" size="256" sumtext="병동코드명"/>
  1090. </ColumnInfo>
  1091. </Dataset>
  1092. <Dataset id="ds_initexecorddept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1093. <ColumnInfo>
  1094. <Column id="execorddeptcdid" type="STRING" size="256" sumtext="진료과코드"/>
  1095. <Column id="execorddeptcdnm" type="STRING" size="256" sumtext="진료과코드명"/>
  1096. </ColumnInfo>
  1097. </Dataset>
  1098. <Dataset id="ds_initexecorddept2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1099. <ColumnInfo>
  1100. <Column id="execorddeptcdid" type="STRING" size="256" sumtext="진료과코드"/>
  1101. <Column id="execorddeptcdnm" type="STRING" size="256" sumtext="진료과코드명"/>
  1102. </ColumnInfo>
  1103. </Dataset>
  1104. <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">
  1105. <ColumnInfo>
  1106. <Column id="cd" type="STRING" size="256" sumtext="코드"/>
  1107. <Column id="nm" type="STRING" size="256" sumtext="코드명"/>
  1108. <Column id="chk" type="STRING" size="256" sumtext="chk"/>
  1109. <Column id="etc01" type="STRING" size="256" sumtext="기타1"/>
  1110. <Column id="etc02" type="STRING" size="256" sumtext="기타2"/>
  1111. <Column id="etc03" type="STRING" size="256" sumtext="기타3"/>
  1112. <Column id="etc04" type="STRING" size="256" sumtext="기타4"/>
  1113. <Column id="etc05" type="STRING" size="256" sumtext="기타4"/>
  1114. </ColumnInfo>
  1115. </Dataset>
  1116. <Dataset id="ds_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1117. <ColumnInfo>
  1118. <Column id="interqestcd" type="STRING" size="256"/>
  1119. <Column id="instcd" type="STRING" size="256" sumtext="기관기호"/>
  1120. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  1121. <Column id="chosflag" type="STRING" size="256" sumtext="내원구분"/>
  1122. <Column id="prcpall" type="STRING" size="256" sumtext="모든수진내역"/>
  1123. <Column id="deptyn" type="STRING" size="256" sumtext="타과포함"/>
  1124. <Column id="stnddd" type="STRING" size="256"/>
  1125. </ColumnInfo>
  1126. <Rows>
  1127. <Row/>
  1128. </Rows>
  1129. </Dataset>
  1130. <Dataset id="ds_interface" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1131. <ColumnInfo>
  1132. <Column id="answval" type="STRING" size="256" sumtext="기본답안값구분"/>
  1133. <Column id="qestcd" type="STRING" size="256" sumtext="답안명"/>
  1134. <Column id="baseanswvalflag" type="STRING" size="256" sumtext="답안max코드"/>
  1135. <Column id="answvalnm" type="STRING" size="256" sumtext="질문코드"/>
  1136. <Column id="userid" type="STRING" size="256" sumtext="사용자id"/>
  1137. <Column id="answcnt" type="STRING" size="256" sumtext="답변번호"/>
  1138. </ColumnInfo>
  1139. </Dataset>
  1140. <Dataset id="ds_M0010" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1141. <ColumnInfo>
  1142. <Column id="cdnm" type="STRING" size="256"/>
  1143. <Column id="cdid" type="STRING" size="256"/>
  1144. </ColumnInfo>
  1145. </Dataset>
  1146. <Dataset id="ds_singdata" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1147. <ColumnInfo>
  1148. <Column id="srchdate1" type="STRING" size="256"/>
  1149. <Column id="srchdate2" type="STRING" size="256"/>
  1150. <Column id="srchdate11" type="STRING" size="256"/>
  1151. <Column id="srchdate22" type="STRING" size="256"/>
  1152. <Column id="srchpid" type="STRING" size="256"/>
  1153. <Column id="wardcd" type="STRING" size="256"/>
  1154. <Column id="roomcd" type="STRING" size="256"/>
  1155. <Column id="listflag" type="STRING" size="256"/>
  1156. <Column id="listflag2" type="STRING" size="256"/>
  1157. <Column id="deptcd" type="STRING" size="256"/>
  1158. <Column id="drid" type="STRING" size="256"/>
  1159. <Column id="chkcheck" type="STRING" size="256"/>
  1160. <Column id="chkcheck1" type="STRING" size="256"/>
  1161. <Column id="chkcheck2" type="STRING" size="256"/>
  1162. <Column id="chkcheck3" type="STRING" size="256"/>
  1163. <Column id="chkcheck4" type="STRING" size="256"/>
  1164. <Column id="chkcheck5" type="STRING" size="256"/>
  1165. <Column id="chkcheck6" type="STRING" size="256"/>
  1166. <Column id="chkcheck7" type="STRING" size="256"/>
  1167. <Column id="chkcheck8" type="STRING" size="256"/>
  1168. <Column id="callflag" type="STRING" size="256"/>
  1169. <Column id="tabflag" type="STRING" size="256"/>
  1170. <Column id="mdlcd" type="STRING" size="256"/>
  1171. <Column id="examgubun" type="STRING" size="256"/>
  1172. <Column id="prcpdd" type="STRING" size="256"/>
  1173. <Column id="offset" type="STRING" size="256"/>
  1174. <Column id="pagesize" type="STRING" size="256"/>
  1175. <Column id="refname" type="STRING" size="256"/>
  1176. <Column id="srchflag" type="STRING" size="256"/>
  1177. <Column id="pageflag" type="STRING" size="256"/>
  1178. <Column id="hlaflag" type="STRING" size="256"/>
  1179. <Column id="prntfrmflag" type="STRING" size="256"/>
  1180. <Column id="dailyviewgb" type="STRING" size="256"/>
  1181. <Column id="compsrefcnts" type="STRING" size="1024"/>
  1182. <Column id="compssizecnts" type="STRING" size="1024"/>
  1183. <Column id="answ005" type="STRING" size="1024"/>
  1184. </ColumnInfo>
  1185. <Rows>
  1186. <Row>
  1187. <Col id="listflag">Z</Col>
  1188. <Col id="callflag">N</Col>
  1189. <Col id="pagesize">999</Col>
  1190. <Col id="refname"/>
  1191. </Row>
  1192. </Rows>
  1193. </Dataset>
  1194. <Dataset id="ds_setdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1195. <ColumnInfo>
  1196. <Column id="setkindcd" type="STRING" size="256"/>
  1197. <Column id="deptsetcd" type="STRING" size="256"/>
  1198. <Column id="deptcd" type="STRING" size="256"/>
  1199. <Column id="deptnm" type="STRING" size="256"/>
  1200. <Column id="foldernm" type="STRING" size="256"/>
  1201. <Column id="setno" type="STRING" size="256"/>
  1202. <Column id="startdd" type="STRING" size="256"/>
  1203. <Column id="enddd" type="STRING" size="256"/>
  1204. <Column id="pid" type="STRING" size="256"/>
  1205. <Column id="tclscdlist" type="STRING" size="256"/>
  1206. <Column id="workflag" type="STRING" size="256"/>
  1207. </ColumnInfo>
  1208. <Rows>
  1209. <Row>
  1210. <Col id="setkindcd">D</Col>
  1211. </Row>
  1212. </Rows>
  1213. </Dataset>
  1214. <Dataset id="ds_maindailylist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_maindailylist_oncolumnchanged">
  1215. <ColumnInfo>
  1216. <Column id="instcd" type="STRING" size="256"/>
  1217. <Column id="check" type="STRING" size="256"/>
  1218. <Column id="lastreptdd" type="STRING" size="256"/>
  1219. <Column id="prcpdd1" type="STRING" size="256"/>
  1220. <Column id="examnm" type="STRING" size="256"/>
  1221. <Column id="spcnm" type="STRING" size="256"/>
  1222. <Column id="bcno" type="STRING" size="256"/>
  1223. <Column id="grosdrnm" type="STRING" size="256"/>
  1224. <Column id="statnm" type="STRING" size="256"/>
  1225. <Column id="prcpgenrflag" type="STRING" size="256"/>
  1226. <Column id="drnm" type="STRING" size="256"/>
  1227. <Column id="examgubun" type="STRING" size="256"/>
  1228. <Column id="lastreptdd1" type="STRING" size="256"/>
  1229. <Column id="prcpdd" type="STRING" size="256"/>
  1230. <Column id="testmdlcd" type="STRING" size="256"/>
  1231. <Column id="execprcpuniqno" type="STRING" size="256"/>
  1232. <Column id="pid" type="STRING" size="256"/>
  1233. <Column id="signno" type="BIGDECIMAL" size="256"/>
  1234. <Column id="formcd" type="STRING" size="256"/>
  1235. <Column id="execdd" type="STRING" size="256"/>
  1236. <Column id="hla" type="STRING" size="256"/>
  1237. <Column id="execdd1" type="STRING" size="256"/>
  1238. <Column id="check1" type="STRING" size="256"/>
  1239. <Column id="bgcolor" type="STRING" size="256"/>
  1240. <Column id="rowidx" type="STRING" size="256"/>
  1241. <Column id="ptno" type="STRING" size="256"/>
  1242. <Column id="orddd" type="STRING" size="256"/>
  1243. <Column id="cretno" type="STRING" size="256"/>
  1244. <Column id="orddeptcd" type="STRING" size="256"/>
  1245. <Column id="pbsmearyn" type="STRING" size="256"/>
  1246. </ColumnInfo>
  1247. </Dataset>
  1248. <Dataset id="ds_mainserious" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1249. <ColumnInfo>
  1250. <Column id="check" type="STRING" size="256"/>
  1251. <Column id="prcpdd" type="STRING" size="256"/>
  1252. <Column id="drnm" type="STRING" size="256"/>
  1253. <Column id="prcpgenrflag" type="STRING" size="256"/>
  1254. <Column id="statnm" type="STRING" size="256"/>
  1255. <Column id="execprcpuniqno" type="STRING" size="256"/>
  1256. <Column id="pid" type="STRING" size="256"/>
  1257. </ColumnInfo>
  1258. </Dataset>
  1259. <Dataset id="ds_mainseriouslist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1260. <ColumnInfo>
  1261. <Column id="examnm" type="STRING" size="256"/>
  1262. <Column id="testmdlcd" type="STRING" size="256"/>
  1263. <Column id="examgubun" type="STRING" size="256"/>
  1264. </ColumnInfo>
  1265. </Dataset>
  1266. <Dataset id="ds_mainset" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1267. <Dataset id="ds_mainprogress" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1268. <ColumnInfo>
  1269. <Column id="prcpgenrflag" type="STRING" size="256"/>
  1270. <Column id="prcpdt" type="STRING" size="256"/>
  1271. <Column id="biznm" type="STRING" size="256"/>
  1272. <Column id="prcpnm" type="STRING" size="256"/>
  1273. <Column id="spcnm" type="STRING" size="256"/>
  1274. <Column id="drugmthdspccd" type="STRING" size="256"/>
  1275. <Column id="bcno" type="STRING" size="256"/>
  1276. <Column id="grosdrnm" type="STRING" size="256"/>
  1277. <Column id="prcpstatnm" type="STRING" size="256"/>
  1278. <Column id="orddrnm" type="STRING" size="256"/>
  1279. <Column id="rsrvdt" type="STRING" size="256"/>
  1280. <Column id="bcolldt" type="STRING" size="256"/>
  1281. <Column id="acptdt" type="STRING" size="256"/>
  1282. <Column id="execdt" type="STRING" size="256"/>
  1283. <Column id="reptdt" type="STRING" size="256"/>
  1284. <Column id="bcollid" type="STRING" size="256"/>
  1285. <Column id="acptid" type="STRING" size="256"/>
  1286. <Column id="prcpcd" type="STRING" size="256"/>
  1287. <Column id="spcdrnm" type="STRING" size="256"/>
  1288. </ColumnInfo>
  1289. </Dataset>
  1290. <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">
  1291. <ColumnInfo>
  1292. <Column id="check" type="STRING" size="256"/>
  1293. <Column id="reptrslt" type="STRING" size="256"/>
  1294. <Column id="judgmark" type="STRING" size="256"/>
  1295. <Column id="judgmark2" type="STRING" size="256"/>
  1296. <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
  1297. <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
  1298. <Column id="img" type="STRING" size="256" sumtext="이미지여부"/>
  1299. <Column id="imgcnts" type="BLOB" size="256" sumtext="이미지내용"/>
  1300. <Column id="bcno" type="STRING" size="256" sumtext="바코드번호"/>
  1301. <Column id="testcd" type="STRING" size="256" sumtext="검사코드"/>
  1302. <Column id="flag" type="STRING" size="256" sumtext="진검이미지flag"/>
  1303. <Column id="rownum" type="INT" size="256"/>
  1304. <Column id="rowidx" type="INT" size="256"/>
  1305. <Column id="spcno" type="STRING" size="256"/>
  1306. <Column id="pacsno" type="STRING" size="256"/>
  1307. <Column id="rsltdd" type="STRING" size="256"/>
  1308. <Column id="sort" type="STRING" size="256"/>
  1309. <Column id="sort2" type="STRING" size="256"/>
  1310. <Column id="rsltdispseq" type="STRING" size="256"/>
  1311. <Column id="testmdlcd" type="STRING" size="256"/>
  1312. <Column id="tclsscrnnnm_prt" type="STRING" size="256"/>
  1313. <Column id="reptrslt_prt" type="STRING" size="256"/>
  1314. <Column id="rsltunit_prt" type="STRING" size="256"/>
  1315. <Column id="ref_prt" type="STRING" size="256"/>
  1316. <Column id="lastreptdt_prt" type="STRING" size="256"/>
  1317. <Column id="testpsn_prt" type="STRING" size="256"/>
  1318. <Column id="chkid_prt" type="STRING" size="256"/>
  1319. <Column id="tsectnm_prt" type="STRING" size="256"/>
  1320. <Column id="refnm_prt" type="STRING" size="500"/>
  1321. <Column id="background" type="STRING" size="500"/>
  1322. <Column id="font" type="STRING" size="500"/>
  1323. <Column id="color" type="STRING" size="500"/>
  1324. <Column id="controlbackground" type="STRING" size="500"/>
  1325. <Column id="controlborder" type="STRING" size="500"/>
  1326. <Column id="edittype" type="STRING" size="500"/>
  1327. </ColumnInfo>
  1328. </Dataset>
  1329. <Dataset id="ds_maindistinctdailylist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1330. <ColumnInfo>
  1331. <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
  1332. <Column id="refname" type="STRING" size="256" sumtext="처방일자"/>
  1333. </ColumnInfo>
  1334. </Dataset>
  1335. <Dataset id="ds_initorddd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1336. <ColumnInfo>
  1337. <Column id="orddd" type="STRING" size="256" sumtext="기준일자"/>
  1338. <Column id="gubun" type="STRING" size="256" sumtext="구분"/>
  1339. </ColumnInfo>
  1340. </Dataset>
  1341. <Dataset id="ds_datagrid1" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1342. <ColumnInfo>
  1343. <Column id="check" type="STRING" size="256"/>
  1344. <Column id="lastreptdd" type="STRING" size="256"/>
  1345. <Column id="prcpdd1" type="STRING" size="256"/>
  1346. <Column id="examnm" type="STRING" size="256"/>
  1347. <Column id="spcnm" type="STRING" size="256"/>
  1348. <Column id="bcno" type="STRING" size="256"/>
  1349. <Column id="grosdrnm" type="STRING" size="256"/>
  1350. <Column id="statnm" type="STRING" size="256"/>
  1351. <Column id="prcpgenrflag" type="STRING" size="256"/>
  1352. <Column id="drnm" type="STRING" size="256"/>
  1353. <Column id="examgubun" type="STRING" size="256"/>
  1354. <Column id="lastreptdd1" type="STRING" size="256"/>
  1355. <Column id="prcpdd" type="STRING" size="256"/>
  1356. <Column id="testmdlcd" type="STRING" size="256"/>
  1357. <Column id="execprcpuniqno" type="STRING" size="256"/>
  1358. <Column id="pid" type="STRING" size="256"/>
  1359. <Column id="signno" type="BIGDECIMAL" size="256"/>
  1360. <Column id="formcd" type="STRING" size="256"/>
  1361. <Column id="execdd" type="STRING" size="256"/>
  1362. <Column id="hla" type="STRING" size="256"/>
  1363. <Column id="execdd1" type="STRING" size="256"/>
  1364. <Column id="check1" type="STRING" size="256"/>
  1365. <Column id="bgcolor" type="STRING" size="256"/>
  1366. </ColumnInfo>
  1367. </Dataset>
  1368. <Dataset id="ds_subresultdetail1_1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1369. <ColumnInfo>
  1370. <Column id="tclsscrnnnm" type="STRING" size="256"/>
  1371. <Column id="reptrslt" type="STRING" size="256"/>
  1372. <Column id="rsltunit" type="STRING" size="256"/>
  1373. <Column id="ref" type="STRING" size="256"/>
  1374. <Column id="lastreptdt" type="STRING" size="256"/>
  1375. <Column id="testpsn" type="STRING" size="256"/>
  1376. <Column id="chkid" type="STRING" size="256"/>
  1377. <Column id="tsectnm" type="STRING" size="256"/>
  1378. <Column id="testcd" type="STRING" size="256"/>
  1379. <Column id="bcno" type="STRING" size="256"/>
  1380. <Column id="judgmark" type="STRING" size="256"/>
  1381. <Column id="flag" type="STRING" size="256"/>
  1382. <Column id="prcpcd" type="STRING" size="256"/>
  1383. <Column id="prcpnm" type="STRING" size="256"/>
  1384. <Column id="judgmark2" type="STRING" size="256"/>
  1385. <Column id="pacsno" type="STRING" size="256"/>
  1386. <Column id="spcno" type="STRING" size="256"/>
  1387. <Column id="flag" type="STRING" size="256"/>
  1388. </ColumnInfo>
  1389. </Dataset>
  1390. <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1391. <ColumnInfo>
  1392. <Column id="dataflag" type="STRING" size="256" sumtext="자료구분(y:1건,n:여러건)"/>
  1393. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  1394. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  1395. <Column id="hngnm" type="STRING" size="256" sumtext="이름"/>
  1396. <Column id="hngnm2" type="STRING" size="256" sumtext="이름2"/>
  1397. <Column id="dispnm1" type="STRING" size="256" sumtext="표시명1"/>
  1398. <Column id="dispnm2" type="STRING" size="256" sumtext="표시명2"/>
  1399. <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호1"/>
  1400. <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호2"/>
  1401. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  1402. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  1403. <Column id="brthdd" type="STRING" size="256" sumtext="생일"/>
  1404. <Column id="hometel" type="STRING" size="256" sumtext="집전화"/>
  1405. <Column id="mpphontel" type="STRING" size="256" sumtext="핸드폰"/>
  1406. <Column id="etctel1" type="STRING" size="256" sumtext="기타연락처1"/>
  1407. <Column id="etctel2" type="STRING" size="256" sumtext="기타연락처2"/>
  1408. <Column id="zipcd1" type="STRING" size="256" sumtext="우편번호1"/>
  1409. <Column id="zipcd2" type="STRING" size="256" sumtext="우편번호2"/>
  1410. <Column id="zipcdseq" type="STRING" size="256" sumtext="우편번호seq"/>
  1411. <Column id="addr" type="STRING" size="256" sumtext="주소"/>
  1412. <Column id="detladdr" type="STRING" size="256" sumtext="상세주소"/>
  1413. <Column id="email" type="STRING" size="256" sumtext="이메일"/>
  1414. <Column id="recmyn" type="STRING" size="256" sumtext="관계여부"/>
  1415. <Column id="recmernm" type="STRING" size="256" sumtext="관계"/>
  1416. <Column id="recmerrela" type="STRING" size="256" sumtext="종교"/>
  1417. <Column id="vipyn" type="STRING" size="256" sumtext="vip여부"/>
  1418. <Column id="viprem" type="STRING" size="256" sumtext="vip"/>
  1419. <Column id="religncd" type="STRING" size="256" sumtext="종교"/>
  1420. <Column id="remfact" type="STRING" size="256" sumtext="참고"/>
  1421. <Column id="ward" type="STRING" size="256" sumtext="병동"/>
  1422. <Column id="allergy" type="STRING" size="256" sumtext="adr(allergy)"/>
  1423. </ColumnInfo>
  1424. </Dataset>
  1425. <Dataset id="ds_patchosinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1426. <ColumnInfo>
  1427. <Column id="ordtype" type="STRING" size="256" sumtext="진료구분"/>
  1428. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  1429. <Column id="ordddtm" type="STRING" size="256" sumtext="진료일시"/>
  1430. <Column id="dschdd" type="STRING" size="256" sumtext="퇴원일자"/>
  1431. <Column id="orddrid" type="STRING" size="256" sumtext="진료의id"/>
  1432. <Column id="centcd" type="STRING" size="256" sumtext="센터코드"/>
  1433. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
  1434. <Column id="subdeptcd" type="STRING" size="256" sumtext="세부과코드"/>
  1435. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  1436. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  1437. <Column id="rsrvflag" type="STRING" size="256" sumtext="예약구분"/>
  1438. <Column id="icd10cd" type="STRING" size="256" sumtext="icd10코드"/>
  1439. <Column id="diagnm" type="STRING" size="256" sumtext="진단명"/>
  1440. <Column id="depthngnm" type="STRING" size="256" sumtext="진단명"/>
  1441. <Column id="orddrnm" type="STRING" size="256" sumtext="진료의명"/>
  1442. </ColumnInfo>
  1443. </Dataset>
  1444. <Dataset id="ds_patdethinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1445. <ColumnInfo>
  1446. <Column id="patdethyn" type="STRING" size="256" sumtext="환자사망여부"/>
  1447. </ColumnInfo>
  1448. </Dataset>
  1449. <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1450. <ColumnInfo>
  1451. <Column id="deptcd" type="STRING" size="256"/>
  1452. <Column id="drid" type="STRING" size="256"/>
  1453. <Column id="hngnm" type="STRING" size="256"/>
  1454. <Column id="rrgstno1" type="STRING" size="256"/>
  1455. <Column id="rrgstno2" type="STRING" size="256"/>
  1456. <Column id="sex" type="STRING" size="256"/>
  1457. <Column id="age" type="STRING" size="256"/>
  1458. <Column id="ward" type="STRING" size="256"/>
  1459. <Column id="prcpall" type="STRING" size="256"/>
  1460. <Column id="deptyn" type="STRING" size="256"/>
  1461. </ColumnInfo>
  1462. <Rows>
  1463. <Row/>
  1464. </Rows>
  1465. </Dataset>
  1466. <Dataset id="ds_temp_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1467. <ColumnInfo>
  1468. <Column id="dataflag" type="STRING" size="256" sumtext="자료구분(y:1건,n:여러건)"/>
  1469. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  1470. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  1471. <Column id="hngnm" type="STRING" size="256" sumtext="이름"/>
  1472. <Column id="hngnm2" type="STRING" size="256" sumtext="이름2"/>
  1473. <Column id="dispnm1" type="STRING" size="256" sumtext="표시명1"/>
  1474. <Column id="dispnm2" type="STRING" size="256" sumtext="표시명2"/>
  1475. <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호1"/>
  1476. <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호2"/>
  1477. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  1478. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  1479. <Column id="brthdd" type="STRING" size="256" sumtext="생일"/>
  1480. <Column id="hometel" type="STRING" size="256" sumtext="집전화"/>
  1481. <Column id="mpphontel" type="STRING" size="256" sumtext="핸드폰"/>
  1482. <Column id="etctel1" type="STRING" size="256" sumtext="기타연락처1"/>
  1483. <Column id="etctel2" type="STRING" size="256" sumtext="기타연락처2"/>
  1484. <Column id="zipcd1" type="STRING" size="256" sumtext="우편번호1"/>
  1485. <Column id="zipcd2" type="STRING" size="256" sumtext="우편번호2"/>
  1486. <Column id="zipcdseq" type="STRING" size="256" sumtext="우편번호seq"/>
  1487. <Column id="addr" type="STRING" size="256" sumtext="주소"/>
  1488. <Column id="detladdr" type="STRING" size="256" sumtext="상세주소"/>
  1489. <Column id="email" type="STRING" size="256" sumtext="이메일"/>
  1490. <Column id="recmyn" type="STRING" size="256" sumtext="관계여부"/>
  1491. <Column id="recmernm" type="STRING" size="256" sumtext="관계"/>
  1492. <Column id="recmerrela" type="STRING" size="256" sumtext="종교"/>
  1493. <Column id="vipyn" type="STRING" size="256" sumtext="vip여부"/>
  1494. <Column id="viprem" type="STRING" size="256" sumtext="vip"/>
  1495. <Column id="religncd" type="STRING" size="256" sumtext="종교"/>
  1496. <Column id="remfact" type="STRING" size="256" sumtext="참고"/>
  1497. <Column id="ward" type="STRING" size="256" sumtext="병동"/>
  1498. <Column id="allergy" type="STRING" size="256" sumtext="adr(allergy)"/>
  1499. </ColumnInfo>
  1500. </Dataset>
  1501. <Dataset id="ds_paminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1502. <Dataset id="ds_initexecdr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1503. <ColumnInfo>
  1504. <Column id="execorddrcdid" type="STRING" size="256"/>
  1505. <Column id="execorddrcdnm" type="STRING" size="256"/>
  1506. </ColumnInfo>
  1507. </Dataset>
  1508. <Dataset id="ds_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1509. <ColumnInfo>
  1510. <Column id="suppdeptcd" type="STRING" size="256" sumtext="부서코드"/>
  1511. <Column id="grupcdid" type="STRING" size="256" sumtext="그룹코드"/>
  1512. <Column id="cdid" type="STRING" size="256" sumtext="코드"/>
  1513. <Column id="cdnm" type="STRING" size="256" sumtext="코드명"/>
  1514. <Column id="detldesc" type="STRING" size="256" sumtext="설명"/>
  1515. <Column id="useyn" type="STRING" size="256" sumtext="사용여부"/>
  1516. <Column id="dispseq" type="INT" size="256" sumtext="조회순번"/>
  1517. <Column id="cntlyn1" type="STRING" size="256" sumtext="제어여부1"/>
  1518. <Column id="cntlcd1" type="STRING" size="256" sumtext="제어코드1"/>
  1519. </ColumnInfo>
  1520. </Dataset>
  1521. <Dataset id="ds_prmsprcpsetlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" onrowposchanged="ds_prmsprcpsetlist_onrowposchanged">
  1522. <ColumnInfo>
  1523. <Column id="levl" type="INT" size="256" sumtext="level값"/>
  1524. <Column id="setno" type="STRING" size="256" sumtext="set번호"/>
  1525. <Column id="supsetno" type="STRING" size="256" sumtext="상위set번호"/>
  1526. <Column id="setkindcd" type="STRING" size="256" sumtext="set종류코드"/>
  1527. <Column id="settrgtcd" type="STRING" size="256" sumtext="대상코드(과,개인)"/>
  1528. <Column id="prtlno" type="STRING" size="256" sumtext="프로토콜번호"/>
  1529. <Column id="setnm" type="STRING" size="256" sumtext="set명"/>
  1530. </ColumnInfo>
  1531. </Dataset>
  1532. <Dataset id="ds_row" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_row_oncolumnchanged">
  1533. <ColumnInfo>
  1534. <Column id="row" type="STRING" size="256"/>
  1535. </ColumnInfo>
  1536. </Dataset>
  1537. <CompositeAnimation id="cani" duration="0" starttime="0"/>
  1538. <PropertyAnimation id="pani1" endingmode="to" repeat="1" repeattype="normal" duration="0" starttime="0"/>
  1539. <PropertyAnimation id="pani2" endingmode="to" repeat="1" repeattype="normal" duration="0" starttime="0"/>
  1540. <Dataset id="ds_subresultdetail2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1541. <ColumnInfo>
  1542. <Column id="examnm" type="STRING" size="256"/>
  1543. <Column id="tclsscrnnnm" type="STRING" size="256"/>
  1544. <Column id="reptrslt" type="STRING" size="256"/>
  1545. <Column id="rsltunit" type="STRING" size="256"/>
  1546. <Column id="ref" type="STRING" size="256"/>
  1547. <Column id="lastreptdt" type="STRING" size="256"/>
  1548. <Column id="execdd1" type="STRING" size="256"/>
  1549. <Column id="prcpdd1" type="STRING" size="256"/>
  1550. <Column id="testpsn" type="STRING" size="256"/>
  1551. <Column id="chkid" type="STRING" size="256"/>
  1552. <Column id="tsectnm" type="STRING" size="256"/>
  1553. <Column id="bcno" type="STRING" size="256"/>
  1554. <Column id="judgmark" type="STRING" size="256"/>
  1555. <Column id="prcpcd" type="STRING" size="256"/>
  1556. <Column id="lastreptdd" type="STRING" size="256"/>
  1557. <Column id="spcnm" type="STRING" size="256"/>
  1558. <Column id="statnm" type="STRING" size="256"/>
  1559. <Column id="prcpgenrflag" type="STRING" size="256"/>
  1560. <Column id="drnm" type="STRING" size="256"/>
  1561. </ColumnInfo>
  1562. </Dataset>
  1563. <Dataset id="ds_cmb_judgmark" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1564. <ColumnInfo>
  1565. <Column id="label" type="STRING" size="256"/>
  1566. <Column id="value" type="STRING" size="256"/>
  1567. </ColumnInfo>
  1568. <Rows>
  1569. <Row>
  1570. <Col id="label">title</Col>
  1571. <Col id="value">T</Col>
  1572. </Row>
  1573. <Row>
  1574. <Col id="label">미생물</Col>
  1575. <Col id="value">M</Col>
  1576. </Row>
  1577. <Row>
  1578. <Col id="label">이미지</Col>
  1579. <Col id="value">IMG</Col>
  1580. </Row>
  1581. <Row>
  1582. <Col id="label">공통</Col>
  1583. <Col id="value">C</Col>
  1584. </Row>
  1585. </Rows>
  1586. </Dataset>
  1587. <Dataset id="ds_ref" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1588. <ColumnInfo>
  1589. <Column id="testgrupseqno" type="STRING" size="256"/>
  1590. <Column id="startdd" type="STRING" size="256"/>
  1591. <Column id="enddd" type="STRING" size="256"/>
  1592. <Column id="pid" type="STRING" size="256"/>
  1593. <Column id="refgbn" type="STRING" size="256"/>
  1594. <Column id="acptdd" type="STRING" size="256"/>
  1595. <Column id="acptdde" type="STRING" size="256"/>
  1596. <Column id="testmdllist" type="STRING" size="256"/>
  1597. <Column id="tclscdlist" type="STRING" size="256"/>
  1598. </ColumnInfo>
  1599. <Rows>
  1600. <Row>
  1601. <Col id="refgbn">1</Col>
  1602. </Row>
  1603. </Rows>
  1604. </Dataset>
  1605. <Dataset id="ds_data1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1606. <Dataset id="ds_header" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1607. <Dataset id="ds_patinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1608. <Dataset id="ds_getResultDetail" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1609. <Dataset id="ds_deptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1610. <ColumnInfo>
  1611. <Column id="deptcd" type="STRING" size="256" sumtext="부서코드"/>
  1612. <Column id="deptnm" type="STRING" size="256" sumtext="부서명"/>
  1613. </ColumnInfo>
  1614. <Rows>
  1615. <Row/>
  1616. </Rows>
  1617. </Dataset>
  1618. <Dataset id="ds_subresultdetail1_temp" useclientlayout="true" updatecontrol="true" enableevent="false" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" preload="false" onload="ds_subresultdetail1_onload">
  1619. <ColumnInfo>
  1620. <Column id="check" type="STRING" size="256"/>
  1621. <Column id="reptrslt" type="STRING" size="256"/>
  1622. <Column id="judgmark" type="STRING" size="256"/>
  1623. <Column id="judgmark2" type="STRING" size="256"/>
  1624. <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
  1625. <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
  1626. <Column id="img" type="STRING" size="256" sumtext="이미지여부"/>
  1627. <Column id="imgcnts" type="BYTE" size="256" sumtext="이미지내용"/>
  1628. <Column id="bcno" type="STRING" size="256" sumtext="바코드번호"/>
  1629. <Column id="testcd" type="STRING" size="256" sumtext="검사코드"/>
  1630. <Column id="flag" type="STRING" size="256" sumtext="진검이미지flag"/>
  1631. <Column id="rownum" type="INT" size="256"/>
  1632. <Column id="rowidx" type="INT" size="256"/>
  1633. <Column id="tclsscrnnnm_prt" type="STRING" size="256"/>
  1634. <Column id="reptrslt_prt" type="STRING" size="256"/>
  1635. <Column id="rsltunit_prt" type="STRING" size="256"/>
  1636. <Column id="ref_prt" type="STRING" size="256"/>
  1637. <Column id="lastreptdt_prt" type="STRING" size="256"/>
  1638. <Column id="testpsn_prt" type="STRING" size="256"/>
  1639. <Column id="chkid_prt" type="STRING" size="256"/>
  1640. <Column id="tsectnm_prt" type="STRING" size="256"/>
  1641. <Column id="refnm_prt" type="STRING" size="256"/>
  1642. </ColumnInfo>
  1643. </Dataset>
  1644. <Dataset id="ds_addmicroresult" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1645. <ColumnInfo>
  1646. <Column id="pid" type="STRING" size="256"/>
  1647. <Column id="usdd" type="STRING" size="256"/>
  1648. <Column id="uedd" type="STRING" size="256"/>
  1649. </ColumnInfo>
  1650. </Dataset>
  1651. <Dataset id="ds_vertaddresult" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1652. <ColumnInfo>
  1653. <Column id="pid" type="STRING" size="256"/>
  1654. <Column id="hngnm" type="STRING" size="256"/>
  1655. <Column id="sex" type="STRING" size="256"/>
  1656. <Column id="age" type="STRING" size="256"/>
  1657. <Column id="testcd" type="STRING" size="256"/>
  1658. <Column id="startdd" type="STRING" size="256"/>
  1659. <Column id="enddd" type="STRING" size="256"/>
  1660. <Column id="rrgstno1" type="STRING" size="256"/>
  1661. <Column id="rrgstno2" type="STRING" size="256"/>
  1662. </ColumnInfo>
  1663. </Dataset>
  1664. <Dataset id="ds_send_iemr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1665. <ColumnInfo>
  1666. <Column id="pid" type="STRING" size="256"/>
  1667. <Column id="orddeptcd" type="STRING" size="256"/>
  1668. <Column id="indd" type="STRING" size="256"/>
  1669. <Column id="docucd" type="STRING" size="256"/>
  1670. <Column id="ioflag" type="STRING" size="256"/>
  1671. <Column id="pagetot" type="STRING" size="256"/>
  1672. <Column id="cmc_spcid" type="STRING" size="256"/>
  1673. <Column id="cmc_orddate" type="STRING" size="256"/>
  1674. <Column id="cmc_orderseqno" type="STRING" size="256"/>
  1675. <Column id="treatno" type="STRING" size="256"/>
  1676. </ColumnInfo>
  1677. </Dataset>
  1678. <Dataset id="ds_hardcdno_9947" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1679. <Dataset id="ds_hidden_addresult" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1680. <ColumnInfo>
  1681. <Column id="pid" type="STRING" size="256"/>
  1682. <Column id="startdd" type="STRING" size="256"/>
  1683. <Column id="enddd" type="STRING" size="256"/>
  1684. <Column id="refgbn" type="STRING" size="256"/>
  1685. <Column id="sex" type="STRING" size="256"/>
  1686. <Column id="age" type="STRING" size="256"/>
  1687. <Column id="hngnm" type="STRING" size="256"/>
  1688. <Column id="rrgstno1" type="STRING" size="256"/>
  1689. <Column id="rrgstno2" type="STRING" size="256"/>
  1690. </ColumnInfo>
  1691. <Rows>
  1692. <Row/>
  1693. </Rows>
  1694. </Dataset>
  1695. <Dataset id="ds_hidden_addresult_tclscdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1696. <ColumnInfo>
  1697. <Column id="tclscdlist" type="STRING" size="256"/>
  1698. <Column id="tclsnmlist" type="STRING" size="256"/>
  1699. <Column id="tclscdlist2" type="STRING" size="256"/>
  1700. <Column id="tclsnmlist2" type="STRING" size="256"/>
  1701. </ColumnInfo>
  1702. <Rows>
  1703. <Row/>
  1704. </Rows>
  1705. </Dataset>
  1706. <Dataset id="ds_send_singdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1707. <Dataset id="ds_send2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1708. <Dataset id="ds_temp_singinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1709. <Dataset id="ds_hidden_tmp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1710. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1711. <ColumnInfo>
  1712. <Column id="testmdllist" type="STRING" size="256"/>
  1713. <Column id="mdlcd" type="STRING" size="256"/>
  1714. <Column id="param" type="STRING" size="256"/>
  1715. <Column id="scrollrow" type="STRING" size="256"/>
  1716. </ColumnInfo>
  1717. <Rows>
  1718. <Row>
  1719. <Col id="mdlcd">00</Col>
  1720. </Row>
  1721. </Rows>
  1722. </Dataset>
  1723. <Dataset id="ds_send_data1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1724. <Dataset id="ds_prmsprcpsetlistall" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1725. <PropertyAnimation id="pani3" endingmode="to" repeat="1" repeattype="normal" duration="0" starttime="0"/>
  1726. <Dataset id="ds_getResultDetail_one_cnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1727. <ColumnInfo>
  1728. <Column id="labcnt" type="INT" size="256"/>
  1729. </ColumnInfo>
  1730. </Dataset>
  1731. <Dataset id="ds_cmb_judgmark2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1732. <ColumnInfo>
  1733. <Column id="label" type="STRING" size="256"/>
  1734. <Column id="value" type="STRING" size="256"/>
  1735. </ColumnInfo>
  1736. <Rows>
  1737. <Row>
  1738. <Col id="label">▼</Col>
  1739. <Col id="value">L</Col>
  1740. </Row>
  1741. <Row>
  1742. <Col id="label">▲</Col>
  1743. <Col id="value">H</Col>
  1744. </Row>
  1745. </Rows>
  1746. </Dataset>
  1747. <Dataset id="ds_data_userdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1748. <Dataset id="ds_hidden_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1749. <PropertyAnimation id="pa_hirainfo_move" endingmode="to" repeat="1" repeattype="normal" duration="300" starttime="0" targetcomp="div_hirainfo" targetprop="position.y" interpolation="Interpolation.curve4InOut"/>
  1750. <Dataset id="ds_auth_hira" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1751. <Dataset id="ds_data_userrecordlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1752. <Dataset id="ds_gridreq01" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1753. <ColumnInfo>
  1754. <Column id="scrnid" type="STRING" size="256" sumtext="화면ID"/>
  1755. <Column id="compscd" type="STRING" size="256" sumtext="화면ID"/>
  1756. <Column id="userid" type="STRING" size="256" sumtext="사용자ID"/>
  1757. </ColumnInfo>
  1758. </Dataset>
  1759. <Dataset id="ds_gridseq01" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1760. <ColumnInfo>
  1761. <Column id="compscd" type="STRING" size="256" sumtext="구성코드"/>
  1762. <Column id="compscnts" type="STRING" size="256" sumtext="구성내용"/>
  1763. <Column id="frozencol" type="STRING" size="256" sumtext="컬럼고정필드명"/>
  1764. <Column id="compsrefcnts" type="STRING" size="256" sumtext="구성참조내용"/>
  1765. <Column id="compssizecnts" type="STRING" size="256" sumtext="구성크기내용"/>
  1766. </ColumnInfo>
  1767. </Dataset>
  1768. <Dataset id="ds_gridreq02" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1769. <ColumnInfo>
  1770. <Column id="scrnid" type="STRING" size="256" sumtext="화면ID"/>
  1771. <Column id="compscd" type="STRING" size="256" sumtext="화면ID"/>
  1772. <Column id="userid" type="STRING" size="256" sumtext="사용자ID"/>
  1773. </ColumnInfo>
  1774. </Dataset>
  1775. <Dataset id="ds_gridseq02" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1776. <ColumnInfo>
  1777. <Column id="compscd" type="STRING" size="256" sumtext="구성코드"/>
  1778. <Column id="compscnts" type="STRING" size="256" sumtext="구성내용"/>
  1779. <Column id="frozencol" type="STRING" size="256" sumtext="컬럼고정필드명"/>
  1780. <Column id="compsrefcnts" type="STRING" size="256" sumtext="구성참조내용"/>
  1781. <Column id="compssizecnts" type="STRING" size="256" sumtext="구성크기내용"/>
  1782. </ColumnInfo>
  1783. </Dataset>
  1784. <Dataset id="ds_UC00013" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1785. </Objects>
  1786. <Bind>
  1787. <BindItem id="item0" compid="group3.grp_sea.ipt_date1" propid="value" datasetid="ds_singdata" columnid="srchdate1"/>
  1788. <BindItem id="item1" compid="group3.grp_sea.ipt_date2" propid="value" datasetid="ds_singdata" columnid="srchdate2"/>
  1789. <BindItem id="item2" compid="group3.grp_sea.rdo_statecd" propid="value" datasetid="ds_singdata" columnid="listflag"/>
  1790. <BindItem id="item3" compid="group3.grp_sea.cmb_orddept" propid="value" datasetid="ds_cond" columnid="deptcd"/>
  1791. <BindItem id="item4" compid="group3.grp_sea.cmb_orddr" propid="value" datasetid="ds_singdata" columnid="drid"/>
  1792. <BindItem id="item6" compid="group3.grp_sea.ipt_pid" propid="value" datasetid="ds_singdata" columnid="srchpid"/>
  1793. <BindItem id="item7" compid="group3.grp_sea.input1" propid="value" datasetid="ds_cond" columnid="hngnm"/>
  1794. <BindItem id="item8" compid="group3.grp_sea.input10" propid="value" datasetid="ds_cond" columnid="ward"/>
  1795. <BindItem id="item9" compid="group3.grp_sea.input2" propid="value" datasetid="ds_cond" columnid="rrgstno1"/>
  1796. <BindItem id="item10" compid="group3.grp_sea.input5" propid="value" datasetid="ds_cond" columnid="rrgstno2"/>
  1797. <BindItem id="item11" compid="group3.grp_sea.input3" propid="value" datasetid="ds_cond" columnid="sex"/>
  1798. <BindItem id="item12" compid="group3.grp_sea.input4" propid="value" datasetid="ds_cond" columnid="age"/>
  1799. <BindItem id="item13" compid="group3.grp_sea.cmb_roomcd" propid="value" datasetid="ds_singdata" columnid="roomcd"/>
  1800. <BindItem id="item15" compid="group3.combo1" propid="value" datasetid="ds_setdata" columnid="deptsetcd"/>
  1801. <BindItem id="item16" compid="group3.switch1.case1.cmb_dailyviewgb" propid="value" datasetid="ds_singdata" columnid="dailyviewgb"/>
  1802. <BindItem id="item5" compid="group3.grp_sea.cmb_term" propid="value" datasetid="ds_term" columnid="term"/>
  1803. <BindItem id="item18" compid="group3.switch1.case3.ipt_foldnm" propid="value" datasetid="ds_setdata" columnid="foldernm"/>
  1804. <BindItem id="item19" compid="group3.switch1.case3.cmb_deptset" propid="value" datasetid="ds_setdata" columnid="deptsetcd"/>
  1805. <BindItem id="item20" compid="group3.switch1.case3.rdo_setflag" propid="value" datasetid="ds_setdata" columnid="setkindcd"/>
  1806. <BindItem id="item14" compid="group3.switch1.case1.cmb_dailylist" propid="value" datasetid="ds_singdata" columnid="refname"/>
  1807. </Bind>
  1808. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  1809. * System Name :
  1810. * Job Name :
  1811. * Creator :
  1812. * Make Date : 2014-10-02
  1813. * Description :
  1814. *---------------------------------------------------------------------------------------
  1815. * Modify Date Modifier Modify Description
  1816. *---------------------------------------------------------------------------------------
  1817. * 2014-10-02 Live Converter TF->XP
  1818. *
  1819. *---------------------------------------------------------------------------------------
  1820. ****************************************************************************************/
  1821. //=======================================================================================
  1822. // Lib Include
  1823. //---------------------------------------------------------------------------------------
  1824. include "com_commonxp::comm_main.xjs";
  1825. include "com_basiccodexp::ZBC001.xjs";
  1826. include "emr_commonxp::EMRCommon.xjs";
  1827. include "emr_prcpinfoxp::SMMMI00100.xjs";
  1828. include "com_pacsxp::ZEP001.xjs";
  1829. include "emr_prcpmngtxp::MMOCommon.xjs";
  1830. include "emr_prcpmngtxp::MMO001.xjs";
  1831. var arErrorCode = new HashArray();
  1832. var vTabOpen = "";
  1833. var vTestmdllist= "";
  1834. var nextcnt = 0;
  1835. var ceilcnt = 0;
  1836. var rowidx1 = 0;
  1837. var rowidx2 = 0;
  1838. var gridObject = "";
  1839. var popupYn = "N";
  1840. var arrMenu = new Array();
  1841. var authHiraYN = "N"; //심평원권환자
  1842. //=======================================================================================
  1843. // Event
  1844. //---------------------------------------------------------------------------------------
  1845. /****************************************************************************************
  1846. * Components : Form
  1847. * Components ID : SMMMI00100
  1848. * Event : oninit
  1849. * Argument : 01.obj : Object Event has occurred
  1850. * : 02.e : Event Object
  1851. * Description : 화면 처음 초기화시 폼초기화
  1852. ****************************************************************************************/
  1853. function SMMMI00100_oninit(obj:Form, e:InitEventInfo)
  1854. {
  1855. frmf_initForm(obj); // 폼 초기화
  1856. }
  1857. /****************************************************************************************
  1858. * Components : Form
  1859. * Components ID : SMMMI00100
  1860. * Event : onload
  1861. * Argument : 01.obj : Object Event has occurred
  1862. * : 02.e : Event Object
  1863. * Description : 화면오픈시 폼load이후 실행
  1864. ****************************************************************************************/
  1865. function SMMMI00100_onload(obj:Form, e:LoadEventInfo)
  1866. {
  1867. // grdf_setGridSort(group3.switch1.case5.datagrid1); // 그리드 정렬 기능 활성화
  1868. form.titletext = form.titletext +" [ "+sysf_getUserInfo("dutplcenm")+" "+sysf_getUserInfo("usernm")+" ]";
  1869. // 좌측 검사항목 리스트 컬럼설정 기능 추가 2019.07.26 엄영만
  1870. reqOrderInfoOfCol(ds_gridreq01, ds_gridseq01, "SMMMI00100", group3.switch1.case5.datagrid1, "01"); // 그룹별 검사항목 리스트 컬럼 조회 및 설정
  1871. reqOrderInfoOfCol(ds_gridreq02, ds_gridseq02, "SMMMI00100", group3.switch1.case1.grd_maindaily, "02"); // 분류별 검사항목 리스트 컬럼 조회 및 설정
  1872. //보고일 : Z
  1873. if(group3.grp_sea.rdo_statecd.value == "Z"){
  1874. /* 그리드 컬럼 숨김 기능을 컬럼 사이즈를 0으로 만들어 숨김 */
  1875. group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","lastreptdd"),"size",75);
  1876. group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","lastreptdd1"),"size",0);
  1877. group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","prcpdd1"),"size",0);
  1878. group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","prcpdd"),"size",75);
  1879. group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","execdd1"),"size",0);
  1880. group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","execdd"),"size",75);
  1881. group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","lastreptdd"),"size",75);
  1882. group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","lastreptdd1"),"size",0);
  1883. group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","prcpdd1"),"size",0);
  1884. group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","prcpdd"),"size",75);
  1885. group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","execdd1"),"size",0);
  1886. group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","execdd"),"size",75);
  1887. //검사일 : J
  1888. } else if(group3.grp_sea.rdo_statecd.value == "J"){
  1889. group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","execdd1"),"size",75);
  1890. group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","execdd"),"size",0);
  1891. group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","lastreptdd"),"size",0);
  1892. group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","lastreptdd1"),"size",75);
  1893. group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","prcpdd1"),"size",0);
  1894. group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","prcpdd"),"size",75);
  1895. group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","execdd1"),"size",75);
  1896. group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","execdd"),"size",0);
  1897. group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","lastreptdd"),"size",0);
  1898. group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","lastreptdd1"),"size",75);
  1899. group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","prcpdd1"),"size",0);
  1900. group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","prcpdd"),"size",75);
  1901. //처방일 : P
  1902. } else if(group3.grp_sea.rdo_statecd.value == "P"){
  1903. group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","prcpdd1"),"size",75);
  1904. group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","prcpdd"),"size",0);
  1905. group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","lastreptdd"),"size",0);
  1906. group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","lastreptdd1"),"size",75);
  1907. group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","execdd1"),"size",0);
  1908. group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","execdd"),"size",75);
  1909. group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","prcpdd1"),"size",75);
  1910. group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","prcpdd"),"size",0);
  1911. group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","lastreptdd"),"size",0);
  1912. group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","lastreptdd1"),"size",75);
  1913. group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","execdd1"),"size",0);
  1914. group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","execdd"),"size",75);
  1915. }
  1916. //이미지 object, 브라우져 object 비활성화
  1917. group3.obj_imge.visible = false;
  1918. //20190402 심사자료수집 대상자
  1919. authHiraYN = lf_getAuthHiraYN();
  1920. grdf_setToolTipBind(div_hirainfo.div_hiralist.grd_record); //내용풍선으로 보이기
  1921. //그룹별
  1922. group3.switch1.enableevent = false;
  1923. group3.switch1.tabindex = 0;
  1924. group3.switch1.enableevent = true;
  1925. lf_aezfSetSuppDeptcd(); //사용자 정보에 기관정보 세팅
  1926. //병리에서 사용 근무지 기관코드 가져오기
  1927. ds_globalinstance.setColumn(0,"instance2", sysf_getUserInfo("dutplceinstcd"));
  1928. //set만들기, set조회 그룹 비활성화
  1929. group3.grp_makedset.visible = false;
  1930. group3.grp_searchset.visible = false;
  1931. fSetUserTermInit(); //사용자 환경설정 tab 세팅
  1932. //if(!appf_ContainsUserCD("00013", "Y")) { //신규로직이 아니면
  1933. // fSetSubResultGridProperty();
  1934. //}
  1935. //LIS 중분류 리스트 조회 조건 설정
  1936. ds_send.setColumn(0, "codeflag", "0102|");
  1937. dsf_setDefaultVal(ds_send, "initflag:1");
  1938. //병동코드, 진료과코드, 진단검사 초기정보, 검사분류 조회
  1939. var oParam = {};
  1940. oParam.id = "TRAER00823";
  1941. oParam.service = "examcureresultrefapp.RsltRef";
  1942. oParam.method = "reqGetInitRsltRefCdList";
  1943. oParam.inds = "reqparam=ds_send";
  1944. oParam.outds = "ds_initexecward=initexcuward ds_initexecorddept=initexecdept ds_LB0102=0102";
  1945. oParam.async = false;
  1946. oParam.callback = "cf_TRAER00823";
  1947. tranf_submit(oParam);
  1948. // 원무정보구분(외래, 입원, 응급....)
  1949. appf_getCodeList([{dsNm: "ds_M0010", cdGrpId: "M0010"}]);
  1950. if(frmf_checkOpener()){
  1951. var param = opener.frmf_getParameter("opener_parameter_id"); //opener parameter value를 get
  1952. try {
  1953. ds_send_singdata.copyData(arg_ds_send_singdata); // opener 전달 데이터셋 조회조건에 복사
  1954. } catch(e) {
  1955. }
  1956. // 환자조회 화면 전송 환자번호 복사
  1957. ds_singdata.setColumn(0,"srchpid", ds_send_singdata.getColumn(0,"srchpid"));
  1958. if (!utlf_isNull(param)){ //opener parameter가 있는 경우
  1959. condarray = param.split("▦");
  1960. ds_singdata.setColumn(0, "srchpid", condarray[0]);
  1961. } else { //opener parameter가 없는 경우 화면 원무 정보 check
  1962. var paminfo = sysf_getGlobalVariable("paminfo"); //프로그램에 따라 원무정보(paminfo), 환자기본정보(patflag) get
  1963. var openerid = opener.frmf_getScreenID(); //진료대상자리스트 : SMMMO04100, 공통메뉴화면 : SMZUM00300
  1964. var patprcp_pid = opener.frmf_getParameter("SMAER00800_patprcp");
  1965. if (patprcp_pid == "Y") {
  1966. if(!utlf_isNull(ds_singdata.getColumn(0,"srchdate11"))
  1967. && !utlf_isNull(ds_singdata.getColumn(0,"srchdate22"))
  1968. && !utlf_isNull(ds_singdata.getColumn(0,"listflag2"))){ // 진료요청 , 20080116
  1969. // sysf_trace(ds_singdata.saveXML());
  1970. ds_singdata.setColumn(0,"srchdate1", ds_singdata.getColumn(0,"srchdate11"));
  1971. ds_singdata.setColumn(0,"srchdate2", ds_singdata.getColumn(0,"srchdate22"));
  1972. ds_singdata.setColumn(0,"listflag", ds_singdata.getColumn(0,"listflag2"));
  1973. }
  1974. ds_singdata.setColumn(0,"chkcheck","ALL");
  1975. var listflag = ds_singdata.getColumn(0,"listflag");
  1976. if(listflag == "B"){
  1977. var srchpid = ds_singdata.getColumn(0,"srchpid"); //model.getValue ( "/root/send/data/singdata/srchpid")
  1978. if(utlf_isNull(srchpid)){
  1979. return;
  1980. }
  1981. ds_singdata.setColumn(0,"listflag","Z"); //model.setValue("/root/send/data/singdata/listflag", "Z");
  1982. fGetSytsRsltRefList("C"); //결과 조회 병리 연속보기
  1983. } else {
  1984. fSetUserBaseInit(); //사용자 환경설정 조회기준 세팅
  1985. fSetUserDeptInit(); //사용자 환경설정 부서 세팅
  1986. fSetUserTabInit(); //사용자 환경설정 tab 세팅
  1987. }
  1988. opener.frmf_setParameter("SMAER00800_patprcp", "N");
  1989. } else if (!utlf_isNull(ds_singdata.getColumn(0,"srchpid"))) { // 등록번호를 파라미터로 연동한 경우가 우선 조회되게 한다.
  1990. if(!utlf_isNull(ds_singdata.getColumn(0,"srchdate11")) && !utlf_isNull(ds_singdata.getColumn(0,"srchdate22")) && !utlf_isNull(ds_singdata.getColumn(0,"listflag2"))){ // 진료요청 , 20080116
  1991. ds_singdata.setColumn(0,"srchdate1", ds_singdata.getColumn(0,"srchdate11"));
  1992. ds_singdata.setColumn(0,"srchdate2", ds_singdata.getColumn(0,"srchdate22"));
  1993. ds_singdata.setColumn(0,"listflag", ds_singdata.getColumn(0,"listflag2"));
  1994. }
  1995. ds_singdata.setColumn(0, "chkcheck", "ALL");
  1996. var listflag = ds_singdata.getColumn(0,"listflag");
  1997. if(listflag == "B"){
  1998. var srchpid = ds_singdata.getColumn(0,"srchpid");
  1999. if(utlf_isNull(srchpid)){
  2000. return;
  2001. }
  2002. ds_singdata.setColumn(0,"listflag","Z");
  2003. fGetSytsRsltRefList("C"); //결과 조회 병리 연속보기
  2004. } else {
  2005. fSetUserBaseInit(); //사용자 환경설정 조회기준 세팅
  2006. fSetUserDeptInit(); //사용자 환경설정 부서 세팅
  2007. fSetUserTabInit(); //사용자 환경설정 tab 세팅
  2008. }
  2009. } else if(!utlf_isNull(paminfo)){
  2010. dsf_setCSVToDs("ds_paminfo",paminfo);
  2011. //상단 정보를 이용하여 프로그램 수행
  2012. var pid = ds_paminfo.getColumn(0,"pid");
  2013. var deptcd = ds_paminfo.getColumn(0,"orddeptcd");
  2014. var hngnm = ds_paminfo.getColumn(0,"hngnm");
  2015. var rrgstno1 = ds_paminfo.getColumn(0,"rrgstno1");
  2016. var rrgstno2 = ds_paminfo.getColumn(0,"rrgstno2");
  2017. var sex = ds_paminfo.getColumn(0,"sex");
  2018. var age = ds_paminfo.getColumn(0,"age");
  2019. ds_singdata.setColumn(0,"srchpid" , pid);
  2020. ds_singdata.setColumn(0,"deptcd" , deptcd);
  2021. fChngSrchDrId(); // 주치의콤보 조회
  2022. if(ds_patinfolist.rowcount < 1) ds_patinfolist.addRow();
  2023. ds_patinfolist.setColumn(0,"hngnm" ,hngnm);
  2024. ds_patinfolist.setColumn(0,"rrgstno1",rrgstno1);
  2025. ds_patinfolist.setColumn(0,"rrgstno2",rrgstno2);
  2026. ds_patinfolist.setColumn(0,"sex" ,sex);
  2027. ds_patinfolist.setColumn(0,"age" ,age);
  2028. ds_singdata.setColumn(0,"chkcheck" ,"ALL");
  2029. if(!utlf_isNull(ds_singdata.getColumn(0,"srchpid"))){
  2030. fSetUserBaseInit(); //사용자 환경설정 조회기준 세팅
  2031. fSetUserDeptInit(); //사용자 환경설정 부서 세팅
  2032. fSetUserTabInit(); //사용자 환경설정 tab 세팅
  2033. }
  2034. } else {
  2035. fSetUserBaseInit(); //사용자 환경설정 조회기준 세팅
  2036. fSetUserDeptInit(); //사용자 환경설정 부서 세팅
  2037. fSetUserTabInit(); //사용자 환경설정 tab 세팅
  2038. }
  2039. }
  2040. }
  2041. //병리결과OLD 버튼 비활성화여부
  2042. var instance1 = ds_globalinstance.getColumn(0,"instance1");
  2043. ds_globalinstance.setColumn(0,"instance1","1000000000");
  2044. ds_send.setColumn(0,"grupcdid","S001");
  2045. var arrColInfo = [{col:"suppdeptcd" , type:"string" , size:256}
  2046. ,{col:"grupcdid" , type:"string" , size:256}]
  2047. dsf_createDs("ds_temp",arrColInfo,"true");
  2048. var nRow = ds_temp.addRow()
  2049. ds_temp.setColumn(nRow,"suppdeptcd", ds_globalinstance.getColumn(0,"instance1"));
  2050. ds_temp.setColumn(nRow,"grupcdid" , ds_send.getColumn(0,"grupcdid"));
  2051. var oParam = {};
  2052. oParam.id = "TRAEB00010";
  2053. oParam.service = "examcurebaseapp.ComCode";
  2054. oParam.method = "reqGetComCodeDetailList";
  2055. oParam.inds = "req=ds_temp";
  2056. oParam.outds = "ds_item=item";
  2057. oParam.async = true;
  2058. oParam.callback = "cf_TRAEB00010";
  2059. tranf_submit(oParam);
  2060. ds_globalinstance.setColumn(0,"instance1",instance1);
  2061. ds_singdata.setColumn(0,"chkcheck","");
  2062. group3.grp_sea.ipt_pid.setFocus();
  2063. /* 이미 체크박스로 그려뒀으니 후에 입력가능한지 확인후 edittype만 변경 */
  2064. grdf_initGrid(group3.switch1.case1.grd_maindaily);
  2065. grdf_initGrid(group3.switch1.case5.datagrid1);
  2066. grdf_setGridSort(group3.switch1.case4.grd_mainprogress); // 그리드 소트만
  2067. //임상시험 의뢰자 관련하여 [피보험자]라는 화면에서 결과조회를 팝업으로 CALL 할때 다른 등록번호를 조회할 수 없도록.
  2068. if(frmf_checkOpener()){
  2069. var authflagpid = opener.frmf_getParameter("opener_parameter_id"); //opener parameter value를 get
  2070. var authflag = opener.frmf_getParameter("opener_parameter_authflag"); //opener parameter value를 get
  2071. if(authflag == "N"){
  2072. //alert("임상시험 피보험자 화면에서 Call");
  2073. group3.grp_sea.ipt_pid.enable = false; //등록번호 입력란
  2074. group3.grp_sea.button5.visible = false; //이름 검색버튼
  2075. group3.grp_sea.btn_MyPatList.visible = false; //대상자조회 버튼
  2076. group3.button40.visible = false; //출력 버튼
  2077. group3.button1.visible = false; //엑셀 버튼
  2078. ds_singdata.setColumn(0,"srchpid",authflagpid);
  2079. }
  2080. }
  2081. if(!utlf_isNull(ds_singdata.getColumn(0,"srchpid"))){
  2082. fReqGetPatComnInfo("ds_req", ds_singdata.getColumn(0,"srchpid")); //환자정보 조회
  2083. }
  2084. fSetUserFrozenColInit(); //사용자 환경설정 조회기준 세팅(통합검사결과조회 틀고정 기본 설정)
  2085. fSetUserHlaPopupInit(); //사용자 환경설정 조회기준 세팅(합검사 결과조회 공여자 HLA 검사 결과조회 화면 자동호출 여부)
  2086. fSetUserPrntFrmInit(); //통합검사 결과조회 출력 양식 조건(세로/가로)
  2087. fSetPopupMenu();
  2088. // 환자정보 불러왔을경우 오픈시 자동조회 추가
  2089. if(!utlf_isNull(ds_singdata.getColumn(0,"srchpid"))) {
  2090. var e = new ClickEventInfo;
  2091. frmf_inputEnterKey("group3.grp_sea.btn_srch", "onclick", e );
  2092. }
  2093. }
  2094. /****************************************************************************************
  2095. * Function : fSetSubResultGridProperty
  2096. * Description : 초기 그리드 설정
  2097. * Argument :
  2098. * return type :
  2099. * Creator :
  2100. ****************************************************************************************/
  2101. var bSetGridProperty = true;
  2102. function fSetSubResultGridProperty() {
  2103. try {
  2104. if(bSetGridProperty) {
  2105. bSetGridProperty = false;
  2106. group3.grd_subresultdetail1.setCellProperty("body",0,"edittype","checkbox");
  2107. group3.grd_subresultdetail1.setBandProperty("body","cellbackground","#FFFFFF");
  2108. group3.grd_subresultdetail1.setBandProperty("body","cellbackground2","#FFFFFF");
  2109. group3.grd_subresultdetail1.setBandProperty("body","cellcolor","#000000");
  2110. var sExpr1 ="background:EXPR(getColumn(currow,'judgmark')=='T'?&quot;lightblue&quot;"//url('theme://images/tab_hide_blue.gif') repeat-x
  2111. +":&quot;&quot;)"
  2112. +";background2:EXPR(getColumn(currow,'judgmark')=='T'?&quot;lightblue&quot;"//url('theme://images/tab_hide_blue.gif') repeat-x
  2113. +":&quot;&quot;)"
  2114. +";line:&quot;0 none #808080ff&quot;"
  2115. +";controlbackground:EXPR(utlf_isNull(getColumn(currow,'judgmark'))||getColumn(currow,'judgmark')=='T'||getColumn(currow,'judgmark')=='P'?&quot;silver&quot;:&quot;default&quot;)"
  2116. +";controlborder:EXPR(utlf_isNull(getColumn(currow,'judgmark'))||getColumn(currow,'judgmark')=='T'||getColumn(currow,'judgmark')=='P'?&quot;1 solid #708090cc&quot;:&quot;default&quot;)"
  2117. ;
  2118. var sExpr2 ="background:EXPR(getColumn(currow,'judgmark')=='T'?&quot;lightblue&quot;"//url('theme://images/tab_hide_blue.gif') repeat-x
  2119. +":getColumn(currow,'judgmark')=='P'?&quot;#f7a08b&quot;"
  2120. +":getColumn(currow,'judgmark')=='Q'?&quot;#9999cc&quot;"
  2121. +":&quot;&quot;)"
  2122. +";background2:EXPR(getColumn(currow,'judgmark')=='T'?&quot;lightblue&quot;"//url('theme://images/tab_hide_blue.gif') repeat-x
  2123. +":getColumn(currow,'judgmark')=='P'?&quot;#f7a08b&quot;"
  2124. +":getColumn(currow,'judgmark')=='Q'?&quot;#9999cc&quot;"
  2125. +":&quot;&quot;)"
  2126. +";color:EXPR(getColumn(currow,'judgmark2')=='H'?&quot;red&quot;"
  2127. +":getColumn(currow,'judgmark2')=='L'?&quot;blue&quot;"
  2128. +":getColumn(currow,'judgmark')=='T'?&quot;&quot;"
  2129. +":&quot;&quot;)"
  2130. +";color2:EXPR(getColumn(currow,'judgmark2')=='H'?&quot;red&quot;"
  2131. +":getColumn(currow,'judgmark2')=='L'?&quot;blue&quot;"
  2132. +":getColumn(currow,'judgmark')=='T'?&quot;&quot;"
  2133. +":&quot;&quot;)"
  2134. +";font:EXPR(getColumn(currow,'judgmark')=='ST' || getColumn(currow,'judgmark')=='T'?&quot;굴림체,9,bold&quot;"
  2135. +":&quot;굴림체,9&quot;)"
  2136. +";align:&quot;left&quot;"
  2137. +";line:&quot;0 none #808080ff&quot;"
  2138. ;
  2139. group3.grd_subresultdetail1.setCellProperty("body", 0, "edittype", "EXPR:utlf_isNull(getColumn(currow,'judgmark'))||getColumn(currow,'judgmark')=='T'||getColumn(currow,'judgmark')=='P'?&quot;none&quot;:&quot;checkbox&quot;");
  2140. group3.grd_subresultdetail1.setCellProperty("body", 0, "style", sExpr1);
  2141. group3.grd_subresultdetail1.setCellProperty("body", 1, "style", sExpr2);
  2142. /* XP 의 EXPR 을 이용하여 style을 하나의 함수로 처리 END */
  2143. }
  2144. } catch (e) {
  2145. sysf_messageBox("통합결과조회 그리드 설정중 오류 발생", "E" );
  2146. }
  2147. }
  2148. // 진료대상자에서 환자 변경시 호출 하도록 생성 2049.07.03 엄영만
  2149. // 환자번호가 바뀌지 않는 현상 발생 함.
  2150. function fChangePid(sPid) {
  2151. var sRtn = "";
  2152. try {
  2153. if(utlf_isNull(sPid)) {
  2154. sysf_messageBox("변경하려는 환자번호가 지정되지 않았습니다.", "E" );
  2155. return sRtn;
  2156. }
  2157. ds_singdata.setColumn(0, "srchpid", sPid);
  2158. group3.grp_sea.btn_srch.click();
  2159. sRtn = ds_singdata.getColumn(0, "srchpid");
  2160. if(sPid != sRtn) {
  2161. sysf_messageBox("통합결과조회 요청 환자번호와 조회결과 환자 번호가 서로 다릅니다. 전산실(4204)로 연락 부탁드립니다.", "E" );
  2162. }
  2163. } catch (e) {
  2164. sysf_messageBox("통합결과조회 환자변경 조회중 오류가 발생 하였습니다. 전산실(4204)로 연락 부탁드립니다.", "E" );
  2165. sRtn = "";
  2166. }
  2167. return sRtn;
  2168. }
  2169. /****************************************************************************************
  2170. * Components : Tab
  2171. * Components ID : group3.switch1
  2172. * Event : onchanged
  2173. * Argument : 01.obj : Object Event has occurred
  2174. * : 02.e : Event Object
  2175. * Description : 탭 인덱스 변경 이벤트
  2176. ****************************************************************************************/
  2177. function group3_switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  2178. {
  2179. if(e.postindex == 0) {
  2180. vTabOpen = "";
  2181. ds_maindailylist.enableevent = false;
  2182. fGetSytsRsltRefList("ALL", "G"); //SMMMI00100.js
  2183. ds_maindailylist.enableevent = true;
  2184. group3.button102.visible = true;
  2185. group3.button103.visible = true;
  2186. } else if(e.postindex == 1) {
  2187. vTabOpen = "";
  2188. fGetSytsRsltRefList("ALL", "B"); //SMMMI00100.js
  2189. group3.button102.visible = true;
  2190. group3.button103.visible = true;
  2191. } else if(e.postindex == 2) {
  2192. vTabOpen = "Y";
  2193. var AnswData = fGetIntefeAnsw("019");
  2194. if(!utlf_isNull(AnswData)) {
  2195. if( AnswData == "001" ){
  2196. ds_setdata.setColumn(0,"setkindcd","P");
  2197. } else {
  2198. ds_setdata.setColumn(0,"setkindcd","D");
  2199. }
  2200. }
  2201. fGetMainSetList();
  2202. group3.button102.visible = true;
  2203. group3.button103.visible = true;
  2204. } else if(e.postindex == 3) {
  2205. vTabOpen = "Y";
  2206. group3.grp_makedset.visible = false;
  2207. group3.datagrid2.visible = false;
  2208. group3.grd_subresultdetail1.visible = true;
  2209. group3.grd_subresultdetail2.visible = false;
  2210. fGetMainProgressList();
  2211. fGetWideListX2(group3.switch1, group3.switch1.case4.grd_mainprogress);
  2212. group3.button102.visible = false;
  2213. group3.button103.visible = false;
  2214. }
  2215. }
  2216. /****************************************************************************************
  2217. * Components : Combo
  2218. * Components ID : group3.grp_sea.cmb_orddept
  2219. * Event : onitemchanged
  2220. * Argument : 01.obj : Object Event has occurred
  2221. * : 02.e : Event Object
  2222. * Description : 진료과 콤보 선택
  2223. ****************************************************************************************/
  2224. function group3_grp_sea_cmb_orddept_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  2225. {
  2226. ds_singdata.setColumn(0,"deptcd",e.postvalue);
  2227. fChngSrchDrId();
  2228. }
  2229. /****************************************************************************************
  2230. * Components : Dataset
  2231. * Components ID : ds_prmsprcpsetlist
  2232. * Event : onrowposchanged
  2233. * Argument : 01.obj : Object Event has occurred
  2234. * : 02.e : Event Object
  2235. * Description : 트리선택 상세조회
  2236. ****************************************************************************************/
  2237. function ds_prmsprcpsetlist_onrowposchanged(obj:Dataset, e:DSRowPosChangeEventInfo)
  2238. {
  2239. fGetNResultRef();
  2240. }
  2241. /****************************************************************************************
  2242. * Components : Edit
  2243. * Components ID : group3.grp_sea.ipt_pid
  2244. * Event : onkeydown
  2245. * Argument : 01.obj : Object Event has occurred
  2246. * : 02.e : Event Object
  2247. * Description : 등록번호 입력후 엔터키 실행
  2248. ****************************************************************************************/
  2249. function group3_grp_sea_ipt_pid_onkeydown(obj:Edit, e:KeyEventInfo)
  2250. {
  2251. if(e.keycode == 13) {
  2252. obj.updateToDataset();
  2253. // 포커스 이동시에도 환자조회가 가능하도록 ds_singdata_oncolumnchanged 이벤트로 이동 -> 화면 리로드시 문제 발생 함수 따로 생성
  2254. execPidKeyEvent();
  2255. }
  2256. }
  2257. function execPidKeyEvent() {
  2258. /*
  2259. * case1 : 분류별
  2260. * case2 : 검사분류별
  2261. * case3 : SET별
  2262. * case4 : 진행상태
  2263. * case5 : 그룹별
  2264. */
  2265. group3.grp_sea.btn_srch.click();
  2266. if(group3.div_lis.visible = true){ //20120406
  2267. group3.div_lis.visible = false;
  2268. }
  2269. if(frmf_findPopup("SPMMI00200")) frmf_findPopup("SPMMI00200").close();
  2270. if(frmf_findPopup("SPMMI00300")) frmf_findPopup("SPMMI00300").close();
  2271. }
  2272. /****************************************************************************************
  2273. * Components : Combo
  2274. * Components ID : group3.switch1.case1.cmb_dailylist
  2275. * Event : onitemchanged
  2276. * Argument : 01.obj : Object Event has occurred
  2277. * : 02.e : Event Object
  2278. * Description :
  2279. ****************************************************************************************/
  2280. function group3_switch1_case1_cmb_dailylist_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  2281. {
  2282. ds_singdata.setColumn(0,"chkcheck","ALL");
  2283. var refname = e.postvalue;
  2284. if(!utlf_isNull(refname) && refname != "-") {
  2285. var param = refname.split("_");
  2286. } else {
  2287. var param = "";
  2288. }
  2289. if (param.length > 0) {
  2290. ds_singdata.setColumn(0,"deptcd",param[0]);
  2291. ds_singdata.setColumn(0,"prcpdd",param[1]);
  2292. fGetMainDailyList("B");
  2293. } else {
  2294. ds_singdata.setColumn(0,"deptcd","");
  2295. ds_singdata.setColumn(0,"prcpdd","");
  2296. fGetMainDailyList("B");
  2297. }
  2298. }
  2299. /****************************************************************************************
  2300. * Components : Grid
  2301. * Components ID : group3.switch1.case1.grd_maindaily
  2302. * Event : oncelldblclick
  2303. * Argument : 01.obj : Object Event has occurred
  2304. * : 02.e : Event Object
  2305. * Description :
  2306. ****************************************************************************************/
  2307. function group3_switch1_case1_grd_maindaily_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  2308. {
  2309. ds_maindailylist.enableevent = false;
  2310. var cRow = e.row;
  2311. var cCol = e.col;
  2312. if (cRow > -1 && cCol > 0) {
  2313. fClickResultList();
  2314. }
  2315. ds_maindailylist.enableevent = true;
  2316. }
  2317. /****************************************************************************************
  2318. * Components : Button
  2319. * Components ID : group3.button10
  2320. * Event : onclick
  2321. * Argument : 01.obj : Object Event has occurred
  2322. * : 02.e : Event Object
  2323. * Description : 전체버튼 실행
  2324. ****************************************************************************************/
  2325. function group3_button10_onclick(obj:Button, e:ClickEventInfo)
  2326. {
  2327. ds_maindailylist.enableevent = false;
  2328. fGetSytsRsltRefList("ALL");
  2329. ds_maindailylist.enableevent = true;
  2330. }
  2331. /****************************************************************************************
  2332. * Components : Button
  2333. * Components ID : group3.grp_sea.btn_srch
  2334. * Event : onclick
  2335. * Argument : 01.obj : Object Event has occurred
  2336. * : 02.e : Event Object
  2337. * Description : 조회버튼 실행
  2338. ****************************************************************************************/
  2339. function group3_grp_sea_btn_srch_onclick(obj:Button, e:ClickEventInfo)
  2340. {
  2341. try{
  2342. if( parent.openstatus != "maximize" ){
  2343. parent.openstatus = "normal";
  2344. }
  2345. }catch(e){}
  2346. var pid = ds_singdata.getColumn(0,"srchpid");
  2347. if(utlf_isNull(pid)) {
  2348. return;
  2349. }
  2350. //fReqGetPatComnInfo("ds_req", ds_singdata.getColumn(0,"srchpid")); //환자기본정보 조회
  2351. if ( group3.switch1.tabindex == 0 || group3.switch1.tabindex == 1) { // 그룹별, 분류별 조회
  2352. fGetSytsRsltRefList("ALL"); //SMMMI00100.js
  2353. } else if ( group3.switch1.tabindex == 2 ) { // SET별 조회
  2354. fGetMainSetList();
  2355. } else if ( group3.switch1.tabindex == 3 ) { // 진행상태별 조회
  2356. fGetMainProgressList();
  2357. }
  2358. if(frmf_findPopup("SPMMI00200")) frmf_findPopup("SPMMI00200").close();
  2359. if(frmf_findPopup("SPMMI00300")) frmf_findPopup("SPMMI00300").close();
  2360. }
  2361. /****************************************************************************************
  2362. * Components : Button
  2363. * Components ID : group3.button17
  2364. * Event : onclick
  2365. * Argument : 01.obj : Object Event has occurred
  2366. * : 02.e : Event Object
  2367. * Description : 진검 결과조회
  2368. ****************************************************************************************/
  2369. function group3_button17_onclick(obj:Button, e:ClickEventInfo)
  2370. {
  2371. fGetSytsRsltRefList("A");
  2372. }
  2373. /****************************************************************************************
  2374. * Components : Button
  2375. * Components ID : group3.button19
  2376. * Event : onclick
  2377. * Argument : 01.obj : Object Event has occurred
  2378. * : 02.e : Event Object
  2379. * Description : 병리 결과조회
  2380. ****************************************************************************************/
  2381. function group3_button19_onclick(obj:Button, e:ClickEventInfo)
  2382. {
  2383. fGetSytsRsltRefList("C"); //결과 조회 병리 연속보기
  2384. }
  2385. /****************************************************************************************
  2386. * Components : Button
  2387. * Components ID : group3.button19
  2388. * Event : onclick
  2389. * Argument : 01.obj : Object Event has occurred
  2390. * : 02.e : Event Object
  2391. * Description : 영상 결과조회
  2392. ****************************************************************************************/
  2393. function group3_button21_onclick(obj:Button, e:ClickEventInfo)
  2394. {
  2395. fGetSytsRsltRefList("E");
  2396. }
  2397. /****************************************************************************************
  2398. * Components : Button
  2399. * Components ID : group3.button20
  2400. * Event : onclick
  2401. * Argument : 01.obj : Object Event has occurred
  2402. * : 02.e : Event Object
  2403. * Description : 핵체외 결과조회
  2404. ****************************************************************************************/
  2405. function group3_button20_onclick(obj:Button, e:ClickEventInfo)
  2406. {
  2407. fGetSytsRsltRefList("D");
  2408. }
  2409. /****************************************************************************************
  2410. * Components : Button
  2411. * Components ID : group3.button22
  2412. * Event : onclick
  2413. * Argument : 01.obj : Object Event has occurred
  2414. * : 02.e : Event Object
  2415. * Description : 내시경 결과조회
  2416. ****************************************************************************************/
  2417. function group3_button22_onclick(obj:Button, e:ClickEventInfo)
  2418. {
  2419. fGetSytsRsltRefList("F");
  2420. }
  2421. /****************************************************************************************
  2422. * Components : Button
  2423. * Components ID : group3.button23
  2424. * Event : onclick
  2425. * Argument : 01.obj : Object Event has occurred
  2426. * : 02.e : Event Object
  2427. * Description : 기능 결과조회
  2428. ****************************************************************************************/
  2429. function group3_button23_onclick(obj:Button, e:ClickEventInfo)
  2430. {
  2431. fGetSytsRsltRefList("G");
  2432. }
  2433. /****************************************************************************************
  2434. * Components : Button
  2435. * Components ID : group3.button18
  2436. * Event : onclick
  2437. * Argument : 01.obj : Object Event has occurred
  2438. * : 02.e : Event Object
  2439. * Description : 미생물 결과조회
  2440. ****************************************************************************************/
  2441. function group3_button18_onclick(obj:Button, e:ClickEventInfo)
  2442. {
  2443. fGetSytsRsltRefList("B");
  2444. }
  2445. /****************************************************************************************
  2446. * Components : Button
  2447. * Components ID : group3.button36
  2448. * Event : onclick
  2449. * Argument : 01.obj : Object Event has occurred
  2450. * : 02.e : Event Object
  2451. * Description : 건진소견 결과조회
  2452. ****************************************************************************************/
  2453. function group3_button36_onclick(obj:Button, e:ClickEventInfo)
  2454. {
  2455. fGetHealExamDetailList();
  2456. }
  2457. /****************************************************************************************
  2458. * Components : Button
  2459. * Components ID : group3.switch1.case1.button38
  2460. * Event : onclick
  2461. * Argument : 01.obj : Object Event has occurred
  2462. * : 02.e : Event Object
  2463. * Description : 선택항목조회 버튼 실행
  2464. ****************************************************************************************/
  2465. function group3_switch1_case1_button38_onclick(obj:Button, e:ClickEventInfo)
  2466. {
  2467. fGetCheckedResultContinueList("B"); // 분류별 조회
  2468. if(group3.div_lis.visible = true){
  2469. group3.div_lis.visible = false;
  2470. }
  2471. }
  2472. /****************************************************************************************
  2473. * Components : Button
  2474. * Components ID : group3.button103
  2475. * Event : onclick
  2476. * Argument : 01.obj : Object Event has occurred
  2477. * : 02.e : Event Object
  2478. * Description : 그룹탭 확장버튼
  2479. ****************************************************************************************/
  2480. function group3_button103_onclick(obj:Button, e:ClickEventInfo)
  2481. {
  2482. if(vTabOpen != "Y") {
  2483. var fromV = "";
  2484. var toV = "";
  2485. var objLComp = "";
  2486. var objRComp = "";
  2487. var objLSub = "";
  2488. var objRSub = "";
  2489. if(group3.switch1.tabindex == 0 || group3.switch1.tabindex == 1) {
  2490. fromV = 310;
  2491. toV = 850;
  2492. objLComp = "group3.switch1";
  2493. objRComp = "group3.grd_subresultdetail1";
  2494. objRSub = "group3.grd_subresultdetail2";
  2495. } else if(group3.switch1.tabindex == 3) {
  2496. fromV = 310;
  2497. toV = 1248;
  2498. objLComp = "group3.switch1";
  2499. objRComp = "group3.grd_subresultdetail1";
  2500. } else if(group3.switch1.tabindex == 2) {
  2501. fromV = 0;
  2502. toV = 310;
  2503. objLComp = "group3.switch1";
  2504. objRComp = "group3.datagrid2";
  2505. objLSub = "group3.grp_makedset";
  2506. }
  2507. lf_playAniLeft(objLComp,objRComp,fromV,toV,objLSub,objRSub);
  2508. vTabOpen = "Y";
  2509. }
  2510. }
  2511. /****************************************************************************************
  2512. * Components : Button
  2513. * Components ID : group3.button102
  2514. * Event : onclick
  2515. * Argument : 01.obj : Object Event has occurred
  2516. * : 02.e : Event Object
  2517. * Description : 그룹탭 축소버튼
  2518. ****************************************************************************************/
  2519. function group3_button102_onclick(obj:Button, e:ClickEventInfo)
  2520. {
  2521. if(vTabOpen == "Y") {
  2522. var fromV = "";
  2523. var toV = "";
  2524. var objLComp = "";
  2525. var objRComp = "";
  2526. var objLSub = "";
  2527. var objRSub = "";
  2528. if(group3.switch1.tabindex == 0 || group3.switch1.tabindex == 1) {
  2529. fromV = 850;
  2530. toV = 310;
  2531. objLComp = "group3.switch1";
  2532. objRComp = "group3.grd_subresultdetail1";
  2533. objRSub = "group3.grd_subresultdetail2";
  2534. } else if(group3.switch1.tabindex == 3) {
  2535. fromV = 1248;
  2536. toV = 310;
  2537. objLComp = "group3.switch1";
  2538. objRComp = "group3.grd_subresultdetail1";
  2539. } else if(group3.switch1.tabindex == 2) {
  2540. fromV = 310;
  2541. toV = 0;
  2542. objLComp = "group3.switch1";
  2543. objRComp = "group3.datagrid2";
  2544. objLSub = "group3.grp_makedset";
  2545. }
  2546. lf_playAniLeft(objLComp,objRComp,fromV,toV,objLSub,objRSub);
  2547. vTabOpen = "";
  2548. }
  2549. }
  2550. /****************************************************************************************
  2551. * Components : Combo
  2552. * Components ID : group3.switch1.case5.combo2
  2553. * Event : onitemchanged
  2554. * Argument : 01.obj : Object Event has occurred
  2555. * : 02.e : Event Object
  2556. * Description : 그룹별 항목 선택일자 조회
  2557. ****************************************************************************************/
  2558. function group3_switch1_case5_combo2_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  2559. {
  2560. ds_singdata.setColumn(0,"chkcheck","ALL");
  2561. var refname = e.postvalue;
  2562. if(!utlf_isNull(refname) && refname != "-") {
  2563. var param = refname.split("_");
  2564. } else {
  2565. var param = "";
  2566. }
  2567. if (param.length > 0) {
  2568. ds_singdata.setColumn(0,"deptcd",param[0]);
  2569. ds_singdata.setColumn(0,"prcpdd",param[1]);
  2570. fGetMainDailyList("G");
  2571. } else {
  2572. ds_singdata.setColumn(0,"deptcd","");
  2573. ds_singdata.setColumn(0,"prcpdd","");
  2574. fGetMainDailyList("G");
  2575. }
  2576. }
  2577. /****************************************************************************************
  2578. * Components : Button
  2579. * Components ID : group3.switch1.case5.button43
  2580. * Event : onclick
  2581. * Argument : 01.obj : Object Event has occurred
  2582. * : 02.e : Event Object
  2583. * Description : 선택항목조회 버튼 실행
  2584. ****************************************************************************************/
  2585. function group3_switch1_case5_button43_onclick(obj:Button, e:ClickEventInfo)
  2586. {
  2587. fGetCheckedResultContinueList("G"); // 분류별 조회
  2588. if(group3.div_lis.visible = true){
  2589. group3.div_lis.visible = false;
  2590. }
  2591. }
  2592. /****************************************************************************************
  2593. * Components : Combo
  2594. * Components ID : group3.grp_sea.cmb_term
  2595. * Event : onitemchanged
  2596. * Argument : 01.obj : Object Event has occurred
  2597. * : 02.e : Event Object
  2598. * Description : 조회기간 기간설정
  2599. ****************************************************************************************/
  2600. function group3_grp_sea_cmb_term_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  2601. {
  2602. var date2 = group3.grp_sea.ipt_date2.value;
  2603. var term = e.postvalue;
  2604. group3.grp_sea.ipt_date1.value = date2.getAddDate(-term, "D").getDateFormat("YYYYMMDD") ;
  2605. }
  2606. /****************************************************************************************
  2607. * Components : Combo
  2608. * Components ID : group3.grp_sea.button5
  2609. * Event : onitemchanged
  2610. * Argument : 01.obj : Object Event has occurred
  2611. * : 02.e : Event Object
  2612. * Description :
  2613. ****************************************************************************************/
  2614. function group3_grp_sea_button5_onclick(obj:Button, e:ClickEventInfo)
  2615. {
  2616. fGetPatInfo();
  2617. }
  2618. /****************************************************************************************
  2619. * Components : Button
  2620. * Components ID : group3.grp_sea.button45
  2621. * Event : onclick
  2622. * Argument : 01.obj : Object Event has occurred
  2623. * : 02.e : Event Object
  2624. * Description : 환경설정 팝업 오픈
  2625. ****************************************************************************************/
  2626. function group3_grp_sea_button45_onclick(obj:Button, e:ClickEventInfo)
  2627. {
  2628. frmf_open("SMMMB01100", "SMMMB01100", "", "", "", "", "", "", "", "", "", "", "M");
  2629. }
  2630. /****************************************************************************************
  2631. * Components : Button
  2632. * Components ID : group3.grp_sea.btn_PathoRsltOld
  2633. * Event : onclick
  2634. * Argument : 01.obj : Object Event has occurred
  2635. * : 02.e : Event Object
  2636. * Description : 병리결과OLD 화면 오픈
  2637. ****************************************************************************************/
  2638. function group3_grp_sea_btn_PathoRsltOld_onclick(obj:Button, e:ClickEventInfo)
  2639. {
  2640. if (utlf_isNull(ds_singdata.getColumn(0,"srchpid"))) {
  2641. sysf_messageBox("등록번호를 입력하세요.","I999");
  2642. return true;
  2643. }
  2644. var objArg = new Object();
  2645. objArg.arg_pid = ds_singdata.getColumn(0,"srchpid");
  2646. frmf_open("SPLPP90100", "SPLPP90100", objArg, "", "", "", "", "", "", "", "", "", "M");
  2647. }
  2648. /****************************************************************************************
  2649. * Components : Button
  2650. * Components ID : group3.grp_sea.button51
  2651. * Event : onclick
  2652. * Argument : 01.obj : Object Event has occurred
  2653. * : 02.e : Event Object
  2654. * Description : 과거검사결과 화면 오픈
  2655. ****************************************************************************************/
  2656. function group3_grp_sea_button51_onclick(obj:Button, e:ClickEventInfo)
  2657. {
  2658. if (utlf_isNull(ds_singdata.getColumn(0,"srchpid"))) {
  2659. sysf_messageBox("등록번호를 입력하세요.","I999");
  2660. return true;
  2661. }
  2662. frmf_setParameter("SMMMI00100_pid" ,ds_singdata.getColumn(0,"srchpid"));
  2663. frmf_setParameter("SMMMI00100_hngnm",ds_cond.getColumn(0,"hngnm"));
  2664. frmf_modal("SMAOE01000","SMAOE01000", "", "", "", "", "", "", "", "", "", "", "M");
  2665. frmf_clearParameter("SMMMI00100_pid");
  2666. frmf_clearParameter("SMMMI00100_hngnm");
  2667. }
  2668. /****************************************************************************************
  2669. * Components : Button
  2670. * Components ID : group3.grp_sea.btn_MyPatList
  2671. * Event : onclick
  2672. * Argument : 01.obj : Object Event has occurred
  2673. * : 02.e : Event Object
  2674. * Description : 과거검사결과 화면 오픈
  2675. ****************************************************************************************/
  2676. function group3_grp_sea_btn_MyPatList_onclick(obj:Button, e:ClickEventInfo)
  2677. {
  2678. var objArg = new Object();
  2679. objArg.arg_ds_singdata = ds_singdata;
  2680. frmf_open("SPAER00802","SPAER00802", objArg, "Y", "", 1000, 0, "", "", "", "", "", "M");
  2681. }
  2682. /****************************************************************************************
  2683. * Components : Combo
  2684. * Components ID : group3.combo1
  2685. * Event : onitemchanged
  2686. * Argument : 01.obj : Object Event has occurred
  2687. * : 02.e : Event Object
  2688. * Description : 과별SET 누적조회 콤보 선택
  2689. ****************************************************************************************/
  2690. function group3_combo1_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  2691. {
  2692. ds_setdata.setColumn(0,"deptsetcd",e.postvalue);
  2693. ds_setdata.setColumn(0,"deptnm" ,e.posttext);
  2694. if(ds_setdata.getColumn(0,"deptsetcd") == "-") {
  2695. ds_setdata.setColumn(0,"deptsetcd","");
  2696. ds_setdata.setColumn(0,"deptnm","");
  2697. }
  2698. group3.switch1.enableevent = false;
  2699. group3.switch1.tabindex = 2;
  2700. group3.switch1.enableevent = true;
  2701. fGetMainSetList();
  2702. fSetUserFrozenColInit(); //사용자 환경설정 조회기준 세팅(통합검사결과조회 틀고정 기본 설정)
  2703. }
  2704. /****************************************************************************************
  2705. * Components : Combo
  2706. * Components ID : group3.switch1.case3.cmb_deptset
  2707. * Event : onitemchanged
  2708. * Argument : 01.obj : Object Event has occurred
  2709. * : 02.e : Event Object
  2710. * Description :
  2711. ****************************************************************************************/
  2712. function group3_switch1_case3_cmb_deptset_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  2713. {
  2714. ds_setdata.setColumn(0,"deptsetcd",e.postvalue);
  2715. ds_setdata.setColumn(0,"deptnm",e.posttext);
  2716. if(ds_setdata.getColumn(0,"deptsetcd") == "-") {
  2717. ds_setdata.setColumn(0,"deptnm","");
  2718. }
  2719. group3.switch1.enableevent = false;
  2720. group3.switch1.tabindex = 2;
  2721. group3.switch1.enableevent = true;
  2722. fGetMainSetList();
  2723. }
  2724. /****************************************************************************************
  2725. * Components : Radio
  2726. * Components ID : group3.switch1.case3.rdo_setflag
  2727. * Event : onitemchanged
  2728. * Argument : 01.obj : Object Event has occurred
  2729. * : 02.e : Event Object
  2730. * Description :
  2731. ****************************************************************************************/
  2732. function group3_switch1_case3_rdo_setflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  2733. {
  2734. group3.grp_makedset.visible = false; // SET전체항목조회 비활성화
  2735. if(ds_setdata.getColumn(0,"setkindcd") == "P" || ds_setdata.getColumn(0,"setkindcd") == "D"){
  2736. var oParam = {};
  2737. oParam.id = "TRAER00815";
  2738. oParam.service = "examcureresultrefapp.RsltRef";
  2739. oParam.method = "reqGetTestDeptSetList";
  2740. oParam.inds = "req=ds_setdata";
  2741. oParam.outds = "ds_deptlist=deptlist";
  2742. oParam.async = false;
  2743. oParam.callback = "";
  2744. tranf_submit(oParam);
  2745. group3.switch1.case3.cmb_deptset.enable = false;
  2746. readfunc();
  2747. ds_setdata.setColumn(0,"deptsetcd","");
  2748. }else{
  2749. var oParam = {};
  2750. oParam.id = "TRAER00815";
  2751. oParam.service = "examcureresultrefapp.RsltRef";
  2752. oParam.method = "reqGetTestDeptSetList";
  2753. oParam.inds = "req=ds_setdata";
  2754. oParam.outds = "ds_deptlist=deptlist";
  2755. oParam.async = false;
  2756. oParam.callback = "";
  2757. tranf_submit(oParam);
  2758. group3.switch1.case3.cmb_deptset.enable = true;
  2759. readfunc(); // 실제 조회 결과는 없음.
  2760. ds_setdata.setColumn(0,"deptsetcd","-");
  2761. }
  2762. }
  2763. /****************************************************************************************
  2764. * Components : Edit
  2765. * Components ID : group3.switch1.case3.ipt_foldnm
  2766. * Event : onkeydown
  2767. * Argument : 01.obj : Object Event has occurred
  2768. * : 02.e : Event Object
  2769. * Description : 폴더명 검색 실행
  2770. ****************************************************************************************/
  2771. function group3_switch1_case3_ipt_foldnm_onkeydown(obj:Edit, e:KeyEventInfo)
  2772. {
  2773. if(e.keycode == 13) {
  2774. ds_setdata.setColumn(0,"foldernm",obj.value);
  2775. fSrchFolderNM();
  2776. }
  2777. }
  2778. /****************************************************************************************
  2779. * Components : Edit
  2780. * Components ID : group3.switch1.case3.ipt_foldnm
  2781. * Event : onkeydown
  2782. * Argument : 01.obj : Object Event has occurred
  2783. * : 02.e : Event Object
  2784. * Description : 폴더명 검색 실행
  2785. ****************************************************************************************/
  2786. function group3_switch1_case3_button2_onclick(obj:Button, e:ClickEventInfo)
  2787. {
  2788. fSrchFolderNM();
  2789. }
  2790. /****************************************************************************************
  2791. * Components : Button
  2792. * Components ID : group3.button25
  2793. * Event : onclick
  2794. * Argument : 01.obj : Object Event has occurred
  2795. * : 02.e : Event Object
  2796. * Description : 미생물누적 버튼 클릭
  2797. ****************************************************************************************/
  2798. function group3_button25_onclick(obj:Button, e:ClickEventInfo)
  2799. {
  2800. fSetAddMicroResult();
  2801. }
  2802. /****************************************************************************************
  2803. * Components : Button
  2804. * Components ID : group3.button39
  2805. * Event : onclick
  2806. * Argument : 01.obj : Object Event has occurred
  2807. * : 02.e : Event Object
  2808. * Description : 그래프누적 버튼 클릭
  2809. ****************************************************************************************/
  2810. function group3_button39_onclick(obj:Button, e:ClickEventInfo)
  2811. {
  2812. if ( group3.grd_subresultdetail1.visible == true ) {
  2813. fSetVertAddResult("1");
  2814. }else if ( group3.datagrid2.visible == true ) {
  2815. fSetVertAddResult("2");
  2816. }
  2817. }
  2818. /****************************************************************************************
  2819. * Components : Button
  2820. * Components ID : group3.btn_cadiac
  2821. * Event : onclick
  2822. * Argument : 01.obj : Object Event has occurred
  2823. * : 02.e : Event Object
  2824. * Description : cadiac 버튼 클릭
  2825. ****************************************************************************************/
  2826. function group3_btn_cadiac_onclick(obj:Button, e:ClickEventInfo)
  2827. {
  2828. if ( group3.switch1.tabindex == 2 || group3.switch1.tabindex == 3 ) {
  2829. sysf_messageBox("[CADIAC 연동-등록번호기준] 기능은 분류별/그룹별 조회에서만 적용됩니다.","I999");
  2830. return true;
  2831. }
  2832. //20190212 수정
  2833. if ( ds_singdata.getColumn(0,"srchpid") == "" ) {
  2834. sysf_messageBox("등록번호를 입력하세요.","I999");
  2835. return true;
  2836. }
  2837. if ( group3.switch1.tabindex == 1 ) fClickCADIACPatResultList(group3.switch1.case1.grd_maindaily);
  2838. if ( group3.switch1.tabindex == 0 ) fClickCADIACPatResultList(group3.switch1.case5.datagrid1);
  2839. }
  2840. /****************************************************************************************
  2841. * Components : Button
  2842. * Components ID : group3.button31
  2843. * Event : onclick
  2844. * Argument : 01.obj : Object Event has occurred
  2845. * : 02.e : Event Object
  2846. * Description : CDIS연속연동 버튼 클릭
  2847. ****************************************************************************************/
  2848. function group3_button31_onclick(obj:Button, e:ClickEventInfo)
  2849. {
  2850. if ( group3.switch1.tabindex == 2 || group3.switch1.tabindex == 3 ) {
  2851. sysf_messageBox("[CDIS연속연동] 기능은 분류별/그룹별 조회에서만 적용됩니다.","I999");
  2852. return true;
  2853. }
  2854. if ( ds_singdata.getColumn(0,"srchpid") == "" ) {
  2855. sysf_messageBox("등록번호를 입력하세요.","I999");
  2856. return true;
  2857. }
  2858. if ( group3.switch1.tabindex == 1 ) fClickCDISResultList(group3.switch1.case1.grd_maindaily);
  2859. if ( group3.switch1.tabindex == 0 ) fClickCDISResultList(group3.switch1.case5.datagrid1);
  2860. }
  2861. /****************************************************************************************
  2862. * Components : Button
  2863. * Components ID : group3.btn_rcadiac
  2864. * Event : onclick
  2865. * Argument : 01.obj : Object Event has occurred
  2866. * : 02.e : Event Object
  2867. * Description : rcadiac 버튼 클릭
  2868. ****************************************************************************************/
  2869. function group3_btn_rcadiac_onclick(obj:Button, e:ClickEventInfo)
  2870. {
  2871. if ( group3.switch1.tabindex == 2 || group3.switch1.tabindex == 3 ) {
  2872. sysf_messageBox("[CADIAC 연동-등록번호기준] 기능은 분류별/그룹별 조회에서만 적용됩니다.","I999");
  2873. return true;
  2874. }
  2875. if ( ds_singdata.getColumn(0,"srchpid") == "" ) {
  2876. sysf_messageBox("등록번호를 입력하세요.","I999");
  2877. return true;
  2878. }
  2879. if ( group3.switch1.tabindex == 1 ) fClickCADIACPatReportList(group3.switch1.case1.grd_maindaily);
  2880. if ( group3.switch1.tabindex == 0 ) fClickCADIACPatReportList(group3.switch1.case5.datagrid1);
  2881. }
  2882. /****************************************************************************************
  2883. * Components : Button
  2884. * Components ID : group3.button33
  2885. * Event : onclick
  2886. * Argument : 01.obj : Object Event has occurred
  2887. * : 02.e : Event Object
  2888. * Description : PACS연동 버튼 클릭
  2889. ****************************************************************************************/
  2890. function group3_button33_onclick(obj:Button, e:ClickEventInfo)
  2891. {
  2892. if ( group3.switch1.tabindex == 2 || group3.switch1.tabindex == 3 ) {
  2893. sysf_messageBox("[PACS 연동] 기능은 분류별/그룹별 조회에서만 적용됩니다.","I999");
  2894. return true;
  2895. }
  2896. if ( ds_singdata.getColumn(0,"srchpid") == "" ) {
  2897. sysf_messageBox("등록번호를 입력하세요.","I999");
  2898. return true;
  2899. }
  2900. if ( group3.switch1.tabindex == 1 ) fClickPACSOrdPatResultList(group3.switch1.case1.grd_maindaily);
  2901. if ( group3.switch1.tabindex == 0 ) fClickPACSOrdPatResultList(group3.switch1.case5.datagrid1);
  2902. }
  2903. /****************************************************************************************
  2904. * Components : Button
  2905. * Components ID : group3.button7
  2906. * Event : onclick
  2907. * Argument : 01.obj : Object Event has occurred
  2908. * : 02.e : Event Object
  2909. * Description : PACS 연동-등록번호기준 버튼 클릭
  2910. ****************************************************************************************/
  2911. function group3_button7_onclick(obj:Button, e:ClickEventInfo)
  2912. {
  2913. if ( group3.switch1.tabindex == 2 || group3.switch1.tabindex == 3 ) {
  2914. sysf_messageBox("[PACS 연동-등록번호기준] 기능은 분류별/그룹별 조회에서만 적용됩니다.","I999");
  2915. return true;
  2916. }
  2917. if ( utlf_isNull(ds_singdata.getColumn(0,"srchpid")) ) {
  2918. sysf_messageBox("등록번호를 입력하세요.","I999");
  2919. return true;
  2920. }
  2921. if ( group3.switch1.tabindex == 1 ) fClickPACSPatResultList(group3.switch1.case1.grd_maindaily);
  2922. if ( group3.switch1.tabindex == 0 ) fClickPACSPatResultList(group3.switch1.case5.datagrid1);
  2923. }
  2924. /****************************************************************************************
  2925. * Components : Button
  2926. * Components ID : group3.button40
  2927. * Event : onclick
  2928. * Argument : 01.obj : Object Event has occurred
  2929. * : 02.e : Event Object
  2930. * Description : 출력 버튼 클릭
  2931. ****************************************************************************************/
  2932. function group3_button40_onclick(obj:Button, e:ClickEventInfo)
  2933. {
  2934. if ( group3.switch1.tabindex == 1 || group3.switch1.tabindex == 0 ) {
  2935. var chkcheck1 = ds_singdata.getColumn(0,"chkcheck1");
  2936. var chkcheck4 = ds_singdata.getColumn(0,"chkcheck4");
  2937. var result = "";
  2938. frmf_openLoadingBar();
  2939. if (utlf_isNull(ds_patinfolist.getColumn(0,"pid"))) {
  2940. fReqGetPatComnInfo("ds_req", ds_singdata.getColumn(0,"srchpid" )); //환자기본정보 조회
  2941. }
  2942. // 보안출력 관련 추가 2019.05.20 엄영만 요청서:20190513033
  2943. dsf_createDs("ds_tempPatInfo");
  2944. dsf_copyDs(ds_tempPatInfo, ds_patinfolist, "replace");
  2945. if(lf_ContainsHardCD("629", "Y") && !lf_ContainsHardCD("630", sysf_getUserInfo("userid")) && !lf_ContainsHardCD("631", sysf_getUserInfo("dutplcecd"))) { // 통합결과조회 보안출력 사용여부(629), 통합결과조회 보안출력 예외사용자(630), 예외부서(631)
  2946. var sTempPid = ds_tempPatInfo.getColumn(0, "pid");
  2947. var sTempHngNm = ds_tempPatInfo.getColumn(0, "hngnm");
  2948. if(sTempPid.length > 2) { // 3자리 이상일경우
  2949. sTempPid = sTempPid.substring(0, 1) + "**" + sTempPid.substring(3, sTempPid.length);
  2950. }
  2951. if(sTempHngNm.length == 2) { // 2자리
  2952. sTempHngNm = sTempHngNm.substring(0, 1) + "*";
  2953. } else if(sTempHngNm.length == 3) { // 3자리
  2954. sTempHngNm = sTempHngNm.substring(0, 1) + "*" + sTempHngNm.substring(2, sTempHngNm.length);;
  2955. } else if(sTempHngNm.length > 3) { // 4자리 이상
  2956. sTempHngNm = sTempHngNm.substring(0, 1) + "**" + sTempHngNm.substring(3, sTempHngNm.length);;
  2957. }
  2958. ds_tempPatInfo.setColumn(0, "pid", sTempPid);
  2959. ds_tempPatInfo.setColumn(0, "hngnm", sTempHngNm);
  2960. } // End of 보안출력 관련 추가 2019.05.20 엄영만 요청서:20190513033
  2961. // 진검일 경우
  2962. if (chkcheck1 == "A" ||chkcheck4 == "D") {
  2963. var nodeCnt = ds_subresultdetail1_1.rowcount;
  2964. for (var i =0; i < nodeCnt; i++) {
  2965. result = "";
  2966. var tclsscrnnnm = ds_subresultdetail1_1.getColumn(i,"tclsscrnnnm");
  2967. var reptrslt = ds_subresultdetail1_1.getColumn(i,"reptrslt");
  2968. if (tclsscrnnnm == reptrslt) {
  2969. result = ds_subresultdetail1_1.getColumn(i,"tclsscrnnnm");
  2970. } else {
  2971. var tnmdleng = 0;
  2972. var sTclsscrnnm = ds_subresultdetail1_1.getColumn(i,"tclsscrnnnm").getTrim();
  2973. result = sTclsscrnnm;
  2974. tnmdleng = utlf_getStringLength(sTclsscrnnm);
  2975. for (var j = tnmdleng; j < 36; j++) {
  2976. result += " ";
  2977. tnmdleng++;
  2978. }
  2979. var sReptrslt = ds_subresultdetail1_1.getColumn(i,"reptrslt").getTrim();
  2980. tnmdleng = tnmdleng + utlf_getStringLength(sReptrslt);
  2981. for (var j = tnmdleng; j < 52; j++) {
  2982. result += " ";
  2983. tnmdleng++;
  2984. }
  2985. result += sReptrslt;
  2986. var sRsltunit = ds_subresultdetail1_1.getColumn(i,"rsltunit").getTrim();
  2987. tnmdleng += utlf_getStringLength(sRsltunit);
  2988. for (var j = tnmdleng; j < 64; j++) {
  2989. result += " ";
  2990. tnmdleng++;
  2991. }
  2992. result += sRsltunit;
  2993. var sRef = ds_subresultdetail1_1.getColumn(i,"ref").getTrim();
  2994. tnmdleng += utlf_getStringLength(sRef);
  2995. for (var j = tnmdleng; j < 78; j++) {
  2996. result += " ";
  2997. tnmdleng++;
  2998. }
  2999. result += sRef;
  3000. var sLastreptdt = ds_subresultdetail1_1.getColumn(i,"lastreptdt").getTrim();
  3001. tnmdleng += utlf_getStringLength(sLastreptdt);
  3002. for (var j = tnmdleng; j < 98; j++) {
  3003. result += " ";
  3004. }
  3005. result += sLastreptdt;
  3006. var sTestpsn = ds_subresultdetail1_1.getColumn(i,"testpsn").getTrim();
  3007. tnmdleng += utlf_getStringLength(sTestpsn);
  3008. for (var j = tnmdleng; j < 103; j++) {
  3009. result += " ";
  3010. tnmdleng++;
  3011. }
  3012. result += sTestpsn;
  3013. var sChkid = ds_subresultdetail1_1.getColumn(i,"chkid").getTrim();
  3014. tnmdleng += utlf_getStringLength(sChkid);
  3015. for (var j = tnmdleng; j < 112; j++) {
  3016. result += " ";
  3017. tnmdleng++;
  3018. }
  3019. result += sChkid;
  3020. var sTsectnm = ds_subresultdetail1_1.getColumn(i,"tsectnm").getTrim();
  3021. tnmdleng += utlf_getStringLength(sTsectnm);
  3022. for (var j = tnmdleng; j < 124; j++) {
  3023. result += " ";
  3024. tnmdleng++;
  3025. }
  3026. result += sTsectnm;
  3027. }
  3028. ds_subresultdetail1_1.addColumn("tclsscrnnnm", "string", 256);
  3029. ds_subresultdetail1_1.setColumn(i, "tclsscrnnnm", result);
  3030. }
  3031. var arrColInfo = [{col:"pid" , type:"string" , size:256 ,val:ds_tempPatInfo.getColumn(0,"pid")}
  3032. ,{col:"hngnm" , type:"string" , size:256, val:ds_tempPatInfo.getColumn(0,"hngnm")}
  3033. ,{col:"rrgstno1" , type:"string" , size:256, val:ds_tempPatInfo.getColumn(0,"rrgstno1")}
  3034. ,{col:"rrgstno2" , type:"string" , size:256, val:ds_tempPatInfo.getColumn(0,"rrgstno2")}
  3035. ,{col:"mpphontel" , type:"string" , size:256, val:ds_tempPatInfo.getColumn(0,"mpphontel")}
  3036. ,{col:"addr" , type:"string" , size:256, val:ds_tempPatInfo.getColumn(0,"addr")}
  3037. ,{col:"detladdr" , type:"string" , size:256, val:ds_tempPatInfo.getColumn(0,"detladdr")}];
  3038. dsf_createDsRow("ds_subresultdetail1_hidden",arrColInfo,"true");
  3039. // Progress End
  3040. frmf_closeLoadingBar();
  3041. var objDOM = rptf_createDOM(); // DOM 객체 설정
  3042. rptf_setNodeListToDOM(objDOM, "/root/hidden/subordlist2/subresultdetail1", ds_subresultdetail1_1); // 데이터셋 1
  3043. rptf_setNodeListToDOM(objDOM, "/root/main/srchinfo/patinfolist", ds_subresultdetail1_hidden); // 데이터셋 2
  3044. var objParam = new Object();
  3045. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
  3046. objParam.xml_data_XML2 = objDOM.documentElement.source;
  3047. var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
  3048. rptf_exeReportPreview30(["RPMMI00102"],[objParam], option);
  3049. dsf_deleteDs("ds_subresultdetail1_hidden");
  3050. } else {
  3051. var prntfrmflag = ds_singdata.getColumn(0,"prntfrmflag");
  3052. var prtFlag = "A";
  3053. ////////////////////////////////////////////////////////////////
  3054. //2011.01.23 instance에 한페이지 이상출력시 error로 row단위로 짜름,RPMMI00103파일경로수정
  3055. var rsltChk = 0;
  3056. var j = 0;
  3057. var rsltprcp = "";
  3058. var rsltCnts = "";
  3059. var rsltArray = "";
  3060. var rsltNodeCnt = ds_subresultdetail1.rowcount;
  3061. var arrColInfo = [{col:"check" , type:"string" , size:256 }
  3062. ,{col:"reptrslt" , type:"string" , size:256}
  3063. ,{col:"judgmark" , type:"string" , size:256}
  3064. ,{col:"judgmark2" , type:"string" , size:256}
  3065. ,{col:"prcpcd" , type:"string" , size:256}
  3066. ,{col:"prcpnm" , type:"string" , size:256}
  3067. ,{col:"img" , type:"string" , size:256}
  3068. ,{col:"imgcnts" , type:"string" , size:256}
  3069. ,{col:"bcno" , type:"string" , size:256}
  3070. ,{col:"testcd" , type:"string" , size:256}
  3071. ,{col:"flag" , type:"string" , size:256}];
  3072. dsf_createDs("ds_subresultdetail1_hidden",arrColInfo,"true");
  3073. //sysf_trace("check : "+ds_singdata.getColumn(0,"chkcheck"));
  3074. for( var m = 0 ; m < rsltNodeCnt ; m++ ) {
  3075. //kimsj 검사결과 내역중 이미지(IMG) 가 있을 경우 SKIP
  3076. if ( ds_subresultdetail1.getColumn(m,"img") == "IMG") continue;
  3077. check = ds_subresultdetail1.getColumn(m,"check");
  3078. judgmark = ds_subresultdetail1.getColumn(m,"judgmark");
  3079. judgmark2 = ds_subresultdetail1.getColumn(m,"judgmark2");
  3080. rsltprcp = ds_subresultdetail1.getColumn(m,"prcpcd");
  3081. prcpnm = ds_subresultdetail1.getColumn(m,"prcpnm");
  3082. img = ds_subresultdetail1.getColumn(m,"img");
  3083. imgcnts = ds_subresultdetail1.getColumn(m,"imgcnts");
  3084. bcno = ds_subresultdetail1.getColumn(m,"bcno");
  3085. testcd = ds_subresultdetail1.getColumn(m,"testcd");
  3086. flag = ds_subresultdetail1.getColumn(m,"flag");
  3087. rsltCnts = ds_subresultdetail1.getColumn(m,"reptrslt");
  3088. rsltArray = rsltCnts.split("\n");
  3089. for (var k = 0; k < rsltArray.length; k++) {
  3090. j= ds_subresultdetail1_hidden.addRow();
  3091. ds_subresultdetail1_hidden.setColumn(j,"check" ,check);
  3092. ds_subresultdetail1_hidden.setColumn(j,"reptrslt" , rsltArray[k]); //공백문자 포함하기 위해 "_"추가 [pData.substr(1, plen)]
  3093. ds_subresultdetail1_hidden.setColumn(j,"judgmark" , judgmark);
  3094. ds_subresultdetail1_hidden.setColumn(j,"judgmark2" , judgmark2);
  3095. ds_subresultdetail1_hidden.setColumn(j,"prcpcd" , rsltprcp);
  3096. ds_subresultdetail1_hidden.setColumn(j,"prcpnm" , prcpnm);
  3097. ds_subresultdetail1_hidden.setColumn(j,"img" , img);
  3098. ds_subresultdetail1_hidden.setColumn(j,"imgcnts" , imgcnts);
  3099. ds_subresultdetail1_hidden.setColumn(j,"bcno" , bcno);
  3100. ds_subresultdetail1_hidden.setColumn(j,"testcd" , testcd);
  3101. ds_subresultdetail1_hidden.setColumn(j,"flag" , flag);
  3102. /////////////****** 출력물 관련 수정. 5개 항목만 java단에서 따로 가져와서 출력물 생성. 2016.05.03. 노회식 start
  3103. if(ds_singdata.getColumn(0,"chkcheck") != "ALL" && !utlf_isNull(ds_singdata.getColumn(0,"chkcheck")) && ds_singdata.getColumn(0,"chkcheck") != "B" ) { //미생물 추가
  3104. prtFlag = "N"; // 전체 조회일경우만 새로운 형식으로.. 나머진 기존대로.
  3105. } else if((!utlf_isNull(judgmark) && judgmark != "C") || (utlf_isNull(judgmark) && rsltArray[k].getTrim().substr(0,3) != "검사명")) { // 타이틀 및 기타내용은 그대로 복사하여 렉스퍼트에서 가로 합치기
  3106. dsf_makeValue(ds_subresultdetail1_hidden,"tclsscrnnnm_prt" ,"string",rsltArray[k],j);
  3107. } else if(judgmark == "C") { // 내용은 출력용 컬럼 가져온거 하나하나 전달.
  3108. dsf_makeValue(ds_subresultdetail1_hidden,"colflag" ,"string","C",j);
  3109. dsf_makeValue(ds_subresultdetail1_hidden,"tclsscrnnnm_prt" ,"string",ds_subresultdetail1.getColumn(m,"tclsscrnnnm_prt"),j);
  3110. // 결과상태 컬럼을 따로 가져오기가 힘들다.
  3111. var rsltstat = "";
  3112. var rsltstring = rsltArray[k].getTrim().setReplaceWord(" ","").setReplaceWord("[","(").setReplaceWord("]",")");
  3113. //sysf_trace(rsltstring + " : " + utlf_isSearchString(rsltstring,"(검사중)") + " " + utlf_isSearchString(rsltstring,"(중간보고)") + " " + utlf_isSearchString(rsltstring,"(최종보고)") + " " + utlf_isSearchString(rsltstring,"(수정보고)"));
  3114. if(utlf_isSearchString(rsltstring,"(검사중)")) {
  3115. rsltstat = "[검사중]";
  3116. } else if(utlf_isSearchString(rsltstring,"(중간보고)")) {
  3117. rsltstat = "[중간보고]";
  3118. } else if(utlf_isSearchString(rsltstring,"(최종보고)")) {
  3119. rsltstat = "[최종보고]";
  3120. } else if(utlf_isSearchString(rsltstring,"(수정보고)")) {
  3121. rsltstat = "(수정보고)";
  3122. } else rsltstat = "";
  3123. if(rsltstat != "[검사중]")
  3124. dsf_makeValue(ds_subresultdetail1_hidden,"reptrslt_prt" ,"string",ds_subresultdetail1.getColumn(m,"reptrslt_prt")+" "+rsltstat+" "+(judgmark2=="H"?" ▲":judgmark2=="L"?" ▼":""),j);
  3125. else
  3126. dsf_makeValue(ds_subresultdetail1_hidden,"reptrslt_prt" ,"string",rsltstat,j);
  3127. dsf_makeValue(ds_subresultdetail1_hidden,"rsltunit_prt" ,"string",ds_subresultdetail1.getColumn(m,"rsltunit_prt"),j);
  3128. dsf_makeValue(ds_subresultdetail1_hidden,"ref_prt" ,"string",ds_subresultdetail1.getColumn(m,"ref_prt"),j);
  3129. dsf_makeValue(ds_subresultdetail1_hidden,"lastreptdt_prt" ,"string",ds_subresultdetail1.getColumn(m,"lastreptdt_prt"),j);
  3130. dsf_makeValue(ds_subresultdetail1_hidden,"testpsn_prt" ,"string",ds_subresultdetail1.getColumn(m,"testpsn_prt"),j);
  3131. dsf_makeValue(ds_subresultdetail1_hidden,"chkid_prt" ,"string",ds_subresultdetail1.getColumn(m,"chkid_prt"),j);
  3132. dsf_makeValue(ds_subresultdetail1_hidden,"tsectnm_prt" ,"string",ds_subresultdetail1.getColumn(m,"tsectnm_prt"),j);
  3133. } else if(utlf_isNull(rsltArray[k].getTrim()) && utlf_isNull(judgmark)) { // 내용도 없고 구분도 없는경우 그냥 빈칸
  3134. dsf_makeValue(ds_subresultdetail1_hidden,"tclsscrnnnm_prt" ,"string","",j);
  3135. } else if(utlf_isNull(judgmark) && rsltArray[k].getTrim().substr(0,3) == "검사명") { // 내용이 검사명으로 시작하면
  3136. dsf_makeValue(ds_subresultdetail1_hidden,"colflag" ,"string","C",j);
  3137. dsf_makeValue(ds_subresultdetail1_hidden,"tclsscrnnnm_prt" ,"string","검사명",j);
  3138. dsf_makeValue(ds_subresultdetail1_hidden,"reptrslt_prt" ,"string","결과값",j);
  3139. dsf_makeValue(ds_subresultdetail1_hidden,"rsltunit_prt" ,"string","단위",j);
  3140. dsf_makeValue(ds_subresultdetail1_hidden,"ref_prt" ,"string","참고치",j);
  3141. dsf_makeValue(ds_subresultdetail1_hidden,"lastreptdt_prt" ,"string","보고일시",j);
  3142. dsf_makeValue(ds_subresultdetail1_hidden,"testpsn_prt" ,"string","검사자",j);
  3143. dsf_makeValue(ds_subresultdetail1_hidden,"chkid_prt" ,"string","확인자",j);
  3144. dsf_makeValue(ds_subresultdetail1_hidden,"tsectnm_prt" ,"string","시행부서",j);
  3145. }
  3146. /////////////****** 출력물 관련 수정. 5개 항목만 java단에서 따로 가져와서 출력물 생성. 2016.05.03. 노회식 end
  3147. }
  3148. }
  3149. // Progress End
  3150. frmf_closeLoadingBar();
  3151. // exeReportPreview(prntfrmflag, "XMLSTR", "/root/main", "/root/main");
  3152. var objDOM = rptf_createDOM(); // DOM 객체 설정
  3153. rptf_setNodeListToDOM(objDOM, "/root/hidden/subordlist1/subresultdetail1", ds_subresultdetail1_hidden); // 데이터셋 1
  3154. rptf_setNodeListToDOM(objDOM, "/root/main/srchinfo/patinfolist", ds_tempPatInfo); // 데이터셋 2
  3155. //sysf_trace(objDOM.documentElement.source); // XML 내용출력
  3156. var objParam = new Object();
  3157. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
  3158. objParam.xml_data_XML2 = objDOM.documentElement.source;
  3159. objParam.prt_flag = prtFlag;
  3160. var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
  3161. rptf_exeReportPreview30([prntfrmflag],[objParam], option);
  3162. dsf_deleteDs("ds_subresultdetail1_hidden");
  3163. }
  3164. }else {
  3165. sysf_messageBox("출력기능은 분류별/그룹별 탭에서만 가능합니다.(RexPert)","I999");
  3166. return true;
  3167. }
  3168. }
  3169. /****************************************************************************************
  3170. * Components : Button
  3171. * Components ID : group3.button37
  3172. * Event : onclick
  3173. * Argument : 01.obj : Object Event has occurred
  3174. * : 02.e : Event Object
  3175. * Description : 메뉴 버튼 클릭
  3176. ****************************************************************************************/
  3177. function group3_button37_onclick(obj:Button, e:ClickEventInfo)
  3178. {
  3179. // frmf_open("SMAZZ00101","SMAZZ00101",null,null,null,null,null,null,null,null,null,null,"M");
  3180. xxf_tfOpen("SMAZZ00101",null,null,null,null,null,null,null,null,null,null,"none");
  3181. }
  3182. /****************************************************************************************
  3183. * Components : Button
  3184. * Components ID : group3.button30
  3185. * Event : onclick
  3186. * Argument : 01.obj : Object Event has occurred
  3187. * : 02.e : Event Object
  3188. * Description : 가로누적 버튼 클릭
  3189. ****************************************************************************************/
  3190. function group3_button30_onclick(obj:Button, e:ClickEventInfo)
  3191. {
  3192. // 1 일경우에는 누적조회 버튼을 클릭했다는 의미, 2는 그래프버튼을 클릭했다는 의미
  3193. if (group3.grd_subresultdetail1.visible == true) {
  3194. fSetAddResult("1");
  3195. } else if ( group3.datagrid2.visible == true ) {
  3196. fSetAddSPCResult("1");
  3197. }
  3198. }
  3199. /****************************************************************************************
  3200. * Components : Dataset
  3201. * Components ID : ds_subresultdetail1
  3202. * Event : oncolumnchanged
  3203. * Argument : 01.obj : Object Event has occurred
  3204. * : 02.e : Event Object
  3205. * Description : 조회결과 체크시
  3206. ****************************************************************************************/
  3207. function ds_subresultdetail1_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  3208. {
  3209. if(e.columnid=="check") {
  3210. obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
  3211. }
  3212. }
  3213. /****************************************************************************************
  3214. * Components : Dataset
  3215. * Components ID : ds_maindailylist
  3216. * Event : oncolumnchanged
  3217. * Argument : 01.obj : Object Event has occurred
  3218. * : 02.e : Event Object
  3219. * Description : 분류별 항목 체크시
  3220. ****************************************************************************************/
  3221. function ds_maindailylist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  3222. {
  3223. if(e.columnid=="check") {
  3224. obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
  3225. }
  3226. }
  3227. /****************************************************************************************
  3228. * Components : Grid
  3229. * Components ID : group3.switch1.case5.grd_maindaily
  3230. * Event : onlbuttondown
  3231. * Argument : 01.obj : Object Event has occurred
  3232. * : 02.e : Event Object
  3233. * Description : 그리드 선택시 체크박스 설정
  3234. ****************************************************************************************/
  3235. function group3_switch1_case1_grd_maindaily_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
  3236. {
  3237. if ( e.row > -1 && e.col > 0 && popupYn == "N") {
  3238. var selectedRows = grdf_getSelectedRows(obj);
  3239. var startRow = selectedRows[0];
  3240. var endRow = selectedRows[selectedRows.length - 1];
  3241. for(var i = startRow ; i <= endRow ; i++) {
  3242. if(objects[obj.binddataset].getColumn(i,"check") == "Y") objects[obj.binddataset].setColumn(i,"check","N");
  3243. else objects[obj.binddataset].setColumn(i,"check","Y")
  3244. }
  3245. } else if(popupYn == "Y") {
  3246. popupYn = "N";
  3247. }
  3248. }
  3249. /****************************************************************************************
  3250. * Components : Grid
  3251. * Components ID : group3.switch1.case5.datagrid1
  3252. * Event : onlbuttondown
  3253. * Argument : 01.obj : Object Event has occurred
  3254. * : 02.e : Event Object
  3255. * Description : 그리드 선택시 체크박스 설정
  3256. ****************************************************************************************/
  3257. function group3_switch1_case5_datagrid1_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
  3258. {
  3259. if ( e.row > -1 && e.col > 0 && popupYn == "N") {
  3260. var selectedRows = grdf_getSelectedRows(obj);
  3261. var startRow = selectedRows[0];
  3262. var endRow = selectedRows[selectedRows.length - 1];
  3263. for(var i = startRow ; i <= endRow ; i++) {
  3264. if(objects[obj.binddataset].getColumn(i,"check") == "Y") objects[obj.binddataset].setColumn(i,"check","N");
  3265. else objects[obj.binddataset].setColumn(i,"check","Y");
  3266. }
  3267. } else if(popupYn == "Y") {
  3268. popupYn = "N";
  3269. }
  3270. }
  3271. /****************************************************************************************
  3272. * Components : Dataset
  3273. * Components ID : ds_row
  3274. * Event : oncolumnchanged
  3275. * Argument : 01.obj : Object Event has occurred
  3276. * : 02.e : Event Object
  3277. * Description :
  3278. ****************************************************************************************/
  3279. function ds_row_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  3280. {
  3281. // if(e.columnid=="chk") {
  3282. // obj.setColumn(e.row,e.columnid,(e.newvalue=="true"||e.newvalue==1)?"true":"false");
  3283. // }
  3284. }
  3285. /****************************************************************************************
  3286. * Components : Grid
  3287. * Components ID : group3.switch1.case1.grd_maindaily
  3288. * Event : onlbuttondown
  3289. * Argument : 01.obj : Object Event has occurred
  3290. * : 02.e : Event Object
  3291. * Description : 그리드 선택시 포커스 이동
  3292. ****************************************************************************************/
  3293. function group3_switch1_case1_grd_maindaily_onlbuttondown(obj:Grid, e:GridMouseEventInfo)
  3294. {
  3295. //obj.setCellPos(e.cell);
  3296. }
  3297. /****************************************************************************************
  3298. * Components : Grid
  3299. * Components ID : group3.switch1.case5.datagrid1
  3300. * Event : onlbuttondown
  3301. * Argument : 01.obj : Object Event has occurred
  3302. * : 02.e : Event Object
  3303. * Description : 그리드 선택시 포커스 이동
  3304. ****************************************************************************************/
  3305. function group3_switch1_case5_datagrid1_onlbuttondown(obj:Grid, e:GridMouseEventInfo)
  3306. {
  3307. //obj.setCellPos(e.cell);
  3308. }
  3309. /****************************************************************************************
  3310. * Components : Grid
  3311. * Components ID : group3.switch1.case5.datagrid1
  3312. * Event : onrbuttondown
  3313. * Argument : 01.obj : Object Event has occurred
  3314. * : 02.e : Event Object
  3315. * Description : 그룹별 그리드 마우스우클릭시 팝업메뉴 띄움
  3316. ****************************************************************************************/
  3317. function group3_switch1_case5_datagrid1_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
  3318. {
  3319. if(e.row > -1){
  3320. gridObject = obj;
  3321. popmenuG.trackPopup(e.screenX,e.screenY);
  3322. popupYn = "Y";
  3323. }
  3324. }
  3325. /****************************************************************************************
  3326. * Components : Grid
  3327. * Components ID : group3.switch1.case1.grd_maindaily
  3328. * Event : onrbuttondown
  3329. * Argument : 01.obj : Object Event has occurred
  3330. * : 02.e : Event Object
  3331. * Description : 분류별 그리드 마우스우클릭시 팝업메뉴 띄움
  3332. ****************************************************************************************/
  3333. function group3_switch1_case1_grd_maindaily_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
  3334. {
  3335. if(e.row > -1){
  3336. grdf_setSelectedCell(obj, e); // 선택된 행 확실히 선택해줌
  3337. gridObject = obj;
  3338. popmenuB.trackPopup(e.screenX,e.screenY);
  3339. popupYn = "Y";
  3340. }
  3341. return true;
  3342. }
  3343. /****************************************************************************************
  3344. * Components : Grid
  3345. * Components ID : group3.grd_subresultdetail1
  3346. * Event : onlbuttonup
  3347. * Argument : 01.obj : Object Event has occurred
  3348. * : 02.e : Event Object
  3349. * Description : 결과데이터 선택시 체크/체크제거
  3350. ****************************************************************************************/
  3351. function group3_grd_subresultdetail1_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
  3352. {
  3353. if ( e.row > -1 && e.col > -1 && popupYn == "N") {
  3354. var selectedRows = grdf_getSelectedRows(obj);
  3355. var startRow = selectedRows[0];
  3356. var endRow = selectedRows[selectedRows.length - 1];
  3357. for(var i = startRow ; i <= endRow ; i++) {
  3358. if( !(objects[obj.binddataset].getColumn(i,"judgmark")=="T"
  3359. || objects[obj.binddataset].getColumn(i,"judgmark")=="P"
  3360. || utlf_isNull(objects[obj.binddataset].getColumn(i,"judgmark")))) {
  3361. if(objects[obj.binddataset].getColumn(i,"check") == "Y") objects[obj.binddataset].setColumn(i,"check","N");
  3362. else objects[obj.binddataset].setColumn(i,"check","Y");
  3363. }
  3364. }
  3365. } else if(popupYn == "Y") {
  3366. popupYn = "N";
  3367. }
  3368. }
  3369. /****************************************************************************************
  3370. * Components : Grid
  3371. * Components ID : group3.grd_subresultdetail1
  3372. * Event : onlbuttondown
  3373. * Argument : 01.obj : Object Event has occurred
  3374. * : 02.e : Event Object
  3375. * Description : 결과조회 클릭
  3376. ****************************************************************************************/
  3377. function group3_grd_subresultdetail1_onlbuttondown(obj:Grid, e:GridMouseEventInfo)
  3378. {
  3379. //obj.setCellPos(e.cell);
  3380. }
  3381. /****************************************************************************************
  3382. * Components : Grid
  3383. * Components ID : group3.grd_subresultdetail1
  3384. * Event : onrbuttondown
  3385. * Argument : 01.obj : Object Event has occurred
  3386. * : 02.e : Event Object
  3387. * Description : 분류별 결과조회 우클릭시 팝업메뉴 띄움
  3388. ****************************************************************************************/
  3389. function group3_grd_subresultdetail1_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
  3390. {
  3391. if(e.row > -1){
  3392. ds_subresultdetail1.rowposition = e.row;
  3393. gridObject = obj;
  3394. popmenuX.destroy();
  3395. arrMenu = new Array();
  3396. arrMenu[0] = {id: "clear" , level: "0", title: "체크박스 해제"};
  3397. arrMenu[1] = {id: "-" , level: "0", title: "-------------------"};
  3398. arrMenu[2] = {id: "copy2" , level: "0", title: "복사하기"};
  3399. if(ds_subresultdetail1.getColumn(e.row,"judgmark")=="IMG"
  3400. && !utlf_isNull(ds_subresultdetail1.getColumn(e.row,"bcno"))) {
  3401. arrMenu[3] = {id: "fGetimg" , level: "0", title: "▶ 진단검사 이미지 보기"};
  3402. }
  3403. if(ds_subresultdetail1.getColumn(e.row,"judgmark")=="IMP"
  3404. && !utlf_isNull(ds_subresultdetail1.getColumn(e.row,"bcno"))) {
  3405. arrMenu[4] = {id: "fGetPatholimg" , level: "0", title: "▶ 병리 이미지 보기"};
  3406. }
  3407. if(ds_subresultdetail1.getColumn(e.row,"judgmark2")=="NNN"
  3408. && !utlf_isNull(ds_subresultdetail1.getColumn(e.row,"prcpcd"))) {
  3409. arrMenu[4] = {id: "fGetNNNimg" , level: "0", title: "▶ 서술형 참고치 보기"};
  3410. }
  3411. //20190402 권한이 있는 경우에만 메뉴로 추가
  3412. if ( authHiraYN == "Y" ) {
  3413. arrMenu[5] = {id: "-" , level: "0", title: "-------------------"};
  3414. arrMenu[6] = {id: "simsa_R" , level: "0", title: "심사자료수집"};
  3415. arrMenu[7] = {id: "simsa_V" , level: "0", title: "심사수집자료보기"};
  3416. }
  3417. frmf_createPopupMenu("popmenuX"
  3418. ,"fPopupMenu"
  3419. ,arrMenu
  3420. );
  3421. popmenuX.trackPopup(e.screenX,e.screenY);
  3422. popupYn = "Y";
  3423. }
  3424. }
  3425. /****************************************************************************************
  3426. * Components : Grid
  3427. * Components ID : group3.datagrid2
  3428. * Event : onrbuttondown
  3429. * Argument : 01.obj : Object Event has occurred
  3430. * : 02.e : Event Object
  3431. * Description : 세트별 결과조회 우클릭시 팝업메뉴 띄움
  3432. ****************************************************************************************/
  3433. function group3_datagrid2_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
  3434. {
  3435. if(e.row > -1){
  3436. gridObject = obj;
  3437. popmenuC.trackPopup(e.screenX,e.screenY);
  3438. }
  3439. }
  3440. /****************************************************************************************
  3441. * Components : Grid
  3442. * Components ID : group3.datagrid2
  3443. * Event : onkeydown
  3444. * Argument : 01.obj : Object Event has occurred
  3445. * : 02.e : Event Object
  3446. * Description : 세트별 결과조회 내용 선택후 Ctrl+C 로 내용 복사
  3447. ****************************************************************************************/
  3448. function group3_datagrid2_onkeydown(obj:Grid, e:KeyEventInfo)
  3449. {
  3450. if(e.ctrlKey == true && e.keycode == 67) {
  3451. grdf_clipboardCopy(obj, "AST");
  3452. }
  3453. }
  3454. /****************************************************************************************
  3455. * Components : Button
  3456. * Components ID : group3.button1
  3457. * Event : onclick
  3458. * Argument : 01.obj : Object Event has occurred
  3459. * : 02.e : Event Object
  3460. * Description : 엑셀버튼 클릭 하여 엑셀저장
  3461. ****************************************************************************************/
  3462. function group3_button1_onclick(obj:Button, e:ClickEventInfo)
  3463. {
  3464. var chkcheck1 = ds_singdata.getColumn(0,"chkcheck1");
  3465. if ( group3.switch1.tabindex == 1 || group3.switch1.tabindex == 0 ) {
  3466. if (chkcheck1 == "A") {
  3467. if(objects[group3.grd_subresultdetail2.binddataset].rowcount > 0) {
  3468. grdf_exportExcel(group3.grd_subresultdetail2,"excel","sheet1");
  3469. sysf_messageBox("저장이 ", "I002");
  3470. } else {
  3471. sysf_messageBox("조회된 데이터가 ", "I004");
  3472. }
  3473. } else {
  3474. if(objects[group3.grd_subresultdetail1.binddataset].rowcount > 0) {
  3475. grdf_exportExcel(group3.grd_subresultdetail1,"excel","sheet1");
  3476. sysf_messageBox("저장이 ", "I002");
  3477. } else {
  3478. sysf_messageBox("조회된 데이터가 ", "I004");
  3479. }
  3480. }
  3481. }else if (group3.switch1.tabindex == 2) {
  3482. if(objects[group3.datagrid2.binddataset].rowcount > 0) {
  3483. grdf_exportExcel(group3.datagrid2,"excel","sheet1");
  3484. sysf_messageBox("저장이 ", "I002");
  3485. } else {
  3486. sysf_messageBox("조회된 데이터가 ", "I004");
  3487. }
  3488. }else if (group3.switch1.tabindex == 3) {
  3489. if(objects[group3.switch1.case4.grd_mainprogress.binddataset].rowcount > 0) {
  3490. grdf_exportExcel(group3.switch1.case4.grd_mainprogress,"excel","sheet1");
  3491. sysf_messageBox("저장이 ", "I002");
  3492. } else {
  3493. sysf_messageBox("조회된 데이터가 ", "I004");
  3494. }
  3495. }
  3496. }
  3497. /****************************************************************************************
  3498. * Components : Button
  3499. * Components ID : group3.switch1.case1.button41
  3500. * Event : onclick
  3501. * Argument : 01.obj : Object Event has occurred
  3502. * : 02.e : Event Object
  3503. * Description : 분류별 서식항목조회 버튼 클릭
  3504. ****************************************************************************************/
  3505. function group3_switch1_case1_button41_onclick(obj:Button, e:ClickEventInfo)
  3506. {
  3507. if ( group3.switch1.tabindex == 3 || group3.switch1.tabindex == 4 ) {
  3508. sysf_messageBox("[서식항목조회] 기능은 분류별/그룹별 조회에서만 적용됩니다.","I999");
  3509. return true;
  3510. }
  3511. if(ds_maindailylist.rowcount == 0) return;
  3512. fPopupXsltContinueList2();
  3513. }
  3514. /****************************************************************************************
  3515. * Components : Button
  3516. * Components ID : group3.switch1.case5.button44
  3517. * Event : onclick
  3518. * Argument : 01.obj : Object Event has occurred
  3519. * : 02.e : Event Object
  3520. * Description : 그룹별 서식항목조회 버튼 클릭
  3521. ****************************************************************************************/
  3522. function group3_switch1_case5_button44_onclick(obj:Button, e:ClickEventInfo)
  3523. {
  3524. if ( group3.switch1.tabindex == 3 || group3.switch1.tabindex == 4 ) {
  3525. sysf_messageBox("[서식항목조회] 기능은 분류별/그룹별 조회에서만 적용됩니다.","I999");
  3526. return true;
  3527. }
  3528. if(ds_maindailylist.rowcount == 0) return;
  3529. fPopupXsltContinueList2();
  3530. }
  3531. /****************************************************************************************
  3532. * Components : Button
  3533. * Components ID : group3.switch1.case3.btn_makedset
  3534. * Event : onclick
  3535. * Argument : 01.obj : Object Event has occurred
  3536. * : 02.e : Event Object
  3537. * Description : 세트별 세트수정/등록 버튼 클릭
  3538. ****************************************************************************************/
  3539. function group3_switch1_case3_btn_makedset_onclick(obj:Button, e:ClickEventInfo)
  3540. {
  3541. group3.grp_makedset.visible = false;
  3542. var xpt = this.position.left;
  3543. var ypt = this.position.top;
  3544. frmf_open("SPAER00803","SPAER00803","",1,xpt + 15,ypt+33,"","","","","","","P");
  3545. }
  3546. /****************************************************************************************
  3547. * Components : Button
  3548. * Components ID : group3.switch1.case3.btn_setsrch
  3549. * Event : onclick
  3550. * Argument : 01.obj : Object Event has occurred
  3551. * : 02.e : Event Object
  3552. * Description : 세트별 세트전체항목조회 버튼 클릭
  3553. ****************************************************************************************/
  3554. function group3_switch1_case3_btn_setsrch_onclick(obj:Button, e:ClickEventInfo)
  3555. {
  3556. if ( group3.grp_makedset.visible == true ) {
  3557. group3.grp_makedset.visible = false;
  3558. return;
  3559. } else {
  3560. group3.grp_makedset.visible = true;
  3561. dsf_makeValue(ds_singdata,"deptsetcd","string",ds_setdata.getColumn(0,"deptsetcd"));
  3562. readPDfunc();
  3563. }
  3564. }
  3565. /****************************************************************************************
  3566. * Components : Button
  3567. * Components ID : group3.grp_makedset.button9
  3568. * Event : onclick
  3569. * Argument : 01.obj : Object Event has occurred
  3570. * : 02.e : Event Object
  3571. * Description : 세트별 세트전체항목조회 버튼 클릭
  3572. ****************************************************************************************/
  3573. function group3_grp_makedset_button9_onclick(obj:Button, e:ClickEventInfo)
  3574. {
  3575. group3.grp_makedset.visible = false;
  3576. }
  3577. /****************************************************************************************
  3578. * Components : Grid
  3579. * Components ID : group3.grp_makedset.grd_makedset
  3580. * Event : onlbuttondown
  3581. * Argument : 01.obj : Object Event has occurred
  3582. * : 02.e : Event Object
  3583. * Description : 세트전체항목조회 리스트 클릭하여 결과조회
  3584. ****************************************************************************************/
  3585. function group3_grp_makedset_grd_makedset_onlbuttondown(obj:Grid, e:GridMouseEventInfo)
  3586. {
  3587. if ( e.row > -1 ) {
  3588. fGetPDResultRef();
  3589. }
  3590. }
  3591. /****************************************************************************************
  3592. * Components : Button
  3593. * Components ID : group3.button48
  3594. * Event : onclick
  3595. * Argument : 01.obj : Object Event has occurred
  3596. * : 02.e : Event Object
  3597. * Description : 틀해제 버튼 클릭하여 그리드 픽스해제
  3598. ****************************************************************************************/
  3599. function group3_button48_onclick(obj:Button, e:ClickEventInfo)
  3600. {
  3601. for(var i = 0 ; i < 5 ; i++) {
  3602. group3.datagrid2.setFormatColProperty(i,"band","body");
  3603. group3.grd_subresultdetail2.setFormatColProperty(i,"band","body");
  3604. }
  3605. }
  3606. /****************************************************************************************
  3607. * Components : Button
  3608. * Components ID : group3.button49
  3609. * Event : onclick
  3610. * Argument : 01.obj : Object Event has occurred
  3611. * : 02.e : Event Object
  3612. * Description : 틀고정 버튼 클릭하여 그리드 픽스
  3613. ****************************************************************************************/
  3614. function group3_button49_onclick(obj:Button, e:ClickEventInfo)
  3615. {
  3616. for(var i = 0 ; i < 5 ; i++) {
  3617. group3.datagrid2.setFormatColProperty(i,"band","left");
  3618. group3.grd_subresultdetail2.setFormatColProperty(i,"band","left");
  3619. }
  3620. }
  3621. /****************************************************************************************
  3622. * Components : Button
  3623. * Components ID : group3.button42
  3624. * Event : onclick
  3625. * Argument : 01.obj : Object Event has occurred
  3626. * : 02.e : Event Object
  3627. * Description : 참고(핵) 버튼 클릭하여 핵의학과 참고 화면 팝업오픈
  3628. ****************************************************************************************/
  3629. function group3_button42_onclick(obj:Button, e:ClickEventInfo)
  3630. {
  3631. // open("SPLNP90400",1,0,0,"SPLNP90400");
  3632. xxf_tfOpen("SPLNP90400",1,0,0,null,null,null,null,null,null,null,"none");
  3633. }
  3634. /****************************************************************************************
  3635. * Components : Button
  3636. * Components ID : group3.button34
  3637. * Event : onclick
  3638. * Argument : 01.obj : Object Event has occurred
  3639. * : 02.e : Event Object
  3640. * Description : 그래프누적 버튼 클릭하여 팝업오픈
  3641. ****************************************************************************************/
  3642. function group3_button34_onclick(obj:Button, e:ClickEventInfo)
  3643. {
  3644. if ( group3.grd_subresultdetail1.visible == true ) {
  3645. fSetAddResult("2");
  3646. }else if ( group3.datagrid2.visible == true ) {
  3647. fSetAddSPCResult("2");
  3648. }
  3649. }
  3650. /****************************************************************************************
  3651. * Components : Button
  3652. * Components ID : group3.button52
  3653. * Event : onclick
  3654. * Argument : 01.obj : Object Event has occurred
  3655. * : 02.e : Event Object
  3656. * Description : lis.p 버튼 클릭하여 lis결과조회 그리드 보이기
  3657. ****************************************************************************************/
  3658. function group3_button52_onclick(obj:Button, e:ClickEventInfo)
  3659. {
  3660. fLisPrintRowHidden();
  3661. }
  3662. /****************************************************************************************
  3663. * Components : Button
  3664. * Components ID : group3.div_lis.btn_lisPexcel
  3665. * Event : onclick
  3666. * Argument : 01.obj : Object Event has occurred
  3667. * : 02.e : Event Object
  3668. * Description : lis.p 엑셀버튼 클릭하여 엑셀저장
  3669. ****************************************************************************************/
  3670. function group3_div_lis_btn_lisPexcel_onclick(obj:Button, e:ClickEventInfo)
  3671. {
  3672. var sPid = ds_patinfolist.getColumn(0,"pid"); //model.getValue("/root/main/srchinfo/patinfolist/pid");
  3673. var sPatnm = ds_patinfolist.getColumn(0,"hngnm"); //model.getValue("/root/main/srchinfo/patinfolist/hngnm");
  3674. var sFilename = sPid +"_" + sPatnm+ " " ;
  3675. if(ds_subresultdetail2.rowcount > 0) {
  3676. grdf_exportExcel(group3.div_lis.grd_LisResultList,sFilename,"sheet1");
  3677. sysf_messageBox("저장이 ", "I002");
  3678. } else {
  3679. sysf_messageBox("조회된 데이터가 ", "I004");
  3680. }
  3681. }
  3682. /****************************************************************************************
  3683. * Components : Button
  3684. * Components ID : group3.div_lis.btn_lisPclose
  3685. * Event : onclick
  3686. * Argument : 01.obj : Object Event has occurred
  3687. * : 02.e : Event Object
  3688. * Description : lis.p 닫기 버튼 클릭하여 그리드 숨기기
  3689. ****************************************************************************************/
  3690. function group3_div_lis_btn_lisPclose_onclick(obj:Button, e:ClickEventInfo)
  3691. {
  3692. group3.div_lis.visible = false;
  3693. fLisPrintRowHiddenReturn();
  3694. }
  3695. /****************************************************************************************
  3696. * Components : Grid
  3697. * Components ID : group3.grd_subresultdetail1
  3698. * Event : onkeydown
  3699. * Argument : 01.obj : Object Event has occurred
  3700. * : 02.e : Event Object
  3701. * Description : ctrl+c 키로 선택행 결과 복사
  3702. ****************************************************************************************/
  3703. function group3_grd_subresultdetail1_onkeydown(obj:Grid, e:KeyEventInfo)
  3704. {
  3705. //Ctrl + C :: 복사하기
  3706. if(e.ctrlKey == true && e.keycode == 67)
  3707. {
  3708. lf_copyResult(obj);
  3709. }
  3710. }
  3711. //=======================================================================================
  3712. // Function
  3713. //---------------------------------------------------------------------------------------
  3714. /****************************************************************************************
  3715. * Function : lf_aezfSetSuppDeptcd
  3716. * Description : 사용자 정보에 기관정보 세팅. AEZ0001.js
  3717. * Argument :
  3718. * :
  3719. * return type :
  3720. * Creator :
  3721. ****************************************************************************************/
  3722. function lf_aezfSetSuppDeptcd() {
  3723. var dutplcecd = sysf_getUserInfo("dutplcecd");
  3724. var selectplcecd = frmf_getPrestDeptCd();
  3725. if (utlf_isNull(selectplcecd)) {
  3726. selectplcecd = dutplcecd;
  3727. }
  3728. ds_globalinstance.setColumn(0,"instance1",selectplcecd);
  3729. }
  3730. /****************************************************************************************
  3731. * Function : fSetUserTermInit
  3732. * Description : 사용자 환경설정 tab 세팅.
  3733. * Argument :
  3734. * :
  3735. * return type :
  3736. * Creator :
  3737. ****************************************************************************************/
  3738. function fSetUserTermInit(){
  3739. var AnswData = fGetIntefeAnsw("001");
  3740. if(!utlf_isNull(AnswData)){
  3741. if(AnswData == "001"){
  3742. ds_term.setColumn(0,"term","90");
  3743. } else if(AnswData == "002"){
  3744. ds_term.setColumn(0,"term","180");
  3745. } else if(AnswData =="003"){
  3746. ds_term.setColumn(0,"term","270");
  3747. } else if(AnswData == "004"){
  3748. ds_term.setColumn(0,"term","365");
  3749. } else if(AnswData == "005"){
  3750. ds_term.setColumn(0,"term","730");
  3751. } else if(AnswData == "006"){
  3752. ds_term.setColumn(0,"term","7");
  3753. } else if(AnswData == "007"){
  3754. ds_term.setColumn(0,"term","14");
  3755. } else if(AnswData == "008"){
  3756. ds_term.setColumn(0,"term","30");
  3757. }
  3758. group3.grp_sea.ipt_date2.value = utlf_getCurrentDate();
  3759. var date2 = group3.grp_sea.ipt_date2.value;
  3760. var term = ds_term.getColumn(0,"term");
  3761. group3.grp_sea.ipt_date1.value = date2.getAddDate(-term, "D").getDateFormat("YYYYMMDD") ;
  3762. }else{
  3763. //조회기간, Combo Box 초기화
  3764. group3.grp_sea.ipt_date1.value = utlf_getCurrentDate();
  3765. var vRsrvdd = group3.grp_sea.ipt_date1.value ;
  3766. vRsrvdd = vRsrvdd.getAddDate(-90);
  3767. group3.grp_sea.ipt_date1.value = vRsrvdd.getDateFormat();
  3768. group3.grp_sea.ipt_date2.value = utlf_getCurrentDate();
  3769. ds_term.setColumn(0,"term","90");
  3770. }
  3771. }
  3772. /****************************************************************************************
  3773. * Function : fGetIntefeAnsw
  3774. * Description : 사용자 환경설정의 값을 조회한다
  3775. * Argument :
  3776. * :
  3777. * return type :
  3778. * Creator :
  3779. ****************************************************************************************/
  3780. function fGetIntefeAnsw(qestcd){
  3781. var sAnstCnt = ds_init_envinfo.lookup("qestcd", qestcd, "answcnt");
  3782. if(utlf_isNull(sAnstCnt)) {
  3783. ds_req.clearData();
  3784. ds_req.setColumn(ds_req.addRow(),"instcd", "");
  3785. var oParam = {};
  3786. oParam.id = "TRMMB01104";
  3787. oParam.service = "prcpbaseapp.EnvInfoMngt";
  3788. oParam.method = "reqGetInterfaceAnsw";
  3789. oParam.inds = "req=ds_req";
  3790. oParam.outds = "ds_init_envinfo=interface";
  3791. oParam.async = false;
  3792. tranf_submit(oParam);
  3793. sAnstCnt = ds_init_envinfo.lookup("qestcd", qestcd, "answcnt");
  3794. }
  3795. return sAnstCnt;
  3796. }
  3797. /****************************************************************************************
  3798. * Function : cf_TRAER00823
  3799. * Description : TRAER00823 콜백함수
  3800. * Argument :
  3801. * :
  3802. * return type :
  3803. * Creator :
  3804. ****************************************************************************************/
  3805. function cf_TRAER00823(sSvcId, nErrorCode, sErrorMsg) {
  3806. if(nErrorCode < 0) {
  3807. return;
  3808. } else {
  3809. ds_initexecorddept.updateColID("deptcd","execorddeptcdid");
  3810. ds_initexecorddept.updateColID("deptnm","execorddeptcdnm");
  3811. dsf_copyDs(ds_initexecorddept2,ds_initexecorddept,"replace");
  3812. ds_initexecorddept2.setColumn(0,"execorddeptcdid","");
  3813. ds_initexecorddept2.setColumn(0,"execorddeptcdnm"," 과별SET 누적조회");
  3814. ds_LB0102.setColumn(0,"nm"," 검사분류별 누적조회");
  3815. ds_initexecorddept2.deleteRow(ds_initexecorddept2.findRow("execorddeptcdid","2020000000")); // 신경과
  3816. ds_initexecorddept2.deleteRow(ds_initexecorddept2.findRow("execorddeptcdid","2040000000")); // 외과
  3817. ds_initexecorddept2.deleteRow(ds_initexecorddept2.findRow("execorddeptcdid","2050000000")); // 정형외과
  3818. ds_initexecorddept2.deleteRow(ds_initexecorddept2.findRow("execorddeptcdid","2060000000")); // 신경외과
  3819. ds_initexecorddept2.deleteRow(ds_initexecorddept2.findRow("execorddeptcdid","2080000000")); // 성형외과
  3820. ds_initexecorddept2.deleteRow(ds_initexecorddept2.findRow("execorddeptcdid","2090000000")); // 마취통증의학과
  3821. ds_initexecorddept2.deleteRow(ds_initexecorddept2.findRow("execorddeptcdid","2120000000")); // 안과
  3822. ds_initexecorddept2.deleteRow(ds_initexecorddept2.findRow("execorddeptcdid","2130000000")); // 이비인후과
  3823. ds_initexecorddept2.deleteRow(ds_initexecorddept2.findRow("execorddeptcdid","2140000000")); // 피부과
  3824. ds_initexecorddept2.deleteRow(ds_initexecorddept2.findRow("execorddeptcdid","2160000000")); // 영상의학과
  3825. ds_initexecorddept2.deleteRow(ds_initexecorddept2.findRow("execorddeptcdid","2170000000")); // 방사선종양학과
  3826. ds_initexecorddept2.deleteRow(ds_initexecorddept2.findRow("execorddeptcdid","2180000000")); // 핵의학과
  3827. ds_initexecorddept2.deleteRow(ds_initexecorddept2.findRow("execorddeptcdid","2200000000")); // 진단검사의학과
  3828. ds_initexecorddept2.deleteRow(ds_initexecorddept2.findRow("execorddeptcdid","2210000000")); // 병리과
  3829. ds_initexecorddept2.deleteRow(ds_initexecorddept2.findRow("execorddeptcdid","2220000000")); // 재활의학과
  3830. ds_initexecorddept2.deleteRow(ds_initexecorddept2.findRow("execorddeptcdid","2230000000")); // 가정의학과
  3831. ds_initexecorddept2.deleteRow(ds_initexecorddept2.findRow("execorddeptcdid","2240000000")); // 치과
  3832. ds_initexecorddept2.deleteRow(ds_initexecorddept2.findRow("execorddeptcdid","2280000000")); // 응급의학과
  3833. ds_initexecorddept2.deleteRow(ds_initexecorddept2.findRow("execorddeptcdid","3100000000")); // 호스피스과
  3834. ds_initexecorddept2.deleteRow(ds_initexecorddept2.findRow("execorddeptcdid","3240200000")); // 임상약리과
  3835. var nRow = ds_initexecorddept2.addRow();
  3836. ds_initexecorddept2.setColumn(nRow,"execorddeptcdid","3240000000");
  3837. ds_initexecorddept2.setColumn(nRow,"execorddeptcdnm","약제과");
  3838. group3.cmb_mdl.setDataSet(ds_LB0102,"cd","nm","D"); // 가로 세로 배열 구분값 추가 D 세로 A 가로(기본)
  3839. group3.cmb_mdl.setComboSize(180,19);
  3840. group3.cmb_mdl.setData(ds_LB0102.getColumn(0,"cd"));
  3841. group3.cmb_mdl.setCallEvent("group3_cmb_mdl_onitemchanged");
  3842. // [요청번호:20160803017] 결과창에 주로 사용하는 진료과를 우선지정
  3843. lf_getHardCDList("N", 9967, 0 , ds_data_userdeptlist);
  3844. ds_data_userdeptlist.filter("hardcdnm=='"+sysf_getUserInfo("userid")+"'");
  3845. if( ds_data_userdeptlist.rowcount > 0 ){
  3846. dsf_setDefaultVal(ds_initexecorddept, "usersort:2")
  3847. for(var i=0; i<ds_data_userdeptlist.rowcount; i++){
  3848. var sUserDeptcd = ds_data_userdeptlist.getColumn(i, "hardcd");
  3849. var sCdseqno = ds_data_userdeptlist.getColumn(i, "cdseqno");
  3850. for(var j=0; j<ds_initexecorddept.rowcount; j++){
  3851. var sDeptcd = ds_initexecorddept.getColumn(j, "execorddeptcdid");
  3852. if( sUserDeptcd == sDeptcd ){
  3853. ds_initexecorddept.setColumn(j, "usersort", "1");
  3854. ds_initexecorddept.setColumn(j, "execorddeptcdnm", ds_initexecorddept.getColumn(j, "execorddeptcdnm") + "★");
  3855. }
  3856. }
  3857. }
  3858. ds_initexecorddept.setColumn(ds_initexecorddept.findRow("sort", "1"), "usersort", "0");
  3859. ds_initexecorddept.keystring = "";
  3860. ds_initexecorddept.keystring = "S:+usersort+sort";
  3861. }
  3862. dsf_setDefaultVal(ds_initexecorddept,"all");
  3863. ds_data_userdeptlist.filter("");
  3864. group3.grp_sea.cmb_orddept.index = 0;
  3865. ds_setdata.setColumn(0,"deptsetcd", "");
  3866. }
  3867. }
  3868. /****************************************************************************************
  3869. * Function : fcheckyn
  3870. * Description : 검사구분을 Check 하기 위한 Function
  3871. * Argument :
  3872. * :
  3873. * return type :
  3874. * Creator :
  3875. ****************************************************************************************/
  3876. function fcheckyn(gubn) {
  3877. ds_singdata.setColumn(0,"chkcheck", gubn);
  3878. ds_singdata.setColumn(0,"chkcheck1", "");
  3879. ds_singdata.setColumn(0,"chkcheck2", "");
  3880. ds_singdata.setColumn(0,"chkcheck3", "");
  3881. ds_singdata.setColumn(0,"chkcheck4", "");
  3882. ds_singdata.setColumn(0,"chkcheck5", "");
  3883. ds_singdata.setColumn(0,"chkcheck6", "");
  3884. ds_singdata.setColumn(0,"chkcheck7", "");
  3885. ds_singdata.setColumn(0,"chkcheck8", "");
  3886. switch (gubn) {
  3887. case "A" :
  3888. ds_singdata.setColumn(0,"chkcheck1","A");
  3889. break;
  3890. case "B" :
  3891. ds_singdata.setColumn(0,"chkcheck2","B");
  3892. break;
  3893. case "C" :
  3894. ds_singdata.setColumn(0,"chkcheck3","C");
  3895. break;
  3896. case "D" :
  3897. ds_singdata.setColumn(0,"chkcheck4","D");
  3898. break;
  3899. case "E" :
  3900. ds_singdata.setColumn(0,"chkcheck5","E");
  3901. break;
  3902. case "F" :
  3903. ds_singdata.setColumn(0,"chkcheck6","F");
  3904. break;
  3905. case "G" :
  3906. ds_singdata.setColumn(0,"chkcheck7","G");
  3907. break;
  3908. default : break;
  3909. }
  3910. }
  3911. /****************************************************************************************
  3912. * Function : fGetWideListX1
  3913. * Description : 결과 조회 Grid 펼치기 Function X좌표
  3914. * Argument :
  3915. * :
  3916. * return type :
  3917. * Creator :
  3918. ****************************************************************************************/
  3919. function fGetWideListX1(tab1, grd1) {
  3920. var extnGrdWidht = 303;
  3921. var extnGrdWidht2 = 298;
  3922. tab1.position.width = extnGrdWidht;
  3923. grd1.position.width = extnGrdWidht2;
  3924. }
  3925. /****************************************************************************************
  3926. * Function : fGetWideListY2
  3927. * Description : 결과 조회 Grid 펼치기 Function Y좌표
  3928. * Argument :
  3929. * :
  3930. * return type :
  3931. * Creator :
  3932. ****************************************************************************************/
  3933. function fGetWideListY2(grd1, left, right) {
  3934. grd1.position.right = right;
  3935. grd1.position.left = left;
  3936. }
  3937. /****************************************************************************************
  3938. * Function : fGetMainListCondiCheck_Case1
  3939. * Description : 조건 일자별 메인조회를 위한 조건체크 Function
  3940. * Argument :
  3941. * :
  3942. * return type :
  3943. * Creator :
  3944. ****************************************************************************************/
  3945. function fGetMainListCondiCheck_Case1() {
  3946. if (utlf_isNull(ds_singdata.getColumn(0,"srchpid"))) {
  3947. group3.grp_sea.ipt_pid.setFocus();
  3948. return "0";
  3949. }
  3950. }
  3951. /****************************************************************************************
  3952. * Function : fInitGrid
  3953. * Description : Grid초기화 Function
  3954. * Argument :
  3955. * :
  3956. * return type :
  3957. * Creator :
  3958. ****************************************************************************************/
  3959. function fInitGrid() {
  3960. ds_maindailylist.clearData();
  3961. ds_mainserious.clearData();
  3962. ds_mainseriouslist.clearData();
  3963. ds_mainset.clearData();
  3964. ds_mainprogress.clearData();
  3965. ds_subresultdetail1.clearData();
  3966. // 일자별 조회만 적용. 20080727 , 장준원
  3967. if (group3.switch1.tabindex == 1 ) {
  3968. // 보고일 기준
  3969. if (group3.grp_sea.rdo_statecd.value == "Z" ) {
  3970. group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","lastreptdd"),"size",75);
  3971. group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","lastreptdd1"),"size",0);
  3972. group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","prcpdd1"),"size",0);
  3973. group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","prcpdd"),"size",75);
  3974. group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","execdd1"),"size",0);
  3975. group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","execdd"),"size",75);
  3976. // 검사일 기준
  3977. } else if ( group3.grp_sea.rdo_statecd.value == "J" ) {
  3978. group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","execdd1"),"size",75);
  3979. group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","execdd"),"size",0);
  3980. group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","lastreptdd"),"size",0);
  3981. group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","lastreptdd1"),"size",75);
  3982. group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","prcpdd1"),"size",0);
  3983. group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","prcpdd"),"size",75);
  3984. // 처방일 기준
  3985. } else if ( group3.grp_sea.rdo_statecd.value == "P" ) {
  3986. group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","prcpdd1"),"size",75);
  3987. group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","prcpdd"),"size",0);
  3988. group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","lastreptdd"),"size",0);
  3989. group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","lastreptdd1"),"size",75);
  3990. group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","execdd1"),"size",0);
  3991. group3.switch1.case1.grd_maindaily.setFormatColProperty(group3.switch1.case1.grd_maindaily.getBindCellIndex("body","execdd"),"size",75);
  3992. }
  3993. }
  3994. if (group3.switch1.tabindex == 0 ) {
  3995. // 보고일 기준
  3996. if ( group3.grp_sea.rdo_statecd.value == "Z" ) {
  3997. group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","lastreptdd"),"size",75);
  3998. group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","lastreptdd1"),"size",0);
  3999. group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","prcpdd1"),"size",0);
  4000. group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","prcpdd"),"size",75);
  4001. group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","execdd1"),"size",0);
  4002. group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","execdd"),"size",75);
  4003. // 검사일 기준
  4004. } else if ( group3.grp_sea.rdo_statecd.value == "J" ) {
  4005. group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","execdd1"),"size",75);
  4006. group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","execdd"),"size",0);
  4007. group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","lastreptdd"),"size",0);
  4008. group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","lastreptdd1"),"size",75);
  4009. group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","prcpdd"),"size",75);
  4010. group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","prcpdd1"),"size",0);
  4011. // 처방일 기준
  4012. } else if ( group3.grp_sea.rdo_statecd.value == "P" ) {
  4013. group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","prcpdd1"),"size",75);
  4014. group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","prcpdd"),"size",0);
  4015. group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","lastreptdd"),"size",0);
  4016. group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","lastreptdd1"),"size",75);
  4017. group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","execdd1"),"size",0);
  4018. group3.switch1.case5.datagrid1.setFormatColProperty(group3.switch1.case5.datagrid1.getBindCellIndex("body","execdd"),"size",75);
  4019. }
  4020. }
  4021. }
  4022. /****************************************************************************************
  4023. * Function : fGetCheckedResultContinueList
  4024. * Description : Daily 및 Serious 결과 연속보기 상세조회 Function
  4025. * Argument :
  4026. * :
  4027. * return type :
  4028. * Creator :
  4029. ****************************************************************************************/
  4030. function fGetCheckedResultContinueList(sGubun) {
  4031. var nRow = 0;
  4032. if(group3.switch1.tabindex == 2 || group3.switch1.tabindex == 3){
  4033. sysf_messageBox("[선택항목조회] 기능은 분류별/그룹별 조회에서만 적용됩니다.","I999");
  4034. return true;
  4035. }
  4036. if ( ds_maindailylist.rowcount == 0 ) return;
  4037. fInitial_subordlist();
  4038. var arrColInfo = [{col:"instcd" , type:"string" , size:256}
  4039. ,{col:"bcno" , type:"string" , size:256}
  4040. ,{col:"testmdlcd" , type:"string" , size:256}
  4041. ,{col:"lastreptdd" , type:"string" , size:256}
  4042. ,{col:"examgubun" , type:"string" , size:256}
  4043. ,{col:"pid" , type:"string" , size:256}
  4044. ,{col:"prcpdd" , type:"string" , size:256}
  4045. ,{col:"execprcpuniqno" , type:"string" , size:256}
  4046. ,{col:"check" , type:"string" , size:256}
  4047. ,{col:"level" , type:"string" , size:256}
  4048. ,{col:"flag" , type:"string" , size:256}
  4049. ,{col:"rowidx" , type:"int" }
  4050. ];
  4051. if(!utlf_isNull(arrColInfo)){
  4052. dsf_createDs("ds_temp", arrColInfo);
  4053. }
  4054. for(var i = 0 ; i<ds_maindailylist.rowcount ; i++) {
  4055. if(ds_maindailylist.getColumn(i,"check") == "Y") {
  4056. nRow = ds_temp.addRow();
  4057. ds_temp.setColumn(nRow,"instcd" , ds_maindailylist.getColumn(i,"instcd"));
  4058. ds_temp.setColumn(nRow,"check" , ds_maindailylist.getColumn(i,"check"));
  4059. ds_temp.setColumn(nRow,"pid" , ds_maindailylist.getColumn(i,"pid"));
  4060. ds_temp.setColumn(nRow,"prcpdd" , ds_maindailylist.getColumn(i,"prcpdd"));
  4061. ds_temp.setColumn(nRow,"execprcpuniqno" , ds_maindailylist.getColumn(i,"execprcpuniqno"));
  4062. ds_temp.setColumn(nRow,"examgubun" , ds_maindailylist.getColumn(i,"examgubun"));
  4063. ds_temp.setColumn(nRow,"bcno" , ds_maindailylist.getColumn(i,"bcno"));
  4064. ds_temp.setColumn(nRow,"testmdlcd" , ds_maindailylist.getColumn(i,"testmdlcd"));
  4065. ds_temp.setColumn(nRow,"lastreptdd" , ds_maindailylist.getColumn(i,"lastreptdd"));
  4066. ds_temp.setColumn(nRow,"level" , "3");
  4067. ds_temp.setColumn(nRow,"flag" , "col");
  4068. ds_temp.setColumn(nRow,"rowidx" , nRow);
  4069. }
  4070. }
  4071. if(ds_temp.rowcount <= 0) {
  4072. sysf_messageBox("[연속보기] 기능은 한가지 이상 체크가 되어야 합니다.","I999");
  4073. return true;
  4074. }
  4075. var chkcheck1 = ds_singdata.getColumn(0,"chkcheck1");
  4076. var chkcheck4 = ds_singdata.getColumn(0,"chkcheck4");
  4077. if (chkcheck1 == "A" || chkcheck4 == "D" ) { // 진검, 핵의학일 경우
  4078. ds_subresultdetail1_1.clearData();
  4079. group3.grd_subresultdetail1.visible = false;
  4080. group3.grd_subresultdetail2.visible = true;
  4081. } else {
  4082. ds_subresultdetail1.clearData();
  4083. group3.grd_subresultdetail1.visible = true;
  4084. group3.grd_subresultdetail2.visible = false;
  4085. }
  4086. ds_singdata.setColumn(0, "srchflag", sGubun); // 'B':분류별, 'G'그룹별
  4087. ////sysf_trace(ds_temp.saveXML());
  4088. var oParam = {};
  4089. oParam.id = "TRAER00853";
  4090. oParam.service = "examcureresultrefapp.RsltRef";
  4091. oParam.method = "reqGetCheckedResultContinueList";
  4092. oParam.inds = "singdata=ds_singdata refparam=ds_temp";
  4093. oParam.async = false;
  4094. if (chkcheck1 == "A" || chkcheck4 == "D" ) { // 진검일 경우
  4095. oParam.outds = "ds_subresultdetail1_1=getResultDetail";
  4096. oParam.callback = "cf_TRAER00852";
  4097. tranf_submit(oParam);
  4098. } else {
  4099. oParam.outds = "ds_subresultdetail1=getResultDetail";
  4100. oParam.callback = "cf_TRAER00850";
  4101. tranf_submit(oParam);
  4102. }
  4103. dsf_deleteDs("ds_temp");
  4104. }
  4105. /****************************************************************************************
  4106. * Function : fClickResultContinueList_one
  4107. * Description : Daily 및 Serious 결과 연속보기 상세조회 one sql Function
  4108. * Argument :
  4109. * :
  4110. * return type :
  4111. * Creator :
  4112. ****************************************************************************************/
  4113. function fClickResultContinueList_one() {
  4114. //sysf_trace("시작시각==>" + utlf_getCurrentTime());
  4115. if(group3.switch1.tabindex == 1) var tabselect = "daily"; //분류별
  4116. var cutcnt = 10;
  4117. nextcnt = 0;
  4118. ds_subresultdetail1.clearData();
  4119. ds_subresultdetail1_1.clearData();
  4120. if(tabselect == "daily"){
  4121. var e = new ClickEventInfo;
  4122. frmf_inputEnterKey("group3.button102", "onclick", e );
  4123. fInitial_subordlist();
  4124. if(ds_maindailylist.rowcount > 0){
  4125. var loop = ds_maindailylist.rowcount;
  4126. var ckcnt = 0;
  4127. ds_maindailylist.addColumn("level","string");
  4128. ds_maindailylist.addColumn("srchpid","string");
  4129. ds_maindailylist.addColumn("dutplceinstcd","string");
  4130. for(var i=0; i<loop; i++){
  4131. var examgubun = ds_maindailylist.getColumn(i,"examgubun");
  4132. if(examgubun != "진검" && examgubun != "미생물"){
  4133. ds_maindailylist.setColumn(i,"level","3");
  4134. ds_maindailylist.setColumn(i,"srchpid",ds_singdata.getColumn(0,"srchpid"));
  4135. ds_maindailylist.setColumn(i,"dutplceinstcd",ds_globalinstance.getColumn(0,"instance2"));
  4136. ckcnt++;
  4137. }
  4138. }
  4139. var chkcheck1 = ds_singdata.getColumn(0,"chkcheck1");
  4140. var chkcheck4 = ds_singdata.getColumn(0,"chkcheck4");
  4141. var arrColInfo = [{col:"bcno" , type:"string" , size:256}
  4142. ,{col:"testmdlcd" , type:"string" , size:256}
  4143. ,{col:"lastreptdd" , type:"string" , size:256}
  4144. ,{col:"examgubun" , type:"string" , size:256}
  4145. ,{col:"level" , type:"string" , size:256}
  4146. ,{col:"pid" , type:"string" , size:256}
  4147. ,{col:"instcd" , type:"string" , size:256}
  4148. ,{col:"prcpdd" , type:"string" , size:256}
  4149. ,{col:"execprcpuniqno" , type:"int" , size:256}
  4150. ,{col:"check" , type:"string" , size:256}
  4151. ,{col:"flag" , type:"string" , size:256}
  4152. ]
  4153. dsf_createDs("ds_temp",arrColInfo);
  4154. var sInDsName = dsf_createDsRow("ds_temp_one", [{col: "instcd" , val: sysf_getUserInfo("dutplceinstcd")}
  4155. , {col: "srchdate1" , val: ds_singdata.getColumn(0,"srchdate1")}
  4156. , {col: "srchdate2", val: ds_singdata.getColumn(0,"srchdate2")}
  4157. , {col: "listflag", val: ds_singdata.getColumn(0,"listflag")}
  4158. , {col: "pid", val: ds_singdata.getColumn(0,"srchpid")}]);
  4159. for(var i = 0 ; i<ds_maindailylist.rowcount ; i++) {
  4160. if(ds_maindailylist.getColumn(i,"examgubun")!="진검" && ds_maindailylist.getColumn(i,"examgubun")!="미생물") {
  4161. var nRow = ds_temp.addRow();
  4162. ds_temp.setColumn(nRow,"bcno" ,ds_maindailylist.getColumn(i,"bcno"));
  4163. ds_temp.setColumn(nRow,"testmdlcd" ,ds_maindailylist.getColumn(i,"testmdlcd"));
  4164. ds_temp.setColumn(nRow,"lastreptdd" ,ds_maindailylist.getColumn(i,"lastreptdd"));
  4165. ds_temp.setColumn(nRow,"examgubun" ,ds_maindailylist.getColumn(i,"examgubun"));
  4166. ds_temp.setColumn(nRow,"level" ,ds_maindailylist.getColumn(i,"level"));
  4167. ds_temp.setColumn(nRow,"pid" ,ds_maindailylist.getColumn(i,"srchpid"));
  4168. ds_temp.setColumn(nRow,"instcd" ,ds_maindailylist.getColumn(i,"dutplceinstcd"));
  4169. ds_temp.setColumn(nRow,"prcpdd" ,ds_maindailylist.getColumn(i,"prcpdd"));
  4170. ds_temp.setColumn(nRow,"execprcpuniqno" ,ds_maindailylist.getColumn(i,"execprcpuniqno"));
  4171. ds_temp.setColumn(nRow,"check" ,ds_maindailylist.getColumn(i,"check"));
  4172. ds_temp.setColumn(nRow,"flag" ,"col");
  4173. }
  4174. }
  4175. ////sysf_trace(ds_temp.saveXML());
  4176. //진검일 경우
  4177. if(chkcheck1 == "A" ||chkcheck4 == "D"){
  4178. //submit("TRAER00852", false);
  4179. ////sysf_trace(ds_temp.saveXML());
  4180. var oParam = {};
  4181. oParam.id = "TRAER00852";
  4182. oParam.service = "examcureresultrefapp.RsltRef";
  4183. oParam.method = "reqGetSytsRsltRefTClsDetaiList";
  4184. oParam.inds = "refparam=ds_temp";
  4185. oParam.outds = "ds_subresultdetail1_1=getResultDetail";
  4186. oParam.async = true;
  4187. oParam.callback = "cf_TRAER00852";
  4188. tranf_submit(oParam);
  4189. //grd_subresultdetail2.resizeCells(); // 그리드옵션에 높이 자동조절 되게끔 수정필요.
  4190. }else{
  4191. call_reqGetRsltRefDetailList_one();
  4192. }
  4193. }
  4194. }
  4195. }
  4196. /****************************************************************************************
  4197. * Function : fInitial_subordlist
  4198. * Description :
  4199. * Argument :
  4200. * :
  4201. * return type :
  4202. * Creator :
  4203. ****************************************************************************************/
  4204. function fInitial_subordlist(){
  4205. ds_subresultdetail1.clearData();
  4206. ds_subresultdetail1_1.clearData();
  4207. ds_send.setColumn(0,"maindata","");
  4208. }
  4209. /****************************************************************************************
  4210. * Function : cf_TRAER00852
  4211. * Description : TRAER00852 콜백함수
  4212. * Argument :
  4213. * :
  4214. * return type :
  4215. * Creator :
  4216. ****************************************************************************************/
  4217. function cf_TRAER00852(sSvcId, nErrorCode, sErrorMsg) {
  4218. if(nErrorCode < 0) {
  4219. return;
  4220. } else {
  4221. if(!appf_ContainsUserCD("00013", "Y")) { //신규로직이 아니면
  4222. ds_subresultdetail1_1.updateColID("pacsno","testcd");
  4223. ds_subresultdetail1_1.updateColID("spcno" ,"bcno");
  4224. dsf_setDefaultVal(ds_subresultdetail1_1,"flag:rsltref");
  4225. for(var i = 0 ; i < ds_subresultdetail1_1.rowcount ; i++) {
  4226. if(ds_subresultdetail1_1.getColumn(i,"judgmark")=="T") {
  4227. for(var j = 0 ; j < ds_subresultdetail1_1.colcount ; j++) {
  4228. if(ds_subresultdetail1_1.getColID(j)!="tclsscrnnnm") {
  4229. ds_subresultdetail1_1.setColumn(i,j,"");
  4230. }
  4231. }
  4232. }
  4233. }
  4234. }
  4235. ds_subresultdetail1_1.rowposition = -1;
  4236. }
  4237. ////sysf_trace(ds_subresultdetail1_1.saveXML());
  4238. }
  4239. /****************************************************************************************
  4240. * Function : cf_TRAER00850_one_cnt
  4241. * Description : TRAER00850 콜백함수
  4242. * Argument :
  4243. * :
  4244. * return type :
  4245. * Creator :
  4246. ****************************************************************************************/
  4247. function cf_TRAER00850_one_cnt(sSvcId, nErrorCode, sErrorMsg) {
  4248. if(nErrorCode < 0) return;
  4249. if(ds_getResultDetail_one_cnt.getColumn(0,"labcnt") < 10000)
  4250. {
  4251. call_reqGetRsltRefDetailList_one();
  4252. }
  4253. else
  4254. {
  4255. alert("데이타가 10,000Row 이상입니다. 범위를 줄여서 재조회 바랍니다.");
  4256. return;
  4257. }
  4258. }
  4259. function call_reqGetRsltRefDetailList_one()
  4260. {
  4261. var oParam = {};
  4262. oParam.id = "TRAER00850";
  4263. oParam.service = "examcureresultrefapp.RsltRef";
  4264. oParam.method = "reqGetRsltRefDetailList_one";
  4265. oParam.inds = "reqoneparam=ds_temp_one reqparam=ds_temp";
  4266. oParam.outds = "ds_subresultdetail1=getResultDetail";
  4267. oParam.async = false;
  4268. oParam.callback = "cf_TRAER00850";
  4269. tranf_submit(oParam);
  4270. }
  4271. /****************************************************************************************
  4272. * Function : cf_TRAER00850
  4273. * Description : TRAER00850 콜백함수
  4274. * Argument :
  4275. * :
  4276. * return type :
  4277. * Creator :
  4278. ****************************************************************************************/
  4279. function cf_TRAER00850(sSvcId, nErrorCode, sErrorMsg) {
  4280. if(nErrorCode < 0) return;
  4281. /*//sysf_trace(ds_subresultdetail1.saveXML());*/
  4282. ds_subresultdetail1.enableevent = false;
  4283. if(!appf_ContainsUserCD("00013", "Y")) { //신규로직이 아니면
  4284. fSetSubResultGridProperty();
  4285. ds_subresultdetail1.addColumn("check","string");
  4286. dsf_setDefaultVal(ds_subresultdetail1,"check:N,flag:rsltref");
  4287. for(var i = 0 ; i < ds_subresultdetail1.rowcount ; i++) {
  4288. ds_subresultdetail1.setColumn(i,"bcno" ,ds_subresultdetail1.getColumn(i,"spcno"));
  4289. ds_subresultdetail1.setColumn(i,"testcd",ds_subresultdetail1.getColumn(i,"pacsno"));
  4290. }
  4291. }
  4292. ds_subresultdetail1.rowposition = -1;
  4293. if(utlf_isNull(ds_subresultdetail1.getColumnInfo("img"))) {
  4294. ds_subresultdetail1.addColumn("img", "string");
  4295. ds_subresultdetail1.addColumn("imgcnts", "byte");
  4296. }
  4297. fSetSubDetailGrid(); //결과내역 그리드 세팅한다.
  4298. ds_subresultdetail1.enableevent = true;
  4299. }
  4300. /****************************************************************************************
  4301. * Function : fSetSubDetailGrid
  4302. * Description : Daily , Serious 결과 내역 그리드 Setting Function
  4303. * Argument :
  4304. * :
  4305. * return type :
  4306. * Creator :
  4307. ****************************************************************************************/
  4308. function fSetSubDetailGrid(){
  4309. ////////////////////////////
  4310. // 결과내역 그리드 세팅한다//
  4311. ////////////////////////////
  4312. // 체크박스 미사용(전에조회에사용된 세팅을 해제하기 위해) 해제
  4313. // 진검의 L,H에 적용한 색상 해제 ,
  4314. var srchLength1 = ds_subresultdetail1.rowcount;
  4315. // 서식 이미지 구현
  4316. for ( var i = 0; i < srchLength1; i++ ) {
  4317. if ( ds_subresultdetail1.getColumn(i,"img") == "IMG" ) {
  4318. var e = "서식 이미지 구현 실패입니다";
  4319. try {
  4320. var IMGE_SZ = 500;
  4321. var strXvgInfo = "";
  4322. var imgcnts = ds_subresultdetail1.getColumn(i,"imgcnts");
  4323. var rsltcnts = ds_subresultdetail1.getColumn(i,"reptrslt");
  4324. if(rsltcnts.indexOf("&lt;")==0){ // lt, gt 변환
  4325. rsltcnts = rsltcnts.replace(/&lt;/gi, "<");
  4326. rsltcnts = rsltcnts.replace(/&gt;/gi, ">");
  4327. ds_subresultdetail1.setColumn(i,"reptrslt", rsltcnts);
  4328. }
  4329. group3.obj_imge.DeleteAllShape();
  4330. var shapeinfo = rsltcnts;
  4331. // caption 을 모두 CDATA 처리 MMR01200.xjs
  4332. rsltcnts = fSetCdata(rsltcnts);
  4333. if(!utlf_isNull(rsltcnts)) {
  4334. strXvgInfo = fGetMetaMode(rsltcnts); //MMR01200.xjs
  4335. var tmpShape = removeXvgTag(rsltcnts); //EMRCommon.xjs
  4336. }
  4337. group3.obj_imge.Clear();
  4338. var viewMode = group3.obj_imge.GetViewMode();
  4339. if(viewMode != 1) { // ActiveX를 스크린 사이즈로 맞춤
  4340. group3.obj_imge.SetViewMode(1);
  4341. }
  4342. group3.obj_imge.SetControlSize(strXvgInfo[1], strXvgInfo[2]);
  4343. group3.obj_imge.LoadImageBase64(imgcnts);
  4344. var sz = group3.obj_imge.GetImageSizeEx(false);
  4345. var arrSz = sz.split("|");
  4346. var imgewid = arrSz[0];
  4347. var imgehei = arrSz[1];
  4348. group3.grd_subresultdetail1.setFormatRowProperty(i,"size",imgehei);
  4349. // 현재 OCX 크기에 이미지를 맞추어 계산한 Base64코드를 반환한다.
  4350. var strBase64 = group3.obj_imge.GetThumbnailBase64(imgewid, imgehei);
  4351. ds_subresultdetail1.setColumn(i,"reptrslt",strBase64);
  4352. } catch (e) {
  4353. }
  4354. }
  4355. }
  4356. //진단검사 HLA 검사적용 여부, 20090128, 장준원
  4357. grdf_initGrid(group3.switch1.case1.grd_maindaily);
  4358. // fGetHLAList(); // 해당로직 필요성을 몰라서 주석 처리 2019.11.21 엄영만
  4359. }
  4360. /****************************************************************************************
  4361. * Function : fReqGetPatComnInfo
  4362. * Description : 환자기본정보 조회
  4363. * Argument :
  4364. * :
  4365. * return type :
  4366. * Creator :
  4367. ****************************************************************************************/
  4368. function fReqGetPatComnInfo(sDsObj, pid, stnddd){
  4369. var dsObj = eval(sDsObj);
  4370. dsObj.clearData();
  4371. var nRow = dsObj.addRow();
  4372. var prcpall = ds_cond.getColumn(0,"prcpall");
  4373. var deptyn = ds_cond.getColumn(0,"deptyn");
  4374. dsObj.setColumn(nRow,"pid" ,pid);
  4375. dsObj.setColumn(nRow,"stnddd" ,stnddd);
  4376. dsObj.setColumn(nRow,"prcpall" ,prcpall);
  4377. dsObj.setColumn(nRow,"deptyn" ,deptyn);
  4378. dsObj.setColumn(nRow,"chosflag" ,"N");
  4379. var oParam = {};
  4380. oParam.id = "TRMMO02505";
  4381. oParam.service = "prcpmngtapp.PatPrcpSrchMngt";
  4382. oParam.method = "reqGetPatBaseInfo";
  4383. oParam.inds = "req=ds_req";
  4384. oParam.outds = "ds_patinfolist=patinfolist ds_patchosinfolist=patchosinfolist ds_patdethinfo=patdethinfo";
  4385. oParam.async = false;
  4386. oParam.callback = "cf_TRMMO02505";
  4387. tranf_submit(oParam);
  4388. }
  4389. /****************************************************************************************
  4390. * Function : cf_TRMMO02505
  4391. * Description : TRMMO02505 콜백함수
  4392. * Argument :
  4393. * :
  4394. * return type :
  4395. * Creator :
  4396. ****************************************************************************************/
  4397. function cf_TRMMO02505(sSvcId, nErrorCode, sErrorMsg) {
  4398. if(nErrorCode < 0) {
  4399. return;
  4400. } else {
  4401. var deptCd = "";
  4402. if(utlf_isNull(ds_singdata.getColumn(0,"deptcd"))) {
  4403. deptCd = ds_cond.getColumn(0,"deptcd");
  4404. } else {
  4405. deptCd = ds_singdata.getColumn(0,"deptcd");
  4406. }
  4407. // trace("deptCd : " + deptCd);
  4408. // trace(ds_initexecorddept.findRow("execorddeptcdid",deptCd));
  4409. if(ds_initexecorddept.findRow("execorddeptcdid",deptCd) < 1) {
  4410. deptCd = "";
  4411. }
  4412. ds_cond.setColumn(0,"hngnm" ,ds_patinfolist.getColumn(0,"hngnm"));
  4413. ds_cond.setColumn(0,"rrgstno1" ,ds_patinfolist.getColumn(0,"rrgstno1"));
  4414. ds_cond.setColumn(0,"rrgstno2" ,ds_patinfolist.getColumn(0,"rrgstno2"));
  4415. ds_cond.setColumn(0,"sex" ,ds_patinfolist.getColumn(0,"sex"));
  4416. ds_cond.setColumn(0,"age" ,ds_patinfolist.getColumn(0,"age"));
  4417. ds_cond.setColumn(0,"ward" ,ds_patinfolist.getColumn(0,"ward"));
  4418. ds_cond.setColumn(0,"deptcd" ,deptCd);
  4419. ds_singdata.setColumn(0,"deptcd",deptCd);
  4420. fChngSrchDrId();
  4421. }
  4422. }
  4423. /****************************************************************************************
  4424. * Function : fGetHLAList
  4425. * Description : 진단검사 HLA 검사적용 여부
  4426. * Argument :
  4427. * :
  4428. * return type :
  4429. * Creator :
  4430. ****************************************************************************************/
  4431. function fGetHLAList() {
  4432. if(group3.switch1.tabindex == 0 || group3.switch1.tabindex == 1) {
  4433. var cnt = 0;
  4434. if (ds_maindailylist.rowcount > 0) {
  4435. var loop = ds_maindailylist.rowcount;
  4436. for( var i = 0 ; i < loop ; i++ ) {
  4437. if(ds_maindailylist.getColumn(i,"hla")=="Y") cnt++;
  4438. }
  4439. }
  4440. if ( cnt > 0 ) {
  4441. var arrColInfo = [{col:"pid" , type:"string" , size:256}]
  4442. dsf_createDs("ds_temp",arrColInfo,"true");
  4443. ds_temp.setColumn(ds_temp.addRow(),"pid",ds_singdata.getColumn(0,"srchpid"));
  4444. var hlaflag = ds_singdata.getColumn(0,"hlaflag");
  4445. if (hlaflag == "Y") {
  4446. // open("SPLLP90200" , "","","","","/root/hidden/refparam" , "/root/hidden/refparam");
  4447. /* TF화면 직접 불러오는 작업 필요 데이터셋을 넘길지 변수를 넘길지 모름 */
  4448. }
  4449. dsf_deleteDs("ds_temp");
  4450. return;
  4451. }
  4452. }else {
  4453. return;
  4454. }
  4455. }
  4456. /****************************************************************************************
  4457. * Function : fGetMainListCondiCheck_Case4
  4458. * Description : 조건체크. 환자번호유무
  4459. * Argument :
  4460. * :
  4461. * return type :
  4462. * Creator :
  4463. ****************************************************************************************/
  4464. function fGetMainListCondiCheck_Case4() {
  4465. if(utlf_isNull(ds_singdata.getColumn(0,"srchpid"))) {
  4466. group3.grp_sea.ipt_pid.setFocus();
  4467. return "0";
  4468. }
  4469. }
  4470. /****************************************************************************************
  4471. * Function : fSetUserBaseInit
  4472. * Description : 사용자 환경설정 조회기준 세팅
  4473. * Argument :
  4474. * :
  4475. * return type :
  4476. * Creator :
  4477. ****************************************************************************************/
  4478. function fSetUserBaseInit(){
  4479. var AnswData = fGetIntefeAnsw("004");
  4480. if(!utlf_isNull(AnswData)){
  4481. if(AnswData == "001"){
  4482. ds_singdata.setColumn(0,"listflag","P");
  4483. } else if (AnswData == "002"){
  4484. ds_singdata.setColumn(0,"listflag","J");
  4485. } else if (AnswData == "003"){
  4486. ds_singdata.setColumn(0,"listflag","Z");
  4487. }
  4488. }
  4489. }
  4490. /****************************************************************************************
  4491. * Function : fSetUserDeptInit
  4492. * Description : 사용자 환경설정 부서 세팅
  4493. * Argument :
  4494. * :
  4495. * return type :
  4496. * Creator :
  4497. ****************************************************************************************/
  4498. function fSetUserDeptInit(){
  4499. var AnswData = fGetIntefeAnsw("003");
  4500. if(!utlf_isNull(AnswData)){
  4501. if(AnswData == "003"){
  4502. ds_cond.setColumn(0,"deptcd" ,"");
  4503. ds_singdata.setColumn(0,"deptcd","");
  4504. }else{
  4505. ds_cond.setColumn(0,"deptcd" , sysf_getUserInfo("dutplcecd"));
  4506. ds_singdata.setColumn(0,"deptcd", sysf_getUserInfo("dutplcecd"));
  4507. }
  4508. }
  4509. }
  4510. /****************************************************************************************
  4511. * Function : fSetUserTabInit
  4512. * Description : 사용자 환경설정 tab 세팅
  4513. * Argument :
  4514. * :
  4515. * return type :
  4516. * Creator :
  4517. ****************************************************************************************/
  4518. function fSetUserTabInit(){
  4519. var chkbutton = fSetUserSeriesButtonInit();
  4520. var AnswData = fGetIntefeAnsw("002");
  4521. if(!utlf_isNull(AnswData)){
  4522. group3.switch1.enableevent = false;
  4523. if( AnswData == "002" ){ // SET 별
  4524. group3.switch1.tabindex = 2;
  4525. } else if( AnswData == "003" ){ // 진행상태
  4526. group3.switch1.tabindex = 3;
  4527. } else if( AnswData == "005" ){ // 그룹별
  4528. group3.switch1.tabindex = 0;
  4529. var compsrefcnts = ds_gridseq01.getColumn(0, "compsrefcnts");
  4530. var compssizecnts = ds_gridseq01.getColumn(0, "compssizecnts");
  4531. if(utlf_isNull(compsrefcnts)) compsrefcnts = "";
  4532. if(utlf_isNull(compssizecnts)) compssizecnts = "";
  4533. ds_singdata.setColumn(0, "compsrefcnts", compsrefcnts);
  4534. ds_singdata.setColumn(0, "compssizecnts", compssizecnts);
  4535. } else if(AnswData == "006"){ // 분류별
  4536. group3.switch1.tabindex = 1;
  4537. var compsrefcnts = ds_gridseq02.getColumn(0, "compsrefcnts");
  4538. var compssizecnts = ds_gridseq02.getColumn(0, "compssizecnts");
  4539. if(utlf_isNull(compsrefcnts)) compsrefcnts = "";
  4540. if(utlf_isNull(compssizecnts)) compssizecnts = "";
  4541. ds_singdata.setColumn(0, "compsrefcnts", compsrefcnts);
  4542. ds_singdata.setColumn(0, "compssizecnts", compssizecnts);
  4543. }
  4544. group3.switch1.enableevent = true;
  4545. }
  4546. }
  4547. /****************************************************************************************
  4548. * Function : fSetUserSeriesButtonInit
  4549. * Description : 분류별/그룹별의 분류버튼들의 우선 조회순위 기준 세팅
  4550. * Argument :
  4551. * :
  4552. * return type :
  4553. * Creator :
  4554. ****************************************************************************************/
  4555. function fSetUserSeriesButtonInit(){
  4556. var AnswData = fGetIntefeAnsw("015");
  4557. if(!utlf_isNull(AnswData)) {
  4558. if( AnswData == "001" ){
  4559. return "ALL";
  4560. }
  4561. if( AnswData == "002" ){
  4562. return "A";
  4563. }
  4564. if( AnswData == "003" ){
  4565. return "B";
  4566. }
  4567. if( AnswData == "004" ){
  4568. return "C";
  4569. }
  4570. if( AnswData == "005" ){
  4571. return "D";
  4572. }
  4573. if( AnswData == "006" ){
  4574. return "E";
  4575. }
  4576. if( AnswData == "007" ){
  4577. return "F";
  4578. }
  4579. if( AnswData == "008" ){
  4580. return "G";
  4581. }
  4582. }else {
  4583. return "ALL";
  4584. }
  4585. }
  4586. /****************************************************************************************
  4587. * Function : fGetHealExamDetailList
  4588. * Description : 건진소견 보기 기능
  4589. * Argument :
  4590. * :
  4591. * return type :
  4592. * Creator :
  4593. ****************************************************************************************/
  4594. function fGetHealExamDetailList() {
  4595. dsf_copyDs(ds_temp_patinfolist,ds_patinfolist,"replace");
  4596. group3.grp_makedset.visible = false;
  4597. group3.datagrid2.visible = false;
  4598. group3.grd_subresultdetail1.visible = true;
  4599. fGetWideListX1(group3.switch1, group3.switch1.case1.grd_maindaily);
  4600. fGetWideListY2(group3.grd_subresultdetail1, "311", group3.position.right-1);
  4601. fInitial_subordlist();
  4602. // 조건 체크
  4603. var check = fGetMainListCondiCheck_Case1();
  4604. if ( check == "0" ) return true;
  4605. dsf_createDs("ds_temp_req");
  4606. ds_temp_req.copyData(ds_singdata);
  4607. ds_temp_req.updateColID("srchdate1" ,"fromdd");
  4608. ds_temp_req.updateColID("srchdate2" ,"todd");
  4609. ds_temp_req.updateColID("srchpid" ,"pid");
  4610. var oParam = {};
  4611. oParam.id = "TRAER00851";
  4612. oParam.service = "examcureresultrefapp.RsltRef";
  4613. oParam.method = "reqGetHealExamDetailList";
  4614. oParam.inds = "reqparam=ds_temp_req";
  4615. oParam.outds = "ds_subresultdetail1=getResultDetail";
  4616. oParam.async = false;
  4617. tranf_submit(oParam);
  4618. /*
  4619. * 일자별 결과내역 그리드 세팅한다.
  4620. */
  4621. fSetSubDetailGrid();
  4622. dsf_copyDs(ds_patinfolist,ds_temp_patinfolist,"replace");
  4623. group3.button52.enable = false;
  4624. }
  4625. /****************************************************************************************
  4626. * Function : fChngSrchDrId
  4627. * Description : 주치의정보 조회를 위한 Function
  4628. * Argument :
  4629. * :
  4630. * return type :
  4631. * Creator :
  4632. ****************************************************************************************/
  4633. function fChngSrchDrId() {
  4634. if (utlf_isNull(ds_singdata.getColumn(0,"deptcd"))) return;
  4635. ds_singdata.addColumn("initflag","string");
  4636. ds_singdata.setColumn(0,"initflag","2");
  4637. var oParam = {};
  4638. oParam.id = "TRAER00804";
  4639. oParam.service = "examcureresultrefapp.RsltRef";
  4640. oParam.method = "reqGetInitRsltRefDrIdList";
  4641. oParam.inds = "reqparam=ds_singdata";
  4642. oParam.outds = "ds_initexecdr=initexecdr";
  4643. oParam.async = false;
  4644. oParam.callback = "cf_TRAER00804";
  4645. tranf_submit(oParam);
  4646. ds_singdata.deleteColumn("initflag");
  4647. }
  4648. /****************************************************************************************
  4649. * Function : cf_TRAER00804
  4650. * Description : TRAER00804 의 콜백함수
  4651. * Argument :
  4652. * :
  4653. * return type :
  4654. * Creator :
  4655. ****************************************************************************************/
  4656. function cf_TRAER00804(sSvcId, nErrorCode, sErrorMsg) {
  4657. if(nErrorCode < 0) return;
  4658. ds_initexecdr.updateColID("drid","execorddrcdid");
  4659. ds_initexecdr.updateColID("drnm","execorddrcdnm");
  4660. group3.grp_sea.cmb_orddr.index = 1; // 이미 인덱스가 0인상황에서 다시 인덱스 0을 선택할때 바뀐 innerdataset이 반영이 되지 않는듯. 인덱스 변경을 후 다시 적용
  4661. group3.grp_sea.cmb_orddr.index = 0;
  4662. }
  4663. /****************************************************************************************
  4664. * Function : cf_TRAEB00010
  4665. * Description : TRAEB00010 의 콜백함수
  4666. * Argument :
  4667. * :
  4668. * return type :
  4669. * Creator :
  4670. ****************************************************************************************/
  4671. function cf_TRAEB00010(sSvcId, nErrorCode, sErrorMsg) {
  4672. if(nErrorCode < 0) {
  4673. dsf_deleteDs("ds_temp");
  4674. return;
  4675. } else {
  4676. if(ds_item.getColumn(0,"cdid") == "Y"){
  4677. group3.grp_sea.btn_PathoRsltOld.visible = true;
  4678. }
  4679. dsf_deleteDs("ds_temp");
  4680. }
  4681. }
  4682. /****************************************************************************************
  4683. * Function : fSetUserFrozenColInit
  4684. * Description : 사용자 환경설정 조회기준 세팅(통합검사결과조회 틀고정 기본 설정)
  4685. * Argument :
  4686. * :
  4687. * return type :
  4688. * Creator :
  4689. ****************************************************************************************/
  4690. function fSetUserFrozenColInit(){
  4691. var AnswData = fGetIntefeAnsw("025");
  4692. if(objects[group3.datagrid2.binddataset].rowcount < 1) return;
  4693. if(AnswData == "001"){ //틀고정
  4694. for(var i = 0 ; i < 5 ; i++) {
  4695. group3.datagrid2.setFormatColProperty(i,"band","left");
  4696. group3.grd_subresultdetail2.setFormatColProperty(i,"band","left");
  4697. }
  4698. }else{ //틀해제
  4699. for(var i = 0 ; i < 5 ; i++) {
  4700. group3.datagrid2.setFormatColProperty(i,"band","body");
  4701. group3.grd_subresultdetail2.setFormatColProperty(i,"band","body");
  4702. }
  4703. }
  4704. }
  4705. /****************************************************************************************
  4706. * Function : fSetUserHlaPopupInit
  4707. * Description : 사용자 환경설정 조회기준 세팅(합검사 결과조회 공여자 HLA 검사 결과조회 화면 자동호출 여부)
  4708. * Argument :
  4709. * :
  4710. * return type :
  4711. * Creator :
  4712. ****************************************************************************************/
  4713. function fSetUserHlaPopupInit(){
  4714. var AnswData = fGetIntefeAnsw("026");
  4715. if (AnswData == "001") { // Y
  4716. ds_singdata.setColumn(0,"hlaflag","T");
  4717. } else {
  4718. ds_singdata.setColumn(0,"hlaflag","N");
  4719. }
  4720. }
  4721. /****************************************************************************************
  4722. * Function : fSetUserPrntFrmInit
  4723. * Description : 통합검사 결과조회 출력 양식 조건(세로/가로)
  4724. * Argument :
  4725. * :
  4726. * return type :
  4727. * Creator :
  4728. ****************************************************************************************/
  4729. function fSetUserPrntFrmInit(){
  4730. var AnswData = fGetIntefeAnsw("029");
  4731. if (AnswData == "001") { // 세로
  4732. ds_singdata.setColumn(0,"prntfrmflag","RPMMI00103");
  4733. } else { // 가로
  4734. ds_singdata.setColumn(0,"prntfrmflag","RPMMI00101");
  4735. }
  4736. }
  4737. /****************************************************************************************
  4738. * Function : fGetMainSeriousList
  4739. * Description : 조건 메인 검사분류별조회 Function
  4740. * Argument :
  4741. * :
  4742. * return type :
  4743. * Creator :
  4744. ****************************************************************************************/
  4745. function fGetMainSeriousList() {
  4746. // 조건 체크
  4747. var check = fGetMainListCondiCheck_Case2();
  4748. if(check == "0") return true;
  4749. // Grid 초기화
  4750. fInitGrid();
  4751. ds_singdata.setColumn(0,"tabflag","serious");
  4752. ds_singdata.addColumn("detailgb","string");
  4753. ds_singdata.setColumn(0,"detailgb","1");
  4754. var oParam = {};
  4755. oParam.id = "TRAER00808";
  4756. oParam.service = "examcureresultrefapp.RsltRef";
  4757. oParam.method = "reqGetRsltRefMainList";
  4758. oParam.inds = "reqparam=ds_singdata";
  4759. oParam.outds = "ds_mainseriouslist=getresultlist";
  4760. oParam.async = false;
  4761. oParam.callback = "";
  4762. tranf_submit(oParam);
  4763. ds_singdata.deleteColumn("detailgb");
  4764. }
  4765. /****************************************************************************************
  4766. * Function : fGetMainListCondiCheck_Case2
  4767. * Description : 조건 검사분류별 메인조회를 위한 조건체크 Function
  4768. * Argument :
  4769. * :
  4770. * return type :
  4771. * Creator :
  4772. ****************************************************************************************/
  4773. function fGetMainListCondiCheck_Case2() {
  4774. if(utlf_isNull(ds_singdata.setColumn(0,"srchpid"))) {
  4775. group3.grp_sea.ipt_pid.setFocus();
  4776. return "0";
  4777. }
  4778. }
  4779. /****************************************************************************************
  4780. * Function : fGetMainSetList
  4781. * Description : 조건 메인 SET별조회 Function
  4782. * Argument :
  4783. * :
  4784. * return type :
  4785. * Creator :
  4786. ****************************************************************************************/
  4787. function fGetMainSetList() {
  4788. var sSrchPid = ds_singdata.getColumn(0,"srchpid");
  4789. if(utlf_isNull(sSrchPid)) {
  4790. return;
  4791. }
  4792. var sPid = ds_patinfolist.getColumn(0,"pid");
  4793. if(utlf_isNull(sPid)) {
  4794. sPid = "";
  4795. }
  4796. if(sSrchPid != sPid) {
  4797. fReqGetPatComnInfo("ds_req", sSrchPid);
  4798. }
  4799. group3.grp_makedset.visible = false; // SET전체항목조회 비활성화
  4800. group3.datagrid2.visible = true;
  4801. group3.grd_subresultdetail1.visible = false;
  4802. group3.grd_subresultdetail2.visible = false;
  4803. fGetWideListX2(group3.switch1, group3.switch1.case3.trv_prmsprcpsetlist);
  4804. // Progress Start
  4805. frmf_openLoadingBar();
  4806. var setkindcd = ds_setdata.getColumn(0,"setkindcd");
  4807. var cnt = 0;
  4808. readfunc();
  4809. // Tree 자동 선택 후 조회하기
  4810. if ( group3.switch1.case3.trv_prmsprcpsetlist.rowcount > 0) {
  4811. // 기본설정 기능으로 결과상세조회할 지 의 여부를 판단한다. 20090109
  4812. fGetResultContinueListInit3();
  4813. }
  4814. // Progress End
  4815. frmf_closeLoadingBar();
  4816. }
  4817. /****************************************************************************************
  4818. * Function : readfunc
  4819. * Description : set 관련함수
  4820. * Argument :
  4821. * :
  4822. * return type :
  4823. * Creator :
  4824. ****************************************************************************************/
  4825. function readfunc(){
  4826. var setkindcd = ds_setdata.getColumn(0,"setkindcd") ;
  4827. if (setkindcd == "D") {
  4828. ds_setdata.setColumn(0,"deptsetcd" ,sysf_getUserInfo("dutplcecd"));
  4829. ds_setdata.setColumn(0,"deptnm" ,sysf_getUserInfo("dutplcenm"));
  4830. }
  4831. var oParam = {};
  4832. oParam.id = "TRAER00813";
  4833. oParam.service = "examcureresultrefapp.RsltRef";
  4834. oParam.method = "reqGetTestSetList";
  4835. oParam.inds = "req=ds_setdata";
  4836. oParam.outds = "ds_prmsprcpsetlist=prmsprcpsetlist";
  4837. oParam.async = false;
  4838. oParam.callback = "";
  4839. tranf_submit(oParam);
  4840. if(setkindcd =="T" && utlf_isNull(ds_setdata.getColumn(0,"deptsetcd"))) {
  4841. ds_setdata.setColumn(0,"deptsetcd", "-");
  4842. }
  4843. if (setkindcd == "P" || setkindcd == "D"){
  4844. group3.switch1.case3.cmb_deptset.enable = false;
  4845. }
  4846. ds_setdata.setColumn(0,"foldernm", "");
  4847. fInitDatagrid2();
  4848. }
  4849. /****************************************************************************************
  4850. * Function : fInitDatagrid2
  4851. * Description : datagrid2 그리드 설정 초기화
  4852. * Argument :
  4853. * :
  4854. * return type :
  4855. * Creator :
  4856. ****************************************************************************************/
  4857. function fInitDatagrid2() {
  4858. var cols = group3.datagrid2.getCellCount("Head");
  4859. var rows = group3.datagrid2.rowcount;
  4860. for( var i = 0; i < cols; i++ ) {
  4861. group3.datagrid2.deleteContentsCol(i);
  4862. }
  4863. group3.datagrid2.deleteContentsRow("Head",0);
  4864. group3.datagrid2.deleteContentsRow("Body",0);
  4865. ds_row.clearData();
  4866. }
  4867. /****************************************************************************************
  4868. * Function : fReMake
  4869. * Description : datagrid2 그리드 설정
  4870. * Argument :
  4871. * :
  4872. * return type :
  4873. * Creator :
  4874. ****************************************************************************************/
  4875. function fReMake(){
  4876. for(var j = 5 ; j < group3.datagrid2.getCellCount("Head") ; j++){
  4877. var sExpr1 ="color:EXPR(getColumn(currow,'judg"+(j-5)+"')=='H'?&quot;red&quot;"
  4878. +":getColumn(currow,'judg"+(j-5)+"')=='L'?&quot;blue&quot;"
  4879. +":&quot;&quot;)"
  4880. +";color2:EXPR(getColumn(currow,'judg"+(j-5)+"')=='H'?&quot;red&quot;"
  4881. +":getColumn(currow,'judg"+(j-5)+"')=='L'?&quot;blue&quot;"
  4882. +":&quot;&quot;)"
  4883. +";align:right;padding:0 2 0 0"
  4884. ;
  4885. group3.datagrid2.setCellProperty("body", j, "style", sExpr1);
  4886. }
  4887. }
  4888. /****************************************************************************************
  4889. * Function : fGetResultContinueListInit3
  4890. * Description : 좌측 분류별/그룹별 자동 체크 후 상세내역 조회 유뮤 세팅
  4891. * Argument :
  4892. * :
  4893. * return type :
  4894. * Creator :
  4895. ****************************************************************************************/
  4896. function fGetResultContinueListInit3() {
  4897. var AnswData = fGetIntefeAnsw("005");
  4898. if(!utlf_isNull(AnswData)) {
  4899. if( AnswData == "004" ||AnswData == "005" || AnswData == "006" ){
  4900. ds_prmsprcpsetlist.selectRow(1);
  4901. }
  4902. }
  4903. }
  4904. /****************************************************************************************
  4905. * Function : fGetNResultRef
  4906. * Description : SET별누적조회 Function
  4907. * Argument :
  4908. * :
  4909. * return type :
  4910. * Creator :
  4911. ****************************************************************************************/
  4912. function fGetNResultRef(){
  4913. if(utlf_isNull(ds_singdata.getColumn(0,"srchpid"))){
  4914. sysf_messageBox("등록번호를","C001","");
  4915. return;
  4916. }
  4917. if (ds_prmsprcpsetlist.rowposition < 0){
  4918. sysf_messageBox("조회할 SET명을 선택한 후 조회하시기 바랍니다.", "E999", "");
  4919. return;
  4920. }
  4921. fInitDatagrid2();
  4922. var vSelSlipcd = vTestmdllist;
  4923. if(!utlf_isNull(vSelSlipcd)) ds_ref.setColumn(0,"testmdllist",vTestmdllist.substring(0,vTestmdllist.length -1));
  4924. else ds_ref.setColumn(0,"testmdllist","");
  4925. dsf_copyDs(ds_data1,ds_ref,"replace");
  4926. var rowpos = ds_prmsprcpsetlist.rowposition;
  4927. ds_setdata.setColumn(0,"setno",ds_prmsprcpsetlist.getColumn(rowpos,"setno"));
  4928. // LIS Map File을 적용하기 위해 세팅한다.
  4929. ds_setdata.setColumn(0,"startdd",ds_singdata.getColumn(0,"srchdate1"));
  4930. ds_setdata.setColumn(0,"enddd" ,ds_singdata.getColumn(0,"srchdate2"));
  4931. ds_setdata.setColumn(0,"pid" ,ds_singdata.getColumn(0,"srchpid"));
  4932. var oParam = {};
  4933. oParam.id = "TRLLP01201";
  4934. oParam.service = "refprintmngtapp.GeneralRefPrintMngt";
  4935. oParam.method = "reqGetAcmlTestList2";
  4936. oParam.inds = "cond=ds_setdata cond2=ds_data1";
  4937. oParam.outds = "ds_row=row ds_header=header ds_patinfo=patinfo";
  4938. oParam.async = false;
  4939. oParam.callback = "";
  4940. tranf_submit(oParam);
  4941. if(ds_row.rowcount == 0) return;
  4942. var gridCaption = ds_header.getColumn(0,"caption");
  4943. var gridCaptionArray= gridCaption.split("^");
  4944. var gridColRef = ds_header.getColumn(0,"colref");
  4945. var gridColRefArray = gridColRef.split("^");
  4946. var gridColType = ds_header.getColumn(0,"type");
  4947. var gridColTypeArray= gridColType.split("^");
  4948. group3.datagrid2.insertContentsRow("Head",0);
  4949. group3.datagrid2.insertContentsRow("Body",0);
  4950. for (var i = 0; i < gridColRefArray.length; i++ ) {
  4951. if (gridColRefArray[i].substr(0, 4) == "rslt") {
  4952. var tmpstr = "rsltORD".concat(gridColRefArray[i].substr(4));
  4953. gridColRefArray[i] = tmpstr;
  4954. }
  4955. group3.datagrid2.insertContentsCol("Body", i);
  4956. group3.datagrid2.setCellProperty("Head", i, "text", gridCaptionArray[i]);
  4957. group3.datagrid2.setCellProperty("Body", i, "text", "bind:"+gridColRefArray[i]);
  4958. }
  4959. group3.datagrid2.deleteContentsCol(gridColRefArray.length);
  4960. group3.datagrid2.redraw();
  4961. group3.datagrid2.insertContentsCol("Body", 0);
  4962. group3.datagrid2.setFormatColProperty(0,"size",22);
  4963. group3.datagrid2.setFormatColProperty(1,"size",22);
  4964. group3.datagrid2.setFormatColProperty(2,"size",100);
  4965. group3.datagrid2.setFormatColProperty(3,"size",80);
  4966. group3.datagrid2.setFormatColProperty(4,"size",80);
  4967. group3.datagrid2.setFormatRowProperty(0,"size",35);
  4968. group3.datagrid2.setCellProperty("Body", 0, "text" , "expr:currow+1");
  4969. group3.datagrid2.setCellProperty("Body", 0, "background" , "URL('theme://images/bg_gridHead.png') stretch 3,3");
  4970. group3.datagrid2.setCellProperty("Body", 0, "background2" , "URL('theme://images/bg_gridHead.png') stretch 3,3");
  4971. group3.datagrid2.setCellProperty("Body", 0, "selectbackground" , "URL('theme://images/bg_gridHead.png') stretch 3,3");
  4972. group3.datagrid2.setCellProperty("Head", 1, "displaytype" , "checkbox");
  4973. group3.datagrid2.setCellProperty("Head", 1, "edittype" , "checkbox");
  4974. group3.datagrid2.setCellProperty("Body", 1, "displaytype" , "checkbox");
  4975. group3.datagrid2.setCellProperty("Body", 1, "edittype" , "checkbox");
  4976. grdf_initGrid(group3.datagrid2);
  4977. for(var i = 2 ; i < 5 ; i++) {
  4978. group3.datagrid2.setCellProperty("Body",i,"style","align:left;padding:0 0 0 2");
  4979. }
  4980. for(var i = 5 ; i < group3.datagrid2.getCellCount("Head") ; i++ ) {
  4981. group3.datagrid2.setFormatColProperty(i,"size",80);
  4982. }
  4983. fReMake();
  4984. fSetUserFrozenColInit();
  4985. }
  4986. /****************************************************************************************
  4987. * Function : fGetMainDailyList
  4988. * Description : 조건 메인 일자별조회 Function
  4989. * Argument :
  4990. * :
  4991. * return type :
  4992. * Creator :
  4993. ****************************************************************************************/
  4994. function fGetMainDailyList(sGubun) {
  4995. group3.switch1.enableevent = false;
  4996. if ( sGubun == "G") {
  4997. group3.switch1.tabindex = 0;
  4998. } else {
  4999. group3.switch1.tabindex = 1;
  5000. }
  5001. group3.switch1.enableevent = true;
  5002. group3.grp_makedset.visible = false;
  5003. group3.datagrid2.visible = false;
  5004. group3.grd_subresultdetail1.visible = true;
  5005. // 조건 체크
  5006. var check = fGetMainListCondiCheck_Case1();
  5007. if (check == "0") return true;
  5008. if (ds_singdata.getColumn(0,"chkcheck") == "ALL") {
  5009. fcheckyn("ALL");
  5010. }
  5011. // Grid 초기화
  5012. fInitGrid();
  5013. var sAnsw005 = fGetIntefeAnsw("005");
  5014. ds_singdata.setColumn(0, "answ005", sAnsw005); // 통합결과조회 검색 범위 사용자 설정
  5015. if ( sGubun == "G") {
  5016. ds_singdata.setColumn(0,"tabflag", "group"); // 그룹별
  5017. } else {
  5018. ds_singdata.setColumn(0,"tabflag", "class"); // 분류별
  5019. }
  5020. // Progress Start
  5021. frmf_openLoadingBar();
  5022. var oParam = {};
  5023. oParam.id = "TRMMI00106";
  5024. oParam.service = "examcureresultrefapp.RsltRef";
  5025. oParam.method = "reqGetRsltRefMainList";
  5026. oParam.inds = "reqparam=ds_singdata";
  5027. oParam.outds = "ds_maindailylist=getresultlist";
  5028. oParam.async = false;
  5029. oParam.callback = "cf_TRMMI00106";
  5030. tranf_submit(oParam);
  5031. dsf_setDefaultVal(ds_maindailylist,"all");
  5032. ds_maindailylist.rowposition = -1;
  5033. if(ds_maindailylist.findRow("check", "Y") > -1) { // 상세내역 조회 항목이 있으면
  5034. fGetCheckedResultContinueList(sGubun);
  5035. }
  5036. // Progress End
  5037. frmf_closeLoadingBar();
  5038. }
  5039. /****************************************************************************************
  5040. * Function : cf_TRMMI00106
  5041. * Description : TRMMI00106 콜백함수
  5042. * Argument :
  5043. * :
  5044. * return type :
  5045. * Creator :
  5046. ****************************************************************************************/
  5047. function cf_TRMMI00106(sSvcId, nErrorCode, sErrorMsg) {
  5048. if(nErrorCode < 0) {
  5049. return;
  5050. }
  5051. }
  5052. /****************************************************************************************
  5053. * Function : fGetMainProgressList
  5054. * Description : 조건 메인 진행상태별조회 Function
  5055. * Argument :
  5056. * :
  5057. * return type :
  5058. * Creator :
  5059. ****************************************************************************************/
  5060. function fGetMainProgressList() {
  5061. var sSrchPid = ds_singdata.getColumn(0,"srchpid");
  5062. if(utlf_isNull(sSrchPid)) {
  5063. return;
  5064. }
  5065. var sPid = ds_patinfolist.getColumn(0,"pid");
  5066. if(utlf_isNull(sPid)) {
  5067. sPid = "";
  5068. }
  5069. if(sSrchPid != sPid) {
  5070. fReqGetPatComnInfo("ds_req", sSrchPid);
  5071. }
  5072. // 조건 체크
  5073. var check = fGetMainListCondiCheck_Case4();
  5074. if ( check == "0" ) return true;
  5075. // Grid 초기화
  5076. fInitGrid();
  5077. // Progress Start
  5078. frmf_openLoadingBar();
  5079. // 환자정보
  5080. // 대량조회-offset초기화
  5081. ds_mainprogress.clearData();
  5082. ds_singdata.setColumn(0,"offset","0");
  5083. ds_singdata.setColumn(0,"tabflag","progress");
  5084. var oParam = {};
  5085. oParam.id = "TRAER00810";
  5086. oParam.service = "examcureresultrefapp.RsltRef";
  5087. oParam.method = "reqGetRsltRefMainList";
  5088. oParam.inds = "reqparam=ds_singdata";
  5089. oParam.outds = "ds_mainprogress=getresultlist";
  5090. oParam.async = false;
  5091. oParam.callback = "";
  5092. tranf_submit(oParam);
  5093. // Progress End
  5094. frmf_closeLoadingBar();
  5095. }
  5096. /****************************************************************************************
  5097. * Function : fClickResultList
  5098. * Description : Daily 결과 상세조회 Function
  5099. * Argument :
  5100. * :
  5101. * return type :
  5102. * Creator :
  5103. ****************************************************************************************/
  5104. function fClickResultList() {
  5105. var row = ds_maindailylist.rowposition;
  5106. // 일자별
  5107. if ( group3.switch1.tabindex == 1 ) {
  5108. var tabselect = "daily";
  5109. var e = new ClickEventInfo;
  5110. frmf_inputEnterKey("group3.button102", "onclick", e );
  5111. fInitial_subordlist();
  5112. /*
  5113. * 일자별탭 그리드 세팅한다.
  5114. */
  5115. var loop = ds_maindailylist.rowcount;
  5116. ds_maindailylist.addColumn("level","string");
  5117. ds_maindailylist.addColumn("srchpid","string");
  5118. ds_maindailylist.addColumn("dutplceinstcd","string");
  5119. for(var i = 0 ; i < loop ; i++ ) {
  5120. ds_maindailylist.setColumn(i,"level","3");
  5121. }
  5122. ds_maindailylist.setColumn(row,"srchpid",ds_singdata.getColumn(0,"srchpid"));
  5123. ds_maindailylist.setColumn(row,"dutplceinstcd",ds_globalinstance.getColumn(0,"instance2"));
  5124. var arrColInfo = [{col:"bcno" , type:"string" , size:256}
  5125. ,{col:"testmdlcd" , type:"string" , size:256}
  5126. ,{col:"lastreptdd" , type:"string" , size:256}
  5127. ,{col:"examgubun" , type:"string" , size:256}
  5128. ,{col:"level" , type:"string" , size:256}
  5129. ,{col:"pid" , type:"string" , size:256}
  5130. ,{col:"instcd" , type:"string" , size:256}
  5131. ,{col:"prcpdd" , type:"string" , size:256}
  5132. ,{col:"execprcpuniqno" , type:"int" , size:256}
  5133. ,{col:"check" , type:"string" , size:256}
  5134. ,{col:"flag" , type:"string" , size:256}
  5135. ]
  5136. dsf_createDs("ds_temp",arrColInfo,"true");
  5137. var nRow = ds_temp.addRow();
  5138. ds_temp.setColumn(nRow,"bcno" ,ds_maindailylist.getColumn(row,"bcno"));
  5139. ds_temp.setColumn(nRow,"testmdlcd" ,ds_maindailylist.getColumn(row,"testmdlcd"));
  5140. ds_temp.setColumn(nRow,"lastreptdd" ,ds_maindailylist.getColumn(row,"lastreptdd"));
  5141. ds_temp.setColumn(nRow,"examgubun" ,ds_maindailylist.getColumn(row,"examgubun"));
  5142. ds_temp.setColumn(nRow,"level" ,ds_maindailylist.getColumn(row,"level"));
  5143. ds_temp.setColumn(nRow,"pid" ,ds_maindailylist.getColumn(row,"srchpid"));
  5144. ds_temp.setColumn(nRow,"instcd" ,ds_maindailylist.getColumn(row,"dutplceinstcd"));
  5145. ds_temp.setColumn(nRow,"prcpdd" ,ds_maindailylist.getColumn(row,"prcpdd"));
  5146. ds_temp.setColumn(nRow,"execprcpuniqno" ,ds_maindailylist.getColumn(row,"execprcpuniqno"));
  5147. ds_temp.setColumn(nRow,"check" ,"Y");
  5148. ds_temp.setColumn(nRow,"flag" ,"col");
  5149. ds_subresultdetail1.enableevent = false;
  5150. var oParam = {};
  5151. oParam.id = "TRAER00850";
  5152. oParam.service = "examcureresultrefapp.RsltRef";
  5153. oParam.method = "reqGetRsltRefDetailList";
  5154. oParam.inds = "reqparam=ds_temp";
  5155. oParam.outds = "ds_subresultdetail1=getResultDetail";
  5156. oParam.async = false;
  5157. oParam.callback = "cf_TRAER00850";
  5158. tranf_submit(oParam);
  5159. ds_subresultdetail1.enableevent = true;
  5160. dsf_deleteDs("ds_temp");
  5161. /*
  5162. * 일자별 결과내역 그리드 세팅한다.
  5163. */
  5164. fSetSubDetailGrid();
  5165. }
  5166. // 일자별2
  5167. if ( group3.switch1.tabindex == 0 ) {
  5168. var e = new ClickEventInfo;
  5169. frmf_inputEnterKey("group3.button102", "onclick", e );
  5170. fInitial_subordlist();
  5171. /*
  5172. * 일자별탭 그리드 세팅한다.
  5173. */
  5174. var loop = ds_maindailylist.rowcount;
  5175. ds_maindailylist.addColumn("level","string");
  5176. ds_maindailylist.addColumn("srchpid","string");
  5177. ds_maindailylist.addColumn("dutplceinstcd","string");
  5178. for( var i = 0 ; i < loop ; i++ ) {
  5179. ds_maindailylist.setColumn(i,"level","3");
  5180. }
  5181. ds_maindailylist.setColumn(row,"srchpid",ds_singdata.getColumn(0,"srchpid"));
  5182. ds_maindailylist.setColumn(row,"dutplceinstcd",ds_globalinstance.getColumn(0,"instance2"));
  5183. // 20090625, 장준원 추가 , 진단검사 조회 더블 클릭시 조회 오류 수정.
  5184. ds_datagrid3.clearData();
  5185. var irow = 0;
  5186. var check = "Y";
  5187. if ( check == "Y" ) {
  5188. var examnm = ds_maindailylist.getColumn(row,"examnm");
  5189. var examnm1 = examnm.split(",");
  5190. var bcno = ds_maindailylist.getColumn(row,"bcno");
  5191. var bcno1 = bcno.split(",");
  5192. var testmdlcd = ds_maindailylist.getColumn(row,"testmdlcd");
  5193. var testmdlcd1 = testmdlcd.split(",");
  5194. var execprcpuniqno = ds_maindailylist.getColumn(row,"execprcpuniqno");
  5195. var execprcpuniqno1 = execprcpuniqno.split(",");
  5196. var examgubun = ds_maindailylist.getColumn(row,"examgubun");
  5197. var level = ds_maindailylist.getColumn(row,"level");
  5198. var srchpid = ds_maindailylist.getColumn(row,"srchpid");
  5199. var dutplceinstcd = ds_maindailylist.getColumn(row,"dutplceinstcd");
  5200. var check = ds_maindailylist.getColumn(row,"check");
  5201. var prcpdd = ds_maindailylist.getColumn(row,"prcpdd");
  5202. var prcpdd1 = prcpdd.split(",");
  5203. var lastreptdd = ds_maindailylist.getColumn(row,"lastreptdd");
  5204. for (var k = 0; k < prcpdd1.length; k++ ) {
  5205. irow = ds_datagrid3.addRow();
  5206. ds_datagrid3.setColumn(irow,"check" ,check);
  5207. ds_datagrid3.setColumn(irow,"testmdlcd" ,testmdlcd1[k]);
  5208. ds_datagrid3.setColumn(irow,"lastreptdd" ,lastreptdd);
  5209. ds_datagrid3.setColumn(irow,"examgubun" ,examgubun);
  5210. ds_datagrid3.setColumn(irow,"level" ,level);
  5211. ds_datagrid3.setColumn(irow,"srchpid" ,srchpid);
  5212. ds_datagrid3.setColumn(irow,"dutplceinstcd" ,dutplceinstcd);
  5213. ds_datagrid3.setColumn(irow,"prcpdd" ,prcpdd1[k]);
  5214. ds_datagrid3.setColumn(irow,"execprcpuniqno",execprcpuniqno1[k]);
  5215. ds_datagrid3.setColumn(irow,"bcno" ,bcno1[k]);
  5216. }
  5217. }
  5218. // 20090625, 장준원 추가 종료
  5219. var arrColInfo = [{col:"bcno" , type:"string" , size:256}
  5220. ,{col:"testmdlcd" , type:"string" , size:256}
  5221. ,{col:"lastreptdd" , type:"string" , size:256}
  5222. ,{col:"examgubun" , type:"string" , size:256}
  5223. ,{col:"level" , type:"string" , size:256}
  5224. ,{col:"pid" , type:"string" , size:256}
  5225. ,{col:"instcd" , type:"string" , size:256}
  5226. ,{col:"prcpdd" , type:"string" , size:256}
  5227. ,{col:"execprcpuniqno" , type:"int" , size:256}
  5228. ,{col:"check" , type:"string" , size:256}
  5229. ,{col:"flag" , type:"string" , size:256}
  5230. ]
  5231. dsf_createDs("ds_temp",arrColInfo,"true");
  5232. for(var i = 0 ; i < ds_datagrid3.rowcount ; i++) {
  5233. var nRow = ds_temp.addRow();
  5234. ds_temp.setColumn(nRow,"bcno" ,ds_datagrid3.getColumn(i,"bcno"));
  5235. ds_temp.setColumn(nRow,"testmdlcd" ,ds_datagrid3.getColumn(i,"testmdlcd"));
  5236. ds_temp.setColumn(nRow,"lastreptdd" ,ds_datagrid3.getColumn(i,"lastreptdd"));
  5237. ds_temp.setColumn(nRow,"examgubun" ,ds_datagrid3.getColumn(i,"examgubun"));
  5238. ds_temp.setColumn(nRow,"level" ,ds_datagrid3.getColumn(i,"level"));
  5239. ds_temp.setColumn(nRow,"pid" ,ds_datagrid3.getColumn(i,"srchpid"));
  5240. ds_temp.setColumn(nRow,"instcd" ,ds_datagrid3.getColumn(i,"dutplceinstcd"));
  5241. ds_temp.setColumn(nRow,"prcpdd" ,ds_datagrid3.getColumn(i,"prcpdd"));
  5242. ds_temp.setColumn(nRow,"execprcpuniqno" ,ds_datagrid3.getColumn(i,"execprcpuniqno"));
  5243. ds_temp.setColumn(nRow,"check" ,ds_datagrid3.getColumn(i,"check"));
  5244. ds_temp.setColumn(nRow,"flag" ,"col");
  5245. }
  5246. var rCSV = dsf_getDsCSV(ds_temp);
  5247. ds_send.setColumn(0,"maindata",rCSV);
  5248. ds_subresultdetail1.enableevent = false;
  5249. var oParam = {};
  5250. oParam.id = "TRAER00850";
  5251. oParam.service = "examcureresultrefapp.RsltRef";
  5252. oParam.method = "reqGetRsltRefDetailList";
  5253. oParam.inds = "reqparam=ds_temp";
  5254. oParam.outds = "ds_subresultdetail1=getResultDetail";
  5255. oParam.async = false;
  5256. oParam.callback = "cf_TRAER00850";
  5257. tranf_submit(oParam);
  5258. ds_subresultdetail1.enableevent = true;
  5259. dsf_deleteDs("ds_temp");
  5260. /*
  5261. * 일자별 결과내역 그리드 세팅한다.
  5262. */
  5263. fSetSubDetailGrid();
  5264. }
  5265. }
  5266. /****************************************************************************************
  5267. * Function : lf_playAniLeft
  5268. * Description : 탭너비조절 애니메이션 실행
  5269. * Argument : objLComp
  5270. * : objRComp
  5271. * : fromV
  5272. * : toV
  5273. * return type :
  5274. * Creator :
  5275. ****************************************************************************************/
  5276. function lf_playAniLeft(objLComp,objRComp,fromV,toV,objLSub,objRSub) {
  5277. lf_stopPrevAnim(cani);
  5278. pani1.targetcomp = objLComp;
  5279. pani1.targetprop = "position.right";
  5280. pani1.fromvalue = fromV;
  5281. pani1.tovalue = toV;
  5282. pani1.interpolation = "Interpolation.linear";
  5283. pani2.targetcomp = objRComp;
  5284. pani2.targetprop = "position.left";
  5285. pani2.fromvalue = fromV;
  5286. pani2.tovalue = toV;
  5287. pani2.interpolation = "Interpolation.linear";
  5288. cani.addItem(pani1);
  5289. cani.addItem(pani2);
  5290. if(!utlf_isNull(objLSub)) {
  5291. pani3.targetcomp = objLSub;
  5292. pani3.targetprop = "position.right";
  5293. pani3.fromvalue = fromV;
  5294. pani3.tovalue = toV;
  5295. pani3.interpolation = "Interpolation.linear";
  5296. cani.addItem(pani3);
  5297. }
  5298. if(!utlf_isNull(objRSub)) {
  5299. pani3.targetcomp = objRSub;
  5300. pani3.targetprop = "position.left";
  5301. pani3.fromvalue = fromV;
  5302. pani3.tovalue = toV;
  5303. pani3.interpolation = "Interpolation.linear";
  5304. cani.addItem(pani3);
  5305. }
  5306. cani.duration = 500;
  5307. cani.run();
  5308. }
  5309. /****************************************************************************************
  5310. * Function : lf_stopPrevAnim
  5311. * Description : 애니메이션 실행을 위해 각 개체별 애니메이션 복합 애니메이션에 추가
  5312. * Argument :
  5313. * :
  5314. * return type :
  5315. * Creator :
  5316. ****************************************************************************************/
  5317. function lf_stopPrevAnim(compAnim) {
  5318. for(var i = 0; i < compAnim.getItemCount(); i++)
  5319. compAnim.deleteItem(i);
  5320. }
  5321. /****************************************************************************************
  5322. * Function : fGetWideListX2
  5323. * Description : 결과 조회 Grid 접기 Function
  5324. * Argument :
  5325. * :
  5326. * return type :
  5327. * Creator :
  5328. ****************************************************************************************/
  5329. function fGetWideListX2(tab1, grd1) {
  5330. if (group3.switch1.tabindex == 1) {
  5331. var extnGrdWidht = 840;
  5332. var extnGrdWidht2 = 830;
  5333. } else if (group3.switch1.tabindex == 0) {
  5334. var extnGrdWidht = 840;
  5335. var extnGrdWidht2 = 830;
  5336. } else if (group3.switch1.tabindex == 2) {
  5337. var extnGrdWidht = 305;
  5338. var extnGrdWidht2 = 300;
  5339. } else if (group3.switch1.tabindex == 3) {
  5340. var extnGrdWidht = group3.position.right-1;
  5341. var extnGrdWidht2 = group3.position.right-1;
  5342. }
  5343. tab1.position.width = extnGrdWidht;
  5344. grd1.position.width = extnGrdWidht2;
  5345. }
  5346. /****************************************************************************************
  5347. * Function : cf_TRAER00850
  5348. * Description : TRAER00850 콜백함수
  5349. * Argument :
  5350. * :
  5351. * return type :
  5352. * Creator :
  5353. ****************************************************************************************/
  5354. function cf_TRAER00850_1(sSvcId, nErrorCode, sErrorMsg) {
  5355. if(nErrorCode < 0) {
  5356. return;
  5357. } else {
  5358. /*//sysf_trace(ds_getResultDetail.saveXML());*/
  5359. ds_getResultDetail.updateColID("pacsno","testcd");
  5360. ds_getResultDetail.updateColID("spcno" ,"bcno");
  5361. ds_getResultDetail.addColumn("check","string");
  5362. dsf_setDefaultVal(ds_getResultDetail,"check:N");
  5363. if(utlf_isNull(ds_getResultDetail.getColumnInfo("img"))) {
  5364. ds_getResultDetail.addColumn("img","string");
  5365. ds_getResultDetail.addColumn("imgcnts","byte");
  5366. }
  5367. dsf_copyDs(ds_subresultdetail1,ds_getResultDetail,"after");
  5368. this.group3.switch1.case1.grd_maindaily.redraw();
  5369. /* 테스트 시작 */
  5370. var arrColInfo = [{col:"bcno" , type:"string" , size:256}
  5371. ,{col:"testmdlcd" , type:"string" , size:256}
  5372. ,{col:"lastreptdd" , type:"string" , size:256}
  5373. ,{col:"examgubun" , type:"string" , size:256}
  5374. ,{col:"level" , type:"string" , size:256}
  5375. ,{col:"pid" , type:"string" , size:256}
  5376. ,{col:"instcd" , type:"string" , size:256}
  5377. ,{col:"prcpdd" , type:"string" , size:256}
  5378. ,{col:"execprcpuniqno" , type:"int" , size:256}
  5379. ,{col:"check" , type:"string" , size:256}
  5380. ,{col:"flag" , type:"string" , size:256}
  5381. ]
  5382. dsf_createDs("ds_temp1",arrColInfo,"true");
  5383. var lastcnt = 0;
  5384. var newrow;
  5385. if (nextcnt <ds_temp.rowcount )
  5386. {
  5387. if (nextcnt + 3 < ds_temp.rowcount)
  5388. {
  5389. for(var i=nextcnt; i < nextcnt + 3; i++)
  5390. {
  5391. newrow=ds_temp1.addRow();
  5392. ds_temp1.copyRow(newrow,ds_temp, i);
  5393. /*//sysf_trace(ds_temp1.saveXML());*/
  5394. lastcnt++;
  5395. }
  5396. nextcnt = nextcnt + lastcnt;
  5397. lastcnt = 0;
  5398. }
  5399. else
  5400. {
  5401. for(var i=nextcnt; i < ds_temp.rowcount; i++)
  5402. {
  5403. newrow=ds_temp1.addRow();
  5404. ds_temp1.copyRow(newrow,ds_temp, i);
  5405. lastcnt++;
  5406. }
  5407. nextcnt = nextcnt + lastcnt;
  5408. lastcnt = 0;
  5409. }
  5410. var oParam = {};
  5411. oParam.id = "TRAER00850";
  5412. oParam.service = "examcureresultrefapp.RsltRef";
  5413. oParam.method = "reqGetRsltRefDetailList";
  5414. oParam.inds = "reqparam=ds_temp1";
  5415. oParam.outds = "ds_getResultDetail=getResultDetail";
  5416. oParam.async = true;
  5417. oParam.progress = false;
  5418. oParam.callback = "cf_TRAER00850_1";
  5419. tranf_submit(oParam);
  5420. //model.refresh();
  5421. fSetSubDetailGrid(); //결과내역 그리드 세팅한다.
  5422. }
  5423. dsf_deleteDs("ds_temp1");
  5424. }
  5425. ////sysf_trace(ds_subresultdetail1.saveXML());
  5426. }
  5427. /****************************************************************************************
  5428. * Function : cf_TRAER00850_2
  5429. * Description : TRAER00850 콜백함수
  5430. * Argument :
  5431. * return type :
  5432. * Creator :
  5433. ****************************************************************************************/
  5434. function cf_TRAER00850_2(sSvcId, nErrorCode, sErrorMsg) {
  5435. if(nErrorCode > -1) {
  5436. if(utlf_isNull(this.objects["ds_getResultDetail" + String(sSvcId).slice(10)])) {
  5437. sysf_trace("reqGetRsltRefDetailList 실행후 DS 미생성 - Return : "+"ds_getResultDetail" + String(sSvcId).slice(10));
  5438. return;
  5439. }
  5440. this.objects["ds_getResultDetail" + String(sSvcId).slice(10)].addColumn("check","string");
  5441. dsf_setDefaultVal(this.objects["ds_getResultDetail" + String(sSvcId).slice(10)],"check:N");
  5442. this.objects["ds_getResultDetail" + String(sSvcId).slice(10)].addColumn("rownum","int");
  5443. for(var i=0;i<this.objects["ds_getResultDetail" + String(sSvcId).slice(10)].rowcount;i++) {
  5444. this.objects["ds_getResultDetail" + String(sSvcId).slice(10)].setColumn(i,"rownum",i)
  5445. }
  5446. if(utlf_isNull(ds_getResultDetail.getColumnInfo("img"))) {
  5447. trace(" AAAAAAAAAAAAAAAAAAAAAA ");
  5448. this.objects["ds_getResultDetail" + String(sSvcId).slice(10)].addColumn("img","string");
  5449. this.objects["ds_getResultDetail" + String(sSvcId).slice(10)].addColumn("imgcnts","byte");
  5450. }
  5451. this.objects["ds_getResultDetail" + String(sSvcId).slice(10)].updateColID("pacsno","testcd");
  5452. this.objects["ds_getResultDetail" + String(sSvcId).slice(10)].updateColID("spcno" ,"bcno");
  5453. ds_subresultdetail1_temp.appendData(this.objects["ds_getResultDetail" + String(sSvcId).slice(10)],true);
  5454. dsf_deleteDs("ds_getResultDetail" + String(sSvcId).slice(10));
  5455. }
  5456. rowidx2++;
  5457. trace("11 rowidx1 : " + rowidx1);
  5458. trace("11 rowidx2 : " + rowidx2);
  5459. if(rowidx1 == rowidx2) {
  5460. ds_subresultdetail1.appendData(ds_subresultdetail1_temp,true);
  5461. ds_subresultdetail1.keystring ="S:rowidx+rownum";
  5462. fSetSubDetailGrid(); //결과내역 그리드 세팅한다.
  5463. ds_subresultdetail1.enableevent = true;
  5464. }
  5465. }
  5466. /****************************************************************************************
  5467. * Function : fGetPatInfo
  5468. * Description : 환자조회 팝업 오픈
  5469. * Argument :
  5470. * :
  5471. * return type :
  5472. * Creator :
  5473. ****************************************************************************************/
  5474. function fGetPatInfo() {
  5475. // var objArg = new Object();
  5476. // objArg.arg_ds_send = ds_singdata;
  5477. frmf_modal("SPPMC02500","SPPMC02500", "", "", "", 200, 200, "", "", "", "", "", "M");
  5478. ds_singdata.setColumn(0,"srchpid",ds_patinfolist.getColumn(0,"pid"));
  5479. frmf_setInputNodeCurPid(group3.grp_sea.ipt_pid);
  5480. if ( group3.switch1.tabindex == 0 || group3.switch1.tabindex == 1 ) {
  5481. fReqGetPatComnInfo("ds_req", ds_singdata.getColumn(0,"srchpid")); //환자기본정보 조회
  5482. var e = new ClickEventInfo;
  5483. frmf_inputEnterKey("group3.button10", "onclick", e );
  5484. } else {
  5485. var e = new ClickEventInfo;
  5486. frmf_inputEnterKey("group3.grp_sea.btn_srch", "onclick", e );
  5487. }
  5488. if(group3.div_lis.visible = true){ //20120406
  5489. group3.div_lis.visible = false;
  5490. }
  5491. if(frmf_findPopup("SPMMI00200")) frmf_findPopup("SPMMI00200").close();
  5492. if(frmf_findPopup("SPMMI00300")) frmf_findPopup("SPMMI00300").close();
  5493. }
  5494. /****************************************************************************************
  5495. * Function : fGetNSeriesResultRef
  5496. * Description : 진검분류별 누적 조회 Function
  5497. * Argument :
  5498. * :
  5499. * return type :
  5500. * Creator :
  5501. ****************************************************************************************/
  5502. function fGetNSeriesResultRef(){
  5503. if(utlf_isNull(ds_singdata.getColumn(0,"srchpid"))){
  5504. sysf_messageBox("등록번호를","C001","") ;
  5505. return;
  5506. }
  5507. fInitDatagrid2();
  5508. // LIS Map File을 적용하기 위해 세팅한다.
  5509. ds_setdata.setColumn(0,"startdd" ,ds_singdata.getColumn(0,"srchdate1"));
  5510. ds_setdata.setColumn(0,"enddd" ,ds_singdata.getColumn(0,"srchdate2"));
  5511. ds_setdata.setColumn(0,"pid" ,ds_singdata.getColumn(0,"srchpid"));
  5512. ds_setdata.setColumn(0,"setno" ,"");
  5513. ds_setdata.setColumn(0,"tclscdlist" ,group3.cmb_mdl_hidden.value);
  5514. ds_setdata.setColumn(0,"workflag" ,"1");
  5515. var oParam = {};
  5516. oParam.id = "TRLLP01201";
  5517. oParam.service = "refprintmngtapp.GeneralRefPrintMngt";
  5518. oParam.method = "reqGetAcmlTestList2";
  5519. oParam.inds = "cond=ds_setdata cond2=ds_data1";
  5520. oParam.outds = "ds_row=row ds_header=header ds_patinfo=patinfo";
  5521. oParam.async = false;
  5522. oParam.callback = "";
  5523. tranf_submit(oParam);
  5524. if(ds_row.rowcount == 0) return;
  5525. var gridCaption = ds_header.getColumn(0,"caption"); // model.getValue("/root/hidden/temp/rsltlist/header/caption");
  5526. var gridCaptionArray= gridCaption.split("^");
  5527. var gridColRef = ds_header.getColumn(0,"colref"); // model.getValue("/root/hidden/temp/rsltlist/header/colref");
  5528. var gridColRefArray = gridColRef.split("^");
  5529. var gridColType = ds_header.getColumn(0,"type"); // model.getValue("/root/hidden/temp/rsltlist/header/type");
  5530. var gridColTypeArray= gridColType.split("^");
  5531. group3.datagrid2.insertContentsRow("Head",0);
  5532. group3.datagrid2.insertContentsRow("Body",0);
  5533. for (var i = 0; i < gridColRefArray.length; i++ ) {
  5534. if (gridColRefArray[i].substr(0, 4) == "rslt") {
  5535. var tmpstr = "rsltORD".concat(gridColRefArray[i].substr(4));
  5536. gridColRefArray[i] = tmpstr;
  5537. }
  5538. group3.datagrid2.insertContentsCol("Body", i);
  5539. group3.datagrid2.setCellProperty("Head", i, "text", gridCaptionArray[i]);
  5540. group3.datagrid2.setCellProperty("Body", i, "text", "bind:"+gridColRefArray[i]);
  5541. }
  5542. group3.datagrid2.deleteContentsCol(gridColRefArray.length);
  5543. group3.datagrid2.redraw();
  5544. group3.datagrid2.insertContentsCol("Body", 0);
  5545. group3.datagrid2.setFormatColProperty(0,"size",22);
  5546. group3.datagrid2.setFormatColProperty(1,"size",22);
  5547. group3.datagrid2.setFormatColProperty(2,"size",100);
  5548. group3.datagrid2.setFormatColProperty(3,"size",80);
  5549. group3.datagrid2.setFormatColProperty(4,"size",80);
  5550. group3.datagrid2.setFormatRowProperty(0,"size",35);
  5551. group3.datagrid2.setCellProperty("Body", 0, "text" , "expr:currow+1");
  5552. group3.datagrid2.setCellProperty("Body", 0, "background" , "URL('theme://images/bg_gridHead.png') stretch 3,3");
  5553. group3.datagrid2.setCellProperty("Body", 0, "background2" , "URL('theme://images/bg_gridHead.png') stretch 3,3");
  5554. group3.datagrid2.setCellProperty("Body", 0, "selectbackground" , "URL('theme://images/bg_gridHead.png') stretch 3,3");
  5555. group3.datagrid2.setCellProperty("Head", 1, "displaytype" , "checkbox");
  5556. group3.datagrid2.setCellProperty("Head", 1, "edittype" , "checkbox");
  5557. group3.datagrid2.setCellProperty("Body", 1, "displaytype" , "checkbox");
  5558. group3.datagrid2.setCellProperty("Body", 1, "edittype" , "checkbox");
  5559. grdf_initGrid(group3.datagrid2);
  5560. for(var i = 2 ; i < 5 ; i++) {
  5561. group3.datagrid2.setCellProperty("Body",i,"style","align:left;padding:0 2 0 2");
  5562. }
  5563. for(var i = 5 ; i < group3.datagrid2.getCellCount("Head") ; i++ ) {
  5564. group3.datagrid2.setFormatColProperty(i,"size",80);
  5565. }
  5566. fReMake();
  5567. fSetUserFrozenColInit();
  5568. }
  5569. /****************************************************************************************
  5570. * Function : group3_cmb_mdl_onitemchanged
  5571. * Description : 유저컴포넌트 2column 콤보 이벤트 설정
  5572. * Argument :
  5573. * :
  5574. * return type :
  5575. * Creator :
  5576. ****************************************************************************************/
  5577. function group3_cmb_mdl_onitemchanged(e) {
  5578. group3.cmb_mdl_hidden.value = e.postvalue;
  5579. group3.switch1.enableevent = false;
  5580. group3.switch1.tabindex = 2;
  5581. group3.switch1.enableevent = true;
  5582. group3.grd_subresultdetail1.visible = false;
  5583. group3.grd_subresultdetail2.visible = false;
  5584. group3.datagrid2.visible = true;
  5585. fGetWideListX2(group3.switch1, group3.switch1.case1.grd_maindaily);
  5586. fGetNSeriesResultRef();
  5587. //진검분류별 기준자료 조회
  5588. ds_setdata.setColumn(0,"setno","");
  5589. ds_setdata.setColumn(0,"workflag","");
  5590. fSetUserFrozenColInit(); //사용자 환경설정 조회기준 세팅(통합검사결과조회 틀고정 기본 설정)
  5591. }
  5592. /****************************************************************************************
  5593. * Function : fSetVertAddResult
  5594. * Description : 세로 누적 결과 조회 Function
  5595. * Argument : refgbn : 그래프 구분"1" : 텍스트 결과 내역에서 호출 , "2" : 수치 누적결과 내역에서 호출
  5596. * return type :
  5597. * Creator :
  5598. ****************************************************************************************/
  5599. function fSetVertAddResult(refgbn) {
  5600. var cnt = 0;
  5601. var testcd = "";
  5602. ds_vertaddresult.clearData();
  5603. if ( refgbn == "1" ) {
  5604. var srchLength1 = this.ds_subresultdetail1.rowcount ;
  5605. for ( var i = 0; i < srchLength1; i++ ) {
  5606. if (ds_subresultdetail1.getColumn(i,"check") == "Y" ) {
  5607. cnt++;
  5608. }
  5609. }
  5610. //sysf_trace("cnt==>" + cnt);
  5611. if ( cnt == 1 ) {
  5612. // 체크한 로우의 검사코드를 추출한다.
  5613. for ( var j =0; j < srchLength1; j++ ) {
  5614. if (ds_subresultdetail1.getColumn(j,"check") == "Y" ) {
  5615. testcd = ds_subresultdetail1.getColumn(j,"prcpcd").getTrim();
  5616. }
  5617. }
  5618. }else {
  5619. sysf_messageBox("[세로누적조회(진검,미생물,핵의학체외)] 검사항목 1건에 대해서만 조회 가능합니다.","I999");
  5620. return "0";
  5621. }
  5622. if ( testcd == "") return "0";
  5623. ds_vertaddresult.addRow();
  5624. ds_vertaddresult.setColumn(0,"pid",ds_patinfolist.getColumn(0,"pid"));
  5625. ds_vertaddresult.setColumn(0,"hngnm",ds_patinfolist.getColumn(0,"hngnm"));
  5626. ds_vertaddresult.setColumn(0,"sex",ds_patinfolist.getColumn(0,"sex"));
  5627. ds_vertaddresult.setColumn(0,"age",ds_patinfolist.getColumn(0,"age"));
  5628. ds_vertaddresult.setColumn(0,"testcd",testcd);
  5629. ds_vertaddresult.setColumn(0,"startdd",ds_singdata.getColumn(0,"srchdate1"));
  5630. ds_vertaddresult.setColumn(0,"enddd",ds_singdata.getColumn(0,"srchdate2"));
  5631. var objArg = new Object();
  5632. objArg.arg_ds_init_baseinfo = ds_vertaddresult;
  5633. // frmf_modal("SPMMI00300","SPMMI00300", objArg, "", 1, 20, 248, "", "", "", "", "", "M");
  5634. frmf_open("SPMMI00300","SPMMI00300", objArg, "", 1, 20, 248, "", "", "", "", "", "M");
  5635. }
  5636. if ( refgbn == "2" ) {
  5637. var srchLength1 = ds_row.rowcount;
  5638. for ( var i = 0; i < srchLength1; i++ ) {
  5639. if (ds_row.getColumn(i,"chk") == 1 ) {
  5640. cnt++;
  5641. }
  5642. }
  5643. if ( cnt == 1 ) {
  5644. // 체크한 로우의 검사코드를 추출한다.
  5645. for ( var j = 0; j < srchLength1; j++ ) {
  5646. if (ds_row.getColumn(j,"chk") == 1 ) {
  5647. testcd = ds_row.getColumn(j,"testcd").getTrim();
  5648. }
  5649. }
  5650. }else {
  5651. sysf_messageBox("[세로누적조회(진검,미생물,핵의학체외)] 검사항목 1건에 대해서만 조회 가능합니다.","I999");
  5652. return "0";
  5653. }
  5654. if ( testcd == "") return "0";
  5655. ds_vertaddresult.addRow();
  5656. ds_vertaddresult.setColumn(0,"pid",ds_patinfolist.getColumn(0,"pid"));
  5657. ds_vertaddresult.setColumn(0,"hngnm",ds_patinfolist.getColumn(0,"hngnm"));
  5658. ds_vertaddresult.setColumn(0,"sex",ds_patinfolist.getColumn(0,"sex"));
  5659. ds_vertaddresult.setColumn(0,"age",ds_patinfolist.getColumn(0,"age"));
  5660. ds_vertaddresult.setColumn(0,"testcd",testcd);
  5661. ds_vertaddresult.setColumn(0,"startdd",ds_singdata.getColumn(0,"srchdate1"));
  5662. ds_vertaddresult.setColumn(0,"enddd",ds_singdata.getColumn(0,"srchdate2"));
  5663. var objArg = new Object();
  5664. objArg.arg_ds_init_baseinfo = ds_vertaddresult;
  5665. // frmf_modal("SPMMI00300","SPMMI00300", objArg, "", 1, 20, 248, "", "", "", "", "", "M");
  5666. frmf_open("SPMMI00300","SPMMI00300", objArg, "", 1, 20, 248, "", "", "", "", "", "M");
  5667. }
  5668. }
  5669. /****************************************************************************************
  5670. * Function : fClickCADIACPatResultList
  5671. * Description : CadiacPACS 등록번호 연동
  5672. * Argument : grdobj : 그리드
  5673. * return type :
  5674. * Creator :
  5675. ****************************************************************************************/
  5676. function fClickCADIACPatResultList(grdobj) {
  5677. var pid = ds_singdata.getColumn(0,"srchpid");
  5678. zepfCadiacPacsPatientID(pid);
  5679. }
  5680. /****************************************************************************************
  5681. * Function : fClickCADIACPatReportList
  5682. * Description : CadiacPACS 등록번호 연동
  5683. * Argument : grdobj : 그리드
  5684. * return type :
  5685. * Creator :
  5686. ****************************************************************************************/
  5687. function fClickCADIACPatReportList(grdobj) {
  5688. var pid = ds_singdata.getColumn(0,"srchpid");
  5689. zepfCadiacPacsRptPatientID(pid);
  5690. }
  5691. /****************************************************************************************
  5692. * Function : fSetAddMicroResult
  5693. * Description : 미생물 누적 결과 조회 Function
  5694. * Argument :
  5695. * return type :
  5696. * Creator :
  5697. ****************************************************************************************/
  5698. function fSetAddMicroResult() {
  5699. if ( ds_singdata.getColumn(0,"srchpid") == "" ) {
  5700. sysf_messageBox("[미생물누적조회] 기능은 환자번호가 체크되어야 합니다.","I999");
  5701. return "0";
  5702. }
  5703. ds_addmicroresult.clearData();
  5704. ds_addmicroresult.addRow();
  5705. ds_addmicroresult.setColumn(0,"pid", ds_singdata.getColumn(0,"srchpid") );
  5706. ds_addmicroresult.setColumn(0,"usdd", ds_singdata.getColumn(0,"srchdate1") );
  5707. ds_addmicroresult.setColumn(0,"uedd", ds_singdata.getColumn(0,"srchdate2") );
  5708. /*//sysf_trace(ds_addmicroresult.saveXML());*/
  5709. var objArg = new Object();
  5710. objArg.arg_ds_send = ds_addmicroresult;
  5711. frmf_modal("SMMMI00200","SMMMI00200", objArg, "", 1, 345, 250, "", "", "", "", "", "P");
  5712. }
  5713. /****************************************************************************************
  5714. * Function : fClickCDISResultList
  5715. * Description : Daily 및 Serious CDIS 결과 조회 Function
  5716. * Argument : grdobj : 그리드
  5717. * return type :
  5718. * Creator :
  5719. ****************************************************************************************/
  5720. function fClickCDISResultList(grdobj:Grid) {
  5721. var rowidx = grdobj.currentrow;
  5722. ds_send_iemr.clearData();
  5723. if ( group3.switch1.tabindex == 1 ) {
  5724. var prcpdd = "";
  5725. var execprcpuniqno = "";
  5726. var instcd = "";
  5727. var flag = "";
  5728. // 진검, 병리,미생물, 핵체외 제외한 검사에 대해서 CDIS이미지 연동을 실시한다.
  5729. if ( ds_maindailylist.getColumn(rowidx,"execprcpuniqno") != '0' ) {
  5730. var srchLength1 = ds_maindailylist.rowcount;
  5731. for ( var i = 0; i < srchLength1; i++ ) {
  5732. if (ds_maindailylist.getColumn(i, "check") == "Y" ) {
  5733. prcpdd += ds_maindailylist.getColumn(i,"prcpdd").getTrim()+",";
  5734. execprcpuniqno += ds_maindailylist.getColumn(i,"execprcpuniqno").getTrim()+",";
  5735. instcd += sysf_getUserInfo("dutplceinstcd").getTrim()+",";
  5736. flag = "Y";
  5737. }
  5738. }
  5739. if ( flag == "Y" ) {
  5740. var sprcpdd = aezfTrim(prcpdd, 44);
  5741. var sexecprcpuniqno = aezfTrim(execprcpuniqno, 44);
  5742. var sinstcd = aezfTrim(instcd, 44);
  5743. if(ds_send_iemr.rowcount == 0)
  5744. {
  5745. ds_send_iemr.addRow();
  5746. }
  5747. ds_send_iemr.setColumn(0,"cmc_orddate", sprcpdd);
  5748. ds_send_iemr.setColumn(0,"cmc_orderseqno", sexecprcpuniqno);
  5749. ds_send_iemr.setColumn(0,"cmc_spcid", sinstcd);
  5750. var objArg = new Object();
  5751. objArg.arg_ds_hidden_temp = ds_send_iemr; // SSMRC03130 화면 수정후 적용
  5752. frmf_open("SSMRC03130", "SSMRC03130", objArg, null, null, null, null, null, null, null, null, null, "M");
  5753. }
  5754. }
  5755. }
  5756. }
  5757. /****************************************************************************************
  5758. * Function : fClickPACSOrdPatResultList
  5759. * Description : Daily 및 Serious PACS OrdPat 결과 조회 Function
  5760. * Argument : grdobj : 그리드
  5761. * return type :
  5762. * Creator :
  5763. ****************************************************************************************/
  5764. function fClickPACSOrdPatResultList(grdobj:Grid) {
  5765. var rowidx = grdobj.currentrow;
  5766. if(rowidx < 0) rowidx = 0;
  5767. //trace("rowidx" + rowidx);
  5768. if ( group3.switch1.tabindex == 1 ) {
  5769. if ( utlf_isNull(ds_maindailylist.getColumn(rowidx,"execprcpuniqno")) ||
  5770. ds_maindailylist.getColumn(rowidx,"execprcpuniqno") == 0 ) {
  5771. sysf_messageBox("PACS Viewer와 연동된 검사가 아닙니다. (유일번호가 0이거나 NULL입니다)","I999");
  5772. return;
  5773. }
  5774. var pacsorderid = ds_maindailylist.getColumn(rowidx,"prcpdd")+ds_maindailylist.getColumn(rowidx,"execprcpuniqno");
  5775. var pid = ds_maindailylist.getColumn(rowidx,"pid");
  5776. var prcpdd = ds_maindailylist.getColumn(rowidx,"prcpdd");
  5777. var execprcpuniqno = ds_maindailylist.getColumn(rowidx,"execprcpuniqno");
  5778. var instcd = ds_globalinstance.getColumn(0,"instance2");
  5779. }
  5780. //trace("2");
  5781. if ( group3.switch1.tabindex == 0 ) {
  5782. if ( utlf_isNull(ds_maindailylist.getColumn(rowidx,"execprcpuniqno")) ||
  5783. ds_maindailylist.getColumn(rowidx,"execprcpuniqno") == 0 ) {
  5784. sysf_messageBox("PACS Viewer와 연동된 검사가 아닙니다. (유일번호가 0이거나 NULL입니다)","I999");
  5785. return;
  5786. }
  5787. var pacsorderid = ds_maindailylist.getColumn(rowidx,"prcpdd")+ds_maindailylist.getColumn(rowidx,"execprcpuniqno");
  5788. var pid = ds_maindailylist.getColumn(rowidx,"pid");
  5789. var prcpdd = ds_maindailylist.getColumn(rowidx,"prcpdd");
  5790. var execprcpuniqno = ds_maindailylist.getColumn(rowidx,"execprcpuniqno");
  5791. var instcd = ds_globalinstance.getColumn(0,"instance2");
  5792. }
  5793. //trace("3");
  5794. // PACS 맵핑테이블 조회, Old Key와 일치하면 Old Key Pacs View 호출
  5795. var arrColInfo = [{col:"prcpdd" , type:"string" , size:256 ,val:prcpdd}
  5796. ,{col:"execprcpuniqno" , type:"string" , size:256, val:execprcpuniqno}
  5797. ,{col:"instcd" , type:"string" , size:256, val:instcd}
  5798. ,{col:"pid" , type:"string" , size:256, val:pid}];
  5799. dsf_createDsRow("ds_pacsdata",arrColInfo,"true");
  5800. arrColInfo = {col:"oldprcpkey" , type:"string" , size:256 };
  5801. dsf_createDs("ds_initpacskey",arrColInfo,"false");
  5802. var oParam = {};
  5803. oParam.id = "TRAER00818";
  5804. oParam.service = "examcureresultrefapp.RsltRef";
  5805. oParam.method = "reqGetRsltRefPacsOldKeyList";
  5806. oParam.inds = "reqparam=ds_pacsdata";
  5807. oParam.outds = "ds_initpacskey=getresultlist";
  5808. oParam.async = false;
  5809. oParam.callback = "cf_TRAER00818";
  5810. tranf_submit(oParam);
  5811. //trace("4");
  5812. if ( ds_initpacskey.rowCount > 0 ) {
  5813. pacsorderid = ds_initpacskey.getColumn(0,"oldprcpkey");
  5814. zepfpacsAll(pacsorderid, pid);
  5815. }else {
  5816. zepfpacsAll(pacsorderid, pid);
  5817. }
  5818. }
  5819. /****************************************************************************************
  5820. * Function : cf_TRAER00818
  5821. * Description : TRAER00818 콜백함수
  5822. * Argument :
  5823. * return type :
  5824. * Creator :
  5825. ****************************************************************************************/
  5826. function cf_TRAER00818(sSvcId, nErrorCode, sErrorMsg) {
  5827. if(nErrorCode < 0) return;
  5828. }
  5829. /****************************************************************************************
  5830. * Function : fClickPACSPatResultList
  5831. * Description : Daily 및 Serious PACS Pat 결과 조회 Function , 사용안함
  5832. * Argument : grdobj : 그리드
  5833. * return type :
  5834. * Creator :
  5835. ****************************************************************************************/
  5836. function fClickPACSPatResultList(grdobj) {
  5837. var pid = ds_singdata.getColumn(0,"srchpid");
  5838. zepfpacsPatientID(pid);
  5839. }
  5840. /****************************************************************************************
  5841. * Function : fSetAddResult
  5842. * Description : 누적 결과 조회 Function
  5843. * Argument : refgbn : 텍스트/그래프 구분 (1 : 2)
  5844. * return type :
  5845. * Creator :
  5846. ****************************************************************************************/
  5847. function fSetAddResult(refgbn) {
  5848. if (utlf_isNull(ds_singdata.getColumn(0,"srchpid"))) {
  5849. sysf_messageBox("[누적조회][그래프] 기능은 환자번호가 체크되어야 합니다.","I999");
  5850. return "0";
  5851. }
  5852. ds_hidden_addresult.clearData();
  5853. ds_hidden_addresult_tclscdlist.clearData();
  5854. ds_hidden_addresult.addRow();
  5855. ds_hidden_addresult_tclscdlist.addRow();
  5856. var prcpcd = "";
  5857. var prcpnm = "";
  5858. var prcpcd2 = "";
  5859. var prcpnm2 = "";
  5860. var pnm = "";
  5861. var pnm2 = "";
  5862. var flag = "";
  5863. // 처방구분코드가 진검:'C' , 병리:'M' 인 경우에만 누적결과 조회를 실행한다.
  5864. for ( var i = 0; i <= ds_subresultdetail1.rowcount; i++ ) {
  5865. if (ds_subresultdetail1.getColumn(i,"check") == "Y" ) { //체크된 것중에 'C', 'M' 아닌것이 포함된경우 break;
  5866. if (ds_subresultdetail1.getColumn(i,"judgmark") == "C" || // 체크된 것중에 'C', 'M' 포함된경우
  5867. ds_subresultdetail1.getColumn(i,"judgmark") == "M" ) {
  5868. prcpnm = aezfTrim(ds_subresultdetail1.getColumn(i,"prcpnm").getTrim(), 12288);
  5869. prcpnm2 = aezfTrim(ds_subresultdetail1.getColumn(i,"prcpnm").getTrim(), 12288);
  5870. prcpcd += "'"+ds_subresultdetail1.getColumn(i,"prcpcd").getTrim()+"'"+",";
  5871. prcpnm += ",";
  5872. prcpcd2 += ds_subresultdetail1.getColumn(i,"prcpcd").getTrim()+"▦";
  5873. prcpnm2 += "▦";
  5874. pnm += prcpnm;
  5875. pnm2 += prcpnm2;
  5876. flag = "Y";
  5877. }
  5878. }
  5879. }
  5880. if ( flag == "Y" ) {
  5881. ds_hidden_addresult.setColumn(0,"pid", ds_singdata.getColumn(0,"srchpid"));
  5882. ds_hidden_addresult.setColumn(0,"startdd", ds_singdata.getColumn(0,"srchdate1"));
  5883. ds_hidden_addresult.setColumn(0,"enddd", ds_singdata.getColumn(0,"srchdate2"));
  5884. var prcpcd = aezfTrim(prcpcd, 44);
  5885. var dd = aezfTrim(pnm, 12288);
  5886. var prcpnm = aezfTrim(dd, 44);
  5887. var prcpcd2 = aezfTrim(prcpcd2, 9638);
  5888. var cc = aezfTrim(pnm2, 9638);
  5889. var prcpnm2 = aezfTrim(cc, 12288);
  5890. ds_hidden_addresult_tclscdlist.setColumn(0,"tclscdlist", prcpcd );
  5891. ds_hidden_addresult_tclscdlist.setColumn(0,"tclsnmlist", prcpnm );
  5892. ds_hidden_addresult_tclscdlist.setColumn(0,"tclscdlist2", prcpcd2);
  5893. ds_hidden_addresult_tclscdlist.setColumn(0,"tclsnmlist2", prcpnm2);
  5894. if ( refgbn == "1" )
  5895. ds_hidden_addresult.setColumn(0,"refgbn","1");
  5896. else if ( refgbn == "2" )
  5897. ds_hidden_addresult.setColumn(0,"refgbn","2");
  5898. var objArg = new Object();
  5899. objArg.arg_ds_hidden_ref = ds_hidden_addresult;
  5900. objArg.arg_ds_hidden_ref_tclscdlist = ds_hidden_addresult_tclscdlist;
  5901. // frmf_modal("SPMMI00200", "SPMMI00200", objArg, "", 20, 248, "", "", "", "", "", "", "M");
  5902. frmf_open("SPMMI00200", "SPMMI00200", objArg, "", 20, 248, "", "", "", "", "", "", "M");
  5903. }else {
  5904. sysf_messageBox("결과내역 체크를 하지 않았거나 진단검사/핵의학체외 검사에 대한 누적조회입니다.","I999");
  5905. return;
  5906. }
  5907. }
  5908. /****************************************************************************************
  5909. * Function : fSetAddSPCResult
  5910. * Description : SET별 누적 결과 조회 Function
  5911. * Argument : refgbn : 텍스트/그래프 구분 (1 : 2)
  5912. * return type :
  5913. * Creator :
  5914. ****************************************************************************************/
  5915. function fSetAddSPCResult(refgbn) {
  5916. if ( utlf_isNull(ds_singdata.getColumn(0,"srchpid")) ) {
  5917. sysf_messageBox("[누적조회][그래프] 기능은 환자번호가 체크되어야 합니다.","I999");
  5918. return "0";
  5919. }
  5920. ds_hidden_addresult.clearData(); ds_hidden_addresult.addRow();
  5921. var prcpcd = "";
  5922. var prcpnm = "";
  5923. var prcpcd2 = "";
  5924. var prcpnm2 = "";
  5925. var pnm = "";
  5926. var pnm2 = "";
  5927. var flag = "";
  5928. for ( var i = 0; i < ds_row.rowcount; i++ ) {
  5929. if (ds_row.getColumn(i,"chk") == 1 ) { //체크된 것중에 'C', 'M' 아닌것이 포함된경우 break;
  5930. prcpnm = aezfTrim(ds_row.getColumn(i,"tclsscrnnm").getTrim(), 12288);
  5931. prcpnm2 = aezfTrim(ds_row.getColumn(i,"tclsscrnnm").getTrim(), 12288);
  5932. prcpcd += "'"+ds_row.getColumn(i,"testcd").getTrim()+"'"+",";
  5933. prcpnm += ",";
  5934. prcpcd2 += ds_row.getColumn(i,"testcd").getTrim()+"▦";
  5935. prcpnm2 += "▦";
  5936. pnm += prcpnm;
  5937. pnm2 += prcpnm2;
  5938. flag = "Y";
  5939. }
  5940. }
  5941. if ( flag == "Y" ) {
  5942. ds_hidden_addresult.setColumn(0,"pid" , ds_singdata.getColumn(0,"srchpid") );
  5943. ds_hidden_addresult.setColumn(0,"startdd", ds_singdata.getColumn(0,"srchdate1") );
  5944. ds_hidden_addresult.setColumn(0,"enddd" , ds_singdata.getColumn(0,"srchdate2") );
  5945. // 44:, 12288:tab 9638:▦
  5946. var prcpcd = aezfTrim(prcpcd, 44);
  5947. var dd = aezfTrim(pnm, 12288);
  5948. var prcpnm = aezfTrim(dd, 44);
  5949. var prcpcd2 = aezfTrim(prcpcd2, 9638);
  5950. var cc = aezfTrim(pnm2, 9638);
  5951. var prcpnm2 = aezfTrim(cc, 12288);
  5952. ds_hidden_addresult_tclscdlist.setColumn(0,"tclscdlist", prcpcd );
  5953. ds_hidden_addresult_tclscdlist.setColumn(0,"tclsnmlist", prcpnm );
  5954. ds_hidden_addresult_tclscdlist.setColumn(0,"tclscdlist2", prcpcd2);
  5955. ds_hidden_addresult_tclscdlist.setColumn(0,"tclsnmlist2", prcpnm2);
  5956. if ( refgbn == "1" )
  5957. ds_hidden_addresult.setColumn(0,"refgbn", "1");
  5958. else if ( refgbn == "2" )
  5959. ds_hidden_addresult.setColumn(0,"refgbn", "2");
  5960. var objArg = new Object();
  5961. objArg.arg_ds_hidden_ref = ds_hidden_addresult;
  5962. objArg.arg_ds_hidden_ref_tclscdlist = ds_hidden_addresult_tclscdlist;
  5963. // frmf_modal("SPMMI00200","SPMMI00200", objArg, "", "", 20, 248, "", "", "", "", "", "M");
  5964. frmf_open("SPMMI00200","SPMMI00200", objArg, "", "", 20, 248, "", "", "", "", "", "M");
  5965. }else {
  5966. sysf_messageBox("결과내역 체크를 하지 않았거나 진단검사/핵의학체외 검사에 대한 누적조회입니다.","I999");
  5967. return;
  5968. }
  5969. }
  5970. /****************************************************************************************
  5971. * Function : fSetPopupMenu
  5972. * Description : 팝업메뉴 생성
  5973. * Argument :
  5974. * return type :
  5975. * Creator :
  5976. ****************************************************************************************/
  5977. function fSetPopupMenu() {
  5978. frmf_createPopupMenu("popmenuX"
  5979. ,"fPopupMenu"
  5980. ,arrMenu
  5981. );
  5982. frmf_createPopupMenu("popmenuG"
  5983. ,"fPopupMenu"
  5984. ,[{id: "clear" , level: "0", title: "체크박스해제"}
  5985. ,{id: "-" , level: "0", title: "-------------------"}
  5986. ,{id: "search_G" , level: "0", title: "[선택항목조회]"}
  5987. ,{id: "searchS" , level: "0", title: "[서식항목조회]_1건출력"}
  5988. ,{id: "searchM" , level: "0", title: "[서식항목조회]_연속출력"}
  5989. ]
  5990. );
  5991. frmf_createPopupMenu("popmenuB"
  5992. ,"fPopupMenu"
  5993. ,[{id: "clear" , level: "0", title: "체크박스해제"}
  5994. ,{id: "-" , level: "0", title: "-------------------"}
  5995. ,{id: "search_B" , level: "0", title: "[선택항목조회]"}
  5996. ,{id: "searchS" , level: "0", title: "[서식항목조회]_1건출력"}
  5997. ,{id: "searchM" , level: "0", title: "[서식항목조회]_연속출력"}
  5998. ,{id: "-" , level: "0", title: "-------------------"}
  5999. ]
  6000. );
  6001. frmf_createPopupMenu("popmenuC"
  6002. ,"fPopupMenu"
  6003. ,[{id: "copy", level: "0", title: "복사하기"}] //항목추가
  6004. );
  6005. }
  6006. /****************************************************************************************
  6007. * Function : fPopupMenu
  6008. * Description : 팝업메뉴 선택시 실행함수
  6009. * Argument :
  6010. * return type :
  6011. * Creator :
  6012. ****************************************************************************************/
  6013. function fPopupMenu(obj:PopupMenu, e:MenuClickEventInfo) {
  6014. if(e.id == "clear") {
  6015. fCheckCancel();
  6016. }
  6017. if(e.id == "search_B") {
  6018. fGetCheckedResultContinueList("B");
  6019. }
  6020. if(e.id == "simsa_R") { //20190311 kya 심사자료수집
  6021. fMianSimsaResult();
  6022. }
  6023. if(e.id == "simsa_V") { //20190311 kya 심사수집자료 보기
  6024. fMianSimsaResultView();
  6025. }
  6026. if(e.id == "search_G") {
  6027. fGetCheckedResultContinueList("G");
  6028. }
  6029. if(e.id == "searchS") {
  6030. fPopupXsltList();
  6031. }
  6032. if(e.id == "searchM") {
  6033. fPopupXsltContinueList2();
  6034. }
  6035. if(e.id == "copy") {
  6036. astgrid_gridcopy(gridObject);
  6037. }
  6038. if(e.id == "copy2") {
  6039. lf_copyResult(gridObject);
  6040. }
  6041. if(e.id == "fGetimg") {
  6042. fGetimg();
  6043. }
  6044. if(e.id == "fGetimg2") {
  6045. fGetimg2();
  6046. }
  6047. if(e.id == "fGetPatholimg") {
  6048. fGetPatholimg();
  6049. }
  6050. if(e.id == "fGetNNNimg") {
  6051. fGetNNNimg();
  6052. }
  6053. popupYn = "N";
  6054. }
  6055. /****************************************************************************************
  6056. * Function : fCheckCancel
  6057. * Description : 그리드 체크 해제
  6058. * Argument :
  6059. * return type :
  6060. * Creator :
  6061. ****************************************************************************************/
  6062. function fCheckCancel() {
  6063. for(var i = 0; i <= gridObject.rowcount; i++) {
  6064. objects[gridObject.binddataset].setColumn(i,"check","N");
  6065. }
  6066. gridObject = "";
  6067. }
  6068. /****************************************************************************************
  6069. * Function : fPopupXsltList
  6070. * Description : 결과 조회 디자인 결과내역 보기 Function
  6071. * Argument :
  6072. * return type :
  6073. * Creator :
  6074. ****************************************************************************************/
  6075. function fPopupXsltList() {
  6076. ds_send.setColumn(0,"val" ,"");
  6077. ds_send.setColumn(0,"formcd","");
  6078. var signstr = "";
  6079. if ( utlf_isNull(ds_maindailylist.getColumn(ds_maindailylist.rowposition,"signno"))) {
  6080. var signno = "";
  6081. var formcd = "";
  6082. }else {
  6083. var signno = ds_maindailylist.getColumn(ds_maindailylist.rowposition,"signno");
  6084. var formcd = ds_maindailylist.getColumn(ds_maindailylist.rowposition,"formcd");
  6085. }
  6086. if ( !utlf_isNull(signno) ) {
  6087. var signno1 = String(signno).split(",");
  6088. var formcd1 = String(formcd).split(",");
  6089. for (var k = 0; k < signno1.length; k++){
  6090. signstr += "E▦";
  6091. signstr += parseFloat(signno1[k])+"▦";
  6092. signstr += formcd1[k].getTrim()+"▩";
  6093. }
  6094. frmf_setParameter("SPMRI02400_prtrecinfo", signstr);
  6095. frmf_modal("SPMRI02400","SPMRI02400", "", "", "", "", "", "", "", "", "", "", "M");
  6096. } else {
  6097. sysf_messageBox("출력할 결과서식 정보가 존재하지 않습니다.","I999");
  6098. return;
  6099. }
  6100. }
  6101. /****************************************************************************************
  6102. * Function : fPopupXsltContinueList2
  6103. * Description : 결과 조회 디자인 결과내역 보기 Function
  6104. * Argument :
  6105. * :
  6106. * return type :
  6107. * Creator :
  6108. ****************************************************************************************/
  6109. function fPopupXsltContinueList2() {
  6110. ds_send.setColumn(0,"val" ,"");
  6111. ds_send.setColumn(0,"formcd","");
  6112. var srchLength1 = ds_maindailylist.rowcount;
  6113. var signno = 0;
  6114. var ckcnt = 0;
  6115. var formcd = "";
  6116. var signstr = "";
  6117. if ( parseInt(srchLength1) > 0 ) {
  6118. var arrexecprcpuniqno = new Array();
  6119. var arrsignno = new Array();
  6120. var pid;
  6121. var k = 0;
  6122. pid = ds_maindailylist.getColumn(0,"pid");
  6123. for ( var i = 0; i < parseInt(srchLength1); i++ ) {
  6124. check = ds_maindailylist.getColumn(i,"check");
  6125. if ( check == "Y" ) {
  6126. arrexecprcpuniqno[k] = ds_maindailylist.getColumn(i,"execprcpuniqno");
  6127. arrsignno[k] = ds_maindailylist.getColumn(i,"signno");
  6128. if (utlf_isNull(arrsignno[k])) {
  6129. arrsignno[k] ="0";
  6130. }
  6131. k = k+1;
  6132. }
  6133. }
  6134. dsf_makeValue(ds_send2,"pid" ,"string",pid);
  6135. dsf_makeValue(ds_send2,"execprcpuniqno" ,"string",arrexecprcpuniqno);
  6136. dsf_makeValue(ds_send2,"signno" ,"string",arrsignno);
  6137. var oParam = {};
  6138. oParam.id = "TRLLP01202";
  6139. oParam.service = "refprintmngtapp.GeneralRefPrintMngt";
  6140. oParam.method = "reqGetFormdata";
  6141. oParam.inds = "req=ds_send2";
  6142. oParam.outds = "ds_temp_singinfo=item";
  6143. oParam.async = false;
  6144. oParam.callback = "";
  6145. tranf_submit(oParam);
  6146. signstr = ds_temp_singinfo.getColumn(0,"signstr");
  6147. if ( k == 0 ) {
  6148. return true;
  6149. }
  6150. if ( !utlf_isNull(signstr) ) {
  6151. signstr = signstr +"▩"
  6152. frmf_setParameter("SPMRI02400_prtrecinfo", signstr);
  6153. var xpt = 50;
  6154. var ypt = 50;
  6155. frmf_modal("SPMRI02400","SPMRI02400", "", "", 2, xpt, ypt, "", "", "", "", "", "M");
  6156. }else {
  6157. sysf_messageBox("출력할 결과서식 정보가 존재하지 않습니다.","I999");
  6158. return;
  6159. }
  6160. }
  6161. }
  6162. /****************************************************************************************
  6163. * Function : astgrid_gridcopy
  6164. * Description : 그리드 내 선택된 내용 클립보드 복사
  6165. * Argument : gridObj : 그리드
  6166. * return type :
  6167. * Creator :
  6168. ****************************************************************************************/
  6169. function astgrid_gridcopy(gridObj) {
  6170. grdf_clipboardCopy(gridObj, "AST");
  6171. }
  6172. /****************************************************************************************
  6173. * Function : readPDfunc
  6174. * Description : 세트별 전체항목조회
  6175. * Argument :
  6176. * return type :
  6177. * Creator :
  6178. ****************************************************************************************/
  6179. function readPDfunc(){
  6180. var oParam = {};
  6181. oParam.id = "TRAER00817";
  6182. oParam.service = "examcureresultrefapp.RsltRef";
  6183. oParam.method = "reqGetTestPDSetList";
  6184. oParam.inds = "req=ds_singdata";
  6185. oParam.outds = "ds_prmsprcpsetlistall=prmsprcpsetlist";
  6186. oParam.async = false;
  6187. oParam.callback = "cf_TRAER00817";
  6188. tranf_submit(oParam);
  6189. ds_setdata.setColumn(0,"foldernm", "");
  6190. fInitDatagrid2();
  6191. }
  6192. /****************************************************************************************
  6193. * Function : cf_TRAER00817
  6194. * Description : TRAER00817 콜백함수
  6195. * Argument :
  6196. * return type :
  6197. * Creator :
  6198. ****************************************************************************************/
  6199. function cf_TRAER00817(sSvcId, nErrorCode, sErrorMsg) {
  6200. if(nErrorCode < 0) return;
  6201. }
  6202. /****************************************************************************************
  6203. * Function : fGetPDResultRef
  6204. * Description : 세트선택시 결과 조회
  6205. * Argument :
  6206. * return type :
  6207. * Creator :
  6208. ****************************************************************************************/
  6209. function fGetPDResultRef(){
  6210. if(utlf_isNull(ds_singdata.getColumn(0,"srchpid"))){
  6211. sysf_messageBox("등록번호를","C001","");
  6212. return;
  6213. }
  6214. fInitDatagrid2();
  6215. var vSelSlipcd = ds_hidden.getColumn("testmdllist");/* model.getvalue("/root/hidden/testmdllist");*/
  6216. if(!utlf_isNull(vSelSlipcd)) ds_ref.setColumn(0,"testmdllist" , vSelSlipcd.substring(0,vSelSlipcd.length -1));
  6217. else ds_ref.setColumn(0,"testmdllist","");
  6218. ds_send_data1.copyData(ds_ref);
  6219. var rowpos = ds_prmsprcpsetlistall.rowposition;
  6220. ds_setdata.setColumn(0,"setno" ,ds_prmsprcpsetlistall.getColumn(rowpos,"setno"));
  6221. // LIS Map File을 적용하기 위해 세팅한다.
  6222. ds_setdata.setColumn(0,"startdd", ds_singdata.getColumn(0,"srchdate1"));
  6223. ds_setdata.setColumn(0,"enddd" , ds_singdata.getColumn(0,"srchdate2"));
  6224. ds_setdata.setColumn(0,"pid" , ds_singdata.getColumn(0,"srchpid"));
  6225. dsf_setTypeFormat(ds_setdata, "setno:INT");
  6226. var oParam = {};
  6227. oParam.id = "TRLLP01201";
  6228. oParam.service = "refprintmngtapp.GeneralRefPrintMngt";
  6229. oParam.method = "reqGetAcmlTestList2";
  6230. oParam.inds = "cond=ds_setdata cond2=ds_send_data1";
  6231. oParam.outds = "ds_row=row ds_header=header ds_patinfo=patinfo";
  6232. oParam.async = false;
  6233. oParam.callback = "";
  6234. tranf_submit(oParam);
  6235. if(ds_row.rowcount == 0) return;
  6236. //ref 정보
  6237. var gridCaption = ds_header.getColumn(0,"caption");
  6238. var gridCaptionArray= gridCaption.split("^");
  6239. var gridColRef = ds_header.getColumn(0,"colref");
  6240. var gridColRefArray = gridColRef.split("^");
  6241. var gridColType = ds_header.getColumn(0,"type");
  6242. var gridColTypeArray= gridColType.split("^");
  6243. group3.datagrid2.insertContentsRow("Head",0);
  6244. group3.datagrid2.insertContentsRow("Body",0);
  6245. for (var i = 0; i < gridColRefArray.length; i++ ) {
  6246. if (gridColRefArray[i].substr(0, 4) == "rslt") {
  6247. var tmpstr = "rsltORD".concat(gridColRefArray[i].substr(4));
  6248. gridColRefArray[i] = tmpstr;
  6249. }
  6250. group3.datagrid2.insertContentsCol("Body", i);
  6251. group3.datagrid2.setCellProperty("Head", i, "text", gridCaptionArray[i]);
  6252. group3.datagrid2.setCellProperty("Body", i, "text", "bind:"+gridColRefArray[i]);
  6253. }
  6254. group3.datagrid2.deleteContentsCol(gridColRefArray.length);
  6255. group3.datagrid2.redraw();
  6256. group3.datagrid2.insertContentsCol("Body", 0);
  6257. group3.datagrid2.setFormatColProperty(0,"size",22);
  6258. group3.datagrid2.setFormatColProperty(1,"size",22);
  6259. group3.datagrid2.setFormatColProperty(2,"size",100);
  6260. group3.datagrid2.setFormatColProperty(3,"size",80);
  6261. group3.datagrid2.setFormatColProperty(4,"size",80);
  6262. group3.datagrid2.setFormatRowProperty(0,"size",35);
  6263. group3.datagrid2.setCellProperty("Body", 0, "text" , "expr:currow+1");
  6264. group3.datagrid2.setCellProperty("Body", 0, "background" , "URL('theme://images/bg_gridHead.png') stretch 3,3");
  6265. group3.datagrid2.setCellProperty("Body", 0, "background2" , "URL('theme://images/bg_gridHead.png') stretch 3,3");
  6266. group3.datagrid2.setCellProperty("Body", 0, "selectbackground" , "URL('theme://images/bg_gridHead.png') stretch 3,3");
  6267. group3.datagrid2.setCellProperty("Head", 1, "displaytype" , "checkbox");
  6268. group3.datagrid2.setCellProperty("Head", 1, "edittype" , "checkbox");
  6269. group3.datagrid2.setCellProperty("Body", 1, "displaytype" , "checkbox");
  6270. group3.datagrid2.setCellProperty("Body", 1, "edittype" , "checkbox");
  6271. //group3.datagrid2.setCellProperty("Body", 1, "expr" , "expr:(chk==&quot;true&quot;||chk==1)?1:0");
  6272. grdf_initGrid(group3.datagrid2);
  6273. for(var i = 2 ; i < 5 ; i++) {
  6274. group3.datagrid2.setCellProperty("Body",i,"style","align:left;padding:0 2 0 2");
  6275. }
  6276. for(var i = 5 ; i < group3.datagrid2.getCellCount("Head") ; i++ ) {
  6277. group3.datagrid2.setFormatColProperty(i,"size",80);
  6278. }
  6279. fReMake();
  6280. fSetUserFrozenColInit();
  6281. }
  6282. /****************************************************************************************
  6283. * Function : fSetGridColor
  6284. * Description : 세트결과조회 항목 그리드 설정
  6285. * Argument :
  6286. * return type :
  6287. * Creator :
  6288. ****************************************************************************************/
  6289. function fSetGridColor(){
  6290. for(var i = 1 ; i < group3.grd_subresultdetail2.getFormatColCount() ; i++) {
  6291. group3.grd_subresultdetail2.setCellProperty("body", i, "color","EXPR(judgmark2=='H'?'red':"
  6292. +"judgmark2=='L'?'blue':'')");
  6293. group3.grd_subresultdetail2.setCellProperty("body", i, "color2","EXPR(judgmark2=='H'?'red':"
  6294. +"judgmark2=='L'?'blue':'')");
  6295. }
  6296. }
  6297. /****************************************************************************************
  6298. * Function : fLisPrintRowHidden
  6299. * Description : 진검출력을위해 셀을 숨김.
  6300. * Argument :
  6301. * return type :
  6302. * Creator :
  6303. ****************************************************************************************/
  6304. function fLisPrintRowHidden() {
  6305. fPrintLisExcle();
  6306. }
  6307. /****************************************************************************************
  6308. * Function : fPrintLisExcle
  6309. * Description : 진검 엑셀출력 그리드 보여줌
  6310. * Argument :
  6311. * return type :
  6312. * Creator :
  6313. ****************************************************************************************/
  6314. function fPrintLisExcle(){ //20120322
  6315. group3.div_lis.visible = true;
  6316. ds_subresultdetail2.clearData();
  6317. var j = 0;
  6318. for(var i = 0; i < ds_subresultdetail1_1.rowcount; i++) {
  6319. var sTitleYn = ds_subresultdetail1_1.getColumn(i,"testpsn");
  6320. var iTitleLen = utlf_getStringLength(sTitleYn);
  6321. if ( iTitleLen < 7 && !utlf_isNull(sTitleYn)) {
  6322. dsf_makeValue(ds_subresultdetail2,"tclsscrnnnm" ,"string", ds_subresultdetail1_1.getColumn(i,"tclsscrnnnm") ,j);
  6323. dsf_makeValue(ds_subresultdetail2,"reptrslt" ,"string", ds_subresultdetail1_1.getColumn(i,"reptrslt") ,j);
  6324. dsf_makeValue(ds_subresultdetail2,"rsltunit" ,"string", ds_subresultdetail1_1.getColumn(i,"rsltunit") ,j);
  6325. dsf_makeValue(ds_subresultdetail2,"ref" ,"string", ds_subresultdetail1_1.getColumn(i,"ref") ,j);
  6326. dsf_makeValue(ds_subresultdetail2,"lastreptdt" ,"string", ds_subresultdetail1_1.getColumn(i,"lastreptdt") ,j);
  6327. dsf_makeValue(ds_subresultdetail2,"testpsn" ,"string", ds_subresultdetail1_1.getColumn(i,"testpsn") ,j);
  6328. dsf_makeValue(ds_subresultdetail2,"chkid" ,"string", ds_subresultdetail1_1.getColumn(i,"chkid") ,j);
  6329. dsf_makeValue(ds_subresultdetail2,"tsectnm" ,"string", ds_subresultdetail1_1.getColumn(i,"tsectnm") ,j);
  6330. dsf_makeValue(ds_subresultdetail2,"bcno" ,"string", ds_subresultdetail1_1.getColumn(i,"bcno") ,j);
  6331. dsf_makeValue(ds_subresultdetail2,"judgmark" ,"string", ds_subresultdetail1_1.getColumn(i,"judgmark") ,j);
  6332. dsf_makeValue(ds_subresultdetail2,"prcpcd" ,"string", ds_subresultdetail1_1.getColumn(i,"prcpcd") ,j);
  6333. var unqBcno = ds_subresultdetail1_1.getColumn(i,"bcno");
  6334. for(var k = 0; k < group3.switch1.case5.datagrid1.rowcount; k++){
  6335. var unqBcno_left = ds_maindailylist.getColumn(k,"bcno");
  6336. unqBcno = unqBcno.substring(0,8);
  6337. if(unqBcno == unqBcno_left){
  6338. //alert (unqBcno+"__2");
  6339. dsf_makeValue(ds_subresultdetail2,"lastreptdd" ,"string", ds_maindailylist.getColumn(k,"lastreptdd") , j);
  6340. dsf_makeValue(ds_subresultdetail2,"execdd1" ,"string", ds_maindailylist.getColumn(k,"execdd1") , j);
  6341. dsf_makeValue(ds_subresultdetail2,"prcpdd1" ,"string", ds_maindailylist.getColumn(k,"prcpdd1") , j);
  6342. dsf_makeValue(ds_subresultdetail2,"examnm" ,"string", ds_maindailylist.getColumn(k,"examnm") , j);
  6343. dsf_makeValue(ds_subresultdetail2,"spcnm" ,"string", ds_maindailylist.getColumn(k,"spcnm") , j);
  6344. dsf_makeValue(ds_subresultdetail2,"statnm" ,"string", ds_maindailylist.getColumn(k,"statnm") , j);
  6345. dsf_makeValue(ds_subresultdetail2,"prcpgenrflag" ,"string", ds_maindailylist.getColumn(k,"prcpgenrflag") , j);
  6346. dsf_makeValue(ds_subresultdetail2,"drnm" ,"string", ds_maindailylist.getColumn(k,"drnm") , j);
  6347. }
  6348. }
  6349. j++;
  6350. }
  6351. }
  6352. }
  6353. /****************************************************************************************
  6354. * Function : fLisPrintRowHiddenReturn
  6355. * Description : 진검출력을위해 숨긴셀을 다시 돌린다
  6356. * Argument :
  6357. * return type :
  6358. * Creator :
  6359. ****************************************************************************************/
  6360. function fLisPrintRowHiddenReturn() {
  6361. // for(var i = 0; i < ds_subresultdetail1_1.rowcount; i++) {
  6362. // group3.grd_subresultdetail2.setFormatRowProperty(i,"size",24);
  6363. // }
  6364. }
  6365. function lf_initPageByBroadcast(){
  6366. //this.getOwnerFrame().openstatus = lgv_vOpenstatus;
  6367. var pamInfoCvs = sysf_getGlobalVariable("paminfo"); //상단정보가 있을 경우는 검색
  6368. var pid = "";
  6369. if(!utlf_isNull(pamInfoCvs)){
  6370. ds_paminfo.clearData();
  6371. dsf_setCSVToDs("ds_paminfo",pamInfoCvs);
  6372. ds_signdata.setColumn(0, "srchpid", ds_paminfo.getColumn(0, "pid"));
  6373. if ( !utlf_isNull(ds_signdata.getColumn(0, "srchpid")) ) {
  6374. frmf_inputEnterKey("group3.grp_sea.btn_srch", "onclick", new ClickEventInfo);
  6375. }
  6376. }
  6377. }
  6378. /****************************************************************************************
  6379. * Function : fGetimg
  6380. * Description : 결과 조회 LIS 자체 이미지 상세 조회 Function
  6381. * Argument :
  6382. * return type :
  6383. * Creator :
  6384. ****************************************************************************************/
  6385. function fGetimg(){
  6386. var row = ds_subresultdetail1.rowposition;
  6387. if(ds_subresultdetail1.getColumn(row,"judgmark") == "IMG" && !utlf_isNull(ds_subresultdetail1.getColumn(row,"bcno"))) {
  6388. // modal("SMLRR01500","", "", "","", "/root/main/subordlist1/subresultdetail1["+row+"]", "/root/hidden/spcltestinfo");
  6389. var objArg = new Object();
  6390. dsf_createDs("ds_temp_subresultdetail1");
  6391. dsf_copyColInfo(ds_temp_subresultdetail1,ds_subresultdetail1);
  6392. ds_temp_subresultdetail1.copyRow(ds_temp_subresultdetail1.addRow(),ds_subresultdetail1,row);
  6393. objArg.arg_ds_hidden_spcltestinfo = ds_temp_subresultdetail1;
  6394. frmf_modal("SMLRR01500","SMLRR01500", objArg, "", "", "", "", "", "", "", "", "", "M");
  6395. dsf_deleteDs("ds_temp_subresultdetail1");
  6396. }
  6397. }
  6398. function fGetimg2(){
  6399. var row = ds_subresultdetail1_1.rowposition;
  6400. if(ds_subresultdetail1_1.getColumn(row,"judgmark") == "IMG" && !utlf_isNull(ds_subresultdetail1_1.getColumn(row,"bcno"))) {
  6401. var objArg = new Object();
  6402. dsf_createDs("ds_temp_subresultdetail1");
  6403. dsf_copyColInfo(ds_temp_subresultdetail1,ds_subresultdetail1_1);
  6404. ds_temp_subresultdetail1.copyRow(ds_temp_subresultdetail1.addRow(),ds_subresultdetail1_1,row);
  6405. objArg.arg_ds_hidden_spcltestinfo = ds_temp_subresultdetail1;
  6406. frmf_modal("SMLRR01500","SMLRR01500", objArg, "", "", "", "", "", "", "", "", "", "M");
  6407. dsf_deleteDs("ds_temp_subresultdetail1");
  6408. }
  6409. }
  6410. /****************************************************************************************
  6411. * Function : fGetPatholimg
  6412. * Description : 결과 조회 LIS (병리) 자체 이미지 상세 조회 Function
  6413. * Argument :
  6414. * return type :
  6415. * Creator :
  6416. ****************************************************************************************/
  6417. function fGetPatholimg(){
  6418. var row = ds_subresultdetail1.rowposition;
  6419. if(ds_subresultdetail1.getColumn(row,"judgmark") == "IMP" && !utlf_isNull(ds_subresultdetail1.getColumn(row,"bcno"))) {
  6420. frmf_setParameter("SMLPP02000_scrno", "SMAER00800");
  6421. frmf_setParameter("SMLPP02000_no", ds_subresultdetail1.getColumn(row,"bcno"));
  6422. // modal("SMLPP02000");
  6423. frmf_modal("SMLPP02000","SMLPP02000", "", "", "", "", "", "", "", "", "", "", "M");
  6424. frmf_setParameter("SMLPP02000_scrno", "");
  6425. frmf_setParameter("SMLPP02000_no", "");
  6426. }
  6427. }
  6428. /****************************************************************************************
  6429. * Function : fGetNNNimg
  6430. * Description : 결과 조회 LIS (핵체외) 자체 이미지 상세 조회 Function
  6431. * Argument :
  6432. * return type :
  6433. * Creator :
  6434. ****************************************************************************************/
  6435. function fGetNNNimg(){
  6436. var row = ds_subresultdetail1.rowposition;
  6437. if(ds_subresultdetail1.getColumn(row,"judgmark2") == "NNN" && !utlf_isNull(ds_subresultdetail1.getColumn(row,"prcpcd"))) {
  6438. // modal("SPLNP90400","", "", "","", "/root/main/subordlist1/subresultdetail1["+row+"]/prcpcd", "/root/hidden/prcpcd");
  6439. var objArg = new Object();
  6440. objArg.arg_prcpcd = ds_subresultdetail1.getColumn(row,"prcpcd");
  6441. frmf_modal("SPLNP90400","SPLNP90400", objArg, "", "", "", "", "", "", "", "", "", "M");
  6442. }
  6443. }
  6444. function group3_switch1_case1_btn_one_onclick(obj:Button, e:ClickEventInfo)
  6445. {
  6446. if(group3.switch1.tabindex == 2 || group3.switch1.tabindex == 3){
  6447. sysf_messageBox("[전체항목조회] 기능은 분류별/그룹별 조회에서만 적용됩니다.","I999");
  6448. return true;
  6449. }
  6450. if(ds_maindailylist.rowcount == 0) return;
  6451. ds_subresultdetail1.enableevent = false;
  6452. fClickResultContinueList_one(); //Daily 및 Serious 결과 연속보기 상세조회
  6453. ds_subresultdetail1.enableevent = true;
  6454. if(group3.div_lis.visible = true){
  6455. group3.div_lis.visible = false;
  6456. }
  6457. }
  6458. function group3_grd_subresultdetail2_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
  6459. {
  6460. if(e.row > -1){
  6461. gridObject = obj;
  6462. ds_subresultdetail1_1.rowposition = e.row;
  6463. gridObject = obj;
  6464. popmenuX.destroy();
  6465. arrMenu = new Array();
  6466. arrMenu[0] = {id: "copy" , level: "0", title: "복사하기"};
  6467. if(ds_subresultdetail1_1.getColumn(e.row,"judgmark")=="IMG"
  6468. && !utlf_isNull(ds_subresultdetail1_1.getColumn(e.row,"bcno"))) {
  6469. arrMenu[1] = {id: "fGetimg2" , level: "0", title: "▶ 진단검사 이미지 보기"};
  6470. }
  6471. frmf_createPopupMenu("popmenuX"
  6472. ,"fPopupMenu"
  6473. ,arrMenu
  6474. );
  6475. popmenuX.trackPopup(e.screenX,e.screenY);
  6476. popupYn = "Y";
  6477. }
  6478. }
  6479. function group3_grd_subresultdetail2_onkeydown(obj:Grid, e:KeyEventInfo)
  6480. {
  6481. if(e.ctrlKey == true && e.keycode == 67) {
  6482. grdf_clipboardCopy(obj, "AST");
  6483. }
  6484. }
  6485. function group3_switch1_case5_datagrid1_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  6486. {
  6487. ds_maindailylist.enableevent = false;
  6488. var cRow = e.row;
  6489. var cCol = e.col;
  6490. if (cRow > -1 && cCol > 0) {
  6491. fClickResultList();
  6492. }
  6493. ds_maindailylist.enableevent = true;
  6494. }
  6495. /****************************************************************************************
  6496. * Argument : obj : grid ID
  6497. * Description : 선택된 행 클립보드 복사
  6498. ****************************************************************************************/
  6499. function lf_copyResult(obj) {
  6500. var objGrd = obj;
  6501. var lv_oBindDs = eval(objGrd.binddataset);
  6502. var lv_sVal;
  6503. var lv_sClipboard = "";
  6504. var lv_nAreaStartRow;
  6505. var lv_nAreaEndRow;
  6506. lv_nAreaStartRow = parseInt(objGrd.selectstartrow) ;
  6507. lv_nAreaEndRow = parseInt(objGrd.selectendrow);
  6508. for(var nRow = lv_nAreaStartRow; nRow <= lv_nAreaEndRow; nRow++)
  6509. {
  6510. lv_sVal = objGrd.getCellValue(nRow,1);
  6511. lv_sClipboard = lv_sClipboard + lv_sVal;
  6512. lv_sClipboard = lv_sClipboard.substr(0,lv_sClipboard.length);
  6513. lv_sClipboard = lv_sClipboard + String.fromCharCode(10);
  6514. }
  6515. lv_sClipboard = lv_sClipboard.substr(0,lv_sClipboard.length-1);
  6516. iv_sClipboard = lv_sClipboard;
  6517. system.setClipboard("CF_TEXT",lv_sClipboard);
  6518. return;
  6519. }
  6520. function group3_grd_subresultdetail1_onmousemove(obj:Grid, e:GridMouseEventInfo)
  6521. {
  6522. if(e.row >-1 && e.col > -1){
  6523. if(!utlf_isNull(group3.grd_subresultdetail1.getCellValue(e.row,e.col))){
  6524. var ttext = "";
  6525. if (e.clientX >= 0 && e.clientX < 230) {
  6526. ttext = ds_subresultdetail1.getColumn(e.row,"tclsscrnnnm_prt");
  6527. ttext = utlf_transNullToEmpty(ttext);
  6528. if (!utlf_isNull(ttext)) {
  6529. ttext = ds_subresultdetail1.getColumn(e.row,"prcpcd") + " " + ds_subresultdetail1.getColumn(e.row,"prcpnm");
  6530. }
  6531. }else if (e.clientX >=230 && e.clientX < 280) {
  6532. ttext = ds_subresultdetail1.getColumn(e.row,"reptrslt_prt");
  6533. }else if (e.clientX >=420 && e.clientX < 533) {
  6534. ttext = ds_subresultdetail1.getColumn(e.row,"rsltunit_prt");
  6535. }else if (e.clientX >=533 && e.clientX < 625) {
  6536. ttext = ds_subresultdetail1.getColumn(e.row,"refnm_prt");
  6537. }
  6538. ttext = utlf_transNullToEmpty(ttext);
  6539. if (!utlf_isNull(ttext)) {
  6540. group3.grd_subresultdetail1.tooltiptext = ttext.toString().replace('undefined','');
  6541. }else {
  6542. group3.grd_subresultdetail1.tooltiptext ="";
  6543. }
  6544. }else{
  6545. group3.grd_subresultdetail1.tooltiptext ="";
  6546. }
  6547. }
  6548. }
  6549. //
  6550. function group3_grd_subresultdetail1_ondrag(obj:Grid, e:GridDragEventInfo)
  6551. {
  6552. if(e.row < 0 || e.col < 0) return false;
  6553. var text = "";
  6554. var selectedRows = grdf_getSelectedRows(obj);
  6555. for(var i = 0; i < selectedRows.length; i++) {
  6556. text += ds_subresultdetail1.getColumn(selectedRows[i], "prcpnm") + "^";
  6557. text += ds_subresultdetail1.getColumn(selectedRows[i], "prcpcd") + "^";
  6558. text += "|";
  6559. }
  6560. //
  6561. var objDragData = new DragDataObject();
  6562. objDragData.setData( DragDataFormats.TEXT, text);
  6563. e.dragdata = objDragData;
  6564. return (!utlf_isNull(frmf_findPopup("SPAER00803")));
  6565. }
  6566. function Button00_onclick(obj:Button, e:ClickEventInfo)
  6567. {
  6568. var arrColInfo = [{col:"bcno" , type:"string" , size:256}
  6569. ,{col:"testmdlcd" , type:"string" , size:256}
  6570. ,{col:"lastreptdd" , type:"string" , size:256}
  6571. ,{col:"examgubun" , type:"string" , size:256}
  6572. ,{col:"level" , type:"string" , size:256}
  6573. ,{col:"chosflag" , type:"string" , size:256}
  6574. ,{col:"pid" , type:"string" , size:256}
  6575. ,{col:"prcpdd" , type:"string" , size:256}
  6576. ,{col:"execprcpuniqno" , type:"int" , size:256}
  6577. ,{col:"orddd" , type:"string" , size:256}
  6578. ,{col:"cretno" , type:"string" , size:256}
  6579. ,{col:"rsltflag" , type:"string" , size:256}
  6580. ,{col:"supl_data_fom_cd" , type:"string" , size:256}
  6581. ,{col:"fom_ver" , type:"string" , size:256}
  6582. ,{col:"status" , type:"string" , size:256}
  6583. ]
  6584. dsf_createDs("ds_temp_insert",arrColInfo);
  6585. var oRowidx = null;
  6586. var nRowidx = null;
  6587. var oReptrslt = "";
  6588. var nReptrslt = "";
  6589. var rsltflag = "";
  6590. for (var i = 0; i < ds_subresultdetail1.rowcount; i++) {
  6591. if (ds_subresultdetail1.getColumn(i,"check") == 'Y') {
  6592. nRowidx = ds_subresultdetail1.getColumn(i,"rowidx");
  6593. var examgubun = ds_maindailylist.getColumn(nRowidx,"examgubun");
  6594. if ( examgubun != "진검" && examgubun != "미생물" && examgubun != "병리" && examgubun != "핵의학" ) {
  6595. var nReptrslt = ds_subresultdetail1.getColumn(i,"reptrslt");
  6596. if ( oRowidx <> nRowidx ) {
  6597. if (nReptrslt == " [FINDING]") rsltflag = "F";
  6598. if (nReptrslt == " [CONCLUSION]") rsltflag = "C";
  6599. } else { //rowidx 동일
  6600. if (nReptrslt == " [FINDING]") rsltflag = "F";
  6601. if (rsltflag <> "F" && nReptrslt == " [CONCLUSION]") rsltflag = "C";
  6602. if (rsltflag == "F" && nReptrslt == " [CONCLUSION]") rsltflag = "A";
  6603. ds_temp_insert.setColumn(nRow,"rsltflag" ,rsltflag);
  6604. }
  6605. if ( oRowidx <> nRowidx ) {
  6606. var nRow = ds_temp_insert.addRow();
  6607. ds_temp_insert.setColumn(nRow,"rsltflag" ,rsltflag);
  6608. ds_temp_insert.setColumn(nRow,"bcno" ,ds_maindailylist.getColumn(nRowidx,"bcno"));
  6609. ds_temp_insert.setColumn(nRow,"testmdlcd" ,ds_maindailylist.getColumn(nRowidx,"testmdlcd"));
  6610. ds_temp_insert.setColumn(nRow,"lastreptdd" ,ds_maindailylist.getColumn(nRowidx,"lastreptdd"));
  6611. ds_temp_insert.setColumn(nRow,"examgubun" ,ds_maindailylist.getColumn(nRowidx,"examgubun"));
  6612. ds_temp_insert.setColumn(nRow,"level" ,ds_maindailylist.getColumn(nRowidx,"level"));
  6613. ds_temp_insert.setColumn(nRow,"chosflag" ,ds_maindailylist.getColumn(nRowidx,"prcpgenrflag"));
  6614. ds_temp_insert.setColumn(nRow,"pid" ,ds_maindailylist.getColumn(nRowidx,"pid"));
  6615. ds_temp_insert.setColumn(nRow,"prcpdd" ,ds_maindailylist.getColumn(nRowidx,"prcpdd"));
  6616. ds_temp_insert.setColumn(nRow,"execprcpuniqno" ,ds_maindailylist.getColumn(nRowidx,"execprcpuniqno"));
  6617. ds_temp_insert.setColumn(nRow,"orddd" ,'-');
  6618. ds_temp_insert.setColumn(nRow,"cretno" ,0);
  6619. ds_temp_insert.setColumn(nRow,"supl_data_fom_cd" ,"ERR001");
  6620. ds_temp_insert.setColumn(nRow,"fom_ver" ,"001");
  6621. ds_temp_insert.setColumn(nRow,"status" ,"i");
  6622. oRowidx = nRowidx;
  6623. oReptrslt = nReptrslt;
  6624. }
  6625. }
  6626. }
  6627. }
  6628. for (var i = 0; i < ds_subresultdetail2.rowcount; i++) {
  6629. if (ds_subresultdetail2.getColumn(i,"check") == 'Y') {
  6630. var nRowidx = ds_subresultdetail2.getColumn(i,"rowidx");
  6631. var examgubun = ds_maindailylist.getColumn(nRowidx,"examgubun");
  6632. if ( examgubun != "진검" && examgubun != "미생물" && examgubun != "병리" && examgubun != "핵의학" ) {
  6633. var nReptrslt = ds_subresultdetail2.getColumn(i,"reptrslt");
  6634. if ( oRowidx <> nRowidx ) {
  6635. if (nReptrslt == " [FINDING]") rsltflag = "F";
  6636. if (nReptrslt == " [CONCLUSION]") rsltflag = "C";
  6637. } else { //rowidx 동일
  6638. if (nReptrslt == " [FINDING]") rsltflag = "F";
  6639. if (rsltflag <> "F" && nReptrslt == " [CONCLUSION]") rsltflag = "C";
  6640. if (rsltflag == "F" && nReptrslt == " [CONCLUSION]") rsltflag = "A";
  6641. ds_temp_insert.setColumn(nRow,"rsltflag" ,rsltflag);
  6642. }
  6643. if ( oRowidx <> nRowidx ) {
  6644. var nRow = ds_temp_insert.addRow();
  6645. trace('222 :'+nRowidx+'/'+nRow);
  6646. ds_temp_insert.setColumn(nRow,"rsltflag" ,rsltflag);
  6647. ds_temp_insert.setColumn(nRow,"bcno" ,ds_maindailylist.getColumn(nRowidx,"bcno"));
  6648. ds_temp_insert.setColumn(nRow,"testmdlcd" ,ds_maindailylist.getColumn(nRowidx,"testmdlcd"));
  6649. ds_temp_insert.setColumn(nRow,"lastreptdd" ,ds_maindailylist.getColumn(nRowidx,"lastreptdd"));
  6650. ds_temp_insert.setColumn(nRow,"examgubun" ,ds_maindailylist.getColumn(nRowidx,"examgubun"));
  6651. ds_temp_insert.setColumn(nRow,"level" ,ds_maindailylist.getColumn(nRowidx,"level"));
  6652. ds_temp_insert.setColumn(nRow,"chosflag" ,ds_maindailylist.getColumn(nRowidx,"prcpgenrflag"));
  6653. ds_temp_insert.setColumn(nRow,"pid" ,ds_maindailylist.getColumn(nRowidx,"pid"));
  6654. ds_temp_insert.setColumn(nRow,"prcpdd" ,ds_maindailylist.getColumn(nRowidx,"prcpdd"));
  6655. ds_temp_insert.setColumn(nRow,"execprcpuniqno" ,ds_maindailylist.getColumn(nRowidx,"execprcpuniqno"));
  6656. ds_temp_insert.setColumn(nRow,"orddd" ,ds_maindailylist.getColumn(nRowidx,"orddd"));
  6657. ds_temp_insert.setColumn(nRow,"cretno" ,ds_maindailylist.getColumn(nRowidx,"cretno"));
  6658. ds_temp_insert.setColumn(nRow,"supl_data_fom_cd" ,"ERR001");
  6659. ds_temp_insert.setColumn(nRow,"fom_ver" ,"001");
  6660. ds_temp_insert.setColumn(nRow,"status" ,"i");
  6661. }
  6662. }
  6663. }
  6664. }
  6665. // trace(ds_temp_insert.saveXML());
  6666. var oParam = {};
  6667. oParam.id = "TRAER00852_dump";
  6668. oParam.service = "examcureresultrefapp.RsltRef";
  6669. oParam.method = "reqExeSimsaRadList";
  6670. oParam.inds = "refparam=ds_temp_insert";
  6671. oParam.outds = "ds_hidden_item=item";
  6672. oParam.async = true;
  6673. oParam.callback = "cf_TRAER00852";
  6674. tranf_submit(oParam);
  6675. }
  6676. function div_hirainfo_div_hiralist_btn_cl_onclick(obj:Button, e:ClickEventInfo)
  6677. {
  6678. div_hirainfo.visible = false;
  6679. }
  6680. function btn_hira_onclick(obj:Button, e:ClickEventInfo)
  6681. {
  6682. lf_delSimsaResult(ds_data_userrecordlist.rowposition); //삭제
  6683. }
  6684. function div_hirainfo_btn_rt_onclick(obj:Button, e:ClickEventInfo)
  6685. {
  6686. lf_getUserSimsaList(); //조회
  6687. }
  6688. /**
  6689. * @desc : 컬럼설정 버튼 클릭
  6690. * @
  6691. * @param :
  6692. * @return :
  6693. * @author : 엄영만
  6694. * @---------------------------------------------------
  6695. */
  6696. function group3_btn_setscrn_onclick(obj:Button, e:ClickEventInfo)
  6697. {
  6698. var sCaseId = "";
  6699. var nTapIndex = group3.switch1.tabindex;
  6700. if (nTapIndex == 0) { // 그룹별
  6701. sCaseId = "group";
  6702. } else if (nTapIndex == 1) { // 분류별
  6703. sCaseId = "kind";
  6704. }
  6705. frmf_setParameter("SPMMI00700_param_caseid", sCaseId);
  6706. frmf_modal("SPMMI00700", "SPMMI00700", null, null, null, null, null, null, null, null, null, null, "M");
  6707. var useyn = frmf_getParameter("SPMMI00700_rtn_useyn");
  6708. if(useyn == "Y") {
  6709. frmf_clearParameter("SPMMI00700_rtn_useyn");
  6710. ds_maindailylist.clearData(); // 데이터가 있는상태로 컬럼설정을 다시 하면 속도가 오래 걸림
  6711. reqOrderInfoOfCol(ds_gridreq01, ds_gridseq01, "SMMMI00100", group3.switch1.case5.datagrid1, "01"); // 그룹별 검사항목 리스트 컬럼 조회 및 설정
  6712. reqOrderInfoOfCol(ds_gridreq02, ds_gridseq02, "SMMMI00100", group3.switch1.case1.grd_maindaily, "02"); // 분류별 검사항목 리스트 컬럼 조회 및 설정
  6713. group3.grp_sea.btn_srch.click(); // 검사결과 재조회
  6714. }
  6715. }
  6716. ]]></Script>
  6717. </Form>
  6718. </FDL>