1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAEA01103" position="absolute 0 0 1197 805" titletext="접수관리(일인다검사)" oninit="SMAEA01103_oninit" onload="SMAEA01103_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 776 1195 803" id="group4" scrollbars="autoboth" taborder="1" anchor="left right bottom">
- <Layouts>
- <Layout>
- <Button position="absolute 164 2 268 24" id="button1" class="btn3" text="예약시간관리" anchor="default" onclick="group4_button1_onclick"/>
- <Button position="absolute 2 2 82 24" id="button14" class="btn3" text="결과조회" anchor="default" onclick="group4_button14_onclick"/>
- <Button position="absolute 1075 1 1195 23" id="button30" class="btn4" text="검사OCR재출력" anchor="top right" onclick="group4_button30_onclick"/>
- <Button position="absolute 605 2 685 24" id="button25" class="btn3" visible="false" text="통합예약" anchor="default" onclick="group4_button25_onclick"/>
- <Button position="absolute 269 2 349 24" id="button2" class="btn3" text="진료예약" anchor="default" onclick="group4_button2_onclick"/>
- <Button position="absolute 350 2 430 24" id="button4" class="btn3" text="처방조회" anchor="default" onclick="group4_button4_onclick"/>
- <Button position="absolute 431 2 511 24" id="button5" class="btn3" text="예약조회" anchor="default" onclick="group4_button5_onclick"/>
- <Button position="absolute 83 2 163 24" id="button9" class="btn3" text="결과서식" anchor="default" onclick="group4_button9_onclick"/>
- <Button position="absolute 969 1 1074 23" id="btn_barcdprint" class="btn4" visible="false" text="바코드재출력" anchor="top right" onclick="group4_btn_barcdprint_onclick"/>
- <Button position="absolute 512 2 604 24" id="button26" class="btn3" visible="true" text="프린터설정" anchor="default" onclick="group4_button26_onclick"/>
- <Edit id="input1" taborder="1" value="2" onkeydown="group4_input1_onkeydown" class="input_search" enable="false" position="absolute 932 2 962 21" visible="false" anchor="top right"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 0 1194 25" id="grp_top">
- <Layouts>
- <Layout>
- <Static position="absolute 0 0 91 25" id="cap_title" class="tit_1" style="align:left middle;" text="접수 관리"/>
- <Static text=" " position="absolute 99 7 259 20" id="caption6" style="font:Dotum,11,bold;" onclick="grp_top_caption6_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 25 1195 777" id="grp_body" scrollbars="none" taborder="2" anchor="all">
- <Layouts>
- <Layout>
- <Button position="absolute 288 479 330 501" id="btn_tmprsrv" class="btn2" text="임시" anchor="left bottom" onclick="grp_body_btn_tmprsrv_onclick"/>
- <Combo position="absolute 287 456 335 476" id="cmb_hour" class="combo_default" codecolumn="codecolumn" datacolumn="datacolumn" anchor="left bottom">
- <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">08</Col>
- <Col id="datacolumn">08</Col>
- </Row>
- <Row>
- <Col id="codecolumn">09</Col>
- <Col id="datacolumn">09</Col>
- </Row>
- <Row>
- <Col id="codecolumn">10</Col>
- <Col id="datacolumn">10</Col>
- </Row>
- <Row>
- <Col id="codecolumn">11</Col>
- <Col id="datacolumn">11</Col>
- </Row>
- <Row>
- <Col id="codecolumn">12</Col>
- <Col id="datacolumn">12</Col>
- </Row>
- <Row>
- <Col id="codecolumn">13</Col>
- <Col id="datacolumn">13</Col>
- </Row>
- <Row>
- <Col id="codecolumn">14</Col>
- <Col id="datacolumn">14</Col>
- </Row>
- <Row>
- <Col id="codecolumn">15</Col>
- <Col id="datacolumn">15</Col>
- </Row>
- <Row>
- <Col id="codecolumn">16</Col>
- <Col id="datacolumn">16</Col>
- </Row>
- <Row>
- <Col id="codecolumn">17</Col>
- <Col id="datacolumn">17</Col>
- </Row>
- <Row>
- <Col id="codecolumn">18</Col>
- <Col id="datacolumn">18</Col>
- </Row>
- <Row>
- <Col id="codecolumn">19</Col>
- <Col id="datacolumn">19</Col>
- </Row>
- <Row>
- <Col id="codecolumn">20</Col>
- <Col id="datacolumn">20</Col>
- </Row>
- <Row>
- <Col id="codecolumn">21</Col>
- <Col id="datacolumn">21</Col>
- </Row>
- <Row>
- <Col id="codecolumn">22</Col>
- <Col id="datacolumn">22</Col>
- </Row>
- <Row>
- <Col id="codecolumn">23</Col>
- <Col id="datacolumn">23</Col>
- </Row>
- <Row>
- <Col id="codecolumn">24</Col>
- <Col id="datacolumn">24</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static text="시" position="absolute 335 456 355 476" id="caption9" anchor="left bottom"/>
- <Combo position="absolute 356 456 404 476" id="cmb_min" class="combo_default" codecolumn="codecolumn" datacolumn="datacolumn" anchor="left bottom">
- <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">00</Col>
- <Col id="datacolumn">00</Col>
- </Row>
- <Row>
- <Col id="codecolumn">10</Col>
- <Col id="datacolumn">10</Col>
- </Row>
- <Row>
- <Col id="codecolumn">20</Col>
- <Col id="datacolumn">20</Col>
- </Row>
- <Row>
- <Col id="codecolumn">30</Col>
- <Col id="datacolumn">30</Col>
- </Row>
- <Row>
- <Col id="codecolumn">40</Col>
- <Col id="datacolumn">40</Col>
- </Row>
- <Row>
- <Col id="codecolumn">50</Col>
- <Col id="datacolumn">50</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static text="분" position="absolute 405 456 425 476" id="caption10" anchor="left bottom"/>
- <Button position="absolute 376 479 418 501" id="btn_rsrvcncl" class="btn2" text="취소" anchor="left bottom" onclick="grp_body_btn_rsrvcncl_onclick"/>
- <Div position="absolute 0 0 505 60" align="align:center top;" id="grp_sea" anchor="left top right" class="div_SA">
- <Layouts>
- <Layout>
- <Static text="등록번호 :" position="absolute 289 10 380 27" id="caption1" class="search_name" anchor="default"/>
- <Button position="absolute 457 10 473 26" id="button61" class="icon_search" text="" anchor="default" onclick="grp_body_grp_sea_button61_onclick"/>
- <Static text="적용일자 : " position="absolute 5 35 92 52" id="caption5" class="search_name" anchor="default"/>
- <Calendar position="absolute 92 33 182 52" id="ipt_date1" class="input_default" anchor="default" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd" value="null"/>
- <Calendar position="absolute 194 33 284 52" id="ipt_date2" class="input_default" anchor="default" autoselect="true" dateformat="yyyy-MM-dd"/>
- <Button position="absolute 441 31 497 53" id="btn_sea" class="btn1" text="조회" anchor="top right" onclick="grp_body_grp_sea_btn_sea_onclick" ondblclick="grp_body_grp_sea_btn_sea_ondblclick"/>
- <Static text="검사실 :" position="absolute 5 10 85 27" id="caption13" class="search_name" anchor="default"/>
- <Static text="~" position="absolute 182 35 197 50" id="caption14" anchor="default"/>
- <Combo position="absolute 286 33 366 52" id="cmb_term" class="combo_default" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" onitemchanged="grp_body_grp_sea_cmb_term_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">0</Col>
- <Col id="datacolumn">일자선택</Col>
- </Row>
- <Row>
- <Col id="codecolumn">15</Col>
- <Col id="datacolumn">15일</Col>
- </Row>
- <Row>
- <Col id="codecolumn">30</Col>
- <Col id="datacolumn">30일</Col>
- </Row>
- <Row>
- <Col id="codecolumn">60</Col>
- <Col id="datacolumn">60일</Col>
- </Row>
- <Row>
- <Col id="codecolumn">91</Col>
- <Col id="datacolumn">3개월</Col>
- </Row>
- <Row>
- <Col id="codecolumn">182</Col>
- <Col id="datacolumn">6개월</Col>
- </Row>
- <Row>
- <Col id="codecolumn">365</Col>
- <Col id="datacolumn">1년</Col>
- </Row>
- <Row>
- <Col id="codecolumn">730</Col>
- <Col id="datacolumn">2년</Col>
- </Row>
- <Row>
- <Col id="codecolumn">1095</Col>
- <Col id="datacolumn">3년</Col>
- </Row>
- <Row>
- <Col id="codecolumn">1825</Col>
- <Col id="datacolumn">5년</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Edit position="absolute 376 8 455 27" id="ipt_pid" class="input_search" anchor="default" onkeydown="grp_body_grp_sea_ipt_pid_onkeydown"/>
- <Combo id="cmb_selectexcuroom" taborder="1" innerdataset="@ds_cmb_initexecroomcd" codecolumn="excuroomcd" datacolumn="excuroomnm" onitemchanged="grp_body_grp_sea_cmb_selectexcuroom_onitemchanged" class="combo_default" position="absolute 92 8 252 27" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 2 454 285 481" id="grp_calendar" scrollbars="autoboth" anchor="left bottom">
- <Layouts>
- <Layout>
- <Shape position="absolute 1 0 283 27" id="rectangle1" class="calendar_header" type="rectangle" anchor="left bottom"/>
- <Button position="absolute 238 6 254 22" id="button32" class="icon_next_year" text="" anchor="left bottom" onclick="grp_body_grp_calendar_button32_onclick"/>
- <Button position="absolute 78 6 94 22" id="btn_premonth" class="icon_pre_month" text="" anchor="left bottom" onclick="grp_body_grp_calendar_btn_premonth_onclick"/>
- <Button position="absolute 219 6 235 22" id="button34" class="icon_next_month" text="" anchor="left bottom" onclick="grp_body_grp_calendar_button34_onclick"/>
- <Edit readonly="true" position="absolute 97 3 138 22" id="opt_year" class="calendar_output" anchor="left bottom"/>
- <Edit readonly="true" position="absolute 158 3 188 22" id="opt_month" class="calendar_output" anchor="left bottom"/>
- <Static text="년" position="absolute 138 3 158 22" id="caption11" class="calendar_output" anchor="left bottom" style="color:black;"/>
- <Static text="월" position="absolute 188 3 208 22" id="caption12" class="calendar_output" anchor="left bottom" style="color:black;"/>
- <Button position="absolute 57 6 73 22" id="button3" class="icon_pre_year" text="" anchor="left bottom" onclick="grp_body_grp_calendar_button3_onclick"/>
- <Button position="absolute 15 6 29 22" id="button63" class="icon_list" text="" anchor="left bottom" onclick="grp_body_grp_calendar_button63_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid position="absolute 580 513 755 683" id="grd_temp" visible="false" binddataset="ds_grd_temp" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="76"/>
- <Column size="62"/>
- <Column size="32"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="일자(dd)"/>
- <Cell col="1" text="가용현황"/>
- <Cell col="2" text="max"/>
- </Band>
- <Band id="body">
- <Cell text="bind:rsrvdd"/>
- <Cell col="1" text="bind:count"/>
- <Cell col="2" text="bind:max"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 287 475 418 481" linetype="horizontal" id="line8" class="line_1" anchor="left bottom"/>
- <Grid position="absolute 287 506 418 747" id="grd_rsrvposstm" binddataset="ds_grd_rsrvposstm" anchor="left bottom" oncellclick="grp_body_grd_rsrvposstm_oncellclick" onrbuttonup="grp_body_grd_rsrvposstm_onrbuttonup">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="39"/>
- <Column size="36"/>
- <Column size="36"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="시간"/>
- <Cell col="1" text="현황"/>
- <Cell col="2" text="가용"/>
- </Band>
- <Band id="body">
- <Cell text="bind:rsrvtm" mask="##:##"/>
- <Cell col="1" text="bind:count"/>
- <Cell col="2" text="bind:max"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 332 479 374 501" id="btn_rsrv" class="btn2" enable="false" text="예약" anchor="left bottom" onclick="grp_body_btn_rsrv_onclick"/>
- <Shape position="absolute 430 32 436 54" linetype="vertical" id="line13" class="line_4" anchor="top right"/>
- <Div position="absolute 420 430 1192 748" id="group5" scrollbars="autoboth" anchor="left right bottom">
- <Layouts>
- <Layout>
- <Grid position="absolute 2 27 763 291" id="grd_inclprcplist" visible="true" binddataset="ds_grd_inclprcplist" anchor="default" onrbuttonup="grp_body_group5_grd_inclprcplist_onrbuttonup">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="19"/>
- <Column size="74"/>
- <Column size="81"/>
- <Column size="272"/>
- <Column size="82"/>
- <Column size="76"/>
- <Column size="78"/>
- <Column size="82"/>
- <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="실시일자"/>
- <Cell col="7" text="결과일시"/>
- <Cell col="8" text="급/비"/>
- </Band>
- <Band id="body">
- <Cell text="bind:check" edittype="checkbox" displaytype="checkbox"/>
- <Cell col="1" enable="false" text="bind:execprcpstatcd" edittype="combo" displaytype="combo" mask="yyyy-mm-dd"/>
- <Cell col="2" text="bind:calcscorcd"/>
- <Cell col="3" text="bind:prcpnm"/>
- <Cell col="4" text="bind:prcpdd" mask="yyyy-mm-dd"/>
- <Cell col="5" text="bind:acprdd" mask="yyyy-mm-dd"/>
- <Cell col="6" text="bind:execdd" mask="yyyy-mm-dd"/>
- <Cell col="7" text="bind:cnfmdt" mask="yyyy-mm-dd"/>
- <Cell col="8" text="bind:payflagcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 2 27 772 316" id="grd_rsrvlist" binddataset="ds_grd_rsrvlist" anchor="all" oncellclick="grp_body_group5_grd_rsrvlist_oncellclick" onrbuttonup="grp_body_group5_grd_rsrvlist_onrbuttonup" cellsizingtype="both" cellsizebandtype="allband" extendsizetype="row">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="28" band="left"/>
- <Column size="39" band="left"/>
- <Column size="58" band="left"/>
- <Column size="56" band="left"/>
- <Column size="56" band="left"/>
- <Column size="75" band="left"/>
- <Column size="51" band="left"/>
- <Column size="62"/>
- <Column size="44"/>
- <Column size="78"/>
- <Column size="51"/>
- <Column size="104"/>
- <Column size="100"/>
- <Column size="60"/>
- <Column size="52"/>
- <Column size="50"/>
- <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="execprcpuniqno"/>
- <Cell col="17" text="prcpkindcd"/>
- <Cell col="18" text="prcpgenrflag"/>
- <Cell col="19" text="basecd"/>
- <Cell col="20" text="prcpexecdeptcd"/>
- <Cell col="21" text="excuroomcd"/>
- <Cell col="22" text="inflag"/>
- <Cell col="23" text="rcptacptyn"/>
- <Cell col="24" text="execbaseflag"/>
- <Cell col="25" text="orddd"/>
- <Cell col="26" text="excupartcd"/>
- <Cell col="27" text="modality"/>
- <Cell col="28" text="prcpdelivefact"/>
- <Cell col="29" text="carecnfmdd"/>
- <Cell col="30" text="rsrvdt"/>
- <Cell col="31" text="orddeptcd"/>
- <Cell col="32" text="orddrid"/>
- <Cell col="33" text="prcpno"/>
- <Cell col="34" text="basesuppdeptcd"/>
- <Cell col="35" text="cretno"/>
- <Cell col="36" text="wardcd"/>
- <Cell col="37" text="srchrsrvdt"/>
- <Cell col="38" text="rsrvrem"/>
- <Cell col="39" text="eqmtifyn"/>
- <Cell col="40" text="rgstdeptcd"/>
- <Cell col="41" text="rgstrid"/>
- <Cell col="42" text="execdt"/>
- <Cell col="43" text="execrid"/>
- <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="pacsnocretyn"/>
- <Cell col="50" text="execprcpstatcd"/>
- <Cell col="51" text="tmpldata"/>
- <Cell col="52" text="prcpdd"/>
- <Cell col="53" text="rsrvrid"/>
- <Cell col="54" text="rsrvexmptmplcd"/>
- <Cell col="55" text="instcd"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" displaytype="date" style="background:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));background2:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));" text="bind:srchrsrvtm" mask="HH:mm"/>
- <Cell col="2" style="background:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));background2:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));" text="bind:pid"/>
- <Cell col="3" style="background:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));background2:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));" text="bind:hngnm"/>
- <Cell col="4" style="background:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));background2:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));" text="bind:rrgstno1"/>
- <Cell col="5" style="background:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));background2:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));" text="bind:calcscorcd"/>
- <Cell col="6" style="background:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));background2:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));" text="bind:sna"/>
- <Cell col="7" style="background:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));background2:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));" text="bind:statcd" enable="false"/>
- <Cell col="8" style="background:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));background2:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));" text="bind:roomcd"/>
- <Cell col="9" style="align:left;background:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));background2:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));" text="bind:orddepthngnm"/>
- <Cell col="10" style="background:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));background2:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));" text="bind:orddrnm"/>
- <Cell col="11" displaytype="date" style="align:left;background:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));background2:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));" text="bind:prcpdt" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="12" style="align:left;background:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));background2:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));" text="bind:prcpnm"/>
- <Cell col="13" style="background:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));background2:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));" text="bind:rsrvrnm"/>
- <Cell col="14" style="background:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));background2:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));" text="bind:hight"/>
- <Cell col="15" style="background:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));background2:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));" text="bind:weight"/>
- <Cell col="16" text="bind:execprcpuniqno"/>
- <Cell col="17" text="bind:prcpkindcd"/>
- <Cell col="18" text="bind:prcpgenrflag"/>
- <Cell col="19" text="bind:basecd"/>
- <Cell col="20" text="bind:prcpexecdeptcd"/>
- <Cell col="21" text="bind:excuroomcd"/>
- <Cell col="22" text="bind:inflag"/>
- <Cell col="23" text="bind:rcptacptyn"/>
- <Cell col="24" text="bind:execbaseflag"/>
- <Cell col="25" text="bind:orddd"/>
- <Cell col="26" text="bind:excupartcd"/>
- <Cell col="27" text="bind:modality"/>
- <Cell col="28" text="bind:prcpdelivefact"/>
- <Cell col="29" text="bind:carecnfmdd"/>
- <Cell col="30" text="bind:rsrvdt"/>
- <Cell col="31" text="bind:orddeptcd"/>
- <Cell col="32" text="bind:orddrid"/>
- <Cell col="33" text="bind:prcpno"/>
- <Cell col="34" text="bind:basesuppdeptcd"/>
- <Cell col="35" text="bind:cretno"/>
- <Cell col="36" text="bind:wardcd"/>
- <Cell col="37" text="bind:srchrsrvdt"/>
- <Cell col="38" text="bind:rsrvrem"/>
- <Cell col="39" text="bind:eqmtifyn"/>
- <Cell col="40" text="bind:rgstdeptcd"/>
- <Cell col="41" text="bind:rgstrid"/>
- <Cell col="42" text="bind:execdt"/>
- <Cell col="43" text="bind:execrid1"/>
- <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:examroomnm"/>
- <Cell col="49" text="bind:pacsnocretyn"/>
- <Cell col="50" text="bind:execprcpstatcd"/>
- <Cell col="51" text="bind:tmpldata"/>
- <Cell col="52" text="bind:prcpdd"/>
- <Cell col="53" text="bind:rsrvrid"/>
- <Cell col="54" text="bind:rsrvexmptmplcd"/>
- <Cell col="55" text="bind:instcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 2 22 772 28" linetype="horizontal" id="line5" class="line_10" anchor="left top right"/>
- <Static text="예약내역" position="absolute 2 6 99 23" id="caption8" class="tit_2" anchor="default"/>
- <Button position="absolute 304 0 396 22" id="button12" class="btn4" enable="true" visible="true" text="예약일정표" anchor="default" onclick="grp_body_group5_button12_onclick"/>
- <CheckBox position="absolute 603 1 673 21" id="chk_rsrvyn" anchor="top right" text="진료예약" truevalue="Y" falsevalue="N"/>
- <CheckBox position="absolute 405 4 490 19" id="chk_rsrvprint" class="checkbox_search" visible="true" anchor="default" text="예약증출력" truevalue="Y" falsevalue="N"/>
- <Button id="button10" taborder="1" text="예약내역출력" class="btn2" position="absolute 684 0 770 22" onclick="grp_body_group5_button10_onclick" anchor="top right"/>
- </Layout>
- </Layouts>
- </Div>
- <ActiveX position="absolute 40 568 160 663" id="rtfviewer" progid="{a4bf7e18-5f67-4868-a726-eed421632374}" visible="false" anchor="left bottom"/>
- <Button position="absolute 330 653 372 672" id="btn_rsrvtmins" class="btn2" visible="false" text="적용" anchor="left bottom" onclick="grp_body_btn_rsrvtmins_onclick"/>
- <Button position="absolute 330 628 372 647" id="btn_rsrvmodify" class="btn2" visible="false" text="수정" anchor="left bottom" onclick="grp_body_btn_rsrvmodify_onclick"/>
- <Shape position="absolute 510 12 1194 18" linetype="horizontal" id="line7" class="line_1" anchor="top right"/>
- <Div id="div_info" taborder="1" position="absolute 506 4 1195 60" class="div_SA2" scrollbars="none" anchor="top right">
- <Layouts>
- <Layout>
- <Static id="caption17" text="등록번호" class="cell_1" position="absolute 2 4 62 27" anchor="top right"/>
- <Edit id="input2" taborder="1" readonly="true" position="absolute 64 5 164 26" anchor="top right" class="output" style="font:Dotum,12,bold;"/>
- <Static id="caption22" text="환자명" class="cell_1" position="absolute 167 4 227 27" anchor="top right"/>
- <Edit id="input3" taborder="2" readonly="true" position="absolute 229 5 329 26" anchor="top right" class="output" style="font:Dotum,12,bold;"/>
- <Static id="caption23" text="S/A" class="cell_1" position="absolute 332 4 375 27" anchor="top right"/>
- <Edit id="input7" taborder="3" readonly="true" position="absolute 378 5 449 26" anchor="top right" class="output" style="font:Dotum,9,bold;"/>
- <Static id="caption25" text="주민번호" class="cell_1" position="absolute 452 4 515 27" anchor="top right"/>
- <Edit id="input9" taborder="4" readonly="true" position="absolute 518 5 642 26" anchor="top right" class="output" style="font:Dotum,9,bold;"/>
- <Static id="caption21" text="연락처1" class="cell_1" position="absolute 2 28 62 51" anchor="top right"/>
- <Edit id="input5" taborder="6" readonly="true" position="absolute 64 29 164 50" anchor="top right" oneditdblclick="grp_body_div_info_input5_oneditdblclick" class="output" style="font:Dotum,9,bold;"/>
- <Static id="caption16" text="연락처2" class="cell_1" position="absolute 167 28 227 51" anchor="top right"/>
- <Edit id="input6" taborder="7" readonly="true" position="absolute 229 29 329 50" anchor="top right" oneditdblclick="grp_body_div_info_input6_oneditdblclick" class="output" style="font:Dotum,9,bold;"/>
- <Static id="caption24" text="주소" class="cell_1" position="absolute 332 28 375 51" anchor="top right"/>
- <Edit id="input8" taborder="8" readonly="true" position="absolute 378 29 685 50" anchor="top right" class="output" style="font:Dotum,9,bold;"/>
- <Button id="btn_upclear" taborder="9" onclick="grp_body_btn_upclear_onclick" class="icon_startend" position="absolute 665 5 684 25" anchor="top right" style="background:transparent URL('theme://images\icon_startend.gif');border:2 none #33bbbbff #effcfbff;"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="button10" taborder="3" text="1" class="icon_month" visible="true" position="absolute 3 431 26 453" onclick="grp_body_button10_onclick" anchor="left bottom"/>
- <Button id="button11" taborder="4" text="2" class="icon_month" visible="true" position="absolute 26 431 49 453" onclick="grp_body_button11_onclick" anchor="left bottom"/>
- <Button id="button13" taborder="5" text="3" class="icon_month" visible="true" position="absolute 49 431 72 453" onclick="grp_body_button13_onclick" anchor="left bottom"/>
- <Button id="button12" taborder="6" text="4" class="icon_month" visible="true" position="absolute 72 431 95 453" onclick="grp_body_button12_onclick" anchor="left bottom"/>
- <Button id="button17" taborder="7" text="5" class="icon_month" visible="true" position="absolute 95 431 118 453" onclick="grp_body_button17_onclick" anchor="left bottom"/>
- <Button id="button22" taborder="8" text="6" class="icon_month" visible="true" position="absolute 118 431 141 453" onclick="grp_body_button22_onclick" anchor="left bottom"/>
- <Button id="button23" taborder="9" text="7" class="icon_month" visible="true" position="absolute 141 431 164 453" onclick="grp_body_button23_onclick" anchor="left bottom"/>
- <Button id="button24" taborder="10" text="8" class="icon_month" visible="true" position="absolute 164 431 187 453" onclick="grp_body_button24_onclick" anchor="left bottom"/>
- <Button id="button18" taborder="11" text="9" class="icon_month" visible="true" position="absolute 187 431 210 453" onclick="grp_body_button18_onclick" anchor="left bottom"/>
- <Button id="button19" taborder="12" text="10" class="icon_month" visible="true" position="absolute 210 431 233 453" onclick="grp_body_button19_onclick" anchor="left bottom"/>
- <Button id="button15" taborder="13" text="11" class="icon_month" visible="true" position="absolute 233 431 256 453" onclick="grp_body_button15_onclick" anchor="left bottom"/>
- <Button id="button16" taborder="14" text="12" class="icon_month" visible="true" position="absolute 256 431 279 453" onclick="grp_body_button16_onclick" anchor="left bottom"/>
- <Grid id="grd_calendar" class="gridcalendar" taborder="16" binddataset="ds_grid_grd_calendar" useinputpanel="false" selecttype="cell" autofittype="col,allrow" position="absolute 3 482 285 748" style="background:white;" onclick="grd_calendar_onclick" onselectchanged="grp_body_grd_calendar_onselectchanged" oncellclick="grp_body_grd_calendar_oncellclick" anchor="left bottom">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="61"/>
- <Column size="61"/>
- <Column size="61"/>
- <Column size="61"/>
- <Column size="61"/>
- <Column size="61"/>
- <Column size="61"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="일"/>
- <Cell col="1" text="월"/>
- <Cell col="2" text="화"/>
- <Cell col="3" text="수"/>
- <Cell col="4" text="목"/>
- <Cell col="5" text="금"/>
- <Cell col="6" text="토"/>
- </Band>
- <Band id="body">
- <Cell rowspan="2" style="background:EXPR(!utlf_isNull(getColumn(currow,'sun_reglscheflag'))?getColumn(currow,'sun_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'sun_reglscheflag'))?getColumn(currow,'sun_reglscheflag'):"#ffffff");color:EXPR(getColumn(currow,'sun_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'sun_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" taborder="undefined">
- <Cell style="line:1 solid #808080ff,1 solid #808080ff,1 solid white,1 solid #808080ff;background:EXPR(!utlf_isNull(getColumn(currow,'sun_reglscheflag'))?getColumn(currow,'sun_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'sun_reglscheflag'))?getColumn(currow,'sun_reglscheflag'):"#ffffff");color:crimson;color2:crimson;selectbackground:#daa7d9ff;" class="color_sun" text="bind:sun" taborder="undefined"/>
- <Cell row="1" style="line:1 solid white,1 solid #808080ff,1 solid #808080ff,1 solid #808080ff;background:EXPR(!utlf_isNull(getColumn(currow,'sun_reglscheflag'))?getColumn(currow,'sun_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'sun_reglscheflag'))?getColumn(currow,'sun_reglscheflag'):"#ffffff");color:crimson;color2:crimson;selectbackground:#daa7d9ff;" class="color_sun" text="bind:sun_memo" taborder="undefined"/>
- </Cell>
- <Cell col="1" rowspan="2" style="background:EXPR(!utlf_isNull(getColumn(currow,'mon_reglscheflag'))?getColumn(currow,'mon_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'mon_reglscheflag'))?getColumn(currow,'mon_reglscheflag'):"#ffffff");color:EXPR(getColumn(currow,'mon_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'mon_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" taborder="undefined">
- <Cell style="line:1 solid #808080ff,1 solid #808080ff,1 solid white,1 solid #808080ff;background:EXPR(!utlf_isNull(getColumn(currow,'mon_reglscheflag'))?getColumn(currow,'mon_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'mon_reglscheflag'))?getColumn(currow,'mon_reglscheflag'):"#ffffff");color:EXPR(getColumn(currow,'mon_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'mon_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" text="bind:mon" taborder="undefined"/>
- <Cell row="1" style="line:1 solid transparent,1 solid #808080ff,1 solid #808080ff,1 solid #808080ff;background:EXPR(!utlf_isNull(getColumn(currow,'mon_reglscheflag'))?getColumn(currow,'mon_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'mon_reglscheflag'))?getColumn(currow,'mon_reglscheflag'):"#ffffff");selectbackground:#daa7d9ff;" text="bind:mon_memo" taborder="undefined"/>
- </Cell>
- <Cell col="2" rowspan="2" style="background:EXPR(!utlf_isNull(getColumn(currow,'tue_reglscheflag'))?getColumn(currow,'tue_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'tue_reglscheflag'))?getColumn(currow,'tue_reglscheflag'):"#ffffff");color:EXPR(getColumn(currow,'tue_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'tue_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" taborder="undefined">
- <Cell style="line:1 solid #808080ff,1 solid #808080ff,1 solid white,1 solid #808080ff;background:EXPR(!utlf_isNull(getColumn(currow,'tue_reglscheflag'))?getColumn(currow,'tue_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'tue_reglscheflag'))?getColumn(currow,'tue_reglscheflag'):"#ffffff");color:EXPR(getColumn(currow,'tue_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'tue_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" text="bind:tue"/>
- <Cell row="1" style="line:1 solid transparent,1 solid #808080ff,1 solid #808080ff,1 solid #808080ff;background:EXPR(!utlf_isNull(getColumn(currow,'tue_reglscheflag'))?getColumn(currow,'tue_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'tue_reglscheflag'))?getColumn(currow,'tue_reglscheflag'):"#ffffff");selectbackground:#daa7d9ff;" text="bind:tue_memo"/>
- </Cell>
- <Cell col="3" rowspan="2" style="background:EXPR(!utlf_isNull(getColumn(currow,'wed_reglscheflag'))?getColumn(currow,'wed_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'wed_reglscheflag'))?getColumn(currow,'wed_reglscheflag'):"#ffffff");color:EXPR(getColumn(currow,'wed_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'wed_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" taborder="undefined">
- <Cell style="line:1 solid #808080ff,1 solid #808080ff,1 solid white,1 solid #808080ff;background:EXPR(!utlf_isNull(getColumn(currow,'wed_reglscheflag'))?getColumn(currow,'wed_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'wed_reglscheflag'))?getColumn(currow,'wed_reglscheflag'):"#ffffff");color:EXPR(getColumn(currow,'wed_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'wed_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" text="bind:wed"/>
- <Cell row="1" style="line:1 solid transparent,1 solid #808080ff,1 solid #808080ff,1 solid #808080ff;background:EXPR(!utlf_isNull(getColumn(currow,'wed_reglscheflag'))?getColumn(currow,'wed_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'wed_reglscheflag'))?getColumn(currow,'wed_reglscheflag'):"#ffffff");selectbackground:#daa7d9ff;" text="bind:wed_memo"/>
- </Cell>
- <Cell col="4" rowspan="2" style="background:EXPR(!utlf_isNull(getColumn(currow,'thu_reglscheflag'))?getColumn(currow,'thu_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'thu_reglscheflag'))?getColumn(currow,'thu_reglscheflag'):"#ffffff");color:EXPR(getColumn(currow,'thu_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'thu_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" taborder="undefined">
- <Cell style="line:1 solid #808080ff,1 solid #808080ff,1 solid white,1 solid #808080ff;background:EXPR(!utlf_isNull(getColumn(currow,'thu_reglscheflag'))?getColumn(currow,'thu_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'thu_reglscheflag'))?getColumn(currow,'thu_reglscheflag'):"#ffffff");color:EXPR(getColumn(currow,'thu_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'thu_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" text="bind:thu"/>
- <Cell row="1" style="line:1 solid transparent,1 solid #808080ff,1 solid #808080ff,1 solid #808080ff;background:EXPR(!utlf_isNull(getColumn(currow,'thu_reglscheflag'))?getColumn(currow,'thu_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'thu_reglscheflag'))?getColumn(currow,'thu_reglscheflag'):"#ffffff");selectbackground:#daa7d9ff;" text="bind:thu_memo"/>
- </Cell>
- <Cell col="5" rowspan="2" style="background:EXPR(!utlf_isNull(getColumn(currow,'fri_reglscheflag'))?getColumn(currow,'fri_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'fri_reglscheflag'))?getColumn(currow,'fri_reglscheflag'):"#ffffff");color:EXPR(getColumn(currow,'fri_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'fri_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" taborder="undefined">
- <Cell style="line:1 solid #808080ff,1 solid #808080ff,1 solid white,1 solid #808080ff;background:EXPR(!utlf_isNull(getColumn(currow,'fri_reglscheflag'))?getColumn(currow,'fri_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'fri_reglscheflag'))?getColumn(currow,'fri_reglscheflag'):"#ffffff");color:EXPR(getColumn(currow,'fri_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'fri_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" text="bind:fri"/>
- <Cell row="1" style="line:1 solid transparent,1 solid #808080ff,1 solid #808080ff,1 solid #808080ff;background:EXPR(!utlf_isNull(getColumn(currow,'fri_reglscheflag'))?getColumn(currow,'fri_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'fri_reglscheflag'))?getColumn(currow,'fri_reglscheflag'):"#ffffff");selectbackground:#daa7d9ff;" text="bind:fri_memo"/>
- </Cell>
- <Cell col="6" rowspan="2" style="background:EXPR(!utlf_isNull(getColumn(currow,'sat_reglscheflag'))?getColumn(currow,'sat_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'sat_reglscheflag'))?getColumn(currow,'sat_reglscheflag'):"#ffffff");color:EXPR(getColumn(currow,'sat_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'sat_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" taborder="undefined">
- <Cell style="line:1 solid #808080ff,1 solid #808080ff,1 solid white,1 solid #808080ff;background:EXPR(!utlf_isNull(getColumn(currow,'sat_reglscheflag'))?getColumn(currow,'sat_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'sat_reglscheflag'))?getColumn(currow,'sat_reglscheflag'):"#ffffff");color:EXPR(getColumn(currow,'sat_dutflag')=='8'?'red':'blue');color2:EXPR(getColumn(currow,'sat_dutflag')=='8'?'red':'blue');selectbackground:#daa7d9ff;" class="color_sat" text="bind:sat"/>
- <Cell row="1" style="line:1 solid transparent,1 solid #808080ff,1 solid #808080ff,1 solid #808080ff;background:EXPR(!utlf_isNull(getColumn(currow,'sat_reglscheflag'))?getColumn(currow,'sat_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'sat_reglscheflag'))?getColumn(currow,'sat_reglscheflag'):"#ffffff");selectbackground:#daa7d9ff;" text="bind:sat_memo"/>
- </Cell>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div position="absolute 0 73 1194 418" align="align:center top;" id="group2" anchor="all" scrollbars="none">
- <Layouts>
- <Layout>
- <TextArea position="absolute 1005 180 1193 249" id="tar_patrem" anchor="top right" wordwrap="char" scrollbars="autovert"/>
- <Static text="처방전달사항/검통전달사항" position="absolute 1005 78 1185 99" id="caption2" class="tit_2" anchor="top right" wordwrap="none"/>
- <Button position="absolute 1151 153 1193 175" id="btn_patcmtsave" class="btn2" text="저장" anchor="top right" onclick="grp_body_group2_btn_patcmtsave_onclick"/>
- <Button position="absolute 1152 251 1193 273" id="btn_deptmemosave" class="btn2" text="저장" anchor="top right" onclick="grp_body_group2_btn_deptmemosave_onclick"/>
- <Static text="환자 Comment" position="absolute 1005 159 1115 180" id="caption4" class="tit_2" anchor="top right"/>
- <TextArea position="absolute 1005 99 1193 151" id="tar_prcpdelivefact" anchor="top right" wordwrap="char" scrollbars="autovert"/>
- <Static text="메모" position="absolute 1005 257 1054 278" id="caption7" class="tit_2" anchor="top right"/>
- <Shape position="absolute 1005 273 1193 279" linetype="horizontal" id="line3" class="line_10" anchor="top right"/>
- <Shape position="absolute 1005 287 1193 293" linetype="horizontal" id="line4" class="line_1" anchor="top right"/>
- <Shape position="absolute 1005 94 1193 100" linetype="horizontal" id="line6" class="line_10" anchor="top right"/>
- <Shape position="absolute 1005 175 1193 181" linetype="horizontal" id="line9" class="line_10" anchor="top right"/>
- <TextArea position="absolute 1005 278 1193 343" id="tat_deptmemo" anchor="top right" wordwrap="char" scrollbars="autovert"/>
- <Shape position="absolute 1005 22 1193 28" linetype="horizontal" id="line12" class="line_10" anchor="top right"/>
- <Grid position="absolute 1005 27 1193 69" align="align:left middle;" id="grd_momolist" class="datagrid0" scrollbars="fixedvert" binddataset="ds_patrem_examcureexecdiaglist" anchor="top right">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="170"/>
- </Columns>
- <Rows>
- <Row size="21"/>
- </Rows>
- <Band id="body">
- <Cell style="align:left;" text="bind:diagengnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="상병" position="absolute 1005 6 1122 27" id="caption18" class="tit_2" anchor="top right"/>
- <Button position="absolute 1126 0 1193 22" id="order_bak" class="btn2" visible="true" text="Old 처방" anchor="top right" onclick="grp_body_group2_order_bak_onclick"/>
- <Shape position="absolute 387 5 407 20" id="rectangle3" type="rectangle" anchor="default" style="fillbrush:solid #ffff00ff true;"/>
- <Shape position="absolute 430 5 450 20" id="rectangle4" type="rectangle" anchor="default" style="fillbrush:solid #ccffccff true;"/>
- <Shape position="absolute 509 5 529 20" id="rectangle5" type="rectangle" anchor="default" style="fillbrush:solid #ff9a00ff true;"/>
- <Static text="미수납" position="absolute 532 5 570 20" id="caption26" anchor="default"/>
- <Static text="V" position="absolute 412 5 430 20" id="caption27" anchor="default"/>
- <Static text="오늘결과" position="absolute 453 5 505 20" id="caption28" anchor="default"/>
- <Tab position="absolute 0 0 1000 343" id="switch1" anchor="all" visible="true" tabindex="0" style="border:1 solid #808080ff ;">
- <Tabpages>
- <Tabpage text="전체처방" id="case1" scrollbars="none">
- <Layouts>
- <Layout>
- <Shape position="absolute 2 2 995 8" linetype="horizontal" id="line2" class="line_1" anchor="default"/>
- <Grid position="absolute 2 0 995 313" id="grd_ordlist1" binddataset="ds_grd_ordlist1" anchor="all" onrbuttondown="grp_body_group2_switch1_case1_grd_ordlist1_onrbuttondown" oncellclick="grp_body_group2_switch1_case1_grd_ordlist1_oncellclick" selecttype="multirow" onselectchanged="grp_body_group2_switch1_case1_grd_ordlist1_onselectchanged" onlbuttonup="grp_body_group2_switch1_datagrid_onlbuttonup" cellclickbound="cell" cellsizebandtype="allband" cellsizingtype="col" onrbuttonup="grp_body_group2_switch1_case1_grd_ordlist1_onrbuttonup" onmousemove="grp_body_group2_switch1_grid_onmousemove">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30" band="left"/>
- <Column size="16" band="left"/>
- <Column size="62" band="left"/>
- <Column size="61" band="left"/>
- <Column size="38" band="left"/>
- <Column size="73" band="left"/>
- <Column size="58"/>
- <Column size="75"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="76"/>
- <Column size="124"/>
- <Column size="59"/>
- <Column size="35"/>
- <Column size="98"/>
- <Column size="41"/>
- <Column size="50"/>
- <Column size="102"/>
- <Column size="137"/>
- <Column size="101"/>
- <Column size="62"/>
- <Column size="60"/>
- <Column size="68"/>
- <Column size="0"/>
- <Column size="101"/>
- <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="78"/>
- <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" displaytype="checkbox" edittype="checkbox"/>
- <Cell col="2" text="등록번호"/>
- <Cell col="3" text="성명"/>
- <Cell col="4" text="S/A"/>
- <Cell col="5" text="진료과"/>
- <Cell col="6" text="진료의"/>
- <Cell col="7" text="지정검사의"/>
- <Cell col="8" colspan="2" text="선택진료의" taborder="undefined"/>
- <Cell col="10" text="처방코드"/>
- <Cell col="11" text="처방일자"/>
- <Cell col="12" text="처방상태"/>
- <Cell col="13" text="수납"/>
- <Cell col="14" text="검사실"/>
- <Cell col="15" text="병동"/>
- <Cell col="16" text="병실"/>
- <Cell col="17" text="예약일자"/>
- <Cell col="18" text="처방명"/>
- <Cell col="19" text="실시일자"/>
- <Cell col="20" text="실시자"/>
- <Cell col="21" text="예약자"/>
- <Cell col="22" text="취소코드"/>
- <Cell col="23" text="execprcpuniqno"/>
- <Cell col="24" text="prcpexecdeptcd"/>
- <Cell col="25" text="excuroomcd"/>
- <Cell col="26" text="inflag"/>
- <Cell col="27" text="rcptacptyn"/>
- <Cell col="28" text="ExecBaseFlag"/>
- <Cell col="29" text="excupartcd"/>
- <Cell col="30" text="modality"/>
- <Cell col="31" text="execrem"/>
- <Cell col="32" text="prcpdelivefact"/>
- <Cell col="33" text="carecnfmdd"/>
- <Cell col="34" text="prcpkindcd"/>
- <Cell col="35" text="rcptno"/>
- <Cell col="36" text="acptseqno"/>
- <Cell col="37" text="prcpgenrflag"/>
- <Cell col="38" text="orddd"/>
- <Cell col="39" text="orddeptcd"/>
- <Cell col="40" text="rcptdd"/>
- <Cell col="41" text="orddrid"/>
- <Cell col="42" text="prcpno"/>
- <Cell col="43" text="EqmtIFYn"/>
- <Cell col="44" text="basesuppdeptcd"/>
- <Cell col="45" text="cretno"/>
- <Cell col="46" text="wardcd"/>
- <Cell col="47" text="rsrvdt"/>
- <Cell col="48" text="rgstdeptcd"/>
- <Cell col="49" text="rgstrid"/>
- <Cell col="50" text="inclprcpcd"/>
- <Cell col="51" text="lrgcd"/>
- <Cell col="52" text="mdlcd"/>
- <Cell col="53" text="actorddd"/>
- <Cell col="54" text="examroomnm"/>
- <Cell col="55" text="prcphistno"/>
- <Cell col="56" text="pacsnocretyn"/>
- <Cell col="57" text="execprcpstatcd"/>
- <Cell col="58" text="caption1"/>
- <Cell col="59" text="caption2"/>
- <Cell col="60" text="caption3"/>
- <Cell col="61" text="cnclresncdnm"/>
- <Cell col="62" text="rsrvexmptmplcd"/>
- <Cell col="63" text="clincstdycd"/>
- <Cell col="64" text="clincstdycd"/>
- <Cell col="65" text="aftrcptinfo"/>
- <Cell col="66" text="급비"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:check"/>
- <Cell col="2" text="bind:pid"/>
- <Cell col="3" text="bind:hngnm"/>
- <Cell col="4" text="bind:sna"/>
- <Cell col="5" text="bind:orddepthngnm"/>
- <Cell col="6" text="bind:orddrnm"/>
- <Cell col="7" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:selectdrid" combodataset="ds_init_selectdridlist" combocodecol="userid" combodatacol="usernm"/>
- <Cell col="8" text="bind:choiordflag"/>
- <Cell col="9" displaytype="combo" edittype="combo" text="bind:specdrid" combodataset="ds_init_specdridlist" combocodecol="userid" combodatacol="usernm" enable="true"/>
- <Cell col="10" style="align:left;" text="bind:calcscorcd"/>
- <Cell col="11" displaytype="date" style="align:left;" text="bind:prcpdt" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="12" style="align:left;" text="bind:statcd" enable="false"/>
- <Cell col="13" text="bind:rcptyn"/>
- <Cell col="14" displaytype="combo" edittype="combo" text="bind:excuroomcd" combodataset="ds_cmb_initexecroom" combocodecol="excuroomcdid" combodatacol="excuroomcdnm"/>
- <Cell col="15" text="bind:roomcd"/>
- <Cell col="16" text="bind:roomnm"/>
- <Cell col="17" displaytype="date" style="align:left;" text="bind:srchrsrvdt" wordwrap="char" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="18" style="align:left;" text="bind:prcpnm"/>
- <Cell col="19" displaytype="date" style="align:left;" text="bind:execdt" wordwrap="char" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="20" displaytype="normal" edittype="none" text="bind:execrnm"/>
- <Cell col="21" text="bind:rsrvrnm"/>
- <Cell col="22" text="bind:basecd"/>
- <Cell col="23" text="bind:execprcpuniqno"/>
- <Cell col="24" text="bind:prcpexecdeptcd"/>
- <Cell col="25" text="bind:inflag"/>
- <Cell col="26" text="bind:rcptacptyn"/>
- <Cell col="27" text="bind:execbaseflag"/>
- <Cell col="28" text="bind:excupartcd"/>
- <Cell col="29" text="bind:modality"/>
- <Cell col="30" text="bind:execrem"/>
- <Cell col="31" text="bind:prcpdelivefact"/>
- <Cell col="32" text="bind:carecnfmdd"/>
- <Cell col="33" text="bind:prcpkindcd"/>
- <Cell col="34" text="bind:rcptno"/>
- <Cell col="35" text="bind:acptseqno"/>
- <Cell col="36" text="bind:prcpgenrflag"/>
- <Cell col="37" text="bind:orddd"/>
- <Cell col="38" text="bind:orddeptcd"/>
- <Cell col="39" text="bind:rcptdd"/>
- <Cell col="40" text="bind:orddrid"/>
- <Cell col="41" text="bind:prcpno"/>
- <Cell col="42" text="bind:eqmtifyn"/>
- <Cell col="43" text="bind:basesuppdeptcd"/>
- <Cell col="44" text="bind:cretno"/>
- <Cell col="45" text="bind:wardcd"/>
- <Cell col="46" text="bind:rsrvdt"/>
- <Cell col="47" text="bind:rgstdeptcd"/>
- <Cell col="48" text="bind:rgstrid"/>
- <Cell col="49" text="bind:inclprcpcd"/>
- <Cell col="50" text="bind:lrgcd"/>
- <Cell col="51" text="bind:mdlcd"/>
- <Cell col="52" text="bind:actorddd"/>
- <Cell col="53" text="bind:examroomnm"/>
- <Cell col="54" text="bind:prcphistno"/>
- <Cell col="55" text="bind:pacsnocretyn"/>
- <Cell col="56" text="bind:execprcpstatcd"/>
- <Cell col="57" text="bind:tmpldata"/>
- <Cell col="58" text="bind:prcpdd"/>
- <Cell col="59" text="bind:rsrvrid"/>
- <Cell col="60" text="bind:cnclresncdnm"/>
- <Cell col="61" text="bind:rsrvexmptmplcd"/>
- <Cell col="62" text="bind:rrgstno2"/>
- <Cell col="63" text="bind:clincstdycd"/>
- <Cell col="64" text="bind:aftrcptinfo"/>
- <Cell col="65" text="bind:unrsrvexecyn"/>
- <Cell col="66" text="bind:specdrid"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 765 70 895 205" id="grd_temproom" visible="false" binddataset="ds_cmb_initexecroomcd" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="127"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="caption3"/>
- </Band>
- <Band id="body">
- <Cell text="bind:excuroomcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 265 65 395 200" id="grd_prcpexecdeptcd" visible="false" binddataset="ds_cmb_prcpexecdeptcdlist" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="127"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="caption3"/>
- </Band>
- <Band id="body">
- <Cell text="bind:prcpexecdeptcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <CheckBox id="chk_ordall" taborder="1" text="CheckBox00" position="absolute 32 -1 49 26" onchanged="grp_body_group2_switch1_case1_chk_ordall_onchanged"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="검사완료" id="case4" scrollbars="none">
- <Layouts>
- <Layout>
- <Shape position="absolute 2 2 995 8" linetype="horizontal" id="line11" class="line_1" anchor="default"/>
- <Grid position="absolute 65 55 639 199" id="grd_temp1" visible="false" binddataset="ds_grd_temp1" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="32"/>
- <Column size="31"/>
- <Column size="72"/>
- <Column size="70"/>
- <Column size="37"/>
- <Column size="79"/>
- <Column size="30"/>
- <Column size="73"/>
- <Column size="58"/>
- <Column size="42"/>
- <Column size="50"/>
- <Column size="80"/>
- <Column size="166"/>
- <Column size="81"/>
- <Column size="92"/>
- <Column size="61"/>
- <Column size="116"/>
- <Column size="59"/>
- <Column size="104"/>
- <Column size="64"/>
- <Column size="121"/>
- <Column size="62"/>
- <Column size="54"/>
- <Column size="44"/>
- <Column size="51"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="선택"/>
- <Cell col="1" text="순번"/>
- <Cell col="2" text="등록번호"/>
- <Cell col="3" text="성명"/>
- <Cell col="4" text="나이"/>
- <Cell col="5" text="주민번호"/>
- <Cell col="6" text="성별"/>
- <Cell col="7" text="진료과"/>
- <Cell col="8" text="진료의사"/>
- <Cell col="9" text="포터블"/>
- <Cell col="10" text="처방코드"/>
- <Cell col="11" text="처방명"/>
- <Cell col="12" text="처방시간"/>
- <Cell col="13" text="처방상태"/>
- <Cell col="14" text="병동"/>
- <Cell col="15" text="병실"/>
- <Cell col="16" text="예약시간"/>
- <Cell col="17" text="예약자"/>
- <Cell col="18" text="접수시간"/>
- <Cell col="19" text="접수자"/>
- <Cell col="20" text="실시시간"/>
- <Cell col="21" text="실시자"/>
- <Cell col="22" text="수납여부"/>
- <Cell col="23" text="키"/>
- <Cell col="24" text="몸무게"/>
- <Cell col="25" text="basecd"/>
- <Cell col="26" text="execprcpuniqno"/>
- <Cell col="27" text="prcpexecdeptcd"/>
- <Cell col="28" text="excuroomcd"/>
- <Cell col="29" text="rgstdeptcd"/>
- <Cell col="30" text="rgstrid"/>
- <Cell col="31" text="inflag"/>
- <Cell col="32" text="rcptacptyn"/>
- <Cell col="33" text="ExecBaseFlag"/>
- <Cell col="34" text="lrgcd"/>
- <Cell col="35" text="mdlcd"/>
- <Cell col="36" text="excupartcd"/>
- <Cell col="37" text="modality"/>
- <Cell col="38" text="acptrem"/>
- <Cell col="39" text="execrem"/>
- <Cell col="40" text="prcpdelivefact"/>
- <Cell col="41" text="carecnfmdd"/>
- <Cell col="42" text="excuroomnm"/>
- <Cell col="43" text="rgstdepthngnm"/>
- <Cell col="44" text="prcpkindcd"/>
- <Cell col="45" text="rcptno"/>
- <Cell col="46" text="acptseqno"/>
- <Cell col="47" text="execrid1"/>
- <Cell col="48" text="execrid2"/>
- <Cell col="49" text="execrid3"/>
- <Cell col="50" text="execrid4"/>
- </Band>
- <Band id="body">
- <Cell text="bind:check" edittype="checkbox" displaytype="checkbox"/>
- <Cell col="1" text="bind:no"/>
- <Cell col="2" text="bind:pid"/>
- <Cell col="3" text="bind:hngnm"/>
- <Cell col="4" text="bind:age"/>
- <Cell col="5" text="bind:rrgrstno"/>
- <Cell col="6" text="bind:sex"/>
- <Cell col="7" text="bind:rgstdepthngnm"/>
- <Cell col="8" text="bind:rgstridnm"/>
- <Cell col="9" text="bind:portprcpflag" edittype="checkbox" displaytype="checkbox"/>
- <Cell col="10" text="bind:calcscorcd"/>
- <Cell col="11" text="bind:prcpnm"/>
- <Cell col="12" text="bind:prcpdd"/>
- <Cell col="13" text="bind:execprcpstatcd"/>
- <Cell col="14" text="bind:roomcd"/>
- <Cell col="15" text="bind:roomnm"/>
- <Cell col="16" text="bind:rsrvdt"/>
- <Cell col="17" text="bind:execrid2"/>
- <Cell col="18" text="bind:rcptdd"/>
- <Cell col="19" text="bind:acptid"/>
- <Cell col="20" text="bind:execdt"/>
- <Cell col="21" text="bind:execrid1"/>
- <Cell col="22" text="bind:rcptyn"/>
- <Cell col="23" text="bind:hight"/>
- <Cell col="24" text="bind:weight"/>
- <Cell col="25" text="bind:basecd"/>
- <Cell col="26" text="bind:execprcpuniqno"/>
- <Cell col="27" text="bind:prcpexecdeptcd"/>
- <Cell col="28" text="bind:excuroomcd"/>
- <Cell col="29" text="bind:rgstdeptcd"/>
- <Cell col="30" text="bind:rgstrid"/>
- <Cell col="31" text="bind:inflag"/>
- <Cell col="32" text="bind:rcptacptyn"/>
- <Cell col="33" text="bind:execbaseflag"/>
- <Cell col="34" text="bind:lrgcd"/>
- <Cell col="35" text="bind:mdlcd"/>
- <Cell col="36" text="bind:excupartcd"/>
- <Cell col="37" text="bind:modality"/>
- <Cell col="38" text="bind:acptrem"/>
- <Cell col="39" text="bind:execrem"/>
- <Cell col="40" text="bind:newElement"/>
- <Cell col="41" text="bind:carecnfmdd"/>
- <Cell col="42" text="bind:excuroomnm"/>
- <Cell col="43" text="bind:rgstdepthngnm"/>
- <Cell col="44" text="bind:prcpkindcd"/>
- <Cell col="45" text="bind:rcptno"/>
- <Cell col="46" text="bind:acptseqno"/>
- <Cell col="47" text="bind:execrid1"/>
- <Cell col="48" text="bind:execrid2"/>
- <Cell col="49" text="bind:execrid3"/>
- <Cell col="50" text="bind:execrid4"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 420 65 994 209" id="grd_temp2" visible="false" binddataset="ds_grd_temp2" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="32"/>
- <Column size="31"/>
- <Column size="72"/>
- <Column size="70"/>
- <Column size="37"/>
- <Column size="79"/>
- <Column size="30"/>
- <Column size="73"/>
- <Column size="58"/>
- <Column size="42"/>
- <Column size="50"/>
- <Column size="80"/>
- <Column size="166"/>
- <Column size="81"/>
- <Column size="92"/>
- <Column size="61"/>
- <Column size="116"/>
- <Column size="59"/>
- <Column size="104"/>
- <Column size="64"/>
- <Column size="121"/>
- <Column size="62"/>
- <Column size="54"/>
- <Column size="44"/>
- <Column size="51"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="선택"/>
- <Cell col="1" text="순번"/>
- <Cell col="2" text="등록번호"/>
- <Cell col="3" text="성명"/>
- <Cell col="4" text="나이"/>
- <Cell col="5" text="주민번호"/>
- <Cell col="6" text="성별"/>
- <Cell col="7" text="진료과"/>
- <Cell col="8" text="진료의사"/>
- <Cell col="9" text="포터블"/>
- <Cell col="10" text="처방코드"/>
- <Cell col="11" text="처방명"/>
- <Cell col="12" text="처방시간"/>
- <Cell col="13" text="처방상태"/>
- <Cell col="14" text="병동"/>
- <Cell col="15" text="병실"/>
- <Cell col="16" text="예약시간"/>
- <Cell col="17" text="예약자"/>
- <Cell col="18" text="접수시간"/>
- <Cell col="19" text="접수자"/>
- <Cell col="20" text="실시시간"/>
- <Cell col="21" text="실시자"/>
- <Cell col="22" text="수납여부"/>
- <Cell col="23" text="키"/>
- <Cell col="24" text="몸무게"/>
- <Cell col="25" text="basecd"/>
- <Cell col="26" text="execprcpuniqno"/>
- <Cell col="27" text="prcpexecdeptcd"/>
- <Cell col="28" text="excuroomcd"/>
- <Cell col="29" text="rgstdeptcd"/>
- <Cell col="30" text="rgstrid"/>
- <Cell col="31" text="inflag"/>
- <Cell col="32" text="rcptacptyn"/>
- <Cell col="33" text="ExecBaseFlag"/>
- <Cell col="34" text="lrgcd"/>
- <Cell col="35" text="mdlcd"/>
- <Cell col="36" text="excupartcd"/>
- <Cell col="37" text="modality"/>
- <Cell col="38" text="acptrem"/>
- <Cell col="39" text="execrem"/>
- <Cell col="40" text="prcpdelivefact"/>
- <Cell col="41" text="carecnfmdd"/>
- <Cell col="42" text="excuroomnm"/>
- <Cell col="43" text="rgstdepthngnm"/>
- <Cell col="44" text="prcpkindcd"/>
- <Cell col="45" text="rcptno"/>
- <Cell col="46" text="acptseqno"/>
- <Cell col="47" text="execrid1"/>
- <Cell col="48" text="execrid2"/>
- <Cell col="49" text="execrid3"/>
- <Cell col="50" text="execrid4"/>
- </Band>
- <Band id="body">
- <Cell text="bind:check" edittype="checkbox" displaytype="checkbox"/>
- <Cell col="1" text="bind:no"/>
- <Cell col="2" text="bind:pid"/>
- <Cell col="3" text="bind:hngnm"/>
- <Cell col="4" text="bind:age"/>
- <Cell col="5" text="bind:rrgrstno"/>
- <Cell col="6" text="bind:sex"/>
- <Cell col="7" text="bind:rgstdepthngnm"/>
- <Cell col="8" text="bind:rgstridnm"/>
- <Cell col="9" text="bind:portprcpflag" edittype="checkbox" displaytype="checkbox"/>
- <Cell col="10" text="bind:calcscorcd"/>
- <Cell col="11" text="bind:prcpnm"/>
- <Cell col="12" text="bind:prcpdd"/>
- <Cell col="13" text="bind:execprcpstatcd"/>
- <Cell col="14" text="bind:roomcd"/>
- <Cell col="15" text="bind:roomnm"/>
- <Cell col="16" text="bind:rsrvdt" mask="yyyy-mm-dd hh:nn"/>
- <Cell col="17" text="bind:execrid2"/>
- <Cell col="18" text="bind:rcptdd"/>
- <Cell col="19" text="bind:acptid"/>
- <Cell col="20" text="bind:execdt"/>
- <Cell col="21" text="bind:execrid1"/>
- <Cell col="22" text="bind:rcptyn"/>
- <Cell col="23" text="bind:hight"/>
- <Cell col="24" text="bind:weight"/>
- <Cell col="25" text="bind:basecd"/>
- <Cell col="26" text="bind:execprcpuniqno"/>
- <Cell col="27" text="bind:prcpexecdeptcd"/>
- <Cell col="28" text="bind:excuroomcd"/>
- <Cell col="29" text="bind:rgstdeptcd"/>
- <Cell col="30" text="bind:rgstrid"/>
- <Cell col="31" text="bind:inflag"/>
- <Cell col="32" text="bind:rcptacptyn"/>
- <Cell col="33" text="bind:execbaseflag"/>
- <Cell col="34" text="bind:lrgcd"/>
- <Cell col="35" text="bind:mdlcd"/>
- <Cell col="36" text="bind:excupartcd"/>
- <Cell col="37" text="bind:modality"/>
- <Cell col="38" text="bind:acptrem"/>
- <Cell col="39" text="bind:execrem"/>
- <Cell col="40" text="bind:newElement"/>
- <Cell col="41" text="bind:carecnfmdd"/>
- <Cell col="42" text="bind:excuroomnm"/>
- <Cell col="43" text="bind:rgstdepthngnm"/>
- <Cell col="44" text="bind:prcpkindcd"/>
- <Cell col="45" text="bind:rcptno"/>
- <Cell col="46" text="bind:acptseqno"/>
- <Cell col="47" text="bind:execrid1"/>
- <Cell col="48" text="bind:execrid2"/>
- <Cell col="49" text="bind:execrid3"/>
- <Cell col="50" text="bind:execrid4"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 2 0 995 313" id="grd_ordlist4" binddataset="ds_grd_ordlist4" anchor="all" oncellclick="grp_body_group2_switch1_case4_grd_ordlist4_oncellclick" onselectchanged="grp_body_group2_switch1_case4_grd_ordlist4_onselectchanged" selecttype="multirow" onlbuttonup="grp_body_group2_switch1_datagrid_onlbuttonup" cellclickbound="cell" cellsizebandtype="allband" cellsizingtype="col" onrbuttonup="grp_body_group2_switch1_case4_grd_ordlist4_onrbuttonup" autoenter="key" onmousemove="grp_body_group2_switch1_grid_onmousemove">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="27" band="left"/>
- <Column size="16" band="left"/>
- <Column size="62" band="left"/>
- <Column size="59" band="left"/>
- <Column size="40" band="left"/>
- <Column size="85" band="left"/>
- <Column size="58"/>
- <Column size="69"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="70"/>
- <Column size="109"/>
- <Column size="70"/>
- <Column size="32"/>
- <Column size="100"/>
- <Column size="42"/>
- <Column size="50"/>
- <Column size="105"/>
- <Column size="147"/>
- <Column size="113"/>
- <Column size="62"/>
- <Column size="59"/>
- <Column size="62"/>
- <Column size="0"/>
- <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="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="70"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2" text="등록번호"/>
- <Cell col="3" text="성명"/>
- <Cell col="4" text="S/A"/>
- <Cell col="5" text="진료과"/>
- <Cell col="6" text="진료의"/>
- <Cell col="7" text="지정검사의"/>
- <Cell col="8" colspan="2" text="선택진료의" taborder="undefined"/>
- <Cell col="10" text="처방코드"/>
- <Cell col="11" text="처방일자"/>
- <Cell col="12" text="처방상태"/>
- <Cell col="13" text="수납"/>
- <Cell col="14" text="검사실"/>
- <Cell col="15" text="병동"/>
- <Cell col="16" text="병실"/>
- <Cell col="17" text="예약일자"/>
- <Cell col="18" text="처방명"/>
- <Cell col="19" text="실시일자"/>
- <Cell col="20" text="실시자"/>
- <Cell col="21" text="예약자"/>
- <Cell col="22" text="취소코드"/>
- <Cell col="23" text="execprcpuniqno"/>
- <Cell col="24" text="prcpexecdeptcd"/>
- <Cell col="25" text="excuroomcd"/>
- <Cell col="26" text="rgstdeptcd"/>
- <Cell col="27" text="rgstrid"/>
- <Cell col="28" text="inflag"/>
- <Cell col="29" text="rcptacptyn"/>
- <Cell col="30" text="ExecBaseFlag"/>
- <Cell col="31" text="lrgcd"/>
- <Cell col="32" text="mdlcd"/>
- <Cell col="33" text="excupartcd"/>
- <Cell col="34" text="modality"/>
- <Cell col="35" text="execrem"/>
- <Cell col="36" text="prcpdelivefact"/>
- <Cell col="37" text="carecnfmdd"/>
- <Cell col="38" text="excuroomnm"/>
- <Cell col="39" text="rgstdepthngnm"/>
- <Cell col="40" text="prcpkindcd"/>
- <Cell col="41" text="rcptno"/>
- <Cell col="42" text="acptseqno"/>
- <Cell col="43" text="prcpdelivefact"/>
- <Cell col="44" text="prcpgenrflag"/>
- <Cell col="45" text="orddd"/>
- <Cell col="46" text="rgstrid"/>
- <Cell col="47" text="orddrnm"/>
- <Cell col="48" text="orddeptcd"/>
- <Cell col="49" text="rcptdd"/>
- <Cell col="50" text="orddrid"/>
- <Cell col="51" text="prcpgenrflag"/>
- <Cell col="52" text="prcpno"/>
- <Cell col="53" text="EqmtIFYn"/>
- <Cell col="54" text="basesuppdeptcd"/>
- <Cell col="55" text="rsrvdt"/>
- <Cell col="56" text="inclprcpcd"/>
- <Cell col="57" text="caption1"/>
- <Cell col="58" text="caption2"/>
- <Cell col="59" text="caption3"/>
- <Cell col="60" text="caption4"/>
- <Cell col="61" text="caption5"/>
- <Cell col="62" text="caption6"/>
- <Cell col="63" text="cnclresncdnm"/>
- <Cell col="64" text="rsrvexmptmplcd"/>
- <Cell col="65" text="rrsgtno2"/>
- <Cell col="66" text="clincstdycd"/>
- <Cell col="67" text="execrid1"/>
- <Cell col="68" text="aftrcptinfo"/>
- <Cell col="69" text="급비"/>
- <Cell col="70" text="clincstdycd"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:check" expr="expr:(check=="true"||check==1)?1:0"/>
- <Cell col="2" text="bind:pid"/>
- <Cell col="3" text="bind:hngnm"/>
- <Cell col="4" text="bind:sna"/>
- <Cell col="5" style="align:left;" text="bind:orddepthngnm"/>
- <Cell col="6" text="bind:orddrnm"/>
- <Cell col="7" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:selectdrid" combodataset="ds_init_selectdridlist" combocodecol="userid" combodatacol="usernm"/>
- <Cell col="8" edittype="none" text="bind:choiordflag"/>
- <Cell col="9" displaytype="combo" edittype="combo" text="bind:specdrid" combodataset="ds_init_specdridlist" combocodecol="userid" combodatacol="usernm" enable="true"/>
- <Cell col="10" style="align:left;" text="bind:calcscorcd"/>
- <Cell col="11" displaytype="date" style="align:left;" text="bind:prcpdt" wordwrap="char" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="12" style="align:left;" text="bind:statcd" enable="true"/>
- <Cell col="13" text="bind:rcptyn"/>
- <Cell col="14" displaytype="combo" edittype="combo" text="bind:excuroomcd" combodataset="ds_cmb_initexecroom" combocodecol="excuroomcdid" combodatacol="excuroomcdnm"/>
- <Cell col="15" text="bind:roomcd"/>
- <Cell col="16" text="bind:roomnm"/>
- <Cell col="17" displaytype="date" style="align:left;" text="bind:srchrsrvdt" wordwrap="char" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="18" style="align:left;" text="bind:prcpnm"/>
- <Cell col="19" displaytype="date" style="align:left;" text="bind:execdt" wordwrap="char" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="20" edittype="none" text="bind:execrnm"/>
- <Cell col="21" text="bind:rsrvrnm"/>
- <Cell col="22" text="bind:basecd"/>
- <Cell col="23" text="bind:execprcpuniqno"/>
- <Cell col="24" text="bind:prcpexecdeptcd"/>
- <Cell col="25" text="bind:rgstdeptcd"/>
- <Cell col="26" text="bind:rgstrid"/>
- <Cell col="27" text="bind:inflag"/>
- <Cell col="28" text="bind:rcptacptyn"/>
- <Cell col="29" text="bind:execbaseflag"/>
- <Cell col="30" text="bind:lrgcd"/>
- <Cell col="31" text="bind:mdlcd"/>
- <Cell col="32" text="bind:excupartcd"/>
- <Cell col="33" text="bind:modality"/>
- <Cell col="34" text="bind:execrem"/>
- <Cell col="35" text="bind:prcpdelivefact"/>
- <Cell col="36" text="bind:carecnfmdd"/>
- <Cell col="37" text="bind:excuroomnm"/>
- <Cell col="38" text="bind:rgstdepthngnm"/>
- <Cell col="39" text="bind:prcpkindcd"/>
- <Cell col="40" text="bind:rcptno"/>
- <Cell col="41" text="bind:acptseqno"/>
- <Cell col="42" text="bind:prcpdelivefact"/>
- <Cell col="43" text="bind:prcpgenrflag"/>
- <Cell col="44" text="bind:orddd"/>
- <Cell col="45" text="bind:rgstrid"/>
- <Cell col="46" text="bind:orddrnm"/>
- <Cell col="47" text="bind:orddeptcd"/>
- <Cell col="48" text="bind:rcptdd"/>
- <Cell col="49" text="bind:orddrid"/>
- <Cell col="50" text="bind:prcpgenrflag"/>
- <Cell col="51" text="bind:prcpno"/>
- <Cell col="52" text="bind:eqmtifyn"/>
- <Cell col="53" text="bind:basesuppdeptcd"/>
- <Cell col="54" text="bind:rsrvdt"/>
- <Cell col="55" text="bind:inclprcpcd"/>
- <Cell col="56" text="bind:examroomnm"/>
- <Cell col="57" text="bind:execprcpstatcd"/>
- <Cell col="58" text="bind:tmpldata"/>
- <Cell col="59" text="bind:prcpdd"/>
- <Cell col="60" text="bind:rsrvrid"/>
- <Cell col="61" text="bind:pacsnocretyn"/>
- <Cell col="62" text="bind:cnclresncdnm"/>
- <Cell col="63" text="bind:rsrvexmptmplcd"/>
- <Cell col="64" text="bind:rrgstno2"/>
- <Cell col="65" text="bind:clincstdycd"/>
- <Cell col="66" text="bind:execrid1"/>
- <Cell col="67" text="bind:aftrcptinfo"/>
- <Cell col="68" text="bind:unrsrvexecyn"/>
- <Cell col="69" text="bind:specdrid"/>
- <Cell col="70" text="bind:execrid1"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="미예약" id="case6" scrollbars="none">
- <Layouts>
- <Layout>
- <Shape position="absolute 2 2 995 8" linetype="horizontal" id="line14" class="line_1" anchor="default"/>
- <Grid position="absolute 2 0 995 313" id="grd_ordlist6" binddataset="ds_grd_ordlist6" anchor="all" oncellclick="grp_body_group2_switch1_case6_grd_ordlist6_oncellclick" selecttype="multirow" onselectchanged="grp_body_group2_switch1_case6_grd_ordlist6_onselectchanged" onlbuttonup="grp_body_group2_switch1_datagrid_onlbuttonup" cellclickbound="cell" cellsizebandtype="allband" cellsizingtype="col" onrbuttonup="grp_body_group2_switch1_case6_grd_ordlist6_onrbuttonup" autoenter="key" onmousemove="grp_body_group2_switch1_case6_grd_ordlist6_onmousemove">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="27" band="left"/>
- <Column size="16" band="left"/>
- <Column size="72" band="left"/>
- <Column size="70" band="left"/>
- <Column size="45" band="left"/>
- <Column size="73" band="left"/>
- <Column size="58"/>
- <Column size="76"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="64"/>
- <Column size="43"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="61"/>
- <Column size="116"/>
- <Column size="165"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="101"/>
- <Column size="100"/>
- <Column size="59"/>
- <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"/>
- <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="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="0"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2" text="등록번호"/>
- <Cell col="3" text="성명"/>
- <Cell col="4" text="S/A"/>
- <Cell col="5" text="진료과"/>
- <Cell col="6" text="진료의"/>
- <Cell col="7" text="지정검사의"/>
- <Cell col="8" colspan="2" text="선택진료의" taborder="undefined"/>
- <Cell col="10" text="처방코드"/>
- <Cell col="11" text="처방일자"/>
- <Cell col="12" text="처방상태"/>
- <Cell col="13" text="수납"/>
- <Cell col="14" text="검사실"/>
- <Cell col="15" text="병동"/>
- <Cell col="16" text="병실"/>
- <Cell col="17" text="예약일자"/>
- <Cell col="18" text="처방명"/>
- <Cell col="19" text="접수시간"/>
- <Cell col="20" text="접수자"/>
- <Cell col="21" text="실시일자"/>
- <Cell col="22" text="실시자"/>
- <Cell col="23" text="예약자"/>
- <Cell col="24" text="취소코드"/>
- <Cell col="25" text="execprcpuniqno"/>
- <Cell col="26" text="prcpexecdeptcd"/>
- <Cell col="27" text="excuroomcd"/>
- <Cell col="28" text="rgstdeptcd"/>
- <Cell col="29" text="rgstrid"/>
- <Cell col="30" text="inflag"/>
- <Cell col="31" text="rcptacptyn"/>
- <Cell col="32" text="ExecBaseFlag"/>
- <Cell col="33" text="lrgcd"/>
- <Cell col="34" text="mdlcd"/>
- <Cell col="35" text="excupartcd"/>
- <Cell col="36" text="modality"/>
- <Cell col="37" text="acptrem"/>
- <Cell col="38" text="execrem"/>
- <Cell col="39" text="prcpdelivefact"/>
- <Cell col="40" text="carecnfmdd"/>
- <Cell col="41" text="excuroomnm"/>
- <Cell col="42" text="rgstdepthngnm"/>
- <Cell col="43" text="prcpkindcd"/>
- <Cell col="44" text="rcptno"/>
- <Cell col="45" text="acptseqno"/>
- <Cell col="46" text="prcpdelivefact"/>
- <Cell col="47" text="execrid1"/>
- <Cell col="48" text="execrid2"/>
- <Cell col="49" text="execrid3"/>
- <Cell col="50" text="execrid4"/>
- <Cell col="51" text="prcpgenrflag"/>
- <Cell col="52" text="indd"/>
- <Cell col="53" text="rgstrid"/>
- <Cell col="54" text="orddrnm"/>
- <Cell col="55" text="orddeptcd"/>
- <Cell col="56" text="rcptdd"/>
- <Cell col="57" text="orddrid"/>
- <Cell col="58" text="prcpgenrflag"/>
- <Cell col="59" text="prcpno"/>
- <Cell col="60" text="EqmtIFYn"/>
- <Cell col="61" text="basesuppdeptcd"/>
- <Cell col="62" text="tmpldata"/>
- <Cell col="63" text="wardcd"/>
- <Cell col="64" text="prcpexecdeptcd"/>
- <Cell col="65" text="rsrvdt"/>
- <Cell col="66" text="prcphistno"/>
- <Cell col="67" text="inclprcpcd"/>
- <Cell col="68" text="actorddd"/>
- <Cell col="69" text="retno"/>
- <Cell col="70" text="pacsnocretyn"/>
- <Cell col="71" text="examroonm"/>
- <Cell col="72" text="execprcpstatcd"/>
- <Cell col="73" text="caption1"/>
- <Cell col="74" text="caption2"/>
- <Cell col="75" text="caption3"/>
- <Cell col="76" text="rsrvexmptmplcd"/>
- <Cell col="77" text="rrsgtno2"/>
- <Cell col="78" text="wardcd"/>
- <Cell col="79" text="aftrcptinfo"/>
- <Cell col="80" text="급비"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:check" expr="expr:(check=="true"||check==1)?1:0"/>
- <Cell col="2" text="bind:pid"/>
- <Cell col="3" text="bind:hngnm"/>
- <Cell col="4" text="bind:sna"/>
- <Cell col="5" style="align:left;" text="bind:orddepthngnm"/>
- <Cell col="6" text="bind:orddrnm"/>
- <Cell col="7" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:selectdrid" combodataset="ds_init_selectdridlist" combocodecol="userid" combodatacol="usernm"/>
- <Cell col="8" text="bind:choiordflag"/>
- <Cell col="9" displaytype="combo" edittype="combo" text="bind:specdrid" combodataset="ds_init_specdridlist" combocodecol="userid" combodatacol="usernm" enable="true"/>
- <Cell col="10" text="bind:calcscorcd"/>
- <Cell col="11" displaytype="date" style="align:left;" text="bind:prcpdt" wordwrap="char" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="12" style="align:left;" text="bind:statcd"/>
- <Cell col="13" text="bind:rcptyn"/>
- <Cell col="14" displaytype="combo" edittype="combo" text="bind:excuroomcd" combodataset="ds_cmb_initexecroom" combocodecol="excuroomcdid" combodatacol="excuroomcdnm"/>
- <Cell col="15" text="bind:roomcd"/>
- <Cell col="16" text="bind:roomnm"/>
- <Cell col="17" displaytype="date" text="bind:srchrsrvdt" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="18" style="align:left;" text="bind:prcpnm"/>
- <Cell col="19" text="bind:rcptdd"/>
- <Cell col="20" text="bind:acptid"/>
- <Cell col="21" style="align:left;" text="bind:execdt" wordwrap="char"/>
- <Cell col="22" displaytype="normal" edittype="none" text="bind:execrnm"/>
- <Cell col="23" displaytype="combo" edittype="combo" text="bind:rsrvid" combodataset="ds_cmb_initexecrid" combocodecol="execrid1cdid" combodatacol="execrid1cdnm"/>
- <Cell col="24" text="bind:basecd"/>
- <Cell col="25" text="bind:execprcpuniqno"/>
- <Cell col="26" text="bind:prcpexecdeptcd"/>
- <Cell col="27" text="bind:rgstdeptcd"/>
- <Cell col="28" text="bind:rgstrid"/>
- <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:excupartcd"/>
- <Cell col="35" text="bind:modality"/>
- <Cell col="36" text="bind:acptrem"/>
- <Cell col="37" text="bind:execrem"/>
- <Cell col="38" text="bind:prcpdelivefact"/>
- <Cell col="39" text="bind:carecnfmdd"/>
- <Cell col="40" text="bind:excuroomnm"/>
- <Cell col="41" text="bind:rgstdepthngnm"/>
- <Cell col="42" text="bind:prcpkindcd"/>
- <Cell col="43" text="bind:rcptno"/>
- <Cell col="44" text="bind:acptseqno"/>
- <Cell col="45" text="bind:prcpdelivefact"/>
- <Cell col="46" text="bind:execrid1"/>
- <Cell col="47" text="bind:execrid2"/>
- <Cell col="48" text="bind:execrid3"/>
- <Cell col="49" text="bind:execrid4"/>
- <Cell col="50" text="bind:prcpgenrflag"/>
- <Cell col="51" text="bind:orddd"/>
- <Cell col="52" text="bind:rgstrid"/>
- <Cell col="53" text="bind:orddrnm"/>
- <Cell col="54" text="bind:orddeptcd"/>
- <Cell col="55" text="bind:rcptdd"/>
- <Cell col="56" text="bind:orddrid"/>
- <Cell col="57" text="bind:prcpgenrflag"/>
- <Cell col="58" text="bind:prcpno"/>
- <Cell col="59" text="bind:eqmtifyn"/>
- <Cell col="60" text="bind:basesuppdeptcd"/>
- <Cell col="61" text="bind:tmpldata"/>
- <Cell col="62" text="bind:wardcd"/>
- <Cell col="63" text="bind:prcpexecdeptcd"/>
- <Cell col="64" text="bind:prcpexecdeptcd"/>
- <Cell col="65" text="bind:prcphistno"/>
- <Cell col="66" text="bind:inclprcpcd"/>
- <Cell col="67" text="bind:actorddd"/>
- <Cell col="68" text="bind:cretno"/>
- <Cell col="69" text="bind:pacsnocretyn"/>
- <Cell col="70" text="bind:examroomnm"/>
- <Cell col="71" text="bind:execprcpstatcd"/>
- <Cell col="72" text="bind:tmpldata"/>
- <Cell col="73" text="bind:prcpdd"/>
- <Cell col="74" text="bind:cnclresncdnm"/>
- <Cell col="75" text="bind:rsrvexmptmplcd"/>
- <Cell col="76" text="bind:rrgstno2"/>
- <Cell col="77" text="bind:clincstdycd"/>
- <Cell col="78" text="bind:wardcd"/>
- <Cell col="79" text="bind:unrsrvexecyn"/>
- <Cell col="80" text="bind:specdrid"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Radio position="absolute 192 3 335 22" id="rdo_prcpgenrflag" class="radio_search" columncount="3" rowcount="1" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" onitemchanged="grp_body_group2_rdo_prcpgenrflag_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn"/>
- <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>
- </Rows>
- </Dataset>
- </Radio>
- <Button position="absolute 746 0 820 22" id="button6" class="btn2" text="대상자조회" anchor="top right" onclick="grp_body_group2_button6_onclick" visible="true"/>
- <Button position="absolute 932 0 996 22" id="btn_execcncl" class="btn2" text="실시취소" anchor="top right" onclick="grp_body_group2_btn_execcncl_onclick"/>
- <Button position="absolute 888 0 930 22" id="btn_exec" class="btn2" text="실시" anchor="top right" onclick="grp_body_group2_btn_exec_onclick"/>
- <Div position="absolute 914 27 1193 146" align="align:center top;" id="group7" visible="false" anchor="default" class="div_SA2">
- <Layouts>
- <Layout>
- <Static position="absolute 2 2 277 117" id="cpt_isoldata" visible="false" anchor="default"/>
- <Button position="absolute 227 95 269 114" id="btn_close" class="btn5" text="닫기" anchor="default" onclick="grp_body_group2_group7_btn_close_onclick"/>
- <Shape position="absolute 10 22 270 28" linetype="horizontal" id="line_isol" class="line_10" anchor="default"/>
- <Shape position="absolute 10 91 270 97" linetype="horizontal" id="line_isol2" class="line_3" anchor="default"/>
- <TextArea position="absolute 10 27 270 92" id="txt_isol" anchor="default" wordwrap="char"/>
- <Static text="감염정보" position="absolute 10 6 125 27" id="cpt_isoltitle" class="tit_2" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_acpt" taborder="1" text="접수" class="btn2" visible="true" position="absolute 637 0 688 22" onclick="grp_body_group2_btn_acpt_onclick" anchor="top right"/>
- <Button id="btn_acptcncl" taborder="2" text="접수취소" class="btn2" visible="true" position="absolute 666 0 733 22" onclick="grp_body_group2_btn_acptcncl_onclick" anchor="top right"/>
- <Radio id="rd_memoflag" taborder="3" columncount="2" rowcount="0" position="absolute 1051 256 1135 273" codecolumn="codecolumn" datacolumn="datacolumn" anchor="top right">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">dept</Col>
- <Col id="datacolumn">부서</Col>
- </Row>
- <Row>
- <Col id="codecolumn">room</Col>
- <Col id="datacolumn"/>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="Static00" text="검사실" position="absolute 1113 259 1151 272" onclick="grp_body_group2_Static00_onclick" anchor="top right"/>
- <Button id="btn_inpt" taborder="4" text="입퇴실관리" position="absolute 610 0 685 22" class="btn2" visible="false" anchor="top right" onclick="grp_body_group2_btn_inpt_onclick"/>
- <Button id="btn_directsms" taborder="5" text="문자전송" position="absolute 822 0 886 22" class="btn2" onclick="grp_body_group2_btn_directsms_onclick" anchor="top right"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_case1" taborder="17" text="전체처방" class="btn_tab" position="absolute 0 73 64 97" onclick="grp_body_btn_case1_onclick" anchor="default"/>
- <Button id="btn_case2" taborder="18" text="검사완료" class="btn_tab" position="absolute 65 73 129 97" onclick="grp_body_btn_case2_onclick" anchor="default"/>
- <Button id="btn_case3" taborder="19" text="미예약" class="btn_tab" position="absolute 130 73 182 97" onclick="grp_body_btn_case3_onclick" anchor="default"/>
- <Combo id="cmb_rsrvexcuroomcd" taborder="20" position="absolute 287 431 419 453" innerdataset="@ds_patrem_rsrvpossexcuroomlist" datacolumn="excuroomnm" codecolumn="excuroomcd" index="0" class="combo_default" onitemchanged="grp_body_cmb_rsrvexcuroomcd_onitemchanged" anchor="left bottom"/>
- <Shape position="absolute 506 -1 1195 5" linetype="horizontal" id="line18" class="line_10" anchor="top right"/>
- <Shape id="line3" class="line_10" position="absolute 287 501 418 507" anchor="left bottom"/>
- <Button id="cpt_isolinfo" taborder="21" position="absolute 1057 72 1108 95" style="background:transparent;border:2 none #33bbbbff #effcfbff;color:#ff0000ff;font:Dotum,14,bold;" ondblclick="grp_body_cpt_isolinfo_ondblclick" anchor="top right"/>
- </Layout>
- </Layouts>
- </Div>
- <PopupMenu id="PopupMenu00" position="absolute 1232 38 1383 296" idcolumn="idcolumn" captioncolumn="captioncolumn" levelcolumn="levelcolumn" enablecolumn="enablecolumn" iconcolumn="iconcolumn" checkboxcolumn="checkboxcolumn" hotkeycolumn="hotkeycolumn" userdatacolumn="userdatacolumn" onmenuclick="PopupMenu00_onmenuclick">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="idcolumn" size="256"/>
- <Column id="captioncolumn" size="256"/>
- <Column id="levelcolumn" size="256"/>
- <Column id="enablecolumn" size="256"/>
- <Column id="iconcolumn" size="256"/>
- <Column id="checkboxcolumn" size="256"/>
- <Column id="hotkeycolumn" size="256"/>
- <Column id="userdatacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="idcolumn">fOpenPrcpList</Col>
- <Col id="captioncolumn">처방상세내역</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn"/>
- <Col id="captioncolumn">-</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fOpenPopup</Col>
- <Col id="captioncolumn">시행부서처방</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn"/>
- <Col id="captioncolumn">-</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fSelectdrChange</Col>
- <Col id="captioncolumn">지정검사의 변경</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn"/>
- <Col id="captioncolumn">-</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fBarcodePrint</Col>
- <Col id="captioncolumn">바코드출력</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn"/>
- <Col id="captioncolumn">-</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fResultSerch</Col>
- <Col id="captioncolumn">결과조회</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn"/>
- <Col id="captioncolumn">-</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fNursingActing</Col>
- <Col id="captioncolumn">주사실액팅</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn"/>
- <Col id="captioncolumn">-</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fNursingReport</Col>
- <Col id="captioncolumn">간호일지 Type2</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn"/>
- <Col id="captioncolumn">-</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fProgressNote</Col>
- <Col id="captioncolumn">Progress Note</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn"/>
- <Col id="captioncolumn">-</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fOrdPrcpInfoList</Col>
- <Col id="captioncolumn">환자처방조회</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn"/>
- <Col id="captioncolumn">-</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fDrugMNG</Col>
- <Col id="captioncolumn">마약관리</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn"/>
- <Col id="captioncolumn">-</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fPrintLabel</Col>
- <Col id="captioncolumn">인식표 출력</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- </Rows>
- </Dataset>
- </PopupMenu>
- <PopupMenu id="PopupMenu02" position="absolute 1231 362 1380 408" idcolumn="idcolumn" captioncolumn="captioncolumn" levelcolumn="levelcolumn" enablecolumn="enablecolumn" iconcolumn="iconcolumn" checkboxcolumn="checkboxcolumn" hotkeycolumn="hotkeycolumn" userdatacolumn="userdatacolumn" onmenuclick="PopupMenu01_onmenuclick">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="idcolumn" size="256"/>
- <Column id="captioncolumn" size="256"/>
- <Column id="levelcolumn" size="256"/>
- <Column id="enablecolumn" size="256"/>
- <Column id="iconcolumn" size="256"/>
- <Column id="checkboxcolumn" size="256"/>
- <Column id="hotkeycolumn" size="256"/>
- <Column id="userdatacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="idcolumn">fRsrvPrint</Col>
- <Col id="captioncolumn">예약증 출력</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn"/>
- <Col id="captioncolumn">-</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fSetWaitExcuRoomPatList</Col>
- <Col id="captioncolumn">대기환자등록</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- </Rows>
- </Dataset>
- </PopupMenu>
- <PopupMenu id="PopupMenu01" position="absolute 1405 42 1556 89" idcolumn="idcolumn" captioncolumn="captioncolumn" levelcolumn="levelcolumn" enablecolumn="enablecolumn" iconcolumn="iconcolumn" checkboxcolumn="checkboxcolumn" hotkeycolumn="hotkeycolumn" userdatacolumn="userdatacolumn" onmenuclick="PopupMenu02_onmenuclick">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="idcolumn" size="256"/>
- <Column id="captioncolumn" size="256"/>
- <Column id="levelcolumn" size="256"/>
- <Column id="enablecolumn" size="256"/>
- <Column id="iconcolumn" size="256"/>
- <Column id="checkboxcolumn" size="256"/>
- <Column id="hotkeycolumn" size="256"/>
- <Column id="userdatacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="idcolumn">fprcpacting</Col>
- <Col id="captioncolumn">약/주사 액팅</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn"/>
- <Col id="captioncolumn">-</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fprcpactingcncl</Col>
- <Col id="captioncolumn">약/주사 액팅취소</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- </Rows>
- </Dataset>
- </PopupMenu>
- <PopupMenu id="PopupMenu03" idcolumn="idcolumn" captioncolumn="captioncolumn" levelcolumn="levelcolumn" enablecolumn="enablecolumn" iconcolumn="iconcolumn" checkboxcolumn="checkboxcolumn" hotkeycolumn="hotkeycolumn" userdatacolumn="userdatacolumn" onmenuclick="PopupMenu00_onmenuclick" position="absolute 1421 223 1572 456">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="idcolumn" size="256"/>
- <Column id="captioncolumn" size="256"/>
- <Column id="levelcolumn" size="256"/>
- <Column id="enablecolumn" size="256"/>
- <Column id="iconcolumn" size="256"/>
- <Column id="checkboxcolumn" size="256"/>
- <Column id="hotkeycolumn" size="256"/>
- <Column id="userdatacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="idcolumn">fOpenPrcpList</Col>
- <Col id="captioncolumn">처방상세내역</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn"/>
- <Col id="captioncolumn">-</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fOpenPopup</Col>
- <Col id="captioncolumn">시행부서처방</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn"/>
- <Col id="captioncolumn">-</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fBarcodePrint</Col>
- <Col id="captioncolumn">바코드출력</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn"/>
- <Col id="captioncolumn">-</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fResultMNG</Col>
- <Col id="captioncolumn">결과관리(서식)</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fResultSerch</Col>
- <Col id="captioncolumn">결과조회</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn"/>
- <Col id="captioncolumn">-</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fNursingActing</Col>
- <Col id="captioncolumn">주사실액팅</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn"/>
- <Col id="captioncolumn">-</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fNursingReport</Col>
- <Col id="captioncolumn">간호일지 Type2</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn"/>
- <Col id="captioncolumn">-</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fProgressNote</Col>
- <Col id="captioncolumn">Progress Note</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn"/>
- <Col id="captioncolumn">-</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fOrdPrcpInfoList</Col>
- <Col id="captioncolumn">환자처방조회</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn"/>
- <Col id="captioncolumn">-</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fDrugMNG</Col>
- <Col id="captioncolumn">마약관리</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- </Rows>
- </Dataset>
- </PopupMenu>
- <Div id="div_directsms" taborder="3" style="background:white;border:1 solid gray ;shadow:outer 0,0 20 gray;" visible="false" position="absolute 1225 410 1722 625">
- <Layouts>
- <Layout>
- <Static id="cap_sendsms" text="문자 전송" class="tit_2" position="absolute 10 10 110 30" anchor="default"/>
- <Grid id="grd_sms" taborder="13" binddataset="ds_hidden_sms" useinputpanel="false" areaselecttype="overband" autofittype="col" position="absolute 10 30 485 170" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="440"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="26"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="문자 내용"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" style="align:left;padding:0 0 0 5;" text="bind:msgcnts"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_sendsms" taborder="14" text="전송" onclick="div_directsms_btn_sendsms_onclick" class="btn4" position="absolute 368 178 423 203" anchor="default"/>
- <Button id="btn_closesms" taborder="15" text="닫기" onclick="div_directsms_btn_closesms_onclick" class="btn4" position="absolute 430 178 485 203" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grd_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="rsrvdd" type="STRING"/>
- <Column id="count" type="STRING"/>
- <Column id="max" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_rsrvposstm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="rsrvtm" type="STRING"/>
- <Column id="count" type="STRING"/>
- <Column id="max" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_ordlist1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="check" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="sna" type="STRING"/>
- <Column id="rrgstno1" type="STRING"/>
- <Column id="orddepthngnm" type="STRING"/>
- <Column id="orddrnm" type="STRING"/>
- <Column id="choiordflag" type="STRING"/>
- <Column id="specdrid" type="STRING"/>
- <Column id="portprcpflag" type="STRING"/>
- <Column id="calcscorcd" type="STRING"/>
- <Column id="prcpdt" type="STRING"/>
- <Column id="statcd" type="STRING"/>
- <Column id="rcptyn" type="STRING"/>
- <Column id="excuroomcd" type="STRING"/>
- <Column id="roomcd" type="STRING"/>
- <Column id="roomnm" type="STRING"/>
- <Column id="srchrsrvdt" type="STRING"/>
- <Column id="prcphopedd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="prcpqty" type="STRING"/>
- <Column id="execprcptims" type="STRING"/>
- <Column id="execdt" type="STRING"/>
- <Column id="execrid1" type="STRING"/>
- <Column id="rsrvrnm" type="STRING"/>
- <Column id="basecd" type="STRING"/>
- <Column id="hometel" type="STRING"/>
- <Column id="mpphontel" type="STRING"/>
- <Column id="hight" type="STRING"/>
- <Column id="weight" type="STRING"/>
- <Column id="execprcpuniqno" type="STRING"/>
- <Column id="prcpexecdeptcd" type="STRING"/>
- <Column id="inflag" type="STRING"/>
- <Column id="rcptacptyn" type="STRING"/>
- <Column id="execbaseflag" type="STRING"/>
- <Column id="excupartcd" type="STRING"/>
- <Column id="modality" type="STRING"/>
- <Column id="execrem" type="STRING"/>
- <Column id="prcpdelivefact" type="STRING"/>
- <Column id="carecnfmdd" type="STRING"/>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="rcptno" type="STRING"/>
- <Column id="acptseqno" type="STRING"/>
- <Column id="prcpgenrflag" type="STRING"/>
- <Column id="orddd" type="STRING"/>
- <Column id="orddeptcd" type="STRING"/>
- <Column id="rcptdd" type="STRING"/>
- <Column id="orddrid" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="eqmtifyn" type="STRING"/>
- <Column id="basesuppdeptcd" type="STRING"/>
- <Column id="cretno" type="STRING"/>
- <Column id="wardcd" type="STRING"/>
- <Column id="rsrvdt" type="STRING"/>
- <Column id="rgstdeptcd" type="STRING"/>
- <Column id="rgstrid" type="STRING"/>
- <Column id="inclprcpcd" type="STRING"/>
- <Column id="lrgcd" type="STRING"/>
- <Column id="mdlcd" type="STRING"/>
- <Column id="actorddd" type="STRING"/>
- <Column id="examroomnm" type="STRING"/>
- <Column id="prcphistno" type="STRING"/>
- <Column id="pacsnocretyn" type="STRING"/>
- <Column id="execprcpstatcd" type="STRING"/>
- <Column id="tmpldata" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="rsrvrid" type="STRING"/>
- <Column id="cnclresncdnm" type="STRING"/>
- <Column id="rsrvexmptmplcd" type="STRING"/>
- <Column id="rrgstno2" type="STRING"/>
- <Column id="clincstdycd" type="STRING"/>
- <Column id="aftrcptinfo" type="STRING"/>
- <Column id="unrsrvexecyn" type="STRING"/>
- <Column id="insukind" type="STRING"/>
- <Column id="specdrid" type="STRING"/>
- <Column id="selectdrid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_ordlist3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="check" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="sna" type="STRING"/>
- <Column id="rrgstno1" type="STRING"/>
- <Column id="orddepthngnm" type="STRING"/>
- <Column id="orddrnm" type="STRING"/>
- <Column id="choiordflag" type="STRING"/>
- <Column id="specdrid" type="STRING"/>
- <Column id="portprcpflag" type="STRING"/>
- <Column id="calcscorcd" type="STRING"/>
- <Column id="prcpdt" type="STRING"/>
- <Column id="statcd" type="STRING"/>
- <Column id="rcptyn" type="STRING"/>
- <Column id="excuroomcd" type="STRING"/>
- <Column id="roomcd" type="STRING"/>
- <Column id="roomnm" type="STRING"/>
- <Column id="srchrsrvdt" type="STRING"/>
- <Column id="prcphopedd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="prcpqty" type="STRING"/>
- <Column id="execprcptims" type="STRING"/>
- <Column id="execdt" type="STRING"/>
- <Column id="execrid1" type="STRING"/>
- <Column id="rsrvrnm" type="STRING"/>
- <Column id="basecd" type="STRING"/>
- <Column id="hometel" type="STRING"/>
- <Column id="mpphontel" type="STRING"/>
- <Column id="hight" type="STRING"/>
- <Column id="weight" type="STRING"/>
- <Column id="execprcpuniqno" type="STRING"/>
- <Column id="prcpexecdeptcd" type="STRING"/>
- <Column id="inflag" type="STRING"/>
- <Column id="rcptacptyn" type="STRING"/>
- <Column id="execbaseflag" type="STRING"/>
- <Column id="excupartcd" type="STRING"/>
- <Column id="modality" type="STRING"/>
- <Column id="execrem" type="STRING"/>
- <Column id="prcpdelivefact" type="STRING"/>
- <Column id="carecnfmdd" type="STRING"/>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="rcptno" type="STRING"/>
- <Column id="acptseqno" type="STRING"/>
- <Column id="prcpgenrflag" type="STRING"/>
- <Column id="orddd" type="STRING"/>
- <Column id="orddeptcd" type="STRING"/>
- <Column id="rcptdd" type="STRING"/>
- <Column id="orddrid" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="eqmtifyn" type="STRING"/>
- <Column id="basesuppdeptcd" type="STRING"/>
- <Column id="cretno" type="STRING"/>
- <Column id="wardcd" type="STRING"/>
- <Column id="rsrvdt" type="STRING"/>
- <Column id="rgstdeptcd" type="STRING"/>
- <Column id="rgstrid" type="STRING"/>
- <Column id="inclprcpcd" type="STRING"/>
- <Column id="lrgcd" type="STRING"/>
- <Column id="mdlcd" type="STRING"/>
- <Column id="actorddd" type="STRING"/>
- <Column id="examroomnm" type="STRING"/>
- <Column id="prcphistno" type="STRING"/>
- <Column id="pacsnocretyn" type="STRING"/>
- <Column id="execprcpstatcd" type="STRING"/>
- <Column id="tmpldata" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="rsrvrid" type="STRING"/>
- <Column id="cnclresncdnm" type="STRING"/>
- <Column id="rsrvexmptmplcd" type="STRING"/>
- <Column id="rrgstno2" type="STRING"/>
- <Column id="clincstdycd" type="STRING"/>
- <Column id="aftrcptinfo" type="STRING"/>
- <Column id="unrsrvexecyn" type="STRING"/>
- <Column id="insukind" type="STRING"/>
- <Column id="specdrid" type="STRING"/>
- <Column id="selectdrid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_temp1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="check" type="STRING"/>
- <Column id="no" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="age" type="STRING"/>
- <Column id="rrgrstno" type="STRING"/>
- <Column id="sex" type="STRING"/>
- <Column id="rgstdepthngnm" type="STRING"/>
- <Column id="rgstridnm" type="STRING"/>
- <Column id="portprcpflag" type="STRING"/>
- <Column id="calcscorcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="execprcpstatcd" type="STRING"/>
- <Column id="roomcd" type="STRING"/>
- <Column id="roomnm" type="STRING"/>
- <Column id="rsrvdt" type="STRING"/>
- <Column id="execrid2" type="STRING"/>
- <Column id="rcptdd" type="STRING"/>
- <Column id="acptid" type="STRING"/>
- <Column id="execdt" type="STRING"/>
- <Column id="execrid1" type="STRING"/>
- <Column id="rcptyn" type="STRING"/>
- <Column id="hight" type="STRING"/>
- <Column id="weight" type="STRING"/>
- <Column id="basecd" type="STRING"/>
- <Column id="execprcpuniqno" type="STRING"/>
- <Column id="prcpexecdeptcd" type="STRING"/>
- <Column id="excuroomcd" type="STRING"/>
- <Column id="rgstdeptcd" type="STRING"/>
- <Column id="rgstrid" type="STRING"/>
- <Column id="inflag" type="STRING"/>
- <Column id="rcptacptyn" type="STRING"/>
- <Column id="execbaseflag" type="STRING"/>
- <Column id="lrgcd" type="STRING"/>
- <Column id="mdlcd" type="STRING"/>
- <Column id="excupartcd" type="STRING"/>
- <Column id="modality" type="STRING"/>
- <Column id="acptrem" type="STRING"/>
- <Column id="execrem" type="STRING"/>
- <Column id="newElement" type="STRING"/>
- <Column id="carecnfmdd" type="STRING"/>
- <Column id="excuroomnm" type="STRING"/>
- <Column id="rgstdepthngnm" type="STRING"/>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="rcptno" type="STRING"/>
- <Column id="acptseqno" type="STRING"/>
- <Column id="execrid1" type="STRING"/>
- <Column id="execrid2" type="STRING"/>
- <Column id="execrid3" type="STRING"/>
- <Column id="execrid4" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_temp2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="check" type="STRING"/>
- <Column id="no" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="age" type="STRING"/>
- <Column id="rrgrstno" type="STRING"/>
- <Column id="sex" type="STRING"/>
- <Column id="rgstdepthngnm" type="STRING"/>
- <Column id="rgstridnm" type="STRING"/>
- <Column id="portprcpflag" type="STRING"/>
- <Column id="calcscorcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="execprcpstatcd" type="STRING"/>
- <Column id="roomcd" type="STRING"/>
- <Column id="roomnm" type="STRING"/>
- <Column id="rsrvdt" type="STRING"/>
- <Column id="execrid2" type="STRING"/>
- <Column id="rcptdd" type="STRING"/>
- <Column id="acptid" type="STRING"/>
- <Column id="execdt" type="STRING"/>
- <Column id="execrid1" type="STRING"/>
- <Column id="rcptyn" type="STRING"/>
- <Column id="hight" type="STRING"/>
- <Column id="weight" type="STRING"/>
- <Column id="basecd" type="STRING"/>
- <Column id="execprcpuniqno" type="STRING"/>
- <Column id="prcpexecdeptcd" type="STRING"/>
- <Column id="excuroomcd" type="STRING"/>
- <Column id="rgstdeptcd" type="STRING"/>
- <Column id="rgstrid" type="STRING"/>
- <Column id="inflag" type="STRING"/>
- <Column id="rcptacptyn" type="STRING"/>
- <Column id="execbaseflag" type="STRING"/>
- <Column id="lrgcd" type="STRING"/>
- <Column id="mdlcd" type="STRING"/>
- <Column id="excupartcd" type="STRING"/>
- <Column id="modality" type="STRING"/>
- <Column id="acptrem" type="STRING"/>
- <Column id="execrem" type="STRING"/>
- <Column id="newElement" type="STRING"/>
- <Column id="carecnfmdd" type="STRING"/>
- <Column id="excuroomnm" type="STRING"/>
- <Column id="rgstdepthngnm" type="STRING"/>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="rcptno" type="STRING"/>
- <Column id="acptseqno" type="STRING"/>
- <Column id="execrid1" type="STRING"/>
- <Column id="execrid2" type="STRING"/>
- <Column id="execrid3" type="STRING"/>
- <Column id="execrid4" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_ordlist4" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="check" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="sna" type="STRING"/>
- <Column id="rrgstno1" type="STRING"/>
- <Column id="orddepthngnm" type="STRING"/>
- <Column id="orddrnm" type="STRING"/>
- <Column id="choiordflag" type="STRING"/>
- <Column id="specdrid" type="STRING"/>
- <Column id="portprcpflag" type="STRING"/>
- <Column id="calcscorcd" type="STRING"/>
- <Column id="prcpdt" type="STRING"/>
- <Column id="statcd" type="STRING"/>
- <Column id="rcptyn" type="STRING"/>
- <Column id="excuroomcd" type="STRING"/>
- <Column id="roomcd" type="STRING"/>
- <Column id="roomnm" type="STRING"/>
- <Column id="srchrsrvdt" type="STRING"/>
- <Column id="prcphopedd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="prcpqty" type="STRING"/>
- <Column id="execprcptims" type="STRING"/>
- <Column id="rsrvrnm" type="STRING"/>
- <Column id="execdt" type="STRING"/>
- <Column id="execrnm" type="STRING"/>
- <Column id="basecd" type="STRING"/>
- <Column id="hometel" type="STRING"/>
- <Column id="mpphontel" type="STRING"/>
- <Column id="hight" type="STRING"/>
- <Column id="weight" type="STRING"/>
- <Column id="execprcpuniqno" type="STRING"/>
- <Column id="prcpexecdeptcd" type="STRING"/>
- <Column id="rgstdeptcd" type="STRING"/>
- <Column id="rgstrid" type="STRING"/>
- <Column id="inflag" type="STRING"/>
- <Column id="rcptacptyn" type="STRING"/>
- <Column id="execbaseflag" type="STRING"/>
- <Column id="lrgcd" type="STRING"/>
- <Column id="mdlcd" type="STRING"/>
- <Column id="excupartcd" type="STRING"/>
- <Column id="modality" type="STRING"/>
- <Column id="execrem" type="STRING"/>
- <Column id="prcpdelivefact" type="STRING"/>
- <Column id="carecnfmdd" type="STRING"/>
- <Column id="excuroomnm" type="STRING"/>
- <Column id="rgstdepthngnm" type="STRING"/>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="rcptno" type="STRING"/>
- <Column id="acptseqno" type="STRING"/>
- <Column id="prcpdelivefact" type="STRING"/>
- <Column id="prcpgenrflag" type="STRING"/>
- <Column id="orddd" type="STRING"/>
- <Column id="rgstrid" type="STRING"/>
- <Column id="orddrnm" type="STRING"/>
- <Column id="orddeptcd" type="STRING"/>
- <Column id="rcptdd" type="STRING"/>
- <Column id="orddrid" type="STRING"/>
- <Column id="prcpgenrflag" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="eqmtifyn" type="STRING"/>
- <Column id="basesuppdeptcd" type="STRING"/>
- <Column id="rsrvdt" type="STRING"/>
- <Column id="inclprcpcd" type="STRING"/>
- <Column id="examroomnm" type="STRING"/>
- <Column id="execprcpstatcd" type="STRING"/>
- <Column id="tmpldata" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="rsrvrid" type="STRING"/>
- <Column id="pacsnocretyn" type="STRING"/>
- <Column id="cnclresncdnm" type="STRING"/>
- <Column id="rsrvexmptmplcd" type="STRING"/>
- <Column id="rrgstno2" type="STRING"/>
- <Column id="clincstdycd" type="STRING"/>
- <Column id="execrid1" type="STRING"/>
- <Column id="aftrcptinfo" type="STRING"/>
- <Column id="unrsrvexecyn" type="STRING"/>
- <Column id="insukind" type="STRING"/>
- <Column id="specdrid" type="STRING"/>
- <Column id="selectdrid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_ordlist6" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="check" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="sna" type="STRING"/>
- <Column id="rrgstno1" type="STRING"/>
- <Column id="orddepthngnm" type="STRING"/>
- <Column id="orddrnm" type="STRING"/>
- <Column id="choiordflag" type="STRING"/>
- <Column id="specdrid" type="STRING"/>
- <Column id="portprcpflag" type="STRING"/>
- <Column id="calcscorcd" type="STRING"/>
- <Column id="prcpdt" type="STRING"/>
- <Column id="statcd" type="STRING"/>
- <Column id="rcptyn" type="STRING"/>
- <Column id="excuroomcd" type="STRING"/>
- <Column id="roomcd" type="STRING"/>
- <Column id="roomnm" type="STRING"/>
- <Column id="srchrsrvdt" type="STRING"/>
- <Column id="prcphopedd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="prcpqty" type="STRING"/>
- <Column id="execprcptims" type="STRING"/>
- <Column id="rsrvid" type="STRING"/>
- <Column id="rcptdd" type="STRING"/>
- <Column id="acptid" type="STRING"/>
- <Column id="execdt" type="STRING"/>
- <Column id="execrid1" type="STRING"/>
- <Column id="basecd" type="STRING"/>
- <Column id="hometel" type="STRING"/>
- <Column id="mpphontel" type="STRING"/>
- <Column id="hight" type="STRING"/>
- <Column id="weight" type="STRING"/>
- <Column id="execprcpuniqno" type="STRING"/>
- <Column id="prcpexecdeptcd" type="STRING"/>
- <Column id="rgstdeptcd" type="STRING"/>
- <Column id="rgstrid" type="STRING"/>
- <Column id="inflag" type="STRING"/>
- <Column id="rcptacptyn" type="STRING"/>
- <Column id="execbaseflag" type="STRING"/>
- <Column id="lrgcd" type="STRING"/>
- <Column id="mdlcd" type="STRING"/>
- <Column id="excupartcd" type="STRING"/>
- <Column id="modality" type="STRING"/>
- <Column id="acptrem" type="STRING"/>
- <Column id="execrem" type="STRING"/>
- <Column id="prcpdelivefact" type="STRING"/>
- <Column id="carecnfmdd" type="STRING"/>
- <Column id="excuroomnm" type="STRING"/>
- <Column id="rgstdepthngnm" type="STRING"/>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="rcptno" type="STRING"/>
- <Column id="acptseqno" type="STRING"/>
- <Column id="prcpdelivefact" type="STRING"/>
- <Column id="execrid1" type="STRING"/>
- <Column id="execrid2" type="STRING"/>
- <Column id="execrid3" type="STRING"/>
- <Column id="execrid4" type="STRING"/>
- <Column id="prcpgenrflag" type="STRING"/>
- <Column id="orddd" type="STRING"/>
- <Column id="rgstrid" type="STRING"/>
- <Column id="orddrnm" type="STRING"/>
- <Column id="orddeptcd" type="STRING"/>
- <Column id="rcptdd" type="STRING"/>
- <Column id="orddrid" type="STRING"/>
- <Column id="prcpgenrflag" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="eqmtifyn" type="STRING"/>
- <Column id="basesuppdeptcd" type="STRING"/>
- <Column id="tmpldata" type="STRING"/>
- <Column id="wardcd" type="STRING"/>
- <Column id="prcpexecdeptcd" type="STRING"/>
- <Column id="rsrvdt" type="STRING"/>
- <Column id="prcphistno" type="STRING"/>
- <Column id="inclprcpcd" type="STRING"/>
- <Column id="actorddd" type="STRING"/>
- <Column id="cretno" type="STRING"/>
- <Column id="pacsnocretyn" type="STRING"/>
- <Column id="examroomnm" type="STRING"/>
- <Column id="execprcpstatcd" type="STRING"/>
- <Column id="tmpldata" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="cnclresncdnm" type="STRING"/>
- <Column id="rsrvexmptmplcd" type="STRING"/>
- <Column id="rrgstno2" type="STRING"/>
- <Column id="clincstdycd" type="STRING"/>
- <Column id="aftrcptinfo" type="STRING"/>
- <Column id="unrsrvexecyn" type="STRING"/>
- <Column id="insukind" type="STRING"/>
- <Column id="specdrid" type="STRING"/>
- <Column id="selectdrid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_inclprcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="check" type="STRING"/>
- <Column id="execprcpstatcd" type="STRING"/>
- <Column id="calcscorcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="acprdd" type="STRING"/>
- <Column id="execdd" type="STRING"/>
- <Column id="cnfmdt" type="STRING"/>
- <Column id="payflagcd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_rsrvlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchrsrvtm" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="rrgstno1" type="STRING"/>
- <Column id="calcscorcd" type="STRING"/>
- <Column id="sna" type="STRING"/>
- <Column id="statcd" type="STRING"/>
- <Column id="roomcd" type="STRING"/>
- <Column id="orddepthngnm" type="STRING"/>
- <Column id="orddrnm" type="STRING"/>
- <Column id="prcpdt" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="rsrvrnm" type="STRING"/>
- <Column id="hight" type="STRING"/>
- <Column id="weight" type="STRING"/>
- <Column id="execprcpuniqno" type="STRING"/>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="prcpgenrflag" type="STRING"/>
- <Column id="basecd" type="STRING"/>
- <Column id="prcpexecdeptcd" type="STRING"/>
- <Column id="excuroomcd" type="STRING"/>
- <Column id="inflag" type="STRING"/>
- <Column id="rcptacptyn" type="STRING"/>
- <Column id="execbaseflag" type="STRING"/>
- <Column id="orddd" type="STRING"/>
- <Column id="excupartcd" type="STRING"/>
- <Column id="modality" type="STRING"/>
- <Column id="prcpdelivefact" type="STRING"/>
- <Column id="carecnfmdd" type="STRING"/>
- <Column id="rsrvdt" type="STRING"/>
- <Column id="orddeptcd" type="STRING"/>
- <Column id="orddrid" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="basesuppdeptcd" type="STRING"/>
- <Column id="cretno" type="STRING"/>
- <Column id="wardcd" type="STRING"/>
- <Column id="srchrsrvdt" type="STRING"/>
- <Column id="rsrvrem" type="STRING"/>
- <Column id="eqmtifyn" type="STRING"/>
- <Column id="rgstdeptcd" type="STRING"/>
- <Column id="rgstrid" type="STRING"/>
- <Column id="execdt" type="STRING"/>
- <Column id="execrid1" type="STRING"/>
- <Column id="inclprcpcd" type="STRING"/>
- <Column id="lrgcd" type="STRING"/>
- <Column id="mdlcd" type="STRING"/>
- <Column id="actorddd" type="STRING"/>
- <Column id="examroomnm" type="STRING"/>
- <Column id="pacsnocretyn" type="STRING"/>
- <Column id="execprcpstatcd" type="STRING"/>
- <Column id="tmpldata" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="rsrvrid" type="STRING"/>
- <Column id="rsrvexmptmplcd" type="STRING"/>
- <Column id="instcd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_calendinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="basedd" type="STRING"/>
- <Column id="dutflag" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_patrem_selectpat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="sna" type="STRING" size="256"/>
- <Column id="hometel" type="STRING" size="256"/>
- <Column id="mpphontel" type="STRING" size="256"/>
- <Column id="rrgstno" type="STRING" size="256"/>
- <Column id="addr" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="hngnm"/>
- <Col id="sna"/>
- <Col id="hometel"/>
- <Col id="mpphontel"/>
- <Col id="rrgstno"/>
- <Col id="addr"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sgubn" type="STRING" size="256"/>
- <Column id="srchpid" type="STRING" size="256"/>
- <Column id="srchdate1" type="STRING" size="256"/>
- <Column id="srchdate2" type="STRING" size="256"/>
- <Column id="dateflag" type="STRING" size="256"/>
- <Column id="acptlistflag" type="STRING" size="256"/>
- <Column id="unrsrvflag" type="STRING" size="256"/>
- <Column id="patrem" type="STRING" size="256"/>
- <Column id="memorem" type="STRING" size="256"/>
- <Column id="rsrvdate" type="STRING" size="256"/>
- <Column id="selectexcuroom" type="STRING" size="256"/>
- <Column id="excuroomcd" type="STRING" size="256"/>
- <Column id="prcpgenrflag" type="STRING" size="256"/>
- <Column id="genrflag" type="STRING" size="256"/>
- <Column id="execprcpuniqno" type="STRING" size="256"/>
- <Column id="prcpno" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="srchrsrvdt" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="rsrvgenrflag" type="STRING" size="256"/>
- <Column id="prcpexecdeptcd" type="STRING" size="256"/>
- <Column id="largeclass" type="STRING" size="256"/>
- <Column id="curdate" type="STRING" size="256"/>
- <Column id="prntcalcscorcd" type="STRING" size="256"/>
- <Column id="prntsuppdeptcd" type="STRING" size="256"/>
- <Column id="rsrvdd" type="STRING" size="256"/>
- <Column id="memorgstddprcpdd" type="STRING" size="256"/>
- <Column id="allstatus" type="STRING" size="256"/>
- <Column id="term" type="STRING" size="256"/>
- <Column id="execrid1" type="STRING" size="256"/>
- <Column id="rsrvprtyn" type="STRING" size="256"/>
- <Column id="rsrvpossexcuroomcd" type="STRING" size="256"/>
- <Column id="inclprcpcd" type="STRING" size="256"/>
- <Column id="rsrvposs" type="STRING" size="256"/>
- <Column id="centyn" type="STRING" size="256"/>
- <Column id="centflag" type="STRING" size="256"/>
- <Column id="ecgflag" type="STRING" size="256"/>
- <Column id="prcpcd" type="STRING" size="256"/>
- <Column id="cmtflag" type="STRING" size="256"/>
- <Column id="memoflag" type="STRING" size="256"/>
- <Column id="suppdeptcd" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="execprcpstatcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="sgubn"/>
- <Col id="srchpid"/>
- <Col id="srchdate1"/>
- <Col id="srchdate2"/>
- <Col id="dateflag"/>
- <Col id="acptlistflag"/>
- <Col id="unrsrvflag"/>
- <Col id="patrem"/>
- <Col id="memorem"/>
- <Col id="rsrvdate"/>
- <Col id="selectexcuroom"/>
- <Col id="excuroomcd"/>
- <Col id="prcpgenrflag"/>
- <Col id="genrflag"/>
- <Col id="execprcpuniqno"/>
- <Col id="prcpno"/>
- <Col id="prcpdd"/>
- <Col id="srchrsrvdt"/>
- <Col id="cretno"/>
- <Col id="orddd"/>
- <Col id="rsrvgenrflag"/>
- <Col id="prcpexecdeptcd"/>
- <Col id="largeclass"/>
- <Col id="curdate"/>
- <Col id="prntcalcscorcd"/>
- <Col id="prntsuppdeptcd"/>
- <Col id="rsrvdd"/>
- <Col id="memorgstddprcpdd"/>
- <Col id="allstatus">Y</Col>
- <Col id="term">0</Col>
- <Col id="execrid1"/>
- <Col id="rsrvprtyn"/>
- <Col id="rsrvpossexcuroomcd"/>
- <Col id="memoflag">dept</Col>
- <Col id="rsrvposs">Y</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_patrem_rem" 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_patrem_examcureexecdiaglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="diagengnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_patrem_isolinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="isoldispcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_patrem_prcpdeliveinfo" 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_patrem_rsrvpossexcuroomlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="excuroomnm" type="STRING" size="256"/>
- <Column id="excuroomcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_calendar" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="year" type="STRING" size="256"/>
- <Column id="month" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_rsrvcalendar" 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_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_deptcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_tobeacptprcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_data_popup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="execprcpuniqno" type="STRING" size="256"/>
- <Column id="prcpgenrflag" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="basesuppdeptcd" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="prcpdd"/>
- <Col id="execprcpuniqno"/>
- <Col id="prcpgenrflag"/>
- <Col id="pid"/>
- <Col id="orddd"/>
- <Col id="basesuppdeptcd"/>
- <Col id="ioflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_cnclcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cnclcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_globalinstance" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="dutplcecd" type="STRING" size="256"/>
- <Column id="specdraddyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_pseursrvinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="seq" type="STRING" size="256"/>
- <Column id="suppdeptcd" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="rsrvdd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="seq"/>
- <Col id="suppdeptcd"/>
- <Col id="instcd"/>
- <Col id="rsrvdd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="data" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="basesuppdeptcd" type="STRING" size="256"/>
- <Column id="cnclcd" type="STRING" size="256"/>
- <Column id="pamifyn" type="STRING" size="256"/>
- <Column id="ordtm" type="STRING" size="256"/>
- <Column id="scrnid" type="STRING" size="256"/>
- <Column id="compscd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="data"/>
- <Col id="flag"/>
- <Col id="basesuppdeptcd"/>
- <Col id="cnclcd"/>
- <Col id="pamifyn"/>
- <Col id="ordtm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_curfile" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="filename" type="STRING" size="256"/>
- <Column id="rtfcode" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_rtflist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_popup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="basecdflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_tmplinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_specdridlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_barcdprntsetup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_cmb_initexecroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_cmb_initexecroomcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="excuroomcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cmb_initexecrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_cmb_prcpexecdeptcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpexecdeptcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cmb_cdidlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_cmb_nursingtype" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_cmb_initexcuroomgrp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_A0608" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_P0008" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_prcprcptyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_initdspyn_A620" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_cmb_info6_X0003" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_resultref" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_uspayflagyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_excuroomgrplist" 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_patrem_grdAeahMemoList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_grdcellcolor" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="calrow" type="STRING" size="256"/>
- <Column id="calcol" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_gridseq" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_req_header" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="scrnid" type="STRING" size="256"/>
- <Column id="compscd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_grid_grd_calendar" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sun" type="STRING" size="256"/>
- <Column id="mon" type="STRING" size="256"/>
- <Column id="tue" type="STRING" size="256"/>
- <Column id="wed" type="STRING" size="256"/>
- <Column id="thu" type="STRING" size="256"/>
- <Column id="fri" type="STRING" size="256"/>
- <Column id="sat" type="STRING" size="256"/>
- <Column id="sun_memo" type="STRING" size="256"/>
- <Column id="mon_memo" type="STRING" size="256"/>
- <Column id="tue_memo" type="STRING" size="256"/>
- <Column id="wed_memo" type="STRING" size="256"/>
- <Column id="thu_memo" type="STRING" size="256"/>
- <Column id="fri_memo" type="STRING" size="256"/>
- <Column id="sat_memo" type="STRING" size="256"/>
- <Column id="sun_dutflag" type="STRING" size="256"/>
- <Column id="mon_dutflag" type="STRING" size="256"/>
- <Column id="tue_dutflag" type="STRING" size="256"/>
- <Column id="wed_dutflag" type="STRING" size="256"/>
- <Column id="thu_dutflag" type="STRING" size="256"/>
- <Column id="fri_dutflag" type="STRING" size="256"/>
- <Column id="sat_dutflag" type="STRING" size="256"/>
- <Column id="sun_ampmflag" type="STRING" size="256"/>
- <Column id="mon_ampmflag" type="STRING" size="256"/>
- <Column id="tue_ampmflag" type="STRING" size="256"/>
- <Column id="wed_ampmflag" type="STRING" size="256"/>
- <Column id="thu_ampmflag" type="STRING" size="256"/>
- <Column id="fri_ampmflag" type="STRING" size="256"/>
- <Column id="sat_ampmflag" type="STRING" size="256"/>
- <Column id="sun_ordendresn" type="STRING" size="256"/>
- <Column id="mon_ordendresn" type="STRING" size="256"/>
- <Column id="tue_ordendresn" type="STRING" size="256"/>
- <Column id="wed_ordendresn" type="STRING" size="256"/>
- <Column id="thu_ordendresn" type="STRING" size="256"/>
- <Column id="fri_ordendresn" type="STRING" size="256"/>
- <Column id="sat_ordendresn" type="STRING" size="256"/>
- <Column id="sun_ordendresnmin" type="STRING" size="256"/>
- <Column id="mon_ordendresnmin" type="STRING" size="256"/>
- <Column id="tue_ordendresnmin" type="STRING" size="256"/>
- <Column id="wed_ordendresnmin" type="STRING" size="256"/>
- <Column id="thu_ordendresnmin" type="STRING" size="256"/>
- <Column id="fri_ordendresnmin" type="STRING" size="256"/>
- <Column id="sat_ordendresnmin" type="STRING" size="256"/>
- <Column id="sun_reglscheflag" type="STRING" size="256"/>
- <Column id="mon_reglscheflag" type="STRING" size="256"/>
- <Column id="tue_reglscheflag" type="STRING" size="256"/>
- <Column id="wed_reglscheflag" type="STRING" size="256"/>
- <Column id="thu_reglscheflag" type="STRING" size="256"/>
- <Column id="fri_reglscheflag" type="STRING" size="256"/>
- <Column id="sat_reglscheflag" 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_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_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_init_cmb_info6" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_examcureexecprcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_barprntinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="comport" type="STRING" size="256"/>
- <Column id="setting" type="STRING" size="256"/>
- <Column id="ip" type="STRING" size="256"/>
- <Column id="patdonor" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="comport">2</Col>
- <Col id="setting">9600,n,8,1</Col>
- <Col id="ip"/>
- <Col id="patdonor">1</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_printdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_progressnote" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_cmb_nursingtype2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="dutplaccd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_T0003" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="dispseq" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="grupcdid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_selectdridlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="userid" type="STRING" size="256"/>
- <Column id="usernm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_sms" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="msgcnts" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_sms" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="condflag" type="STRING" size="256"/>
- <Column id="data" type="STRING" size="256"/>
- <Column id="calltype" type="STRING" size="256"/>
- <Column id="msgcnts" type="STRING" size="256"/>
- <Column id="insuflag" type="STRING" size="256"/>
- <Column id="calltelno" type="STRING" size="256"/>
- <Column id="systemnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_sms" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_rcv" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="usernm" type="STRING" size="256"/>
- <Column id="userid" type="STRING" size="256"/>
- <Column id="mpphonno" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <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="grp_body.grp_sea.ipt_pid" propid="value" datasetid="ds_send_data" columnid="srchpid"/>
- <BindItem id="item1" compid="grp_body.grp_sea.ipt_date1" propid="value" datasetid="ds_send_data" columnid="srchdate1"/>
- <BindItem id="item2" compid="grp_body.grp_sea.ipt_date2" propid="value" datasetid="ds_send_data" columnid="srchdate2"/>
- <BindItem id="item3" compid="grp_body.grp_sea.cmb_term" propid="value" datasetid="ds_send_data" columnid="term"/>
- <BindItem id="item4" compid="grp_body.div_info.input2" propid="value" datasetid="ds_patrem_selectpat" columnid="pid"/>
- <BindItem id="item5" compid="grp_body.div_info.input3" propid="value" datasetid="ds_patrem_selectpat" columnid="hngnm"/>
- <BindItem id="item6" compid="grp_body.div_info.input7" propid="value" datasetid="ds_patrem_selectpat" columnid="sna"/>
- <BindItem id="item7" compid="grp_body.div_info.input9" propid="value" datasetid="ds_patrem_selectpat" columnid="rrgstno"/>
- <BindItem id="item8" compid="grp_body.div_info.input5" propid="value" datasetid="ds_patrem_selectpat" columnid="hometel"/>
- <BindItem id="item9" compid="grp_body.div_info.input6" propid="value" datasetid="ds_patrem_selectpat" columnid="mpphontel"/>
- <BindItem id="item10" compid="grp_body.div_info.input8" propid="value" datasetid="ds_patrem_selectpat" columnid="addr"/>
- <BindItem id="item11" compid="grp_body.group2.group7.txt_isol" propid="value" datasetid="ds_patrem_isolinfo" columnid="isoldispcd"/>
- <BindItem id="item12" compid="grp_body.group2.rdo_prcpgenrflag" propid="value" datasetid="ds_send_data" columnid="prcpgenrflag"/>
- <BindItem id="item13" compid="grp_body.group2.tar_prcpdelivefact" propid="value" datasetid="ds_patrem_prcpdeliveinfo" columnid="prcpdelivefact"/>
- <BindItem id="item14" compid="grp_body.group2.tar_patrem" propid="value" datasetid="ds_patrem_rem" columnid="memo"/>
- <BindItem id="item15" compid="grp_body.grp_calendar.opt_year" propid="value" datasetid="ds_calendar" columnid="year"/>
- <BindItem id="item16" compid="grp_body.grp_calendar.opt_month" propid="value" datasetid="ds_calendar" columnid="month"/>
- <BindItem id="item17" compid="grp_body.group2.tat_deptmemo" propid="value" datasetid="ds_examcuredeptmemolist" columnid="memorem"/>
- <BindItem id="item18" compid="grp_body.group2.rd_memoflag" propid="value" datasetid="ds_send_data" columnid="memoflag"/>
- <BindItem id="item19" compid="grp_body.grp_sea.cmb_selectexcuroom" propid="value" datasetid="ds_send_data" columnid="selectexcuroom"/>
- <BindItem id="item20" compid="group4.input1" propid="value" datasetid="ds_hidden_barprntinfo" columnid="comport"/>
- <BindItem id="item21" compid="grp_body.cmb_rsrvexcuroomcd" propid="value" datasetid="ds_send_data" columnid="rsrvpossexcuroomcd"/>
- </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 "emr_prcpmngtxp::MMOCommon.xjs";
- include "ast_examcurexp::AEZ0001.xjs";
- include "ast_examcurexp::combolist.xjs";
- include "ast_examcurexp::SPAER01100.xjs";
- include "pam_pamcomnxp::PAM.xjs";
- include "com_commodulexp::SSZFM00901.xjs";
- include "emr_waitguidexp::SMMNV12000.xjs";
- include "lis_commonxp::LLZ001.xjs";
- var grdgubn = "";
- var tabgubn = "";
- var acptlistflag = "";
- var prcpddyn = "";
- var grdid = "";
- var dayArr = ["sun","mon","tue","wed","thu","fri","sat"]
- var dayMemoArr = ["sun_memo","mon_memo","tue_memo","wed_memo","thu_memo","fri_memo","sat_memo"]
- //=====================================================================================================================================================================================
- // @ 달력 초기화
- //=====================================================================================================================================================================================
- function initCalendar() {
- var curDate = utlf_getCurrentDate().toDate();
- ds_calendar.setColumn(0,"year", curDate.getDateFormat("YYYY"));
- ds_calendar.setColumn(0,"month", curDate.getDateFormat("MM"));
- setCalendar(curDate);
-
- }
- //=====================================================================================================================================================================================
- // @ 달력에 일자별로 가용현황을 보여준다.
- //=====================================================================================================================================================================================
- function setRsrvPresCondByMonth() {
- var isMonth = ds_calendar.getColumn(0,"month");
- var isYear = ds_calendar.getColumn(0,"year");
- var isDate = (isYear+isMonth+"01").toDate();
- var startDay = isDate.getDay();
-
- if(!utlf_isNull(ds_send_data.getColumn(0,"excuroomcd"))) {
- ds_send_data.setColumn(0,"rsrvdd", isYear +isMonth+ startDay );
- //submit("TRAEA01107");
- var oParam = {};
- oParam.id = "TRAEA01129";
- oParam.service = "examcurersrvapp.SytsRsrv";
- oParam.method = "reqGetFuncCUrerRsrvTimeCnt";
- oParam.inds = "req=ds_send_data";
- oParam.outds = "ds_init_rsrvcalendar=rsrvcalendar";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01129";
- tranf_submit(oParam);
- }
-
-
- for (var i = 0; i < ds_init_rsrvcalendar.rowcount; i++) {
- var dd = ds_init_rsrvcalendar.getColumn(i,"rsrvdd");
- var colidx = dd.toDate().getDay();
- var rowidx = Math.ceil( ( startDay + Number(dd.substr(6,2)) ) / 7 )-1;
- ds_grid_grd_calendar.setColumn(rowidx, dayMemoArr[colidx%7], ds_init_rsrvcalendar.getColumn(i,"count") + "/" + ds_init_rsrvcalendar.getColumn(i,"max")) ;
-
- }
-
- }
- function cf_TRAEA01129(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- //=====================================================================================================================================================================================
- // @ 달력에 0/0 으로 세팅
- //=====================================================================================================================================================================================
- function setCalendar(dateObj) {
-
- // 그리드 초기화
- ds_grid_grd_calendar.clearData();
- ds_init_rsrvcalendar.clearData();
-
- dateObj.setDate(1);
- var startDay = dateObj.getDay();
- var days = dateObj.getMonthDay();
-
- var rows = Math.ceil( ( startDay + days ) / 7 );
- for( var i = 0; i < rows; i++ )
- ds_grid_grd_calendar.addRow();
-
-
- var rowIndex = 0;
- var colIndex = startDay;
-
- for( var i = 1; i <= days; i++ ) {
- ds_grid_grd_calendar.setColumn(rowIndex,dayArr[colIndex%7],i);
- //ds_grid_grd_calendar.setColumn(rowIndex, lf_getBindCellName( group5.grd_calendar,colIndex), i);
- ds_grid_grd_calendar.setColumn(rowIndex,dayMemoArr[colIndex%7],"0/0");
- //ds_grid_grd_calendar.setColumn(rowIndex, lf_getBindCellName( group5.grd_calendar,colIndex + 7),"0/0");
- //grd_calendar.valueMatrix(rowIndex, colIndex + 7) = "0/0";
- colIndex++;
- if( colIndex == 7 ) {
- colIndex = 0;
- rowIndex++;
- }
- }
- ds_send_data.setColumn(0,"curdate",ds_calendar.getColumn(0,"year")+ds_calendar.getColumn(0,"month")+"01");
-
- setRsrvPresCondByMonth();
-
- fCalendar() //공휴일표시
- }
- //--=========================================================================================================
- // 팝메뉴 - 내시경-바코드출력 과 동일 , 채혈바코드출력 때문에 함수이름변경 2011-11-24 라벨출력 by kya
- //--=========================================================================================================
- function fPrintLabel() {
-
- if ( utlf_isNull(ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"pid")) ) {
- sysf_messageBox("처방목록이 선택되지 ", "E007");
- return;
- }
- ds_rexbarcode.clearData();
- ds_rexbarcode.addRow();
- ds_rexbarcode.setColumn(0,"pid", ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"pid"));
- ds_rexbarcode.setColumn(0,"patnm", ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"hngnm"));
- ds_rexbarcode.setColumn(0,"prcpnm", ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"prcpnm"));
- ds_rexbarcode.setColumn(0,"gbn", "");
- ds_rexbarcode.setColumn(0,"rrgstno1", ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"rrgstno1"));
- ds_rexbarcode.setColumn(0,"rrgstno2", "");
- ds_rexbarcode.setColumn(0,"rsrvdd", "");
- ds_rexbarcode.setColumn(0,"sex", ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"sna"));
- ds_rexbarcode.setColumn(0,"age", "");
- ds_rexbarcode.setColumn(0,"wardcddeptengabbr", ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"prcpgenrflag"));
- ds_rexbarcode.setColumn(0,"excupartcd", "");
- ds_rexbarcode.setColumn(0,"roomcd",ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"roomcd"));
- ds_rexbarcode.setColumn(0,"examroomnm", ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"orddrnm"));
- ds_rexbarcode.setColumn(0,"wardcdnm", ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"orddepthngnm"));
- ds_rexbarcode.setColumn(0,"prcphopedd", ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"prcpdd"));
-
-
- rptf_printRexbar("RPAEA01502","","/root/rexsend/rexbarcode",ds_rexbarcode);
- }
- //=====================================================================================================================================================================================
- // @ 팝업메뉴 - 마약관리
- //=====================================================================================================================================================================================
- function fDrugMNG() {
- //상단정보 초기화
- appf_delPatientInfos();
- var sParam="";
-
- if ( grp_body.group2.switch1.tabindex == 0 ) {
- var prcpgenrflag = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"prcpgenrflag");
- }
- if ( grp_body.group2.switch1.tabindex == 1 ) {
- var prcpgenrflag = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"prcpgenrflag");
- }
-
- if ( grp_body.group2.switch1.tabindex == 2 ) {
- var prcpgenrflag = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"prcpgenrflag");
- }
- if( prcpgenrflag == "E" ) {
- sParam = "I,esop";
- }
-
- if( prcpgenrflag == "S" ) {
- sParam = "O";
- }
-
- if( prcpgenrflag == "O" ) {
- sParam = "O";
- }
-
- if( prcpgenrflag == "I" ) {
- sParam = "I,esop";
- }
-
- // model.setAttribute("Narc_Menu_Param", sParam);
- // modal("SMADT30400",0,200,200,"","");
- frmf_setParameter("Narc_Menu_Param", sParam);
- frmf_open("SMADT30400", "SMADT30400","","","",200,200,"","","","","","M");
- }
- /****************************************************************************************************************************************************
- @ 공휴일계산1
- *****************************************************************************************************************************************************/
- function fCalendar(){
- var oParam = {};
- oParam.id = "TRAEA02012";
- oParam.service = "examcurersrvapp.SytsRsrv";
- oParam.method = "reqGetCalenList";
- oParam.inds = "req=ds_send_data";
- oParam.outds = "ds_calendinfo=calendinfo";
- oParam.async = false;
- oParam.callback = "cf_TRAEA02012";
- tranf_submit(oParam);
-
- }
- function cf_TRAEA02012(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- fCalendar1();
- }
- /****************************************************************************************************************************************************
- @ 공휴일계산2
- *****************************************************************************************************************************************************/
- function fCalendar1(){
- var isMonth = ds_calendar.getColumn(0, "month");
- var isYear = ds_calendar.getColumn(0, "year");
- var isDate = (isYear+isMonth+1).toDate();
- var startDay = isDate.getDay();
-
- for (var i = 0; i < ds_calendinfo.rowcount; i++) {
- var dd = ds_calendinfo.getColumn(i,"basedd");
- var colidx = dd.toDate().getDay();
- var rowidx = Math.ceil( ( startDay + Number(dd.substr(6,2)) ) / 7 ) - 1;
- this.ds_grid_grd_calendar.setColumn(rowidx,dayArr[colidx%7]+ "_dutflag" , ds_calendinfo.getColumn(i,"dutflag"));
-
- }
- }
- //=====================================================================================================================================================================================
- // @ 오늘날짜 달력에 표시 (오늘날짜 찾기)
- //=====================================================================================================================================================================================
- function setCurrentDate() {
-
- var curDate = utlf_getCurrentDate().substr(6,2); //오늘날짜
- var curWeek = utlf_getCurrentDate().toDate().getDayOfWeek("E").toLowerCase(); //오늘요일
- if(curDate <10) {
- curDate= curDate.substr(1,1);
- }
-
- if(curWeek == "sun")
- ds_hidden_grdcellcolor.setColumn(0,"calcol",0);
- if(curWeek == "mon")
- ds_hidden_grdcellcolor.setColumn(0,"calcol",1);
- if(curWeek == "tue")
- ds_hidden_grdcellcolor.setColumn(0,"calcol",2);
- if(curWeek == "wed")
- ds_hidden_grdcellcolor.setColumn(0,"calcol",3);
- if(curWeek == "thu")
- ds_hidden_grdcellcolor.setColumn(0,"calcol",4);
- if(curWeek == "fri")
- ds_hidden_grdcellcolor.setColumn(0,"calcol",5);
- if(curWeek == "sat")
- ds_hidden_grdcellcolor.setColumn(0,"calcol",6);
-
- for(var i = 0 ; i <ds_grid_grd_calendar.rowcount; i++ ) {
- if(ds_grid_grd_calendar.getColumn(i,curWeek) == curDate ) {
- ds_hidden_grdcellcolor.setColumn(0,"calrow",i);
-
- }
- }
-
- var calRow = Number(ds_hidden_grdcellcolor.getColumn(0,"calrow"));
- var calCol = Number(ds_hidden_grdcellcolor.getColumn(0,"calcol")); ; //현재선택
-
- if( calCol >= 7 )
- calCol -= 7;
- //this.ds_grid_grd_calendar.setColumn(calRow,dayArr[calCol%7]+ "_reglscheflag" , "#daa7d9");
- ds_grid_grd_calendar.rowposition = calRow;
- grp_body.grd_calendar.setCellPos(calCol);
- //grd_calendar.cellStyle("background-color", calRow, calCol) = "#ffcc66"; //오늘날짜 노란색
- //grd_calendar.cellStyle("background-color", calRow, calCol+7) = "#ffcc66"; //오늘날짜 노란색
- }
-
- //=====================================================================================================================================================================================
- // @ 달력에서 선택한 날짜에 대한 예약내역, 가용현황 조회
- //=====================================================================================================================================================================================
- function getRsrvPossTm(gridObj) {
- var dsObj = eval(gridObj.binddataset);
- var yyyy = ds_calendar.getColumn(0, "year");
- var mm = ds_calendar.getColumn(0, "month");
- var dd = utlf_transNullToEmpty(dsObj.getColumn(dsObj.rowposition, dayArr[gridObj.currentcol%7]));
-
- if (dd.length == 1)
- {
- dd = "0" + dd;
- }
-
-
- ds_send_data.setColumn(0, "rsrvdd", "");
- ds_send_data.setColumn(0, "rsrvdd", yyyy + mm + dd);
- ds_send_data.setColumn(0, "rsrvdate",ds_send_data.getColumn(0, "rsrvdd"));
-
- dsf_createDsRow("ds_send_tmp",
- [{col:"basesuppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"acptlistflag", val:"Y"}
- ,{col:"initexcuroom", val:ds_send_data.getColumn(0,"excuroomcd")}
- ,{col:"srchdate1", val:ds_send_data.getColumn(0,"rsrvdate")}
- ,{col:"srchdate2", val:ds_send_data.getColumn(0,"rsrvdate")}
- ,{col:"excuroomflag", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"rsrvdd", val:ds_send_data.getColumn(0,"rsrvdd")}
- ,{col:"prcpexecdeptcd", val:ds_send_data.getColumn(0,"prcpexecdeptcd")}
- ,{col:"memodt1", val:ds_send_data.getColumn(0,"rsrvdd")}
- ,{col:"memodt2", val:ds_send_data.getColumn(0,"rsrvdd")}
- ,{col:"memoflag", val:""}
- ,{col:"deptcdflag", val:"room"}
- ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
- ,{col:"deptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"allstatus", val:ds_send_data.getColumn(0,"allstatus")}
- ,{col:"flag", val:"etc"}
- ,{col:"largeclass", val:"R4"}
- ,{col:"sgubn", val:ds_send_data.getColumn(0,"sgubn")}
- ,{col:"multiexcuroom", val:""}
- ,{col:"centyn", val:ds_send_data.getColumn(0,"centyn")}
- ,{col:"centflag", val:ds_send_data.getColumn(0,"centflag")}
- ]);
-
-
- var oParam = {};
- oParam.id = "TRAEA01106";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_tmp";
- oParam.outds = "ds_grd_rsrvposstm=rsrvposstm ds_examcuredeptmemolist=examcuredeptmemolist ds_grd_rsrvlist=examcureexecprcplist";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01106";
- tranf_submit(oParam);
-
- }
- function cf_TRAEA01106(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- if(ds_examcuredeptmemolist.rowcount == 0 )
- {
- ds_examcuredeptmemolist.addRow();
- }
- ds_grd_rsrvlist.rowposition = -1;
- }
- //=====================================================================================================================================================================================
- // @ TextArea 초기화 Function
- //=====================================================================================================================================================================================
- function dataClear() {
- grp_body.group2.tar_prcpdelivefact.value = "-";
-
- ds_patrem_rem.setColumn(0,"memo","-");
-
- }
-
- //=====================================================================================================================================================================================
- // @ 그리드 조회를 위한 선택 Function
- //=====================================================================================================================================================================================
- function fGetExamCureAcptList() {
- //alert("******acptlistflag = " + acptlistflag );
-
- //20130503 기간 체크
- //start
-
- var sdate1 = ds_send_data.getColumn(0,"srchdate1");
- var sdate2 = ds_send_data.getColumn(0,"srchdate2");
- var sPid = ds_send_data.getColumn(0,"srchpid");
- var DiffDate = utlf_getDateInterval(sdate1, sdate2, "dd" ) + 1;
-
- if (utlf_isNull(sPid) && ( DiffDate > 7)) {
- sysf_messageBox("적용일자 조회기간(=" + DiffDate + "일간)이 깁니다. 범위를 7일이하로 수정하거나 등록번호를 입력한 후 조회하세요","I");
- return;
- }
- //end
-
- ds_send_data.setColumn(0,"acptlistflag", acptlistflag);
-
- dsf_createDsRow("ds_send_temp",
- [{col:"acptlistflag", val:ds_send_data.getColumn(0,"acptlistflag")}
- ,{col:"basesuppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"initexcuroom", val:ds_send_data.getColumn(0,"selectexcuroom")}
- ,{col:"prcpexecdeptcd", val:ds_send_data.getColumn(0,"prcpexecdeptcd")}
- ,{col:"srchdate1", val:ds_send_data.getColumn(0,"srchdate1")}
- ,{col:"srchdate2", val:ds_send_data.getColumn(0,"srchdate2")}
- ,{col:"srchpid", val:sPid}
- ,{col:"excuroomflag", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"term", val:ds_send_data.getColumn(0,"term")}
- ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"prcpgenrflag")}
- ,{col:"sgubn", val:ds_send_data.getColumn(0,"sgubn")}
- ,{col:"largeclass", val:"M4"}
- ,{col:"centyn", val:ds_send_data.getColumn(0,"centyn")}
- ,{col:"centflag", val:ds_send_data.getColumn(0,"centflag")}
- ]);
- switch (acptlistflag) {
-
- case "M": // 전체처방(수닙+미수납)
- grp_body.group2.switch1.tabindex = 0;
- var oParam = {};
- oParam.id = "TRAEA01101";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_temp";
- oParam.outds = "ds_grd_ordlist1=examcureexecprcplist";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01101";
- tranf_submit(oParam);
- break;
- case "UR": //수납처방
- grp_body.group2.switch1.tabindex = 3;
- var oParam = {};
- oParam.id = "TRAEA01103";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_temp";
- oParam.outds = "ds_grd_ordlist3=examcureexecprcplist";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01101";
- tranf_submit(oParam);
-
- break;
- case "T": //검사완료
- grp_body.group2.switch1.tabindex = 1;
- var oParam = {};
- oParam.id = "TRAEA01104";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_temp";
- oParam.outds = "ds_grd_ordlist4=examcureexecprcplist";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01101";
- tranf_submit(oParam);
-
- break;
- case "Y": //예약
-
- var oParam = {};
- oParam.id = "TRAEA01106";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_temp";
- oParam.outds = "ds_grd_rsrvposstm=rsrvposstm ds_examcuredeptmemolist=examcuredeptmemolist ds_grd_rsrvlist=examcureexecprcplist";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01106";
- tranf_submit(oParam);
- break;
- case "R": //미예약
- grp_body.group2.switch1.tabindex = 2;
- var oParam = {};
- oParam.id = "TRAEA01109";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_temp";
- oParam.outds = "ds_grd_ordlist6=examcureexecprcplist";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01101";
- tranf_submit(oParam);
-
- break;
- case "L": // 환자 이력 조회
-
- grp_body.group2.switch1.tabindex = 0;
- ds_send_data.setColumn(0,"term","703");
- var oParam = {};
- oParam.id = "TRAEA01101";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_temp";
- oParam.outds = "ds_grd_ordlist1=examcureexecprcplist";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01101";
-
- tranf_submit(oParam);
-
-
- break;
- default:
- break;
- }
- }
-
- function cf_TRAEA01101(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
-
- fSetAutho(); //20170427 신경과직원 권한제한
-
- switch(sSvcId) {
- case "TRAEA01101":
- ds_grd_ordlist1.addColumn("backcolor","string");
- ds_grd_ordlist1.addColumn("check","string");
- for(var i = 0 ; i < ds_grd_ordlist1.rowcount ; i++ ){
- ds_grd_ordlist1.setColumn(i,"backcolor", "#ffffff");
- }
- lf_aezfSetRowStyle(grp_body.group2.switch1.case1.grd_ordlist1 , "15^16^17" , "V^P^A" , "aftrcptinfo" );
- break;
- case "TRAEA01104":
- ds_grd_ordlist4.addColumn("backcolor","string");
- ds_grd_ordlist4.addColumn("check","string");
- for(var i = 0 ; i < ds_grd_ordlist4.rowcount ; i++ ){
- ds_grd_ordlist4.setColumn(i,"backcolor", "#ffffff");
- }
- lf_aezfSetRowStyle(grp_body.group2.switch1.case4.grd_ordlist4 , "15^16^17" , "V^P^A" , "aftrcptinfo" );
- break;
- case "TRAEA01103":
- ds_grd_ordlist3.addColumn("check","string");
- ds_grd_ordlist3.addColumn("backcolor","string");
- for(var i = 0 ; i < ds_grd_ordlist3.rowcount ; i++ ){
- ds_grd_ordlist3.setColumn(i,"backcolor", "#ffffff");
- }
- lf_aezfSetRowStyle(grp_body.group2.switch1.case3.grd_ordlist3 , "15^16^17" , "V^P^A" , "aftrcptinfo" );
- break;
- case "TRAEA01109":
-
- ds_grd_ordlist6.addColumn("check","string");
- ds_grd_ordlist6.addColumn("backcolor","string");
- for(var i = 0 ; i < ds_grd_ordlist6.rowcount ; i++ ){
- ds_grd_ordlist6.setColumn(i,"backcolor", "#ffffff");
- }
- lf_aezfSetRowStyle(grp_body.group2.switch1.case6.grd_ordlist6 , "15^16^17" , "V^P^A" , "aftrcptinfo" );
- break;
- default:
- break;
- }
- }
- //=====================================================================================================================================================================================
- // @ 접수/실시처리를 위한 Function
- //=====================================================================================================================================================================================
- function ExeAccept (tabgubn,grid) { //1
- var loop;
- var check;
- var loopcnt="";
- var execncl="";
- var grd_rows = "";
-
- if(grid == "ds_grd_ordlist1") {
- grd_rows = ds_grd_ordlist1.rowcount;
- }
- if(grid == "ds_grd_ordlist3") {
- grd_rows = ds_grd_ordlist3.rowcount;
- }
- if(grid == "ds_grd_ordlist4") {
- grd_rows = ds_grd_ordlist4.rowcount;
- }
-
- if(grid == "ds_grd_ordlist6") {
- grd_rows = ds_grd_ordlist6.rowcount;
- }
- if(grid == "ds_grd_rsrvlist") {
- grd_rows = ds_grd_rsrvlist.rowcount;
- }
-
- var ds_grid = this.objects[grid];
- //본격적으로 CSV에 세팅
- for( var i = 0 ; i < grd_rows ; i++ ) {
- check = ds_grid.getColumn(i,"check");
-
- if ( check == "1" ) {
-
- //실시자 세팅
- if( ds_grid.getColumn(i,"execrid1") == "-" ) {
- ds_grid.setColumn(i,"execrid1", sysf_getUserId() );
- }
- }
- }
-
- if(grid == "ds_grd_rsrvlist") {
- ds_grd_rsrvlist.filter("check=='1'");
- ds_send_tobeacptprcplist.copyData(ds_grd_rsrvlist,true);
- ds_grd_rsrvlist.filter("");
- }
- else {
- ds_grid.filter("check=='1'");
- ds_send_tobeacptprcplist.copyData(ds_grid,true);
- ds_grid.filter("");
- }
-
- //건진 기능검사
- if(ds_send_data.getColumn(0,"sgubn") == "S") {
- ds_send_tobeacptprcplist.addColumn("sgubn","string");
- ds_send_tobeacptprcplist.setColumn(0,"sgubn","S");
- }
- // 처방 -> 검사접수/실시완료
- // if( tabgubn == "M" || tabgubn == "R" ||tabgubn == "Y" || tabgubn == "Y" ) {
- dsf_setFixVal(ds_send_tobeacptprcplist, "transactiongubn:1,largeclass:M4,execprcpstat440cd:440,execprcpstat610cd:610,rtno:-,reqagnphoyn:N,tretflagcd:610,indd:00000000,icfflag:-,arvdt:-,execrid2:-,execrid3:-,execrid4:-,excuexectodt:00000000000000,excuexecfromdt1:00000000000000,excueqcd1:-,excuexecfromdt2:00000000000000,excueqcd2:-,excuexecfromdt3:00000000000000,excueqcd3:-,excuexecfromdt4:00000000000000,excueqcd4:-,excuexecfromdt5:00000000000000,excueqcd5:-,opdrid:-,autroomassgyn:N,rsltdd:00000000,rslttm:000000,rsltno:0,rsltseqno:0,cnfmdt:00000000000000,cnfmmanid:-,eqmtifimgyn:N,ocrimgyn:N,rslttmplyn:N,deptrem:-,patrem:-,excupartgrpcd:-");
- dsf_setDefaultVal(ds_send_tobeacptprcplist, "all");
- if ( sysf_messageBox("실시를 ","Q002")==6 ) { //M 전체처방 , R 수납처장, Y 에약내역
- var oParam = {};
- oParam.id = "TXAEA01103";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqExeAcptExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_tobeacptprcplist";
- oParam.outds = "ds_hidden_item=item";
- oParam.async = false;
- oParam.callback = "cf_TXAEA01103";
- tranf_submit(oParam);
- }
-
- //20130926 kya 2013/10/01부터 적용, 중증/희귀난치성환자 초음파급비변경대상자 알림
- fget1001USPayFlagChk();
-
- ds_send_tobeacptprcplist.clearData();
-
- // }
-
- //data 클리어
- dataClear();
- }
- function cf_TXAEA01103(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- //=====================================================================================================================================================================================
- // @ 접수/실시 취소 처리를 위한 Function
- //=====================================================================================================================================================================================
- function ExeCncl (grid) {
-
- var loop;
- var check;
- var execprcpstatcd;
- var loopcnt="";
- var execncl="";
- var list = "";
- var grd;
-
- if(grid == "ds_grd_ordlist1") {
- grd = ds_grd_ordlist1.rowcount;
- }
- if(grid == "ds_grd_ordlist3") {
- grd = ds_grd_ordlist3.rowcount;
- }
- if(grid == "ds_grd_ordlist4") {
- grd = ds_grd_ordlist4.rowcount;
- }
- if(grid == "ds_grd_ordlist6") {
- grd = ds_grd_ordlist6.rowcount;
- }
- var ds_grid = this.objects[grid];
- //취소코드조회
-
- ds_send_popup.setColumn(0,"basecdflag","C");
-
- var objArg = new Object();
- objArg.arg_ds_receivedata = ds_send_popup;
- frmf_modal("SPAEA01500","SPAEA01500", objArg, "", 0,100,150, "", "", "", "", "", "M");
-
-
- // tran3 ,tran4 로 나누기
- dsf_copyColInfo(ds_grd_temp1,ds_grid);
- dsf_copyColInfo(ds_grd_temp2,ds_grid);
-
-
- for( var i = 0 ; i < grd ; i++ ) {
- check = ds_grid.getColumn(i,"check");
- execprcpstatcd = ds_grid.getColumn(i,"execprcpstatcd");
- if ( check == "true" || check == "1" ) {
- if (execprcpstatcd == "440" ){ //transaction 3
- var nRow = ds_grd_temp1.addRow();
- ds_grd_temp1.copyRow(nRow,ds_grid,i);
- ds_grd_temp1.setColumn(nRow,"basecd",ds_hidden_cnclcdlist.getColumn(0,"cnclcd"));
- ds_grd_temp1.setColumn(nRow,"cnclresncdnm",ds_hidden_cnclcdlist.getColumn(0,"cnclcdnm"));
- }
- if (execprcpstatcd == "610") { //transaction 4
- var nRow = ds_grd_temp2.addRow();
- ds_grd_temp2.copyRow(nRow,ds_grid,i);
- ds_grd_temp2.setColumn(nRow,"basecd",ds_hidden_cnclcdlist.getColumn(0,"cnclcd"));
- ds_grd_temp2.setColumn(nRow,"cnclresncdnm",ds_hidden_cnclcdlist.getColumn(0,"cnclcdnm"));
-
- }
- }
- }
- // 접수 -> 처방
- if(!utlf_isNull(ds_grd_temp1.getColumn(ds_grd_temp1.rowcount -1,"execprcpstatcd"))
- && utlf_isNull(ds_grd_temp2.getColumn(ds_grd_temp2.rowcount -1,"execprcpstatcd"))) {// transaction 3
-
- dsf_createDs("ds_send_tobeacptcnclprcplist1");
- dsf_copyDs(ds_send_tobeacptcnclprcplist1,ds_grd_temp1);
- ds_send_tobeacptcnclprcplist1.updateColID("basecd","cnclresncd");
- dsf_setFixVal(ds_send_tobeacptcnclprcplist1, "transactiongubn:3,largeclass:M4,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,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:-");
- dsf_setDefaultVal(ds_send_tobeacptcnclprcplist1, "all");
-
- if ( sysf_messageBox("접수취소를 ","Q002")==6 ) {
- var oParam = {};
- oParam.id = "TXAEA01105";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqExeAcptExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_tobeacptcnclprcplist1";
- oParam.outds = "ds_hidden_item=item";
- oParam.async = false;
-
- tranf_submit(oParam); // transaction 3
- }
- }
-
- // 실시 -> 처방
- else if(utlf_isNull(ds_grd_temp1.getColumn(ds_grd_temp1.rowcount -1,"execprcpstatcd"))
- && !utlf_isNull(ds_grd_temp2.getColumn(ds_grd_temp2.rowcount -1,"execprcpstatcd"))) { // transaction 4
- dsf_createDs("ds_send_tobeacptcnclprcplist2");
- dsf_copyDs(ds_send_tobeacptcnclprcplist2,ds_grd_temp2);
- ds_send_tobeacptcnclprcplist2.updateColID("basecd","cnclresncd");
- dsf_setFixVal(ds_send_tobeacptcnclprcplist2, "transactiongubn:4,largeclass:M4,execprcpstat440cd:440,execprcpstat610cd:610,execprcpstatXcd:X,execprcpstat230cd:230,execprcpstat000cd:000,execprcpstat100cd:100,execprcpstatYcd:Y,execdd:00000000,exectm:000000,execrid1:-,acptdd:00000000,acpttm:000000,acptpsnid:-,pacsno:-,cnclflag:E,tretflagcd:610,indd:00000000,icfflag:-,reqagnphoyn:N,wardcd:-,roomcd:-,arvdt:-,execrid2:-,execrid3:-,execrid4:-,excuexectodt:00000000000000,excuexecfromdt1:00000000000000,excueqcd1:-,excuexecfromdt2:00000000000000,excueqcd2:-,excuexecfromdt3:00000000000000,excueqcd3:-,excuexecfromdt4:00000000000000,excueqcd4:-,excuexecfromdt5:00000000000000,excueqcd5:-,opdrid:-,autroomassgyn:N,rsltdd:00000000,rslttm:000000,rsltno:0,rsltseqno:0,cnfmdt:00000000000000,cnfmmanid:-,eqmtifimgyn:N,ocrimgyn:N,rslttmplyn:N,deptrem:-,patrem:-");
- dsf_setDefaultVal(ds_send_tobeacptcnclprcplist2, "all");
-
- if ( sysf_messageBox("실시취소를 ","Q002")==6 ) {
-
- //취소사유코드 체크
- if( utlf_isNull(ds_hidden_cnclcdlist.getColumn(0,"cnclcd")) ){
- sysf_messageBox("취소사유코드를","C001");
-
- }else{
- var oParam = {};
- oParam.id = "TXAEA01104";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqExeAcptExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_tobeacptcnclprcplist2";
- oParam.outds = "ds_hidden_item=item";
- oParam.async = false;
-
- tranf_submit(oParam); // transaction 4
- }
- }
- }
-
- // 실시 , 접수 -> 처방
- else if(!utlf_isNull(ds_grd_temp1.getColumn(ds_grd_temp1.rowcount -1,"execprcpstatcd"))
- && !utlf_isNull(ds_grd_temp2.getColumn(ds_grd_temp2.rowcount -1,"execprcpstatcd"))) { // transaction 4
-
-
- //var nodeList = instance1.selectNodes("/root/hidden/list/templist2/subordlist2");
-
- dsf_createDs("ds_send_tobeacptcnclprcplist1");
- dsf_copyDs(ds_send_tobeacptcnclprcplist1,ds_grd_temp1);
- ds_send_tobeacptcnclprcplist1.updateColID("basecd","cnclresncd");
- dsf_setFixVal(ds_send_tobeacptcnclprcplist1, "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:-");
-
- dsf_createDs("ds_send_tobeacptcnclprcplist2");
- dsf_copyDs(ds_send_tobeacptcnclprcplist2,ds_grd_temp2);
- dsf_setFixVal(ds_send_tobeacptcnclprcplist2, "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:-");
-
- dsf_setDefaultVal(ds_send_tobeacptcnclprcplist1, "all");
- dsf_setDefaultVal(ds_send_tobeacptcnclprcplist2, "all");
-
- if ( sysf_messageBox("실시/접수 취소를 ","Q002")==6 ) {
- var oParam = {};
- oParam.id = "TXAEA01501";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqExeAcptExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_tobeacptcnclprcplist1";
- oParam.outds = "ds_hidden_item=item";
- oParam.async = false;
-
- tranf_submit(oParam); // transaction 3
-
- var oParam = {};
- oParam.id = "TXAEA01502";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqExeAcptExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_tobeacptcnclprcplist2";
- oParam.outds = "ds_hidden_item=item";
- oParam.async = false;
-
- tranf_submit(oParam);; // transaction 4
- }
- }
-
- dsf_deleteDs("ds_send_tobeacptcnclprcplist1");
- dsf_deleteDs("ds_send_tobeacptcnclprcplist2");
-
-
- ds_grd_temp1.clearData();
- ds_grd_temp2.clearData();
-
-
- ds_hidden_cnclcdlist.setColumn(0,"cnclcd", ""); //취소사유코드 비우기
- //data 클리어
- dataClear();
- }
-
- //=====================================================================================================================================================================================
- // @ 임시예약 취소를 위한 Function
- //=====================================================================================================================================================================================
- function fTempRsrvCncl(grid) {
- ds_didden_pseursrvinfo.setColumn(0,"seq", ds_grd_rsrvlist.getcolumn(ds_grd_rsrvlist.rowcount,"execprcpuniqno"));
- ds_didden_pseursrvinfo.setColumn(0,"suppdeptcd", ds_send_globalinstance.getColumn(0,"dutplcecd"));
- ds_didden_pseursrvinfo.setColumn(0,"instcd",ds_grd_rsrvlist.getcolumn(ds_grd_rsrvlist.rowcount,"instcd"));
- ds_didden_pseursrvinfo.setColumn(0,"rsrvdd",ds_send_data.getColumn(0,"rsrvdd"));
- var objArg = new Object();
- objArg.arg_ds_init_pseursrvinfo = ds_didden_pseursrvinfo;
- frmf_modal("SPAEA03200", "SPAEA03200",objArg, "","","" ,"", "", "", "", "", "", "", "M");
- }
-
- //=====================================================================================================================================================================================
- // @ 예약, 취소 버튼의 click 이벤트 처리
- //=====================================================================================================================================================================================
- function exeRsrvTransaction(str, ds_ordlist) {
- //alert(ordlist);
- //예약 또는 수정 일때
- dsf_createDs("ds_temp_search");
- if(str == "rsrv" ||str == "upd" ) {
- //var nodeList = instance1.selectNodes("/root/main/"+ordlist+"/mainordlist[check='true' ]");
- //var rCSV = getNodeListCSV(nodeList);
- ds_ordlist.filter("check=='1'");
- ds_temp_search.copyData(ds_ordlist,true);
- ds_ordlist.filter("");
- //과검사일때 진료예약일자 세팅
- if(grp_body.group5.chk_rsrvyn.value == "Y"){
- var rsrvdt = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"srchrsrvdt");
- ds_send_req.setColumn(0,"ordtm", rsrvdt.substr(8,4) );
- }
- }
-
- //예약취소일때
-
- if(str == "cncl") {
- //취소코드조회
-
- var objArg = new Object();
- objArg.arg_ds_receivedata = ds_send_popup;
- frmf_modal("SPAEA01500","SPAEA01500", objArg, "", 0,100,150, "", "", "", "", "", "M");
-
-
- var selectRows = grdf_getSelectedRows(grp_body.group2.switch1.case1.grd_ordlist1);
-
- for ( var i =0 ; i< selectRows.length;i++){
- ds_grd_ordlist1.setColumn(selectRows[i],"basecd", ds_hidden_cnclcdlist.getColumn(0,"cnclcd"));
- }
- ds_ordlist.filter("check=='1'");
- ds_temp_search.copyData(ds_ordlist,true);
- ds_ordlist.filter("");
- }
- ds_temp_search.addColumn("flag","string");
- ds_temp_search.addColumn("pamifyn","string");
- ds_temp_search.addColumn("nottotal","string");
- ds_temp_search.addColumn("rsrvrem","string");
- ds_temp_search.addColumn("norsrvrem","string");
- ds_temp_search.addColumn("rsrvflag","string");
- for (var i = 0; i< ds_temp_search.rowcount; i++)
- {
- ds_temp_search.setColumn(i,"flag",str);
- ds_temp_search.setColumn(i,"pamifyn",grp_body.group5.chk_rsrvyn.value );
- ds_temp_search.setColumn(i,"nottotal","" );
- ds_temp_search.setColumn(i,"rsrvrem","-");
- ds_temp_search.setColumn(i,"norsrvrem","M4");
- ds_temp_search.setColumn(i,"rsrvflag",ds_temp_search.getColumn(i,"prcpgenrflag"));
- ds_temp_search.setColumn(i,"actorddd",ds_temp_search.getColumn(i,"prcpdd"));
- ds_temp_search.setColumn(i,"suppdeptcd",ds_temp_search.getColumn(i,"basesuppdeptcd"));
- }
-
-
-
- dsf_setDefaultVal(ds_temp_search, "bf_srchrsrvtm:000000000000");
- //dsf_setTypeFormat(ds_temp_search, "execprcpuniqno:INT^cretno:INT^actcretno:INT");
- ds_temp_search.updateColID("srchrsrvdt","srchrsrvtm");
- ds_temp_search.updateColID("orddd","indd");
- ds_temp_search.updateColID("execrid1","execrid");
- ds_temp_search.updateColID("basecd","cnclresncd");
-
- dsf_setDefaultVal(ds_temp_search, "all");
-
- var oParam = {};
- oParam.id = "TXAEA01101";
- oParam.service = "examcurersrvapp.SytsRsrv";
- oParam.method = "reqExcuRsrv";
- oParam.inds = "req=ds_temp_search";
- oParam.outds = "ds_hidden_item=item";
- oParam.transaction = false;
- oParam.async = false;
- //oParam.callback = "cf_TXAEA01101";
- tranf_submit(oParam);
-
- }
- //=====================================================================================================================================================================================
- // @ 예약시간대 click 이벤트 처리
- //=====================================================================================================================================================================================
- function setRsrvdate(grid,btn) {
- var loop;
- var check;
- var execprcpstatcd;
- var execbaseflag;
- var grd;
- var loopcnt="";
- var execncl="";
- var list = "";
- var ds_grid;
- //alert(grid);
- if(grid == "grd_ordlist1") {
- ds_grid = ds_grd_ordlist1;
- grd = ds_grd_ordlist1.rowcount;
- }
- else if(grid == "grd_ordlist4") {
- ds_grid = ds_grd_ordlist4;
- grd = ds_grd_ordlist4.rowcount;
- }
- else if(grid == "grd_ordlist6") {
- ds_grid = ds_grd_ordlist6;
- grd = ds_grd_ordlist6.rowcount;
- }
- else if(grid == "grd_ordlist3") {
- ds_grid = ds_grd_ordlist3;
- grd = ds_grd_ordlist3.rowcount;
- }
- //var nodeList = instance1.selectNodes("/root/main/"+list+"/mainordlist[check='true']");
- //var rCSV = getNodeListCSV(nodeList);
-
- ds_grid.addColumn("rsrvdt","string");
- if (ds_grid.getCaseCount("check=='1'") == 0 ) {
- sysf_messageBox("처방내역을 ","C002");
- return "0";
- }
- else {
-
- if(btn == "cmb" ) {
- for( var i = 0 ; i < grd ; i++ )
- {
- if(ds_grid.getColumn(i,"check") == "1")
- {
- ds_grid.setColumn(i,"srchrsrvdt",ds_send_data.getColumn(0,"rsrvdd")+grp_body.cmb_hour.value+grp_body.cmb_min.value); //실 예약시간
-
- ds_grid.setColumn(i,"rsrvdt", ds_send_data.getColumn(0,"rsrvdd") + grp_body.cmb_hour.value+grp_body.cmb_min.value);
-
- }
- }
- }else if (btn == "grd" ) {
- for( var i = 0 ; i < grd ; i++ )
- {
- if(ds_grid.getColumn(i,"check") == "1")
- {
-
- ds_grid.setColumn(i,"rsrvdt",ds_send_data.getColumn(0,"rsrvdd")+ ds_grd_rsrvposstm.getColumn(ds_grd_rsrvposstm.rowposition,"rsrvtm")); // 예약시간대
-
- ds_grid.setColumn(i,"srchrsrvdt",ds_send_data.getColumn(0,"rsrvdd")+ds_grd_rsrvposstm.getColumn(ds_grd_rsrvposstm.rowposition,"rsrvtm")); //실 예약시간
-
- }
-
- }
- }
- }
- }
- /*******************************************************************************************************************************************************************/
- // 선택진료의 변경 2011.01.05 c y w
- /*******************************************************************************************************************************************************************/
- function fSpecdrChange() {
- // 선택진료이 "Y" 일 경우에만 변경가능.
- var idx = "";
- var ds_ordlist ;
- var tabgubn = "";
-
- if ( grp_body.group2.switch1.tabindex == 0 ) { // 전체처방
- ds_ordlist = ds_grd_ordlist1;
- idx = ds_grd_ordlist1.rowposition;
- tabgubn = "M";
- }
-
- if (grp_body.group2.switch1.tabindex == 2 ) { // 미예약
- ds_ordlist = ds_grd_ordlist6;
- idx = ds_grd_ordlist6.rowposition;
- tabgubn = "R";
- }
-
- //var nodeList = instance1.selectNodes("/root/main/"+ ordlist +"/mainordlist[check='true']");
- //var rCSV = getNodeListCSV(nodeList);
-
- if (ds_ordlist.getCaseCount("check=='1'") == 0 ) {
- sysf_messageBox("처방내역을","C002");
- }else {
- if(ds_ordlist.getColumn(idx,"choiordflag") == "Y" ) {
- if( ds_ordlist.getColumn(idx,"execprcpstatcd") <= 440 ) {
-
- var ipdopd = "";
-
- if( !utlf_isNull(ds_ordlist.getColumn(idx,"roomcd")) ){ //입원
- ipdopd = "I";
- }else{
- ipdopd = "O";
- }
-
- dsf_createDsRow("ds_send_setspecdrcd",
- [{col:"prcpdd", val:ds_ordlist.getColumn(idx,"prcpdd")}
- ,{col:"pid", val:ds_ordlist.getColumn(idx,"pid")}
- ,{col:"execprcpuniqno", val:ds_ordlist.getColumn(idx,"execprcpuniqno")}
- ,{col:"specdrid", val:ds_ordlist.getColumn(idx,"specdrid")}
- ,{col:"basesuppdeptcd", val:ds_ordlist.getColumn(idx,"basesuppdeptcd")}
- ,{col:"prcpno", val:ds_ordlist.getColumn(idx,"prcpno")}
- ,{col:"prcphistno", val:ds_ordlist.getColumn(idx,"prcphistno")}
- ,{col:"cretno", val:ds_ordlist.getColumn(idx,"cretno")}
- ,{col:"orddd", val:ds_ordlist.getColumn(idx,"orddd")}
- ,{col:"orddeptcd", val:ds_ordlist.getColumn(idx,"orddeptcd")}
- ,{col:"orddrid", val:ds_ordlist.getColumn(idx,"orddrid")}
- ,{col:"calcscorcd", val:ds_ordlist.getColumn(idx,"calcscorcd")}
- ,{col:"ioflag", val:ipdopd}
- ]);
-
- dsf_setDefaultVal(ds_send_setspecdrcd, "all");
-
- var oParam = {};
- oParam.id = "TXAEA01512";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqSetExchangeExcuSpecdrCd";
- oParam.inds = "reqparam=ds_send_setspecdrcd";
- oParam.outds = "ds_hidden_item=item";
- oParam.async = false;
- oParam.callback = "cf_TXAEA01512";
- tranf_submit(oParam);
-
- acptlistflag = tabgubn;
- trace("acptlistflag == " + acptlistflag);
- fGetExamCureAcptList();
- }else{
- sysf_messageBox("선택진료의 변경은 미예약, 예약의 경우에만", "I006");
- return;
- }
- } else {
- sysf_messageBox("선택진료일 경우에만 변경이", "I006");
- return;
- }
- }
-
- }
- function cf_TXAEA01512(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- /*******************************************************************************************************************************************************************/
- // 지정검사의 변경 2018.01.18 kya
- /*******************************************************************************************************************************************************************/
- function fSelectdrChange() {
-
- var idx = "";
- var ds_ordlist ;
- var tabgubn = "";
-
- if ( grp_body.group2.switch1.tabindex == 0 ) { // 전체처방
- ds_ordlist = ds_grd_ordlist1;
- idx = ds_grd_ordlist1.rowposition;
- tabgubn = "M";
- }
-
- if (grp_body.group2.switch1.tabindex == 2 ) { // 미예약
- ds_ordlist = ds_grd_ordlist6;
- idx = ds_grd_ordlist6.rowposition;
- tabgubn = "R";
- }
-
- //var nodeList = dutplcecd.selectNodes("/root/main/"+ ordlist +"/mainordlist[check='true']");
- //var rCSV = getNodeListCSV(nodeList);
-
- if (ds_ordlist.getCaseCount("check=='1'") == 0 ) {
- sysf_messageBox("처방내역을","C002");
- }else {
- //if(ds_ordlist.getColumn(idx,"choiordflag") == "Y" ) {
- if( ds_ordlist.getColumn(idx,"execprcpstatcd") <= 440 ) {
-
- var ipdopd = "";
-
- if( !utlf_isNull(ds_ordlist.getColumn(idx,"roomcd")) ){ //입원
- ipdopd = "I";
- }else{
- ipdopd = "O";
- }
-
- dsf_createDsRow("ds_send_setselectdrcd",
- [{col:"prcpdd", val:ds_ordlist.getColumn(idx,"prcpdd")}
- ,{col:"pid", val:ds_ordlist.getColumn(idx,"pid")}
- ,{col:"execprcpuniqno", val:ds_ordlist.getColumn(idx,"execprcpuniqno")}
- ,{col:"selectdrid", val:ds_ordlist.getColumn(idx,"selectdrid")}
- ,{col:"basesuppdeptcd", val:ds_ordlist.getColumn(idx,"basesuppdeptcd")}
- ,{col:"prcpno", val:ds_ordlist.getColumn(idx,"prcpno")}
- ,{col:"prcphistno", val:ds_ordlist.getColumn(idx,"prcphistno")}
- ,{col:"cretno", val:ds_ordlist.getColumn(idx,"cretno")}
- ,{col:"orddd", val:ds_ordlist.getColumn(idx,"orddd")}
- ,{col:"orddeptcd", val:ds_ordlist.getColumn(idx,"orddeptcd")}
- ,{col:"orddrid", val:ds_ordlist.getColumn(idx,"orddrid")}
- ,{col:"calcscorcd", val:ds_ordlist.getColumn(idx,"calcscorcd")}
- ,{col:"execdd", val:utlf_getCurrentDate()}
- ,{col:"ioflag", val:ipdopd}
- ]);
-
- dsf_setDefaultVal(ds_send_setselectdrcd, "all");
-
- var oParam = {};
- oParam.id = "TXAEA01513";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqSetExchangeExcuSelectdrCd";
- oParam.inds = "reqparam=ds_send_setselectdrcd";
- oParam.outds = "ds_hidden_item=item";
- oParam.async = false;
- oParam.callback = "cf_TXAEA01513";
- tranf_submit(oParam);
-
- acptlistflag = tabgubn;
- fGetExamCureAcptList();
- }else{
- sysf_messageBox("지정검사의 변경은 미예약, 예약의 경우에만", "I006");
- return;
- }
- //} else {
- // sysf_messageBox("선택진료일 경우에만 변경이", "I006");
- // return;
- //}
- }
- }
- function cf_TXAEA01513(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- //=====================================================================================================================================================================================
- // @ 예약검사실 이벤트 처리 2010.11.25 멀티선택후 예약검사실 선택시 선택된 검사실로 셋팅 - 박재영
- //=====================================================================================================================================================================================
- function setRsrvcureRoom() {
- //2010.11.25 기존 /root/send/data/multiexcuroom값이 'Y'=>''으로 변경시킴
- //해당 검사실의 가용인원만 조회됨(기존 해당 과의 검사실총 가용인원으로 되어있었음)
- var loop;
- var check;
- var execprcpstatcd;
- var execbaseflag;
- var grd;
- var loopcnt="";
- var execncl="";
- var ds_grid;
-
- if( grp_body.group2.switch1.tabindex == 0 ) {
- // 전체처방
- grdgubn = "grd_ordlist1";
- }
- if ( grp_body.group2.switch1.tabindex == 1 ) {
- // 검사완료
- grdgubn = "grd_ordlist4";
- }
- if ( grp_body.group2.switch1.tabindex == 2 ) {
- // 미예약
- grdgubn = "grd_ordlist6";
- }
-
- if(grdgubn == "grd_ordlist1") {
- ds_grid = ds_grd_ordlist1;
- grd = ds_grd_ordlist1.rowcount;
- }
- if(grdgubn == "grd_ordlist3") {
- ds_grid = ds_grd_ordlist3;
- grd = ds_grd_ordlist3.rowcount;
- }
- if(grdgubn == "grd_ordlist4") {
- ds_grid = ds_grd_ordlist4;
- grd = ds_grd_ordlist4.rowcount;
- }
- if(grdgubn == "grd_ordlist6") {
- ds_grid = ds_grd_ordlist6;
- grd = ds_grd_ordlist6.rowcount;
- }
-
- for( var i = 0 ; i < grd ; i++ ){
- if(ds_grid.getColumn(i,"check") == "1")
- {
- ds_grid.setColumn(i,"excuroomcd",ds_send_data.getColumn(0,"rsrvpossexcuroomcd")); //예약검사실
- }
- }
- }
- //=====================================================================================================================================================================================
- // @ 처방리스트 Grid 펼치기 Function
- //=====================================================================================================================================================================================
- function fGetWideListX1(grp1, tab1, flag) {
- if(flag == "prcplist" ) {
- var extnGrdWidht = 333; //그리드
- var extnSwchWidht = 332; //스위치
- var extnGrpWidht = 333; //그룹
-
- //grd1.attribute("height") = extnGrdWidht;
- // grp_body.group2.switch1.case1.grd_ordlist1.position.height = extnGrdWidht;
- // grp_body.group2.switch1.case3.grd_ordlist3.position.height = extnGrdWidht;
- // grp_body.group2.switch1.case4.grd_ordlist4.position.height = extnGrdWidht;
- // grp_body.group2.switch1.case6.grd_ordlist6.position.height = extnGrdWidht;
-
- tab1.position.height = extnSwchWidht;
- grp1.position.height = extnGrpWidht;
-
- }
- if(flag =="rsrvlist")
- {
- //예약내역
- grp_body.group5.position.top = 422; //그룹
- grp_body.group5.position.height = 318; //그룹
-
- grd_rsrvlist.position.height = 290 ; //그리드
-
- }
- }
- //=====================================================================================================================================================================================
- // @ 처방리스트 Grid 접기 Function
- //=====================================================================================================================================================================================
- function fGetWideListX2(grp1, tab1, grd1,flag) {
- if(flag == "prcplist" ) {
- // if ( grp_body.group2.switch1.tabindex == 0 ) {
- if(tabgubn == "M" || tabgubn == "D" || tabgubn == "L" ) {
- var extnGrdWidht = 633; //그리드
- var extnSwchWidht = 645; //스위치
- var extnGrpWidht = 668; //그룹
- }
- else if ( btn_case3.selected == true ) {
- var extnGrdWidht = 633; //그리드
- var extnSwchWidht = 645; //스위치
- var extnGrpWidht = 668; //그룹
-
- }
- else if ( grp_body.group2.switch1.tabindex == 1 ) {
- var extnGrdWidht = 633; //그리드
- var extnSwchWidht = 645; //스위치
- var extnGrpWidht = 668; //그룹
-
- }else if ( grp_body.group2.switch1.tabindex == 2 ) {
-
- var extnGrdWidht = 633; //그리드
- var extnSwchWidht = 645; //스위치
- var extnGrpWidht = 668; //그룹
- }
- //grd1.attribute("height") = extnGrdWidht;
- // grp_body.group2.switch1.case1.grd_ordlist1.position.height = extnGrdWidht;
- // grp_body.group2.switch1.case3.grd_ordlist3.position.height = extnGrdWidht;
- // grp_body.group2.switch1.case4.grd_ordlist4.position.height = extnGrdWidht;
- // grp_body.group2.switch1.case6.grd_ordlist6.position.height = extnGrdWidht;
-
- tab1.position.height = extnSwchWidht;
- grp1.position.height = extnGrpWidht;
-
-
- }
-
- if(flag =="rsrvlist")
- {
- //예약내역
-
- grp_body.group5.position.top = 250; //그룹
- grp_body.group5.position.height = 490; //그룹
-
- grd_rsrvlist.position.height = 463 ; //그리드
-
- }
- }
- //=====================================================================================================================================================================================
- // @ 예약증 출력 초기화
- //=====================================================================================================================================================================================
- function fInitialize() {
- ds_rtflist.clearData();
- ds_curfile.clearData();
- grp_body.rtfviewer.Clear();
- }
- //=====================================================================================================================================================================================
- // @ 그리드 row click시 pid컬럼의 값을 가진 모든 checkBox 값 설정
- //=====================================================================================================================================================================================
- function setCheckBoxs( checked,grd,grd_ordlist ) {
- if(grd=="ordlist1"){
- var pidValue = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"pid");
- ds_grd_ordlist1.filter("pid=='" + pidValue + "'");
- ds_grd_ordlist1.applyChange();
-
- for (var i = 0; ds_grd_ordlist1.rowcount; i++)
- {
- ds_grd_ordlist1.setColumn(i,"check",checked);
- }
- ds_grd_ordlist1.filter("");
-
- }
- if(grd=="ordlist3"){
- var pidValue = ds_grd_ordlist3.getColumn(ds_grd_ordlist3.rowposition,"pid");
- ds_grd_ordlist3.filter("pid=='" + pidValue + "'");
- ds_grd_ordlist3.applyChange();
-
- for (var i = 0; ds_grd_ordlist3.rowcount; i++)
- {
- ds_grd_ordlist3.setColumn(i,"check",checked);
- }
- ds_grd_ordlist3.filter("");
- }
- if(grd=="ordlist4"){
- var pidValue = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"pid");
- ds_grd_ordlist4.filter("pid=='" + pidValue + "'");
- ds_grd_ordlist4.applyChange();
-
- for (var i = 0; ds_grd_ordlist4.rowcount; i++)
- {
- ds_grd_ordlist4.setColumn(i,"check",checked);
- }
- ds_grd_ordlist4.filter("");
- }
- if(grd=="ordlist6"){
- var pidValue = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"pid");
- ds_grd_ordlist6.filter("pid=='" + pidValue + "'");
- ds_grd_ordlist6.applyChange();
-
- for (var i = 0; ds_grd_ordlist6.rowcount; i++)
- {
- ds_grd_ordlist6.setColumn(i,"check",checked);
- }
- ds_grd_ordlist6.filter("");
- }
- }
-
-
- //=====================================================================================================================================================================================
- // @ 팝업메뉴 - 선택환자의 키/몸무게 입력 및 수정
- //=====================================================================================================================================================================================
- function fPatHeWeInfo() {
- var ds_ordlist;
-
- if( tabgubn == "M" || tabgubn == "D" || tabgubn == "L" ) {
- ds_ordlist = ds_grd_ordlist1;
- }
- if(grp_body.group2.switch1.tabindex == 3 ){
- ds_ordlist = ds_grd_ordlist3;
- }
- if( grp_body.group2.switch1.tabindex == 1 ){
- ds_ordlist = ds_grd_ordlist4;
- }
- if( grp_body.group2.switch1.tabindex == 2 ){
- ds_ordlist = ds_grd_ordlist6;
- }
- //var nodeList = instance1.selectNodes("/root/main/"+ordlist+"/mainordlist[check='true']");
- //var rCSV = getNodeListCSV(nodeList);
-
- if(ds_ordlist.getCaseCount("check == '1'") == 0 ){
- sysf_messageBox("처방내역을","C002");
- return "0";
- }else{
- var objArg = new Object();
- objArg.arg_ds_init_patinfo = ds_patrem_selectpat;
- frmf_modal("SPAEA01101", "SPAEA01101", objArg, "", "", "", "", "", "", "", "", "", "M");
- }
- }
-
- //=====================================================================================================================================================================================
- // @ 팝업메뉴 - 처방내역에서 실시
- //=====================================================================================================================================================================================
- function fprcpacting() {
-
- var tempcnt = ds_grd_inclprcplist.getCaseCount("check=='1'");
-
- if (tempcnt == 0 ) {
- sysf_messageBox("처방내역을","C002");
- return "0";
- }else {
- if((ds_grd_inclprcplist.getColumn(ds_grd_inclprcplist.rowposition,"execprcphistcd") == "E" ) || ( ds_grd_inclprcplist.getColumn(ds_grd_inclprcplist.rowposition,"execprcphistcd") == "D" ) ){
- sysf_messageBox("이미 반환된 처방","E008");
- return "0";
- }
- if( (ds_grd_inclprcplist.getColumn(ds_grd_inclprcplist.rowposition,"execprcphistcd") == "O" ) && ( ds_grd_inclprcplist.getColumn(ds_grd_inclprcplist.rowposition,"execprcpstatcd") == "610") ) {
- sysf_messageBox("실시완료된 처방","E008");
- return "0";
- }else {
- ds_grd_inclprcplist.filter("check=='1'");
- ds_send_tobeacptprcplist.copyData(ds_grd_inclprcplist,true);
- ds_grd_inclprcplist.filter("");
-
- }
- }
- ds_send_tobeacptprcplist.addColumn("execprcpstat610cd","string");
- ds_send_tobeacptprcplist.addColumn("excuexectotm","string");
- ds_send_tobeacptprcplist.addColumn("execrid1","string");
- ds_send_tobeacptprcplist.updateColID("execdd","excuexectodd");
- ds_send_tobeacptprcplist.updateColID("suppdeptcd","basesuppdeptcd");
-
- for (var i=0; ds_send_tobeacptprcplist.rowcount;i++)
- {
- ds_send_tobeacptprcplist.setColumn(i,"execprcpstat610cd","610");
- ds_send_tobeacptprcplist.setColumn(i,"excuexectotm","-");
- ds_send_tobeacptprcplist.setColumn(i,"execrid1","-");
- }
-
- dsf_setDefaultVal(ds_send_tobeacptprcplist, "all");
-
- // 처방 -> 검사접수/실시완료
- if ( sysf_messageBox("실시를 ","Q002")==6 ) {
- var oParam = {};
- oParam.id = "TXAEA01508";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqExeAddPrcpList";
- oParam.inds = "req=ds_send_tobeacptprcplist";
- oParam.outds = "ds_hidden_item=item";
- oParam.async = false;
- oParam.callback = "cf_TXAEA01508";
- tranf_submit(oParam);
- }
- var oParam = {};
- oParam.id = "TRAEA01120";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_data_popup";
- oParam.outds = "ds_examcureexecprcplist=examcureexecprcplist ds_deptcdlist=deptcdlist";
- oParam.async = false;
- tranf_submit(oParam);
-
- }
- function cf_TXAEA01508(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
-
-
- //=====================================================================================================================================================================================
- // @ 팝업메뉴 - 예약증 출력
- //=====================================================================================================================================================================================
- function fRsrvPrint() {
- //20130702 kya 예약증 초기화
- //start
- var pCalcscorcd = ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"calcscorcd");
- var pSuppdeptcd = ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"prcpexecdeptcd");
-
- ds_send_data.setColumn(0,"prntcalcscorcd",pCalcscorcd);
- ds_send_data.setColumn(0,"prntsuppdeptcd",pSuppdeptcd);
- //end
- dsf_createDs("ds_temp_send");
- dsf_copyDs(ds_temp_send,ds_send_data);
- ds_temp_send.updateColID("prntcalcscorcd","excucd");
- ds_temp_send.updateColID("prntsuppdeptcd","suppdeptcd");
-
-
- var oParam = {};
- oParam.id = "TRAEA01126";
- oParam.service = "examcurebaseapp.ExmpTmpl";
- oParam.method = "reaGetRsrvTmplList";
- oParam.inds = "req=ds_temp_send";
- oParam.outds = "ds_tmplinfo=tmplinfo";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01126";
- tranf_submit(oParam);
-
- var srchrsrvdt = ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"srchrsrvdt");
- var tmpldata = ds_tmplinfo.getColumn(0,"tmpldata");
- var pid = ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"pid");
- var hngnm = ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"hngnm");
- var year = srchrsrvdt.substr(0,4);
- var month = srchrsrvdt.substr(4,2);
- var day = srchrsrvdt.substr(6,2);
- var week = srchrsrvdt.substr(0,8).toDate().getDayOfWeek("K");
- var hh = srchrsrvdt.substr(8,2);
- var mm = srchrsrvdt.substr(10,2);
- var prcpnm = ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"prcpnm");
-
- if(!utlf_isNull(tmpldata)) {
- //1. 예약예문내용을 뷰어로 보여주기
- grp_body.rtfviewer.TextRtf = tmpldata;
-
- //2. 바꾸기
- grp_body.rtfviewer.ReplaceRtfCode("pid",pid); //등록번호
- grp_body.rtfviewer.ReplaceRtfCode("patnm",hngnm); //성명
- grp_body.rtfviewer.ReplaceRtfCode("year",year); //년
- grp_body.rtfviewer.ReplaceRtfCode("month",month); //월
- grp_body.rtfviewer.ReplaceRtfCode("day",day); //일
- grp_body.rtfviewer.ReplaceRtfCode("week",week); //요일
- grp_body.rtfviewer.ReplaceRtfCode("hh",hh); //시
- grp_body.rtfviewer.ReplaceRtfCode("mm",mm); //분
- grp_body.rtfviewer.ReplaceRtfCode("age",ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"age"));
- grp_body.rtfviewer.ReplaceRtfCode("sex",ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"sna").substr(0, 1));
- grp_body.rtfviewer.ReplaceRtfCode("orddeptcd",ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"orddepthngnm"))
- grp_body.rtfviewer.ReplaceRtfCode("orddrid",ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"orddrnm"))
- grp_body.rtfviewer.ReplaceRtfCode("prcpnm",prcpnm); //처방명 2011.05.02
-
- //3. 현재내용을 파일에 저장
- grp_body.rtfviewer.SaveRtfFile();
-
- //4. 출력
- grp_body.rtfviewer.Print();
- //5. 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- fInitialize();
- }
- else {
- sysf_messageBox("등록된 예약예문이 ", "I004");
- return "0";
- }
- }
- function cf_TRAEA01126(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- //=====================================================================================================================================================================================
- // @ 검사실대기환자등록
- //=====================================================================================================================================================================================
- 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_rsrvlist.rowposition;
- var instcd = sysf_getUserInfo("dutplceinstcd"); // 기관코드
- var pid = ds_grd_rsrvlist.getColumn(schelistcnt,"pid"); // 환자등록번호
- var orddd = utlf_getCurrentDate(); // 진료일자
- var orddeptcd = ds_send_globalinstance.getColumn(0,"dutplcecd"); // 지원부서코드
- var ordroomcd = ds_grd_rsrvlist.getColumn(schelistcnt,"excuroomcd"); // 검사실코드
- var orddrid = ds_grd_rsrvlist.getColumn(schelistcnt,"orddrid"); // 진료의ID
- var ordrsrvtm = utlf_getCurrentTime().substring(0,4); // 진료예약시간
- var ordrsrvseqno = schelistcnt; // 진료예약순서
- var dayflag = "Y"; // 당일구분
-
- dsf_createDsRow("ds_temp_ordschelistinfo",
- [{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:"ordrsrvseqno", val:""}
- ,{col:"dayflag", val:dayflag}
- ]);
-
-
- // 검사실 전광판 대기 환자 등록 인터페이스 정보
- fSaveExcuRoomPatList(ds_temp_ordschelistinfo);
-
- }
- //=====================================================================================================================================================================================
- // @ 환자상단정보
- //=====================================================================================================================================================================================
- function fTopInfo() {
-
- //대상자조회탭
- var grd = "grd_ordlist3";
- var ds_grid = ds_grd_ordlist3 ;
- var row_idx = ds_grd_ordlist3.rowposition;
-
- if ( grp_body.group2.switch1.tabindex == 0 ) { //전체처방탭
- var grd = "grd_ordlist1";
- var ds_grid = ds_grd_ordlist1;
- var row_idx = ds_grd_ordlist1.rowposition;
- }
-
-
- if ( grp_body.group2.switch1.tabindex == 1 ) { //검사완료탭
- var grd = "grd_ordlist4";
- var ds_grid = ds_grd_ordlist4;
- var row_idx = ds_grd_ordlist4.rowposition;
- }
- if ( grp_body.group2.switch1.tabindex == 2 ) { //미예약탭
- var grd = "grd_ordlist6";
- var ds_grid = ds_grd_ordlist6;
- var row_idx = ds_grd_ordlist6.rowposition;
- }
- schk = "N";
- var pat_info = "S▦"+ ds_grid.getColumn(row_idx,"prcpdd") +"▦"+ds_grid.getColumn(row_idx,"execprcpuniqno")+"▦"+sysf_getUserInfo("dutplcecd");
- schk = "Y";
-
- if (schk == "Y"){
- frmf_setParameter("condparam", pat_info);
- //frmf_modal("SPMMO08900", "SPMMO08900");
- appf_initPatientInfo(pat_info);
- }
-
- //20200128 코로나 바이러스 추가
- fc_check_coronavirus();
- }
- //=====================================================================================================================================================================================
- // @ 월버튼 이벤트 , 장준원, 20100719
- //=====================================================================================================================================================================================
- function fGetCalendar(arg){
- var isMonth = ds_calendar.getColumn(0,"month");
- var isYear = ds_calendar.getColumn(0,"year");
- var isDate = "";
- if(ds_calendar.getColumn(0,"month") < arg) {
- var num = arg- isMonth ;
- isDate = (isYear+isMonth+"01").toDate().getAddDate(+num,"M");
-
- }
- if(ds_calendar.getColumn(0,"month") > arg) {
- var num = isMonth - arg ;
- isDate = (isYear+isMonth+"01").toDate().getAddDate(-num,"M");
- }
- ds_calendar.setColumn(0,"year", isDate.getDateFormat("YYYY"));
- ds_calendar.setColumn(0,"month", isDate.getDateFormat("MM"));
-
-
- setCalendar(isDate);
- }
- //--=========================================================================================================
- //2009-06-29 7/1 본인부담율 인상으로 인한 메세지 처리
- //--=========================================================================================================
- function fget0701GosiPrcpRcptChk() {
-
- var menuparam = frmf_getMenuParam();
-
- if ( menuparam != "S") { // 건진제외
- var flagvalue = ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"prcpexecdeptcd"); //시행부서
- var tmpPID = ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.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"}
- ]);
-
- 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"); //재활 그외는 메세지창으로
- } else{
- //messageBox(" 본인부담요율 변동 환자입니다. 수납으로 정산 안내하시길 바랍니다.xxxxx ", "E999"); //재활 그외는 메세지창으로
- }
- }
- //--=========================================================================================================
- //20130926 10/01 중증/희귀난치성 환자일 경우 초음파검사 급비변경에 따른 안내메시지
- //--=========================================================================================================
- function fget1001USPayFlagChk() {
- var curDate = utlf_getCurrentDate();
- var baseDate = ds_init_cmb_info6_X0003.getColumn(1,"cdnm");
- var sPrcpdd = ds_send_data.getColumn(0,"prcpdd"); //처방일자
-
- if ( sPrcpdd >= baseDate ) return; //처방일자가 20131001 이후이면 리턴
- if ( curDate < baseDate ) return;
-
- var menuparam = frmf_getMenuParam();
-
- if ( menuparam != "S") { // 건진제외
- var sPID = ds_send_data.getColumn(0,"srchpid"); //환자번호
- var sOrddd = ds_send_data.getColumn(0,"orddd"); //처방일자
- var sCretno = ds_send_data.getColumn(0,"cretno"); //처방일자
-
- var sExecprcpuniqno = ds_send_data.getColumn(0,"execprcpuniqno"); //처방일자
-
- dsf_createDsRow("ds_send_USPayFlagyn",
- [{col:"instcd", val:sysf_getUserInfo("dutplceinstcd")}
- ,{col:"pid", val:sPID}
- ,{col:"orddd", val:sOrddd}
- ,{col:"cretno", val:sCretno}
- ,{col:"prcpdd", val:sPrcpdd}
- ,{col:"execprcpuniqno", val:sExecprcpuniqno}
- ]);
-
- var oParam = {};
- oParam.id = "TRAEA01213";
- oParam.service = "pamcomnapp.PamComn";
- oParam.method = "reqGetUltrasonoChk";
- oParam.inds = "req=ds_send_USPayFlagyn";
- oParam.outds = "ds_hidden_uspayflagyn=uspayflagyn";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01213";
- tranf_submit(oParam);
- }
- }
- function cf_TRAEA01213(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- if (ds_hidden_uspayflagyn.getColumn(0,"uspayflagyn") == "Y") {
- //sysf_messageBox("실시 후, 1층 원무수납 1번 창구에서 초음파 보험급여 여부를 확인 받도록 안내 부탁드립니다. ", "E999");
- sysf_messageBox("실시 후, 관련 진료과에서 초음파 보험급여 여부를 확인 받도록 안내 부탁드립니다. ", "E999");
- }
- }
- //=====================================================================================================================================================================================
- // @ 프린터 설정
- //=====================================================================================================================================================================================
- function fSetPrint() {
- 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" );
-
- }
- /*********************************************************************************
- * 요청번호 : 20170420002, 신경과 검사실 업무제한요청건
- * 20170424 by kya 진료지원 공통코드에서 수정자격 가져오기 'T0003'
- * SELECT a.* FROM AST.AEBMCODE a WHERE a.grupcdid = 'T0003' AND instcd = '031';
- *********************************************************************************/
- function fSetAutho(){
- // ds_init_T0003.deleteAll();
- // lf_getAstCodeList([{dsNm: "ds_init_T0003", cdGrpId: "T0003"}], true);
- // trace( "ds_init_T0003");
-
- var idx_rsrv = 0;
- for( var i = 1 ; i<= ds_init_T0003.rowcount ; i++){
- if( ds_init_T0003.getColumn(i,"cdid") == sysf_getUserInfo("userid") ){
- idx_rsrv++;
- }
- }
-
- if( idx_rsrv == 0 ){
- grp_body.btn_rsrv.enable = true;
- grp_body.btn_rsrvcncl.enable = true;
- }else {
- grp_body.btn_rsrv.enable = false;
- grp_body.btn_rsrvcncl.enable = false;
- }
- }
- function SMAEA01103_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 화면공통
- }
- //=====================================================================================================================================================================================
- // @ 팝업메뉴 - 결과관리(서식) 링크
- //=====================================================================================================================================================================================
- function fResultSerch() {
- //상단정보 초기화
- appf_delPatientInfos();
-
- var objArg = new Object();
- objArg.arg_ds_send_singdata = ds_send_data;
- frmf_modal("SMAER00800", "SMAER00800", objArg, null, null, null, null, null, null, null, null, null, "M");
- }
- //=====================================================================================================================================================================================
- // @ 팝업메뉴 - 주사실액팅 화면 링크
- //=====================================================================================================================================================================================
- function fNursingActing() {
- //상단정보 초기화
- appf_delPatientInfos();
- var objArg = new Object();
-
- if ( grp_body.group2.switch1.tabindex == 0 ) {
- objArg.arg_pid= ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"pid");
- frmf_modal("SMMNI00100","SMMNI00100",objArg,"","","","","","","","","","M");
- }
- if ( grp_body.group2.switch1.tabindex == 1 ) {
- objArg.arg_pid= ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"pid");
- frmf_modal("SMMNI00100","SMMNI00100",objArg,"","","","","","","","","","M");
- }
- if ( grp_body.group2.switch1.tabindex == 2 ) {
- objArg.arg_pid= ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"pid");
- frmf_modal("SMMNI00100","SMMNI00100",objArg,"","","","","","","","","","M");
- }
- }
- //=====================================================================================================================================================================================
- // @ 팝업메뉴 - 간호일지 링크
- //=====================================================================================================================================================================================
- function fNursingReport() {
- //상단정보 초기화
- appf_delPatientInfos();
- //*******************************************************************************************************************************************************************/
- // 간호기록(Type II) 화면을 호출하기 위한 파라미터 값 세팅
- //*******************************************************************************************************************************************************************/
- // [기록 구분 정보]
- // SMMNR03400_ParamBase : recflag▦dutplaccd▦reclnkkey => 기록구분▦부서코드▦기록연계키
- // SMMNR03400_ParamPrcp : prcpflag▦prcpnm => 처방구분▦처방정보
- //
- // - 기록구분(recflag) :
- // O : 외래, F : 기능검사, I : 주사실,
- // D : DSC, S : 전문간호, H : 가정간호,
- // E : 응급실, A : 마취과, R : 회복실,
- // L : 투석실, B : 혈당기록, P : 수술실,
- // C : 외래항암
- //
- // - 부서코드(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 ( grp_body.group2.switch1.tabindex == 0 ) {
- var orddd = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"pid");
- var cretno = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"cretno");
- var instcd = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"instcd");
- var orddeptcd = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"orddeptcd");
- var pid = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"pid");
- var sPid = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"pid");
- var hngnm = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"hngnm");
- var age = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"age");
- var ioflag = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"prcpgenrflag");
- }
- if ( grp_body.group2.switch1.tabindex == 1 ) {
- var orddd = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"pid");
- var cretno = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"cretno");
- var instcd = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"instcd");
- var orddeptcd = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"orddeptcd");
- var pid = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"pid");
- var sPid = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"pid");
- var hngnm = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"hngnm");
- var age = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"age");
- var ioflag = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"prcpgenrflag");
- }
- if ( grp_body.group2.switch1.tabindex == 2 ) {
- var orddd = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"pid");
- var cretno = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"cretno");
- var instcd = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"instcd");
- var orddeptcd = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"orddeptcd");
- var pid = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"pid");
- var sPid = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"pid");
- var hngnm = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"hngnm");
- var age = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"age");
- var ioflag = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"prcpgenrflag");
- }
-
- var dutplaccd = ds_cmb_nursingtype2.getColumn(0,"dutplaccd");
-
- var parammsg = "recflag▦dutplaccd▦reclnkkey▩F▦"+dutplaccd+"▦" + sPid + "," + orddd + "," + cretno +"," + instcd + "," + orddeptcd + "▩";
- var AST = "pid ▦ instcd ▦ hngnm ▦ age ▦ orddd ▦ cretno ▦ ioflag ▦ orddeptcd ▩" + pid + "▦" + instcd + "▦" + hngnm + "▦" + age + "▦" + orddd + "▦" + cretno+ "▦" + ioflag + "▦" + orddeptcd + "▩";
- frmf_setParameter("SMMNR03400_AST", AST);
- frmf_setParameter("SMMNR03400_ParamBase", parammsg);
- frmf_modal("SMMNR03400","SMMNR03400","","","","","","","","","","","M");
- }
- //=====================================================================================================================================================================================
- // @ 팝업메뉴 - Progress Note
- //=====================================================================================================================================================================================
- function fProgressNote() {
- if ( grp_body.group2.switch1.tabindex == 0 ) {
- call_TRAER00109(ds_grd_ordlist1,ds_grd_ordlist1.rowposition);
- var pid = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"pid");
- var orddd = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"orddd");
- var cretno = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"cretno");
- var ioflag = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"prcpgenrflag");
- var orddeptcd = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"orddeptcd");
- var orddrid = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"orddrid");
- var patnm = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"hngnm");;
- var age = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"age");
- var sex = "";
- var suppdeptcd = ds_send_globalinstance.getColumn(0,"dutplcecd");
- frmf_setParameter("SPMMR05400_parm_pinfo", pid + "▦" + orddd + "▦" + cretno + "▦" + ioflag + "▦" + orddeptcd + "▦" + orddrid +"▦"+ patnm + "▦" + age + "▦" + sex + "▦" + suppdeptcd );
- frmf_modal("SPMMR05400", "SPMMR05400", "", "", "" , "", "", "", "", "" , "", "","M");
- }
- if ( grp_body.group2.switch1.tabindex == 1 ) {
- call_TRAER00109(ds_grd_ordlist4,ds_grd_ordlist4.rowposition);
- var pid = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"pid");
- var orddd = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"orddd");
- var cretno = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"cretno");
- var ioflag = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"prcpgenrflag");
- var orddeptcd = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"orddeptcd");
- var orddrid = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"orddrid");
- var patnm = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"hngnm");;
- var age = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"age");
- var sex = "";
- var suppdeptcd = ds_send_globalinstance.getColumn(0,"dutplcecd");
- frmf_setParameter("SPMMR05400_parm_pinfo", pid + "▦" + orddd + "▦" + cretno + "▦" + ioflag + "▦" + orddeptcd + "▦" + orddrid +"▦"+ patnm + "▦" + age + "▦" + sex + "▦" + suppdeptcd );
- frmf_modal("SPMMR05400", "SPMMR05400", "", "", "" , "", "", "", "", "" , "", "","M");
- }
- if ( grp_body.group2.switch1.tabindex == 2 ) {
- call_TRAER00109(ds_grd_ordlist6,ds_grd_ordlist6.rowposition);
- var pid = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"pid");
- var orddd = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"orddd");
- var cretno = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"cretno");
- var ioflag = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"prcpgenrflag");
- var orddeptcd = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"orddeptcd");
- var orddrid = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"orddrid");
- var patnm = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"hngnm");;
- var age = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"age");
- var sex = "";
- var suppdeptcd = ds_send_globalinstance.getColumn(0,"dutplcecd");
- frmf_setParameter("SPMMR05400_parm_pinfo", pid + "▦" + orddd + "▦" + cretno + "▦" + ioflag + "▦" + orddeptcd + "▦" + orddrid +"▦"+ patnm + "▦" + age + "▦" + sex + "▦" + suppdeptcd );
- frmf_modal("SPMMR05400", "SPMMR05400", "", "", "" , "", "", "", "", "" , "", "","M");
- }
- }
- function call_TRAER00109(obj,cRow) {
- dsf_createDsRow("ds_send_progress", [{col:"pid", val:obj.getColumn(cRow,"pid")}
- ,{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ]);
- var oParam = {};
- oParam.id = "TRAER00109";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetPatPamInfo";
- oParam.inds = "req=ds_send_progress";
- oParam.outds = "ds_progressnote=item";
- oParam.async = false;
- //oParam.callback = "cf_TRAER00109";
- tranf_submit(oParam);
- }
- //=====================================================================================================================================================================================
- // @ 팝업메뉴 - 환자진료정보조회
- //=====================================================================================================================================================================================
- function fOrdPrcpInfoList() {
- //상단정보 초기화
- appf_delPatientInfos();
- var child = frmf_findPopup("SMMMO02500") ;
- if (!utlf_isNull(child)) {
- child.ds_patinfolist.setColumn(0,"pid" , ds_patrem_selectpat.getColumn(0,"pid"));
- frmf_setParameter ( "SMMMO02500_cond" , ds_patrem_selectpat.getColumn(0,"pid"));
- child.fReqGetPatComnInfo(child.ds_send_reqdata, ds_patrem_selectpat.getColumn(0,"pid"));
- 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_patrem_selectpat.getColumn(0,"pid"));
- // frmf_open("SMMMO02500", "","","", "SMMMO02500", "/root/main/patrem/selectpat/pid","/root/init/srchcond2");
- frmf_open("SMMMO02500","SMMMO02500","", "", "", "", "", "", "", "", "", "","M");
- }
- }
- function SMAEA01103_onload(obj:Form, e:LoadEventInfo)
- {
-
- var dutplcenm = sysf_getUserInfo("dutplcenm");
- grp_top.caption6.text = "(" + dutplcenm + ")";
- lf_aezfSetSuppDeptcd_main();
-
- //20180914 sort
- grdf_setGridSort(grp_body.group2.switch1.case1.grd_ordlist1);
- grdf_setGridSort(grp_body.group2.switch1.case4.grd_ordlist4);
- grdf_setGridSort(grp_body.group2.switch1.case6.grd_ordlist6);
-
- //문자전송화면 옮기기
- div_directsms.position.x = ( this.position.width - div_directsms.position.width ) / 2;
- div_directsms.position.y = 35;
-
- if (utlf_transNullToEmpty(suppdeptcd) =="") {
- suppdeptcd = sysf_getUserInfo( "dutplcecd" );
- }
-
- var arrParam = [{dsNm: "ds_init_A0608", cdGrpId: "A0608"}
- ,{dsNm: "ds_init_P0008", cdGrpId: "P0008"}
- ]
- appf_getCodeList(arrParam);
- // 2011.01.05 c y w 진료의 코드 갖고오기
- // submit("TRAEA01518");
- var arrParam = [{dsNm: "ds_init_cmb_info6", cdGrpId: "X0003"}]
- lf_getAstCodeList(arrParam) ;
- //상단정보 초기화
- appf_delPatientInfos();
- grdf_initGrid(grp_body.group2.switch1.case1.grd_ordlist1);
- grdf_initGrid(grp_body.group2.switch1.case4.grd_ordlist4);
- grdf_initGrid(grp_body.group2.switch1.case6.grd_ordlist6);
- ds_send_data.setColumn(0,"allstatus","Y");
- //바코드 출력
- dsf_createDsRow("ds_send",
- [{col:"scrnid", val: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;
-
- tranf_submit(oParam);
- lf_convertXmlToDs(ds_barcdprntsetup.getColumn(0,"prntsetupinfo"));
- //20170427 신경과직원 업무제한
- if ( suppdeptcd == "2020000000" ) {
- ds_init_T0003.clearData();
- lf_getAstCodeList([{dsNm: "ds_init_T0003", cdGrpId: "T0003"}], true);
- fSetAutho(); //20170427 신경과직원 업무제한
-
- //20180809 신경과 수면다원검사실 입실퇴실관리
- grp_body.group2.btn_inpt.visible = true;
- }
-
- // 2011.1.6 cyw 선택진료의 가져오기
- ds_send_globalinstance.setColumn(0,"specdraddyn","Y");
- ds_send_globalinstance.setColumn(0,"dutplcecd",suppdeptcd);
- ds_send_data.setColumn(0,"suppdeptcd",suppdeptcd);
- ds_send_data.setColumn(0,"deptcd",suppdeptcd);
- var oParam = {};
- oParam.id = "TRAEA01136";
- oParam.service = "examcurebaseapp.ExamCureCode";
- oParam.method = "reqGetSpecDrnmList";
- oParam.inds = "req=ds_send_globalinstance";
- oParam.outds = "ds_init_specdridlist=item";
- oParam.async = false;
-
- tranf_submit(oParam);
-
- //20180117 kya 검사의사지정을 위해
- ds_send_globalinstance.setColumn(0,"dutplcecd",suppdeptcd);
- ds_send_data.setColumn(0,"basesuppdeptcd",suppdeptcd);
- var oParam = {};
- oParam.id = "TRAEA01139";
- oParam.service = "examcurebaseapp.ExamCureCode";
- oParam.method = "reqGetSelectDrnmList";
- oParam.inds = "req=ds_send_globalinstance";
- oParam.outds = "ds_init_selectdridlist=item";
- oParam.async = false;
- tranf_submit(oParam);
-
- var menuparam = frmf_getMenuParam();
-
- //건진처방 구분
- ds_send_data.setColumn(0,"sgubn", menuparam);
-
- grp_body.group2.btn_acpt.visible = false;
- grp_body.group2.btn_acptcncl.visible = false;
- ds_send_data.setColumn(0,"centflag","");
-
- // 2011.04.20 해당근무지에 따라 타이틀 변경
- var dutplcenm = sysf_getUserInfo("dutplcenm");
- if (menuparam == "S") {
- lzzfMakeBrcdPrntObjHanDo("CommAX");
- group4.btn_barcdprint.visible = true;
- group4.input1.visible = true;
- }else if (menuparam == "C"){
- grp_body.group2.btn_acpt.visible = true;
- grp_body.group2.btn_acptcncl.visible = true;
- ds_send_data.setColumn(0,"centflag","Y");
- }
-
- //안과 진료예약을 위한 공통코드 조회
- //검사실 갖고오기
- dsf_createDsRow("ds_send",
- [{col:"basesuppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"rbasecdflag", val:"R"}
- ,{col:"ebasecdflag", val:"E"}
- ,{col:"largeclass", val:"M4"}
- ,{col:"cdgrupid", val:"A0486"}
- ,{col:"centflag", val:""}
- ]);
-
- var oParam = {};
- oParam.id = "TRAEA01115";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetInitFuncExamCureRoomList";
- oParam.inds = "reqparam=ds_send";
- oParam.outds = "ds_cmb_initexecroom=initexcuroom ds_cmb_initexecroomcd=initexcuroomcd ds_cmb_initexecrid=initexecrid ds_cmb_prcpexecdeptcdlist=prcpexecdeptcdlist ds_cmb_cdidlist=cdidlist ds_cmb_nursingtype=nursingtype ds_cmb_initexcuroomgrp=initexcuroomgrp ds_cmb_nursingtype2=nursingtype2";
- oParam.async = false;
-
- tranf_submit(oParam);
- ds_cmb_initexecroom.updateColID("basecd","excuroomcdid");
- ds_cmb_initexecroom.updateColID("basecdflagdesc","excuroomcdnm");
-
- ds_cmb_initexecrid.updateColID("basecd","execrid1cdid");
- ds_cmb_initexecrid.updateColID("basecdflagdesc","execrid1cdnm");
- ds_cmb_initexecrid.updateColID("equaluserid","equaluserid");
-
- ds_cmb_initexcuroomgrp.updateColID("basecdcnts","excuroomgrpcdid");
- ds_cmb_initexcuroomgrp.updateColID("basecdcnts2","excuroomgrpcdnm");
-
-
- grp_body.grp_sea.ipt_date1.value = utlf_getCurrentDate();
- grp_body.grp_sea.ipt_date2.value = utlf_getCurrentDate();
-
- tabgubn = "M";
-
- ds_send_data.setColumn(0,"rsrvdd", utlf_getCurrentDate() );
- //진료일정 구분 세팅
- if( ds_cmb_cdidlist.getColumn(0,"cdid") == ds_send_globalinstance.getColumn(0,"dutplcecd") ) {
-
- ds_send_req.setColumn(0,"pamifyn", "Y" );
- grp_body.group5.chk_rsrvyn.visible = true;
- }
-
- //지원부서 세팅
- var prcpexecdeptcd = "";
- for(var i = 0; i < ds_cmb_prcpexecdeptcdlist.rowcount ; i++){
- prcpexecdeptcd = ds_cmb_prcpexecdeptcdlist.getColumn(i,"prcpexecdeptcd") + " " + prcpexecdeptcd;
- }
- ds_send_data.setColumn(0,"prcpexecdeptcd",prcpexecdeptcd);
- //검사실명 뿌려주기
-
- grp_body.grp_sea.cmb_selectexcuroom.index = 0;
- ds_send_data.setColumn(0,"excuroomcd",ds_send_data.getColumn(0,"selectexcuroom"));
- initCalendar();
- setCurrentDate();
- getRsrvPossTm(grp_body.grd_calendar);
- var ev = new ClickEventInfo;
- frmf_inputEnterKey("grp_body.btn_case1", "onclick", ev );
-
- }
- function group4_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- //상단정보 초기화
- appf_delPatientInfos();
-
- var objArg = new Object();
- objArg.excuroomcd = ds_send_data.getColumn(0, "excuroomcd");
- frmf_modal("SMAEB00900", "SMAEB00900", objArg, "", "", "", "", "", "", "", "", "", "M");
- }
- function group4_button14_onclick(obj:Button, e:ClickEventInfo)
- {
- //상단정보 초기화
- appf_delPatientInfos();
-
-
- var objArg = new Object();
- objArg.arg_ds_send_singdata = ds_send_data;
-
- frmf_modal("SMAER00800", "SMAER00800", objArg, "", "", "", "", "", "", "", "", "", "M");
-
- }
- function group4_button30_onclick(obj:Button, e:ClickEventInfo)
- {
-
- if ( grp_body.group2.switch1.tabindex == 0 ) {
- lf_aezfOcrListPrint(grp_body.group2.switch1.case1.grd_ordlist1,ds_grd_ordlist1.rowposition, "pid", "orddd", "orddeptcd", "orddepthngnm", "orddrid", "orddrnm", "prcpgenrflag", "hngnm", "roomcd", "rrgstno1", "rrgstno2", "cretno");
- }
- else if ( grp_body.group2.switch1.tabindex == 1 ) {
- lf_aezfOcrListPrint(grp_body.group2.switch1.case4.grd_ordlist4, ds_grd_ordlist4.rowposition, "pid", "orddd", "orddeptcd", "orddepthngnm", "orddrid", "orddrnm", "prcpgenrflag", "hngnm", "roomcd", "rrgstno1", "rrgstno2", "cretno");
- }
- else if ( grp_body.group2.switch1.tabindex == 2 ) {
- lf_aezfOcrListPrint(grp_body.group2.switch1.case6.grd_ordlist6, ds_grd_ordlist6.rowposition, "pid", "orddd", "orddeptcd", "orddepthngnm", "orddrid", "orddrnm", "prcpgenrflag", "hngnm", "roomcd", "rrgstno1", "rrgstno2", "cretno");
- }
- else {
- lf_aezfOcrListPrint(grp_body.group2.switch1.case1.grd_ordlist1, ds_grd_ordlist1.rowposition, "pid", "orddd", "orddeptcd", "orddepthngnm", "orddrid", "orddrnm", "prcpgenrflag", "hngnm", "roomcd", "rrgstno1", "rrgstno2", "cretno");
- }
- }
- function group4_button25_onclick(obj:Button, e:ClickEventInfo)
- {
-
- var objArg = new Object();
- objArg.pid = ds_send_data.getColumn(0, "srchpid");
- frmf_modal("SMAEA02000", "SMAEA02000", objArg, "", "", "", "", "", "", "", "", "", "M");
- }
- function group4_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- //상단정보 초기화
- appf_delPatientInfos();
- var objArg = new Object();
- objArg.pid = ds_send_data.getColumn(0, "srchpid");
- frmf_modal("SMPMO00300", "SMPMO00300", objArg, "", "", "", "", "", "", "", "", "", "M");
-
- }
- function group4_button4_onclick(obj:Button, e:ClickEventInfo)
- {
- //상단정보 초기화
- appf_delPatientInfos();
- var child = frmf_findPopup("SMMMO02500");
- if (!utlf_isNull(child)) {
- child.ds_patinfolist.setColumn(0,"pid" , ds_patrem_selectpat.getColumn(0,"pid"));
- frmf_setParameter ( "SMMMO02500_cond" , ds_patrem_selectpat.getColumn(0,"pid"));
- child.fReqGetPatComnInfo(ds_send_reqdata, ds_patrem_selectpat.getColumn(0,"pid"));
- child.switch1.tabindex = 0;
- child.dsf_copyDs(ds_patinfolist,ds_srchinfo_patinfolist);
-
-
- 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_patrem_selectpat.getColumn(0,"pid"));
-
- frmf_open("SMMMO02500", "SMMMO02500", "", "", "", "", "", "", "", "", "", "", "M");
-
-
- }
- }
- function group4_button5_onclick(obj:Button, e:ClickEventInfo)
- {
- //상단정보 초기화
- appf_delPatientInfos();
- var objArg = new Object();
- objArg.arg_ds_send = ds_send_data;
-
- frmf_modal("SMAEA04100", "SMAEA04100", objArg, "", "", "", "", "", "", "", "", "","M");
-
-
- }
- function group4_button9_onclick(obj:Button, e:ClickEventInfo)
- {
- //상단정보 초기화
- appf_delPatientInfos();
-
- var objArg = new Object();
- objArg.arg_pid = ds_send_data.getColumn(0, "srchpid");
- frmf_modal("SMAER00400", "SMAER00400", objArg, "", "", "", "", "", "", "", "", "", "M");
- }
- function group4_button26_onclick(obj:Button, e:ClickEventInfo)
- {
- fSetPrint();
- }
- function grp_top_btn_baseinfo_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_open("SMAEA04300", "SMAEA04300","","","","" , "","","","","","","M");
- }
- function grp_body_btn_tmprsrv_onclick(obj:Button, e:ClickEventInfo)
- {
- dsf_createDsRow("ds_send_tmp",
- [{col:"basesuppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
- ]);
-
- var oParam = {};
- oParam.id = "TRAEA01132";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetFuncExcuroomGrpCdList";
- oParam.inds = "reqparam=ds_send_tmp";
- oParam.outds = "ds_hidden_excuroomgrplist=excuroomgrplist";
- oParam.async = false;
-
- tranf_submit(oParam);
-
- var excuroomgrp = ds_hidden_excuroomgrplist.getColumn(0,"basecdcnts");
-
- if (utlf_isNull(excuroomgrp)) {
- sysf_messageBox("검사실을 ", "C002");
- return;
- }
-
- frmf_setParameter("excuroomgrp", excuroomgrp );
- frmf_modal("SPAEA02201", "SPAEA02201","", "", "", "", "", "","", "", "", "", "M");
- }
- function grp_body_btn_rsrvcncl_onclick(obj:Button, e:ClickEventInfo)
- {
- var ds_ordlist;
-
- if ( grp_body.group2.switch1.tabindex == 0 ) { //전체처방
- ds_ordlist = ds_grd_ordlist1;
- }
- if ( grp_body.group2.switch1.tabindex == 1 ) {//검사완료
- ds_ordlist = ds_grd_ordlist4;
- }
- if ( grp_body.group2.switch1.tabindex == 2 ) {//미예약
- ds_ordlist = ds_grd_ordlist6;
- }
-
- if ( sysf_messageBox("예약취소를","Q002")==6 ) {
- exeRsrvTransaction("cncl", ds_ordlist);
- // 2010.05.06 김건기
- // 달력에서 미래여약날짜 환자의 예약변경이나 취소시에 다시 오늘날짜 선택되도록 수정 요청[요청번호:13807]
- initCalendar();
- setCurrentDate();
- getRsrvPossTm(grp_body.grd_calendar);
-
-
- ds_send_data.setColumn(0,"rsrvdd", utlf_getCurrentDate() );
- //grdf_initGridStyle(grp_body.group5.grd_rsrvlist);
-
-
- if(tabgubn == "M") {
- ds_send_data.setColumn(0,"srchpid","");
- acptlistflag = "M";
- fGetExamCureAcptList(); // 전체처방
- }
- if(tabgubn == "R") {
- ds_send_data.setColumn(0,"srchpid","");
- acptlistflag = "R";
- fGetExamCureAcptList(); // 미예약
- }
- if(tabgubn == "T") {
- ds_send_data.setColumn(0,"srchpid","");
- acptlistflag = "T";
- fGetExamCureAcptList(); // 검사완료
- }
- if(tabgubn == "L") {
- acptlistflag = "L";
- fGetExamCureAcptList(); // 이력
- }
- if(tabgubn == "D") {
-
- var curDate = utlf_getCurrentDate().substr(0,8);
- grp_body.grp_sea.cmb_term.value = 0;
-
- dsf_createDsRow("ds_send_tmp",
- [{col:"acptlistflag", val:"R"}
- ,{col:"basesuppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"initexcuroom", val:ds_send_data.getColumn(0,"selectexcuroom")}
- ,{col:"prcpexecdeptcd", val:ds_send_data.getColumn(0,"prcpexecdeptcd")}
- ,{col:"srchdate1", val:curDate}
- ,{col:"srchdate2", val:curDate}
- ,{col:"srchpid", val:""}
- ,{col:"excuroomflag", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"term", val:ds_send_data.getColumn(0,"term")}
- ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"prcpgenrflag")}
- ,{col:"sgubn", val:ds_send_data.getColumn(0,"sgubn")}
- ,{col:"largeclass", val:ds_send_data.getColumn(0,"largeclass")}
- ]);
-
- var oParam = {};
- oParam.id = "TRAEA01122";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_temp";
- oParam.outds = "ds_grd_ordlist1=examcureexecprcplist";
- oParam.async = false;
- // oParam.callback = "cf_TRAEA01122";
- tranf_submit(oParam);
- }
-
- //data 클리어
- dataClear();
-
- }
-
- }
- function grp_body_grp_sea_button61_onclick(obj:Button, e:ClickEventInfo)
- {
-
- var objArg = new Object();
- objArg.arg_ds_send = ds_send_data;
-
- frmf_modal("SPPMC02500", "SPPMC02500", objArg, null, null, null, null, null, null, null, null, null, "M");
-
-
- ds_send_data.setColumn(0,"srchpid", ds_patinfolist.getColumn(0,"pid"));
-
- var ev = new ClickEventInfo;
- frmf_inputEnterKey("grp_body.grp_sea.btn_sea", "onclick", ev );
- }
- function grp_body_grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
-
-
- //Data 클리어
- dataClear();
-
- //상단정보 초기화
- appf_delPatientInfos();
-
-
- ds_send_data.setColumn(0,"dateflag","anotherday"); //적용일자 기준
- ds_send_data.setColumn(0,"rsrvdate",ds_send_data.getColumn(0,"srchdate1"));
- ds_send_data.setColumn(0,"rsrvdate",ds_send_data.getColumn(0,"srchdate2"));
-
- dsf_createDsRow("ds_send_tmp",
- [{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"ecgflag", val:ds_send_data.getColumn(0,"ecgflag")}
- ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
- ,{col:"memorgstdd", val:ds_send_data.getColumn(0,"rsrvdd")}
- ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
- ,{col:"orddd", val:ds_send_data.getColumn(0,"orddd")}
- ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"genrflag")}
- ,{col:"prcpcd", val:ds_send_data.getColumn(0,"prcpcd")}
- ,{col:"rsrvposs", val:ds_send_data.getColumn(0,"rsrvposs")}
- ,{col:"prcpno", val:ds_send_data.getColumn(0,"prcpno")}
- ,{col:"prcpdd", val:ds_send_data.getColumn(0,"prcpdd")}
- ,{col:"srchrsrvdt", val:ds_send_data.getColumn(0,"centyn")}
- ,{col:"execprcpuniqno", val:ds_send_data.getColumn(0,"execprcpuniqno")}
- ,{col:"cmtflag", val:""}
- ,{col:"memorgstddprcpdd", val:""}
- ]);
-
-
- //환자Comment 환자정보 조회
- var oParam = {};
- oParam.id = "TRAEA01114";
- oParam.service = "examcureacptexecapp.PatRem";
- oParam.method = "reqGetFuncPatRemList";
- oParam.inds = "reqparam=ds_send_tmp";
- oParam.outds = "ds_patrem_rem=grdAeahMemoList ds_patrem_examcureexecdiaglist=examcureexecdiaglist ds_patrem_selectpat=sltpatinfolist ds_patrem_isolinfo=patisolinfolist ds_patrem_prcpdeliveinfo=prcpdeliveinfolist ds_patrem_rsrvpossexcuroomlist=rsrvpossexcuroomlist";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01114";
- tranf_submit(oParam);
-
- grp_body.cpt_isolinfo.text = "";
- if (!utlf_isNull(ds_patrem_isolinfo.getColumn(0,"isoldispcd"))) {
- grp_body.cpt_isolinfo.text = "확인"
- }
-
- if ( grp_body.group2.switch1.tabindex == 0 ) {
-
- if(utlf_isNull(grp_body.grp_sea.ipt_pid.value)) {
- acptlistflag = "M";
- fGetExamCureAcptList(); // 전체처방
- tabgubn = "M";
-
- }
- else {
-
- this.grp_body.group2.switch1.tabindex = 0;
- acptlistflag = "L";
- fGetExamCureAcptList(); // 이력
- tabgubn ="L";
- }
- }
- if ( grp_body.group2.switch1.tabindex == 1 ) {
- if(utlf_isNull(grp_body.grp_sea.ipt_pid.value)) {
- acptlistflag = "T";
- fGetExamCureAcptList(); // 검사완료
- tabgubn ="T";
- }
- else {
- this.grp_body.group2.switch1.tabindex = 0;
- acptlistflag = "L";
- fGetExamCureAcptList(); // 이력
- tabgubn ="L";
- }
- }
-
- if ( grp_body.group2.switch1.tabindex == 2 ) {
- if(utlf_isNull(grp_body.grp_sea.ipt_pid.value)) {
- acptlistflag = "R";
- fGetExamCureAcptList(); // 미예약
- tabgubn ="R";
- }
- else {
- this.grp_body.group2.switch1.tabindex = 0;
- acptlistflag = "L";
- fGetExamCureAcptList(); // 이력
- tabgubn ="L";
- }
- }
-
- if ( grp_body.group2.switch1.tabindex != 0 && grp_body.group2.switch1.tabindex != 1 && grp_body.group2.switch1.tabindex != 2 ) {
- if(utlf_isNull(grp_body.grp_sea.ipt_pid.value)) {
- grp_body.group2.switch1.tabindex = 3;
- }
- else {
- acptlistflag = "L";
- fGetExamCureAcptList(); // 이력
- tabgubn ="L";
- }
- }
- }
- function grp_body_grp_sea_btn_sea_ondblclick(obj:Button, e:MouseEventInfo)
- {
- if ( grp_body.group2.switch1.tabindex == 0 ) {
- for( var i = 0 ; i < ds_grd_ordlist1.rowcount ; i++) {
- ds_grd_ordlist1.getColumn(i,"check","0");
- ds_grd_ordlist1.selectRow(i,false);
-
- }
-
- for( var i = 0 ; i < ds_grd_ordlist1.rowcount ; i++) {
-
- if(ds_grd_ordlist1.getColumn(i,"pid")== ds_send_data.getColumn(0,"srchpid")) {
- ds_grd_ordlist1.setColumn(i,"check","1");
-
- ds_grd_ordlist1.selectRow(i,true);
- return 0;
- }
- }
- }
-
- if ( grp_body.group2.switch1.tabindex == 3 ) {
- for( var i = 0 ; i < ds_grd_ordlist3.rowcount ; i++) {
- ds_grd_ordlist3.setColumn(i,"check","0");
-
- ds_grd_ordlist3.selectRow(i,false);
- }
-
- for( var i = 0 ; i < ds_grd_ordlist3.rowcount ; i++) {
-
- if(ds_grd_ordlist3.getColumn(i,"pid")== ds_send_data.getColumn(0,"srchpid")) {
- ds_grd_ordlist3.setColumn(i,"check","1");
-
- ds_grd_ordlist3.selectRow(i,true);
- return 0;
- }
- }
- }
-
- if ( grp_body.group2.switch1.tabindex == 1 ) {
- for( var i = 0 ; i < ds_grd_ordlist4.rowcount ; i++) {
- ds_grd_ordlist4.setColumn(i,"check","0");
-
- ds_grd_ordlist4.selectRow(i,false);
- }
-
- for( var i = 0 ; i < ds_grd_ordlist4.rowcount ; i++) {
-
- if(ds_grd_ordlist4.getColumn(i,"pid")== ds_send_data.getColumn(0,"srchpid")) {
- ds_grd_ordlist4.setColumn(i,"check","1");
-
- ds_grd_ordlist4.selectRow(i,true);
- return 0;
- }
- }
- }
-
- if ( grp_body.group2.switch1.tabindex == 2 ) {
- for( var i = 0 ; i < ds_grd_ordlist6.rowcount ; i++) {
- ds_grd_ordlist6.setColumn(i,"check","0");
-
- ds_grd_ordlist6.selectRow(i,false);
- }
-
- for( var i = 0 ; i < ds_grd_ordlist6.rowcount ; i++) {
-
- if(ds_grd_ordlist6.getColumn(i,"pid")== ds_send_data.getColumn(0,"srchpid")) {
- ds_grd_ordlist6.setColumn(i,"check","1");
-
- ds_grd_ordlist6.selectRow(i,true);
- return 0;
- }
- }
- }
- }
- function grp_body_grp_sea_chk_focus_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
- {
- grp_body.chk_excuroom.visible = false;
- }
- function grp_body_grp_sea_btn_excuroom_onclick(obj:Button, e:ClickEventInfo)
- {
- if(grp_body.chk_excuroom.visible == false ){
- grp_body.chk_excuroom.visible = true;
- }else {
- grp_body.chk_excuroom.visible = false;
- }
-
- //검사실명 뿌려주기
- grp_body.grp_sea.opt_excuroom.value = grp_body.chk_excuroom.getLableData();
- }
- function grp_body_grp_calendar_button32_onclick(obj:Button, e:ClickEventInfo)
- {
- var isMonth = ds_calendar.getColumn(0,"month");
- var isYear = ds_calendar.getColumn(0,"year");
- var isDate = (isYear+isMonth+1).toDate().getAddDate(1,'Y');
- ds_calendar.setColumn(0,"year", isDate.getDateFormat('YYYY'));
- ds_calendar.setColumn(0,"month", isDate.getDateFormat('MM'));
-
- setCalendar(isDate);
- }
- function grp_body_grp_calendar_btn_premonth_onclick(obj:Button, e:ClickEventInfo)
- {
- var isMonth = ds_calendar.getColumn(0,"month");
- var isYear = ds_calendar.getColumn(0,"year");
- var isDate = (isYear+isMonth+1).toDate().getAddDate(-1,'M');
- ds_calendar.setColumn(0,"year", isDate.getDateFormat('YYYY'));
- ds_calendar.setColumn(0,"month", isDate.getDateFormat('MM'));
-
- setCalendar(isDate);
- }
- function grp_body_grp_calendar_button34_onclick(obj:Button, e:ClickEventInfo)
- {
- var isMonth = ds_calendar.getColumn(0,"month");
- var isYear = ds_calendar.getColumn(0,"year");
- var isDate = (isYear+isMonth+1).toDate().getAddDate(1,'M');
- ds_calendar.setColumn(0,"year", isDate.getDateFormat('YYYY'));
- ds_calendar.setColumn(0,"month", isDate.getDateFormat('MM'));
-
-
- setCalendar(isDate);
- }
- function grp_body_grp_calendar_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- var isMonth = ds_calendar.getColumn(0,"month");
- var isYear = ds_calendar.getColumn(0,"year");
- var isDate = (isYear+isMonth+1).toDate().getAddDate(-1,'Y');
- ds_calendar.setColumn(0,"year", isDate.getDateFormat('YYYY'));
- ds_calendar.setColumn(0,"month", isDate.getDateFormat('MM'));
-
-
- setCalendar(isDate);
- }
- function grp_body_grp_calendar_button63_onclick(obj:Button, e:ClickEventInfo)
- {
- initCalendar();
- setCurrentDate();
- getRsrvPossTm(grp_body.grd_calendar);
-
- //grdf_initGridStyle(grp_body.group5.grd_rsrvlist);
-
- }
- function grp_body_grd_calendar_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- ds_hidden_grdcellcolor.setColumn(0,"calrow",grp_body.grd_calendar.currentrow);
- ds_hidden_grdcellcolor.setColumn(0,"calcol",grp_body.grd_calendar.currentcol);
- // ds_send_data.setColumn(0,"largeclass","R4");
- fCalendar1();
- getRsrvPossTm(grp_body.grd_calendar);
-
- //grdf_initGridStyle(grp_body.group5.grd_rsrvlist);
-
-
- //환자Comment 환자정보 조회
- dsf_createDsRow("ds_send_tmp",
- [{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"ecgflag", val:""}
- ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
- ,{col:"memorgstdd", val:ds_send_data.getColumn(0,"rsrvdd")}
- ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
- ,{col:"orddd", val:ds_send_data.getColumn(0,"orddd")}
- ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"genrflag")}
- ,{col:"prcpcd", val:ds_send_data.getColumn(0,"inclprcpcd")}
- ,{col:"rsrvposs", val:""}
- ,{col:"prcpno", val:ds_send_data.getColumn(0,"prcpno")}
- ,{col:"prcpdd", val:ds_send_data.getColumn(0,"prcpdd")}
- ,{col:"srchrsrvdt", val:""}
- ,{col:"execprcpuniqno", val:ds_send_data.getColumn(0,"execprcpuniqno")}
- ,{col:"cmtflag", val:""}
- ,{col:"memorgstddprcpdd", val:""}
- ]);
-
-
- //환자Comment 환자정보 조회
- var oParam = {};
- oParam.id = "TRAEA01114";
- oParam.service = "examcureacptexecapp.PatRem";
- oParam.method = "reqGetFuncPatRemList";
- oParam.inds = "reqparam=ds_send_tmp";
- oParam.outds = "ds_patrem_rem=grdAeahMemoList ds_patrem_examcureexecdiaglist=examcureexecdiaglist ds_patrem_selectpat=sltpatinfolist ds_patrem_isolinfo=patisolinfolist ds_patrem_prcpdeliveinfo=prcpdeliveinfolist ds_patrem_rsrvpossexcuroomlist=rsrvpossexcuroomlist";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01114";
- tranf_submit(oParam);
-
- grp_body.cpt_isolinfo.text = "";
- if (!utlf_isNull(ds_patrem_isolinfo.getColumn(0,"isoldispcd"))) {
- grp_body.cpt_isolinfo.text = "확인";
- }
-
- //진료예약 탑모스트
- if(grp_body.group5.chk_rsrvyn.value == "Y" ) {
- dsf_createDsRow("ds_send_popdata",
- [{col:"orddd", val:ds_send_data.getColumn(0,"rsrvdate")}
- ,{col:"orddeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"orddrid", val:ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"orddrid")}
- ]);
- var objArg = new Object();
- objArg.arg_ds_hidden_popdata = ds_send_popdata;
-
- frmf_open("SPAEA01103","SPAEA01103", objArg, "Y", "", 1000, 0, "", "", "", "", "", "M");
-
- }
-
- }
- function grp_body_grd_calendar_onselectchanged(obj:Grid, e:GridSelectEventInfo)
- {
- ds_hidden_grdcellcolor.setColumn(0,"calrow",grp_body.grd_calendar.currentrow);
- ds_hidden_grdcellcolor.setColumn(0,"calcol",grp_body.grd_calendar.currentcol);
-
- }
- function grp_body_grd_rsrvposstm_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- obj.updateToDataset(); //변경된 사항을 바로 적용받도록함. 2018.01.24 kya
- //setPopupMenu("grd_rsrvposstm", false, "/root/hidden/popupmenu/menu1/item", "name", "func");
- if(e.row > -1){
- grdf_setSelectedCell(obj, e); // 선택된 행 확실히 선택해줌
- PopupMenu01.trackPopup(e.screenX,e.screenY);
- }
-
- return true;
- }
- function grp_body_grd_rsrvposstm_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
-
- if( grp_body.group2.switch1.tabindex == 0 ) {
- grdgubn ="grd_ordlist1"; // 전체처방
-
- }
-
- if ( grp_body.group2.switch1.tabindex == 1 ) {
-
- grdgubn ="grd_ordlist4";
- }
- if ( grp_body.group2.switch1.tabindex == 2 ) {
- grdgubn ="grd_ordlist6"; // 미예약
- }
- if( grp_body.group2.switch1.tabindex != 0 && grp_body.group2.switch1.tabindex != 1 && grp_body.group2.switch1.tabindex != 2 ) {
-
- grdgubn ="grd_ordlist3"; // 대상자조회
- }
-
-
- setRsrvdate(grdgubn,"grd");
-
- grp_body.cmb_hour.value = "--";
- grp_body.cmb_min.value ="--";
-
-
-
- }
- function grp_body_btn_rsrv_onclick(obj:Button, e:ClickEventInfo)
- {
- var ds_ordlist;
-
- if ( grp_body.group2.switch1.tabindex == 0 ) { //전체처방
- ds_ordlist = ds_grd_ordlist1;
- }
- if ( grp_body.group2.switch1.tabindex == 1 ) {//검사완료
- ds_ordlist = ds_grd_ordlist4;
- }
- if ( grp_body.group2.switch1.tabindex == 2 ) {//미예약
- ds_ordlist = ds_grd_ordlist6;
- }
- if ( grp_body.group2.switch1.tabindex != 0 && grp_body.group2.switch1.tabindex != 1 && grp_body.group2.switch1.tabindex != 2) {//대상자조회
- ds_ordlist = ds_grd_ordlist3;
- }
- // var nodeList = instance1.selectNodes("/root/main/"+ordlist+"/mainordlist[check='true' ]");
- // var rCSV = getNodeListCSV(nodeList);
-
- //처방내역 선택 체크
- if (ds_ordlist.getCaseCount("check=='1'") == 0 ) {
-
- sysf_messageBox("처방내역을 ","C002");
- return "0";
- }
-
- //2012.08.08 by kya 예약스케줄이 없을 경우, 에러 발생시킴
- if (ds_grd_rsrvposstm.rowcount == 0) {
- sysf_messageBox("예약 스케줄을 작성 후, 예약 ","C002");
- return;
- }
-
- if ( grp_body.group2.switch1.tabindex == 0 ) {
- for(var i=0 ; i < ds_grd_ordlist1.rowcount ; i++) {
- if( ds_grd_ordlist1.getColumn(i,"check") == "1") {
- if(ds_grd_ordlist1.getColumn(i,"execprcpstatcd") > "230" ){
- sysf_messageBox("실시된 처방이","E005");
- return;
- }
- if(utlf_isNull(ds_grd_ordlist1.getColumn(i,"srchrsrvdt")))
- {
- ds_grd_ordlist1.setColumn(i,"srchrsrvdt","");
- }
-
- }
-
- }
- }
- if ( grp_body.group2.switch1.tabindex == 1 ) {
- for(var i=0 ; i < ds_grd_ordlist4.rowcount ; i++) {
- if( ds_grd_ordlist4.getColumn(i,"check") == "1") {
- if(ds_grd_ordlist4.getColumn(i,"execprcpstatcd") > "230" ){
- sysf_messageBox("실시된 처방이","E005");
- return;
- }
-
- }
-
- }
- }
- if ( grp_body.group2.switch1.tabindex == 2 ) {
- for(var i=0 ; i < ds_grd_ordlist6.rowcount ; i++) {
- if( ds_grd_ordlist6.getColumn(i,"check") == "1") {
- if(ds_grd_ordlist6.getColumn(i,"execprcpstatcd") > "230" ){
- sysf_messageBox("실시된 처방이","E005");
- return;
- }
-
- }
-
- }
- }
- if ( grp_body.group2.switch1.tabindex != 0 && grp_body.group2.switch1.tabindex != 1 && grp_body.group2.switch1.tabindex != 2) {
- //else {
- for(var i=0 ; i < ds_grd_ordlist3.rowcount ; i++) {
- if( ds_grd_ordlist3.getColumn(i,"check") == "1") {
- if(ds_grd_ordlist3.getColumn(i,"execprcpstatcd") > "230" ){
- sysf_messageBox("실시된 처방이","E005");
- return;
- }
-
- }
-
- }
- }
-
-
- //예약시간 설정 체크
- if(grp_body.cmb_hour.value == "--" || grp_body.cmb_min.value == "--" ) { //예약시간 설정 안했을 경우
- // var nodeList = instance1.selectNodes("/root/main/"+ordlist+"/mainordlist[check='true' and srchrsrvdt = '']");
- // var rCSV = getNodeListCSV(nodeList);
- var tmpcnt = ds_ordlist.getCaseCount("check=='1' && srchrsrvdt == ''");
- if ( tmpcnt > 0 ) {
- sysf_messageBox("예약시간을 ","C002");
- return "0";
- }
- }else if (grp_body.cmb_hour.value != "--" && grp_body.cmb_min.value != "--"){ //콤보박스로 예약시간 설정한 경우
-
- var ev = new ClickEventInfo;
- frmf_inputEnterKey("grp_body.btn_rsrvtmins", "onclick", ev );
- }
- //2013.01.29 by kya 예약증출력기능 추가
- if(grp_body.group5.chk_rsrvprint.value == "Y") {
- //예약증출력 세팅
- if ( grp_body.group2.switch1.tabindex == 0 ) {
- var srchrsrvdt = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"srchrsrvdt");
- var pid = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"pid");
- var hngnm = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"hngnm");
- var year = srchrsrvdt.substr(0,4);
- var month = srchrsrvdt.substr(4,2);
- var day = srchrsrvdt.substr(6,2);
- var week = srchrsrvdt.substr(0,8).toDate().getDayOfWeek("K");
- var hh = srchrsrvdt.substr(8,2);
- var mm = srchrsrvdt.substr(10,2);
-
- // 예약증 출력 추가
- var age = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"age");
- var sex = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"sna").substr(0, 1);
- var orddeptcd = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"orddepthngnm");
- var orddrid = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"orddrnm");
-
- //예약증출력
- ds_send_data.setColumn(0,"prntcalcscorcd", ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"calcscorcd"));
- ds_send_data.setColumn(0,"prntsuppdeptcd", ds_send_globalinstance.getColumn(0,"dutplcecd"));
-
- }
- if ( grp_body.group2.switch1.tabindex == 1 ) {
-
- var srchrsrvdt = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"srchrsrvdt");
- var pid = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"pid");
- var hngnm = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"hngnm");
- var year = srchrsrvdt.substr(0,4);
- var month = srchrsrvdt.substr(4,2);
- var day = srchrsrvdt.substr(6,2);
- var week = srchrsrvdt.substr(0,8).toDate().getDayOfWeek("K");
- var hh = srchrsrvdt.substr(8,2);
- var mm = srchrsrvdt.substr(10,2);
-
- // 예약증 출력 추가
- var age = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"age");
- var sex = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"sna").substr(0, 1);
- var orddeptcd = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"orddepthngnm");
- var orddrid = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"orddrnm");
-
- //예약증출력
- ds_send_data.setColumn(0,"prntcalcscorcd", ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"calcscorcd"));
- ds_send_data.setColumn(0,"prntsuppdeptcd",ds_send_globalinstance.getColumn(0,"dutplcecd"));
- }
- if ( grp_body.group2.switch1.tabindex == 2 ) {
-
- var srchrsrvdt = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"srchrsrvdt");
- var pid = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"pid");
- var hngnm = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"hngnm");
- var year = srchrsrvdt.substr(0,4);
- var month = srchrsrvdt.substr(4,2);
- var day = srchrsrvdt.substr(6,2);
- var week = srchrsrvdt.substr(0,8).toDate().getDayOfWeek("K");
- var hh = srchrsrvdt.substr(8,2);
- var mm = srchrsrvdt.substr(10,2);
-
- // 예약증 출력 추가
- var age = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"age");
- var sex = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"sna").substr(0, 1);
- var orddeptcd = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"orddepthngnm");
- var orddrid = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"orddrnm");
-
- //예약증출력
- ds_send_data.setColumn(0,"prntcalcscorcd", ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"calcscorcd"));
- ds_send_data.setColumn(0,"prntsuppdeptcd", ds_send_globalinstance.getColumn(0,"dutplcecd"));
- }
- if ( grp_body.group2.switch1.tabindex != 0 && grp_body.group2.switch1.tabindex != 1 && grp_body.group2.switch1.tabindex != 2) {
-
- var srchrsrvdt = ds_grd_ordlist3.getColumn(ds_grd_ordlist3.rowposition,"srchrsrvdt");
- var pid = ds_grd_ordlist3.getColumn(ds_grd_ordlist3.rowposition,"pid");
- var hngnm = ds_grd_ordlist3.getColumn(ds_grd_ordlist3.rowposition,"hngnm");
- var year = srchrsrvdt.substr(0,4);
- var month = srchrsrvdt.substr(4,2);
- var day = srchrsrvdt.substr(6,2);
- var week = srchrsrvdt.substr(0,8).toDate().getDayOfWeek("K");
- var hh = srchrsrvdt.substr(8,2);
- var mm = srchrsrvdt.substr(10,2);
-
- // 예약증 출력 추가
- var age = ds_grd_ordlist3.getColumn(ds_grd_ordlist3.rowposition,"age");
- var sex = ds_grd_ordlist3.getColumn(ds_grd_ordlist3.rowposition,"sna").substr(0, 1);
- var orddeptcd = ds_grd_ordlist3.getColumn(ds_grd_ordlist3.rowposition,"orddepthngnm");
- var orddrid = ds_grd_ordlist3.getColumn(ds_grd_ordlist3.rowposition,"orddrnm");
-
- //예약증출력
- ds_send_data.setColumn(0,"prntcalcscorcd", ds_grd_ordlist3.getColumn(ds_grd_ordlist3.rowposition,"calcscorcd"));
- ds_send_data.setColumn(0,"prntsuppdeptcd", ds_send_globalinstance.getColumn(0,"dutplcecd"));
- }
- }
-
- //예약하기
- exeRsrvTransaction("rsrv",ds_ordlist);
-
- //2013.01.29 by kya 예약증출력
- if(grp_body.group5.chk_rsrvprint.value == "Y") {
-
- dsf_copyDs(ds_temp_send,ds_send_data);
- ds_temp_send.updateColID("prntcalcscorcd","excucd");
- ds_temp_send.updateColID("prntsuppdeptcd","suppdeptcd");
-
-
- var oParam = {};
- oParam.id = "TRAEA01126";
- oParam.service = "examcurebaseapp.ExmpTmpl";
- oParam.method = "reaGetRsrvTmplList";
- oParam.inds = "req=ds_temp_send";
- oParam.outds = "ds_tmplinfo=tmplinfo";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01126";
- tranf_submit(oParam);
- var tmpldata = ds_tmplinfo.getColumn(0,"tmpldata");
- if(!utlf_isNull(tmpldata)) {
- //1. 예약예문내용을 뷰어로 보여주기
- grp_body.rtfviewer.TextRtf = tmpldata;
-
- //2. 바꾸기
- grp_body.rtfviewer.ReplaceRtfCode("pid",pid); //등록번호
- grp_body.rtfviewer.ReplaceRtfCode("patnm",hngnm); //성명
- grp_body.rtfviewer.ReplaceRtfCode("year",year); //년
- grp_body.rtfviewer.ReplaceRtfCode("month",month); //월
- grp_body.rtfviewer.ReplaceRtfCode("day",day); //일
- grp_body.rtfviewer.ReplaceRtfCode("week",week); //요일
- grp_body.rtfviewer.ReplaceRtfCode("hh",hh); //시
- grp_body.rtfviewer.ReplaceRtfCode("mm",mm); //분
-
- // 예약증 출력 추가
- grp_body.rtfviewer.ReplaceRtfCode("age",age); //나이
- grp_body.rtfviewer.ReplaceRtfCode("sex",sex); //성별
- grp_body.rtfviewer.ReplaceRtfCode("orddeptcd",orddeptcd); //진료과명
- grp_body.rtfviewer.ReplaceRtfCode("orddrid",orddrid); //진료의명
-
- //3. 현재내용을 파일에 저장
- grp_body.rtfviewer.SaveRtfFile();
-
- //4. 출력
- grp_body.rtfviewer.Print();
- //5. 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- fInitialize();
- }
- else {
- sysf_messageBox("등록된 예약예문이 ", "I004");
- // return "0";
- }
- }
- initCalendar();
- setCurrentDate();
-
- getRsrvPossTm(grp_body.grd_calendar);
-
- //grdf_initGridStyle(grp_body.group5.grd_rsrvlist);
-
-
-
- if(tabgubn == "M") {
- ds_send_data.setColumn(0,"srchpid","");
- acptlistflag = "M";
- fGetExamCureAcptList(); // 전체처방
- }
- if(tabgubn == "R") {
- ds_send_data.setColumn(0,"srchpid","");
- acptlistflag = "R";
- fGetExamCureAcptList(); // 미예약
- }
- if(tabgubn == "T") {
- ds_send_data.setColumn(0,"srchpid","");
- acptlistflag = "T";
- fGetExamCureAcptList(); // 검사완료
- }
- if(tabgubn == "L") {
- acptlistflag = "L";
- fGetExamCureAcptList(); // 이력
- }
- if(tabgubn == "D") {
-
- var curDate = utlf_getCurrentDate().substr(0,8);
- dsf_createDsRow("ds_send_tmp",
- [{col:"acptlistflag", val:"R"}
- ,{col:"basesuppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"initexcuroom", val:ds_send_data.getColumn(0,"selectexcuroom")}
- ,{col:"prcpexecdeptcd", val:ds_send_data.getColumn(0,"prcpexecdeptcd")}
- ,{col:"srchdate1", val:curDate}
- ,{col:"srchdate2", val:curDate}
- ,{col:"srchpid", val:""}
- ,{col:"excuroomflag", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"term", val:ds_send_data.getColumn(0,"term")}
- ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"prcpgenrflag")}
- ,{col:"sgubn", val:ds_send_data.getColumn(0,"sgubn")}
- ,{col:"largeclass", val:ds_send_data.getColumn(0,"largeclass")}
- ]);
-
- var oParam = {};
- oParam.id = "TRAEA01122";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_temp";
- oParam.outds = "ds_grd_ordlist1=examcureexecprcplist";
- oParam.async = false;
- // oParam.callback = "cf_TRAEA01122";
- tranf_submit(oParam);
- }
- }
- function grp_body_group2_btn_execcncl_onclick(obj:Button, e:ClickEventInfo)
- {
-
- var loop;
- var check;
- var execprcpstatcd;
- var loopcnt="";
- var execncl="";
- var ds_grid = "";
- var grd;
- var execdd="";
- if ( grp_body.group2.switch1.tabindex == 0 ) {
- ds_grid = ds_grd_ordlist1;
- grd = ds_grd_ordlist1.rowcount;
-
- for(var i=0 ; i < ds_grd_ordlist1.rowcount ; i++) {
- if( ds_grd_ordlist1.getColumn(i,"check") == "1") {
- if(ds_grd_ordlist1.getColumn(i,"execprcpstatcd") > "610" ){
- sysf_messageBox("예비결과/최종결과 상태가","E005");
- return;
- }
- }
- }
- }
- if ( grp_body.group2.switch1.tabindex == 1 ) {
- ds_grid = ds_grd_ordlist4;
- grd = ds_grd_ordlist4.rowcount;
-
- for(var i=0 ; i < ds_grd_ordlist4.rowcount ; i++) {
- if( ds_grd_ordlist4.getColumn(i,"check") == "1") {
- if(ds_grd_ordlist4.getColumn(i,"execprcpstatcd") > "610" ){
- sysf_messageBox("예비결과/최종결과 상태가","E005");
- return;
- }
- }
- }
- }
- if ( grp_body.group2.switch1.tabindex == 2 ) {
- ds_grid = ds_grd_ordlist6;
- grd = ds_grd_ordlist6.rowcount;
-
- for(var i=0 ; i < ds_grd_ordlist6.rowcount ; i++) {
- if( ds_grd_ordlist6.getColumn(i,"check") == "1") {
- if(ds_grd_ordlist6.getColumn(i,"execprcpstatcd") > "610" ){
- sysf_messageBox("예비결과/최종결과 상태가","E005");
- return;
- }
- }
- }
- }
- if ( grp_body.group2.switch1.tabindex != 0 && grp_body.group2.switch1.tabindex != 1 && grp_body.group2.switch1.tabindex != 2) {
- ds_grid = ds_grd_ordlist1;
- grd = ds_grd_ordlist1.rowcount;
-
- for(var i=0 ; i < ds_grd_ordlist1.rowcount ; i++) {
- if( ds_grd_ordlist1.getColumn(i,"check") == "1") {
- if(ds_grd_ordlist1.getColumn(i,"execprcpstatcd") > "610" ){
- sysf_messageBox("예비결과/최종결과 상태가","E005");
- return;
- }
- }
- }
- }
-
-
- for( var i = 0 ; i < grd ; i++ ) {
- check = ds_grid.getColumn(i,"check");
- if ( check == "1" ) {
- loopcnt++;
- if( ds_grid.getColumn(i,"execdd") == utlf_getCurrentDate() )
- {
- execdd++;
- }
-
- }
- }
-
- if ( loopcnt == 0 ) {
- sysf_messageBox("처방이 선택되지 ", "E007");
- return 0;
- }else {
- var grid = "";
-
- if(tabgubn == "M")
- grid = "ds_grd_ordlist1";
- if(tabgubn == "T")
- grid = "ds_grd_ordlist4";
- if(tabgubn == "R")
- grid = "ds_grd_ordlist6";
- if(tabgubn == "L")
- grid = "ds_grd_ordlist1";
-
-
- ExeCncl(grid);
-
-
- if(tabgubn == "M") {
- ds_send_data.setColumn(0,"srchpid","");
- acptlistflag = "M";
- fGetExamCureAcptList(); // 전체처방
- }
- if(tabgubn == "R") {
- ds_send_data.setColumn(0,"srchpid","");
- acptlistflag = "R";
- fGetExamCureAcptList(); // 미예약
- }
- if(tabgubn == "T") {
- ds_send_data.setColumn(0,"srchpid","");
- acptlistflag = "T";
- fGetExamCureAcptList(); // 검사완료
- }
- if(tabgubn == "L") {
- acptlistflag = "L";
- fGetExamCureAcptList(); // 이력
- }
-
- initCalendar();
- getRsrvPossTm(grp_body.grd_calendar);
- setCurrentDate();
- ds_send_data.setColumn(0,"rsrvdd", utlf_getCurrentDate() );
- //grdf_initGridStyle(grp_body.group5.grd_rsrvlist);
-
-
- //data 클리어
- dataClear();
-
- }
- }
- function grp_body_group2_switch1_case1_grd_ordlist1_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- // if(e.row < 0 || e.col < 0) return;
- //
- // obj.setFocus();
- //
- // grdf_setSelectedCell(obj, e);
- //
- //
- // PopupMenu00.trackPopup(e.screenX,e.screenY);
-
- }
- function grp_body_group2_switch1_case1_grd_ordlist1_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- //20200218 수정
- //if(e.col == obj.getBindCellIndex("body","specdrid") || e.col == obj.getBindCellIndex("body","excuroomcd")) return;
- if(e.row > -1 && (e.col == obj.getBindCellIndex("body","execrid1") || e.col == obj.getBindCellIndex("body","specdrid")
- || e.col == obj.getBindCellIndex("body","excuroomcd") || e.col == obj.getBindCellIndex("body","insukind")
- || e.col == obj.getBindCellIndex("body","selectdrid") )) return;
-
- //상단정보 초기화
- appf_delPatientInfos();
-
- ds_grd_ordlist1.rowposition = e.row;
- for ( var i = 0; i < ds_grd_ordlist1.rowcount; i++) {
- ds_grd_ordlist1.setColumn(i,"check", "0");
- }
-
- ds_grd_ordlist1.selectRow(e.row,true);
- grd_ordlist1_selectedRows = grdf_getSelectedRows(grp_body.group2.switch1.case1.grd_ordlist1);
- for ( var i =0 ; i< grd_ordlist1_selectedRows.length;i++){
- ds_grd_ordlist1.setColumn(grd_ordlist1_selectedRows[i],"check", "1");
- }
-
- //20130925 초음파급비변경에 따른 안내메시지
- // 2013.10.01일자 적용. 중증,희귀난치성환자 + 초음파 검사
-
-
- if(grd_ordlist1_selectedRows.length == 1 ){
-
-
- //다른 검사실 선택시 달력조회
- if( ds_send_data.getColumn(0,"excuroomcd") != ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"excuroomcd") ) {
- ds_send_data.setColumn(0,"excuroomcd",ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"excuroomcd"));
- initCalendar();
- getRsrvPossTm(grp_body.grd_calendar);
- setCurrentDate();
- }
-
- //grdf_initGridStyle(grp_body.group5.grd_rsrvlist);
-
-
- //예약가능검사실 콤보박스 세팅
- var rsrvpossroomcd = ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"rsrvexcuroomposscd");
-
- //20140731 선택진료비 제도변경에 대한 알림메시지
- //start
- var pid = ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"pid");
- var prcpdd = ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"prcpdd");
- var execprcpuniqno = ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"execprcpuniqno");
-
- var execprcpstatcd = ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"execprcpstatcd");
- if ( execprcpstatcd < "610" ) { //실시 미만
- getPrcpRcptCheck("AST", pid, "","", prcpdd, execprcpuniqno );
- }
- //end
-
- //검사코멘트
- var selectedRows = grdf_getSelectedRows(grp_body.group2.switch1.case1.grd_ordlist1);
-
-
- //환자Comment 조회
-
- ds_send_data.setColumn(0,"srchpid",ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"pid"));
- ds_send_data.setColumn(0,"orddd", ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"orddd"));
- ds_send_data.setColumn(0,"cretno", ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"cretno"));
- ds_send_data.setColumn(0,"genrflag", ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"prcpgenrflag"));
- ds_send_data.setColumn(0,"prcpcd", ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"calcscorcd"));
- ds_send_data.setColumn(0,"prcpno", ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"prcpno"));
- ds_send_data.setColumn(0,"prcpdd", ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"prcpdd"));
- ds_send_data.setColumn(0,"execprcpuniqno",ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"execprcpuniqno"));
- ds_send_data.setColumn(0,"srchrsrvdt", ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"srchrsrvdt"));
-
- //20180813 처방상태 추가
- ds_send_data.setColumn(0,"execprcpstatcd", ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"execprcpstatcd"));
- //환자Comment 환자정보 조회
- dsf_createDsRow("ds_send_tmp",
- [{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"ecgflag", val:ds_send_data.getColumn(0,"ecgflag")}
- ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
- ,{col:"memorgstdd", val:ds_send_data.getColumn(0,"rsrvdd")}
- ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
- ,{col:"orddd", val:ds_send_data.getColumn(0,"orddd")}
- ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"genrflag")}
- ,{col:"prcpcd", val:ds_send_data.getColumn(0,"prcpcd")}
- ,{col:"rsrvposs", val:ds_send_data.getColumn(0,"rsrvposs")}
- ,{col:"prcpno", val:ds_send_data.getColumn(0,"prcpno")}
- ,{col:"prcpdd", val:ds_send_data.getColumn(0,"prcpdd")}
- ,{col:"srchrsrvdt", val:ds_send_data.getColumn(0,"centyn")}
- ,{col:"execprcpuniqno", val:ds_send_data.getColumn(0,"execprcpuniqno")}
- ,{col:"cmtflag", val:""}
- ,{col:"memorgstddprcpdd", val:""}
- ]);
-
-
- //환자Comment 환자정보 조회
- var oParam = {};
- oParam.id = "TRAEA01114";
- oParam.service = "examcureacptexecapp.PatRem";
- oParam.method = "reqGetFuncPatRemList";
- oParam.inds = "reqparam=ds_send_tmp";
- oParam.outds = "ds_patrem_rem=grdAeahMemoList ds_patrem_examcureexecdiaglist=examcureexecdiaglist ds_patrem_selectpat=sltpatinfolist ds_patrem_isolinfo=patisolinfolist ds_patrem_prcpdeliveinfo=prcpdeliveinfolist ds_patrem_rsrvpossexcuroomlist=rsrvpossexcuroomlist";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01114";
- tranf_submit(oParam);
-
- grp_body.cpt_isolinfo.text = "";
- if (!utlf_isNull(ds_patrem_isolinfo.getColumn(0,"isoldispcd"))) {
- grp_body.cpt_isolinfo.text = "확인";
- }
-
- //상단정보가져오기 2012.06.22 by kya
- fTopInfo();
- //치료부위, 위치 조회 20130812 kya
- var i = ds_grd_ordlist1.rowposition;
- var prcpdirecnm = ds_grd_ordlist1.getColumn(i,"rehbprcpcurepartnm") + "/" + ds_grd_ordlist1.getColumn(i,"prcpdirecnm")
- var prcpdelivefact = ds_patrem_prcpdeliveinfo.getColumn(0,"prcpdelivefact");
-
- ds_patrem_prcpdeliveinfo.setColumn(0,"prcpdelivefact" ,prcpdelivefact + " [ " + prcpdirecnm + " ] ");
-
-
- sysf_setGlobalVariable("gv_pid", ds_send_data.getColumn(0,"srchpid"), "A"); //등록번호 넘기기
- grp_body.cmb_rsrvexcuroomcd.index = 0;
-
- }else {
- //상단정보 초기화
- appf_delPatientInfos();
- }
- }
- function grp_body_group2_switch1_case3_grd_ordlist3_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row < 0 || e.col < 0) return;
-
- obj.setFocus();
- grdf_setSelectedCell(obj, e);
-
-
- PopupMenu00.trackPopup(e.screenX,e.screenY);
-
- return true;
- }
- function grp_body_group2_switch1_case3_grd_ordlist3_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
-
- //상단정보 초기화
- appf_delPatientInfos();
-
-
- for ( var i = 0; i < ds_grd_ordlist3.rowcount; i++) {
- ds_grd_ordlist3.setColumn(i,"check", "0");
- }
- var selectedRows = grdf_getSelectedRows(grp_body.group2.switch1.case3.grd_ordlist3);
-
- for ( var i =0 ; i< selectedRows.length;i++){
- ds_grd_ordlist3.setColumn(selectedRows[i],"check", "1");
- }
-
- if(selectedRows.length == 1 ){
- //다른 검사실 선택시 달력조회
- if( ds_send_data.getColumn(0,"excuroomcd") != ds_grd_ordlist3.getColumn(selectedRows[0],"excuroomcd") ) {
- ds_send_data.setColumn(0,"excuroomcd",ds_grd_ordlist3.getColumn(selectedRows[0],"excuroomcd"));
- initCalendar();
- getRsrvPossTm(grp_body.grd_calendar);
- setCurrentDate();
- }
-
- //grdf_initGridStyle(grp_body.group5.grd_rsrvlist);
-
- //20140731 선택진료비 제도변경에 대한 알림메시지
- //start
- var pid = ds_grd_ordlist3.getColumn(selectedRows[0],"pid");
- var prcpdd = ds_grd_ordlist3.getColumn(selectedRows[0],"prcpdd");
- var execprcpuniqno = ds_grd_ordlist3.getColumn(selectedRows[0],"execprcpuniqno");
-
- var execprcpstatcd = ds_grd_ordlist3.getColumn(selectedRows[0],"execprcpstatcd");
- if ( execprcpstatcd < "610" ) { //실시 미만
- getPrcpRcptCheck("AST", pid, "","", prcpdd, execprcpuniqno );
- }
- //end
-
- //처방Comment
- //검사코멘트
-
- //환자Comment 조회
-
- ds_send_data.setColumn(0,"srchpid",ds_grd_ordlist3.getColumn(selectedRows[0],"pid"));
- ds_send_data.setColumn(0,"orddd", ds_grd_ordlist3.getColumn(selectedRows[0],"orddd"));
- ds_send_data.setColumn(0,"cretno", ds_grd_ordlist3.getColumn(selectedRows[0],"cretno"));
- ds_send_data.setColumn(0,"genrflag", ds_grd_ordlist3.getColumn(selectedRows[0],"prcpgenrflag"));
- ds_send_data.setColumn(0,"prcpno", ds_grd_ordlist3.getColumn(selectedRows[0],"prcpno"));
- ds_send_data.setColumn(0,"prcpdd", ds_grd_ordlist3.getColumn(selectedRows[0],"prcpdd"));
- ds_send_data.setColumn(0,"execprcpuniqno", ds_grd_ordlist3.getColumn(selectedRows[0],"execprcpuniqno"));
- ds_send_data.setColumn(0,"srchrsrvdt", ds_grd_ordlist3.getColumn(selectedRows[0],"srchrsrvdt"));
-
- //20180813 처방상태 추가
- ds_send_data.setColumn(0,"execprcpstatcd", ds_grd_ordlist3.getColumn(selectedRows[0],"execprcpstatcd"));
- //2009-07-13 환자Comment - 처방일자별 환자 Comment 관리 요청 - 기능검사 ITC 임성재 샘 요청(요청번호:2041)
- if (prcpddyn == "Y" ) {
- ds_send_data.setColumn(0,"memorgstddprcpdd", ds_grd_ordlist3.getColumn(selectedRows[0],"prcpdd"));
- }
-
- //환자Comment 환자정보 조회
- dsf_createDsRow("ds_send_tmp",
- [{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"ecgflag", val:ds_send_data.getColumn(0,"ecgflag")}
- ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
- ,{col:"memorgstdd", val:ds_send_data.getColumn(0,"rsrvdd")}
- ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
- ,{col:"orddd", val:ds_send_data.getColumn(0,"orddd")}
- ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"genrflag")}
- ,{col:"prcpcd", val:ds_send_data.getColumn(0,"prcpcd")}
- ,{col:"rsrvposs", val:ds_send_data.getColumn(0,"rsrvposs")}
- ,{col:"prcpno", val:ds_send_data.getColumn(0,"prcpno")}
- ,{col:"prcpdd", val:ds_send_data.getColumn(0,"prcpdd")}
- ,{col:"srchrsrvdt", val:ds_send_data.getColumn(0,"centyn")}
- ,{col:"execprcpuniqno", val:ds_send_data.getColumn(0,"execprcpuniqno")}
- ,{col:"cmtflag", val:""}
- ,{col:"memorgstddprcpdd", val:""}
- ]);
-
-
- //환자Comment 환자정보 조회
- var oParam = {};
- oParam.id = "TRAEA01114";
- oParam.service = "examcureacptexecapp.PatRem";
- oParam.method = "reqGetFuncPatRemList";
- oParam.inds = "reqparam=ds_send_tmp";
- oParam.outds = "ds_patrem_rem=grdAeahMemoList ds_patrem_examcureexecdiaglist=examcureexecdiaglist ds_patrem_selectpat=sltpatinfolist ds_patrem_isolinfo=patisolinfolist ds_patrem_prcpdeliveinfo=prcpdeliveinfolist ds_patrem_rsrvpossexcuroomlist=rsrvpossexcuroomlist";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01114";
- tranf_submit(oParam);
-
- grp_body.cpt_isolinfo.text = "";
- if (!utlf_isNull(ds_patrem_isolinfo.getColumn(0,"isoldispcd"))) {
- grp_body.cpt_isolinfo.text = "확인";
- }
-
- //2012.06.22 상단정보올리기 by kya
- fTopInfo();
-
- sysf_setGlobalVariable("gv_pid", ds_send_data.getColumn(0,"srchpid"), "A"); //등록번호 넘기기
-
-
-
-
- }
-
- }
- function grp_body_group2_switch1_case4_grd_ordlist4_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
-
- obj.updateToDataset(); //변경된 사항을 바로 적용받도록함. 2018.01.24 kya
-
- if(e.row < 0 || e.col < 0) return;
- obj.setFocus();
- grdf_setSelectedCell(obj, e);
-
- this.PopupMenu03.trackPopup(e.screenX,e.screenY);
-
- return true;
-
- }
- function grp_body_group2_switch1_case4_grd_ordlist4_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- if(e.col == obj.getBindCellIndex("body","specdrid") || e.col == obj.getBindCellIndex("body","excuroomcd")) return;
- //상단정보 초기화
- appf_delPatientInfos();
-
- ds_grd_ordlist4.rowposition = e.row;
-
- for ( var i = 0; i < ds_grd_ordlist4.rowcount; i++) {
- ds_grd_ordlist4.setColumn(i, "check", "0");
- }
-
- var selectedRows = grdf_getSelectedRows(grp_body.group2.switch1.case4.grd_ordlist4);
-
- for ( var i =0 ; i< selectedRows.length;i++){
- ds_grd_ordlist4.setColumn(selectedRows[i],"check", "1");
- }
-
- if(selectedRows.length == 1 ){
- //다른 검사실 선택시 달력조회
- if( ds_send_data.getColumn(0,"excuroomcd") != ds_grd_ordlist4.getColumn(selectedRows[0],"excuroomcd") ) {
- ds_send_data.setColumn(0,"excuroomcd",ds_grd_ordlist4.getColumn(selectedRows[0],"excuroomcd"));
- initCalendar();
- getRsrvPossTm(grp_body.grd_calendar);
- setCurrentDate();
-
- //grdf_initGridStyle(grp_body.group5.grd_rsrvlist);
-
- }
-
- //20140731 선택진료비 제도변경에 대한 알림메시지
- //start
- var pid = ds_grd_ordlist4.getColumn(selectedRows[0],"pid");
- var prcpdd = ds_grd_ordlist4.getColumn(selectedRows[0],"prcpdd");
- var execprcpuniqno = ds_grd_ordlist4.getColumn(selectedRows[0],"execprcpuniqno");
- var execprcpstatcd = ds_grd_ordlist4.getColumn(selectedRows[0],"execprcpstatcd");
- if ( execprcpstatcd < "610" ) { //실시 미만
- getPrcpRcptCheck("AST", pid, "","", prcpdd, execprcpuniqno );
- }
- //end
-
- //처방Comment
- //model.setValue("/root/hidden/comment1/prcpdelivefact", model.getValue("/root/main/ordlist4/mainordlist["+grd_ordlist4.selectedRow(grd_ordlist4.selectedRows-1)+"]/prcpdelivefact"));
- //검사코멘트
-
- //환자Comment 조회
-
- ds_send_data.setColumn(0,"srchpid",ds_grd_ordlist4.getColumn(selectedRows[0],"pid"));
- ds_send_data.setColumn(0,"orddd", ds_grd_ordlist4.getColumn(selectedRows[0],"orddd"));
- ds_send_data.setColumn(0,"genrflag", ds_grd_ordlist4.getColumn(selectedRows[0],"prcpgenrflag"));
- ds_send_data.setColumn(0,"prcpno", ds_grd_ordlist4.getColumn(selectedRows[0],"prcpno"));
- ds_send_data.setColumn(0,"prcpdd", ds_grd_ordlist4.getColumn(selectedRows[0],"prcpdd"));
- ds_send_data.setColumn(0,"execprcpuniqno", ds_grd_ordlist4.getColumn(selectedRows[0],"execprcpuniqno"));
- ds_send_data.setColumn(0,"srchrsrvdt", ds_grd_ordlist4.getColumn(selectedRows[0],"srchrsrvdt"));
- //20180813 처방상태 추가
- ds_send_data.setColumn(0,"execprcpstatcd", ds_grd_ordlist4.getColumn(selectedRows[0],"execprcpstatcd"));
- //2009-07-13 환자Comment - 처방일자별 환자 Comment 관리 요청 - 기능검사 ITC 임성재 샘 요청(요청번호:2041)
- if (prcpddyn == "Y" ) {
- ds_send_data.setColumn(0,"memorgstddprcpdd", ds_grd_ordlist4.getColumn(selectedRows[0],"prcpdd"));
- }
-
- //환자Comment 환자정보 조회
- dsf_createDsRow("ds_send_tmp",
- [{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"ecgflag", val:ds_send_data.getColumn(0,"ecgflag")}
- ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
- ,{col:"memorgstdd", val:ds_send_data.getColumn(0,"rsrvdd")}
- ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
- ,{col:"orddd", val:ds_send_data.getColumn(0,"orddd")}
- ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"genrflag")}
- ,{col:"prcpcd", val:ds_send_data.getColumn(0,"prcpcd")}
- ,{col:"rsrvposs", val:ds_send_data.getColumn(0,"rsrvposs")}
- ,{col:"prcpno", val:ds_send_data.getColumn(0,"prcpno")}
- ,{col:"prcpdd", val:ds_send_data.getColumn(0,"prcpdd")}
- ,{col:"srchrsrvdt", val:ds_send_data.getColumn(0,"centyn")}
- ,{col:"execprcpuniqno", val:ds_send_data.getColumn(0,"execprcpuniqno")}
- ,{col:"cmtflag", val:""}
- ,{col:"memorgstddprcpdd", val:""}
- ]);
-
-
- //환자Comment 환자정보 조회
- var oParam = {};
- oParam.id = "TRAEA01114";
- oParam.service = "examcureacptexecapp.PatRem";
- oParam.method = "reqGetFuncPatRemList";
- oParam.inds = "reqparam=ds_send_tmp";
- oParam.outds = "ds_patrem_rem=grdAeahMemoList ds_patrem_examcureexecdiaglist=examcureexecdiaglist ds_patrem_selectpat=sltpatinfolist ds_patrem_isolinfo=patisolinfolist ds_patrem_prcpdeliveinfo=prcpdeliveinfolist ds_patrem_rsrvpossexcuroomlist=rsrvpossexcuroomlist";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01114";
- tranf_submit(oParam);
-
- grp_body.cpt_isolinfo.text = "";
- if (!utlf_isNull(ds_patrem_isolinfo.getColumn(0,"isoldispcd"))) {
- grp_body.cpt_isolinfo.text = "확인";
- }
-
- //2012.06.22 상단정보올리기 by kya
- fTopInfo();
- //치료부위, 위치 조회 20130812 kya
- var i = ds_grd_ordlist4.rowposition;
- var prcpdirecnm = ds_grd_ordlist4.getColumn(i,"rehbprcpcurepartnm") + "/" + ds_grd_ordlist4.getColumn(i,"prcpdirecnm")
- var prcpdelivefact = ds_patrem_prcpdeliveinfo.getColumn(0,"prcpdelivefact");
-
- ds_patrem_prcpdeliveinfo.setColumn(0,"prcpdelivefact" ,prcpdelivefact + " [ " + prcpdirecnm + " ] ");
- sysf_setGlobalVariable("gv_pid", ds_send_data.getColumn(0,"srchpid"), "A"); //등록번호 넘기기
-
-
-
- }else {
- //상단정보 초기화
- appf_delPatientInfos();
- }
- }
- function grp_body_group2_switch1_case6_grd_ordlist6_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- obj.updateToDataset(); //변경된 사항을 바로 적용받도록함. 2018.01.24 kya
- if(e.row < 0 || e.col < 0) return;
- obj.setFocus();
- grdf_setSelectedCell(obj, e);
-
- this.PopupMenu03.trackPopup(e.screenX,e.screenY);
-
- return true;
- }
- function grp_body_group2_switch1_case6_grd_ordlist6_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- //20200218 수정
- //if(e.col == obj.getBindCellIndex("body","specdrid") || e.col == obj.getBindCellIndex("body","excuroomcd") || e.col == obj.getBindCellIndex("body","rsrvid")) return;
- if(e.row > -1 && (e.col == obj.getBindCellIndex("body","execrid1") || e.col == obj.getBindCellIndex("body","specdrid")
- || e.col == obj.getBindCellIndex("body","excuroomcd") || e.col == obj.getBindCellIndex("body","insukind")
- || e.col == obj.getBindCellIndex("body","selectdrid") )) return;
-
- //상단정보 초기화
- appf_delPatientInfos();
-
- ds_grd_ordlist6.rowposition = e.row;
-
- for ( var i = 0; i < ds_grd_ordlist6.rowcount; i++) {
- ds_grd_ordlist6.setColumn(i, "check", "0");
- }
-
- var selectedRows = grdf_getSelectedRows(grp_body.group2.switch1.case6.grd_ordlist6);
-
- for ( var i =0 ; i< selectedRows.length;i++){
- ds_grd_ordlist6.setColumn(selectedRows[i],"check", "1");
- }
-
- if(selectedRows.length == 1 ){
-
- //20140731 선택진료비 제도변경에 대한 알림메시지
- //start
- var pid = ds_grd_ordlist6.getColumn(selectedRows[0],"pid");
- var prcpdd = ds_grd_ordlist6.getColumn(selectedRows[0],"prcpdd");
- var execprcpuniqno = ds_grd_ordlist6.getColumn(selectedRows[0],"execprcpuniqno");
-
- var execprcpstatcd = ds_grd_ordlist6.getColumn(selectedRows[0],"execprcpstatcd");
- // if ( execprcpstatcd < "610" ) { //실시 미만
- getPrcpRcptCheck("AST", pid, "","", prcpdd, execprcpuniqno );
- // }
-
- //end
-
- //처방Comment
- // model.setValue("/root/hidden/comment1/prcpdelivefact", model.getValue("/root/main/ordlist6/mainordlist["+grd_ordlist6.selectedRow(grd_ordlist6.selectedRows-1)+"]/prcpdelivefact"));
- //검사코멘트
-
- //환자Comment 조회
- ds_send_data.setColumn(0,"excuroomcd",ds_grd_ordlist6.getColumn(selectedRows[0],"excuroomcd"));
- ds_send_data.setColumn(0,"srchpid",ds_grd_ordlist6.getColumn(selectedRows[0],"pid"));
- ds_send_data.setColumn(0,"orddd", ds_grd_ordlist6.getColumn(selectedRows[0],"orddd"));
- ds_send_data.setColumn(0,"cretno", ds_grd_ordlist6.getColumn(selectedRows[0],"cretno"));
- ds_send_data.setColumn(0,"genrflag", ds_grd_ordlist6.getColumn(selectedRows[0],"prcpgenrflag"));
- ds_send_data.setColumn(0,"prcpno", ds_grd_ordlist6.getColumn(selectedRows[0],"prcpno"));
- ds_send_data.setColumn(0,"prcpdd", ds_grd_ordlist6.getColumn(selectedRows[0],"prcpdd"));
- ds_send_data.setColumn(0,"execprcpuniqno", ds_grd_ordlist6.getColumn(selectedRows[0],"execprcpuniqno"));
- ds_send_data.setColumn(0,"srchrsrvdt", ds_grd_ordlist6.getColumn(selectedRows[0],"srchrsrvdt"));
- //20180813 처방상태 추가
- ds_send_data.setColumn(0,"execprcpstatcd", ds_grd_ordlist6.getColumn(selectedRows[0],"execprcpstatcd"));
-
- //환자Comment 환자정보 조회
- dsf_createDsRow("ds_send_tmp",
- [{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"ecgflag", val:ds_send_data.getColumn(0,"ecgflag")}
- ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
- ,{col:"memorgstdd", val:ds_send_data.getColumn(0,"rsrvdd")}
- ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
- ,{col:"orddd", val:ds_send_data.getColumn(0,"orddd")}
- ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"genrflag")}
- ,{col:"prcpcd", val:ds_send_data.getColumn(0,"prcpcd")}
- ,{col:"rsrvposs", val:ds_send_data.getColumn(0,"rsrvposs")}
- ,{col:"prcpno", val:ds_send_data.getColumn(0,"prcpno")}
- ,{col:"prcpdd", val:ds_send_data.getColumn(0,"prcpdd")}
- ,{col:"srchrsrvdt", val:ds_send_data.getColumn(0,"centyn")}
- ,{col:"execprcpuniqno", val:ds_send_data.getColumn(0,"execprcpuniqno")}
- ,{col:"cmtflag", val:""}
- ,{col:"memorgstddprcpdd", val:""}
- ]);
-
-
- //환자Comment 환자정보 조회
- var oParam = {};
- oParam.id = "TRAEA01114";
- oParam.service = "examcureacptexecapp.PatRem";
- oParam.method = "reqGetFuncPatRemList";
- oParam.inds = "reqparam=ds_send_tmp";
- oParam.outds = "ds_patrem_rem=grdAeahMemoList ds_patrem_examcureexecdiaglist=examcureexecdiaglist ds_patrem_selectpat=sltpatinfolist ds_patrem_isolinfo=patisolinfolist ds_patrem_prcpdeliveinfo=prcpdeliveinfolist ds_patrem_rsrvpossexcuroomlist=rsrvpossexcuroomlist";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01114";
- tranf_submit(oParam);
-
- grp_body.cpt_isolinfo.text = "";
- if (!utlf_isNull(ds_patrem_isolinfo.getColumn(0,"isoldispcd"))) {
- grp_body.cpt_isolinfo.text = "확인";
- }
-
- //치료부위, 위치 조회 20130812 kya
- var i = ds_grd_ordlist6.rowposition;
- var prcpdirecnm = ds_grd_ordlist6.getColumn(i,"rehbprcpcurepartnm") + "/" + ds_grd_ordlist6.getColumn(i,"prcpdirecnm")
- var prcpdelivefact = ds_patrem_prcpdeliveinfo.getColumn(0,"prcpdelivefact");
-
- ds_patrem_prcpdeliveinfo.setColumn(0,"prcpdelivefact" ,prcpdelivefact + " [ " + prcpdirecnm + " ] ");
- grp_body.cmb_rsrvexcuroomcd.index = 0;
-
-
- }else {
- //상단정보 초기화
- appf_delPatientInfos();
- }
- }
- function grp_body_group2_btn_exec_onclick(obj:Button, e:ClickEventInfo)
- {
- var loopcnt="";
- var execncl="";
- var ds_grid ;
- var grd;
- var execdd="";
-
- if (grp_body.group2.switch1.tabindex == 0 ){
-
- ds_grid = ds_grd_ordlist1;
- grd = ds_grd_ordlist1.rowcount;
-
- for(var i=0 ; i < ds_grd_ordlist1.rowcount ; i++) {
- if( ds_grd_ordlist1.getColumn(i,"check") == "1") {
- if(ds_grd_ordlist1.getColumn(i,"execbaseflag") != "A" ){
- sysf_messageBox("실시기준이 잘못","E005", "기준자료의 실시기준을 [접수]로 수정하여 주십시오!");
- return;
- }
- if( !utlf_isNull(ds_grd_ordlist1.getColumn(i,"srchrsrvdt")) && (ds_grd_ordlist1.getColumn(i,"srchrsrvdt") > (utlf_getCurrentDate()+"999999") ) ){
- sysf_messageBox("미래예약은 실시","E001","예약일자를 당일로 변경 후 실시하십시오!");
- return;
- }
- if(ds_grd_ordlist1.getColumn(i,"execprcpstatcd") == "610" ){
- sysf_messageBox("실시완료 상태가","E005");
- return;
- }
- if(ds_grd_ordlist1.getColumn(i,"execprcpstatcd") > "610" ){
- sysf_messageBox("예비결과/최종결과 상태가","E005");
- return;
- }
- if( ds_grd_ordlist1.getColumn(i,"prcpgenrflag") == "O" && ds_grd_ordlist1.getColumn(i,"aftrcptinfo") == "A" ) {
- sysf_messageBox("미수납 처방은 실시","E001");
- return;
- }
-
- }
- }
- }
- if ( grp_body.group2.switch1.tabindex == 1 ) {
-
- grd = ds_grd_ordlist4.rowcount;
- ds_grid = ds_grd_ordlist4;
- for(var i=0 ; i < ds_grd_ordlist4.rowcount ; i++) {
- if( ds_grd_ordlist4.getColumn(i,"check") == "1") {
-
- if(ds_grd_ordlist4.getColumn(i,"execbaseflag") != "A" ){
- sysf_messageBox("실시기준이 잘못","E005", "기준자료의 실시기준을 [접수]로 수정하여 주십시오!");
- return;
- }
- if( !utlf_isNull(ds_grd_ordlist4.getColumn(i,"srchrsrvdt")) && (ds_grd_ordlist4.getColumn(i,"srchrsrvdt") > (utlf_getCurrentDate()+"999999") ) ){
- sysf_messageBox("미래예약은 실시","E001","예약일자를 당일로 변경 후 실시하십시오!");
- return;
- }
- if(ds_grd_ordlist4.getColumn(i,"execprcpstatcd") == "610" ){
- sysf_messageBox("실시완료 상태가","E005");
- return;
- }
- if(ds_grd_ordlist4.getColumn(i,"execprcpstatcd") > "610" ){
- sysf_messageBox("예비결과/최종결과 상태가","E005");
- return;
- }
-
- }
- }
- }
- if ( grp_body.group2.switch1.tabindex == 2 ) {
-
- grd = ds_grd_ordlist6.rowcount;
- ds_grid = ds_grd_ordlist6;
-
- for(var i=0 ; i < ds_grd_ordlist6.rowcount ; i++) {
- if( ds_grd_ordlist6.getColumn(i,"check") == "1") {
-
- if(ds_grd_ordlist6.getColumn(i,"execbaseflag") != "A" ){
- sysf_messageBox("실시기준이 잘못","E005", "기준자료의 실시기준을 [접수]로 수정하여 주십시오!");
- return;
- }
- //2010.12.23 미예약처방 실시할수 있게 주석 처리 - 박재영
- //if( model.getValue("/root/main/ordlist6/mainordlist["+i+"]/srchrsrvdt") == "" && model.getValue("/root/main/ordlist6/mainordlist["+i+"]/unrsrvexecyn") == "N" ) { //unrsrvexecyn : Y 미예약검사, N 예약검사 ( ast.aebmcode - A0010 )
- // messageBox("미예약 처방은 실시","E001","예약 후 실시하십시오!");
- // return;
- //}
- if( !utlf_isNull(ds_grd_ordlist6.getColumn(i,"srchrsrvdt")) && (ds_grd_ordlist6.getColumn(i,"srchrsrvdt") > (utlf_getCurrentDate()+"999999") ) ){
- sysf_messageBox("미래예약은 실시","E001","예약일자를 당일로 변경 후 실시하십시오!");
- return;
- }
- if(ds_grd_ordlist6.getColumn(i,"execprcpstatcd") == "610" ){
- sysf_messageBox("실시완료 상태가","E005");
- return;
- }
- if(ds_grd_ordlist6.getColumn(i,"execprcpstatcd") > "610" ){
- sysf_messageBox("예비결과/최종결과 상태가","E005");
- return;
- }
-
- }
- }
- }
-
-
- for( var i = 0 ; i < grd ; i++ ) {
- if ( ds_grid.getColumn(i,"check") == "1" ) {
- loopcnt++;
- if( ds_grid.getColumn(i,"execdd") == utlf_getCurrentDate() )
- {
- sysf_messageBox("예약일자가 당일이 아닌 처방이 선택되었습니다.","Q003");
- return;
- }
-
- }
- }
- if ( loopcnt == 0 ) {
- sysf_messageBox("처방이 선택되지 ", "E007");
- return;
- }
- var grid ="";
- if(tabgubn == "M" || tabgubn == "L" )
- grid = "ds_grd_ordlist1";
- if(tabgubn == "R")
- grid = "ds_grd_ordlist6";
-
- if(tabgubn == "T")
- grid = "ds_grd_ordlist4";
-
- //2010.12.29 대상자조회 액팅후 조회 - 박재영
- if(tabgubn == "D")
- grid = "ds_grd_ordlist3";
-
- if ( grp_body.group2.switch1.tabindex == 0 ) {
- var pid =ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"pid");
- var hngnm = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"hngnm");
- var sna = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"sna");
- var orddeptnm = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"orddepthngnm");
- var prcpnm = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"prcpnm");
- }
- if ( grp_body.group2.switch1.tabindex == 1 ) {
- var pid =ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"pid");
- var hngnm = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"hngnm");
- var sna = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"sna");
- var orddeptnm = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"orddepthngnm");
- var prcpnm = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"prcpnm");
- }
-
- var rtn = ExeAccept(tabgubn,grid);
-
- if(tabgubn == "M") {
- ds_send_data.setColumn(0,"srchpid","");
- acptlistflag=tabgubn;
- fGetExamCureAcptList(); // 전체처방
- }
- if(tabgubn == "R") {
- ds_send_data.setColumn(0,"srchpid","");
- acptlistflag=tabgubn;
- fGetExamCureAcptList(); // 미예약
- }
- if(tabgubn == "T") {
- ds_send_data.setColumn(0,"srchpid","");
- acptlistflag=tabgubn;
- fGetExamCureAcptList(); // 검사완료
- }
- if(tabgubn == "L") {
- acptlistflag=tabgubn;
- fGetExamCureAcptList(); // 이력
- }
- //2010.12.29 대상자조회 액팅후 조회 - 박재영
- if(tabgubn == "D") {
- var ev = new ClickEventInfo;
- frmf_inputEnterKey("grp_body.group2.button6", "onclick", ev );
- return;
-
- }
- initCalendar();
- getRsrvPossTm(grp_body.grd_calendar);
- setCurrentDate();
-
- //grdf_initGridStyle(grp_body.group5.grd_rsrvlist);
-
- //data 클리어
- dataClear();
- }
- function grp_body_group2_btn_patcmtsave_onclick(obj:Button, e:ClickEventInfo)
- {
- var ds_grid ;
- var grd;
- if ( grp_body.group2.switch1.tabindex == 0 ) {
- ds_grid = ds_grd_ordlist1;
- grd = ds_grd_ordlist1.rowcount;
- }else if ( grp_body.group2.switch1.tabindex == 1 ) {
- ds_grid = ds_grd_ordlist4;
- grd = ds_grd_ordlist4.rowcount;
- }else if ( grp_body.group2.switch1.tabindex == 2 ) {
- ds_grid = ds_grd_ordlist6;
- grd = ds_grd_ordlist6.rowcount;
- }else {
- ds_grid = ds_grd_ordlist3;
- grd = ds_grd_ordlist3.rowcount;
- }
-
-
- //var nodeList = instance1.selectNodes("/root/main/"+ list +"/mainordlist[check='true' ]");
- //var rCSV = getNodeListCSV(nodeList);
- var tempcnt = ds_grid.getCaseCount("check=='1'");
- if ( tempcnt == 0 ) {
- sysf_messageBox("처방을 선택해 주십시오.","I999");
- return "0";
- }
-
- if ( grp_body.group2.switch1.tabindex == 0 ) { // 전체처방
- for(var i=0; i<ds_grd_ordlist1.rowcount;i++) {
- if(ds_grd_ordlist1.getColumn(i,"check") == "1" ) {
- ds_send_data.setColumn(0,"srchpid",ds_grd_ordlist1.getColumn(i,"pid"));
- }
- }
- }
- else if ( grp_body.group2.switch1.tabindex == 1 ) { // 검사완료
-
- for(var i=0; i<ds_grd_ordlist4.rowcount;i++) {
- if(ds_grd_ordlist4.getColumn(i,"check") == "1" ) {
- ds_send_data.setColumn(0,"srchpid",ds_grd_ordlist4.getColumn(i,"pid"));
- }
- }
- }
- else if ( grp_body.group2.switch1.tabindex == 2 ) { // 미예약
-
- for(var i=0; i<ds_grd_ordlist6.rowcount;i++) {
- if(ds_grd_ordlist6.getColumn(i,"check") == "1" ) {
- ds_send_data.setColumn(0,"srchpid",ds_grd_ordlist6.getColumn(i,"pid"));
- }
- }
-
- }else {
-
- for(var i=0; i<ds_grd_ordlist3.rowcount;i++) {
- if(ds_grd_ordlist3.getColumn(i,"check") == "1" ) {
- ds_send_data.setColumn(0,"srchpid",ds_grd_ordlist3.getColumn(i,"pid"));
- }
- }
- }
- //2009-07-13 환자Comment - 처방일자별 환자 Comment 관리 요청 - 기능검사 ITC 임성재 샘 요청(요청번호:2041)
- var prcpdd;
- if (prcpddyn == "Y" ) {
- for(var i=0 ; i < grd ; i++) {
- if( ds_grid.getColumn(i,"check") == "1") {
- ds_send_data.setColumn(0,"memorgstddprcpdd", ds_grid.getColumn(i,"prcpdd"));
- }
- }
- }
- ds_send_data.setColumn(0,"patrem", ds_patrem_rem.getColumn(0,"memo"));
-
- dsf_createDsRow("ds_send_reqparam",
- [{col:"basesuppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
- ,{col:"memodesc", val:ds_send_data.getColumn(0,"patrem")}
- ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
- ,{col:"memodd", val:ds_send_data.getColumn(0,"rsrvdd")}
- ,{col:"showstartdd", val:"20070707"}
- ,{col:"showenddd", val:"99999999"}
- ,{col:"ecgflag", val:ds_send_data.getColumn(0,"ecgflag")}
- ,{col:"memorgstddprcpdd", val:""}
- ]);
- dsf_setDefaultVal(ds_send_reqparam, "all");
-
- var oParam = {};
- oParam.id = "TXAEA01106";
- oParam.service = "examcureacptexecapp.PatRem";
- oParam.method = "reqInsPatRem";
- oParam.inds = "reqparam=ds_send_reqparam";
- oParam.outds = "ds_hidden_item=rtnParm";
- oParam.async = false;
-
- tranf_submit(oParam);
- if(ds_hidden_item.getColumn(0,"count") > 0){
- sysf_messageBox("정상적으로 ", "I001");
- ds_hidden_item.setColumn(0,"count", "0");
- return;
- }
-
- //환자Comment 환자정보 조회
- dsf_createDsRow("ds_send_tmp",
- [{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"ecgflag", val:ds_send_data.getColumn(0,"ecgflag")}
- ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
- ,{col:"memorgstdd", val:ds_send_data.getColumn(0,"rsrvdd")}
- ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
- ,{col:"orddd", val:ds_send_data.getColumn(0,"orddd")}
- ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"genrflag")}
- ,{col:"prcpcd", val:ds_send_data.getColumn(0,"prcpcd")}
- ,{col:"rsrvposs", val:ds_send_data.getColumn(0,"rsrvposs")}
- ,{col:"prcpno", val:ds_send_data.getColumn(0,"prcpno")}
- ,{col:"prcpdd", val:ds_send_data.getColumn(0,"prcpdd")}
- ,{col:"srchrsrvdt", val:ds_send_data.getColumn(0,"centyn")}
- ,{col:"execprcpuniqno", val:ds_send_data.getColumn(0,"execprcpuniqno")}
- ,{col:"cmtflag", val:""}
- ,{col:"memorgstddprcpdd", val:""}
- ]);
-
-
- //환자Comment 환자정보 조회
- var oParam = {};
- oParam.id = "TRAEA01114";
- oParam.service = "examcureacptexecapp.PatRem";
- oParam.method = "reqGetFuncPatRemList";
- oParam.inds = "reqparam=ds_send_tmp";
- oParam.outds = "ds_patrem_rem=grdAeahMemoList ds_patrem_examcureexecdiaglist=examcureexecdiaglist ds_patrem_selectpat=sltpatinfolist ds_patrem_isolinfo=patisolinfolist ds_patrem_prcpdeliveinfo=prcpdeliveinfolist ds_patrem_rsrvpossexcuroomlist=rsrvpossexcuroomlist";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01114";
- tranf_submit(oParam);
-
- grp_body.cpt_isolinfo.text = "";
- if (!utlf_isNull(ds_patrem_isolinfo.getColumn(0,"isoldispcd"))) {
- grp_body.cpt_isolinfo.text = "확인";
- }
- }
- function grp_body_group2_btn_deptmemosave_onclick(obj:Button, e:ClickEventInfo)
- {
- // 코맨트 저장할 날자를 정확히 선택했는지 확인. 월만 선택시 여러건 업데이트 되버림(2010.01.22 박상준)
- var rsrvdd = ds_send_data.getColumn(0,"rsrvdd");
- if (utlf_getStringlength(rsrvdd) != 8) {
- sysf_messageBox("날자를", "C002");
- return;
- }
-
- var a = ds_send_data.getColumn(0,"selectexcuroom");
- var cnt = 0;
- for(var i = 0 ; i < a.length ; i++) {
- if(a.substr(i,1) == " " ) {
- cnt++;
- }
- }
-
- if( 0 < cnt ){
- sysf_messageBox("검사실이 하나 이상","E005", "부서메모를 입력할 검사실만 선택 후 저장하십시오!");
- }else{
- ds_send_data.setColumn(0,"memorem", grp_body.group2.tat_deptmemo.value);
-
- dsf_createDsRow("ds_send_req",
- [{col:"excuroomcd", val:ds_send_data.getColumn(0,"selectexcuroom")}
- ,{col:"basesuppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"deptcdflag", val:ds_send_data.getColumn(0,"room")}
- ,{col:"memorem", val:ds_send_data.getColumn(0,"memorem")}
- ,{col:"memodt", val:ds_send_data.getColumn(0,"memodt")}
- ,{col:"memoflag", val:ds_send_data.getColumn(0,"memoflag")}
- ,{col:"prcpcd", val:ds_send_data.getColumn(0,"prcpcd")}
- ]);
- dsf_setDefaultVal(ds_send_req, "all");
-
- var oParam = {};
- oParam.id = "TXAEA01102";
- oParam.service = "examcurebaseapp.ExamCureCode";
- oParam.method = "reqExeExcuroomMemoCodeList";
- oParam.inds = "req=ds_send_req";
- oParam.outds = "ds_hidden_item=item";
- oParam.async = false;
-
- tranf_submit(oParam);
- if(ds_hidden_item.getColumn(0,"count") > 0){
- sysf_messageBox("정상적으로 ", "I001");
- ds_hidden_item.setColumn(0,"count", "0");
- return;
- }
- }
- }
- function grp_body_group2_button102_onclick(obj:Button, e:ClickEventInfo)
- {
- var flag = "prcplist";
-
- grp_body.group5.visible = true;
-
- // if ( grp_body.group2.switch1.tabindex == 0 ) fGetWideListX1(group2, switch1, grd_ordlist1, flag);
- if ( grp_body.group2.switch1.tabindex == 3 ) fGetWideListX1(grp_body.group2, grp_body.group2.switch1, flag);
- if ( grp_body.group2.switch1.tabindex == 1 ) fGetWideListX1(grp_body.group2, grp_body.group2.switch1, flag);
- if ( grp_body.group2.switch1.tabindex == 2 ) fGetWideListX1(grp_body.group2, grp_body.group2.switch1, flag);
- if( tabgubn == "M" || tabgubn == "D" || tabgubn == "L" ) fGetWideListX1(grp_body.group2, grp_body.group2.switch1, flag);
- }
- function grp_body_group2_button103_onclick(obj:Button, e:ClickEventInfo)
- {
- var flag = "prcplist";
- grp_body.group5.visible = true;
-
- // if ( grp_body.group2.switch1.tabindex == 0 ) fGetWideListX1(group2, switch1, grd_ordlist1, flag);
- if ( grp_body.group2.switch1.tabindex == 3 ) fGetWideListX2(grp_body.group2, grp_body.group2.switch1, grp_body.group2.switch1.case3.grd_ordlist3, flag);
- if ( grp_body.group2.switch1.tabindex == 1 ) fGetWideListX2(grp_body.group2, grp_body.group2.switch1, grp_body.group2.switch1.case4.grd_ordlist4, flag);
- if ( grp_body.group2.switch1.tabindex == 2 ) fGetWideListX2(grp_body.group2, grp_body.group2.switch1, grp_body.group2.switch1.case6.grd_ordlist6, flag);
- if( tabgubn == "M" || tabgubn == "D" || tabgubn == "L" ) fGetWideListX2(grp_body.group2, grp_body.group2.switch1, grp_body.group2.switch1.case1.grd_ordlist1, flag);
-
- }
- function grp_body_group2_rdo_prcpgenrflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- //상단정보 초기화
- appf_delPatientInfos();
-
- ds_send_data.setColumn(0,"srchpid","");
- dsf_createDsRow("ds_send_tmp",
- [{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"ecgflag", val:ds_send_data.getColumn(0,"ecgflag")}
- ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
- ,{col:"memorgstdd", val:ds_send_data.getColumn(0,"rsrvdd")}
- ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
- ,{col:"orddd", val:ds_send_data.getColumn(0,"orddd")}
- ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"genrflag")}
- ,{col:"prcpcd", val:ds_send_data.getColumn(0,"prcpcd")}
- ,{col:"rsrvposs", val:ds_send_data.getColumn(0,"rsrvposs")}
- ,{col:"prcpno", val:ds_send_data.getColumn(0,"prcpno")}
- ,{col:"prcpdd", val:ds_send_data.getColumn(0,"prcpdd")}
- ,{col:"srchrsrvdt", val:ds_send_data.getColumn(0,"centyn")}
- ,{col:"execprcpuniqno", val:ds_send_data.getColumn(0,"execprcpuniqno")}
- ,{col:"cmtflag", val:""}
- ,{col:"memorgstddprcpdd", val:""}
- ]);
-
-
- //환자Comment 환자정보 조회
- var oParam = {};
- oParam.id = "TRAEA01114";
- oParam.service = "examcureacptexecapp.PatRem";
- oParam.method = "reqGetFuncPatRemList";
- oParam.inds = "reqparam=ds_send_tmp";
- oParam.outds = "ds_patrem_rem=grdAeahMemoList ds_patrem_examcureexecdiaglist=examcureexecdiaglist ds_patrem_selectpat=sltpatinfolist ds_patrem_isolinfo=patisolinfolist ds_patrem_prcpdeliveinfo=prcpdeliveinfolist ds_patrem_rsrvpossexcuroomlist=rsrvpossexcuroomlist";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01114";
- tranf_submit(oParam);
-
- grp_body.cpt_isolinfo.text ="";
- if (!utlf_isNull(ds_patrem_isolinfo.getColumn(0,"isoldispcd"))) {
- grp_body.cpt_isolinfo.text = "확인";
- }
-
- if ( grp_body.group2.switch1.tabindex == 0 ) {
- if(utlf_isNull(grp_body.grp_sea.ipt_pid.value)) {
- acptlistflag= "M";
- fGetExamCureAcptList(); // 전체처방
- tabgubn = acptlistflag ;
- }
- else {
- acptlistflag= "L";
- fGetExamCureAcptList(); // 이력
- tabgubn = acptlistflag ;
- }
- }
-
- if ( grp_body.group2.switch1.tabindex == 1 )
- {
- acptlistflag= "T";
- fGetExamCureAcptList(); // 검사완료
- }
- if ( grp_body.group2.switch1.tabindex == 2 )
- {
- acptlistflag= "R";
- fGetExamCureAcptList(); // 미예약
- }
-
- initCalendar();
- setCurrentDate();
-
- //grdf_initGridStyle(grp_body.group5.grd_rsrvlist);
- //grdf_setRowStyle(grp_body.group5.grd_rsrvlist , "6" , "예약" , "statcd", "equal" );
- }
- function grp_body_group2_button6_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_btn_Selected(1);
- grp_body.group2.switch1.tabindex = 0;
- if(ds_send_data.getColumn(0,"selectexcuroom") == " ") {
- sysf_messageBox("검사실 선택되지 ", "E007");
- return;
- }
- //data 클리어
- dataClear();
- //상단정보 초기화
- appf_delPatientInfos();
-
-
- var curDate = utlf_getCurrentDate().substr(0,8); //오늘날짜
- ds_send_data.setColumn(0,"srchdate1",curDate);
- ds_send_data.setColumn(0,"srchdate2",curDate);
- ds_send_data.setColumn(0,"srchpid","");
-
- grp_body.grp_sea.cmb_term.value = 0;
- ds_send_data.setColumn(0,"acptlistflag","R");
-
- grp_body_btn_case1_onclick();
-
- dsf_createDsRow("ds_send_tmp",
- [{col:"acptlistflag", val:"R"}
- ,{col:"basesuppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"initexcuroom", val:ds_send_data.getColumn(0,"selectexcuroom")}
- ,{col:"prcpexecdeptcd", val:ds_send_data.getColumn(0,"prcpexecdeptcd")}
- ,{col:"srchdate1", val:curDate}
- ,{col:"srchdate2", val:curDate}
- ,{col:"srchpid", val:""}
- ,{col:"excuroomflag", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"term", val:ds_send_data.getColumn(0,"term")}
- ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"prcpgenrflag")}
- ,{col:"sgubn", val:ds_send_data.getColumn(0,"sgubn")}
- ,{col:"largeclass", val:ds_send_data.getColumn(0,"largeclass")}
- ]);
-
- var oParam = {};
- oParam.id = "TRAEA01122";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_temp";
- oParam.outds = "ds_grd_ordlist1=examcureexecprcplist";
- oParam.async = false;
- // oParam.callback = "cf_TRAEA01122";
- tranf_submit(oParam);
-
- tabgubn = "D";
- }
- function grp_body_group2_group7_btn_close_onclick(obj:Button, e:ClickEventInfo)
- {
- grp_body.group2.group7.visible = false;
- // grp_body.group2.group7.cpt_isoldata.visible = false;
- // grp_body.group2.group7.txt_isol.visible = false;
- // grp_body.group2.group7.btn_close.visible = false;
- // grp_body.group2.group7.line_isol.visible = false;
- // grp_body.group2.group7.line_isol2.visible = false;
- // grp_body.group2.group7.cpt_isoltitle.visible = false;
- }
- function grp_body_group2_order_bak_onclick(obj:Button, e:ClickEventInfo)
- {
- // 기능검사에서 과거처방에(20081004 이전) CDIS 결과를 연동할려고 할때 창 호출
- frmf_setParameter("opener_parameter_id","OldOrder");
- frmf_open("SMAEA04300","SMAEA04300", "","","", "","", "","","", "","","M");
- }
- function grp_body_group5_grd_rsrvlist_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- obj.updateToDataset(); //변경된 사항을 바로 적용받도록함. 2018.01.24 kya
- // if(e.row < 0 || e.col < 0) return;
- // obj.setFocus();
- // grdf_setSelectedCell(obj, e);
- //
- // if( ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"statcd") == "임시예약"){
- // this.PopupMenu02.trackPopup(e.screenX,e.screenY);
- // }else{
- // this.PopupMenu01.trackPopup(e.screenX,e.screenY);
- // }
- if(e.row > -1){
- grdf_setSelectedCell(obj, e); // 선택된 행 확실히 선택해줌
- PopupMenu02.trackPopup(e.screenX,e.screenY);
- }
-
- return true;
- }
- function grp_body_group5_grd_rsrvlist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- //스크롤 조작시 모래시계 방지
- //상단정보 초기화
- appf_delPatientInfos();
-
- //히스토리리스트에서 예약내역에서 선택한 처방 체크해주기
- var loop;
- var list = "";
- var grd;
- var grdrows;
- var uniqnoValue = ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"execprcpuniqno");
-
-
-
- //btn_case1.selected = true;
- grp_body.group2.switch1.tabindex = 0;
- ds_send_data.setColumn(0,"srchpid",ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"pid"));
- acptlistflag= "L";
- fGetExamCureAcptList();
-
- ds_grd_ordlist1.clearSelect();
-
- for(var i = 0; i < ds_grd_ordlist1.rowcount ; i++ ) {
- if( ds_grd_ordlist1.getColumn(i,"execprcpuniqno") == uniqnoValue){
- ds_grd_ordlist1.setColumn(i,"check","1");
- //검사코멘트
-
- //처방Comment
- //grp_body.group2.tar_prcpdelivefact.value = ds_grd_ordlist1.getColumn(i,"prcpdelivefact");
-
- ds_grd_ordlist1.selectRow(i,true);
- }
- }
-
- ds_send_data.setColumn(0,"excuroomcd",ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"excuroomcd"));
- ds_send_data.setColumn(0,"orddd", ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"orddd"));
- ds_send_data.setColumn(0,"cretno", ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"cretno"));
- ds_send_data.setColumn(0,"genrflag", ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"prcpgenrflag"));
- ds_send_data.setColumn(0,"prcpno", ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"prcpno"));
- ds_send_data.setColumn(0,"prcpdd", ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"prcpdd"));
- ds_send_data.setColumn(0,"execprcpuniqno", ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"execprcpuniqno"));
- ds_send_data.setColumn(0,"srchrsrvdt", ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"srchrsrvdt"));
- //20180813 처방상태가져오기
- ds_send_data.setColumn(0,"execprcpstatcd", ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"execprcpstatcd"));
-
- //예약증출력
- ds_send_data.setColumn(0,"prntcalcscorcd", ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"calcscorcd"));
- ds_send_data.setColumn(0,"prntsuppdeptcd", ds_send_globalinstance.getColumn(0,"dutplcecd"));
- //2009-07-13 환자Comment - 처방일자별 환자 Comment 관리 요청 - 기능검사 ITC 임성재 샘 요청(요청번호:2041)
- if (prcpddyn == "Y" ) {
- ds_send_data.setColumn(0,"memorgstddprcpdd", ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"prcpdd"));
- }
-
- //환자Comment 환자정보 조회
- dsf_createDsRow("ds_send_tmp",
- [{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"ecgflag", val:ds_send_data.getColumn(0,"ecgflag")}
- ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
- ,{col:"memorgstdd", val:ds_send_data.getColumn(0,"rsrvdd")}
- ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
- ,{col:"orddd", val:ds_send_data.getColumn(0,"orddd")}
- ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"genrflag")}
- ,{col:"prcpcd", val:ds_send_data.getColumn(0,"prcpcd")}
- ,{col:"rsrvposs", val:ds_send_data.getColumn(0,"rsrvposs")}
- ,{col:"prcpno", val:ds_send_data.getColumn(0,"prcpno")}
- ,{col:"prcpdd", val:ds_send_data.getColumn(0,"prcpdd")}
- ,{col:"srchrsrvdt", val:ds_send_data.getColumn(0,"centyn")}
- ,{col:"execprcpuniqno", val:ds_send_data.getColumn(0,"execprcpuniqno")}
- ,{col:"cmtflag", val:""}
- ,{col:"memorgstddprcpdd", val:""}
- ]);
-
-
- //환자Comment 환자정보 조회
- var oParam = {};
- oParam.id = "TRAEA01114";
- oParam.service = "examcureacptexecapp.PatRem";
- oParam.method = "reqGetFuncPatRemList";
- oParam.inds = "reqparam=ds_send_tmp";
- oParam.outds = "ds_patrem_rem=grdAeahMemoList ds_patrem_examcureexecdiaglist=examcureexecdiaglist ds_patrem_selectpat=sltpatinfolist ds_patrem_isolinfo=patisolinfolist ds_patrem_prcpdeliveinfo=prcpdeliveinfolist ds_patrem_rsrvpossexcuroomlist=rsrvpossexcuroomlist";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01114";
- tranf_submit(oParam);
-
- grp_body.cpt_isolinfo.text ="";
- if (!utlf_isNull(ds_patrem_isolinfo.getColumn(0,"isoldispcd"))) {
- grp_body.cpt_isolinfo.text = "확인";
- }
-
- sysf_setGlobalVariable("gv_pid", ds_send_data.getColumn(0,"srchpid"), "A"); //등록번호 넘기기
- tabgubn = "L";
- fget0701GosiPrcpRcptChk(); //2009-06-29 7/1 본인부담율 인상으로 인한 메세지 처리
-
-
-
-
- }
- function grp_body_group5_grd_inclprcplist_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- //setPopupMenu("grd_inclprcplist", false, "/root/hidden/popupmenu/menu1/item", "name", "func");
- obj.updateToDataset(); //변경된 사항을 바로 적용받도록함. 2018.01.24 kya
- if(e.row < 0 || e.col < 0) return;
- obj.setFocus();
- grdf_setSelectedCell(obj, e);
-
- this.PopupMenu00.trackPopup(e.screenX,e.screenY);
-
- return true;
- }
- function grp_body_group5_button21_onclick(obj:Button, e:ClickEventInfo)
- {
- if (ds_grd_rsrvlist.rowposition < 0 ) {
- sysf_messageBox("예약내역을 선택해 주십시오.","I999");
- return "0";
- }
- var ev = new ClickEventInfo;
- frmf_inputEnterKey("grp_body.group2.btn_exec", "onclick", ev );
-
- }
- function grp_body_group5_button7_onclick(obj:Button, e:ClickEventInfo)
- {
- var flag = "rsrvlist"
- fGetWideListX2(group5, switch1, grd_rsrvlist, flag);
- }
- function grp_body_group5_button8_onclick(obj:Button, e:ClickEventInfo)
- {
- var flag = "rsrvlist"
- fGetWideListX1(group5, switch1, flag);
- }
- function grp_body_btn_rsrvtmins_onclick(obj:Button, e:ClickEventInfo)
- {
-
- grdgubn = "grd_ordlist1";
- if( grp_body.group2.switch1.tabindex == 0 ) grdgubn = "grd_ordlist1"; // 전체처방
- if ( grp_body.group2.switch1.tabindex != 0 && grp_body.group2.switch1.tabindex != 1 && grp_body.group2.switch1.tabindex != 2) grdgubn = "grd_ordlist3"; // 대상자조회
- if ( grp_body.group2.switch1.tabindex == 1) grdgubn = "grd_ordlist4"; // 검사완료
- if ( grp_body.group2.switch1.tabindex == 2) grdgubn = "grd_ordlist6"; // 미예약
- if( tabgubn == "D" ) grdgubn = "grd_ordlist3"; //대상자조회
- setRsrvdate(grdgubn,"cmb");
- }
- function grp_body_btn_rsrvmodify_onclick(obj:Button, e:ClickEventInfo)
- {
- var tmpldata = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"tmpldata");
- var pid = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"pid");
- var hngnm = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"hngnm");
- var rsrvdt = utlf_transNullToEmpty(ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"rsrvdt"));
-
-
- var year = rsrvdt.substr(0,4);
- var month = rsrvdt.substr(4,2);
- var day = rsrvdt.substr(6,2);
- var week = rsrvdt.substr(0,8).toDate().getDayOfWeek("K");
- var hh = rsrvdt.substr(8,2);
- var mm = rsrvdt.substr(10,2);
- ds_send_data.setColumn(0,"srchpid","");
- var ordlist = "";
- if ( sysf_messageBox("예약내역을","Q002")==6 ) {
- if (grp_body.group2.switch1.tabindex == 0 ) {
- ordlist = ds_grd_ordlist1;
- }
- else if (grp_body.group2.switch1.tabindex == 3 ) {
- ordlist = ds_grd_ordlist3;
- }
- else if (grp_body.group2.switch1.tabindex == 2 ) {
- ordlist = ds_grd_ordlist6;
- }
- else if ( grp_body.group2.switch1.tabindex != 0 && grp_body.group2.switch1.tabindex != 1 && grp_body.group2.switch1.tabindex != 2 ) {
- ordlist = ds_grd_ordlist3;
- }
-
- if (ordlist.getCaseCount("check=='true'") == 0 ) {
- sysf_messageBox("처방내역을 ","C002");
- return "0";
- }
-
- // var nodeList = instance1.selectNodes("/root/main/"+ordlist+"/mainordlist[check='true' and rsrvdt = '-']");
- // var rCSV = getNodeListCSV(nodeList);
-
- if ( ordlist.getCaseCount("check=='1' && rsrvdt == '-'") > 0 ) {
- sysf_messageBox("예약시간을 ","C002");
- return "0";
- }
-
- exeRsrvTransaction("upd",ordlist);
-
-
- initCalendar();
-
- getRsrvPossTm(grp_body.grd_calendar);
-
- if (grp_body.group2.switch1.tabindex == 0 )
- {
- acptlistflag= "M";
- fGetExamCureAcptList(); // 전체처방
- }
- if (grp_body.group2.switch1.tabindex == 3 )
- {
- acptlistflag= "R";
- fGetExamCureAcptList(); // 수납처방
- }
- if (grp_body.group2.switch1.tabindex == 2 )
- {
- acptlistflag= "R";
- fGetExamCureAcptList(); // 미예약
- }
- acptlistflag= "Y";
- fGetExamCureAcptList(); // 예약
- //data 클리어
- dataClear();
- }
- else {
- return "0";
- }
-
- //********************************
- // ******예약증 출력 20070821******
- //********************************
-
- if(!utlf_isNull(tmpldata)) {
- //1. 예약예문내용을 뷰어로 보여주기
- grp_body.rtfviewer.TextRtf = tmpldata;
-
- //2. 바꾸기
-
- grp_body.rtfviewer.ReplaceRtfCode("pid",pid); //등록번호
- grp_body.rtfviewer.ReplaceRtfCode("patnm",hngnm); //성명
- grp_body.rtfviewer.ReplaceRtfCode("year",year); //년
- grp_body.rtfviewer.ReplaceRtfCode("month",month); //월
- grp_body.rtfviewer.ReplaceRtfCode("day",day); //일
- grp_body.rtfviewer.ReplaceRtfCode("week",week); //요일
- grp_body.rtfviewer.ReplaceRtfCode("hh",hh); //시
- grp_body.rtfviewer.ReplaceRtfCode("mm",mm); //분
-
- //3. 현재내용을 파일에 저장
- grp_body.rtfviewer.SaveRtfFile();
-
- //4. 출력
- grp_body.rtfviewer.Print();
- //5. 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- fInitialize();
- }
- else {
- sysf_messageBox("등록된 예약예문이 ", "I004");
- }
- }
- function grp_body_div_info_input5_oneditdblclick(obj:Edit, e:EditClickEventInfo)
- {
- if( !utlf_isNull(ds_send_data.getColumn(0,"srchpid")) || ds_send_data.getColumn(0,"srchpid") != " " ) {
- // 전화번호 더블클릭시 해당환자의 '전화번호/주소 조회 및 수정 창' 팝업창을 호출!!!
- //예약내역이 없는 필드 체크
- var hngnm = ds_patrem_selectpat.getColumn(0,"hngnm");
- var pid = ds_patrem_selectpat.getColumn(0,"pid");
- if (utlf_isNull(hngnm) || hngnm == " " || hngnm == "-"){
- return false;
- }
- 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,"","", "100", "100", "", "", "", "", "","M");
-
- var hometel = frmf_getParameter("SMPMO01400_hometel");
- var mpphontel = frmf_getParameter("SMPMO01400_mpphontel");
-
- if( !utlf_isNull(hometel) && !utlf_isNull(mpphontel)){
- ds_patrem_selectpat.setColumn(0,"hometel", hometel) ;
- ds_patrem_selectpat.setColumn(0,"mpphontel", mpphontel) ;
- }
-
-
-
- }
- }
- function grp_body_div_info_input6_oneditdblclick(obj:Edit, e:EditClickEventInfo)
- {
- if( !utlf_isNull(ds_patrem_selectpat.getColumn(0,"pid")) || ds_patrem_selectpat.getColumn(0,"pid") != " " ) {
-
- // 전화번호 더블클릭시 해당환자의 '전화번호/주소 조회 및 수정 창' 팝업창을 호출!!!
- //예약내역이 없는 필드 체크
- var hngnm = ds_patrem_selectpat.getColumn(0,"hngnm");
- var pid = ds_patrem_selectpat.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,"","", "100", "100", "", "", "", "", "","M");
-
- var hometel = frmf_getParameter("SMPMO01400_hometel");
- var mpphontel = frmf_getParameter("SMPMO01400_mpphontel");
-
- if( !utlf_isNull(hometel) && !utlf_isNull(mpphontel)){
- ds_patrem_selectpat.setColumn(0,"hometel", hometel) ;
- ds_patrem_selectpat.setColumn(0,"mpphontel", mpphontel) ;
- }
-
-
- }
- }
- function grp_body_div_info_output3_oneditdblclick(obj:Edit, e:EditClickEventInfo)
- {
- grp_body.group2.group7.visible = true;
- grp_body.group2.group7.cpt_isoldata.visible = true;
- grp_body.group2.group7.txt_isol.visible = true;
- grp_body.group2.group7.btn_close.visible = true;
- grp_body.group2.group7.line_isol.visible = true;
- grp_body.group2.group7.line_isol2.visible = true;
- grp_body.group2.group7.cpt_isoltitle.visible = true;
- }
- function grp_body_btn_upclear_onclick(obj:Button, e:ClickEventInfo)
- {
- appf_delPatientInfos();
- }
- function grp_body_button15_onclick(obj:Button, e:ClickEventInfo)
- {
- if(grp_body.grp_calendar.opt_month.value!== "11") {
- fGetCalendar("11");
- }
- }
- function grp_body_button16_onclick(obj:Button, e:ClickEventInfo)
- {
- if(grp_body.grp_calendar.opt_month.value!== "12") {
- fGetCalendar("12");
- }
- }
- function grp_body_button17_onclick(obj:Button, e:ClickEventInfo)
- {
- if(grp_body.grp_calendar.opt_month.value!== "05") {
- fGetCalendar("05");
- }
- }
- function grp_body_button18_onclick(obj:Button, e:ClickEventInfo)
- {
- if(grp_body.grp_calendar.opt_month.value!== "09") {
- fGetCalendar("09");
- }
- }
- function grp_body_button19_onclick(obj:Button, e:ClickEventInfo)
- {
- if(grp_body.grp_calendar.opt_month.value!== "10") {
- fGetCalendar("10");
- }
- }
- function grp_body_button10_onclick(obj:Button, e:ClickEventInfo)
- {
- if(grp_body.grp_calendar.opt_month.value!== "01") {
- fGetCalendar("01");
- }
- }
- function grp_body_button11_onclick(obj:Button, e:ClickEventInfo)
- {
- if(grp_body.grp_calendar.opt_month.value!== "02") {
- fGetCalendar("02");
- }
- }
- function grp_body_button22_onclick(obj:Button, e:ClickEventInfo)
- {
- if(grp_body.grp_calendar.opt_month.value!== "06") {
- fGetCalendar("06");
- }
- }
- function grp_body_button12_onclick(obj:Button, e:ClickEventInfo)
- {
- if(grp_body.grp_calendar.opt_month.value!== "04") {
- fGetCalendar("04");
- }
- }
- function grp_body_button23_onclick(obj:Button, e:ClickEventInfo)
- {
- if(grp_body.grp_calendar.opt_month.value!== "07") {
- fGetCalendar("07");
- }
- }
- function grp_body_button13_onclick(obj:Button, e:ClickEventInfo)
- {
- if(grp_body.grp_calendar.opt_month.value!== "03") {
- fGetCalendar("03");
- }
- }
- function grp_body_button24_onclick(obj:Button, e:ClickEventInfo)
- {
- if(grp_body.grp_calendar.opt_month.value!== "08") {
- fGetCalendar("08");
- }
- }
- function PopupMenu00_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- eval(e.id + "()");
- }
- function PopupMenu01_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- eval(e.id + "()");
- }
- function PopupMenu02_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- eval(e.id + "()");
- }
- function PopupMenu03_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- eval(e.id + "()");
- }
- function lf_btn_Selected(btnId){
- if( utlf_isNull(btnId) ) return;
- for( var i = 1; i < 4; i++ ){
- if( i == btnId){
- var btnObj = grp_body.components["btn_case"+i];
- btnObj.setSelectStatus(true);
- btnObj.class = "btn_tab_S";
- }else{
- var btnObj = grp_body.components["btn_case"+i];
- btnObj.setSelectStatus(false);
- btnObj.class = "btn_tab";
- }
- }
- }
- function grp_body_btn_case1_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_btn_Selected(1);
- grp_body.group2.switch1.tabindex = 0;
- if(ds_send_data.getColumn(0,"selectexcuroom") == " ") {
- sysf_messageBox("검사실 선택되지 ", "E007");
- return;
- }
-
- //data 클리어
- dataClear();
-
- //상단정보 초기화
- appf_delPatientInfos();
-
-
- ds_send_data.setColumn(0,"srchpid","");
- var curDate = utlf_getCurrentDate().substr(0,8); //오늘날짜
- //환자Comment 환자정보 조회
- dsf_createDsRow("ds_send_tmp",
- [{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"ecgflag", val:ds_send_data.getColumn(0,"ecgflag")}
- ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
- ,{col:"memorgstdd", val:ds_send_data.getColumn(0,"rsrvdd")}
- ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
- ,{col:"orddd", val:ds_send_data.getColumn(0,"orddd")}
- ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"genrflag")}
- ,{col:"prcpcd", val:ds_send_data.getColumn(0,"prcpcd")}
- ,{col:"rsrvposs", val:ds_send_data.getColumn(0,"rsrvposs")}
- ,{col:"prcpno", val:ds_send_data.getColumn(0,"prcpno")}
- ,{col:"prcpdd", val:ds_send_data.getColumn(0,"prcpdd")}
- ,{col:"srchrsrvdt", val:ds_send_data.getColumn(0,"centyn")}
- ,{col:"execprcpuniqno", val:ds_send_data.getColumn(0,"execprcpuniqno")}
- ,{col:"cmtflag", val:""}
- ,{col:"memorgstddprcpdd", val:""}
- ]);
-
-
- //환자Comment 환자정보 조회
- var oParam = {};
- oParam.id = "TRAEA01114";
- oParam.service = "examcureacptexecapp.PatRem";
- oParam.method = "reqGetFuncPatRemList";
- oParam.inds = "reqparam=ds_send_tmp";
- oParam.outds = "ds_patrem_rem=grdAeahMemoList ds_patrem_examcureexecdiaglist=examcureexecdiaglist ds_patrem_selectpat=sltpatinfolist ds_patrem_isolinfo=patisolinfolist ds_patrem_prcpdeliveinfo=prcpdeliveinfolist ds_patrem_rsrvpossexcuroomlist=rsrvpossexcuroomlist";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01114";
- tranf_submit(oParam);
-
- grp_body.cpt_isolinfo.text = "";
- if (!utlf_isNull(ds_patrem_isolinfo.getColumn(0,"isoldispcd"))) {
- grp_body.cpt_isolinfo.text = "확인";
- }
-
- acptlistflag = "M";
- fGetExamCureAcptList();
-
- tabgubn = "M";
- }
- function grp_body_btn_case2_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_btn_Selected(2);
- grp_body.group2.switch1.tabindex = 1;
- if(ds_send_data.getColumn(0,"selectexcuroom") == " ") {
- sysf_messageBox("검사실 선택되지 ", "E007");
- return;
- }
-
- //data 클리어
- dataClear();
-
- //상단정보 초기화
- appf_delPatientInfos();
-
-
- var curDate = utlf_getCurrentDate().substr(0,8); //오늘날짜
- // ds_send_data.setColumn(0,"srchdate1",curDate);
- // ds_send_data.setColumn(0,"srchdate2",curDate);
- ds_send_data.setColumn(0,"srchpid","");
-
- //환자Comment 환자정보 조회
- dsf_createDsRow("ds_send_tmp",
- [{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"ecgflag", val:ds_send_data.getColumn(0,"ecgflag")}
- ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
- ,{col:"memorgstdd", val:ds_send_data.getColumn(0,"rsrvdd")}
- ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
- ,{col:"orddd", val:ds_send_data.getColumn(0,"orddd")}
- ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"genrflag")}
- ,{col:"prcpcd", val:ds_send_data.getColumn(0,"prcpcd")}
- ,{col:"rsrvposs", val:ds_send_data.getColumn(0,"rsrvposs")}
- ,{col:"prcpno", val:ds_send_data.getColumn(0,"prcpno")}
- ,{col:"prcpdd", val:ds_send_data.getColumn(0,"prcpdd")}
- ,{col:"srchrsrvdt", val:ds_send_data.getColumn(0,"centyn")}
- ,{col:"execprcpuniqno", val:ds_send_data.getColumn(0,"execprcpuniqno")}
- ,{col:"cmtflag", val:""}
- ,{col:"memorgstddprcpdd", val:""}
- ]);
-
-
- //환자Comment 환자정보 조회
- var oParam = {};
- oParam.id = "TRAEA01114";
- oParam.service = "examcureacptexecapp.PatRem";
- oParam.method = "reqGetFuncPatRemList";
- oParam.inds = "reqparam=ds_send_tmp";
- oParam.outds = "ds_patrem_rem=grdAeahMemoList ds_patrem_examcureexecdiaglist=examcureexecdiaglist ds_patrem_selectpat=sltpatinfolist ds_patrem_isolinfo=patisolinfolist ds_patrem_prcpdeliveinfo=prcpdeliveinfolist ds_patrem_rsrvpossexcuroomlist=rsrvpossexcuroomlist";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01114";
- tranf_submit(oParam);
-
- grp_body.cpt_isolinfo.text = "";
- if (!utlf_isNull(ds_patrem_isolinfo.getColumn(0,"isoldispcd"))) {
- grp_body.cpt_isolinfo.text = "확인";
- }
-
-
- acptlistflag = "T";
- fGetExamCureAcptList();
-
- tabgubn = "T";
- }
- function grp_body_btn_case3_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_btn_Selected(3);
- grp_body.group2.switch1.tabindex = 2;
- if(ds_send_data.getColumn(0,"selectexcuroom") == " ") {
- sysf_messageBox("검사실 선택되지 ", "E007");
- return;
- }
-
- //data 클리어
- dataClear();
-
- //상단정보 초기화
- appf_delPatientInfos();
-
-
- var curDate = utlf_getCurrentDate().substr(0,8); //오늘날짜
-
- //환자Comment 환자정보 조회
- dsf_createDsRow("ds_send_tmp",
- [{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"ecgflag", val:""}
- ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
- ,{col:"memorgstdd", val:ds_send_data.getColumn(0,"rsrvdd")}
- ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
- ,{col:"orddd", val:ds_send_data.getColumn(0,"orddd")}
- ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"genrflag")}
- ,{col:"prcpcd", val:ds_send_data.getColumn(0,"inclprcpcd")}
- ,{col:"rsrvposs", val:ds_send_data.getColumn(0,"rsrvposs")}
- ,{col:"prcpno", val:ds_send_data.getColumn(0,"prcpno")}
- ,{col:"prcpdd", val:ds_send_data.getColumn(0,"prcpdd")}
- ,{col:"srchrsrvdt", val:""}
- ,{col:"execprcpuniqno", val:ds_send_data.getColumn(0,"execprcpuniqno")}
- ,{col:"cmtflag", val:""}
- ,{col:"memorgstddprcpdd", val:""}
- ]);
-
-
- //환자Comment 환자정보 조회
- var oParam = {};
- oParam.id = "TRAEA01114";
- oParam.service = "examcureacptexecapp.PatRem";
- oParam.method = "reqGetFuncPatRemList";
- oParam.inds = "reqparam=ds_send_tmp";
- oParam.outds = "ds_patrem_rem=grdAeahMemoList ds_patrem_examcureexecdiaglist=examcureexecdiaglist ds_patrem_selectpat=sltpatinfolist ds_patrem_isolinfo=patisolinfolist ds_patrem_prcpdeliveinfo=prcpdeliveinfolist ds_patrem_rsrvpossexcuroomlist=rsrvpossexcuroomlist";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01114";
- tranf_submit(oParam);
-
- grp_body.cpt_isolinfo.text = "";
- if (!utlf_isNull(ds_patrem_isolinfo.getColumn(0,"isoldispcd"))) {
- grp_body.cpt_isolinfo.text = "확인";
- }
-
-
- acptlistflag = "R";
- fGetExamCureAcptList();
-
- tabgubn="R";
- }
- function grp_body_grp_sea_cmb_selectexcuroom_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- ds_send_data.setColumn(0,"srchpid","");
-
- var ev = new ClickEventInfo;
- frmf_inputEnterKey("grp_body.grp_sea.btn_sea", "onclick", ev );
- ds_send_data.setColumn(0,"excuroomcd",ds_send_data.getColumn(0,"selectexcuroom"));
- initCalendar();
- setCurrentDate();
- getRsrvPossTm(grp_body.grd_calendar);
-
- //grdf_initGridStyle(grp_body.group5.grd_rsrvlist);
- //grdf_setRowStyle(grp_body.group5.grd_rsrvlist , "6" , "예약" , "statcd", "equal" );
- }
- function grp_body_group2_btn_acpt_onclick(obj:Button, e:ClickEventInfo)
- {
- var loopcnt="";
- var execncl="";
- var ds_grid;
- var grd;
- var execdd="";
- var schelistcnt = 1;
-
- if (grp_body.group2.switch1.tabindex == 0 ) {
- ds_grid = ds_grd_ordlist1;
- grd = ds_grd_ordlist1.rowcount;
-
- for(var i=0 ; i < ds_grd_ordlist1.rowcount ; i++) {
- if( ds_grd_ordlist1.getColumn(i,"check") == "1") {
-
- // 심혈관센타인 경우 접수 처리 추가 2009.02.09 김건기
- if(frmf_getMenuParam() == "C"){
- ds_grd_ordlist1.setColumn(i,"execbaseflag","E");
- } else {
- if (ds_grd_ordlist1.getColumn(i,"execbaseflag") != "A" ){
- sysf_messageBox("실시기준이 잘못","E005", "기준자료의 실시기준을 [접수]로 수정하여 주십시오!");
- return;
- }
- }
-
- if( !utlf_isNull(ds_grd_ordlist1.getColumn(i,"srchrsrvdt")) && (ds_grd_ordlist1.getColumn(i,"srchrsrvdt") > (utlf_getCurrentDate()+"999999") ) ){
- sysf_messageBox("미래예약은 접수","E001","예약일자를 당일로 변경 후 접수를 하십시오!");
- return;
- }
- if(ds_grd_ordlist1.getColumn(i,"execprcpstatcd") == "610" ){
- sysf_messageBox("실시완료 상태가","E005");
- return;
- }
- if(ds_grd_ordlist1.getColumn(i,"execprcpstatcd") > "610" ){
- sysf_messageBox("예비결과/최종결과 상태가","E005");
- return;
- }
- }
- }
- }
- if ( grp_body.group2.switch1.tabindex == 1 ) {
- ds_grid = ds_grd_ordlist4;
- grd = ds_grd_ordlist4.rowcount;
-
- for(var i=0 ; i < ds_grd_ordlist4.rowcount ; i++) {
- if( ds_grd_ordlist4.getColumn(i,"check") == "1") {
-
- // 심혈관센타인 경우 접수 처리 추가 2009.02.09 김건기
- if(frmf_getMenuParam() == "C"){
- ds_grd_ordlist4.setColumn(i,"execbaseflag","E");
- } else {
- if (ds_grd_ordlist4.getColumn(i,"execbaseflag") != "A" ){
- sysf_messageBox("실시기준이 잘못","E005", "기준자료의 실시기준을 [접수]로 수정하여 주십시오!");
- return;
- }
- }
-
- if( !utlf_isNull( ds_grd_ordlist4.getColumn(i,"srchrsrvdt")) && (ds_grd_ordlist4.getColumn(i,"srchrsrvdt") > (utlf_getCurrentDate()+"999999") ) ){
- sysf_messageBox("미래예약은 접수","E001","예약일자를 당일로 변경 후 접수를 하십시오!");
- return;
- }
- if(ds_grd_ordlist4.getColumn(i,"execprcpstatcd") == "610" ){
- sysf_messageBox("실시완료 상태가","E005");
- return;
- }
- if(ds_grd_ordlist4.getColumn(i,"execprcpstatcd") > "610" ){
- sysf_messageBox("예비결과/최종결과 상태가","E005");
- return;
- }
-
- }
- }
- }
- if (grp_body.group2.switch1.tabindex == 2 ) {
- ds_grid = ds_grd_ordlist6;
- grd = ds_grd_ordlist6.rowcount;
-
- for(var i=0 ; i < ds_grd_ordlist6.rowcount; i++) {
- if( ds_grd_ordlist6.getColumn(i,"check") == "1") {
-
- // 심혈관센타인 경우 접수 처리 추가 2009.02.09 김건기
- if(frmf_getMenuParam() == "C"){
- ds_grd_ordlist6.setColumn(i,"execbaseflag","E");
- } else {
- if (ds_grd_ordlist6.getColumn(i,"execbaseflag") != "A" ){
- sysf_messageBox("실시기준이 잘못","E005", "기준자료의 실시기준을 [접수]로 수정하여 주십시오!");
- return;
- }
- }
-
- if( !utlf_isNull(ds_grd_ordlist6.getColumn(i,"srchrsrvdt")) && (ds_grd_ordlist6.getColumn(i,"srchrsrvdt") > (utlf_getCurrentDate()+"999999") ) ){
- sysf_messageBox("미래예약은 접수","E001","예약일자를 당일로 변경 후 실시하십시오!");
- return;
- }
- if(ds_grd_ordlist6.getColumn(i,"execprcpstatcd") == "610" ){
- sysf_messageBox("실시완료 상태가","E005");
- return;
- }
- if(ds_grd_ordlist6.getColumn(i,"execprcpstatcd") > "610" ){
- sysf_messageBox("예비결과/최종결과 상태가","E005");
- return;
- }
-
- }
- }
- }
- for( var i = 0 ; i < grd ; i++ ) {
- if (ds_grid.getColumn(i,"check") == "1" ) {
- loopcnt++;
- if( ds_grid.getColumn(i,"execdd") == utlf_getCurrentDate() )
- {
- sysf_messageBox("예약일자가 당일이 아닌 처방이 선택되었습니다.","Q003");
- return;
- }
-
- }
- }
- if ( loopcnt == 0 ) {
- sysf_messageBox("처방이 선택되지 ", "E007");
- return;
- }
- var grid ;
- if(tabgubn == "M" || tabgubn == "L" )
- {
- grdgubn = "grd_ordlist1";
- grid = "ds_grd_ordlist1";
- }
- if(tabgubn == "R")
- {
- grdgubn ="grd_ordlist6";
- grid = "ds_grd_ordlist6";
- }
- if(tabgubn == "T")
- {
- grdgubn = "grd_ordlist4";
- grid = "ds_grd_ordlist4";
- }
-
-
- //건진 맘모검사실일 경우 바코드
- if (grp_body.group2.switch1.tabindex == 0 ) {
- var pid =ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"pid");
- var hngnm = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"hngnm");
- var sna = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"sna");
- var orddeptnm = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"orddepthngnm");
- var prcpnm = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"prcpnm");
- }
- if (grp_body.group2.switch1.tabindex == 1) {
- var pid =ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"pid");
- var hngnm = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"hngnm");
- var sna = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"sna");
- var orddeptnm = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"orddepthngnm");
- var prcpnm = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"prcpnm");
- }
-
- var rtn = ExeAccept(tabgubn,grid);
-
- if(tabgubn == "M") {
- ds_send_data.setColumn(0,"srchpid","");
- acptlistflag=tabgubn;
- fGetExamCureAcptList(); // 전체처방
- }
- if(tabgubn == "R") {
- ds_send_data.setColumn(0,"srchpid","");
- acptlistflag=tabgubn;
- fGetExamCureAcptList(); // 미예약
- }
- if(tabgubn == "T") {
- ds_send_data.setColumn(0,"srchpid","");
- acptlistflag=tabgubn;
- fGetExamCureAcptList(); // 검사완료
- }
- if(tabgubn == "L") {
- acptlistflag=tabgubn;
- fGetExamCureAcptList(); // 이력
- }
-
- initCalendar();
- getRsrvPossTm(grp_body.grd_calendar);
- setCurrentDate();
-
- //grdf_initGridStyle(grp_body.group5.grd_rsrvlist);
- //grdf_setRowStyle("grd_rsrvlist" , "6" , "예약" , "statcd", "equal" );
- //data 클리어
- dataClear();
- }
- function grp_body_group2_btn_acptcncl_onclick(obj:Button, e:ClickEventInfo)
- {
- var loop;
- var check;
- var execprcpstatcd;
- var loopcnt="";
- var execncl="";
- var ds_grid;
- var grd;
- var execdd="";
- if (grp_body.group2.switch1.tabindex == 0 ) {
- ds_grid = ds_grd_ordlist1;
- grd = ds_grd_ordlist1.rowcount;
-
- for(var i=0 ; i < ds_grd_ordlist1.rowcount ; i++) {
- if( ds_grd_ordlist1.getColumn(i,"check") == "1") {
- if(ds_grd_ordlist1.getColumn(i,"execprcpstatcd") > "610" ){
- sysf_messageBox("예비결과/최종결과 상태가","E005");
- return;
- }
- // 심혈관센타인 경우 접수 처리 추가 2009.02.09 김건기
- if(frmf_getMenuParam() == "C"){
- ds_grd_ordlist1.setColumn(i,"execbaseflag","E");
- }
- }
- }
- }
- if ( grp_body.group2.switch1.tabindex == 1 ) {
- ds_grid = ds_grd_ordlist4;
- grd = ds_grd_ordlist4.rowcount;
-
- for(var i=0 ; i < ds_grd_ordlist4.rowcount ; i++) {
- if( ds_grd_ordlist4.getColumn(i,"check") == "1") {
- if(ds_grd_ordlist4.getColumn(i,"execprcpstatcd") > "610" ){
- sysf_messageBox("예비결과/최종결과 상태가","E005");
- return;
- }
- // 심혈관센타인 경우 접수 처리 추가 2009.02.09 김건기
- if(frmf_getMenuParam() == "C"){
- ds_grd_ordlist4.setColumn(i,"execbaseflag","E");
- }
- }
- }
- }
- if ( grp_body.group2.switch1.tabindex == 2 ) {
- ds_grid = ds_grd_ordlist6;
- grd = ds_grd_ordlist6.rowcount;
-
- for(var i=0 ; i < ds_grd_ordlist6.rowcount ; i++) {
- if( ds_grd_ordlist6.getColumn(i,"check") == "1") {
- if(ds_grd_ordlist6.getColumn(i,"execprcpstatcd") > "610" ){
- sysf_messageBox("예비결과/최종결과 상태가","E005");
- return;
- }
- // 심혈관센타인 경우 접수 처리 추가 2009.02.09 김건기
- if(frmf_getMenuParam() == "C"){
- ds_grd_ordlist6.setColumn(i,"execbaseflag","E");
- }
- }
- }
- }
- for( var i = 0 ; i <= grd ; i++ ) {
- check = ds_grid.getColumn(i,"check");
- if ( check == "1" ) {
- loopcnt++;
- if( ds_grid.getColumn(i,"execdd") == utlf_getCurrentDate() )
- {
- execdd++;
- }
-
- }
- }
- if ( loopcnt == 0 ) {
- sysf_messageBox("처방이 선택되지 ", "E007");
- return 0;
- }else {
- var grid ;
-
- if(tabgubn == "M" || tabgubn == "L" )
- {
- grdgubn = "grd_ordlist1";
- grid = "ds_grd_ordlist1";
- }
- if(tabgubn == "R")
- {
- grdgubn ="grd_ordlist6";
- grid = "ds_grd_ordlist6";
- }
- if(tabgubn == "T")
- {
- grdgubn = "grd_ordlist4";
- grid = "ds_grd_ordlist4";
- }
-
- ExeCncl(grid);
-
- if(tabgubn == "M") {
- ds_send_data.setColumn(0,"srchpid","");
- acptlistflag=tabgubn;
- fGetExamCureAcptList(); // 전체처방
- }
- if(tabgubn == "R") {
- ds_send_data.setColumn(0,"srchpid","");
- acptlistflag=tabgubn;
- fGetExamCureAcptList(); // 미예약
- }
- if(tabgubn == "T") {
- ds_send_data.setColumn(0,"srchpid","");
- acptlistflag=tabgubn;
- fGetExamCureAcptList(); // 검사완료
- }
- if(tabgubn == "L") {
- acptlistflag=tabgubn;
- fGetExamCureAcptList(); // 이력
- }
-
- initCalendar();
- getRsrvPossTm(grd_calendar);
- setCurrentDate();
- // grdf_initGridStyle(grp_body.group5.grd_rsrvlist);
- // grdf_setRowStyle("grd_rsrvlist" , "6" , "예약" , "statcd", "equal" );
- //data 클리어
- dataClear();
- }
- }
- function group4_btn_barcdprint_onclick(obj:Button, e:ClickEventInfo)
- {
-
- if ( grp_body.group2.switch1.tabindex == 0) {
-
- var pid = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"pid");
- var hngnm = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"hngnm");
- var sna = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"sna");
- var orddeptnm = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"orddepthngnm");
- var prcpnm = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"prcpnm");
-
- }
- if ( grp_body.group2.switch1.tabindex == 1 ) {
-
- var pid = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"pid");
- var hngnm = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"hngnm");
- var sna = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"sna");
- var orddeptnm = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"orddepthngnm");
- var prcpnm = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"prcpnm");
- }
- var sSndMsg = "";
- var sBcNo = "";
- var iprintcnt = 0;
- // Comm 설정
- CommAX.CommPort = ds_hidden_barprntinfo.getColumn(0,"comport"); // 출력 Port
- CommAX.Settings = ds_hidden_barprntinfo.getColumn(0,"setting"); // Comm 설정
- sSndMsg = "";
- //시작(X, Y)
- sSndMsg += lzzfBP_StartFormat(0, 0);
- // 바코드 : Code 128 포맷
- // BY[?1].[?2]^FO[?3],[?4] : 1[압축], 2[Normal]
- // ?1 [ 바코드 Width] : 1[압축], 2[Normal] : 압축하면 Normal의 1/2 사이즈. 단, 인식률이 떨어질수 있다.
- // ?2 [바코드 Height] : 1.0, 1.5 등
- // ?3 [Left Margin] : 정수
- // ?4 [Top Margin] : 정수
- // sSndMsg += "^BY1,2.5^FO" + "30" + "," + "200"; // 바코드 Width 조절
- // sSndMsg += "^BCN,50,N,N,N^FD" + model.getValue("/root/main/celltretdetl/celltretdetail[" + i + "]/cellbcno") + "^FS";
- //바코드
- sSndMsg += lzzfBP_ChangeFont("F", 130, 130);
- sSndMsg += lzzfBP_BarCode_Code39(10, 5, "N", 50, pid);
- //실제바코드내용
- sSndMsg += lzzfBP_ChangeFont("C", 10, 10);
- sSndMsg += lzzfBP_FieldDataA(30, 60, "*" + pid + "*");
- // 등록번호
- sSndMsg += lzzfBP_ChangeFont("C", 30, 30); // 폰트 설정
- sSndMsg += lzzfBP_FieldDataA(10, 100, pid);
- // 환자명
- sSndMsg += lf_CarePrintOutH(20, 180, 2, "Y", hngnm + " "+sna , "");
- //종료(매수)
- sSndMsg += lzzfBP_EndFormat();
- CommAX.SendMessage(sSndMsg);
-
- sSndMsg = "";
- var curdata = utlf_getCurrentDate().substr(2,6) ;
- var curtm = utlf_getCurrentTime().substr(0,4);
- //시작(X, Y)
- sSndMsg += lzzfBP_StartFormat(0, 0);
- // 등록번호
- //sSndMsg += fCarePrintOutH(5, 5, 2, "N", pid + " " + curdata + " " +"건진센타" , "");
- sSndMsg += lzzfBP_ChangeFont("C", 45, 15); // 폰트 설정
- sSndMsg += lzzfBP_FieldDataA(5, 5, pid +" "+ curdata + "-" + curtm );
- // 건진센터
- sSndMsg += lf_CarePrintOutH(480, 5, 2, "N", "건진센타" , "");
- //sSndMsg += lzzfBP_ChangeFont("C", 20, 20); // 폰트 설정
- // sSndMsg += lzzfBP_FieldDataA(5, 5, pid + " " + curdata + " " +"건 진 센 타");
- // 처방명
- //sSndMsg += fCarePrintOutH(5, 180, 1, "Y", prcpnm , "");
- sSndMsg += lzzfBP_ChangeFont("C", 40, 15);
- sSndMsg += lzzfBP_FieldDataA(5, 180, prcpnm);
- //종료(매수)
- sSndMsg += lzzfBP_EndFormat();
- CommAX.SendMessage(sSndMsg);
-
- //model.setValue("/root/hidden/Message", CommAX.Message);
- }
- function grp_body_group5_button12_onclick(obj:Button, e:ClickEventInfo)
- {
- if ( utlf_isNull(ds_send_data.getColumn(0,"srchpid")) ) {
- sysf_messageBox("등록번호", "E013");
- return
- }
- var oParam = {};
- oParam.id = "TRAEA01138";
- oParam.service = "examcurersrvapp.RsrvRef";
- oParam.method = "reqGetRsrvExcuList";
- oParam.inds = "req=ds_send_data";
- oParam.outds = "ds_printdata=data";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01138";
- tranf_submit(oParam);
-
- }
- function cf_TRAEA01138(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- if( !utlf_isNull(ds_printdata.getColumn(0,"pid"))) {
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "root/main/printinfo/printlist/printdata", ds_printdata);
- rptf_setValueToDOM(objDOM, "root/main/printinfo/printlist/instcd", sysf_getUserInfo("dutplceinstcd"))
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
- rptf_exeReportPreview30(["RPAEA00920"],[objParam], option);
-
- //model.removenode("/root/main/printinfo/printlist/instcd");
- } else {
- sysf_messageBox("예약", "E013");
- }
- }
- function grp_body_grp_sea_ipt_pid_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- var temppid = obj.value;
- grp_body.group2.switch1.tabindex = 0;
- obj.value = temppid;
- obj.updateToDataset();
- var ev = new ClickEventInfo;
- frmf_inputEnterKey("grp_body.grp_sea.btn_sea", "onclick", ev );
-
- //20200128 코로나 바이러스 추가
- fc_check_coronavirus();
-
-
- }
- }
- function grp_body_group5_button10_onclick(obj:Button, e:ClickEventInfo)
- {
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "root/main/totalrsrvlist/rsrvlist", ds_grd_rsrvlist);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
- rptf_exeReportPreview30(["RPAEA01104"],[objParam], option);
- }
- function grp_body_group2_Static00_onclick(obj:Static, e:ClickEventInfo)
- {
-
- }
- function grp_body_cmb_rsrvexcuroomcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- ds_send_data.setColumn(0,"excuroomcd", ds_send_data.getColumn(0,"rsrvpossexcuroomcd"));
- //2010.11.25 예약검사실 멀티선택된 처방 전부 셋팅 - 박재영
- //model.setValue("/root/main/ordlist1/mainordlist["+grd_ordlist1.selectedRow(grd_ordlist1.selectedRows-1)+"]/excuroomcd", model.getValue("/root/send/data/rsrvpossexcuroomcd"));
- setRsrvcureRoom();
- initCalendar();
- getRsrvPossTm(grd_calendar);
- setCurrentDate();
- }
- function grp_body_grp_sea_cmb_term_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
-
- obj.updateToDataset();
- if(ds_send_data.getColumn(0,"selectexcuroom") == " ") {
- sysf_messageBox("검사실 선택되지 ", "E007");
- return;
- }
-
- if(grp_body.grp_sea.cmb_term.value == "0" )
- {
- grp_body.grp_sea.ipt_date1.enable = true;
- grp_body.grp_sea.ipt_date2.enable = true;
-
- }
- else
- {
- var date2 = grp_body.grp_sea.ipt_date2.value;
- var term = grp_body.grp_sea.cmb_term.value;
- grp_body.grp_sea.ipt_date1.value = date2.getAddDate(-term,"D").getDateFormat("YYYYMMDD") ;
-
-
- grp_body.grp_sea.ipt_date1.enable = false;
- grp_body.grp_sea.ipt_date2.enable = false;
-
- }
- // if ( btn_case6.selected == true )
- // fGetExamCureAcptList("A"); // 미예약
- var ev = new ClickEventInfo;
- frmf_inputEnterKey("grp_body.grp_sea.btn_sea", "onclick", ev );
- }
- //=====================================================================================================================================================================================
- // @ 팝업메뉴 - 처방 상세 내역 조회
- //=====================================================================================================================================================================================
- function fOpenPrcpList() {
- var objArg = new Object();
- dsf_createDs("ds_temp_popupdata");
- if ( grp_body.group2.switch1.tabindex == 0 ) {
- dsf_copyColInfo(ds_temp_popupdata,ds_grd_ordlist1);
- ds_temp_popupdata.copyRow(ds_temp_popupdata.addRow(),ds_grd_ordlist1,ds_grd_ordlist1.rowposition);
- objArg.arg_ds_init_popupdata = ds_temp_popupdata;
-
- frmf_modal("SPAEA01102","SPAEA01102",objArg,"","","","","","","","","","M");
-
- } else if ( grp_body.group2.switch1.tabindex == 1 ) {
-
- dsf_copyColInfo(ds_temp_popupdata,ds_grd_ordlist4);
- ds_temp_popupdata.copyRow(ds_temp_popupdata.addRow(),ds_grd_ordlist4,ds_grd_ordlist4.rowposition);
- objArg.arg_ds_init_popupdata = ds_temp_popupdata;
-
- frmf_modal("SPAEA01102","SPAEA01102",objArg,"","","","","","","","","","M");
-
- } else if ( grp_body.group2.switch1.tabindex == 2 ) {
-
- dsf_copyColInfo(ds_temp_popupdata,ds_grd_ordlist6);
- ds_temp_popupdata.copyRow(ds_temp_popupdata.addRow(),ds_grd_ordlist4,ds_grd_ordlist6.rowposition);
- objArg.arg_ds_init_popupdata = ds_temp_popupdata;
-
- frmf_modal("SPAEA01102","SPAEA01102",objArg,"","","","","","","","","","M");
-
- }
- }
- //=====================================================================================================================================================================================
- // @ 팝업메뉴 - 시행부서처방링크
- //=====================================================================================================================================================================================
- function fOpenPopup() {
-
- appf_delPatientInfos();
- if ( grp_body.group2.switch1.tabindex == 0 ) {
-
- if ( ds_grd_ordlist1.rowposition < 0 ) {
- sysf_messageBox("처방을 ","C002");
- return "0";
- }else {
- lf_aezfAddPrcpMngt( grp_body.group2.switch1.case1.grd_ordlist1 , "/root/main/ordlist1/mainordlist");
- }
- }
-
- if ( grp_body.group2.switch1.tabindex == 1 ) {
-
- if ( ds_grd_ordlist4.rowposition < 0 ) {
- sysf_messageBox("처방을 ","C002");
- return "0";
- }else {
- lf_aezfAddPrcpMngt( grp_body.group2.switch1.case4.grd_ordlist4 , "/root/main/ordlist4/mainordlist");
- }
- }
- if ( group3.switch1.tabindex == 2) {
- if ( ds_grd_ordlist6.rowposition < 0 ) {
- sysf_messageBox("처방을 ","C002");
- return "0";
- }else {
- lf_aezfAddPrcpMngt( grp_body.group2.switch1.case2.grd_ordlist6 , "/root/main/ordlist6/mainordlist");
- }
- }
-
-
- }
- //=====================================================================================================================================================================================
- // @ 팝업메뉴 - 바코드출력 링크
- //=====================================================================================================================================================================================
- function fBarcodePrint() {
- //상단정보 초기화
- appf_delPatientInfos();
- dsf_createDsRow("ds_send_bardata",
- [{col:"regnopatnm", val:ds_patrem_selectpat.getColumn(0,"pid")}
- ,{col:"testdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ]);
- var objArg = new Object();
- objArg.arg_ds_hidden_SFlag = ds_send_bardata;
- frmf_modal("SMLLC00300","SMLLC00300",objArg,"","","","","","","","","","M");
-
- }
- function grp_body_group2_switch1_case1_grd_ordlist1_onselectchanged(obj:Grid, e:GridSelectEventInfo)
- {
- // //상단정보 초기화
- // appf_delPatientInfos();
- //
- // for ( var i = 0; i < ds_grd_ordlist1.rowcount; i++) {
- // ds_grd_ordlist1.setColumn(i,"check", "0");
- // }
- //
- // ds_grd_ordlist1.selectRow(e.row,true);
- // grd_ordlist1_selectedRows = grdf_getSelectedRows(grp_body.group2.switch1.case1.grd_ordlist1);
- // for ( var i =0 ; i< grd_ordlist1_selectedRows.length;i++){
- // ds_grd_ordlist1.setColumn(grd_ordlist1_selectedRows[i],"check", "1");
- // }
- //
- // //20130925 초음파급비변경에 따른 안내메시지
- // // 2013.10.01일자 적용. 중증,희귀난치성환자 + 초음파 검사
- //
- //
- // if(grd_ordlist1_selectedRows.length == 1 ){
- //
- //
- // //다른 검사실 선택시 달력조회
- // if( ds_send_data.getColumn(0,"excuroomcd") != ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"excuroomcd") ) {
- // ds_send_data.setColumn(0,"excuroomcd",ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"excuroomcd"));
- // initCalendar();
- // getRsrvPossTm(grp_body.grd_calendar);
- // setCurrentDate();
- // }
- //
- // //grdf_initGridStyle(grp_body.group5.grd_rsrvlist);
- //
- //
- // //예약가능검사실 콤보박스 세팅
- // var rsrvpossroomcd = ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"rsrvexcuroomposscd");
- //
- // //20140731 선택진료비 제도변경에 대한 알림메시지
- // //start
- // var pid = ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"pid");
- // var prcpdd = ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"prcpdd");
- // var execprcpuniqno = ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"execprcpuniqno");
- //
- // var execprcpstatcd = ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"execprcpstatcd");
- // if ( execprcpstatcd < "610" ) { //실시 미만
- // getPrcpRcptCheck("AST", pid, "","", prcpdd, execprcpuniqno );
- // }
- // //end
- //
- // //검사코멘트
- // var selectedRows = grdf_getSelectedRows(grp_body.group2.switch1.case1.grd_ordlist1);
- //
- //
- // //환자Comment 조회
- //
- // ds_send_data.setColumn(0,"srchpid",ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"pid"));
- // ds_send_data.setColumn(0,"orddd", ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"orddd"));
- // ds_send_data.setColumn(0,"cretno", ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"cretno"));
- // ds_send_data.setColumn(0,"genrflag", ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"prcpgenrflag"));
- // ds_send_data.setColumn(0,"prcpcd", ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"calcscorcd"));
- // ds_send_data.setColumn(0,"prcpno", ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"prcpno"));
- // ds_send_data.setColumn(0,"prcpdd", ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"prcpdd"));
- // ds_send_data.setColumn(0,"execprcpuniqno",ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"execprcpuniqno"));
- // ds_send_data.setColumn(0,"srchrsrvdt", ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"srchrsrvdt"));
- //
- //
- // //환자Comment 환자정보 조회
- // dsf_createDsRow("ds_send_tmp",
- // [{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- // ,{col:"ecgflag", val:ds_send_data.getColumn(0,"ecgflag")}
- // ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
- // ,{col:"memorgstdd", val:ds_send_data.getColumn(0,"rsrvdd")}
- // ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
- // ,{col:"orddd", val:ds_send_data.getColumn(0,"orddd")}
- // ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"genrflag")}
- // ,{col:"prcpcd", val:ds_send_data.getColumn(0,"prcpcd")}
- // ,{col:"rsrvposs", val:ds_send_data.getColumn(0,"rsrvposs")}
- // ,{col:"prcpno", val:ds_send_data.getColumn(0,"prcpno")}
- // ,{col:"prcpdd", val:ds_send_data.getColumn(0,"prcpdd")}
- // ,{col:"srchrsrvdt", val:ds_send_data.getColumn(0,"centyn")}
- // ,{col:"execprcpuniqno", val:ds_send_data.getColumn(0,"execprcpuniqno")}
- // ,{col:"cmtflag", val:""}
- // ,{col:"memorgstddprcpdd", val:""}
- // ]);
- //
- //
- // //환자Comment 환자정보 조회
- // var oParam = {};
- // oParam.id = "TRAEA01114";
- // oParam.service = "examcureacptexecapp.PatRem";
- // oParam.method = "reqGetFuncPatRemList";
- // oParam.inds = "reqparam=ds_send_tmp";
- // oParam.outds = "ds_patrem_rem=grdAeahMemoList ds_patrem_examcureexecdiaglist=examcureexecdiaglist ds_patrem_selectpat=sltpatinfolist ds_patrem_isolinfo=patisolinfolist ds_patrem_prcpdeliveinfo=prcpdeliveinfolist ds_patrem_rsrvpossexcuroomlist=rsrvpossexcuroomlist";
- // oParam.async = false;
- // oParam.callback = "cf_TRAEA01114";
- //
- // tranf_submit(oParam);
- //
- // grp_body.cpt_isolinfo.text = "";
- // if (!utlf_isNull(ds_patrem_isolinfo.getColumn(0,"isoldispcd"))) {
- // grp_body.cpt_isolinfo.text = "확인";
- // }
- //
- // //상단정보가져오기 2012.06.22 by kya
- // fTopInfo();
- // //치료부위, 위치 조회 20130812 kya
- // var i = ds_grd_ordlist1.rowposition;
- // var prcpdirecnm = ds_grd_ordlist1.getColumn(i,"rehbprcpcurepartnm") + "/" + ds_grd_ordlist1.getColumn(i,"prcpdirecnm")
- // var prcpdelivefact = ds_patrem_prcpdeliveinfo.getColumn(0,"prcpdelivefact");
- //
- // ds_patrem_prcpdeliveinfo.setColumn(0,"prcpdelivefact" ,prcpdelivefact + " [ " + prcpdirecnm + " ] ");
- //
- //
- // sysf_setGlobalVariable("gv_pid", ds_send_data.getColumn(0,"srchpid"), "A"); //등록번호 넘기기
- // grp_body.cmb_rsrvexcuroomcd.index = 0;
- //
- // }else {
- // //상단정보 초기화
- // appf_delPatientInfos();
- // }
-
- }
- function grp_body_group2_switch1_case4_grd_ordlist4_onselectchanged(obj:Grid, e:GridSelectEventInfo)
- {
- // //상단정보 초기화
- // appf_delPatientInfos();
- //
- // for ( var i = 0; i < ds_grd_ordlist4.rowcount; i++) {
- // ds_grd_ordlist4.setColumn(i, "check", "0");
- // }
- //
- // var selectedRows = grdf_getSelectedRows(grp_body.group2.switch1.case4.grd_ordlist4);
- //
- // for ( var i =0 ; i< selectedRows.length;i++){
- // ds_grd_ordlist4.setColumn(selectedRows[i],"check", "1");
- // }
- //
- // if(selectedRows.length == 1 ){
- // //다른 검사실 선택시 달력조회
- // if( ds_send_data.getColumn(0,"excuroomcd") != ds_grd_ordlist4.getColumn(selectedRows[0],"excuroomcd") ) {
- // ds_send_data.setColumn(0,"excuroomcd",ds_grd_ordlist4.getColumn(selectedRows[0],"excuroomcd"));
- // initCalendar();
- // getRsrvPossTm(grp_body.grd_calendar);
- // setCurrentDate();
- //
- // //grdf_initGridStyle(grp_body.group5.grd_rsrvlist);
- //
- // }
- //
- // //20140731 선택진료비 제도변경에 대한 알림메시지
- // //start
- // var pid = ds_grd_ordlist4.getColumn(selectedRows[0],"pid");
- // var prcpdd = ds_grd_ordlist4.getColumn(selectedRows[0],"prcpdd");
- // var execprcpuniqno = ds_grd_ordlist4.getColumn(selectedRows[0],"execprcpuniqno");
- // var execprcpstatcd = ds_grd_ordlist4.getColumn(selectedRows[0],"execprcpstatcd");
- // if ( execprcpstatcd < "610" ) { //실시 미만
- // getPrcpRcptCheck("AST", pid, "","", prcpdd, execprcpuniqno );
- // }
- // //end
- //
- // //처방Comment
- // //model.setValue("/root/hidden/comment1/prcpdelivefact", model.getValue("/root/main/ordlist4/mainordlist["+grd_ordlist4.selectedRow(grd_ordlist4.selectedRows-1)+"]/prcpdelivefact"));
- // //검사코멘트
- //
- // //환자Comment 조회
- //
- // ds_send_data.setColumn(0,"srchpid",ds_grd_ordlist4.getColumn(selectedRows[0],"pid"));
- // ds_send_data.setColumn(0,"orddd", ds_grd_ordlist4.getColumn(selectedRows[0],"orddd"));
- // ds_send_data.setColumn(0,"genrflag", ds_grd_ordlist4.getColumn(selectedRows[0],"prcpgenrflag"));
- // ds_send_data.setColumn(0,"prcpno", ds_grd_ordlist4.getColumn(selectedRows[0],"prcpno"));
- // ds_send_data.setColumn(0,"prcpdd", ds_grd_ordlist4.getColumn(selectedRows[0],"prcpdd"));
- // ds_send_data.setColumn(0,"execprcpuniqno", ds_grd_ordlist4.getColumn(selectedRows[0],"execprcpuniqno"));
- // ds_send_data.setColumn(0,"srchrsrvdt", ds_grd_ordlist4.getColumn(selectedRows[0],"srchrsrvdt"));
- //
- // //2009-07-13 환자Comment - 처방일자별 환자 Comment 관리 요청 - 기능검사 ITC 임성재 샘 요청(요청번호:2041)
- // if (prcpddyn == "Y" ) {
- // ds_send_data.setColumn(0,"memorgstddprcpdd", ds_grd_ordlist4.getColumn(selectedRows[0],"prcpdd"));
- // }
- //
- // //환자Comment 환자정보 조회
- // dsf_createDsRow("ds_send_tmp",
- // [{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- // ,{col:"ecgflag", val:ds_send_data.getColumn(0,"ecgflag")}
- // ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
- // ,{col:"memorgstdd", val:ds_send_data.getColumn(0,"rsrvdd")}
- // ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
- // ,{col:"orddd", val:ds_send_data.getColumn(0,"orddd")}
- // ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"genrflag")}
- // ,{col:"prcpcd", val:ds_send_data.getColumn(0,"prcpcd")}
- // ,{col:"rsrvposs", val:ds_send_data.getColumn(0,"rsrvposs")}
- // ,{col:"prcpno", val:ds_send_data.getColumn(0,"prcpno")}
- // ,{col:"prcpdd", val:ds_send_data.getColumn(0,"prcpdd")}
- // ,{col:"srchrsrvdt", val:ds_send_data.getColumn(0,"centyn")}
- // ,{col:"execprcpuniqno", val:ds_send_data.getColumn(0,"execprcpuniqno")}
- // ,{col:"cmtflag", val:""}
- // ,{col:"memorgstddprcpdd", val:""}
- // ]);
- //
- //
- // //환자Comment 환자정보 조회
- // var oParam = {};
- // oParam.id = "TRAEA01114";
- // oParam.service = "examcureacptexecapp.PatRem";
- // oParam.method = "reqGetFuncPatRemList";
- // oParam.inds = "reqparam=ds_send_tmp";
- // oParam.outds = "ds_patrem_rem=grdAeahMemoList ds_patrem_examcureexecdiaglist=examcureexecdiaglist ds_patrem_selectpat=sltpatinfolist ds_patrem_isolinfo=patisolinfolist ds_patrem_prcpdeliveinfo=prcpdeliveinfolist ds_patrem_rsrvpossexcuroomlist=rsrvpossexcuroomlist";
- // oParam.async = false;
- // oParam.callback = "cf_TRAEA01114";
- //
- // tranf_submit(oParam);
- //
- // grp_body.cpt_isolinfo.text = "";
- // if (!utlf_isNull(ds_patrem_isolinfo.getColumn(0,"isoldispcd"))) {
- // grp_body.cpt_isolinfo.text = "확인";
- // }
- //
- // //2012.06.22 상단정보올리기 by kya
- // fTopInfo();
- // //치료부위, 위치 조회 20130812 kya
- // var i = ds_grd_ordlist4.rowposition;
- // var prcpdirecnm = ds_grd_ordlist4.getColumn(i,"rehbprcpcurepartnm") + "/" + ds_grd_ordlist4.getColumn(i,"prcpdirecnm")
- // var prcpdelivefact = ds_patrem_prcpdeliveinfo.getColumn(0,"prcpdelivefact");
- //
- // ds_patrem_prcpdeliveinfo.setColumn(0,"prcpdelivefact" ,prcpdelivefact + " [ " + prcpdirecnm + " ] ");
- // sysf_setGlobalVariable("gv_pid", ds_send_data.getColumn(0,"srchpid"), "A"); //등록번호 넘기기
- //
- //
- //
- // }else {
- // //상단정보 초기화
- // appf_delPatientInfos();
- // }
- }
- function grp_body_group2_switch1_case6_grd_ordlist6_onselectchanged(obj:Grid, e:GridSelectEventInfo)
- {
- // //상단정보 초기화
- // appf_delPatientInfos();
- //
- // for ( var i = 0; i < ds_grd_ordlist6.rowcount; i++) {
- // ds_grd_ordlist6.setColumn(i, "check", "0");
- // }
- //
- // var selectedRows = grdf_getSelectedRows(grp_body.group2.switch1.case6.grd_ordlist6);
- //
- // for ( var i =0 ; i< selectedRows.length;i++){
- // ds_grd_ordlist6.setColumn(selectedRows[i],"check", "1");
- // }
- //
- // if(selectedRows.length == 1 ){
- //
- // //20140731 선택진료비 제도변경에 대한 알림메시지
- // //start
- // var pid = ds_grd_ordlist6.getColumn(selectedRows[0],"pid");
- // var prcpdd = ds_grd_ordlist6.getColumn(selectedRows[0],"prcpdd");
- // var execprcpuniqno = ds_grd_ordlist6.getColumn(selectedRows[0],"execprcpuniqno");
- //
- // var execprcpstatcd = ds_grd_ordlist6.getColumn(selectedRows[0],"execprcpstatcd");
- // // if ( execprcpstatcd < "610" ) { //실시 미만
- // getPrcpRcptCheck("AST", pid, "","", prcpdd, execprcpuniqno );
- // // }
- //
- // //end
- //
- // //처방Comment
- // // model.setValue("/root/hidden/comment1/prcpdelivefact", model.getValue("/root/main/ordlist6/mainordlist["+grd_ordlist6.selectedRow(grd_ordlist6.selectedRows-1)+"]/prcpdelivefact"));
- // //검사코멘트
- //
- // //환자Comment 조회
- // ds_send_data.setColumn(0,"excuroomcd",ds_grd_ordlist6.getColumn(selectedRows[0],"excuroomcd"));
- // ds_send_data.setColumn(0,"srchpid",ds_grd_ordlist6.getColumn(selectedRows[0],"pid"));
- // ds_send_data.setColumn(0,"orddd", ds_grd_ordlist6.getColumn(selectedRows[0],"orddd"));
- // ds_send_data.setColumn(0,"cretno", ds_grd_ordlist6.getColumn(selectedRows[0],"cretno"));
- // ds_send_data.setColumn(0,"genrflag", ds_grd_ordlist6.getColumn(selectedRows[0],"prcpgenrflag"));
- // ds_send_data.setColumn(0,"prcpno", ds_grd_ordlist6.getColumn(selectedRows[0],"prcpno"));
- // ds_send_data.setColumn(0,"prcpdd", ds_grd_ordlist6.getColumn(selectedRows[0],"prcpdd"));
- // ds_send_data.setColumn(0,"execprcpuniqno", ds_grd_ordlist6.getColumn(selectedRows[0],"execprcpuniqno"));
- // ds_send_data.setColumn(0,"srchrsrvdt", ds_grd_ordlist6.getColumn(selectedRows[0],"srchrsrvdt"));
- //
- // //환자Comment 환자정보 조회
- // dsf_createDsRow("ds_send_tmp",
- // [{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- // ,{col:"ecgflag", val:ds_send_data.getColumn(0,"ecgflag")}
- // ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
- // ,{col:"memorgstdd", val:ds_send_data.getColumn(0,"rsrvdd")}
- // ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
- // ,{col:"orddd", val:ds_send_data.getColumn(0,"orddd")}
- // ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"genrflag")}
- // ,{col:"prcpcd", val:ds_send_data.getColumn(0,"prcpcd")}
- // ,{col:"rsrvposs", val:ds_send_data.getColumn(0,"rsrvposs")}
- // ,{col:"prcpno", val:ds_send_data.getColumn(0,"prcpno")}
- // ,{col:"prcpdd", val:ds_send_data.getColumn(0,"prcpdd")}
- // ,{col:"srchrsrvdt", val:ds_send_data.getColumn(0,"centyn")}
- // ,{col:"execprcpuniqno", val:ds_send_data.getColumn(0,"execprcpuniqno")}
- // ,{col:"cmtflag", val:""}
- // ,{col:"memorgstddprcpdd", val:""}
- // ]);
- //
- //
- // //환자Comment 환자정보 조회
- // var oParam = {};
- // oParam.id = "TRAEA01114";
- // oParam.service = "examcureacptexecapp.PatRem";
- // oParam.method = "reqGetFuncPatRemList";
- // oParam.inds = "reqparam=ds_send_tmp";
- // oParam.outds = "ds_patrem_rem=grdAeahMemoList ds_patrem_examcureexecdiaglist=examcureexecdiaglist ds_patrem_selectpat=sltpatinfolist ds_patrem_isolinfo=patisolinfolist ds_patrem_prcpdeliveinfo=prcpdeliveinfolist ds_patrem_rsrvpossexcuroomlist=rsrvpossexcuroomlist";
- // oParam.async = false;
- // oParam.callback = "cf_TRAEA01114";
- //
- // tranf_submit(oParam);
- //
- // grp_body.cpt_isolinfo.text = "";
- // if (!utlf_isNull(ds_patrem_isolinfo.getColumn(0,"isoldispcd"))) {
- // grp_body.cpt_isolinfo.text = "확인";
- // }
- //
- // //치료부위, 위치 조회 20130812 kya
- // var i = ds_grd_ordlist6.rowposition;
- // var prcpdirecnm = ds_grd_ordlist6.getColumn(i,"rehbprcpcurepartnm") + "/" + ds_grd_ordlist6.getColumn(i,"prcpdirecnm")
- // var prcpdelivefact = ds_patrem_prcpdeliveinfo.getColumn(0,"prcpdelivefact");
- //
- // ds_patrem_prcpdeliveinfo.setColumn(0,"prcpdelivefact" ,prcpdelivefact + " [ " + prcpdirecnm + " ] ");
- // grp_body.cmb_rsrvexcuroomcd.index = 0;
- //
- //
- // }else {
- // //상단정보 초기화
- // appf_delPatientInfos();
- // }
- }
- function grp_body_cpt_isolinfo_ondblclick(obj:Button, e:MouseEventInfo)
- {
- grp_body.group2.group7.visible = true;
- }
- function cf_TRAEA01114(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- ds_patrem_rem.updateColID("memodesc","memo");
- ds_patrem_isolinfo.updateColID("etccnts","isoldispcd");
-
- if(ds_patrem_rem.rowcount == 0) ds_patrem_rem.addRow();
- if(ds_patrem_prcpdeliveinfo.rowcount == 0) ds_patrem_prcpdeliveinfo.addRow();
- }
- function grp_body_group2_switch1_datagrid_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row < 0) return;
-
- var selectedRows = grdf_getSelectedRows(obj);
-
- if(selectedRows.length < 2) return;
-
- appf_delPatientInfos();
-
- for (var i = 0; i < obj.rowcount; i++){
- objects[obj.binddataset].setColumn(i, "check", "0");
- }
-
- for (var i = 0; i < selectedRows.length; i++){
- objects[obj.binddataset].setColumn(selectedRows[i], "check", "1");
- }
- }
- function grp_body_group2_switch1_case1_grd_ordlist1_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- obj.updateToDataset(); //변경된 사항을 바로 적용받도록함. 2018.01.24 kya
-
- if(e.row < 0 || e.col < 0) return;
-
- obj.setFocus();
- grdf_setSelectedCell(obj, e);
-
-
- PopupMenu00.trackPopup(e.screenX,e.screenY);
-
- return true;
- }
- function grp_body_group2_switch1_case6_grd_ordlist6_onmousemove(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row > -1 && (e.col == obj.getBindCellIndex("body","specdrid") || e.col == obj.getBindCellIndex("body","excuroomcd") || e.col == obj.getBindCellIndex("body","rsrvid"))) obj.autoenter = "select";
- else obj.autoenter = "key";
- }
- function grp_body_group2_switch1_grid_onmousemove(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row > -1 && (e.col == obj.getBindCellIndex("body","specdrid") || e.col == obj.getBindCellIndex("body","excuroomcd"))) obj.autoenter = "select";
- else obj.autoenter = "key";
- }
- function grp_body_group2_btn_inpt_onclick(obj:Button, e:ClickEventInfo)
- {
- //var topPamInfo = sysf_getGlobalVariable("paminfo");
- //if(!utlf_isNull(topPamInfo) && topPamInfo.length != 0) {
- // dsf_setCSVToDs("ds_temp_paminfo", topPamInfo);
- // sTopPid = ds_temp_paminfo.getColumn(0, "pid");
- //}
-
- //20180813 추가
- var srchpid = ds_send_data.getColumn(0,"srchpid");
- if (ds_send_data.rowcount < 0 || utlf_isNull(srchpid)) {
- sysf_messageBox("처방 선택 후 작업하시기 바랍니다.", "I000");
- return; // 외래환자일경우만
- }
-
-
- var statcd = ds_send_data.getColumn(0,"execprcpstatcd");
- if ( statcd < "610") {
- sysf_messageBox("처방실시 후 작업하시기 바랍니다.", "I000");
- return;
- }
-
- var genrflag = ds_send_data.getColumn(0,"genrflag");
- if ( utlf_isNull(genrflag) || genrflag != "O" ) {
- sysf_messageBox("입실퇴실관리는 수면다원검사 외래환자만 가능합니다." , "I000");
- return; // 외래환자일경우만
- }
- frmf_setParameter('SMPMI00101_PID', appf_getPatientId() ); // 등록번호
- frmf_setParameter('SMPMI00101_FLAG', "T"); // 검사실은 ‘T’로 보내주세요
- // 입실퇴실관리화면 연동
- frmf_modal("SMPMI00101", "SMPMI00101", '', "", '', '', '', "", "", "", "", "", "M");
- }
- function grp_body_group2_btn_directsms_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_hidden_sms.clearData();
-
- var pid = ds_patrem_selectpat.getColumn(0, "pid");
- var hngnm = ds_patrem_selectpat.getColumn(0,"hngnm");
- var hosp = "";
-
- if (sysf_getUserInfo("dutplceinstcd") == "031") {
- hosp = "경북대병원";
- } else if (sysf_getUserInfo("dutplceinstcd") == "032") {
- hosp = "칠곡경북대병원";
- } else if (sysf_getUserInfo("dutplceinstcd") == "033") {
- hosp = "경북대치과병원";
- }
-
- var ds_ordlist ;
-
-
- if ( grp_body.group2.switch1.tabindex == 0 ) { // 전체처방
- ds_ordlist = ds_grd_ordlist1;
- idx = ds_grd_ordlist1.rowposition;
- }
- if (grp_body.group2.switch1.tabindex == 3 ) { // 대상자조회
- ds_ordlist = ds_grd_ordlist3;
- idx = ds_grd_ordlist3.rowposition;
- }
- if (grp_body.group2.switch1.tabindex == 2 ) { // 미예약
- ds_ordlist = ds_grd_ordlist6;
- idx = ds_grd_ordlist6.rowposition;
- }
-
-
- var idx = 0;
- for (var i = 0; i < ds_ordlist.rowcount; i++) {
-
- if (ds_ordlist.getColumn(i, "check") != 1 ) {
- continue;
- }
-
- if (ds_ordlist.getColumn(i, "statcd") != "예약" ) {
- sysf_messageBox("예약인 경우에만 문자전송이 가능합니다.", "E999");
- return;
- }
-
- idx++;
-
- var idx = ds_hidden_sms.addRow();
-
- ds_hidden_sms.setColumn(idx, "orddeptcd", ds_ordlist.getColumn(i, "orddeptcd"));
-
- var rsrvdt = ds_ordlist.getColumn(i, "srchrsrvdt");
- var aftrcptinfo = ds_ordlist.getColumn(i, "aftrcptinfo");
- var roomnm = ds_ordlist.getColumn(i, "examroomnm").trim();
- var deptcd = ds_ordlist.getColumn(i, "orddeptcd");
-
- var msg = hosp + " "
- + hngnm
- + "(" + pid + ")님 "
- + rsrvdt.substr(4, 2) + "/" + rsrvdt.substr(6, 2)
- + ( aftrcptinfo == "A" ? " 수납후 방문 " : " 방문 " )
- + rsrvdt.substr(8, 2) + ":" + rsrvdt.substr(10, 2) + " "
- + roomnm;
-
- ds_hidden_sms.setColumn(idx, "msgcnts", msg);
- ds_hidden_sms.setColumn(idx, "orddeptcd", deptcd);
- }
-
- if (ds_hidden_sms.rowcount < 1) {
- sysf_messageBox("선택된 내역이 없습니다.", "E999");
- return;
- }
-
- div_directsms.visible = true;
- }
- function div_directsms_btn_closesms_onclick(obj:Button, e:ClickEventInfo)
- {
- div_directsms.visible = false;
- }
- function div_directsms_btn_sendsms_onclick(obj:Button, e:ClickEventInfo)
- {
- if (sysf_messageBox("문자를 전송하시겠습니까?", "Q999") != 6) {
- return;
- }
-
- var pid = ds_patrem_selectpat.getColumn(0, "pid");
- trace("pid = " + pid);
-
- var hngnm = ds_patrem_selectpat.getColumn(0, "hngnm");
- var tel = ds_patrem_selectpat.getColumn(0, "mpphontel");
-
- for (var i = 0; i < ds_hidden_sms.rowcount; i++) {
- var msg = ds_hidden_sms.getColumn(i, "msgcnts");
- var deptcd = ds_hidden_sms.getColumn(i, "orddeptcd");
- fSmsSend(msg, pid, hngnm, tel, deptcd, "03");
- }
-
- sysf_messageBox("문자를 전송하였습니다.", "I999");
- }
- function grp_body_group2_switch1_case1_chk_ordall_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
- {
- if(e.postvalue == true)
- {
- for (var i = 0; i < ds_grd_ordlist1.rowcount; i ++){
- ds_grd_ordlist1.setColumn(i,"check", "1");
- }
- }
- else
- {
- for (var i = 0; i < ds_grd_ordlist1.rowcount; i ++){
- ds_grd_ordlist1.setColumn(i,"check", "0");
- }
- }
- }
- /****************************************************************************************
- * 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_send_data.getColumn(0, "srchpid");
- if (sPid == "" || utlf_isNull(sPid) ) return;
- 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");
- }
- }
- function grp_top_caption6_onclick(obj:Static, e:ClickEventInfo)
- {
- frmf_open("SMAER00010","SMAER00010", "", "", "" , "", "", "", "", "" , "", "","M");
- }
- ]]></Script>
- </Form>
- </FDL>
|