1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAEA01500" position="absolute 0 0 1193 786" titletext="접수관리(내시경)" oninit="SMAEA01500_oninit" onload="SMAEA01500_onload" ontimer="SMAEA01500_ontimer">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 1179 25" id="group1">
- <Layouts>
- <Layout>
- <Static text="접수관리 " position="absolute 0 0 140 25" id="cap_title" class="tit_1" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 18 1190 784" id="group3" scrollbars="autoboth" anchor="all">
- <Layouts>
- <Layout>
- <Button position="absolute 1173 5 1189 25" id="btn_upclear" class="icon_startend" text="" onclick="group3_btn_upclear_onclick" anchor="top right" style="background:@gradation URL('theme://images\icon_startend.gif');border:0 double #33bbbbff #effcfbff;"/>
- <Static text="등록번호" position="absolute 500 26 557 49" align="align:center middle;" id="caption18" class="cell_1" wordwrap="none" anchor="default" style="padding:0 0 0 4;"/>
- <Div position="absolute 0 6 495 63" align="align:center top;" id="group6" class="div_SA" anchor="default">
- <Layouts>
- <Layout>
- <Shape position="absolute 415 10 421 27" linetype="vertical" id="line18" class="line_4" anchor="default"/>
- <Static text="업무일자 : " position="absolute 9 10 100 27" id="caption5" class="search_name" anchor="default"/>
- <Calendar position="absolute 96 7 186 26" id="ipt_date1" class="input_default" anchor="default" dateformat="yyyy-MM-dd" value="null" autoselect="true"/>
- <Button position="absolute 429 8 485 30" id="btn_sea" class="btn1" text="조회" anchor="default" onclick="group3_group6_btn_sea_onclick"/>
- <Static text="등록번호 :" position="absolute 200 10 291 27" id="caption11" class="search_name" anchor="default"/>
- <Edit position="absolute 289 7 382 26" id="input5" class="input_search" anchor="default" onkeydown="group3_group6_input5_onkeydown" autoselect="true"/>
- <Button position="absolute 389 8 405 24" id="button61" class="icon_search" text="" anchor="default" onclick="group3_group6_button61_onclick"/>
- <Static text="구분 :" position="absolute 200 33 266 50" id="caption17" class="search_name" anchor="default"/>
- <Radio position="absolute 264 32 460 48" id="rdo_srchprcpgenrflag" class="radio_search" columncount="4" rowcount="1" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">
- </Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">I</Col>
- <Col id="datacolumn">입원</Col>
- </Row>
- <Row>
- <Col id="codecolumn">O</Col>
- <Col id="datacolumn">외래</Col>
- </Row>
- <Row>
- <Col id="codecolumn">E</Col>
- <Col id="datacolumn">응급</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Radio position="absolute 112 32 177 48" id="radio2" class="radio_search" columncount="3" rowcount="1" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">00000000</Col>
- <Col id="datacolumn">N</Col>
- </Row>
- <Row>
- <Col id="codecolumn">
- </Col>
- <Col id="datacolumn">Y</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static text="미수납포함 :" position="absolute 9 33 108 50" id="caption14" class="search_name" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Tab position="absolute 0 229 495 766" id="switch1" onchanged="group3_switch1_onchanged" style="border:1 none #808080ff ;" class="tab_Normal" anchor="left top bottom">
- <Tabpages>
- <Tabpage text="미예약" id="case5" scrollbars="none">
- <Layouts>
- <Layout>
- <Shape position="absolute 4 6 488 14" linetype="horizontal" id="line7" class="line_10" anchor="default"/>
- <Grid position="absolute 4 12 488 516" id="grd_subordlist1" binddataset="ds_grd_subordlist1" oncellclick="group3_switch1_case5_grd_subordlist1_oncellclick" cellsizingtype="col" anchor="all" onrbuttonup="group3_switch1_case5_grd_subordlist1_onrbuttonup" selecttype="multirow">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="55"/>
- <Column size="48"/>
- <Column size="40"/>
- <Column size="210"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="47"/>
- <Column size="36"/>
- <Column size="67"/>
- <Column size="67"/>
- <Column size="35"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="등록번호"/>
- <Cell col="2" text="환자명"/>
- <Cell col="3" text="S/A"/>
- <Cell col="4" text="검사"/>
- <Cell col="5" text="검사"/>
- <Cell col="6" text="진료과"/>
- <Cell col="7" text="진료의"/>
- <Cell col="8" text="구분"/>
- <Cell col="9" text="희망일자"/>
- <Cell col="10" text="처방일자"/>
- <Cell col="11" text="수납"/>
- <Cell col="12" text="선택진료"/>
- <Cell col="13" text="지정의"/>
- <Cell col="14" text="execprcpuniqno"/>
- <Cell col="15" text="prcpkindcd"/>
- <Cell col="16" text="excupartcd"/>
- <Cell col="17" text="orddeptcd"/>
- <Cell col="18" text="orddd"/>
- <Cell col="19" text="excuroomcd"/>
- <Cell col="20" text="orddrid"/>
- <Cell col="21" text="prcpgenrflag"/>
- <Cell col="22" text="basesuppdeptcd"/>
- <Cell col="23" text="prcpdelivefact"/>
- <Cell col="24" text="prcpexecdeptcd"/>
- <Cell col="25" text="rsrvrem"/>
- <Cell col="26" text="execrem"/>
- <Cell col="27" text="rsrvdt"/>
- <Cell col="28" text="cretno"/>
- <Cell col="29" text="excupartnm"/>
- <Cell col="30" text="ioflag"/>
- <Cell col="31" text="issdept"/>
- <Cell col="32" text="caption1"/>
- <Cell col="33" text="age"/>
- <Cell col="34" text="rcptacptyn"/>
- <Cell col="35" text="rcptrsrvyn"/>
- <Cell col="36" text="aftrcptinfo"/>
- <Cell col="37" text="caption2"/>
- <Cell col="38" text="caption3"/>
- <Cell col="39" text="caption4"/>
- <Cell col="40" text="caption5"/>
- <Cell col="41"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" style="color:EXPR(vipflag == 'Y' ? '#FF9A00' : '');color2:EXPR(vipflag == 'Y' ? '#FF9A00' : '');" text="bind:pid"/>
- <Cell col="2" style="align:left;" text="bind:hngnm"/>
- <Cell col="3" text="bind:sna"/>
- <Cell col="4" style="align:left;" text="bind:prcpnm"/>
- <Cell col="5" text="bind:calcscorcd"/>
- <Cell col="6" displaytype="text" text="bind:orddepthngnm"/>
- <Cell col="7" text="bind:orddrnm"/>
- <Cell col="8" text="bind:genrflag"/>
- <Cell col="9" displaytype="date" text="bind:prcphopedt" calendardisplaynulltype="nulltext"/>
- <Cell col="10" displaytype="date" text="bind:prcpdd" calendardisplaynulltype="nulltext"/>
- <Cell col="11" text="bind:rcptyn"/>
- <Cell col="12" text="bind:choiordflag"/>
- <Cell col="13" text="bind:specdrnm"/>
- <Cell col="14" text="bind:execprcpuniqno"/>
- <Cell col="15" text="bind:prcpkindcd"/>
- <Cell col="16" text="bind:excupartnm"/>
- <Cell col="17" text="bind:orddeptcd"/>
- <Cell col="18" text="bind:orddd"/>
- <Cell col="19" text="bind:excuroomcd"/>
- <Cell col="20" text="bind:orddrid"/>
- <Cell col="21" text="bind:prcpgenrflag"/>
- <Cell col="22" text="bind:basesuppdeptcd"/>
- <Cell col="23" text="bind:prcpdelivefact"/>
- <Cell col="24" text="bind:prcpexecdeptcd"/>
- <Cell col="25" text="bind:rsrvrem"/>
- <Cell col="26" text="bind:execrem"/>
- <Cell col="27" text="bind:rsrvdt"/>
- <Cell col="28" text="bind:cretno"/>
- <Cell col="29" text="bind:excupartcd"/>
- <Cell col="30" text="bind:ioflag"/>
- <Cell col="31" text="bind:issdept"/>
- <Cell col="32" text="bind:tmpldata"/>
- <Cell col="33" text="bind:rgstrid"/>
- <Cell col="34" text="bind:inflag"/>
- <Cell col="35" text="bind:execbaseflag"/>
- <Cell col="36" text="bind:aftrcptinfo"/>
- <Cell col="37" text="bind:rsrvtmplcd"/>
- <Cell col="38" text="bind:rsrvmultitmplcd"/>
- <Cell col="39" text="bind:emryn"/>
- <Cell col="40" text="bind:bf_srchrsrvtm"/>
- <Cell col="41" text="bind:execdd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="예약" position="absolute 0 0 493 638" id="case1" scrollbars="none">
- <Layouts>
- <Layout>
- <Shape position="absolute 4 7 488 13" linetype="horizontal" id="line3" class="line_10" anchor="default"/>
- <Grid position="absolute 4 12 488 516" id="grd_mainordlist1" binddataset="ds_grd_mainordlist1" oncellclick="group3_switch1_case1_grd_mainordlist1_oncellclick" cellsizingtype="col" anchor="all" selecttype="multirow" onlbuttonup="group3_switch1_case1_grd_mainordlist1_onlbuttonup" onrbuttonup="group3_switch1_case1_grd_mainordlist1_onrbuttonup">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="32" band="left"/>
- <Column size="58"/>
- <Column size="55"/>
- <Column size="62"/>
- <Column size="48"/>
- <Column size="36"/>
- <Column size="176"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="50"/>
- <Column size="34"/>
- <Column size="39"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="접수"/>
- <Cell col="2" text="실배정"/>
- <Cell col="3" text="예약시간"/>
- <Cell col="4" text="등록번호"/>
- <Cell col="5" text="환자명"/>
- <Cell col="6" text="S/A"/>
- <Cell col="7" text="검사"/>
- <Cell col="8" text="검사"/>
- <Cell col="9" text="진료과"/>
- <Cell col="10" text="진료의"/>
- <Cell col="11" text="구분"/>
- <Cell col="12" text="수납"/>
- <Cell col="13" text="선택진료"/>
- <Cell col="14" text="지정의"/>
- <Cell col="15" text="prcpdd"/>
- <Cell col="16" text="prcpkindcd"/>
- <Cell col="17" text="prcpgenrflag"/>
- <Cell col="18" text="excupartcd"/>
- <Cell col="19" text="prcphopedt"/>
- <Cell col="20" text="execprcpuniqno"/>
- <Cell col="21" text="prcpexecdeptcd"/>
- <Cell col="22" text="rgstdeptcd"/>
- <Cell col="23" text="rgstrid"/>
- <Cell col="24" text="portprcpflag"/>
- <Cell col="25" text="inflag"/>
- <Cell col="26" text="execbaseflag"/>
- <Cell col="27" text="lrgcd"/>
- <Cell col="28" text="mdlcd"/>
- <Cell col="29" text="modality"/>
- <Cell col="30" text="pacsnocretyn"/>
- <Cell col="31" text="prcpdelivefact"/>
- <Cell col="32" text="orddepthngnm"/>
- <Cell col="33" text="orddd"/>
- <Cell col="34" text="orddeptcd"/>
- <Cell col="35" text="patnm"/>
- <Cell col="36" text="orddrid"/>
- <Cell col="37" text="execprcpstatcd"/>
- <Cell col="38" text="eqmtifyn"/>
- <Cell col="39" text="basesuppdeptcd"/>
- <Cell col="40" text="rsrvdt"/>
- <Cell col="41" text="cretno"/>
- <Cell col="42" text="rsrvrem"/>
- <Cell col="43" text="acptrem"/>
- <Cell col="44" text="inclprcpcd"/>
- <Cell col="45" text="lrgcd"/>
- <Cell col="46" text="mdlcd"/>
- <Cell col="47" text="actorddd"/>
- <Cell col="48" text="examroomnm"/>
- <Cell col="49" text="excupartnm"/>
- <Cell col="50" text="roomcd"/>
- <Cell col="51" text="wardcd"/>
- <Cell col="52" text="root"/>
- <Cell col="53" text="prcphistno"/>
- <Cell col="54" text="ioflag"/>
- <Cell col="55" text="issdept"/>
- <Cell col="56" text="caption1"/>
- <Cell col="57" text="caption2"/>
- <Cell col="58" text="caption3"/>
- <Cell col="59" text="caption4"/>
- <Cell col="60" text="age"/>
- <Cell col="61" text="rcptacptyn"/>
- <Cell col="62" text="rcptrsrvyn"/>
- <Cell col="63" text="aftrcptinfo"/>
- <Cell col="64" text="caption5"/>
- <Cell col="65" text="caption6"/>
- <Cell col="66" text="caption7"/>
- <Cell col="67" text="caption8"/>
- <Cell col="68"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:check" expr="check =='Y'||check=='1'?1:0"/>
- <Cell col="2" displaytype="combo" edittype="combo" style="padding:1 2 1 2;" text="bind:excuroomcd" combodataset="ds_init_cmb_excuroom" combocodecol="excuroomcdid" combodatacol="excuroomcdnm" enable="true"/>
- <Cell col="3" displaytype="date" text="bind:rsrvtm" mask="HH:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="4" style="color:EXPR(vipflag == 'Y' ? '#FF9A00' : '');color2:EXPR(vipflag == 'Y' ? '#FF9A00' : '');" text="bind:pid"/>
- <Cell col="5" style="align:left;" text="bind:hngnm"/>
- <Cell col="6" text="bind:sna"/>
- <Cell col="7" style="align:left;" text="bind:prcpnm"/>
- <Cell col="8" text="bind:calcscorcd"/>
- <Cell col="9" displaytype="text" text="bind:orddepthngnm"/>
- <Cell col="10" text="bind:orddrnm"/>
- <Cell col="11" text="bind:genrflag"/>
- <Cell col="12" text="bind:rcptyn"/>
- <Cell col="13" text="bind:choiordflag"/>
- <Cell col="14" text="bind:specdrnm"/>
- <Cell col="15" text="bind:prcpdd"/>
- <Cell col="16" text="bind:prcpkindcd"/>
- <Cell col="17" text="bind:prcpgenrflag"/>
- <Cell col="18" text="bind:excupartnm"/>
- <Cell col="19" text="bind:prcphopedt"/>
- <Cell col="20" text="bind:execprcpuniqno"/>
- <Cell col="21" text="bind:prcpexecdeptcd"/>
- <Cell col="22" text="bind:rgstdeptcd"/>
- <Cell col="23" text="bind:rgstrid"/>
- <Cell col="24" text="bind:portprcpflag"/>
- <Cell col="25" text="bind:inflag"/>
- <Cell col="26" text="bind:execbaseflag"/>
- <Cell col="27" text="bind:lrgcd"/>
- <Cell col="28" text="bind:mdlcd"/>
- <Cell col="29" text="bind:modality"/>
- <Cell col="30" text="bind:pacsnocretyn"/>
- <Cell col="31" text="bind:prcpdelivefact"/>
- <Cell col="32" text="bind:orddepthngnm"/>
- <Cell col="33" text="bind:orddd"/>
- <Cell col="34" text="bind:orddeptcd"/>
- <Cell col="35" text="bind:patnm"/>
- <Cell col="36" text="bind:orddrid"/>
- <Cell col="37" text="bind:execprcpstatcd"/>
- <Cell col="38" text="bind:eqmtifyn"/>
- <Cell col="39" text="bind:basesuppdeptcd"/>
- <Cell col="40" text="bind:rsrvdt"/>
- <Cell col="41" text="bind:cretno"/>
- <Cell col="42" text="bind:rsrvrem"/>
- <Cell col="43" text="bind:acptrem"/>
- <Cell col="44" text="bind:inclprcpcd"/>
- <Cell col="45" text="bind:lrgcd"/>
- <Cell col="46" text="bind:mdlcd"/>
- <Cell col="47" text="bind:actorddd"/>
- <Cell col="48" text="bind:excupartcd"/>
- <Cell col="49" text="bind:roomcd"/>
- <Cell col="50" text="bind:wardcd"/>
- <Cell col="51" text="bind:root"/>
- <Cell col="52" text="bind:prcphistno"/>
- <Cell col="53" text="bind:ioflag"/>
- <Cell col="54" text="bind:issdept"/>
- <Cell col="55" text="bind:tmpldata"/>
- <Cell col="56" text="bind:prcpnm"/>
- <Cell col="57" text="bind:prcpno"/>
- <Cell col="58" text="bind:cdisexamroomnm"/>
- <Cell col="59" text="bind:cdisexcuroomcd"/>
- <Cell col="60" text="bind:age"/>
- <Cell col="61" text="bind:rcptrsrvyn"/>
- <Cell col="62" text="bind:rcptacptyn"/>
- <Cell col="63" text="bind:aftrcptinfo"/>
- <Cell col="64" text="bind:rsrvtmplcd"/>
- <Cell col="65" text="bind:rsrvmultitmplcd"/>
- <Cell col="66" text="bind:emryn"/>
- <Cell col="67" text="bind:bf_srchrsrvtm"/>
- <Cell col="68" text="bind:execdd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <ActiveX position="absolute 300 295 420 390" id="rtfviewer" progid="{a4bf7e18-5f67-4868-a726-eed421632374}" visible="false" anchor="default"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="접수" id="case2" scrollbars="none">
- <Layouts>
- <Layout>
- <Grid position="absolute 4 12 488 516" id="grd_mainordlist2" binddataset="ds_grd_mainordlist2" oncellclick="group3_switch1_case2_grd_mainordlist2_oncellclick" cellsizingtype="col" anchor="all" selecttype="multirow" onrbuttonup="group3_switch1_case2_grd_mainordlist2_onrbuttonup">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="32" band="left"/>
- <Column size="58"/>
- <Column size="55"/>
- <Column size="60"/>
- <Column size="48"/>
- <Column size="45"/>
- <Column size="40"/>
- <Column size="199"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="50"/>
- <Column size="36"/>
- <Column size="36"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="78"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="접수"/>
- <Cell col="2" text="실배정"/>
- <Cell col="3" text="예약시간"/>
- <Cell col="4" text="등록번호"/>
- <Cell col="5" text="환자명"/>
- <Cell col="6" text="S/A"/>
- <Cell col="7" text="진정"/>
- <Cell col="8" text="검사"/>
- <Cell col="9" text="검사"/>
- <Cell col="10" text="진료과"/>
- <Cell col="11" text="진료의"/>
- <Cell col="12" text="구분"/>
- <Cell col="13" text="수납"/>
- <Cell col="14" text="선택진료"/>
- <Cell col="15" text="지정의"/>
- <Cell col="16" text="검사의"/>
- <Cell col="17" text="prcpdelivefact"/>
- <Cell col="18" text="rsrvrem"/>
- <Cell col="19" text="excupartcd"/>
- <Cell col="20" text="prcpdd"/>
- <Cell col="21" text="prcpkindcd"/>
- <Cell col="22" text="prcpgenrflag"/>
- <Cell col="23" text="prcphopedt"/>
- <Cell col="24" text="execprcpuniqno"/>
- <Cell col="25" text="prcpexecdeptcd"/>
- <Cell col="26" text="rgstdeptcd"/>
- <Cell col="27" text="rgstrid"/>
- <Cell col="28" text="portprcpflag"/>
- <Cell col="29" text="inflag"/>
- <Cell col="30" text="rcptacptyn"/>
- <Cell col="31" text="execbaseflag"/>
- <Cell col="32" text="lrgcd"/>
- <Cell col="33" text="mdlcd"/>
- <Cell col="34" text="modality"/>
- <Cell col="35" text="pacsnocretyn"/>
- <Cell col="36" text="orddepthngnm"/>
- <Cell col="37" text="orddd"/>
- <Cell col="38" text="orddeptcd"/>
- <Cell col="39" text="orddrid"/>
- <Cell col="40" text="execprcpstatcd"/>
- <Cell col="41" text="eqmtifyn"/>
- <Cell col="42" text="basesuppdeptcd"/>
- <Cell col="43" text="cretno"/>
- <Cell col="44" text="inclprcpcd"/>
- <Cell col="45" text="rsrvdd"/>
- <Cell col="46" text="acptrem"/>
- <Cell col="47" text="excupartnm"/>
- <Cell col="48" text="ioflag"/>
- <Cell col="49" text="issdept"/>
- <Cell col="50" text="carecnfmdd"/>
- <Cell col="51" text="rcptdd"/>
- <Cell col="52" text="prcpno"/>
- <Cell col="53" text="age"/>
- <Cell col="54" text="caption1"/>
- <Cell col="55" text="caption2"/>
- <Cell col="56" text="cnclresncd"/>
- <Cell col="57" text="aftrcptinfo"/>
- <Cell col="58" text="caption3"/>
- <Cell col="59" text="caption4"/>
- <Cell col="60"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:check" expr="expr:check == 'Y' || check == '1'?1:0"/>
- <Cell col="2" displaytype="combo" edittype="combo" style="padding:1 2 1 2;" text="bind:excuroomcd" combodataset="ds_init_cmb_excuroom" combocodecol="excuroomcdid" combodatacol="excuroomcdnm" enable="true"/>
- <Cell col="3" displaytype="date" text="bind:rsrvtm" mask="HH:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="4" style="color:EXPR(vipflag == 'Y' ? '#FF9A00' : '');color2:EXPR(vipflag == 'Y' ? '#FF9A00' : '');" text="bind:pid"/>
- <Cell col="5" style="align:left;" text="bind:hngnm"/>
- <Cell col="6" text="bind:sna"/>
- <Cell col="7" text="bind:sedyn"/>
- <Cell col="8" style="align:left;" text="bind:prcpnm"/>
- <Cell col="9" text="bind:calcscorcd"/>
- <Cell col="10" displaytype="text" text="bind:orddepthngnm"/>
- <Cell col="11" text="bind:orddrnm"/>
- <Cell col="12" text="bind:genrflag"/>
- <Cell col="13" text="bind:rcptyn"/>
- <Cell col="14" text="bind:choiordflag"/>
- <Cell col="15" displaytype="combo" edittype="combo" text="bind:specdrid" enable="true"/>
- <Cell col="16" text="bind:orddrnm"/>
- <Cell col="17" text="bind:prcpdelivefact"/>
- <Cell col="18" text="bind:rsrvrem"/>
- <Cell col="19" text="bind:excupartnm"/>
- <Cell col="20" text="bind:prcpdd"/>
- <Cell col="21" text="bind:prcpkindcd"/>
- <Cell col="22" text="bind:prcpgenrflag"/>
- <Cell col="23" text="bind:prcphopedt"/>
- <Cell col="24" text="bind:execprcpuniqno"/>
- <Cell col="25" text="bind:prcpexecdeptcd"/>
- <Cell col="26" text="bind:rgstdeptcd"/>
- <Cell col="27" text="bind:rgstrid"/>
- <Cell col="28" text="bind:portprcpflag"/>
- <Cell col="29" text="bind:inflag"/>
- <Cell col="30" text="bind:rcptacptyn"/>
- <Cell col="31" text="bind:execbaseflag"/>
- <Cell col="32" text="bind:lrgcd"/>
- <Cell col="33" text="bind:mdlcd"/>
- <Cell col="34" text="bind:modality"/>
- <Cell col="35" text="bind:pacsnocretyn"/>
- <Cell col="36" text="bind:orddepthngnm"/>
- <Cell col="37" text="bind:orddd"/>
- <Cell col="38" text="bind:orddeptcd"/>
- <Cell col="39" text="bind:orddrid"/>
- <Cell col="40" text="bind:execprcpstatcd"/>
- <Cell col="41" text="bind:eqmtifyn"/>
- <Cell col="42" text="bind:basesuppdeptcd"/>
- <Cell col="43" text="bind:cretno"/>
- <Cell col="44" text="bind:inclprcpcd"/>
- <Cell col="45" text="bind:rsrvdd"/>
- <Cell col="46" text="bind:acptrem"/>
- <Cell col="47" text="bind:excupartcd"/>
- <Cell col="48" text="bind:ioflag"/>
- <Cell col="49" text="bind:issdept"/>
- <Cell col="50" text="bind:carecnfmdd"/>
- <Cell col="51" text="bind:rcptdd"/>
- <Cell col="52" text="bind:prcpno"/>
- <Cell col="53" text="bind:age"/>
- <Cell col="54" text="bind:rcptrsrvyn"/>
- <Cell col="55" text="bind:rcptacptyn"/>
- <Cell col="56" text="bind:cnclresncd"/>
- <Cell col="57" text="bind:aftrcptinfo"/>
- <Cell col="58" text="bind:emryn"/>
- <Cell col="59" text="bind:bf_srchrsrvtm"/>
- <Cell col="60" text="bind:execdd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 4 7 488 13" linetype="horizontal" id="line6" class="line_10" anchor="default"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="결과" id="case3" scrollbars="none">
- <Layouts>
- <Layout>
- <Grid position="absolute 4 12 488 516" id="grd_mainordlist3" binddataset="ds_grd_mainordlist3" oncellclick="group3_switch1_case3_grd_mainordlist3_oncellclick" cellsizingtype="col" anchor="all" selecttype="multirow" onrbuttonup="group3_switch1_case3_grd_mainordlist3_onrbuttonup">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="32" band="left"/>
- <Column size="60"/>
- <Column size="55"/>
- <Column size="60"/>
- <Column size="48"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="200"/>
- <Column size="0"/>
- <Column size="37"/>
- <Column size="31"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="72"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="접수"/>
- <Cell col="2" text="실배정"/>
- <Cell col="3" text="예약시간"/>
- <Cell col="4" text="등록번호"/>
- <Cell col="5" text="환자명"/>
- <Cell col="6" text="S/A"/>
- <Cell col="7" text="진정"/>
- <Cell col="8" text="검사"/>
- <Cell col="9" text="검사"/>
- <Cell col="10" text="구분"/>
- <Cell col="11" text="수납"/>
- <Cell col="12" text="선택진료"/>
- <Cell col="13" text="지정의"/>
- <Cell col="14" text="검사의"/>
- <Cell col="15" text="판독의"/>
- <Cell col="16" text="execprcpuniqno"/>
- <Cell col="17" text="excupartcd"/>
- <Cell col="18" text="cretno"/>
- <Cell col="19" text="prcpexecdeptcd"/>
- <Cell col="20" text="cretno"/>
- <Cell col="21" text="prcpdd"/>
- <Cell col="22" text="orddd"/>
- <Cell col="23" text="acptrem"/>
- <Cell col="24" text="prcpdelivefact"/>
- <Cell col="25" text="rsrvrem"/>
- <Cell col="26" text="rsrvdd"/>
- <Cell col="27" text="excupartnm"/>
- <Cell col="28" text="ioflag"/>
- <Cell col="29" text="issdept"/>
- <Cell col="30" text="age"/>
- <Cell col="31" text="caption1"/>
- <Cell col="32" text="rcptacptyn"/>
- <Cell col="33" text="orddrid"/>
- <Cell col="34" text="orddeptcd"/>
- <Cell col="35" text="prcpgenrflag"/>
- <Cell col="36" text="aftrcptinfo"/>
- <Cell col="37" text="basesuppdeptcd"/>
- <Cell col="38" text="caption2"/>
- <Cell col="39" text="caption3"/>
- <Cell col="40"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:check" expr="expr:check == 'Y' || check == '1'?1:0"/>
- <Cell col="2" displaytype="combo" edittype="combo" style="padding:1 2 1 2;" text="bind:excuroomcd" combodataset="ds_init_cmb_excuroom" combocodecol="excuroomcdid" combodatacol="excuroomcdnm" enable="true"/>
- <Cell col="3" displaytype="date" text="bind:rsrvtm" mask="HH:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="4" style="color:EXPR(vipflag == 'Y' ? '#FF9A00' : '');color2:EXPR(vipflag == 'Y' ? '#FF9A00' : '');" text="bind:pid"/>
- <Cell col="5" style="align:left;" text="bind:hngnm"/>
- <Cell col="6" text="bind:sna"/>
- <Cell col="7" text="bind:sedyn"/>
- <Cell col="8" style="align:left;" text="bind:prcpnm"/>
- <Cell col="9" text="bind:calcscorcd"/>
- <Cell col="10" text="bind:genrflag"/>
- <Cell col="11" text="bind:rcptyn"/>
- <Cell col="12" text="bind:choiordflag"/>
- <Cell col="13" text="bind:specdrnm"/>
- <Cell col="14" text="bind:opdrnm"/>
- <Cell col="15" text="bind:cnfmmannm"/>
- <Cell col="16" text="bind:execprcpuniqno"/>
- <Cell col="17" text="bind:excupartnm"/>
- <Cell col="18" text="bind:cretno"/>
- <Cell col="19" text="bind:prcpexecdeptcd"/>
- <Cell col="20" text="bind:execprcpstatcd"/>
- <Cell col="21" text="bind:prcpdd"/>
- <Cell col="22" text="bind:orddd"/>
- <Cell col="23" text="bind:acptrem"/>
- <Cell col="24" text="bind:prcpdelivefact"/>
- <Cell col="25" text="bind:rsrvrem"/>
- <Cell col="26" text="bind:rsrvdd"/>
- <Cell col="27" text="bind:excupartcd"/>
- <Cell col="28" text="bind:ioflag"/>
- <Cell col="29" text="bind:issdept"/>
- <Cell col="30" text="bind:age"/>
- <Cell col="31" text="bind:rcptrsrvyn"/>
- <Cell col="32" text="bind:rcptacptyn"/>
- <Cell col="33" text="bind:orddrid"/>
- <Cell col="34" text="bind:orddeptcd"/>
- <Cell col="35" text="bind:prcpgenrflag"/>
- <Cell col="36" text="bind:aftrcptinfo"/>
- <Cell col="37" text="bind:basesuppdeptcd"/>
- <Cell col="38" text="bind:emryn"/>
- <Cell col="39" text="bind:bf_srchrsrvtm"/>
- <Cell col="40" text="bind:execdd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 4 7 488 13" linetype="horizontal" id="line1" class="line_10" anchor="default"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="전체" position="absolute 0 0 493 638" id="case4" scrollbars="none">
- <Layouts>
- <Layout>
- <Shape position="absolute 4 7 488 13" linetype="horizontal" id="line2" class="line_10" anchor="default"/>
- <Grid position="absolute 4 12 488 516" id="grd_mainordlist4" binddataset="ds_grd_mainordlist4" oncellclick="group3_switch1_case4_grd_mainordlist4_oncellclick" cellsizingtype="col" anchor="all" selecttype="multirow" onrbuttonup="group3_switch1_case4_grd_mainordlist4_onrbuttonup">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="60"/>
- <Column size="55"/>
- <Column size="55"/>
- <Column size="60"/>
- <Column size="48"/>
- <Column size="41"/>
- <Column size="40"/>
- <Column size="200"/>
- <Column size="0"/>
- <Column size="33"/>
- <Column size="35"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="72"/>
- <Column size="69"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="상태"/>
- <Cell col="2" text="실배정"/>
- <Cell col="3" text="예약시간"/>
- <Cell col="4" text="등록번호"/>
- <Cell col="5" text="환자명"/>
- <Cell col="6" text="S/A"/>
- <Cell col="7" text="진정"/>
- <Cell col="8" text="검사"/>
- <Cell col="9" text="검사"/>
- <Cell col="10" text="구분"/>
- <Cell col="11" text="수납"/>
- <Cell col="12" text="선택진료"/>
- <Cell col="13" text="지정의"/>
- <Cell col="14" text="검사의"/>
- <Cell col="15" text="판독의"/>
- <Cell col="16" text="basesuppdeptcd"/>
- <Cell col="17" text="excupartcd"/>
- <Cell col="18" text="cretno"/>
- <Cell col="19" text="prcpexecdeptcd"/>
- <Cell col="20" text="rsrvdd"/>
- <Cell col="21" text="excupartnm"/>
- <Cell col="22" text="ioflag"/>
- <Cell col="23" text="issdeptcd"/>
- <Cell col="24" text="age"/>
- <Cell col="25" text="prcpgenrflag"/>
- <Cell col="26" text="rsrvdt"/>
- <Cell col="27" text="excuroomcd"/>
- <Cell col="28" text="rsrvrem"/>
- <Cell col="29" text="execprcpuniqno"/>
- <Cell col="30" text="prcpdd"/>
- <Cell col="31" text="rsrvdt"/>
- <Cell col="32" text="orddrid"/>
- <Cell col="33" text="위치"/>
- <Cell col="34" text="orddeptcd"/>
- <Cell col="35" text="orddd"/>
- <Cell col="36" text="aftrcptinfo"/>
- <Cell col="37" text="caption1"/>
- <Cell col="38" text="caption2"/>
- <Cell col="39" text="specdrid"/>
- <Cell col="40" text="caption3"/>
- <Cell col="41" text="excupartnm"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" displaytype="combo" edittype="none" text="bind:execprcpstatcd" combodataset="ds_init_M0011" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="2" displaytype="combo" edittype="combo" style="padding:1 2 1 2;" text="bind:excuroomcd" combodataset="ds_init_cmb_excuroom" combocodecol="excuroomcdid" combodatacol="excuroomcdnm" enable="false"/>
- <Cell col="3" displaytype="date" text="bind:rsrvtm" mask="HH:mm"/>
- <Cell col="4" style="color:EXPR(vipflag == 'Y' ? '#FF9A00' : '');color2:EXPR(vipflag == 'Y' ? '#FF9A00' : '');" text="bind:pid"/>
- <Cell col="5" style="align:left;" text="bind:hngnm"/>
- <Cell col="6" text="bind:sna"/>
- <Cell col="7" text="bind:sedyn"/>
- <Cell col="8" style="align:left;" text="bind:prcpnm"/>
- <Cell col="9" text="bind:calcscorcd"/>
- <Cell col="10" text="bind:genrflag"/>
- <Cell col="11" text="bind:rcptyn"/>
- <Cell col="12" text="bind:choiordflag"/>
- <Cell col="13" text="bind:specdrnm"/>
- <Cell col="14" text="bind:orddrnm"/>
- <Cell col="15" text="bind:cnfmmannm"/>
- <Cell col="16" text="bind:basesuppdeptcd"/>
- <Cell col="17" text="bind:excupartnm"/>
- <Cell col="18" text="bind:cretno"/>
- <Cell col="19" text="bind:prcpexecdeptcd"/>
- <Cell col="20" text="bind:rsrvdd"/>
- <Cell col="21" text="bind:excupartcd"/>
- <Cell col="22" text="bind:ioflag"/>
- <Cell col="23" text="bind:issdept"/>
- <Cell col="24" text="bind:age"/>
- <Cell col="25" text="bind:prcpgenrflag"/>
- <Cell col="26" text="bind:rsrvdt"/>
- <Cell col="27" text="bind:excuroomcd"/>
- <Cell col="28" text="bind:rsrvrem"/>
- <Cell col="29" text="bind:execprcpuniqno"/>
- <Cell col="30" text="bind:prcpdd"/>
- <Cell col="31" text="bind:rsrvdt"/>
- <Cell col="32" text="bind:orddrid"/>
- <Cell col="33" text="bind:statflag"/>
- <Cell col="34" text="bind:orddeptcd"/>
- <Cell col="35" text="bind:orddd"/>
- <Cell col="36" text="bind:pacsnocretyn"/>
- <Cell col="37" text="bind:eqmtifyn"/>
- <Cell col="38" text="bind:bf_srchrsrvtm"/>
- <Cell col="39" text="bind:specdrid"/>
- <Cell col="40" text="bind:aftrcptinfo"/>
- <Cell col="41" text="bind:execdd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case10" scrollbars="none" enable="false" enableevent="false">
- <Layouts>
- <Layout>
- <Grid position="absolute 4 12 488 512" align="align:center middle;" id="grd_subordlist2" binddataset="ds_grd_subordlist2" oncellclick="group3_switch1_case10_grd_subordlist2_oncellclick" cellsizingtype="col" anchor="all" selecttype="multirow" onrbuttonup="group3_switch1_case10_grd_subordlist2_onrbuttonup">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="60"/>
- <Column size="55"/>
- <Column size="55"/>
- <Column size="60"/>
- <Column size="48"/>
- <Column size="41"/>
- <Column size="200"/>
- <Column size="0"/>
- <Column size="33"/>
- <Column size="35"/>
- <Column size="80"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="상태"/>
- <Cell col="2" text="실배정"/>
- <Cell col="3" text="예약시간"/>
- <Cell col="4" text="등록번호"/>
- <Cell col="5" text="환자명"/>
- <Cell col="6" text="S/A"/>
- <Cell col="7" text="검사"/>
- <Cell col="8" text="검사"/>
- <Cell col="9" text="구분"/>
- <Cell col="10" text="수납"/>
- <Cell col="11" text="진료과"/>
- <Cell col="12" text="진료의"/>
- <Cell col="13" text="판독의"/>
- <Cell col="14" text="basesuppdeptcd"/>
- <Cell col="15" text="excupartcd"/>
- <Cell col="16" text="cretno"/>
- <Cell col="17" text="prcpexecdeptcd"/>
- <Cell col="18" text="rsrvdd"/>
- <Cell col="19" text="excupartnm"/>
- <Cell col="20" text="ioflag"/>
- <Cell col="21" text="issdeptcd"/>
- <Cell col="22" text="age"/>
- <Cell col="23" text="prcpgenrflag"/>
- <Cell col="24" text="rsrvdt"/>
- <Cell col="25" text="excuroomcd"/>
- <Cell col="26" text="rsrvrem"/>
- <Cell col="27" text="execprcpuniqno"/>
- <Cell col="28" text="prcpdd"/>
- <Cell col="29" text="rsrvdt"/>
- <Cell col="30" text="orddrid"/>
- <Cell col="31" text="위치"/>
- <Cell col="32" text="orddeptcd"/>
- <Cell col="33" text="orddd"/>
- <Cell col="34" text="aftrcptinfo"/>
- <Cell col="35" text="caption1"/>
- <Cell col="36" text="caption2"/>
- <Cell col="37" text="excupartnm"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" displaytype="combo" edittype="none" text="bind:execprcpstatcd" combodataset="ds_init_M0011" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="2" displaytype="combo" edittype="none" style="padding:1 2 1 2;" text="bind:excuroomcd" combodataset="ds_init_cmb_excuroom" combocodecol="excuroomcdid" combodatacol="excuroomcdnm" enable="false"/>
- <Cell col="3" displaytype="date" text="bind:rsrvtm" mask="HH:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="4" style="color:EXPR(vipflag == 'Y' ? '#FF9A00' : '');color2:EXPR(vipflag == 'Y' ? '#FF9A00' : '');" text="bind:pid"/>
- <Cell col="5" text="bind:hngnm"/>
- <Cell col="6" text="bind:sna"/>
- <Cell col="7" text="bind:prcpnm"/>
- <Cell col="8" text="bind:calcscorcd"/>
- <Cell col="9" text="bind:genrflag"/>
- <Cell col="10" text="bind:rcptyn"/>
- <Cell col="11" text="bind:orddepthngnm"/>
- <Cell col="12" text="bind:orddrnm"/>
- <Cell col="13" text="bind:cnfmmannm"/>
- <Cell col="14" text="bind:basesuppdeptcd"/>
- <Cell col="15" text="bind:excupartcd"/>
- <Cell col="16" text="bind:cretno"/>
- <Cell col="17" text="bind:prcpexecdeptcd"/>
- <Cell col="18" text="bind:rsrvdd"/>
- <Cell col="19" text="bind:excupartnm"/>
- <Cell col="20" text="bind:ioflag"/>
- <Cell col="21" text="bind:issdept"/>
- <Cell col="22" text="bind:age"/>
- <Cell col="23" text="bind:prcpgenrflag"/>
- <Cell col="24" text="bind:rsrvdt"/>
- <Cell col="25" text="bind:excuroomcd"/>
- <Cell col="26" text="bind:rsrvrem"/>
- <Cell col="27" text="bind:execprcpuniqno"/>
- <Cell col="28" text="bind:prcpdd"/>
- <Cell col="29" text="bind:rsrvdt"/>
- <Cell col="30" text="bind:orddrid"/>
- <Cell col="31" text="bind:statflag"/>
- <Cell col="32" text="bind:orddeptcd"/>
- <Cell col="33" text="bind:orddd"/>
- <Cell col="34" text="bind:pacsnocretyn"/>
- <Cell col="35" text="bind:eqmtifyn"/>
- <Cell col="36" text="bind:bf_srchrsrvtm"/>
- <Cell col="37" text="bind:execdd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line2" position="absolute 4 7 488 13" class="line_10"/>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Static text="처방상세내역" position="absolute 500 294 600 316" id="caption7" class="tit_2" anchor="default"/>
- <Shape position="absolute 500 310 1188 316" linetype="horizontal" id="line4" class="line_10" anchor="left top right"/>
- <Grid position="absolute 500 315 1188 668" id="grd_subprcplist" binddataset="ds_grd_subprcplist" oncellclick="group3_grd_subprcplist_oncellclick" cellsizingtype="col" selecttype="multirow" anchor="all" onlbuttonup="group3_grd_subprcplist_onlbuttonup" cellclickbound="cell" onrbuttondown="group3_grd_subprcplist_onrbuttondown" onrbuttonup="group3_grd_subprcplist_onrbuttonup">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20"/>
- <Column size="58"/>
- <Column size="20"/>
- <Column size="73"/>
- <Column size="200"/>
- <Column size="42"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="30"/>
- <Column size="60"/>
- <Column size="34"/>
- <Column size="33"/>
- <Column size="26"/>
- <Column size="33"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="40"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="상태"/>
- <Cell col="2" text="M"/>
- <Cell col="3" text="처방코드"/>
- <Cell col="4" text="처방명"/>
- <Cell col="5" text="동의서"/>
- <Cell col="6" text="처방일자"/>
- <Cell col="7" text="접수일시"/>
- <Cell col="8" text="실시일자"/>
- <Cell col="9" text="결과일시"/>
- <Cell col="10" colspan="2" text="선택진료의" taborder="undefined"/>
- <Cell col="12" text="1회용량"/>
- <Cell col="13" text="1회용량"/>
- <Cell col="14" text="1회수량"/>
- <Cell col="15" text="1회수량"/>
- <Cell col="16" text="payflagcd"/>
- <Cell col="17" text="pid"/>
- <Cell col="18" text="prcpno"/>
- <Cell col="19" text="execprcpuniqno"/>
- <Cell col="20" text="gubn"/>
- <Cell col="21" text="rcptdd"/>
- <Cell col="22" text="prcpclscd"/>
- <Cell col="23" text="carecnfmdd"/>
- <Cell col="24" text="prcpgenrflag"/>
- <Cell col="25" text="orddeptcd"/>
- <Cell col="26" text="orddrid"/>
- <Cell col="27" text="ioflag"/>
- <Cell col="28" text="cretno"/>
- <Cell col="29" text="prcphistno"/>
- <Cell col="30" text="opansflagcd"/>
- <Cell col="31" text="suppdeptcd"/>
- <Cell col="32" text="orddd"/>
- <Cell col="33" text="inclprcpcd"/>
- <Cell col="34" text="inclprcpno"/>
- <Cell col="35" text="rootgubn"/>
- <Cell col="36" text="execprcphistcd"/>
- <Cell col="37" text="execprcpstatcd"/>
- <Cell col="38" text="prcpflag"/>
- <Cell col="39" text="prcpvol"/>
- <Cell col="40" text="prcpvolunitflag"/>
- <Cell col="41" text="prcpqty"/>
- <Cell col="42" text="prcpqtyunitflag"/>
- <Cell col="43" text="prcptims"/>
- <Cell col="44" text="drugmthdspccd"/>
- <Cell col="45" text="execdeptcd"/>
- <Cell col="46" text="rsrvflag"/>
- <Cell col="47" text="prcpsignflag"/>
- <Cell col="48" text="aftcertflag"/>
- <Cell col="49" text="aftcertdrid"/>
- <Cell col="50" text="issdeptcd"/>
- <Cell col="51"/>
- <Cell col="52" text="유효"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" style="background:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');background2:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');" text="bind:check" expr="expr:check == 'Y' || check == '1'?1:0"/>
- <Cell col="1" displaytype="normal" style="background:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');background2:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');" text="bind:statcd" calendardisplaynulltype="nulltext" enable="false"/>
- <Cell col="2" style="background:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');background2:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');" text="bind:mset"/>
- <Cell col="3" style="background:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');background2:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');" text="bind:calcscorcd"/>
- <Cell col="4" style="align:left;background:EXPR(sugauseyn == 'N' ? 'red' : execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');background2:EXPR(sugauseyn == 'N' ? 'red' : execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');" text="bind:prcpnm"/>
- <Cell col="5" style="background:EXPR(sugauseyn == 'N' ? 'red' : execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');background2:EXPR(sugauseyn == 'N' ? 'red' : execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');" text="bind:sedatmplyn"/>
- <Cell col="6" displaytype="date" style="background:EXPR(sugauseyn == 'N' ? 'red' : execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');background2:EXPR(sugauseyn == 'N' ? 'red' : execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');" text="bind:prcpdd" calendardisplaynulltype="nulltext"/>
- <Cell col="7" displaytype="date" style="background:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');background2:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');" text="bind:acptdt" calendardisplaynulltype="nulltext"/>
- <Cell col="8" displaytype="date" style="background:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');background2:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');" text="bind:execdd" calendardisplaynulltype="nulltext"/>
- <Cell col="9" displaytype="date" style="background:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');background2:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');" text="bind:cnfmdt" calendardisplaynulltype="nulltext"/>
- <Cell col="10" style="background:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');background2:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');" text="bind:choiordflag"/>
- <Cell col="11" displaytype="combo" edittype="combo" style="background:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');background2:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');" text="bind:specdrid" combodataset="ds_specdridlist" combocodecol="userid" combodatacol="usernm" enable="true"/>
- <Cell col="12" style="background:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');background2:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');" text="bind:drprcpetc7"/>
- <Cell col="13" style="background:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');background2:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');" text="bind:prcpvolunitnm"/>
- <Cell col="14" style="background:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');background2:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');" text="bind:drprcpetc8"/>
- <Cell col="15" style="background:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');background2:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');" text="bind:prcpqtyunitnm"/>
- <Cell col="16" text="bind:payflagcd"/>
- <Cell col="17" text="bind:pid"/>
- <Cell col="18" text="bind:prcpno"/>
- <Cell col="19" text="bind:execprcpuniqno"/>
- <Cell col="20" text="bind:gubn"/>
- <Cell col="21" text="bind:rcptdd"/>
- <Cell col="22" text="bind:prcpclscd"/>
- <Cell col="23" text="bind:carecnfmdd"/>
- <Cell col="24" text="bind:prcpgenrflag"/>
- <Cell col="25" text="bind:orddeptcd"/>
- <Cell col="26" text="bind:orddrid"/>
- <Cell col="27" text="bind:ioflag"/>
- <Cell col="28" text="bind:cretno"/>
- <Cell col="29" text="bind:prcphistno"/>
- <Cell col="30" text="bind:opansflagcd"/>
- <Cell col="31" text="bind:suppdeptcd"/>
- <Cell col="32" text="bind:orddd"/>
- <Cell col="33" text="bind:inclprcpcd"/>
- <Cell col="34" text="bind:inclprcpno"/>
- <Cell col="35" text="bind:rootgubn"/>
- <Cell col="36" text="bind:execprcphistcd"/>
- <Cell col="37" text="bind:execprcpstatcd"/>
- <Cell col="38" text="bind:prcpflag"/>
- <Cell col="39" text="bind:prcpvol"/>
- <Cell col="40" text="bind:prcpvolunitflag"/>
- <Cell col="41" text="bind:prcpqty"/>
- <Cell col="42" text="bind:prcpqtyunitflag"/>
- <Cell col="43" text="bind:prcptims"/>
- <Cell col="44" text="bind:drugmthdspccd"/>
- <Cell col="45" text="bind:execdeptcd"/>
- <Cell col="46" text="bind:rsrvflag"/>
- <Cell col="47" text="bind:prcpsignflag"/>
- <Cell col="48" text="bind:aftcertflag"/>
- <Cell col="49" text="bind:aftcertdrid"/>
- <Cell col="50" text="bind:issdeptcd"/>
- <Cell col="51" text="bind:roomcd"/>
- <Cell col="52" style="background:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');background2:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');" text="bind:sugauseyn"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="처방 Comment" position="absolute 499 678 624 699" id="caption8" class="tit_2" anchor="left bottom"/>
- <Static text="예약 Comment" position="absolute 705 678 830 699" id="caption9" class="tit_2" anchor="left bottom"/>
- <Static text="검사 Comment" position="absolute 1035 678 1150 699" id="caption10" class="tit_2" anchor="left bottom"/>
- <TextArea position="absolute 499 699 700 761" id="tar_prcpremfact" enable="true" scrollbars="autovert" wordwrap="char" style="align:center middle;" anchor="left bottom"/>
- <Shape position="absolute 499 694 700 700" linetype="horizontal" id="line9" class="line_10" anchor="left bottom"/>
- <Shape position="absolute 705 694 856 700" linetype="horizontal" id="line8" class="line_10" anchor="left bottom"/>
- <TextArea position="absolute 705 699 856 761" id="tar_acptrem" enable="false" scrollbars="autovert" wordwrap="char" anchor="left bottom" style=":disabled {align:center middle;}"/>
- <TextArea position="absolute 1035 699 1187 761" id="tar_execrem" scrollbars="autovert" wordwrap="char" anchor="left bottom" style="align:center middle;"/>
- <Shape position="absolute 1035 694 1187 700" linetype="horizontal" id="line10" class="line_10" anchor="left bottom"/>
- <Static text="선택환자 정보" position="absolute 500 5 615 26" id="caption33" class="tit_2" anchor="default"/>
- <Shape position="absolute 500 21 1190 27" linetype="horizontal" id="line12" class="line_10" anchor="left top right"/>
- <Static text="진료과" position="absolute 500 50 557 73" align="align:center middle;" id="caption21" class="cell_1" anchor="default" style="padding:0 0 0 4;"/>
- <Static text="환자명" position="absolute 663 26 713 49" align="align:center middle;" id="caption16" class="cell_1" anchor="default" style="padding:0 0 0 4;"/>
- <Edit readonly="true" position="absolute 559 27 660 46" id="ipt_cntsqty" oneditdblclick="group3_ipt_cntsqty_oneditdblclick" style="font:Dotum,11,bold;" anchor="default" class="output"/>
- <Static text="처방일" position="absolute 793 50 839 73" align="align:center middle;" id="caption19" class="cell_1" wordwrap="none" anchor="default" style="padding:0 0 0 4;"/>
- <Shape position="absolute 500 45 1190 51" linetype="horizontal" id="line13" class="line_2" anchor="default"/>
- <Edit readonly="true" position="absolute 715 27 791 46" id="input1" style="font:Dotum,11,bold;" anchor="default" class="output"/>
- <Edit readonly="true" position="absolute 841 27 885 46" id="input2" enable="true" style="font:Dotum,10,bold;" anchor="default" class="output"/>
- <Static text="S/A" position="absolute 793 26 839 49" align="align:center middle;" id="caption12" class="cell_1" anchor="default" style="padding:0 0 0 4;"/>
- <Edit readonly="true" position="absolute 559 52 660 71" id="input3" enable="true" style="font:Dotum,9,bold;" anchor="default" class="output"/>
- <Edit readonly="true" position="absolute 715 52 791 71" id="input4" enable="true" style="font:Dotum,9,bold;" anchor="default" class="output"/>
- <Static text="진료의" position="absolute 663 50 713 73" align="align:center middle;" id="caption15" class="cell_1" anchor="default" style="padding:0 0 0 4;"/>
- <MaskEdit readonly="true" position="absolute 841 52 983 71" id="input9" mask="####-##-##" enable="true" style="align:left middle;font:Dotum,9,bold;" anchor="default" class="output" type="string" limitbymask="none"/>
- <Tab position="absolute 500 122 1189 284" id="switch2" style="border:1 solid #808080ff ;" anchor="left top right">
- <Tabpages>
- <Tabpage text="진료예약" id="case7" scrollbars="none">
- <Layouts>
- <Layout>
- <Shape position="absolute 5 2 680 8" linetype="vertical" id="line16" class="line_1" anchor="default"/>
- <Grid position="absolute 1 0 686 131" id="grd_ordlist2" binddataset="ds_grd_ordlist2" cellsizingtype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="103"/>
- <Column size="80"/>
- <Column size="70"/>
- <Column size="37"/>
- <Column size="31"/>
- <Column size="329"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="예약일시"/>
- <Cell col="1" text="진료과"/>
- <Cell col="2" text="진료의"/>
- <Cell col="3" text="수납"/>
- <Cell col="4" text="수행"/>
- <Cell col="5" text="Remark"/>
- </Band>
- <Band id="body">
- <Cell displaytype="date" text="bind:rsrvdt" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="1" text="bind:orddeptnm"/>
- <Cell col="2" text="bind:usernm"/>
- <Cell col="3" text="bind:rcptflag"/>
- <Cell col="4" text="bind:execflag"/>
- <Cell col="5" text="bind:rem"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="타검사예약" id="case6">
- <Layouts>
- <Layout>
- <Shape position="absolute 5 2 680 8" linetype="vertical" id="line15" class="line_1" anchor="default"/>
- <Grid position="absolute 1 0 685 132" id="grd_ordlist1" binddataset="ds_grd_ordlist1" cellsizingtype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="102"/>
- <Column size="72"/>
- <Column size="70"/>
- <Column size="205"/>
- <Column size="39"/>
- <Column size="161"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="예약일시"/>
- <Cell col="1" text="수행부서"/>
- <Cell col="2" text="처방코드"/>
- <Cell col="3" text="처방명"/>
- <Cell col="4" text="수납"/>
- <Cell col="5" text="Remark"/>
- </Band>
- <Band id="body">
- <Cell displaytype="date" text="bind:rsrvdt" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="1" text="bind:execdept"/>
- <Cell col="2" text="bind:prcpcd"/>
- <Cell col="3" text="bind:prcpnm"/>
- <Cell col="4" text="bind:rcptflag"/>
- <Cell col="5" text="bind:rem"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Button position="absolute 389 230 489 252" id="btn_acptcncl" class="btn2" text="접수및실시취소" onclick="group3_btn_acptcncl_onclick" anchor="default"/>
- <Static text="구분" position="absolute 887 26 927 49" align="align:center middle;" id="caption1" class="cell_1" anchor="default" style="padding:0 0 0 4;"/>
- <Edit readonly="true" position="absolute 929 27 983 46" id="input10" enable="true" style="font:Dotum,11,bold;" anchor="default" class="output"/>
- <Button position="absolute 896 77 938 96" id="btn_rsrv" class="btn2" text="예약" onclick="group3_btn_rsrv_onclick" anchor="default"/>
- <Button position="absolute 941 77 983 96" id="btn_cncl" class="btn2" text="취소" onclick="group3_btn_cncl_onclick" anchor="default"/>
- <Button position="absolute 345 230 387 252" id="btn_save" class="btn2" visible="true" text="접수" onclick="group3_btn_save_onclick" anchor="default"/>
- <Combo position="absolute 559 77 660 96" id="cmb_excuroom" class="combo_default" visible="true" innerdataset="ds_init_cmb_excuroom" datacolumn="excuroomcdnm" codecolumn="excuroomcdid" onitemclick="group3_cmb_excuroom_onitemclick" style=":disabled {font:Dotum,9,bold;}" anchor="default" readonly="true" enable="true"/>
- <Grid position="absolute 25 354 235 689" id="grd_temp" visible="false" binddataset="ds_grd_temp" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="82"/>
- <Column size="112"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="검사실코드"/>
- <Cell col="1" text="검사실명"/>
- </Band>
- <Band id="body">
- <Cell text="bind:excuroomcdid"/>
- <Cell col="1" text="bind:excuroomcdnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="검사:" position="absolute 1070 104 1104 124" id="caption4" anchor="default"/>
- <Static text="진료:" position="absolute 1129 103 1163 123" id="caption13" anchor="default"/>
- <Edit readonly="true" position="absolute 1100 103 1127 122" id="opt_excucnt" anchor="default"/>
- <Edit readonly="true" position="absolute 1160 103 1187 122" id="opt_emrcnt" anchor="default"/>
- <Button position="absolute 633 288 697 310" id="button11" class="btn2" text="대체처방" onclick="group3_button11_onclick" anchor="top right"/>
- <Button position="absolute 990 288 1054 310" id="button18" class="btn2" text="병리라벨" onclick="group3_button18_onclick" anchor="top right"/>
- <Button position="absolute 923 288 987 310" id="button21" class="btn2" text="마약관리" onclick="group3_button21_onclick" anchor="top right"/>
- <Button position="absolute 767 288 853 310" id="button31" class="btn2" text="시행부서처방" onclick="group3_button31_onclick" anchor="top right"/>
- <Tab position="absolute 0 123 495 222" id="switch3" onchanged="group3_switch3_onchanged" style="border:1 solid #808080ff ;" anchor="default">
- <Tabpages>
- <Tabpage text="종류별" id="case9" scrollbars="none">
- <Layouts>
- <Layout>
- <Grid position="absolute 2 0 491 69" id="grd_excupartcd" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- </Rows>
- <Band id="head">
- <Cell/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="검사실별" id="case8" scrollbars="none">
- <Layouts>
- <Layout>
- <Shape position="absolute 4 2 489 8" linetype="vertical" id="line5" class="line_1" anchor="default"/>
- <Grid position="absolute 4 0 489 68" id="grd_excuroomcd" binddataset="ds_grd_excuroomcd" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="32"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- </Rows>
- <Band id="head">
- <Cell/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Button position="absolute 1124 288 1188 310" id="button3" class="btn2" text="통합결과" onclick="group3_button3_onclick" anchor="top right"/>
- <Button position="absolute 1057 288 1121 310" id="button5" class="btn2" text="수납조회" onclick="group3_button5_onclick" anchor="top right"/>
- <Button position="absolute 700 288 764 310" id="button6" class="btn2" text="TypeⅡ" onclick="group3_button6_onclick" anchor="top right"/>
- <Shape position="absolute 500 70 1190 76" linetype="horizontal" id="line11" class="line_2" anchor="default"/>
- <Static text="검사실" position="absolute 500 75 557 98" align="align:center middle;" id="caption2" class="cell_1" anchor="default" style="padding:0 0 0 4;"/>
- <Static text="예약일" position="absolute 663 75 713 98" align="align:center middle;" id="caption3" class="cell_1" anchor="default" style="padding:0 0 0 4;"/>
- <MaskEdit readonly="true" position="absolute 715 77 791 96" id="cmb_rsrvdd" mask="####-##-##" oneditclick="group3_cmb_rsrvdd_oneditclick" style="padding:0 3 0 3;font:Dotum,9,bold;" type="string" anchor="default" enable="true" displaynulltext=" " class="output"/>
- <Button position="absolute 605 293 621 309" id="btn_cal" class="icon_clock" visible="false" text="" onclick="group3_btn_cal_onclick" anchor="default"/>
- <MaskEdit readonly="true" position="absolute 793 77 839 96" id="cmb_rsrvtm" mask="##:##" enable="true" oneditclick="group3_cmb_rsrvtm_oneditclick" style="font:Dotum,9,bold;" type="string" anchor="default" displaynulltext=" " class="output"/>
- <Button position="absolute 856 288 920 310" id="button1" class="btn2" text="처방조회" onclick="group3_button1_onclick" anchor="top right"/>
- <TextArea position="absolute 0 65 495 115" align="align:left middle;" id="tat_deptmemo" wordwrap="char" scrollbars="autovert" anchor="default"/>
- <Button position="absolute 1145 675 1187 694" id="btn_excucmt" class="btn2" visible="false" text="저장" onclick="group3_btn_excucmt_onclick" anchor="left bottom"/>
- <Button position="absolute 904 103 957 122" id="btn_BarCodePrint" class="btn2" visible="false" text="바코드" onclick="group3_btn_BarCodePrint_onclick" anchor="default"/>
- <Button position="absolute 1003 103 1067 122" id="btn_rsrvsrch" class="btn2" text="예약조회" onclick="group3_btn_rsrvsrch_onclick" anchor="default"/>
- <Grid position="absolute 985 26 1190 98" align="align:left middle;" id="grd_memolist" class="datagrid0" scrollbars="fixedvert" binddataset="ds_examcureexecdiaglist" anchor="left top right" autofittype="col" extendsizetype="row" autosizingtype="row">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="188"/>
- </Columns>
- <Rows>
- <Row size="24"/>
- </Rows>
- <Band id="body">
- <Cell displaytype="text" style="font:Dotum,11,bold;" text="bind:diagengnm" wordwrap="char" autosizerow="limitmin"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <CheckBox position="absolute 840 79 895 94" id="chk_rsrvprnt" text="예약증" truevalue="Y" falsevalue="N" anchor="default"/>
- <Button position="absolute 370 121 450 143" id="button12" class="btn3" visible="false" text="중앙관제" onclick="group3_button12_onclick" anchor="default"/>
- <Edit readonly="true" position="absolute 722 103 835 122" id="output1" enable="true" style="font:Dotum,9,bold;" anchor="default"/>
- <Static text="주민번호" position="absolute 663 101 720 124" align="align:center middle;" id="caption6" class="cell_1" wordwrap="none" anchor="default" style="padding:0 0 0 4;"/>
- <TextArea position="absolute 860 699 1031 761" id="tar_patrem" wordwrap="char" scrollbars="autovert" anchor="left bottom" style="align:center middle;"/>
- <Shape position="absolute 860 694 1031 700" linetype="horizontal" id="line20" class="line_10" anchor="left bottom"/>
- <Static text="환자 Comment" position="absolute 860 678 970 699" id="caption22" class="tit_2" anchor="left bottom"/>
- <Button position="absolute 989 675 1031 694" id="btn_patcmtsave" class="btn2" text="저장" onclick="group3_btn_patcmtsave_onclick" anchor="left bottom"/>
- <Button position="absolute 959 103 1001 122" id="btn_prntset" class="btn2" text="설정" onclick="group3_btn_prntset_onclick" anchor="default"/>
- <CheckBox position="absolute 502 317 522 337" id="bool1" onchanged="group3_bool1_onchanged" anchor="default" visible="true"/>
- <Shape id="rectangle3" type="rectangle" position="absolute 159 127 179 142" style="fillbrush:solid #ffff00ff true;" anchor="default"/>
- <Static id="caption27" text="V" position="absolute 184 127 202 142" anchor="default"/>
- <Shape id="rectangle4" type="rectangle" position="absolute 202 127 222 142" style="fillbrush:solid #ccffccff true;" anchor="default"/>
- <Static id="caption28" text="오늘결과" position="absolute 225 127 277 142" anchor="default"/>
- <Shape id="rectangle5" type="rectangle" position="absolute 281 127 301 142" style="fillbrush:solid #ff9a00ff true;" anchor="default"/>
- <Static id="caption26" text="미수납" position="absolute 304 127 342 142" anchor="default"/>
- <Button position="absolute 453 121 495 143" id="btn_excucmtsave" class="btn2" text="저장" onclick="group3_btn_excucmtsave_onclick" anchor="default"/>
- <Button id="btn_case5" taborder="1" text="미예약" position="absolute 5 230 56 252" class="btn_tab" onclick="group3_btn_case5_onclick" anchor="default"/>
- <Button id="btn_case1" taborder="2" text="예약" class="btn_tab" position="absolute 57 230 108 252" onclick="group3_btn_case1_onclick" anchor="default"/>
- <Button id="btn_case2" taborder="3" text="접수" class="btn_tab" position="absolute 109 230 160 252" onclick="group3_btn_case2_onclick" anchor="default"/>
- <Button id="btn_case3" taborder="4" text="결과" class="btn_tab" position="absolute 161 230 212 252" onclick="group3_btn_case3_onclick" anchor="default"/>
- <Button id="btn_case4" taborder="5" text="전체" class="btn_tab" position="absolute 213 230 264 252" onclick="group3_btn_case4_onclick" anchor="default"/>
- <Shape position="absolute 500 95 1190 101" linetype="horizontal" id="line22" class="line_3" anchor="left top right"/>
- <Edit id="opt_vipflag" taborder="6" position="absolute 608 1 1001 21" class="edt_transbg" readonly="true" style="color:#ff0000ff;font:Dotum,9,bold;"/>
- <Static position="absolute 272 229 332 249" id="cpt_isolinfo" style="color:#ff0000ff;font:Dotum,9,bold;" anchor="default" onclick="group3_cpt_isolinfo_onclick"/>
- <Div id="group00" taborder="7" style="background:#87cefaff;shadow:outer 3,3 3 gray;" visible="false" position="absolute 651 98 856 155">
- <Layouts>
- <Layout>
- <Static id="caption11" text="출력할 장수를 입력하십시오." class="tit_2" position="absolute 8 8 196 25" anchor="default"/>
- <MaskEdit id="ipt_patcntctel" taborder="23" mask="###" class="input_default" position="absolute 31 29 91 49" anchor="default" value="1"/>
- <Button id="btn_prtlabel" taborder="24" text="확인" class="btn2" position="absolute 94 29 136 49" anchor="default" onclick="group3_group00_btn_prtlabel_onclick"/>
- <Button id="button9" taborder="25" text="취소" class="btn2" position="absolute 139 29 181 49" anchor="default" onclick="group3_group00_button9_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_bracelet" taborder="8" text="팔찌출력" position="absolute 500 101 571 120" class="btn2" onclick="group3_btn_bracelet_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid position="absolute 300 439 440 589" id="datagrid1" visible="false" binddataset="ds_datagrid1">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="57"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="caption1"/>
- <Cell col="1" text="caption2"/>
- </Band>
- <Band id="body">
- <Cell text="bind:excuroomcd"/>
- <Cell col="1" text="bind:cnt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div position="absolute 267 219 546 338" align="align:center top;" id="group7" visible="false" style="background:#080808ff;">
- <Layouts>
- <Layout>
- <Static position="absolute 2 2 277 117" id="cpt_isoldata" visible="true" style="background:#d6dadcff;" anchor="default"/>
- <Static text="감염정보" position="absolute 10 7 125 28" id="caption20" class="tit_2" visible="true" anchor="default"/>
- <Shape position="absolute 10 23 270 29" linetype="horizontal" id="line14" class="line_10" visible="true" anchor="default"/>
- <Shape position="absolute 10 91 270 97" linetype="horizontal" id="line19" class="line_3" visible="true" anchor="default"/>
- <Button position="absolute 227 95 269 114" id="btn_close" class="btn5" visible="true" text="확인" onclick="group7_btn_close_onclick" anchor="default"/>
- <TextArea position="absolute 10 28 270 92" id="textarea1" wordwrap="char" scrollbars="autovert" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <PopupMenu id="pmn_menu" position="absolute 1224 168 1407 347" innerdataset="@ds_init_pmenu_grid01" idcolumn="func" captioncolumn="name" levelcolumn="func" onmenuclick="pmn_menu_onmenuclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grd_mainordlist1" firefirstcount="0" firenextcount="0" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="check" type="STRING"/>
- <Column id="excuroomcd" type="STRING"/>
- <Column id="rsrvtm" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="sna" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="calcscorcd" type="STRING"/>
- <Column id="orddepthngnm" type="STRING"/>
- <Column id="orddrnm" type="STRING"/>
- <Column id="genrflag" type="STRING"/>
- <Column id="rcptyn" type="STRING"/>
- <Column id="choiordflag" type="STRING"/>
- <Column id="specdrnm" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="prcpgenrflag" type="STRING"/>
- <Column id="excupartnm" type="STRING"/>
- <Column id="prcphopedt" type="STRING"/>
- <Column id="execprcpuniqno" type="STRING"/>
- <Column id="prcpexecdeptcd" type="STRING"/>
- <Column id="rgstdeptcd" type="STRING"/>
- <Column id="rgstrid" type="STRING"/>
- <Column id="portprcpflag" type="STRING"/>
- <Column id="inflag" type="STRING"/>
- <Column id="execbaseflag" type="STRING"/>
- <Column id="lrgcd" type="STRING"/>
- <Column id="mdlcd" type="STRING"/>
- <Column id="modality" type="STRING"/>
- <Column id="pacsnocretyn" type="STRING"/>
- <Column id="prcpdelivefact" type="STRING"/>
- <Column id="orddepthngnm" type="STRING"/>
- <Column id="orddd" type="STRING"/>
- <Column id="orddeptcd" type="STRING"/>
- <Column id="patnm" type="STRING"/>
- <Column id="orddrid" type="STRING"/>
- <Column id="execprcpstatcd" type="STRING"/>
- <Column id="eqmtifyn" type="STRING"/>
- <Column id="basesuppdeptcd" type="STRING"/>
- <Column id="rsrvdt" type="STRING"/>
- <Column id="cretno" type="STRING"/>
- <Column id="rsrvrem" type="STRING"/>
- <Column id="acptrem" type="STRING"/>
- <Column id="inclprcpcd" type="STRING"/>
- <Column id="lrgcd" type="STRING"/>
- <Column id="mdlcd" type="STRING"/>
- <Column id="actorddd" type="STRING"/>
- <Column id="excupartcd" type="STRING"/>
- <Column id="roomcd" type="STRING"/>
- <Column id="wardcd" type="STRING"/>
- <Column id="root" type="STRING"/>
- <Column id="prcphistno" type="STRING"/>
- <Column id="ioflag" type="STRING"/>
- <Column id="issdept" type="STRING"/>
- <Column id="tmpldata" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="cdisexamroomnm" type="STRING"/>
- <Column id="cdisexcuroomcd" type="STRING"/>
- <Column id="age" type="STRING"/>
- <Column id="rcptrsrvyn" type="STRING"/>
- <Column id="rcptacptyn" type="STRING"/>
- <Column id="aftrcptinfo" type="STRING"/>
- <Column id="rsrvtmplcd" type="STRING"/>
- <Column id="rsrvmultitmplcd" type="STRING"/>
- <Column id="emryn" type="STRING"/>
- <Column id="bf_srchrsrvtm" type="STRING"/>
- <Column id="execdd" type="STRING"/>
- <Column id="rsrvdd" type="STRING" size="256"/>
- <Column id="dschdd" type="STRING" size="256"/>
- <Column id="vipflag" type="STRING" size="256"/>
- <Column id="clntgrde" type="STRING" size="256"/>
- <Column id="sedyn" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_mainordlist2" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="check" type="STRING" size="256" sumtext="선택"/>
- <Column id="excuroomcd" type="STRING" size="256" sumtext="검사실코드"/>
- <Column id="calcscorcd" type="STRING" size="256" sumtext="수가코드"/>
- <Column id="rsrvtm" type="STRING" size="256" sumtext="예약일시"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="성명"/>
- <Column id="sna" type="STRING" size="256" sumtext="성별나이"/>
- <Column id="genrflag" type="STRING" size="256" sumtext="입퇴원구분"/>
- <Column id="rcptyn" type="STRING" size="256" sumtext="수납여부"/>
- <Column id="orddrnm" type="STRING" size="256" sumtext="검사의"/>
- <Column id="age" type="STRING" size="256" sumtext="나이"/>
- <Column id="prcpdelivefact" type="STRING" size="256" sumtext="처방참고사항"/>
- <Column id="rsrvrem" type="STRING" size="256" sumtext="예약코멘트"/>
- <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
- <Column id="prcpkindcd" type="STRING" size="256" sumtext="처방종류코드"/>
- <Column id="prcpgenrflag" type="STRING" size="256" sumtext="입원외래응급구분"/>
- <Column id="prcphopedt" type="STRING" size="256" sumtext="희망일자"/>
- <Column id="execprcpuniqno" type="INT" size="256" sumtext="실시처방번호"/>
- <Column id="prcpexecdeptcd" type="STRING" size="256" sumtext="처방실시부서코드"/>
- <Column id="rgstdeptcd" type="STRING" size="256" sumtext="최초처방부서코드"/>
- <Column id="rgstrid" type="STRING" size="256" sumtext="최초처방부서의사ID"/>
- <Column id="portprcpflag" type="STRING" size="256" sumtext="포터블처방구분"/>
- <Column id="inflag" type="STRING" size="256" sumtext="재원중여부"/>
- <Column id="rcptacptyn" type="STRING" size="256" sumtext="수납여부"/>
- <Column id="execbaseflag" type="STRING" size="256" sumtext="실시기준여부"/>
- <Column id="lrgcd" type="STRING" size="256" sumtext="검사그룹코드(AEBMECCD)"/>
- <Column id="mdlcd" type="STRING" size="256" sumtext="부위코드(AEBMECCD)"/>
- <Column id="excupartcd" type="STRING" size="256" sumtext="검사치료부위코드"/>
- <Column id="excupartnm" type="STRING" size="256" sumtext="검사치료부위명"/>
- <Column id="modality" type="STRING" size="256" sumtext="Modality(AEBMECCD)"/>
- <Column id="pacsnocretyn" type="STRING" size="256" sumtext="PACS연동여부(AEBMECCD)"/>
- <Column id="orddepthngnm" type="STRING" size="256" sumtext="진료과명"/>
- <Column id="orddd" type="STRING" size="256" sumtext="PACS연동, 진료(입원)일"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="PACS연동, 진료과코드"/>
- <Column id="orddrid" type="STRING" size="256" sumtext="진료의"/>
- <Column id="execprcpstatcd" type="STRING" size="256" sumtext="처방상태구분코드"/>
- <Column id="eqmtifyn" type="STRING" size="256" sumtext="장비IF여부"/>
- <Column id="basesuppdeptcd" type="STRING" size="256" sumtext="세션부서코드"/>
- <Column id="cretno" type="INT" size="256" sumtext="생성번호"/>
- <Column id="inclprcpcd" type="STRING" size="256" sumtext="종속처방"/>
- <Column id="rsrvdd" type="STRING" size="256" sumtext="예약일자"/>
- <Column id="execrem" type="STRING" size="256" sumtext="검사코멘트"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="병실코드"/>
- <Column id="wardcd" type="STRING" size="256" sumtext="병동코드"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="입원외래구분"/>
- <Column id="basesuppdeptcd" type="STRING" size="256" sumtext="시행부서처방부서"/>
- <Column id="rcptdd" type="STRING" size="256" sumtext="검사의"/>
- <Column id="carecnfmdd" type="STRING" size="256" sumtext="검사의"/>
- <Column id="prcpno" type="INT" size="256" sumtext="처방번호"/>
- <Column id="rcptacptyn" type="STRING" size="256" sumtext="미수납접수여부"/>
- <Column id="rcptrsrvyn" type="STRING" size="256" sumtext="미수납예약여부"/>
- <Column id="cnclresncd" type="STRING" size="256" sumtext="미수납예약여부"/>
- <Column id="cnclresncdnm" type="STRING" size="256" sumtext="미수납예약여부"/>
- <Column id="aftrcptinfo" type="STRING" size="256" sumtext="후수납구분"/>
- <Column id="dschdd" type="STRING" size="256" sumtext="퇴원일자"/>
- <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
- <Column id="choiordflag" type="STRING" size="256" sumtext="선택진료여부"/>
- <Column id="specdrid" type="STRING" size="256" sumtext="선택진료의"/>
- <Column id="specdrnm" type="STRING" size="256" sumtext="선택진료의명"/>
- <!-- 2013110 kya 실시일자추가 -->
- <Column id="execdd" type="STRING" size="256" sumtext="실시일자"/>
- <!-- 20160613 kya VIP, VIP사유 추가 -->
- <Column id="vipflag" type="STRING" size="256" sumtext="VIP유무"/>
- <Column id="clntgrde" type="STRING" size="256" sumtext="VIP사유"/>
- <Column id="sedyn" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_mainordlist3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="check" type="STRING"/>
- <Column id="excuroomcd" type="STRING"/>
- <Column id="rsrvtm" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="sna" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="calcscorcd" type="STRING"/>
- <Column id="genrflag" type="STRING"/>
- <Column id="rcptyn" type="STRING"/>
- <Column id="choiordflag" type="STRING"/>
- <Column id="specdrnm" type="STRING"/>
- <Column id="opdrnm" type="STRING"/>
- <Column id="cnfmmannm" type="STRING"/>
- <Column id="execprcpuniqno" type="STRING"/>
- <Column id="excupartnm" type="STRING"/>
- <Column id="cretno" type="STRING"/>
- <Column id="prcpexecdeptcd" type="STRING"/>
- <Column id="execprcpstatcd" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="orddd" type="STRING"/>
- <Column id="acptrem" type="STRING"/>
- <Column id="prcpdelivefact" type="STRING"/>
- <Column id="rsrvrem" type="STRING"/>
- <Column id="rsrvdd" type="STRING"/>
- <Column id="excupartcd" type="STRING"/>
- <Column id="ioflag" type="STRING"/>
- <Column id="issdept" type="STRING"/>
- <Column id="age" type="STRING"/>
- <Column id="rcptrsrvyn" type="STRING"/>
- <Column id="rcptacptyn" type="STRING"/>
- <Column id="orddrid" type="STRING"/>
- <Column id="orddeptcd" type="STRING"/>
- <Column id="prcpgenrflag" type="STRING"/>
- <Column id="aftrcptinfo" type="STRING"/>
- <Column id="basesuppdeptcd" type="STRING"/>
- <Column id="emryn" type="STRING"/>
- <Column id="bf_srchrsrvtm" type="STRING"/>
- <Column id="execdd" type="STRING"/>
- <Column id="dschdd" type="STRING" size="256"/>
- <Column id="prcpno" type="STRING" size="256"/>
- <Column id="vipflag" type="STRING" size="256"/>
- <Column id="clntgrde" type="STRING" size="256"/>
- <Column id="sedyn" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_mainordlist4" firefirstcount="0" firenextcount="0" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" useclientlayout="false">
- <ColumnInfo>
- <Column id="execprcpstatcd" type="STRING"/>
- <Column id="excuroomcd" type="STRING"/>
- <Column id="rsrvtm" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="sna" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="calcscorcd" type="STRING"/>
- <Column id="genrflag" type="STRING"/>
- <Column id="rcptyn" type="STRING"/>
- <Column id="choiordflag" type="STRING"/>
- <Column id="specdrnm" type="STRING"/>
- <Column id="orddrnm" type="STRING"/>
- <Column id="cnfmmannm" type="STRING"/>
- <Column id="basesuppdeptcd" type="STRING"/>
- <Column id="excupartnm" type="STRING"/>
- <Column id="cretno" type="STRING"/>
- <Column id="prcpexecdeptcd" type="STRING"/>
- <Column id="rsrvdd" type="STRING"/>
- <Column id="excupartcd" type="STRING"/>
- <Column id="ioflag" type="STRING"/>
- <Column id="issdept" type="STRING"/>
- <Column id="age" type="STRING"/>
- <Column id="prcpgenrflag" type="STRING"/>
- <Column id="rsrvdt" type="STRING"/>
- <Column id="excuroomcd" type="STRING"/>
- <Column id="rsrvrem" type="STRING"/>
- <Column id="execprcpuniqno" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="rsrvdt" type="STRING"/>
- <Column id="orddrid" type="STRING"/>
- <Column id="statflag" type="STRING"/>
- <Column id="orddeptcd" type="STRING"/>
- <Column id="orddd" type="STRING"/>
- <Column id="pacsnocretyn" type="STRING"/>
- <Column id="eqmtifyn" type="STRING"/>
- <Column id="bf_srchrsrvtm" type="STRING"/>
- <Column id="specdrid" type="STRING"/>
- <Column id="aftrcptinfo" type="STRING"/>
- <Column id="execdd" type="STRING"/>
- <Column id="dschdd" type="STRING" size="256"/>
- <Column id="acptrem" type="STRING" size="256"/>
- <Column id="prcpno" type="STRING" size="256"/>
- <Column id="vipflag" type="STRING" size="256"/>
- <Column id="clntgrde" type="STRING" size="256"/>
- <Column id="sedyn" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_subordlist1" firefirstcount="0" firenextcount="0" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" useclientlayout="false">
- <ColumnInfo>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="sna" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="calcscorcd" type="STRING"/>
- <Column id="orddepthngnm" type="STRING"/>
- <Column id="orddrnm" type="STRING"/>
- <Column id="genrflag" type="STRING"/>
- <Column id="prcphopedt" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="rcptyn" type="STRING"/>
- <Column id="choiordflag" type="STRING"/>
- <Column id="specdrnm" type="STRING"/>
- <Column id="execprcpuniqno" type="STRING"/>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="excupartnm" type="STRING"/>
- <Column id="orddeptcd" type="STRING"/>
- <Column id="orddd" type="STRING"/>
- <Column id="excuroomcd" type="STRING"/>
- <Column id="orddrid" type="STRING"/>
- <Column id="prcpgenrflag" type="STRING"/>
- <Column id="basesuppdeptcd" type="STRING"/>
- <Column id="prcpdelivefact" type="STRING"/>
- <Column id="prcpexecdeptcd" type="STRING"/>
- <Column id="rsrvrem" type="STRING"/>
- <Column id="execrem" type="STRING"/>
- <Column id="rsrvdt" type="STRING"/>
- <Column id="cretno" type="STRING"/>
- <Column id="excupartcd" type="STRING"/>
- <Column id="ioflag" type="STRING"/>
- <Column id="issdept" type="STRING"/>
- <Column id="tmpldata" type="STRING"/>
- <Column id="rgstrid" type="STRING"/>
- <Column id="inflag" type="STRING"/>
- <Column id="execbaseflag" type="STRING"/>
- <Column id="aftrcptinfo" type="STRING"/>
- <Column id="rsrvtmplcd" type="STRING"/>
- <Column id="rsrvmultitmplcd" type="STRING"/>
- <Column id="emryn" type="STRING"/>
- <Column id="bf_srchrsrvtm" type="STRING"/>
- <Column id="execdd" type="STRING"/>
- <Column id="rsrvdd" type="STRING" size="256"/>
- <Column id="prcpno" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="dschdd" type="STRING" size="256"/>
- <Column id="vipflag" type="STRING" size="256"/>
- <Column id="clntgrde" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_subordlist2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="execprcpstatcd" type="STRING"/>
- <Column id="excuroomcd" type="STRING"/>
- <Column id="rsrvtm" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="sna" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="calcscorcd" type="STRING"/>
- <Column id="genrflag" type="STRING"/>
- <Column id="rcptyn" type="STRING"/>
- <Column id="orddepthngnm" type="STRING"/>
- <Column id="orddrnm" type="STRING"/>
- <Column id="cnfmmannm" type="STRING"/>
- <Column id="basesuppdeptcd" type="STRING"/>
- <Column id="excupartcd" type="STRING"/>
- <Column id="cretno" type="STRING"/>
- <Column id="prcpexecdeptcd" type="STRING"/>
- <Column id="rsrvdd" type="STRING"/>
- <Column id="excupartnm" type="STRING"/>
- <Column id="ioflag" type="STRING"/>
- <Column id="issdept" type="STRING"/>
- <Column id="age" type="STRING"/>
- <Column id="prcpgenrflag" type="STRING"/>
- <Column id="rsrvdt" type="STRING"/>
- <Column id="excuroomcd" type="STRING"/>
- <Column id="rsrvrem" type="STRING"/>
- <Column id="execprcpuniqno" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="rsrvdt" type="STRING"/>
- <Column id="orddrid" type="STRING"/>
- <Column id="statflag" type="STRING"/>
- <Column id="orddeptcd" type="STRING"/>
- <Column id="orddd" type="STRING"/>
- <Column id="pacsnocretyn" type="STRING"/>
- <Column id="eqmtifyn" type="STRING"/>
- <Column id="bf_srchrsrvtm" type="STRING"/>
- <Column id="execdd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_subprcplist" firefirstcount="0" firenextcount="0" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_grd_subprcplist_oncolumnchanged" useclientlayout="false">
- <ColumnInfo>
- <Column id="check" type="STRING"/>
- <Column id="statcd" type="STRING"/>
- <Column id="mset" type="STRING"/>
- <Column id="calcscorcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="sedatmplyn" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="acptdt" type="STRING"/>
- <Column id="execdd" type="STRING"/>
- <Column id="cnfmdt" type="STRING"/>
- <Column id="choiordflag" type="STRING"/>
- <Column id="specdrid" type="STRING"/>
- <Column id="drprcpetc7" type="STRING"/>
- <Column id="prcpvolunitnm" type="STRING"/>
- <Column id="drprcpetc8" type="STRING"/>
- <Column id="prcpqtyunitnm" type="STRING"/>
- <Column id="payflagcd" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="execprcpuniqno" type="STRING"/>
- <Column id="gubn" type="STRING"/>
- <Column id="rcptdd" type="STRING"/>
- <Column id="prcpclscd" type="STRING"/>
- <Column id="carecnfmdd" type="STRING"/>
- <Column id="prcpgenrflag" type="STRING"/>
- <Column id="orddeptcd" type="STRING"/>
- <Column id="orddrid" type="STRING"/>
- <Column id="ioflag" type="STRING"/>
- <Column id="cretno" type="STRING"/>
- <Column id="prcphistno" type="STRING"/>
- <Column id="opansflagcd" type="STRING"/>
- <Column id="suppdeptcd" type="STRING"/>
- <Column id="orddd" type="STRING"/>
- <Column id="inclprcpcd" type="STRING"/>
- <Column id="inclprcpno" type="STRING"/>
- <Column id="rootgubn" type="STRING"/>
- <Column id="execprcphistcd" type="STRING"/>
- <Column id="execprcpstatcd" type="STRING"/>
- <Column id="prcpflag" type="STRING"/>
- <Column id="prcpvol" type="STRING"/>
- <Column id="prcpvolunitflag" type="STRING"/>
- <Column id="prcpqty" type="STRING"/>
- <Column id="prcpqtyunitflag" type="STRING"/>
- <Column id="prcptims" type="STRING"/>
- <Column id="drugmthdspccd" type="STRING"/>
- <Column id="execdeptcd" type="STRING"/>
- <Column id="rsrvflag" type="STRING"/>
- <Column id="prcpsignflag" type="STRING"/>
- <Column id="aftcertflag" type="STRING"/>
- <Column id="aftcertdrid" type="STRING"/>
- <Column id="issdeptcd" type="STRING"/>
- <Column id="roomcd" type="STRING"/>
- <Column id="sugauseyn" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_ordlist1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="rsrvdt" type="STRING"/>
- <Column id="execdept" type="STRING"/>
- <Column id="prcpcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="rcptflag" type="STRING"/>
- <Column id="rem" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_ordlist2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="rsrvdt" type="STRING"/>
- <Column id="orddeptnm" type="STRING"/>
- <Column id="usernm" type="STRING"/>
- <Column id="rcptflag" type="STRING"/>
- <Column id="execflag" type="STRING"/>
- <Column id="rem" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_excuroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="excuroomcdnm" type="STRING"/>
- <Column id="excuroomcdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="excuroomcdid" type="STRING"/>
- <Column id="excuroomcdnm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_datagrid1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="excuroomcd" type="STRING"/>
- <Column id="cnt" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_A0608" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchpid" type="STRING" size="256"/>
- <Column id="srchdate1" type="STRING" size="256"/>
- <Column id="sgubn" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="srchrcptyn" type="STRING" size="256"/>
- <Column id="srchprcpgenrflag" type="STRING" size="256"/>
- <Column id="prcpgenrflag" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="acptlistflag" type="STRING" size="256"/>
- <Column id="excuroomcd" type="STRING" size="256"/>
- <Column id="memorem" type="STRING" size="256"/>
- <Column id="excupartcd" type="STRING" size="256"/>
- <Column id="srchgubn" type="STRING" size="256"/>
- <Column id="patrem" type="STRING" size="256"/>
- <Column id="memodd" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="patnm" type="STRING" size="256"/>
- <Column id="rsrvhour" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="prcpno" type="STRING" size="256"/>
- <Column id="execprcpuniqno" type="STRING" size="256"/>
- <Column id="orddrid" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="tabgubn" type="STRING" size="256"/>
- <Column id="rsrvprntflag" type="STRING" size="256"/>
- <Column id="prntsuppdeptcd" type="STRING" size="256"/>
- <Column id="execdd" type="STRING" size="256"/>
- <Column id="prntcalcscorcd" type="STRING" size="256"/>
- <Column id="largeclass" type="STRING" size="256"/>
- <Column id="rsrvdd1" type="STRING" size="256"/>
- <Column id="selectexcuroom" type="STRING" size="256"/>
- <Column id="rsrvtmplcd" type="STRING" size="256"/>
- <Column id="memorgstdd" type="STRING" size="256"/>
- <Column id="pexcuroomcd" type="STRING" size="256"/>
- <Column id="prsrvdd" type="STRING" size="256"/>
- <Column id="scrnid" type="STRING" size="256"/>
- <Column id="basesuppdeptcd" type="STRING" size="256"/>
- <Column id="suppdeptcd" type="STRING" size="256"/>
- <Column id="rsrvdd" type="STRING" size="256"/>
- <Column id="jciyn" type="STRING" size="256"/>
- <Column id="memorgstddprcpdd" type="STRING" size="256"/>
- <Column id="ecgflag" type="STRING" size="256"/>
- <Column id="excuroomcdid" type="STRING" size="256"/>
- <Column id="bodypartcdid" type="STRING" size="256"/>
- <Column id="srchdate2" type="STRING" size="256"/>
- <Column id="deptflag" type="STRING" size="256"/>
- <Column id="history" type="STRING" size="256"/>
- <Column id="room" type="STRING" size="256"/>
- <Column id="grupcdid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchpid"/>
- <Col id="srchdate1"/>
- <Col id="sgubn"/>
- <Col id="pid"/>
- <Col id="srchrcptyn"/>
- <Col id="srchprcpgenrflag"/>
- <Col id="prcpgenrflag"/>
- <Col id="ioflag"/>
- <Col id="acptlistflag"/>
- <Col id="excuroomcd"/>
- <Col id="memorem"/>
- <Col id="excupartcd"/>
- <Col id="srchgubn"/>
- <Col id="patrem"/>
- <Col id="memodd"/>
- <Col id="orddd"/>
- <Col id="cretno"/>
- <Col id="age"/>
- <Col id="sex"/>
- <Col id="patnm"/>
- <Col id="rsrvhour"/>
- <Col id="prcpdd"/>
- <Col id="prcpno"/>
- <Col id="execprcpuniqno"/>
- <Col id="orddrid"/>
- <Col id="orddeptcd"/>
- <Col id="tabgubn"/>
- <Col id="rsrvprntflag"/>
- <Col id="prntsuppdeptcd"/>
- <Col id="execdd"/>
- <Col id="prntcalcscorcd"/>
- <Col id="largeclass">M5</Col>
- <Col id="rsrvdd1"/>
- <Col id="selectexcuroom"/>
- <Col id="rsrvtmplcd"/>
- <Col id="memorgstdd"/>
- <Col id="pexcuroomcd">-</Col>
- <Col id="prsrvdd"/>
- <Col id="scrnid"/>
- <Col id="basesuppdeptcd"/>
- <Col id="suppdeptcd"/>
- <Col id="rsrvdd"/>
- <Col id="jciyn"/>
- <Col id="memorgstddprcpdd"/>
- <Col id="ecgflag"/>
- <Col id="bodypartcdid"/>
- <Col id="srchdate2"/>
- <Col id="deptflag"/>
- <Col id="excuroomcdid"/>
- <Col id="history"/>
- <Col id="room"/>
- <Col id="grupcdid"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_prcpexecdeptcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_specdridlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="usernm" type="STRING" size="256"/>
- <Column id="userid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_barcdprntsetup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_M0011" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_pmenu_grid01" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="name" type="STRING" size="256"/>
- <Column id="func" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="name">실변경</Col>
- <Col id="func">fRoomChange</Col>
- </Row>
- <Row>
- <Col id="name">-</Col>
- <Col id="func"/>
- </Row>
- <Row>
- <Col id="name">약/주사 액팅</Col>
- <Col id="func">fOldPrcpCdActing</Col>
- </Row>
- <Row>
- <Col id="name">-</Col>
- <Col id="func"/>
- </Row>
- <Row>
- <Col id="name">동의서/기타서식 반납</Col>
- <Col id="func">fAgreeFormPrnt</Col>
- </Row>
- <Row>
- <Col id="name">-</Col>
- <Col id="func"/>
- </Row>
- <Row>
- <Col id="name">간호처방</Col>
- <Col id="func">fNurPrcp</Col>
- </Row>
- <Row>
- <Col id="name">-</Col>
- <Col id="func"/>
- </Row>
- <Row>
- <Col id="name">통합기록조회</Col>
- <Col id="func">fTotalRprtSrch</Col>
- </Row>
- <Row>
- <Col id="name">-</Col>
- <Col id="func"/>
- </Row>
- <Row>
- <Col id="name">대기환자등록</Col>
- <Col id="func">fSetWaitExcuRoomPatList</Col>
- </Row>
- <Row>
- <Col id="name">-</Col>
- </Row>
- <Row>
- <Col id="name">Scope세척관리</Col>
- <Col id="func">fWashing</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_pmenu_grid02" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="name" type="STRING" size="256"/>
- <Column id="func" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="name">실변경</Col>
- <Col id="func">RoomChange</Col>
- </Row>
- <Row>
- <Col id="name">-</Col>
- <Col id="func"/>
- </Row>
- <Row>
- <Col id="name">동의서/기타서식 반납</Col>
- <Col id="func">fAgreeFormPrnt</Col>
- </Row>
- <Row>
- <Col id="name">-</Col>
- <Col id="func"/>
- </Row>
- <Row>
- <Col id="name">간호처방</Col>
- <Col id="func">fNurPrcp</Col>
- </Row>
- <Row>
- <Col id="name">-</Col>
- <Col id="func"/>
- </Row>
- <Row>
- <Col id="name">통합기록조회</Col>
- <Col id="func">fTotalRprtSrch</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_pmenu_grid03" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="name" type="STRING" size="256"/>
- <Column id="func" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="name">실시</Col>
- <Col id="func">fprcpacting</Col>
- </Row>
- <Row>
- <Col id="name">실시취소</Col>
- <Col id="func">fprcpactingcncl</Col>
- </Row>
- <Row>
- <Col id="name">-</Col>
- <Col id="func"/>
- </Row>
- <Row>
- <Col id="name">처방반환</Col>
- <Col id="func">fprcpdc</Col>
- </Row>
- <Row>
- <Col id="name">-</Col>
- <Col id="func"/>
- </Row>
- <Row>
- <Col id="name">선택지정의 변경</Col>
- <Col id="func">fSpecdrChange</Col>
- </Row>
- <Row>
- <Col id="name">-</Col>
- <Col id="func"/>
- </Row>
- <Row>
- <Col id="name">라벨출력</Col>
- <Col id="func">fPrintLabel</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_pmenu_grid04" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="name" type="STRING" size="256"/>
- <Column id="func" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="name">약/주사액팅</Col>
- <Col id="func">fOldPrcpCdActing</Col>
- </Row>
- <Row>
- <Col id="name">-</Col>
- <Col id="func"/>
- </Row>
- <Row>
- <Col id="name">예약증재출력</Col>
- <Col id="func">frersrvprnt</Col>
- </Row>
- <Row>
- <Col id="name">-</Col>
- <Col id="func"/>
- </Row>
- <Row>
- <Col id="name">예약예문선택</Col>
- <Col id="func">ChangeTmplcd2</Col>
- </Row>
- <Row>
- <Col id="name">-</Col>
- <Col id="func"/>
- </Row>
- <Row>
- <Col id="name">동의서/기타서식 반납</Col>
- <Col id="func">fAgreeFormPrnt</Col>
- </Row>
- <Row>
- <Col id="name">-</Col>
- <Col id="func"/>
- </Row>
- <Row>
- <Col id="name">간호처방</Col>
- <Col id="func">fNurPrcp</Col>
- </Row>
- <Row>
- <Col id="name">-</Col>
- <Col id="func"/>
- </Row>
- <Row>
- <Col id="name">통합기록조회</Col>
- <Col id="func">fTotalRprtSrch</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_pmenu_grid05" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="name" type="STRING" size="256"/>
- <Column id="func" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="name">모코드개별실시</Col>
- <Col id="func">fprcpacting</Col>
- </Row>
- <Row>
- <Col id="name">-</Col>
- <Col id="func"/>
- </Row>
- <Row>
- <Col id="name">처방일괄반환</Col>
- <Col id="func">fprcpdc</Col>
- </Row>
- <Row>
- <Col id="name">-</Col>
- <Col id="func"/>
- </Row>
- <Row>
- <Col id="name">선택지정의 변경</Col>
- <Col id="func">fSpecdrChange</Col>
- </Row>
- <Row>
- <Col id="name">-</Col>
- <Col id="func"/>
- </Row>
- <Row>
- <Col id="name">라벨출력</Col>
- <Col id="func">fPrintLabel</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_pmenu_grid06" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="name" type="STRING" size="256"/>
- <Column id="func" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="name">약/주사액팅</Col>
- <Col id="func">fOldPrcpCdActing</Col>
- </Row>
- <Row>
- <Col id="name">-</Col>
- <Col id="func"/>
- </Row>
- <Row>
- <Col id="name">동의서/기타서식 반납</Col>
- <Col id="func">fAgreeFormPrnt</Col>
- </Row>
- <Row>
- <Col id="name">-</Col>
- <Col id="func"/>
- </Row>
- <Row>
- <Col id="name">간호처방</Col>
- <Col id="func">fNurPrcp</Col>
- </Row>
- <Row>
- <Col id="name">-</Col>
- <Col id="func"/>
- </Row>
- <Row>
- <Col id="name">통합기록조회</Col>
- <Col id="func">fTotalRprtSrch</Col>
- </Row>
- <Row>
- <Col id="name">-</Col>
- <Col id="func"/>
- </Row>
- <Row>
- <Col id="name">예약예문선택</Col>
- <Col id="func">ChangeTmplcd</Col>
- </Row>
- <Row>
- <Col id="name">-</Col>
- <Col id="func"/>
- </Row>
- <Row>
- <Col id="name">병리[생검]수동매칭</Col>
- <Col id="func">SPLPJ02500</Col>
- </Row>
- <Row>
- <Col id="name">-</Col>
- </Row>
- <Row>
- <Col id="func">fWashing</Col>
- <Col id="name">Scope세척관리</Col>
- </Row>
- <Row>
- <Col id="name">-</Col>
- </Row>
- <Row>
- <Col id="name">병실환자임시예약</Col>
- <Col id="func">fTempRsrv</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_pmenu_grid07" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="name" type="STRING" size="256"/>
- <Column id="func" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="name">처방상세내역</Col>
- <Col id="func">fOpenPrcpList</Col>
- </Row>
- <Row>
- <Col id="name">-</Col>
- <Col id="func"/>
- </Row>
- <Row>
- <Col id="name">동의서/기타서식 반납</Col>
- <Col id="func">fAgreeFormPrnt</Col>
- </Row>
- <Row>
- <Col id="name">-</Col>
- <Col id="func"/>
- </Row>
- <Row>
- <Col id="name">간호처방</Col>
- <Col id="func">fNurPrcp</Col>
- </Row>
- <Row>
- <Col id="name">-</Col>
- <Col id="func"/>
- </Row>
- <Row>
- <Col id="name">통합기록조회</Col>
- <Col id="func">fTotalRprtSrch</Col>
- </Row>
- <Row>
- <Col id="name">-</Col>
- <Col id="func"/>
- </Row>
- <Row>
- <Col id="name">병리[생검]수동매칭</Col>
- <Col id="func">SPLPJ02500</Col>
- </Row>
- <Row>
- <Col id="name">-</Col>
- <Col id="func"/>
- </Row>
- <Row>
- <Col id="name">진정전 환자평가서</Col>
- <Col id="func">fDepeRecovPatSrch</Col>
- </Row>
- <Row>
- <Col id="name">-</Col>
- <Col id="func"/>
- </Row>
- <Row>
- <Col id="name">진정/회복 서식목록</Col>
- <Col id="func">fDepeRecovGenSrch</Col>
- </Row>
- <Row>
- <Col id="name">-</Col>
- </Row>
- <Row>
- <Col id="name">Scope세척관리</Col>
- <Col id="func">fWashing</Col>
- </Row>
- <Row>
- <Col id="name">-</Col>
- </Row>
- <Row>
- <Col id="name">내시경시술임시예약</Col>
- <Col id="func">fTempRsrv</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_subordlist1" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="patnm" type="STRING" size="256"/>
- <Column id="sna" type="STRING" size="256"/>
- <Column id="prcpgenrflag" type="STRING" size="256"/>
- <Column id="orddepthngnm" type="STRING" size="256"/>
- <Column id="orddrnm" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="excuroomcd" type="STRING" size="256"/>
- <Column id="rsrvdd" type="STRING" size="256"/>
- <Column id="rsrvtm" type="STRING" size="256"/>
- <Column id="rgstno" type="STRING" size="256"/>
- <Column id="prcpnm" type="STRING" size="256"/>
- <Column id="newprintflag" type="STRING" size="256"/>
- <Column id="btype" type="STRING" size="256"/>
- <Column id="rfidyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="patnm"/>
- <Col id="sna"/>
- <Col id="prcpgenrflag"/>
- <Col id="orddepthngnm"/>
- <Col id="orddrnm"/>
- <Col id="prcpdd"/>
- <Col id="excuroomcd"/>
- <Col id="rsrvdd"/>
- <Col id="rsrvtm"/>
- <Col id="rgstno"/>
- <Col id="prcpnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_examcureexecdiaglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_prcpdelifactlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpdelivefact" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_isolinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="etccnts" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_patlist_patrem" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="memo" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_examcuredeptmemolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="memorem" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_grd_excuroomcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_grd_excupartcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_result_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_cnclcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_rexbarcode" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="patnm" type="STRING" size="256"/>
- <Column id="gbn" type="STRING" size="256"/>
- <Column id="rrgstno1" type="STRING" size="256"/>
- <Column id="rrgstno2" type="STRING" size="256"/>
- <Column id="barpid" type="STRING" size="256"/>
- <Column id="excugrp" type="STRING" size="256"/>
- <Column id="rsrvdd" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="wardcddeptengabbr" type="STRING" size="256"/>
- <Column id="excupartcd" type="STRING" size="256"/>
- <Column id="roomcd" type="STRING" size="256"/>
- <Column id="prcpnm" type="STRING" size="256"/>
- <Column id="examroomnm" type="STRING" size="256"/>
- <Column id="wardcdnm" type="STRING" size="256"/>
- <Column id="prcphopedd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="patnm"/>
- <Col id="gbn"/>
- <Col id="rrgstno1"/>
- <Col id="rrgstno2"/>
- <Col id="barpid"/>
- <Col id="excugrp"/>
- <Col id="rsrvdd"/>
- <Col id="sex"/>
- <Col id="age"/>
- <Col id="wardcddeptengabbr"/>
- <Col id="excupartcd"/>
- <Col id="roomcd"/>
- <Col id="prcpnm"/>
- <Col id="examroomnm"/>
- <Col id="wardcdnm"/>
- <Col id="prcphopedd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_grdgubnlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="grdgubn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_tmplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_execrcodelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_prcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid3" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_setupinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="dsvaluepath" type="STRING" size="256"/>
- <Column id="prntkind" type="STRING" size="256"/>
- <Column id="commkind" type="STRING" size="256"/>
- <Column id="rexgbn" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_data_comm02" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="dsvaluepath" type="STRING" size="256"/>
- <Column id="comm" type="STRING" size="256"/>
- <Column id="databit" type="STRING" size="256"/>
- <Column id="stopbit" type="STRING" size="256"/>
- <Column id="baudrate" type="STRING" size="256"/>
- <Column id="parity" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="dsvaluepath">/setupinfo</Col>
- <Col id="comm">2</Col>
- <Col id="databit">8</Col>
- <Col id="stopbit">1</Col>
- <Col id="baudrate">9600</Col>
- <Col id="parity">n</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_blank" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="dsvaluepath" type="STRING" size="256"/>
- <Column id="left" type="STRING" size="256"/>
- <Column id="top" type="STRING" size="256"/>
- <Column id="b472size" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_data_comm01" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="setupval" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_comment2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="rsrvrem" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_comment3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="execcmt" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_subordlist_nameconflict" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_patlist_serdiagtodd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="serdiagtodd" type="STRING" size="256"/>
- <Column id="rareobsttodd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_bardata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="testdeptcd" type="STRING" size="256"/>
- <Column id="regnopatnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_barcdprntsetup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_paminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_A1000" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group3.tar_patrem" propid="value" datasetid="ds_patlist_patrem" columnid="memo"/>
- <BindItem id="item1" compid="group3.group6.ipt_date1" propid="value" datasetid="ds_send" columnid="srchdate1"/>
- <BindItem id="item2" compid="group3.group6.input5" propid="value" datasetid="ds_send" columnid="pid"/>
- <BindItem id="item3" compid="group3.group6.radio2" propid="value" datasetid="ds_send" columnid="srchrcptyn"/>
- <BindItem id="item4" compid="group3.group6.rdo_srchprcpgenrflag" propid="value" datasetid="ds_send" columnid="srchprcpgenrflag"/>
- <BindItem id="item5" compid="group3.ipt_cntsqty" propid="value" datasetid="ds_subordlist1" columnid="pid"/>
- <BindItem id="item6" compid="group3.input1" propid="value" datasetid="ds_subordlist1" columnid="patnm"/>
- <BindItem id="item7" compid="group3.input2" propid="value" datasetid="ds_subordlist1" columnid="sna"/>
- <BindItem id="item8" compid="group3.input10" propid="value" datasetid="ds_subordlist1" columnid="prcpgenrflag"/>
- <BindItem id="item9" compid="group3.input3" propid="value" datasetid="ds_subordlist1" columnid="orddepthngnm"/>
- <BindItem id="item10" compid="group3.input4" propid="value" datasetid="ds_subordlist1" columnid="orddrnm"/>
- <BindItem id="item11" compid="group3.input9" propid="value" datasetid="ds_subordlist1" columnid="prcpdd"/>
- <BindItem id="item12" compid="group3.cmb_excuroom" propid="value" datasetid="ds_subordlist1" columnid="excuroomcd"/>
- <BindItem id="item13" compid="group3.cmb_rsrvdd" propid="value" datasetid="ds_send" columnid="rsrvdd"/>
- <BindItem id="item14" compid="group3.output1" propid="value" datasetid="ds_subordlist1" columnid="rgstno"/>
- <BindItem id="item15" compid="group7.textarea1" propid="value" datasetid="ds_isolinfo" columnid="etccnts"/>
- <BindItem id="item16" compid="group3.tar_prcpremfact" propid="value" datasetid="ds_prcpdelifactlist" columnid="prcpdelivefact"/>
- <BindItem id="item17" compid="group3.tat_deptmemo" propid="value" datasetid="ds_examcuredeptmemolist" columnid="memorem"/>
- <BindItem id="item18" compid="group3.tar_acptrem" propid="value" datasetid="ds_main_comment2" columnid="rsrvrem"/>
- <BindItem id="item19" compid="group3.tar_execrem" propid="value" datasetid="ds_main_comment3" columnid="execcmt"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "com_basiccodexp::ZBC001.xjs";
- include "ast_examcurexp::AEZ0001.xjs";
- //include "emr_wardcarexp::SMMNB01810.xjs";
- include "emr_waitguidexp::SMMNV12000.xjs";
- include "lis_commonxp::LZZ002.xjs";
- include "lis_commonxp::LZZ001.xjs";
- include "lis_commonxp::LLZ001.xjs";
- include "emr_carecomxp::CareCom.xjs";
- include "pam_pamcomnxp::PAM.xjs";
- include "com_commodulexp::SSZFM00901.xjs";
- include "ast_examcurexp::combolist.xjs";
- var arErrorCode = new HashArray();
- var lv_instance1 = "";
- var lv_checkseq = "";
- var lv_idx;
- /*******************************************************************************************************************************************************************/
- // 화면 클리어
- /*******************************************************************************************************************************************************************/
- function dataClear() {
- ds_send.setColumn(0,"srchpid", "");
- ds_send.setColumn(0,"prcpdd", "");
- ds_send.setColumn(0,"execprcpuniqno", "");
- ds_send.setColumn(0,"ioflag", "I");
-
- call_TRAEA01517();
-
- //상병정보, 검사예약, 진료예약, 처방내역
- ds_subordlist1.clearData();
- ds_grd_ordlist1.clearData();
- ds_grd_ordlist2.clearData();
- ds_grd_subprcplist.clearData();
- ds_examcureexecdiaglist.clearData();
- ds_isolinfo.clearData();
- ds_prcpdelifactlist.clearData();
- var oParam = {};
- oParam.id = "TRAEA01506";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_reqparam";
- oParam.outds = "ds_subordlist1=examcureexecdiaglist ds_grd_ordlist1=gettestrsrvinfo ds_grd_ordlist2=getordrsrvinfo ds_grd_subprcplist=examcureexecprcplist ds_examcureexecdiaglist=diaglist ds_prcpdelifactlist=prcpdelifactlist ds_isolinfo=patisolinfolist ds_main_subordlist_nameconflict=conflictyn";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01506";
- tranf_submit(oParam);
-
-
-
- //감염정보
- group3.cpt_isolinfo.text = "";
- if (!utlf_isNull(ds_isolinfo.getColumn(0,"etccnts"))) {
- group3.cpt_isolinfo.text = "[확인]";
- }
-
- ds_send.setColumn(0,"rsrvdd","");
- group3.cmb_rsrvtm.value = "";
-
- group3.tar_acptrem.value = ""; //예약코멘트
- group3.tar_execrem.value = "" ; //검사코멘트
- group3.tar_acptrem.value = ""; //예약코멘트
-
- group3.opt_excucnt.value = ""; //검사예약껀수
- group3.opt_emrcnt.value = ""; //진료예약껀수
- group3.opt_vipflag.value = ""; //VIP 사유 20160614
-
-
- //반환처방 색상주기
-
- // grdf_initGridStyle(group3.grd_subprcplist);
- // grdf_setRowStyle(group3.grd_subprcplist , "2" , "E" , "execprcphistcd","equal" );
- // grdf_setRowStyle(group3.grd_subprcplist , "2" , "D" , "execprcphistcd","equal" );
- // grdf_setRowStyle(group3.grd_subprcplist , "2" , "L" , "execprcphistcd","equal" );
- }
- /*******************************************************************************************************************************************************************/
- //검사실별 , 부위별 껀수
- /*******************************************************************************************************************************************************************/
- function fTestRoom( gridobj:Grid, dsObj:Dataset){
- if (group3.switch3.tabindex == 1 && group3.switch1.tabindex != 0 ) { //검사실별
- dataClear();
-
- //grd_excuroomcd.visible = false;
- var grdCnt = group3.switch3.case8.grd_excuroomcd.getCellCount("Head");
- for (var i = 0; i < grdCnt; i++){
- group3.switch3.case8.grd_excuroomcd.deleteContentsCol(0);
- }
- ds_grd_excuroomcd.clear();
- ds_datagrid1.clearData();
- ds_send.setColumn(0,"excuroomcd","");
- for (var i = 0; i < dsObj.rowcount; i++){
- if (!utlf_isNull(dsObj.getColumn(i,"excuroomcd"))){
- var irow = ds_datagrid1.findRow("excuroomcd",gridobj.getCellText(i, 2));
- if (irow < 0){
- var nRow = ds_datagrid1.addRow();
- ds_datagrid1.setColumn(nRow,"excuroomcd", gridobj.getCellText(i, 2));
- ds_datagrid1.setColumn(nRow,"cnt", 1);
- }else{
- var icnt = ds_datagrid1.getColumn(irow, "cnt");
- icnt = parseInt(icnt) + 1;
- ds_datagrid1.setColumn(irow, "cnt", icnt);
- }
- }
- }
-
-
- ds_grd_excuroomcd.addRow();
- for (var i = 0; i < ds_datagrid1.rowcount; i++){
- var icol = "a" + i;
- ds_grd_excuroomcd.addColumn(icol,"string");
- if(group3.switch3.case8.grd_excuroomcd.getFormatColCount() == 0)
- {
- group3.switch3.case8.grd_excuroomcd.createFormat();
- }
- else
- {
- group3.switch3.case8.grd_excuroomcd.appendContentsCol();
- }
-
- group3.switch3.case8.grd_excuroomcd.setFormatColProperty(group3.switch3.case8.grd_excuroomcd.getFormatColCount()-1,"size",50);
- group3.switch3.case8.grd_excuroomcd.setCellProperty("body", group3.switch3.case8.grd_excuroomcd.getFormatColCount()-1, "text", "bind:"+ icol);
-
- group3.switch3.case8.grd_excuroomcd.setCellProperty("head",i,"text",ds_datagrid1.getColumn(i,"excuroomcd"));
- group3.switch3.case8.grd_excuroomcd.setCellProperty("head",i,"align","left");
- ds_grd_excuroomcd.setColumn(0,icol, ds_datagrid1.getColumn(i,"cnt"));
-
- }
- group3.switch3.case8.grd_excuroomcd.insertContentsCol(0);
- group3.switch3.case8.grd_excuroomcd.setFormatColProperty(0,"size",10);
- }
- if ( group3.switch3.tabindex == 0 ) { //종류별
- dataClear();
-
- //grd_excupartcd.visible = false;
- var grdCnt = group3.switch3.case9.grd_excupartcd.getCellCount("Head");
- for (var i = 0; i < grdCnt; i++){
- group3.switch3.case9.grd_excupartcd.deleteContentsCol(0);
- }
- ds_grd_excupartcd.clear();
-
- ds_datagrid1.clearData();
- ds_send.setColumn(0,"excupartcd","");
- for (var i = 0; i < dsObj.rowcount; i++){
- if (!utlf_isNull(dsObj.getColumn(i,"excupartnm"))){
- var irow = ds_datagrid1.findRow("excuroomcd",gridobj.getCellText(i, 13));
- if (irow < 0){
- var nRow = ds_datagrid1.addRow();
- ds_datagrid1.setColumn(nRow,"excuroomcd", gridobj.getCellText(i, 13));
- ds_datagrid1.setColumn(nRow,"cnt", 1);
- }else{
- var icnt = ds_datagrid1.getColumn(irow, "cnt");
- icnt = parseInt(icnt) + 1;
- ds_datagrid1.setColumn(irow, "cnt", icnt);
- }
- }
- }
-
-
- ds_grd_excupartcd.addRow();
- for (var i = 0; i < ds_datagrid1.rowcount; i++){
- var icol = "a" + i;
- ds_grd_excupartcd.addColumn(icol,"string");
- group3.switch3.case9.grd_excupartcd.appendContentsCol();
- group3.switch3.case9.grd_excupartcd.setFormatColProperty(group3.switch3.case9.grd_excupartcd.getCellCount("Body")-1,"size",55);
- group3.switch3.case9.grd_excupartcd.setCellProperty("body", group3.switch3.case9.grd_excupartcd.getCellCount("Body")-1, "text", "bind:"+ icol);
-
- group3.switch3.case9.grd_excupartcd.setCellProperty("head",i+1,"text",ds_datagrid1.getColumn(i,"excuroomcd"));
-
- ds_grd_excupartcd.setColumn(0,icol, ds_datagrid1.getColumn(i,"cnt"));
-
- }
- if(group3.switch3.case9.grd_excupartcd.getCellCount("Body")>0)
- {
- group3.switch3.case9.grd_excupartcd.setFormatColProperty(0,"size",10);
- }
-
- }
- }
- function fGetExamCureAcptList(acptlistflag) {
- appf_delPatientInfos(); //상단환자정보 클리어
-
- // flag Setting
- ds_send.setColumn(0,"acptlistflag", acptlistflag);
- switch (acptlistflag) {
- case "Y": //예약
- group3.btn_cncl.enable = true; //예약취소
- group3.btn_rsrv.enable = true; //예약
- //예약일자 미래날짜이면 접수못함.
- if( ds_send.getColumn(0,"srchdate1") <= utlf_getCurrentDate() ) {
- group3.btn_save.enable = true;
- }else {
- group3.btn_save.enable = false;
- }
-
- group3.btn_acptcncl.enable = false; //접수취소
-
- group3.switch1.tabindex = 1;
-
- dsf_createDsRow("ds_send_reqparam", [{col: "acptlistflag", val:ds_send.getColumn(0,"acptlistflag")}
- ,{col: "basesuppdeptcd", val:lv_instance1}
- ,{col: "excuroomcd", val:ds_send.getColumn(0,"excuroomcd") }
- ,{col: "initexcuroom", val:ds_send.getColumn(0,"excuroomcd") }
- ,{col: "srchdate1", val:ds_send.getColumn(0,"srchdate1") }
- ,{col: "excupartcd", val:ds_send.getColumn(0,"excupartcd") }
- ,{col: "srchprcpgenrflag", val:ds_send.getColumn(0,"srchprcpgenrflag") }
- ,{col: "srchrcptyn", val:ds_send.getColumn(0,"srchrcptyn") }
- ,{col: "sgubn", val:ds_send.getColumn(0,"sgubn") }
- ,{col: "pid", val:ds_send.getColumn(0,"pid") }
- ,{col: "history", val:ds_send.getColumn(0,"history") }
- ,{col: "largeclass", val:"R5" }
- ]);
- var oParam = {};
- oParam.id = "TRAEA01501";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_reqparam";
- oParam.outds = "ds_grd_mainordlist1=examcureexecprcplist";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01501";
- tranf_submit(oParam);
- grdf_setToolTipBind(group3.switch1.case1.grd_mainordlist1);
- fTestRoom(group3.switch1.case1.grd_mainordlist1, ds_grd_mainordlist1);
-
- ds_grd_mainordlist1.rowposition = -1;
- break;
- case "T": //접수
- group3.btn_cncl.enable = false; //예약취소
- group3.btn_rsrv.enable = false; //예약
- group3.btn_save.enable = false; //접수
- group3.btn_acptcncl.enable = true; //접수취소
- group3.switch1.tabindex = 2;
- dsf_createDsRow("ds_send_reqparam", [{col: "acptlistflag", val:ds_send.getColumn(0,"acptlistflag")}
- ,{col: "basesuppdeptcd", val:lv_instance1}
- ,{col: "excuroomcd", val:ds_send.getColumn(0,"excuroomcd") }
- ,{col: "initexcuroom", val:ds_send.getColumn(0,"excuroomcd") }
- ,{col: "srchdate1", val:ds_send.getColumn(0,"srchdate1") }
- ,{col: "excupartcd", val:ds_send.getColumn(0,"excupartcd") }
- ,{col: "srchprcpgenrflag", val:ds_send.getColumn(0,"srchprcpgenrflag") }
- ,{col: "srchrcptyn", val:ds_send.getColumn(0,"srchrcptyn") }
- ,{col: "sgubn", val:ds_send.getColumn(0,"sgubn") }
- ,{col: "pid", val:ds_send.getColumn(0,"pid") }
- ,{col: "history", val:ds_send.getColumn(0,"history") }
- ,{col: "largeclass", val:"M5" }
- ]);
- ds_grd_mainordlist2.updateColID("acptrem","execrem");
- var oParam = {};
- oParam.id = "TRAEA01502";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_reqparam";
- oParam.outds = "ds_grd_mainordlist2=examcureexecprcplist";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01502";
- tranf_submit(oParam);
- grdf_setToolTipBind(group3.switch1.case2.grd_mainordlist2);
- fTestRoom(group3.switch1.case2.grd_mainordlist2, ds_grd_mainordlist2);
-
- ds_grd_mainordlist2.rowposition = -1;
- break;
- case "Z": //결과
- group3.btn_cncl.enable = false; //예약취소
- group3.btn_rsrv.enable = false; //예약
- group3.btn_save.enable = false; //접수
- group3.btn_acptcncl.enable = false; //접수취소
-
- group3.switch1.tabindex = 3;
- dsf_createDsRow("ds_send_reqparam", [{col: "acptlistflag", val:ds_send.getColumn(0,"acptlistflag")}
- ,{col: "basesuppdeptcd", val:lv_instance1}
- ,{col: "initexcuroom", val:ds_send.getColumn(0,"excuroomcdid") }
- ,{col: "srchdate1", val:ds_send.getColumn(0,"srchdate1") }
- ,{col: "excuroomflag", val:lv_instance1 }
- ,{col: "srchprcpgenrflag", val:ds_send.getColumn(0,"srchprcpgenrflag") }
- ,{col: "srchrcptyn", val:ds_send.getColumn(0,"srchrcptyn") }
- ,{col: "sgubn", val:ds_send.getColumn(0,"sgubn") }
- ,{col: "pid", val:ds_send.getColumn(0,"pid") }
- ,{col: "history", val:ds_send.getColumn(0,"history") }
- ,{col: "largeclass", val:"M5" }
- ]);
- var oParam = {};
- oParam.id = "TRAEA01503";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_reqparam";
- oParam.outds = "ds_grd_mainordlist3=examcureexecprcplist";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01503";
- tranf_submit(oParam);
- grdf_setToolTipBind(group3.switch1.case3.grd_mainordlist3);
- fTestRoom(group3.switch1.case3.grd_mainordlist3, ds_grd_mainordlist3);
-
- ds_grd_mainordlist3.rowposition = -1;
- break;
- case "L": //전체
- group3.btn_cncl.enable = false; //예약취소
- group3.btn_rsrv.enable = false; //예약
- group3.btn_save.enable = false; //접수
- group3.btn_acptcncl.enable = false; //접수취소
-
- group3.switch1.tabindex = 4;
- dsf_createDsRow("ds_send_reqparam", [{col: "acptlistflag", val:ds_send.getColumn(0,"acptlistflag")}
- ,{col: "basesuppdeptcd", val:lv_instance1}
- ,{col: "initexcuroom", val:ds_send.getColumn(0,"excuroomcdid") }
- ,{col: "srchdate1", val:ds_send.getColumn(0,"srchdate1") }
- ,{col: "excuroomflag", val:lv_instance1 }
- ,{col: "srchprcpgenrflag", val:ds_send.getColumn(0,"srchprcpgenrflag") }
- ,{col: "srchrcptyn", val:ds_send.getColumn(0,"srchrcptyn") }
- ,{col: "sgubn", val:ds_send.getColumn(0,"sgubn") }
- ,{col: "pid", val:ds_send.getColumn(0,"pid") }
- ,{col: "history", val:ds_send.getColumn(0,"history") }
- ,{col: "largeclass", val:"M5" }
- ]);
- var oParam = {};
- oParam.id = "TRAEA01504";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_reqparam";
- oParam.outds = "ds_grd_mainordlist4=examcureexecprcplist";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01504";
- tranf_submit(oParam);
- grdf_setToolTipBind(group3.switch1.case4.grd_mainordlist4);
- fTestRoom(group3.switch1.case4.grd_mainordlist4, ds_grd_mainordlist4);
-
- ds_grd_mainordlist4.rowposition = -1;
- break;
-
- case "S": // 시행부서처방
- group3.btn_cncl.enable = false; //예약취소
- group3.btn_rsrv.enable = false; //예약
- group3.btn_save.enable = false; //접수
- group3.btn_acptcncl.enable = false; //접수취소
-
- group3.switch1.tabindex = 5;
- dsf_createDsRow("ds_send_reqparam", [{col: "acptlistflag", val:ds_send.getColumn(0,"acptlistflag")}
- ,{col: "basesuppdeptcd", val:lv_instance1}
- ,{col: "excuroomcd", val:ds_send.getColumn(0,"excuroomcd") }
- ,{col: "initexcuroom", val:ds_send.getColumn(0,"excuroomcd") }
- ,{col: "srchdate1", val:ds_send.getColumn(0,"srchdate1") }
- ,{col: "excuroomflag", val:lv_instance1 }
- ,{col: "excupartcd", val:ds_send.getColumn(0,"excupartcd") }
- ,{col: "srchprcpgenrflag", val:ds_send.getColumn(0,"srchprcpgenrflag") }
- ,{col: "srchrcptyn", val:ds_send.getColumn(0,"srchrcptyn") }
- ,{col: "sgubn", val:ds_send.getColumn(0,"sgubn") }
- ,{col: "pid", val:ds_send.getColumn(0,"pid") }
- ,{col: "memodt1", val:ds_send.getColumn(0,"srchdate1") }
- ,{col: "memodt2", val:ds_send.getColumn(0,"srchdate1") }
- ,{col: "history", val:ds_send.getColumn(0,"history") }
- ,{col: "largeclass", val:"M5" }
- ,{col: "sublist", val:"main" }
- ]);
-
- var oParam = {};
- oParam.id = "TRAEA01515";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_reqparam";
- oParam.outds = "ds_grd_subordlist2=examcureexecprcplist ds_examcuredeptmemolist=examcuredeptmemolist";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01515";
- tranf_submit(oParam);
- grdf_setToolTipBind(group3.switch1.case10.grd_subordlist2);
- fTestRoom(group3.switch1.case10.grd_subordlist2, ds_grd_subordlist2);
-
- ds_grd_subordlist2.rowposition = -1;
- break;
-
- case "P": // 미예약
- group3.btn_cncl.enable = false; //예약취소
- group3.btn_rsrv.enable = true; //예약
-
- if( ds_send.getColumn(0,"sgubn") == "S" ) {
- group3.btn_save.enable = true;
- }else {
- group3.btn_save.enable = false; //접수
- }
-
- group3.btn_acptcncl.enable = false; //접수취소
- dsf_createDsRow("ds_send_reqparam", [{col: "acptlistflag", val:ds_send.getColumn(0,"acptlistflag")}
- ,{col: "basesuppdeptcd", val:lv_instance1}
- ,{col: "excuroomcd", val:ds_send.getColumn(0,"excuroomcd") }
- ,{col: "initexcuroom", val:ds_send.getColumn(0,"excuroomcd") }
- ,{col: "srchdate1", val:ds_send.getColumn(0,"srchdate1") }
- ,{col: "excuroomflag", val:lv_instance1 }
- ,{col: "excupartcd", val:ds_send.getColumn(0,"excupartcd") }
- ,{col: "srchprcpgenrflag", val:ds_send.getColumn(0,"srchprcpgenrflag") }
- ,{col: "srchrcptyn", val:ds_send.getColumn(0,"srchrcptyn") }
- ,{col: "sgubn", val:ds_send.getColumn(0,"sgubn") }
- ,{col: "pid", val:ds_send.getColumn(0,"pid") }
- ,{col: "memodt1", val:ds_send.getColumn(0,"srchdate1") }
- ,{col: "memodt2", val:ds_send.getColumn(0,"srchdate1") }
- ,{col: "history", val:ds_send.getColumn(0,"history") }
- ,{col: "largeclass", val:"M5" }
- ,{col: "sublist", val:"main" }
- ]);
- var oParam = {};
- oParam.id = "TRAEA01505";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_reqparam";
- oParam.outds = "ds_grd_subordlist1=examcureexecprcplist ds_examcuredeptmemolist=examcuredeptmemolist";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01505";
- tranf_submit(oParam);
- grdf_setToolTipBind(group3.switch1.case5.grd_subordlist1);
- fTestRoom(group3.switch1.case5.grd_subordlist1, ds_grd_subordlist1);
- // var k = 0;
- // for (var i = 0; i < ds_grd_subordlist1.rowcount; i++){
- // var stmpcd = utlf_transNullToEmpty(ds_grd_subordlist1.getColumn(i,"rsrvmultitmplcd"));
- // k =0;
- // for(var j=0; j < stmpcd.length; j++){
- // var ch = stmpcd.charAt(j);
- // if (ch == "^"){
- // k = parseInt(k) + 1;
- // }
- // }
- // if (k > 0){
- // ds_grd_subordlist1.setColumn(i,"color", "#0000ff");
- // }else{
- //
- // ds_grd_subordlist1.setColumn(i,"color", "");
- // }
- // }
- break;
- default:
- break;
- }
-
- switch (acptlistflag) {
- case "Y": //예약
-
- lf_aezfSetRowStyle(group3.switch1.case1.grd_mainordlist1 , "15^16^17" , "V^P^A" , "aftrcptinfo" ); //20101005 cell단위가 아닌 row단위로 표시 - 박재영
- break;
- case "T": // 접수
-
- lf_aezfSetRowStyle(group3.switch1.case2.grd_mainordlist2 , "15^16^17" , "V^P^A" , "aftrcptinfo" ); //미수납
- break;
- case "Z": // 결과
- lf_aezfSetRowStyle(group3.switch1.case3.grd_mainordlist3 , "15^16^17" , "V^P^A" , "aftrcptinfo" ); //미수납
- break;
- case "L": // 전체
-
- lf_aezfSetRowStyle(group3.switch1.case4.grd_mainordlist4 , "15^16^17" , "V^P^A" , "aftrcptinfo" ); //미수납
- break;
- case "S": // 시행부서처방
-
- lf_aezfSetRowStyle(group3.switch1.case10.grd_subordlist2 , "15^16^17" , "V^P^A", "aftrcptinfo" ); //미수납
- break;
- case "P": // 미예약
- lf_aezfSetRowStyle(group3.switch1.case5.grd_subordlist1 , "15^16^17" , "V^P^A" , "aftrcptinfo" ); //미수납
- break;
- default:
- break;
- }
-
- }
- function cf_TRAEA01501(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- ds_grd_mainordlist1.addColumn("check","string");
- fMakeCopyColumn(ds_grd_mainordlist1,"basesuppdeptcd","issdept");
- fMakeCopyColumn(ds_grd_mainordlist1,"rsrvdt","bf_srchrsrvtm");
- }
- function cf_TRAEA01502(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- ds_grd_mainordlist2.addColumn("check","string");
- // ds_grd_mainordlist2.deleteColumn("acptrem");
- ds_grd_mainordlist2.updateColID("execrem","acptrem");
- fMakeCopyColumn(ds_grd_mainordlist2,"basesuppdeptcd","issdept");
- }
- function cf_TRAEA01503(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- ds_grd_mainordlist3.addColumn("check","string");
- ds_grd_mainordlist3.updateColID("execrem","acptrem");
- fMakeCopyColumn(ds_grd_mainordlist3,"basesuppdeptcd","issdept");
- }
- function cf_TRAEA01504(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- dsf_setFixVal(ds_grd_mainordlist4, "hight:170,weight:50");
- // ds_grd_mainordlist4.addColumn("check","string");
- fMakeCopyColumn(ds_grd_mainordlist1,"basesuppdeptcd","issdept");
- fMakeCopyColumn(ds_grd_mainordlist1,"rsrvdt","bf_srchrsrvtm");
- }
- function cf_TRAEA01505(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- fMakeCopyColumn(ds_grd_subordlist1,"basesuppdeptcd","issdept");
- fMakeCopyColumn(ds_grd_subordlist1,"rsrvdt","bf_srchrsrvtm");
- ds_grd_subordlist1.addColumn("color","string");
- ds_grd_subordlist1.rowposition = -1;
- }
- function cf_TRAEA01515(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- fMakeCopyColumn(ds_grd_subordlist2,"basesuppdeptcd","issdept");
- fMakeCopyColumn(ds_grd_subordlist2,"rsrvdt","bf_srchrsrvtm");
- }
- function fSetPrint() {
- //20190710 바코드 재설정
- fn_barcdprntsetup();
-
- var count = ds_barcdprntsetup.rowcount;
- if(count == 0) {
- ds_barcdprntsetup.addRow();
- }
- var objArg = new Object();
- objArg.arg_sSetupInfo = ds_barcdprntsetup.getColumn(0,"prntsetupinfo");
- objArg.arg_sCallBackFunction = "lf_convertXmlToDs";
- frmf_open("SPZUR00300","SPZUR00300", objArg, "", "", "", "","","","","","","M" );
- // 렉스퍼트로 라벨출력가능하게 수정
- //open("SPZUR00300", "", "", "", "", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
-
- if(!utlf_isNull(frmf_getParameter("SetupInfo")))
- ds_main_barcdprntsetup.setColumn(0,"prntsetupinfo",frmf_clearParameter("SetupInfo"));
- }
- function ExeAccept (tabgubn) { //1
- var loop;
- var check;
- ds_grd_mainordlist1.setColumn(0,"acptrem",group3.tar_execrem.value); //검사코멘트
- group3.switch1.case1.grd_mainordlist1.enableredraw = false;
- ds_grd_mainordlist1.filter("check=='1' || check=='Y'");
- dsf_createDs("ds_tobeacptprcp");
- ds_tobeacptprcp.copyData(ds_grd_mainordlist1,true);
- ds_tobeacptprcp.updateColID("acptrem","execrem");
- ds_grd_mainordlist1.filter("");
- group3.switch1.case1.grd_mainordlist1.enableredraw = true;
-
- // ds_tobeacptprcp.addConstColumn("transactiongubn", "1");
- // ds_tobeacptprcp.addConstColumn("largeclass", "M5");
- // ds_tobeacptprcp.addConstColumn("execprcpstat440cd", "440");
- // ds_tobeacptprcp.addConstColumn("execprcpstat610cd", "610");
- // ds_tobeacptprcp.addConstColumn("rtno", "-");
- // ds_tobeacptprcp.addConstColumn("execrid1", "-");
- // ds_tobeacptprcp.addConstColumn("reqagnphoyn", "N");
- // ds_tobeacptprcp.addConstColumn("tretflagcd", "440");
- // ds_tobeacptprcp.addConstColumn("indd", "00000000");
- // ds_tobeacptprcp.addConstColumn("icfflag", "-");
- // ds_tobeacptprcp.addConstColumn("arvdt", "-");
- // ds_tobeacptprcp.addConstColumn("execrid2", "-");
- // ds_tobeacptprcp.addConstColumn("execrid3", "-");
- // ds_tobeacptprcp.addConstColumn("execrid4", "-");
- // ds_tobeacptprcp.addConstColumn("excuexectodt", "00000000000000");
- // ds_tobeacptprcp.addConstColumn("excuexecfromdt1", "00000000000000");
- // ds_tobeacptprcp.addConstColumn("excueqcd1", "-");
- // ds_tobeacptprcp.addConstColumn("excuexecfromdt2", "00000000000000");
- // ds_tobeacptprcp.addConstColumn("excueqcd2", "-");
- // ds_tobeacptprcp.addConstColumn("excuexecfromdt3", "00000000000000");
- // ds_tobeacptprcp.addConstColumn("excueqcd3", "-");
- // ds_tobeacptprcp.addConstColumn("excuexecfromdt4", "00000000000000");
- // ds_tobeacptprcp.addConstColumn("excueqcd4", "-");
- // ds_tobeacptprcp.addConstColumn("excuexecfromdt5", "00000000000000");
- // ds_tobeacptprcp.addConstColumn("excueqcd5", "-");
- // ds_tobeacptprcp.addConstColumn("opdrid", "orddrid");
- // ds_tobeacptprcp.addConstColumn("autroomassgyn", "N");
- // ds_tobeacptprcp.addConstColumn("rsltdd", "00000000");
- // ds_tobeacptprcp.addConstColumn("rslttm", "000000");
- // ds_tobeacptprcp.addConstColumn("rsltno", "0");
- // ds_tobeacptprcp.addConstColumn("rsltseqno", "0");
- // ds_tobeacptprcp.addConstColumn("cnfmdt", "00000000000000");
- // //ds_tobeacptprcp.addConstColumn("cnfmdt", "00000000000000");
- // ds_tobeacptprcp.addConstColumn("cnfmmanid", "-");
- // ds_tobeacptprcp.addConstColumn("eqmtifimgyn", "N");
- // ds_tobeacptprcp.addConstColumn("ocrimgyn", "N");
- // ds_tobeacptprcp.addConstColumn("rslttmplyn", "N");
- // ds_tobeacptprcp.addConstColumn("deptrem", "-");
- // ds_tobeacptprcp.addConstColumn("patrem", "-");
- // ds_tobeacptprcp.addConstColumn("excupartgrpcd", "-");
- dsf_setFixVal(ds_tobeacptprcp, "transactiongubn:1,largeclass:M5,execprcpstat440cd:440,execprcpstat610cd:610,rtno:-,execrid1:-,reqagnphoyn:N,tretflagcd:440"
- +",indd:00000000,icfflag:-,wardcd:-,arvdt:-,execrid2:-,execrid3:-,execrid4:-,excuexectodt:00000000000000"
- +",excuexecfromdt1:00000000000000,excueqcd1:-,excuexecfromdt2:00000000000000,excueqcd2:-,excuexecfromdt3:00000000000000"
- +",excueqcd3:-,excuexecfromdt4:00000000000000,excueqcd4:-,excuexecfromdt5:00000000000000,excueqcd5:-,opdrid:orddrid"
- +",autroomassgyn:N,rsltdd:00000000,rslttm:000000,rsltno:0,rsltseqno:0,cnfmdt:00000000000000,cnfmmanid:-,eqmtifimgyn:N"
- +",ocrimgyn:N,rslttmplyn:N,deptrem:-,patrem:-,excupartgrpcd:-");
- // 처방 -> 검사접수/실시완료
- if( tabgubn == "Y" ) {
- if ( sysf_messageBox("접수를 ","Q002")==6 ) {
- var oParam = {};
- oParam.id = "TXAEA01504";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqExeAcptExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_tobeacptprcp";
- oParam.outds = "ds_result_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TXAEA01504";
- tranf_submit(oParam);
- }
- dsf_deleteDs("ds_tobeacptprcp");
- }
- }
- function ExeCncl () {
- var loop;
- var check;
-
- var fRow = ds_grd_mainordlist2.findRow("check","Y");
-
- if(ds_grd_mainordlist2.getColumn(fRow,"execprcpstatcd") == "610") {
- //취소코드조회
-
- dsf_createDsRow("ds_send_popup", [{col: "basecdflag", val:"C"}
- ]);
- var objArg = new Object();
-
- objArg.arg_ds_receivedata = ds_send_popup;
- frmf_modal("SPAEA01500", "SPAEA01500",objArg,"", 0,100,150, "","","","","","M");
- //trace("ds_grd_mainordlist2.rowposition = " + ds_grd_mainordlist2.rowposition);
- ds_grd_mainordlist2.setColumn(ds_grd_mainordlist2.rowposition,"cnclresncd", ds_hidden_cnclcdlist.getColumn(0,"cnclcd"));
- ds_grd_mainordlist2.setColumn(ds_grd_mainordlist2.rowposition,"cnclresncdnm", ds_hidden_cnclcdlist.getColumn(0,"cnclcdnm"));
-
- group3.switch1.case2.grd_mainordlist2.enableredraw = false;
- ds_grd_mainordlist2.filter("check=='1' || check=='Y'");
- dsf_createDs("ds_tobeacptprcp");
- ds_tobeacptprcp.copyData(ds_grd_mainordlist2,true);
- ds_grd_mainordlist2.filter("");
- group3.switch1.case2.grd_mainordlist2.enableredraw = true;
-
- if ( sysf_messageBox("실시취소를 ","Q002")==6 ) {
- //취소사유코드 체크
- if( utlf_isNull(ds_hidden_cnclcdlist.getColumn(0,"cnclcd"))){
- sysf_messageBox("취소사유코드를","C001");
- return "0";
- }else{
- // ds_tobeacptprcp.addConstColumn("transactiongubn", "4");
- // ds_tobeacptprcp.addConstColumn("largeclass", "M5");
- // ds_tobeacptprcp.addConstColumn("execprcpstatXcd", "X");
- // ds_tobeacptprcp.addConstColumn("execprcpstat440cd", "440");
- // ds_tobeacptprcp.addConstColumn("execprcpstat610cd", "610");
- // ds_tobeacptprcp.addConstColumn("execprcpstat230cd", "230");
- // ds_tobeacptprcp.addConstColumn("execprcpstat100cd", "100");
- // ds_tobeacptprcp.addConstColumn("execprcpstat000cd", "000");
- // ds_tobeacptprcp.addConstColumn("execprcpstatYcd", "Y");
- // ds_tobeacptprcp.addConstColumn("rtno", "-");
- // ds_tobeacptprcp.setColumn(0,"execdd", "00000000");
- // ds_tobeacptprcp.addConstColumn("exectm", "000000");
- // ds_tobeacptprcp.addConstColumn("acptdd", "00000000");
- // ds_tobeacptprcp.addConstColumn("acpttm", "000000");
- // ds_tobeacptprcp.addConstColumn( "acptpsnid", "-");
- // ds_tobeacptprcp.addConstColumn( "pacsno", "-");
- // ds_tobeacptprcp.addConstColumn( "cnclflag", "A");
- // ds_tobeacptprcp.addConstColumn("execrid1", "-");
- // //ds_tobeacptprcp.addConstColumn("execrid1", "-");
- // ds_tobeacptprcp.addConstColumn("execrid2", "-");
- // ds_tobeacptprcp.addConstColumn("execrid3", "-");
- // ds_tobeacptprcp.addConstColumn("execrid4", "-");
- // ds_tobeacptprcp.addConstColumn("excuexectodt", "00000000000000");
- // ds_tobeacptprcp.addConstColumn("excuexecfromdt1", "00000000000000");
- // ds_tobeacptprcp.addConstColumn("excueqcd1", "-");
- // ds_tobeacptprcp.addConstColumn("excuexecfromdt2", "00000000000000");
- // ds_tobeacptprcp.addConstColumn("excueqcd2", "-");
- // ds_tobeacptprcp.addConstColumn("excuexecfromdt3", "00000000000000");
- // ds_tobeacptprcp.addConstColumn("excueqcd3", "-");
- // ds_tobeacptprcp.addConstColumn("excuexecfromdt4", "00000000000000");
- // ds_tobeacptprcp.addConstColumn("excueqcd4", "-");
- // ds_tobeacptprcp.addConstColumn("excuexecfromdt5", "00000000000000");
- // ds_tobeacptprcp.addConstColumn("excueqcd5", "-");
- // ds_tobeacptprcp.addConstColumn("opdrid", "-");
- // ds_tobeacptprcp.addConstColumn("tretflagcd", "610");
- // ds_tobeacptprcp.addConstColumn("indd", "00000000");
- // ds_tobeacptprcp.addConstColumn("icfflag", "-");
- // ds_tobeacptprcp.addConstColumn("reqagnphoyn", "N");
- // ds_tobeacptprcp.addConstColumn("wardcd", "-");
- // ds_tobeacptprcp.addConstColumn("roomcd", "-");
- // ds_tobeacptprcp.addConstColumn("arvdt", "-");
- // ds_tobeacptprcp.addConstColumn("autroomassgyn", "N");
- // ds_tobeacptprcp.addConstColumn("rsltdd", "00000000");
- // ds_tobeacptprcp.addConstColumn("rslttm", "000000");
- // ds_tobeacptprcp.addConstColumn("rsltno", "0");
- // ds_tobeacptprcp.addConstColumn("rsltseqno", "0");
- // ds_tobeacptprcp.addConstColumn("cnfmdt", "00000000000000");
- // //ds_tobeacptprcp.addConstColumn("cnfmdt", "00000000000000");
- // ds_tobeacptprcp.addConstColumn("cnfmmanid", "-");
- // ds_tobeacptprcp.addConstColumn("eqmtifimgyn", "N");
- // ds_tobeacptprcp.addConstColumn("ocrimgyn", "N");
- // ds_tobeacptprcp.addConstColumn("rslttmplyn", "N");
- // ds_tobeacptprcp.addConstColumn("deptrem", "-");
- // ds_tobeacptprcp.addConstColumn("patrem", "-");
- // ds_tobeacptprcp.addConstColumn("excupartgrpcd", "-");
- dsf_setFixVal(ds_tobeacptprcp, "transactiongubn:4,largeclass:M5,rtno:-,execprcpstatXcd:X,execprcpstat440cd:440,execprcpstat610cd:610"
- +",execprcpstat230cd:230,execprcpstat100cd:100,execprcpstat000cd:000,execprcpstatYcd:Y,execdd:00000000"
- +",exectm:000000,execrid1:-,acptdd:00000000,acpttm:000000,acptpsnid:-,pacsno:-,cnclflag:A,execrid1:-"
- +",execrid2:-,execrid3:-,execrid4:-,excuexectodt:00000000000000,excuexecfromdt1:00000000000000,excueqcd1:-"
- +",excuexecfromdt2:00000000000000,excueqcd2:-,excuexecfromdt3:00000000000000,excueqcd3:-"
- +",excuexecfromdt4:00000000000000,excueqcd4:-,excuexecfromdt5:00000000000000,excueqcd5:-,opdrid:-"
- +",tretflagcd:610,indd:00000000,icfflag:-,reqagnphoyn:N,wardcd:-,roomcd:-,arvdt:-,autroomassgyn:N"
- +",rsltdd:00000000,rslttm:000000,rsltno:0,rsltseqno:0,cnfmdt:00000000000000,cnfmmanid:-,eqmtifimgyn:N"
- +",ocrimgyn:N,rslttmplyn:N,deptrem:-,patrem:-");
- var oParam = {};
- oParam.id = "TXAEA01502";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqExeAcptExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_tobeacptprcp";
- oParam.outds = "ds_result_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TXAEA01502";
- tranf_submit(oParam);
- }
- }
- }
- if(ds_grd_mainordlist2.getColumn(fRow,"execprcpstatcd") == "440") {
-
- group3.switch1.case2.grd_mainordlist2.enableredraw = false;
- ds_grd_mainordlist2.filter("check=='1' || check=='Y'");
- dsf_createDs("ds_tobeacptprcp");
- ds_tobeacptprcp.copyData(ds_grd_mainordlist2,true);
- ds_grd_mainordlist2.filter("");
- group3.switch1.case2.grd_mainordlist2.enableredraw = true;
-
- if ( sysf_messageBox("접수취소를 ","Q002")==6 ) {
- dsf_setFixVal(ds_tobeacptprcp, "transactiongubn:3,largeclass:M5,rtno:-,execprcpstatXcd:X,execprcpstat440cd:440,execprcpstat610cd:610,execprcpstat230cd:230,execprcpstat100cd:100"
- +",execprcpstat000cd:000,execprcpstatYcd:Y,acptdd:00000000,acpttm:000000,acptpsnid:-,pacsno:-,cnclflag:A,execrid1:-,execrid2:-,execrid3:-,execrid4:-"
- +",excuexectodt:00000000000000,excuexecfromdt1:00000000000000,excueqcd1:-,excuexecfromdt2:00000000000000,excueqcd2:-,excuexecfromdt3:00000000000000"
- +",excueqcd3:-,excuexecfromdt4:00000000000000,excueqcd4:-,excuexecfromdt5:00000000000000,excueqcd5:-,opdrid:-,tretflagcd:440,execdd:00000000,exectm:000000"
- +",execrid1:-,indd:00000000,icfflag:-,reqagnphoyn:N,wardcd:-,roomcd:-,arvdt:-,autroomassgyn:N,rsltdd:00000000,rslttm:000000,rsltno:0,rsltseqno:0"
- +",cnfmdt:00000000000000,cnfmmanid:-,eqmtifimgyn:N,ocrimgyn:N,rslttmplyn:N,deptrem:-,patrem:-");
-
- var oParam = {};
- oParam.id = "TXAEA01501";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqExeAcptExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_tobeacptprcp";
- oParam.outds = "ds_result_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TXAEA01501";
- tranf_submit(oParam);
-
- }
- }
-
- dsf_deleteDs("ds_tobeacptprcp"); // send 접수 값 비우기
- }
- function exeRsrvTransaction(str) {
- //예약일때
- if(str == "rsrv") {
-
- if ( group3.switch1.tabindex == 0 ) { //미예약탭에서 예약
-
- ds_grd_subordlist1.setColumn(ds_grd_subordlist1.rowposition,"rsrvdt",ds_send.getColumn(0,"rsrvdd")+group3.cmb_rsrvtm.value );
- ds_grd_subordlist1.setColumn(ds_grd_subordlist1.rowposition,"excuroomcd",ds_subordlist1.getColumn(0,"excuroomcd"));
-
- dsf_createDs("ds_send_req");
- dsf_copyColInfo(ds_send_req,ds_grd_subordlist1,true);
- ds_send_req.addRow();
- ds_send_req.addColumn("flag","string");
- ds_send_req.copyRow(0,ds_grd_subordlist1,ds_grd_subordlist1.rowposition);
- ds_send_req.setColumn(0,"flag", str);
-
- }
- if ( group3.switch1.tabindex == 1 ) { //예약탭에서 예약변경
-
- ds_grd_mainordlist1.setColumn(ds_grd_mainordlist1.rowposition,"rsrvrem", group3.tar_acptrem.value); //예약코멘트
- ds_grd_mainordlist1.setColumn(ds_grd_mainordlist1.rowposition,"rsrvdt",ds_send.getColumn(0,"rsrvdd")+group3.cmb_rsrvtm.value);
- ds_grd_mainordlist1.setColumn(ds_grd_mainordlist1.rowposition,"excuroomcd",ds_subordlist1.getColumn(0,"excuroomcd"));
-
- dsf_createDs("ds_send_req");
- dsf_copyColInfo(ds_send_req,ds_grd_mainordlist1,true);
- ds_send_req.addRow();
- ds_send_req.addColumn("flag","string");
- ds_send_req.copyRow(0,ds_grd_mainordlist1,ds_grd_mainordlist1.rowposition);
- ds_send_req.setColumn(0,"flag", str);
-
- }
- if ( group3.switch1.tabindex == 4 ) { //전체탭에서 예약 및 변경
-
- ds_grd_mainordlist4.setColumn(ds_grd_mainordlist4.rowposition,"rsrvrem",group3.tar_acptrem.value); //예약코멘트
- ds_grd_mainordlist4.setColumn(ds_grd_mainordlist4.rowposition,"rsrvdt",ds_send.getColumn(0,"rsrvdd")+group3.cmb_rsrvtm.value);
- ds_grd_mainordlist4.setColumn(ds_grd_mainordlist4.rowposition,"excuroomcd",ds_subordlist1.getColumn(0,"excuroomcd"));
-
- dsf_createDs("ds_send_req");
- dsf_copyColInfo(ds_send_req,ds_grd_mainordlist4,true);
- ds_send_req.addRow();
- ds_send_req.addColumn("flag","string");
- ds_send_req.copyRow(0,ds_grd_mainordlist4,ds_grd_mainordlist4.rowposition);
- ds_send_req.setColumn(0,"flag", str);
-
- }
- }
-
- //예약취소일때
- if(str == "cncl") {
-
- dsf_createDs("ds_send_req");
- dsf_copyColInfo(ds_send_req,ds_grd_mainordlist1,true);
- ds_send_req.addRow();
- ds_send_req.addColumn("flag","string");
- ds_send_req.copyRow(0,ds_grd_mainordlist1,ds_grd_mainordlist1.rowposition);
- ds_send_req.setColumn(0,"flag", str);
- ds_send_req.setColumn(0,"basesuppdeptcd",lv_instance1 );
-
- }
-
- ds_send_req.updateColID("prcpgenrflag","rsrvflag");
- ds_send_req.updateColID("orddd","indd");
- ds_send_req.addColumn("actorddd","string");
- ds_send_req.addColumn("srchrsrvtm","string");
- ds_send_req.setColumn(0,"actorddd",ds_send_req.getColumn(0,"prcpdd") );
- ds_send_req.setColumn(0,"srchrsrvtm",ds_send_req.getColumn(0,"rsrvdt") );
- dsf_setFixVal(ds_send_req, "norsrvrem:M5,nottotal:nottotal,cdisexcuroomcd:2010302030,cdisexamroomnm:CDIS내시경검사실");
- dsf_setDefaultVal(ds_send_req, "all");
-
- var oParam = {};
- oParam.id = "TXAEA01503";
- oParam.service = "examcurersrvapp.SytsRsrv";
- oParam.method = "reqExcuRsrv";
- oParam.inds = "req=ds_send_req";
- oParam.outds = "ds_result_item=autorsrvtm";
- oParam.transaction = false;
- oParam.async = false;
- //oParam.callback = "cf_TXAEA01503";
- tranf_submit(oParam);
-
- }
- function fInitialize() {
-
- group3.switch1.case1.rtfviewer.Clear();
- }
- function fRoomChange() {
-
- alert("기능 구현중입니다. - 개발팀 -");
- return "0";
- }
- function fSpecdrChange() {
-
- var idx = ds_grd_subprcplist.rowposition;
- var findrow = ds_grd_subprcplist.findRowExpr("check=='1' || check=='Y'");
-
-
- if ( findrow < 0 ) {
- sysf_messageBox("처방내역을","C002");
- }else {
- if( ds_grd_subprcplist.getColumn(idx,"choiordflag") == "Y" ) {
- if( ds_grd_subprcplist.getColumn(idx,"execprcpstatcd") <= 440 ) {
- var ioflag = "";
-
- if( !utlf_isNull(ds_grd_subprcplist.getColumn(idx,"roomcd")) && ds_grd_subprcplist.getColumn(idx,"roomcd") != "-" ){ //입원
-
- ioflag = "I";
- }else{
-
- ioflag = "O";
- }
-
- dsf_createDsRow("ds_send_setspecdrcd" , [
- {col: "prcpdd", val:ds_grd_subprcplist.getColumn(idx,"prcpdd")}
- ,{col: "pid", val:ds_grd_subprcplist.getColumn(idx,"pid")}
- ,{col: "execprcpuniqno", val:ds_grd_subprcplist.getColumn(idx,"execprcpuniqno")}
- ,{col: "specdrid", val:ds_grd_subprcplist.getColumn(idx,"specdrid")}
- ,{col: "basesuppdeptcd", val:ds_grd_subprcplist.getColumn(idx,"suppdeptcd")}
- ,{col: "prcpno", val:ds_grd_subprcplist.getColumn(idx,"prcpno")}
- ,{col: "prcphistno", val:ds_grd_subprcplist.getColumn(idx,"prcphistno") }
- ,{col: "cretno", val:ds_grd_subprcplist.getColumn(idx,"cretno")}
- ,{col: "orddd", val:ds_grd_subprcplist.getColumn(idx,"orddd")}
- ,{col: "orddeptcd", val:ds_grd_subprcplist.getColumn(idx,"orddeptcd")}
- ,{col: "orddrid", val:ds_grd_subprcplist.getColumn(idx,"orddrid")}
- ,{col: "calcscorcd", val:ds_grd_subprcplist.getColumn(idx,"calcscorcd")}
- ,{col: "ioflag", val:ioflag}
- ]);
-
- var oParam = {};
- oParam.id = "TXAEA01512";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqSetExchangeExcuSpecdrCd";
- oParam.inds = "reqparam=ds_send_setspecdrcd";
- oParam.outds = "ds_result_item=item";
- oParam.async = false;
- // oParam.callback = "cf_TXAEA01512";
- tranf_submit(oParam);
- dsf_createDsRow("ds_send_reqparam", [{col: "basesuppdeptcd", val:lv_instance1}
- ,{col: "suppdeptcd", val:lv_instance1}
- ,{col: "excuroomcd", val:ds_send.getColumn(0,"excuroomcd") }
- ,{col: "memorgstdd", val:ds_send.getColumn(0,"memodd") }
- ,{col: "memorgstddprcpdd", val:ds_send.getColumn(0,"memorgstddprcpdd") }
- ,{col: "ecgflag", val:ds_send.getColumn(0,"ecgflag") }
- ,{col: "initexcuroom", val:ds_send.getColumn(0,"excuroomcdid") }
- ,{col: "bodypartcdid", val:ds_send.getColumn(0,"bodypartcdid") }
- ,{col: "srchdate1", val:ds_send.getColumn(0,"srchdate1") }
- ,{col: "srchdate2", val:ds_send.getColumn(0,"srchdate2") }
- ,{col: "acptlistflag", val:ds_send.getColumn(0,"acptlistflag") }
- ,{col: "pid", val:ds_send.getColumn(0,"srchpid") }
- ,{col: "srchpid", val:ds_send.getColumn(0,"srchpid") }
- ,{col: "excuroomflag", val:lv_instance1 }
- ,{col: "orddd", val:ds_send.getColumn(0,"orddd") }
- ,{col: "prcpgenrflag", val:ds_send.getColumn(0,"prcpgenrflag") }
- ,{col: "ioflag", val:ds_send.getColumn(0,"ioflag") }
- ,{col: "execprcpuniqno", val:ds_send.getColumn(0,"execprcpuniqno") }
- ,{col: "orddeptcd", val:ds_send.getColumn(0,"orddeptcd") }
- ,{col: "prcpdd", val:ds_send.getColumn(0,"prcpdd") }
- ,{col: "prcpno", val:ds_send.getColumn(0,"prcpno") }
- ,{col: "largeclass", val:"M5" }
- ,{col: "sublist", val:"sub" }
- ,{col: "deptflag", val:ds_send.getColumn(0,"deptflag") }
- ]);
-
- //상병정보, 검사예약, 진료예약, 처방내역
- var oParam = {};
- oParam.id = "TRAEA01506";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_reqparam";
- oParam.outds = "ds_subordlist1=examcureexecdiaglist ds_grd_ordlist1=gettestrsrvinfo ds_grd_ordlist2=getordrsrvinfo ds_grd_subprcplist=examcureexecprcplist ds_examcureexecdiaglist=diaglist ds_prcpdelifactlist=prcpdelifactlist ds_isolinfo=patisolinfolist ds_main_subordlist_nameconflict=conflictyn";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01506";
-
- tranf_submit(oParam);
- grdf_setToolTipBind(group3.grd_subprcplist);
- grdf_setToolTipBind(group3.switch2.case7.grd_ordlist2);
- grdf_setToolTipBind(group3.switch2.case6.grd_ordlist1);
-
- ds_grd_ordlist1.rowposition = -1;
- ds_grd_ordlist2.rowposition = -1;
- ds_grd_subprcplist.rowposition = -1;
- }else{
- sysf_messageBox("선택진료의 변경은 미예약, 예약의 경우에만", "I006");
- return;
- }
- } else {
- sysf_messageBox("선택진료일 경우에만 변경이", "I006");
- return;
- }
- }
- }
- function fAgreeFormPrnt(){
-
- frmf_modal("SMMRF02600","SMMRF02600", "", "", "" , "", "", "", "", "" , "", "","M");
- }
- function fSetWaitExcuRoomPatList() {
-
- var dutplceinstcd = sysf_getUserInfo("dutplceinstcd");
- var waitroomcdinstcd = ds_init_A0608.getColumn(0,"cdid");
- var waitroomcdyn = ds_init_A0608.getColumn(0,"cdnm");
- if ( dutplceinstcd == waitroomcdinstcd && waitroomcdyn != "Y") {
- sysf_messageBox("등록된 대기자시스템이", "I004");
- return;
- }
-
- var schelistcnt = ds_grd_mainordlist2.rowposition;
- var instcd = sysf_getUserInfo("dutplceinstcd"); // 기관코드
- var pid = ds_grd_mainordlist2.getColumn(schelistcnt, "pid"); // 환자등록번호
- var orddd = utlf_getCurrentDate(); // 진료일자
- var orddeptcd = lv_instance1; // 지원부서코드
- var ordroomcd = ds_grd_mainordlist2.getColumn(schelistcnt, "excuroomcd"); // 검사실코드
- var orddrid = ds_grd_mainordlist2.getColumn(schelistcnt, "orddrid"); // 진료의ID
- var ordrsrvtm = utlf_getCurrentTime().substring(0,4); // 진료예약시간
- var ordrsrvseqno = schelistcnt; // 진료예약순서
- var dayflag = "Y"; // 당일구분
-
- dsf_createDsRow("ds_temp", [{col: "chk", val:"1"}
- ,{col: "instcd", val:instcd}
- ,{col: "pid", val:pid }
- ,{col: "orddd", val:orddd }
- ,{col: "orddeptcd", val:orddeptcd}
- ,{col: "ordroomcd", val:ordroomcd}
- ,{col: "orddrid", val:orddrid }
- ,{col: "ordrsrvtm", val:ordrsrvtm }
- ,{col: "updttm", val:ordrsrvtm }
- ,{col: "ordrsrvseqno", val:"" }
- ,{col: "cretno", val:"" }
- ,{col: "dayflag", val:dayflag }
- ]);
-
- // 검사실 전광판 대기 환자 등록 인터페이스 정보
- fSaveExcuRoomPatList(ds_temp);
-
- }
- /*******************************************************************************************************************************************************************/
- // 간호처방 팝업
- //
- // [간호처방(SMMNW10900) 파라미터 공지]
- // * 대상 : 내시경실, 부정맥검사실, 간크리닉, 기관지경실, 심장초음파실
- // * 이유 : 간호기능파트에서 간호처방 프로그램 오픈시 사용자 근무정보에 따라 처방위치의 기본설정을 USER위치(각 근무지)로 변경요청에 의함.
- // * 처리방법
- // 1. 화면에서 팝업으로 띄울경우
- // -> setParameter("screenParam", "SMAEA");
- // 2. 메뉴에서 오픈 할 경우
- // -> 메뉴파라미터 추가 : "SMAEA"
- /*******************************************************************************************************************************************************************/
- function fNurPrcp(){
-
- frmf_setParameter("screenParam","SMAEA");
- frmf_open("SMMNW10900", "SMMNW10900","", "", "" , "", "","", "", "" , "", "","M");
-
- }
- /*******************************************************************************************************************************************************************/
- // 통합기록조회 팝업
- /*******************************************************************************************************************************************************************/
- function fTotalRprtSrch(){
- var pid = ds_subordlist1.getColumn(0,"pid");
- if(utlf_isNull(pid)){
- sysf_messageBox("통합기록조회를 검색할 환자를", "C002");
- return;
- }
- var wndobj = frmf_findPopup("SMMRI00400");
- if(!utlf_isNull(wndobj)){
- frmf_setParameter("SMMRI00400_param_pid", ds_subordlist1.getColumn(0,"pid"));
- wndobj.fInitalize();
- }else{
- frmf_setParameter("SMMRI00400_param_pid", ds_subordlist1.getColumn(0,"pid"));
- frmf_open("SMMRI00400","SMMRI00400","","","","","","","","","","","M");
- }
- }
- /*******************************************************************************************************************************************************************/
- // 진정/회복 서식목록 팝업
- /*******************************************************************************************************************************************************************/
- function fDepeRecovDocuSrch(){
-
- var pid = ds_send.getColumn(0,"srchpid");
- var orddd = ds_send.getColumn(0,"orddd");
- var cretno = ds_send.getColumn(0,"cretno");
- var ioflag = ds_send.getColumn(0,"prcpgenrflag");
- var orddeptcd = ds_send.getColumn(0,"orddeptcd");
- var orddrid = ds_send.getColumn(0,"orddrid");
- var patnm = ds_send.getColumn(0,"patnm");
- var age = ds_send.getColumn(0,"age");
- var sex = ds_send.getColumn(0,"sex");
- //20131107 실시일자추가
- var execdd = ds_send.getColumn(0,"execdd");
- if (execdd == "00000000") {
- execdd = utlf_getCurrentDate();
- }
-
- //var suppdeptcd = ds_send.getColumn(0,"globalinstance/instance1");
- var suppdeptcd = lv_instance1;
- var formdeptcd = "2010300000";
-
- frmf_setParameter("SPMMR05400_parm_pinfo", pid + "▦" + orddd + "▦" + cretno + "▦" + ioflag + "▦" + orddeptcd + "▦" + orddrid +"▦"+ patnm + "▦" + age + "▦" + sex + "▦" + suppdeptcd + "▦" + formdeptcd);
- //20131107 서식코드 변경 by kya 1000007916->1000007334
- //20150223 서식코드
- // setParameter("SPMMR05400_parm_formcd", "1000007334"); // 내시경 진정/회복 서식기록 -- 교육 : 1000007334, 운영 : 1000007916
- var grupcdid = "";
- if ( age < 12 ) { //소아일 경우
- ds_send.setColumn(0,"grupcdid","A0500");
- grupcdid = "A0500";
- } else { //성인일경우
- ds_send.setColumn(0,"grupcdid","A0501");
- grupcdid = "A0501";
- }
-
- dsf_createDsRow("ds_send_req" , [
- {col: "grupcdid", val:grupcdid}
- ,{col: "suppdeptcd", val:lv_instance1}
- ]);
-
- ds_codelist.clear();
- var oParam = {};
- oParam.id = "TRAEB00010";
- oParam.service = "examcurebaseapp.ComCode";
- oParam.method = "reqGetComCodeDetailList";
- oParam.inds = "req=ds_send_req";
- oParam.outds = "ds_codelist=item";
- oParam.async = false;
- oParam.callback = "cf_TRAEB00010";
- tranf_submit(oParam);
- if (arErrorCode.pop("TRAEB00010") > -1) {
- var formcd = ds_codelist.getColumn(0,"cdid"); //서식코드
- }
- //alert("formcd = " + formcd);
- frmf_setParameter("SPMMR05400_parm_formcd", formcd ); // 진정/회복 기록
- frmf_setParameter("SPMMR05400_tabflag", "formlist");
- //alert("execdd = " + execdd);
- // 내시경 진정/회복 서식기록
- frmf_setParameter("SPMMR05400_parm_formrecdd", execdd); //20131107 kya 추가
- frmf_open("SPMMR05400","SPMMR05400" , "", "", "" , "", "", "", "", "" , "", "","M");
- }
- /*******************************************************************************************************************************************************************/
- // 진정/회복 기록목록 팝업
- /*******************************************************************************************************************************************************************/
- function fDepeRecovRecSrch(){
-
- var pid = ds_send.getColumn(0,"srchpid");
- var orddd = ds_send.getColumn(0,"orddd");
- var cretno = ds_send.getColumn(0,"cretno");
- var ioflag = ds_send.getColumn(0,"prcpgenrflag");
- var orddeptcd = ds_send.getColumn(0,"orddeptcd");
- var orddrid = ds_send.getColumn(0,"orddrid");
- var patnm = ds_send.getColumn(0,"patnm");
- var age = ds_send.getColumn(0,"age");
- var sex = ds_send.getColumn(0,"sex");
- //20131107 실시일자추가
- var execdd = ds_send.getColumn(0,"execdd");
- if (execdd == "00000000") {
- execdd = utlf_getCurrentDate();
- }
-
- //var suppdeptcd = ds_send.getColumn(0,"globalinstance/instance1");
- var suppdeptcd = lv_instance1;
- var formdeptcd = "2010300000";
-
- frmf_setParameter("SPMMR05400_parm_pinfo", pid + "▦" + orddd + "▦" + cretno + "▦" + ioflag + "▦" + orddeptcd + "▦" + orddrid +"▦"+ patnm + "▦" + age + "▦" + sex + "▦" + suppdeptcd + "▦" + formdeptcd);
-
- // 20131107 서식코드 변경 by kya 1000007916->1000007334
- // setParameter("SPMMR05400_parm_formcd", "1000007334"); // 내시경 진정/회복 기록
-
- var grupcdid = "";
- if ( age < 12 ) { //소아일 경우
- ds_send.setColumn(0,"grupcdid","A0500");
- } else { //성인일경우
- ds_send.setColumn(0,"grupcdid","A0501");
- }
-
- dsf_createDsRow("ds_send_req" , [
- {col: "grupcdid", val:grupcdid}
- ,{col: "suppdeptcd", val:lv_instance1}
- ]);
-
- ds_codelist.clear();
- var oParam = {};
- oParam.id = "TRAEB00010";
- oParam.service = "examcurebaseapp.ComCode";
- oParam.method = "reqGetComCodeDetailList";
- oParam.inds = "req=ds_send_req";
- oParam.outds = "ds_codelist=item";
- oParam.async = false;
- oParam.callback = "cf_TRAEB00010";
- tranf_submit(oParam);
- if (arErrorCode.pop("TRAEB00010") > -1) {
- var formcd = ds_codelist.getColumn(0,"cdid"); //서식코드
- }
- //alert("진정/회복 기록목록 팝업 formcd = " + formcd);
- frmf_setParameter("SPMMR05400_parm_formcd", formcd ); // 진정/회복 기록
- frmf_setParameter("SPMMR05400_tabflag", "reclist"); // 내시경 진정/회복 기록
- //alert("execdd = " + execdd);
- frmf_setParameter("SPMMR05400_parm_formrecdd", execdd); //20131107 kya 추가
- frmf_open("SPMMR05400","SPMMR05400", "", "", "" , "", "", "", "", "" , "", "","M");
- }
- /*******************************************************************************************************************************************************************/
- // 2011.05.11 진정전 환자 평가서 서식목록 팝업_ 김금련
- /*******************************************************************************************************************************************************************/
- function fDepeRecovPatSrch(){
-
- var pid = ds_send.getColumn(0,"srchpid");
- var orddd = ds_send.getColumn(0,"orddd");
- var cretno = ds_send.getColumn(0,"cretno");
- var ioflag = ds_send.getColumn(0,"prcpgenrflag");
- var orddeptcd = ds_send.getColumn(0,"orddeptcd");
- var orddrid = ds_send.getColumn(0,"orddrid");
- var patnm = ds_send.getColumn(0,"patnm");
- var age = ds_send.getColumn(0,"age");
- var sex = ds_send.getColumn(0,"sex");
- //20131107 실시일자추가
- var execdd = ds_send.getColumn(0,"execdd");
- if (execdd == "00000000") {
- execdd = utlf_getCurrentDate();
- }
-
- //var suppdeptcd = ds_send.getColumn(0,"globalinstance/instance1");
- var suppdeptcd = lv_instance1;
- var formdeptcd = "2010300000";
-
- frmf_setParameter("SPMMR05400_parm_pinfo", pid + "▦" + orddd + "▦" + cretno + "▦" + ioflag + "▦" + orddeptcd + "▦" + orddrid +"▦"+ patnm + "▦" + age + "▦" + sex + "▦" + suppdeptcd + "▦" + formdeptcd);
-
- frmf_setParameter("SPMMR05400_parm_formcd", "1000007333"); // 진정전 환자 평가서
- frmf_setParameter("SPMMR05400_tabflag", "formlist"); // 진정전 환자 평가서 서식기록
- frmf_setParameter("SPMMR05400_parm_formrecdd", execdd); //20131107 kya 추가
-
- frmf_open("SPMMR05400","SPMMR05400", "", "", "" , "", "", "", "", "" , "", "","M");
- }
- /*******************************************************************************************************************************************************************/
- // 2011.05.17 진정/회복 기록 팝업_ 김금련
- /*******************************************************************************************************************************************************************/
- function fDepeRecovGenSrch(){
-
- var pid = ds_send.getColumn(0,"srchpid");
- var orddd = ds_send.getColumn(0,"orddd");
- var cretno = ds_send.getColumn(0,"cretno");
- var ioflag = ds_send.getColumn(0,"prcpgenrflag");
- var orddeptcd = ds_send.getColumn(0,"orddeptcd");
- var orddrid = ds_send.getColumn(0,"orddrid");
- var patnm = ds_send.getColumn(0,"patnm");
- var age = ds_send.getColumn(0,"age");
- var sex = ds_send.getColumn(0,"sex");
- //var suppdeptcd = ds_send.getColumn(0,"globalinstance/instance1");
- var suppdeptcd = lv_instance1;
- var formdeptcd = "2010300000";
-
- //20131107 실시일자추가
- var execdd = ds_send.getColumn(0,"execdd");
- if (execdd == "00000000") {
- execdd = utlf_getCurrentDate();
- }
-
- frmf_setParameter("SPMMR05400_parm_pinfo", pid + "▦" + orddd + "▦" + cretno + "▦" + ioflag + "▦" + orddeptcd + "▦" + orddrid +"▦"+ patnm + "▦" + age + "▦" + sex + "▦" + suppdeptcd + "▦" + formdeptcd);
-
- //20150223 by kya
- //인증평가에 따른 서식변경
- //setParameter("SPMMR05400_parm_formcd", "1000007334"); // 진정/회복 기록
- var grupcdid = "";
- if ( age < 12 ) { //소아일 경우
- ds_send.setColumn(0,"grupcdid","A0500");
- } else { //성인일경우
- ds_send.setColumn(0,"grupcdid","A0501");
- }
-
- dsf_createDsRow("ds_send_req" , [
- {col: "grupcdid", val:grupcdid}
- ,{col: "suppdeptcd", val:lv_instance1}
- ]);
-
- ds_codelist.clear();
- var oParam = {};
- oParam.id = "TRAEB00010";
- oParam.service = "examcurebaseapp.ComCode";
- oParam.method = "reqGetComCodeDetailList";
- oParam.inds = "req=ds_send_req";
- oParam.outds = "ds_codelist=item";
- oParam.async = false;
- oParam.callback = "cf_TRAEB00010";
- tranf_submit(oParam);
- if (arErrorCode.pop("TRAEB00010") > -1) {
- var formcd = ds_codelist.getColumn(0,"cdid"); //서식코드
- //alert("formcd = " + formcd);
- }
- frmf_setParameter("SPMMR05400_parm_formcd", formcd ); // 진정/회복 기록
- frmf_setParameter("SPMMR05400_tabflag", "formlist"); // 진정/회복 기록
- frmf_setParameter("SPMMR05400_parm_formrecdd", execdd); //20131107 kya 추가
-
- frmf_open("SPMMR05400","SPMMR05400", "", "", "" , "", "", "", "", "" , "", "","M");
-
- }
- /*******************************************************************************************************************************************************************/
- // Scope세척관리 팝업, 2017.
- /*******************************************************************************************************************************************************************/
- function fWashing(){
-
- var pid = ds_send.getColumn(0,"srchpid"); //환자번호
- var srchdate1 = ds_send.getColumn(0,"srchdate1"); //접수일자
- var orddd = ds_send.getColumn(0,"orddd");
- var prcpdd = ds_send.getColumn(0,"prcpdd");
- var execprcpuniqno = ds_send.getColumn(0,"execprcpuniqno");
- var patnm = ds_send.getColumn(0,"patnm");
- var calcscorcd = ds_send.getColumn(0,"prntcalcscorcd");
- var suppdeptcd = lv_instance1;
-
- var parm_pinfo = pid + "▦" + srchdate1 + "▦" + orddd + "▦" + prcpdd + "▦" + execprcpuniqno + "▦" + patnm + "▦" + calcscorcd + "▦" + suppdeptcd;
-
- //trace("parm_pinfo = " + parm_pinfo);
-
- frmf_setParameter("SMAEA06300_parm_pinfo", parm_pinfo );
- frmf_open("SMAEA06300","SMAEA06300" , "", "", "" , "", "", "", "", "" , "", "", "M");
- }
- //*******************************************************************************************************************************************************************/
- // 임시예약 분기, 20190228
- /*******************************************************************************************************************************************************************/
- function fTempRsrv(){
-
- var pid = ds_subordlist1.getColumn(0,"pid"); //환자번호
- var orddepthngnm = ds_subordlist1.getColumn(0,"orddepthngnm"); //의뢰과명
- var orddrnm = ds_subordlist1.getColumn(0,"orddrnm"); //의뢰의사
- var prcpdd = ds_subordlist1.getColumn(0,"prcpdd"); //처방일자
- var execprcpuniqno = "";
- var patnm = ds_subordlist1.getColumn(0,"patnm"); //환자명
- var calcscorcd = ""; //처방코드
- var suppdeptcd = lv_instance1;
- var sna = ds_subordlist1.getColumn(0,"sna"); //성별/나이
-
- var parm_pinfo = pid + "▦" + orddepthngnm + "▦" + orddrnm + "▦" + prcpdd + "▦" + execprcpuniqno + "▦" + patnm + "▦" + calcscorcd + "▦" + suppdeptcd + "▦" + sna;
-
- trace("parm_pinfo = " + parm_pinfo);
- frmf_setParameter("menuparam", "OCS" ); //내시경실에서 분기
- frmf_setParameter("SPAEA02201_parm_pinfo", parm_pinfo );
- frmf_setParameter("excuroomgrp", "내시경" ); //검사실그룹
- frmf_open("SPAEA02201","SPAEA02201" , "", "", "" , "", "", "", "", "" , "", "", "M");
- }
- /*******************************************************************************************************************************************************************/
- // 처방내역에서 부분실시
- /*******************************************************************************************************************************************************************/
- function fprcpacting() {
- var nodeList = ds_grd_subprcplist.findRowExpr("check=='1' || check=='Y'");
-
- if ( nodeList < 0 ) {
- sysf_messageBox("처방내역을","C002");
- return "0";
- }else {
- //2011.06.30 다중실시 기능 추가 - 박재영
- var dccnt = 0;
- var actcnt = 0;
- var rsltcnt = 0;
- var acptcnt = 0;
- var othercnt = 0; //그외
- var drugcnt = 0; //A2,A6 약, 주사제에 대한 처방
-
- for (var i = 0; i < ds_grd_subprcplist.rowcount; i ++){
-
- //20150119 by kya
- //검사접수 여부 체크
- if(ds_grd_subprcplist.getColumn(i,"mset") != "ⓜ" &&
- ds_grd_subprcplist.getColumn(i,"execprcpstatcd") < "440" &&
- ds_grd_subprcplist.getColumn(i,"prcpgenrflag") != "S" ) {
- acptcnt = acptcnt + 1;
- }
-
- if(ds_grd_subprcplist.getColumn(i,"check") == "1" || ds_grd_subprcplist.getColumn(i,"check") == "Y" ){
- //반환처방 체크
- if(ds_grd_subprcplist.getColumn(i,"execprcphistcd") == "E" ||
- ds_grd_subprcplist.getColumn(i,"execprcphistcd") == "D" ||
- ds_grd_subprcplist.getColumn(i,"execprcphistcd") == "L" ){
- dccnt = dccnt + 1;
- }
- //실시완료처방 체크
- if(ds_grd_subprcplist.getColumn(i,"execprcphistcd") == "O" &&
- ds_grd_subprcplist.getColumn(i,"execprcpstatcd") == "610" ){
- actcnt = actcnt + 1;
- }
- //결과여부 체크
- if(ds_grd_subprcplist.getColumn(i,"execprcpstatcd") > "610" ){
- rsltcnt = rsltcnt + 1;
- }
- //접수여부 체크
- if(ds_grd_subprcplist.getColumn(i,"mset") != "ⓜ" &&
- ds_grd_subprcplist.getColumn(i,"execprcpstatcd") < "440" &&
- ds_grd_subprcplist.getColumn(i,"prcpgenrflag") != "S" ){
- acptcnt = acptcnt + 1;
- }
- //부분실시 할수 있도록 하기위해
- // 20150120 약여부 ('A2', 'A6') 체크
- //alert(" prcpclscd = " + ds_grd_subprcplist.getColumn(i,"prcpclscd") );
- if(ds_grd_subprcplist.getColumn(i,"mset") == "ⓜ" &&
- ds_grd_subprcplist.getColumn(i,"execprcpstatcd") < "440" ) {
- if ( ds_grd_subprcplist.getColumn(i,"prcpclscd") == "A2" ||
- ds_grd_subprcplist.getColumn(i,"prcpclscd") == "A6" ) {
- drugcnt = drugcnt + 1;
- } else {
- othercnt = othercnt + 1; //먹는약, 주사제외 재료, 행위에 대해 count
- }
- }
-
- }
- }
-
- //alert(" drugcnt = " + drugcnt +", othercnt = " + othercnt );
-
- if(dccnt > 0){
- sysf_messageBox("이미 반환된 처방","E008");
- return "0";
- }
- if(actcnt > 0){
- sysf_messageBox("실시완료된 처방","E008");
- return "0";
- }
- if(rsltcnt > 0){
- sysf_messageBox("예비결과/최종결과 처방","E008");
- return "0";
- }
-
- //20150120 kya
- //단, 약일 경우에 한해, 접수없이 부분실시가 될 수 있도록 함
- if( drugcnt > 0 && othercnt == 0 ){
- acptcnt = 0;
- }
-
- if(acptcnt > 0){
- sysf_messageBox("접수 전 실시", "E001","접수 후 실시하십시오!");
- return "0";
- }else {
-
- ds_grd_subprcplist.filter("check=='1' || check=='Y'");
- dsf_createDs("ds_tobeacptprcplist");
- ds_tobeacptprcplist.copyData(ds_grd_subprcplist,true);
- ds_grd_subprcplist.filter("");
- }
-
- }
-
- // 처방 -> 검사접수/실시완료
- if ( sysf_messageBox("실시를 ","Q002")==6 ) {
- dsf_setFixVal(ds_tobeacptprcplist, "execprcpstat610cd:610,excuexectotm:-,execrid1:-");
- ds_tobeacptprcplist.updateColID("execdd","excuexectodd");
- ds_tobeacptprcplist.updateColID("suppdeptcd","basesuppdeptcd");
- var oParam = {};
- oParam.id = "TXAEA01508";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqExeAddPrcpList";
- oParam.inds = "req=ds_tobeacptprcplist";
- oParam.outds = "ds_result_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TXAEA01508";
- tranf_submit(oParam);
- }
-
- call_TRAEA01517();
-
- //상병정보, 검사예약, 진료예약, 처방내역
- var oParam = {};
- oParam.id = "TRAEA01506";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_reqparam";
- oParam.outds = "ds_subordlist1=examcureexecdiaglist ds_grd_ordlist1=gettestrsrvinfo ds_grd_ordlist2=getordrsrvinfo ds_grd_subprcplist=examcureexecprcplist ds_examcureexecdiaglist=diaglist ds_prcpdelifactlist=prcpdelifactlist ds_isolinfo=patisolinfolist ds_main_subordlist_nameconflict=conflictyn";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01506";
- tranf_submit(oParam);
-
-
-
- //감염정보
- group3.cpt_isolinfo.text = "";
- if (!utlf_isNull(ds_isolinfo.getColumn(0,"etccnts"))) {
- group3.cpt_isolinfo.text = "확인";
- }
-
- if ( group3.switch1.tabindex == 1 ) {
- ds_subordlist1.setColumn(0,"excuroomcd", ds_grd_mainordlist1.getColumn(ds_grd_mainordlist1.rowposition,"excuroomcd"));
- }
- if ( group3.switch1.tabindex == 2 ) {
- ds_subordlist1.setColumn(0,"excuroomcd", ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"excuroomcd"));
- }
- if ( group3.switch1.tabindex == 3 ) {
- ds_subordlist1.setColumn(0,"excuroomcd", ds_grd_mainordlist3.getColumn(ds_grd_mainordlist3.rowposition,"excuroomcd"));
- }
- if ( group3.switch1.tabindex == 4 ) {
- ds_subordlist1.setColumn(0,"excuroomcd", ds_grd_mainordlist4.getColumn(ds_grd_mainordlist4.rowposition,"excuroomcd"));
- }
- if ( group3.switch1.tabindex == 0 ) {
- ds_subordlist1.setColumn(0,"excuroomcd", ds_grd_subordlist1.getColumn(ds_grd_subordlist1.rowposition,"excuroomcd"));
- }
-
- //20170213 산정특례종료일자 보여주기
- var serdiagtodd = ds_patlist_serdiagtodd.getColumn(0,"serdiagtodd");
- var rareobsttodd = ds_patlist_serdiagtodd.getColumn(0,"rareobsttodd");
- if ( !utlf_isNull(serdiagtodd) && serdiagtodd != "-" ) {
- serdiagtodd = serdiagtodd.substr(0,4) + "년 " + serdiagtodd.substr(4,2) + "월 " + serdiagtodd.substr(6,2) + "일";
- group3.opt_vipflag.value = "중증 종료일자는 [ " + serdiagtodd + " ] 입니다"
- }
- if ( !utlf_isNull(rareobsttodd) && rareobsttodd != "-" ) {
- rareobsttodd = rareobsttodd.substr(0,4) + "년 " + rareobsttodd.substr(4,2) + "월 " + rareobsttodd.substr(6,2) + "일";
- group3.opt_vipflag.value = "희귀난치 종료일자는 [ " + rareobsttodd + " ] 입니다"
- }
-
- //반환처방 색상주기
- // grdf_initGridStyle(group3.grd_subprcplist);
- // grdf_setRowStyle(group3.grd_subprcplist , "2" , "E" , "execprcphistcd","equal" );
- // grdf_setRowStyle(group3.grd_subprcplist , "2" , "D" , "execprcphistcd","equal" );
- // grdf_setRowStyle(group3.grd_subprcplist , "2" , "L" , "execprcphistcd","equal" );
-
- group3.bool1.value = false;
-
- }
-
- /*******************************************************************************************************************************************************************/
- // 처방내역에서 실시취소
- /*******************************************************************************************************************************************************************/
- function fprcpactingcncl() {
- var nodeList = ds_grd_subprcplist.findRowExpr("check=='1' || check=='Y'");
-
- if ( nodeList < 0 ) {
- sysf_messageBox("처방내역을","C002");
- return "0";
- }else {
- //2011.06.30 다중실시취소 기능 추가 - 박재영
- var dccnt = 0;
- var actcnt = 0;
- for (var i = 0; i < ds_grd_subprcplist.rowcount; i ++){
- if(ds_grd_subprcplist.getColumn(i,"check") == "Y" || ds_grd_subprcplist.getColumn(i,"check") == "1"){
- //반환처방 체크
- if(ds_grd_subprcplist.getColumn(i,"execprcphistcd") == "E" ||
- ds_grd_subprcplist.getColumn(i,"execprcphistcd") == "D" ||
- ds_grd_subprcplist.getColumn(i,"execprcphistcd") == "L" ){
- dccnt = dccnt + 1;
- }
- //미실시처방 체크
- if(ds_grd_subprcplist.getColumn(i,"execprcphistcd") == "O" &&
- ds_grd_subprcplist.getColumn(i,"execprcpstatcd") < "610" ){
- actcnt = actcnt + 1;
- }
- }
- }
-
- if(dccnt > 0){
- sysf_messageBox("이미 반환된 처방","E008");
- return "0";
- }
- if(actcnt > 0){
- sysf_messageBox("실시되지 않은 처방","E008");
- return "0";
- }else {
- dsf_createDs("ds_send_tobeacptprcplist");
- ds_grd_subprcplist.filter("check=='1' || check=='Y'");
- ds_send_tobeacptprcplist.copyData(ds_grd_subprcplist,true);
- ds_send_tobeacptprcplist.updateColID("suppdeptcd","basesuppdeptcd");
- dsf_setFixVal(ds_send_tobeacptprcplist, "execprcpstat440cd:440,execprcpstat610cd:610,execprcpstat230cd:230,execprcpstat100cd:100,execprcpstat000cd:000,excuexectodd:00000000,excuexectotm:000000,execrid1:-,tretflagcd:610");
- ds_grd_subprcplist.filter("");
- }
-
- }
- // 처방 -> 검사접수/실시완료
- if ( sysf_messageBox("실시취소를 ","Q002")==6 ) {
- ds_send_tobeacptprcplist.updateColID("root","rootgubn");
- var oParam = {};
- oParam.id = "TXAEA01509";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqExeAddPrcpCnclList";
- oParam.inds = "req=ds_send_tobeacptprcplist";
- oParam.outds = "ds_result_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TXAEA01509";
- tranf_submit(oParam);
- }
-
- call_TRAEA01517();
-
- //상병정보, 검사예약, 진료예약, 처방내역
- var oParam = {};
- oParam.id = "TRAEA01506";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_reqparam";
- oParam.outds = "ds_subordlist1=examcureexecdiaglist ds_grd_ordlist1=gettestrsrvinfo ds_grd_ordlist2=getordrsrvinfo ds_grd_subprcplist=examcureexecprcplist ds_examcureexecdiaglist=diaglist ds_prcpdelifactlist=prcpdelifactlist ds_isolinfo=patisolinfolist ds_main_subordlist_nameconflict=conflictyn";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01506";
- tranf_submit(oParam);
-
-
- //감염정보
- group3.cpt_isolinfo.text = "";
- if (!utlf_isNull(ds_isolinfo.getColumn(0,"etccnts"))) {
- group3.cpt_isolinfo.text = "확인";
- }
-
- if ( group3.switch1.tabindex == 1 ) {
- ds_subordlist1.setColumn(0,"excuroomcd", ds_grd_mainordlist1.getColumn(ds_grd_mainordlist1.rowposition,"excuroomcd"));
- }
- if ( group3.switch1.tabindex == 2 ) {
- ds_subordlist1.setColumn(0,"excuroomcd", ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"excuroomcd"));
- }
- if ( group3.switch1.tabindex == 3 ) {
- ds_subordlist1.setColumn(0,"excuroomcd", ds_grd_mainordlist3.getColumn(ds_grd_mainordlist3.rowposition,"excuroomcd"));
- }
- if ( group3.switch1.tabindex == 4 ) {
- ds_subordlist1.setColumn(0,"excuroomcd", ds_grd_mainordlist4.getColumn(ds_grd_mainordlist4.rowposition,"excuroomcd"));
- }
- if ( group3.switch1.tabindex == 0 ) {
- ds_subordlist1.setColumn(0,"excuroomcd", ds_grd_subordlist1.getColumn(ds_grd_subordlist1.rowposition,"excuroomcd"));
- }
-
- //20170213 산정특례종료일자 보여주기
- var serdiagtodd = ds_patlist_serdiagtodd.getColumn(0,"serdiagtodd");
- var rareobsttodd = ds_patlist_serdiagtodd.getColumn(0,"rareobsttodd");
- if ( !utlf_isNull(serdiagtodd) && serdiagtodd != "-" ) {
- serdiagtodd = serdiagtodd.substr(0,4) + "년 " + serdiagtodd.substr(4,2) + "월 " + serdiagtodd.substr(6,2) + "일";
- group3.opt_vipflag.value = "중증 종료일자는 [ " + serdiagtodd + " ] 입니다"
- }
- if ( !utlf_isNull(rareobsttodd) && rareobsttodd != "-" ) {
- rareobsttodd = rareobsttodd.substr(0,4) + "년 " + rareobsttodd.substr(4,2) + "월 " + rareobsttodd.substr(6,2) + "일";
- group3.opt_vipflag.value = "희귀난치 종료일자는 [ " + rareobsttodd + " ] 입니다"
- }
-
- //반환처방 색상주기
- // grdf_initGridStyle(group3.grd_subprcplist);
- // grdf_setRowStyle(group3.grd_subprcplist , "2" , "E" , "execprcphistcd","equal" );
- // grdf_setRowStyle(group3.grd_subprcplist , "2" , "D" , "execprcphistcd","equal" );
- // grdf_setRowStyle(group3.grd_subprcplist , "2" , "L" , "execprcphistcd","equal" );
- group3.bool1.value = false;
-
- }
-
-
- /*******************************************************************************************************************************************************************/
- // 처방내역에서 처방반환
- /*******************************************************************************************************************************************************************/
- function fprcpdc() {
- var nodeList = ds_grd_subprcplist.findRowExpr("check=='1' || check=='Y'");
- var fCnt = ds_grd_subprcplist.filter("check=='Y'")
-
- if ( nodeList < 0 ) {
- sysf_messageBox("처방내역을","C002");
- return "0";
- }else {
- //2011.06.30 다중실시 기능 추가 - 박재영
- var actcnt = 0;
- var acptcnt = 0;
- var rsrvcnt = 0;
- var dccnt = 0;
- var rowcnt = 0;
- for (var i = 0; i < ds_grd_subprcplist.rowcount; i ++){
- if(ds_grd_subprcplist.getColumn(i,"check") == "Y" || ds_grd_subprcplist.getColumn(i,"check") == "1"){
- //DC처방수
- rowcnt = rowcnt + 1;
- //실시완료처방 체크
- if(ds_grd_subprcplist.getColumn(i,"execdd") != "00000000" &&
- ds_grd_subprcplist.getColumn(i,"execprcpstatcd") == "610" ){
- actcnt = actcnt + 1;
- }
- //접수여부 체크
- if(ds_grd_subprcplist.getColumn(i,"execprcpstatcd") == "440"){
- acptcnt = acptcnt + 1;
- }
- //예약여부 체크
- if(ds_grd_subprcplist.getColumn(i,"rsrvflag") == "Y"){
- rsrvcnt = rsrvcnt + 1;
- }
- //반환처방 체크
- if(ds_grd_subprcplist.getColumn(i,"execprcphistcd") != "O" ){
- dccnt = dccnt + 1;
- }
- }
- }
-
- if(actcnt > 0){
- sysf_messageBox("실시된 처방","E008","취소 후 반환하십시오");
- return "0";
- }
- if(acptcnt > 0){
- sysf_messageBox("접수된 처방","E008","취소 후 반환하십시오");
- return "0";
- }
- if(rsrvcnt > 0){
- sysf_messageBox("예약된 처방","E008","예약취소 후 반환하십시오");
- return "0";
- }
- if(dccnt > 0){
- sysf_messageBox("이미 반환된 처방","E008");
- return "0";
- }else {
- dsf_createDs("ds_send_tobeacptprcplist");
- ds_grd_subprcplist.filter("check=='1' || check=='Y'");
- ds_send_tobeacptprcplist.copyData(ds_grd_subprcplist,true);
- ds_send_tobeacptprcplist.updateColID("calcscorcd","prcpcd");
- ds_send_tobeacptprcplist.addColumn("indd","string");
- for(var i = 0; i< ds_send_tobeacptprcplist.rowcount;i++)
- {
- ds_send_tobeacptprcplist.setColumn(i,"indd",ds_send_tobeacptprcplist.getColumn(i,"orddd"));
- }
- dsf_setFixVal(ds_send_tobeacptprcplist, "status:C");
- ds_grd_subprcplist.filter("");
- }
-
- }
- // 처방 -> 검사접수/실시완료
- if ( sysf_messageBox("처방반환을 ","Q002")==6 ) {
- ds_send_tobeacptprcplist.updateColID("root","rootgubn");
- var oParam = {};
- oParam.id = "TXAEA01510";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqExeExecPrcpDCList";
- oParam.inds = "mcdprcp=ds_send_tobeacptprcplist";
- oParam.outds = "ds_result_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TXAEA01510";
- tranf_submit(oParam); // transaction 1
- }
-
- call_TRAEA01517();
-
- //상병정보, 검사예약, 진료예약, 처방내역
- var oParam = {};
- oParam.id = "TRAEA01506";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_reqparam";
- oParam.outds = "ds_subordlist1=examcureexecdiaglist ds_grd_ordlist1=gettestrsrvinfo ds_grd_ordlist2=getordrsrvinfo ds_grd_subprcplist=examcureexecprcplist ds_examcureexecdiaglist=diaglist ds_prcpdelifactlist=prcpdelifactlist ds_isolinfo=patisolinfolist ds_main_subordlist_nameconflict=conflictyn";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01506";
- tranf_submit(oParam);
-
-
-
- //감염정보
- group3.cpt_isolinfo.text = "";
- if (!utlf_isNull(ds_isolinfo.getColumn(0,"etccnts"))) {
- group3.cpt_isolinfo.text = "확인!";
- }
- if ( group3.switch1.tabindex == 1 ) {
- ds_subordlist1.setColumn(0,"excuroomcd", ds_grd_mainordlist1.getColumn(ds_grd_mainordlist1.rowposition,"excuroomcd"));
- }
- if ( group3.switch1.tabindex == 2 ) {
- ds_subordlist1.setColumn(0,"excuroomcd", ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"excuroomcd"));
- }
- if ( group3.switch1.tabindex == 3 ) {
- ds_subordlist1.setColumn(0,"excuroomcd", ds_grd_mainordlist3.getColumn(ds_grd_mainordlist3.rowposition,"excuroomcd"));
- }
- if ( group3.switch1.tabindex == 4 ) {
- ds_subordlist1.setColumn(0,"excuroomcd", ds_grd_mainordlist4.getColumn(ds_grd_mainordlist4.rowposition,"excuroomcd"));
- }
- if ( group3.switch1.tabindex == 0 ) {
- ds_subordlist1.setColumn(0,"excuroomcd", ds_grd_subordlist1.getColumn(ds_grd_subordlist1.rowposition,"excuroomcd"));
- }
-
- //20170213 산정특례종료일자 보여주기
- var serdiagtodd = ds_patlist_serdiagtodd.getColumn(0,"serdiagtodd");
- var rareobsttodd = ds_patlist_serdiagtodd.getColumn(0,"rareobsttodd");
- if ( !utlf_isNull(serdiagtodd) && serdiagtodd != "-" ) {
- serdiagtodd = serdiagtodd.substr(0,4) + "년 " + serdiagtodd.substr(4,2) + "월 " + serdiagtodd.substr(6,2) + "일";
- group3.opt_vipflag.value = "중증 종료일자는 [ " + serdiagtodd + " ] 입니다"
- }
- if ( !utlf_isNull(rareobsttodd) && rareobsttodd != "-" ) {
- rareobsttodd = rareobsttodd.substr(0,4) + "년 " + rareobsttodd.substr(4,2) + "월 " + rareobsttodd.substr(6,2) + "일";
- group3.opt_vipflag.value = "희귀난치 종료일자는 [ " + rareobsttodd + " ] 입니다"
- }
- //반환처방 색상주기
- // grdf_initGridStyle(group3.grd_subprcplist);
- // grdf_setRowStyle(group3.grd_subprcplist , "2" , "E" , "execprcphistcd","equal" );
- // grdf_setRowStyle(group3.grd_subprcplist , "2" , "D" , "execprcphistcd","equal" );
- // grdf_setRowStyle(group3.grd_subprcplist , "2" , "L" , "execprcphistcd","equal" );
- group3.bool1.value = false;
- }
- /*******************************************************************************************************************************************************************/
- // 약주사액팅
- /*******************************************************************************************************************************************************************/
- function fOldPrcpCdActing(){
- var objArg = new Object();
- dsf_createDs("ds_temp_popupdata");
- if ( group3.switch1.tabindex == 1 ) {
-
- dsf_copyColInfo(ds_temp_popupdata,ds_grd_mainordlist1);
- ds_temp_popupdata.copyRow(ds_temp_popupdata.addRow(),ds_grd_mainordlist1,ds_grd_mainordlist1.rowposition);
- objArg.arg_ds_init_popupdata = ds_temp_popupdata;
-
- frmf_modal("SPAEA01105","SPAEA01105",objArg,"","","","","","","","","","M");
- }
- if ( group3.switch1.tabindex == 2 ) {
- dsf_copyColInfo(ds_temp_popupdata,ds_grd_mainordlist2);
- ds_temp_popupdata.copyRow(ds_temp_popupdata.addRow(),ds_grd_mainordlist2,ds_grd_mainordlist2.rowposition);
- objArg.arg_ds_init_popupdata = ds_temp_popupdata;
-
- frmf_modal("SPAEA01105","SPAEA01105",objArg,"","","","","","","","","","M");
-
- }
- if ( group3.switch1.tabindex == 3 ) {
- dsf_copyColInfo(ds_temp_popupdata,ds_grd_mainordlist3);
- ds_temp_popupdata.copyRow(ds_temp_popupdata.addRow(),ds_grd_mainordlist3,ds_grd_mainordlist3.rowposition);
- objArg.arg_ds_init_popupdata = ds_temp_popupdata;
-
- frmf_modal("SPAEA01105","SPAEA01105",objArg,"","","","","","","","","","M");
-
-
- }
- if ( group3.switch1.tabindex == 4 ) {
- dsf_copyColInfo(ds_temp_popupdata,ds_grd_mainordlist4);
- ds_temp_popupdata.copyRow(ds_temp_popupdata.addRow(),ds_grd_mainordlist4,ds_grd_mainordlist4.rowposition);
- objArg.arg_ds_init_popupdata = ds_temp_popupdata;
-
- frmf_modal("SPAEA01105","SPAEA01105",objArg,"","","","","","","","","","M");
- }
- if ( group3.switch1.tabindex == 0 ) {
- dsf_copyColInfo(ds_temp_popupdata,ds_grd_subordlist1);
- ds_temp_popupdata.copyRow(ds_temp_popupdata.addRow(),ds_grd_subordlist1,ds_grd_subordlist1.rowposition);
- objArg.arg_ds_init_popupdata = ds_temp_popupdata;
-
- frmf_modal("SPAEA01105","SPAEA01105",objArg,"","","","","","","","","","M");
-
- }
- }
- /*******************************************************************************************************************************************************************/
- // 이송요원호출
- /*******************************************************************************************************************************************************************/
- function fTranEmpCall(){
- // status : "RD"
- // pid : 등록번호
- // prcpnm : 처방명
- // kind : 종류(1:검사, 2:전동, 3:수술, 4:입원, 5:기타)
- // rsrvdt : 예약일시
- // arvposcd : 도착 부서코드
- // startposcd : 출발 부서코드
- var pid = ds_subordlist1.getColumn(0,"pid");
- var prcpnm = "내시경";
- var kind = "1";
- //var rsrvdt = getCurrentDate() + getCurrentTime().substr(0,4) ;
- var rsrvdt = utlf_getCurrentTime().substr(0,4) ;
- var startposcd = lv_instance1;
- var arvposcd = "";
-
- frmf_setParameter("status", "RD");
- frmf_setParameter("pid", pid);
- frmf_setParameter("prcpnm", prcpnm);
- frmf_setParameter("kind", kind);
- frmf_setParameter("rsrvdt", rsrvdt);
- frmf_setParameter("calldeptflag", "D");
- frmf_setParameter("arvposcd", arvposcd);
- frmf_setParameter("startposcd", startposcd);
- frmf_modal("SMMNB01810" ,"SMMNB01810" ,"", "","", "300", "150", "", "", "","","","M");
- //modal("SMMNB01810" ,"", "300", "150", "SMMNB01810", "", "");
- }
-
- /*******************************************************************************************************************************************************************/
- // 간호일지Type2 처방정보 세팅
- /*******************************************************************************************************************************************************************/
- function fMakeParameter() {
- var Prcpparam = "";
- rowsep = "▩";
- colsep = "▦";
- param = "prcpflag" + colsep + "prcpnm" + rowsep;
- var check ="";
- var prcpflag="";
- var prcpcd = "";
- var prcpnm = "";
- var prcpvol = "";
- var prcpvolunitflag="";
- var prcpqty = "";
- var prcpqtyunitflag = "";
- var prcptims = "";
- var drugmthdspccd = "";
- var abbrnm = "";
- var prcpdeliverfact = "";
-
-
- for(var i = 0; i < ds_grd_subprcplist.rowcount; i++) {
- check = ds_grd_subprcplist.getColumn(i,"check");
-
- if(check == "Y" || check == "1") {
-
- prcpflag = ds_grd_subprcplist.getColumn(i,"prcpclscd");
- prcpcd = ds_grd_subprcplist.getColumn(i,"calcscorcd");
- prcpnm = ds_grd_subprcplist.getColumn(i,"prcpnm");
- prcpvol = ds_grd_subprcplist.getColumn(i,"prcpvol");
- prcpvolunitflag = ds_grd_subprcplist.getColumn(i,"prcpvolunitflag");
- prcpqty = ds_grd_subprcplist.getColumn(i,"prcpqty");
- prcpqtyunitflag = ds_grd_subprcplist.getColumn(i,"prcpqtyunitflag");
- prcptims = ds_grd_subprcplist.getColumn(i,"prcptims");
- dugmthdspccd = ds_grd_subprcplist.getColumn(i,"drugmthdspccd");
- abbrnm = ds_grd_subprcplist.getColumn(i,"prcpnm");
-
- if(prcpflag=="A2" || prcpflag == "A4" || prcpflag == "A6") {
-
-
- param += prcpflag.substr(0,1) + colsep + prcpcd + "/" + prcpnm + "/" + prcpvol + "/" + prcpvolunitflag + "/" + prcpqty + "/" + prcpqtyunitflag + "/" + prcptims + "/" + dugmthdspccd + "/" + abbrnm + rowsep;
-
- } else if(prcpflag=="B2" || prcpflag=="B4" || prcpflag=="B6" || prcpflag=="C2" || prcpflag=="C4" || prcpflag=="D2" || prcpflag=="E2" || prcpflag=="H4") {
-
- prcpdelivefact = ds_prcpdelifactlist.getColumn(0,"prcpdelivefact");
-
- param += prcpflag.substr(0,1) + colsep + prcpnm + "/" + prcpqty + prcpdeliverfact + rowsep;
- }
- }
- }
- return param;
- }
- /*******************************************************************************************************************************************************************/
- // 예약증 재출력
- /*******************************************************************************************************************************************************************/
- function frersrvprnt(){
- //검사실명 예약예문에 세팅하기 위함.
- for( var i=0; i < ds_grd_temp.rowcount; i++ ) {
- if( ds_init_cmb_excuroom.getColumn(i,"excuroomcdid") == ds_subordlist1.getColumn(0,"excuroomcd") ) {
- var roomcd = ds_init_cmb_excuroom.getColumn(i,"excuroomcdnm");
- }
- }
-
- var pid = group3.ipt_cntsqty.value;
- var hngnm = group3.input1.value;
- var rsrvdd = utlf_transNullToEmpty(group3.cmb_rsrvdd.value) ;
- var rsrvtm = utlf_transNullToEmpty(group3.cmb_rsrvtm.value);
- var year = rsrvdd.substr(0,4);
- var month = rsrvdd.substr(4,2);
- var day = rsrvdd.substr(6,2);
- var week = rsrvdd.substr(0,8).toDate().getDayOfWeek("K");
- var hh = rsrvtm.substr(0,2);
- var mm = rsrvtm.substr(2,2);
- //var roomcd = "";
- ds_send.setColumn(0,"prntcalcscorcd", ds_grd_mainordlist1.getColumn(ds_grd_mainordlist1.rowposition,"calcscorcd"));
- ds_send.setColumn(0,"prntsuppdeptcd", lv_instance1);
-
- dsf_createDsRow("ds_send_req", [{col: "excucd", val:ds_send.getColumn(0,"prntcalcscorcd")}
- ,{col: "suppdeptcd", val:ds_send.getColumn(0,"prntsuppdeptcd") }
- ]);
-
- var oParam = {};
- oParam.id = "TRAEA01126";
- oParam.service = "examcurebaseapp.ExmpTmpl";
- oParam.method = "reaGetRsrvTmplList";
- oParam.inds = "req=ds_send_req";
- oParam.outds = "ds_tmplist=tmplinfo";
- oParam.async = false;
- //oParam.callback = "cf_TRAEA01126";
- tranf_submit(oParam);
-
- var tmpldata = ds_tmplist.getColumn(0,"tmpldata");
- if(ds_tmplist.getColumn(0,"slepyn") == "(수면)") {
- roomcd = roomcd+ds_tmplist.getColumn(0,"slepyn");
- }
- if(!utlf_isNull(tmpldata)) {
- //1. 예약예문내용을 뷰어로 보여주기
- group3.switch1.case1.rtfviewer.TextRtf = tmpldata;
-
- //2. 바꾸기
- group3.switch1.case1.rtfviewer.ReplaceRtfCode("pid",pid); //등록번호
- group3.switch1.case1.rtfviewer.ReplaceRtfCode("patnm",hngnm); //성명
- group3.switch1.case1.rtfviewer.ReplaceRtfCode("year",year); //년
- group3.switch1.case1.rtfviewer.ReplaceRtfCode("month",month); //월
- group3.switch1.case1.rtfviewer.ReplaceRtfCode("day",day); //일
- group3.switch1.case1.rtfviewer.ReplaceRtfCode("week",week); //요일
- group3.switch1.case1.rtfviewer.ReplaceRtfCode("hh",hh); //시
- group3.switch1.case1.rtfviewer.ReplaceRtfCode("mm",mm); //분
- group3.switch1.case1.rtfviewer.ReplaceRtfCode("roomcd", roomcd); //분
-
- //3. 현재내용을 파일에 저장
- group3.switch1.case1.rtfviewer.SaveRtfFile();
-
- //4. 출력
- group3.switch1.case1.rtfviewer.Print();
-
- //5. 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- fInitialize();
- }
- else {
- sysf_messageBox("등록된 예약예문이 ", "I004");
- }
- }
- function ChangeTmplcd(){
- var stmpcd = ds_grd_subordlist1.getColumn(ds_grd_subordlist1.rowposition,"rsrvmultitmplcd");
- if (utlf_isNull(stmpcd)){
- sysf_messageBox("처리할 자료를 클릭한 후 처리하시기 바랍니다.", "E999", "");
- }
- var k =0;
- for(var j=0; j < stmpcd.length; j++){
- //var ch = escape(str.charAt(i));
- var ch = stmpcd.charAt(j);
- if (ch == "^"){
- k = parseInt(k) + 1;
- }
- }
- if (k == 0){
- sysf_messageBox("멀티예약예문이 아닙니다.", "E999", "");
- return;
- }
- lv_checkseq = "02";
- frmf_modal("SPAEA02303","SPAEA02303","","","","","","","","","","","M" );
-
- }
- function ChangeTmplcd2(){
- var stmpcd = ds_grd_mainordlist1.getColumn(ds_grd_mainordlist1.rowposition,"rsrvmultitmplcd");
- if (utlf_isNull(stmpcd)){
- sysf_messageBox("처리할 자료를 클릭한 후 처리하시기 바랍니다.", "E999", "");
- return;
- }
- var k =0;
- for(var j=0; j < stmpcd.length; j++){
- //var ch = escape(str.charAt(i));
- var ch = stmpcd.charAt(j);
- if (ch == "^"){
- k = parseInt(k) + 1;
- }
- }
- if (k == 0){
- sysf_messageBox("멀티예약예문이 아닙니다.", "E999", "");
- return;
- }
- lv_checkseq = "03";
- frmf_modal("SPAEA02303","SPAEA02303","","","","","","","","","","","M" );
- }
- //2009-07-30 병리 생검 - 수동 매칭작업 처리
- function SPLPJ02500(){
- var stmppid = dsf_getColumnNullToEmpty(ds_grd_mainordlist3,ds_grd_mainordlist3.rowposition,"pid");
- if (utlf_isNull(stmppid)){
- sysf_messageBox("처리할 자료를 클릭한 후 처리하시기 바랍니다.", "E999", "");
- }
- var prcpdd = dsf_getColumnNullToEmpty(ds_grd_mainordlist3,ds_grd_mainordlist3.rowposition,"prcpdd");
- var execprcpuniqno = dsf_getColumnNullToEmpty(ds_grd_mainordlist3,ds_grd_mainordlist3.rowposition,"execprcpuniqno");
- var sflag = stmppid + "▦" + prcpdd + "▦" + execprcpuniqno ;
- // alert ("sflag ===>"+ sflag);
- frmf_setParameter("opener_parameter_id", sflag);
-
- frmf_modal("SPLPJ02500","SPLPJ02500","","","","","","","","","","","M" );
- }
-
- /*******************************************************************************************************************************************************************/
- // 상단정보
- /*******************************************************************************************************************************************************************/
- function fTopInfo(){
-
- var prcpgenrflag = ds_subordlist1.getColumn(0,"prcpgenrflag");
- var instcd = sysf_getUserInfo("dutplceinstcd");
- var jciyn = ds_send.getColumn(0,"jciyn");
- var grd = "";
- var row_idx;
- var ds_obj = "";
- if (prcpgenrflag != "건진" && jciyn == "Y") {
- group3.btn_BarCodePrint.visible = true;
- } else {
- group3.btn_BarCodePrint.visible = true;
- }
-
-
- if ( group3.switch1.tabindex == 1 ) {
- grd = "group3.switch1.case1.grd_mainordlist1";
- ds_obj = ds_grd_mainordlist1 ;
- row_idx = ds_grd_mainordlist1.rowposition;
- }
- if ( group3.switch1.tabindex == 2 ) {
-
- grd = "group3.switch1.case2.grd_mainordlist2";
- ds_obj = ds_grd_mainordlist2 ;
- row_idx = ds_grd_mainordlist2.rowposition;
-
- }
- if ( group3.switch1.tabindex == 3 ) {
- grd = "group3.switch1.case3.grd_mainordlist3";
- ds_obj = ds_grd_mainordlist3 ;
- row_idx = ds_grd_mainordlist3.rowposition;
- }
- if ( group3.switch1.tabindex == 4 ) {
- grd = "group3.switch1.case4.grd_mainordlist4";
- ds_obj = ds_grd_mainordlist4 ;
- row_idx = ds_grd_mainordlist4.rowposition;
- }
- if ( group3.switch1.tabindex == 0 ) {
-
- grd = "group3.switch1.case5.grd_subordlist1";
- ds_obj = ds_grd_subordlist1 ;
- row_idx = ds_grd_subordlist1.rowposition;
- }
-
- if ( group3.switch1.tabindex == 5 ) {
- grd = "group3.switch1.case10.grd_subordlist2";
- ds_obj = ds_grd_subordlist2 ;
- row_idx = ds_grd_subordlist2.rowposition;
- }
- schk = "N";
- var dschdd = ds_obj.getColumn(row_idx,"dschdd");
- var srchdd = "";
- // if ( ds_obj.getColumn(row_idx,"prcpgenrflag") =="O" ){
- // var pat_info = "O▦"+ ds_send.getColumn(0,"srchpid") +"▦"+ds_obj.getColumn(row_idx,"orddd")+"▦"+ds_obj.getColumn(row_idx,"cretno")+"▦"+sysf_getUserInfo("dutplceinstcd")+"▦1▦"+ds_obj.getColumn(row_idx,"orddd");
- // schk = "Y";
- // }
- // //2009-07-27 간호기록TypeII - 상단정보 prcpgenrflag -> Ioflag 변경 (상단정보기준으로 Type선택한다고 함.)
- // // else if ( model.getValue("/root/main/"+list+"/mainordlist["+ row_idx +"]/prcpgenrflag") =="I" ){
- // else if ( ( ds_obj.getColumn(row_idx,"prcpgenrflag") =="I" ) || ( ds_obj.getColumn(row_idx,"genrflag") !="ERBD" && ds_obj.getColumn(row_idx,"ioflag") =="I" ) ){
- //
- // if (utlf_isNull(dschdd) || dschdd == "99991231") {
- // srchdd = utlf_getCurrentDate();
- // } else {
- // srchdd = dschdd;
- // }
- // var pat_info = "I▦"+ ds_send.getColumn(0,"srchpid")
- // +"▦"+ ds_obj.getColumn(row_idx,"orddd")
- // +"▦"+ ds_obj.getColumn(row_idx,"cretno")
- // +"▦"+ sysf_getUserInfo("dutplceinstcd")
- // +"▦"+ srchdd;
- // schk = "Y";
- // }
- // else if ( ds_obj.getColumn(row_idx,"prcpgenrflag") =="S" ){
- // var pat_info = "S▦"+ ds_obj.getColumn(row_idx,"prcpdd") +"▦"+ds_obj.getColumn(row_idx,"execprcpuniqno")+"▦"+sysf_getUserInfo("dutplceinstcd");
- // schk = "Y";
- // }
- // else if ( ds_obj.getColumn(row_idx,"prcpgenrflag") =="E" ){
- // var pat_info = "E▦"+ ds_send.getColumn(0,"srchpid") +"▦"+ds_obj.getColumn(row_idx,"orddd")+"▦"+ds_obj.getColumn(row_idx,"cretno")+"▦"+sysf_getUserInfo("dutplceinstcd");
- // schk = "Y";
- // }
-
- var pat_info = "S▦"+ ds_obj.getColumn(row_idx,"prcpdd") +"▦"+ds_obj.getColumn(row_idx,"execprcpuniqno")+"▦"+sysf_getUserInfo("dutplceinstcd");
- schk = "Y";
- //alert(pat_info);
-
- if (schk == "Y"){
- frmf_setParameter("condparam", pat_info);
- //frmf_modal("SPMMO08900","SPMMO08900", "","","","","","","","","","","M" );
-
- appf_initPatientInfo(pat_info);
- }
-
- //20200128 코로나 바이러스 추가
- fc_check_coronavirus();
-
-
- }
- //=====================================================================================================================================================================================
- // @ 팝업메뉴 - 처방 상세 내역 조회
- //=====================================================================================================================================================================================
- function fOpenPrcpList() {
- var objArg = new Object();
- dsf_createDs("ds_temp_popupdata");
- if ( group3.switch1.tabindex == 2 ) {
- dsf_copyColInfo(ds_temp_popupdata,ds_grd_mainordlist2);
- ds_temp_popupdata.copyRow(ds_temp_popupdata.addRow(),ds_grd_mainordlist2,ds_grd_mainordlist2.rowposition);
- objArg.arg_ds_init_popupdata = ds_temp_popupdata;
-
- frmf_modal("SPAEA01102","SPAEA01102",objArg,"","","","","","","","","","M");
-
-
- fOpenActSrch();
- } else if ( group3.switch1.tabindex == 3 ) {
-
- dsf_copyColInfo(ds_temp_popupdata,ds_grd_mainordlist3);
- ds_temp_popupdata.copyRow(ds_temp_popupdata.addRow(),ds_grd_mainordlist3,ds_grd_mainordlist3.rowposition);
- objArg.arg_ds_init_popupdata = ds_temp_popupdata;
-
- frmf_modal("SPAEA01102","SPAEA01102",objArg,"","","","","","","","","","M");
- fOpenActSrch();
- }
- }
- //=====================================================================================================================================================================================
- // @ 약/주사/재료 엑팅 후 재 조회
- //=====================================================================================================================================================================================
- function fOpenActSrch() {
-
- if ( group3.switch1.tabindex == 2 ) {
- ds_send.setColumn(0,"excuroomcd",ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"excuroomcd"));
- ds_send.setColumn(0,"memorgstdd",ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"rsrvdd"));
- ds_send_prcplist.setColumn(0,"pid3", ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"pid"));
- ds_send.setColumn(0,"srchpid", ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"pid"));
- ds_send.setColumn(0,"orddd", ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"orddd"));
- ds_send.setColumn(0,"orddeptcd", ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"orddeptcd"));
- ds_send.setColumn(0,"ioflag", ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"ioflag"));
- ds_send.setColumn(0,"prcpgenrflag", ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"prcpgenrflag"));
- ds_send.setColumn(0,"prcpdd", ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"prcpdd"));
- ds_send.setColumn(0,"prcpno", ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"prcpno"));
- ds_send.setColumn(0,"execprcpuniqno", ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"execprcpuniqno"));
- } else if ( group3.switch1.tabindex == 3 ) {
- ds_send.setColumn(0,"excuroomcd",ds_grd_mainordlist3.getColumn(ds_grd_mainordlist3.rowposition,"excuroomcd"));
- ds_send.setColumn(0,"memorgstdd",ds_grd_mainordlist3.getColumn(ds_grd_mainordlist3.rowposition,"rsrvdd"));
- ds_send_prcplist.setColumn(0,"pid3", ds_grd_mainordlist3.getColumn(ds_grd_mainordlist3.rowposition,"pid"));
- ds_send.setColumn(0,"srchpid", ds_grd_mainordlist3.getColumn(ds_grd_mainordlist3.rowposition,"pid"));
- ds_send.setColumn(0,"orddd", ds_grd_mainordlist3.getColumn(ds_grd_mainordlist3.rowposition,"orddd"));
- ds_send.setColumn(0,"orddeptcd", ds_grd_mainordlist3.getColumn(ds_grd_mainordlist3.rowposition,"orddeptcd"));
- ds_send.setColumn(0,"ioflag", ds_grd_mainordlist3.getColumn(ds_grd_mainordlist3.rowposition,"ioflag"));
- ds_send.setColumn(0,"prcpgenrflag", ds_grd_mainordlist3.getColumn(ds_grd_mainordlist3.rowposition,"prcpgenrflag"));
- ds_send.setColumn(0,"prcpdd", ds_grd_mainordlist3.getColumn(ds_grd_mainordlist3.rowposition,"prcpdd"));
- ds_send.setColumn(0,"prcpno", ds_grd_mainordlist3.getColumn(ds_grd_mainordlist3.rowposition,"prcpno"));
- ds_send.setColumn(0,"execprcpuniqno", ds_grd_mainordlist3.getColumn(ds_grd_mainordlist3.rowposition,"execprcpuniqno"));
- }
-
- call_TRAEA01517();
-
- //상병정보, 검사예약, 진료예약, 처방내역
- var oParam = {};
- oParam.id = "TRAEA01506";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_reqparam";
- oParam.outds = "ds_subordlist1=examcureexecdiaglist ds_grd_ordlist1=gettestrsrvinfo ds_grd_ordlist2=getordrsrvinfo ds_grd_subprcplist=examcureexecprcplist ds_examcureexecdiaglist=diaglist ds_prcpdelifactlist=prcpdelifactlist ds_isolinfo=patisolinfolist ds_main_subordlist_nameconflict=conflictyn";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01506";
- tranf_submit(oParam);
-
-
- //****선택환자정보에 정보 뿌려주기
-
- //1.검사의
-
- ds_subordlist1.setColumn(0,"excuroomcd", ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"excuroomcd"));
- //2.예약일자
- group3.cmb_rsrvdd.value = ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"rsrvdd");
-
- // 3.예약시간
- group3.cmb_rsrvtm.value = ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"rsrvtm");
-
- //4.감염정보
- group3.cpt_isolinfo.text = "";
- if (!utlf_isNull(ds_isolinfo.getColumn(0,"etccnts"))) {
- group3.cpt_isolinfo.text = "확인!";
- }
-
- //20170213 산정특례종료일자 보여주기
- var serdiagtodd = ds_patlist_serdiagtodd.getColumn(0,"serdiagtodd");
- var rareobsttodd = ds_patlist_serdiagtodd.getColumn(0,"rareobsttodd");
- if ( !utlf_isNull(serdiagtodd) && serdiagtodd != "-" ) {
- serdiagtodd = serdiagtodd.substr(0,4) + "년 " + serdiagtodd.substr(4,2) + "월 " + serdiagtodd.substr(6,2) + "일";
- group3.opt_vipflag.value = "중증 종료일자는 [ " + serdiagtodd + " ] 입니다"
- }
- if ( !utlf_isNull(rareobsttodd) && rareobsttodd != "-" ) {
- rareobsttodd = rareobsttodd.substr(0,4) + "년 " + rareobsttodd.substr(4,2) + "월 " + rareobsttodd.substr(6,2) + "일";
- group3.opt_vipflag.value = "희귀난치 종료일자는 [ " + rareobsttodd + " ] 입니다"
- }
-
- //반환처방 색상주기
- // grdf_initGridStyle(group3.grd_subprcplist);
- // grdf_setRowStyle(group3.grd_subprcplist , "2" , "E" , "execprcphistcd","equal" );
- // grdf_setRowStyle(group3.grd_subprcplist , "2" , "D" , "execprcphistcd","equal" );
- // grdf_setRowStyle(group3.grd_subprcplist , "2" , "L" , "execprcphistcd","equal" );
-
- group3.opt_emrcnt.value = ds_grd_ordlist2.rowcount; //진료예약껀수
-
-
- group3.opt_excucnt.value = ds_grd_ordlist1.rowcount; //검사예약껀수
- }
- //--=========================================================================================================
- //2009-06-29 7/1 본인부담율 인상으로 인한 메세지 처리
- //--=========================================================================================================
- function fget0701GosiPrcpRcptChk() {
- if ( frmf_getMenuParam() != "S") { // 건진제외
- var flagvalue = ds_grd_mainordlist1.getColumn(ds_grd_mainordlist1.rowposition,"prcpexecdeptcd"); //시행부서
- var tmpPID = ds_grd_mainordlist1.getColumn(ds_grd_mainordlist1.rowposition,"pid") // 등록번호
- // flagvalue = "2220000001";
- // tmpPID ="18684040";
- flagvalue = "'" + flagvalue + "'";
- dsf_createDsRow("ds_send_GosiPrcpRcpyn", [{col: "instcd", val:sysf_getUserInfo("dutplceinstcd")}
- ,{col: "pid", val:tmpPID }
- ,{col: "flagvalue", val:flagvalue }
- ,{col: "flag", val:"2" }
- ]);
-
- dsf_createDs("ds_hidden_prcprcptyn");
- var oParam = {};
- oParam.id = "TRAEA01100";
- oParam.service = "pamcomnapp.PamComn";
- oParam.method = "get0701GosiPrcpRcptChk";
- oParam.inds = "req=ds_send_GosiPrcpRcpyn";
- oParam.outds = "ds_hidden_prcprcptyn=prcprcptyn";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01100";
- tranf_submit(oParam);
-
- }
- }
- function cf_TRAEA01100(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- if ( ds_hidden_prcprcptyn.getColumn(0,"prcprcptyn") == "Y") {
- //txtgosi.text = " 본인부담요율 변동 환자입니다. 수납에 정산 안내하시길 바랍니다." ; //재활 메세지로
- sysf_messageBox(" 본인부담요율 변동 환자입니다. 수납으로 정산 안내하시길 바랍니다. ", "E999"); //재활 그외는 메세지창으로
- }
- }
- //--=========================================================================================================
- //2011-05-04 라벨출력 by kya
- //--=========================================================================================================
- function fPrintLabel() {
- if ( utlf_isNull(ds_subordlist1.getColumn(0,"pid")) ) {
- sysf_messageBox("처방목록이 선택되지 ", "E007");
- return;
- }
-
-
- ds_rexbarcode.clearData();
- ds_rexbarcode.addRow();
- ds_rexbarcode.setColumn(0,"pid", ds_subordlist1.getColumn(0,"pid"));
- ds_rexbarcode.setColumn(0,"patnm", ds_subordlist1.getColumn(0,"patnm"));
-
- //20140721 by kya 주사약용량 추가
- //start
- var prcpclscd ="";
- var prcpvolunitnm ="";
- var prcpnm = "";
-
- prcpnm = ds_grd_subprcplist.getColumn(ds_grd_subprcplist.rowposition,"prcpnm") ;
-
- prcpclscd = ds_grd_subprcplist.getColumn(ds_grd_subprcplist.rowposition,"prcpclscd") ;
- if ( prcpclscd == "A6" ) {
- prcpvolunitnm = ds_grd_subprcplist.getColumn(ds_grd_subprcplist.rowposition,"drprcpetc7") ;
- prcpvolunitnm += ds_grd_subprcplist.getColumn(ds_grd_subprcplist.rowposition,"prcpvolunitnm");
- prcpvolunitnm += "/" ;
- prcpvolunitnm += ds_grd_subprcplist.getColumn(ds_grd_subprcplist.rowposition,"drprcpetc8");
- prcpvolunitnm += ds_grd_subprcplist.getColumn(ds_grd_subprcplist.rowposition,"prcpqtyunitnm") ;
-
- prcpnm += " " + prcpvolunitnm;
-
- }
- //end
-
- ds_rexbarcode.setColumn(0,"prcpnm", prcpnm);
- ds_rexbarcode.setColumn(0,"gbn", "");
- ds_rexbarcode.setColumn(0,"rrgstno1", ds_subordlist1.getColumn(0,"rgstno"));
- ds_rexbarcode.setColumn(0,"rrgstno2", "");
- ds_rexbarcode.setColumn(0,"rsrvdd", "");
- ds_rexbarcode.setColumn(0,"sex", ds_subordlist1.getColumn(0,"sna"));
- ds_rexbarcode.setColumn(0,"age", "");
- ds_rexbarcode.setColumn(0,"wardcddeptengabbr", ds_subordlist1.getColumn(0,"prcpgenrflag"));
- ds_rexbarcode.setColumn(0,"excupartcd", "");
- ds_rexbarcode.setColumn(0,"roomcd", "");
- ds_rexbarcode.setColumn(0,"examroomnm", ds_subordlist1.getColumn(0,"orddrnm"));
- ds_rexbarcode.setColumn(0,"wardcdnm", ds_subordlist1.getColumn(0,"orddepthngnm"));
- ds_rexbarcode.setColumn(0,"prcphopedd", ds_subordlist1.getColumn(0,"prcpdd"));
-
-
- //makeReportPreview(0,0,10, 10, "");
- //exeReportPreview("RPAEA01503","XMLSTR");
- //fPrintRexbar("RPAEA01503"); //주사약라벨 전용
- rptf_printRexbar("RPAEA01503","","/root/rexsend/rexbarcode",ds_rexbarcode);
-
- }
- function SMAEA01500_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 화면공통
- }
- function cf_TRAEB00010(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function SMAEA01500_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_setGridSort(group3.switch1.case5.grd_subordlist1);
- grdf_setGridSort(group3.switch1.case10.grd_subordlist2);
- grdf_setGridSort(group3.switch1.case1.grd_mainordlist1);
- grdf_setGridSort(group3.switch1.case2.grd_mainordlist2);
- grdf_setGridSort(group3.switch1.case3.grd_mainordlist3);
- grdf_setGridSort(group3.switch1.case4.grd_mainordlist4);
- grdf_initGrid(group3.grd_subprcplist);
-
- group3.switch3.case8.grd_excuroomcd.deleteContentsCol(group3.switch3.case8.grd_excuroomcd.getCellCount("Head") -1);
-
- //lf_aezfSetSuppDeptcd_main();
- lf_aezfSetSuppDeptcd();
-
- //zbcfGetCodeList( new Array("A0608"), new Array("/root/init/waitfoominfo/waitroomcdval") );
- var arrParam = [{dsNm: "ds_init_A0608", cdGrpId: "A0608"}
- ,{dsNm: "ds_init_M0011", cdGrpId: "M0011"}
- ]
- appf_getCodeList(arrParam);
-
- //상단정보 초기화
- //delPatientInfos();
- appf_delPatientInfos();
-
-
- //건진처방 구분
- ds_send.setColumn(0,"sgubn",frmf_getMenuParam());
-
- //건진일경우
- if(frmf_getMenuParam() == "S"){
- group3.button12.visible = true;
- group3.button11.text = "결과상담";
- group1.cap_title.text = "접수 관리(건진)";
- //2011.03.28 예약탭에서 다중접수되게 수정
- // grd_mainordlist1.fixedcellcheckbox(0,1) =true;
- group3.switch1.case1.grd_mainordlist1.setCellProperty("head",1,"text","");
- group3.switch1.case1.grd_mainordlist1.setCellProperty("head",1,"displaytype","checkbox");
- group3.switch1.case1.grd_mainordlist1.setCellProperty("head",1,"edittype","checkbox");
- grdf_initGrid(group3.switch1.case1.grd_mainordlist1);
- }
-
- group3_btn_case5_onclick();
- group3.switch1.tabindex = 0;
- group3.switch2.tabindex = 0;
- group3.switch3.tabindex = 0;
-
- lv_instance1 = utlf_transNullToEmpty(suppdeptcd);
-
- dsf_createDsRow("ds_send_reqparam", [{col: "basesuppdeptcd", val:lv_instance1}
- ,{col: "rbasecdflag", val:"R" }
- ,{col: "ebasecdflag", val:"E" }
- ,{col: "largeclass", val:"M5"}
- ]);
-
- //검사실 코드 갖고오기
- var oParam = {};
- oParam.id = "TRAEA01511";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetInitFuncExamCureRoomList";
- oParam.inds = "reqparam=ds_send_reqparam";
- oParam.outds = "ds_init_cmb_excuroom=initexcuroom ds_init_prcpexecdeptcdlist=prcpexecdeptcdlist";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01511";
- tranf_submit(oParam);
-
- dsf_createDsRow("ds_send_req", [{col: "dutplcecd", val:lv_instance1}
- ]);
- var oParam = {};
- oParam.id = "TRAEA01136";
- oParam.service = "examcurebaseapp.ExamCureCode";
- oParam.method = "reqGetSpecDrnmList";
- oParam.inds = "req=ds_send_req";
- oParam.outds = "ds_specdridlist=item";
- oParam.async = false;
- //oParam.callback = "cf_TRAEA01136";
- tranf_submit(oParam);
- //바코드 출력
- ds_send.setColumn(0,"scrnid", frmf_getScreenID()); // 20090617 SATO 관련 추가
- var oParam = {};
- oParam.id = "TRLLC90101";
- oParam.service = "diagtestapplib.LisCommon";
- oParam.method = "reqGetSetUpInfo";
- oParam.inds = "scrnid=ds_send";
- oParam.outds = "ds_barcdprntsetup=getSetUpInfo";
- oParam.async = false;
- //oParam.callback = "cf_TRLLC90101";
- tranf_submit(oParam); // 20090617 SATO 관련 추가
- lf_convertXmlToDs(ds_barcdprntsetup.getColumn(0,"prntsetupinfo"));
- // // 라벨출력 초기화
- // lzzfMakeBrcdPrntObjHanDo("CommAX");
- //처방상태 공통코드 갖고오기
- // dsf_createDsRow("ds_send_cmd", [{col: "minimum", val:"true")}
- // ,{col: "join", val:"false" }
- // ]);
- // var oParam = {};
- // oParam.id = "TRZBC00101";
- // oParam.service = "basiccodeapp.BasicCodeUser";
- // oParam.method = "reqGetCodeLists";
- // oParam.inds = "cmd=ds_send_cmd";
- // oParam.outds = "ds_=${repeat_ref}";
- // oParam.async = false;
- // //oParam.callback = "cf_TRZBC00101";
- //
- // tranf_submit(oParam);
- var captionlable = lv_instance1;
-
-
- // JCI 적용 여부
-
- dsf_createDsRow("ds_send_req", [{col: "grupcdid", val:"JCI01"}
- ,{col: "suppdeptcd", val:utlf_transNullToEmpty(suppdeptcd) }
- ]);
- var oParam = {};
- oParam.id = "TRAEB00010";
- oParam.service = "examcurebaseapp.ComCode";
- oParam.method = "reqGetComCodeDetailList";
- oParam.inds = "req=ds_send_req";
- oParam.outds = "ds_codelist=item";
- oParam.async = false;
- oParam.callback = "cf_TRAEB00010";
- tranf_submit(oParam);
- if (arErrorCode.pop("TRAEB00010") > -1) {
- var cnt = ds_codelist.rowcount;
- if (cnt > 0) {
- ds_send.setColumn(0,"jciyn", ds_codelist.getColumn(0,"cdid"));
-
- var nrow = ds_init_pmenu_grid01.addRow();
- ds_init_pmenu_grid01.setColumn(nrow,"name", "-");
- ds_init_pmenu_grid01.setColumn(nrow,"func", "");
- nrow = ds_init_pmenu_grid01.addRow();
- ds_init_pmenu_grid01.setColumn(nrow,"name", "진정,회복 서식목록");
- ds_init_pmenu_grid01.setColumn(nrow,"func", "fDepeRecovDocuSrch");
- nrow = ds_init_pmenu_grid01.addRow();
- ds_init_pmenu_grid01.setColumn(nrow,"name", "-");
- ds_init_pmenu_grid01.setColumn(nrow,"func", "");
- nrow = ds_init_pmenu_grid01.addRow();
- ds_init_pmenu_grid01.setColumn(nrow,"name", "진정,회복 기록목록");
- ds_init_pmenu_grid01.setColumn(nrow,"func", "fDepeRecovRecSrch");
-
- nrow = ds_init_pmenu_grid03.addRow();
- ds_init_pmenu_grid03.setColumn(nrow,"name", "-");
- ds_init_pmenu_grid03.setColumn(nrow,"func", "");
- nrow = ds_init_pmenu_grid03.addRow();
- ds_init_pmenu_grid03.setColumn(nrow,"name", "진정,회복 서식목록");
- ds_init_pmenu_grid03.setColumn(nrow,"func", "fDepeRecovDocuSrch");
-
- nrow = ds_init_pmenu_grid03.addRow();
- ds_init_pmenu_grid03.setColumn(nrow,"name", "-");
- ds_init_pmenu_grid03.setColumn(nrow,"func", "");
- nrow = ds_init_pmenu_grid03.addRow();
- ds_init_pmenu_grid03.setColumn(nrow,"name", "진정,회복 기록목록");
- ds_init_pmenu_grid03.setColumn(nrow,"func", "fDepeRecovRecSrch");
-
- nrow = ds_init_pmenu_grid03.addRow();
- ds_init_pmenu_grid03.setColumn(nrow,"name", "-");
- ds_init_pmenu_grid03.setColumn(nrow,"func", "");
- nrow = ds_init_pmenu_grid03.addRow();
- ds_init_pmenu_grid03.setColumn(nrow,"name", "라벨출력");
- ds_init_pmenu_grid03.setColumn(nrow,"func", "fPrintLabel");
-
- nrow = ds_init_pmenu_grid04.addRow();
- ds_init_pmenu_grid04.setColumn(nrow,"name", "-");
- ds_init_pmenu_grid04.setColumn(nrow,"func", "");
- nrow = ds_init_pmenu_grid04.addRow();
- ds_init_pmenu_grid04.setColumn(nrow,"name","진정,회복 서식목록");
- ds_init_pmenu_grid04.setColumn(nrow,"func","fDepeRecovDocuSrch");
-
- nrow = ds_init_pmenu_grid04.addRow();
- ds_init_pmenu_grid04.setColumn(nrow,"name", "-");
- ds_init_pmenu_grid04.setColumn(nrow,"func", "");
- nrow = ds_init_pmenu_grid04.addRow();
- ds_init_pmenu_grid04.setColumn(nrow,"name", "진정,회복 기록목록");
- ds_init_pmenu_grid04.setColumn(nrow,"func", "fDepeRecovRecSrch");
-
- nrow = ds_init_pmenu_grid05.addRow();
- ds_init_pmenu_grid05.setColumn(nrow,"name", "-");
- ds_init_pmenu_grid05.setColumn(nrow,"func", "");
- nrow = ds_init_pmenu_grid05.addRow();
- ds_init_pmenu_grid05.setColumn(nrow,"name", "진정,회복 서식목록");
- ds_init_pmenu_grid05.setColumn(nrow,"func", "fDepeRecovDocuSrch");
-
- nrow = ds_init_pmenu_grid05.addRow();
- ds_init_pmenu_grid05.setColumn(nrow,"name", "-");
- ds_init_pmenu_grid05.setColumn(nrow,"func", "");
- nrow = ds_init_pmenu_grid05.addRow();
- ds_init_pmenu_grid05.setColumn(nrow,"name", "진정,회복 기록목록");
- ds_init_pmenu_grid05.setColumn(nrow,"func", "fDepeRecovRecSrch");
-
- nrow = ds_init_pmenu_grid05.addRow();
- ds_init_pmenu_grid05.setColumn(nrow,"name", "-");
- ds_init_pmenu_grid05.setColumn(nrow,"func", "");
- nrow = ds_init_pmenu_grid05.addRow();
- ds_init_pmenu_grid05.setColumn(nrow,"name", "라벨출력");
- ds_init_pmenu_grid05.setColumn(nrow,"func", "fPrintLabel");
-
- nrow = ds_init_pmenu_grid06.addRow();
- ds_init_pmenu_grid06.setColumn(nrow,"name", "-");
- ds_init_pmenu_grid06.setColumn(nrow,"func", "");
- nrow = ds_init_pmenu_grid06.addRow();
- ds_init_pmenu_grid06.setColumn(nrow,"name", "진정,회복 서식목록");
- ds_init_pmenu_grid06.setColumn(nrow,"func", "fDepeRecovDocuSrch");
-
- nrow = ds_init_pmenu_grid06.addRow();
- ds_init_pmenu_grid06.setColumn(nrow,"name", "-");
- ds_init_pmenu_grid06.setColumn(nrow,"func", "");
- nrow = ds_init_pmenu_grid06.addRow();
- ds_init_pmenu_grid06.setColumn(nrow,"name", "진정,회복 기록목록");
- ds_init_pmenu_grid06.setColumn(nrow,"func", "fDepeRecovRecSrch");
-
- } else {
- ds_send.setColumn(0,"jciyn", "N");
- }
- }
-
- //검사실 세팅
-
- for(var i= 0; i< group3.switch3.case8.grd_excuroomcd.getCellCount("Head");i++)
- {
- group3.switch3.case8.grd_excuroomcd.deleteContentsCol(0);
- }
-
- //부서메모 조회를 위해 부서코드를 검사실코드로 세팅
- ds_send.setColumn(0,"selectexcuroom", captionlable);
- group3.group6.ipt_date1.value = utlf_getCurrentDate(); //현재일자 세팅
- ds_send.setColumn(0,"tabgubn","P"); //미예약탭 조회
-
- var ev = new ClickEventInfo;
- frmf_inputEnterKey("group3.group6.btn_sea", "onclick", ev );
- }
- function cf_TRAEA01511(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- ds_init_cmb_excuroom.updateColID("basecd","excuroomcdid");
- ds_init_cmb_excuroom.updateColID("basecdflagdesc","excuroomcdnm");
- }
- function group3_group6_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- //데이타클리어
- dataClear();
-
- //상단정보 초기화
- appf_delPatientInfos();
-
-
- ds_send.setColumn(0,"memodd",ds_send.getColumn(0,"srchdate1"));
- //부서메모 조회
- dsf_createDsRow("ds_send_req", [{col: "excuroomcd", val:ds_send.getColumn(0,"selectexcuroom")}
- ,{col: "deptcdflag", val:"room" }
- ,{col: "memodt1", val:ds_send.getColumn(0,"memodd") }
- ,{col: "memodt1", val:ds_send.getColumn(0,"memodd") }
- ]);
-
- var oParam = {};
- oParam.id = "TRAEA01110";
- oParam.service = "examcurebaseapp.ExamCureCode";
- oParam.method = "reqGetExcuroomMemoCodeList";
- oParam.inds = "req=ds_send_req";
- oParam.outds = "ds_examcuredeptmemolist=examcuredeptmemolist";
- oParam.async = false;
- //oParam.callback = "cf_TRAEA01110";
- tranf_submit(oParam);
-
- if ( group3.switch1.tabindex == 0 ) {
- fGetExamCureAcptList("P"); //미예약
- }
-
- if ( group3.switch1.tabindex == 1 ) {
- fGetExamCureAcptList("Y"); //예약
- }
- if ( group3.switch1.tabindex == 2) {
- fGetExamCureAcptList("T"); //접수
- }
-
- if (group3.switch1.tabindex == 3 ) {
- fGetExamCureAcptList("Z"); //접수
- }
-
- if ( group3.switch1.tabindex == 4 ) {
- fGetExamCureAcptList("L"); //전체
- }
-
- }
- function group3_group6_input5_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- var ev = new ClickEventInfo;
- frmf_inputEnterKey("group3.group6.btn_sea", "onclick", ev );
- }
- }
- function group3_group6_button61_onclick(obj:Button, e:ClickEventInfo)
- {
- dsf_createDsRow("ds_send_srchpid", [{col: "srchpid", val:ds_send.getColumn(0,"srchpid")}
- ]);
-
- var objArg = new Object();
- objArg.arg_ds_send = ds_send_srchpid;
-
- // 환자조회화면 호출
- frmf_modal("SPPMC02500", "SPPMC02500", objArg, "", "", "", "", "", "", "", "", "", "M");
-
- ds_send.setColumn(0,"pid", ds_patinfolist.getColumn(0,"pid"));
- var ev = new ClickEventInfo;
- frmf_inputEnterKey("group3.group6.btn_sea", "onclick", ev );
- }
- function group3_switch1_case1_grd_mainordlist1_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- var sgubn = ds_send.getColumn(0,"sgubn");
- if(e.row < 0 || e.col < 0) return;
- obj.setFocus();
- grdf_setSelectedCell(obj, e);
- //obj.oncellclick.fireEvent(obj, new GridClickEventInfo());
-
- if (sgubn == "S") {
- var nrow = ds_init_pmenu_grid04.addRow();
- ds_init_pmenu_grid04.setColumn(nrow,"name", "-");
- ds_init_pmenu_grid04.setColumn(nrow,"func", "");
- nrow = ds_init_pmenu_grid04.addRow();
- ds_init_pmenu_grid04.setColumn(nrow,"name", "진정전 환자 평가서");
- ds_init_pmenu_grid04.setColumn(nrow,"func", "fDepeRecovPatSrch");
- nrow = ds_init_pmenu_grid04.addRow();
- ds_init_pmenu_grid04.setColumn(nrow,"name", "-");
- ds_init_pmenu_grid04.setColumn(nrow,"func", "");
- nrow = ds_init_pmenu_grid04.addRow();
- ds_init_pmenu_grid04.setColumn(nrow,"name", "진정/회복 서식목록");
- ds_init_pmenu_grid04.setColumn(nrow,"func", "fDepeRecovDocuSrch");
-
- pmn_menu.innerdataset = "ds_init_pmenu_grid04";
- pmn_menu.idcolumn = "func";
- pmn_menu.captioncolumn = "name";
- pmn_menu.levelcolumn = "func";
- pmn_menu.trackPopup(e.screenX,e.screenY);
- } else {
- pmn_menu.innerdataset = "ds_init_pmenu_grid04";
- pmn_menu.idcolumn = "func";
- pmn_menu.captioncolumn = "name";
- pmn_menu.levelcolumn = "func";
- pmn_menu.trackPopup(e.screenX,e.screenY);
- }
-
- return true;
- }
- function group3_switch1_case1_grd_mainordlist1_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- if(frmf_getMenuParam() == "S" && e.col == 1){
- //2011.04.05 건진내시경이면
- }else{
- for ( var i = 0; i < ds_grd_mainordlist1.rowcount; i++) {
- ds_grd_mainordlist1.setColumn(i,"check", "N");
- }
- var selectRows = grdf_getSelectedRows(group3.switch1.case1.grd_mainordlist1);
- for ( var i =0 ; i< selectRows.length;i++){
- ds_grd_mainordlist1.setColumn(selectRows[i],"check", "Y");
- }
-
- group7.visible = false;
-
- if(selectRows.length == 1 ){
- var pidValue = ds_grd_mainordlist1.getColumn(ds_grd_mainordlist1.rowposition,"execprcpuniqno");
- //var nodeList = instance1.selectNodes("/root/main/ordlist1/mainordlist[execprcpuniqno !='" + pidValue + "']");
- //var node;
-
- group3.tar_acptrem.value = ds_grd_mainordlist1.getColumn(ds_grd_mainordlist1.rowposition,"rsrvrem"); //예약코멘트
-
- ds_send.setColumn(0,"excuroomcd",ds_grd_mainordlist1.getColumn(ds_grd_mainordlist1.rowposition,"excuroomcd"));
- ds_send.setColumn(0,"memorgstdd",ds_grd_mainordlist1.getColumn(ds_grd_mainordlist1.rowposition,"rsrvdd"));
- ds_send.setColumn(0,"srchpid", ds_grd_mainordlist1.getColumn(ds_grd_mainordlist1.rowposition,"pid"));
- ds_send.setColumn(0,"orddd", ds_grd_mainordlist1.getColumn(ds_grd_mainordlist1.rowposition,"orddd"));
- ds_send.setColumn(0,"orddeptcd", ds_grd_mainordlist1.getColumn(ds_grd_mainordlist1.rowposition,"orddeptcd"));
- ds_send.setColumn(0,"prcpgenrflag", ds_grd_mainordlist1.getColumn(ds_grd_mainordlist1.rowposition,"prcpgenrflag"));
- ds_send.setColumn(0,"ioflag", ds_grd_mainordlist1.getColumn(ds_grd_mainordlist1.rowposition,"ioflag"));
- ds_send.setColumn(0,"prcpdd", ds_grd_mainordlist1.getColumn(ds_grd_mainordlist1.rowposition,"prcpdd"));
- ds_send.setColumn(0,"prcpno", ds_grd_mainordlist1.getColumn(ds_grd_mainordlist1.rowposition,"prcpno"));
- ds_send.setColumn(0,"execprcpuniqno", ds_grd_mainordlist1.getColumn(ds_grd_mainordlist1.rowposition,"execprcpuniqno"));
-
- ds_send.setColumn(0,"cretno", ds_grd_mainordlist1.getColumn(ds_grd_mainordlist1.rowposition,"cretno"));
- ds_send.setColumn(0,"age", ds_grd_mainordlist1.getColumn(ds_grd_mainordlist1.rowposition,"age"));
- ds_send.setColumn(0,"patnm", ds_grd_mainordlist1.getColumn(ds_grd_mainordlist1.rowposition,"hngnm"));
- ds_send.setColumn(0,"orddrid", ds_grd_mainordlist1.getColumn(ds_grd_mainordlist1.rowposition,"orddrid"));
-
- ds_send.setColumn(0,"prntcalcscorcd", ds_grd_mainordlist1.getColumn(ds_grd_mainordlist1.rowposition,"calcscorcd")); //20170725 추가
-
- //20131107 kya 실시일자추가
- ds_send.setColumn(0,"execdd", ds_grd_mainordlist1.getColumn(ds_grd_mainordlist1.rowposition,"execdd"));
-
-
- //20140731 선택진료비 제도변경에 대한 알림메시지
- //start
- var pid = ds_grd_mainordlist1.getColumn(ds_grd_mainordlist1.rowposition,"pid");
- var prcpdd = ds_grd_mainordlist1.getColumn(ds_grd_mainordlist1.rowposition,"prcpdd");
- var execprcpuniqno = ds_grd_mainordlist1.getColumn(ds_grd_mainordlist1.rowposition,"execprcpuniqno");
- getPrcpRcptCheck("AST", pid, "","", prcpdd, execprcpuniqno );
- //end
- var sna = ds_grd_mainordlist1.getColumn(ds_grd_mainordlist1.rowposition,"sna");
- if (sna.length > 1) {
- ds_send.setColumn(0,"sex", sna.substring(0,1));
- }
-
- //상병정보, 검사예약, 진료예약, 처방내역
- call_TRAEA01517();
-
- //상병정보, 검사예약, 진료예약, 처방내역
- var oParam = {};
- oParam.id = "TRAEA01506";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_reqparam";
- oParam.outds = "ds_subordlist1=examcureexecdiaglist ds_grd_ordlist1=gettestrsrvinfo ds_grd_ordlist2=getordrsrvinfo ds_grd_subprcplist=examcureexecprcplist ds_examcureexecdiaglist=diaglist ds_prcpdelifactlist=prcpdelifactlist ds_isolinfo=patisolinfolist ds_main_subordlist_nameconflict=conflictyn";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01506";
- tranf_submit(oParam);
-
- //감염정보
- group3.cpt_isolinfo.text = "";
- if (!utlf_isNull(ds_isolinfo.getColumn(0,"etccnts"))) {
- group3.cpt_isolinfo.text = "확인";
- //20180918 감염정보 팝업
- group7.visible = true;
- }
- //****선택환자정보에 정보 뿌려주기
-
- //1.검사의
-
- ds_subordlist1.setColumn(0,"excuroomcd", ds_grd_mainordlist1.getColumn(ds_grd_mainordlist1.rowposition,"excuroomcd"));
- //2.예약일자
- group3.cmb_rsrvdd.value = ds_send.getColumn(0,"srchdate1");
-
- // 3.예약시간
- group3.cmb_rsrvtm.value = ds_grd_mainordlist1.getColumn(ds_grd_mainordlist1.rowposition,"rsrvtm");
-
- //20161108 동명이인
- if (ds_main_subordlist_nameconflict.getColumn(0,"conflictyn") == "Y") {
- sysf_messageBox("현재 환자와 성명이 동일한 환자가 존재합니다.\r\n" +
- " 주의하여 작업하시기 바랍니다.", "I000");
- }
-
- //대표검사명 2011.04.08 by kya 환자인식표출력용
-
- ds_subordlist1.setColumn(0,"prcpnm", ds_grd_mainordlist1.getColumn(ds_grd_mainordlist1.rowposition,"prcpnm"));
-
-
- group3.opt_excucnt.value = ds_grd_ordlist1.rowcount; //검사예약껀수
- group3.opt_emrcnt.value = ds_grd_ordlist2.rowcount; //진료예약껀수
-
- //20160614 건진환자 VIP 사유 보여주기
- if ( ds_grd_mainordlist1.getColumn(e.row,"vipflag") == "Y" ) {
- group3.opt_vipflag.value = ds_grd_mainordlist1.getColumn(e.row,"clntgrde");
- } else {
- group3.opt_vipflag.value = "";
- }
-
-
- //20170213 산정특례종료일자 보여주기
- var serdiagtodd = ds_patlist_serdiagtodd.getColumn(0,"serdiagtodd");
- var rareobsttodd = ds_patlist_serdiagtodd.getColumn(0,"rareobsttodd");
- if ( !utlf_isNull(serdiagtodd) && serdiagtodd != "-" ) {
- serdiagtodd = serdiagtodd.substr(0,4) + "년 " + serdiagtodd.substr(4,2) + "월 " + serdiagtodd.substr(6,2) + "일";
- group3.opt_vipflag.value = "중증 종료일자는 [ " + serdiagtodd + " ] 입니다"
- }
- if ( !utlf_isNull(rareobsttodd) && rareobsttodd != "-" ) {
- rareobsttodd = rareobsttodd.substr(0,4) + "년 " + rareobsttodd.substr(4,2) + "월 " + rareobsttodd.substr(6,2) + "일";
- group3.opt_vipflag.value = "희귀난치 종료일자는 [ " + rareobsttodd + " ] 입니다"
- }
-
- //반환처방 색상주기
- // grdf_initGridStyle(group3.grd_subprcplist);
- // grdf_setRowStyle(group3.grd_subprcplist , "2" , "E" , "execprcphistcd","equal" );
- // grdf_setRowStyle(group3.grd_subprcplist , "2" , "D" , "execprcphistcd","equal" );
- // grdf_setRowStyle(group3.grd_subprcplist , "2" , "L" , "execprcphistcd","equal" );
-
- fTopInfo(); //상단환자정보
-
- fget0701GosiPrcpRcptChk(); //2009-06-29 7/1 본인부담율 인상으로 인한 메세지 처리
-
- }
- }
- }
- function group3_switch1_case2_grd_mainordlist2_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- var sgubn = ds_send.getColumn(0,"sgubn");
- if(e.row < 0 || e.col < 0) return;
- obj.setFocus();
- grdf_setSelectedCell(obj, e);
- //obj.oncellclick.fireEvent(obj, new GridClickEventInfo());
-
- if (sgubn == "S") {
-
- pmn_menu.innerdataset = "ds_init_pmenu_grid07";
- pmn_menu.idcolumn = "func";
- pmn_menu.captioncolumn = "name";
- pmn_menu.levelcolumn = "func";
- pmn_menu.trackPopup(e.screenX,e.screenY);
- } else {
- pmn_menu.innerdataset = "ds_init_pmenu_grid01";
- pmn_menu.idcolumn = "func";
- pmn_menu.captioncolumn = "name";
- pmn_menu.levelcolumn = "func";
- pmn_menu.trackPopup(e.screenX,e.screenY);
- }
- }
- function group3_switch1_case2_grd_mainordlist2_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
-
- for ( var i = 0; i < ds_grd_mainordlist2.rowcount; i++) {
- ds_grd_mainordlist2.setColumn(i,"check", "N");
- }
- var selectRows = grdf_getSelectedRows(group3.switch1.case2.grd_mainordlist2);
- for ( var i =0 ; i< selectRows.length;i++){
- ds_grd_mainordlist2.setColumn(selectRows[i],"check", "Y");
- }
- group7.visible = false;
-
- if(selectRows.length == 1 ){ //한행만 선택한 경우
-
- //20180913
- //var idx = obj.vscrollbar.pos;
-
- //model.setValue("/root/main/comment1/prcpcmt", ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"prcpdelivefact")); //처방코멘트
- group3.tar_acptrem.value = ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"rsrvrem"); //예약코멘트
- group3.tar_execrem.value = ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"acptrem"); //검사코멘트
- ds_send.setColumn(0,"excuroomcd",ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"excuroomcd"));
- ds_send.setColumn(0,"memorgstdd",ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"rsrvdd"));
- ds_send_prcplist.setColumn(0,"pid3", ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"pid"));
- ds_send.setColumn(0,"srchpid", ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"pid"));
- ds_send.setColumn(0,"orddd", ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"orddd"));
- ds_send.setColumn(0,"orddeptcd", ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"orddeptcd"));
- ds_send.setColumn(0,"ioflag", ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"ioflag"));
- ds_send.setColumn(0,"prcpgenrflag", ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"prcpgenrflag"));
- ds_send.setColumn(0,"prcpdd", ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"prcpdd"));
- ds_send.setColumn(0,"prcpno", ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"prcpno"));
- ds_send.setColumn(0,"execprcpuniqno", ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"execprcpuniqno"));
- ds_send.setColumn(0,"cretno", ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"cretno"));
- ds_send.setColumn(0,"age", ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"age"));
- ds_send.setColumn(0,"patnm", ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"hngnm"));
- ds_send.setColumn(0,"orddrid", ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"orddrid"));
-
- ds_send.setColumn(0,"prntcalcscorcd", ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"calcscorcd")); //20170725 추가
-
-
- //20140731 선택진료비 제도변경에 대한 알림메시지
- //start
- var pid = ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"pid");
- var prcpdd = ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"prcpdd");
- var execprcpuniqno = ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"execprcpuniqno");
-
- getPrcpRcptCheck("AST", pid, "","", prcpdd, execprcpuniqno );
- //end
- //20131107 kya 실시일자추가
- ds_send.setColumn(0,"execdd", ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"execdd"));
-
- var sna = ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"sna");
- if (sna.length > 1) {
- ds_send.setColumn(0,"sex", sna.substring(0,1));
- }
-
- call_TRAEA01517();
-
- //상병정보, 검사예약, 진료예약, 처방내역
- var oParam = {};
- oParam.id = "TRAEA01506";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_reqparam";
- oParam.outds = "ds_subordlist1=examcureexecdiaglist ds_grd_ordlist1=gettestrsrvinfo ds_grd_ordlist2=getordrsrvinfo ds_grd_subprcplist=examcureexecprcplist ds_examcureexecdiaglist=diaglist ds_prcpdelifactlist=prcpdelifactlist ds_isolinfo=patisolinfolist ds_main_subordlist_nameconflict=conflictyn";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01506";
- tranf_submit(oParam);
-
-
-
- //****선택환자정보에 정보 뿌려주기
-
- //1.검사의
-
- ds_subordlist1.setColumn(0,"excuroomcd", ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"excuroomcd"));
-
- //2.예약일자
- group3.cmb_rsrvdd.value = ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"rsrvdd");
-
- // 3.예약시간
- group3.cmb_rsrvtm.value = ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"rsrvtm");
-
- //20161108 동명이인
- if (ds_main_subordlist_nameconflict.getColumn(0,"conflictyn") == "Y") {
- sysf_messageBox("현재 환자와 성명이 동일한 환자가 존재합니다.\r\n" +
- " 주의하여 작업하시기 바랍니다.", "I000");
- }
-
- //대표검사명 2011.04.08 by kya 환자인식표출력용
- ds_subordlist1.setColumn(0,"prcpnm", ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"prcpnm"));
-
- //4.감염정보
- group3.cpt_isolinfo.text = "";
- if (!utlf_isNull(ds_isolinfo.getColumn(0,"etccnts"))) {
- group3.cpt_isolinfo.text = "[확인]";
- //20180918 감염정보조회
- //group7.visible = true;
- }
-
- //20160614 건진환자 VIP 사유 보여주기
- if ( ds_grd_mainordlist2.getColumn(e.row,"vipflag") == "Y" ) {
- group3.opt_vipflag.value = ds_grd_mainordlist2.getColumn(e.row,"clntgrde");
- } else {
- group3.opt_vipflag.value = "";
- }
-
- //20150826 건진정보일 경우, 접수전달사항 추가
- if (ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"prcpgenrflag") == "S" ) {
- ds_prcpdelifactlist.setColumn(0,"prcpdelivefact", ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"prcpdelivefact"));
- }
-
- //20170213 산정특례종료일자 보여주기
- var serdiagtodd = ds_patlist_serdiagtodd.getColumn(0,"serdiagtodd");
- var rareobsttodd = ds_patlist_serdiagtodd.getColumn(0,"rareobsttodd");
- if ( !utlf_isNull(serdiagtodd) && serdiagtodd != "-" ) {
- serdiagtodd = serdiagtodd.substr(0,4) + "년 " + serdiagtodd.substr(4,2) + "월 " + serdiagtodd.substr(6,2) + "일";
- group3.opt_vipflag.value = "중증 종료일자는 [ " + serdiagtodd + " ] 입니다"
- }
- if ( !utlf_isNull(rareobsttodd) && rareobsttodd != "-" ) {
- rareobsttodd = rareobsttodd.substr(0,4) + "년 " + rareobsttodd.substr(4,2) + "월 " + rareobsttodd.substr(6,2) + "일";
- group3.opt_vipflag.value = "희귀난치 종료일자는 [ " + rareobsttodd + " ] 입니다"
- }
-
- //반환처방 색상주기
- // grdf_initGridStyle(group3.grd_subprcplist);
- // grdf_setRowStyle(group3.grd_subprcplist , "2" , "E" , "execprcphistcd","equal" );
- // grdf_setRowStyle(group3.grd_subprcplist , "2" , "D" , "execprcphistcd","equal" );
- // grdf_setRowStyle(group3.grd_subprcplist , "2" , "L" , "execprcphistcd","equal" );
-
- group3.opt_excucnt.value = ds_grd_ordlist1.rowcount; //검사예약껀수
- group3.opt_emrcnt.value = ds_grd_ordlist2.rowcount; //진료예약껀수
-
- fTopInfo(); //상단환자정보
- }
-
- }
- //20190814 대체처방에서 호출
- function fn_getmainordlist2()
- {
- //상병정보, 검사예약, 진료예약, 처방내역
- var oParam = {};
- oParam.id = "TRAEA01506";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_reqparam";
- oParam.outds = "ds_subordlist1=examcureexecdiaglist ds_grd_ordlist1=gettestrsrvinfo ds_grd_ordlist2=getordrsrvinfo ds_grd_subprcplist=examcureexecprcplist ds_examcureexecdiaglist=diaglist ds_prcpdelifactlist=prcpdelifactlist ds_isolinfo=patisolinfolist ds_main_subordlist_nameconflict=conflictyn";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01506";
- tranf_submit(oParam);
- }
- function group3_switch1_case3_grd_mainordlist3_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- var pidValue = ds_grd_mainordlist3.getColumn(e.row,"execprcpuniqno");
-
- ds_grd_mainordlist3.filter("execprcpuniqno !='" + pidValue + "'");
- ds_grd_mainordlist3.applyChange();
-
- for(var i =0; i<ds_grd_mainordlist3.rowcount;i++)
- {
- ds_grd_mainordlist3.setColumn(i,"check","N");
- }
- ds_grd_mainordlist3.filter("");
-
- if( e.col != 1 ) {
- if( ds_grd_mainordlist3.getColumn(e.row,"check") == "Y" ) {
- ds_grd_mainordlist3.setColumn(e.row,"check", "N");
- }
- else {
- ds_grd_mainordlist3.setColumn(e.row,"check", "Y");
- }
- }
- // model.setValue("/root/main/comment1/prcpcmt", ds_grd_mainordlist3.getColumn(ds_grd_mainordlist3.rowposition,"prcpdelivefact")); //처방코멘트
- group3.tar_acptrem.value = ds_grd_mainordlist3.getColumn(e.row,"rsrvrem"); //예약코멘트
- group3.tar_execrem.value = ds_grd_mainordlist3.getColumn(e.row,"acptrem"); //검사코멘트
-
- ds_send.setColumn(0,"excuroomcd",ds_grd_mainordlist3.getColumn(e.row,"excuroomcd"));
- ds_send.setColumn(0,"memorgstdd",ds_grd_mainordlist3.getColumn(e.row,"rsrvdd"));
- ds_send_prcplist.setColumn(0,"pid3", ds_grd_mainordlist3.getColumn(e.row,"pid"));
- ds_send.setColumn(0,"srchpid", ds_grd_mainordlist3.getColumn(e.row,"pid"));
- ds_send.setColumn(0,"orddd", ds_grd_mainordlist3.getColumn(e.row,"orddd"));
- ds_send.setColumn(0,"orddeptcd", ds_grd_mainordlist3.getColumn(e.row,"orddeptcd"));
- ds_send.setColumn(0,"ioflag", ds_grd_mainordlist3.getColumn(e.row,"ioflag"));
- ds_send.setColumn(0,"prcpgenrflag", ds_grd_mainordlist3.getColumn(e.row,"prcpgenrflag"));
- ds_send.setColumn(0,"prcpdd", ds_grd_mainordlist3.getColumn(e.row,"prcpdd"));
- ds_send.setColumn(0,"prcpno", ds_grd_mainordlist3.getColumn(e.row,"prcpno"));
- ds_send.setColumn(0,"execprcpuniqno", ds_grd_mainordlist3.getColumn(e.row,"execprcpuniqno"));
- ds_send.setColumn(0,"cretno", ds_grd_mainordlist3.getColumn(e.row,"cretno"));
- ds_send.setColumn(0,"age", ds_grd_mainordlist3.getColumn(e.row,"age"));
- ds_send.setColumn(0,"patnm", ds_grd_mainordlist3.getColumn(e.row,"hngnm"));
- ds_send.setColumn(0,"orddrid", ds_grd_mainordlist3.getColumn(e.row,"orddrid"));
-
- //20170807추가
- ds_send.setColumn(0,"prntcalcscorcd", ds_grd_mainordlist3.getColumn(e.row, "calcscorcd"));
-
- //20131107 kya 실시일자추가
- ds_send.setColumn(0,"execdd", ds_grd_mainordlist3.getColumn(e.row,"execdd"));
-
- var sna = utlf_transNullToEmpty(ds_grd_mainordlist3.getColumn(e.row,"sna"));
- if (sna.length > 1) {
- ds_send.setColumn(0,"sex", sna.substring(0,1));
- }
-
- call_TRAEA01517();
-
- //상병정보, 검사예약, 진료예약, 처방내역
- var oParam = {};
- oParam.id = "TRAEA01506";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_reqparam";
- oParam.outds = "ds_subordlist1=examcureexecdiaglist ds_grd_ordlist1=gettestrsrvinfo ds_grd_ordlist2=getordrsrvinfo ds_grd_subprcplist=examcureexecprcplist ds_examcureexecdiaglist=diaglist ds_prcpdelifactlist=prcpdelifactlist ds_isolinfo=patisolinfolist ds_main_subordlist_nameconflict=conflictyn";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01506";
- tranf_submit(oParam);
-
-
-
- //****선택환자정보에 정보 뿌려주기
-
- //1.검사의
- ds_subordlist1.setColumn(0,"excuroomcd", ds_grd_mainordlist3.getColumn(e.row,"excuroomcd"));
- //대표검사명 2011.04.08 by kya 환자인식표출력용
-
- ds_subordlist1.setColumn(0,"prcpnm", ds_grd_mainordlist3.getColumn(e.row,"prcpnm"));
- //2.예약일자
- group3.cmb_rsrvdd.value = ds_grd_mainordlist3.getColumn(e.row,"rsrvdd");
-
- // 3.예약시간
- group3.cmb_rsrvtm.value = ds_grd_mainordlist3.getColumn(e.row,"rsrvtm");
-
-
- //4.감염정보
- group3.cpt_isolinfo.text = "";
- if (!utlf_isNull(ds_isolinfo.getColumn(0,"etccnts"))) {
- group3.cpt_isolinfo.text = "[확인]";
- }
-
- //20161108 동명이인
- if (ds_main_subordlist_nameconflict.getColumn(0,"conflictyn") == "Y") {
- sysf_messageBox("현재 환자와 성명이 동일한 환자가 존재합니다.\r\n" +
- " 주의하여 작업하시기 바랍니다.", "I000");
- }
-
- //20150826 건진정보일 경우, 접수전달사항 추가
- if (ds_grd_mainordlist3.getColumn(e.row,"prcpgenrflag") == "S" ) {
- ds_prcpdelifactlist.setColumn(0,"prcpdelivefact", ds_grd_mainordlist3.getColumn(e.row,"prcpdelivefact"));
- }
-
- //20160614 건진환자 VIP 사유 보여주기
- if ( ds_grd_mainordlist3.getColumn(e.row,"vipflag") == "Y" ) {
- group3.opt_vipflag.value = ds_grd_mainordlist3.getColumn(e.row,"clntgrde");
- } else {
- group3.opt_vipflag.value = "";
- }
-
- //20170213 산정특례종료일자 보여주기
- var serdiagtodd = dsf_getColumnNullToEmpty(ds_patlist_serdiagtodd,0,"serdiagtodd");
- var rareobsttodd = dsf_getColumnNullToEmpty(ds_patlist_serdiagtodd,0,"rareobsttodd");
- if ( !utlf_isNull(serdiagtodd) && serdiagtodd != "-" ) {
- serdiagtodd = serdiagtodd.substr(0,4) + "년 " + serdiagtodd.substr(4,2) + "월 " + serdiagtodd.substr(6,2) + "일";
- group3.opt_vipflag.value = "중증 종료일자는 [ " + serdiagtodd + " ] 입니다"
- }
- if ( !utlf_isNull(rareobsttodd) && rareobsttodd != "-" ) {
- rareobsttodd = rareobsttodd.substr(0,4) + "년 " + rareobsttodd.substr(4,2) + "월 " + rareobsttodd.substr(6,2) + "일";
- group3.opt_vipflag.value = "희귀난치 종료일자는 [ " + rareobsttodd + " ] 입니다"
- }
-
- //반환처방 색상주기
- // grdf_initGridStyle(group3.grd_subprcplist);
- // grdf_setRowStyle(group3.grd_subprcplist , "2" , "E" , "execprcphistcd","equal" );
- // grdf_setRowStyle(group3.grd_subprcplist , "2" , "D" , "execprcphistcd","equal" );
- // grdf_setRowStyle(group3.grd_subprcplist , "2" , "L" , "execprcphistcd","equal" );
-
- group3.opt_excucnt.value = ds_grd_ordlist1.rowcount; //검사예약껀수
- group3.opt_emrcnt.value = ds_grd_ordlist2.rowcount; //진료예약껀수
- ds_grd_mainordlist3.rowposition = e.row;
- fTopInfo(); //상단환자정보
- }
- function group3_switch1_case3_grd_mainordlist3_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- var sgubn = ds_send.getColumn(0,"sgubn");
- if(e.row < 0 || e.col < 0) return;
- obj.setFocus();
- grdf_setSelectedCell(obj, e);
- //obj.oncellclick.fireEvent(obj, new GridClickEventInfo());
-
- if (sgubn == "S") {
- pmn_menu.innerdataset = "ds_init_pmenu_grid07";
- pmn_menu.idcolumn = "func";
- pmn_menu.captioncolumn = "name";
- pmn_menu.levelcolumn = "func";
- pmn_menu.trackPopup(e.screenX,e.screenY);
- } else {
- pmn_menu.innerdataset = "ds_init_pmenu_grid06";
- pmn_menu.idcolumn = "func";
- pmn_menu.captioncolumn = "name";
- pmn_menu.levelcolumn = "func";
- pmn_menu.trackPopup(e.screenX,e.screenY);
- }
-
- return true;
- }
- function group3_switch1_case4_grd_mainordlist4_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- if( ds_grd_mainordlist4.getColumn(e.row,"execprcpstatcd") == "000" || ds_grd_mainordlist4.getColumn(e.row,"execprcpstatcd") == "100" || ds_grd_mainordlist4.getColumn(e.row,"execprcpstatcd") == "230" ) {
- group3.btn_rsrv.enable = true;
- group3.btn_cncl.enable = true;
- }
- else {
- group3.btn_rsrv.enable = false;
- group3.btn_cncl.enable = false;
- }
-
- group7.visible = false;
-
- // model.setValue("/root/main/comment1/prcpcmt", ds_grd_mainordlist4.getColumn(ds_grd_mainordlist4.rowposition,"prcpdelivefact")); //처방코멘트
- group3.tar_acptrem.value = ds_grd_mainordlist4.getColumn(e.row,"rsrvrem"); //예약코멘트
- group3.tar_execrem.value = ds_grd_mainordlist4.getColumn(e.row,"acptrem"); //검사코멘트
- ds_send.setColumn(0,"excuroomcd",ds_grd_mainordlist4.getColumn(e.row,"excuroomcd"));
- ds_send.setColumn(0,"memorgstdd",ds_grd_mainordlist4.getColumn(e.row,"rsrvdd"));
- ds_send_prcplist.setColumn(0,"pid3", ds_grd_mainordlist4.getColumn(e.row,"pid"));
- ds_send.setColumn(0,"srchpid", ds_grd_mainordlist4.getColumn(e.row,"pid"));
- ds_send.setColumn(0,"orddd", ds_grd_mainordlist4.getColumn(e.row,"orddd"));
- ds_send.setColumn(0,"orddeptcd", ds_grd_mainordlist4.getColumn(e.row,"orddeptcd"));
- ds_send.setColumn(0,"prcpgenrflag", ds_grd_mainordlist4.getColumn(e.row,"prcpgenrflag"));
- ds_send.setColumn(0,"ioflag", ds_grd_mainordlist4.getColumn(e.row,"ioflag"));
- ds_send.setColumn(0,"prcpdd", ds_grd_mainordlist4.getColumn(e.row,"prcpdd"));
- ds_send.setColumn(0,"prcpno", ds_grd_mainordlist4.getColumn(e.row,"prcpno"));
-
- ds_send.setColumn(0,"execprcpuniqno", ds_grd_mainordlist4.getColumn(e.row,"execprcpuniqno"));
- ds_send.setColumn(0,"cretno", ds_grd_mainordlist4.getColumn(e.row,"cretno"));
- ds_send.setColumn(0,"age", ds_grd_mainordlist4.getColumn(e.row,"age"));
- ds_send.setColumn(0,"patnm", ds_grd_mainordlist4.getColumn(e.row,"hngnm"));
- ds_send.setColumn(0,"orddrid", ds_grd_mainordlist4.getColumn(e.row,"orddrid"));
-
- //20140731 선택진료비 제도변경에 대한 알림메시지
- //start
- var pid = ds_grd_mainordlist4.getColumn(e.row,"pid");
- var prcpdd = ds_grd_mainordlist4.getColumn(e.row,"prcpdd");
- var execprcpuniqno = ds_grd_mainordlist4.getColumn(e.row,"execprcpuniqno");
-
- getPrcpRcptCheck("AST", pid, "","", prcpdd, execprcpuniqno );
- //end
-
- //20131107 kya 실시일자추가
- ds_send.setColumn(0,"execdd", ds_grd_mainordlist4.getColumn(e.row,"execdd"));
-
- var sna = utlf_transNullToEmpty(ds_grd_mainordlist4.getColumn(e.row,"sna"));
- if (sna.length > 1) {
- ds_send.setColumn(0,"sex", sna.substring(0,1));
- }
-
- call_TRAEA01517();
-
- //상병정보, 검사예약, 진료예약, 처방내역
- var oParam = {};
- oParam.id = "TRAEA01506";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_reqparam";
- oParam.outds = "ds_subordlist1=examcureexecdiaglist ds_grd_ordlist1=gettestrsrvinfo ds_grd_ordlist2=getordrsrvinfo ds_grd_subprcplist=examcureexecprcplist ds_examcureexecdiaglist=diaglist ds_prcpdelifactlist=prcpdelifactlist ds_isolinfo=patisolinfolist ds_main_subordlist_nameconflict=conflictyn";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01506";
- tranf_submit(oParam);
-
-
-
- //****선택환자정보에 정보 뿌려주기
-
- //1.검사의
-
- ds_subordlist1.setColumn(0,"excuroomcd", ds_grd_mainordlist4.getColumn(e.row,"excuroomcd"));
- //대표검사명 2011.04.08 by kya 환자인식표출력용
- ds_subordlist1.setColumn(0,"prcpnm",ds_grd_mainordlist4.getColumn(e.row,"prcpnm"));
- //2.예약일자
- group3.cmb_rsrvdd.value = ds_grd_mainordlist4.getColumn(e.row,"rsrvdd");
-
- // 3.예약시간
- group3.cmb_rsrvtm.value = ds_grd_mainordlist4.getColumn(e.row,"rsrvtm");
-
- //4.감염정보
- group3.cpt_isolinfo.text = "";
- if (!utlf_isNull(ds_isolinfo.getColumn(0,"etccnts"))) {
- group3.cpt_isolinfo.text = "[확인]";
- }
- //20161108 동명이인
- if (ds_main_subordlist_nameconflict.getColumn(0,"conflictyn") == "Y") {
- sysf_messageBox("현재 환자와 성명이 동일한 환자가 존재합니다.\r\n" +
- " 주의하여 작업하시기 바랍니다.", "I000");
- }
-
- group3.opt_excucnt.value = ds_grd_ordlist1.rowcount; //검사예약껀수
- group3.opt_emrcnt.value = ds_grd_ordlist2.rowcount; //진료예약껀수
- //20160614 건진환자 VIP 사유 보여주기
- if ( ds_grd_mainordlist4.getColumn(e.row,"vipflag") == "Y" ) {
- group3.opt_vipflag.value = ds_grd_mainordlist4.getColumn(e.row,"clntgrde");
- } else {
- group3.opt_vipflag.value = "";
- }
-
- //20170213 산정특례종료일자 보여주기
- var serdiagtodd = ds_patlist_serdiagtodd.getColumn(0,"serdiagtodd");
- var rareobsttodd = ds_patlist_serdiagtodd.getColumn(0,"rareobsttodd");
- if ( !utlf_isNull(serdiagtodd) && serdiagtodd != "-" ) {
- serdiagtodd = serdiagtodd.substr(0,4) + "년 " + serdiagtodd.substr(4,2) + "월 " + serdiagtodd.substr(6,2) + "일";
- group3.opt_vipflag.value = "중증 종료일자는 [ " + serdiagtodd + " ] 입니다"
- }
- if ( !utlf_isNull(rareobsttodd) && rareobsttodd != "-" ) {
- rareobsttodd = rareobsttodd.substr(0,4) + "년 " + rareobsttodd.substr(4,2) + "월 " + rareobsttodd.substr(6,2) + "일";
- group3.opt_vipflag.value = "희귀난치 종료일자는 [ " + rareobsttodd + " ] 입니다"
- }
-
- //반환처방 색상주기
- // grdf_initGridStyle(group3.grd_subprcplist);
- // grdf_setRowStyle(group3.grd_subprcplist , "2" , "E" , "execprcphistcd","equal" );
- // grdf_setRowStyle(group3.grd_subprcplist , "2" , "D" , "execprcphistcd","equal" );
- // grdf_setRowStyle(group3.grd_subprcplist , "2" , "L" , "execprcphistcd","equal" );
- fTopInfo(); //상단환자정보
- }
- function group3_switch1_case4_grd_mainordlist4_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- var sgubn = ds_send.getColumn(0,"sgubn");
- if(e.row < 0 || e.col < 0) return;
- obj.setFocus();
- grdf_setSelectedCell(obj, e);
- //obj.oncellclick.fireEvent(obj, new GridClickEventInfo());
-
- if (sgubn == "S") {
- pmn_menu.innerdataset = "ds_init_pmenu_grid07";
- pmn_menu.idcolumn = "func";
- pmn_menu.captioncolumn = "name";
- pmn_menu.levelcolumn = "func";
- pmn_menu.trackPopup(e.screenX,e.screenY);
- } else {
- pmn_menu.innerdataset = "ds_init_pmenu_grid06";
- pmn_menu.idcolumn = "func";
- pmn_menu.captioncolumn = "name";
- pmn_menu.levelcolumn = "func";
- pmn_menu.trackPopup(e.screenX,e.screenY);
- }
-
- return true;
-
- }
- function group3_switch1_case5_grd_subordlist1_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- //응급환자 바로 접수
- //20101005 입원환자 바로 접수가능하게 수정 - 박재영
- if( ds_send.getColumn(0,"sgubn") != "S" && ds_grd_subordlist1.getColumn(e.row,"prcpgenrflag") == "E"){
- group3.btn_save.enable = true;
- }else if(ds_send.getColumn(0,"sgubn") != "S" && ds_grd_subordlist1.getColumn(e.row,"prcpgenrflag") == "I"){//20101005 추가
- group3.btn_save.enable = true;
-
- }else if(ds_send.getColumn(0,"sgubn") != "S" && ds_grd_subordlist1.getColumn(e.row,"prcpgenrflag") == "O"){
- group3.btn_save.enable = false;
- }
-
- group7.visible = false;
-
- ds_send.setColumn(0,"excuroomcd",ds_grd_subordlist1.getColumn(e.row,"excuroomcd"));
- ds_send.setColumn(0,"memorgstdd",ds_grd_subordlist1.getColumn(e.row,"rsrvdd"));
- ds_send_prcplist.setColumn(0,"pid3", ds_grd_subordlist1.getColumn(e.row,"pid"));
- ds_send.setColumn(0,"srchpid", ds_grd_subordlist1.getColumn(e.row,"pid"));
- ds_send.setColumn(0,"orddd", ds_grd_subordlist1.getColumn(e.row,"orddd"));
- ds_send.setColumn(0,"orddeptcd", ds_grd_subordlist1.getColumn(e.row,"orddeptcd"));
- ds_send.setColumn(0,"prcpgenrflag", ds_grd_subordlist1.getColumn(e.row,"prcpgenrflag"));
- ds_send.setColumn(0,"ioflag", ds_grd_subordlist1.getColumn(e.row,"ioflag"));
- ds_send.setColumn(0,"prcpdd", ds_grd_subordlist1.getColumn(e.row,"prcpdd"));
- ds_send.setColumn(0,"prcpno", ds_grd_subordlist1.getColumn(e.row,"prcpno"));
- ds_send.setColumn(0,"execprcpuniqno", ds_grd_subordlist1.getColumn(e.row,"execprcpuniqno"));
-
- ds_send.setColumn(0,"cretno", ds_grd_subordlist1.getColumn(e.row,"cretno"));
- ds_send.setColumn(0,"age", ds_grd_subordlist1.getColumn(e.row,"age"));
- ds_send.setColumn(0,"patnm", ds_grd_subordlist1.getColumn(e.row,"hngnm"));
- ds_send.setColumn(0,"orddrid", ds_grd_subordlist1.getColumn(e.row,"orddrid"));
-
- //20170807추가
- ds_send.setColumn(0,"prntcalcscorcd", ds_grd_subordlist1.getColumn(e.row, "calcscorcd"));
-
- //20140731 선택진료비 제도변경에 대한 알림메시지
- //start
- var pid = ds_grd_subordlist1.getColumn(e.row,"pid");
- var prcpdd = ds_grd_subordlist1.getColumn(e.row,"prcpdd");
- var execprcpuniqno = ds_grd_subordlist1.getColumn(e.row,"execprcpuniqno");
-
- getPrcpRcptCheck("AST", pid, "","", prcpdd, execprcpuniqno );
- //end
-
- //20131107 kya 실시일자추가
- ds_send.setColumn(0,"execdd",ds_grd_subordlist1.getColumn(e.row,"execdd"));
-
- var sna = utlf_transNullToEmpty(ds_grd_subordlist1.getColumn(e.row,"sna"));
- if (sna.length > 1) {
- ds_send.setColumn(0,"sex", sna.substring(0,1));
- }
-
- call_TRAEA01517();
-
- //상병정보, 검사예약, 진료예약, 처방내역
- var oParam = {};
- oParam.id = "TRAEA01506";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_reqparam";
- oParam.outds = "ds_subordlist1=examcureexecdiaglist ds_grd_ordlist1=gettestrsrvinfo ds_grd_ordlist2=getordrsrvinfo ds_grd_subprcplist=examcureexecprcplist ds_examcureexecdiaglist=diaglist ds_prcpdelifactlist=prcpdelifactlist ds_isolinfo=patisolinfolist ds_main_subordlist_nameconflict=conflictyn";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01506";
- tranf_submit(oParam);
-
-
- //유효하지 않은 수가 색깔 표현
- //fSetSubDetailGrid(); //그리드색깔
-
- //20190121 미예약일 경우, 처방정보가 없어서, 처방내역에서 가져옴
- ds_subordlist1.setColumn(0,"prcpnm", ds_grd_subordlist1.getColumn(e.row,"prcpnm"));
-
- //감염정보
- group3.cpt_isolinfo.text = "";
- if (!utlf_isNull(ds_isolinfo.getColumn(0,"etccnts"))) {
- group3.cpt_isolinfo.text = "[확인]";
- //20180918 감염정보 팝업
- group7.visible = true;
- }
- // model.setValue("/root/main/comment1/prcpcmt",model.getValue("/root/main/ordlist5/mainordlist["+grd_subordlist1.row+"]/prcpdelivefact"));
- group3.tar_acptrem.value = "";
- group3.tar_execrem.value = "";
-
- group3.cmb_rsrvtm.value = "";
- group3.cmb_rsrvdd.value = "";
- group3.opt_excucnt.value = ds_grd_ordlist1.rowcount; //검사예약껀수
- group3.opt_emrcnt.value = ds_grd_ordlist2.rowcount; //진료예약껀수
-
- //20160614 건진환자 VIP 사유 보여주기
- if ( ds_grd_subordlist1.getColumn(e.row,"vipflag") == "Y" ) {
- group3.opt_vipflag.value = ds_grd_subordlist1.getColumn(e.row,"clntgrde");
- } else {
- group3.opt_vipflag.value = "";
- }
-
- //20161108 동명이인
- if (ds_main_subordlist_nameconflict.getColumn(0,"conflictyn") == "Y") {
- sysf_messageBox("현재 환자와 성명이 동일한 환자가 존재합니다.\r\n" +
- " 주의하여 작업하시기 바랍니다.", "I000");
- }
-
- //20170213 산정특례종료일자 보여주기
- var serdiagtodd = ds_patlist_serdiagtodd.getColumn(0,"serdiagtodd");
- var rareobsttodd = ds_patlist_serdiagtodd.getColumn(0,"rareobsttodd");
- if ( !utlf_isNull(serdiagtodd) && serdiagtodd != "-" ) {
- serdiagtodd = serdiagtodd.substr(0,4) + "년 " + serdiagtodd.substr(4,2) + "월 " + serdiagtodd.substr(6,2) + "일";
- group3.opt_vipflag.value = "중증 종료일자는 [ " + serdiagtodd + " ] 입니다"
- }
- if ( !utlf_isNull(rareobsttodd) && rareobsttodd != "-" ) {
- rareobsttodd = rareobsttodd.substr(0,4) + "년 " + rareobsttodd.substr(4,2) + "월 " + rareobsttodd.substr(6,2) + "일";
- group3.opt_vipflag.value = "희귀난치 종료일자는 [ " + rareobsttodd + " ] 입니다"
- }
-
- //반환처방 색상주기
- // grdf_initGridStyle(group3.grd_subprcplist);
- // grdf_setRowStyle(group3.grd_subprcplist , "2" , "E" , "execprcphistcd","equal" );
- // grdf_setRowStyle(group3.grd_subprcplist , "2" , "D" , "execprcphistcd","equal" );
- // grdf_setRowStyle(group3.grd_subprcplist , "2" , "L" , "execprcphistcd","equal" );
-
- fTopInfo(); //상단환자정보
-
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : 실별대기현황 그리드 Color Setting Function
- ****************************************************************************************/
- function fSetSubDetailGrid()
- {
- for ( var i = 0 ; i < group3.grd_subprcplist.getCellCount("Head") ; i++ ) {
- group3.grd_subprcplist.setCellProperty("body",i,"background","expr(sugauseyn == 'N' ? 'red' : EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : ''))");
- group3.grd_subprcplist.setCellProperty("body",i,"background2","expr(sugauseyn == 'N' ? 'red' : EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : ''))");
- }
- }
- function group3_switch1_case5_grd_subordlist1_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- // if(e.row < 0 || e.col < 0) return;
- // obj.setFocus();
- // grdf_setSelectedCell(obj, e);
- // //obj.oncellclick.fireEvent(obj, new GridClickEventInfo());
- // pmn_menu.innerdataset = "ds_init_pmenu_grid06";
- // pmn_menu.idcolumn = "func";
- // pmn_menu.captioncolumn = "name";
- // pmn_menu.levelcolumn = "func";
- // pmn_menu.trackPopup(e.screenX,e.screenY);
- }
- function group3_switch1_case10_grd_subordlist2_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- btn_rsrv.disabled = true;
- btn_cncl.disabled = true;
-
- group3.tar_acptrem.value = ds_grd_subordlist2.getColumn(e.row,"rsrvrem"); //예약코멘트
- group3.tar_execrem.value = ds_grd_subordlist2.getColumn(e.row,"acptrem"); //검사코멘트
- ds_send.setColumn(0,"excuroomcd", ds_grd_subordlist2.getColumn(e.row,"excuroomcd"));
- ds_send.setColumn(0,"memorgstdd", ds_grd_subordlist2.getColumn(e.row,"rsrvdd"));
- ds_send_prcplist.setColumn(0,"pid3", ds_grd_subordlist2.getColumn(e.row,"pid"));
- ds_send.setColumn(0,"srchpid", ds_grd_subordlist2.getColumn(e.row,"pid"));
- ds_send.setColumn(0,"orddd", ds_grd_subordlist2.getColumn(e.row,"orddd"));
- ds_send.setColumn(0,"orddeptcd", ds_grd_subordlist2.getColumn(e.row,"orddeptcd"));
- ds_send.setColumn(0,"prcpgenrflag", ds_grd_subordlist2.getColumn(e.row,"prcpgenrflag"));
- ds_send.setColumn(0,"ioflag", ds_grd_subordlist2.getColumn(e.row,"ioflag"));
- ds_send.setColumn(0,"prcpdd", ds_grd_subordlist2.getColumn(e.row,"prcpdd"));
- ds_send.setColumn(0,"prcpno", ds_grd_subordlist2.getColumn(e.row,"prcpno"));
- ds_send.setColumn(0,"execprcpuniqno", ds_grd_subordlist2.getColumn(e.row,"execprcpuniqno"));
- ds_send.setColumn(0,"cretno", ds_grd_subordlist2.getColumn(e.row,"cretno"));
- ds_send.setColumn(0,"age", ds_grd_subordlist2.getColumn(e.row,"age"));
- ds_send.setColumn(0,"patnm", ds_grd_subordlist2.getColumn(e.row,"hngnm"));
- ds_send.setColumn(0,"orddrid", ds_grd_subordlist2.getColumn(e.row,"orddrid"));
-
- var sna = utlf_transNullToEmpty(ds_grd_subordlist2.getColumn(e.row,"sna"));
- if (sna.length > 1) {
- ds_send.setColumn(0,"sex", sna.substring(0,1));
- }
-
- call_TRAEA01517();
-
- //상병정보, 검사예약, 진료예약, 처방내역
- var oParam = {};
- oParam.id = "TRAEA01506";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_reqparam";
- oParam.outds = "ds_subordlist1=examcureexecdiaglist ds_grd_ordlist1=gettestrsrvinfo ds_grd_ordlist2=getordrsrvinfo ds_grd_subprcplist=examcureexecprcplist ds_examcureexecdiaglist=diaglist ds_prcpdelifactlist=prcpdelifactlist ds_isolinfo=patisolinfolist ds_main_subordlist_nameconflict=conflictyn";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01506";
- tranf_submit(oParam);
-
-
-
- //****선택환자정보에 정보 뿌려주기
-
- //1.검사의
-
- ds_subordlist1.setColumn(0,"excuroomcd", ds_grd_subordlist2.getColumn(e.row,"excuroomcd"));
-
- //대표검사명 2011.04.08 by kya 환자인식표출력용
- ds_subordlist1.setColumn(0,"prcpnm", ds_grd_subordlist2.getColumn(e.row,"prcpnm"));
-
- //2.예약일자
- ds_send.setColumn(0,"rsrvdd", ds_grd_subordlist2.getColumn(e.row,"rsrvdd"));
- // 3.예약시간
- group3.cmb_rsrvtm.value = ds_grd_subordlist2.getColumn(e.row,"rsrvtm");
- //4.감염정보
- group3.cpt_isolinfo.text = "";
- if (!utlf_isNull(ds_isolinfo.getColumn(0,"etccnts"))) {
- group3.cpt_isolinfo.text = "[확인]";
- }
- //20161108 동명이인
- if (ds_main_subordlist_nameconflict.getColumn(0,"conflictyn") == "Y") {
- sysf_messageBox("현재 환자와 성명이 동일한 환자가 존재합니다.\r\n" +
- " 주의하여 작업하시기 바랍니다.", "I000");
- }
- //20170213 산정특례종료일자 보여주기
- var serdiagtodd = ds_patlist_serdiagtodd.getColumn(0,"serdiagtodd");
- var rareobsttodd = ds_patlist_serdiagtodd.getColumn(0,"rareobsttodd");
- if ( !utlf_isNull(serdiagtodd) && serdiagtodd != "-" ) {
- serdiagtodd = serdiagtodd.substr(0,4) + "년 " + serdiagtodd.substr(4,2) + "월 " + serdiagtodd.substr(6,2) + "일";
- group3.opt_vipflag.value = "중증 종료일자는 [ " + serdiagtodd + " ] 입니다"
- }
- if ( !utlf_isNull(rareobsttodd) && rareobsttodd != "-" ) {
- rareobsttodd = rareobsttodd.substr(0,4) + "년 " + rareobsttodd.substr(4,2) + "월 " + rareobsttodd.substr(6,2) + "일";
- group3.opt_vipflag.value = "희귀난치 종료일자는 [ " + rareobsttodd + " ] 입니다"
- }
-
- group3.opt_emrcnt.value = ds_grd_ordlist2.rowcount; //진료예약껀수
- group3.opt_excucnt.value = ds_grd_ordlist1.rowcount; //검사예약껀수
-
- //반환처방 색상주기
- // grdf_initGridStyle(group3.grd_subprcplist);
- // grdf_setRowStyle(group3.grd_subprcplist , "2" , "E" , "execprcphistcd","equal" );
- // grdf_setRowStyle(group3.grd_subprcplist , "2" , "D" , "execprcphistcd","equal" );
- // grdf_setRowStyle(group3.grd_subprcplist , "2" , "L" , "execprcphistcd","equal" );
- fTopInfo(); //상단환자정보
- }
- function group3_switch1_case10_grd_subordlist2_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row < 0 || e.col < 0) return;
- obj.setFocus();
- grdf_setSelectedCell(obj, e);
- //obj.oncellclick.fireEvent(obj, new GridClickEventInfo());
- pmn_menu.innerdataset = "ds_init_pmenu_grid06";
- pmn_menu.idcolumn = "func";
- pmn_menu.captioncolumn = "name";
- pmn_menu.levelcolumn = "func";
- pmn_menu.trackPopup(e.screenX,e.screenY);
- //setPopupMenu("grd_mainordlist4", false, "/root/init/codedata/popupmenu/grid06/item", "name", "func");
-
- return true;
- }
- function group3_grd_subprcplist_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- // if(e.row < 0 || e.col < 0) return;
- // obj.setFocus();
- // grdf_setSelectedCell(obj, e);
- // //obj.oncellclick.fireEvent(obj, new GridClickEventInfo());
- // if (group3.switch1.tabindex != 5) {
- // if(ds_grd_subprcplist.getColumn(e.row,"mset") == "ⓜ" ){
- // pmn_menu.innerdataset = "ds_init_pmenu_grid03";
- // pmn_menu.idcolumn = "func";
- // pmn_menu.captioncolumn = "name";
- // pmn_menu.levelcolumn = "func";
- // pmn_menu.trackPopup(e.screenX,e.screenY);
- //
- // }else if(ds_grd_subprcplist.getColumn(e.row,"prcpgenrflag") == "S" ){
- // pmn_menu.innerdataset = "ds_init_pmenu_grid03";
- // pmn_menu.idcolumn = "func";
- // pmn_menu.captioncolumn = "name";
- // pmn_menu.levelcolumn = "func";
- // pmn_menu.trackPopup(e.screenX,e.screenY);
- // }else if(ds_grd_subprcplist.getColumn(e.row,"mset") != "ⓜ" ){
- // pmn_menu.innerdataset = "ds_init_pmenu_grid05";
- // pmn_menu.idcolumn = "func";
- // pmn_menu.captioncolumn = "name";
- // pmn_menu.levelcolumn = "func";
- // pmn_menu.trackPopup(e.screenX,e.screenY);
- // }
- // }
- //
- // return true;
- }
- function group3_grd_subprcplist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- var pidValue = ds_grd_subprcplist.getColumn(e.row,"execprcpuniqno");
- //var nodeList = instance1.selectNodes("/root/main/subordlist/subordlist4[execprcpuniqno !='" + pidValue + "']");
- //var node;
- // ds_grd_subprcplist.filter("execprcpuniqno !='" + pidValue + "'");
- // ds_grd_subprcplist.applyChange();
-
- for(var i = 0; i < ds_grd_subprcplist.rowcount;i++)
- {
- ds_grd_subprcplist.setColumn(i,"check","0");
- }
- // ds_grd_subprcplist.filter("");
-
- // if( e.col != 0 ) {
- // if( ds_grd_subprcplist.getColumn(e.row,"check") == "Y" || ds_grd_subprcplist.getColumn(e.row,"check") == "1") {
- // ds_grd_subprcplist.setColumn(e.row,"check", "0");
- // }
- // else {
- // ds_grd_subprcplist.setColumn(e.row,"check", "Y");
- // }
- // }
- ds_grd_subprcplist.setColumn(e.row,"check", "Y");
- //20140731 선택진료비 제도변경에 대한 알림메시지
- //start
- var pid = ds_grd_subprcplist.getColumn(e.row,"pid");
- var prcpdd = ds_grd_subprcplist.getColumn(e.row,"prcpdd");
- var execprcpuniqno = ds_grd_subprcplist.getColumn(e.row,"execprcpuniqno");
-
- getPrcpRcptCheck("AST", pid, "","", prcpdd, execprcpuniqno );
- }
- function group3_ipt_cntsqty_oneditdblclick(obj:Edit, e:EditClickEventInfo)
- {
- if( !utlf_isNull(ds_subordlist1.getColumn(0,"pid")) || ds_subordlist1.getColumn(0,"pid") != " " ) {
- // 전화번호 더블클릭시 해당환자의 '전화번호/주소 조회 및 수정 창' 팝업창을 호출!!!
- //예약내역이 없는 필드 체크
-
- var hngnm = ds_subordlist1.getColumn(0,"patnm");
- var pid = ds_subordlist1.getColumn(0,"pid");
- if (utlf_isNull(hngnm) || hngnm == " " || hngnm == "-"){
- return false;
- }
- //setParameter("opener_parameter_id", pid);
- dsf_createDsRow("ds_temp_source", [{col: "srchcond", val:"1"}
- ,{col: "pid", val:pid}
- ]);
- var objArg = new Object();
- objArg.arg_ds_source = ds_temp_source;
- frmf_modal("SPPMO01400", "SPPMO01400",objArg, "", "", "", "", "","", "", "", "","M");
-
- dsf_deleteDs("ds_temp_source");
- }
- }
- function group3_btn_excucmtsave_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_send.setColumn(0,"memorem", utlf_transNullToEmpty(group3.tat_deptmemo.value));
- dsf_createDsRow("ds_send_req", [{col: "basesuppdeptcd", val:lv_instance1}
- ,{col: "memorem", val:ds_send.getColumn(0,"memorem" )}
- ,{col: "memodt", val:ds_send.getColumn(0,"srchdate1" ) }
- ]);
- var oParam = {};
- oParam.id = "TXAEA01505";
- oParam.service = "examcurebaseapp.ExamCureCode";
- oParam.method = "reqExeDeptMemoCodeList";
- oParam.inds = "req=ds_send_req";
- oParam.outds = "ds_result_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TXAEA01505";
- tranf_submit(oParam);
- }
- function group3_switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- lf_tabEvnt(e.postindex);
- }
- function lf_tabEvnt(tindex) {
- dataClear();
- if(tindex == 1)
- {
-
-
- //상단정보 초기화
- appf_delPatientInfos();
-
- group3.btn_excucmt.visible = false;
- group3.btn_patcmtsave.visible = true; //환자COMMENT 저장버튼 20160201
-
- //부서메모 조회
- ds_send.setColumn(0,"memodd",ds_send.getColumn(0,"srchdate1"));
- dsf_createDsRow("ds_send_req", [{col: "excuroomcd", val:ds_send.getColumn(0,"selectexcuroom" )}
- ,{col: "deptcdflag", val:ds_send.getColumn(0,"room" )}
- ,{col: "memodt1", val:ds_send.getColumn(0,"memodd" ) }
- ,{col: "memodt2", val:ds_send.getColumn(0,"memodd" ) }
- ]);
- var oParam = {};
- oParam.id = "TRAEA01110";
- oParam.service = "examcurebaseapp.ExamCureCode";
- oParam.method = "reqGetExcuroomMemoCodeList";
- oParam.inds = "req=ds_send_req";
- oParam.outds = "ds_examcuredeptmemolist=examcuredeptmemolist";
- oParam.async = false;
- //oParam.callback = "cf_TRAEA01110";
- tranf_submit(oParam);
-
- ds_send.setColumn(0,"tabgubn","Y");
-
- ds_send.setColumn(0,"excuroomcd","");
- ds_send.setColumn(0,"excupartcd","");
- fGetExamCureAcptList("Y"); //예약
-
- }
- else if(tindex == 2)
- {
-
- appf_delPatientInfos();
- dsf_createDsRow("ds_send_req", [{col: "basesuppdeptcd", val:lv_instance1}
- ,{col: "ebasecdflag", val:"E"}
- ]);
- //진료의 코드 갖고오기
- var oParam = {};
- oParam.id = "TRAEA01518";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExecrSpecdrList";
- oParam.inds = "req=ds_send_req";
- oParam.outds = "ds_execrcodelist=item";
- oParam.async = false;
- //oParam.callback = "cf_TRAEA01518";
- tranf_submit(oParam);
-
- group3.btn_excucmt.visible = true;
- group3.btn_patcmtsave.visible = true; //환자COMMENT 저장버튼 20160201
-
-
- ds_send.setColumn(0,"tabgubn","T");
-
- //부서메모 조회
- ds_send.setColumn(0,"memodd",ds_send.getColumn(0,"srchdate1"));
- dsf_createDsRow("ds_send_req", [{col: "excuroomcd", val:ds_send.getColumn(0,"selectexcuroom" )}
- ,{col: "deptcdflag", val:ds_send.getColumn(0,"room" )}
- ,{col: "memodt1", val:ds_send.getColumn(0,"memodd" ) }
- ,{col: "memodt2", val:ds_send.getColumn(0,"memodd" ) }
- ]);
- var oParam = {};
- oParam.id = "TRAEA01110";
- oParam.service = "examcurebaseapp.ExamCureCode";
- oParam.method = "reqGetExcuroomMemoCodeList";
- oParam.inds = "req=ds_send_req";
- oParam.outds = "ds_examcuredeptmemolist=examcuredeptmemolist";
- oParam.async = false;
- //oParam.callback = "cf_TRAEA01110";
- tranf_submit(oParam);
-
- ds_send.setColumn(0,"excuroomcd","");
- ds_send.setColumn(0,"excupartcd","");
-
-
- fGetExamCureAcptList("T"); //접수
-
- }
- else if(tindex == 3)
- {
- appf_delPatientInfos();
- group3.btn_excucmt.visible = false;
- group3.btn_patcmtsave.visible = true; //환자COMMENT 저장버튼 20160201
-
-
-
- //부서메모 조회
- ds_send.setColumn(0,"memodd",ds_send.getColumn(0,"srchdate1"));
- dsf_createDsRow("ds_send_req", [{col: "excuroomcd", val:ds_send.getColumn(0,"selectexcuroom" )}
- ,{col: "deptcdflag", val:ds_send.getColumn(0,"room" )}
- ,{col: "memodt1", val:ds_send.getColumn(0,"memodd" ) }
- ,{col: "memodt2", val:ds_send.getColumn(0,"memodd" ) }
- ]);
- var oParam = {};
- oParam.id = "TRAEA01110";
- oParam.service = "examcurebaseapp.ExamCureCode";
- oParam.method = "reqGetExcuroomMemoCodeList";
- oParam.inds = "req=ds_send_req";
- oParam.outds = "ds_examcuredeptmemolist=examcuredeptmemolist";
- oParam.async = false;
- //oParam.callback = "cf_TRAEA01110";
- tranf_submit(oParam);
-
- ds_send.setColumn(0,"tabgubn","Z");
-
- ds_send.setColumn(0,"excuroomcd","");
- ds_send.setColumn(0,"excupartcd","");
- fGetExamCureAcptList("Z"); //결과
-
-
- }
- else if(tindex == 4)
- {
- //상단정보 초기화
- appf_delPatientInfos();
-
- group3.btn_excucmt.visible = false;
-
-
-
- //부서메모 조회
- ds_send.setColumn(0,"memodd",ds_send.getColumn(0,"srchdate1"));
- dsf_createDsRow("ds_send_req", [{col: "excuroomcd", val:ds_send.getColumn(0,"selectexcuroom" )}
- ,{col: "deptcdflag", val:ds_send.getColumn(0,"room" )}
- ,{col: "memodt1", val:ds_send.getColumn(0,"memodd" ) }
- ,{col: "memodt2", val:ds_send.getColumn(0,"memodd" ) }
- ]);
- var oParam = {};
- oParam.id = "TRAEA01110";
- oParam.service = "examcurebaseapp.ExamCureCode";
- oParam.method = "reqGetExcuroomMemoCodeList";
- oParam.inds = "req=ds_send_req";
- oParam.outds = "ds_examcuredeptmemolist=examcuredeptmemolist";
- oParam.async = false;
- //oParam.callback = "cf_TRAEA01110";
- tranf_submit(oParam);
-
- ds_send.setColumn(0,"tabgubn","L");
-
-
- ds_send.setColumn(0,"excuroomcd","");
- ds_send.setColumn(0,"excupartcd","");
-
- fGetExamCureAcptList("L"); //전체
-
-
- }
- else if(tindex == 0)
- {
- dataClear();
-
- //상단정보 초기화
- appf_delPatientInfos();
-
- group3.btn_excucmt.visible = false;
- group3.btn_patcmtsave.visible = false; //환자COMMENT 저장버튼
-
-
- //부서메모 조회
- ds_send.setColumn(0,"memodd",ds_send.getColumn(0,"srchdate1"));
- dsf_createDsRow("ds_send_req", [{col: "excuroomcd", val:ds_send.getColumn(0,"selectexcuroom" )}
- ,{col: "deptcdflag", val:ds_send.getColumn(0,"room" )}
- ,{col: "memodt1", val:ds_send.getColumn(0,"memodd" ) }
- ,{col: "memodt2", val:ds_send.getColumn(0,"memodd" ) }
- ]);
- var oParam = {};
- oParam.id = "TRAEA01110";
- oParam.service = "examcurebaseapp.ExamCureCode";
- oParam.method = "reqGetExcuroomMemoCodeList";
- oParam.inds = "req=ds_send_req";
- oParam.outds = "ds_examcuredeptmemolist=examcuredeptmemolist";
- oParam.async = false;
- //oParam.callback = "cf_TRAEA01110";
- tranf_submit(oParam);
-
- ds_send.setColumn(0,"tabgubn","P");
-
- ds_send.setColumn(0,"excuroomcd","");
- ds_send.setColumn(0,"excupartcd","");
- //미예약환자리스트, 부서메모, 예약시간대 갖고오기
- fGetExamCureAcptList("P"); // 미예약
-
- }
- else if(tindex == 5)
- {
- //상단정보 초기화
- appf_delPatientInfos();
- group3.btn_excucmt.visible = false;
-
-
-
- //부서메모 조회
- ds_send.setColumn(0,"memodd",ds_send.getColumn(0,"srchdate1"));
- dsf_createDsRow("ds_send_req", [{col: "excuroomcd", val:ds_send.getColumn(0,"selectexcuroom" )}
- ,{col: "deptcdflag", val:ds_send.getColumn(0,"room" )}
- ,{col: "memodt1", val:ds_send.getColumn(0,"memodd" ) }
- ,{col: "memodt2", val:ds_send.getColumn(0,"memodd" ) }
- ]);
- var oParam = {};
- oParam.id = "TRAEA01110";
- oParam.service = "examcurebaseapp.ExamCureCode";
- oParam.method = "reqGetExcuroomMemoCodeList";
- oParam.inds = "req=ds_send_req";
- oParam.outds = "ds_examcuredeptmemolist=examcuredeptmemolist";
- oParam.async = false;
- //oParam.callback = "cf_TRAEA01110";
- tranf_submit(oParam);
-
- ds_send.setColumn(0,"tabgubn","S");
-
- ds_send.setColumn(0,"excuroomcd","");
- ds_send.setColumn(0,"excupartcd","");
- fGetExamCureAcptList("S"); //전체
-
- }
- }
- function group3_btn_acptcncl_onclick(obj:Button, e:ClickEventInfo)
- {
- var dsobj = ds_grd_mainordlist1;
-
- if ( group3.switch1.tabindex == 1 ) dsobj = ds_grd_mainordlist1; // 예약
- if ( group3.switch1.tabindex == 2 ) dsobj = ds_grd_mainordlist2; // 접수
- if ( group3.switch1.tabindex == 3 ) dsobj = ds_grd_mainordlist3; // 결과
- if ( group3.switch1.tabindex == 4 ) dsobj = ds_grd_mainordlist4; // 전체
-
- var nodeList = dsobj.findRowExpr("check=='Y' || check =='1'");
- if ( nodeList<0 ) {
- sysf_messageBox("처방내역을","C002");
- return "0";
- }
- //예약취소
- if ( group3.switch1.tabindex == 1 ) {
- // exeRsrvTransaction("cncl");
- }
- //접수취소
- if ( group3.switch1.tabindex == 2 ) {
- var tabgubn = ds_send.getColumn(0,"tabgubn");
-
- if(tabgubn == "Y")
- ds_hidden_grdgubnlist.setColumn(0,"grdgubn","group3.switch1.case1.grd_ordlist1");
- if(tabgubn == "T")
- ds_hidden_grdgubnlist.setColumn(0,"grdgubn","group3.switch1.case2.grd_ordlist2");
- if(tabgubn == "Z")
- ds_hidden_grdgubnlist.setColumn(0,"grdgubn","group3.switch1.case3.grd_ordlist3");
- if(tabgubn == "A")
- ds_hidden_grdgubnlist.setColumn(0,"grdgubn","group3.switch1.case4.grd_ordlist4");
- var grid = ds_hidden_grdgubnlist.getColumn(0,"grdgubn");
-
- var rtn = ExeCncl(tabgubn,grid);
- }
-
- ds_send.setColumn(0,"srchpid", "");
- ds_send.setColumn(0,"prcpgenrflag", "");
-
- if ( group3.switch1.tabindex == 1 ) {
- fGetExamCureAcptList("Y"); // 예약
- }
- if ( group3.switch1.tabindex == 2 ) {
- fGetExamCureAcptList("T"); // 접수
- }
- if ( group3.switch1.tabindex == 3 ){
- fGetExamCureAcptList("Z"); // 결과
- }
- if ( group3.switch1.tabindex == 4 ) {
- fGetExamCureAcptList("A"); // 전체
- }
-
- //클리어
- dataClear();
- }
- function group3_btn_rsrv_onclick(obj:Button, e:ClickEventInfo)
- {
- if (utlf_isNull(group3.cmb_rsrvtm.value) ) {
- sysf_messageBox("예약시간을","C002");
- return 0;
- }
- if( utlf_isNull(group3.cmb_excuroom.value) ){
- sysf_messageBox("검사의를","C002");
- return 0;
- }
-
- //검사실명 예약예문에 세팅하기 위함.
- for( var i=0; i < ds_grd_temp.rowcount; i++ ) {
- if( ds_init_cmb_excuroom.getColumn(i,"excuroomcdid") == ds_subordlist1.getColumn(0,"excuroomcd") ) {
- var roomcd = ds_init_cmb_excuroom.getColumn(i,"excuroomcdnm");
- }
- }
-
-
- if ( group3.switch1.tabindex == 0 ) { //미예약탭에서 예약
- ds_grd_subordlist1.setColumn(ds_grd_subordlist1.rowposition, "rsrvrem", group3.tar_acptrem.value); //예약코멘트
- }
- if ( group3.switch1.tabindex == 1 ) { //예약탭에서 예약변경
- ds_grd_mainordlist1.setColumn(ds_grd_mainordlist1.rowposition,"rsrvrem", group3.tar_acptrem.value); //예약코멘트
- }
- if ( group3.switch1.tabindex == 4) { //전체탭에서 예약 및 변경
- ds_grd_mainordlist4.setColumn(ds_grd_mainordlist4.rowposition,"rsrvrem", group3.tar_acptrem.value); //예약코멘트
- }
-
-
- //예약증출력
- if(ds_send.getColumn(0,"rsrvprntflag") == "Y") {
- var pid = group3.ipt_cntsqty.value;
- var hngnm = group3.input1.value;
- var rsrvdd = group3.cmb_rsrvdd.value ;
- var rsrvtm = group3.cmb_rsrvtm.value;
- var year = rsrvdd.substr(0,4);
- var month = rsrvdd.substr(4,2);
- var day = rsrvdd.substr(6,2);
- var week = rsrvdd.substr(0,8).toDate().getDayOfWeek("K");
- var hh = rsrvtm.substr(0,2);
- var mm = rsrvtm.substr(2,2);
- // 예약증 출력 추가
- var age = utlf_transNullToEmpty(group3.input2.value).substr(2, 3);
- var sex = utlf_transNullToEmpty(group3.input2.value).substr(0, 1);
- var orddeptcd = group3.input3.value;
- var orddrid = group3.input4.value;
- if ( group3.switch1.tabindex == 0 ) { //미예약탭
- ds_send.setColumn(0,"prntcalcscorcd", ds_grd_subordlist1.getColumn(ds_grd_subordlist1.rowposition,"calcscorcd"));
- ds_send.setColumn(0,"prntsuppdeptcd", lv_instance1);
- ds_send.setColumn(0,"rsrvtmplcd", ds_grd_subordlist1.getColumn(ds_grd_subordlist1.rowposition,"rsrvexmptmplcd"));
- }
- if ( group3.switch1.tabindex == 1 ) { //예약탭
- ds_send.setColumn(0,"prntcalcscorcd", ds_grd_mainordlist1.getColumn(ds_grd_mainordlist1.rowposition,"calcscorcd"));
- ds_send.setColumn(0,"prntsuppdeptcd", lv_instance1);
- ds_send.setColumn(0,"rsrvtmplcd", ds_grd_mainordlist1.getColumn(ds_grd_mainordlist1.rowposition,"rsrvexmptmplcd"));
- }
- if ( group3.switch1.tabindex == 4 ) { //전체탭
- ds_send.setColumn(0,"prntcalcscorcd", ds_grd_mainordlist1.getColumn(ds_grd_mainordlist1.rowposition,"calcscorcd"));
- ds_send.setColumn(0,"prntsuppdeptcd", lv_instance1);
- }
- }
- if ( sysf_messageBox("예약내역을","Q002")==6 ) {
- exeRsrvTransaction("rsrv");
-
- ds_send.setColumn(0,"srchpid", "");
- ds_send.setColumn(0,"prcpgenrflag", "");
-
- if ( group3.switch1.tabindex == 0 ) { //미예약탭에서 예약
- fGetExamCureAcptList("P"); // 미예약
- }
- if ( group3.switch1.tabindex == 1) { //예약탭에서 예약변경
- fGetExamCureAcptList("Y"); // 예약
- }
- if (group3.switch1.tabindex == 4 ) { //예약탭에서 예약변경
- fGetExamCureAcptList("L"); //전체
- }
-
- }
- else {
- return "0";
- }
- //클리어
- dataClear();
- // btn_sea.dispatch("DOMActivate");
-
- //예약증출력
- if(ds_send.getColumn(0,"rsrvprntflag") == "Y") {
-
- //submit("TRAEA01126");
- dsf_createDsRow("ds_send_req", [{col: "excucd", val:ds_send.getColumn(0,"prntcalcscorcd" )}
- ,{col: "suppdeptcd", val:ds_send.getColumn(0,"prntsuppdeptcd" )}
- ,{col: "rsrvtmplcd", val:ds_send.getColumn(0,"rsrvtmplcd" ) }
- ]);
-
- var oParam = {};
- oParam.id = "TRAEA01133";
- oParam.service = "examcurebaseapp.ExmpTmpl";
- oParam.method = "reaGetRsrvTmplList2";
- oParam.inds = "req=ds_send_req";
- oParam.outds = "ds_tmplist=tmplinfo";
- oParam.async = false;
- //oParam.callback = "cf_TRAEA01133";
- tranf_submit(oParam);
-
- var tmpldata = ds_tmplist.getColumn(0,"tmpldata");
- if(ds_tmplist.getColumn(0,"slepyn") == "(수면)") {
- roomcd = roomcd + ds_tmplist.getColumn(0,"slepyn");
- }
- if(!utlf_isNull(tmpldata)) {
- //1. 예약예문내용을 뷰어로 보여주기
- group3.switch1.case1.rtfviewer.TextRtf = tmpldata;
-
- //2. 바꾸기
- group3.switch1.case1.rtfviewer.ReplaceRtfCode("pid",pid); //등록번호
- group3.switch1.case1.rtfviewer.ReplaceRtfCode("patnm",hngnm); //성명
- group3.switch1.case1.rtfviewer.ReplaceRtfCode("year",year); //년
- group3.switch1.case1.rtfviewer.ReplaceRtfCode("month",month); //월
- group3.switch1.case1.rtfviewer.ReplaceRtfCode("day",day); //일
- group3.switch1.case1.rtfviewer.ReplaceRtfCode("week",week); //요일
- group3.switch1.case1.rtfviewer.ReplaceRtfCode("hh",hh); //시
- group3.switch1.case1.rtfviewer.ReplaceRtfCode("mm",mm); //분
- group3.switch1.case1.rtfviewer.ReplaceRtfCode("roomcd", roomcd); //분
- // 예약증 출력 추가
- group3.switch1.case1.rtfviewer.ReplaceRtfCode("age",age); //나이
- group3.switch1.case1.rtfviewer.ReplaceRtfCode("sex",sex); //성별
- group3.switch1.case1.rtfviewer.ReplaceRtfCode("orddeptcd",orddeptcd); //진료과명
- group3.switch1.case1.rtfviewer.ReplaceRtfCode("orddrid",orddrid); //진료의명
- //3. 현재내용을 파일에 저장
- group3.switch1.case1.rtfviewer.SaveRtfFile();
-
- //4. 출력
- group3.switch1.case1.rtfviewer.Print();
- //5. 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- fInitialize();
- }
- else {
- sysf_messageBox("등록된 예약예문이 ", "I004");
- }
- }
-
- }
- function group3_btn_cncl_onclick(obj:Button, e:ClickEventInfo)
- {
- var nodeList = ds_grd_mainordlist1.findRowExpr("check=='Y' || check=='1'");
-
- if ( nodeList < 0 ) {
- sysf_messageBox("예약취소할 처방을","C002");
- return "0";
- }
- exeRsrvTransaction("cncl");
- var tabgubn = ds_send.getColumn(0,"tabgubn");
- if(tabgubn == "P")
- ds_hidden_grdgubnlist.setColumn(0,"grdgubn","group3.switch1.case1.grd_ordlist1");
- if(tabgubn == "U")
- ds_hidden_grdgubnlist.setColumn(0,"grdgubn","group3.switch1.case2.grd_ordlist2");
- if(tabgubn == "R")
- ds_hidden_grdgubnlist.setColumn(0,"grdgubn","group3.switch1.case3.grd_ordlist3");
- if(tabgubn == "T")
- ds_hidden_grdgubnlist.setColumn(0,"grdgubn","group3.switch1.case4.grd_ordlist4");
-
- var grid = ds_hidden_grdgubnlist.getColumn(0,"grdgubn");
-
- ds_send.setColumn(0,"srchpid", "");
- ds_send.setColumn(0,"prcpgenrflag", "");
- fGetExamCureAcptList("Y"); // 예약
- // setExcuCmt(grid);
- //클리어
- dataClear();
- }
- function group3_btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- //20180417 수가가 유효한지 체크
- for(var i = 0 ; i <ds_grd_subprcplist.rowcount; i++ ) {
- // 수가가 유효한 처방 여부 - 20180417 kya
- if (ds_grd_subprcplist.getColumn(i,"statcd") != "D/C") {
- if (ds_grd_subprcplist.getColumn(i,"sugauseyn") == "N") {
- sysf_messageBox(" 유효하지 않는 처방이므로 접수","E001");
- return "0";
- }
- }
- }
-
- //소화기센터내시경실
- if(ds_send.getColumn(0,"sgubn") != "S" ) {
- //응급환자의 경우 예약없이 바로 접수
- //20101005 입원환자 바로 접수가능하게 수정 - 박재영
- if ( ds_grd_subordlist1.getColumn(ds_grd_subordlist1.rowposition,"prcpgenrflag") == "E" ||
- ds_grd_subordlist1.getColumn(ds_grd_subordlist1.rowposition,"prcpgenrflag") == "I" ) {
- //model.setValue("/root/main/ordlist5/mainordlist["+grd_subordlist1.row+"]/excuroomcd", "P"); //임의로 일반 검사실로 접수테이블에 세팅,20101006 주석처리
- var baseexcuroomcd = ds_grd_subordlist1.getColumn(ds_grd_subordlist1.rowposition,"baseexcuroomcd");
- ds_grd_subordlist1.setColumn(ds_grd_subordlist1.rowposition,"excuroomcd",baseexcuroomcd); //20101006 임의가 아닌 기본검사실로 접수 - 박재영
-
- dsf_createDs("ds_send_tobeacptprcplist");
- dsf_copyColInfo(ds_send_tobeacptprcplist, ds_grd_subordlist1);
- ds_send_tobeacptprcplist.copyRow(ds_send_tobeacptprcplist.addRow(),ds_grd_subordlist1,ds_grd_subordlist1.rowposition);
- //var nodeList = instance1.selectNodes("/root/main/ordlist5/mainordlist["+grd_subordlist1.row+"]");
- //var rCSV = getNodeListCSV(nodeList);
- //ds_send.setColumn(0,"tobeacptprcp/tobeacptprcplist", rCSV);
- ds_send_tobeacptprcplist.addColumn("sgubn","string");
- ds_send_tobeacptprcplist.setColumn(0,"sgubn","S");
- //model.makeNode("/root/send/data/tobeacptprcp/sgubn");
- //ds_send.setColumn(0,"tobeacptprcp/sgubn","S");
-
- if (ds_send_tobeacptprcplist.rowcount == 0 ) {
- sysf_messageBox("접수할 처방을","C002");
- return "0";
- }
-
- var loop;
- var check;
- ds_send_tobeacptprcplist.updateColID("acptrem","execrem");
- dsf_setFixVal(ds_send_tobeacptprcplist, "transactiongubn:1,largeclass:M5,execprcpstat440cd:440,execprcpstat610cd:610,rtno:-,execrid1:-,reqagnphoyn:N,tretflagcd:440,indd:00000000,icfflag:-,wardcd:-,arvdt:-,execrid2:-,execrid3:-,execrid4:-,excuexectodt:00000000000000,excuexecfromdt1:00000000000000,excueqcd1:-,excuexecfromdt2:00000000000000,excueqcd2:-,excuexecfromdt3:00000000000000,excueqcd3:-,excuexecfromdt4:00000000000000,excueqcd4:-,excuexecfromdt5:00000000000000,excueqcd5:-,opdrid:orddrid,autroomassgyn:N,rsltdd:00000000,rslttm:000000,rsltno:0,rsltseqno:0,cnfmdt:00000000000000,cnfmmanid:-,eqmtifimgyn:N,ocrimgyn:N,rslttmplyn:N,deptrem:-,patrem:-,excupartgrpcd:-");
- if ( sysf_messageBox("접수를 ","Q002")==6 ) {
- ds_send_tobeacptprcplist.updateColID("root","rootgubn");
- var oParam = {};
- oParam.id = "TXAEA01504";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqExeAcptExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_tobeacptprcplist";
- oParam.outds = "ds_result_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TXAEA01504";
- tranf_submit(oParam);
- }
- dsf_deleteDs("ds_send_tobeacptprcplist");
-
-
- var grid = ds_hidden_grdgubnlist.getColumn(0,"grdgubn");
-
- ds_send.setColumn(0,"srchpid", "");
- ds_send.setColumn(0,"prcpgenrflag", "");
-
- if ( group3.switch1.tabindex == 1 ) {
- fGetExamCureAcptList("Y"); // 예약
- }
- if ( group3.switch1.tabindex == 2 ){
- fGetExamCureAcptList("T"); // 접수
- }
- if ( group3.switch1.tabindex == 3 ){
- fGetExamCureAcptList("Z"); // 결과
- }
- if ( group3.switch1.tabindex == 4 ){
- fGetExamCureAcptList("A"); // 전체
- }
- if ( group3.switch1.tabindex == 0 ){
- fGetExamCureAcptList("P"); // 미예약
- }
-
- //클리어
- dataClear();
- } else{
- var nodeList = ds_grd_mainordlist1.findRowExpr("check=='Y' || check=='1'");
-
- if ( nodeList < 0 ) {
- sysf_messageBox("접수할 처방을","C002");
- return "0";
- }
- for(var i = 0 ; i <ds_grd_mainordlist1.rowcount; i++ ) {
- // 미수납 예약가능 여부 - 2009.02.06 김건기
- if( ds_grd_mainordlist1.getColumn(i,"check") == "Y" &&
- ds_grd_mainordlist1.getColumn(i,"prcpgenrflag") == "O" &&
- ds_grd_mainordlist1.getColumn(i,"rcptyn") == "N" &&
- ds_grd_mainordlist1.getColumn(i,"aftrcptinfo") != "V" &&
- ds_grd_mainordlist1.getColumn(i,"rcptacptyn") != "Y"){
- sysf_messageBox(" 미수납 처방이므로 접수","E001");
- return "0";
- }
- }
-
- ds_grd_mainordlist1.setColumn(ds_grd_mainordlist1.rowposition,"acptrem",group3.tar_execrem.value);
- var tabgubn = ds_send.getColumn(0,"tabgubn");
- if(tabgubn == "Y")
- ds_hidden_grdgubnlist.setColumn(0,"grdgubn","group3.switch1.case1.grd_ordlist1");
- if(tabgubn == "T")
- ds_hidden_grdgubnlist.setColumn(0,"grdgubn","group3.switch1.case2.grd_ordlist2");
- if(tabgubn == "Z")
- ds_hidden_grdgubnlist.setColumn(0,"grdgubn","group3.switch1.case3.grd_ordlist3");
- if(tabgubn == "A")
- ds_hidden_grdgubnlist.setColumn(0,"grdgubn","group3.switch1.case4.grd_ordlist4");
- var grid = ds_hidden_grdgubnlist.getColumn(0,"grdgubn");
- var rtn = ExeAccept(tabgubn,grid);
-
-
- ds_send.setColumn(0,"srchpid", "");
- ds_send.setColumn(0,"prcpgenrflag", "");
-
- if ( group3.switch1.tabindex == 1 ) {
- fGetExamCureAcptList("Y"); // 예약
- }
- if ( group3.switch1.tabindex == 2 ){
- fGetExamCureAcptList("T"); // 접수
- }
- if ( group3.switch1.tabindex == 3 ){
- fGetExamCureAcptList("Z"); // 결과
- }
- if ( group3.switch1.tabindex == 4 ){
- fGetExamCureAcptList("A"); // 전체
- }
- if ( group3.switch1.tabindex == 5 ){
- fGetExamCureAcptList("P"); // 미예약
- }
-
- //클리어
- dataClear();
- }
- }
-
- //건진 내시경
- if(ds_send.getColumn(0,"sgubn") == "S" ) {
-
-
- var nodeList = ds_grd_mainordlist1.findRowExpr("check=='Y' || check=='1'");
-
- if ( nodeList < 0 ) {
- sysf_messageBox("접수할 처방을","C002");
- return "0";
- }
-
- //2011.04.05 건진내시경 다중접수처리로 인해 검사코멘트 주석처리 - 박재영
- //model.setValue("/root/main/ordlist1/mainordlist["+ grd_mainordlist1.row +"]/acptrem",model.getValue("/root/main/comment3/execcmt"));
- var tabgubn = ds_send.getColumn(0,"tabgubn");
- if(tabgubn == "Y")
- ds_hidden_grdgubnlist.setColumn(0,"grdgubn","group3.switch1.case1.grd_ordlist1");
- if(tabgubn == "T")
- ds_hidden_grdgubnlist.setColumn(0,"grdgubn","group3.switch1.case2.grd_ordlist2");
- if(tabgubn == "Z")
- ds_hidden_grdgubnlist.setColumn(0,"grdgubn","group3.switch1.case3.grd_ordlist3");
- if(tabgubn == "A")
- ds_hidden_grdgubnlist.setColumn(0,"grdgubn","group3.switch1.case4.grd_ordlist4");
- var grid = ds_hidden_grdgubnlist.getColumn(0,"grdgubn");
- var rtn = ExeAccept(tabgubn,grid);
-
-
- ds_send.setColumn(0,"srchpid", "");
- ds_send.setColumn(0,"prcpgenrflag", "");
-
- if ( group3.switch1.tabindex == 1 ) {
- fGetExamCureAcptList("Y"); // 예약
- }
- if ( group3.switch1.tabindex == 2 ){
- fGetExamCureAcptList("T"); // 접수
- }
- if ( group3.switch1.tabindex == 3 ){
- fGetExamCureAcptList("Z"); // 결과
- }
- if ( group3.switch1.tabindex == 4 ){
- fGetExamCureAcptList("A"); // 전체
- }
- if ( group3.switch1.tabindex == 5 ){
- fGetExamCureAcptList("P"); // 미예약
- }
- //클리어
- dataClear();
- }
-
-
- }
- function group3_cmb_excuroom_onitemclick(obj:Combo, e:ListBoxClickEventInfo)
- {
- var ev = new ClickEventInfo;
- frmf_inputEnterKey("group3.btn_cal", "onclick", ev );
- }
- function group3_button11_onclick(obj:Button, e:ClickEventInfo)
- {
- if(frmf_getMenuParam() != "S"){
- var nodeList = ds_grd_subprcplist.findRowExpr("check=='Y' || check == '1'");
-
- if ( nodeList < 0 ) {
- sysf_messageBox("처방내역에서 행위처방을","C002");
- return "0";
- }
-
- if (ds_grd_subprcplist.getColumn(ds_grd_subprcplist.rowposition,"rootgubn" ) == "Y" ) {
- sysf_messageBox("모코드는 대체처방","E001");
- return "0";
- }
-
- //2011.07.22 M-Set이 아닌처방 대체처방낼경우 진행은 가능하나 취소시 문제시 되어 M-Set만 대체처방가능
- if (ds_grd_subprcplist.getColumn(ds_grd_subprcplist.rowposition,"mset" ) != "ⓜ" ) {
- sysf_messageBox("M-Set의 자코드가 아닌 처방은 대체처방","E001");
- return "0";
- }
-
-
- if ( ds_grd_subprcplist.getColumn(ds_grd_subprcplist.rowposition,"mset" ) == "ⓜ" ) {
- if( ds_grd_subprcplist.getColumn(ds_grd_subprcplist.rowposition,"prcpclscd" ) == "A2" || ds_grd_subprcplist.getColumn(ds_grd_subprcplist.rowposition,"prcpclscd" ) == "A4" || ds_grd_subprcplist.getColumn(ds_grd_subprcplist.rowposition,"prcpclscd" ) == "A6" || ds_grd_subprcplist.getColumn(ds_grd_subprcplist.rowposition,"prcpclscd" ) == "M2" ) {
- //if( model.getValue("/root/main/subordlist/subordlist4["+grd_subprcplist.row+"]/calcscorcd" ) != model.getValue("/root/main/subordlist/subordlist4["+grd_subprcplist.row+"]/inclprcpcd" )){
- sysf_messageBox("약/주사/재료처방이","E005","행위처방을 선택하십시오!");
- return "0";
- }
- }
-
-
- if ( ds_grd_subprcplist.getColumn(ds_grd_subprcplist.rowposition,"execprcpstatcd" ) < "610" ) {
- sysf_messageBox("실시 되지 않는 처방은 대체처방","E001");
- return "0";
- }
- dsf_createDsRow("ds_formdata_popdata2", [{col: "pid", val:ds_grd_subprcplist.getColumn(ds_grd_subprcplist.rowposition,"pid" )}
- ,{col: "prcpdd", val:ds_grd_subprcplist.getColumn(ds_grd_subprcplist.rowposition,"prcpdd" )}
- ,{col: "execprcpuniqno", val:ds_grd_subprcplist.getColumn(ds_grd_subprcplist.rowposition,"execprcpuniqno" ) }
- ]);
- var objArg = new Object();
- objArg.arg_ds_popdata = ds_formdata_popdata2;
-
- frmf_modal("SPAER01800","SPAER01800",objArg, "","","","", "", "", "","","","M");
- //modal("SPAER01800", "", "200", "200", "SPAER01800","/root/main/formdata/popdata2","/root/popdata");
- } else {
- //model.setValue("/root/properties/menu/menuparam","C01");
- //modal("SMAHA00900", "","","", "SMAHA00900", "","");
- frmf_modal("SMAHA00900","SMAHA00900","", "","","","", "", "", "","","","M");
- //model.setValue("/root/properties/menu/menuparam","S");
- }
-
- }
- function group3_button18_onclick(obj:Button, e:ClickEventInfo)
- {
- appf_delPatientInfos();
-
- if (group3.switch1.tabindex == 1 ) {
- ds_send_bardata.setColumn(0,"regnopatnm",ds_grd_mainordlist1.getColumn(ds_grd_mainordlist1.rowposition,"pid"));
- }
- if ( group3.switch1.tabindex == 2 ) {
- ds_send_bardata.setColumn(0,"regnopatnm",ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"pid"));
- }
- if ( group3.switch1.tabindex == 3 ) {
- ds_send_bardata.setColumn(0,"regnopatnm",ds_grd_mainordlist3.getColumn(ds_grd_mainordlist3.rowposition,"pid"));
- }
- if ( group3.switch1.tabindex == 4 ) {
- ds_send_bardata.setColumn(0,"regnopatnm",ds_grd_mainordlist4.getColumn(ds_grd_mainordlist4.rowposition,"pid"));
- }
- if ( group3.switch1.tabindex == 0 ) {
- ds_send_bardata.setColumn(0,"regnopatnm",ds_grd_subordlist1.getColumn(ds_grd_subordlist1.rowposition,"pid"));
- }
- ds_send_bardata.setColumn(0,"testdeptcd",lv_instance1);
- //modal("SMLLC00300","","","","","/root/send/bardata","/root/hidden/SFlag");
- var objArg = new Object();
- objArg.arg_ds_hidden_SFlag = ds_send_bardata;
- frmf_modal("SMLLC00300","SMLLC00300",objArg,"","","","","","","","","","M");
- }
- function group3_button21_onclick(obj:Button, e:ClickEventInfo)
- {
- if(frmf_getMenuParam() != "S"){
- appf_delPatientInfos();
- }
- var sParam="";
-
- if ( group3.switch1.tabindex == 1 ) {
- var prcpgenrflag = ds_grd_mainordlist1.getColumn(ds_grd_mainordlist1.rowposition,"prcpgenrflag");
- }
- if ( group3.switch1.tabindex == 2 ) {
- var prcpgenrflag = ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"prcpgenrflag");
- }
- if ( group3.switch1.tabindex == 3 ) {
- var prcpgenrflag = ds_grd_mainordlist3.getColumn(ds_grd_mainordlist3.rowposition,"prcpgenrflag");
- }
- if ( group3.switch1.tabindex == 4 ) {
- var prcpgenrflag = ds_grd_mainordlist4.getColumn(ds_grd_mainordlist4.rowposition,"prcpgenrflag");
- }
- if ( group3.switch1.tabindex == 0 ) {
- var prcpgenrflag = ds_grd_subordlist1.getColumn(ds_grd_subordlist1.rowposition,"prcpgenrflag");
- }
- if( prcpgenrflag == "E" ) {
- sParam = "I,esop";
-
- }
- if( prcpgenrflag == "S" ) {
- sParam = "O";
- }
- if( prcpgenrflag == "O" ) {
- sParam = "O";
- }
- if( prcpgenrflag == "I" ) {
- sParam = "I,esop";
- }
- frmf_setParameter("Narc_Menu_Param", sParam);
- //model.setAttribute("Narc_Menu_Param", sParam);
- // modal("SMADT30400",0,200,200,"","");
- frmf_open("SMADT30400", "SMADT30400", "","","", "","", "","","", "","","M");
- }
- function group3_button31_onclick(obj:Button, e:ClickEventInfo)
- {
- appf_delPatientInfos();
-
- if ( group3.switch1.tabindex == 1 ) {
- var nodeList = ds_grd_mainordlist1.findRowExpr("check=='Y' || check=='1'");
-
- if ( nodeList < 0 ) {
- sysf_messageBox("1처방을 ","C002");
- return "0";
- }else {
- lf_aezfAddPrcpMngt(group3.switch1.case1.grd_mainordlist1 , "/root/main/ordlist1/mainordlist");
- }
- }
- if ( group3.switch1.tabindex == 2) {
- var nodeList = ds_grd_mainordlist2.findRowExpr("check=='Y' || check=='1'");
-
- if ( nodeList < 0 ) {
- sysf_messageBox("2처방을 ","C002");
- return "0";
- }else {
- lf_aezfAddPrcpMngt(group3.switch1.case2.grd_mainordlist2 , "/root/main/ordlist2/mainordlist");
- }
- }
- if ( group3.switch1.tabindex == 3 ) {
- var nodeList = ds_grd_mainordlist3.findRowExpr("check=='Y' || check=='1'");
-
- if ( nodeList < 0 ) {
- sysf_messageBox("3처방을 ","C002");
- return "0";
- }else {
- lf_aezfAddPrcpMngt(group3.switch1.case3.grd_mainordlist3 , "/root/main/ordlist3/mainordlist");
- }
- }
- if ( group3.switch1.tabindex == 4 ) {
-
- if ( ds_grd_mainordlist4.rowposition < 0 ) {
- sysf_messageBox("4처방을 ","C002");
- return "0";
- }else {
- lf_aezfAddPrcpMngt(group3.switch1.case4.grd_mainordlist4 , "/root/main/ordlist4/mainordlist");
- }
- }
- if (group3.switch1.tabindex == 0 ) {
-
- if ( ds_grd_subordlist1.rowposition < 0 ) {
- sysf_messageBox("5처방을 ","C002");
- return "0";
- }else {
- lf_aezfAddPrcpMngt(group3.switch1.case5.grd_subordlist1 , "/root/main/ordlist5/mainordlist");
- }
- }
- }
- function group3_switch3_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- if(e.postindex == 0)
- {
- if (group3.switch1.tabindex == 1 ) {
- fTestRoom(group3.switch1.case1.grd_mainordlist1, ds_grd_mainordlist1);
- }
- if ( group3.switch1.tabindex == 2 ) {
- fTestRoom(group3.switch1.case2.grd_mainordlist2, ds_grd_mainordlist2);
- }
- if ( group3.switch1.tabindex == 3 ) {
- fTestRoom(group3.switch1.case3.grd_mainordlist3, ds_grd_mainordlist3);
- }
- if ( group3.switch1.tabindex == 4 ) {
- fTestRoom(group3.switch1.case4.grd_mainordlist4, ds_grd_mainordlist4);
- }
- if ( group3.switch1.tabindex == 0 ) {
- fTestRoom(group3.switch1.case5.grd_subordlist1, ds_grd_subordlist1);
- }
- }
- else
- {
- if (group3.switch1.tabindex == 1 ) {
- fTestRoom(group3.switch1.case1.grd_mainordlist1, ds_grd_mainordlist1);
- }
- if ( group3.switch1.tabindex == 2 ) {
- fTestRoom(group3.switch1.case2.grd_mainordlist2, ds_grd_mainordlist2);
- }
- if ( group3.switch1.tabindex == 3 ) {
- fTestRoom(group3.switch1.case3.grd_mainordlist3, ds_grd_mainordlist3);
- }
- if ( group3.switch1.tabindex == 4 ) {
- fTestRoom(group3.switch1.case4.grd_mainordlist4, ds_grd_mainordlist4);
- }
- }
- }
- function group3_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- appf_delPatientInfos();
-
- var pid = ds_subordlist1.getColumn(0,"pid");
- var objParam = [{col:"srchpid", type:"string", size:10, val: pid}]
- dsf_createDsRow("ds_send_reqdata_pid", objParam, false)
-
- var objArg = new Object();
- objArg.arg_ds_send_singdata = ds_send_reqdata_pid;
- frmf_open("SMAER00800", "SMAER00800", objArg, null, null, null, null, null, null, null, null, null, "M");
- }
- function group3_button5_onclick(obj:Button, e:ClickEventInfo)
- {
- appf_delPatientInfos();
- var objArg = new Object();
- objArg.argPid = ds_subordlist1.getColumn(0,"pid");
- frmf_open("SMPAO00300", "SMPAO00300", objArg, "", "", "", "","","", "","","","M");
-
- }
- function group3_button6_onclick(obj:Button, e:ClickEventInfo)
- {
- //*******************************************************************************************************************************************************************/
- // 간호기록(Type II) 화면을 호출하기 위한 파라미터 값 세팅
- //*******************************************************************************************************************************************************************/
- // [기록 구분 정보]
- // SMMNR03400_AST :pid ▦ instcd ▦ hngnm ▦ age ▦ cretno ▦ ioflag ▦ orddeptcd ▦ orddrid ▩(기능검사 환자정보)
- //
- // - 기록구분(recflag) :
- // O : 외래, F : 기능검사, I : 주사실,
- // D : DSC, S : 전문간호, H : 가정간호,
- // E : 응급실, A : 마취과, R : 회복실,
- // L : 투석실, B : 혈당기록, P : 수술실,
- // C : 외래항암 X : 내시경
- //
- // - 부서코드(dutplaccd) :
- // 001 : 가정 005 : 병동 009 : 외래 013 : 통원 017 : 외래항암
- // 002 : 간클리닉 006 : 부정맥 010 : 응급 014 : 투석 900 : 수술
- // 003 : 기관지 007 : 분만 011 : 전문 015 : 혈당 900 : 마취
- // 004 : 내시경 008 : 성분 012 : 주사 016 : Echo 900 : 회복
- //
- // - 처방구분(prcpflag)
- // A : 투약
- // H : 처치
- // T : 검사
- if ( group3.switch1.tabindex == 0 ) {
- var orddd = ds_grd_subordlist1.getColumn(ds_grd_subordlist1.rowposition,"orddd");
- var cretno = ds_grd_subordlist1.getColumn(ds_grd_subordlist1.rowposition,"cretno");
-
- var instcd = sysf_getUserInfo("dutplceinstcd");
- var orddeptcd = ds_grd_subordlist1.getColumn(ds_grd_subordlist1.rowposition,"orddeptcd");
- var orddrid = ds_grd_subordlist1.getColumn(ds_grd_subordlist1.rowposition,"orddrid")
- var pid = ds_grd_subordlist1.getColumn(ds_grd_subordlist1.rowposition,"pid");
- var sPid = ds_grd_subordlist1.getColumn(ds_grd_subordlist1.rowposition,"pid");
- var hngnm = ds_grd_subordlist1.getColumn(ds_grd_subordlist1.rowposition,"hngnm");
- var age = ds_grd_subordlist1.getColumn(ds_grd_subordlist1.rowposition,"age");
- var ioflag = ds_grd_subordlist1.getColumn(ds_grd_subordlist1.rowposition,"prcpgenrflag");
- }
- if ( group3.switch1.tabindex == 1 ) {
- var orddd = ds_grd_mainordlist1.getColumn( ds_grd_mainordlist1.rowposition,"orddd");
- var cretno = ds_grd_mainordlist1.getColumn( ds_grd_mainordlist1.rowposition,"cretno");
- //var instcd = model.getValue("/root/main/ordlist1/mainordlist[" + grd_mainordlist1.row + "]/instcd");
- var instcd = sysf_getUserInfo("dutplceinstcd");
- var orddeptcd = ds_grd_mainordlist1.getColumn( ds_grd_mainordlist1.rowposition,"orddeptcd");
- var orddrid = ds_grd_mainordlist1.getColumn( ds_grd_mainordlist1.rowposition,"orddrid");
- var pid = ds_grd_mainordlist1.getColumn( ds_grd_mainordlist1.rowposition,"pid");
- var sPid = ds_grd_mainordlist1.getColumn( ds_grd_mainordlist1.rowposition,"pid");
- var hngnm = ds_grd_mainordlist1.getColumn( ds_grd_mainordlist1.rowposition,"hngnm");
- var age = ds_grd_mainordlist1.getColumn( ds_grd_mainordlist1.rowposition,"age");
- var ioflag = ds_grd_mainordlist1.getColumn( ds_grd_mainordlist1.rowposition,"prcpgenrflag");
- }
- if ( group3.switch1.tabindex == 2 ) {
- var orddd = ds_grd_mainordlist2.getColumn( ds_grd_mainordlist2.rowposition,"orddd");
- var cretno = ds_grd_mainordlist2.getColumn( ds_grd_mainordlist2.rowposition,"cretno");
- //var instcd = model.getValue("/root/main/ordlist2/mainordlist[" + grd_mainordlist2.row + "]/instcd");
- var instcd = sysf_getUserInfo("dutplceinstcd");
- var orddeptcd = ds_grd_mainordlist2.getColumn( ds_grd_mainordlist2.rowposition,"orddeptcd");
- var orddrid = ds_grd_mainordlist2.getColumn( ds_grd_mainordlist2.rowposition,"orddrid");
- var pid = ds_grd_mainordlist2.getColumn( ds_grd_mainordlist2.rowposition,"pid");
- var sPid = ds_grd_mainordlist2.getColumn( ds_grd_mainordlist2.rowposition,"pid");
- var hngnm = ds_grd_mainordlist2.getColumn( ds_grd_mainordlist2.rowposition,"hngnm");
- var age = ds_grd_mainordlist2.getColumn( ds_grd_mainordlist2.rowposition,"age");
- var ioflag = ds_grd_mainordlist2.getColumn( ds_grd_mainordlist2.rowposition,"prcpgenrflag");
- }
- if ( group3.switch1.tabindex == 3 ) {
- var orddd = ds_grd_mainordlist3.getColumn( ds_grd_mainordlist3.rowposition,"orddd");
- var cretno = ds_grd_mainordlist3.getColumn( ds_grd_mainordlist3.rowposition,"cretno");
- //var instcd = model.getValue("/root/main/ordlist3/mainordlist[" + grd_mainordlist3.row + "]/instcd");
- var instcd = sysf_getUserInfo("dutplceinstcd");
- var orddeptcd = ds_grd_mainordlist3.getColumn( ds_grd_mainordlist3.rowposition,"orddeptcd");
- var orddrid = ds_grd_mainordlist3.getColumn( ds_grd_mainordlist3.rowposition,"orddrid");
- var pid = ds_grd_mainordlist3.getColumn( ds_grd_mainordlist3.rowposition,"pid");
- var sPid = ds_grd_mainordlist3.getColumn( ds_grd_mainordlist3.rowposition,"pid");
- var hngnm = ds_grd_mainordlist3.getColumn( ds_grd_mainordlist3.rowposition,"hngnm");
- var age = ds_grd_mainordlist3.getColumn( ds_grd_mainordlist3.rowposition,"age");
- var ioflag = ds_grd_mainordlist3.getColumn( ds_grd_mainordlist3.rowposition,"prcpgenrflag");
- }
- if ( group3.switch1.tabindex == 4 ) {
- var orddd = ds_grd_mainordlist4.getColumn( ds_grd_mainordlist4.rowposition,"orddd");
- var cretno = ds_grd_mainordlist4.getColumn( ds_grd_mainordlist4.rowposition,"cretno");
- var instcd = sysf_getUserInfo("dutplceinstcd");
- //var instcd = model.getValue("/root/main/ordlist4/mainordlist[" + grd_mainordlist4.row + "]/instcd");
- var orddeptcd = ds_grd_mainordlist4.getColumn( ds_grd_mainordlist4.rowposition,"orddeptcd");
- var orddrid = ds_grd_mainordlist4.getColumn( ds_grd_mainordlist4.rowposition,"orddrid");
- var pid = ds_grd_mainordlist4.getColumn( ds_grd_mainordlist4.rowposition,"pid");
- var sPid = ds_grd_mainordlist4.getColumn( ds_grd_mainordlist4.rowposition,"pid");
- var hngnm = ds_grd_mainordlist4.getColumn( ds_grd_mainordlist4.rowposition,"hngnm");
- var age = ds_grd_mainordlist4.getColumn( ds_grd_mainordlist4.rowposition,"age");
- var ioflag = ds_grd_mainordlist4.getColumn( ds_grd_mainordlist4.rowposition,"prcpgenrflag");
- }
- var Baseparam = "recflag▦dutplaccd▦reclnkkey▩X▦004▦" + sPid + "," + orddd + "," + cretno +"," + instcd + "▩";
- var ASTparam = "pid ▦ instcd ▦ hngnm ▦ age ▦ orddd ▦ cretno ▦ ioflag ▦ orddeptcd ▦ orddrid ▩" + pid + "▦" + instcd + "▦" + hngnm + "▦" + age + "▦"+ orddd + "▦" + cretno+ "▦" + ioflag + "▦" + orddeptcd + "▦" + orddrid + "▩";
- var Prcpparam = fMakeParameter();
- frmf_setParameter("SMMNR03400_ParamBase", Baseparam);
- frmf_setParameter("SMMNR03400_AST", ASTparam );
- frmf_setParameter("SMMNR03400_ParamPrcp", Prcpparam);
-
- frmf_modal("SMMNR03400","SMMNR03400","","","","","","","","","","","M");
- }
- function group3_cmb_rsrvdd_oneditclick(obj:MaskEdit, e:EditClickEventInfo)
- {
- var ev = new ClickEventInfo;
- frmf_inputEnterKey("group3.btn_cal", "onclick", ev );
- }
- function group3_btn_cal_onclick(obj:Button, e:ClickEventInfo)
- {
- dsf_createDsRow("ds_send_popupdata", [{col: "suppdeptcd", val:lv_instance1}
- ,{col: "prcpgenrflag", val:ds_send.getColumn(0,"prcpgenrflag")}
- ,{col: "excuroomcd", val:ds_subordlist1.getColumn(0,"excuroomcd") }
- ]);
-
- var objArg = new Object();
- objArg.arg_ds_send_popupdata = ds_send_popupdata;
-
- frmf_modal("SPAEA01501","SPAEA01501",objArg,"","","","","","","","","","M");
-
-
-
- }
- function group3_cmb_rsrvtm_oneditclick(obj:MaskEdit, e:EditClickEventInfo)
- {
-
- var ev = new ClickEventInfo;
- frmf_inputEnterKey("group3.btn_cal", "onclick", ev );
- }
- function group3_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- //상단정보 초기화
- appf_delPatientInfos();
- // if ( group3.switch1.tabindex == 1 ) {
- //modal("SMMMO02500","","","","","/root/main/ordlist1/mainordlist["+grd_mainordlist1.row+"]/pid","/root/send/data/srchpid");
-
- var child = frmf_findPopup("SMMMO02500") ;
- if (!utlf_isNull(child)) {
- child.ds_patinfolist.setColumn(0,"pid" , ds_subordlist1.getColumn(0,"pid"));
- frmf_setParameter ( "SMMMO02500_cond" , ds_subordlist1.getColumn(0,"pid"));
- //child.btn_bfprcpsrch.dispatch("DOMActivate");
- //child.ipt_pid.dispatch("onkeypress");
- child.fReqGetPatComnInfo(child.ds_send_reqdata, ds_subordlist1.getColumn(0,"pid"));
- //child.button1.selected = true;
- //child.model.toggle("case1");
- child.switch1.tabindex = 0;
-
- dsf_copyDs(child.ds_patinfolist, child.ds_srchinfo_patinfolist,"replace");
- child.ds_bfprcp_prcplist.clearData();
- child.ds_bfprcpday.clearData();
- child.switch1.case1.grd_prcpdd.visible = false;
- child.switch1.case1.grd_bfprcplist.position.left = 2;
- child.switch1.case1.grd_bfprcplist.position.width = 1190;
-
-
- }else{
- frmf_setParameter ( "SMMMO02500_cond" , ds_subordlist1.getColumn(0,"pid"));
- frmf_open("SMMMO02500","SMMMO02500","", "", "", "", "", "", "", "", "", "","M");
- }
-
- }
- function group3_btn_excucmt_onclick(obj:Button, e:ClickEventInfo)
- {
- //var tabgubn = model.getValue("/root/hidden/tabgubnlist/tabgubn");
- var loop;
- var check;
- var execprcpstatcd;
- var execbaseflag;
- var grd;
- var loopcnt="";
- var execncl="";
- var list = "";
-
- list = "ordlist2";
- grd = ds_grd_mainordlist2.rowcount;
-
- for(var i=0 ; i < grd ; i++) {
- if( ds_grd_mainordlist2.getColumn(i,"check") == "Y" || ds_grd_mainordlist2.getColumn(i,"check") == "1") {
- //검사Comment 저장
- ds_grd_mainordlist2.setColumn(i,"acptrem", group3.tar_execrem.value);
-
- }
- }
- ds_grd_mainordlist2.filter("check=='Y' || check=='1'");
- dsf_createDs("ds_send_mainordlist2");
- ds_send_mainordlist2.copyData(ds_grd_mainordlist2,true);
- ds_grd_mainordlist2.filter("");
-
-
-
- if ( ds_send_mainordlist2.rowcount = 0 ) {
- sysf_messageBox("처방을","C002");
- return "0";
- }
- var oParam = {};
- oParam.id = "TXAEA01511";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqExeExcuActMemoCodeList";
- oParam.inds = "reqparam=ds_send_mainordlist2";
- oParam.outds = "ds_result_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TXAEA01511";
- tranf_submit(oParam);
-
- fGetExamCureAcptList("T"); // 접수
- }
- function group3_btn_BarCodePrint_onclick(obj:Button, e:ClickEventInfo)
- {
-
- if (utlf_isNull(ds_subordlist1.getColumn(0,"pid")) ) {
- sysf_messageBox("처방목록이 선택되지 ", "E007");
- return;
- }
-
- //makeReportPreview(0,0,10, 10, "");
- //fPrintRexbar("RPAER01200"); // 영상의학과
- group3.group00.ipt_patcntctel.value = 1;
- group3.group00.visible = true;
- //rptf_printRexbar("RPAEA01502","","/root/rexsend/rexbarcode",ds_rexbarcode,"","lf_complete"); //내시경전용
- }
- function lf_complete() {
- this.setTimer(1,100);
- }
- function group3_btn_rsrvsrch_onclick(obj:Button, e:ClickEventInfo)
- {
- if ( group3.switch1.tabindex == 1 ) {
- var objArg = new Object();
- dsf_createDs("ds_temp_source");
- ds_temp_source.addColumn("srchpid","string");
- ds_temp_source.addRow();
- ds_temp_source.setColumn(0,"srchpid",ds_grd_mainordlist1.getColumn(ds_grd_mainordlist1.rowposition,"pid"));
-
- objArg.arg_ds_send = ds_temp_source;
-
- frmf_modal("SMAEA04100","SMAEA04100",objArg,"","","","","","","","","","M");
- }
- if ( group3.switch1.tabindex == 2 ) {
-
- var objArg = new Object();
- dsf_createDs("ds_temp_source");
- ds_temp_source.addColumn("srchpid","string");
- ds_temp_source.addRow();
- ds_temp_source.setColumn(0,"srchpid",ds_grd_mainordlist2.getColumn(ds_grd_mainordlist2.rowposition,"pid"));
- objArg.arg_ds_send = ds_temp_source;
-
- frmf_modal("SMAEA04100","SMAEA04100",objArg,"","","","","","","","","","M");
- }
- if ( group3.switch1.tabindex == 3 ) {
- var objArg = new Object();
- dsf_createDs("ds_temp_source");
- ds_temp_source.addColumn("srchpid","string");
- ds_temp_source.addRow();
- ds_temp_source.setColumn(0,"srchpid",ds_grd_mainordlist3.getColumn(ds_grd_mainordlist3.rowposition,"pid"));
- objArg.arg_ds_send = ds_temp_source;
-
- frmf_modal("SMAEA04100","SMAEA04100",objArg,"","","","","","","","","","M");
- }
- if ( group3.switch1.tabindex == 4 ) {
- var objArg = new Object();
- dsf_createDs("ds_temp_source");
- ds_temp_source.addColumn("srchpid","string");
- ds_temp_source.addRow();
- ds_temp_source.setColumn(0,"srchpid",ds_grd_mainordlist4.getColumn(ds_grd_mainordlist4.rowposition,"pid"));
- objArg.arg_ds_send = ds_temp_source;
-
- frmf_modal("SMAEA04100","SMAEA04100",objArg,"","","","","","","","","","M");
- }
- if ( group3.switch1.tabindex == 0 ) {
-
- var objArg = new Object();
- dsf_createDs("ds_temp_source");
- ds_temp_source.addColumn("srchpid","string");
- ds_temp_source.addRow();
- ds_temp_source.setColumn(0,"srchpid",ds_grd_subordlist1.getColumn(ds_grd_subordlist1.rowposition,"pid"));
-
-
- objArg.arg_ds_send = ds_temp_source;
-
- frmf_modal("SMAEA04100","SMAEA04100",objArg,"","","","","","","","","","M");
- }
- }
- function group3_btn_upclear_onclick(obj:Button, e:ClickEventInfo)
- {
- appf_delPatientInfos();
- }
- function group3_button12_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_open("SMAHR00120","SMAHR00120","","","","","","","","","","","M");
- }
- function group3_btn_patcmtsave_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_send.setColumn(0,"patrem", ds_patlist_patrem.getColumn(0,"memo"));
- ds_send.setColumn(0,"prsrvdd", ds_send.getColumn(0,"srchdate1"));
- dsf_createDsRow("ds_send_reqparam", [{col: "basesuppdeptcd", val:lv_instance1}
- ,{col: "memodesc", val:ds_send.getColumn(0,"patrem")}
- ,{col: "excuroomcd", val:ds_send.getColumn(0,"pexcuroomcd") }
- ,{col: "memodd", val:ds_send.getColumn(0,"prsrvdd") }
- ,{col: "memorgstddprcpdd", val:ds_send.getColumn(0,"memorgstddprcpdd") }
- ,{col: "ecgflag", val:ds_send.getColumn(0,"ecgflag") }
- ,{col: "pid", val:ds_send.getColumn(0,"srchpid") }
- ]);
-
- dsf_setFixVal(ds_send_reqparam, "showstartdd:20070707,showenddd:99999999");
- var oParam = {};
- oParam.id = "TXAEA01109";
- oParam.service = "examcureacptexecapp.PatRem";
- oParam.method = "reqInsPatRem";
- oParam.inds = "reqparam=ds_send_reqparam";
- oParam.outds = "ds_result_item=rtnParm";
- oParam.async = false;
- //oParam.callback = "cf_TXAEA01109";
- tranf_submit(oParam);
- //환자Comment 환자정보 조회
- call_TRAEA01517();
-
- //상병정보, 검사예약, 진료예약, 처방내역
- var oParam = {};
- oParam.id = "TRAEA01506";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_reqparam";
- oParam.outds = "ds_subordlist1=examcureexecdiaglist ds_grd_ordlist1=gettestrsrvinfo ds_grd_ordlist2=getordrsrvinfo ds_grd_subprcplist=examcureexecprcplist ds_examcureexecdiaglist=diaglist ds_prcpdelifactlist=prcpdelifactlist ds_isolinfo=patisolinfolist ds_main_subordlist_nameconflict=conflictyn";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01506";
- tranf_submit(oParam);
-
- //20170213 산정특례종료일자 보여주기
- var serdiagtodd = ds_patlist_serdiagtodd.getColumn(0,"serdiagtodd");
- var rareobsttodd = ds_patlist_serdiagtodd.getColumn(0,"rareobsttodd");
- if ( !utlf_isNull(serdiagtodd) && serdiagtodd != "-" ) {
- serdiagtodd = serdiagtodd.substr(0,4) + "년 " + serdiagtodd.substr(4,2) + "월 " + serdiagtodd.substr(6,2) + "일";
- group3.opt_vipflag.value = "중증 종료일자는 [ " + serdiagtodd + " ] 입니다"
- }
- if ( !utlf_isNull(rareobsttodd) && rareobsttodd != "-" ) {
- rareobsttodd = rareobsttodd.substr(0,4) + "년 " + rareobsttodd.substr(4,2) + "월 " + rareobsttodd.substr(6,2) + "일";
- group3.opt_vipflag.value = "희귀난치 종료일자는 [ " + rareobsttodd + " ] 입니다"
- }
-
- // group3.cpt_isolinfo.text = "";
- // if (model.getValue("/root/main/patrem/isolinfo/etccnts") != "") {
- // group3.cpt_isolinfo.text = "확인";
- // }
- //
- // //조회내역이 없을경우 노드만 새로 생성.
- // if(utlf_isNull(group3.tar_patrem.value)) {
- // model.makeNode("/root/main/patrem/rem/memo");
- //
- // }
- }
- function call_TRAEA01517() {
- var objExtCommon = new ExtCommon();
-
- dsf_createDsRow("ds_send_reqparam", [{col: "basesuppdeptcd", type:"STRING", size:256, val:lv_instance1}
- ,{col: "suppdeptcd", type:"STRING", size:256, val:lv_instance1}
- ,{col: "excuroomcd", type:"STRING", size:256, val:ds_send.getColumn(0,"pexcuroomcd") }
- ,{col: "memorgstdd", type:"STRING", size:256, val:ds_send.getColumn(0,"memodd") }
- ,{col: "memorgstddprcpdd", type:"STRING", size:256, val:ds_send.getColumn(0,"memorgstddprcpdd") }
- ,{col: "ecgflag", type:"STRING", size:256, val:ds_send.getColumn(0,"ecgflag") }
- ,{col: "initexcuroom", type:"STRING", size:256, val:ds_send.getColumn(0,"excuroomcdid") }
- ,{col: "bodypartcdid", type:"STRING", size:256, val:ds_send.getColumn(0,"bodypartcdid") }
- ,{col: "srchdate1", type:"STRING", size:256, val:ds_send.getColumn(0,"srchdate1") }
- ,{col: "srchdate2", type:"STRING", size:256, val:ds_send.getColumn(0,"srchdate2") }
- ,{col: "acptlistflag", type:"STRING", size:256, val:ds_send.getColumn(0,"acptlistflag") }
- ,{col: "pid", type:"STRING", size:256, val:ds_send.getColumn(0,"srchpid") }
- ,{col: "srchpid", type:"STRING", size:256, val:ds_send.getColumn(0,"srchpid") }
- ,{col: "excuroomflag", type:"STRING", size:256, val:lv_instance1 }
- ,{col: "orddd", type:"STRING", size:256, val:ds_send.getColumn(0,"orddd") }
- ,{col: "prcpgenrflag", type:"STRING", size:256, val:ds_send.getColumn(0,"prcpgenrflag") }
- ,{col: "ioflag", type:"STRING", size:256, val:ds_send.getColumn(0,"ioflag") }
- ,{col: "execprcpuniqno", type:"INT" , size:256, val:ds_send.getColumn(0,"execprcpuniqno") }
- ,{col: "orddeptcd", type:"STRING", size:256, val:ds_send.getColumn(0,"orddeptcd") }
- ,{col: "prcpdd", type:"STRING", size:256, val:ds_send.getColumn(0,"prcpdd") }
- ,{col: "prcpno", type:"INT" , size:256, val:ds_send.getColumn(0,"prcpno") }
- ,{col: "largeclass", type:"STRING", size:256, val:"M5" }
- ,{col: "sublist", type:"STRING", size:256, val:"sub" }
- ,{col: "deptflag", type:"STRING", size:256, val:ds_send.getColumn(0,"deptflag") }
- ,{col:"ipaddr", type:"STRING", size:256, val: objExtCommon.getIPAddress() }
- ]);
-
- ds_patlist_patrem.clearData();
- var oParam = {};
- oParam.id = "TRAEA01517";
- oParam.service = "examcureacptexecapp.PatRem";
- oParam.method = "reqGetFuncPatRemList";
- oParam.inds = "reqparam=ds_send_reqparam";
- oParam.outds = "ds_patlist_patrem=grdAeahMemoList ds_patlist_serdiagtodd=sltpatinfolist";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01517";
- tranf_submit(oParam);
- }
- function cf_TRAEA01517(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- ds_patlist_patrem.updateColID("memodesc","memo");
- if(ds_patlist_patrem.rowcount == 0) ds_patlist_patrem.addRow();
- }
- function group3_btn_prntset_onclick(obj:Button, e:ClickEventInfo)
- {
- fSetPrint();
- }
- function group3_bool1_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
- {
- if(e.postvalue == true)
- {
- var execprcphistcd = "";
- var execdd = "";
- for (var i = 0; i < ds_grd_subprcplist.rowcount; i ++){
- execprcphistcd = ds_grd_subprcplist.getColumn(i,"execprcphistcd");
- execdd = ds_grd_subprcplist.getColumn(i,"execdd");
-
- if(execprcphistcd == "O" && execdd == "00000000"){
- ds_grd_subprcplist.setColumn(i,"check", "Y");
- }else{
- ds_grd_subprcplist.setColumn(i,"check", "N");
- }
- }
-
-
- //20140731 by kya 선택진료비변경에 따른 안내메시지
- for ( var i = 0; i < ds_grd_subprcplist.rowcount; i++) {
- var checkflag = ds_grd_subprcplist.getColumn(i,"check");
- if ( checkflag == "Y" || checkflag == "1" ) {
- var pid = ds_grd_subprcplist.getColumn(i,"pid");
- var prcpdd = ds_grd_subprcplist.getColumn(i,"prcpdd");
- var execprcpuniqno = ds_grd_subprcplist.getColumn(i,"execprcpuniqno");
-
- var cnt = getPrcpRcptCheck("AST", pid, "","", prcpdd, execprcpuniqno );
- if ( cnt > 0 ) break;
- }
- }
- }
- else
- {
- for (var i = 0; i < ds_grd_subprcplist.rowcount; i ++){
- ds_grd_subprcplist.setColumn(i,"check", "N");
- }
- }
- }
- function group7_btn_close_onclick(obj:Button, e:ClickEventInfo)
- {
- group7.visible = false;
- //cpt_isoldata.visible = false;
- //line14.visible = false;
- //line19.visible = false;
- //btn_close.visible = false;
- //textarea1.visible = false;
- //caption20.visible = false;
- }
- function pmn_menu_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- eval(e.id + "()");
- }
- function group3_btn_case5_onclick(obj:Button, e:ClickEventInfo)
- {
- group3.switch1.enableevent = false;
- group3.switch1.tabindex = 0;
- lf_tabEvnt(0);
- lf_btn_Selected(5);
- group3.switch1.enableevent = true;
- }
- function group3_btn_case1_onclick(obj:Button, e:ClickEventInfo)
- {
- group3.switch1.enableevent = false;
- group3.switch1.tabindex = 1;
- lf_tabEvnt(1);
- lf_btn_Selected(1);
- group3.switch1.enableevent = true;
- }
- function group3_btn_case2_onclick(obj:Button, e:ClickEventInfo)
- {
- group3.switch1.enableevent = false;
- group3.switch1.tabindex = 2;
- lf_tabEvnt(2);
- lf_btn_Selected(2);
- group3.switch1.enableevent = true;
- }
- function group3_btn_case3_onclick(obj:Button, e:ClickEventInfo)
- {
- group3.switch1.enableevent = false;
- group3.switch1.tabindex = 3;
- lf_tabEvnt(3);
- lf_btn_Selected(3);
- group3.switch1.enableevent = true;
- }
- function group3_btn_case4_onclick(obj:Button, e:ClickEventInfo)
- {
- group3.switch1.enableevent = false;
- group3.switch1.tabindex = 4;
- lf_tabEvnt(4);
- lf_btn_Selected(4);
- group3.switch1.enableevent = true;
- }
- function lf_btn_Selected(btnId){
- if( utlf_isNull(btnId) ) return;
- for( var i = 1; i < 6; i++ ){
- if( i == btnId){
- var btnObj = group3.components["btn_case"+i];
- btnObj.setSelectStatus(true);
- btnObj.class = "btn_tab_S";
- }else{
- var btnObj = group3.components["btn_case"+i];
- btnObj.setSelectStatus(false);
- btnObj.class = "btn_tab";
- }
- }
- }
- function ds_grd_subprcplist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid=="check") {
- obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
- }
- }
- function group3_grd_subprcplist_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- var selectedRows = grdf_getSelectedRows(group3.grd_subprcplist);
-
- if (selectedRows.length > 1) {
- for ( var i = 0; i < ds_grd_subprcplist.rowcount; i++) {
- ds_grd_subprcplist.setColumn(i,"check", "N");
- }
-
- for (var i= 0; i < selectedRows.length; i++){
- ds_grd_subprcplist.setColumn(selectedRows[i], "check", "Y");
- }
- }
- }
- function group3_switch1_case5_grd_subordlist1_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row < 0 || e.col < 0) return;
- obj.setFocus();
- grdf_setSelectedCell(obj, e);
- //obj.oncellclick.fireEvent(obj, new GridClickEventInfo());
- pmn_menu.innerdataset = "ds_init_pmenu_grid06";
- pmn_menu.idcolumn = "func";
- pmn_menu.captioncolumn = "name";
- pmn_menu.levelcolumn = "func";
- pmn_menu.trackPopup(e.screenX,e.screenY);
-
- return true;
- }
- function fMakeCopyColumn(objDs,sColSrc,sColTgt) {
- if(utlf_isNull(objDs.getColumnInfo(sColTgt))) objDs.addColumn(sColTgt,"string");
- for(var i = 0 ; i < objDs.rowcount ; i++) {
- objDs.setColumn(i,sColTgt,objDs.getColumn(i,sColSrc));
- }
- }
- function cf_TRAEA01506(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- ds_grd_subprcplist.addColumn("check","string");
- }
- function group3_cpt_isolinfo_onclick(obj:Static, e:ClickEventInfo)
- {
- group7.visible = true;
- }
- function group3_switch1_case1_grd_mainordlist1_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- var selectedRows = grdf_getSelectedRows(obj);
- for (var i= 0; i < selectedRows.length; i++){
- ds_grd_mainordlist1.setColumn(selectedRows[i],"check","Y");
- }
- }
- function Static00_onclick(obj:Static, e:ClickEventInfo)
- {
-
- }
- function group3_grd_subprcplist_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row < 0 || e.col < 0) return;
- obj.setFocus();
- grdf_setSelectedCell(obj, e);
- //obj.oncellclick.fireEvent(obj, new GridClickEventInfo());
- if (group3.switch1.tabindex != 5) {
- if(ds_grd_subprcplist.getColumn(e.row,"mset") == "ⓜ" ){
- pmn_menu.innerdataset = "ds_init_pmenu_grid03";
- pmn_menu.idcolumn = "func";
- pmn_menu.captioncolumn = "name";
- pmn_menu.levelcolumn = "func";
- pmn_menu.trackPopup(e.screenX,e.screenY);
-
- }else if(ds_grd_subprcplist.getColumn(e.row,"prcpgenrflag") == "S" ){
- pmn_menu.innerdataset = "ds_init_pmenu_grid03";
- pmn_menu.idcolumn = "func";
- pmn_menu.captioncolumn = "name";
- pmn_menu.levelcolumn = "func";
- pmn_menu.trackPopup(e.screenX,e.screenY);
- }else if(ds_grd_subprcplist.getColumn(e.row,"mset") != "ⓜ" ){
- pmn_menu.innerdataset = "ds_init_pmenu_grid05";
- pmn_menu.idcolumn = "func";
- pmn_menu.captioncolumn = "name";
- pmn_menu.levelcolumn = "func";
- pmn_menu.trackPopup(e.screenX,e.screenY);
- }
- }
-
- return true;
- }
- function SMAEA01500_ontimer(obj:Form, e:TimerEventInfo)
- {
- if(e.timerid == 1) {
- this.killTimer(1);
-
- group3.btn_BarCodePrint.setFocus();
- }
- }
- function group3_group00_btn_prtlabel_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_rexbarcode.clearData();
- ds_rexbarcode.addRow();
- ds_rexbarcode.setColumn(0,"pid", ds_subordlist1.getColumn(0,"pid"));
- ds_rexbarcode.setColumn(0,"patnm", ds_subordlist1.getColumn(0,"patnm"));
- ds_rexbarcode.setColumn(0,"prcpnm", ds_subordlist1.getColumn(0,"prcpnm"));
- ds_rexbarcode.setColumn(0,"gbn", "");
- ds_rexbarcode.setColumn(0,"rrgstno1", ds_subordlist1.getColumn(0,"rgstno"));
- ds_rexbarcode.setColumn(0,"rrgstno2", "");
- ds_rexbarcode.setColumn(0,"rsrvdd", "");
- ds_rexbarcode.setColumn(0,"sex", ds_subordlist1.getColumn(0,"sna"));
- ds_rexbarcode.setColumn(0,"age", "");
- ds_rexbarcode.setColumn(0,"wardcddeptengabbr", ds_subordlist1.getColumn(0,"prcpgenrflag"));
- ds_rexbarcode.setColumn(0,"excupartcd", "");
- ds_rexbarcode.setColumn(0,"roomcd", "");
- ds_rexbarcode.setColumn(0,"examroomnm", ds_subordlist1.getColumn(0,"orddrnm"));
- ds_rexbarcode.setColumn(0,"wardcdnm", ds_subordlist1.getColumn(0,"orddepthngnm"));
- ds_rexbarcode.setColumn(0,"prcphopedd", ds_subordlist1.getColumn(0,"prcpdd"));
-
- var prtcnt = group3.group00.ipt_patcntctel.value;
- if(prtcnt > 0){
- var sOption = "copies=" + prtcnt;
- rptf_printRexbar("RPAEA01502","","/root/rexsend/rexbarcode",ds_rexbarcode,"","lf_complete", sOption); //내시경전용
- }
- group3.group00.visible = false;
- }
- function group3_group00_button9_onclick(obj:Button, e:ClickEventInfo)
- {
- group3.group00.visible = false;
- }
- //20190710 바코드 환경 설정
- function fn_barcdprntsetup(){
- //20190710 환자팔찌 후 바코드 재설정
- ds_barcdprntsetup.clearData();
-
- //바코드 출력
- ds_send.setColumn(0,"scrnid", frmf_getScreenID()); // 20090617 SATO 관련 추가
- var oParam = {};
- oParam.id = "TRLLC90101";
- oParam.service = "diagtestapplib.LisCommon";
- oParam.method = "reqGetSetUpInfo";
- oParam.inds = "scrnid=ds_send";
- oParam.outds = "ds_barcdprntsetup=getSetUpInfo";
- oParam.async = false;
- //oParam.callback = "cf_TRLLC90101";
- tranf_submit(oParam); // 20090617 SATO 관련 추가
- lf_convertXmlToDs(ds_barcdprntsetup.getColumn(0,"prntsetupinfo"));
-
- }
- function group3_btn_bracelet_onclick(obj:Button, e:ClickEventInfo)
- {
- //설정된 상단정보를 불러옴
- ds_main_paminfo.clearData();
- var node = sysf_getGlobalVariable("paminfo");
- dsf_setCSVToDs("ds_main_paminfo", node);
-
- if (!utlf_isNull(ds_main_paminfo.getColumn(0, "pid"))) { //상단정보에 환자가 셋팅되어 있을 경우
- var pid, indd, cretno, mskind, histstat;
-
- ds_barcdprntsetup.clearData();
- dsf_makeValue(ds_send,"scrnid", "string", "SMMNR00600");
- var comport = "1";
-
- var oParam = {};
- oParam.id = "TRLLC90101";
- oParam.service = "diagtestapplib.LisCommon";
- oParam.method = "reqGetSetUpInfo";
- oParam.inds = "scrnid=ds_send";
- oParam.outds = "ds_barcdprntsetup=getSetUpInfo";
- oParam.async = false;
- oParam.callback = "cf_TRLLC90101";
- tranf_submit(oParam);
-
- //XML string 값을 파라미터로 넘김
- //성공시 : 'success' 실패시 : 'error' 값을 리턴함
- var sParamObj = new Object();
- sParamObj.pathYN = 'N'; //dsvaluepath 컬럼 사용여부
-
- var pXmlStr = ds_barcdprntsetup.getColumn(0, "prntsetupinfo");
- var succYn = lf_convertXmlToDs(pXmlStr, sParamObj);
- if(arErrorCode.pop("TRLLC90101") > -1){
- comport = ds_data_comm02.getColumn(0,"comm"); //model.getValue("/root/main_nm/barcdprntsetup/prntsetupinfo/setupinfo[1]/comm02/comm");
- }
-
- // 바코드OCX 생성
- //2. 바코드 라벨 환경설정
- var barcdRef = "ds_BarCodeNode";
- lzzfMakeBrcdPrntObjHanDo("CommAX");
-
-
- pid = ds_main_paminfo.getColumn(0, "pid");
- indd = ds_main_paminfo.getColumn(0, "orddd");
- cretno = ds_main_paminfo.getColumn(0, "cretno");
- mskind = ds_main_paminfo.getColumn(0, "mskind");
- histstat = ds_main_paminfo.getColumn(0, "histstat");
-
- ds_send.addColumn("data17", "string");
- dsf_createDs("ds_hidden_h_receipt");
- ds_hidden_h_receipt.addColumn(0, "receipt");
-
- // model.removeNodeset("/root/hidden/h_receipt");
- // model.removeNodeset("/root/send/data17");
- //원무 메소드 호출
- //fInPatBarCodePrn(pid, indd, cretno, mskind, histstat, comport);
-
- /* 삭제된 파라미터 : pPort - COM Port 지정값
- * 추가된 파라미터 : pSetyn - 프린터설정정보 셋팅여부
- * pScrid - 프린터설정정보 조회용 화면 아이디
- * pBarcdRef - 설정정보 xpath
- */
- //------(20100914) 경북대 s
- dsf_makeValue(ds_main_barcdprntsetup,"macaddr", "string", "별도경로설정");
- //------(20100914) 경북대 e
-
- //trace("1.fPMIFPrintBarCode 시작");
- fPMIFPrintBarCode(pid, indd, cretno, mskind, histstat, "N", "SMMNR00600", barcdRef); // 20090527 변경됨.
- //trace("1.fPMIFPrintBarCode 종료");
-
- //------(20100914) 경북대 s
- ds_main_barcdprntsetup.deleteColumn("macaddr");
- //------(20100914) 경북대 e
-
- } else {
- sysf_messageBox("환자를 선택 후 출력하십시오", "I");
- }
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : grp_sea.ipt_pid
- * Event : onkeyup
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 20200123 코로나바이러스 알림 호출 pid= '2199411'
- ****************************************************************************************/
- function fc_check_coronavirus()
- { //20200123 코로나바이러스 알림 호출 pid= '2199411'
-
- //select * from ast.aebmcode where instcd = '031' and suppdeptcd = '0000000000' and grupcdid = 'A100' ;
- lf_getAstCodeList([{dsNm: "ds_init_A1000", cdGrpId:"A1000", sortField: "dispseq", sortMehotd: "asc"}], true);
-
- var curddyn = ds_init_A1000.getColumn(1, "cdid"); //2번째 row 여서...
- //trace("curddyn = " + curddyn);
-
- if ( curddyn == 'Y') {
- var sPid = ds_subordlist1.getColumn(0, "pid");
- frmf_setParameter("SPMMD00100_ifyn", "Y");
- frmf_setParameter("SPMMD00100_pid", sPid);
- var argxpt = system.clientToScreenX(this, 0) + 300;
- var argypt = system.clientToScreenY(this, 0) + 100;
-
- frmf_modal("SPMMO51000", "SPMMO51000", null, false, null, argxpt, argypt, null, null, null, null, null, "M");
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|