SMLPJ00300_조직검체접수.xfdl 302 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMLPJ00300" position="absolute 0 0 1212 795" titletext="검체접수" onload="SMLPJ00300_onload" oninit="SMLPJ00300_oninit">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 0 1195 25" id="grp_tle">
  8. <Layouts>
  9. <Layout>
  10. <Static text="검체접수" position="absolute 0 0 87 23" id="caption11" class="tit_1" anchor="default"/>
  11. </Layout>
  12. </Layouts>
  13. </Div>
  14. <Div position="absolute 0 51 1206 791" id="group1" scrollbars="autoboth">
  15. <Layouts>
  16. <Layout>
  17. <Static text="병리번호현황" position="absolute 900 427 1013 444" id="caption16" class="tit_2" anchor="default"/>
  18. <Shape position="absolute 899 444 1201 450" linetype="horizontal" id="line4" class="line_1" anchor="default" style="strokepen:3 solid #33bbbbff;"/>
  19. <Shape position="absolute 901 122 1202 128" linetype="horizontal" id="line6" class="line_1" anchor="default" style="strokepen:3 solid #33bbbbff;"/>
  20. <Div position="absolute 0 1 888 61" align="align:center top;" id="group2" class="div_SA2" anchor="default">
  21. <Layouts>
  22. <Layout>
  23. <Shape position="absolute 808 8 814 51" linetype="vertical" id="line13" class="line_4" anchor="default"/>
  24. <Static text="병리번호 :" position="absolute 5 32 96 49" align="align:center middle;" id="caption20" class="search_name" visible="false" anchor="default"/>
  25. <Static text="처방구분 :" position="absolute 493 32 565 49" align="align:center middle;" id="caption21" class="search_name" anchor="default"/>
  26. <Static text="검색방법 :" position="absolute 5 8 96 25" align="align:center middle;" id="caption26" class="search_name" anchor="default"/>
  27. <Static text="~" position="absolute 305 32 317 49" align="align:center middle;" id="caption19" class="search_no_b" visible="false" anchor="default"/>
  28. <Button position="absolute 190 8 206 24" id="btn_popup1" class="icon_search" taborder="2" text="" anchor="default" onclick="group1_group2_btn_popup1_onclick"/>
  29. <Static text="~" position="absolute 680 9 692 26" align="align:center middle;" id="caption3" class="search_no_b" anchor="default"/>
  30. <Combo position="absolute 97 8 187 27" id="cmb_srchmthd" class="combo_search" taborder="1" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" value="0" text="등록번호" index="0">
  31. <Dataset id="innerdataset">
  32. <ColumnInfo>
  33. <Column id="codecolumn"/>
  34. <Column id="datacolumn"/>
  35. </ColumnInfo>
  36. <Rows>
  37. <Row>
  38. <Col id="codecolumn">0</Col>
  39. <Col id="datacolumn">등록번호</Col>
  40. </Row>
  41. <Row>
  42. <Col id="codecolumn">2</Col>
  43. <Col id="datacolumn">바코드번호</Col>
  44. </Row>
  45. </Rows>
  46. </Dataset>
  47. </Combo>
  48. <Combo position="absolute 569 32 659 51" id="cmb_prcpflag" class="combo_search" taborder="9" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" onitemchanged="group1_group2_cmb_prcpflag_onitemchanged">
  49. <Dataset id="innerdataset">
  50. <ColumnInfo>
  51. <Column id="codecolumn"/>
  52. <Column id="datacolumn"/>
  53. </ColumnInfo>
  54. <Rows>
  55. <Row>
  56. <Col id="codecolumn">0</Col>
  57. <Col id="datacolumn">검체이송</Col>
  58. </Row>
  59. <Row>
  60. <Col id="codecolumn">1</Col>
  61. <Col id="datacolumn">수신확인</Col>
  62. </Row>
  63. </Rows>
  64. </Dataset>
  65. </Combo>
  66. <Calendar position="absolute 569 8 675 27" id="ipt_prcpfromdd" class="input_search" taborder="4" mask="yyyy-mm-dd" anchor="default"/>
  67. <Calendar position="absolute 694 8 800 27" id="ipt_prcptodd" class="input_search" taborder="5" mask="yyyy-mm-dd" anchor="default"/>
  68. <Edit position="absolute 210 32 300 51" id="ipt_ptnofrom" class="input_search" taborder="7" visible="false" anchor="default" onkillfocus="group1_group2_ipt_ptnofrom_onkillfocus"/>
  69. <Edit position="absolute 322 32 412 51" id="ipt_ptnoto" class="input_search" taborder="8" visible="false" anchor="default" onkillfocus="group1_group2_ipt_ptnoto_onkillfocus"/>
  70. <Edit position="absolute 209 8 316 27" id="ipt_srchval" class="input_search" taborder="3" anchor="default" onkeydown="group1_group2_ipt_srchval_onkeydown" oneditclick="group1_group2_ipt_srchval_oneditclick" autoselect="true"/>
  71. <Static text="처방일자 :" position="absolute 493 8 572 25" align="align:center middle;" id="cap_ddnm" class="search_name" anchor="default"/>
  72. <Button position="absolute 826 18 882 40" id="btn_sea" class="btn1" taborder="10" text="조회" anchor="default" onclick="group1_group2_btn_sea_onclick"/>
  73. <Combo position="absolute 97 32 205 51" id="cbo_ptnocd" taborder="6" visible="false" innerdataset="@ds_init_ptnocd_ptnocdlist" datacolumn="ptnonm" codecolumn="ptnocd" anchor="default"/>
  74. </Layout>
  75. </Layouts>
  76. </Div>
  77. <Grid position="absolute 901 128 1202 420" id="grd_spclist" class="datagrid2" taborder="17" binddataset="ds_main_prcpspc_prcpspclist" anchor="default" cellsizingtype="col">
  78. <Formats>
  79. <Format id="default">
  80. <Columns>
  81. <Column size="18"/>
  82. <Column size="0"/>
  83. <Column size="0"/>
  84. <Column size="0"/>
  85. <Column size="0"/>
  86. <Column size="0"/>
  87. <Column size="0"/>
  88. <Column size="0"/>
  89. <Column size="40"/>
  90. <Column size="0"/>
  91. <Column size="0"/>
  92. <Column size="0"/>
  93. <Column size="0"/>
  94. <Column size="0"/>
  95. <Column size="0"/>
  96. <Column size="0"/>
  97. <Column size="220"/>
  98. </Columns>
  99. <Rows>
  100. <Row size="33" band="head"/>
  101. <Row size="24"/>
  102. </Rows>
  103. <Band id="head">
  104. <Cell/>
  105. <Cell col="1" text="기관코드"/>
  106. <Cell col="2" text="검체이송일자"/>
  107. <Cell col="3" text="검체이송번호"/>
  108. <Cell col="4"/>
  109. <Cell col="5"/>
  110. <Cell col="6" text="검체접수일자"/>
  111. <Cell col="7" text="검체접수번호"/>
  112. <Cell col="8" text="일련&#10;번호"/>
  113. <Cell col="9" text="검체코드"/>
  114. <Cell col="10" text="대표검체코드"/>
  115. <Cell col="11" text="검체수신상태코드"/>
  116. <Cell col="12" text="검체바코드번호"/>
  117. <Cell col="13" text="추가항목여부"/>
  118. <Cell col="14" text="블록개수"/>
  119. <Cell col="15" text="마지막일련번호"/>
  120. <Cell col="16" text="내용"/>
  121. </Band>
  122. <Band id="body">
  123. <Cell celltype="head" text="expr:currow + 1"/>
  124. <Cell col="1" text="bind:instcd"/>
  125. <Cell col="2" text="bind:spc_spctrandd"/>
  126. <Cell col="3" text="bind:spc_spctranno"/>
  127. <Cell col="4"/>
  128. <Cell col="5" text="expr:currow + 1"/>
  129. <Cell col="6" text="bind:spc_spcacptdd"/>
  130. <Cell col="7" text="bind:spc_spcacptno"/>
  131. <Cell col="8" text="bind:spctranseqno"/>
  132. <Cell col="9" text="bind:spccd"/>
  133. <Cell col="10" text="bind:reprspccd"/>
  134. <Cell col="11" text="bind:spcstatcd"/>
  135. <Cell col="12" text="bind:spcbarcdno"/>
  136. <Cell col="13" text="bind:addyn"/>
  137. <Cell col="14" text="bind:cste_cnt"/>
  138. <Cell col="15" text="bind:last_seqno"/>
  139. <Cell col="16" style="align:left;background:expr:string(spcstatcd)==2 ?'#99cc00';background2:expr:string(spcstatcd)==2 ?'#99cc00';" text="bind:spcnm"/>
  140. </Band>
  141. </Format>
  142. </Formats>
  143. </Grid>
  144. <Tab position="absolute 0 69 892 740" id="switch1" anchor="default" style="buttonbackground:URL('theme://images/btn_tab_N.png') stretch 10,10;buttonborder:0 none #ffffff00 ;color:#262626ff;bordertype:normal 0 0 ;" class="sw_box">
  145. <Tabpages>
  146. <Tabpage id="case_prcplist" style="anchor:default;font:dotum,9;" scrollbars="none">
  147. <Layouts>
  148. <Layout>
  149. <Static text="원처방 리스트" position="absolute 3 8 112 24" id="caption1" class="tit_2" anchor="default"/>
  150. <Static text="개의 원처방이 조회되었습니다." position="absolute 135 10 334 23" align="align:center middle;" id="caption2" anchor="default"/>
  151. <Shape position="absolute 2 26 891 31" linetype="horizontal" id="line5" class="line_10" anchor="default" style="strokepen:3 solid #33bbbbff;"/>
  152. <Static text="추가처방 리스트" position="absolute 3 233 122 249" id="caption13" class="tit_2" anchor="default"/>
  153. <Static text="개의 추가처방이 조회되었습니다." position="absolute 161 234 360 248" align="align:center middle;" id="caption7" anchor="default"/>
  154. <Shape position="absolute 2 249 889 255" linetype="horizontal" id="line7" class="line_10" anchor="default" style="strokepen:3 solid #33bbbbff;"/>
  155. <Static text="관련처방 리스트" position="absolute 4 500 121 516" id="caption4" class="tit_2" anchor="default"/>
  156. <Shape position="absolute 2 516 890 522" linetype="horizontal" id="line2" class="line_10" anchor="default" style="strokepen:3 solid #33bbbbff;"/>
  157. <Static text="개의 관련처방이 조회되었습니다." position="absolute 160 501 359 515" align="align:center middle;" id="caption8" anchor="default"/>
  158. <Grid position="absolute 3 31 891 228" id="grd_orgprcp" class="datagrid2" taborder="14" binddataset="ds_main_orgprcp_orgprcplist" anchor="default" oncellclick="group1_switch1_case_prcplist_grd_orgprcp_oncellclick" ondrop="group1_switch1_case_prcplist_grd_orgprcp_ondrop" onkillfocus="group1_switch1_case_prcplist_grd_orgprcp_onkillfocus" onmousedown="group1_switch1_case_prcplist_grd_orgprcp_onmousedown" onsetfocus="group1_switch1_case_prcplist_grd_orgprcp_onsetfocus" onexpandup="group1_switch1_case_prcplist_grd_orgprcp_onexpandup" dragscrolltype="none" onrbuttondown="group1_switch1_case_prcplist_grd_orgprcp_onrbuttondown" cellsizingtype="col">
  159. <Formats>
  160. <Format id="default">
  161. <Columns>
  162. <Column size="26"/>
  163. <Column size="0"/>
  164. <Column size="85"/>
  165. <Column size="0"/>
  166. <Column size="0"/>
  167. <Column size="85"/>
  168. <Column size="0"/>
  169. <Column size="0"/>
  170. <Column size="205"/>
  171. <Column size="80"/>
  172. <Column size="40"/>
  173. <Column size="44"/>
  174. <Column size="0"/>
  175. <Column size="50"/>
  176. <Column size="0"/>
  177. <Column size="60"/>
  178. <Column size="50"/>
  179. <Column size="0"/>
  180. <Column size="0"/>
  181. <Column size="0"/>
  182. <Column size="0"/>
  183. <Column size="0"/>
  184. <Column size="0"/>
  185. <Column size="0"/>
  186. <Column size="0"/>
  187. <Column size="0"/>
  188. <Column size="0"/>
  189. <Column size="0"/>
  190. <Column size="0"/>
  191. <Column size="0"/>
  192. <Column size="0"/>
  193. <Column size="0"/>
  194. <Column size="0"/>
  195. <Column size="0"/>
  196. <Column size="0"/>
  197. <Column size="0"/>
  198. <Column size="70"/>
  199. <Column size="0"/>
  200. <Column size="0"/>
  201. <Column size="0"/>
  202. <Column size="0"/>
  203. <Column size="0"/>
  204. <Column size="0"/>
  205. <Column size="0"/>
  206. <Column size="0"/>
  207. <Column size="0"/>
  208. <Column size="0"/>
  209. <Column size="0"/>
  210. <Column size="0"/>
  211. <Column size="0"/>
  212. <Column size="0"/>
  213. <Column size="0"/>
  214. <Column size="0"/>
  215. <Column size="0"/>
  216. <Column size="0"/>
  217. <Column size="0"/>
  218. <Column size="0"/>
  219. <Column size="0"/>
  220. <Column size="0"/>
  221. <Column size="0"/>
  222. <Column size="0"/>
  223. <Column size="0"/>
  224. <Column size="0"/>
  225. <Column size="0"/>
  226. <Column size="0"/>
  227. <Column size="0"/>
  228. <Column size="0"/>
  229. <Column size="0"/>
  230. <Column size="0"/>
  231. <Column size="0"/>
  232. <Column size="0"/>
  233. <Column size="0"/>
  234. <Column size="0"/>
  235. <Column size="0"/>
  236. <Column size="80"/>
  237. <Column size="0"/>
  238. <Column size="0"/>
  239. <Column size="0"/>
  240. <Column size="0"/>
  241. <Column size="80"/>
  242. <Column size="0"/>
  243. <Column size="0"/>
  244. <Column size="0"/>
  245. <Column size="0"/>
  246. <Column size="0"/>
  247. <Column size="0"/>
  248. <Column size="0"/>
  249. <Column size="0"/>
  250. </Columns>
  251. <Rows>
  252. <Row size="33" band="head"/>
  253. <Row size="24"/>
  254. </Rows>
  255. <Band id="head">
  256. <Cell text="선&#10;택"/>
  257. <Cell col="1" text="전달&#10;구분"/>
  258. <Cell col="2" text="병리번호"/>
  259. <Cell col="3" text="병리번호"/>
  260. <Cell col="4" text="병리번호SET"/>
  261. <Cell col="5" text="관련병리번호"/>
  262. <Cell col="6" text="관련병리번호"/>
  263. <Cell col="7" text="관련병리번호SET"/>
  264. <Cell col="8" text="검사항목"/>
  265. <Cell col="9" text="검사코드"/>
  266. <Cell col="10" text="환자&#10;구분"/>
  267. <Cell col="11" text="수납&#10;구분"/>
  268. <Cell col="12" text="처방과코드"/>
  269. <Cell col="13" text="진료과"/>
  270. <Cell col="14" text="처방의ID"/>
  271. <Cell col="15" text="주치의"/>
  272. <Cell col="16" text="의뢰지"/>
  273. <Cell col="17" text="의뢰지&#10;출력매수"/>
  274. <Cell col="18" text="내시경&#10;소견"/>
  275. <Cell col="19" text="기관코드"/>
  276. <Cell col="20" text="이송번호"/>
  277. <Cell col="21" text="이송일자"/>
  278. <Cell col="22" text="이송일련번호"/>
  279. <Cell col="23" text="인계자ID"/>
  280. <Cell col="24" text="인계자부서"/>
  281. <Cell col="25" text="진료일자"/>
  282. <Cell col="26" text="처방일자"/>
  283. <Cell col="27" text="처방번호"/>
  284. <Cell col="28" text="실시처방일련번호"/>
  285. <Cell col="29" text="처방등록일자"/>
  286. <Cell col="30" text="처방등록시간"/>
  287. <Cell col="31" text="등록번호"/>
  288. <Cell col="32" text="검체코드"/>
  289. <Cell col="33" text="검체이송일자"/>
  290. <Cell col="34" text="검체이송번호"/>
  291. <Cell col="35" text="처방상태코드"/>
  292. <Cell col="36" text="병리번호&#10;코드"/>
  293. <Cell col="37" text="슬라이드구분코드"/>
  294. <Cell col="38" text="슬라이드개수"/>
  295. <Cell col="39" text="블럭번호"/>
  296. <Cell col="40" text="자동보관구분코드"/>
  297. <Cell col="41" text="연구용병리번호코드"/>
  298. <Cell col="42" text="연구용슬라이드구분코드"/>
  299. <Cell col="43" text="연구용슬라이드개수"/>
  300. <Cell col="44" text="연구용블럭번호"/>
  301. <Cell col="45" text="연구자동보관구분코드"/>
  302. <Cell col="46" text="수탁용병리번호코드"/>
  303. <Cell col="47" text="수탁용슬라이드구분코드"/>
  304. <Cell col="48" text="수탁용슬라이드개수"/>
  305. <Cell col="49" text="수탁용블럭번호"/>
  306. <Cell col="50" text="수탁자동보관구분코드"/>
  307. <Cell col="51" text="병리번호포함여부"/>
  308. <Cell col="52" text="연구용병리번호포함여부"/>
  309. <Cell col="53" text="수탁용병리번호포함여부"/>
  310. <Cell col="54" text="그룹코드"/>
  311. <Cell col="55" text="그룹검사명"/>
  312. <Cell col="56" text="처방발생&#10;구분코드"/>
  313. <Cell col="57" text="접수일자"/>
  314. <Cell col="58" text="검체접수일자"/>
  315. <Cell col="59" text="검체접수번호"/>
  316. <Cell col="60" text="검체접수일련번호"/>
  317. <Cell col="61" text="접수키"/>
  318. <Cell col="62" text="작업구분"/>
  319. <Cell col="63" text="처방형태상태"/>
  320. <Cell col="64" text="처방조회구분"/>
  321. <Cell col="65" text="재사용여부"/>
  322. <Cell col="66" text="이전접수일자"/>
  323. <Cell col="67" text="이전접수번호"/>
  324. <Cell col="68" text="이전접수일련번호"/>
  325. <Cell col="69" text="블럭종류"/>
  326. <Cell col="70" text="연구블럭종류"/>
  327. <Cell col="71" text="수탁블럭종류"/>
  328. <Cell col="72" text="처방진행상태"/>
  329. <Cell col="73" text="검체전송상태"/>
  330. <Cell col="74" text="최종&#10;병리번호"/>
  331. <Cell col="75" text="검체명"/>
  332. <Cell col="76" text="의뢰지구분"/>
  333. <Cell col="77" text="병동코드"/>
  334. <Cell col="78" text="병실코드"/>
  335. <Cell col="79" text="환자명"/>
  336. <Cell col="80" text="sexage"/>
  337. <Cell col="81" text="wardnm"/>
  338. <Cell col="82" text="aptprcpdd"/>
  339. <Cell col="83" text="aptexecprcpuniqno"/>
  340. <Cell col="84" text="aptprcpno"/>
  341. <Cell col="85" text="aptspcacptseqno"/>
  342. <Cell col="86" text="aptcsteno"/>
  343. <Cell col="87" text="aptblocnm"/>
  344. </Band>
  345. <Band id="body">
  346. <Cell displaytype="checkbox" edittype="checkbox" text="bind:choi"/>
  347. <Cell col="1" text="bind:recvflag"/>
  348. <Cell col="2" text="bind:view_ptno"/>
  349. <Cell col="3" text="bind:ptno"/>
  350. <Cell col="4" text="bind:setptno"/>
  351. <Cell col="5" text="bind:view_relaptno"/>
  352. <Cell col="6" text="bind:relaptno"/>
  353. <Cell col="7" text="bind:setrelaptno"/>
  354. <Cell col="8" style="align:left;" text="bind:testhngnm"/>
  355. <Cell col="9" style="align:left;" text="bind:testcd"/>
  356. <Cell col="10" text="bind:patflag"/>
  357. <Cell col="11" text="bind:rcptflag"/>
  358. <Cell col="12" text="bind:orddeptcd"/>
  359. <Cell col="13" text="bind:orddeptnm"/>
  360. <Cell col="14" text="bind:orddrid"/>
  361. <Cell col="15" text="bind:orddrnm"/>
  362. <Cell col="16" displaytype="text" edittype="text" text="bind:reqfrmno" expandshow="show"/>
  363. <Cell col="17" text="bind:reqfrmprtncnt"/>
  364. <Cell col="18" displaytype="text" edittype="text" text="bind:infcinfo"/>
  365. <Cell col="19" text="bind:instcd"/>
  366. <Cell col="20" text="bind:tranno"/>
  367. <Cell col="21" text="bind:trandd"/>
  368. <Cell col="22" text="bind:transeqno"/>
  369. <Cell col="23" text="bind:tranid"/>
  370. <Cell col="24" text="bind:trandeptcd"/>
  371. <Cell col="25" text="bind:orddd"/>
  372. <Cell col="26" text="bind:prcpdd"/>
  373. <Cell col="27" text="bind:prcpno"/>
  374. <Cell col="28" text="bind:execprcpseqno"/>
  375. <Cell col="29" text="bind:prcprgstdd"/>
  376. <Cell col="30" text="bind:prcprgsttm"/>
  377. <Cell col="31" text="bind:pid"/>
  378. <Cell col="32" text="bind:reprspccd"/>
  379. <Cell col="33" text="bind:spctrandd"/>
  380. <Cell col="34" text="bind:spctranno"/>
  381. <Cell col="35" text="bind:prcpstatcd"/>
  382. <Cell col="36" displaytype="combo" edittype="combo" text="bind:ptnocd" combodataset="ds_init_ptnocd_ptnocdlist" combocodecol="ptnocd" combodatacol="ptnonm"/>
  383. <Cell col="37" text="bind:slidflagcd"/>
  384. <Cell col="38" text="bind:slidisscnt"/>
  385. <Cell col="39" text="bind:initblocno"/>
  386. <Cell col="40" text="bind:autokeepflagcd"/>
  387. <Cell col="41" text="bind:stdyptnocd"/>
  388. <Cell col="42" text="bind:stdy_slidflagcd"/>
  389. <Cell col="43" text="bind:stdy_slidisscnt"/>
  390. <Cell col="44" text="bind:stdy_initblocno"/>
  391. <Cell col="45" text="bind:stdy_autokeepflagcd"/>
  392. <Cell col="46" text="bind:trustptnocd"/>
  393. <Cell col="47" text="bind:trust_slidflagcd"/>
  394. <Cell col="48" text="bind:trust_slidisscnt"/>
  395. <Cell col="49" text="bind:trust_initblocno"/>
  396. <Cell col="50" text="bind:trust_autokeepflagcd"/>
  397. <Cell col="51" text="bind:ptnocdflagcd"/>
  398. <Cell col="52" text="bind:stdyptnocdflagcd"/>
  399. <Cell col="53" text="bind:trustptnocdflagcd"/>
  400. <Cell col="54" text="bind:grup_testcd"/>
  401. <Cell col="55" text="bind:grup_testnm"/>
  402. <Cell col="56" text="bind:prcpgenrflagcd"/>
  403. <Cell col="57" text="bind:prcpacptdd"/>
  404. <Cell col="58" text="bind:spcacptdd"/>
  405. <Cell col="59" text="bind:spcacptno"/>
  406. <Cell col="60" text="bind:spcacptseqno"/>
  407. <Cell col="61" text="bind:acptkey"/>
  408. <Cell col="62" text="bind:workflagcd"/>
  409. <Cell col="63" text="bind:ordkindflagcd"/>
  410. <Cell col="64" text="bind:prcprefflag"/>
  411. <Cell col="65" text="bind:reuseflagcd"/>
  412. <Cell col="66" text="bind:bfacptdd"/>
  413. <Cell col="67" text="bind:bfacptno"/>
  414. <Cell col="68" text="bind:bfacptseqno"/>
  415. <Cell col="69" text="bind:blocflagcd"/>
  416. <Cell col="70" text="bind:stdy_blocflagcd"/>
  417. <Cell col="71" text="bind:trust_blocflagcd"/>
  418. <Cell col="72" text="bind:orgprcpstatcd"/>
  419. <Cell col="73" text="bind:orgtranstatcd"/>
  420. <Cell col="74" text="bind:lastptno"/>
  421. <Cell col="75" text="bind:spcnm"/>
  422. <Cell col="76" text="bind:reqfrmflagcd"/>
  423. <Cell col="77" text="bind:wardcd"/>
  424. <Cell col="78" text="bind:roomcd"/>
  425. <Cell col="79" text="bind:patnm"/>
  426. <Cell col="80" text="bind:sexage"/>
  427. <Cell col="81" text="bind:wardnm"/>
  428. <Cell col="82" text="bind:aptprcpdd"/>
  429. <Cell col="83" text="bind:aptexecprcpuniqno"/>
  430. <Cell col="84" text="bind:aptprcpno"/>
  431. <Cell col="85" text="bind:aptspcacptseqno"/>
  432. <Cell col="86" text="bind:aptcsteno"/>
  433. <Cell col="87" text="bind:aptblocnm"/>
  434. </Band>
  435. </Format>
  436. </Formats>
  437. </Grid>
  438. <Static text="N" position="absolute 113 10 133 23" align="align:center middle;" id="cpt_orgcnt" anchor="default" style="align:right middle;"/>
  439. <Static text="N" position="absolute 129 235 149 248" align="align:center middle;" id="cpt_addcnt" anchor="default" style="align:right middle;"/>
  440. <Static text="N" position="absolute 131 502 151 515" align="align:center middle;" id="cpt_relcnt" anchor="default" style="align:right middle;"/>
  441. <Static text="최종병리번호" position="absolute 664 159 769 172" align="align:center middle;" id="caption9" class="hand" visible="false" anchor="default"/>
  442. <Edit readonly="true" position="absolute 776 153 881 172" id="output1" visible="false" anchor="default"/>
  443. <Grid position="absolute 3 255 890 494" id="grd_addprcp" class="datagrid2" taborder="15" binddataset="ds_main_addprcp_addprcplist" anchor="default" oncellclick="group1_switch1_case_prcplist_grd_addprcp_oncellclick" ondrop="group1_switch1_case_prcplist_grd_addprcp_ondrop" onmousedown="group1_switch1_case_prcplist_grd_addprcp_onmousedown" onkillfocus="group1_switch1_case_prcplist_grd_addprcp_onkillfocus" onexpandup="group1_switch1_case_prcplist_grd_addprcp_onexpandup" onsetfocus="group1_switch1_case_prcplist_grd_addprcp_onsetfocus" onrbuttondown="group1_switch1_case_prcplist_grd_addprcp_onrbuttondown" cellsizingtype="col">
  444. <Formats>
  445. <Format id="default">
  446. <Columns>
  447. <Column size="26"/>
  448. <Column size="0"/>
  449. <Column size="85"/>
  450. <Column size="0"/>
  451. <Column size="0"/>
  452. <Column size="85"/>
  453. <Column size="0"/>
  454. <Column size="0"/>
  455. <Column size="205"/>
  456. <Column size="80"/>
  457. <Column size="40"/>
  458. <Column size="44"/>
  459. <Column size="0"/>
  460. <Column size="50"/>
  461. <Column size="0"/>
  462. <Column size="60"/>
  463. <Column size="50"/>
  464. <Column size="0"/>
  465. <Column size="0"/>
  466. <Column size="0"/>
  467. <Column size="0"/>
  468. <Column size="0"/>
  469. <Column size="0"/>
  470. <Column size="0"/>
  471. <Column size="0"/>
  472. <Column size="0"/>
  473. <Column size="0"/>
  474. <Column size="0"/>
  475. <Column size="0"/>
  476. <Column size="0"/>
  477. <Column size="0"/>
  478. <Column size="0"/>
  479. <Column size="0"/>
  480. <Column size="0"/>
  481. <Column size="0"/>
  482. <Column size="0"/>
  483. <Column size="70"/>
  484. <Column size="0"/>
  485. <Column size="0"/>
  486. <Column size="0"/>
  487. <Column size="0"/>
  488. <Column size="0"/>
  489. <Column size="0"/>
  490. <Column size="0"/>
  491. <Column size="0"/>
  492. <Column size="0"/>
  493. <Column size="0"/>
  494. <Column size="0"/>
  495. <Column size="0"/>
  496. <Column size="0"/>
  497. <Column size="0"/>
  498. <Column size="0"/>
  499. <Column size="0"/>
  500. <Column size="0"/>
  501. <Column size="0"/>
  502. <Column size="0"/>
  503. <Column size="0"/>
  504. <Column size="0"/>
  505. <Column size="0"/>
  506. <Column size="0"/>
  507. <Column size="0"/>
  508. <Column size="0"/>
  509. <Column size="0"/>
  510. <Column size="0"/>
  511. <Column size="0"/>
  512. <Column size="0"/>
  513. <Column size="0"/>
  514. <Column size="0"/>
  515. <Column size="0"/>
  516. <Column size="0"/>
  517. <Column size="0"/>
  518. <Column size="0"/>
  519. <Column size="0"/>
  520. <Column size="0"/>
  521. <Column size="80"/>
  522. <Column size="0"/>
  523. <Column size="0"/>
  524. <Column size="0"/>
  525. <Column size="0"/>
  526. <Column size="80"/>
  527. <Column size="0"/>
  528. <Column size="0"/>
  529. <Column size="0"/>
  530. <Column size="0"/>
  531. <Column size="0"/>
  532. <Column size="0"/>
  533. <Column size="0"/>
  534. <Column size="0"/>
  535. </Columns>
  536. <Rows>
  537. <Row size="33" band="head"/>
  538. <Row size="24"/>
  539. </Rows>
  540. <Band id="head">
  541. <Cell/>
  542. <Cell col="1" text="전달&#10;구분"/>
  543. <Cell col="2" text="병리번호"/>
  544. <Cell col="3" text="병리번호"/>
  545. <Cell col="4" text="병리번호SET"/>
  546. <Cell col="5" text="관련병리번호"/>
  547. <Cell col="6" text="관련병리번호"/>
  548. <Cell col="7" text="관련병리번호SET"/>
  549. <Cell col="8" text="검사항목"/>
  550. <Cell col="9" text="검사코드"/>
  551. <Cell col="10" text="환자&#10;구분"/>
  552. <Cell col="11" text="수납&#10;구분"/>
  553. <Cell col="12" text="처방과코드"/>
  554. <Cell col="13" text="진료과"/>
  555. <Cell col="14" text="처방의ID"/>
  556. <Cell col="15" text="주치의"/>
  557. <Cell col="16" text="의뢰지"/>
  558. <Cell col="17" text="의뢰지&#10;출력매수"/>
  559. <Cell col="18" text="내시경&#10;소견"/>
  560. <Cell col="19" text="기관코드"/>
  561. <Cell col="20" text="이송번호"/>
  562. <Cell col="21" text="이송일자"/>
  563. <Cell col="22" text="이송일련번호"/>
  564. <Cell col="23" text="인계자ID"/>
  565. <Cell col="24" text="인계자부서"/>
  566. <Cell col="25" text="진료일자"/>
  567. <Cell col="26" text="처방일자"/>
  568. <Cell col="27" text="처방번호"/>
  569. <Cell col="28" text="실시처방일련번호"/>
  570. <Cell col="29" text="처방등록일자"/>
  571. <Cell col="30" text="처방등록시간"/>
  572. <Cell col="31" text="등록번호"/>
  573. <Cell col="32" text="검체코드"/>
  574. <Cell col="33" text="검체이송일자"/>
  575. <Cell col="34" text="검체이송번호"/>
  576. <Cell col="35" text="처방상태코드"/>
  577. <Cell col="36" text="병리번호&#10;코드"/>
  578. <Cell col="37" text="슬라이드구분코드"/>
  579. <Cell col="38" text="슬라이드개수"/>
  580. <Cell col="39" text="블럭번호"/>
  581. <Cell col="40" text="자동보관구분코드"/>
  582. <Cell col="41" text="연구용병리번호코드"/>
  583. <Cell col="42" text="연구용슬라이드구분코드"/>
  584. <Cell col="43" text="연구용슬라이드개수"/>
  585. <Cell col="44" text="연구용블럭번호"/>
  586. <Cell col="45" text="연구자동보관구분코드"/>
  587. <Cell col="46" text="수탁용병리번호코드"/>
  588. <Cell col="47" text="수탁용슬라이드구분코드"/>
  589. <Cell col="48" text="수탁용슬라이드개수"/>
  590. <Cell col="49" text="수탁용블럭번호"/>
  591. <Cell col="50" text="수탁자동보관구분코드"/>
  592. <Cell col="51" text="병리번호포함여부"/>
  593. <Cell col="52" text="연구용병리번호포함여부"/>
  594. <Cell col="53" text="수탁용병리번호포함여부"/>
  595. <Cell col="54" text="그룹코드"/>
  596. <Cell col="55" text="그룹검사명"/>
  597. <Cell col="56" text="처방발생&#10;구분코드"/>
  598. <Cell col="57" text="접수일자"/>
  599. <Cell col="58" text="검체접수일자"/>
  600. <Cell col="59" text="검체접수번호"/>
  601. <Cell col="60" text="검체접수일련번호"/>
  602. <Cell col="61" text="접수키"/>
  603. <Cell col="62" text="작업구분"/>
  604. <Cell col="63" text="처방형태상태"/>
  605. <Cell col="64" text="처방조회구분"/>
  606. <Cell col="65" text="재사용여부"/>
  607. <Cell col="66" text="이전접수일자"/>
  608. <Cell col="67" text="이전접수번호"/>
  609. <Cell col="68" text="이전접수일련번호"/>
  610. <Cell col="69" text="블럭종류"/>
  611. <Cell col="70" text="연구블럭종류"/>
  612. <Cell col="71" text="수탁블럭종류"/>
  613. <Cell col="72" text="처방진행상태"/>
  614. <Cell col="73" text="검체진행상태"/>
  615. <Cell col="74" text="최종&#10;병리번호"/>
  616. <Cell col="75" text="검체명"/>
  617. <Cell col="76" text="의뢰지구분"/>
  618. <Cell col="77" text="병동코드"/>
  619. <Cell col="78" text="병실코드"/>
  620. <Cell col="79" text="환자명"/>
  621. <Cell col="80" text="sexage"/>
  622. <Cell col="81" text="wardnm"/>
  623. <Cell col="82" text="aptprcpdd"/>
  624. <Cell col="83" text="aptexecprcpuniqno"/>
  625. <Cell col="84" text="aptprcpno"/>
  626. <Cell col="85" text="aptspcacptseqno"/>
  627. <Cell col="86" text="aptcsteno"/>
  628. <Cell col="87" text="aptblocnm"/>
  629. </Band>
  630. <Band id="body">
  631. <Cell displaytype="checkbox" edittype="checkbox" text="bind:choi"/>
  632. <Cell col="1" text="bind:recvflag"/>
  633. <Cell col="2" text="bind:view_ptno"/>
  634. <Cell col="3" text="bind:ptno"/>
  635. <Cell col="4" text="bind:setptno"/>
  636. <Cell col="5" text="bind:view_relaptno"/>
  637. <Cell col="6" text="bind:relaptno"/>
  638. <Cell col="7" text="bind:setrelaptno"/>
  639. <Cell col="8" style="align:left;" text="bind:testhngnm"/>
  640. <Cell col="9" style="align:left;" text="bind:testcd"/>
  641. <Cell col="10" text="bind:patflag"/>
  642. <Cell col="11" text="bind:rcptflag"/>
  643. <Cell col="12" text="bind:orddeptcd"/>
  644. <Cell col="13" text="bind:orddeptnm"/>
  645. <Cell col="14" text="bind:orddrid"/>
  646. <Cell col="15" text="bind:orddrnm"/>
  647. <Cell col="16" displaytype="text" edittype="text" text="bind:reqfrmno" expandshow="show"/>
  648. <Cell col="17" text="bind:reqfrmprtncnt"/>
  649. <Cell col="18" displaytype="text" edittype="text" text="bind:infcinfo"/>
  650. <Cell col="19" text="bind:instcd"/>
  651. <Cell col="20" text="bind:tranno"/>
  652. <Cell col="21" text="bind:trandd"/>
  653. <Cell col="22" text="bind:transeqno"/>
  654. <Cell col="23" text="bind:tranid"/>
  655. <Cell col="24" text="bind:trandeptcd"/>
  656. <Cell col="25" text="bind:orddd"/>
  657. <Cell col="26" text="bind:prcpdd"/>
  658. <Cell col="27" text="bind:prcpno"/>
  659. <Cell col="28" text="bind:execprcpseqno"/>
  660. <Cell col="29" text="bind:prcprgstdd"/>
  661. <Cell col="30" text="bind:prcprgsttm"/>
  662. <Cell col="31" text="bind:pid"/>
  663. <Cell col="32" text="bind:reprspccd"/>
  664. <Cell col="33" text="bind:spctrandd"/>
  665. <Cell col="34" text="bind:spctranno"/>
  666. <Cell col="35" text="bind:prcpstatcd"/>
  667. <Cell col="36" displaytype="combo" edittype="combo" text="bind:ptnocd" combodataset="ds_init_ptnocd_ptnocdlist" combocodecol="ptnocd" combodatacol="ptnonm"/>
  668. <Cell col="37" text="bind:slidflagcd"/>
  669. <Cell col="38" text="bind:slidisscnt"/>
  670. <Cell col="39" text="bind:initblocno"/>
  671. <Cell col="40" text="bind:autokeepflagcd"/>
  672. <Cell col="41" text="bind:stdyptnocd"/>
  673. <Cell col="42" text="bind:stdy_slidflagcd"/>
  674. <Cell col="43" text="bind:stdy_slidisscnt"/>
  675. <Cell col="44" text="bind:stdy_initblocno"/>
  676. <Cell col="45" text="bind:stdy_autokeepflagcd"/>
  677. <Cell col="46" text="bind:trustptnocd"/>
  678. <Cell col="47" text="bind:trust_slidflagcd"/>
  679. <Cell col="48" text="bind:trust_slidisscnt"/>
  680. <Cell col="49" text="bind:trust_initblocno"/>
  681. <Cell col="50" text="bind:trust_autokeepflagcd"/>
  682. <Cell col="51" text="bind:ptnocdflagcd"/>
  683. <Cell col="52" text="bind:stdyptnocdflagcd"/>
  684. <Cell col="53" text="bind:trustptnocdflagcd"/>
  685. <Cell col="54" text="bind:grup_testcd"/>
  686. <Cell col="55" text="bind:grup_testnm"/>
  687. <Cell col="56" text="bind:prcpgenrflagcd"/>
  688. <Cell col="57" text="bind:prcpacptdd"/>
  689. <Cell col="58" text="bind:spcacptdd"/>
  690. <Cell col="59" text="bind:spcacptno"/>
  691. <Cell col="60" text="bind:spcacptseqno"/>
  692. <Cell col="61" text="bind:acptkey"/>
  693. <Cell col="62" text="bind:workflagcd"/>
  694. <Cell col="63" text="bind:ordkindflagcd"/>
  695. <Cell col="64" text="bind:prcprefflag"/>
  696. <Cell col="65" text="bind:reuseflagcd"/>
  697. <Cell col="66" text="bind:bfacptdd"/>
  698. <Cell col="67" text="bind:bfacptno"/>
  699. <Cell col="68" text="bind:bfacptseqno"/>
  700. <Cell col="69" text="bind:blocflagcd"/>
  701. <Cell col="70" text="bind:stdy_blocflagcd"/>
  702. <Cell col="71" text="bind:trust_blocflagcd"/>
  703. <Cell col="72" text="bind:orgprcpstatcd"/>
  704. <Cell col="73" text="bind:orgtranstatcd"/>
  705. <Cell col="74" text="bind:lastptno"/>
  706. <Cell col="75" text="bind:spcnm"/>
  707. <Cell col="76" text="bind:reqfrmflagcd"/>
  708. <Cell col="77" text="bind:wardcd"/>
  709. <Cell col="78" text="bind:roomcd"/>
  710. <Cell col="79" text="bind:patnm"/>
  711. <Cell col="80" text="bind:sexage"/>
  712. <Cell col="81" text="bind:wardnm"/>
  713. <Cell col="82" text="bind:aptprcpdd"/>
  714. <Cell col="83" text="bind:aptexecprcpuniqno"/>
  715. <Cell col="84" text="bind:aptprcpno"/>
  716. <Cell col="85" text="bind:aptspcacptseqno"/>
  717. <Cell col="86" text="bind:aptcsteno"/>
  718. <Cell col="87" text="bind:aptblocnm"/>
  719. </Band>
  720. </Format>
  721. </Formats>
  722. </Grid>
  723. <Grid position="absolute 3 522 890 643" id="grd_relprcp" class="datagrid2" taborder="16" binddataset="ds_main_relprcp_relprcplist" anchor="default" oncellclick="group1_switch1_case_prcplist_grd_relprcp_oncellclick" onmousedown="group1_switch1_case_prcplist_grd_relprcp_onmousedown" onkillfocus="group1_switch1_case_prcplist_grd_relprcp_onkillfocus" onexpandup="group1_switch1_case_prcplist_grd_relprcp_onexpandup" autofittype="col" cellsizingtype="col">
  724. <Formats>
  725. <Format id="default">
  726. <Columns>
  727. <Column size="0"/>
  728. <Column size="40"/>
  729. <Column size="90"/>
  730. <Column size="0"/>
  731. <Column size="0"/>
  732. <Column size="90"/>
  733. <Column size="0"/>
  734. <Column size="0"/>
  735. <Column size="261"/>
  736. <Column size="80"/>
  737. <Column size="40"/>
  738. <Column size="44"/>
  739. <Column size="0"/>
  740. <Column size="80"/>
  741. <Column size="0"/>
  742. <Column size="90"/>
  743. <Column size="55"/>
  744. <Column size="0"/>
  745. <Column size="0"/>
  746. <Column size="0"/>
  747. <Column size="0"/>
  748. <Column size="0"/>
  749. <Column size="0"/>
  750. <Column size="0"/>
  751. <Column size="0"/>
  752. <Column size="0"/>
  753. <Column size="0"/>
  754. <Column size="0"/>
  755. <Column size="0"/>
  756. <Column size="0"/>
  757. <Column size="0"/>
  758. <Column size="0"/>
  759. <Column size="0"/>
  760. <Column size="0"/>
  761. <Column size="0"/>
  762. <Column size="0"/>
  763. <Column size="0"/>
  764. <Column size="0"/>
  765. <Column size="0"/>
  766. <Column size="0"/>
  767. <Column size="0"/>
  768. <Column size="0"/>
  769. <Column size="0"/>
  770. <Column size="0"/>
  771. <Column size="0"/>
  772. <Column size="0"/>
  773. <Column size="0"/>
  774. <Column size="0"/>
  775. <Column size="0"/>
  776. <Column size="0"/>
  777. <Column size="0"/>
  778. <Column size="0"/>
  779. <Column size="0"/>
  780. <Column size="0"/>
  781. <Column size="0"/>
  782. <Column size="0"/>
  783. <Column size="0"/>
  784. <Column size="0"/>
  785. <Column size="0"/>
  786. <Column size="0"/>
  787. <Column size="0"/>
  788. <Column size="0"/>
  789. <Column size="0"/>
  790. <Column size="0"/>
  791. <Column size="0"/>
  792. <Column size="0"/>
  793. <Column size="0"/>
  794. <Column size="0"/>
  795. <Column size="0"/>
  796. <Column size="0"/>
  797. <Column size="0"/>
  798. <Column size="0"/>
  799. <Column size="0"/>
  800. <Column size="0"/>
  801. <Column size="0"/>
  802. <Column size="0"/>
  803. <Column size="0"/>
  804. <Column size="0"/>
  805. <Column size="0"/>
  806. <Column size="0"/>
  807. <Column size="0"/>
  808. </Columns>
  809. <Rows>
  810. <Row size="33" band="head"/>
  811. <Row size="24"/>
  812. </Rows>
  813. <Band id="head">
  814. <Cell text="선&#10;택"/>
  815. <Cell col="1" text="전달&#10;구분"/>
  816. <Cell col="2" text="병리번호"/>
  817. <Cell col="3" text="병리번호"/>
  818. <Cell col="4" text="병리번호SET"/>
  819. <Cell col="5" text="관련병리번호"/>
  820. <Cell col="6" text="관련병리번호"/>
  821. <Cell col="7" text="관련병리번호SET"/>
  822. <Cell col="8" text="검사항목"/>
  823. <Cell col="9" text="검사코드"/>
  824. <Cell col="10" text="환자&#10;구분"/>
  825. <Cell col="11" text="수납&#10;구분"/>
  826. <Cell col="12" text="처방과코드"/>
  827. <Cell col="13" text="진료과"/>
  828. <Cell col="14" text="처방의ID"/>
  829. <Cell col="15" text="주치의"/>
  830. <Cell col="16" text="의뢰지"/>
  831. <Cell col="17" text="의뢰지&#10;출력매수"/>
  832. <Cell col="18" text="내시경소견"/>
  833. <Cell col="19" text="기관코드"/>
  834. <Cell col="20" text="이송번호"/>
  835. <Cell col="21" text="이송일자"/>
  836. <Cell col="22" text="이송일련번호"/>
  837. <Cell col="23" text="인계자ID"/>
  838. <Cell col="24" text="인계자부서"/>
  839. <Cell col="25" text="진료일자"/>
  840. <Cell col="26" text="처방일자"/>
  841. <Cell col="27" text="처방번호"/>
  842. <Cell col="28" text="실시처방일련번호"/>
  843. <Cell col="29" text="처방등록일자"/>
  844. <Cell col="30" text="처방등록시간"/>
  845. <Cell col="31" text="등록번호"/>
  846. <Cell col="32" text="검체코드"/>
  847. <Cell col="33" text="검체이송일자"/>
  848. <Cell col="34" text="검체이송번호"/>
  849. <Cell col="35" text="처방상태코드"/>
  850. <Cell col="36" text="병리번호코드"/>
  851. <Cell col="37" text="슬라이드구분코드"/>
  852. <Cell col="38" text="슬라이드개수"/>
  853. <Cell col="39" text="블럭번호"/>
  854. <Cell col="40" text="자동보관구분코드"/>
  855. <Cell col="41" text="연구용병리번호코드"/>
  856. <Cell col="42" text="연구용슬라이드구분코드"/>
  857. <Cell col="43" text="연구용슬라이드개수"/>
  858. <Cell col="44" text="연구용블럭번호"/>
  859. <Cell col="45" text="연구자동보관구분코드"/>
  860. <Cell col="46" text="수탁용병리번호코드"/>
  861. <Cell col="47" text="수탁용슬라이드구분코드"/>
  862. <Cell col="48" text="수탁용슬라이드개수"/>
  863. <Cell col="49" text="수탁용블럭번호"/>
  864. <Cell col="50" text="수탁자동보관구분코드"/>
  865. <Cell col="51" text="병리번호포함여부"/>
  866. <Cell col="52" text="연구용병리번호포함여부"/>
  867. <Cell col="53" text="수탁용병리번호포함여부"/>
  868. <Cell col="54" text="그룹코드"/>
  869. <Cell col="55" text="처방발생&#10;구분코드"/>
  870. <Cell col="56" text="접수일자"/>
  871. <Cell col="57" text="검체접수일자"/>
  872. <Cell col="58" text="검체접수번호"/>
  873. <Cell col="59" text="검체접수일련번호"/>
  874. <Cell col="60" text="접수키"/>
  875. <Cell col="61" text="작업구분"/>
  876. <Cell col="62" text="처방형태상태"/>
  877. <Cell col="63" text="처방조회구분"/>
  878. <Cell col="64" text="재사용여부"/>
  879. <Cell col="65" text="이전접수일자"/>
  880. <Cell col="66" text="이전접수번호"/>
  881. <Cell col="67" text="이전접수일련번호"/>
  882. <Cell col="68" text="블럭번호"/>
  883. <Cell col="69" text="연구블럭번호"/>
  884. <Cell col="70" text="수탁블럭번호"/>
  885. <Cell col="71" text="처방진행상태"/>
  886. <Cell col="72" text="검체진행상태"/>
  887. <Cell col="73" text="최종병리번호"/>
  888. <Cell col="74" text="검체명"/>
  889. <Cell col="75" text="의뢰지구분"/>
  890. <Cell col="76" text="병동코드"/>
  891. <Cell col="77" text="병실코드"/>
  892. <Cell col="78" text="환자명"/>
  893. <Cell col="79" text="sexage"/>
  894. <Cell col="80" text="wardnm"/>
  895. </Band>
  896. <Band id="body">
  897. <Cell displaytype="checkbox" edittype="checkbox" text="bind:choi"/>
  898. <Cell col="1" text="bind:recvflag"/>
  899. <Cell col="2" text="bind:view_ptno"/>
  900. <Cell col="3" text="bind:ptno"/>
  901. <Cell col="4" text="bind:setptno"/>
  902. <Cell col="5" text="bind:view_relaptno"/>
  903. <Cell col="6" text="bind:relaptno"/>
  904. <Cell col="7" text="bind:setrelaptno"/>
  905. <Cell col="8" style="align:left;" text="bind:testhngnm"/>
  906. <Cell col="9" style="align:left;" text="bind:testcd"/>
  907. <Cell col="10" text="bind:patflag"/>
  908. <Cell col="11" text="bind:rcptflag"/>
  909. <Cell col="12" text="bind:orddeptcd"/>
  910. <Cell col="13" text="bind:orddeptnm"/>
  911. <Cell col="14" text="bind:orddrid"/>
  912. <Cell col="15" text="bind:orddrnm"/>
  913. <Cell col="16" displaytype="text" edittype="text" text="bind:reqfrmno" expandshow="show"/>
  914. <Cell col="17" text="bind:reqfrmprtncnt"/>
  915. <Cell col="18" displaytype="text" edittype="text" text="bind:infcinfo"/>
  916. <Cell col="19" text="bind:instcd"/>
  917. <Cell col="20" text="bind:tranno"/>
  918. <Cell col="21" text="bind:trandd"/>
  919. <Cell col="22" text="bind:transeqno"/>
  920. <Cell col="23" text="bind:tranid"/>
  921. <Cell col="24" text="bind:trandeptcd"/>
  922. <Cell col="25" text="bind:orddd"/>
  923. <Cell col="26" text="bind:prcpdd"/>
  924. <Cell col="27" text="bind:prcpno"/>
  925. <Cell col="28" text="bind:execprcpseqno"/>
  926. <Cell col="29" text="bind:prcprgstdd"/>
  927. <Cell col="30" text="bind:prcprgsttm"/>
  928. <Cell col="31" text="bind:pid"/>
  929. <Cell col="32" text="bind:reprspccd"/>
  930. <Cell col="33" text="bind:spctrandd"/>
  931. <Cell col="34" text="bind:spctranno"/>
  932. <Cell col="35" text="bind:prcpstatcd"/>
  933. <Cell col="36" text="bind:ptnocd"/>
  934. <Cell col="37" text="bind:slidflagcd"/>
  935. <Cell col="38" text="bind:slidisscnt"/>
  936. <Cell col="39" text="bind:initblocno"/>
  937. <Cell col="40" text="bind:autokeepflagcd"/>
  938. <Cell col="41" text="bind:stdyptnocd"/>
  939. <Cell col="42" text="bind:stdy_slidflagcd"/>
  940. <Cell col="43" text="bind:stdy_slidisscnt"/>
  941. <Cell col="44" text="bind:stdy_initblocno"/>
  942. <Cell col="45" text="bind:stdy_autokeepflagcd"/>
  943. <Cell col="46" text="bind:trustptnocd"/>
  944. <Cell col="47" text="bind:trust_slidflagcd"/>
  945. <Cell col="48" text="bind:trust_slidisscnt"/>
  946. <Cell col="49" text="bind:trust_initblocno"/>
  947. <Cell col="50" text="bind:trust_autokeepflagcd"/>
  948. <Cell col="51" text="bind:ptnocdflagcd"/>
  949. <Cell col="52" text="bind:stdyptnocdflagcd"/>
  950. <Cell col="53" text="bind:trustptnocdflagcd"/>
  951. <Cell col="54" text="bind:grup_testcd"/>
  952. <Cell col="55" text="bind:prcpgenrflagcd"/>
  953. <Cell col="56" text="bind:prcpacptdd"/>
  954. <Cell col="57" text="bind:spcacptdd"/>
  955. <Cell col="58" text="bind:spcacptno"/>
  956. <Cell col="59" text="bind:spcacptseqno"/>
  957. <Cell col="60" text="bind:acptkey"/>
  958. <Cell col="61" text="bind:workflagcd"/>
  959. <Cell col="62" text="bind:ordkindflagcd"/>
  960. <Cell col="63" text="bind:prcprefflag"/>
  961. <Cell col="64" text="bind:reuseflagcd"/>
  962. <Cell col="65" text="bind:bfacptdd"/>
  963. <Cell col="66" text="bind:bfacptno"/>
  964. <Cell col="67" text="bind:bfacptseqno"/>
  965. <Cell col="68" text="bind:blocflagcd"/>
  966. <Cell col="69" text="bind:stdy_blocflagcd"/>
  967. <Cell col="70" text="bind:trust_blocflagcd"/>
  968. <Cell col="71" text="bind:orgprcpstatcd"/>
  969. <Cell col="72" text="bind:orgtranstatcd"/>
  970. <Cell col="73" text="bind:lastptno"/>
  971. <Cell col="74" text="bind:spcnm"/>
  972. <Cell col="75" text="bind:reqfrmflagcd"/>
  973. <Cell col="76" text="bind:wardcd"/>
  974. <Cell col="77" text="bind:roomcd"/>
  975. <Cell col="78" text="bind:patnm"/>
  976. <Cell col="79" text="bind:sexage"/>
  977. <Cell col="80" text="bind:wardnm"/>
  978. </Band>
  979. </Format>
  980. </Formats>
  981. </Grid>
  982. <Button position="absolute 617 7 633 23" id="button3" class="icon_search" taborder="2" text="" anchor="default" onclick="group1_switch1_case_prcplist_button3_onclick"/>
  983. <Static text="적용구분" position="absolute 445 4 513 24" align="align:center middle;" id="caption6" class="cell_1" anchor="default"/>
  984. <Static text="결번있음" position="absolute 357 3 441 25" align="align:center middle;" id="cap_mno" anchor="default" onclick="group1_switch1_case_prcplist_cap_mno_onclick" style="align:center;"/>
  985. <Combo position="absolute 514 4 614 23" id="cmb_ptnoflagcd" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
  986. <Dataset id="innerdataset">
  987. <ColumnInfo>
  988. <Column id="codecolumn"/>
  989. <Column id="datacolumn"/>
  990. </ColumnInfo>
  991. <Rows>
  992. <Row>
  993. <Col id="codecolumn">0</Col>
  994. <Col id="datacolumn">병리번호</Col>
  995. </Row>
  996. <Row>
  997. <Col id="codecolumn">1</Col>
  998. <Col id="datacolumn">관련병리번호</Col>
  999. </Row>
  1000. </Rows>
  1001. </Dataset>
  1002. </Combo>
  1003. <Static text="동의서 :" position="absolute 701 3 782 22" id="caption10" class="hand" anchor="default"/>
  1004. <Button position="absolute 781 4 883 24" id="btn_formprnt" enable="false" text="" anchor="default" onclick="group1_switch1_case_prcplist_btn_formprnt_onclick"/>
  1005. <MaskEdit position="absolute 317 138 338 157" id="ipt_waittm" class="input_default" taborder="8" visible="false" mask="#,###" anchor="default"/>
  1006. <Static text="접수구분" position="absolute 181 136 241 159" align="align:center middle;" id="caption12" class="cell_1" visible="false" anchor="default"/>
  1007. <Combo position="absolute 244 137 316 158" align="align:center middle;" id="cmb_autoacptflagcd" class="combo_essential" taborder="1" visible="false" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
  1008. <Dataset id="innerdataset">
  1009. <ColumnInfo>
  1010. <Column id="codecolumn"/>
  1011. <Column id="datacolumn"/>
  1012. </ColumnInfo>
  1013. <Rows>
  1014. <Row>
  1015. <Col id="codecolumn">0</Col>
  1016. <Col id="datacolumn">자동접수</Col>
  1017. </Row>
  1018. <Row>
  1019. <Col id="codecolumn">1</Col>
  1020. <Col id="datacolumn">수동접수</Col>
  1021. </Row>
  1022. </Rows>
  1023. </Dataset>
  1024. </Combo>
  1025. <Static text="병리번호접수구분" position="absolute 181 172 288 195" align="align:center middle;" id="caption23" class="cell_1" visible="false" anchor="default"/>
  1026. <MaskEdit position="absolute 294 173 315 192" id="input1" class="input_default" taborder="8" visible="false" mask="#,###" anchor="default"/>
  1027. </Layout>
  1028. </Layouts>
  1029. </Tabpage>
  1030. </Tabpages>
  1031. </Tab>
  1032. <Static text="결번있음" position="absolute 1138 422 1198 444" align="align:center middle;" id="cpt_mnosea" anchor="default" style="align:center;"/>
  1033. <Tab position="absolute 897 433 1202 740" id="switch2" anchor="default" style="buttonbackground:stretch 10,10;border:0 none #808080ff ;" tabindex="1" class="tab_Normal">
  1034. <Tabpages>
  1035. <Tabpage text="" id="case_bfptno">
  1036. <Layouts>
  1037. <Layout>
  1038. <Grid position="absolute 2 3 303 293" id="grd_bfptno" taborder="20" binddataset="ds_main_bfptnohist_ptnohistlist" anchor="default" ondrag="group1_switch2_case_bfptno_grd_bfptno_ondrag" oncelldblclick="group1_switch2_case_bfptno_grd_bfptno_oncelldblclick" ondragmove="group1_switch2_case_bfptno_grd_bfptno_ondragmove" onrbuttondown="group1_switch2_case_bfptno_grd_bfptno_onrbuttondown">
  1039. <Formats>
  1040. <Format id="default">
  1041. <Columns>
  1042. <Column size="0"/>
  1043. <Column size="90"/>
  1044. <Column size="72"/>
  1045. <Column size="0"/>
  1046. <Column size="0"/>
  1047. <Column size="65"/>
  1048. <Column size="65"/>
  1049. <Column size="70"/>
  1050. <Column size="0"/>
  1051. <Column size="0"/>
  1052. <Column size="0"/>
  1053. <Column size="0"/>
  1054. </Columns>
  1055. <Rows>
  1056. <Row size="24" band="head"/>
  1057. <Row size="24"/>
  1058. </Rows>
  1059. <Band id="head">
  1060. <Cell text="기관코드"/>
  1061. <Cell col="1" text="병리번호"/>
  1062. <Cell col="2" text="육안검사의"/>
  1063. <Cell col="3" text="병리번호"/>
  1064. <Cell col="4" text="검체코드"/>
  1065. <Cell col="5" text="검체명"/>
  1066. <Cell col="6" text="등록번호"/>
  1067. <Cell col="7" text="환자성명"/>
  1068. <Cell col="8" text="관련병리번호"/>
  1069. <Cell col="9" text="이전접수일자"/>
  1070. <Cell col="10" text="이전접수번호"/>
  1071. <Cell col="11" text="이전접수일련번호"/>
  1072. </Band>
  1073. <Band id="body">
  1074. <Cell text="bind:instcd"/>
  1075. <Cell col="1" text="bind:view_ptno"/>
  1076. <Cell col="2" text="bind:grosdrnm"/>
  1077. <Cell col="3" text="bind:ptno"/>
  1078. <Cell col="4" text="bind:spccd"/>
  1079. <Cell col="5" style="align:left middle;" text="bind:spcnm"/>
  1080. <Cell col="6" text="bind:pid"/>
  1081. <Cell col="7" text="bind:patnm"/>
  1082. <Cell col="8" text="bind:view_relaptno"/>
  1083. <Cell col="9" text="bind:bfacptdd"/>
  1084. <Cell col="10" text="bind:bfacptno"/>
  1085. <Cell col="11" text="bind:bfacptseqno"/>
  1086. </Band>
  1087. </Format>
  1088. </Formats>
  1089. </Grid>
  1090. </Layout>
  1091. </Layouts>
  1092. </Tabpage>
  1093. <Tabpage text="" id="case_mnoptno" scrollbars="none">
  1094. <Layouts>
  1095. <Layout width="297" height="292">
  1096. <Grid position="absolute 2 3 304 294" id="grd_mnoptno" taborder="21" binddataset="ds_main_mnoptnohist_ptnohistlist" anchor="default" ondrag="group1_switch2_case_mnoptno_grd_mnoptno_ondrag" dragscrolltype="none" onrbuttondown="group1_switch2_case_mnoptno_grd_mnoptno_onrbuttondown" cellsizingtype="col">
  1097. <Formats>
  1098. <Format id="default">
  1099. <Columns>
  1100. <Column size="0"/>
  1101. <Column size="104"/>
  1102. <Column size="0"/>
  1103. <Column size="0"/>
  1104. <Column size="65"/>
  1105. <Column size="65"/>
  1106. <Column size="70"/>
  1107. <Column size="35"/>
  1108. <Column size="100"/>
  1109. </Columns>
  1110. <Rows>
  1111. <Row size="24" band="head"/>
  1112. <Row size="24"/>
  1113. </Rows>
  1114. <Band id="head">
  1115. <Cell text="기관코드"/>
  1116. <Cell col="1" text="병리번호"/>
  1117. <Cell col="2" text="병리번호"/>
  1118. <Cell col="3" text="검체코드"/>
  1119. <Cell col="4" text="검체명"/>
  1120. <Cell col="5" text="등록번호"/>
  1121. <Cell col="6" text="환자성명"/>
  1122. <Cell col="7"/>
  1123. <Cell col="8"/>
  1124. </Band>
  1125. <Band id="body">
  1126. <Cell text="bind:instcd"/>
  1127. <Cell col="1" text="bind:view_ptno"/>
  1128. <Cell col="2" text="bind:ptno"/>
  1129. <Cell col="3" text="bind:spccd"/>
  1130. <Cell col="4" style="align:left;" text="bind:spcnm"/>
  1131. <Cell col="5" text="bind:pid"/>
  1132. <Cell col="6" text="bind:patnm"/>
  1133. <Cell col="7" text="bind:patnm"/>
  1134. <Cell col="8" text="bind:view_relaptno"/>
  1135. </Band>
  1136. </Format>
  1137. </Formats>
  1138. </Grid>
  1139. </Layout>
  1140. </Layouts>
  1141. </Tabpage>
  1142. </Tabpages>
  1143. </Tab>
  1144. <Div position="absolute 895 -1 1205 105" id="grp_acptenv" anchor="default">
  1145. <Layouts>
  1146. <Layout>
  1147. <Shape position="absolute 0 50 284 56" linetype="horizontal" id="line9" class="line_2" anchor="default"/>
  1148. <Shape position="absolute 1 0 307 6" linetype="horizontal" id="line8" class="line_10" anchor="default" style="strokepen:3 solid #33bbbbff;"/>
  1149. <Calendar position="absolute 205 31 310 50" align="align:center middle;" id="ipt_acptdd" class="input_essential" taborder="13" anchor="default"/>
  1150. <Static text="육안검사의" position="absolute 1 4 72 27" align="align:center middle;" id="cap_acptdd" class="cell_1" anchor="default"/>
  1151. <Static text="Frozen의" position="absolute 1 29 72 52" id="cap_grosstestdr" class="cell_1" anchor="default"/>
  1152. <Static text="판 독 의" position="absolute 1 53 72 76" align="align:center middle;" id="cap_grosplgyid" class="cell_1" anchor="default"/>
  1153. <Combo position="absolute 73 56 141 75" id="cmb_readdr" datacolumn="usernm" codecolumn="userid" anchor="default" innerdataset="@ds_init_cmb_readdr"/>
  1154. <Combo position="absolute 73 31 141 50" id="cmb_frzndr" datacolumn="usernm" codecolumn="userid" anchor="default" innerdataset="@ds_init_cmb_frzndr" onitemchanged="group1_grp_acptenv_cmb_frzndr_onitemchanged"/>
  1155. <Calendar position="absolute 205 7 310 26" align="align:center middle;" id="ipt_testdd" class="input_essential" taborder="13" anchor="default"/>
  1156. <Static text="접 수 자" position="absolute 1 77 72 100" align="align:center middle;" id="caption14" class="cell_1" anchor="default"/>
  1157. <Shape position="absolute 0 26 284 32" linetype="horizontal" id="line3" class="line_2" anchor="default"/>
  1158. <Shape position="absolute 0 75 284 81" linetype="horizontal" id="line1" class="line_2" anchor="default"/>
  1159. <Static text="접 수 일" position="absolute 142 30 206 53" align="align:center middle;" id="caption17" class="cell_1" anchor="default"/>
  1160. <Static text="육안검사" position="absolute 142 5 206 28" align="align:center middle;" id="caption18" class="cell_1" anchor="default"/>
  1161. <Static text="바 코 드" position="absolute 142 78 206 101" align="align:center middle;" id="caption22" class="cell_1" anchor="default"/>
  1162. <Shape position="absolute 0 99 307 105" linetype="horizontal" id="line10" class="line_3" anchor="default"/>
  1163. <Combo position="absolute 206 79 286 98" align="align:center middle;" id="cmb_barcdprnt" class="combo_essential" taborder="2" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
  1164. <Dataset id="innerdataset">
  1165. <ColumnInfo>
  1166. <Column id="codecolumn"/>
  1167. <Column id="datacolumn"/>
  1168. </ColumnInfo>
  1169. <Rows>
  1170. <Row>
  1171. <Col id="codecolumn">0</Col>
  1172. <Col id="datacolumn">자동출력</Col>
  1173. </Row>
  1174. <Row>
  1175. <Col id="codecolumn">1</Col>
  1176. <Col id="datacolumn">수동출력</Col>
  1177. </Row>
  1178. </Rows>
  1179. </Dataset>
  1180. </Combo>
  1181. <MaskEdit position="absolute 286 79 307 98" id="ipt_barcdprntcnt" class="input_default" taborder="7" mask="#,###" anchor="default"/>
  1182. <MaskEdit position="absolute 205 55 308 75" align="align:right middle;" id="ipt_reqfrmprntcnt" class="input_default" taborder="6" mask="#,###" anchor="default"/>
  1183. <Static text="의 뢰 지" position="absolute 142 54 206 77" id="caption5" class="cell_1" anchor="default"/>
  1184. <Combo id="cmb_grostestdr" taborder="14" codecolumn="userid" datacolumn="usernm" class="combo_default" position="absolute 73 5 141 24" onitemchanged="group1_grp_acptenv_cmb_grostestdr_onitemchanged" anchor="default" innerdataset="@ds_init_cmb_grostestdr"/>
  1185. <Combo id="cmb_grostestid" taborder="15" codecolumn="userid" datacolumn="usernm" class="combo_essential" position="absolute 73 79 141 98" onitemchanged="group1_grp_acptenv_cmb_grostestid_onitemchanged" anchor="default" innerdataset="@ds_init_cmb_grostestid"/>
  1186. </Layout>
  1187. </Layouts>
  1188. </Div>
  1189. <Static text="검체현황" position="absolute 901 106 998 122" id="caption15" class="tit_2" anchor="default"/>
  1190. <Grid position="absolute 701 281 1116 381" id="grd_acptdesc" visible="false" binddataset="ds_hidden_sendnode_prcplist" anchor="default">
  1191. <Formats>
  1192. <Format id="default">
  1193. <Columns>
  1194. <Column size="100"/>
  1195. <Column size="100"/>
  1196. <Column size="100"/>
  1197. <Column size="100"/>
  1198. <Column size="100"/>
  1199. <Column size="100"/>
  1200. <Column size="100"/>
  1201. <Column size="100"/>
  1202. <Column size="100"/>
  1203. <Column size="100"/>
  1204. <Column size="100"/>
  1205. <Column size="100"/>
  1206. <Column size="100"/>
  1207. <Column size="100"/>
  1208. <Column size="100"/>
  1209. <Column size="100"/>
  1210. <Column size="100"/>
  1211. <Column size="100"/>
  1212. <Column size="100"/>
  1213. <Column size="100"/>
  1214. <Column size="100"/>
  1215. <Column size="100"/>
  1216. <Column size="100"/>
  1217. <Column size="100"/>
  1218. <Column size="100"/>
  1219. <Column size="100"/>
  1220. <Column size="100"/>
  1221. <Column size="100"/>
  1222. <Column size="100"/>
  1223. <Column size="100"/>
  1224. <Column size="100"/>
  1225. <Column size="100"/>
  1226. <Column size="100"/>
  1227. <Column size="100"/>
  1228. <Column size="100"/>
  1229. <Column size="100"/>
  1230. <Column size="100"/>
  1231. <Column size="100"/>
  1232. <Column size="100"/>
  1233. <Column size="100"/>
  1234. <Column size="100"/>
  1235. <Column size="100"/>
  1236. <Column size="100"/>
  1237. <Column size="100"/>
  1238. <Column size="100"/>
  1239. <Column size="100"/>
  1240. <Column size="100"/>
  1241. <Column size="100"/>
  1242. <Column size="100"/>
  1243. <Column size="100"/>
  1244. <Column size="100"/>
  1245. <Column size="100"/>
  1246. <Column size="100"/>
  1247. <Column size="100"/>
  1248. <Column size="100"/>
  1249. <Column size="100"/>
  1250. <Column size="100"/>
  1251. <Column size="100"/>
  1252. <Column size="100"/>
  1253. <Column size="100"/>
  1254. <Column size="100"/>
  1255. <Column size="100"/>
  1256. <Column size="100"/>
  1257. <Column size="100"/>
  1258. <Column size="100"/>
  1259. <Column size="100"/>
  1260. <Column size="100"/>
  1261. <Column size="100"/>
  1262. <Column size="100"/>
  1263. <Column size="100"/>
  1264. <Column size="100"/>
  1265. <Column size="100"/>
  1266. <Column size="100"/>
  1267. <Column size="100"/>
  1268. <Column size="100"/>
  1269. <Column size="100"/>
  1270. <Column size="100"/>
  1271. <Column size="100"/>
  1272. <Column size="100"/>
  1273. <Column size="100"/>
  1274. <Column size="100"/>
  1275. <Column size="100"/>
  1276. <Column size="100"/>
  1277. <Column size="100"/>
  1278. <Column size="100"/>
  1279. <Column size="100"/>
  1280. <Column size="100"/>
  1281. </Columns>
  1282. <Rows>
  1283. <Row size="24" band="head"/>
  1284. <Row size="24"/>
  1285. </Rows>
  1286. <Band id="head">
  1287. <Cell text="caption1"/>
  1288. <Cell col="1" text="caption2"/>
  1289. <Cell col="2" text="caption3"/>
  1290. <Cell col="3" text="caption4"/>
  1291. <Cell col="4" text="caption5"/>
  1292. <Cell col="5" text="caption6"/>
  1293. <Cell col="6" text="caption7"/>
  1294. <Cell col="7" text="caption8"/>
  1295. <Cell col="8" text="caption9"/>
  1296. <Cell col="9"/>
  1297. <Cell col="10"/>
  1298. <Cell col="11"/>
  1299. <Cell col="12"/>
  1300. <Cell col="13"/>
  1301. <Cell col="14"/>
  1302. <Cell col="15"/>
  1303. <Cell col="16"/>
  1304. <Cell col="17"/>
  1305. <Cell col="18"/>
  1306. <Cell col="19"/>
  1307. <Cell col="20"/>
  1308. <Cell col="21"/>
  1309. <Cell col="22"/>
  1310. <Cell col="23"/>
  1311. <Cell col="24"/>
  1312. <Cell col="25"/>
  1313. <Cell col="26"/>
  1314. <Cell col="27"/>
  1315. <Cell col="28"/>
  1316. <Cell col="29"/>
  1317. <Cell col="30"/>
  1318. <Cell col="31"/>
  1319. <Cell col="32"/>
  1320. <Cell col="33"/>
  1321. <Cell col="34"/>
  1322. <Cell col="35"/>
  1323. <Cell col="36"/>
  1324. <Cell col="37"/>
  1325. <Cell col="38"/>
  1326. <Cell col="39"/>
  1327. <Cell col="40"/>
  1328. <Cell col="41"/>
  1329. <Cell col="42"/>
  1330. <Cell col="43"/>
  1331. <Cell col="44"/>
  1332. <Cell col="45"/>
  1333. <Cell col="46"/>
  1334. <Cell col="47"/>
  1335. <Cell col="48"/>
  1336. <Cell col="49"/>
  1337. <Cell col="50"/>
  1338. <Cell col="51"/>
  1339. <Cell col="52"/>
  1340. <Cell col="53"/>
  1341. <Cell col="54"/>
  1342. <Cell col="55"/>
  1343. <Cell col="56"/>
  1344. <Cell col="57"/>
  1345. <Cell col="58"/>
  1346. <Cell col="59"/>
  1347. <Cell col="60"/>
  1348. <Cell col="61"/>
  1349. <Cell col="62"/>
  1350. <Cell col="63"/>
  1351. <Cell col="64"/>
  1352. <Cell col="65"/>
  1353. <Cell col="66"/>
  1354. <Cell col="67"/>
  1355. <Cell col="68"/>
  1356. <Cell col="69"/>
  1357. <Cell col="70"/>
  1358. <Cell col="71"/>
  1359. <Cell col="72"/>
  1360. <Cell col="73"/>
  1361. <Cell col="74"/>
  1362. <Cell col="75"/>
  1363. <Cell col="76"/>
  1364. <Cell col="77"/>
  1365. <Cell col="78"/>
  1366. <Cell col="79"/>
  1367. <Cell col="80"/>
  1368. <Cell col="81"/>
  1369. <Cell col="82"/>
  1370. <Cell col="83"/>
  1371. <Cell col="84"/>
  1372. <Cell col="85"/>
  1373. <Cell col="86"/>
  1374. </Band>
  1375. <Band id="body">
  1376. <Cell text="bind:choi" edittype="checkbox" displaytype="checkbox"/>
  1377. <Cell col="1" text="bind:recvflag"/>
  1378. <Cell col="2" text="bind:view_ptno"/>
  1379. <Cell col="3" text="bind:ptno"/>
  1380. <Cell col="4" text="bind:setptno"/>
  1381. <Cell col="5" text="bind:view_relaptno"/>
  1382. <Cell col="6" text="bind:relaptno"/>
  1383. <Cell col="7" text="bind:setrelaptno"/>
  1384. <Cell col="8" text="bind:testhngnm"/>
  1385. <Cell col="9" text="bind:testcd"/>
  1386. <Cell col="10" text="bind:patflag"/>
  1387. <Cell col="11" text="bind:rcptflag"/>
  1388. <Cell col="12" text="bind:orddeptcd"/>
  1389. <Cell col="13" text="bind:orddeptnm"/>
  1390. <Cell col="14" text="bind:orddrid"/>
  1391. <Cell col="15" text="bind:orddrnm"/>
  1392. <Cell col="16" text="bind:reqfrmno" edittype="text" displaytype="text"/>
  1393. <Cell col="17" text="bind:reqfrmprtncnt"/>
  1394. <Cell col="18" text="bind:infcinfo"/>
  1395. <Cell col="19" text="bind:instcd"/>
  1396. <Cell col="20" text="bind:tranno"/>
  1397. <Cell col="21" text="bind:trandd"/>
  1398. <Cell col="22" text="bind:transeqno"/>
  1399. <Cell col="23" text="bind:tranid"/>
  1400. <Cell col="24" text="bind:trandeptcd"/>
  1401. <Cell col="25" text="bind:orddd"/>
  1402. <Cell col="26" text="bind:prcpdd"/>
  1403. <Cell col="27" text="bind:prcpno"/>
  1404. <Cell col="28" text="bind:execprcpuniqno"/>
  1405. <Cell col="29" text="bind:prcprgstdd"/>
  1406. <Cell col="30" text="bind:prcprgsttm"/>
  1407. <Cell col="31" text="bind:pid"/>
  1408. <Cell col="32" text="bind:reprspccd"/>
  1409. <Cell col="33" text="bind:spctrandd"/>
  1410. <Cell col="34" text="bind:spctranno"/>
  1411. <Cell col="35" text="bind:prcpstatcd"/>
  1412. <Cell col="36" text="bind:ptnocd"/>
  1413. <Cell col="37" text="bind:slidflagcd"/>
  1414. <Cell col="38" text="bind:slidisscnt"/>
  1415. <Cell col="39" text="bind:initblocno"/>
  1416. <Cell col="40" text="bind:autokeepflagcd"/>
  1417. <Cell col="41" text="bind:stdyptnocd"/>
  1418. <Cell col="42" text="bind:stdy_slidflagcd"/>
  1419. <Cell col="43" text="bind:stdy_slidisscnt"/>
  1420. <Cell col="44" text="bind:stdy_initblocno"/>
  1421. <Cell col="45" text="bind:stdy_autokeepflagcd"/>
  1422. <Cell col="46" text="bind:trustptnocd"/>
  1423. <Cell col="47" text="bind:trust_slidflagcd"/>
  1424. <Cell col="48" text="bind:trust_slidisscnt"/>
  1425. <Cell col="49" text="bind:trust_initblocno"/>
  1426. <Cell col="50" text="bind:trust_autokeepflagcd"/>
  1427. <Cell col="51" text="bind:ptnocdflagcd"/>
  1428. <Cell col="52" text="bind:stdyptnocdflagcd"/>
  1429. <Cell col="53" text="bind:trustptnocdflagcd"/>
  1430. <Cell col="54" text="bind:grup_testcd"/>
  1431. <Cell col="55" text="bind:prcpgenrflagcd"/>
  1432. <Cell col="56" text="bind:prcpacptdd"/>
  1433. <Cell col="57" text="bind:spcacptdd"/>
  1434. <Cell col="58" text="bind:spcacptno"/>
  1435. <Cell col="59" text="bind:spcacptseqno"/>
  1436. <Cell col="60" text="bind:acptkey"/>
  1437. <Cell col="61" text="bind:workflagcd"/>
  1438. <Cell col="62" text="bind:ordkindflagcd"/>
  1439. <Cell col="63" text="bind:prcprefflag"/>
  1440. <Cell col="64" text="bind:reuseflagcd"/>
  1441. <Cell col="65" text="bind:bfacptdd"/>
  1442. <Cell col="66" text="bind:bfacptno"/>
  1443. <Cell col="67" text="bind:bfacptseqno"/>
  1444. <Cell col="68" text="bind:blocflagcd"/>
  1445. <Cell col="69" text="bind:stdy_blocflagcd"/>
  1446. <Cell col="70" text="bind:trust_blocflagcd"/>
  1447. <Cell col="71" text="bind:orgprcpstatcd"/>
  1448. <Cell col="72" text="bind:orgtranstatcd"/>
  1449. <Cell col="73" text="bind:lastptno"/>
  1450. <Cell col="74" text="bind:spcnm"/>
  1451. <Cell col="75" text="bind:reqfrmflagcd"/>
  1452. <Cell col="76" text="bind:wardcd"/>
  1453. <Cell col="77" text="bind:roomcd"/>
  1454. <Cell col="78" text="bind:patnm"/>
  1455. <Cell col="79" text="bind:sexage"/>
  1456. <Cell col="80" text="bind:wardnm"/>
  1457. <Cell col="81" text="bind:aptprcpdd"/>
  1458. <Cell col="82" text="bind:aptexecprcpuniqno"/>
  1459. <Cell col="83" text="bind:aptprcpno"/>
  1460. <Cell col="84" text="bind:aptspcacptseqno"/>
  1461. <Cell col="85" text="bind:aptcsteno"/>
  1462. <Cell col="86" text="bind:aptblocnm"/>
  1463. </Band>
  1464. </Format>
  1465. </Formats>
  1466. </Grid>
  1467. <Button position="absolute 616 69 658 88" id="btn_add" class="btn2_letter2" taborder="18" visible="false" text="추가" anchor="default" onclick="group1_btn_add_onclick"/>
  1468. <Button position="absolute 661 69 703 88" id="btn_del" class="btn2_letter2" taborder="19" visible="false" text="삭제" anchor="default" onclick="group1_btn_del_onclick"/>
  1469. <ImageViewer position="absolute 1148 105 1163 120" id="img2" image="URL('..\..\..\IMAGES\lis\icnCJ_Label.png')" anchor="default"/>
  1470. <ImageViewer position="absolute 1168 105 1183 120" id="img1" image="URL('..\..\..\IMAGES\lis\icnCJ_CheHyeol.png')" anchor="default"/>
  1471. <ImageViewer position="absolute 1187 105 1202 120" id="img3" image="URL('..\..\..\IMAGES\lis\icnCJ_HwakIn.png')" anchor="default"/>
  1472. <Button id="button6" taborder="23" text="조직검체" position="absolute 0 69 88 92" class="btn_tab_s" onclick="group1_button6_onclick" anchor="default"/>
  1473. <Button id="button7" taborder="24" text="세포검체" class="btn_tab" position="absolute 90 69 178 92" onclick="group1_button7_onclick" anchor="default"/>
  1474. <Button id="button8" taborder="25" text="분자검체" class="btn_tab" position="absolute 179 69 267 92" onclick="group1_button8_onclick" anchor="default"/>
  1475. <Button id="button5" taborder="26" text="연구검체" class="btn_tab" position="absolute 268 69 356 92" onclick="group1_button5_onclick" anchor="default"/>
  1476. <Button id="button9" taborder="27" text="수탁검체" class="btn_tab" position="absolute 358 69 446 92" onclick="group1_button9_onclick" anchor="default"/>
  1477. <Radio position="absolute 1035 425 1138 442" id="radio1" taborder="22" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" onitemclick="group1_radio1_onitemclick">
  1478. <Dataset id="innerdataset">
  1479. <ColumnInfo>
  1480. <Column id="codecolumn"/>
  1481. <Column id="datacolumn"/>
  1482. </ColumnInfo>
  1483. <Rows>
  1484. <Row>
  1485. <Col id="codecolumn">0</Col>
  1486. <Col id="datacolumn">이전</Col>
  1487. </Row>
  1488. <Row>
  1489. <Col id="codecolumn">1</Col>
  1490. <Col id="datacolumn">결번</Col>
  1491. </Row>
  1492. </Rows>
  1493. </Dataset>
  1494. </Radio>
  1495. </Layout>
  1496. </Layouts>
  1497. </Div>
  1498. <Div position="absolute -7 25 1201 53" id="group4" scrollbars="autoboth">
  1499. <Layouts>
  1500. <Layout>
  1501. <Shape position="absolute 0 22 1208 28" linetype="horizontal" id="line22" class="line_6" anchor="default"/>
  1502. <Button position="absolute 314 0 418 22" id="btn_acptenvset" class="btn3" visible="true" text="접수환경설정" anchor="default" onclick="group4_btn_acptenvset_onclick"/>
  1503. <Button position="absolute 1145 0 1203 22" id="btn_save" class="btn4" taborder="23" text="저장" anchor="default" onclick="group4_btn_save_onclick"/>
  1504. <Button position="absolute 7 0 111 22" id="btn_barcdreprnt" class="btn3" text="바코드재출력" anchor="default" onclick="group4_btn_barcdreprnt_onclick"/>
  1505. <Button position="absolute 114 0 206 22" id="btn_prntset" class="btn3" text="프린터설정" anchor="default" onclick="group4_btn_prntset_onclick"/>
  1506. <Button position="absolute 208 0 312 22" id="btn_prcphist" class="btn3" visible="true" text="처방이력조회" anchor="default" onclick="group4_btn_prcphist_onclick"/>
  1507. </Layout>
  1508. </Layouts>
  1509. </Div>
  1510. </Layout>
  1511. </Layouts>
  1512. <Objects>
  1513. <Dataset id="ds_init_cbo_ptnocd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1514. <ColumnInfo>
  1515. <Column id="ptnonm" type="STRING"/>
  1516. <Column id="ptnocd" type="STRING"/>
  1517. </ColumnInfo>
  1518. </Dataset>
  1519. <Dataset id="ds_grd_spclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1520. <ColumnInfo>
  1521. <Column id="instcd" type="STRING"/>
  1522. <Column id="spc_spctrandd" type="STRING"/>
  1523. <Column id="spc_spctranno" type="STRING"/>
  1524. <Column id="spc_spctranseqno" type="STRING"/>
  1525. <Column id="spc_spcacptdd" type="STRING"/>
  1526. <Column id="spc_spcacptno" type="STRING"/>
  1527. <Column id="spc_spcacptseqno" type="STRING"/>
  1528. <Column id="spccd" type="STRING"/>
  1529. <Column id="reprspccd" type="STRING"/>
  1530. <Column id="spcstatcd" type="STRING"/>
  1531. <Column id="spcbarcdno" type="STRING"/>
  1532. <Column id="addyn" type="STRING"/>
  1533. <Column id="cste_cnt" type="STRING"/>
  1534. <Column id="last_seqno" type="STRING"/>
  1535. <Column id="spcnm" type="STRING"/>
  1536. </ColumnInfo>
  1537. </Dataset>
  1538. <Dataset id="ds_grd_orgprcp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1539. <ColumnInfo>
  1540. <Column id="choi" type="STRING"/>
  1541. <Column id="recvflag" type="STRING"/>
  1542. <Column id="view_ptno" type="STRING"/>
  1543. <Column id="ptno" type="STRING"/>
  1544. <Column id="setptno" type="STRING"/>
  1545. <Column id="view_relaptno" type="STRING"/>
  1546. <Column id="relaptno" type="STRING"/>
  1547. <Column id="setrelaptno" type="STRING"/>
  1548. <Column id="testhngnm" type="STRING"/>
  1549. <Column id="testcd" type="STRING"/>
  1550. <Column id="patflag" type="STRING"/>
  1551. <Column id="rcptflag" type="STRING"/>
  1552. <Column id="orddeptcd" type="STRING"/>
  1553. <Column id="orddeptnm" type="STRING"/>
  1554. <Column id="orddrid" type="STRING"/>
  1555. <Column id="orddrnm" type="STRING"/>
  1556. <Column id="reqfrmno" type="STRING"/>
  1557. <Column id="reqfrmprtncnt" type="STRING"/>
  1558. <Column id="infcinfo" type="STRING"/>
  1559. <Column id="instcd" type="STRING"/>
  1560. <Column id="tranno" type="STRING"/>
  1561. <Column id="trandd" type="STRING"/>
  1562. <Column id="transeqno" type="STRING"/>
  1563. <Column id="tranid" type="STRING"/>
  1564. <Column id="trandeptcd" type="STRING"/>
  1565. <Column id="orddd" type="STRING"/>
  1566. <Column id="prcpdd" type="STRING"/>
  1567. <Column id="prcpno" type="STRING"/>
  1568. <Column id="execprcpseqno" type="STRING"/>
  1569. <Column id="prcprgstdd" type="STRING"/>
  1570. <Column id="prcprgsttm" type="STRING"/>
  1571. <Column id="pid" type="STRING"/>
  1572. <Column id="reprspccd" type="STRING"/>
  1573. <Column id="spctrandd" type="STRING"/>
  1574. <Column id="spctranno" type="STRING"/>
  1575. <Column id="prcpstatcd" type="STRING"/>
  1576. <Column id="ptnocd" type="STRING"/>
  1577. <Column id="slidflagcd" type="STRING"/>
  1578. <Column id="slidisscnt" type="STRING"/>
  1579. <Column id="initblocno" type="STRING"/>
  1580. <Column id="autokeepflagcd" type="STRING"/>
  1581. <Column id="stdyptnocd" type="STRING"/>
  1582. <Column id="stdy_slidflagcd" type="STRING"/>
  1583. <Column id="stdy_slidisscnt" type="STRING"/>
  1584. <Column id="stdy_initblocno" type="STRING"/>
  1585. <Column id="stdy_autokeepflagcd" type="STRING"/>
  1586. <Column id="trustptnocd" type="STRING"/>
  1587. <Column id="trust_slidflagcd" type="STRING"/>
  1588. <Column id="trust_slidisscnt" type="STRING"/>
  1589. <Column id="trust_initblocno" type="STRING"/>
  1590. <Column id="trust_autokeepflagcd" type="STRING"/>
  1591. <Column id="ptnocdflagcd" type="STRING"/>
  1592. <Column id="stdyptnocdflagcd" type="STRING"/>
  1593. <Column id="trustptnocdflagcd" type="STRING"/>
  1594. <Column id="grup_testcd" type="STRING"/>
  1595. <Column id="grup_testnm" type="STRING"/>
  1596. <Column id="prcpgenrflagcd" type="STRING"/>
  1597. <Column id="prcpacptdd" type="STRING"/>
  1598. <Column id="spcacptdd" type="STRING"/>
  1599. <Column id="spcacptno" type="STRING"/>
  1600. <Column id="spcacptseqno" type="STRING"/>
  1601. <Column id="acptkey" type="STRING"/>
  1602. <Column id="workflagcd" type="STRING"/>
  1603. <Column id="ordkindflagcd" type="STRING"/>
  1604. <Column id="prcprefflag" type="STRING"/>
  1605. <Column id="reuseflagcd" type="STRING"/>
  1606. <Column id="bfacptdd" type="STRING"/>
  1607. <Column id="bfacptno" type="STRING"/>
  1608. <Column id="bfacptseqno" type="STRING"/>
  1609. <Column id="blocflagcd" type="STRING"/>
  1610. <Column id="stdy_blocflagcd" type="STRING"/>
  1611. <Column id="trust_blocflagcd" type="STRING"/>
  1612. <Column id="orgprcpstatcd" type="STRING"/>
  1613. <Column id="orgtranstatcd" type="STRING"/>
  1614. <Column id="lastptno" type="STRING"/>
  1615. <Column id="spcnm" type="STRING"/>
  1616. <Column id="reqfrmflagcd" type="STRING"/>
  1617. <Column id="wardcd" type="STRING"/>
  1618. <Column id="roomcd" type="STRING"/>
  1619. <Column id="patnm" type="STRING"/>
  1620. <Column id="sexage" type="STRING"/>
  1621. <Column id="wardnm" type="STRING"/>
  1622. <Column id="aptprcpdd" type="STRING"/>
  1623. <Column id="aptexecprcpuniqno" type="STRING"/>
  1624. <Column id="aptprcpno" type="STRING"/>
  1625. <Column id="aptspcacptseqno" type="STRING"/>
  1626. <Column id="aptcsteno" type="STRING"/>
  1627. <Column id="aptblocnm" type="STRING"/>
  1628. </ColumnInfo>
  1629. </Dataset>
  1630. <Dataset id="ds_grd_addprcp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1631. <ColumnInfo>
  1632. <Column id="choi" type="STRING"/>
  1633. <Column id="recvflag" type="STRING"/>
  1634. <Column id="view_ptno" type="STRING"/>
  1635. <Column id="ptno" type="STRING"/>
  1636. <Column id="setptno" type="STRING"/>
  1637. <Column id="view_relaptno" type="STRING"/>
  1638. <Column id="relaptno" type="STRING"/>
  1639. <Column id="setrelaptno" type="STRING"/>
  1640. <Column id="testhngnm" type="STRING"/>
  1641. <Column id="testcd" type="STRING"/>
  1642. <Column id="patflag" type="STRING"/>
  1643. <Column id="rcptflag" type="STRING"/>
  1644. <Column id="orddeptcd" type="STRING"/>
  1645. <Column id="orddeptnm" type="STRING"/>
  1646. <Column id="orddrid" type="STRING"/>
  1647. <Column id="orddrnm" type="STRING"/>
  1648. <Column id="reqfrmno" type="STRING"/>
  1649. <Column id="reqfrmprtncnt" type="STRING"/>
  1650. <Column id="infcinfo" type="STRING"/>
  1651. <Column id="instcd" type="STRING"/>
  1652. <Column id="tranno" type="STRING"/>
  1653. <Column id="trandd" type="STRING"/>
  1654. <Column id="transeqno" type="STRING"/>
  1655. <Column id="tranid" type="STRING"/>
  1656. <Column id="trandeptcd" type="STRING"/>
  1657. <Column id="orddd" type="STRING"/>
  1658. <Column id="prcpdd" type="STRING"/>
  1659. <Column id="prcpno" type="STRING"/>
  1660. <Column id="execprcpseqno" type="STRING"/>
  1661. <Column id="prcprgstdd" type="STRING"/>
  1662. <Column id="prcprgsttm" type="STRING"/>
  1663. <Column id="pid" type="STRING"/>
  1664. <Column id="reprspccd" type="STRING"/>
  1665. <Column id="spctrandd" type="STRING"/>
  1666. <Column id="spctranno" type="STRING"/>
  1667. <Column id="prcpstatcd" type="STRING"/>
  1668. <Column id="ptnocd" type="STRING"/>
  1669. <Column id="slidflagcd" type="STRING"/>
  1670. <Column id="slidisscnt" type="STRING"/>
  1671. <Column id="initblocno" type="STRING"/>
  1672. <Column id="autokeepflagcd" type="STRING"/>
  1673. <Column id="stdyptnocd" type="STRING"/>
  1674. <Column id="stdy_slidflagcd" type="STRING"/>
  1675. <Column id="stdy_slidisscnt" type="STRING"/>
  1676. <Column id="stdy_initblocno" type="STRING"/>
  1677. <Column id="stdy_autokeepflagcd" type="STRING"/>
  1678. <Column id="trustptnocd" type="STRING"/>
  1679. <Column id="trust_slidflagcd" type="STRING"/>
  1680. <Column id="trust_slidisscnt" type="STRING"/>
  1681. <Column id="trust_initblocno" type="STRING"/>
  1682. <Column id="trust_autokeepflagcd" type="STRING"/>
  1683. <Column id="ptnocdflagcd" type="STRING"/>
  1684. <Column id="stdyptnocdflagcd" type="STRING"/>
  1685. <Column id="trustptnocdflagcd" type="STRING"/>
  1686. <Column id="grup_testcd" type="STRING"/>
  1687. <Column id="grup_testnm" type="STRING"/>
  1688. <Column id="prcpgenrflagcd" type="STRING"/>
  1689. <Column id="prcpacptdd" type="STRING"/>
  1690. <Column id="spcacptdd" type="STRING"/>
  1691. <Column id="spcacptno" type="STRING"/>
  1692. <Column id="spcacptseqno" type="STRING"/>
  1693. <Column id="acptkey" type="STRING"/>
  1694. <Column id="workflagcd" type="STRING"/>
  1695. <Column id="ordkindflagcd" type="STRING"/>
  1696. <Column id="prcprefflag" type="STRING"/>
  1697. <Column id="reuseflagcd" type="STRING"/>
  1698. <Column id="bfacptdd" type="STRING"/>
  1699. <Column id="bfacptno" type="STRING"/>
  1700. <Column id="bfacptseqno" type="STRING"/>
  1701. <Column id="blocflagcd" type="STRING"/>
  1702. <Column id="stdy_blocflagcd" type="STRING"/>
  1703. <Column id="trust_blocflagcd" type="STRING"/>
  1704. <Column id="orgprcpstatcd" type="STRING"/>
  1705. <Column id="orgtranstatcd" type="STRING"/>
  1706. <Column id="lastptno" type="STRING"/>
  1707. <Column id="spcnm" type="STRING"/>
  1708. <Column id="reqfrmflagcd" type="STRING"/>
  1709. <Column id="wardcd" type="STRING"/>
  1710. <Column id="roomcd" type="STRING"/>
  1711. <Column id="patnm" type="STRING"/>
  1712. <Column id="sexage" type="STRING"/>
  1713. <Column id="wardnm" type="STRING"/>
  1714. <Column id="aptprcpdd" type="STRING"/>
  1715. <Column id="aptexecprcpuniqno" type="STRING"/>
  1716. <Column id="aptprcpno" type="STRING"/>
  1717. <Column id="aptspcacptseqno" type="STRING"/>
  1718. <Column id="aptcsteno" type="STRING"/>
  1719. <Column id="aptblocnm" type="STRING"/>
  1720. </ColumnInfo>
  1721. </Dataset>
  1722. <Dataset id="ds_grd_relprcp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1723. <ColumnInfo>
  1724. <Column id="choi" type="STRING"/>
  1725. <Column id="recvflag" type="STRING"/>
  1726. <Column id="view_ptno" type="STRING"/>
  1727. <Column id="ptno" type="STRING"/>
  1728. <Column id="setptno" type="STRING"/>
  1729. <Column id="view_relaptno" type="STRING"/>
  1730. <Column id="relaptno" type="STRING"/>
  1731. <Column id="setrelaptno" type="STRING"/>
  1732. <Column id="testhngnm" type="STRING"/>
  1733. <Column id="testcd" type="STRING"/>
  1734. <Column id="patflag" type="STRING"/>
  1735. <Column id="rcptflag" type="STRING"/>
  1736. <Column id="orddeptcd" type="STRING"/>
  1737. <Column id="orddeptnm" type="STRING"/>
  1738. <Column id="orddrid" type="STRING"/>
  1739. <Column id="orddrnm" type="STRING"/>
  1740. <Column id="reqfrmno" type="STRING"/>
  1741. <Column id="reqfrmprtncnt" type="STRING"/>
  1742. <Column id="infcinfo" type="STRING"/>
  1743. <Column id="instcd" type="STRING"/>
  1744. <Column id="tranno" type="STRING"/>
  1745. <Column id="trandd" type="STRING"/>
  1746. <Column id="transeqno" type="STRING"/>
  1747. <Column id="tranid" type="STRING"/>
  1748. <Column id="trandeptcd" type="STRING"/>
  1749. <Column id="orddd" type="STRING"/>
  1750. <Column id="prcpdd" type="STRING"/>
  1751. <Column id="prcpno" type="STRING"/>
  1752. <Column id="execprcpseqno" type="STRING"/>
  1753. <Column id="prcprgstdd" type="STRING"/>
  1754. <Column id="prcprgsttm" type="STRING"/>
  1755. <Column id="pid" type="STRING"/>
  1756. <Column id="reprspccd" type="STRING"/>
  1757. <Column id="spctrandd" type="STRING"/>
  1758. <Column id="spctranno" type="STRING"/>
  1759. <Column id="prcpstatcd" type="STRING"/>
  1760. <Column id="ptnocd" type="STRING"/>
  1761. <Column id="slidflagcd" type="STRING"/>
  1762. <Column id="slidisscnt" type="STRING"/>
  1763. <Column id="initblocno" type="STRING"/>
  1764. <Column id="autokeepflagcd" type="STRING"/>
  1765. <Column id="stdyptnocd" type="STRING"/>
  1766. <Column id="stdy_slidflagcd" type="STRING"/>
  1767. <Column id="stdy_slidisscnt" type="STRING"/>
  1768. <Column id="stdy_initblocno" type="STRING"/>
  1769. <Column id="stdy_autokeepflagcd" type="STRING"/>
  1770. <Column id="trustptnocd" type="STRING"/>
  1771. <Column id="trust_slidflagcd" type="STRING"/>
  1772. <Column id="trust_slidisscnt" type="STRING"/>
  1773. <Column id="trust_initblocno" type="STRING"/>
  1774. <Column id="trust_autokeepflagcd" type="STRING"/>
  1775. <Column id="ptnocdflagcd" type="STRING"/>
  1776. <Column id="stdyptnocdflagcd" type="STRING"/>
  1777. <Column id="trustptnocdflagcd" type="STRING"/>
  1778. <Column id="grup_testcd" type="STRING"/>
  1779. <Column id="prcpgenrflagcd" type="STRING"/>
  1780. <Column id="prcpacptdd" type="STRING"/>
  1781. <Column id="spcacptdd" type="STRING"/>
  1782. <Column id="spcacptno" type="STRING"/>
  1783. <Column id="spcacptseqno" type="STRING"/>
  1784. <Column id="acptkey" type="STRING"/>
  1785. <Column id="workflagcd" type="STRING"/>
  1786. <Column id="ordkindflagcd" type="STRING"/>
  1787. <Column id="prcprefflag" type="STRING"/>
  1788. <Column id="reuseflagcd" type="STRING"/>
  1789. <Column id="bfacptdd" type="STRING"/>
  1790. <Column id="bfacptno" type="STRING"/>
  1791. <Column id="bfacptseqno" type="STRING"/>
  1792. <Column id="blocflagcd" type="STRING"/>
  1793. <Column id="stdy_blocflagcd" type="STRING"/>
  1794. <Column id="trust_blocflagcd" type="STRING"/>
  1795. <Column id="orgprcpstatcd" type="STRING"/>
  1796. <Column id="orgtranstatcd" type="STRING"/>
  1797. <Column id="lastptno" type="STRING"/>
  1798. <Column id="spcnm" type="STRING"/>
  1799. <Column id="reqfrmflagcd" type="STRING"/>
  1800. <Column id="wardcd" type="STRING"/>
  1801. <Column id="roomcd" type="STRING"/>
  1802. <Column id="patnm" type="STRING"/>
  1803. <Column id="sexage" type="STRING"/>
  1804. <Column id="wardnm" type="STRING"/>
  1805. </ColumnInfo>
  1806. </Dataset>
  1807. <Dataset id="ds_grd_bfptno" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1808. <ColumnInfo>
  1809. <Column id="instcd" type="STRING"/>
  1810. <Column id="view_ptno" type="STRING"/>
  1811. <Column id="grosdrnm" type="STRING"/>
  1812. <Column id="ptno" type="STRING"/>
  1813. <Column id="spccd" type="STRING"/>
  1814. <Column id="spcnm" type="STRING"/>
  1815. <Column id="pid" type="STRING"/>
  1816. <Column id="patnm" type="STRING"/>
  1817. <Column id="view_relaptno" type="STRING"/>
  1818. <Column id="bfacptdd" type="STRING"/>
  1819. <Column id="bfacptno" type="STRING"/>
  1820. <Column id="bfacptseqno" type="STRING"/>
  1821. </ColumnInfo>
  1822. </Dataset>
  1823. <Dataset id="ds_grd_mnoptno" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1824. <ColumnInfo>
  1825. <Column id="instcd" type="STRING"/>
  1826. <Column id="view_ptno" type="STRING"/>
  1827. <Column id="ptno" type="STRING"/>
  1828. <Column id="spccd" type="STRING"/>
  1829. <Column id="spcnm" type="STRING"/>
  1830. <Column id="pid" type="STRING"/>
  1831. <Column id="patnm" type="STRING"/>
  1832. <Column id="patnm" type="STRING"/>
  1833. <Column id="view_relaptno" type="STRING"/>
  1834. </ColumnInfo>
  1835. </Dataset>
  1836. <Dataset id="ds_init_cmb_readdr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1837. <ColumnInfo>
  1838. <Column id="usernm" type="STRING"/>
  1839. <Column id="userid" type="STRING"/>
  1840. </ColumnInfo>
  1841. <Rows>
  1842. <Row/>
  1843. </Rows>
  1844. </Dataset>
  1845. <Dataset id="ds_init_cmb_frzndr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1846. <ColumnInfo>
  1847. <Column id="usernm" type="STRING"/>
  1848. <Column id="userid" type="STRING"/>
  1849. </ColumnInfo>
  1850. <Rows>
  1851. <Row/>
  1852. </Rows>
  1853. </Dataset>
  1854. <Dataset id="ds_grd_acptdesc" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1855. <ColumnInfo>
  1856. <Column id="choi" type="STRING"/>
  1857. <Column id="recvflag" type="STRING"/>
  1858. <Column id="view_ptno" type="STRING"/>
  1859. <Column id="ptno" type="STRING"/>
  1860. <Column id="setptno" type="STRING"/>
  1861. <Column id="view_relaptno" type="STRING"/>
  1862. <Column id="relaptno" type="STRING"/>
  1863. <Column id="setrelaptno" type="STRING"/>
  1864. <Column id="testhngnm" type="STRING"/>
  1865. <Column id="testcd" type="STRING"/>
  1866. <Column id="patflag" type="STRING"/>
  1867. <Column id="rcptflag" type="STRING"/>
  1868. <Column id="orddeptcd" type="STRING"/>
  1869. <Column id="orddeptnm" type="STRING"/>
  1870. <Column id="orddrid" type="STRING"/>
  1871. <Column id="orddrnm" type="STRING"/>
  1872. <Column id="reqfrmno" type="STRING"/>
  1873. <Column id="reqfrmprtncnt" type="STRING"/>
  1874. <Column id="infcinfo" type="STRING"/>
  1875. <Column id="instcd" type="STRING"/>
  1876. <Column id="tranno" type="STRING"/>
  1877. <Column id="trandd" type="STRING"/>
  1878. <Column id="transeqno" type="STRING"/>
  1879. <Column id="tranid" type="STRING"/>
  1880. <Column id="trandeptcd" type="STRING"/>
  1881. <Column id="orddd" type="STRING"/>
  1882. <Column id="prcpdd" type="STRING"/>
  1883. <Column id="prcpno" type="STRING"/>
  1884. <Column id="execprcpuniqno" type="STRING"/>
  1885. <Column id="prcprgstdd" type="STRING"/>
  1886. <Column id="prcprgsttm" type="STRING"/>
  1887. <Column id="pid" type="STRING"/>
  1888. <Column id="reprspccd" type="STRING"/>
  1889. <Column id="spctrandd" type="STRING"/>
  1890. <Column id="spctranno" type="STRING"/>
  1891. <Column id="prcpstatcd" type="STRING"/>
  1892. <Column id="ptnocd" type="STRING"/>
  1893. <Column id="slidflagcd" type="STRING"/>
  1894. <Column id="slidisscnt" type="STRING"/>
  1895. <Column id="initblocno" type="STRING"/>
  1896. <Column id="autokeepflagcd" type="STRING"/>
  1897. <Column id="stdyptnocd" type="STRING"/>
  1898. <Column id="stdy_slidflagcd" type="STRING"/>
  1899. <Column id="stdy_slidisscnt" type="STRING"/>
  1900. <Column id="stdy_initblocno" type="STRING"/>
  1901. <Column id="stdy_autokeepflagcd" type="STRING"/>
  1902. <Column id="trustptnocd" type="STRING"/>
  1903. <Column id="trust_slidflagcd" type="STRING"/>
  1904. <Column id="trust_slidisscnt" type="STRING"/>
  1905. <Column id="trust_initblocno" type="STRING"/>
  1906. <Column id="trust_autokeepflagcd" type="STRING"/>
  1907. <Column id="ptnocdflagcd" type="STRING"/>
  1908. <Column id="stdyptnocdflagcd" type="STRING"/>
  1909. <Column id="trustptnocdflagcd" type="STRING"/>
  1910. <Column id="grup_testcd" type="STRING"/>
  1911. <Column id="prcpgenrflagcd" type="STRING"/>
  1912. <Column id="prcpacptdd" type="STRING"/>
  1913. <Column id="spcacptdd" type="STRING"/>
  1914. <Column id="spcacptno" type="STRING"/>
  1915. <Column id="spcacptseqno" type="STRING"/>
  1916. <Column id="acptkey" type="STRING"/>
  1917. <Column id="workflagcd" type="STRING"/>
  1918. <Column id="ordkindflagcd" type="STRING"/>
  1919. <Column id="prcprefflag" type="STRING"/>
  1920. <Column id="reuseflagcd" type="STRING"/>
  1921. <Column id="bfacptdd" type="STRING"/>
  1922. <Column id="bfacptno" type="STRING"/>
  1923. <Column id="bfacptseqno" type="STRING"/>
  1924. <Column id="blocflagcd" type="STRING"/>
  1925. <Column id="stdy_blocflagcd" type="STRING"/>
  1926. <Column id="trust_blocflagcd" type="STRING"/>
  1927. <Column id="orgprcpstatcd" type="STRING"/>
  1928. <Column id="orgtranstatcd" type="STRING"/>
  1929. <Column id="lastptno" type="STRING"/>
  1930. <Column id="spcnm" type="STRING"/>
  1931. <Column id="reqfrmflagcd" type="STRING"/>
  1932. <Column id="wardcd" type="STRING"/>
  1933. <Column id="roomcd" type="STRING"/>
  1934. <Column id="patnm" type="STRING"/>
  1935. <Column id="sexage" type="STRING"/>
  1936. <Column id="wardnm" type="STRING"/>
  1937. <Column id="aptprcpdd" type="STRING"/>
  1938. <Column id="aptexecprcpuniqno" type="STRING"/>
  1939. <Column id="aptprcpno" type="STRING"/>
  1940. <Column id="aptspcacptseqno" type="STRING"/>
  1941. <Column id="aptcsteno" type="STRING"/>
  1942. <Column id="aptblocnm" type="STRING"/>
  1943. </ColumnInfo>
  1944. </Dataset>
  1945. <Dataset id="ds_init_cmb_grostestdr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1946. <ColumnInfo>
  1947. <Column id="usernm" type="STRING"/>
  1948. <Column id="userid" type="STRING"/>
  1949. </ColumnInfo>
  1950. <Rows>
  1951. <Row/>
  1952. </Rows>
  1953. </Dataset>
  1954. <Dataset id="ds_init_cmb_grostestid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1955. <ColumnInfo>
  1956. <Column id="usernm" type="STRING"/>
  1957. <Column id="userid" type="STRING"/>
  1958. </ColumnInfo>
  1959. <Rows>
  1960. <Row/>
  1961. </Rows>
  1962. </Dataset>
  1963. <Dataset id="ds_main_orgprcp_orgprcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1964. <ColumnInfo>
  1965. <Column id="choi" type="STRING" size="256"/>
  1966. <Column id="recvflag" type="STRING" size="256"/>
  1967. <Column id="view_ptno" type="STRING" size="256"/>
  1968. <Column id="ptno" type="STRING" size="256"/>
  1969. <Column id="setptno" type="STRING" size="256"/>
  1970. <Column id="view_relaptno" type="STRING" size="256"/>
  1971. <Column id="relaptno" type="STRING" size="256"/>
  1972. <Column id="setrelaptno" type="STRING" size="256"/>
  1973. <Column id="testhngnm" type="STRING" size="256"/>
  1974. <Column id="testcd" type="STRING" size="256"/>
  1975. <Column id="patflag" type="STRING" size="256"/>
  1976. <Column id="rcptflag" type="STRING" size="256"/>
  1977. <Column id="orddeptcd" type="STRING" size="256"/>
  1978. <Column id="orddeptnm" type="STRING" size="256"/>
  1979. <Column id="orddrid" type="STRING" size="256"/>
  1980. <Column id="orddrnm" type="STRING" size="256"/>
  1981. <Column id="reqfrmno" type="STRING" size="256"/>
  1982. <Column id="reqfrmprtncnt" type="STRING" size="256"/>
  1983. <Column id="infcinfo" type="STRING" size="256"/>
  1984. <Column id="instcd" type="STRING" size="256"/>
  1985. <Column id="tranno" type="STRING" size="256"/>
  1986. <Column id="trandd" type="STRING" size="256"/>
  1987. <Column id="transeqno" type="STRING" size="256"/>
  1988. <Column id="tranid" type="STRING" size="256"/>
  1989. <Column id="trandeptcd" type="STRING" size="256"/>
  1990. <Column id="orddd" type="STRING" size="256"/>
  1991. <Column id="prcpdd" type="STRING" size="256"/>
  1992. <Column id="prcpno" type="STRING" size="256"/>
  1993. <Column id="execprcpseqno" type="STRING" size="256"/>
  1994. <Column id="prcprgstdd" type="STRING" size="256"/>
  1995. <Column id="prcprgsttm" type="STRING" size="256"/>
  1996. <Column id="pid" type="STRING" size="256"/>
  1997. <Column id="reprspccd" type="STRING" size="256"/>
  1998. <Column id="spctrandd" type="STRING" size="256"/>
  1999. <Column id="spctranno" type="STRING" size="256"/>
  2000. <Column id="prcpstatcd" type="STRING" size="256"/>
  2001. <Column id="ptnocd" type="STRING" size="256"/>
  2002. <Column id="slidflagcd" type="STRING" size="256"/>
  2003. <Column id="slidisscnt" type="STRING" size="256"/>
  2004. <Column id="initblocno" type="STRING" size="256"/>
  2005. <Column id="autokeepflagcd" type="STRING" size="256"/>
  2006. <Column id="stdyptnocd" type="STRING" size="256"/>
  2007. <Column id="stdy_slidflagcd" type="STRING" size="256"/>
  2008. <Column id="stdy_slidisscnt" type="STRING" size="256"/>
  2009. <Column id="stdy_initblocno" type="STRING" size="256"/>
  2010. <Column id="stdy_autokeepflagcd" type="STRING" size="256"/>
  2011. <Column id="trustptnocd" type="STRING" size="256"/>
  2012. <Column id="trust_slidflagcd" type="STRING" size="256"/>
  2013. <Column id="trust_slidisscnt" type="STRING" size="256"/>
  2014. <Column id="trust_initblocno" type="STRING" size="256"/>
  2015. <Column id="trust_autokeepflagcd" type="STRING" size="256"/>
  2016. <Column id="ptnocdflagcd" type="STRING" size="256"/>
  2017. <Column id="stdyptnocdflagcd" type="STRING" size="256"/>
  2018. <Column id="trustptnocdflagcd" type="STRING" size="256"/>
  2019. <Column id="grup_testcd" type="STRING" size="256"/>
  2020. <Column id="grup_testnm" type="STRING" size="256"/>
  2021. <Column id="prcpgenrflagcd" type="STRING" size="256"/>
  2022. <Column id="prcpacptdd" type="STRING" size="256"/>
  2023. <Column id="spcacptdd" type="STRING" size="256"/>
  2024. <Column id="spcacptno" type="STRING" size="256"/>
  2025. <Column id="spcacptseqno" type="STRING" size="256"/>
  2026. <Column id="acptkey" type="STRING" size="256"/>
  2027. <Column id="workflagcd" type="STRING" size="256"/>
  2028. <Column id="ordkindflagcd" type="STRING" size="256"/>
  2029. <Column id="prcprefflag" type="STRING" size="256"/>
  2030. <Column id="reuseflagcd" type="STRING" size="256"/>
  2031. <Column id="bfacptdd" type="STRING" size="256"/>
  2032. <Column id="bfacptno" type="STRING" size="256"/>
  2033. <Column id="bfacptseqno" type="STRING" size="256"/>
  2034. <Column id="blocflagcd" type="STRING" size="256"/>
  2035. <Column id="stdy_blocflagcd" type="STRING" size="256"/>
  2036. <Column id="trust_blocflagcd" type="STRING" size="256"/>
  2037. <Column id="orgprcpstatcd" type="STRING" size="256"/>
  2038. <Column id="orgtranstatcd" type="STRING" size="256"/>
  2039. <Column id="lastptno" type="STRING" size="256"/>
  2040. <Column id="spcnm" type="STRING" size="256"/>
  2041. <Column id="reqfrmflagcd" type="STRING" size="256"/>
  2042. <Column id="wardcd" type="STRING" size="256"/>
  2043. <Column id="roomcd" type="STRING" size="256"/>
  2044. <Column id="patnm" type="STRING" size="256"/>
  2045. <Column id="sexage" type="STRING" size="256"/>
  2046. <Column id="wardnm" type="STRING" size="256"/>
  2047. <Column id="aptprcpdd" type="STRING" size="256"/>
  2048. <Column id="aptexecprcpuniqno" type="STRING" size="256"/>
  2049. <Column id="aptprcpno" type="STRING" size="256"/>
  2050. <Column id="aptspcacptseqno" type="STRING" size="256"/>
  2051. <Column id="aptcsteno" type="STRING" size="256"/>
  2052. <Column id="aptblocnm" type="STRING" size="256"/>
  2053. </ColumnInfo>
  2054. <Rows>
  2055. <Row>
  2056. <Col id="choi"/>
  2057. <Col id="recvflag"/>
  2058. <Col id="view_ptno"/>
  2059. <Col id="ptno"/>
  2060. <Col id="setptno"/>
  2061. <Col id="view_relaptno"/>
  2062. <Col id="relaptno"/>
  2063. <Col id="setrelaptno"/>
  2064. <Col id="testhngnm"/>
  2065. <Col id="testcd"/>
  2066. <Col id="patflag"/>
  2067. <Col id="rcptflag"/>
  2068. <Col id="orddeptcd"/>
  2069. <Col id="orddeptnm"/>
  2070. <Col id="orddrid"/>
  2071. <Col id="orddrnm"/>
  2072. <Col id="reqfrmno"/>
  2073. <Col id="reqfrmprtncnt"/>
  2074. <Col id="infcinfo"/>
  2075. <Col id="instcd"/>
  2076. <Col id="tranno"/>
  2077. <Col id="trandd"/>
  2078. <Col id="transeqno"/>
  2079. <Col id="tranid"/>
  2080. <Col id="trandeptcd"/>
  2081. <Col id="orddd"/>
  2082. <Col id="prcpdd"/>
  2083. <Col id="prcpno"/>
  2084. <Col id="execprcpseqno"/>
  2085. <Col id="prcprgstdd"/>
  2086. <Col id="prcprgsttm"/>
  2087. <Col id="pid"/>
  2088. <Col id="reprspccd"/>
  2089. <Col id="spctrandd"/>
  2090. <Col id="spctranno"/>
  2091. <Col id="prcpstatcd"/>
  2092. <Col id="ptnocd"/>
  2093. <Col id="slidflagcd"/>
  2094. <Col id="slidisscnt"/>
  2095. <Col id="initblocno"/>
  2096. <Col id="autokeepflagcd"/>
  2097. <Col id="stdyptnocd"/>
  2098. <Col id="stdy_slidflagcd"/>
  2099. <Col id="stdy_slidisscnt"/>
  2100. <Col id="stdy_initblocno"/>
  2101. <Col id="stdy_autokeepflagcd"/>
  2102. <Col id="trustptnocd"/>
  2103. <Col id="trust_slidflagcd"/>
  2104. <Col id="trust_slidisscnt"/>
  2105. <Col id="trust_initblocno"/>
  2106. <Col id="trust_autokeepflagcd"/>
  2107. <Col id="ptnocdflagcd"/>
  2108. <Col id="stdyptnocdflagcd"/>
  2109. <Col id="trustptnocdflagcd"/>
  2110. <Col id="grup_testcd"/>
  2111. <Col id="grup_testnm"/>
  2112. <Col id="prcpgenrflagcd"/>
  2113. <Col id="prcpacptdd"/>
  2114. <Col id="spcacptdd"/>
  2115. <Col id="spcacptno"/>
  2116. <Col id="spcacptseqno"/>
  2117. <Col id="acptkey"/>
  2118. <Col id="workflagcd"/>
  2119. <Col id="ordkindflagcd"/>
  2120. <Col id="prcprefflag"/>
  2121. <Col id="reuseflagcd"/>
  2122. <Col id="bfacptdd"/>
  2123. <Col id="bfacptno"/>
  2124. <Col id="bfacptseqno"/>
  2125. <Col id="blocflagcd"/>
  2126. <Col id="stdy_blocflagcd"/>
  2127. <Col id="trust_blocflagcd"/>
  2128. <Col id="orgprcpstatcd"/>
  2129. <Col id="orgtranstatcd"/>
  2130. <Col id="lastptno"/>
  2131. <Col id="spcnm"/>
  2132. <Col id="reqfrmflagcd"/>
  2133. <Col id="wardcd"/>
  2134. <Col id="roomcd"/>
  2135. <Col id="patnm"/>
  2136. <Col id="sexage"/>
  2137. <Col id="wardnm"/>
  2138. <Col id="aptprcpdd"/>
  2139. <Col id="aptexecprcpuniqno"/>
  2140. <Col id="aptprcpno"/>
  2141. <Col id="aptspcacptseqno"/>
  2142. <Col id="aptcsteno"/>
  2143. <Col id="aptblocnm"/>
  2144. </Row>
  2145. </Rows>
  2146. </Dataset>
  2147. <Dataset id="ds_main_addprcp_addprcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2148. <ColumnInfo>
  2149. <Column id="choi" type="STRING" size="256"/>
  2150. <Column id="recvflag" type="STRING" size="256"/>
  2151. <Column id="view_ptno" type="STRING" size="256"/>
  2152. <Column id="ptno" type="STRING" size="256"/>
  2153. <Column id="setptno" type="STRING" size="256"/>
  2154. <Column id="view_relaptno" type="STRING" size="256"/>
  2155. <Column id="relaptno" type="STRING" size="256"/>
  2156. <Column id="setrelaptno" type="STRING" size="256"/>
  2157. <Column id="testhngnm" type="STRING" size="256"/>
  2158. <Column id="testcd" type="STRING" size="256"/>
  2159. <Column id="patflag" type="STRING" size="256"/>
  2160. <Column id="rcptflag" type="STRING" size="256"/>
  2161. <Column id="orddeptcd" type="STRING" size="256"/>
  2162. <Column id="orddeptnm" type="STRING" size="256"/>
  2163. <Column id="orddrid" type="STRING" size="256"/>
  2164. <Column id="orddrnm" type="STRING" size="256"/>
  2165. <Column id="reqfrmno" type="STRING" size="256"/>
  2166. <Column id="reqfrmprtncnt" type="STRING" size="256"/>
  2167. <Column id="infcinfo" type="STRING" size="256"/>
  2168. <Column id="instcd" type="STRING" size="256"/>
  2169. <Column id="tranno" type="STRING" size="256"/>
  2170. <Column id="trandd" type="STRING" size="256"/>
  2171. <Column id="transeqno" type="STRING" size="256"/>
  2172. <Column id="tranid" type="STRING" size="256"/>
  2173. <Column id="trandeptcd" type="STRING" size="256"/>
  2174. <Column id="orddd" type="STRING" size="256"/>
  2175. <Column id="prcpdd" type="STRING" size="256"/>
  2176. <Column id="prcpno" type="STRING" size="256"/>
  2177. <Column id="execprcpseqno" type="STRING" size="256"/>
  2178. <Column id="prcprgstdd" type="STRING" size="256"/>
  2179. <Column id="prcprgsttm" type="STRING" size="256"/>
  2180. <Column id="pid" type="STRING" size="256"/>
  2181. <Column id="reprspccd" type="STRING" size="256"/>
  2182. <Column id="spctrandd" type="STRING" size="256"/>
  2183. <Column id="spctranno" type="STRING" size="256"/>
  2184. <Column id="prcpstatcd" type="STRING" size="256"/>
  2185. <Column id="ptnocd" type="STRING" size="256"/>
  2186. <Column id="slidflagcd" type="STRING" size="256"/>
  2187. <Column id="slidisscnt" type="STRING" size="256"/>
  2188. <Column id="initblocno" type="STRING" size="256"/>
  2189. <Column id="autokeepflagcd" type="STRING" size="256"/>
  2190. <Column id="stdyptnocd" type="STRING" size="256"/>
  2191. <Column id="stdy_slidflagcd" type="STRING" size="256"/>
  2192. <Column id="stdy_slidisscnt" type="STRING" size="256"/>
  2193. <Column id="stdy_initblocno" type="STRING" size="256"/>
  2194. <Column id="stdy_autokeepflagcd" type="STRING" size="256"/>
  2195. <Column id="trustptnocd" type="STRING" size="256"/>
  2196. <Column id="trust_slidflagcd" type="STRING" size="256"/>
  2197. <Column id="trust_slidisscnt" type="STRING" size="256"/>
  2198. <Column id="trust_initblocno" type="STRING" size="256"/>
  2199. <Column id="trust_autokeepflagcd" type="STRING" size="256"/>
  2200. <Column id="ptnocdflagcd" type="STRING" size="256"/>
  2201. <Column id="stdyptnocdflagcd" type="STRING" size="256"/>
  2202. <Column id="trustptnocdflagcd" type="STRING" size="256"/>
  2203. <Column id="grup_testcd" type="STRING" size="256"/>
  2204. <Column id="grup_testnm" type="STRING" size="256"/>
  2205. <Column id="prcpgenrflagcd" type="STRING" size="256"/>
  2206. <Column id="prcpacptdd" type="STRING" size="256"/>
  2207. <Column id="spcacptdd" type="STRING" size="256"/>
  2208. <Column id="spcacptno" type="STRING" size="256"/>
  2209. <Column id="spcacptseqno" type="STRING" size="256"/>
  2210. <Column id="acptkey" type="STRING" size="256"/>
  2211. <Column id="workflagcd" type="STRING" size="256"/>
  2212. <Column id="ordkindflagcd" type="STRING" size="256"/>
  2213. <Column id="prcprefflag" type="STRING" size="256"/>
  2214. <Column id="reuseflagcd" type="STRING" size="256"/>
  2215. <Column id="bfacptdd" type="STRING" size="256"/>
  2216. <Column id="bfacptno" type="STRING" size="256"/>
  2217. <Column id="bfacptseqno" type="STRING" size="256"/>
  2218. <Column id="blocflagcd" type="STRING" size="256"/>
  2219. <Column id="stdy_blocflagcd" type="STRING" size="256"/>
  2220. <Column id="trust_blocflagcd" type="STRING" size="256"/>
  2221. <Column id="orgprcpstatcd" type="STRING" size="256"/>
  2222. <Column id="orgtranstatcd" type="STRING" size="256"/>
  2223. <Column id="lastptno" type="STRING" size="256"/>
  2224. <Column id="spcnm" type="STRING" size="256"/>
  2225. <Column id="reqfrmflagcd" type="STRING" size="256"/>
  2226. <Column id="wardcd" type="STRING" size="256"/>
  2227. <Column id="roomcd" type="STRING" size="256"/>
  2228. <Column id="patnm" type="STRING" size="256"/>
  2229. <Column id="sexage" type="STRING" size="256"/>
  2230. <Column id="wardnm" type="STRING" size="256"/>
  2231. <Column id="aptprcpdd" type="STRING" size="256"/>
  2232. <Column id="aptexecprcpuniqno" type="STRING" size="256"/>
  2233. <Column id="aptprcpno" type="STRING" size="256"/>
  2234. <Column id="aptspcacptseqno" type="STRING" size="256"/>
  2235. <Column id="aptcsteno" type="STRING" size="256"/>
  2236. <Column id="aptblocnm" type="STRING" size="256"/>
  2237. </ColumnInfo>
  2238. <Rows>
  2239. <Row>
  2240. <Col id="choi"/>
  2241. <Col id="recvflag"/>
  2242. <Col id="view_ptno"/>
  2243. <Col id="ptno"/>
  2244. <Col id="setptno"/>
  2245. <Col id="view_relaptno"/>
  2246. <Col id="relaptno"/>
  2247. <Col id="setrelaptno"/>
  2248. <Col id="testhngnm"/>
  2249. <Col id="testcd"/>
  2250. <Col id="patflag"/>
  2251. <Col id="rcptflag"/>
  2252. <Col id="orddeptcd"/>
  2253. <Col id="orddeptnm"/>
  2254. <Col id="orddrid"/>
  2255. <Col id="orddrnm"/>
  2256. <Col id="reqfrmno"/>
  2257. <Col id="reqfrmprtncnt"/>
  2258. <Col id="infcinfo"/>
  2259. <Col id="instcd"/>
  2260. <Col id="tranno"/>
  2261. <Col id="trandd"/>
  2262. <Col id="transeqno"/>
  2263. <Col id="tranid"/>
  2264. <Col id="trandeptcd"/>
  2265. <Col id="orddd"/>
  2266. <Col id="prcpdd"/>
  2267. <Col id="prcpno"/>
  2268. <Col id="execprcpseqno"/>
  2269. <Col id="prcprgstdd"/>
  2270. <Col id="prcprgsttm"/>
  2271. <Col id="pid"/>
  2272. <Col id="reprspccd"/>
  2273. <Col id="spctrandd"/>
  2274. <Col id="spctranno"/>
  2275. <Col id="prcpstatcd"/>
  2276. <Col id="ptnocd"/>
  2277. <Col id="slidflagcd"/>
  2278. <Col id="slidisscnt"/>
  2279. <Col id="initblocno"/>
  2280. <Col id="autokeepflagcd"/>
  2281. <Col id="stdyptnocd"/>
  2282. <Col id="stdy_slidflagcd"/>
  2283. <Col id="stdy_slidisscnt"/>
  2284. <Col id="stdy_initblocno"/>
  2285. <Col id="stdy_autokeepflagcd"/>
  2286. <Col id="trustptnocd"/>
  2287. <Col id="trust_slidflagcd"/>
  2288. <Col id="trust_slidisscnt"/>
  2289. <Col id="trust_initblocno"/>
  2290. <Col id="trust_autokeepflagcd"/>
  2291. <Col id="ptnocdflagcd"/>
  2292. <Col id="stdyptnocdflagcd"/>
  2293. <Col id="trustptnocdflagcd"/>
  2294. <Col id="grup_testcd"/>
  2295. <Col id="grup_testnm"/>
  2296. <Col id="prcpgenrflagcd"/>
  2297. <Col id="prcpacptdd"/>
  2298. <Col id="spcacptdd"/>
  2299. <Col id="spcacptno"/>
  2300. <Col id="spcacptseqno"/>
  2301. <Col id="acptkey"/>
  2302. <Col id="workflagcd"/>
  2303. <Col id="ordkindflagcd"/>
  2304. <Col id="prcprefflag"/>
  2305. <Col id="reuseflagcd"/>
  2306. <Col id="bfacptdd"/>
  2307. <Col id="bfacptno"/>
  2308. <Col id="bfacptseqno"/>
  2309. <Col id="blocflagcd"/>
  2310. <Col id="stdy_blocflagcd"/>
  2311. <Col id="trust_blocflagcd"/>
  2312. <Col id="orgprcpstatcd"/>
  2313. <Col id="orgtranstatcd"/>
  2314. <Col id="lastptno"/>
  2315. <Col id="spcnm"/>
  2316. <Col id="reqfrmflagcd"/>
  2317. <Col id="wardcd"/>
  2318. <Col id="roomcd"/>
  2319. <Col id="patnm"/>
  2320. <Col id="sexage"/>
  2321. <Col id="wardnm"/>
  2322. <Col id="aptprcpdd"/>
  2323. <Col id="aptexecprcpuniqno"/>
  2324. <Col id="aptprcpno"/>
  2325. <Col id="aptspcacptseqno"/>
  2326. <Col id="aptcsteno"/>
  2327. <Col id="aptblocnm"/>
  2328. </Row>
  2329. </Rows>
  2330. </Dataset>
  2331. <Dataset id="ds_main_relprcp_relprcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2332. <ColumnInfo>
  2333. <Column id="choi" type="STRING" size="256"/>
  2334. <Column id="recvflag" type="STRING" size="256"/>
  2335. <Column id="view_ptno" type="STRING" size="256"/>
  2336. <Column id="ptno" type="STRING" size="256"/>
  2337. <Column id="setptno" type="STRING" size="256"/>
  2338. <Column id="view_relaptno" type="STRING" size="256"/>
  2339. <Column id="relaptno" type="STRING" size="256"/>
  2340. <Column id="setrelaptno" type="STRING" size="256"/>
  2341. <Column id="testhngnm" type="STRING" size="256"/>
  2342. <Column id="testcd" type="STRING" size="256"/>
  2343. <Column id="patflag" type="STRING" size="256"/>
  2344. <Column id="rcptflag" type="STRING" size="256"/>
  2345. <Column id="orddeptcd" type="STRING" size="256"/>
  2346. <Column id="orddeptnm" type="STRING" size="256"/>
  2347. <Column id="orddrid" type="STRING" size="256"/>
  2348. <Column id="orddrnm" type="STRING" size="256"/>
  2349. <Column id="reqfrmno" type="STRING" size="256"/>
  2350. <Column id="reqfrmprtncnt" type="STRING" size="256"/>
  2351. <Column id="infcinfo" type="STRING" size="256"/>
  2352. <Column id="instcd" type="STRING" size="256"/>
  2353. <Column id="tranno" type="STRING" size="256"/>
  2354. <Column id="trandd" type="STRING" size="256"/>
  2355. <Column id="transeqno" type="STRING" size="256"/>
  2356. <Column id="tranid" type="STRING" size="256"/>
  2357. <Column id="trandeptcd" type="STRING" size="256"/>
  2358. <Column id="orddd" type="STRING" size="256"/>
  2359. <Column id="prcpdd" type="STRING" size="256"/>
  2360. <Column id="prcpno" type="STRING" size="256"/>
  2361. <Column id="execprcpseqno" type="STRING" size="256"/>
  2362. <Column id="prcprgstdd" type="STRING" size="256"/>
  2363. <Column id="prcprgsttm" type="STRING" size="256"/>
  2364. <Column id="pid" type="STRING" size="256"/>
  2365. <Column id="reprspccd" type="STRING" size="256"/>
  2366. <Column id="spctrandd" type="STRING" size="256"/>
  2367. <Column id="spctranno" type="STRING" size="256"/>
  2368. <Column id="prcpstatcd" type="STRING" size="256"/>
  2369. <Column id="ptnocd" type="STRING" size="256"/>
  2370. <Column id="slidflagcd" type="STRING" size="256"/>
  2371. <Column id="slidisscnt" type="STRING" size="256"/>
  2372. <Column id="initblocno" type="STRING" size="256"/>
  2373. <Column id="autokeepflagcd" type="STRING" size="256"/>
  2374. <Column id="stdyptnocd" type="STRING" size="256"/>
  2375. <Column id="stdy_slidflagcd" type="STRING" size="256"/>
  2376. <Column id="stdy_slidisscnt" type="STRING" size="256"/>
  2377. <Column id="stdy_initblocno" type="STRING" size="256"/>
  2378. <Column id="stdy_autokeepflagcd" type="STRING" size="256"/>
  2379. <Column id="trustptnocd" type="STRING" size="256"/>
  2380. <Column id="trust_slidflagcd" type="STRING" size="256"/>
  2381. <Column id="trust_slidisscnt" type="STRING" size="256"/>
  2382. <Column id="trust_initblocno" type="STRING" size="256"/>
  2383. <Column id="trust_autokeepflagcd" type="STRING" size="256"/>
  2384. <Column id="ptnocdflagcd" type="STRING" size="256"/>
  2385. <Column id="stdyptnocdflagcd" type="STRING" size="256"/>
  2386. <Column id="trustptnocdflagcd" type="STRING" size="256"/>
  2387. <Column id="grup_testcd" type="STRING" size="256"/>
  2388. <Column id="prcpgenrflagcd" type="STRING" size="256"/>
  2389. <Column id="prcpacptdd" type="STRING" size="256"/>
  2390. <Column id="spcacptdd" type="STRING" size="256"/>
  2391. <Column id="spcacptno" type="STRING" size="256"/>
  2392. <Column id="spcacptseqno" type="STRING" size="256"/>
  2393. <Column id="acptkey" type="STRING" size="256"/>
  2394. <Column id="workflagcd" type="STRING" size="256"/>
  2395. <Column id="ordkindflagcd" type="STRING" size="256"/>
  2396. <Column id="prcprefflag" type="STRING" size="256"/>
  2397. <Column id="reuseflagcd" type="STRING" size="256"/>
  2398. <Column id="bfacptdd" type="STRING" size="256"/>
  2399. <Column id="bfacptno" type="STRING" size="256"/>
  2400. <Column id="bfacptseqno" type="STRING" size="256"/>
  2401. <Column id="blocflagcd" type="STRING" size="256"/>
  2402. <Column id="stdy_blocflagcd" type="STRING" size="256"/>
  2403. <Column id="trust_blocflagcd" type="STRING" size="256"/>
  2404. <Column id="orgprcpstatcd" type="STRING" size="256"/>
  2405. <Column id="orgtranstatcd" type="STRING" size="256"/>
  2406. <Column id="lastptno" type="STRING" size="256"/>
  2407. <Column id="spcnm" type="STRING" size="256"/>
  2408. <Column id="reqfrmflagcd" type="STRING" size="256"/>
  2409. <Column id="wardcd" type="STRING" size="256"/>
  2410. <Column id="roomcd" type="STRING" size="256"/>
  2411. <Column id="patnm" type="STRING" size="256"/>
  2412. <Column id="sexage" type="STRING" size="256"/>
  2413. <Column id="wardnm" type="STRING" size="256"/>
  2414. </ColumnInfo>
  2415. <Rows>
  2416. <Row>
  2417. <Col id="choi"/>
  2418. <Col id="recvflag"/>
  2419. <Col id="view_ptno"/>
  2420. <Col id="ptno"/>
  2421. <Col id="setptno"/>
  2422. <Col id="view_relaptno"/>
  2423. <Col id="relaptno"/>
  2424. <Col id="setrelaptno"/>
  2425. <Col id="testhngnm"/>
  2426. <Col id="testcd"/>
  2427. <Col id="patflag"/>
  2428. <Col id="rcptflag"/>
  2429. <Col id="orddeptcd"/>
  2430. <Col id="orddeptnm"/>
  2431. <Col id="orddrid"/>
  2432. <Col id="orddrnm"/>
  2433. <Col id="reqfrmno"/>
  2434. <Col id="reqfrmprtncnt"/>
  2435. <Col id="infcinfo"/>
  2436. <Col id="instcd"/>
  2437. <Col id="tranno"/>
  2438. <Col id="trandd"/>
  2439. <Col id="transeqno"/>
  2440. <Col id="tranid"/>
  2441. <Col id="trandeptcd"/>
  2442. <Col id="orddd"/>
  2443. <Col id="prcpdd"/>
  2444. <Col id="prcpno"/>
  2445. <Col id="execprcpseqno"/>
  2446. <Col id="prcprgstdd"/>
  2447. <Col id="prcprgsttm"/>
  2448. <Col id="pid"/>
  2449. <Col id="reprspccd"/>
  2450. <Col id="spctrandd"/>
  2451. <Col id="spctranno"/>
  2452. <Col id="prcpstatcd"/>
  2453. <Col id="ptnocd"/>
  2454. <Col id="slidflagcd"/>
  2455. <Col id="slidisscnt"/>
  2456. <Col id="initblocno"/>
  2457. <Col id="autokeepflagcd"/>
  2458. <Col id="stdyptnocd"/>
  2459. <Col id="stdy_slidflagcd"/>
  2460. <Col id="stdy_slidisscnt"/>
  2461. <Col id="stdy_initblocno"/>
  2462. <Col id="stdy_autokeepflagcd"/>
  2463. <Col id="trustptnocd"/>
  2464. <Col id="trust_slidflagcd"/>
  2465. <Col id="trust_slidisscnt"/>
  2466. <Col id="trust_initblocno"/>
  2467. <Col id="trust_autokeepflagcd"/>
  2468. <Col id="ptnocdflagcd"/>
  2469. <Col id="stdyptnocdflagcd"/>
  2470. <Col id="trustptnocdflagcd"/>
  2471. <Col id="grup_testcd"/>
  2472. <Col id="prcpgenrflagcd"/>
  2473. <Col id="prcpacptdd"/>
  2474. <Col id="spcacptdd"/>
  2475. <Col id="spcacptno"/>
  2476. <Col id="spcacptseqno"/>
  2477. <Col id="acptkey"/>
  2478. <Col id="workflagcd"/>
  2479. <Col id="ordkindflagcd"/>
  2480. <Col id="prcprefflag"/>
  2481. <Col id="reuseflagcd"/>
  2482. <Col id="bfacptdd"/>
  2483. <Col id="bfacptno"/>
  2484. <Col id="bfacptseqno"/>
  2485. <Col id="blocflagcd"/>
  2486. <Col id="stdy_blocflagcd"/>
  2487. <Col id="trust_blocflagcd"/>
  2488. <Col id="orgprcpstatcd"/>
  2489. <Col id="orgtranstatcd"/>
  2490. <Col id="lastptno"/>
  2491. <Col id="spcnm"/>
  2492. <Col id="reqfrmflagcd"/>
  2493. <Col id="wardcd"/>
  2494. <Col id="roomcd"/>
  2495. <Col id="patnm"/>
  2496. <Col id="sexage"/>
  2497. <Col id="wardnm"/>
  2498. </Row>
  2499. </Rows>
  2500. </Dataset>
  2501. <Dataset id="ds_main_bfptnohist_ptnohistlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2502. <ColumnInfo>
  2503. <Column id="instcd" type="STRING" size="256"/>
  2504. <Column id="view_ptno" type="STRING" size="256"/>
  2505. <Column id="ptno" type="STRING" size="256"/>
  2506. <Column id="grosdrnm" type="STRING" size="256"/>
  2507. <Column id="spccd" type="STRING" size="256"/>
  2508. <Column id="spcnm" type="STRING" size="256"/>
  2509. <Column id="pid" type="STRING" size="256"/>
  2510. <Column id="patnm" type="STRING" size="256"/>
  2511. <Column id="view_relaptno" type="STRING" size="256"/>
  2512. </ColumnInfo>
  2513. <Rows>
  2514. <Row>
  2515. <Col id="instcd"/>
  2516. <Col id="view_ptno"/>
  2517. <Col id="ptno"/>
  2518. <Col id="grosdrnm"/>
  2519. <Col id="spccd"/>
  2520. <Col id="spcnm"/>
  2521. <Col id="pid"/>
  2522. <Col id="patnm"/>
  2523. <Col id="view_relaptno"/>
  2524. </Row>
  2525. </Rows>
  2526. </Dataset>
  2527. <Dataset id="ds_main_mnoptnohist_ptnohistlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2528. <ColumnInfo>
  2529. <Column id="instcd" type="STRING" size="256"/>
  2530. <Column id="view_ptno" type="STRING" size="256"/>
  2531. <Column id="ptno" type="STRING" size="256"/>
  2532. <Column id="spccd" type="STRING" size="256"/>
  2533. <Column id="spcnm" type="STRING" size="256"/>
  2534. <Column id="pid" type="STRING" size="256"/>
  2535. <Column id="patnm" type="STRING" size="256"/>
  2536. <Column id="view_relaptno" type="STRING" size="256"/>
  2537. </ColumnInfo>
  2538. <Rows>
  2539. <Row>
  2540. <Col id="instcd"/>
  2541. <Col id="view_ptno"/>
  2542. <Col id="ptno"/>
  2543. <Col id="spccd"/>
  2544. <Col id="spcnm"/>
  2545. <Col id="pid"/>
  2546. <Col id="patnm"/>
  2547. <Col id="view_relaptno"/>
  2548. </Row>
  2549. </Rows>
  2550. </Dataset>
  2551. <Dataset id="ds_main_lastptnohist_ptnohistlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2552. <ColumnInfo>
  2553. <Column id="instcd" type="STRING" size="256"/>
  2554. <Column id="view_ptno" type="STRING" size="256"/>
  2555. </ColumnInfo>
  2556. <Rows>
  2557. <Row>
  2558. <Col id="instcd"/>
  2559. <Col id="view_ptno"/>
  2560. </Row>
  2561. </Rows>
  2562. </Dataset>
  2563. <Dataset id="ds_main_prcpspc_prcpspclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2564. <ColumnInfo>
  2565. <Column id="instcd" type="STRING" size="256"/>
  2566. <Column id="spc_spctrandd" type="STRING" size="256"/>
  2567. <Column id="spc_spctranno" type="STRING" size="256"/>
  2568. <Column id="spc_spctranseqno" type="STRING" size="256"/>
  2569. <Column id="spc_spcacptdd" type="STRING" size="256"/>
  2570. <Column id="spc_spcacptno" type="STRING" size="256"/>
  2571. <Column id="spc_spcacptseqno" type="STRING" size="256"/>
  2572. <Column id="spccd" type="STRING" size="256"/>
  2573. <Column id="spcnm" type="STRING" size="256"/>
  2574. <Column id="reprspccd" type="STRING" size="256"/>
  2575. <Column id="spcstatcd" type="STRING" size="256"/>
  2576. <Column id="spcbarcdno" type="STRING" size="256"/>
  2577. <Column id="addyn" type="STRING" size="256"/>
  2578. <Column id="cste_cnt" type="STRING" size="256"/>
  2579. <Column id="last_seqno" type="STRING" size="256"/>
  2580. </ColumnInfo>
  2581. <Rows>
  2582. <Row>
  2583. <Col id="instcd"/>
  2584. <Col id="spc_spctrandd"/>
  2585. <Col id="spc_spctranno"/>
  2586. <Col id="spc_spctranseqno"/>
  2587. <Col id="spc_spcacptdd"/>
  2588. <Col id="spc_spcacptno"/>
  2589. <Col id="spc_spcacptseqno"/>
  2590. <Col id="spccd"/>
  2591. <Col id="spcnm"/>
  2592. <Col id="reprspccd"/>
  2593. <Col id="spcstatcd"/>
  2594. <Col id="spcbarcdno"/>
  2595. <Col id="addyn"/>
  2596. <Col id="cste_cnt"/>
  2597. <Col id="last_seqno"/>
  2598. </Row>
  2599. </Rows>
  2600. </Dataset>
  2601. <Dataset id="ds_main_acptrslt_acptrsltlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2602. <ColumnInfo>
  2603. <Column id="execprcpuniqno" type="STRING" size="255"/>
  2604. <Column id="workflagcd" type="STRING" size="255"/>
  2605. <Column id="prcpno" type="STRING" size="255"/>
  2606. <Column id="testnm" type="STRING" size="255"/>
  2607. <Column id="dispptno" type="STRING" size="255"/>
  2608. <Column id="wardnm" type="STRING" size="255"/>
  2609. <Column id="dispptno1" type="STRING" size="255"/>
  2610. <Column id="barcdno" type="STRING" size="255"/>
  2611. <Column id="dispptno2" type="STRING" size="255"/>
  2612. <Column id="pid" type="STRING" size="255"/>
  2613. <Column id="acptdd" type="STRING" size="255"/>
  2614. <Column id="orddeptnm" type="STRING" size="255"/>
  2615. <Column id="spcnm" type="STRING" size="255"/>
  2616. <Column id="ptno" type="STRING" size="255"/>
  2617. <Column id="patnm" type="STRING" size="255"/>
  2618. <Column id="prcpdd" type="STRING" size="255"/>
  2619. <Column id="sexage" type="STRING" size="255"/>
  2620. <Column id="spcbarcdno" type="STRING" size="256"/>
  2621. <Column id="wardroom" type="STRING" size="256"/>
  2622. <Column id="spcdispnm" type="STRING" size="256"/>
  2623. <Column id="prcpdispnm" type="STRING" size="256"/>
  2624. <Column id="prcpgenrflag" type="STRING" size="256"/>
  2625. <Column id="reptflagcd" type="STRING" size="256"/>
  2626. <Column id="adddiagprtn" type="STRING" size="256"/>
  2627. <Column id="adddiaglist" type="STRING" size="256"/>
  2628. <Column id="addrsltlist" type="STRING" size="256"/>
  2629. <Column id="prntflagcd" type="STRING" size="256"/>
  2630. <Column id="copyflagcd" type="STRING" size="256"/>
  2631. </ColumnInfo>
  2632. <Dataset id="ds_main_acptrslt_acptrsltlist">
  2633. <ColumnInfo>
  2634. <Column id="execprcpuniqno" type="STRING" size="255"/>
  2635. <Column id="workflagcd" type="STRING" size="255"/>
  2636. <Column id="prcpno" type="STRING" size="255"/>
  2637. <Column id="testnm" type="STRING" size="255"/>
  2638. <Column id="dispptno" type="STRING" size="255"/>
  2639. <Column id="wardnm" type="STRING" size="255"/>
  2640. <Column id="dispptno1" type="STRING" size="255"/>
  2641. <Column id="barcdno" type="STRING" size="255"/>
  2642. <Column id="dispptno2" type="STRING" size="255"/>
  2643. <Column id="pid" type="STRING" size="255"/>
  2644. <Column id="acptdd" type="STRING" size="255"/>
  2645. <Column id="orddeptnm" type="STRING" size="255"/>
  2646. <Column id="spcnm" type="STRING" size="255"/>
  2647. <Column id="ptno" type="STRING" size="255"/>
  2648. <Column id="patnm" type="STRING" size="255"/>
  2649. <Column id="prcpdd" type="STRING" size="255"/>
  2650. <Column id="sexage" type="STRING" size="255"/>
  2651. <Column id="spcbarcdno" type="STRING" size="256"/>
  2652. <Column id="wardroom" type="STRING" size="256"/>
  2653. <Column id="spcdispnm" type="STRING" size="256"/>
  2654. <Column id="prcpdispnm" type="STRING" size="256"/>
  2655. </ColumnInfo>
  2656. <Rows>
  2657. <Row>
  2658. <Col id="execprcpuniqno">209778848</Col>
  2659. <Col id="workflagcd">1001</Col>
  2660. <Col id="prcpno">298106657</Col>
  2661. <Col id="testnm">미염색슬라이드</Col>
  2662. <Col id="dispptno">OT16-000409 1/1</Col>
  2663. <Col id="wardnm">506E/5633</Col>
  2664. <Col id="dispptno1">OT16</Col>
  2665. <Col id="barcdno">10ZDH003J01</Col>
  2666. <Col id="dispptno2">000409</Col>
  2667. <Col id="pid">3279591</Col>
  2668. <Col id="acptdd">20161019</Col>
  2669. <Col id="orddeptnm">IMR</Col>
  2670. <Col id="spcnm">Other</Col>
  2671. <Col id="ptno">OT16000409</Col>
  2672. <Col id="patnm">이승민</Col>
  2673. <Col id="prcpdd">20150430</Col>
  2674. <Col id="sexage">F/21</Col>
  2675. <Col id="spcbarcdno">10ZDH003J01</Col>
  2676. <Col id="wardroom">506E/5633</Col>
  2677. <Col id="spcdispnm">Other</Col>
  2678. <Col id="prcpdispnm">미염색슬라이드</Col>
  2679. </Row>
  2680. </Rows>
  2681. </Dataset>
  2682. <Dataset id="ds_main_acptrslt_acptrsltlist">
  2683. <ColumnInfo>
  2684. <Column id="execprcpuniqno" type="STRING" size="255"/>
  2685. <Column id="workflagcd" type="STRING" size="255"/>
  2686. <Column id="prcpno" type="STRING" size="255"/>
  2687. <Column id="testnm" type="STRING" size="255"/>
  2688. <Column id="dispptno" type="STRING" size="255"/>
  2689. <Column id="wardnm" type="STRING" size="255"/>
  2690. <Column id="dispptno1" type="STRING" size="255"/>
  2691. <Column id="barcdno" type="STRING" size="255"/>
  2692. <Column id="dispptno2" type="STRING" size="255"/>
  2693. <Column id="pid" type="STRING" size="255"/>
  2694. <Column id="acptdd" type="STRING" size="255"/>
  2695. <Column id="orddeptnm" type="STRING" size="255"/>
  2696. <Column id="spcnm" type="STRING" size="255"/>
  2697. <Column id="ptno" type="STRING" size="255"/>
  2698. <Column id="patnm" type="STRING" size="255"/>
  2699. <Column id="prcpdd" type="STRING" size="255"/>
  2700. <Column id="sexage" type="STRING" size="255"/>
  2701. <Column id="spcbarcdno" type="STRING" size="256"/>
  2702. <Column id="wardroom" type="STRING" size="256"/>
  2703. <Column id="spcdispnm" type="STRING" size="256"/>
  2704. <Column id="prcpdispnm" type="STRING" size="256"/>
  2705. </ColumnInfo>
  2706. <Rows>
  2707. <Row>
  2708. <Col id="execprcpuniqno">209778848</Col>
  2709. <Col id="workflagcd">1001</Col>
  2710. <Col id="prcpno">298106657</Col>
  2711. <Col id="testnm">미염색슬라이드</Col>
  2712. <Col id="dispptno">OT16-000409 1/1</Col>
  2713. <Col id="wardnm">506E/5633</Col>
  2714. <Col id="dispptno1">OT16</Col>
  2715. <Col id="barcdno">10ZDH003J01</Col>
  2716. <Col id="dispptno2">000409</Col>
  2717. <Col id="pid">3279591</Col>
  2718. <Col id="acptdd">20161019</Col>
  2719. <Col id="orddeptnm">IMR</Col>
  2720. <Col id="spcnm">Other</Col>
  2721. <Col id="ptno">OT16000409</Col>
  2722. <Col id="patnm">이승민</Col>
  2723. <Col id="prcpdd">20150430</Col>
  2724. <Col id="sexage">F/21</Col>
  2725. <Col id="spcbarcdno">10ZDH003J01</Col>
  2726. <Col id="wardroom">506E/5633</Col>
  2727. <Col id="spcdispnm">Other</Col>
  2728. <Col id="prcpdispnm">미염색슬라이드</Col>
  2729. </Row>
  2730. </Rows>
  2731. </Dataset>
  2732. </Dataset>
  2733. <Dataset id="ds_main_barcdprntsetup_prntsetupinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2734. <ColumnInfo>
  2735. <Column id="setupinfo" type="STRING" size="256"/>
  2736. </ColumnInfo>
  2737. </Dataset>
  2738. <Dataset id="ds_main_signforminfo_signformlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2739. <ColumnInfo>
  2740. <Column id="scrn" type="STRING" size="256"/>
  2741. <Column id="scanyn" type="STRING" size="256"/>
  2742. <Column id="formcd" type="STRING" size="256"/>
  2743. <Column id="cretno" type="STRING" size="256"/>
  2744. </ColumnInfo>
  2745. <Rows>
  2746. <Row>
  2747. <Col id="scrn"/>
  2748. <Col id="scanyn"/>
  2749. <Col id="formcd"/>
  2750. <Col id="cretno"/>
  2751. </Row>
  2752. </Rows>
  2753. </Dataset>
  2754. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  2755. <Dataset id="ds_init_schedule_schedulelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2756. <ColumnInfo>
  2757. <Column id="instcd" type="STRING" size="256"/>
  2758. <Column id="userid" type="STRING" size="256"/>
  2759. <Column id="drtypecd" type="STRING" size="256"/>
  2760. </ColumnInfo>
  2761. <Rows>
  2762. <Row>
  2763. <Col id="instcd"/>
  2764. <Col id="userid"/>
  2765. <Col id="drtypecd"/>
  2766. </Row>
  2767. </Rows>
  2768. </Dataset>
  2769. <Dataset id="ds_init_sysdt_sysdtinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2770. <ColumnInfo>
  2771. <Column id="sysdd" type="STRING" size="256"/>
  2772. <Column id="systm" type="STRING" size="256"/>
  2773. </ColumnInfo>
  2774. <Rows>
  2775. <Row>
  2776. <Col id="sysdd"/>
  2777. <Col id="systm"/>
  2778. </Row>
  2779. </Rows>
  2780. </Dataset>
  2781. <Dataset id="ds_init_ptnocd_ptnocdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2782. <ColumnInfo>
  2783. <Column id="instcd" type="STRING" size="256"/>
  2784. <Column id="ptnocd" type="STRING" size="256"/>
  2785. <Column id="ptnonm" type="STRING" size="256"/>
  2786. </ColumnInfo>
  2787. <Rows>
  2788. <Row>
  2789. <Col id="instcd"/>
  2790. <Col id="ptnocd"/>
  2791. <Col id="ptnonm"/>
  2792. </Row>
  2793. </Rows>
  2794. </Dataset>
  2795. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2796. <ColumnInfo>
  2797. <Column id="ptnocode" type="STRING" size="256"/>
  2798. </ColumnInfo>
  2799. </Dataset>
  2800. <Dataset id="ds_init_spcacpt_spcacptstat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2801. <ColumnInfo>
  2802. <Column id="instcd" type="STRING" size="256"/>
  2803. <Column id="pid" type="STRING" size="256"/>
  2804. <Column id="orgacptdd" type="STRING" size="256"/>
  2805. <Column id="spcacptdd" type="STRING" size="256"/>
  2806. <Column id="spcacptno" type="STRING" size="256"/>
  2807. <Column id="spcbarcdno" type="STRING" size="256"/>
  2808. </ColumnInfo>
  2809. <Rows>
  2810. <Row>
  2811. <Col id="instcd"/>
  2812. <Col id="pid"/>
  2813. <Col id="orgacptdd"/>
  2814. <Col id="spcacptdd"/>
  2815. <Col id="spcacptno"/>
  2816. <Col id="spcbarcdno"/>
  2817. </Row>
  2818. </Rows>
  2819. </Dataset>
  2820. <Dataset id="ds_init_userinfo_userinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2821. <ColumnInfo>
  2822. <Column id="userid" type="STRING" size="256"/>
  2823. <Column id="usernm" type="STRING" size="256"/>
  2824. <Column id="jobkindcd" type="STRING" size="256"/>
  2825. </ColumnInfo>
  2826. <Rows>
  2827. <Row>
  2828. <Col id="userid"/>
  2829. <Col id="usernm"/>
  2830. <Col id="jobkindcd"/>
  2831. </Row>
  2832. </Rows>
  2833. </Dataset>
  2834. <Dataset id="ds_hidden_refenv" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2835. <ColumnInfo>
  2836. <Column id="srchmthd" type="STRING" size="256"/>
  2837. <Column id="srchval" type="STRING" size="256"/>
  2838. <Column id="prcpflag" type="STRING" size="256"/>
  2839. <Column id="prcpfromdd" type="STRING" size="256"/>
  2840. <Column id="prcptodd" type="STRING" size="256"/>
  2841. <Column id="ptnofrom" type="STRING" size="256"/>
  2842. <Column id="ptnoto" type="STRING" size="256"/>
  2843. </ColumnInfo>
  2844. <Rows>
  2845. <Row>
  2846. <Col id="srchmthd">2</Col>
  2847. <Col id="srchval"/>
  2848. <Col id="prcpflag">1</Col>
  2849. <Col id="prcpfromdd"/>
  2850. <Col id="prcptodd"/>
  2851. <Col id="ptnofrom"/>
  2852. <Col id="ptnoto"/>
  2853. </Row>
  2854. </Rows>
  2855. </Dataset>
  2856. <Dataset id="ds_hidden_userinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2857. <ColumnInfo>
  2858. <Column id="instcd" type="STRING" size="256"/>
  2859. </ColumnInfo>
  2860. <Rows>
  2861. <Row/>
  2862. </Rows>
  2863. </Dataset>
  2864. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2865. <ColumnInfo>
  2866. <Column id="acptflagcd" type="STRING" size="256"/>
  2867. <Column id="acptkey" type="STRING" size="256"/>
  2868. <Column id="view_grostestdr" type="STRING" size="256"/>
  2869. <Column id="view_grosplgyid" type="STRING" size="256"/>
  2870. <Column id="ptnohistflagcd" type="STRING" size="256"/>
  2871. <Column id="scrndata" type="STRING" size="256"/>
  2872. <Column id="bfptno" type="STRING" size="256"/>
  2873. <Column id="ptnoflagcd" type="STRING" size="256"/>
  2874. </ColumnInfo>
  2875. <Rows>
  2876. <Row>
  2877. <Col id="acptflagcd">0</Col>
  2878. <Col id="ptnohistflagcd">0</Col>
  2879. </Row>
  2880. </Rows>
  2881. </Dataset>
  2882. <Dataset id="ds_hidden_acptenv" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2883. <ColumnInfo>
  2884. <Column id="acptdd" type="STRING" size="256"/>
  2885. <Column id="execdd" type="STRING" size="256"/>
  2886. <Column id="autoacptflagcd" type="STRING" size="256"/>
  2887. <Column id="waittm" type="STRING" size="256"/>
  2888. <Column id="reqfrmprntcnt" type="STRING" size="256"/>
  2889. <Column id="barcdprnt" type="STRING" size="256"/>
  2890. <Column id="barcdprntdirec" type="STRING" size="256"/>
  2891. <Column id="barcdprntcnt" type="STRING" size="256"/>
  2892. <Column id="grostestdr" type="STRING" size="256"/>
  2893. <Column id="grosplgyid" type="STRING" size="256"/>
  2894. <Column id="grostestdrnm" type="STRING" size="256"/>
  2895. <Column id="grosplgynm" type="STRING" size="256"/>
  2896. <Column id="leftmargin" type="STRING" size="256"/>
  2897. <Column id="topmargin" type="STRING" size="256"/>
  2898. <Column id="grostestdd" type="STRING" size="256"/>
  2899. <Column id="grostesttm" type="STRING" size="256"/>
  2900. <Column id="readdr" type="STRING" size="256"/>
  2901. <Column id="frzndr" type="STRING" size="256"/>
  2902. <Column id="ptnoacptflag" type="STRING" size="256"/>
  2903. </ColumnInfo>
  2904. <Rows>
  2905. <Row>
  2906. <Col id="acptdd"/>
  2907. <Col id="execdd"/>
  2908. <Col id="autoacptflagcd">0</Col>
  2909. <Col id="waittm">10</Col>
  2910. <Col id="reqfrmprntcnt"/>
  2911. <Col id="barcdprnt"/>
  2912. <Col id="barcdprntdirec">0</Col>
  2913. <Col id="barcdprntcnt"/>
  2914. <Col id="grostestdr"/>
  2915. <Col id="grosplgyid"/>
  2916. <Col id="grostestdrnm"/>
  2917. <Col id="grosplgynm"/>
  2918. <Col id="leftmargin"/>
  2919. <Col id="topmargin"/>
  2920. <Col id="grostestdd"/>
  2921. <Col id="grostesttm"/>
  2922. <Col id="readdr"/>
  2923. <Col id="frzndr"/>
  2924. <Col id="ptnoacptflag">0</Col>
  2925. </Row>
  2926. </Rows>
  2927. </Dataset>
  2928. <Dataset id="ds_hidden_sendnode_prcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2929. <ColumnInfo>
  2930. <Column id="choi" type="STRING" size="256"/>
  2931. <Column id="recvflag" type="STRING" size="256"/>
  2932. <Column id="view_ptno" type="STRING" size="256"/>
  2933. <Column id="ptno" type="STRING" size="256"/>
  2934. <Column id="setptno" type="STRING" size="256"/>
  2935. <Column id="view_relaptno" type="STRING" size="256"/>
  2936. <Column id="relaptno" type="STRING" size="256"/>
  2937. <Column id="setrelaptno" type="STRING" size="256"/>
  2938. <Column id="testhngnm" type="STRING" size="256"/>
  2939. <Column id="testcd" type="STRING" size="256"/>
  2940. <Column id="patflag" type="STRING" size="256"/>
  2941. <Column id="rcptflag" type="STRING" size="256"/>
  2942. <Column id="orddeptcd" type="STRING" size="256"/>
  2943. <Column id="orddeptnm" type="STRING" size="256"/>
  2944. <Column id="orddrid" type="STRING" size="256"/>
  2945. <Column id="orddrnm" type="STRING" size="256"/>
  2946. <Column id="reqfrmno" type="STRING" size="256"/>
  2947. <Column id="reqfrmprtncnt" type="STRING" size="256"/>
  2948. <Column id="infcinfo" type="STRING" size="256"/>
  2949. <Column id="instcd" type="STRING" size="256"/>
  2950. <Column id="tranno" type="STRING" size="256"/>
  2951. <Column id="trandd" type="STRING" size="256"/>
  2952. <Column id="transeqno" type="STRING" size="256"/>
  2953. <Column id="tranid" type="STRING" size="256"/>
  2954. <Column id="trandeptcd" type="STRING" size="256"/>
  2955. <Column id="orddd" type="STRING" size="256"/>
  2956. <Column id="prcpdd" type="STRING" size="256"/>
  2957. <Column id="prcpno" type="STRING" size="256"/>
  2958. <Column id="execprcpuniqno" type="STRING" size="256"/>
  2959. <Column id="prcprgstdd" type="STRING" size="256"/>
  2960. <Column id="prcprgsttm" type="STRING" size="256"/>
  2961. <Column id="pid" type="STRING" size="256"/>
  2962. <Column id="spccd" type="STRING" size="256"/>
  2963. <Column id="spctrandd" type="STRING" size="256"/>
  2964. <Column id="spctranno" type="STRING" size="256"/>
  2965. <Column id="prcpstatcd" type="STRING" size="256"/>
  2966. <Column id="ptnocd" type="STRING" size="256"/>
  2967. <Column id="slidflagcd" type="STRING" size="256"/>
  2968. <Column id="slidisscnt" type="STRING" size="256"/>
  2969. <Column id="initblocno" type="STRING" size="256"/>
  2970. <Column id="autokeepflagcd" type="STRING" size="256"/>
  2971. <Column id="stdyptnocd" type="STRING" size="256"/>
  2972. <Column id="stdy_slidflagcd" type="STRING" size="256"/>
  2973. <Column id="stdy_slidisscnt" type="STRING" size="256"/>
  2974. <Column id="stdy_initblocno" type="STRING" size="256"/>
  2975. <Column id="stdy_autokeepflagcd" type="STRING" size="256"/>
  2976. <Column id="trustptnocd" type="STRING" size="256"/>
  2977. <Column id="trust_slidflagcd" type="STRING" size="256"/>
  2978. <Column id="trust_slidisscnt" type="STRING" size="256"/>
  2979. <Column id="trust_initblocno" type="STRING" size="256"/>
  2980. <Column id="trust_autokeepflagcd" type="STRING" size="256"/>
  2981. <Column id="ptnocdflagcd" type="STRING" size="256"/>
  2982. <Column id="stdyptnocdflagcd" type="STRING" size="256"/>
  2983. <Column id="trustptnocdflagcd" type="STRING" size="256"/>
  2984. <Column id="grup_testcd" type="STRING" size="256"/>
  2985. <Column id="prcpgenrflagcd" type="STRING" size="256"/>
  2986. <Column id="prcpacptdd" type="STRING" size="256"/>
  2987. <Column id="spcacptdd" type="STRING" size="256"/>
  2988. <Column id="spcacptno" type="STRING" size="256"/>
  2989. <Column id="spcacptseqno" type="STRING" size="256"/>
  2990. <Column id="acptkey" type="STRING" size="256"/>
  2991. <Column id="workflagcd" type="STRING" size="256"/>
  2992. <Column id="ordkindflagcd" type="STRING" size="256"/>
  2993. <Column id="prcprefflag" type="STRING" size="256"/>
  2994. <Column id="reuseflagcd" type="STRING" size="256"/>
  2995. <Column id="bfacptdd" type="STRING" size="256"/>
  2996. <Column id="bfacptno" type="STRING" size="256"/>
  2997. <Column id="bfacptseqno" type="STRING" size="256"/>
  2998. <Column id="blocflagcd" type="STRING" size="256"/>
  2999. <Column id="stdy_blocflagcd" type="STRING" size="256"/>
  3000. <Column id="trust_blocflagcd" type="STRING" size="256"/>
  3001. <Column id="orgprcpstatcd" type="STRING" size="256"/>
  3002. <Column id="orgtranstatcd" type="STRING" size="256"/>
  3003. <Column id="lastptno" type="STRING" size="256"/>
  3004. <Column id="spcnm" type="STRING" size="256"/>
  3005. <Column id="reqfrmflagcd" type="STRING" size="256"/>
  3006. <Column id="wardcd" type="STRING" size="256"/>
  3007. <Column id="roomcd" type="STRING" size="256"/>
  3008. <Column id="patnm" type="STRING" size="256"/>
  3009. <Column id="sexage" type="STRING" size="256"/>
  3010. <Column id="wardnm" type="STRING" size="256"/>
  3011. <Column id="aptprcpdd" type="STRING" size="256"/>
  3012. <Column id="aptexecprcpuniqno" type="STRING" size="256"/>
  3013. <Column id="aptprcpno" type="STRING" size="256"/>
  3014. <Column id="aptspcacptseqno" type="STRING" size="256"/>
  3015. <Column id="aptcsteno" type="STRING" size="256"/>
  3016. <Column id="aptblocnm" type="STRING" size="256"/>
  3017. </ColumnInfo>
  3018. <Rows>
  3019. <Row>
  3020. <Col id="choi">true</Col>
  3021. <Col id="recvflag"/>
  3022. <Col id="view_ptno"/>
  3023. <Col id="ptno"/>
  3024. <Col id="setptno">false</Col>
  3025. <Col id="view_relaptno"/>
  3026. <Col id="relaptno"/>
  3027. <Col id="setrelaptno">false</Col>
  3028. <Col id="testhngnm">큰장기적출(subtotal_ectomy + LN)</Col>
  3029. <Col id="testcd">PSU00006</Col>
  3030. <Col id="patflag">입원</Col>
  3031. <Col id="rcptflag">미수납</Col>
  3032. <Col id="orddeptcd">2011000000</Col>
  3033. <Col id="orddeptnm">감염내과</Col>
  3034. <Col id="orddrid">81015142</Col>
  3035. <Col id="orddrnm">강문원 </Col>
  3036. <Col id="reqfrmno">1</Col>
  3037. <Col id="reqfrmprtncnt">1</Col>
  3038. <Col id="infcinfo"/>
  3039. <Col id="instcd">012</Col>
  3040. <Col id="tranno">283</Col>
  3041. <Col id="trandd">20071112</Col>
  3042. <Col id="transeqno">1</Col>
  3043. <Col id="tranid">LIS</Col>
  3044. <Col id="trandeptcd">1000000000</Col>
  3045. <Col id="orddd">20071010</Col>
  3046. <Col id="prcpdd">20071112</Col>
  3047. <Col id="prcpno">63965</Col>
  3048. <Col id="execprcpuniqno">68765</Col>
  3049. <Col id="prcprgstdd">20071112</Col>
  3050. <Col id="prcprgsttm">134030</Col>
  3051. <Col id="pid">10423</Col>
  3052. <Col id="spccd">T00500</Col>
  3053. <Col id="spctrandd">20071112</Col>
  3054. <Col id="spctranno">284</Col>
  3055. <Col id="prcpstatcd">7</Col>
  3056. <Col id="ptnocd">S</Col>
  3057. <Col id="slidflagcd">1001</Col>
  3058. <Col id="slidisscnt">0</Col>
  3059. <Col id="initblocno">-</Col>
  3060. <Col id="autokeepflagcd">0</Col>
  3061. <Col id="stdyptnocd">S</Col>
  3062. <Col id="stdy_slidflagcd">1001</Col>
  3063. <Col id="stdy_slidisscnt">0</Col>
  3064. <Col id="stdy_initblocno">-</Col>
  3065. <Col id="stdy_autokeepflagcd">0</Col>
  3066. <Col id="trustptnocd">X</Col>
  3067. <Col id="trust_slidflagcd">1001</Col>
  3068. <Col id="trust_slidisscnt">0</Col>
  3069. <Col id="trust_initblocno">-</Col>
  3070. <Col id="trust_autokeepflagcd">0</Col>
  3071. <Col id="ptnocdflagcd">1</Col>
  3072. <Col id="stdyptnocdflagcd">1</Col>
  3073. <Col id="trustptnocdflagcd">1</Col>
  3074. <Col id="grup_testcd">-</Col>
  3075. <Col id="prcpgenrflagcd">I</Col>
  3076. <Col id="prcpacptdd"/>
  3077. <Col id="spcacptdd"/>
  3078. <Col id="spcacptno"/>
  3079. <Col id="spcacptseqno"/>
  3080. <Col id="acptkey">104232011000000T0050020071112</Col>
  3081. <Col id="workflagcd">1001</Col>
  3082. <Col id="ordkindflagcd"/>
  3083. <Col id="prcprefflag">org</Col>
  3084. <Col id="reuseflagcd">1</Col>
  3085. <Col id="bfacptdd">-</Col>
  3086. <Col id="bfacptno">-</Col>
  3087. <Col id="bfacptseqno">-</Col>
  3088. <Col id="blocflagcd">-</Col>
  3089. <Col id="stdy_blocflagcd">-</Col>
  3090. <Col id="trust_blocflagcd">-</Col>
  3091. <Col id="orgprcpstatcd">410</Col>
  3092. <Col id="orgtranstatcd">7</Col>
  3093. <Col id="lastptno">S07-000136</Col>
  3094. <Col id="spcnm">anus</Col>
  3095. <Col id="reqfrmflagcd">01</Col>
  3096. <Col id="wardcd">3050109000</Col>
  3097. <Col id="roomcd">5012</Col>
  3098. <Col id="patnm">핸드폰</Col>
  3099. <Col id="sexage">F/40</Col>
  3100. <Col id="wardnm">05층동병동</Col>
  3101. <Col id="aptprcpdd"/>
  3102. <Col id="aptexecprcpuniqno"/>
  3103. <Col id="aptprcpno"/>
  3104. <Col id="aptspcacptseqno"/>
  3105. <Col id="aptcsteno"/>
  3106. <Col id="aptblocnm"/>
  3107. </Row>
  3108. </Rows>
  3109. </Dataset>
  3110. <Dataset id="ds_hidden_hospenv_hospenvinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3111. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3112. <Dataset id="ds_send_refenv" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3113. <Dataset id="ds_data_setupinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3114. <ColumnInfo>
  3115. <Column id="dsvaluepath" type="STRING" size="256"/>
  3116. <Column id="prntkind" type="STRING" size="256"/>
  3117. <Column id="commkind" type="STRING" size="256"/>
  3118. <Column id="rexgbn" type="STRING" size="256"/>
  3119. </ColumnInfo>
  3120. </Dataset>
  3121. <Dataset id="ds_data_blank" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3122. <ColumnInfo>
  3123. <Column id="dsvaluepath" type="STRING" size="256"/>
  3124. <Column id="left" type="STRING" size="256"/>
  3125. <Column id="top" type="STRING" size="256"/>
  3126. <Column id="b472size" type="STRING" size="256"/>
  3127. </ColumnInfo>
  3128. </Dataset>
  3129. <Dataset id="ds_data_comm01" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3130. <ColumnInfo>
  3131. <Column id="setupval" type="STRING" size="256"/>
  3132. </ColumnInfo>
  3133. </Dataset>
  3134. <Dataset id="ds_data_comm02" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3135. <ColumnInfo>
  3136. <Column id="dsvaluepath" type="STRING" size="256"/>
  3137. <Column id="comm" type="STRING" size="256"/>
  3138. <Column id="databit" type="STRING" size="256"/>
  3139. <Column id="stopbit" type="STRING" size="256"/>
  3140. <Column id="baudrate" type="STRING" size="256"/>
  3141. <Column id="parity" type="STRING" size="256"/>
  3142. </ColumnInfo>
  3143. <Rows>
  3144. <Row>
  3145. <Col id="dsvaluepath">/setupinfo</Col>
  3146. <Col id="comm">2</Col>
  3147. <Col id="databit">8</Col>
  3148. <Col id="stopbit">1</Col>
  3149. <Col id="baudrate">9600</Col>
  3150. <Col id="parity">n</Col>
  3151. </Row>
  3152. </Rows>
  3153. </Dataset>
  3154. <Dataset id="ds_data_comm03" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3155. <ColumnInfo>
  3156. <Column id="dsvaluepath" type="STRING" size="256"/>
  3157. <Column id="comm" type="STRING" size="256"/>
  3158. <Column id="databit" type="STRING" size="256"/>
  3159. <Column id="stopbit" type="STRING" size="256"/>
  3160. <Column id="baudrate" type="STRING" size="256"/>
  3161. <Column id="parity" type="STRING" size="256"/>
  3162. </ColumnInfo>
  3163. <Rows>
  3164. <Row>
  3165. <Col id="dsvaluepath">/setupinfo</Col>
  3166. <Col id="comm">2</Col>
  3167. <Col id="databit">8</Col>
  3168. <Col id="stopbit">1</Col>
  3169. <Col id="baudrate">9600</Col>
  3170. <Col id="parity">n</Col>
  3171. </Row>
  3172. </Rows>
  3173. </Dataset>
  3174. <Dataset id="ds_send_sendnode_prcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3175. <Dataset id="ds_send_sendnode_spclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3176. <Dataset id="ds_send_acptenv" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3177. <Dataset id="ds_init_prntinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3178. <Dataset id="ds_send_iemr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3179. <Dataset id="ds_hidden_popupmenu" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3180. <Dataset id="ds_menuGroupList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3181. <Dataset id="ds_userDeptList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3182. <Dataset id="ds_result" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3183. <ColumnInfo>
  3184. <Column id="resultmsg" type="STRING" size="256"/>
  3185. </ColumnInfo>
  3186. <Rows>
  3187. <Row/>
  3188. </Rows>
  3189. </Dataset>
  3190. </Objects>
  3191. <Bind>
  3192. <BindItem id="item0" compid="group1.group2.cmb_srchmthd" propid="value" datasetid="ds_hidden_refenv" columnid="srchmthd"/>
  3193. <BindItem id="item1" compid="group1.group2.ipt_srchval" propid="value" datasetid="ds_hidden_refenv" columnid="srchval"/>
  3194. <BindItem id="item2" compid="group1.group2.ipt_prcpfromdd" propid="value" datasetid="ds_hidden_refenv" columnid="prcpfromdd"/>
  3195. <BindItem id="item3" compid="group1.group2.ipt_prcptodd" propid="value" datasetid="ds_hidden_refenv" columnid="prcptodd"/>
  3196. <BindItem id="item4" compid="group1.group2.cbo_ptnocd" propid="value" datasetid="ds_init" columnid="ptnocode"/>
  3197. <BindItem id="item5" compid="group1.group2.ipt_ptnofrom" propid="value" datasetid="ds_hidden_refenv" columnid="ptnofrom"/>
  3198. <BindItem id="item6" compid="group1.group2.ipt_ptnoto" propid="value" datasetid="ds_hidden_refenv" columnid="ptnoto"/>
  3199. <BindItem id="item7" compid="group1.group2.cmb_prcpflag" propid="value" datasetid="ds_hidden_refenv" columnid="prcpflag"/>
  3200. <BindItem id="item8" compid="group1.switch1.case_prcplist.cmb_ptnoflagcd" propid="value" datasetid="ds_hidden" columnid="ptnoflagcd"/>
  3201. <BindItem id="item9" compid="group1.switch1.case_prcplist.cmb_autoacptflagcd" propid="value" datasetid="ds_hidden_acptenv" columnid="autoacptflagcd"/>
  3202. <BindItem id="item10" compid="group1.switch1.case_prcplist.ipt_waittm" propid="value" datasetid="ds_hidden_acptenv" columnid="waittm"/>
  3203. <BindItem id="item11" compid="group1.switch1.case_prcplist.input1" propid="value" datasetid="ds_hidden_acptenv" columnid="ptnoacptflag"/>
  3204. <BindItem id="item12" compid="group1.switch1.case_prcplist.output1" propid="value" datasetid="ds_main_lastptnohist_ptnohistlist" columnid="view_ptno"/>
  3205. <BindItem id="item14" compid="group1.grp_acptenv.ipt_testdd" propid="value" datasetid="ds_hidden_acptenv" columnid="grostestdd"/>
  3206. <BindItem id="item15" compid="group1.grp_acptenv.cmb_frzndr" propid="value" datasetid="ds_hidden_acptenv" columnid="frzndr"/>
  3207. <BindItem id="item16" compid="group1.grp_acptenv.ipt_acptdd" propid="value" datasetid="ds_hidden_acptenv" columnid="acptdd"/>
  3208. <BindItem id="item17" compid="group1.grp_acptenv.cmb_readdr" propid="value" datasetid="ds_hidden_acptenv" columnid="readdr"/>
  3209. <BindItem id="item18" compid="group1.grp_acptenv.ipt_reqfrmprntcnt" propid="value" datasetid="ds_hidden_acptenv" columnid="reqfrmprntcnt"/>
  3210. <BindItem id="item19" compid="group1.grp_acptenv.cmb_grostestid" propid="value" datasetid="ds_hidden_acptenv" columnid="grosplgyid"/>
  3211. <BindItem id="item20" compid="group1.grp_acptenv.cmb_barcdprnt" propid="value" datasetid="ds_hidden_acptenv" columnid="barcdprnt"/>
  3212. <BindItem id="item21" compid="group1.grp_acptenv.ipt_barcdprntcnt" propid="value" datasetid="ds_hidden_acptenv" columnid="barcdprntcnt"/>
  3213. <BindItem id="item22" compid="group1.radio1" propid="value" datasetid="ds_hidden" columnid="ptnohistflagcd"/>
  3214. <BindItem id="item23" compid="group1.grp_acptenv.cmb_grostestdr" propid="value" datasetid="ds_hidden_acptenv" columnid="grostestdr"/>
  3215. </Bind>
  3216. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  3217. * System Name :
  3218. * Job Name :
  3219. * Creator :
  3220. * Make Date : 2015-11-13
  3221. * Description :
  3222. *---------------------------------------------------------------------------------------
  3223. * Modify Date Modifier Modify Description
  3224. *---------------------------------------------------------------------------------------
  3225. * 2015-11-13 Live Converter TF->XP
  3226. *
  3227. *---------------------------------------------------------------------------------------
  3228. ****************************************************************************************/
  3229. include "com_commonxp::comm_main.xjs";
  3230. include "lis_commonxp::LZZ001.xjs";
  3231. include "lis_commonxp::LLZ001.xjs";
  3232. include "lis_commonxp::LPZ001.xjs";
  3233. include "com_commodulexp::SSZFM00901.xjs";
  3234. var interval_id;
  3235. var sGridFlagCd;
  3236. var sGridfocus;
  3237. function SMLPJ00300_oninit(obj:Form, e:InitEventInfo)
  3238. {
  3239. frmf_initForm(obj);
  3240. }
  3241. function SMLPJ00300_onload(obj:Form, e:LoadEventInfo)
  3242. {
  3243. fExeInitialize();
  3244. lzzfMakeBrcdPrntObjHanDo("CommAX");
  3245. frmf_createPopupMenu("pmn_popupMenu", "pmn_popupMenu_onmenuclick");
  3246. }
  3247. /* _group : 조직검체접수
  3248. * _ver : 2006.11.01 (CMCDEV-0001)
  3249. * _by : 유동철(ACK)
  3250. * _-----------------------------------
  3251. * _type : function
  3252. * _access : public
  3253. * _desc : 초기화 Function
  3254. */
  3255. function fExeInitialize()
  3256. {
  3257. var sDayTmp = "";
  3258. //추가처방전체선택
  3259. // grd_addprcp.fixedcellcheckbox(0,0)=true;
  3260. group1.button5.class = 'btn_tab';
  3261. group1.button6.class = 'btn_tab_s';
  3262. group1.button7.class = 'btn_tab';
  3263. group1.button8.class = 'btn_tab';
  3264. group1.button9.class = 'btn_tab';
  3265. // 노드 reset
  3266. ds_main_orgprcp_orgprcplist.clearData(); // 원처방목록
  3267. ds_main_addprcp_addprcplist.clearData(); // 추가처방목록
  3268. ds_main_relprcp_relprcplist.clearData(); // 관련처방목록
  3269. ds_main_prcpspc_prcpspclist.clearData(); // 검체목록
  3270. ds_main_bfptnohist_ptnohistlist.clearData(); // 이전 병리번호 목록
  3271. ds_main_mnoptnohist_ptnohistlist.clearData(); // 결번 병리번호 목록
  3272. //--------------------------
  3273. // 병원코드 설정
  3274. ds_hidden_userinfo.setColumn( 0, "instcd", sysf_getUserInfo("dutplceinstcd")); //instcd
  3275. // 시스템일시 조회
  3276. ds_send.clearData();
  3277. dsf_makeValue( ds_send, "instcd", "string", ds_hidden_userinfo.getColumn(0, "instcd"));
  3278. dsf_makeValue( ds_send, "delflagcd", "string", "0");
  3279. dsf_makeValue( ds_send, "refflagcd", "string", "0");
  3280. var oParam = {};
  3281. oParam.id = "TRLPZ00102";
  3282. oParam.service = "plgycomnusemngtapp.BaseInfoCode";
  3283. oParam.method = "reqGetSystemDateTimeInformation";
  3284. oParam.inds = "refData=ds_send";
  3285. oParam.outds = "ds_init_sysdt_sysdtinfo=sysdtinfo";
  3286. oParam.async = false;
  3287. //oParam.callback = "cf_TRLPZ00102";
  3288. tranf_submit(oParam);
  3289. var oParam = {};
  3290. oParam.id = "TRLPZ00109";
  3291. oParam.service = "plgycomnusemngtapp.BaseInfoCode";
  3292. oParam.method = "reqGetPtNoCdList";
  3293. oParam.inds = "refdata=ds_send";
  3294. oParam.outds = "ds_init_ptnocd_ptnocdlist=rsltlist";
  3295. oParam.async = false;
  3296. // oParam.callback = "cf_TRLPZ00109";
  3297. tranf_submit(oParam);
  3298. //병원환경설정조회
  3299. var oParam = {};
  3300. oParam.id = "TRLPZ00101";
  3301. oParam.service = "plgycomnusemngtapp.BaseInfoCode";
  3302. oParam.method = "reqGetHospitalEnvironmentSetInfo";
  3303. oParam.inds = "refData=ds_send";
  3304. oParam.outds = "ds_hidden_hospenv_hospenvinfo=hospenvinfo";
  3305. oParam.async = false;
  3306. //oParam.callback = "cf_TRLPZ00101";
  3307. tranf_submit(oParam);
  3308. //접수시점 판독의 사용여부 지정
  3309. if(ds_hidden_hospenv_hospenvinfo.getColumn(0, "acptreaddr") == "N")
  3310. {
  3311. group1.grp_acptenv.cmb_readdr.enable = false;
  3312. }
  3313. else
  3314. {
  3315. group1.grp_acptenv.cmb_readdr.enable = true;
  3316. }
  3317. //접수 조회조건 설정값 초기화
  3318. dsf_makeValue( ds_hidden_refenv, "srchmthd", "string", "2"); // 검색방법(0:등록번호, 1:환자성명, 2:바코드번호)
  3319. dsf_makeValue( ds_hidden_refenv, "srchval", "string", ""); // 검색값
  3320. dsf_makeValue( ds_hidden_refenv, "prcpflag", "string", "1"); // 처방구분코드(0:검체이송, 1:수신확인, 2:접수내역)
  3321. sDayTmp = ds_init_sysdt_sysdtinfo.getColumn(0, "sysdd");
  3322. sDayTmp = sDayTmp.toDate().getAddDate(-6,"D").getDateFormat(); // 현재일자 -6 일.
  3323. dsf_makeValue( ds_hidden_refenv, "prcpfromdd", "string", sDayTmp); // 처방일자(From)
  3324. dsf_makeValue( ds_hidden_refenv, "prcptodd", "string", ds_init_sysdt_sysdtinfo.getColumn(0, "sysdd")); // 처방일자(To)
  3325. dsf_makeValue( ds_hidden_refenv, "ptnofrom", "string", ""); // 병리번호(From)
  3326. dsf_makeValue( ds_hidden_refenv, "ptnoto", "string", ""); // 병리번호(To)
  3327. dsf_makeValue( ds_hidden, "acptflagcd", "string", "0"); // 접수구분코드(0:조직+수탁(결과), 1:세포, 2:분자, 3:연구, 4:수탁-미결과)
  3328. dsf_makeValue( ds_hidden, "ptnohistflagcd", "string", "0"); // 병리번호 이력조회 구분코드(0:이전, 1:결번)
  3329. dsf_makeValue( ds_hidden, "ptnoflagcd", "string", "0"); // 적용구분(0:병리번호, 1:관련병리번호)
  3330. //----------------------
  3331. // 접수환경설정값 초기화
  3332. fExeAcptDd();
  3333. fExeSettingSpcList(ds_hidden_refenv.getColumn(0, "prcpflag"));
  3334. dsf_makeValue( ds_hidden_acptenv, "autoacptflagcd", "string", "1"); // 수동접수(0:자동, 1:수동)
  3335. dsf_makeValue( ds_hidden_acptenv, "waittm", "string", "10"); // 자동접수시간(초)
  3336. dsf_makeValue( ds_hidden_acptenv, "reqfrmprntcnt", "string", "1"); // 의뢰지출력매수
  3337. dsf_makeValue( ds_hidden_acptenv, "barcdprnt", "string", "0"); // 바코드 자동출력(0:자동, 1:수동)
  3338. dsf_makeValue( ds_hidden_acptenv, "barcdprntdirec", "string", "0"); // 바코드 출력방향(0:로컬, 1:원격)
  3339. dsf_makeValue( ds_hidden_acptenv, "barcdprntcnt", "string", "1"); // 바코드 출력매수
  3340. dsf_makeValue( ds_hidden_acptenv, "grostestdr", "string", ""); // 육안검사의사
  3341. dsf_makeValue( ds_hidden_acptenv, "grosplgyid", "string", ""); // 육안병리사
  3342. dsf_makeValue( ds_hidden_acptenv, "leftmargin", "string", "0");
  3343. dsf_makeValue( ds_hidden_acptenv, "topmargin", "string", "0");
  3344. dsf_makeValue( ds_hidden_acptenv, "grostestdd", "string", ds_init_sysdt_sysdtinfo.getColumn(0, "sysdd"));
  3345. //Gross 시간은 접수후 육안업무일정 화면에서 넣는걸로 프로세스 변경.
  3346. //dsf_makeValue( ds_hidden_acptenv, "grostesttm", "string", ds_init_sysdt_sysdtinfo.getColumn(0, "systm"));
  3347. dsf_makeValue( ds_hidden_acptenv, "grostesttm", "string", "-");
  3348. dsf_makeValue( ds_hidden_acptenv, "ptnoacptflag", "string", ds_hidden_hospenv_hospenvinfo.getColumn(0, "ptnoacptflag") ); //병원환경설정에 병리접수구분셋팅, 추가검사의 검사별 병리부여 1:개별, 0:통합
  3349. dsf_makeValue( ds_init, "ptnocode", "string", "");
  3350. // 의사목록 조회....
  3351. dsf_makeValue( ds_send, "instcd", "string", sysf_getUserInfo("dutplceinstcd"));
  3352. dsf_makeValue( ds_send, "userdeptcd", "string", "-");
  3353. dsf_makeValue( ds_send, "doctjobgradcd", "string", "-"); // 예문 추가시 의사만 보일 수 있도록
  3354. dsf_makeValue( ds_send, "teamjobgradcd", "string", "-");
  3355. var oParam = {};
  3356. oParam.id = "TRLPZ00105";
  3357. oParam.service = "plgycomnusemngtapp.BaseInfoCode";
  3358. oParam.method = "reqGetUserInfoList";
  3359. oParam.inds = "refdata=ds_send";
  3360. oParam.outds = "ds_init_userinfo_userinfolist=reflist";
  3361. oParam.async = false;
  3362. // oParam.callback = "cf_TRLPZ00105";
  3363. tranf_submit(oParam);
  3364. //group1.grp_acptenv.cmb_grostestdr.enable = false;
  3365. ds_init_cmb_grostestdr.copyData(ds_init_userinfo_userinfolist);
  3366. ds_init_cmb_grostestdr.filter("jobkindcd==1");
  3367. ds_init_cmb_grostestdr.applyChange();
  3368. //group1.grp_acptenv.cmb_grostestdr.enable = true;
  3369. //group1.grp_acptenv.cmb_frzndr.enable = false;
  3370. ds_init_cmb_frzndr.copyData(ds_init_userinfo_userinfolist);
  3371. ds_init_cmb_frzndr.filter("jobkindcd==1");
  3372. ds_init_cmb_frzndr.applyChange();
  3373. //group1.grp_acptenv.cmb_frzndr.enable = true;
  3374. //group1.grp_acptenv.cmb_readdr.enable = false;
  3375. ds_init_cmb_readdr.copyData(ds_init_userinfo_userinfolist);
  3376. ds_init_cmb_readdr.filter("jobkindcd==1");
  3377. ds_init_cmb_readdr.applyChange();
  3378. //group1.grp_acptenv.cmb_readdr.enable = true;
  3379. //group1.grp_acptenv.cmb_grostestid.enable = false;
  3380. ds_init_cmb_grostestid.copyData(ds_init_userinfo_userinfolist);
  3381. ds_init_cmb_grostestid.filter("jobkindcd==9");
  3382. ds_init_cmb_grostestid.applyChange();
  3383. var uSerid = sysf_getUserInfo("userid"); //userid
  3384. var uSernm = sysf_getUserInfo("usernm"); //userid
  3385. if(!utlf_isNull(uSerid))
  3386. {
  3387. ds_hidden_acptenv.setColumn(0,"grosplgyid" ,uSerid); //접수자 자동 세팅
  3388. }
  3389. //group1.grp_acptenv.cmb_grostestid.enable = true;
  3390. //----------------------
  3391. //처방 리스트 개수 초기화
  3392. group1.switch1.case_prcplist.cpt_orgcnt.value = "";
  3393. group1.switch1.case_prcplist.cpt_addcnt.value = "";
  3394. group1.switch1.case_prcplist.cpt_relcnt.value = "";
  3395. //-----------------
  3396. // 병리번호 결번조회
  3397. fGetPrestPtnoList("mno");
  3398. //--------------------
  3399. // 그리드 팝업메뉴 생성
  3400. //fExeMakePopUpMenu();
  3401. //onload -> 대체 frmf_createPopupMenu
  3402. //--------------------------------------------------
  3403. dsf_makeValue( ds_send, "scrnid", "string", frmf_getScreenID());
  3404. var oParam = {};
  3405. oParam.id = "TRLLC90101";
  3406. oParam.service = "diagtestapplib.LisCommon";
  3407. oParam.method = "reqGetSetUpInfo";
  3408. oParam.inds = "scrnid=ds_send";
  3409. oParam.outds = "ds_main_barcdprntsetup_prntsetupinfo=getSetUpInfo";
  3410. oParam.async = false;
  3411. //oParam.callback = "cf_TRLLC90101";
  3412. tranf_submit(oParam);
  3413. lf_convertXmlToDs(ds_main_barcdprntsetup_prntsetupinfo.getColumn(0,"prntsetupinfo")); //XML데이터로 프리터설정 관련 DS생성
  3414. //육안검사의 디폴트값 설정
  3415. group1.grp_acptenv.cmb_grostestdr.value = "A0";
  3416. ds_hidden_acptenv.addColumn( "grostestdrnm", "string");
  3417. ds_hidden_acptenv.setColumn( 0, "grostestdrnm", "-");
  3418. group1.group2.ipt_srchval.setFocus();
  3419. //----------------
  3420. sGridFlagCd = "0";
  3421. }
  3422. /* _group : 조직검체접수
  3423. * _ver : 2006.11.01 (CMCDEV-0001)
  3424. * _by : 유동철(ACK)
  3425. * _-----------------------------------
  3426. * _type : function
  3427. * _access : public
  3428. * _desc : 검체정보조회 Function
  3429. */
  3430. function fExeChoiPrcpList(trg_control,obj)
  3431. {
  3432. var prest_grid = obj.name;
  3433. var grid_control = obj.currentcol;
  3434. var prest_row = obj.currentrow;
  3435. var prest_node = "";
  3436. var grup_testcd = "";
  3437. var grup_transeqno = "";
  3438. var grup_pid = "";
  3439. var grup_prcpdd = "";
  3440. var sReqNo = "";
  3441. var sOrgPrcpChk = "N";
  3442. var bb = obj.binddataset;
  3443. //---------------------------------
  3444. if(grid_control != "0") return;
  3445. //--------------------------------
  3446. if (prest_grid == "grd_orgprcp")
  3447. {
  3448. prest_node = "ds_main_orgprcp_orgprcplist"; // 원처방목록
  3449. }
  3450. else if (prest_grid == "grd_addprcp")
  3451. {
  3452. prest_node = "ds_main_addprcp_addprcplist"; // 추가처방목록
  3453. }
  3454. else
  3455. {
  3456. return false;
  3457. }
  3458. // 검체정보 및 이전 병리번호 표시여부 판단
  3459. fExeDispYN(prest_grid, prest_row);
  3460. //-----------------------------------
  3461. // 해당그리드의 데이터가 있는 영역 및
  3462. // 첫번째 컬럼을 선택했을 경우 이벤트 발생
  3463. if(grid_control = "0" )
  3464. {
  3465. //추가처방리스트 처방 리스트를 전체 석택한 경우
  3466. //원처방에 같은 의뢰지를 공유하는 처방이 있고 언체크 되어 있는 경우 추가처방을 언체크한다.
  3467. if(prest_node == "ds_main_addprcp_addprcplist" && prest_row == 0)
  3468. {
  3469. for(var iRowNo = 1; iRowNo < group1.switch1.case_prcplist.grd_addprcp.rowcount; iRowNo++)
  3470. {
  3471. for(var iRowNo2 = 1; iRowNo2 < group1.switch1.case_prcplist.grd_orgprcp.rowcount; iRowNo2++)
  3472. {
  3473. if((ds_main_addprcp_addprcplist.getColumn(iRowNo, "reqfrmno")) == (ds_main_orgprcp_orgprcplist.getColumn(iRowNo2, "reqfrmno")))
  3474. {
  3475. if ((ds_main_orgprcp_orgprcplist.getColumn(iRowNo2, "choi")) != "true")
  3476. {
  3477. ds_main_addprcp_addprcplist.setColumn( iRowNo , "choi", "false");
  3478. }
  3479. else
  3480. {
  3481. //상단에 체크된 원처방이 있을 경우 검체현황, 이전병리번호를 조회해 온것으로 생각하여 다시 조회 하지 않는다.
  3482. sOrgPrcpChk = "Y";
  3483. }
  3484. }
  3485. }
  3486. }
  3487. //상단에 체크된 원처방이 있을 경우 검체현황, 이전병리번호를 조회해 온것으로 생각하여 다시 조회 하지 않는다.
  3488. if(sOrgPrcpChk == "Y")
  3489. {
  3490. return;
  3491. }
  3492. prest_row = ds_main_addprcp_addprcplist.findRow("choi", "true");
  3493. }
  3494. if((ds_main_orgprcp_orgprcplist.getColumn(prest_row,"choi") == "1") || (ds_main_orgprcp_orgprcplist.getColumn(prest_row,"choi") == "true"))
  3495. {
  3496. // 선택된 의뢰지번호 저장
  3497. sReqNo = ds_main_orgprcp_orgprcplist.getColumn(prest_row,"reqfrmno")
  3498. fExeAutoChoi(sReqNo, prest_row);
  3499. var choi_acptkey = ds_main_orgprcp_orgprcplist.getColumn(prest_row,"acptkey")
  3500. lpzfTopInfo(); // 상단정보 호출
  3501. fExePatTopInfoDisp(ds_main_orgprcp_orgprcplist.getColumn(prest_row,"instcd"), // 환자상단정보 표시
  3502. ds_main_orgprcp_orgprcplist.getColumn(prest_row,"prcpdd"),
  3503. ds_main_orgprcp_orgprcplist.getColumn(prest_row,"execprcpuniqno"),
  3504. ds_main_orgprcp_orgprcplist.getColumn(prest_row,"pid"));
  3505. // 같이 접수할수 있는 처방인지 확인
  3506. if(ds_hidden.getColumn(0, "acptkey") != "" && ds_hidden.getColumn(0, "acptkey") != choi_acptkey)
  3507. {
  3508. sysf_messageBox("이미 선택된 처방과 같이 접수할 수 없는 처방입니다.", "I007");
  3509. if(prest_node == "ds_main_orgprcp_orgprcplist")
  3510. {
  3511. ds_main_orgprcp_orgprcplist.setColumn(prest_row,"choi", "false");
  3512. }
  3513. else
  3514. {
  3515. ds_main_addprcp_addprcplist.setColumn(prest_row,"choi", "false");
  3516. }
  3517. return;
  3518. }
  3519. //선택된 항목의 접수키정보 저장
  3520. ds_hidden.setColumn( 0, "acptkey", choi_acptkey);
  3521. // 검체리스트조회, 이전병리번호리스트조회 함수 호출
  3522. fGetSpcList(prest_node, prest_row);
  3523. fGetPrestPtnoList("bf", prest_node, prest_row);
  3524. //접수내역조회시 접수일자 저장
  3525. if(ds_hidden_refenv.getColumn(0, "prcpflag") == "2")
  3526. {
  3527. var acptdd = "";
  3528. if(prest_node == "ds_main_orgprcp_orgprcplist")
  3529. {
  3530. acptdd = ds_main_orgprcp_orgprcplist.getColumn(prest_row, "prcpacptdd");
  3531. }
  3532. else
  3533. {
  3534. acptdd = ds_main_addprcp_addprcplist.getColumn(prest_row, "prcpacptdd");
  3535. }
  3536. if(!utlf_isNull(acptdd))
  3537. {
  3538. ds_hidden_acptenv.setColumn( 0, "acptdd", acptdd);
  3539. }
  3540. }
  3541. // 선택 취소의 경우 처리
  3542. }
  3543. else
  3544. {
  3545. if(ds_main_orgprcp_orgprcplist.getColumn(prest_row,"grup_testcd") != "-")
  3546. {
  3547. fExeChkGrupTest(ds_main_orgprcp_orgprcplist.getColumn(prest_row,"grup_testcd"),
  3548. ds_main_orgprcp_orgprcplist.getColumn(prest_row,"transeqno"),
  3549. ds_main_orgprcp_orgprcplist.getColumn(prest_row,"pid"),
  3550. ds_main_orgprcp_orgprcplist.getColumn(prest_row,"prcpdd"),
  3551. ds_main_orgprcp_orgprcplist.getColumn(prest_row,"tranno"), "false");
  3552. }
  3553. var rtn_row ;
  3554. if(rtn_row == -1)
  3555. {
  3556. ds_hidden.setColumn( 0, "acptkey", "");
  3557. }
  3558. }
  3559. }
  3560. }
  3561. function fExeChoiAddPrcpList(trg_control,obj)
  3562. {
  3563. var prest_grid = obj.name;
  3564. var grid_control = obj.currentcol;
  3565. var prest_row = obj.currentrow;
  3566. var prest_node = "";
  3567. var grup_testcd = "";
  3568. var grup_transeqno = "";
  3569. var grup_pid = "";
  3570. var grup_prcpdd = "";
  3571. var sReqNo = "";
  3572. var sOrgPrcpChk = "N";
  3573. //var aa = objects[group1.switch1.case_prcplist.grd_addprcp.binddataset];
  3574. var bb = obj.binddataset;
  3575. //trace('aag '+prest_grid+' / '+grid_control+' / '+prest_row+' / '+grid_control.col+' / '+bb);
  3576. //---------------------------------
  3577. if(grid_control != "0") return;
  3578. //--------------------------------
  3579. if (prest_grid == "grd_orgprcp")
  3580. {
  3581. prest_node = "ds_main_orgprcp_orgprcplist"; // 원처방목록
  3582. }
  3583. else if (prest_grid == "grd_addprcp")
  3584. {
  3585. prest_node = "ds_main_addprcp_addprcplist"; // 추가처방목록
  3586. }
  3587. else
  3588. {
  3589. return false;
  3590. }
  3591. // 검체정보 및 이전 병리번호 표시여부 판단
  3592. fExeDispYN(prest_grid, prest_row);
  3593. //-----------------------------------
  3594. // 해당그리드의 데이터가 있는 영역 및
  3595. // 첫번째 컬럼을 선택했을 경우 이벤트 발생
  3596. if(grid_control = "0" )
  3597. {
  3598. //추가처방리스트 처방 리스트를 전체 석택한 경우
  3599. //원처방에 같은 의뢰지를 공유하는 처방이 있고 언체크 되어 있는 경우 추가처방을 언체크한다.
  3600. if(prest_node == "ds_main_addprcp_addprcplist" && prest_row == 0)
  3601. {
  3602. for(var iRowNo = 1; iRowNo < group1.switch1.case_prcplist.grd_addprcp.rowcount; iRowNo++)
  3603. {
  3604. for(var iRowNo2 = 1; iRowNo2 < group1.switch1.case_prcplist.grd_orgprcp.rowcount; iRowNo2++)
  3605. {
  3606. if((ds_main_addprcp_addprcplist.getColumn(iRowNo, "reqfrmno")) == (ds_main_orgprcp_orgprcplist.getColumn(iRowNo2, "reqfrmno")))
  3607. {
  3608. if ((ds_main_orgprcp_orgprcplist.getColumn(iRowNo2, "choi")) != "true")
  3609. {
  3610. ds_main_addprcp_addprcplist.setColumn( iRowNo , "choi", "false");
  3611. }
  3612. else
  3613. {
  3614. //상단에 체크된 원처방이 있을 경우 검체현황, 이전병리번호를 조회해 온것으로 생각하여 다시 조회 하지 않는다.
  3615. sOrgPrcpChk = "Y";
  3616. }
  3617. }
  3618. }
  3619. }
  3620. //상단에 체크된 원처방이 있을 경우 검체현황, 이전병리번호를 조회해 온것으로 생각하여 다시 조회 하지 않는다.
  3621. if(sOrgPrcpChk == "Y")
  3622. {
  3623. return;
  3624. }
  3625. //prest_row = grid_control.findRow("true", 1, 0);
  3626. prest_row = ds_main_addprcp_addprcplist.findRow("choi", "1");
  3627. }
  3628. if((ds_main_addprcp_addprcplist.getColumn(prest_row,"choi") == "1") || (ds_main_addprcp_addprcplist.getColumn(prest_row,"choi") == "true"))
  3629. {
  3630. //-----------------------
  3631. // 선택된 의뢰지번호 저장
  3632. sReqNo = ds_main_addprcp_addprcplist.getColumn(prest_row,"reqfrmno")
  3633. fExeAutoChoi(sReqNo, prest_row);
  3634. var choi_acptkey = ds_main_addprcp_addprcplist.getColumn(prest_row,"acptkey")
  3635. fExePatTopInfoDisp(ds_main_addprcp_addprcplist.getColumn(prest_row,"instcd"), // 환자상단정보 표시
  3636. ds_main_addprcp_addprcplist.getColumn(prest_row,"prcpdd"),
  3637. ds_main_addprcp_addprcplist.getColumn(prest_row,"execprcpuniqno"),
  3638. ds_main_addprcp_addprcplist.getColumn(prest_row,"pid"));
  3639. // 같이 접수할수 있는 처방인지 확인
  3640. if(ds_hidden.getColumn(0, "acptkey") != "" && ds_hidden.getColumn(0, "acptkey") != choi_acptkey)
  3641. {
  3642. sysf_messageBox("이미 선택된 처방과 같이 접수할 수 없는 처방입니다.", "I007");
  3643. if(prest_node == "ds_main_orgprcp_orgprcplist")
  3644. {
  3645. ds_main_orgprcp_orgprcplist.setColumn(prest_row,"choi", "false");
  3646. }
  3647. else
  3648. {
  3649. ds_main_addprcp_addprcplist.setColumn(prest_row,"choi", "false");
  3650. }
  3651. return;
  3652. }
  3653. //선택된 항목의 접수키정보 저장
  3654. ds_hidden.setColumn( 0, "acptkey", choi_acptkey);
  3655. //-------------------------------------------------
  3656. // 검체리스트조회, 이전병리번호리스트조회 함수 호출
  3657. fGetAddSpcList(prest_node, prest_row);
  3658. fGetPrestPtnoList("bf", prest_node, prest_row);
  3659. //fGetPrestPtnoList("last", prest_node, prest_row);
  3660. //---------------------------
  3661. //접수내역조회시 접수일자 저장
  3662. if(ds_hidden_refenv.getColumn(0, "prcpflag") == "2")
  3663. {
  3664. var acptdd = "";
  3665. if(prest_node == "ds_main_orgprcp_orgprcplist")
  3666. {
  3667. acptdd = ds_main_orgprcp_orgprcplist.getColumn(prest_row,"prcpacptdd");
  3668. }
  3669. else
  3670. {
  3671. acptdd = ds_main_addprcp_addprcplist.getColumn(prest_row,"prcpacptdd");
  3672. }
  3673. if(!utlf_isNull(acptdd))
  3674. {
  3675. ds_hidden_acptenv.setColumn( 0, "acptdd", acptdd);
  3676. }
  3677. }
  3678. //-----------------------
  3679. // 선택 취소의 경우 처리
  3680. }
  3681. else
  3682. {
  3683. //-------------------------------
  3684. //그룹코드하위 싱글항목들인지 확인
  3685. if(ds_main_addprcp_addprcplist.getColumn(prest_row,"grup_testcd") != "-")
  3686. {
  3687. fExeChkGrupTest(ds_main_addprcp_addprcplist.getColumn(prest_row,"grup_testcd"),
  3688. ds_main_addprcp_addprcplist.getColumn(prest_row,"transeqno"),
  3689. ds_main_addprcp_addprcplist.getColumn(prest_row,"pid"),
  3690. ds_main_addprcp_addprcplist.getColumn(prest_row,"prcpdd"),
  3691. ds_main_addprcp_addprcplist.getColumn(prest_row,"tranno"), "false");
  3692. }
  3693. var rtn_row ;
  3694. if(rtn_row == -1)
  3695. {
  3696. ds_hidden.setColumn( 0, "acptkey", "");
  3697. }
  3698. }
  3699. }
  3700. }
  3701. /* _group : 조직검체접수
  3702. * _ver : 2008.01.07 (CMCDEV-0001)
  3703. * _by : 황상미(ACK)
  3704. * _-----------------------------------
  3705. * _type : function
  3706. * _access : public
  3707. * _desc : 선택 처방과 관련된 처방 자동 선택 처리 Function
  3708. */
  3709. function fExeAutoChoi(pReqNo, pRowNo)
  3710. {
  3711. var sNodeOrg = "ds_main_orgprcp_orgprcplist";
  3712. var sNodeAdd = "ds_main_addprcp_addprcplist";
  3713. //----------------
  3714. // 원처방 목록 검색
  3715. for (var iNo=0; iNo < ds_main_orgprcp_orgprcplist.rowcount; iNo++)
  3716. {
  3717. if (ds_main_orgprcp_orgprcplist.getColumn(iNo, "reqfrmno") == pReqNo)
  3718. {
  3719. ds_main_orgprcp_orgprcplist.setColumn(iNo, "choi","true");
  3720. }
  3721. }
  3722. //-------------------
  3723. // 추가처방 목록 검색
  3724. for (var iNo=0; iNo < ds_main_addprcp_addprcplist.rowcount; iNo++)
  3725. {
  3726. if (ds_main_addprcp_addprcplist.getColumn(iNo, "reqfrmno") == pReqNo)
  3727. {
  3728. ds_main_addprcp_addprcplist.setColumn(iNo, "choi","true");
  3729. }
  3730. }
  3731. }
  3732. /* _group : 조직검체접수
  3733. * _ver : 2007.03.07 (CMCDEV-0001)
  3734. * _by : 황상미(ACK)
  3735. * _-----------------------------------
  3736. * _type : function
  3737. * _access : public
  3738. * _desc : 환자상단정보 조회 표시 Function
  3739. */
  3740. function fExePatTopInfoDisp(pInstCd, pPrcpDD, pExecPrcpUniqNo, pPid)
  3741. {
  3742. var sInstCd = "";
  3743. var sPrcpDD = "";
  3744. var sPid = "";
  3745. var sExecPrcpUniqNo = "";
  3746. var bState = false;
  3747. //-------------------------------------------------------------
  3748. var iFindNoOrg = ds_main_orgprcp_orgprcplist.findRow("choi","true");
  3749. var iFindNoAdd = ds_main_addprcp_addprcplist.findRow("choi","true");
  3750. //-------------------
  3751. if (iFindNoOrg > -1)
  3752. {
  3753. sInstCd = ds_main_orgprcp_orgprcplist.getColumn(iFindNoOrg, "instcd");
  3754. sPrcpDD = ds_main_orgprcp_orgprcplist.getColumn(iFindNoOrg, "prcpdd");
  3755. sPid = ds_main_orgprcp_orgprcplist.getColumn(iFindNoOrg, "pid");
  3756. sExecPrcpUniqNo = ds_main_orgprcp_orgprcplist.getColumn(iFindNoOrg, "execprcpuniqno");
  3757. }
  3758. else if (iFindNoAdd > -1)
  3759. {
  3760. sInstCd = ds_main_addprcp_addprcplist.getColumn(iFindNoOrg, "instcd");
  3761. sPrcpDD = ds_main_addprcp_addprcplist.getColumn(iFindNoOrg, "prcpdd");
  3762. sPid = ds_main_addprcp_addprcplist.getColumn(iFindNoOrg, "pid");
  3763. sExecPrcpUniqNo = ds_main_addprcp_addprcplist.getColumn(iFindNoOrg, "execprcpuniqno");
  3764. }
  3765. //-------------------------------------------------------------
  3766. if (sInstCd != pInstCd || sPrcpDD != pPrcpDD || sPid != pPid)
  3767. {
  3768. bState = true;
  3769. }
  3770. var param = "";
  3771. parm = "S" + "▦" + pPrcpDD + "▦" + pExecPrcpUniqNo + "▦" + pInstCd+ "▦";
  3772. frmf_setParameter("condparam",param );
  3773. }
  3774. /* _group : 조직검체접수
  3775. * _ver : 2007.03.07 (CMCDEV-0001)
  3776. * _by : 황상미(ACK)
  3777. * _-----------------------------------
  3778. * _type : function
  3779. * _access : public
  3780. * _desc : 검체정보조회 Function
  3781. */
  3782. function fGetSpcList(prest_node, prest_row)
  3783. {
  3784. var sSeqNoNm = "";
  3785. ds_send.clearData(); // Send Node 삭제
  3786. if(utlf_isNull(ds_main_orgprcp_orgprcplist.getColumn(prest_row,"prcpacptdd")))
  3787. {
  3788. // 이전 병리번호를 적용할 경우
  3789. if (ds_main_orgprcp_orgprcplist.getColumn(prest_row ,"reuseflagcd") == "0")
  3790. {
  3791. dsf_makeValue( ds_send, "instcd", "string", ds_hidden_userinfo.getColumn(0, "instcd")); // 기관코드
  3792. dsf_makeValue( ds_send, "ddinfo", "string", ds_main_orgprcp_orgprcplist.getColumn(prest_row ,"bfacptdd")); // 접수일자
  3793. dsf_makeValue( ds_send, "noinfo", "string", ds_main_orgprcp_orgprcplist.getColumn(prest_row ,"bfacptno")); // 접수번호
  3794. dsf_makeValue( ds_send, "prcpstatcd", "string", ds_main_orgprcp_orgprcplist.getColumn(prest_row ,"ptno")); // 병리번호
  3795. dsf_makeValue( ds_send, "pid", "string", ds_main_orgprcp_orgprcplist.getColumn(prest_row ,"pid")); // 등록번호
  3796. dsf_makeValue( ds_send, "reqno", "string", ds_main_orgprcp_orgprcplist.getColumn(prest_row ,"reqfrmno")); // 의뢰지번호
  3797. dsf_makeValue( ds_send, "ref_flag", "string", "bfspc"); // 조회구분상태
  3798. sSeqNoNm = "spc_spcacptseqno";
  3799. }
  3800. else
  3801. {
  3802. dsf_makeValue( ds_send, "instcd", "string", ds_hidden_userinfo.getColumn(0, "instcd")); // 기관코드
  3803. dsf_makeValue( ds_send, "ddinfo", "string", ds_main_orgprcp_orgprcplist.getColumn(prest_row ,"spctrandd")); // 검체이송일자
  3804. dsf_makeValue( ds_send, "noinfo", "string", ds_main_orgprcp_orgprcplist.getColumn(prest_row ,"spctranno")); // 검체이송번호
  3805. dsf_makeValue( ds_send, "prcpstatcd", "string", ds_main_orgprcp_orgprcplist.getColumn(prest_row ,"prcpstatcd")); // 처방구분상태
  3806. dsf_makeValue( ds_send, "pid", "string", ds_main_orgprcp_orgprcplist.getColumn(prest_row ,"pid")); // 등록번호
  3807. dsf_makeValue( ds_send, "reqno", "string", ds_main_orgprcp_orgprcplist.getColumn(prest_row ,"reqfrmno")); // 의뢰지번호
  3808. dsf_makeValue( ds_send, "ref_flag", "string", "tran"); // 조회구분상태
  3809. sSeqNoNm = "spc_spctranseqno";
  3810. }
  3811. var oParam = {};
  3812. oParam.id = "TRLPJ00303";
  3813. oParam.service = "plgyacptmngtapp.SpecimenAccept";
  3814. oParam.method = "reqGetSpcList";
  3815. oParam.inds = "refdata=ds_send";
  3816. oParam.outds = "ds_main_prcpspc_prcpspclist=refrslt";
  3817. oParam.async = false;
  3818. oParam.callback = "cf_TRLPJ00303";
  3819. tranf_submit(oParam);
  3820. }
  3821. else
  3822. {
  3823. dsf_makeValue( ds_send, "instcd", "string", ds_hidden_userinfo.getColumn(0, "instcd")); // 기관코드
  3824. dsf_makeValue( ds_send, "ddinfo", "string", ds_main_orgprcp_orgprcplist.getColumn(prest_row ,"spctrandd")); // 검체이송일자
  3825. dsf_makeValue( ds_send, "noinfo", "string", ds_main_orgprcp_orgprcplist.getColumn(prest_row ,"spctranno")); // 검체이송번호
  3826. dsf_makeValue( ds_send, "prcpstatcd", "string", ds_main_orgprcp_orgprcplist.getColumn(prest_row ,"spcacptseqno")); // 처방구분상태
  3827. dsf_makeValue( ds_send, "ref_flag", "string", "acpt"); // 조회구분상태
  3828. var oParam = {};
  3829. oParam.id = "TRLPJ00303";
  3830. oParam.service = "plgyacptmngtapp.SpecimenAccept";
  3831. oParam.method = "reqGetSpcList";
  3832. oParam.inds = "refdata=ds_send";
  3833. oParam.outds = "ds_main_prcpspc_prcpspclist=refrslt";
  3834. oParam.async = false;
  3835. oParam.callback = "cf_TRLPJ00303";
  3836. tranf_submit(oParam);
  3837. }
  3838. }
  3839. function fGetAddSpcList(prest_node, prest_row)
  3840. {
  3841. var sSeqNoNm = "";
  3842. ds_send.clearData(); // Send Node 삭제
  3843. if(utlf_isNull(ds_main_addprcp_addprcplist.getColumn(prest_row,"prcpacptdd")))
  3844. {
  3845. // 이전 병리번호를 적용할 경우
  3846. if (ds_main_addprcp_addprcplist.getColumn(prest_row ,"reuseflagcd") == "0")
  3847. {
  3848. dsf_makeValue( ds_send, "instcd", "string", ds_hidden_userinfo.getColumn(0, "instcd")); // 기관코드
  3849. dsf_makeValue( ds_send, "ddinfo", "string", ds_main_addprcp_addprcplist.getColumn(prest_row ,"bfacptdd")); // 접수일자
  3850. dsf_makeValue( ds_send, "noinfo", "string", ds_main_addprcp_addprcplist.getColumn(prest_row ,"bfacptno")); // 접수번호
  3851. dsf_makeValue( ds_send, "prcpstatcd", "string", ds_main_addprcp_addprcplist.getColumn(prest_row ,"ptno")); // 병리번호
  3852. dsf_makeValue( ds_send, "pid", "string", ds_main_addprcp_addprcplist.getColumn(prest_row ,"pid")); // 등록번호
  3853. dsf_makeValue( ds_send, "reqno", "string", ds_main_addprcp_addprcplist.getColumn(prest_row ,"reqfrmno")); // 의뢰지번호
  3854. dsf_makeValue( ds_send, "ref_flag", "string", "bfspc"); // 조회구분상태
  3855. sSeqNoNm = "spc_spcacptseqno";
  3856. }
  3857. else
  3858. {
  3859. dsf_makeValue( ds_send, "instcd", "string", ds_hidden_userinfo.getColumn(0, "instcd")); // 기관코드
  3860. dsf_makeValue( ds_send, "ddinfo", "string", ds_main_addprcp_addprcplist.getColumn(prest_row ,"spctrandd")); // 검체이송일자
  3861. dsf_makeValue( ds_send, "noinfo", "string", ds_main_addprcp_addprcplist.getColumn(prest_row ,"spctranno")); // 검체이송번호
  3862. dsf_makeValue( ds_send, "prcpstatcd", "string", ds_main_addprcp_addprcplist.getColumn(prest_row ,"prcpstatcd")); // 처방구분상태
  3863. dsf_makeValue( ds_send, "pid", "string", ds_main_addprcp_addprcplist.getColumn(prest_row ,"pid")); // 등록번호
  3864. dsf_makeValue( ds_send, "reqno", "string", ds_main_addprcp_addprcplist.getColumn(prest_row ,"reqfrmno")); // 의뢰지번호
  3865. dsf_makeValue( ds_send, "ref_flag", "string", "tran"); // 조회구분상태
  3866. sSeqNoNm = "spc_spctranseqno";
  3867. }
  3868. var oParam = {};
  3869. oParam.id = "TRLPJ00303";
  3870. oParam.service = "plgyacptmngtapp.SpecimenAccept";
  3871. oParam.method = "reqGetSpcList";
  3872. oParam.inds = "refdata=ds_send";
  3873. oParam.outds = "ds_main_prcpspc_prcpspclist=refrslt";
  3874. oParam.async = false;
  3875. oParam.callback = "cf_TRLPJ00303";
  3876. tranf_submit(oParam);
  3877. }
  3878. else
  3879. {
  3880. dsf_makeValue( ds_send, "instcd", "string", ds_hidden_userinfo.getColumn(0, "instcd")); // 기관코드
  3881. dsf_makeValue( ds_send, "ddinfo", "string", ds_main_addprcp_addprcplist.getColumn(prest_row ,"spctrandd")); // 검체이송일자
  3882. dsf_makeValue( ds_send, "noinfo", "string", ds_main_addprcp_addprcplist.getColumn(prest_row ,"spctranno")); // 검체이송번호
  3883. dsf_makeValue( ds_send, "prcpstatcd", "string", ds_main_addprcp_addprcplist.getColumn(prest_row ,"spcacptseqno")); // 처방구분상태
  3884. dsf_makeValue( ds_send, "ref_flag", "string", "acpt"); // 조회구분상태
  3885. var oParam = {};
  3886. oParam.id = "TRLPJ00303";
  3887. oParam.service = "plgyacptmngtapp.SpecimenAccept";
  3888. oParam.method = "reqGetSpcList";
  3889. oParam.inds = "refdata=ds_send";
  3890. oParam.outds = "ds_main_prcpspc_prcpspclist=refrslt";
  3891. oParam.async = false;
  3892. oParam.callback = "cf_TRLPJ00303";
  3893. tranf_submit(oParam);
  3894. }
  3895. }
  3896. function cf_TRLPJ00303(strSvcID, nErrorCode, strErrorMag)
  3897. {
  3898. if(nErrorCode == 0)
  3899. {
  3900. //---------------------------------
  3901. // 바코드별 상태를 색으로 표시한다.
  3902. var sExpr ="";
  3903. for (var iNo = 0; iNo < ds_main_prcpspc_prcpspclist.rowcount; iNo++)
  3904. {
  3905. switch (ds_main_prcpspc_prcpspclist.getColumn(iNo, "spcstatcd"))
  3906. {
  3907. case "4" :
  3908. sExpr = "EXPR(getColumn(currow,'spcstatcd')=='2'?&quot;#ffcc00&quot;:&quot;&quot;)"
  3909. group1.grd_spclist.setCellProperty("body", 8, "background" ,sExpr);
  3910. group1.grd_spclist.setCellProperty("body", 8, "background2" ,sExpr);
  3911. group1.grd_spclist.setCellProperty("body", 16, "background" ,sExpr);
  3912. group1.grd_spclist.setCellProperty("body", 16, "background2" ,sExpr);
  3913. break;
  3914. case "0" :
  3915. case "7" :
  3916. case "3" :
  3917. sExpr = "EXPR(getColumn(currow,'spcstatcd')=='2'?&quot;#ff99cc&quot;:&quot;&quot;)"
  3918. group1.grd_spclist.setCellProperty("body", 8, "background" ,sExpr);
  3919. group1.grd_spclist.setCellProperty("body", 8, "background2" ,sExpr);
  3920. group1.grd_spclist.setCellProperty("body", 16, "background" ,sExpr);
  3921. group1.grd_spclist.setCellProperty("body", 16, "background2" ,sExpr);
  3922. break;
  3923. case "2" :
  3924. sExpr = "EXPR(getColumn(currow,'spcstatcd')=='2'?&quot;#99cc00&quot;:&quot;&quot;)"
  3925. group1.grd_spclist.setCellProperty("body", 8, "background" ,sExpr);
  3926. group1.grd_spclist.setCellProperty("body", 8, "background2" ,sExpr);
  3927. group1.grd_spclist.setCellProperty("body", 16, "background" ,sExpr);
  3928. group1.grd_spclist.setCellProperty("body", 16, "background2" ,sExpr);
  3929. break;
  3930. }
  3931. }
  3932. }
  3933. }
  3934. /* _group : 조직검체접수
  3935. * _ver : 2007.03.07 (CMCDEV-0001)
  3936. * _by : 황상미(ACK)
  3937. * _-----------------------------------
  3938. * _type : function
  3939. * _access : public
  3940. * _desc : 병리번호현황 조회
  3941. */
  3942. function fGetPrestPtnoList(refflag, prest_node, prest_row)
  3943. {
  3944. var sSysDD = ds_init_sysdt_sysdtinfo.getColumn(0, "sysdd");
  3945. var sFromDD = sSysDD.toDate().getAddDate(-1,"M").getDateFormat();
  3946. ds_send.clearData();
  3947. // 결번조회를 요청한 경우
  3948. if (refflag == "mno")
  3949. {
  3950. dsf_makeValue( ds_send, "instcd", "string", ds_hidden_userinfo.getColumn(0, "instcd"));
  3951. dsf_makeValue( ds_send, "fromdd", "string", sFromDD);
  3952. dsf_makeValue( ds_send, "todd", "string", sSysDD);
  3953. dsf_makeValue( ds_send, "refflag", "string", "mno");
  3954. var oParam = {};
  3955. oParam.id = "TRLPJ00301";
  3956. oParam.service = "plgyacptmngtapp.SpecimenAccept";
  3957. oParam.method = "reqGetPrestPtnoList";
  3958. oParam.inds = "refdata=ds_send";
  3959. oParam.outds = "ds_main_mnoptnohist_ptnohistlist=refrslt";
  3960. oParam.async = false;
  3961. //oParam.callback = "cf_TRLPJ00301";
  3962. tranf_submit(oParam);
  3963. if(ds_main_mnoptnohist_ptnohistlist.rowcount > 0)
  3964. {
  3965. group1.cpt_mnosea.style.border.color = "#f7a08b";
  3966. group1.cpt_mnosea.style.backgroundColor = "#fcd2c1";
  3967. group1.cpt_mnosea.style.color = "#ff0000";
  3968. //------------------------------------------------
  3969. group1.switch1.case_prcplist.cap_mno.style.border.color = "#f7a08b";
  3970. group1.switch1.case_prcplist.cap_mno.style.backgroundColor = "#fcd2c1";
  3971. group1.switch1.case_prcplist.cap_mno.style.color = "#ff0000";
  3972. ds_hidden.setColumn( 0, "ptnohistflagcd", "1");
  3973. group1.switch2.tabindex = 1;
  3974. }
  3975. else
  3976. {
  3977. group1.cpt_mnosea.style.border.color = "#c0c0c0";
  3978. group1.cpt_mnosea.style.backgroundColor = "";
  3979. group1.cpt_mnosea.style.font.type = "";
  3980. group1.switch1.case_prcplist.cap_mno.style.border.color = "#c0c0c0";
  3981. group1.switch1.case_prcplist.cap_mno.style.backgroundColor = "";
  3982. group1.switch1.case_prcplist.cap_mno.style.font.type = "";
  3983. group1.switch2.tabindex = 0;
  3984. }
  3985. }
  3986. else if (refflag == "bf")
  3987. {
  3988. dsf_makeValue( ds_send, "instcd", "string", ds_hidden_userinfo.getColumn(0, "instcd")); //기관코드
  3989. if (ds_main_orgprcp_orgprcplist.rowcount > 0 )
  3990. {
  3991. dsf_makeValue( ds_send, "pid", "string", ds_main_orgprcp_orgprcplist.getColumn(0 ,"pid")); //검체이송일자
  3992. }
  3993. else
  3994. {
  3995. dsf_makeValue( ds_send, "pid", "string", ds_main_addprcp_addprcplist.getColumn(0 ,"pid")); //검체이송일자
  3996. }
  3997. dsf_makeValue( ds_send, "refflag", "string", "acpt");
  3998. var oParam = {};
  3999. oParam.id = "TRLPJ00304";
  4000. oParam.service = "plgyacptmngtapp.SpecimenAccept";
  4001. oParam.method = "reqGetPrestPtnoList";
  4002. oParam.inds = "refdata=ds_send";
  4003. oParam.outds = "ds_main_bfptnohist_ptnohistlist=refrslt";
  4004. oParam.async = false;
  4005. //oParam.callback = "cf_TRLPJ00304";
  4006. tranf_submit(oParam);
  4007. group1.switch2.tabindex = 0;
  4008. ds_hidden.setColumn( 0, "ptnohistflagcd", "0");
  4009. }
  4010. else if (refflag == "last")
  4011. {
  4012. var ptnocd = "";
  4013. // 3:연구검체는 연구용 병리번호코드, 4:수탁검체는 수탁용 병리번호코드로 조회
  4014. if(ds_hidden.getColumn(0, "acptflagcd") == "3")
  4015. {
  4016. if(prest_node == "ds_main_orgprcp_orgprcplist")
  4017. {
  4018. ptnocd = ds_main_orgprcp_orgprcplist.getColumn(prest_row,"stdyptnocd");
  4019. }
  4020. else
  4021. {
  4022. ptnocd = ds_main_addprcp_addprcplist.getColumn(prest_row,"stdyptnocd");
  4023. }
  4024. }
  4025. else if(ds_hidden.getColumn(0, "acptflagcd") == "4")
  4026. {
  4027. if(prest_node == "ds_main_orgprcp_orgprcplist")
  4028. {
  4029. ptnocd = ds_main_orgprcp_orgprcplist.getColumn(prest_row,"trustptnocd");
  4030. }
  4031. else
  4032. {
  4033. ptnocd = ds_main_addprcp_addprcplist.getColumn(prest_row,"trustptnocd");
  4034. }
  4035. }
  4036. else
  4037. {
  4038. if(prest_node == "ds_main_orgprcp_orgprcplist")
  4039. {
  4040. ptnocd = ds_main_orgprcp_orgprcplist.getColumn(prest_row,"ptnocd");
  4041. }
  4042. else
  4043. {
  4044. ptnocd = ds_main_addprcp_addprcplist.getColumn(prest_row,"ptnocd");
  4045. }
  4046. }
  4047. //-------------------------------------------------------------------------------
  4048. dsf_makeValue( ds_send, "instcd", "string", ds_hidden_userinfo.getColumn(0, "instcd")); //기관코드
  4049. dsf_makeValue( ds_send, "ptnocd", "string", ptnocd); //병리번호코드
  4050. dsf_makeValue( ds_send, "genryy", "string", ds_init_sysdt_sysdtinfo.getColumn(0, "sysdd").substr(0, 4)); //병리번호생성년도
  4051. var oParam = {};
  4052. oParam.id = "TRLPJ00305";
  4053. oParam.service = "plgyacptmngtapp.SpecimenAccept";
  4054. oParam.method = "reqGetPrestPtnoList";
  4055. oParam.inds = "refdata=ds_send";
  4056. oParam.outds = "ds_main_bfptnohist_ptnohistlist=refrslt";
  4057. oParam.async = false;
  4058. //oParam.callback = "cf_TRLPJ00305";
  4059. tranf_submit(oParam);
  4060. }
  4061. }
  4062. /* _group : 조직검체접수
  4063. * _ver : 2007.03.22 (CMCDEV-0001)
  4064. * _by : 황상미(ACK)
  4065. * _-----------------------------------
  4066. * _type : function
  4067. * _access : public
  4068. * _desc : 검사그룹인지 확인
  4069. */
  4070. function fExeChkGrupTest(grup_testcd, grup_transeqno, grup_pid, grup_prcpdd, grup_tranno, choi_flag) {
  4071. //trace("fExeChkGrupTest "+grup_testcd+' / '+grup_transeqno+' / '+grup_pid+' / '+grup_prcpdd+' / '+grup_tranno+' / '+choi_flag);
  4072. var end_flag = true;
  4073. var rtn_row = -1;
  4074. var row_cnt = 0;
  4075. var TESTGROUP_COL = 54;
  4076. //-----------------
  4077. // ☞ 1.원처방리스트
  4078. //trace('g1');
  4079. while (end_flag) {
  4080. //trace('g11');
  4081. if (ds_main_orgprcp_orgprcplist.rowcount > 0 ) {
  4082. // trace('g12');
  4083. rtn_row = ds_main_orgprcp_orgprcplist.findRow("grup_testcd", grup_testcd);
  4084. //rtn_row = grd_orgprcp.findRow(grup_testcd, row_cnt, TESTGROUP_COL, true, true);
  4085. //trace("fExeChkGrupTest2 "+rtn_row+' / '+grup_testcd );
  4086. return;
  4087. if (rtn_row == -1) {
  4088. end_flag = false;
  4089. } else {
  4090. if (ds_main_orgprcp_orgprcplist.getColumn(rtn_row,"transeqno") == grup_transeqno) {
  4091. if (ds_main_orgprcp_orgprcplist.getColumn(rtn_row,"pid") == grup_pid) {
  4092. if (ds_main_orgprcp_orgprcplist.getColumn(rtn_row,"prcpdd") == grup_prcpdd) {
  4093. if (ds_main_orgprcp_orgprcplist.getColumn(rtn_row,"tranno") == grup_tranno) {
  4094. ds_main_orgprcp_orgprcplist.setColumn( rtn_row,"choi", choi_flag);
  4095. }
  4096. }
  4097. }
  4098. }
  4099. //------------------
  4100. row_cnt = rtn_row+1;
  4101. }
  4102. }else{
  4103. end_flag = false;
  4104. }
  4105. }
  4106. end_flag = true;
  4107. row_cnt = 0;
  4108. //trace('g2');
  4109. while (end_flag) { // ☞ 1.추가처방리스트
  4110. if (ds_main_addprcp_addprcplist.rowcount > 0 ) {
  4111. rtn_row = ds_main_addprcp_addprcplist.findRow("grup_testcd", grup_testcd);
  4112. //trace('g21');
  4113. if(rtn_row == -1){
  4114. end_flag = false;
  4115. }else{
  4116. //trace('g22');
  4117. if (ds_main_addprcp_addprcplist.getColumn(rtn_row,"transeqno") == grup_transeqno) {
  4118. //trace('g23');
  4119. if (ds_main_addprcp_addprcplist.getColumn(rtn_row,"pid") == grup_pid) {
  4120. //trace('g24');
  4121. if (ds_main_addprcp_addprcplist.getColumn(rtn_row,"prcpdd") == grup_prcpdd) {
  4122. //trace('g5');
  4123. if (ds_main_addprcp_addprcplist.getColumn(rtn_row,"tranno") == grup_tranno) {
  4124. ds_main_addprcp_addprcplist.setColumn( rtn_row,"choi", choi_flag);
  4125. }
  4126. }
  4127. }
  4128. }
  4129. //------------------
  4130. row_cnt = rtn_row+1;
  4131. }
  4132. }else{
  4133. end_flag = false;
  4134. }
  4135. }
  4136. }
  4137. /* _group : 조직검체접수
  4138. * _ver : 2006.11.01 (CMCDEV-0001)
  4139. * _by : 유동철(ACK)
  4140. * _-----------------------------------
  4141. * _type : function
  4142. * _access : public
  4143. * _desc : 검체리스트 한줄 추가 처리 Function
  4144. */
  4145. function fExeLnAdd() {
  4146. //--------------------------
  4147. // 검체현황리스트 한줄추가
  4148. grd_spclist.addItem();
  4149. /*
  4150. var reprspccd = ds_main_prcpspc_prcpspclist.lookupExpr(spc_spctranseqno == '" + 001 + "'", "reprspccd"); //대표검체코드
  4151. var spctrandd = ds_main_prcpspc_prcpspclist.lookupExpr(spc_spctranseqno == '" + 001 + "'", "spc_spctrandd"); //검체이송일자
  4152. var spctranno = ds_main_prcpspc_prcpspclist.lookupExpr(spc_spctranseqno == '" + 001 + "'", "spc_spctranno"); //검체이송번호
  4153. var spcacptdd = ds_main_prcpspc_prcpspclist.lookupExpr(spc_spctranseqno == '" + 001 + "'", "spc_spcacptdd"); //검체접수일자
  4154. var spcacptno = ds_main_prcpspc_prcpspclist.lookupExpr(spc_spctranseqno == '" + 001 + "'", "spc_spcacptno"); //검체접수번호
  4155. var spcstatcd = ds_main_prcpspc_prcpspclist.lookupExpr(spc_spctranseqno == '" + 001 + "'", "spcstatcd"); //검체상태코드
  4156. var prest_row = grd_spclist.row;
  4157. var last_row = grd_spclist.rows - 2;
  4158. */
  4159. var reprspccd = ds_main_prcpspc_prcpspclist.getColumn(1, "reprspccd"); //대표검체코드
  4160. var spctrandd = ds_main_prcpspc_prcpspclist.getColumn(1, "spc_spctrandd"); //검체이송일자
  4161. var spctranno = ds_main_prcpspc_prcpspclist.getColumn(1, "spc_spctranno"); //검체이송번호
  4162. var spcacptdd = ds_main_prcpspc_prcpspclist.getColumn(1, "spc_spcacptdd"); //검체접수일자
  4163. var spcacptno = ds_main_prcpspc_prcpspclist.getColumn(1, "spc_spcacptno"); //검체접수번호
  4164. var spcstatcd = ds_main_prcpspc_prcpspclist.getColumn(1, "spcstatcd"); //검체상태코드
  4165. var prest_row = grd_spclist.row;
  4166. // var last_row = grd_spclist.rows - 2;
  4167. // var spctranseqno = "";
  4168. // var spcacptseqno = "";
  4169. var spcseqno = "0";
  4170. //-------------
  4171. // 바코드만들기
  4172. var spcbarcdno = "";
  4173. var cur_prcpRow = grd_orgprcp.findRow("true", 1, 0, true, true);
  4174. /*
  4175. //--------------------
  4176. if(cur_prcpRow == -1) {
  4177. cur_prcpRow = grd_addprcp.findRow("true", 1, 0, true, true);
  4178. spcbarcdno = ds_main_addprcp_addprcplist.getColumn(cur_prcpRow, "pid"))] +
  4179. ds_main_addprcp_addprcplist.getColumn(cur_prcpRow, "prcpdd"))] +
  4180. ds_main_addprcp_addprcplist.getColumn(cur_prcpRow, "reprspccd"))];
  4181. }else{
  4182. spcbarcdno = ds_main_orgprcp_orgprcplist.getColumn(cur_prcpRow, "pid"))] +
  4183. ds_main_orgprcp_orgprcplist.getColumn(cur_prcpRow, "prcpdd"))] +
  4184. ds_main_orgprcp_orgprcplist.getColumn(cur_prcpRow, "reprspccd"))];
  4185. }
  4186. */
  4187. /* *****************************************
  4188. if (ds_main_prcpspc_prcpspclist.getColumn(1, "spc_spcacptdd") == "" ||
  4189. ds_main_prcpspc_prcpspclist.getColumn(1, "spc_spcacptdd") == "-") {
  4190. spctranseqno = Number(ds_main_prcpspc_prcpspclist.lookupExpr(spc_spctranseqno == '" + 001 + "'", "last_seqno"));
  4191. spctranseqno = (++spctranseqno).toString().getLeftPad(3, "0");
  4192. } else {
  4193. spcacptseqno = Number(ds_main_prcpspc_prcpspclist.lookupExpr(spc_spcacptseqno == '" + 001 + "'", "last_seqno"));
  4194. spcacptseqno = (++spctranseqno).toString().getLeftPad(3, "0");
  4195. }
  4196. */
  4197. spcseqno = parseInt(ds_main_prcpspc_prcpspclist.getColumn(1, "last_seqno"));
  4198. spcseqno = (++spcseqno).toString().getLeftPad(3, "0");
  4199. //--------------------------
  4200. // 추가된 데이터값 설정
  4201. ds_main_prcpspc.setColumn( prest_row , "instcd",
  4202. ds_hidden_userinfo.getColumn(0, "instcd"));
  4203. ds_main_prcpspc.setColumn( prest_row , "spc_spctrandd", spctrandd);
  4204. ds_main_prcpspc.setColumn( prest_row , "spc_spctranno", spctranno);
  4205. ds_main_prcpspc.setColumn( prest_row , "spc_spctranseqno", spcseqno);
  4206. ds_main_prcpspc.setColumn( prest_row , "spc_spcacptdd", spcacptdd);
  4207. ds_main_prcpspc.setColumn( prest_row , "spc_spcacptno", spcacptno);
  4208. ds_main_prcpspc.setColumn( prest_row , "spc_spcacptseqno", spcseqno);
  4209. ds_main_prcpspc.setColumn( prest_row , "reprspccd", reprspccd);
  4210. ds_main_prcpspc.setColumn( prest_row , "spcstatcd", spcstatcd);
  4211. ds_main_prcpspc.setColumn( prest_row , "spcbarcdno", spcbarcdno + spcseqno);
  4212. ds_main_prcpspc.setColumn( prest_row , "addyn", "Y");
  4213. //--------------------------
  4214. // 검체코드팝업화면 호출
  4215. lpzfExeComnOpenScrn("spccd_acpt", ds_main_prcpspc_prcpspclist);
  4216. if((ds_main_prcpspc_prcpspclist.getColumn(prest_row, "spccd")) == ""){
  4217. grd_spclist.removeitem();
  4218. return;
  4219. }
  4220. var prest_spccd = ds_main_prcpspc_prcpspclist.getColumn(prest_row, "spccd");
  4221. for(var iRowNo = 1; iRowNo < prest_row; iRowNo++){
  4222. if((ds_main_prcpspc_prcpspclist.getColumn(iRowNo, "spccd")) == prest_spccd){
  4223. sysf_messageBox("이미 존재하는 검체", "E008");
  4224. grd_spclist.removeitem();
  4225. return;
  4226. }
  4227. }
  4228. ds_main_prcpspc_prcpspclist.setColumn( 0, "last_seqno", spcseqno);
  4229. //model.refresh();
  4230. }
  4231. /* _group : 조직검체접수
  4232. * _ver : 2006.11.01 (CMCDEV-0001)
  4233. * _by : 유동철(ACK)
  4234. * _-----------------------------------
  4235. * _type : function
  4236. * _access : public
  4237. * _desc : 검체리스트 한줄 삭제 처리 Function
  4238. */
  4239. function fExeLnDel()
  4240. {
  4241. //조회조건 처방구분이 접수내역으로 조회시 이미 접수된 검체는 삭제할 수 없다
  4242. //그외 조건일 경우 대표검체만 삭제할 수 없다.
  4243. if(ds_main_prcpspc_prcpspclist.rowcount > 1)
  4244. {
  4245. if(ds_main_prcpspc_prcpspclist.getColumn((grd_spclist.rows-1), "cste_cnt") != "" &&
  4246. eval(ds_main_prcpspc_prcpspclist.getColumn((grd_spclist.rows-1), "cste_cnt")) >= 1)
  4247. {
  4248. sysf_messageBox("해당 블록은 검체가 존재하여 삭제", "E001");
  4249. return;
  4250. }
  4251. else
  4252. {
  4253. grd_spclist.removeitem();
  4254. }
  4255. }
  4256. else if (ds_main_prcpspc_prcpspclist.rowcount == 1)
  4257. {
  4258. sysf_messageBox("대표검체는 삭제", "E001");
  4259. return;
  4260. }
  4261. }
  4262. /* _group : 조직검체접수
  4263. * _ver : 2006.11.01 (CMCDEV-0001)
  4264. * _by : 유동철(ACK)
  4265. * _-----------------------------------
  4266. * _type : function
  4267. * _access : public
  4268. * _desc : 검체접수조회 팝업창 호출 처리 Function
  4269. */
  4270. function fExePopupCall()
  4271. {
  4272. ds_hidden_refenv.setColumn( 0, "srchval", "");
  4273. frmf_modal("SPLPJ01700", "SPLPJ01700", "", "", "", "", "", "", "", "", "", "", "M");
  4274. // 노드 reset
  4275. ds_main_orgprcp_orgprcplist.clearData(); // 원처방목록
  4276. ds_main_addprcp_addprcplist.clearData(); // 추가처방목록
  4277. ds_main_relprcp_relprcplist.clearData(); // 관련처방목록
  4278. ds_main_prcpspc_prcpspclist.clearData(); // 검체목록
  4279. ds_main_bfptnohist_ptnohistlist.clearData(); // 이전 병리번호 목록
  4280. }
  4281. /* _group : 조직검체접수
  4282. * _ver : 2006.11.01 (CMCDEV-0001)
  4283. * _by : 유동철(ACK)
  4284. * _-----------------------------------
  4285. * _type : function
  4286. * _access : public
  4287. * _desc : 병리번호 리스트 드래드 시작 Function
  4288. */
  4289. function fExePtNoDragStart(obj)
  4290. {
  4291. var prest_grid = obj.name;
  4292. if (eval(prest_grid).rowcount > 0)
  4293. {
  4294. event.dropData = event.currentTarget + "▦" + prest_grid.row + "▦" + prest_grid.col;
  4295. }
  4296. else
  4297. {
  4298. event.dropData = "";
  4299. }
  4300. }
  4301. /* _group : 조직검체접수
  4302. * _ver : 2006.11.01 (CMCDEV-0001)
  4303. * _by : 유동철(ACK)
  4304. * _-----------------------------------
  4305. * _type : function
  4306. * _access : public
  4307. * _desc : 접수버튼 Function
  4308. */
  4309. function fExeSpcAcpt()
  4310. {
  4311. var rtn_row;
  4312. var next_row = 1;
  4313. var iPrcpFlag = 0;
  4314. var bFrozen = false;
  4315. var sSpcNode = "ds_main_prcpspc_prcpspclist";
  4316. var sOrgNode = "ds_main_orgprcp_orgprcplist";
  4317. var sAddNode = "ds_main_addprcp_addprcplist";
  4318. var sPrntNode = "ds_main_acptrslt_acptrsltlist";
  4319. var sPtnoHistNode = "ds_main_mnoptnohist_ptnohistlist";
  4320. var sTemp = "";
  4321. var sYesNo = "";
  4322. var sCnclPtNo = "";
  4323. //----------------------------------------------------
  4324. ds_hidden_sendnode_prcplist.clearData();
  4325. dsf_makeValue( ds_hidden, "sendnode", "string", "" );
  4326. // 선택된 항목이 존재하는지 확인
  4327. if ((ds_main_orgprcp_orgprcplist.findRow("choi","true") == -1) && (ds_main_addprcp_addprcplist.findRow("choi","true") == -1))
  4328. {
  4329. sysf_messageBox("접수대상 처방을 선택", "C002");
  4330. return;
  4331. }
  4332. // 접수시 필수설정항목이 누락되었는지 확인
  4333. if(utlf_isNull(ds_hidden_acptenv.getColumn(0, "acptdd")))
  4334. {
  4335. sysf_messageBox("접수일자를", "C001");
  4336. group1.grp_acptenv.ipt_acptdd.setFocus();
  4337. return;
  4338. }
  4339. else if (ds_main_prcpspc_prcpspclist.rowcount <= 0)
  4340. {
  4341. sysf_messageBox("검체현황이 없습니다. 접수를 ", "E001");
  4342. return;
  4343. }
  4344. // ------------------------------------------------------------------
  4345. // 육안정보 변경 할 수 있게 한 후 육안검사의 와 병리사 선택 여부 확인
  4346. var v_grostestdr = ds_hidden_acptenv.getColumn(0, "grostestdr");
  4347. var v_frzndr = ds_hidden_acptenv.getColumn(0, "frzndr");
  4348. var v_readdr = ds_hidden_acptenv.getColumn(0, "readdr");
  4349. var v_grosplgyid = ds_hidden_acptenv.getColumn(0, "grosplgyid");
  4350. var v_grosplgyid2 = group1.grp_acptenv.cmb_grostestid.value;
  4351. if (utlf_isNull(v_grostestdr))
  4352. {
  4353. sysf_messageBox("육안정보를", "C001");
  4354. group1.grp_acptenv.cmb_grostestdr.setFocus();
  4355. return;
  4356. }
  4357. if ( (utlf_isNull(v_grosplgyid)) || (utlf_isNull(v_grosplgyid2)) )
  4358. {
  4359. sysf_messageBox("접수자를", "C001");
  4360. group1.grp_acptenv.cmb_grostestid.setFocus();
  4361. return;
  4362. }
  4363. // Frozen 처방에 한하여 일부 검체만 채취일시 등록이 되어도 접수를 진행한다.
  4364. for (var iNo = 0; iNo < ds_main_orgprcp_orgprcplist.rowcount; iNo++)
  4365. {
  4366. if (ds_main_orgprcp_orgprcplist.getColumn(iNo,"workflagcd") == "1002")
  4367. {
  4368. bFrozen = true;
  4369. break;
  4370. }
  4371. }
  4372. //결번존재여부 체크.(원처방)
  4373. for(var iOrgNo = 0; iOrgNo < ds_main_orgprcp_orgprcplist.rowcount; iOrgNo++)
  4374. {
  4375. if(sYesNo == "6")
  4376. {
  4377. break;
  4378. }
  4379. //이미 결번을 사용하지 않은 경우만.
  4380. if(((utlf_isNull(ds_main_orgprcp_orgprcplist.getColumn(iOrgNo,"view_ptno"))) || (ds_main_orgprcp_orgprcplist.getColumn(iOrgNo,"view_ptno") == "-"))
  4381. && (ds_main_orgprcp_orgprcplist.getColumn(iOrgNo,"choi")== "true"))
  4382. {
  4383. for(var iNo = 0; iNo < ds_main_mnoptnohist_ptnohistlist.rowcount; iNo++)
  4384. {
  4385. //해당 처방의 병리번호 코드가 결번리스트에 있을 경우만.
  4386. sCnclPtNo = ds_main_mnoptnohist_ptnohistlist.getColumn(iNo,"ptno");
  4387. sCnclPtNo = sCnclPtNo.substr(0, (sCnclPtNo.length) - 8);
  4388. if(sCnclPtNo == ds_main_orgprcp_orgprcplist.getColumn(iOrgNo,"ptnocd"))
  4389. {
  4390. sYesNo = sysf_messageBox("결번이 존재 합니다1.["+ ds_main_orgprcp_orgprcplist.getColumn(iOrgNo,"testcd")+"]\n결번을 사용하지 않고 계속 저장", "S006", "결번을 사용|접수를 취소"); //6:yes, 7:no, 2:cancel
  4391. if(sYesNo == "6")
  4392. {
  4393. break;
  4394. }
  4395. else if(sYesNo == "7" )
  4396. {
  4397. sGridFlagCd = "0";
  4398. //model.property("bfptnocnclptno") = "1"; //팝업창 디폴트 값 셋팅.
  4399. fExePtNoPopupCall("org");
  4400. break;
  4401. }
  4402. else
  4403. {
  4404. return;
  4405. }
  4406. }
  4407. }
  4408. }
  4409. }
  4410. //결번존재여부 체크.(추가처방)
  4411. for(var iAddNo = 0; iAddNo < ds_main_addprcp_addprcplist.rowcount; iAddNo++)
  4412. {
  4413. if(sYesNo == "6")
  4414. {
  4415. break;
  4416. }
  4417. //이미 결번을 사용하지 않은 경우만.
  4418. if(((utlf_isNull(ds_main_addprcp_addprcplist.getColumn(iOrgNo,"view_ptno"))) || (ds_main_addprcp_addprcplist.getColumn(iOrgNo,"view_ptno") == "-"))
  4419. && (ds_main_addprcp_addprcplist.getColumn(iOrgNo,"choi")== "true"))
  4420. {
  4421. for(var iNo = 0; iNo < ds_main_mnoptnohist_ptnohistlist.rowcount; iNo++)
  4422. {
  4423. //해당 처방의 병리번호 코드가 결번리스트에 있을 경우만.
  4424. sCnclPtNo = ds_main_mnoptnohist_ptnohistlist.getColumn(iNo,"ptno");
  4425. sCnclPtNo = sCnclPtNo.substr(0, (sCnclPtNo.length) - 8);
  4426. if(sCnclPtNo == ds_main_addprcp_addprcplist.getColumn(iAddNo,"ptnocd"))
  4427. {
  4428. sYesNo = sysf_messageBox("결번이 존재 합니다2.["+ ds_main_addprcp_addprcplist.getColumn(iAddNo,"testcd")+"]\n결번을 사용하지 않고 계속 저장", "S006", "결번을 사용|접수를 취소"); //6:yes, 7:no, 2:cancel
  4429. if(sYesNo == "6")
  4430. {
  4431. break;
  4432. }
  4433. else if(sYesNo == "7" )
  4434. {
  4435. sGridFlagCd = "1";
  4436. fExePtNoPopupCall("add");
  4437. break;
  4438. }
  4439. else
  4440. {
  4441. return;
  4442. }
  4443. }
  4444. }
  4445. }
  4446. }
  4447. //----------------------------------------------------------------------
  4448. // 검체현황을 검사하여, 처방구분과 다른 상태가 존재할 경우 접수불가 처리
  4449. for(var iNo = 0; iNo < ds_main_prcpspc_prcpspclist.rowcount; iNo++)
  4450. {
  4451. iPrcpFlag = Number(ds_hidden_refenv.getColumn(0, "prcpflag"));
  4452. //-----------------------------------------------------------------------
  4453. if (ds_hidden_refenv.getColumn(0, "prcpflag") == "1")
  4454. {
  4455. iPrcpFlag = 2;
  4456. }
  4457. //----------------------------------------------------
  4458. // 검체는 무조건 001부터 존재하여야만 접수가 가능하다.
  4459. if (iNo == 0)
  4460. {
  4461. if ((ds_main_prcpspc_prcpspclist.getColumn(iNo,"spcbarcdno") == "01") || (ds_main_prcpspc_prcpspclist.getColumn(iNo,"spctranseqno") == "001"))
  4462. {
  4463. if (ds_main_prcpspc_prcpspclist.getColumn(iNo,"spcstatcd") == "4")
  4464. {
  4465. sysf_messageBox("첫번째(001) 검체가 발송되지 않았습니다! 접수를 ", "E001");
  4466. return false;
  4467. }
  4468. }
  4469. else
  4470. {
  4471. if ((utlf_isNull(ds_main_prcpspc_prcpspclist.getColumn(iNo,"spcacptdd"))) || (ds_main_prcpspc_prcpspclist.getColumn(iNo,"spcacptdd") == "-"))
  4472. {
  4473. sysf_messageBox("첫번째(001) 검체가 존재하지 않습니다! 접수를 ", "E001");
  4474. return false;
  4475. }
  4476. }
  4477. }
  4478. //------------------------------1
  4479. // Frozen검사의 경우는 접수 처리
  4480. trace("bFrozen= " + bFrozen)
  4481. if (bFrozen)
  4482. {
  4483. if (ds_main_prcpspc_prcpspclist.getColumn(iNo,"spcstatcd") == "4" ||
  4484. ds_main_prcpspc_prcpspclist.getColumn(iNo,"spcstatcd") == "0" ||
  4485. ds_main_prcpspc_prcpspclist.getColumn(iNo,"spcstatcd") == "3" ||
  4486. ds_main_prcpspc_prcpspclist.getColumn(iNo,"spcstatcd") == "7")
  4487. {
  4488. // Continue
  4489. }
  4490. else
  4491. {
  4492. //ds_main_prcpspc_prcpspclist.addRow(iNo);
  4493. }
  4494. }
  4495. else
  4496. {
  4497. // 바코드만 출력한 검체가 존재할 경우 접수불가
  4498. trace('1:'+ds_main_prcpspc_prcpspclist.getColumn(iNo,"spcstatcd"));
  4499. if ((ds_main_prcpspc_prcpspclist.getColumn(iNo,"spcstatcd") != "2") //수신확인 상태
  4500. && (ds_main_prcpspc_prcpspclist.getColumn(iNo,"spcstatcd") != "5") //접수상태(기접수된 병리번호에 추가로 접수시 의뢰지가 기접수된 것으로 붙기 때문에)
  4501. && (!utlf_isNull(ds_main_prcpspc_prcpspclist.getColumn(iNo,"spcstatcd")))) //접수상태(기접수된 병리번호에 추가로 접수시 의뢰지가 기접수된 것으로 붙기 때문에)
  4502. {
  4503. //처방구분에서 검체이송으로 조회 하였을 경우 채취일시등록된 검체도 접수를 허용한다.
  4504. if(ds_hidden_refenv.getColumn(0, "prcpflag") == "1" || ds_main_prcpspc_prcpspclist.getColumn(iNo,"spcstatcd") != "0")
  4505. {
  4506. sysf_messageBox("검체현황에 표시된 검체 중 수신되지 않은 검체가존재합니다! 접수를 ", "E001");
  4507. return false;
  4508. }
  4509. else
  4510. {
  4511. grdf_setStatus(group1.grd_spclist, "I", iNo);
  4512. }
  4513. }
  4514. else
  4515. {
  4516. grdf_setStatus(group1.grd_spclist, "I", iNo);
  4517. }
  4518. }
  4519. }
  4520. // 원처방리스트 선택된 항목
  4521. for(var iRowNo = 0; iRowNo < ds_main_orgprcp_orgprcplist.rowcount; iRowNo++)
  4522. {
  4523. var nChoi = ds_main_orgprcp_orgprcplist.getColumn(iRowNo, "choi");
  4524. if ((nChoi == "true") && (!utlf_isNull(nChoi)))
  4525. {
  4526. var nRow = ds_hidden_sendnode_prcplist.addRow();
  4527. ds_hidden_sendnode_prcplist.copyRow(nRow, ds_main_orgprcp_orgprcplist, iRowNo);
  4528. }
  4529. }
  4530. //---------------------------
  4531. // 추가처방리스트 선택된 항목
  4532. for(var iRowNo = 0; iRowNo < ds_main_addprcp_addprcplist.rowcount; iRowNo++)
  4533. {
  4534. var nChoi = ds_main_addprcp_addprcplist.getColumn(iRowNo, "choi");
  4535. if ((nChoi == "true") && (!utlf_isNull(nChoi)))
  4536. {
  4537. var nRow = ds_hidden_sendnode_prcplist.addRow();
  4538. ds_hidden_sendnode_prcplist.copyRow(nRow, ds_main_addprcp_addprcplist, iRowNo);
  4539. }
  4540. }
  4541. //---------------------
  4542. // 병리번호코드 setting
  4543. var ptnocd_flag = "";
  4544. if(ds_hidden.getColumn(0, "acptflagcd") == "3")
  4545. {
  4546. ptnocd_flag = "stdyptnocd";
  4547. }
  4548. else if(ds_hidden.getColumn(0, "acptflagcd") == "4")
  4549. {
  4550. ptnocd_flag = "trustptnocd";
  4551. }
  4552. else
  4553. {
  4554. ptnocd_flag = "ptnocd";
  4555. }
  4556. //--------------------------
  4557. // Send Node 삭제 후 재 생성
  4558. ds_send.clearData();
  4559. //------------------------------------
  4560. dsf_makeValue( ds_send_acptenv, "sendnode", "string", "" );
  4561. dsf_makeValue( ds_send_acptenv, "prcpspc", "string", "" );
  4562. dsf_makeValue( ds_send_acptenv, "acptenv", "string", "" );
  4563. var dsUpdate1 = grdf_getGridUpdateData(group1.grd_acptdesc, "insert");
  4564. ds_send_sendnode_prcplist.copyData(dsUpdate1, true);
  4565. var dsUpdate2 = grdf_getGridUpdateData(group1.grd_spclist, "insert");
  4566. //trace(ds_main_prcpspc_prcpspclist.saveXML());
  4567. ds_send_sendnode_spclist.copyData(ds_main_prcpspc_prcpspclist, true);
  4568. ds_send_acptenv.copyData(ds_hidden_acptenv, true);
  4569. dsf_makeValue( ds_send_acptenv, "ptnocdflag", "string", ptnocd_flag);
  4570. dsf_makeValue( ds_send_acptenv, "prcpflag", "string", ds_hidden_refenv.getColumn(0, "prcpflag"));
  4571. for(x = 0; x < ds_send_sendnode_prcplist.rowcount; x++)
  4572. {
  4573. var rUse = "0";
  4574. var rCnt = 0;
  4575. if (!utlf_isNull(this.objects["ds_send_prcp"]))
  4576. {
  4577. rCnt = ds_send_prcp.rowcount;
  4578. }
  4579. //trace("rCnt ="+rCnt);
  4580. if (rCnt > 0 )
  4581. {
  4582. var rUse2 = frmf_getParameter("reuseflagcd");
  4583. if (rUse2 = "1")
  4584. {
  4585. rUse = "1";
  4586. }
  4587. }
  4588. ds_send_sendnode_prcplist.setColumn(x, "reuseflagcd", rUse);
  4589. }
  4590. // 검체접수
  4591. ds_send_sendnode_spclist.updateColID("spcacptdd", "bfspcacptdd");
  4592. ds_send_sendnode_spclist.updateColID("spcacptno", "bfspcacptno");
  4593. ds_send_sendnode_spclist.updateColID("spcacptseqno", "bfspcacptseqno");
  4594. ds_send_sendnode_prcplist.updateColID("grup_testcd", "tgrupcd");
  4595. dsf_setFixVal(ds_send_sendnode_spclist, "seqflagcd:3");
  4596. ds_send_acptenv.updateColID("ptnocdflag","ptnocd_flag")
  4597. dsf_setDefaultVal(ds_send_acptenv, "ptnoacptflag:0");
  4598. var oParam = {};
  4599. oParam.id = "TXLPJ00301";
  4600. oParam.service = "plgyacptmngtapp.SpecimenAccept";
  4601. oParam.method = "reqExeSpecimenAccept";
  4602. oParam.inds = "prcplist=ds_send_sendnode_prcplist spclist=ds_send_sendnode_spclist acptenv=ds_send_acptenv";
  4603. oParam.outds = "ds_main_acptrslt_acptrsltlist=acptrsltlist";
  4604. oParam.transaction = false;
  4605. oParam.async = false;
  4606. oParam.callback = "cf_TXLPJ00301";
  4607. tranf_submit(oParam);
  4608. }
  4609. function cf_TXLPJ00301(sSvcId, nErrorCode, sErrorMsg)
  4610. {
  4611. trace("nErrorCode = " + nErrorCode);
  4612. if(nErrorCode < 0)
  4613. {
  4614. sysf_messageBox("접수가", "E009");
  4615. return;
  4616. }
  4617. else
  4618. {
  4619. trace("=====접수=====")
  4620. var rtn_row;
  4621. var next_row = 1;
  4622. var iPrcpFlag = 0;
  4623. var bFrozen = false;
  4624. var sSpcNode = "ds_main_prcpspc_prcpspclist";
  4625. var sOrgNode = "ds_main_orgprcp_orgprcplist";
  4626. var sAddNode = "ds_main_addprcp_addprcplist";
  4627. var sPrntNode = "ds_main_acptrslt_acptrsltlist";
  4628. var sPtnoHistNode = "ds_main_mnoptnohist_ptnohistlist";
  4629. var sTemp = "";
  4630. var sYesNo = "";
  4631. var sCnclPtNo = "";
  4632. //----------------------
  4633. // 접수완료 인스턴스 삭제
  4634. // 2008-08-21 : 병리과 요청에 의해 접수 후 처방을 삭제하지 않는다.
  4635. //fExeAcptNodeDel();
  4636. //ds_main_relprcp_relprcplist.clearData(); // 관련처방목록
  4637. ds_main_prcpspc_prcpspclist.clearData(); // 검체목록
  4638. ds_main_bfptnohist_ptnohistlist.clearData(); // 이전 병리번호 목록
  4639. //ds_hidden_acptenv.setColumn( 0, "acptdd", ds_init_sysdt_sysdtinfo.getColumn(0, "sysdd")); //접수일자 오늘날짜로 수정
  4640. fExeAcptDd(); //접수환경초기화
  4641. //------------------------------------------
  4642. dsf_makeValue( ds_hidden, "acptkey", "string", "");
  4643. //--------------------------------
  4644. // 접수 후 병리번호를 재 설정한다.
  4645. for (var iNo=0; iNo < ds_main_acptrslt_acptrsltlist.rowcount; iNo++)
  4646. {
  4647. // 원처방의 최종병리번호를 설정
  4648. for (var iRowNo=0; iRowNo < ds_main_orgprcp_orgprcplist.rowcount; iRowNo++)
  4649. {
  4650. // 등록번호가 같은 경우 처리
  4651. if (ds_main_acptrslt_acptrsltlist.getColumn(iNo,"pid") == ds_main_orgprcp_orgprcplist.getColumn(iRowNo,"pid"))
  4652. {
  4653. // 처방일자가 같은 경우 처리
  4654. if (ds_main_acptrslt_acptrsltlist.getColumn(iNo,"prcpdd") == ds_main_orgprcp_orgprcplist.getColumn(iRowNo,"prcpdd"))
  4655. {
  4656. // 처방일자가 같은 경우 처리
  4657. if (ds_main_acptrslt_acptrsltlist.getColumn(iNo,"execprcpuniqno") == ds_main_orgprcp_orgprcplist.getColumn(iRowNo,"execprcpuniqno"))
  4658. {
  4659. if ((ds_main_orgprcp_orgprcplist.getColumn(iRowNo,"choi") == "1") || (ds_main_orgprcp_orgprcplist.getColumn(iRowNo,"choi") == "true"))
  4660. {
  4661. ds_main_orgprcp_orgprcplist.setColumn(iRowNo,"lastptno", ds_main_acptrslt_acptrsltlist.getColumn(iNo,"dispptno1") + "-" + ds_main_acptrslt_acptrsltlist.getColumn(iNo,"dispptno2"));
  4662. ds_main_orgprcp_orgprcplist.setColumn(iRowNo,"view_ptno",ds_main_acptrslt_acptrsltlist.getColumn(iNo,"dispptno1") + "-" + ds_main_acptrslt_acptrsltlist.getColumn(iNo,"dispptno2"));
  4663. }
  4664. }
  4665. }
  4666. }
  4667. }
  4668. //-------------------------------
  4669. // 추가처방의 최종병리번호를 설정
  4670. for (var iRowNo=0; iRowNo < ds_main_addprcp_addprcplist.rowcount; iRowNo++)
  4671. {
  4672. // 등록번호가 같은 경우 처리
  4673. if (ds_main_acptrslt_acptrsltlist.getColumn(iNo,"pid") == ds_main_addprcp_addprcplist.getColumn(iRowNo,"pid"))
  4674. {
  4675. // 처방일자가 같은 경우 처리
  4676. if (ds_main_acptrslt_acptrsltlist.getColumn(iNo,"prcpdd") == ds_main_addprcp_addprcplist.getColumn(iRowNo,"prcpdd"))
  4677. {
  4678. // 처방일자가 같은 경우 처리
  4679. if (ds_main_acptrslt_acptrsltlist.getColumn(iNo,"execprcpuniqno") == ds_main_addprcp_addprcplist.getColumn(iRowNo,"execprcpuniqno"))
  4680. {
  4681. if ((ds_main_addprcp_addprcplist.getColumn(iNo,"choi") == "1") || (ds_main_addprcp_addprcplist.getColumn(iNo,"choi") == "true"))
  4682. {
  4683. ds_main_addprcp_addprcplist.setColumn(iRowNo,"lastptno", ds_main_acptrslt_acptrsltlist.getColumn(iNo,"dispptno1") + "-" + ds_main_acptrslt_acptrsltlist.getColumn(iNo,"dispptno2"));
  4684. ds_main_addprcp_addprcplist.setColumn(iRowNo,"view_ptno", ds_main_acptrslt_acptrsltlist.getColumn(iNo,"dispptno1") + "-" + ds_main_acptrslt_acptrsltlist.getColumn(iNo,"dispptno2"));
  4685. }
  4686. }
  4687. else
  4688. {
  4689. //접수후 해당병리번호의 첫번째 처방에만 접수된 병리번호를 표시하여 주었음.
  4690. //2번째 이후 처방에 접수병리번호를 표시.
  4691. if ((ds_main_addprcp_addprcplist.getColumn(iRowNo,"choi") == "1") || (ds_main_addprcp_addprcplist.getColumn(iRowNo,"choi") == "true"))
  4692. {
  4693. sTemp = ds_main_acptrslt_acptrsltlist.getColumn(iNo,"ptno");
  4694. if(sTemp.substring(0, ((sTemp.length) - 8)) == ds_main_addprcp_addprcplist.getColumn(iRowNo,"ptnocd"))
  4695. {
  4696. ds_main_addprcp_addprcplist.setColumn(iRowNo,"lastptno", ds_main_acptrslt_acptrsltlist.getColumn(iNo,"dispptno1") + "-" + ds_main_acptrslt_acptrsltlist.getColumn(iNo,"dispptno2"));
  4697. ds_main_addprcp_addprcplist.setColumn(iRowNo,"view_ptno", ds_main_acptrslt_acptrsltlist.getColumn(iNo,"dispptno1") + "-" + ds_main_acptrslt_acptrsltlist.getColumn(iNo,"dispptno2"));
  4698. }
  4699. }
  4700. }
  4701. }
  4702. else
  4703. {
  4704. //접수후 해당병리번호의 첫번째 처방에만 접수된 병리번호를 표시하여 주었음.
  4705. //2번째 이후 처방에 접수병리번호를 표시.
  4706. if ((ds_main_addprcp_addprcplist.getColumn(iRowNo,"choi") == "1") || (ds_main_addprcp_addprcplist.getColumn(iRowNo,"choi") == "true"))
  4707. {
  4708. sTemp = ds_main_acptrslt_acptrsltlist.getColumn(iNo,"ptno");
  4709. if(sTemp.substring(0, ((sTemp.length) - 8)) == ds_main_addprcp_addprcplist.getColumn(iRowNo,"ptnocd"))
  4710. {
  4711. ds_main_addprcp_addprcplist.setColumn(iRowNo,"lastptno", ds_main_acptrslt_acptrsltlist.getColumn(iNo,"dispptno1") + "-" + ds_main_acptrslt_acptrsltlist.getColumn(iNo,"dispptno2"));
  4712. ds_main_addprcp_addprcplist.setColumn(iRowNo,"view_ptno", ds_main_acptrslt_acptrsltlist.getColumn(iNo,"dispptno1") + "-" + ds_main_acptrslt_acptrsltlist.getColumn(iNo,"dispptno2"));
  4713. }
  4714. }
  4715. }
  4716. }
  4717. }
  4718. }
  4719. //--------------------
  4720. // Frozen의사 초기화
  4721. dsf_makeValue( ds_hidden_acptenv, "frzndr", "string", "");
  4722. // 접수바코드 자동출력
  4723. if (ds_hidden_acptenv.getColumn(0, "barcdprnt") == "0")
  4724. {
  4725. fExeBarCdPrnt(iRowNo, "ds_main_acptrslt_acptrsltlist");
  4726. }
  4727. var sTempPtNo = "";
  4728. //-------------
  4729. // 의뢰지 출력
  4730. // 의뢰지_보고서(0), 복사본(1)
  4731. for (var iNo = 0; iNo < ds_hidden_acptenv.getColumn(0, "reqfrmprntcnt"); iNo++)
  4732. {
  4733. dsf_makeValue( ds_init_prntinfo, "prntinfo", "string", "" );
  4734. dsf_makeValue( ds_init_prntinfo, "reptflagcd", "string", "0"); // 의뢰지(0), 보고서(1)
  4735. dsf_makeValue( ds_init_prntinfo, "prntflagcd", "string", "0"); // 출력(0), 미리보기(1)
  4736. dsf_makeValue( ds_init_prntinfo, "copyflagcd", "string", "0"); // 의뢰지_보고서(0), 복사본(1)
  4737. //-----------------------------------------------------------------------------------------------
  4738. for (var iPrntNo=0; iPrntNo < ds_main_acptrslt_acptrsltlist.rowcount; iPrntNo++)
  4739. {
  4740. //기존에 사용중인 병리번호에 신규처방을 추가할 경우에는 의뢰지를 다시 뽑지 않는다.
  4741. ds_main_acptrslt_acptrsltlist.setColumn(iPrntNo, "reptflagcd", "0"); // 의뢰지_보고서(0), 복사본(1)
  4742. ds_main_acptrslt_acptrsltlist.setColumn(iPrntNo, "prntflagcd", "0"); // 의뢰지_보고서(0), 복사본(1)
  4743. ds_main_acptrslt_acptrsltlist.setColumn(iPrntNo, "copyflagcd", "0");
  4744. if(!utlf_isNull( ds_main_acptrslt_acptrsltlist.getColumn(iPrntNo, "ptno")))
  4745. {
  4746. if ( ds_main_acptrslt_acptrsltlist.getColumn(iPrntNo, "ptno") != sTempPtNo )
  4747. {
  4748. lpzfExeFrmPrnt(ds_main_acptrslt_acptrsltlist,iPrntNo);
  4749. sTempPtNo = ds_main_acptrslt_acptrsltlist.getColumn(iPrntNo, "ptno");
  4750. }
  4751. }
  4752. }
  4753. }
  4754. fGetPrestPtnoList("mno"); // 병리번호 결번조회
  4755. if (ds_main_orgprcp_orgprcplist.rowcount > 0 )
  4756. {
  4757. fGetSpcList('ds_main_orgprcp_orgprcplist','0');
  4758. }
  4759. else
  4760. {
  4761. fGetAddSpcList('ds_main_addprcp_addprcplist','0');
  4762. }
  4763. group1.group2.ipt_srchval.selBegin = 0;
  4764. group1.group2.ipt_srchval.selEnd = group1.group2.ipt_srchval.text.length;
  4765. group1.group2.ipt_srchval.setFocus();
  4766. fExeCheckItem("srchval");
  4767. }
  4768. }
  4769. /* _group : 조직검체접수
  4770. * _ver : 2006.11.01 (CMCDEV-0001)
  4771. * _by : 유동철(ACK)
  4772. * _-----------------------------------
  4773. * _type : function
  4774. * _access : public
  4775. * _desc : 자동접수 상태변환 Function
  4776. */
  4777. function fExeAutoAcptFlagSet()
  4778. {
  4779. // 자동접수여부 검사
  4780. if (ds_hidden_acptenv.getColumn(0, "autoacptflagcd") == "0")
  4781. {
  4782. if (ds_hidden_acptenv.getColumn(0, "waittm") == "" || Number(ds_hidden_acptenv.getColumn(0, "waittm")) <= 0)
  4783. {
  4784. sysf_messageBox("자동접수를 선택할 경우 자동접수시간을 입력하여 주십시오! 접수를 ", "E001");
  4785. return false;
  4786. }
  4787. else if (Number(ds_hidden_acptenv.getColumn(0, "waittm")) < 5)
  4788. {
  4789. sysf_messageBox("접수시간이 5초이상 되어야 합니다! 접수를 ", "E001");
  4790. return false;
  4791. }
  4792. var interval_time = Number(ds_hidden_acptenv.getColumn(0, "waittm"));
  4793. interval_id = window.setinterval("fExeSpcAcpt()", interval_time * 1000);
  4794. }
  4795. else
  4796. {
  4797. }
  4798. }
  4799. /* _group : 조직검체접수
  4800. * _ver : 2006.11.01 (CMCDEV-0001)
  4801. * _by : 유동철(ACK)
  4802. * _-----------------------------------
  4803. * _type : function
  4804. * _access : public
  4805. * _desc : 접수환경설정 버튼처리 Function
  4806. */
  4807. function fExePopupOpenAcpt()
  4808. {
  4809. var objArg = new Object();
  4810. objArg.arg_ds_hidden_acptenv_singdata = ds_hidden_acptenv;
  4811. frmf_modal("SPLPJ01800","SPLPJ01800",objArg,"","","","","","","","","","M");
  4812. }
  4813. /* _group : 조직검체접수
  4814. * _ver : 2006.11.01 (CMCDEV-0001)
  4815. * _by : 유동철(ACK)
  4816. * _-----------------------------------
  4817. * _type : function
  4818. * _access : public
  4819. * _desc : 병리번호현황 Radio Click 처리 Function
  4820. */
  4821. function fExePtnoHistoryChoice()
  4822. {
  4823. if (ds_hidden.getColumn(0, "ptnohistflagcd") == "0")
  4824. {
  4825. group1.switch2.tabindex = 1;
  4826. }
  4827. else
  4828. {
  4829. group1.switch2.tabindex = 0;
  4830. }
  4831. }
  4832. /* _group : 조직검체접수
  4833. * _ver : 2006.11.01 (CMCDEV-0001)
  4834. * _by : 유동철(ACK)
  4835. * _-----------------------------------
  4836. * _type : function
  4837. * _access : public
  4838. * _desc : 병리번호의 결번조회 Caption Click 처리 Function
  4839. */
  4840. function fExeMissingNumber()
  4841. {
  4842. ds_hidden.setColumn(0,"ptnohistflagcd", "1");
  4843. }
  4844. /* _group : 조직검체접수
  4845. * _ver : 2007.03.06 (CMCDEV-0001)
  4846. * _by : HwangSangMi
  4847. * _-----------------------------------
  4848. * _type : function
  4849. * _access : public
  4850. * _desc : 처방리스트 조회
  4851. */
  4852. function fGetOrdList()
  4853. {
  4854. var sFromDD = ds_hidden_refenv.getColumn(0, "prcpfromdd");
  4855. var sToDD = ds_hidden_refenv.getColumn(0, "prcptodd");
  4856. //-----------------------
  4857. if (!fGetSpcAcptStat())
  4858. {
  4859. return false;
  4860. }
  4861. //----------------------
  4862. // 조회전 이전 노드 삭제
  4863. ds_main_orgprcp_orgprcplist.clearData(); // 원처방목록
  4864. ds_main_addprcp_addprcplist.clearData(); // 추가처방목록
  4865. ds_main_relprcp_relprcplist.clearData(); // 관련처방목록
  4866. ds_main_prcpspc_prcpspclist.clearData(); // 검체목록
  4867. ds_main_bfptnohist_ptnohistlist.clearData(); // 이전 병리번호 목록
  4868. //---------------------------------------
  4869. ds_hidden.setColumn( 0, "acptkey", ""); // 접수키 저장 instance reset
  4870. //-------------------------------------------------------
  4871. // 접수 작업구분 (0-조직, 1-세포, 2-분자, 3-연구, 4-수탁)
  4872. var acptflagcd = ds_hidden.getColumn(0, "acptflagcd");
  4873. //----------------------------------------------------------------------
  4874. // 병리번호 조회값을 입력한 경우 조회조건(처방구분)을 "접수자료"로 설정한다.
  4875. if(ds_hidden_refenv.getColumn(0, "ptnofrom") != "" || ds_hidden_refenv.getColumn(0, "ptnoto") != "" )
  4876. {
  4877. ds_hidden_refenv.setColumn( 0, "prcpflag", "2");
  4878. }
  4879. if (ds_init.getColumn(0, "ptnocode") == "" || ds_init.getColumn(0, "ptnocode") == "-")
  4880. {
  4881. if (ds_hidden_refenv.getColumn(0, "prcpflag") == "2")
  4882. {
  4883. dsf_makeValue( ds_hidden_refenv, "ptnofrom", "string", "");
  4884. dsf_makeValue( ds_hidden_refenv, "ptnoto", "string", "");
  4885. }
  4886. }
  4887. else
  4888. {
  4889. if (ds_hidden_refenv.getColumn(0, "ptnofrom") == "")
  4890. {
  4891. dsf_makeValue( ds_hidden_refenv, "ptnofrom", "string", ds_init.getColumn(0, "ptnocode") + sFromDD.substr(2,2) + "000000");
  4892. }
  4893. else
  4894. {
  4895. dsf_makeValue( ds_hidden_refenv, "ptnofrom", "string", ds_init.getColumn(0, "ptnocode") + ds_hidden_refenv.getColumn(0, "ptnofrom"));
  4896. }
  4897. if (ds_hidden_refenv.getColumn(0, "ptnoto") == "")
  4898. {
  4899. dsf_makeValue( ds_hidden_refenv, "ptnoto", "string", ds_init.getColumn(0, "ptnocode") + sToDD.substr(2,2) + "999999");
  4900. }
  4901. else
  4902. {
  4903. dsf_makeValue( ds_hidden_refenv, "ptnoto", "string", ds_init.getColumn(0, "ptnocode") + ds_hidden_refenv.getColumn(0, "ptnoto"));
  4904. }
  4905. }
  4906. //--------------------------
  4907. //조회환경값 senddata에 설정
  4908. ds_send.clearData();
  4909. dsf_makeValue( ds_hidden_refenv, "instcd", "string", ds_hidden_userinfo.getColumn(0, "instcd"));
  4910. dsf_makeValue( ds_hidden_refenv, "pid", "string", ds_init_spcacpt_spcacptstat.getColumn(0,"pid"));
  4911. dsf_makeValue( ds_hidden_refenv, "acptflagcd", "string", acptflagcd);
  4912. dsf_makeValue( ds_hidden_refenv, "acptworkflag", "string", acptflagcd);
  4913. //----------------------------------
  4914. dsf_makeValue( ds_send, "refenv", "string", "" );
  4915. ds_send_refenv.copyData(ds_hidden_refenv);
  4916. ds_send_refenv.getColumn(0, "ptnofrom","0000");
  4917. ds_send_refenv.getColumn(0, "ptnoto","9999");
  4918. //--------------------------------------------------------
  4919. var ptnofrom = ds_send_refenv.getColumn(0, "ptnofrom");
  4920. var ptnoto = ds_send_refenv.getColumn(0, "ptnoto");
  4921. ds_main_signforminfo_signformlist.clearData();
  4922. //-----------------
  4923. // 처방 및 검체조회
  4924. var oParam = {};
  4925. oParam.id = "TRLPJ00302";
  4926. oParam.service = "plgyacptmngtapp.SpecimenAccept";
  4927. oParam.method = "reqGetPrcpList";
  4928. oParam.inds = "refdata=ds_hidden_refenv";
  4929. oParam.outds = "ds_main_orgprcp_orgprcplist=orgprcplist ds_main_addprcp_addprcplist=addprcplist ds_main_relprcp_relprcplist=relprcplist ds_main_bfptnohist_ptnohistlist=bfptnolist ds_main_mnoptnohist_ptnohistlist=mnoptnolist ds_main_signforminfo_signformlist=signformlist";
  4930. oParam.async = false;
  4931. oParam.callback = "cbf_TRLPJ00302";
  4932. tranf_submit(oParam);
  4933. //-----------------
  4934. // 병리번호 결번조회
  4935. fGetPrestPtnoList("mno");
  4936. fGetPrestPtnoList("bf")
  4937. //검체현황 조회
  4938. if (ds_main_orgprcp_orgprcplist.rowcount > 0)
  4939. {
  4940. fGetSpcList();
  4941. }
  4942. else if (ds_main_addprcp_addprcplist.rowcount > 0)
  4943. {
  4944. fGetAddSpcList();
  4945. }
  4946. // 자동접수 설정
  4947. if ((ds_main_orgprcp_orgprcplist.rowcount > 0) ||
  4948. (ds_main_addprcp_addprcplist.rowcount > 0)) {
  4949. fExeAutoAcptFlagSet();
  4950. }
  4951. }
  4952. function cbf_TRLPJ00302(strSvcID, nErrorCode, strErrorMag)
  4953. {
  4954. //----------------------
  4955. //리스트 조회 개수 setting
  4956. var orgprcp_cnt = ds_main_orgprcp_orgprcplist.rowcount;
  4957. var addprcp_cnt = ds_main_addprcp_addprcplist.rowcount;
  4958. var relprcp_cnt = ds_main_relprcp_relprcplist.rowcount;
  4959. ds_main_orgprcp_orgprcplist.addColumn('choi','string');
  4960. ds_main_orgprcp_orgprcplist.addColumn('prcpacptdd','string');
  4961. ds_main_orgprcp_orgprcplist.addColumn('reuseflagcd','string');
  4962. ds_main_orgprcp_orgprcplist.addColumn('bfacptno','string');
  4963. ds_main_orgprcp_orgprcplist.addColumn('bfacptdd','string');
  4964. ds_main_orgprcp_orgprcplist.addColumn('setptno','string');
  4965. ds_main_orgprcp_orgprcplist.addColumn('bfacptseqno','string');
  4966. ds_main_addprcp_addprcplist.addColumn('choi','string');
  4967. ds_main_addprcp_addprcplist.addColumn('prcpacptdd','string');
  4968. ds_main_addprcp_addprcplist.addColumn('reuseflagcd','string');
  4969. ds_main_addprcp_addprcplist.addColumn('bfacptno','string');
  4970. ds_main_addprcp_addprcplist.addColumn('bfacptdd','string');
  4971. ds_main_addprcp_addprcplist.addColumn('setptno','string');
  4972. ds_main_addprcp_addprcplist.addColumn('bfacptseqno','string');
  4973. // 검체, 이전병리 리스트 조회
  4974. var prest_node = "";
  4975. group1.switch1.case_prcplist.cpt_orgcnt.text = orgprcp_cnt;
  4976. group1.switch1.case_prcplist.cpt_addcnt.text = addprcp_cnt;
  4977. group1.switch1.case_prcplist.cpt_relcnt.text = relprcp_cnt;
  4978. if ((Number(orgprcp_cnt) + Number(addprcp_cnt)) == 1)
  4979. {
  4980. if (orgprcp_cnt == 1)
  4981. {
  4982. prest_node = "ds_main_orgprcp_orgprcplist";
  4983. }
  4984. else if (addprcp_cnt == 1)
  4985. {
  4986. prest_node = "ds_main_addprcp_addprcplist";
  4987. }
  4988. //---------------------
  4989. // 검체현황목록 setting
  4990. fExeSettingSpcList(ds_hidden_refenv.getColumn(0, "prcpflag"));
  4991. //검체리스트조회, 이전병리번호리스트조회 함수 호출
  4992. if ((prest_node = "ds_main_orgprcp_orgprcplist") && (ds_main_orgprcp_orgprcplist.rowcount > 0))
  4993. {
  4994. ds_main_orgprcp_orgprcplist.setColumn(0,"choi","true")
  4995. //------------------
  4996. // 환자상단정보 표시
  4997. fExePatTopInfoDisp(ds_main_orgprcp_orgprcplist.getColumn(0,"instcd"),
  4998. ds_main_orgprcp_orgprcplist.getColumn(0,"prcpdd"),
  4999. ds_main_orgprcp_orgprcplist.getColumn(0,"execprcpuniqno"),
  5000. ds_main_orgprcp_orgprcplist.getColumn(0,"pid"));
  5001. }
  5002. if ((prest_node = "ds_main_addprcp_addprcplist") && (ds_main_addprcp_addprcplist.rowcount > 0))
  5003. {
  5004. ds_main_addprcp_addprcplist.setColumn(0,"choi","true")
  5005. // 환자상단정보 표시
  5006. fExePatTopInfoDisp(ds_main_addprcp_addprcplist.getColumn(0,"instcd"),
  5007. ds_main_addprcp_addprcplist.getColumn(0,"prcpdd"),
  5008. ds_main_addprcp_addprcplist.getColumn(0,"execprcpuniqno"),
  5009. ds_main_addprcp_addprcplist.getColumn(0,"pid"));
  5010. }
  5011. if (prest_node == "ds_main_orgprcp_orgprcplist")
  5012. {
  5013. fGetSpcList(prest_node, "0");
  5014. }
  5015. else
  5016. {
  5017. fGetAddSpcList(prest_node, "0");
  5018. }
  5019. fGetPrestPtnoList("bf", prest_node, "1");
  5020. }
  5021. if (addprcp_cnt > 0)
  5022. {
  5023. group1.switch1.case_prcplist.grd_addprcp.visible = "true";
  5024. }
  5025. else
  5026. {
  5027. group1.switch1.case_prcplist.grd_addprcp.visible = "false";
  5028. }
  5029. //동의서 조회
  5030. if(ds_main_signforminfo_signformlist.getColumn(0, "scanyn") == "Y")
  5031. {
  5032. group1.switch1.case_prcplist.btn_formprnt.enable = true;
  5033. group1.switch1.case_prcplist.btn_formprnt.value = ds_main_signforminfo_signformlist.getColumn(0, "scrn");
  5034. }
  5035. else
  5036. {
  5037. group1.switch1.case_prcplist.btn_formprnt.value = ds_main_signforminfo_signformlist.getColumn(0, "scrn");
  5038. group1.switch1.case_prcplist.btn_formprnt.enable = false;
  5039. }
  5040. //---------------
  5041. fGetDrSchedule(); // 육안의사 + 판독의사 스케쥴 조회
  5042. }
  5043. /* _group : 조직검체접수
  5044. * _ver : 2010.11.22 (CMCDEV-0001)
  5045. * _by : ydc
  5046. * _-----------------------------------
  5047. * _type : function
  5048. * _access : public
  5049. * _desc : 현재일자+검체별 육안의사_판독의사 조회 함수
  5050. */
  5051. function fGetDrSchedule()
  5052. {
  5053. var sOrdDeptCD = "";
  5054. if (ds_main_orgprcp_orgprcplist.rowcount > 0)
  5055. {
  5056. sOrdDeptCD = ds_main_orgprcp_orgprcplist.getColumn(0, "orddeptcd"); // 원처방 대표검체
  5057. }
  5058. else if (ds_main_orgprcp_orgprcplist.rowcount > 0)
  5059. {
  5060. sOrdDeptCD = ds_main_addprcp_addprcplist.getColumn(0, "orddeptcd"); // 추가처방 대표검체
  5061. }
  5062. // 의사별 일정 검색 : 2010-08-04(ydc)
  5063. dsf_makeValue( ds_send, "instcd", "string", sysf_getUserInfo("dutplceinstcd")); // 기관코드
  5064. dsf_makeValue( ds_send, "schedd", "string", utlf_getCurrentDate()); // 현재일자
  5065. dsf_makeValue( ds_send, "spccd", "string", sOrdDeptCD); // 대표검체코드
  5066. var oParam = {};
  5067. oParam.id = "TRLPJ00308";
  5068. oParam.service = "plgyacptmngtapp.SpecimenAccept";
  5069. oParam.method = "reqGetDrSchedule";
  5070. oParam.inds = "refData=ds_send";
  5071. oParam.outds = "ds_init_schedule_schedulelist=reflist";
  5072. oParam.async = false;
  5073. //oParam.callback = "cf_TRLPJ00308";
  5074. tranf_submit(oParam);
  5075. // 해당 일자의 의사 일정이 있으면 표시한다. : 2010-08-04(ydc)
  5076. if (ds_init_schedule_schedulelist.filter("drtypecd='" + 1 + "'").rowcount > 0)
  5077. {
  5078. dsf_makeValue( ds_hidden_acptenv, "readdr", "string", ds_init_schedule_schedulelist.lookupExpr("drtypecd == '1'", "userid"));
  5079. }
  5080. // 해당 일자의 육안의사 일정이 있으면 표시한다. : 2010-08-04(ydc)
  5081. if (ds_init_schedule_schedulelist.filter("drtypecd='" + 0 + "'").rowcount > 0)
  5082. {
  5083. dsf_makeValue( ds_hidden_acptenv, "grostestdr", "string", ds_init_schedule_schedulelist.lookupExpr("drtypecd == '0'", "userid"));
  5084. }
  5085. }
  5086. /* _group : 조직검체접수
  5087. * _ver : 2007.03.06 (CMCDEV-0001)
  5088. * _by : HwangSangMi
  5089. * _-----------------------------------
  5090. * _type : function
  5091. * _access : public
  5092. * _desc : 접수작업 전환 함수
  5093. * 접수구분코드(0:조직+수탁(결과), 1:세포, 2:분자, 3:연구, 4:수탁-미결과)
  5094. */
  5095. function fExeCvrtAcptWork(event_flag)
  5096. {
  5097. //---------------------
  5098. //조회전 이전 노드 삭제
  5099. ds_main_orgprcp_orgprcplist.clearData(); // 원처방목록
  5100. ds_main_addprcp_addprcplist.clearData(); // 추가처방목록
  5101. ds_main_relprcp_relprcplist.clearData(); // 관련처방목록
  5102. ds_main_prcpspc_prcpspclist.clearData(); // 검체목록
  5103. ds_main_bfptnohist_ptnohistlist.clearData(); // 이전 병리번호 목록
  5104. //------------------------
  5105. //조회전 이전 노드 개수 삭제
  5106. group1.switch1.case_prcplist.cpt_orgcnt.text = "";
  5107. group1.switch1.case_prcplist.cpt_addcnt.text = "";
  5108. group1.switch1.case_prcplist.cpt_relcnt.text = "";
  5109. //----------------------------------------------------
  5110. ds_hidden.setColumn( 0, "acptflagcd", event_flag);
  5111. //------------------------------
  5112. fGetOrdList(); //처방리스트 조회
  5113. }
  5114. /* _group : 조직검체접수
  5115. * _ver : 2007.03.06 (CMCDEV-0001)
  5116. * _by : HwangSangMi
  5117. * _-----------------------------------
  5118. * _type : function
  5119. * _access : public
  5120. * _desc :접수일자 수정
  5121. */
  5122. function fExeAcptDd()
  5123. {
  5124. ds_hidden_acptenv.setColumn( 0, "acptdd", ds_init_sysdt_sysdtinfo.getColumn(0, "sysdd"));
  5125. }
  5126. /* _group : 조직검체접수
  5127. * _ver : 2007.03.06 (CMCDEV-0001)
  5128. * _by : HwangSangMi
  5129. * _-----------------------------------
  5130. * _type : function
  5131. * _access : public
  5132. * _desc : 입력항목 확인
  5133. */
  5134. function fExeCheckItem(item_flag)
  5135. {
  5136. switch (item_flag)
  5137. {
  5138. case "ptnofrom" :
  5139. lpzfExeLrgChar("ds_hidden_refenv_ptnofrom"); // 병리번호 시작
  5140. break;
  5141. case "ptnoto" :
  5142. lpzfExeLrgChar("ds_hidden_refenv_ptnoto"); // 병리번호 종료
  5143. break;
  5144. case "srchval": // 검색 입력값
  5145. ds_hidden_refenv.setColumn( 0, "srchval", group1.group2.ipt_srchval.text);
  5146. if (fGetSpcAcptStat())
  5147. {
  5148. fGetOrdList(); // 처방검색
  5149. }
  5150. group1.group2.ipt_srchval.selBegin = 0;
  5151. group1.group2.ipt_srchval.selEnd = group1.group2.ipt_srchval.text.length;
  5152. group1.group2.ipt_srchval.setFocus();
  5153. }
  5154. }
  5155. /* _group : 조직검체접수
  5156. * _ver : 2008.02.11 (CMCDEV-0001)
  5157. * _by : HwangSangMi
  5158. * _-----------------------------------
  5159. * _type : function
  5160. * _access : public
  5161. * _desc : 검체접수상태 조회 처리
  5162. */
  5163. function fGetSpcAcptStat()
  5164. {
  5165. // 검색방법이 "바코드번호"일 경우 처리
  5166. if (ds_hidden_refenv.getColumn(0, "srchmthd") == "2")
  5167. {
  5168. ds_send.clearData();
  5169. ds_init_spcacpt_spcacptstat.clearData();
  5170. dsf_makeValue( ds_send, "instcd", "string", sysf_getUserInfo("dutplceinstcd"));
  5171. dsf_makeValue( ds_send, "spcbarcdno", "string", ds_hidden_refenv.getColumn(0, "srchval"));
  5172. var oParam = {};
  5173. oParam.id = "TRLPJ00307";
  5174. oParam.service = "plgyacptmngtapp.SpecimenAccept";
  5175. oParam.method = "reqGetSpcAcptStat";
  5176. oParam.inds = "refData=ds_send";
  5177. oParam.outds = "ds_init_spcacpt_spcacptstat=reflist";
  5178. oParam.async = false;
  5179. //oParam.callback = "cf_TRLPJ00307";
  5180. tranf_submit(oParam);
  5181. if (ds_init_spcacpt_spcacptstat.rowcount > 0)
  5182. {
  5183. if (ds_init_spcacpt_spcacptstat.getColumn(0, "spcacptno") != "0")
  5184. {
  5185. sysf_messageBox("접수된 검체입니다! ", "I007");
  5186. return false;
  5187. }
  5188. }
  5189. else
  5190. {
  5191. sysf_messageBox("존재하지않는 바코드번호입니다! ", "I007");
  5192. return false;
  5193. }
  5194. }
  5195. return true;
  5196. }
  5197. /* _group : 조직검체접수
  5198. * _ver : 2007.03.29 (CMCDEV-0001)
  5199. * _by : HwangSangMi
  5200. * _-----------------------------------
  5201. * _type : function
  5202. * _access : public
  5203. * _desc : 재사용한 병리번호 리스트에서 삭제
  5204. */
  5205. function lf_ExeDelPtno()
  5206. {
  5207. var gNmae = ds_grd.getColumn(0,"nm");
  5208. var iRowNo = 0;
  5209. var objGrid = "";
  5210. var sOrgNode = "ds_main_orgprcp_orgprcplist";
  5211. var sAddNode = "ds_main_addprcp_addprcplist";
  5212. var sNode = "";
  5213. if (gNmae == "grd_orgprcp")
  5214. {
  5215. iRowNo = ds_main_orgprcp_orgprcplist.rowposition;
  5216. objGrid = gNmae;
  5217. }
  5218. else
  5219. {
  5220. iRowNo = ds_main_addprcp_addprcplist.rowposition;
  5221. objGrid = gNmae;
  5222. }
  5223. //------------------------------------
  5224. if (Number(iRowNo) < 0) return false;
  5225. if (gNmae == "grd_orgprcp")
  5226. {
  5227. ds_main_orgprcp_orgprcplist.setColumn(iRowNo,"view_ptno", "");
  5228. ds_main_orgprcp_orgprcplist.setColumn(iRowNo,"ptno", "");
  5229. ds_main_orgprcp_orgprcplist.setColumn(iRowNo,"setptno", "false");
  5230. ds_main_orgprcp_orgprcplist.setColumn(iRowNo,"bfacptdd", "-");
  5231. ds_main_orgprcp_orgprcplist.setColumn(iRowNo,"bfacptno", "-");
  5232. ds_main_orgprcp_orgprcplist.setColumn(iRowNo,"bfacptseqno", "-");
  5233. }
  5234. else
  5235. {
  5236. ds_main_addprcp_addprcplist.setColumn(iRowNo,"view_ptno", "");
  5237. ds_main_addprcp_addprcplist.setColumn(iRowNo,"ptno", "");
  5238. ds_main_addprcp_addprcplist.setColumn(iRowNo,"setptno", "false");
  5239. ds_main_addprcp_addprcplist.setColumn(iRowNo,"bfacptdd", "-");
  5240. ds_main_addprcp_addprcplist.setColumn(iRowNo,"bfacptno", "-");
  5241. ds_main_addprcp_addprcplist.setColumn(iRowNo,"bfacptseqno", "-");
  5242. }
  5243. }
  5244. /* _group : 조직검체접수
  5245. * _ver : 2007.03.29 (CMCDEV-0001)
  5246. * _by : HwangSangMi
  5247. * _-----------------------------------
  5248. * _type : function
  5249. * _access : public
  5250. * _desc : 재사용한 관련병리번호 리스트에서 삭제
  5251. */
  5252. function lf_ExeDelRelaPtno()
  5253. {
  5254. var gNmae = ds_grd.getColumn(0,"nm");
  5255. var iRowNo = 0;
  5256. var objGrid = "";
  5257. var sOrgNode = "ds_main_orgprcp_orgprcplist";
  5258. var sAddNode = "ds_main_addprcp_addprcplist";
  5259. var sNode = "";
  5260. //-----------------------
  5261. if (gNmae == "grd_orgprcp")
  5262. {
  5263. iRowNo = ds_main_orgprcp_orgprcplist.rowposition;
  5264. objGrid = gNmae;
  5265. }
  5266. else
  5267. {
  5268. iRowNo = ds_main_addprcp_addprcplist.rowposition;
  5269. objGrid = gNmae;
  5270. }
  5271. if (Number(iRowNo) < 0) return false;
  5272. if (gNmae == "grd_orgprcp")
  5273. {
  5274. ds_main_orgprcp_orgprcplist.setColumn(iRowNo, "view_relaptno", "");
  5275. }
  5276. else
  5277. {
  5278. ds_main_addprcp_addprcplist.setColumn(iRowNo, "view_relaptno", "");
  5279. }
  5280. }
  5281. /* _group : 조직검체접수
  5282. * _ver : 2007.03.29 (CMCDEV-0001)
  5283. * _by : HwangSangMi
  5284. * _-----------------------------------
  5285. * _type : function
  5286. * _access : public
  5287. * _desc : 검체현황 리스트 일련번호 setting 함수
  5288. */
  5289. function fExeSettingSpcList(view_flag){
  5290. if(view_flag != "2")
  5291. {
  5292. group1.group2.cap_ddnm.text = "처방일자 : ";
  5293. }
  5294. else
  5295. {
  5296. group1.group2.cap_ddnm.text = "접수일자 : ";
  5297. }
  5298. }
  5299. /* _group : 조직검체접수
  5300. * _ver : 2007.04.12 (CMCDEV-0001)
  5301. * _by : 유동철
  5302. * _-----------------------------------
  5303. * _type : function
  5304. * _access : public
  5305. * _desc : 검체정보 및 이전 병리번호 표시여부 판단
  5306. */
  5307. function fExeDispYN(prest_grid, grid_row)
  5308. {
  5309. bStatFlagCd = false;
  5310. // 검체리스트, 이전병리번호리스트 Node 삭제 후 재 생성
  5311. // 다른 처방이 선택되어 있는 경우는 기존의 자료를 활용한다.
  5312. if (ds_main_orgprcp_orgprcplist.findRow("choi",1) > -1) bStatFlagCd = true;
  5313. if (ds_main_addprcp_addprcplist.findRow("choi",1) > -1) bStatFlagCd = true;
  5314. if (!bStatFlagCd)
  5315. {
  5316. ds_main_prcpspc_prcpspclist.clearData();
  5317. ds_main_bfptnohist_ptnohistlist.clearData();
  5318. }
  5319. }
  5320. /* _group : 조직검체접수
  5321. * _ver : 2007.04.12 (CMCDEV-0001)
  5322. * _by : 유동철
  5323. * _-----------------------------------
  5324. * _type : function
  5325. * _access : public
  5326. * _desc : 접수완료된 인스턴스 노드 삭제 함수
  5327. */
  5328. function fExeAcptNodeDel()
  5329. {
  5330. var iRowNo = 1;
  5331. var bStatCd = true;
  5332. //---------------
  5333. while (bStatCd)
  5334. {
  5335. //-------------------------------------------------------
  5336. iRowNo = grd_orgprcp.findRow("true", iRowNo, 0, true, true);
  5337. if (iRowNo <= -1)
  5338. {
  5339. bStatCd = false;
  5340. }
  5341. else
  5342. {
  5343. grd_orgprcp.deleteitem(iRowNo);
  5344. }
  5345. }
  5346. //------------
  5347. bStatCd = true;
  5348. iRowNo = 1;
  5349. //---------------
  5350. while (bStatCd)
  5351. {
  5352. //-------------------------------------------------------
  5353. iRowNo = grd_addprcp.findRow("true", iRowNo, 0, true, true);
  5354. if(iRowNo <= -1)
  5355. {
  5356. bStatCd = false;
  5357. }
  5358. else
  5359. {
  5360. grd_addprcp.deleteitem(iRowNo);
  5361. }
  5362. }
  5363. }
  5364. /* _group : 조직검체접수
  5365. * _ver : 2007.07.12 (CMCDEV-0001)
  5366. * _by : 유동철(ACK)
  5367. * _-----------------------------------
  5368. * _type : function
  5369. * _access : public
  5370. * _desc : 접수내용 바코드 출력 처리 Function
  5371. */
  5372. function fExeBarCdPrnt(pRowNo, pNode)
  5373. {
  5374. ds_main_acptrslt_acptrsltlist.addColumn("spcbarcdno","string");
  5375. ds_main_acptrslt_acptrsltlist.addColumn("wardroom","string");
  5376. ds_main_acptrslt_acptrsltlist.addColumn("spcdispnm","string");
  5377. ds_main_acptrslt_acptrsltlist.addColumn("prcpdispnm","string");
  5378. //-------------------------------------------
  5379. // 공통 바코드 출력함수 사용을 위한 노드 생성
  5380. for(var iNo = 0; iNo < ds_main_acptrslt_acptrsltlist.rowcount; iNo++)
  5381. {
  5382. ds_main_acptrslt_acptrsltlist.setColumn(iNo,"spcbarcdno", ds_main_acptrslt_acptrsltlist.getColumn(iNo,"barcdno"));
  5383. ds_main_acptrslt_acptrsltlist.setColumn(iNo,"wardroom", ds_main_acptrslt_acptrsltlist.getColumn(iNo,"wardnm"));
  5384. ds_main_acptrslt_acptrsltlist.setColumn(iNo,"spcdispnm", ds_main_acptrslt_acptrsltlist.getColumn(iNo,"spcnm"));
  5385. ds_main_acptrslt_acptrsltlist.setColumn(iNo,"prcpdispnm", ds_main_acptrslt_acptrsltlist.getColumn(iNo,"testnm"));
  5386. }
  5387. lpzfAcptBarCd("0", ds_hidden_acptenv.getColumn(0, "barcdprntcnt"), ds_main_acptrslt_acptrsltlist);
  5388. }
  5389. /* _group : 조직검체접수
  5390. * _ver : 2007.10.23 (CMCDEV-0001)
  5391. * _by : 유동철(ACK)
  5392. * _-----------------------------------
  5393. * _type : function
  5394. * _access : public
  5395. * _desc : 바코드 재출력 처리 Function
  5396. */
  5397. function fExeBarCdRePrnt()
  5398. {
  5399. frmf_modal("SPLPJ01700","SPLPJ01700","","","","","","","","","","","M");
  5400. }
  5401. /* _group : 조직검체접수
  5402. * _ver : 2007.11.01 (CMCDEV-0001)
  5403. * _by : 유동철(ACK)
  5404. * _-----------------------------------
  5405. * _type : function
  5406. * _access : public
  5407. * _desc : 바코드 재출력 처리 Function
  5408. */
  5409. function fExeBarCdPopupCall()
  5410. {
  5411. var count = ds_main_barcdprntsetup_prntsetupinfo.rowcount;
  5412. if(count == 0)
  5413. {
  5414. dsf_makeValue( ds_main_barcdprntsetup_prntsetupinfo, "setupinfo", "string", "" );
  5415. }
  5416. var objArg = new Object();
  5417. objArg.arg_sSetupInfo = ds_main_barcdprntsetup_prntsetupinfo.getColumn(0,"prntsetupinfo");
  5418. objArg.arg_sCallBackFunction = "lf_convertXmlToDs";
  5419. frmf_modal("SPLLC90100","SPLLC90100",objArg,"","","","","","","","","","M");
  5420. }
  5421. /* _group : 조직검체접수
  5422. * _ver : 2008.03.06 (CMCDEV-0001)
  5423. * _by : 유동철(ACK)
  5424. * _-----------------------------------
  5425. * _type : function
  5426. * _access : public
  5427. * _desc : 병리번호 팝업창 호출 처리 Function
  5428. */
  5429. function fExePtNoPopupCall(gBn)
  5430. {
  5431. var iRowNo = 0;
  5432. var objGrid = "";
  5433. var sOrgNode = "ds_main_orgprcp_orgprcplist";
  5434. var sAddNode = "ds_main_addprcp_addprcplist";
  5435. var sNode = "";
  5436. var sPtNo = "";
  5437. var bState = true;
  5438. var sChkPtNocd = "";
  5439. var sChkNewPtNo = "";
  5440. if (gBn == "org")
  5441. {
  5442. iRowNo = ds_main_orgprcp_orgprcplist.rowposition;
  5443. objGrid = group1.switch1.case_prcplist.grd_orgprcp;
  5444. sNode = sOrgNode;
  5445. }
  5446. else
  5447. {
  5448. iRowNo = ds_main_addprcp_addprcplist.rowposition;
  5449. objGrid = group1.switch1.case_prcplist.grd_addprcp;
  5450. sNode = sAddNode;
  5451. }
  5452. if (ds_hidden.getColumn(0, "ptnoflagcd") == "0")
  5453. {
  5454. if (sNode = "ds_main_orgprcp_orgprcplist")
  5455. {
  5456. sPtNo = ds_main_orgprcp_orgprcplist.getColumn(iRowNo,"ptno");
  5457. }
  5458. else
  5459. {
  5460. sPtNo = ds_main_addprcp_addprcplist.getColumn(iRowNo,"ptno");
  5461. }
  5462. }
  5463. else
  5464. {
  5465. if (sNode = "ds_main_orgprcp_orgprcplist")
  5466. {
  5467. sPtNo = ds_main_orgprcp_orgprcplist.getColumn(iRowNo,"relaptno");
  5468. }
  5469. else
  5470. {
  5471. sPtNo = ds_main_addprcp_addprcplist.getColumn(iRowNo,"relaptno");
  5472. }
  5473. }
  5474. dsf_createDsRow("ds_send_prcp",[{col: "pid", val: ""}
  5475. , {col: "ptno", val: ""}
  5476. , {col: "dispptno", val: ""}
  5477. , {col: "instcd", val: ""}
  5478. , {col: "bfptnocnclptno", val: ""}
  5479. , {col: "bfacptdd", val: ""}
  5480. , {col: "bfacptno", val: ""}
  5481. , {col: "bfacptseqno", val: ""}
  5482. , {col: "bfptnocnclptno", val: ""}
  5483. , {col: "reuseflagcd", val: ""}
  5484. , {col: "bfspcacptdd", val: ""}
  5485. , {col: "bfspcacptno", val: ""}]);
  5486. var iFindNo = ds_main_orgprcp_orgprcplist.findRow("choi","true"); // 원처방목록 검색
  5487. trace("iFindNo1 "+iFindNo);
  5488. //-------------------------
  5489. if (Number(iFindNo) <= -1)
  5490. {
  5491. iFindNo = ds_main_addprcp_addprcplist.findRow("choi", "true"); // 추가처방목록 검색
  5492. trace("iFindNo2 "+iFindNo);
  5493. if (Number(iFindNo) <= -1)
  5494. {
  5495. sysf_messageBox("선택 처방이 없습니다!", "I007");
  5496. return false;
  5497. }
  5498. else
  5499. {
  5500. ds_send_prcp.setColumn(0, "pid", ds_main_addprcp_addprcplist.getColumn(iFindNo, "pid"));
  5501. bState = false;
  5502. }
  5503. }
  5504. else
  5505. {
  5506. ds_send_prcp.setColumn(0, "pid", ds_main_orgprcp_orgprcplist.getColumn(iFindNo, "pid"));
  5507. bState = true;
  5508. }
  5509. if (Number(iRowNo) < 0) iRowNo = iFindNo;
  5510. ds_send_prcp.setColumn(0,"ptno", "");
  5511. ds_send_prcp.setColumn(0,"dispptno", "");
  5512. ds_send_prcp.setColumn(0,"instcd", sysf_getUserInfo("dutplceinstcd"));
  5513. ds_send_prcp.setColumn(0,"bfptnocnclptno", "1");
  5514. // 병리번호리스트 팝업창 표시
  5515. var objArg = new Object();
  5516. objArg.arg_ds_send = ds_send_prcp;
  5517. frmf_modal("SPLPJ02100", "SPLPJ02100", objArg, null, null, null, null, null, null, null, null, null, "P");
  5518. //----------------------------------------------
  5519. // 0:병리번호 컬럼에 적용, 1:관련병리번호에 적용
  5520. //trace(ds_send_prcp.saveXML());
  5521. if (ds_hidden.getColumn(0, "ptnoflagcd") == "0")
  5522. {
  5523. //병리번호 코드가 일치하는지 체크
  5524. if (gBn == "org")
  5525. {
  5526. sChkPtNocd = ds_main_orgprcp_orgprcplist.getColumn(iRowNo,"ptnocd");
  5527. }
  5528. else
  5529. {
  5530. sChkPtNocd = ds_main_addprcp_addprcplist.getColumn(iRowNo,"ptnocd");
  5531. }
  5532. sChkNewPtNo = frmf_getParameter("ptno");
  5533. sChkNewPtNo = sChkNewPtNo.substr(0, (sChkNewPtNo.length) - 8);
  5534. if(sChkPtNocd == sChkNewPtNo)
  5535. {
  5536. if (gBn == "org")
  5537. {
  5538. ds_main_orgprcp_orgprcplist.setColumn(iRowNo,"ptno", frmf_getParameter("ptno"));
  5539. ds_main_orgprcp_orgprcplist.setColumn(iRowNo,"view_ptno", frmf_getParameter("dispptno"));
  5540. ds_main_orgprcp_orgprcplist.setColumn(iRowNo,"setptno", "true");
  5541. ds_main_orgprcp_orgprcplist.setColumn(iRowNo,"bfacptdd", frmf_getParameter("bfacptdd"));
  5542. ds_main_orgprcp_orgprcplist.setColumn(iRowNo,"bfacptno", frmf_getParameter("bfacptno"));
  5543. ds_main_orgprcp_orgprcplist.setColumn(iRowNo,"bfacptseqno", frmf_getParameter("bfacptseqno"));
  5544. ds_main_orgprcp_orgprcplist.setColumn(iRowNo,"reuseflagcd", frmf_getParameter("reuseflagcd"));
  5545. }
  5546. else
  5547. {
  5548. ds_main_addprcp_addprcplist.setColumn(iRowNo,"ptno", frmf_getParameter("ptno"));
  5549. ds_main_addprcp_addprcplist.setColumn(iRowNo,"view_ptno", frmf_getParameter("dispptno"));
  5550. ds_main_addprcp_addprcplist.setColumn(iRowNo,"setptno", "true");
  5551. ds_main_addprcp_addprcplist.setColumn(iRowNo,"bfacptdd", frmf_getParameter("bfacptdd"));
  5552. ds_main_addprcp_addprcplist.setColumn(iRowNo,"bfacptno", frmf_getParameter("bfacptno"));
  5553. ds_main_addprcp_addprcplist.setColumn(iRowNo,"bfacptseqno", frmf_getParameter("bfacptseqno"));
  5554. ds_main_addprcp_addprcplist.setColumn(iRowNo,"reuseflagcd", frmf_getParameter("reuseflagcd"));
  5555. }
  5556. // 이전 병리번호의 검체현황을 검색
  5557. if (frmf_getParameter("bfacptdd") == "-")
  5558. {
  5559. // Continue
  5560. }
  5561. else
  5562. {
  5563. if (gBn == "org")
  5564. {
  5565. fGetSpcList("ds_main_orgprcp_orgprcplist", iFindNo);
  5566. }
  5567. else
  5568. {
  5569. fGetAddSpcList("ds_main_addprcp_addprcplist", iFindNo);
  5570. }
  5571. }
  5572. }
  5573. }
  5574. else
  5575. {
  5576. //병리번호 코드가 일치하는지 체크
  5577. if (gBn == "org")
  5578. {
  5579. sChkPtNocd = ds_main_orgprcp_orgprcplist.getColumn(iRowNo, "ptnocd");
  5580. }
  5581. else
  5582. {
  5583. sChkPtNocd = ds_main_addprcp_addprcplist.getColumn(iRowNo, "ptnocd");
  5584. }
  5585. sChkNewPtNo = ds_send_prcp.getColumn(0, "ptno");
  5586. sChkNewPtNo = sChkNewPtNo.substr(0, (sChkNewPtNo.length) - 8);
  5587. if(sChkPtNocd == sChkNewPtNo)
  5588. {
  5589. if (gBn == "org")
  5590. {
  5591. ds_main_orgprcp_orgprcplist.setColumn(iRowNo, "relaptno", frmf_getParameter("ptno"));
  5592. ds_main_orgprcp_orgprcplist.setColumn(iRowNo, "view_relaptno", frmf_getParameter("dispptno"));
  5593. ds_main_orgprcp_orgprcplist.setColumn(iRowNo, "setrelaptno", "true");
  5594. }
  5595. else
  5596. {
  5597. ds_main_addprcp_addprcplist.setColumn(iRowNo, "relaptno", frmf_getParameter("ptno"));
  5598. ds_main_addprcp_addprcplist.setColumn(iRowNo, "view_relaptno", frmf_getParameter("dispptno"));
  5599. ds_main_addprcp_addprcplist.setColumn(iRowNo, "setrelaptno", "true");
  5600. }
  5601. }
  5602. }
  5603. if (sPtNo == "" || sPtNo == "-")
  5604. {
  5605. // 선택된 처방에 병리번호 적용(병리번호, 관련병리번호가 없을 경우)
  5606. for (var iNo=0; iNo < ds_main_orgprcp_orgprcplist.rowcount; iNo++)
  5607. {
  5608. if (ds_main_orgprcp_orgprcplist.getColumn(iNo,"choi") == "true")
  5609. {
  5610. if (ds_hidden.getColumn(0, "ptnoflagcd") == "0")
  5611. {
  5612. //병리번호 코드가 일치하는지 체크
  5613. sChkPtNocd = ds_main_orgprcp_orgprcplist.getColumn(iNo,"ptnocd");
  5614. sChkNewPtNo = frmf_getParameter("ptno");
  5615. sChkNewPtNo = sChkNewPtNo.substr(0, (sChkNewPtNo.length) - 8);
  5616. if(sChkPtNocd != sChkNewPtNo)
  5617. {
  5618. continue;
  5619. }
  5620. if (utlf_isNull(ds_main_orgprcp_orgprcplist.getColumn(iNo,"ptno")))
  5621. {
  5622. ds_main_orgprcp_orgprcplist.setColumn(iNo, "ptno", frmf_getParameter("ptno"));
  5623. ds_main_orgprcp_orgprcplist.setColumn(iNo, "view_ptno", frmf_getParameter("dispptno"));
  5624. ds_main_orgprcp_orgprcplist.setColumn(iNo, "setptno", "true");
  5625. ds_main_orgprcp_orgprcplist.setColumn(iNo, "bfacptdd", frmf_getParameter("bfacptdd"));
  5626. ds_main_orgprcp_orgprcplist.setColumn(iNo, "bfacptno", frmf_getParameter("bfacptno"));
  5627. ds_main_orgprcp_orgprcplist.setColumn(iNo, "bfacptseqno", frmf_getParameter("bfacptseqno"));
  5628. ds_main_orgprcp_orgprcplist.setColumn(iNo, "reuseflagcd", frmf_getParameter("reuseflagcd"));
  5629. }
  5630. }
  5631. else
  5632. {
  5633. if (utlf_isNull(ds_main_orgprcp_orgprcplist.getColumn(iNo,"relaptno")))
  5634. {
  5635. ds_main_orgprcp_orgprcplist.setColumn(iNo, "relaptno", frmf_getParameter("ptno"));
  5636. ds_main_orgprcp_orgprcplist.setColumn(iNo, "view_relaptno", frmf_getParameter("dispptno"));
  5637. ds_main_orgprcp_orgprcplist.setColumn(iNo, "setrelaptno", "true");
  5638. }
  5639. }
  5640. }
  5641. }
  5642. for (var iNo=0; iNo < ds_main_addprcp_addprcplist.rowcount; iNo++)
  5643. {
  5644. if (ds_main_addprcp_addprcplist.getColumn(iNo,"choi") == "true")
  5645. {
  5646. if (ds_hidden.getColumn(0, "ptnoflagcd") == "0")
  5647. {
  5648. //병리번호 코드가 일치하는지 체크
  5649. sChkPtNocd = ds_main_addprcp_addprcplist.getColumn(iNo,"ptnocd");
  5650. sChkNewPtNo = frmf_getParameter("ptno");
  5651. sChkNewPtNo = sChkNewPtNo.substr(0, (sChkNewPtNo.length) - 8);
  5652. if(sChkPtNocd != sChkNewPtNo)
  5653. {
  5654. continue;
  5655. }
  5656. if (utlf_isNull(ds_main_addprcp_addprcplist.getColumn(iNo,"ptno")))
  5657. {
  5658. ds_main_addprcp_addprcplist.setColumn(iNo, "ptno", frmf_getParameter("ptno"));
  5659. ds_main_addprcp_addprcplist.setColumn(iNo, "view_ptno", frmf_getParameter("dispptno"));
  5660. ds_main_addprcp_addprcplist.setColumn(iNo, "setptno", "true");
  5661. ds_main_addprcp_addprcplist.setColumn(iNo, "bfacptdd", frmf_getParameter("bfacptdd"));
  5662. ds_main_addprcp_addprcplist.setColumn(iNo, "bfacptno", frmf_getParameter("bfacptno"));
  5663. ds_main_addprcp_addprcplist.setColumn(iNo, "bfacptseqno", frmf_getParameter("bfacptseqno"));
  5664. ds_main_addprcp_addprcplist.setColumn(iNo, "reuseflagcd", frmf_getParameter("reuseflagcd"));
  5665. }
  5666. }
  5667. else
  5668. {
  5669. if (utlf_isNull(ds_main_addprcp_addprcplist.getColumn(iNo,"relaptno")))
  5670. {
  5671. ds_main_addprcp_addprcplist.setColumn(iNo,"relaptno", frmf_getParameter("ptno"));
  5672. ds_main_addprcp_addprcplist.setColumn(iNo,"view_relaptno", frmf_getParameter("dispptno"));
  5673. ds_main_addprcp_addprcplist.setColumn(iNo,"setrelaptno", "true");
  5674. }
  5675. }
  5676. }
  5677. }
  5678. }
  5679. }
  5680. function fExeRsltRefCall(obj)
  5681. {
  5682. var grid_control = obj.currentcol;
  5683. if (ds_main_bfptnohist_ptnohistlist.rowcount > 0)
  5684. {
  5685. if (grid_control == 1)
  5686. {
  5687. lpzfExeRsltRefCall(ds_main_bfptnohist_ptnohistlist.rowposition, ds_main_bfptnohist_ptnohistlist, "view_ptno", "pid", "acptdd");
  5688. }
  5689. }
  5690. }
  5691. /* _group : 조직검체접수
  5692. * _ver : 2008.10.16 (CMCDEV-0001)
  5693. * _by : 유동철(ACK)
  5694. * _-----------------------------------
  5695. * _type : function
  5696. * _access : public
  5697. * _desc : 병리번호 팝업창 호출 처리 Function
  5698. * "_root_main_orgprcp_orgprcplist", grd_orgprcp, grd_orgprcp.row, grd_orgprcp.col);
  5699. */
  5700. function fExeReqCntsView(pNode, pObj, pRow, pCol)
  5701. {
  5702. // 의뢰지 팝업창 표시
  5703. if (pCol == 16)
  5704. {
  5705. var sPid = pNode.getColumn(pRow, "pid");
  5706. var sTestCd = pNode.getColumn(pRow, "testcd");
  5707. var sTestNm = pNode.getColumn(pRow, "grup_testnm");
  5708. var sReqFrmCd = pNode.getColumn(pRow, "reqfrmflagcd");
  5709. var sReqFrmNo = pNode.getColumn(pRow, "reqfrmno");
  5710. var sSpdCd = pNode.getColumn(pRow, "spccd");
  5711. var sSpcNm = pNode.getColumn(pRow, "spcnm");
  5712. lpzfExeReqFrmInfo2(sReqFrmCd, sReqFrmNo, sTestCd, sTestNm, sSpdCd, sSpcNm, sPid);
  5713. }
  5714. else
  5715. {
  5716. if(pNode.getColumn(pRow, "formrecseq") > 0)
  5717. {
  5718. frmf_setParameter("SMLPJ00300_pid", pNode.getColumn(pRow, "pid")); // 등록번호
  5719. frmf_setParameter("SMLPJ00300_formrecseq", pNode.getColumn(pRow, "formrecseq")); // 고유항목번호
  5720. frmf_modal("SPLPJ02500", "SPLPJ02500", "","", "", "", "", "", "", "", "", "", "M");
  5721. }
  5722. }
  5723. }
  5724. /* _group : 조직검체접수
  5725. * _ver : 2008.11.25 (CMCDEV-0001)
  5726. * _by : 하만석(ACK)
  5727. * _-----------------------------------
  5728. * _type : function
  5729. * _access : public
  5730. * _desc : 육안검사의사 변경 Function
  5731. */
  5732. function fExeGrosTestDrChange()
  5733. {
  5734. // ds_hidden_acptenv.setColumn( 0, "grostestdrnm"
  5735. // , model.getValue("_root_init_userinfo_userinfolist[userid='"
  5736. // + ds_hidden_acptenv.getColumn(0, "grostestdr") + "']_usernm"));
  5737. }
  5738. /* _group : 조직검체접수
  5739. * _ver : 2008.11.25 (CMCDEV-0001)
  5740. * _by : 하만석(ACK)
  5741. * _-----------------------------------
  5742. * _type : function
  5743. * _access : public
  5744. * _desc : 육안병리사 변경 Function
  5745. */
  5746. function fExeGrosPlgyChange()
  5747. {
  5748. ds_hidden_acptenv.setColumn(0, "grosplgynm", ds_init_cmb_grostestid.getColumn(0,"userid")+ds_init_cmb_grostestid.getColumn(0,"usernm")
  5749. +ds_init_cmb_grostestid.getColumn(0,"usernm"));
  5750. }
  5751. /* _group : 조직검체접수
  5752. * _ver : 2008.11.25 (CMCDEV-0001)
  5753. * _by : 하만석(ACK)
  5754. * _-----------------------------------
  5755. * _type : function
  5756. * _access : public
  5757. * _desc : 환자진료정보 페이지 호출 Function
  5758. */
  5759. function fExePopupOpenHist()
  5760. {
  5761. if(utlf_isNull(ds_main_orgprcp_orgprcplist.getColumn(0,"pid")))
  5762. {
  5763. frmf_setParameter ("SMMMO02500_cond", appf_getPatientInfo("pid"));
  5764. sysf_trace("pid == " + appf_getPatientInfo("pid"));
  5765. }
  5766. else
  5767. {
  5768. frmf_setParameter ( "SMMMO02500_cond", ds_main_orgprcp_orgprcplist.getColumn(0,"pid"));
  5769. }
  5770. frmf_modal("SMMMO02500", "SMMMO02500", "","", "", "", "", "", "", "", "", "", "M");
  5771. }
  5772. function group4_btn_barcdreprnt_onclick(obj:Button, e:ClickEventInfo)
  5773. {
  5774. fExeBarCdRePrnt();
  5775. }
  5776. function group4_btn_prntset_onclick(obj:Button, e:ClickEventInfo)
  5777. {
  5778. fExeBarCdPopupCall();
  5779. }
  5780. function group4_btn_prcphist_onclick(obj:Button, e:ClickEventInfo)
  5781. {
  5782. fExePopupOpenHist();
  5783. }
  5784. function group4_btn_acptenvset_onclick(obj:Button, e:ClickEventInfo)
  5785. {
  5786. fExePopupOpenAcpt();
  5787. }
  5788. function group1_group2_btn_popup1_onclick(obj:Button, e:ClickEventInfo)
  5789. {
  5790. fExePopupCall();
  5791. }
  5792. function group1_group2_ipt_srchval_onkeydown(obj:Edit, e:KeyEventInfo)
  5793. {
  5794. if(e.keycode==13)
  5795. {
  5796. fExeCheckItem("srchval");
  5797. group1.group2.ipt_prcpfromdd.setFocus();
  5798. group1.group2.ipt_srchval.setFocus();
  5799. }
  5800. }
  5801. function group1_button6_onclick(obj:Button, e:ClickEventInfo)
  5802. {
  5803. group1.button5.class = 'btn_tab';
  5804. group1.button6.class = 'btn_tab_s';
  5805. group1.button7.class = 'btn_tab';
  5806. group1.button8.class = 'btn_tab';
  5807. group1.button9.class = 'btn_tab';
  5808. fExeCvrtAcptWork("0");
  5809. }
  5810. function group1_button7_onclick(obj:Button, e:ClickEventInfo)
  5811. {
  5812. group1.button5.class = 'btn_tab';
  5813. group1.button6.class = 'btn_tab';
  5814. group1.button7.class = 'btn_tab_s';
  5815. group1.button8.class = 'btn_tab';
  5816. group1.button9.class = 'btn_tab';
  5817. fExeCvrtAcptWork("1");
  5818. }
  5819. function group1_button8_onclick(obj:Button, e:ClickEventInfo)
  5820. {
  5821. group1.button5.class = 'btn_tab';
  5822. group1.button6.class = 'btn_tab';
  5823. group1.button7.class = 'btn_tab';
  5824. group1.button8.class = 'btn_tab_s';
  5825. group1.button9.class = 'btn_tab';
  5826. fExeCvrtAcptWork("2");
  5827. }
  5828. function group1_button5_onclick(obj:Button, e:ClickEventInfo)
  5829. {
  5830. group1.button5.class = 'btn_tab_s';
  5831. group1.button6.class = 'btn_tab';
  5832. group1.button7.class = 'btn_tab';
  5833. group1.button8.class = 'btn_tab';
  5834. group1.button9.class = 'btn_tab';
  5835. fExeCvrtAcptWork("3");
  5836. }
  5837. function group1_button9_onclick(obj:Button, e:ClickEventInfo)
  5838. {
  5839. group1.button5.class = 'btn_tab';
  5840. group1.button6.class = 'btn_tab';
  5841. group1.button7.class = 'btn_tab';
  5842. group1.button8.class = 'btn_tab';
  5843. group1.button9.class = 'btn_tab_s';
  5844. fExeCvrtAcptWork("4");
  5845. }
  5846. function group1_group2_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  5847. {
  5848. fGetOrdList();
  5849. sGridfocus = "0";
  5850. }
  5851. function group1_group2_ipt_ptnofrom_onkillfocus(obj:Edit, e:KillFocusEventInfo)
  5852. {
  5853. fExeCheckItem("ptnofrom");
  5854. }
  5855. function group1_group2_ipt_ptnoto_onkillfocus(obj:Edit, e:KillFocusEventInfo)
  5856. {
  5857. fExeCheckItem("ptnoto");
  5858. }
  5859. function group1_group2_cmb_prcpflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  5860. {
  5861. fExeSettingSpcList(ds_hidden_refenv.getColumn(0, "prcpflag"));
  5862. }
  5863. function group1_btn_add_onclick(obj:Button, e:ClickEventInfo)
  5864. {
  5865. fExeLnAdd();
  5866. }
  5867. function group1_btn_del_onclick(obj:Button, e:ClickEventInfo)
  5868. {
  5869. fExeLnDel();
  5870. }
  5871. function group1_switch1_case_prcplist_button3_onclick(obj:Button, e:ClickEventInfo)
  5872. {
  5873. fExePtNoPopupCall();
  5874. }
  5875. function group1_switch1_case_prcplist_btn_formprnt_onclick(obj:Button, e:ClickEventInfo)
  5876. {
  5877. //================================================================================================
  5878. //pid : 환자번호
  5879. //orddeptcd : 진료과 코드
  5880. //indd : 입(내)원일
  5881. //docucd : 서식코드
  5882. //ioflag : 입원_외래
  5883. //cmc_cretno : 생성번호
  5884. //================================================================================================
  5885. ds_send_iemr.clearData();
  5886. ds_send_iemr.addRow();
  5887. var prcpgenrflag = ds_main_orgprcp_orgprcplist.getColumn(0, "prcpgenrflagcd");
  5888. dsf_makeValue(ds_send_iemr, "pid", "string", ds_main_orgprcp_orgprcplist.getColumn(0, "pid"));
  5889. dsf_makeValue(ds_send_iemr, "orddeptcd", "string", ds_main_orgprcp_orgprcplist.getColumn(0, "orddeptcd"));
  5890. dsf_makeValue(ds_send_iemr, "indd", "string", ds_main_orgprcp_orgprcplist.getColumn(0, "orddd"));
  5891. dsf_makeValue(ds_send_iemr, "docucd", "string", ds_main_signforminfo_signformlist.getColumn(0, "formcd"));
  5892. dsf_makeValue(ds_send_iemr, "ioflag", "string", prcpgenrflag);
  5893. dsf_makeValue(ds_send_iemr, "cmc_cretno", "string", ds_main_signforminfo_signformlist.getColumn(0, "cretno"));
  5894. dsf_makeValue(ds_send_iemr, "cmc_spcid", "string", "");
  5895. dsf_makeValue(ds_send_iemr, "cmc_orddate", "string", "");
  5896. dsf_makeValue(ds_send_iemr, "cmc_orderseqno", "string", "");
  5897. }
  5898. function group1_grp_acptenv_cmb_grostestid_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  5899. {
  5900. fExeGrosPlgyChange();
  5901. }
  5902. //저장
  5903. function group4_btn_save_onclick(obj:Button, e:ClickEventInfo)
  5904. {
  5905. fExeSpcAcpt();
  5906. }
  5907. function group1_switch1_case_prcplist_grd_orgprcp_oncellclick(obj:Grid, e:GridClickEventInfo)
  5908. {
  5909. fExeChoiPrcpList("choi",obj);
  5910. sGridfocus = "0";
  5911. }
  5912. function group1_switch1_case_prcplist_grd_orgprcp_ondrop(obj:Grid, e:GridDragEventInfo)
  5913. {
  5914. fExePtNoDragDrop(grd_orgprcp, "0");
  5915. }
  5916. function group1_switch1_case_prcplist_grd_orgprcp_onkillfocus(obj:Grid, e:KillFocusEventInfo)
  5917. {
  5918. //fExeGridPopUpMenu("org", "N");
  5919. // lpzfExeGridPopUpMenu(grd_orgprcp, "_root_hidden_popupmenu_item", "nm", "funt", "N");
  5920. }
  5921. function group1_switch1_case_prcplist_grd_orgprcp_onmousedown(obj:Grid, e:GridMouseEventInfo)
  5922. {
  5923. //fExeGridPopUpMenu("org", "Y");
  5924. //lpzfExeGridPopUpMenu(grd_orgprcp, "_root_hidden_popupmenu_item", "nm", "funt", "Y");
  5925. }
  5926. function group1_switch1_case_prcplist_grd_orgprcp_onsetfocus(obj:Grid, e:SetFocusEventInfo)
  5927. {
  5928. sGridFlagCd = "0";
  5929. }
  5930. function group1_switch1_case_prcplist_grd_orgprcp_onexpandup(obj:Grid, e:GridMouseEventInfo)
  5931. {
  5932. fExeReqCntsView(ds_main_orgprcp_orgprcplist, group1.switch1.case_prcplist.grd_orgprcp, group1.switch1.case_prcplist.grd_orgprcp.row, e.col);
  5933. }
  5934. function group1_switch1_case_prcplist_grd_addprcp_oncellclick(obj:Grid, e:GridClickEventInfo)
  5935. {
  5936. fExeChoiAddPrcpList("choi",obj);
  5937. sGridfocus = "1";
  5938. }
  5939. function group1_switch1_case_prcplist_grd_addprcp_ondrop(obj:Grid, e:GridDragEventInfo)
  5940. {
  5941. fExePtNoDragDrop(grd_addprcp, "1");
  5942. }
  5943. function group1_switch1_case_prcplist_grd_addprcp_onmousedown(obj:Grid, e:GridMouseEventInfo)
  5944. {
  5945. lpzfExeGridPopUpMenu(grd_addprcp, "ds_hidden_popupmenu", "nm", "funt", "Y");
  5946. }
  5947. function group1_switch1_case_prcplist_grd_addprcp_onkillfocus(obj:Grid, e:KillFocusEventInfo)
  5948. {
  5949. // lpzfExeGridPopUpMenu(grd_addprcp, "ds_hidden_popupmenu", "nm", "funt", "N");
  5950. }
  5951. function group1_switch1_case_prcplist_grd_addprcp_onexpandup(obj:Grid, e:GridMouseEventInfo)
  5952. {
  5953. fExeReqCntsView("ds_main_orgprcp_orgprcplist", grd_addprcp, grd_addprcp.row, grd_addprcp.col);
  5954. }
  5955. function group1_switch1_case_prcplist_grd_addprcp_onsetfocus(obj:Grid, e:SetFocusEventInfo)
  5956. {
  5957. sGridFlagCd = "0";
  5958. }
  5959. function group1_switch1_case_prcplist_grd_relprcp_oncellclick(obj:Grid, e:GridClickEventInfo)
  5960. {
  5961. fExeChoiPrcpList("choi",obj);
  5962. }
  5963. function group1_switch1_case_prcplist_grd_relprcp_onmousedown(obj:Grid, e:GridMouseEventInfo)
  5964. {
  5965. lpzfExeGridPopUpMenu(grd_orgprcp, "ds_hidden_popupmenu", "nm", "funt", "Y");
  5966. }
  5967. function group1_switch1_case_prcplist_grd_relprcp_onkillfocus(obj:Grid, e:KillFocusEventInfo)
  5968. {
  5969. lpzfExeGridPopUpMenu(grd_orgprcp, "ds_hidden_popupmenu", "nm", "funt", "N");
  5970. }
  5971. function group1_switch1_case_prcplist_grd_relprcp_onexpandup(obj:Grid, e:GridMouseEventInfo)
  5972. {
  5973. fExeReqCntsView("ds_main_orgprcp_orgprcplist", grd_relprcp, grd_relprcp.row, grd_relprcp.col);
  5974. }
  5975. function group1_switch2_case_bfptno_grd_bfptno_ondrag(obj:Grid, e:GridDragEventInfo)
  5976. {
  5977. // if(e.row < 0 || e.col < 0) return false;
  5978. //
  5979. // //fPrmsDiagSetDrag();
  5980. //
  5981. // fAddColDragStart(obj, e);
  5982. //
  5983. // return true;
  5984. }
  5985. function group1_switch2_case_bfptno_grd_bfptno_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  5986. {
  5987. fExeRsltRefCall(obj, e);
  5988. }
  5989. function group1_switch2_case_mnoptno_grd_mnoptno_ondrag(obj:Grid, e:GridDragEventInfo)
  5990. {
  5991. fExePtNoDragStart(obj);
  5992. }
  5993. function group1_radio1_onitemclick(obj:Radio, e:RadioMouseEventInfo)
  5994. {
  5995. fExePtnoHistoryChoice();
  5996. }
  5997. function lpzfExeFrmPrnt1(pDs)
  5998. {
  5999. var sProp = "top:0px;left:0px;width:0;height:0;";
  6000. //오브잭트 선언 후 부모창에서 데이터셋에 담아 보내준 값 담기
  6001. var objRetVal= new Object();
  6002. objRetVal.instcd = sysf_getUserInfo("dutplceinstcd"); //기관코드
  6003. objRetVal.ptno = pDs.getColumn(0,"ptno"); //병리번호
  6004. objRetVal.pid = pDs.getColumn(0,"pid");
  6005. objRetVal.acptdd = pDs.getColumn(0,"acptdd");
  6006. objRetVal.prcpgenrflag = pDs.getColumn(0,"prcpgenrflag"); --
  6007. objRetVal.reptflagcd = pDs.getColumn(0,"reptflagcd"); //출력구분코드 (0:의뢰지, 1:보고서) --
  6008. objRetVal.adddiagprtn = pDs.getColumn(0,"adddiagprtn");
  6009. objRetVal.adddiaglist = pDs.getColumn(0,"adddiaglist");
  6010. objRetVal.addrsltlist = pDs.getColumn(0,"addrsltlist");
  6011. objRetVal.prntflagcd = pDs.getColumn(0,"prntflagcd"); // 출력(0), 미리보기(1)
  6012. objRetVal.copyflagcd = pDs.getColumn(0,"copyflagcd"); // 의뢰지/보고서(0), 복사본(1)
  6013. //출력 및 미리보기 여부 수정해야함\
  6014. trace("ptno="+pDs.getColumn(0, "ptno"))
  6015. trace("pid="+pDs.getColumn(0, "pid"))
  6016. trace("acptdd="+pDs.getColumn(0, "acptdd"))
  6017. trace("prcpgenrflag="+pDs.getColumn(0, "prcpgenrflag"))
  6018. trace("reptflagcd="+pDs.getColumn(0, "reptflagcd"))
  6019. trace("prntflagcd="+pDs.getColumn(0, "prntflagcd"))
  6020. trace("copyflagcd="+pDs.getColumn(0, "copyflagcd"))
  6021. var objArg = new Object();
  6022. objArg.arg_sSetupInfo = ds_main_acptrslt_acptrsltlist;
  6023. if(pDs.getColumn(0,"prntflagcd") == "0")
  6024. {
  6025. frmf_modal("SPLPP01600", "SPLPP01600", objRetVal, null, null, null, null, null, null, null, null, null, "P");
  6026. }
  6027. else
  6028. {
  6029. frmf_modal("SPLPP01600", "SPLPP01600", objRetVal, null, null, null, null, null, null, null, null, null, "P");
  6030. }
  6031. }
  6032. function group1_switch1_case_prcplist_grd_orgprcp_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
  6033. {
  6034. if(e.row > -1)
  6035. {
  6036. var gNmae = obj.name;
  6037. dsf_createDsRow("ds_grd",[{col: "nm", val: gNmae}]);
  6038. frmf_setPopupMenuDs( "pmn_popupMenu", [{id: "lf_ExeDelPtno", level: "0", title: "▶ 병리번호삭제"}
  6039. ,{id: "lf_ExeDelRelaPtno", level: "0", title: "▶ 관련병리번호삭제"}]);
  6040. pmn_popupMenu.trackPopup(e.screenX,e.screenY);
  6041. }
  6042. }
  6043. //우클릭 팝업
  6044. function group1_switch1_case_prcplist_grd_addprcp_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
  6045. {
  6046. var gNmae = obj.name;
  6047. dsf_createDsRow("ds_grd",[{col: "nm", val: gNmae}
  6048. ]);
  6049. if(e.row > -1)
  6050. {
  6051. frmf_setPopupMenuDs( "pmn_popupMenu", [{id: "lf_ExeDelPtno", level: "0", title: "▶ 병리번호삭제"}
  6052. ,{id: "lf_ExeDelRelaPtno", level: "0", title: "▶ 관련병리번호삭제"}]);
  6053. pmn_popupMenu.trackPopup(e.screenX,e.screenY);
  6054. }
  6055. }
  6056. //우클릭조회
  6057. function pmn_popupMenu_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
  6058. {
  6059. if(e.id == "lf_ExeDelPtno")
  6060. {
  6061. lf_ExeDelPtno(obj);
  6062. }
  6063. if(e.id == "lf_ExeDelRelaPtno")
  6064. {
  6065. lf_ExeDelRelaPtno(obj);
  6066. }
  6067. if(e.id == "lf_ExePreBcno")
  6068. {
  6069. lf_ExePreBcno(obj);
  6070. }
  6071. if(e.id == "lf_ExeRelaptno")
  6072. {
  6073. lf_ExeRelaptno(obj);
  6074. }
  6075. if(e.id == "lf_ExePreBcno1")
  6076. {
  6077. lf_ExePreBcno1(obj);
  6078. }
  6079. }
  6080. function group1_switch2_case_bfptno_grd_bfptno_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
  6081. {
  6082. var gNmae = obj.name;
  6083. dsf_createDsRow("ds_grd",[{col: "nm", val: gNmae}]);
  6084. if(e.row > -1)
  6085. {
  6086. frmf_setPopupMenuDs( "pmn_popupMenu", [{id: "lf_ExePreBcno", level: "0", title: "▶이전병리번호사용"}
  6087. ,{id: "lf_ExeRelaptno", level: "0", title: "▶관련병리번호사용"}]);
  6088. pmn_popupMenu.trackPopup(e.screenX,e.screenY);
  6089. }
  6090. }
  6091. function lf_ExePreBcno()
  6092. {
  6093. var gNmae = ""
  6094. var iRowNo = 0;
  6095. var objGrid = "";
  6096. var sOrgNode = "ds_main_orgprcp_orgprcplist";
  6097. var sAddNode = "ds_main_addprcp_addprcplist";
  6098. var sNode = "";
  6099. var ptno = ds_main_bfptnohist_ptnohistlist.getColumn(ds_main_bfptnohist_ptnohistlist.rowposition,"view_ptno");
  6100. trace("sGridfocus = " + sGridfocus);
  6101. if(sGridfocus == "0")
  6102. {
  6103. gNmae = "grd_orgprcp"
  6104. }
  6105. else
  6106. {
  6107. gNmae = "grd_addprcp"
  6108. }
  6109. if(gNmae == "grd_orgprcp")
  6110. {
  6111. iRowNo = ds_main_orgprcp_orgprcplist.rowposition;
  6112. objGrid = gNmae;
  6113. }
  6114. else if (gNmae == "grd_addprcp")
  6115. {
  6116. iRowNo = ds_main_addprcp_addprcplist.rowposition;
  6117. objGrid = gNmae;
  6118. }
  6119. if (gNmae == "grd_orgprcp")
  6120. {
  6121. ds_main_orgprcp_orgprcplist.setColumn(iRowNo,"view_ptno", ptno);
  6122. ds_main_orgprcp_orgprcplist.setColumn(iRowNo,"ptno", ptno.replace('-',''));
  6123. ds_main_orgprcp_orgprcplist.setColumn(iRowNo,"reuseflagcd", "0");
  6124. frmf_setParameter("reuseflagcd", "0");
  6125. }
  6126. else
  6127. {
  6128. ds_main_addprcp_addprcplist.setColumn(iRowNo,"view_ptno", ptno);
  6129. ds_main_addprcp_addprcplist.setColumn(iRowNo,"ptno", ptno.replace('-',''));
  6130. ds_main_addprcp_addprcplist.setColumn(iRowNo,"reuseflagcd", "0");
  6131. frmf_setParameter("reuseflagcd", "0");
  6132. }
  6133. dsf_createDsRow("ds_send_prcp",[{col: "pid", val: ""}
  6134. , {col: "ptno", val: ""}
  6135. , {col: "dispptno", val: ""}
  6136. , {col: "instcd", val: ""}
  6137. , {col: "bfptnocnclptno", val: ""}
  6138. , {col: "bfacptdd", val: ""}
  6139. , {col: "bfacptno", val: ""}
  6140. , {col: "bfacptseqno", val: ""}
  6141. , {col: "bfptnocnclptno", val: ""}
  6142. , {col: "reuseflagcd", val: ""}
  6143. , {col: "bfspcacptdd", val: ""}
  6144. , {col: "bfspcacptno", val: ""}]);
  6145. }
  6146. function lf_ExePreBcno1()
  6147. {
  6148. var gNmae = ""
  6149. var iRowNo = 0;
  6150. var objGrid = "";
  6151. var sOrgNode = "ds_main_orgprcp_orgprcplist";
  6152. var sAddNode = "ds_main_addprcp_addprcplist";
  6153. var sNode = "";
  6154. var ptno = ds_main_mnoptnohist_ptnohistlist.getColumn(ds_main_mnoptnohist_ptnohistlist.rowposition,"view_ptno");
  6155. var prcp_row = ds_main_orgprcp_orgprcplist.findRow("choi", "true");
  6156. var add_row = ds_main_addprcp_addprcplist.findRow("choi", "true");
  6157. trace("sGridfocus = " + sGridfocus);
  6158. if(sGridfocus == "0")
  6159. {
  6160. gNmae = "grd_orgprcp"
  6161. }
  6162. else
  6163. {
  6164. gNmae = "grd_addprcp"
  6165. }
  6166. //-----------------------
  6167. if (gNmae == "grd_orgprcp")
  6168. {
  6169. iRowNo = ds_main_orgprcp_orgprcplist.rowposition;
  6170. objGrid = gNmae;
  6171. }
  6172. else if (gNmae == "grd_addprcp")
  6173. {
  6174. iRowNo = ds_main_addprcp_addprcplist.rowposition;
  6175. objGrid = gNmae;
  6176. }
  6177. if (gNmae == "grd_orgprcp")
  6178. {
  6179. ds_main_orgprcp_orgprcplist.setColumn(iRowNo,"view_ptno", ptno);
  6180. ds_main_orgprcp_orgprcplist.setColumn(iRowNo,"ptno", ptno.replace('-',''));
  6181. ds_main_orgprcp_orgprcplist.setColumn(iRowNo,"reuseflagcd", "0");
  6182. frmf_setParameter("reuseflagcd", "0");
  6183. }
  6184. else
  6185. {
  6186. ds_main_addprcp_addprcplist.setColumn(iRowNo,"view_ptno", ptno);
  6187. ds_main_addprcp_addprcplist.setColumn(iRowNo,"ptno", ptno.replace('-',''));
  6188. ds_main_addprcp_addprcplist.setColumn(iRowNo,"reuseflagcd", "0");
  6189. frmf_setParameter("reuseflagcd", "0");
  6190. }
  6191. dsf_createDsRow("ds_send_prcp",[{col: "pid", val: ""}
  6192. , {col: "ptno", val: ""}
  6193. , {col: "dispptno", val: ""}
  6194. , {col: "instcd", val: ""}
  6195. , {col: "bfptnocnclptno", val: ""}
  6196. , {col: "bfacptdd", val: ""}
  6197. , {col: "bfacptno", val: ""}
  6198. , {col: "bfacptseqno", val: ""}
  6199. , {col: "bfptnocnclptno", val: ""}
  6200. , {col: "reuseflagcd", val: ""}
  6201. , {col: "bfspcacptdd", val: ""}
  6202. , {col: "bfspcacptno", val: ""}]);
  6203. }
  6204. function lf_ExeRelaptno()
  6205. {
  6206. var gNmae = ""
  6207. var iRowNo = 0;
  6208. var objGrid = "";
  6209. var sOrgNode = "ds_main_orgprcp_orgprcplist";
  6210. var sAddNode = "ds_main_addprcp_addprcplist";
  6211. var sNode = "";
  6212. var ptno = ds_main_bfptnohist_ptnohistlist.getColumn(ds_main_bfptnohist_ptnohistlist.rowposition,"view_ptno");
  6213. var prcp_row = ds_main_orgprcp_orgprcplist.findRow("choi", "true");
  6214. var add_row = ds_main_addprcp_addprcplist.findRow("choi", "true");
  6215. trace("sGridfocus = " + sGridfocus);
  6216. if(sGridfocus == "0")
  6217. {
  6218. gNmae = "grd_orgprcp"
  6219. }
  6220. else
  6221. {
  6222. gNmae = "grd_addprcp"
  6223. }
  6224. if (gNmae == "grd_orgprcp")
  6225. {
  6226. iRowNo = ds_main_orgprcp_orgprcplist.rowposition;
  6227. objGrid = gNmae;
  6228. }
  6229. else if (gNmae == "grd_addprcp")
  6230. {
  6231. iRowNo = ds_main_addprcp_addprcplist.rowposition;
  6232. objGrid = gNmae;
  6233. }
  6234. //-----------------------------------------------------
  6235. if (gNmae == "grd_orgprcp")
  6236. {
  6237. ds_main_orgprcp_orgprcplist.setColumn(iRowNo,"view_relaptno", ptno);
  6238. ds_main_orgprcp_orgprcplist.setColumn(iRowNo,"relaptno", ptno.replace('-',''));
  6239. ds_main_orgprcp_orgprcplist.setColumn(iRowNo,"reuseflagcd", "1");
  6240. frmf_setParameter("reuseflagcd", "1");
  6241. }
  6242. else
  6243. {
  6244. ds_main_addprcp_addprcplist.setColumn(iRowNo,"view_relaptno", ptno);
  6245. ds_main_addprcp_addprcplist.setColumn(iRowNo,"relaptno", ptno.replace('-',''));
  6246. ds_main_addprcp_addprcplist.setColumn(iRowNo,"reuseflagcd", "1");
  6247. frmf_setParameter("reuseflagcd", "1");
  6248. }
  6249. dsf_createDsRow("ds_send_prcp",[{col: "pid", val: ""}
  6250. , {col: "ptno", val: ""}
  6251. , {col: "dispptno", val: ""}
  6252. , {col: "instcd", val: ""}
  6253. , {col: "bfptnocnclptno", val: ""}
  6254. , {col: "bfacptdd", val: ""}
  6255. , {col: "bfacptno", val: ""}
  6256. , {col: "bfacptseqno", val: ""}
  6257. , {col: "bfptnocnclptno", val: ""}
  6258. , {col: "reuseflagcd", val: ""}
  6259. , {col: "bfspcacptdd", val: ""}
  6260. , {col: "bfspcacptno", val: ""}]);
  6261. }
  6262. function group1_switch2_case_mnoptno_grd_mnoptno_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
  6263. {
  6264. var gNmae = obj.name;
  6265. dsf_createDsRow("ds_grd",[{col: "nm", val: gNmae}]);
  6266. if(e.row > -1)
  6267. {
  6268. frmf_setPopupMenuDs( "pmn_popupMenu", [{id: "lf_ExePreBcno1", level: "0", title: "▶이전병리번호사용"}]);
  6269. pmn_popupMenu.trackPopup(e.screenX,e.screenY);
  6270. }
  6271. }
  6272. function group1_grp_acptenv_cmb_grostestdr_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  6273. {
  6274. var jobkind = ds_init_cmb_readdr.getColumn(0, "jobkindcd");
  6275. var userid = ds_hidden_acptenv.getColumn(0, "grostestdr");
  6276. var instcode = ds_hidden_userinfo.getColumn(0, "instcd");
  6277. dsf_createDsRow("ds_temp_send", [{col : "userid", val : userid}
  6278. ,{col : "instcd", val : instcode}]);
  6279. var oParam = {};
  6280. //oParam.id = "TRLPJ00308";
  6281. oParam.service = "plgyacptmngtapp.SpecimenAccept";
  6282. oParam.method = "reqGetDrSchedule2";
  6283. oParam.inds = "refData=ds_temp_send";
  6284. oParam.outds = "ds_result=result";
  6285. oParam.async = false;
  6286. //oParam.callback = "cf_TRLPJ00308";
  6287. tranf_submit(oParam);
  6288. if(ds_result.getColumn(0, "resultmsg") == "N")
  6289. {
  6290. alert("퇴직처리 되어있으므로 선택할 수 없습니다.");
  6291. ds_hidden_acptenv.setColumn(0, "grostestdr", 0);
  6292. return;
  6293. }
  6294. else if ( ds_result.getColumn(0, "resultmsg") == "M")
  6295. {
  6296. alert("휴직처리 되어있으므로 선택할 수 없습니다.");
  6297. ds_hidden_acptenv.setColumn(0, "grostestdr", 0);
  6298. return;
  6299. }
  6300. else if ( ds_result.getColumn(0, "resultmsg") == "S")
  6301. {
  6302. alert("현재 휴진상태이므로 선택할 수 없습니다.");
  6303. ds_hidden_acptenv.setColumn(0, "grostestdr", 0);
  6304. return;
  6305. }
  6306. }
  6307. ]]></Script>
  6308. </Form>
  6309. </FDL>