SMAEA01100_접수관리(기능검사).xfdl 448 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAEA01100" position="absolute 0 0 1204 795" titletext="접수관리(기능검사)" oninit="SMAEA01100_oninit" onload="SMAEA01100_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 763 1195 790" id="group4" scrollbars="autoboth" anchor="left right bottom">
  8. <Layouts>
  9. <Layout>
  10. <Button position="absolute 164 2 268 24" id="button1" class="btn3" text="예약시간관리" anchor="left bottom" onclick="group4_button1_onclick"/>
  11. <Button position="absolute 2 2 82 24" id="button14" class="btn3" text="결과조회" anchor="left bottom" onclick="group4_button14_onclick"/>
  12. <Button position="absolute 1079 1 1195 23" id="button30" class="btn4" text="검사OCR재출력" anchor="right" onclick="group4_button30_onclick"/>
  13. <Button position="absolute 605 2 685 24" id="button25" class="btn3" visible="false" text="통합예약" anchor="left bottom" onclick="group4_button25_onclick"/>
  14. <Button position="absolute 269 2 349 24" id="button2" class="btn3" text="진료예약" anchor="left bottom" onclick="group4_button2_onclick"/>
  15. <Button position="absolute 350 2 430 24" id="button4" class="btn3" text="처방조회" anchor="left bottom" onclick="group4_button4_onclick"/>
  16. <Button position="absolute 431 2 511 24" id="button5" class="btn3" text="예약조회" anchor="left bottom" onclick="group4_button5_onclick"/>
  17. <Button position="absolute 83 2 163 24" id="button9" class="btn3" text="결과서식" anchor="left bottom" onclick="group4_button9_onclick"/>
  18. <Button position="absolute 998 1 1078 23" id="btn_colchset" class="btn4" visible="true" text="컬럼순서" anchor="right" onclick="group4_btn_colchset_onclick"/>
  19. <Button position="absolute 512 2 604 24" id="button26" class="btn3" visible="true" text="프린터설정" anchor="left bottom" onclick="group4_button26_onclick"/>
  20. </Layout>
  21. </Layouts>
  22. </Div>
  23. <Div position="absolute 0 1 1195 761" id="grp_body" scrollbars="none" anchor="all">
  24. <Layouts>
  25. <Layout>
  26. <Button position="absolute 288 465 330 484" id="btn_tmprsrv" class="btn2" text="임시" anchor="left bottom" onclick="grp_body_btn_tmprsrv_onclick" taborder="14"/>
  27. <Combo position="absolute 287 441 335 460" id="cmb_hour" class="combo_default" codecolumn="codecolumn" datacolumn="datacolumn" anchor="left bottom" taborder="13">
  28. <Dataset id="innerdataset">
  29. <ColumnInfo>
  30. <Column id="codecolumn"/>
  31. <Column id="datacolumn"/>
  32. </ColumnInfo>
  33. <Rows>
  34. <Row>
  35. <Col id="codecolumn">--</Col>
  36. <Col id="datacolumn">--</Col>
  37. </Row>
  38. <Row>
  39. <Col id="codecolumn">08</Col>
  40. <Col id="datacolumn">08</Col>
  41. </Row>
  42. <Row>
  43. <Col id="codecolumn">09</Col>
  44. <Col id="datacolumn">09</Col>
  45. </Row>
  46. <Row>
  47. <Col id="codecolumn">10</Col>
  48. <Col id="datacolumn">10</Col>
  49. </Row>
  50. <Row>
  51. <Col id="codecolumn">11</Col>
  52. <Col id="datacolumn">11</Col>
  53. </Row>
  54. <Row>
  55. <Col id="codecolumn">12</Col>
  56. <Col id="datacolumn">12</Col>
  57. </Row>
  58. <Row>
  59. <Col id="codecolumn">13</Col>
  60. <Col id="datacolumn">13</Col>
  61. </Row>
  62. <Row>
  63. <Col id="codecolumn">14</Col>
  64. <Col id="datacolumn">14</Col>
  65. </Row>
  66. <Row>
  67. <Col id="codecolumn">15</Col>
  68. <Col id="datacolumn">15</Col>
  69. </Row>
  70. <Row>
  71. <Col id="codecolumn">16</Col>
  72. <Col id="datacolumn">16</Col>
  73. </Row>
  74. <Row>
  75. <Col id="codecolumn">17</Col>
  76. <Col id="datacolumn">17</Col>
  77. </Row>
  78. <Row>
  79. <Col id="codecolumn">18</Col>
  80. <Col id="datacolumn">18</Col>
  81. </Row>
  82. <Row>
  83. <Col id="codecolumn">19</Col>
  84. <Col id="datacolumn">19</Col>
  85. </Row>
  86. <Row>
  87. <Col id="codecolumn">20</Col>
  88. <Col id="datacolumn">20</Col>
  89. </Row>
  90. <Row>
  91. <Col id="codecolumn">21</Col>
  92. <Col id="datacolumn">21</Col>
  93. </Row>
  94. <Row>
  95. <Col id="codecolumn">22</Col>
  96. <Col id="datacolumn">22</Col>
  97. </Row>
  98. <Row>
  99. <Col id="codecolumn">23</Col>
  100. <Col id="datacolumn">23</Col>
  101. </Row>
  102. <Row>
  103. <Col id="codecolumn">24</Col>
  104. <Col id="datacolumn">24</Col>
  105. </Row>
  106. </Rows>
  107. </Dataset>
  108. </Combo>
  109. <Static text="시" position="absolute 335 441 355 461" id="caption9" anchor="left bottom"/>
  110. <Combo position="absolute 356 441 404 460" id="cmb_min" class="combo_default" codecolumn="codecolumn" datacolumn="datacolumn" anchor="left bottom" taborder="12">
  111. <Dataset id="innerdataset">
  112. <ColumnInfo>
  113. <Column id="codecolumn"/>
  114. <Column id="datacolumn"/>
  115. </ColumnInfo>
  116. <Rows>
  117. <Row>
  118. <Col id="codecolumn">--</Col>
  119. <Col id="datacolumn">--</Col>
  120. </Row>
  121. <Row>
  122. <Col id="codecolumn">00</Col>
  123. <Col id="datacolumn">00</Col>
  124. </Row>
  125. <Row>
  126. <Col id="codecolumn">10</Col>
  127. <Col id="datacolumn">10</Col>
  128. </Row>
  129. <Row>
  130. <Col id="codecolumn">20</Col>
  131. <Col id="datacolumn">20</Col>
  132. </Row>
  133. <Row>
  134. <Col id="codecolumn">30</Col>
  135. <Col id="datacolumn">30</Col>
  136. </Row>
  137. <Row>
  138. <Col id="codecolumn">40</Col>
  139. <Col id="datacolumn">40</Col>
  140. </Row>
  141. <Row>
  142. <Col id="codecolumn">50</Col>
  143. <Col id="datacolumn">50</Col>
  144. </Row>
  145. </Rows>
  146. </Dataset>
  147. </Combo>
  148. <Static text="분" position="absolute 405 441 425 461" id="caption10" anchor="left bottom"/>
  149. <Button position="absolute 376 465 418 484" id="btn_rsrvcncl" class="btn2" text="취소" anchor="left bottom" onclick="grp_body_btn_rsrvcncl_onclick" taborder="11"/>
  150. <Div position="absolute 0 24 505 84" align="align:center top;" id="grp_sea" anchor="left top right" taborder="10" class="div_SA">
  151. <Layouts>
  152. <Layout>
  153. <Static text="등록번호 :" position="absolute 313 35 404 52" id="caption1" class="search_name" anchor="default"/>
  154. <Button position="absolute 481 35 497 51" id="button61" class="icon_search" text="" anchor="default" onclick="grp_body_grp_sea_button61_onclick" taborder="8"/>
  155. <Static text="적용일자 : " position="absolute 5 8 96 25" id="caption5" class="search_name" anchor="default"/>
  156. <Calendar position="absolute 92 8 182 27" id="ipt_date1" class="input_default" anchor="default" autoselect="true" autoskip="true" taborder="0" dateformat="yyyy-MM-dd" value="null"/>
  157. <Calendar position="absolute 194 8 284 27" id="ipt_date2" class="input_default" anchor="default" autoselect="true" taborder="1" dateformat="yyyy-MM-dd"/>
  158. <Button position="absolute 441 7 497 29" id="btn_sea" class="btn1" text="조회" anchor="default" onclick="grp_body_grp_sea_btn_sea_onclick" ondblclick="grp_body_grp_sea_btn_sea_ondblclick" taborder="7"/>
  159. <Static text="검사실 :" position="absolute 5 34 85 51" id="caption13" class="search_name" anchor="default"/>
  160. <Static text="~" position="absolute 182 11 197 26" id="caption14" anchor="default"/>
  161. <Combo position="absolute 286 8 366 27" id="cmb_term" class="combo_default" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" taborder="6" onitemchanged="grp_body_grp_sea_cmb_term_onitemchanged">
  162. <Dataset id="innerdataset">
  163. <ColumnInfo>
  164. <Column id="codecolumn" size="256"/>
  165. <Column id="datacolumn" size="256"/>
  166. </ColumnInfo>
  167. <Rows>
  168. <Row>
  169. <Col id="codecolumn">0</Col>
  170. <Col id="datacolumn">일자선택</Col>
  171. </Row>
  172. <Row>
  173. <Col id="codecolumn">15</Col>
  174. <Col id="datacolumn">15일</Col>
  175. </Row>
  176. <Row>
  177. <Col id="codecolumn">30</Col>
  178. <Col id="datacolumn">30일</Col>
  179. </Row>
  180. <Row>
  181. <Col id="codecolumn">60</Col>
  182. <Col id="datacolumn">60일</Col>
  183. </Row>
  184. <Row>
  185. <Col id="codecolumn">91</Col>
  186. <Col id="datacolumn">3개월</Col>
  187. </Row>
  188. <Row>
  189. <Col id="codecolumn">182</Col>
  190. <Col id="datacolumn">6개월</Col>
  191. </Row>
  192. <Row>
  193. <Col id="codecolumn">365</Col>
  194. <Col id="datacolumn">1년</Col>
  195. </Row>
  196. <Row>
  197. <Col id="codecolumn">730</Col>
  198. <Col id="datacolumn">2년</Col>
  199. </Row>
  200. <Row>
  201. <Col id="codecolumn">1095</Col>
  202. <Col id="datacolumn">3년</Col>
  203. </Row>
  204. <Row>
  205. <Col id="codecolumn">1825</Col>
  206. <Col id="datacolumn">5년</Col>
  207. </Row>
  208. </Rows>
  209. </Dataset>
  210. </Combo>
  211. <Edit position="absolute 400 35 479 54" id="ipt_pid" class="input_search" anchor="default" taborder="5" onkeydown="grp_body_grp_sea_ipt_pid_onkeydown"/>
  212. <CheckBox position="absolute 370 10 425 25" id="chk_focus" class="checkbox_search" anchor="default" text="포커스" truevalue="Y" falsevalue="N" value="N" onchanged="grp_body_grp_sea_chk_focus_onchanged" taborder="4"/>
  213. <Button position="absolute 287 34 303 50" id="btn_excuroom" class="icon_search" text="" anchor="default" onclick="grp_body_grp_sea_btn_excuroom_onclick" taborder="3"/>
  214. <Edit readonly="true" position="absolute 92 34 285 53" id="opt_excuroom" anchor="default" taborder="2" class="output"/>
  215. </Layout>
  216. </Layouts>
  217. </Div>
  218. <Div position="absolute 2 462 285 489" id="grp_calendar" scrollbars="autoboth" anchor="left bottom" taborder="9">
  219. <Layouts>
  220. <Layout>
  221. <Shape position="absolute 1 0 283 27" id="rectangle1" class="calendar_header" type="rectangle" anchor="left bottom"/>
  222. <Button position="absolute 238 6 254 22" id="button32" class="icon_next_year" text="" anchor="left bottom" onclick="grp_body_grp_calendar_button32_onclick"/>
  223. <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"/>
  224. <Button position="absolute 219 6 235 22" id="button34" class="icon_next_month" text="" anchor="left bottom" onclick="grp_body_grp_calendar_button34_onclick"/>
  225. <Edit readonly="true" position="absolute 97 3 138 22" id="opt_year" class="calendar_output" anchor="left bottom"/>
  226. <Edit readonly="true" position="absolute 158 3 188 22" id="opt_month" class="calendar_output" anchor="left bottom"/>
  227. <Static text="년" position="absolute 138 3 158 22" id="caption11" class="calendar_output" anchor="left bottom" style="color:black;"/>
  228. <Static text="월" position="absolute 188 3 208 22" id="caption12" class="calendar_output" anchor="left bottom" style="color:black;"/>
  229. <Button position="absolute 57 6 73 22" id="button3" class="icon_pre_year" text="" anchor="left bottom" onclick="grp_body_grp_calendar_button3_onclick"/>
  230. <Button position="absolute 15 6 29 22" id="button63" class="icon_list" text="" anchor="left bottom" onclick="grp_body_grp_calendar_button63_onclick"/>
  231. </Layout>
  232. </Layouts>
  233. </Div>
  234. <Grid position="absolute 580 521 755 691" id="grd_temp" visible="false" binddataset="ds_grd_temp" anchor="left bottom" taborder="8">
  235. <Formats>
  236. <Format id="default">
  237. <Columns>
  238. <Column size="76"/>
  239. <Column size="62"/>
  240. <Column size="32"/>
  241. </Columns>
  242. <Rows>
  243. <Row size="24" band="head"/>
  244. <Row size="24"/>
  245. </Rows>
  246. <Band id="head">
  247. <Cell text="일자(dd)"/>
  248. <Cell col="1" text="가용현황"/>
  249. <Cell col="2" text="max"/>
  250. </Band>
  251. <Band id="body">
  252. <Cell text="bind:rsrvdd"/>
  253. <Cell col="1" text="bind:count"/>
  254. <Cell col="2" text="bind:max"/>
  255. </Band>
  256. </Format>
  257. </Formats>
  258. </Grid>
  259. <Shape position="absolute 287 484 418 490" linetype="horizontal" id="line8" class="line_10" anchor="left bottom"/>
  260. <Grid position="absolute 287 489 418 756" id="grd_rsrvposstm" binddataset="ds_grd_rsrvposstm" anchor="left bottom" onrbuttondown="grp_body_grd_rsrvposstm_onrbuttondown" oncellclick="grp_body_grd_rsrvposstm_oncellclick" taborder="7">
  261. <Formats>
  262. <Format id="default">
  263. <Columns>
  264. <Column size="39"/>
  265. <Column size="36"/>
  266. <Column size="36"/>
  267. </Columns>
  268. <Rows>
  269. <Row size="24" band="head"/>
  270. <Row size="24"/>
  271. </Rows>
  272. <Band id="head">
  273. <Cell text="시간"/>
  274. <Cell col="1" text="현황"/>
  275. <Cell col="2" text="가용"/>
  276. </Band>
  277. <Band id="body">
  278. <Cell text="bind:rsrvtm" mask="##:##"/>
  279. <Cell col="1" text="bind:count"/>
  280. <Cell col="2" text="bind:max"/>
  281. </Band>
  282. </Format>
  283. </Formats>
  284. </Grid>
  285. <Button position="absolute 332 465 374 484" id="btn_rsrv" class="btn2" enable="false" text="예약" anchor="left bottom" onclick="grp_body_btn_rsrv_onclick" taborder="6"/>
  286. <Shape position="absolute 430 32 436 54" linetype="vertical" id="line13" class="line_4" anchor="default"/>
  287. <ActiveX position="absolute 40 576 160 671" id="rtfviewer" progid="{a4bf7e18-5f67-4868-a726-eed421632374}" visible="false" anchor="left bottom" taborder="4"/>
  288. <Button position="absolute 330 661 372 680" id="btn_rsrvtmins" class="btn2" visible="false" text="적용" anchor="left bottom" onclick="grp_body_btn_rsrvtmins_onclick" taborder="3"/>
  289. <Button position="absolute 330 636 372 655" id="btn_rsrvmodify" class="btn2" visible="false" text="수정" anchor="left bottom" onclick="grp_body_btn_rsrvmodify_onclick" taborder="2"/>
  290. <Button position="absolute 1177 8 1194 27" id="btn_upclear" class="icon_startend" text="" anchor="top right" onclick="grp_body_btn_upclear_onclick" taborder="1" style="background:@gradation URL('theme://images\icon_startend.gif');border:0 double #33bbbbff #effcfbff;"/>
  291. <Shape position="absolute 506 23 1195 29" linetype="horizontal" id="line7" class="line_10" anchor="top right"/>
  292. <Div id="div_info" taborder="20" position="absolute 506 28 1195 84" scrollbars="none" anchor="top right" class="div_SA2">
  293. <Layouts>
  294. <Layout>
  295. <Static id="caption17" text="등록번호" class="cell_1" position="absolute 2 4 62 27" anchor="default"/>
  296. <Edit id="input2" taborder="1" readonly="true" position="absolute 64 6 164 25" anchor="default" style="font:Dotum,11,bold;"/>
  297. <Static id="caption22" text="환자명" class="cell_1" position="absolute 167 4 227 27" anchor="default"/>
  298. <Edit id="input3" taborder="2" readonly="true" position="absolute 229 6 329 25" anchor="default" style="font:Dotum,11,bold;"/>
  299. <Static id="caption23" text="S/A" class="cell_1" position="absolute 332 4 375 27" anchor="default"/>
  300. <Edit id="input7" taborder="3" readonly="true" position="absolute 378 6 449 25" anchor="default" style="font:Dotum,9,bold;"/>
  301. <Static id="caption25" text="주민번호" class="cell_1" position="absolute 452 4 515 27" anchor="default"/>
  302. <Edit id="input9" taborder="4" readonly="true" position="absolute 518 6 642 25" anchor="default" style="font:Dotum,9,bold;"/>
  303. <Edit id="output3" taborder="5" readonly="true" position="absolute 645 6 685 25" anchor="default" oneditdblclick="grp_body_div_info_output3_oneditdblclick" style="font:Dotum,9,bold;"/>
  304. <Static id="caption21" text="연락처1" class="cell_1" position="absolute 2 28 62 51" anchor="default"/>
  305. <Edit id="input5" taborder="6" readonly="true" position="absolute 64 30 164 49" anchor="default" oneditdblclick="grp_body_div_info_input5_oneditdblclick" style="font:Dotum,9,bold;"/>
  306. <Static id="caption16" text="연락처2" class="cell_1" position="absolute 167 28 227 51" anchor="default"/>
  307. <Edit id="input6" taborder="7" readonly="true" position="absolute 229 30 329 49" anchor="default" oneditdblclick="grp_body_div_info_input6_oneditdblclick" style="font:Dotum,9,bold;"/>
  308. <Static id="caption24" text="주소" class="cell_1" position="absolute 332 28 375 51" anchor="default"/>
  309. <Edit id="input8" taborder="8" readonly="true" position="absolute 378 30 685 49" anchor="default" style="font:Dotum,9,bold;"/>
  310. </Layout>
  311. </Layouts>
  312. </Div>
  313. <Button id="button10" taborder="15" text="1" class="icon_month" visible="true" position="absolute 3 439 26 461" onclick="grp_body_button10_onclick" anchor="left bottom"/>
  314. <Button id="button11" taborder="16" text="2" class="icon_month" visible="true" position="absolute 26 439 49 461" onclick="grp_body_button11_onclick" anchor="left bottom"/>
  315. <Button id="button13" taborder="17" text="3" class="icon_month" visible="true" position="absolute 49 439 72 461" onclick="grp_body_button13_onclick" anchor="left bottom"/>
  316. <Button id="button12" taborder="18" text="4" class="icon_month" visible="true" position="absolute 72 439 95 461" onclick="grp_body_button12_onclick" anchor="left bottom"/>
  317. <Button id="button17" taborder="19" text="5" class="icon_month" visible="true" position="absolute 95 439 118 461" onclick="grp_body_button17_onclick" anchor="left bottom"/>
  318. <Button id="button22" taborder="21" text="6" class="icon_month" visible="true" position="absolute 118 439 141 461" onclick="grp_body_button22_onclick" anchor="left bottom"/>
  319. <Button id="button23" taborder="22" text="7" class="icon_month" visible="true" position="absolute 141 439 164 461" onclick="grp_body_button23_onclick" anchor="left bottom"/>
  320. <Button id="button24" taborder="23" text="8" class="icon_month" visible="true" position="absolute 164 439 187 461" onclick="grp_body_button24_onclick" anchor="left bottom"/>
  321. <Button id="button18" taborder="24" text="9" class="icon_month" visible="true" position="absolute 187 439 210 461" onclick="grp_body_button18_onclick" anchor="left bottom"/>
  322. <Button id="button19" taborder="25" text="10" class="icon_month" visible="true" position="absolute 210 439 233 461" onclick="grp_body_button19_onclick" anchor="left bottom"/>
  323. <Button id="button15" taborder="26" text="11" class="icon_month" visible="true" position="absolute 233 439 256 461" onclick="grp_body_button15_onclick" anchor="left bottom"/>
  324. <Button id="button16" taborder="27" text="12" class="icon_month" visible="true" position="absolute 256 439 279 461" onclick="grp_body_button16_onclick" anchor="left bottom"/>
  325. <Grid id="grd_calendar" class="gridcalendar" taborder="29" binddataset="ds_grid_grd_calendar" useinputpanel="false" selecttype="cell" autofittype="col,allrow" position="absolute 3 489 285 756" style="background:white;" onclick="grd_calendar_onclick" onselectchanged="grp_body_grd_calendar_onselectchanged" oncellclick="grp_body_grd_calendar_oncellclick" anchor="left bottom">
  326. <Formats>
  327. <Format id="default">
  328. <Columns>
  329. <Column size="61"/>
  330. <Column size="61"/>
  331. <Column size="61"/>
  332. <Column size="61"/>
  333. <Column size="61"/>
  334. <Column size="61"/>
  335. <Column size="61"/>
  336. </Columns>
  337. <Rows>
  338. <Row size="24" band="head"/>
  339. <Row size="24"/>
  340. <Row size="24"/>
  341. </Rows>
  342. <Band id="head">
  343. <Cell text="일"/>
  344. <Cell col="1" text="월"/>
  345. <Cell col="2" text="화"/>
  346. <Cell col="3" text="수"/>
  347. <Cell col="4" text="목"/>
  348. <Cell col="5" text="금"/>
  349. <Cell col="6" text="토"/>
  350. </Band>
  351. <Band id="body">
  352. <Cell rowspan="2" style="background:EXPR(!utlf_isNull(getColumn(currow,'sun_reglscheflag'))?getColumn(currow,'sun_reglscheflag'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'sun_reglscheflag'))?getColumn(currow,'sun_reglscheflag'):&quot;#ffffff&quot;);color:EXPR(getColumn(currow,'sun_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'sun_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" taborder="undefined">
  353. <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'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'sun_reglscheflag'))?getColumn(currow,'sun_reglscheflag'):&quot;#ffffff&quot;);color:crimson;color2:crimson;selectbackground:#daa7d9ff;" class="color_sun" text="bind:sun" taborder="undefined"/>
  354. <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'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'sun_reglscheflag'))?getColumn(currow,'sun_reglscheflag'):&quot;#ffffff&quot;);color:crimson;color2:crimson;selectbackground:#daa7d9ff;" class="color_sun" text="bind:sun_memo" taborder="undefined"/>
  355. </Cell>
  356. <Cell col="1" rowspan="2" style="background:EXPR(!utlf_isNull(getColumn(currow,'mon_reglscheflag'))?getColumn(currow,'mon_reglscheflag'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'mon_reglscheflag'))?getColumn(currow,'mon_reglscheflag'):&quot;#ffffff&quot;);color:EXPR(getColumn(currow,'mon_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'mon_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" taborder="undefined">
  357. <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'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'mon_reglscheflag'))?getColumn(currow,'mon_reglscheflag'):&quot;#ffffff&quot;);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"/>
  358. <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'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'mon_reglscheflag'))?getColumn(currow,'mon_reglscheflag'):&quot;#ffffff&quot;);selectbackground:#daa7d9ff;" text="bind:mon_memo" taborder="undefined"/>
  359. </Cell>
  360. <Cell col="2" rowspan="2" style="background:EXPR(!utlf_isNull(getColumn(currow,'tue_reglscheflag'))?getColumn(currow,'tue_reglscheflag'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'tue_reglscheflag'))?getColumn(currow,'tue_reglscheflag'):&quot;#ffffff&quot;);color:EXPR(getColumn(currow,'tue_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'tue_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" taborder="undefined">
  361. <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'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'tue_reglscheflag'))?getColumn(currow,'tue_reglscheflag'):&quot;#ffffff&quot;);color:EXPR(getColumn(currow,'tue_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'tue_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" text="bind:tue"/>
  362. <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'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'tue_reglscheflag'))?getColumn(currow,'tue_reglscheflag'):&quot;#ffffff&quot;);selectbackground:#daa7d9ff;" text="bind:tue_memo"/>
  363. </Cell>
  364. <Cell col="3" rowspan="2" style="background:EXPR(!utlf_isNull(getColumn(currow,'wed_reglscheflag'))?getColumn(currow,'wed_reglscheflag'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'wed_reglscheflag'))?getColumn(currow,'wed_reglscheflag'):&quot;#ffffff&quot;);color:EXPR(getColumn(currow,'wed_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'wed_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" taborder="undefined">
  365. <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'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'wed_reglscheflag'))?getColumn(currow,'wed_reglscheflag'):&quot;#ffffff&quot;);color:EXPR(getColumn(currow,'wed_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'wed_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" text="bind:wed"/>
  366. <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'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'wed_reglscheflag'))?getColumn(currow,'wed_reglscheflag'):&quot;#ffffff&quot;);selectbackground:#daa7d9ff;" text="bind:wed_memo"/>
  367. </Cell>
  368. <Cell col="4" rowspan="2" style="background:EXPR(!utlf_isNull(getColumn(currow,'thu_reglscheflag'))?getColumn(currow,'thu_reglscheflag'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'thu_reglscheflag'))?getColumn(currow,'thu_reglscheflag'):&quot;#ffffff&quot;);color:EXPR(getColumn(currow,'thu_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'thu_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" taborder="undefined">
  369. <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'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'thu_reglscheflag'))?getColumn(currow,'thu_reglscheflag'):&quot;#ffffff&quot;);color:EXPR(getColumn(currow,'thu_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'thu_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" text="bind:thu"/>
  370. <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'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'thu_reglscheflag'))?getColumn(currow,'thu_reglscheflag'):&quot;#ffffff&quot;);selectbackground:#daa7d9ff;" text="bind:thu_memo"/>
  371. </Cell>
  372. <Cell col="5" rowspan="2" style="background:EXPR(!utlf_isNull(getColumn(currow,'fri_reglscheflag'))?getColumn(currow,'fri_reglscheflag'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'fri_reglscheflag'))?getColumn(currow,'fri_reglscheflag'):&quot;#ffffff&quot;);color:EXPR(getColumn(currow,'fri_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'fri_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" taborder="undefined">
  373. <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'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'fri_reglscheflag'))?getColumn(currow,'fri_reglscheflag'):&quot;#ffffff&quot;);color:EXPR(getColumn(currow,'fri_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'fri_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" text="bind:fri"/>
  374. <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'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'fri_reglscheflag'))?getColumn(currow,'fri_reglscheflag'):&quot;#ffffff&quot;);selectbackground:#daa7d9ff;" text="bind:fri_memo"/>
  375. </Cell>
  376. <Cell col="6" rowspan="2" style="background:EXPR(!utlf_isNull(getColumn(currow,'sat_reglscheflag'))?getColumn(currow,'sat_reglscheflag'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'sat_reglscheflag'))?getColumn(currow,'sat_reglscheflag'):&quot;#ffffff&quot;);color:EXPR(getColumn(currow,'sat_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'sat_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" taborder="undefined">
  377. <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'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'sat_reglscheflag'))?getColumn(currow,'sat_reglscheflag'):&quot;#ffffff&quot;);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"/>
  378. <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'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'sat_reglscheflag'))?getColumn(currow,'sat_reglscheflag'):&quot;#ffffff&quot;);selectbackground:#daa7d9ff;" text="bind:sat_memo"/>
  379. </Cell>
  380. </Band>
  381. </Format>
  382. </Formats>
  383. </Grid>
  384. <Div position="absolute 0 91 1194 424" align="align:center top;" id="group2" anchor="all" scrollbars="none">
  385. <Layouts>
  386. <Layout>
  387. <Tab position="absolute 0 1 1000 333" id="switch1" anchor="all" onchanged="grp_body_group2_switch1_onchanged" visible="true" tabindex="0" style="border:1 solid #808080ff ;">
  388. <Tabpages>
  389. <Tabpage text="전체처방" id="case1" scrollbars="none">
  390. <Layouts>
  391. <Layout>
  392. <Shape position="absolute 2 2 995 8" linetype="horizontal" id="line2" class="line_1" anchor="default"/>
  393. <Grid position="absolute 2 0 995 305" id="grd_ordlist1" binddataset="ds_grd_ordlist1" anchor="all" oncellclick="grp_body_group2_switch1_case1_grd_ordlist1_oncellclick" selecttype="multirow" cellmovingtype="col" cellsizingtype="col" onlbuttonup="grp_body_group2_switch1_datagrid_onlbuttonup" cellsizebandtype="allband" cellclickbound="cell" onrbuttonup="grp_body_group2_switch1_case1_grd_ordlist1_onrbuttonup" autoenter="key" onmousemove="grp_body_group2_switch1_case1_grd_ordlist1_onmousemove">
  394. <Formats>
  395. <Format id="default">
  396. <Columns>
  397. <Column size="25" band="left"/>
  398. <Column size="16" band="left"/>
  399. <Column size="62" band="left"/>
  400. <Column size="61" band="left"/>
  401. <Column size="38" band="left"/>
  402. <Column size="60" band="left"/>
  403. <Column size="73"/>
  404. <Column size="58"/>
  405. <Column size="68"/>
  406. <Column size="0"/>
  407. <Column size="0"/>
  408. <Column size="0"/>
  409. <Column size="76"/>
  410. <Column size="124"/>
  411. <Column size="59"/>
  412. <Column size="35"/>
  413. <Column size="98"/>
  414. <Column size="41"/>
  415. <Column size="50"/>
  416. <Column size="102"/>
  417. <Column size="80"/>
  418. <Column size="137"/>
  419. <Column size="31"/>
  420. <Column size="31"/>
  421. <Column size="101"/>
  422. <Column size="62"/>
  423. <Column size="60"/>
  424. <Column size="68"/>
  425. <Column size="100"/>
  426. <Column size="100"/>
  427. <Column size="39"/>
  428. <Column size="49"/>
  429. <Column size="0"/>
  430. <Column size="0"/>
  431. <Column size="0"/>
  432. <Column size="0"/>
  433. <Column size="0"/>
  434. <Column size="0"/>
  435. <Column size="0"/>
  436. <Column size="0"/>
  437. <Column size="0"/>
  438. <Column size="0"/>
  439. <Column size="0"/>
  440. <Column size="0"/>
  441. <Column size="0"/>
  442. <Column size="0"/>
  443. <Column size="0"/>
  444. <Column size="0"/>
  445. <Column size="0"/>
  446. <Column size="0"/>
  447. <Column size="0"/>
  448. <Column size="0"/>
  449. <Column size="0"/>
  450. <Column size="0"/>
  451. <Column size="0"/>
  452. <Column size="0"/>
  453. <Column size="0"/>
  454. <Column size="0"/>
  455. <Column size="0"/>
  456. <Column size="0"/>
  457. <Column size="0"/>
  458. <Column size="0"/>
  459. <Column size="0"/>
  460. <Column size="0"/>
  461. <Column size="0"/>
  462. <Column size="0"/>
  463. <Column size="0"/>
  464. <Column size="0"/>
  465. <Column size="0"/>
  466. <Column size="0"/>
  467. <Column size="0"/>
  468. <Column size="0"/>
  469. <Column size="0"/>
  470. <Column size="0"/>
  471. <Column size="0"/>
  472. <Column size="100"/>
  473. <Column size="0"/>
  474. </Columns>
  475. <Rows>
  476. <Row size="24" band="head"/>
  477. <Row size="24"/>
  478. </Rows>
  479. <Band id="head">
  480. <Cell/>
  481. <Cell col="1"/>
  482. <Cell col="2" text="등록번호1"/>
  483. <Cell col="3" text="성명"/>
  484. <Cell col="4" text="S/A"/>
  485. <Cell col="5" text="주민번호"/>
  486. <Cell col="6" text="진료과"/>
  487. <Cell col="7" text="진료의"/>
  488. <Cell col="8" text="지정검사의"/>
  489. <Cell col="9" colspan="2" text="선택진료의" taborder="undefined"/>
  490. <Cell col="11" text="포터블"/>
  491. <Cell col="12" text="처방코드"/>
  492. <Cell col="13" text="처방일자"/>
  493. <Cell col="14" text="처방상태"/>
  494. <Cell col="15" text="수납"/>
  495. <Cell col="16" text="검사실"/>
  496. <Cell col="17" text="병동"/>
  497. <Cell col="18" text="병실"/>
  498. <Cell col="19" text="예약일자"/>
  499. <Cell col="20" text="희망일자"/>
  500. <Cell col="21" text="처방명"/>
  501. <Cell col="22" text="수량"/>
  502. <Cell col="23" text="횟수"/>
  503. <Cell col="24" text="실시일자"/>
  504. <Cell col="25" text="실시자"/>
  505. <Cell col="26" text="예약자"/>
  506. <Cell col="27" text="취소코드"/>
  507. <Cell col="28" text="전화번호1"/>
  508. <Cell col="29" text="전화번호2"/>
  509. <Cell col="30" text="키"/>
  510. <Cell col="31" text="몸무게"/>
  511. <Cell col="32" text="execprcpuniqno"/>
  512. <Cell col="33" text="prcpexecdeptcd"/>
  513. <Cell col="34" text="excuroomcd"/>
  514. <Cell col="35" text="inflag"/>
  515. <Cell col="36" text="rcptacptyn"/>
  516. <Cell col="37" text="ExecBaseFlag"/>
  517. <Cell col="38" text="excupartcd"/>
  518. <Cell col="39" text="modality"/>
  519. <Cell col="40" text="execrem"/>
  520. <Cell col="41" text="prcpdelivefact"/>
  521. <Cell col="42" text="carecnfmdd"/>
  522. <Cell col="43" text="prcpkindcd"/>
  523. <Cell col="44" text="rcptno"/>
  524. <Cell col="45" text="acptseqno"/>
  525. <Cell col="46" text="prcpgenrflag"/>
  526. <Cell col="47" text="orddd"/>
  527. <Cell col="48" text="orddeptcd"/>
  528. <Cell col="49" text="rcptdd"/>
  529. <Cell col="50" text="orddrid"/>
  530. <Cell col="51" text="prcpno"/>
  531. <Cell col="52" text="EqmtIFYn"/>
  532. <Cell col="53" text="basesuppdeptcd"/>
  533. <Cell col="54" text="cretno"/>
  534. <Cell col="55" text="wardcd"/>
  535. <Cell col="56" text="rsrvdt"/>
  536. <Cell col="57" text="rgstdeptcd"/>
  537. <Cell col="58" text="rgstrid"/>
  538. <Cell col="59" text="inclprcpcd"/>
  539. <Cell col="60" text="lrgcd"/>
  540. <Cell col="61" text="mdlcd"/>
  541. <Cell col="62" text="actorddd"/>
  542. <Cell col="63" text="examroomnm"/>
  543. <Cell col="64" text="prcphistno"/>
  544. <Cell col="65" text="pacsnocretyn"/>
  545. <Cell col="66" text="execprcpstatcd"/>
  546. <Cell col="67" text="caption1"/>
  547. <Cell col="68" text="caption2"/>
  548. <Cell col="69" text="caption3"/>
  549. <Cell col="70" text="cnclresncdnm"/>
  550. <Cell col="71" text="rsrvexmptmplcd"/>
  551. <Cell col="72" text="rrsgtno2"/>
  552. <Cell col="73" text="clincstdycd"/>
  553. <Cell col="74" text="aftrcptinfo"/>
  554. <Cell col="75" text="급비"/>
  555. <Cell col="76" text="급비"/>
  556. </Band>
  557. <Band id="body">
  558. <Cell celltype="head" text="expr:currow+1"/>
  559. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:check"/>
  560. <Cell col="2" text="bind:pid"/>
  561. <Cell col="3" text="bind:hngnm"/>
  562. <Cell col="4" text="bind:sna"/>
  563. <Cell col="5" text="bind:rrgstno1"/>
  564. <Cell col="6" text="bind:orddepthngnm"/>
  565. <Cell col="7" text="bind:orddrnm"/>
  566. <Cell col="8" displaytype="combo" edittype="combo" style="align:center;" text="bind:selectdrid" combodataset="ds_init_selectdridlist" combocodecol="userid" combodatacol="usernm"/>
  567. <Cell col="9" text="bind:choiordflag"/>
  568. <Cell col="10" displaytype="combo" edittype="combo" text="bind:specdrid" combodataset="ds_init_specdridlist" combocodecol="userid" combodatacol="usernm" enable="true"/>
  569. <Cell col="11" text="bind:portprcpflag"/>
  570. <Cell col="12" style="align:left;" text="bind:calcscorcd"/>
  571. <Cell col="13" displaytype="date" style="align:left;" text="bind:prcpdt" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
  572. <Cell col="14" style="align:left;" text="bind:statcd" enable="false"/>
  573. <Cell col="15" text="bind:rcptyn"/>
  574. <Cell col="16" displaytype="combo" edittype="combo" text="bind:excuroomcd" combodataset="ds_cmb_initexecroom" combocodecol="excuroomcdid" combodatacol="excuroomcdnm"/>
  575. <Cell col="17" text="bind:roomcd"/>
  576. <Cell col="18" text="bind:roomnm"/>
  577. <Cell col="19" displaytype="date" style="align:left;" text="bind:srchrsrvdt" wordwrap="char" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
  578. <Cell col="20" displaytype="date" text="bind:prcphopedd" calendardisplaynulltype="nulltext"/>
  579. <Cell col="21" style="align:left;" text="bind:prcpnm"/>
  580. <Cell col="22" text="bind:prcpqty"/>
  581. <Cell col="23" text="bind:execprcptims"/>
  582. <Cell col="24" displaytype="date" style="align:left;" text="bind:execdt" wordwrap="char" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
  583. <Cell col="25" displaytype="combo" edittype="combo" text="bind:execrid1" combodataset="ds_cmb_initexecrid" combocodecol="execrid1cdid" combodatacol="execrid1cdnm"/>
  584. <Cell col="26" text="bind:rsrvrnm"/>
  585. <Cell col="27" text="bind:basecd"/>
  586. <Cell col="28" text="bind:hometel"/>
  587. <Cell col="29" text="bind:mpphontel"/>
  588. <Cell col="30" text="bind:hight"/>
  589. <Cell col="31" text="bind:weight"/>
  590. <Cell col="32" text="bind:execprcpuniqno"/>
  591. <Cell col="33" text="bind:prcpexecdeptcd"/>
  592. <Cell col="34" text="bind:inflag"/>
  593. <Cell col="35" text="bind:rcptacptyn"/>
  594. <Cell col="36" text="bind:execbaseflag"/>
  595. <Cell col="37" text="bind:excupartcd"/>
  596. <Cell col="38" text="bind:modality"/>
  597. <Cell col="39" text="bind:execrem"/>
  598. <Cell col="40" text="bind:prcpdelivefact"/>
  599. <Cell col="41" text="bind:carecnfmdd"/>
  600. <Cell col="42" text="bind:prcpkindcd"/>
  601. <Cell col="43" text="bind:rcptno"/>
  602. <Cell col="44" text="bind:acptseqno"/>
  603. <Cell col="45" text="bind:prcpgenrflag"/>
  604. <Cell col="46" text="bind:orddd"/>
  605. <Cell col="47" text="bind:orddeptcd"/>
  606. <Cell col="48" text="bind:rcptdd"/>
  607. <Cell col="49" text="bind:orddrid"/>
  608. <Cell col="50" text="bind:prcpno"/>
  609. <Cell col="51" text="bind:eqmtifyn"/>
  610. <Cell col="52" text="bind:basesuppdeptcd"/>
  611. <Cell col="53" text="bind:cretno"/>
  612. <Cell col="54" text="bind:wardcd"/>
  613. <Cell col="55" text="bind:rsrvdt"/>
  614. <Cell col="56" text="bind:rgstdeptcd"/>
  615. <Cell col="57" text="bind:rgstrid"/>
  616. <Cell col="58" text="bind:inclprcpcd"/>
  617. <Cell col="59" text="bind:lrgcd"/>
  618. <Cell col="60" text="bind:mdlcd"/>
  619. <Cell col="61" text="bind:actorddd"/>
  620. <Cell col="62" text="bind:examroomnm"/>
  621. <Cell col="63" text="bind:prcphistno"/>
  622. <Cell col="64" text="bind:pacsnocretyn"/>
  623. <Cell col="65" text="bind:execprcpstatcd"/>
  624. <Cell col="66" text="bind:tmpldata"/>
  625. <Cell col="67" text="bind:prcpdd"/>
  626. <Cell col="68" text="bind:rsrvrid"/>
  627. <Cell col="69" text="bind:cnclresncdnm"/>
  628. <Cell col="70" text="bind:rsrvexmptmplcd"/>
  629. <Cell col="71" text="bind:rrgstno2"/>
  630. <Cell col="72" text="bind:clincstdycd"/>
  631. <Cell col="73" text="bind:aftrcptinfo"/>
  632. <Cell col="74" text="bind:unrsrvexecyn"/>
  633. <Cell col="75" displaytype="combo" edittype="combo" text="bind:insukind" combodataset="ds_init_P0008" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  634. <Cell col="76" text="bind:specdrid"/>
  635. </Band>
  636. </Format>
  637. </Formats>
  638. </Grid>
  639. <Grid position="absolute 765 70 895 205" id="grd_temproom" visible="false" binddataset="ds_cmb_initexecroomcd" anchor="default">
  640. <Formats>
  641. <Format id="default">
  642. <Columns>
  643. <Column size="127"/>
  644. </Columns>
  645. <Rows>
  646. <Row size="24" band="head"/>
  647. <Row size="24"/>
  648. </Rows>
  649. <Band id="head">
  650. <Cell text="caption3"/>
  651. </Band>
  652. <Band id="body">
  653. <Cell text="bind:excuroomcd"/>
  654. </Band>
  655. </Format>
  656. </Formats>
  657. </Grid>
  658. <Grid position="absolute 265 65 395 200" id="grd_prcpexecdeptcd" visible="false" binddataset="ds_cmb_prcpexecdeptcdlist" anchor="default">
  659. <Formats>
  660. <Format id="default">
  661. <Columns>
  662. <Column size="127"/>
  663. </Columns>
  664. <Rows>
  665. <Row size="24" band="head"/>
  666. <Row size="24"/>
  667. </Rows>
  668. <Band id="head">
  669. <Cell text="caption3"/>
  670. </Band>
  671. <Band id="body">
  672. <Cell text="bind:prcpexecdeptcd"/>
  673. </Band>
  674. </Format>
  675. </Formats>
  676. </Grid>
  677. <Grid id="grd_ordlist1_temp" taborder="1" binddataset="ds_grd_ordlist1" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellmovingtype="col" onrbuttondown="grp_body_group2_switch1_case1_grd_ordlist1_onrbuttondown" oncellclick="grp_body_group2_switch1_case1_grd_ordlist1_oncellclick" position="absolute 42 192 931 265" anchor="all" visible="false">
  678. <Formats>
  679. <Format id="default">
  680. <Columns>
  681. <Column size="16" band="left"/>
  682. <Column size="62" band="left"/>
  683. <Column size="61" band="left"/>
  684. <Column size="38" band="left"/>
  685. <Column size="60" band="left"/>
  686. <Column size="73"/>
  687. <Column size="58"/>
  688. <Column size="40"/>
  689. <Column size="68"/>
  690. <Column size="42"/>
  691. <Column size="76"/>
  692. <Column size="124"/>
  693. <Column size="59"/>
  694. <Column size="35"/>
  695. <Column size="98"/>
  696. <Column size="41"/>
  697. <Column size="50"/>
  698. <Column size="102"/>
  699. <Column size="80"/>
  700. <Column size="137"/>
  701. <Column size="31"/>
  702. <Column size="31"/>
  703. <Column size="101"/>
  704. <Column size="62"/>
  705. <Column size="60"/>
  706. <Column size="68"/>
  707. <Column size="100"/>
  708. <Column size="100"/>
  709. <Column size="39"/>
  710. <Column size="49"/>
  711. <Column size="0"/>
  712. <Column size="0"/>
  713. <Column size="0"/>
  714. <Column size="0"/>
  715. <Column size="0"/>
  716. <Column size="0"/>
  717. <Column size="0"/>
  718. <Column size="0"/>
  719. <Column size="0"/>
  720. <Column size="0"/>
  721. <Column size="0"/>
  722. <Column size="0"/>
  723. <Column size="0"/>
  724. <Column size="0"/>
  725. <Column size="0"/>
  726. <Column size="0"/>
  727. <Column size="0"/>
  728. <Column size="0"/>
  729. <Column size="0"/>
  730. <Column size="0"/>
  731. <Column size="0"/>
  732. <Column size="0"/>
  733. <Column size="0"/>
  734. <Column size="0"/>
  735. <Column size="0"/>
  736. <Column size="0"/>
  737. <Column size="0"/>
  738. <Column size="0"/>
  739. <Column size="0"/>
  740. <Column size="0"/>
  741. <Column size="0"/>
  742. <Column size="0"/>
  743. <Column size="0"/>
  744. <Column size="0"/>
  745. <Column size="0"/>
  746. <Column size="0"/>
  747. <Column size="0"/>
  748. <Column size="0"/>
  749. <Column size="0"/>
  750. <Column size="0"/>
  751. <Column size="0"/>
  752. <Column size="0"/>
  753. <Column size="0"/>
  754. <Column size="100"/>
  755. <Column size="0"/>
  756. </Columns>
  757. <Rows>
  758. <Row size="24" band="head"/>
  759. <Row size="24"/>
  760. </Rows>
  761. <Band id="head">
  762. <Cell/>
  763. <Cell col="1" text="등록번호1"/>
  764. <Cell col="2" text="성명"/>
  765. <Cell col="3" text="S/A"/>
  766. <Cell col="4" text="주민번호"/>
  767. <Cell col="5" text="진료과"/>
  768. <Cell col="6" text="진료의"/>
  769. <Cell col="7" colspan="2" text="선택진료의" taborder="undefined"/>
  770. <Cell col="9" text="포터블"/>
  771. <Cell col="10" text="처방코드"/>
  772. <Cell col="11" text="처방일자"/>
  773. <Cell col="12" text="처방상태"/>
  774. <Cell col="13" text="수납"/>
  775. <Cell col="14" text="검사실"/>
  776. <Cell col="15" text="병동"/>
  777. <Cell col="16" text="병실"/>
  778. <Cell col="17" text="예약일자"/>
  779. <Cell col="18" text="희망일자"/>
  780. <Cell col="19" text="처방명"/>
  781. <Cell col="20" text="수량"/>
  782. <Cell col="21" text="횟수"/>
  783. <Cell col="22" text="실시일자"/>
  784. <Cell col="23" text="실시자"/>
  785. <Cell col="24" text="예약자"/>
  786. <Cell col="25" text="취소코드"/>
  787. <Cell col="26" text="전화번호1"/>
  788. <Cell col="27" text="전화번호2"/>
  789. <Cell col="28" text="키"/>
  790. <Cell col="29" text="몸무게"/>
  791. <Cell col="30" text="execprcpuniqno"/>
  792. <Cell col="31" text="prcpexecdeptcd"/>
  793. <Cell col="32" text="excuroomcd"/>
  794. <Cell col="33" text="inflag"/>
  795. <Cell col="34" text="rcptacptyn"/>
  796. <Cell col="35" text="ExecBaseFlag"/>
  797. <Cell col="36" text="excupartcd"/>
  798. <Cell col="37" text="modality"/>
  799. <Cell col="38" text="execrem"/>
  800. <Cell col="39" text="prcpdelivefact"/>
  801. <Cell col="40" text="carecnfmdd"/>
  802. <Cell col="41" text="prcpkindcd"/>
  803. <Cell col="42" text="rcptno"/>
  804. <Cell col="43" text="acptseqno"/>
  805. <Cell col="44" text="prcpgenrflag"/>
  806. <Cell col="45" text="orddd"/>
  807. <Cell col="46" text="orddeptcd"/>
  808. <Cell col="47" text="rcptdd"/>
  809. <Cell col="48" text="orddrid"/>
  810. <Cell col="49" text="prcpno"/>
  811. <Cell col="50" text="EqmtIFYn"/>
  812. <Cell col="51" text="basesuppdeptcd"/>
  813. <Cell col="52" text="cretno"/>
  814. <Cell col="53" text="wardcd"/>
  815. <Cell col="54" text="rsrvdt"/>
  816. <Cell col="55" text="rgstdeptcd"/>
  817. <Cell col="56" text="rgstrid"/>
  818. <Cell col="57" text="inclprcpcd"/>
  819. <Cell col="58" text="lrgcd"/>
  820. <Cell col="59" text="mdlcd"/>
  821. <Cell col="60" text="actorddd"/>
  822. <Cell col="61" text="examroomnm"/>
  823. <Cell col="62" text="prcphistno"/>
  824. <Cell col="63" text="pacsnocretyn"/>
  825. <Cell col="64" text="execprcpstatcd"/>
  826. <Cell col="65" text="caption1"/>
  827. <Cell col="66" text="caption2"/>
  828. <Cell col="67" text="caption3"/>
  829. <Cell col="68" text="cnclresncdnm"/>
  830. <Cell col="69" text="rsrvexmptmplcd"/>
  831. <Cell col="70" text="rrsgtno2"/>
  832. <Cell col="71" text="clincstdycd"/>
  833. <Cell col="72" text="aftrcptinfo"/>
  834. <Cell col="73" text="급비"/>
  835. <Cell col="74" text="급비"/>
  836. </Band>
  837. <Band id="body">
  838. <Cell displaytype="checkbox" edittype="checkbox" text="bind:check"/>
  839. <Cell col="1" text="bind:pid"/>
  840. <Cell col="2" text="bind:hngnm"/>
  841. <Cell col="3" text="bind:sna"/>
  842. <Cell col="4" text="bind:rrgstno1"/>
  843. <Cell col="5" text="bind:orddepthngnm"/>
  844. <Cell col="6" text="bind:orddrnm"/>
  845. <Cell col="7" text="bind:choiordflag"/>
  846. <Cell col="8" displaytype="combo" edittype="combo" text="bind:specdrid" combodataset="ds_init_specdridlist" combocodecol="userid" combodatacol="usernm" enable="true"/>
  847. <Cell col="9" text="bind:portprcpflag"/>
  848. <Cell col="10" style="align:left;" text="bind:calcscorcd"/>
  849. <Cell col="11" displaytype="date" style="align:left;" text="bind:prcpdt" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
  850. <Cell col="12" style="align:left;" text="bind:statcd" enable="false"/>
  851. <Cell col="13" text="bind:rcptyn"/>
  852. <Cell col="14" displaytype="combo" edittype="combo" text="bind:excuroomcd" combodataset="ds_cmb_initexecroom" combocodecol="excuroomcdid" combodatacol="excuroomcdnm"/>
  853. <Cell col="15" text="bind:roomcd"/>
  854. <Cell col="16" text="bind:roomnm"/>
  855. <Cell col="17" displaytype="date" style="align:left;" text="bind:srchrsrvdt" wordwrap="char" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
  856. <Cell col="18" displaytype="date" text="bind:prcphopedd" calendardisplaynulltype="nulltext"/>
  857. <Cell col="19" style="align:left;" text="bind:prcpnm"/>
  858. <Cell col="20" text="bind:prcpqty"/>
  859. <Cell col="21" text="bind:execprcptims"/>
  860. <Cell col="22" displaytype="date" style="align:left;" text="bind:execdt" wordwrap="char" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
  861. <Cell col="23" displaytype="combo" edittype="combo" text="bind:execrid1" combodataset="ds_cmb_initexecrid" combocodecol="execrid1cdid" combodatacol="execrid1cdnm"/>
  862. <Cell col="24" text="bind:rsrvrnm"/>
  863. <Cell col="25" text="bind:basecd"/>
  864. <Cell col="26" text="bind:hometel"/>
  865. <Cell col="27" text="bind:mpphontel"/>
  866. <Cell col="28" text="bind:hight"/>
  867. <Cell col="29" text="bind:weight"/>
  868. <Cell col="30" text="bind:execprcpuniqno"/>
  869. <Cell col="31" text="bind:prcpexecdeptcd"/>
  870. <Cell col="32" text="bind:inflag"/>
  871. <Cell col="33" text="bind:rcptacptyn"/>
  872. <Cell col="34" text="bind:execbaseflag"/>
  873. <Cell col="35" text="bind:excupartcd"/>
  874. <Cell col="36" text="bind:modality"/>
  875. <Cell col="37" text="bind:execrem"/>
  876. <Cell col="38" text="bind:prcpdelivefact"/>
  877. <Cell col="39" text="bind:carecnfmdd"/>
  878. <Cell col="40" text="bind:prcpkindcd"/>
  879. <Cell col="41" text="bind:rcptno"/>
  880. <Cell col="42" text="bind:acptseqno"/>
  881. <Cell col="43" text="bind:prcpgenrflag"/>
  882. <Cell col="44" text="bind:orddd"/>
  883. <Cell col="45" text="bind:orddeptcd"/>
  884. <Cell col="46" text="bind:rcptdd"/>
  885. <Cell col="47" text="bind:orddrid"/>
  886. <Cell col="48" text="bind:prcpno"/>
  887. <Cell col="49" text="bind:eqmtifyn"/>
  888. <Cell col="50" text="bind:basesuppdeptcd"/>
  889. <Cell col="51" text="bind:cretno"/>
  890. <Cell col="52" text="bind:wardcd"/>
  891. <Cell col="53" text="bind:rsrvdt"/>
  892. <Cell col="54" text="bind:rgstdeptcd"/>
  893. <Cell col="55" text="bind:rgstrid"/>
  894. <Cell col="56" text="bind:inclprcpcd"/>
  895. <Cell col="57" text="bind:lrgcd"/>
  896. <Cell col="58" text="bind:mdlcd"/>
  897. <Cell col="59" text="bind:actorddd"/>
  898. <Cell col="60" text="bind:examroomnm"/>
  899. <Cell col="61" text="bind:prcphistno"/>
  900. <Cell col="62" text="bind:pacsnocretyn"/>
  901. <Cell col="63" text="bind:execprcpstatcd"/>
  902. <Cell col="64" text="bind:tmpldata"/>
  903. <Cell col="65" text="bind:prcpdd"/>
  904. <Cell col="66" text="bind:rsrvrid"/>
  905. <Cell col="67" text="bind:cnclresncdnm"/>
  906. <Cell col="68" text="bind:rsrvexmptmplcd"/>
  907. <Cell col="69" text="bind:rrgstno2"/>
  908. <Cell col="70" text="bind:clincstdycd"/>
  909. <Cell col="71" text="bind:aftrcptinfo"/>
  910. <Cell col="72" text="bind:unrsrvexecyn"/>
  911. <Cell col="73" displaytype="combo" edittype="combo" text="bind:insukind" combodataset="ds_init_P0008" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  912. <Cell col="74" text="bind:specdrid"/>
  913. </Band>
  914. </Format>
  915. </Formats>
  916. </Grid>
  917. </Layout>
  918. </Layouts>
  919. </Tabpage>
  920. <Tabpage text="검사완료" id="case4" scrollbars="none">
  921. <Layouts>
  922. <Layout>
  923. <Shape position="absolute 2 2 995 8" linetype="horizontal" id="line11" class="line_1" anchor="default"/>
  924. <Grid position="absolute 65 55 639 199" id="grd_temp1" visible="false" binddataset="ds_grd_temp1" anchor="default">
  925. <Formats>
  926. <Format id="default">
  927. <Columns>
  928. <Column size="32"/>
  929. <Column size="31"/>
  930. <Column size="72"/>
  931. <Column size="70"/>
  932. <Column size="37"/>
  933. <Column size="79"/>
  934. <Column size="30"/>
  935. <Column size="73"/>
  936. <Column size="58"/>
  937. <Column size="42"/>
  938. <Column size="50"/>
  939. <Column size="80"/>
  940. <Column size="166"/>
  941. <Column size="81"/>
  942. <Column size="92"/>
  943. <Column size="61"/>
  944. <Column size="116"/>
  945. <Column size="59"/>
  946. <Column size="104"/>
  947. <Column size="64"/>
  948. <Column size="121"/>
  949. <Column size="62"/>
  950. <Column size="54"/>
  951. <Column size="44"/>
  952. <Column size="51"/>
  953. <Column size="100"/>
  954. <Column size="100"/>
  955. <Column size="100"/>
  956. <Column size="100"/>
  957. <Column size="100"/>
  958. <Column size="100"/>
  959. <Column size="100"/>
  960. <Column size="100"/>
  961. <Column size="100"/>
  962. <Column size="100"/>
  963. <Column size="100"/>
  964. <Column size="100"/>
  965. <Column size="100"/>
  966. <Column size="100"/>
  967. <Column size="100"/>
  968. <Column size="100"/>
  969. <Column size="100"/>
  970. <Column size="100"/>
  971. <Column size="100"/>
  972. <Column size="100"/>
  973. <Column size="100"/>
  974. <Column size="100"/>
  975. <Column size="100"/>
  976. <Column size="100"/>
  977. <Column size="100"/>
  978. <Column size="100"/>
  979. </Columns>
  980. <Rows>
  981. <Row size="24" band="head"/>
  982. <Row size="24"/>
  983. </Rows>
  984. <Band id="head">
  985. <Cell text="선택"/>
  986. <Cell col="1" text="순번"/>
  987. <Cell col="2" text="등록번호"/>
  988. <Cell col="3" text="성명"/>
  989. <Cell col="4" text="나이"/>
  990. <Cell col="5" text="주민번호"/>
  991. <Cell col="6" text="성별"/>
  992. <Cell col="7" text="진료과"/>
  993. <Cell col="8" text="진료의사"/>
  994. <Cell col="9" text="포터블"/>
  995. <Cell col="10" text="처방코드"/>
  996. <Cell col="11" text="처방명"/>
  997. <Cell col="12" text="처방시간"/>
  998. <Cell col="13" text="처방상태"/>
  999. <Cell col="14" text="병동"/>
  1000. <Cell col="15" text="병실"/>
  1001. <Cell col="16" text="예약시간"/>
  1002. <Cell col="17" text="예약자"/>
  1003. <Cell col="18" text="접수시간"/>
  1004. <Cell col="19" text="접수자"/>
  1005. <Cell col="20" text="실시시간"/>
  1006. <Cell col="21" text="실시자"/>
  1007. <Cell col="22" text="수납여부"/>
  1008. <Cell col="23" text="키"/>
  1009. <Cell col="24" text="몸무게"/>
  1010. <Cell col="25" text="basecd"/>
  1011. <Cell col="26" text="execprcpuniqno"/>
  1012. <Cell col="27" text="prcpexecdeptcd"/>
  1013. <Cell col="28" text="excuroomcd"/>
  1014. <Cell col="29" text="rgstdeptcd"/>
  1015. <Cell col="30" text="rgstrid"/>
  1016. <Cell col="31" text="inflag"/>
  1017. <Cell col="32" text="rcptacptyn"/>
  1018. <Cell col="33" text="ExecBaseFlag"/>
  1019. <Cell col="34" text="lrgcd"/>
  1020. <Cell col="35" text="mdlcd"/>
  1021. <Cell col="36" text="excupartcd"/>
  1022. <Cell col="37" text="modality"/>
  1023. <Cell col="38" text="acptrem"/>
  1024. <Cell col="39" text="execrem"/>
  1025. <Cell col="40" text="prcpdelivefact"/>
  1026. <Cell col="41" text="carecnfmdd"/>
  1027. <Cell col="42" text="excuroomnm"/>
  1028. <Cell col="43" text="rgstdepthngnm"/>
  1029. <Cell col="44" text="prcpkindcd"/>
  1030. <Cell col="45" text="rcptno"/>
  1031. <Cell col="46" text="acptseqno"/>
  1032. <Cell col="47" text="execrid1"/>
  1033. <Cell col="48" text="execrid2"/>
  1034. <Cell col="49" text="execrid3"/>
  1035. <Cell col="50" text="execrid4"/>
  1036. </Band>
  1037. <Band id="body">
  1038. <Cell text="bind:check" edittype="checkbox" displaytype="checkbox"/>
  1039. <Cell col="1" text="bind:no"/>
  1040. <Cell col="2" text="bind:pid"/>
  1041. <Cell col="3" text="bind:hngnm"/>
  1042. <Cell col="4" text="bind:age"/>
  1043. <Cell col="5" text="bind:rrgrstno"/>
  1044. <Cell col="6" text="bind:sex"/>
  1045. <Cell col="7" text="bind:rgstdepthngnm"/>
  1046. <Cell col="8" text="bind:rgstridnm"/>
  1047. <Cell col="9" text="bind:portprcpflag" edittype="checkbox" displaytype="checkbox"/>
  1048. <Cell col="10" text="bind:calcscorcd"/>
  1049. <Cell col="11" text="bind:prcpnm"/>
  1050. <Cell col="12" text="bind:prcpdd"/>
  1051. <Cell col="13" text="bind:execprcpstatcd"/>
  1052. <Cell col="14" text="bind:roomcd"/>
  1053. <Cell col="15" text="bind:roomnm"/>
  1054. <Cell col="16" text="bind:rsrvdt"/>
  1055. <Cell col="17" text="bind:execrid2"/>
  1056. <Cell col="18" text="bind:rcptdd"/>
  1057. <Cell col="19" text="bind:acptid"/>
  1058. <Cell col="20" text="bind:execdt"/>
  1059. <Cell col="21" text="bind:execrid1"/>
  1060. <Cell col="22" text="bind:rcptyn"/>
  1061. <Cell col="23" text="bind:hight"/>
  1062. <Cell col="24" text="bind:weight"/>
  1063. <Cell col="25" text="bind:basecd"/>
  1064. <Cell col="26" text="bind:execprcpuniqno"/>
  1065. <Cell col="27" text="bind:prcpexecdeptcd"/>
  1066. <Cell col="28" text="bind:excuroomcd"/>
  1067. <Cell col="29" text="bind:rgstdeptcd"/>
  1068. <Cell col="30" text="bind:rgstrid"/>
  1069. <Cell col="31" text="bind:inflag"/>
  1070. <Cell col="32" text="bind:rcptacptyn"/>
  1071. <Cell col="33" text="bind:execbaseflag"/>
  1072. <Cell col="34" text="bind:lrgcd"/>
  1073. <Cell col="35" text="bind:mdlcd"/>
  1074. <Cell col="36" text="bind:excupartcd"/>
  1075. <Cell col="37" text="bind:modality"/>
  1076. <Cell col="38" text="bind:acptrem"/>
  1077. <Cell col="39" text="bind:execrem"/>
  1078. <Cell col="40" text="bind:newElement"/>
  1079. <Cell col="41" text="bind:carecnfmdd"/>
  1080. <Cell col="42" text="bind:excuroomnm"/>
  1081. <Cell col="43" text="bind:rgstdepthngnm"/>
  1082. <Cell col="44" text="bind:prcpkindcd"/>
  1083. <Cell col="45" text="bind:rcptno"/>
  1084. <Cell col="46" text="bind:acptseqno"/>
  1085. <Cell col="47" text="bind:execrid1"/>
  1086. <Cell col="48" text="bind:execrid2"/>
  1087. <Cell col="49" text="bind:execrid3"/>
  1088. <Cell col="50" text="bind:execrid4"/>
  1089. </Band>
  1090. </Format>
  1091. </Formats>
  1092. </Grid>
  1093. <Grid position="absolute 420 65 994 209" id="grd_temp2" visible="false" binddataset="ds_grd_temp2" anchor="default">
  1094. <Formats>
  1095. <Format id="default">
  1096. <Columns>
  1097. <Column size="32"/>
  1098. <Column size="31"/>
  1099. <Column size="72"/>
  1100. <Column size="70"/>
  1101. <Column size="37"/>
  1102. <Column size="79"/>
  1103. <Column size="30"/>
  1104. <Column size="73"/>
  1105. <Column size="58"/>
  1106. <Column size="42"/>
  1107. <Column size="50"/>
  1108. <Column size="80"/>
  1109. <Column size="166"/>
  1110. <Column size="81"/>
  1111. <Column size="92"/>
  1112. <Column size="61"/>
  1113. <Column size="116"/>
  1114. <Column size="59"/>
  1115. <Column size="104"/>
  1116. <Column size="64"/>
  1117. <Column size="121"/>
  1118. <Column size="62"/>
  1119. <Column size="54"/>
  1120. <Column size="44"/>
  1121. <Column size="51"/>
  1122. <Column size="100"/>
  1123. <Column size="100"/>
  1124. <Column size="100"/>
  1125. <Column size="100"/>
  1126. <Column size="100"/>
  1127. <Column size="100"/>
  1128. <Column size="100"/>
  1129. <Column size="100"/>
  1130. <Column size="100"/>
  1131. <Column size="100"/>
  1132. <Column size="100"/>
  1133. <Column size="100"/>
  1134. <Column size="100"/>
  1135. <Column size="100"/>
  1136. <Column size="100"/>
  1137. <Column size="100"/>
  1138. <Column size="100"/>
  1139. <Column size="100"/>
  1140. <Column size="100"/>
  1141. <Column size="100"/>
  1142. <Column size="100"/>
  1143. <Column size="100"/>
  1144. <Column size="100"/>
  1145. <Column size="100"/>
  1146. <Column size="100"/>
  1147. <Column size="100"/>
  1148. </Columns>
  1149. <Rows>
  1150. <Row size="24" band="head"/>
  1151. <Row size="24"/>
  1152. </Rows>
  1153. <Band id="head">
  1154. <Cell text="선택"/>
  1155. <Cell col="1" text="순번"/>
  1156. <Cell col="2" text="등록번호"/>
  1157. <Cell col="3" text="성명"/>
  1158. <Cell col="4" text="나이"/>
  1159. <Cell col="5" text="주민번호"/>
  1160. <Cell col="6" text="성별"/>
  1161. <Cell col="7" text="진료과"/>
  1162. <Cell col="8" text="진료의사"/>
  1163. <Cell col="9" text="포터블"/>
  1164. <Cell col="10" text="처방코드"/>
  1165. <Cell col="11" text="처방명"/>
  1166. <Cell col="12" text="처방시간"/>
  1167. <Cell col="13" text="처방상태"/>
  1168. <Cell col="14" text="병동"/>
  1169. <Cell col="15" text="병실"/>
  1170. <Cell col="16" text="예약시간"/>
  1171. <Cell col="17" text="예약자"/>
  1172. <Cell col="18" text="접수시간"/>
  1173. <Cell col="19" text="접수자"/>
  1174. <Cell col="20" text="실시시간"/>
  1175. <Cell col="21" text="실시자"/>
  1176. <Cell col="22" text="수납여부"/>
  1177. <Cell col="23" text="키"/>
  1178. <Cell col="24" text="몸무게"/>
  1179. <Cell col="25" text="basecd"/>
  1180. <Cell col="26" text="execprcpuniqno"/>
  1181. <Cell col="27" text="prcpexecdeptcd"/>
  1182. <Cell col="28" text="excuroomcd"/>
  1183. <Cell col="29" text="rgstdeptcd"/>
  1184. <Cell col="30" text="rgstrid"/>
  1185. <Cell col="31" text="inflag"/>
  1186. <Cell col="32" text="rcptacptyn"/>
  1187. <Cell col="33" text="ExecBaseFlag"/>
  1188. <Cell col="34" text="lrgcd"/>
  1189. <Cell col="35" text="mdlcd"/>
  1190. <Cell col="36" text="excupartcd"/>
  1191. <Cell col="37" text="modality"/>
  1192. <Cell col="38" text="acptrem"/>
  1193. <Cell col="39" text="execrem"/>
  1194. <Cell col="40" text="prcpdelivefact"/>
  1195. <Cell col="41" text="carecnfmdd"/>
  1196. <Cell col="42" text="excuroomnm"/>
  1197. <Cell col="43" text="rgstdepthngnm"/>
  1198. <Cell col="44" text="prcpkindcd"/>
  1199. <Cell col="45" text="rcptno"/>
  1200. <Cell col="46" text="acptseqno"/>
  1201. <Cell col="47" text="execrid1"/>
  1202. <Cell col="48" text="execrid2"/>
  1203. <Cell col="49" text="execrid3"/>
  1204. <Cell col="50" text="execrid4"/>
  1205. </Band>
  1206. <Band id="body">
  1207. <Cell text="bind:check" edittype="checkbox" displaytype="checkbox"/>
  1208. <Cell col="1" text="bind:no"/>
  1209. <Cell col="2" text="bind:pid"/>
  1210. <Cell col="3" text="bind:hngnm"/>
  1211. <Cell col="4" text="bind:age"/>
  1212. <Cell col="5" text="bind:rrgrstno"/>
  1213. <Cell col="6" text="bind:sex"/>
  1214. <Cell col="7" text="bind:rgstdepthngnm"/>
  1215. <Cell col="8" text="bind:rgstridnm"/>
  1216. <Cell col="9" text="bind:portprcpflag" edittype="checkbox" displaytype="checkbox"/>
  1217. <Cell col="10" text="bind:calcscorcd"/>
  1218. <Cell col="11" text="bind:prcpnm"/>
  1219. <Cell col="12" text="bind:prcpdd"/>
  1220. <Cell col="13" text="bind:execprcpstatcd"/>
  1221. <Cell col="14" text="bind:roomcd"/>
  1222. <Cell col="15" text="bind:roomnm"/>
  1223. <Cell col="16" text="bind:rsrvdt" mask="yyyy-mm-dd hh:nn"/>
  1224. <Cell col="17" text="bind:execrid2"/>
  1225. <Cell col="18" text="bind:rcptdd"/>
  1226. <Cell col="19" text="bind:acptid"/>
  1227. <Cell col="20" text="bind:execdt"/>
  1228. <Cell col="21" text="bind:execrid1"/>
  1229. <Cell col="22" text="bind:rcptyn"/>
  1230. <Cell col="23" text="bind:hight"/>
  1231. <Cell col="24" text="bind:weight"/>
  1232. <Cell col="25" text="bind:basecd"/>
  1233. <Cell col="26" text="bind:execprcpuniqno"/>
  1234. <Cell col="27" text="bind:prcpexecdeptcd"/>
  1235. <Cell col="28" text="bind:excuroomcd"/>
  1236. <Cell col="29" text="bind:rgstdeptcd"/>
  1237. <Cell col="30" text="bind:rgstrid"/>
  1238. <Cell col="31" text="bind:inflag"/>
  1239. <Cell col="32" text="bind:rcptacptyn"/>
  1240. <Cell col="33" text="bind:execbaseflag"/>
  1241. <Cell col="34" text="bind:lrgcd"/>
  1242. <Cell col="35" text="bind:mdlcd"/>
  1243. <Cell col="36" text="bind:excupartcd"/>
  1244. <Cell col="37" text="bind:modality"/>
  1245. <Cell col="38" text="bind:acptrem"/>
  1246. <Cell col="39" text="bind:execrem"/>
  1247. <Cell col="40" text="bind:newElement"/>
  1248. <Cell col="41" text="bind:carecnfmdd"/>
  1249. <Cell col="42" text="bind:excuroomnm"/>
  1250. <Cell col="43" text="bind:rgstdepthngnm"/>
  1251. <Cell col="44" text="bind:prcpkindcd"/>
  1252. <Cell col="45" text="bind:rcptno"/>
  1253. <Cell col="46" text="bind:acptseqno"/>
  1254. <Cell col="47" text="bind:execrid1"/>
  1255. <Cell col="48" text="bind:execrid2"/>
  1256. <Cell col="49" text="bind:execrid3"/>
  1257. <Cell col="50" text="bind:execrid4"/>
  1258. </Band>
  1259. </Format>
  1260. </Formats>
  1261. </Grid>
  1262. <Grid position="absolute 2 0 995 305" id="grd_ordlist4" binddataset="ds_grd_ordlist4" anchor="all" oncellclick="grp_body_group2_switch1_case4_grd_ordlist4_oncellclick" cellmovingtype="col" cellsizingtype="col" onlbuttonup="grp_body_group2_switch1_datagrid_onlbuttonup" cellsizebandtype="allband" selecttype="multirow" cellclickbound="cell" onrbuttonup="grp_body_group2_switch1_case4_grd_ordlist4_onrbuttonup" onmousemove="grp_body_group2_switch1_case4_grd_ordlist4_onmousemove" autoenter="key">
  1263. <Formats>
  1264. <Format id="default">
  1265. <Columns>
  1266. <Column size="25" band="left"/>
  1267. <Column size="16" band="left"/>
  1268. <Column size="62" band="left"/>
  1269. <Column size="59" band="left"/>
  1270. <Column size="40" band="left"/>
  1271. <Column size="60" band="left"/>
  1272. <Column size="85"/>
  1273. <Column size="58"/>
  1274. <Column size="68"/>
  1275. <Column size="0"/>
  1276. <Column size="0"/>
  1277. <Column size="42"/>
  1278. <Column size="70"/>
  1279. <Column size="109"/>
  1280. <Column size="70"/>
  1281. <Column size="32"/>
  1282. <Column size="100"/>
  1283. <Column size="42"/>
  1284. <Column size="50"/>
  1285. <Column size="105"/>
  1286. <Column size="80"/>
  1287. <Column size="147"/>
  1288. <Column size="31"/>
  1289. <Column size="32"/>
  1290. <Column size="59"/>
  1291. <Column size="113"/>
  1292. <Column size="62"/>
  1293. <Column size="62"/>
  1294. <Column size="100"/>
  1295. <Column size="100"/>
  1296. <Column size="39"/>
  1297. <Column size="49"/>
  1298. <Column size="0"/>
  1299. <Column size="0"/>
  1300. <Column size="0"/>
  1301. <Column size="0"/>
  1302. <Column size="0"/>
  1303. <Column size="0"/>
  1304. <Column size="0"/>
  1305. <Column size="0"/>
  1306. <Column size="0"/>
  1307. <Column size="0"/>
  1308. <Column size="0"/>
  1309. <Column size="0"/>
  1310. <Column size="0"/>
  1311. <Column size="0"/>
  1312. <Column size="0"/>
  1313. <Column size="0"/>
  1314. <Column size="0"/>
  1315. <Column size="0"/>
  1316. <Column size="0"/>
  1317. <Column size="0"/>
  1318. <Column size="0"/>
  1319. <Column size="0"/>
  1320. <Column size="0"/>
  1321. <Column size="0"/>
  1322. <Column size="0"/>
  1323. <Column size="0"/>
  1324. <Column size="0"/>
  1325. <Column size="0"/>
  1326. <Column size="0"/>
  1327. <Column size="0"/>
  1328. <Column size="0"/>
  1329. <Column size="0"/>
  1330. <Column size="0"/>
  1331. <Column size="0"/>
  1332. <Column size="0"/>
  1333. <Column size="0"/>
  1334. <Column size="0"/>
  1335. <Column size="0"/>
  1336. <Column size="0"/>
  1337. <Column size="0"/>
  1338. <Column size="0"/>
  1339. <Column size="0"/>
  1340. <Column size="0"/>
  1341. <Column size="0"/>
  1342. <Column size="0"/>
  1343. <Column size="0"/>
  1344. <Column size="100"/>
  1345. <Column size="0"/>
  1346. </Columns>
  1347. <Rows>
  1348. <Row size="24" band="head"/>
  1349. <Row size="24"/>
  1350. </Rows>
  1351. <Band id="head">
  1352. <Cell/>
  1353. <Cell col="1"/>
  1354. <Cell col="2" text="등록번호4"/>
  1355. <Cell col="3" text="성명"/>
  1356. <Cell col="4" text="S/A"/>
  1357. <Cell col="5" text="주민번호"/>
  1358. <Cell col="6" text="진료과"/>
  1359. <Cell col="7" text="진료의"/>
  1360. <Cell col="8" displaytype="normal" edittype="normal" text="지정검사의" combodataset="ds_init_selectdridlist"/>
  1361. <Cell col="9" colspan="2" text="선택진료의" taborder="undefined"/>
  1362. <Cell col="11" text="포터블"/>
  1363. <Cell col="12" text="처방코드"/>
  1364. <Cell col="13" text="처방일자"/>
  1365. <Cell col="14" text="처방상태"/>
  1366. <Cell col="15" text="수납"/>
  1367. <Cell col="16" text="검사실"/>
  1368. <Cell col="17" text="병동"/>
  1369. <Cell col="18" text="병실"/>
  1370. <Cell col="19" text="예약일자"/>
  1371. <Cell col="20" text="희망일자"/>
  1372. <Cell col="21" text="처방명"/>
  1373. <Cell col="22" text="수량"/>
  1374. <Cell col="23" text="횟수"/>
  1375. <Cell col="24" text="예약자"/>
  1376. <Cell col="25" text="실시일자"/>
  1377. <Cell col="26" text="실시자"/>
  1378. <Cell col="27" text="취소코드"/>
  1379. <Cell col="28" text="전화번호1"/>
  1380. <Cell col="29" text="전화번호2"/>
  1381. <Cell col="30" text="키"/>
  1382. <Cell col="31" text="몸무게"/>
  1383. <Cell col="32" text="execprcpuniqno"/>
  1384. <Cell col="33" text="prcpexecdeptcd"/>
  1385. <Cell col="34" text="excuroomcd"/>
  1386. <Cell col="35" text="rgstdeptcd"/>
  1387. <Cell col="36" text="rgstrid"/>
  1388. <Cell col="37" text="inflag"/>
  1389. <Cell col="38" text="rcptacptyn"/>
  1390. <Cell col="39" text="ExecBaseFlag"/>
  1391. <Cell col="40" text="lrgcd"/>
  1392. <Cell col="41" text="mdlcd"/>
  1393. <Cell col="42" text="excupartcd"/>
  1394. <Cell col="43" text="modality"/>
  1395. <Cell col="44" text="execrem"/>
  1396. <Cell col="45" text="prcpdelivefact"/>
  1397. <Cell col="46" text="carecnfmdd"/>
  1398. <Cell col="47" text="excuroomnm"/>
  1399. <Cell col="48" text="rgstdepthngnm"/>
  1400. <Cell col="49" text="prcpkindcd"/>
  1401. <Cell col="50" text="rcptno"/>
  1402. <Cell col="51" text="acptseqno"/>
  1403. <Cell col="52" text="prcpdelivefact"/>
  1404. <Cell col="53" text="prcpgenrflag"/>
  1405. <Cell col="54" text="orddd"/>
  1406. <Cell col="55" text="rgstrid"/>
  1407. <Cell col="56" text="orddrnm"/>
  1408. <Cell col="57" text="orddeptcd"/>
  1409. <Cell col="58" text="rcptdd"/>
  1410. <Cell col="59" text="orddrid"/>
  1411. <Cell col="60" text="prcpgenrflag"/>
  1412. <Cell col="61" text="prcpno"/>
  1413. <Cell col="62" text="EqmtIFYn"/>
  1414. <Cell col="63" text="basesuppdeptcd"/>
  1415. <Cell col="64" text="rsrvdt"/>
  1416. <Cell col="65" text="inclprcpcd"/>
  1417. <Cell col="66" text="caption1"/>
  1418. <Cell col="67" text="caption2"/>
  1419. <Cell col="68" text="caption3"/>
  1420. <Cell col="69" text="caption4"/>
  1421. <Cell col="70" text="caption5"/>
  1422. <Cell col="71" text="caption6"/>
  1423. <Cell col="72" text="cnclresncdnm"/>
  1424. <Cell col="73" text="rsrvexmptmplcd"/>
  1425. <Cell col="74" text="rrsgtno2"/>
  1426. <Cell col="75" text="clincstdycd"/>
  1427. <Cell col="76" text="execrid1"/>
  1428. <Cell col="77" text="aftrcptinfo"/>
  1429. <Cell col="78" text="급비"/>
  1430. <Cell col="79" text="급비"/>
  1431. </Band>
  1432. <Band id="body">
  1433. <Cell celltype="head" text="expr:currow+1"/>
  1434. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:check" expr="expr:(check==&quot;true&quot;||check==1)?1:0"/>
  1435. <Cell col="2" text="bind:pid"/>
  1436. <Cell col="3" text="bind:hngnm"/>
  1437. <Cell col="4" text="bind:sna"/>
  1438. <Cell col="5" text="bind:rrgstno1"/>
  1439. <Cell col="6" style="align:left;" text="bind:orddepthngnm"/>
  1440. <Cell col="7" text="bind:orddrnm"/>
  1441. <Cell col="8" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:selectdrid" combodataset="ds_init_selectdridlist" combocodecol="userid" combodatacol="usernm"/>
  1442. <Cell col="9" edittype="none" text="bind:choiordflag"/>
  1443. <Cell col="10" displaytype="combo" edittype="combo" text="bind:specdrid" combodataset="ds_init_specdridlist" combocodecol="userid" combodatacol="usernm" enable="true"/>
  1444. <Cell col="11" text="bind:portprcpflag"/>
  1445. <Cell col="12" style="align:left;" text="bind:calcscorcd"/>
  1446. <Cell col="13" displaytype="date" style="align:left;" text="bind:prcpdt" wordwrap="char" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
  1447. <Cell col="14" style="align:left;" text="bind:statcd" enable="true"/>
  1448. <Cell col="15" text="bind:rcptyn"/>
  1449. <Cell col="16" displaytype="combo" edittype="combo" text="bind:excuroomcd" combodataset="ds_cmb_initexecroom" combocodecol="excuroomcdid" combodatacol="excuroomcdnm"/>
  1450. <Cell col="17" text="bind:roomcd"/>
  1451. <Cell col="18" text="bind:roomnm"/>
  1452. <Cell col="19" displaytype="date" style="align:left;" text="bind:srchrsrvdt" wordwrap="char" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
  1453. <Cell col="20" displaytype="date" text="bind:prcphopedd" calendardisplaynulltype="nulltext"/>
  1454. <Cell col="21" style="align:left;" text="bind:prcpnm"/>
  1455. <Cell col="22" text="bind:prcpqty"/>
  1456. <Cell col="23" text="bind:execprcptims"/>
  1457. <Cell col="24" text="bind:rsrvrnm"/>
  1458. <Cell col="25" displaytype="date" style="align:left;" text="bind:execdt" wordwrap="char" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
  1459. <Cell col="26" edittype="none" text="bind:execrnm"/>
  1460. <Cell col="27" text="bind:basecd"/>
  1461. <Cell col="28" text="bind:hometel"/>
  1462. <Cell col="29" text="bind:mpphontel"/>
  1463. <Cell col="30" text="bind:hight"/>
  1464. <Cell col="31" text="bind:weight"/>
  1465. <Cell col="32" text="bind:execprcpuniqno"/>
  1466. <Cell col="33" text="bind:prcpexecdeptcd"/>
  1467. <Cell col="34" text="bind:rgstdeptcd"/>
  1468. <Cell col="35" text="bind:rgstrid"/>
  1469. <Cell col="36" text="bind:inflag"/>
  1470. <Cell col="37" text="bind:rcptacptyn"/>
  1471. <Cell col="38" text="bind:execbaseflag"/>
  1472. <Cell col="39" text="bind:lrgcd"/>
  1473. <Cell col="40" text="bind:mdlcd"/>
  1474. <Cell col="41" text="bind:excupartcd"/>
  1475. <Cell col="42" text="bind:modality"/>
  1476. <Cell col="43" text="bind:execrem"/>
  1477. <Cell col="44" text="bind:prcpdelivefact"/>
  1478. <Cell col="45" text="bind:carecnfmdd"/>
  1479. <Cell col="46" text="bind:excuroomnm"/>
  1480. <Cell col="47" text="bind:rgstdepthngnm"/>
  1481. <Cell col="48" text="bind:prcpkindcd"/>
  1482. <Cell col="49" text="bind:rcptno"/>
  1483. <Cell col="50" text="bind:acptseqno"/>
  1484. <Cell col="51" text="bind:prcpdelivefact"/>
  1485. <Cell col="52" text="bind:prcpgenrflag"/>
  1486. <Cell col="53" text="bind:orddd"/>
  1487. <Cell col="54" text="bind:rgstrid"/>
  1488. <Cell col="55" text="bind:orddrnm"/>
  1489. <Cell col="56" text="bind:orddeptcd"/>
  1490. <Cell col="57" text="bind:rcptdd"/>
  1491. <Cell col="58" text="bind:orddrid"/>
  1492. <Cell col="59" text="bind:prcpgenrflag"/>
  1493. <Cell col="60" text="bind:prcpno"/>
  1494. <Cell col="61" text="bind:eqmtifyn"/>
  1495. <Cell col="62" text="bind:basesuppdeptcd"/>
  1496. <Cell col="63" text="bind:rsrvdt"/>
  1497. <Cell col="64" text="bind:inclprcpcd"/>
  1498. <Cell col="65" text="bind:examroomnm"/>
  1499. <Cell col="66" text="bind:execprcpstatcd"/>
  1500. <Cell col="67" text="bind:tmpldata"/>
  1501. <Cell col="68" text="bind:prcpdd"/>
  1502. <Cell col="69" text="bind:rsrvrid"/>
  1503. <Cell col="70" text="bind:pacsnocretyn"/>
  1504. <Cell col="71" text="bind:cnclresncdnm"/>
  1505. <Cell col="72" text="bind:rsrvexmptmplcd"/>
  1506. <Cell col="73" text="bind:rrgstno2"/>
  1507. <Cell col="74" text="bind:clincstdycd"/>
  1508. <Cell col="75" text="bind:execrid1"/>
  1509. <Cell col="76" text="bind:aftrcptinfo"/>
  1510. <Cell col="77" text="bind:unrsrvexecyn"/>
  1511. <Cell col="78" displaytype="combo" edittype="combo" text="bind:insukind" combodataset="ds_init_P0008" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  1512. <Cell col="79" text="bind:specdrid"/>
  1513. </Band>
  1514. </Format>
  1515. </Formats>
  1516. </Grid>
  1517. </Layout>
  1518. </Layouts>
  1519. </Tabpage>
  1520. <Tabpage text="미예약" id="case6" scrollbars="none">
  1521. <Layouts>
  1522. <Layout>
  1523. <Shape position="absolute 2 2 995 8" linetype="horizontal" id="line14" class="line_1" anchor="default"/>
  1524. <Grid position="absolute 2 0 995 301" id="grd_ordlist6" binddataset="ds_grd_ordlist6" anchor="all" oncellclick="grp_body_group2_switch1_case6_grd_ordlist6_oncellclick" cellsizingtype="col" cellmovingtype="col" onlbuttonup="grp_body_group2_switch1_datagrid_onlbuttonup" cellsizebandtype="allband" selecttype="multirow" cellclickbound="cell" onrbuttonup="grp_body_group2_switch1_case6_grd_ordlist6_onrbuttonup" onmousemove="grp_body_group2_switch1_case6_grd_ordlist6_onmousemove" autoenter="key">
  1525. <Formats>
  1526. <Format id="default">
  1527. <Columns>
  1528. <Column size="25" band="left"/>
  1529. <Column size="16" band="left"/>
  1530. <Column size="72" band="left"/>
  1531. <Column size="70" band="left"/>
  1532. <Column size="45" band="left"/>
  1533. <Column size="60" band="left"/>
  1534. <Column size="73"/>
  1535. <Column size="58"/>
  1536. <Column size="68"/>
  1537. <Column size="0"/>
  1538. <Column size="0"/>
  1539. <Column size="42"/>
  1540. <Column size="50"/>
  1541. <Column size="80"/>
  1542. <Column size="64"/>
  1543. <Column size="43"/>
  1544. <Column size="100"/>
  1545. <Column size="70"/>
  1546. <Column size="61"/>
  1547. <Column size="116"/>
  1548. <Column size="80"/>
  1549. <Column size="165"/>
  1550. <Column size="32"/>
  1551. <Column size="34"/>
  1552. <Column size="59"/>
  1553. <Column size="0"/>
  1554. <Column size="0"/>
  1555. <Column size="54"/>
  1556. <Column size="100"/>
  1557. <Column size="70"/>
  1558. <Column size="100"/>
  1559. <Column size="100"/>
  1560. <Column size="39"/>
  1561. <Column size="49"/>
  1562. <Column size="0"/>
  1563. <Column size="0"/>
  1564. <Column size="0"/>
  1565. <Column size="0"/>
  1566. <Column size="0"/>
  1567. <Column size="0"/>
  1568. <Column size="0"/>
  1569. <Column size="0"/>
  1570. <Column size="0"/>
  1571. <Column size="0"/>
  1572. <Column size="0"/>
  1573. <Column size="0"/>
  1574. <Column size="0"/>
  1575. <Column size="0"/>
  1576. <Column size="0"/>
  1577. <Column size="0"/>
  1578. <Column size="0"/>
  1579. <Column size="0"/>
  1580. <Column size="0"/>
  1581. <Column size="0"/>
  1582. <Column size="0"/>
  1583. <Column size="0"/>
  1584. <Column size="0"/>
  1585. <Column size="0"/>
  1586. <Column size="0"/>
  1587. <Column size="0"/>
  1588. <Column size="0"/>
  1589. <Column size="0"/>
  1590. <Column size="0"/>
  1591. <Column size="0"/>
  1592. <Column size="0"/>
  1593. <Column size="0"/>
  1594. <Column size="0"/>
  1595. <Column size="0"/>
  1596. <Column size="0"/>
  1597. <Column size="0"/>
  1598. <Column size="0"/>
  1599. <Column size="0"/>
  1600. <Column size="0"/>
  1601. <Column size="0"/>
  1602. <Column size="0"/>
  1603. <Column size="0"/>
  1604. <Column size="0"/>
  1605. <Column size="0"/>
  1606. <Column size="0"/>
  1607. <Column size="0"/>
  1608. <Column size="0"/>
  1609. <Column size="0"/>
  1610. <Column size="0"/>
  1611. <Column size="0"/>
  1612. <Column size="0"/>
  1613. <Column size="0"/>
  1614. <Column size="0"/>
  1615. <Column size="0"/>
  1616. <Column size="0"/>
  1617. <Column size="100"/>
  1618. <Column size="0"/>
  1619. </Columns>
  1620. <Rows>
  1621. <Row size="24" band="head"/>
  1622. <Row size="24"/>
  1623. </Rows>
  1624. <Band id="head">
  1625. <Cell/>
  1626. <Cell col="1"/>
  1627. <Cell col="2" text="등록번호6"/>
  1628. <Cell col="3" text="성명"/>
  1629. <Cell col="4" text="S/A"/>
  1630. <Cell col="5" text="주민번호"/>
  1631. <Cell col="6" text="진료과"/>
  1632. <Cell col="7" text="진료의"/>
  1633. <Cell col="8" text="지정검사의"/>
  1634. <Cell col="9" colspan="2" text="선택진료의" taborder="undefined"/>
  1635. <Cell col="11" text="포터블"/>
  1636. <Cell col="12" text="처방코드"/>
  1637. <Cell col="13" text="처방일자"/>
  1638. <Cell col="14" text="처방상태"/>
  1639. <Cell col="15" text="수납"/>
  1640. <Cell col="16" text="검사실"/>
  1641. <Cell col="17" text="병동"/>
  1642. <Cell col="18" text="병실"/>
  1643. <Cell col="19" text="예약시간"/>
  1644. <Cell col="20" text="희망일자"/>
  1645. <Cell col="21" text="처방명"/>
  1646. <Cell col="22" text="수량"/>
  1647. <Cell col="23" text="횟수"/>
  1648. <Cell col="24" text="예약자"/>
  1649. <Cell col="25" text="접수시간"/>
  1650. <Cell col="26" text="접수자"/>
  1651. <Cell col="27" text="실시시간"/>
  1652. <Cell col="28" text="실시자"/>
  1653. <Cell col="29" text="취소코드"/>
  1654. <Cell col="30" text="전화번호1"/>
  1655. <Cell col="31" text="전화번호2"/>
  1656. <Cell col="32" text="키"/>
  1657. <Cell col="33" text="몸무게"/>
  1658. <Cell col="34" text="execprcpuniqno"/>
  1659. <Cell col="35" text="prcpexecdeptcd"/>
  1660. <Cell col="36" text="excuroomcd"/>
  1661. <Cell col="37" text="rgstdeptcd"/>
  1662. <Cell col="38" text="rgstrid"/>
  1663. <Cell col="39" text="inflag"/>
  1664. <Cell col="40" text="rcptacptyn"/>
  1665. <Cell col="41" text="ExecBaseFlag"/>
  1666. <Cell col="42" text="lrgcd"/>
  1667. <Cell col="43" text="mdlcd"/>
  1668. <Cell col="44" text="excupartcd"/>
  1669. <Cell col="45" text="modality"/>
  1670. <Cell col="46" text="acptrem"/>
  1671. <Cell col="47" text="execrem"/>
  1672. <Cell col="48" text="prcpdelivefact"/>
  1673. <Cell col="49" text="carecnfmdd"/>
  1674. <Cell col="50" text="excuroomnm"/>
  1675. <Cell col="51" text="rgstdepthngnm"/>
  1676. <Cell col="52" text="prcpkindcd"/>
  1677. <Cell col="53" text="rcptno"/>
  1678. <Cell col="54" text="acptseqno"/>
  1679. <Cell col="55" text="prcpdelivefact"/>
  1680. <Cell col="56" text="execrid1"/>
  1681. <Cell col="57" text="execrid2"/>
  1682. <Cell col="58" text="execrid3"/>
  1683. <Cell col="59" text="execrid4"/>
  1684. <Cell col="60" text="prcpgenrflag"/>
  1685. <Cell col="61" text="indd"/>
  1686. <Cell col="62" text="rgstrid"/>
  1687. <Cell col="63" text="orddrnm"/>
  1688. <Cell col="64" text="orddeptcd"/>
  1689. <Cell col="65" text="rcptdd"/>
  1690. <Cell col="66" text="orddrid"/>
  1691. <Cell col="67" text="prcpgenrflag"/>
  1692. <Cell col="68" text="prcpno"/>
  1693. <Cell col="69" text="EqmtIFYn"/>
  1694. <Cell col="70" text="basesuppdeptcd"/>
  1695. <Cell col="71" text="tmpldata"/>
  1696. <Cell col="72" text="wardcd"/>
  1697. <Cell col="73" text="prcpexecdeptcd"/>
  1698. <Cell col="74" text="rsrvdt"/>
  1699. <Cell col="75" text="prcphistno"/>
  1700. <Cell col="76" text="inclprcpcd"/>
  1701. <Cell col="77" text="actorddd"/>
  1702. <Cell col="78" text="retno"/>
  1703. <Cell col="79" text="pacsnocretyn"/>
  1704. <Cell col="80" text="examroonm"/>
  1705. <Cell col="81" text="execprcpstatcd"/>
  1706. <Cell col="82" text="caption1"/>
  1707. <Cell col="83" text="caption2"/>
  1708. <Cell col="84" text="caption3"/>
  1709. <Cell col="85" text="rsrvexmptmplcd"/>
  1710. <Cell col="86" text="rrsgtno2"/>
  1711. <Cell col="87" text="clincstdycd"/>
  1712. <Cell col="88" text="aftrcptinfo"/>
  1713. <Cell col="89" text="급비"/>
  1714. <Cell col="90" text="급비"/>
  1715. </Band>
  1716. <Band id="body">
  1717. <Cell celltype="head" text="expr:currow+1"/>
  1718. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:check" expr="expr:(check==&quot;true&quot;||check==1)?1:0"/>
  1719. <Cell col="2" text="bind:pid"/>
  1720. <Cell col="3" text="bind:hngnm"/>
  1721. <Cell col="4" text="bind:sna"/>
  1722. <Cell col="5" text="bind:rrgstno1"/>
  1723. <Cell col="6" style="align:left;" text="bind:orddepthngnm"/>
  1724. <Cell col="7" text="bind:orddrnm"/>
  1725. <Cell col="8" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:selectdrid" combodataset="ds_init_selectdridlist" combocodecol="userid" combodatacol="usernm"/>
  1726. <Cell col="9" text="bind:choiordflag"/>
  1727. <Cell col="10" displaytype="combo" edittype="combo" text="bind:specdrid" combodataset="ds_init_specdridlist" combocodecol="userid" combodatacol="usernm" enable="true"/>
  1728. <Cell col="11" text="bind:portprcpflag"/>
  1729. <Cell col="12" text="bind:calcscorcd"/>
  1730. <Cell col="13" displaytype="date" style="align:left;" text="bind:prcpdt" wordwrap="char" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
  1731. <Cell col="14" style="align:left;" text="bind:statcd"/>
  1732. <Cell col="15" text="bind:rcptyn"/>
  1733. <Cell col="16" displaytype="combo" edittype="combo" text="bind:excuroomcd" combodataset="ds_cmb_initexecroom" combocodecol="excuroomcdid" combodatacol="excuroomcdnm"/>
  1734. <Cell col="17" text="bind:roomcd"/>
  1735. <Cell col="18" text="bind:roomnm"/>
  1736. <Cell col="19" displaytype="date" text="bind:srchrsrvdt" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
  1737. <Cell col="20" displaytype="date" text="bind:prcphopedd" calendardisplaynulltype="nulltext"/>
  1738. <Cell col="21" style="align:left;" text="bind:prcpnm"/>
  1739. <Cell col="22" text="bind:prcpqty"/>
  1740. <Cell col="23" text="bind:execprcptims"/>
  1741. <Cell col="24" displaytype="combo" edittype="combo" text="bind:rsrvid" combodataset="ds_cmb_initexecrid" combocodecol="execrid1cdid" combodatacol="execrid1cdnm"/>
  1742. <Cell col="25" text="bind:rcptdd"/>
  1743. <Cell col="26" text="bind:acptid"/>
  1744. <Cell col="27" style="align:left;" text="bind:execdt" wordwrap="char"/>
  1745. <Cell col="28" displaytype="combo" edittype="combo" text="bind:execrid1" combodataset="ds_cmb_initexecrid" combocodecol="execrid1cdid" combodatacol="execrid1cdnm"/>
  1746. <Cell col="29" text="bind:basecd"/>
  1747. <Cell col="30" text="bind:hometel"/>
  1748. <Cell col="31" text="bind:mpphontel"/>
  1749. <Cell col="32" text="bind:hight"/>
  1750. <Cell col="33" text="bind:weight"/>
  1751. <Cell col="34" text="bind:execprcpuniqno"/>
  1752. <Cell col="35" text="bind:prcpexecdeptcd"/>
  1753. <Cell col="36" text="bind:rgstdeptcd"/>
  1754. <Cell col="37" text="bind:rgstrid"/>
  1755. <Cell col="38" text="bind:inflag"/>
  1756. <Cell col="39" text="bind:rcptacptyn"/>
  1757. <Cell col="40" text="bind:execbaseflag"/>
  1758. <Cell col="41" text="bind:lrgcd"/>
  1759. <Cell col="42" text="bind:mdlcd"/>
  1760. <Cell col="43" text="bind:excupartcd"/>
  1761. <Cell col="44" text="bind:modality"/>
  1762. <Cell col="45" text="bind:acptrem"/>
  1763. <Cell col="46" text="bind:execrem"/>
  1764. <Cell col="47" text="bind:prcpdelivefact"/>
  1765. <Cell col="48" text="bind:carecnfmdd"/>
  1766. <Cell col="49" text="bind:excuroomnm"/>
  1767. <Cell col="50" text="bind:rgstdepthngnm"/>
  1768. <Cell col="51" text="bind:prcpkindcd"/>
  1769. <Cell col="52" text="bind:rcptno"/>
  1770. <Cell col="53" text="bind:acptseqno"/>
  1771. <Cell col="54" text="bind:prcpdelivefact"/>
  1772. <Cell col="55" text="bind:execrid1"/>
  1773. <Cell col="56" text="bind:execrid2"/>
  1774. <Cell col="57" text="bind:execrid3"/>
  1775. <Cell col="58" text="bind:execrid4"/>
  1776. <Cell col="59" text="bind:prcpgenrflag"/>
  1777. <Cell col="60" text="bind:orddd"/>
  1778. <Cell col="61" text="bind:rgstrid"/>
  1779. <Cell col="62" text="bind:orddrnm"/>
  1780. <Cell col="63" text="bind:orddeptcd"/>
  1781. <Cell col="64" text="bind:rcptdd"/>
  1782. <Cell col="65" text="bind:orddrid"/>
  1783. <Cell col="66" text="bind:prcpgenrflag"/>
  1784. <Cell col="67" text="bind:prcpno"/>
  1785. <Cell col="68" text="bind:eqmtifyn"/>
  1786. <Cell col="69" text="bind:basesuppdeptcd"/>
  1787. <Cell col="70" text="bind:tmpldata"/>
  1788. <Cell col="71" text="bind:wardcd"/>
  1789. <Cell col="72" text="bind:prcpexecdeptcd"/>
  1790. <Cell col="73" text="bind:rsrvdt"/>
  1791. <Cell col="74" text="bind:prcphistno"/>
  1792. <Cell col="75" text="bind:inclprcpcd"/>
  1793. <Cell col="76" text="bind:actorddd"/>
  1794. <Cell col="77" text="bind:cretno"/>
  1795. <Cell col="78" text="bind:pacsnocretyn"/>
  1796. <Cell col="79" text="bind:examroomnm"/>
  1797. <Cell col="80" text="bind:execprcpstatcd"/>
  1798. <Cell col="81" text="bind:tmpldata"/>
  1799. <Cell col="82" text="bind:prcpdd"/>
  1800. <Cell col="83" text="bind:cnclresncdnm"/>
  1801. <Cell col="84" text="bind:rsrvexmptmplcd"/>
  1802. <Cell col="85" text="bind:rrgstno2"/>
  1803. <Cell col="86" text="bind:clincstdycd"/>
  1804. <Cell col="87" text="bind:aftrcptinfo"/>
  1805. <Cell col="88" text="bind:unrsrvexecyn"/>
  1806. <Cell col="89" displaytype="combo" edittype="combo" text="bind:insukind" combodataset="ds_init_P0008" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  1807. <Cell col="90" text="bind:specdrid"/>
  1808. </Band>
  1809. </Format>
  1810. </Formats>
  1811. </Grid>
  1812. </Layout>
  1813. </Layouts>
  1814. </Tabpage>
  1815. <Tabpage text="대상자조회" id="case3">
  1816. <Layouts>
  1817. <Layout>
  1818. <Grid position="absolute 2 0 995 299" id="grd_ordlist3" binddataset="ds_grd_ordlist3" anchor="all" oncellclick="grp_body_group2_switch1_case3_grd_ordlist3_oncellclick" cellsizingtype="col" cellmovingtype="col" onlbuttonup="grp_body_group2_switch1_datagrid_onlbuttonup" cellsizebandtype="allband" selecttype="multirow" cellclickbound="cell" onrbuttonup="grp_body_group2_switch1_case3_grd_ordlist3_onrbuttonup" onmousemove="grp_body_group2_switch1_case3_grd_ordlist3_onmousemove" autoenter="key">
  1819. <Formats>
  1820. <Format id="default">
  1821. <Columns>
  1822. <Column size="25" band="left"/>
  1823. <Column size="16" band="left"/>
  1824. <Column size="62" band="left"/>
  1825. <Column size="61" band="left"/>
  1826. <Column size="38" band="left"/>
  1827. <Column size="60" band="left"/>
  1828. <Column size="73"/>
  1829. <Column size="58"/>
  1830. <Column size="0"/>
  1831. <Column size="68"/>
  1832. <Column size="0"/>
  1833. <Column size="0"/>
  1834. <Column size="42"/>
  1835. <Column size="76"/>
  1836. <Column size="104"/>
  1837. <Column size="70"/>
  1838. <Column size="30"/>
  1839. <Column size="83"/>
  1840. <Column size="41"/>
  1841. <Column size="50"/>
  1842. <Column size="102"/>
  1843. <Column size="80"/>
  1844. <Column size="137"/>
  1845. <Column size="31"/>
  1846. <Column size="31"/>
  1847. <Column size="101"/>
  1848. <Column size="62"/>
  1849. <Column size="60"/>
  1850. <Column size="68"/>
  1851. <Column size="100"/>
  1852. <Column size="100"/>
  1853. <Column size="39"/>
  1854. <Column size="49"/>
  1855. <Column size="0"/>
  1856. <Column size="0"/>
  1857. <Column size="0"/>
  1858. <Column size="0"/>
  1859. <Column size="0"/>
  1860. <Column size="0"/>
  1861. <Column size="0"/>
  1862. <Column size="0"/>
  1863. <Column size="0"/>
  1864. <Column size="0"/>
  1865. <Column size="0"/>
  1866. <Column size="0"/>
  1867. <Column size="0"/>
  1868. <Column size="0"/>
  1869. <Column size="0"/>
  1870. <Column size="0"/>
  1871. <Column size="0"/>
  1872. <Column size="0"/>
  1873. <Column size="0"/>
  1874. <Column size="0"/>
  1875. <Column size="0"/>
  1876. <Column size="0"/>
  1877. <Column size="0"/>
  1878. <Column size="0"/>
  1879. <Column size="0"/>
  1880. <Column size="0"/>
  1881. <Column size="0"/>
  1882. <Column size="0"/>
  1883. <Column size="0"/>
  1884. <Column size="0"/>
  1885. <Column size="0"/>
  1886. <Column size="0"/>
  1887. <Column size="0"/>
  1888. <Column size="0"/>
  1889. <Column size="0"/>
  1890. <Column size="0"/>
  1891. <Column size="0"/>
  1892. <Column size="0"/>
  1893. <Column size="0"/>
  1894. <Column size="0"/>
  1895. <Column size="0"/>
  1896. <Column size="0"/>
  1897. <Column size="0"/>
  1898. <Column size="100"/>
  1899. <Column size="0"/>
  1900. </Columns>
  1901. <Rows>
  1902. <Row size="24" band="head"/>
  1903. <Row size="24"/>
  1904. </Rows>
  1905. <Band id="head">
  1906. <Cell/>
  1907. <Cell col="1"/>
  1908. <Cell col="2" text="등록번호3"/>
  1909. <Cell col="3" text="성명"/>
  1910. <Cell col="4" text="S/A"/>
  1911. <Cell col="5" text="주민번호"/>
  1912. <Cell col="6" text="진료과"/>
  1913. <Cell col="7" text="진료의"/>
  1914. <Cell col="8" text="지정검사과"/>
  1915. <Cell col="9" text="지정검사의"/>
  1916. <Cell col="10" colspan="2" text="선택진료의" taborder="undefined"/>
  1917. <Cell col="12" text="포터블"/>
  1918. <Cell col="13" text="처방코드"/>
  1919. <Cell col="14" text="처방일자"/>
  1920. <Cell col="15" text="처방상태"/>
  1921. <Cell col="16" text="수납"/>
  1922. <Cell col="17" text="검사실"/>
  1923. <Cell col="18" text="병동"/>
  1924. <Cell col="19" text="병실"/>
  1925. <Cell col="20" text="예약일자"/>
  1926. <Cell col="21" text="희망일자"/>
  1927. <Cell col="22" text="처방명"/>
  1928. <Cell col="23" text="수량"/>
  1929. <Cell col="24" text="횟수"/>
  1930. <Cell col="25" text="실시일자"/>
  1931. <Cell col="26" text="실시자"/>
  1932. <Cell col="27" text="예약자"/>
  1933. <Cell col="28" text="취소코드"/>
  1934. <Cell col="29" text="전화번호1"/>
  1935. <Cell col="30" text="전화번호2"/>
  1936. <Cell col="31" text="키"/>
  1937. <Cell col="32" text="몸무게"/>
  1938. <Cell col="33" text="execprcpuniqno"/>
  1939. <Cell col="34" text="prcpexecdeptcd"/>
  1940. <Cell col="35" text="excuroomcd"/>
  1941. <Cell col="36" text="inflag"/>
  1942. <Cell col="37" text="rcptacptyn"/>
  1943. <Cell col="38" text="ExecBaseFlag"/>
  1944. <Cell col="39" text="excupartcd"/>
  1945. <Cell col="40" text="modality"/>
  1946. <Cell col="41" text="execrem"/>
  1947. <Cell col="42" text="prcpdelivefact"/>
  1948. <Cell col="43" text="carecnfmdd"/>
  1949. <Cell col="44" text="prcpkindcd"/>
  1950. <Cell col="45" text="rcptno"/>
  1951. <Cell col="46" text="acptseqno"/>
  1952. <Cell col="47" text="prcpgenrflag"/>
  1953. <Cell col="48" text="orddd"/>
  1954. <Cell col="49" text="orddeptcd"/>
  1955. <Cell col="50" text="rcptdd"/>
  1956. <Cell col="51" text="orddrid"/>
  1957. <Cell col="52" text="prcpno"/>
  1958. <Cell col="53" text="EqmtIFYn"/>
  1959. <Cell col="54" text="basesuppdeptcd"/>
  1960. <Cell col="55" text="cretno"/>
  1961. <Cell col="56" text="wardcd"/>
  1962. <Cell col="57" text="rsrvdt"/>
  1963. <Cell col="58" text="rgstdeptcd"/>
  1964. <Cell col="59" text="rgstrid"/>
  1965. <Cell col="60" text="inclprcpcd"/>
  1966. <Cell col="61" text="lrgcd"/>
  1967. <Cell col="62" text="mdlcd"/>
  1968. <Cell col="63" text="actorddd"/>
  1969. <Cell col="64" text="examroomnm"/>
  1970. <Cell col="65" text="prcphistno"/>
  1971. <Cell col="66" text="pacsnocretyn"/>
  1972. <Cell col="67" text="execprcpstatcd"/>
  1973. <Cell col="68" text="caption1"/>
  1974. <Cell col="69" text="caption2"/>
  1975. <Cell col="70" text="caption3"/>
  1976. <Cell col="71" text="cnclresncdnm"/>
  1977. <Cell col="72" text="rsrvexmptmplcd"/>
  1978. <Cell col="73" text="rrsgtno2"/>
  1979. <Cell col="74" text="clincstdycd"/>
  1980. <Cell col="75" text="aftrcptinfo"/>
  1981. <Cell col="76" text="급비"/>
  1982. <Cell col="77" text="급비"/>
  1983. </Band>
  1984. <Band id="body">
  1985. <Cell celltype="head" text="expr:currow+1"/>
  1986. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:check" expr="expr:(check==&quot;true&quot;||check==1)?1:0"/>
  1987. <Cell col="2" text="bind:pid"/>
  1988. <Cell col="3" text="bind:hngnm"/>
  1989. <Cell col="4" text="bind:sna"/>
  1990. <Cell col="5" text="bind:rrgstno1"/>
  1991. <Cell col="6" style="align:left;" text="bind:orddepthngnm"/>
  1992. <Cell col="7" text="bind:orddrnm"/>
  1993. <Cell col="8" text="bind:selectdeptcd"/>
  1994. <Cell col="9" displaytype="combo" edittype="combo" style="align:center;" text="bind:selectdrid" combodataset="ds_init_selectdridlist" combocodecol="userid" combodatacol="usernm"/>
  1995. <Cell col="10" text="bind:choiordflag"/>
  1996. <Cell col="11" displaytype="combo" edittype="combo" text="bind:specdrid" combodataset="ds_init_specdridlist" combocodecol="userid" combodatacol="usernm" enable="true"/>
  1997. <Cell col="12" text="bind:portprcpflag"/>
  1998. <Cell col="13" text="bind:calcscorcd"/>
  1999. <Cell col="14" displaytype="date" style="align:left;" text="bind:prcpdt" wordwrap="char" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
  2000. <Cell col="15" text="bind:statcd" enable="false"/>
  2001. <Cell col="16" text="bind:rcptyn"/>
  2002. <Cell col="17" displaytype="combo" edittype="combo" text="bind:excuroomcd" combodataset="ds_cmb_initexecroom" combocodecol="excuroomcdid" combodatacol="excuroomcdnm"/>
  2003. <Cell col="18" style="align:left;" text="bind:roomcd"/>
  2004. <Cell col="19" text="bind:roomnm"/>
  2005. <Cell col="20" displaytype="date" text="bind:srchrsrvdt" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
  2006. <Cell col="21" displaytype="date" text="bind:prcphopedd" calendardisplaynulltype="nulltext"/>
  2007. <Cell col="22" style="align:left;" text="bind:prcpnm"/>
  2008. <Cell col="23" text="bind:prcpqty"/>
  2009. <Cell col="24" text="bind:execprcptims"/>
  2010. <Cell col="25" displaytype="date" style="align:left;" text="bind:execdt" wordwrap="char" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
  2011. <Cell col="26" displaytype="combo" edittype="combo" text="bind:execrid1" combodataset="ds_cmb_initexecrid" combocodecol="execrid1cdid" combodatacol="execrid1cdnm"/>
  2012. <Cell col="27" text="bind:rsrvrnm"/>
  2013. <Cell col="28" text="bind:basecd"/>
  2014. <Cell col="29" text="bind:hometel"/>
  2015. <Cell col="30" text="bind:mpphontel"/>
  2016. <Cell col="31" text="bind:hight"/>
  2017. <Cell col="32" text="bind:weight"/>
  2018. <Cell col="33" text="bind:execprcpuniqno"/>
  2019. <Cell col="34" text="bind:prcpexecdeptcd"/>
  2020. <Cell col="35" text="bind:inflag"/>
  2021. <Cell col="36" text="bind:rcptacptyn"/>
  2022. <Cell col="37" text="bind:execbaseflag"/>
  2023. <Cell col="38" text="bind:excupartcd"/>
  2024. <Cell col="39" text="bind:modality"/>
  2025. <Cell col="40" text="bind:execrem"/>
  2026. <Cell col="41" text="bind:prcpdelivefact"/>
  2027. <Cell col="42" text="bind:carecnfmdd"/>
  2028. <Cell col="43" text="bind:prcpkindcd"/>
  2029. <Cell col="44" text="bind:rcptno"/>
  2030. <Cell col="45" text="bind:acptseqno"/>
  2031. <Cell col="46" text="bind:prcpgenrflag"/>
  2032. <Cell col="47" text="bind:orddd"/>
  2033. <Cell col="48" text="bind:orddeptcd"/>
  2034. <Cell col="49" text="bind:rcptdd"/>
  2035. <Cell col="50" text="bind:orddrid"/>
  2036. <Cell col="51" text="bind:prcpno"/>
  2037. <Cell col="52" text="bind:eqmtifyn"/>
  2038. <Cell col="53" text="bind:basesuppdeptcd"/>
  2039. <Cell col="54" text="bind:cretno"/>
  2040. <Cell col="55" text="bind:wardcd"/>
  2041. <Cell col="56" text="bind:rsrvdt"/>
  2042. <Cell col="57" text="bind:rgstdeptcd"/>
  2043. <Cell col="58" text="bind:rgstrid"/>
  2044. <Cell col="59" text="bind:inclprcpcd"/>
  2045. <Cell col="60" text="bind:lrgcd"/>
  2046. <Cell col="61" text="bind:mdlcd"/>
  2047. <Cell col="62" text="bind:actorddd"/>
  2048. <Cell col="63" text="bind:examroomnm"/>
  2049. <Cell col="64" text="bind:prcphistno"/>
  2050. <Cell col="65" text="bind:pacsnocretyn"/>
  2051. <Cell col="66" text="bind:execprcpstatcd"/>
  2052. <Cell col="67" text="bind:tmpldata"/>
  2053. <Cell col="68" text="bind:prcpdd"/>
  2054. <Cell col="69" text="bind:rsrvrid"/>
  2055. <Cell col="70" text="bind:cnclresncdnm"/>
  2056. <Cell col="71" text="bind:rsrvexmptmplcd"/>
  2057. <Cell col="72" text="bind:rrgstno2"/>
  2058. <Cell col="73" text="bind:clincstdycd"/>
  2059. <Cell col="74" text="bind:aftrcptinfo"/>
  2060. <Cell col="75" text="bind:unrsrvexecyn"/>
  2061. <Cell col="76" displaytype="combo" edittype="combo" text="bind:insukind" combodataset="ds_init_P0008" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  2062. <Cell col="77" text="bind:specdrid"/>
  2063. </Band>
  2064. </Format>
  2065. </Formats>
  2066. </Grid>
  2067. </Layout>
  2068. </Layouts>
  2069. </Tabpage>
  2070. </Tabpages>
  2071. </Tab>
  2072. <TextArea position="absolute 1005 228 1193 265" id="tar_patrem" anchor="top right" wordwrap="char" scrollbars="autovert"/>
  2073. <Static text="처방전달사항/검통전달사항" position="absolute 1005 76 1193 92" id="caption2" class="tit_2" anchor="top right"/>
  2074. <Static text="검사 Comment" position="absolute 1005 142 1115 158" id="caption3" class="tit_2" anchor="top right"/>
  2075. <Button position="absolute 1151 204 1193 223" id="btn_patcmtsave" class="btn2" text="저장" anchor="top right" onclick="grp_body_group2_btn_patcmtsave_onclick"/>
  2076. <Button position="absolute 1151 268 1193 287" id="btn_deptmemosave" class="btn2" text="저장" anchor="top right" onclick="grp_body_group2_btn_deptmemosave_onclick"/>
  2077. <Static text="환자 Comment" position="absolute 1005 207 1115 223" id="caption4" class="tit_2" anchor="top right"/>
  2078. <TextArea position="absolute 1005 97 1193 134" id="tar_prcpdelivefact" anchor="top right" wordwrap="char" scrollbars="autovert" style="font:Dotum,9,bold;"/>
  2079. <Button position="absolute 1151 139 1193 158" id="btn_excucmtsave" class="btn2" visible="true" text="저장" anchor="top right" onclick="grp_body_group2_btn_excucmtsave_onclick"/>
  2080. <Static text="부서메모" position="absolute 1005 271 1102 287" id="caption7" class="tit_2" anchor="top right"/>
  2081. <Shape position="absolute 1005 223 1193 229" linetype="horizontal" id="line3" class="line_10" anchor="top right"/>
  2082. <Shape position="absolute 1005 287 1193 293" linetype="horizontal" id="line4" class="line_10" anchor="top right"/>
  2083. <TextArea position="absolute 1005 163 1193 200" id="tar_excurem" anchor="top right" wordwrap="char" scrollbars="autovert"/>
  2084. <Shape position="absolute 1005 92 1193 98" linetype="horizontal" id="line6" class="line_10" anchor="top right"/>
  2085. <Shape position="absolute 1005 158 1193 164" linetype="horizontal" id="line9" class="line_10" anchor="top right"/>
  2086. <TextArea position="absolute 1005 292 1193 333" id="tat_deptmemo" anchor="top right" wordwrap="char" scrollbars="autovert"/>
  2087. <Shape position="absolute 1005 21 1193 27" linetype="horizontal" id="line12" class="line_10" anchor="top right"/>
  2088. <Grid position="absolute 1005 26 1193 69" align="align:left middle;" id="grd_momolist" class="datagrid0" scrollbars="fixedvert" binddataset="ds_patrem_examcureexecdiaglist" anchor="top right" autosizingtype="row" extendsizetype="row">
  2089. <Formats>
  2090. <Format id="default">
  2091. <Columns>
  2092. <Column size="170"/>
  2093. </Columns>
  2094. <Rows>
  2095. <Row size="21"/>
  2096. </Rows>
  2097. <Band id="body">
  2098. <Cell style="align:left;" text="bind:diagengnm" wordwrap="char" autosizerow="limitmin"/>
  2099. </Band>
  2100. </Format>
  2101. </Formats>
  2102. </Grid>
  2103. <Static text="상병" position="absolute 1005 5 1122 21" id="caption18" class="tit_2" anchor="top right"/>
  2104. <Button position="absolute 1118 2 1193 21" id="order_bak" class="btn2" visible="true" text="Old 처방" anchor="top right" onclick="grp_body_group2_order_bak_onclick"/>
  2105. <Shape position="absolute 395 5 415 20" id="rectangle3" type="rectangle" anchor="default" style="fillbrush:solid #ffff00ff true;"/>
  2106. <Shape position="absolute 430 5 450 20" id="rectangle4" type="rectangle" anchor="default" style="fillbrush:solid #ccffccff true;"/>
  2107. <Shape position="absolute 501 5 521 20" id="rectangle5" type="rectangle" anchor="default" style="fillbrush:solid #ff9a00ff true;"/>
  2108. <Static text="미수납" position="absolute 524 5 562 20" id="caption26" anchor="default"/>
  2109. <Static text="V" position="absolute 420 5 430 20" id="caption27" anchor="default"/>
  2110. <Static text="오늘결과" position="absolute 453 5 505 20" id="caption28" anchor="default"/>
  2111. <Radio position="absolute 264 3 393 22" id="rdo_prcpgenrflag" class="radio_search" columncount="3" rowcount="1" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" onitemchanged="grp_body_group2_rdo_prcpgenrflag_onitemchanged">
  2112. <Dataset id="innerdataset">
  2113. <ColumnInfo>
  2114. <Column id="codecolumn"/>
  2115. <Column id="datacolumn"/>
  2116. </ColumnInfo>
  2117. <Rows>
  2118. <Row>
  2119. <Col id="codecolumn"/>
  2120. <Col id="datacolumn">전체</Col>
  2121. </Row>
  2122. <Row>
  2123. <Col id="codecolumn">I</Col>
  2124. <Col id="datacolumn">입원</Col>
  2125. </Row>
  2126. <Row>
  2127. <Col id="codecolumn">O</Col>
  2128. <Col id="datacolumn">외래</Col>
  2129. </Row>
  2130. </Rows>
  2131. </Dataset>
  2132. </Radio>
  2133. <Button position="absolute 690 2 765 21" id="button6" class="btn2" text="대상자조회" anchor="top right" onclick="grp_body_group2_button6_onclick" visible="true"/>
  2134. <Button position="absolute 875 2 939 21" id="btn_execcncl" class="btn2" text="실시취소" anchor="top right" onclick="grp_body_group2_btn_execcncl_onclick"/>
  2135. <Button position="absolute 831 2 873 21" id="btn_exec" class="btn2" text="실시" anchor="top right" onclick="grp_body_group2_btn_exec_onclick"/>
  2136. <Button position="absolute 943 2 969 21" id="button102" class="icon_top" visible="true" text="" anchor="top right" onclick="grp_body_group2_button102_onclick"/>
  2137. <Button position="absolute 970 2 996 21" id="button103" class="icon_bottom" visible="true" text="" anchor="top right" onclick="grp_body_group2_button103_onclick"/>
  2138. <Div position="absolute 690 73 969 192" align="align:center top;" id="group7" visible="false" anchor="default" class="div_SA2">
  2139. <Layouts>
  2140. <Layout>
  2141. <Button position="absolute 227 95 269 114" id="btn_close" class="btn5" visible="false" text="확인" anchor="default" onclick="grp_body_group2_group7_btn_close_onclick"/>
  2142. <Shape position="absolute 10 23 270 29" linetype="horizontal" id="line_isol" class="line_10" visible="false" anchor="default"/>
  2143. <Shape position="absolute 10 91 270 97" linetype="horizontal" id="line_isol2" class="line_3" visible="false" anchor="default"/>
  2144. <TextArea position="absolute 10 28 270 92" id="txt_isol" visible="false" anchor="default" wordwrap="char" scrollbars="autovert"/>
  2145. <Static text="감염정보" position="absolute 10 7 125 28" id="cpt_isoltitle" class="tit_2" visible="false" anchor="default"/>
  2146. </Layout>
  2147. </Layouts>
  2148. </Div>
  2149. <CheckBox id="chk_hc" taborder="1" text="검진" position="absolute 566 2 611 22" onclick="grp_body_group2_chk_hc_onclick" truevalue="Y" anchor="top right"/>
  2150. <Button id="btn_inpt" taborder="2" text="입퇴실관리" class="btn2" position="absolute 616 2 689 21" visible="false" onclick="grp_body_group2_btn_inpt_onclick" anchor="top right"/>
  2151. <Button id="btn_directsms" taborder="3" text="문자전송" position="absolute 766 2 830 21" class="btn2" onclick="grp_body_group2_btn_directsms_onclick" anchor="top right"/>
  2152. </Layout>
  2153. </Layouts>
  2154. </Div>
  2155. <Div position="absolute 420 438 1195 756" id="group5" scrollbars="none" anchor="left right bottom" taborder="5" class="div_DA">
  2156. <Layouts>
  2157. <Layout>
  2158. <Grid position="absolute 2 26 763 291" id="grd_inclprcplist" visible="true" binddataset="ds_grd_inclprcplist" anchor="left bottom" onrbuttonup="grp_body_group5_grd_inclprcplist_onrbuttonup">
  2159. <Formats>
  2160. <Format id="default">
  2161. <Columns>
  2162. <Column size="19"/>
  2163. <Column size="74"/>
  2164. <Column size="81"/>
  2165. <Column size="272"/>
  2166. <Column size="82"/>
  2167. <Column size="76"/>
  2168. <Column size="78"/>
  2169. <Column size="82"/>
  2170. <Column size="0"/>
  2171. </Columns>
  2172. <Rows>
  2173. <Row size="24" band="head"/>
  2174. <Row size="24"/>
  2175. </Rows>
  2176. <Band id="head">
  2177. <Cell/>
  2178. <Cell col="1" text="상태"/>
  2179. <Cell col="2" text="처방코드"/>
  2180. <Cell col="3" text="처방명"/>
  2181. <Cell col="4" text="처방일자"/>
  2182. <Cell col="5" text="접수일시"/>
  2183. <Cell col="6" text="실시일자"/>
  2184. <Cell col="7" text="결과일시"/>
  2185. <Cell col="8" text="급/비"/>
  2186. </Band>
  2187. <Band id="body">
  2188. <Cell text="bind:check" edittype="checkbox" displaytype="checkbox"/>
  2189. <Cell col="1" enable="false" text="bind:execprcpstatcd" edittype="combo" displaytype="combo" mask="yyyy-mm-dd"/>
  2190. <Cell col="2" text="bind:calcscorcd"/>
  2191. <Cell col="3" text="bind:prcpnm"/>
  2192. <Cell col="4" text="bind:prcpdd" mask="yyyy-mm-dd"/>
  2193. <Cell col="5" text="bind:acprdd" mask="yyyy-mm-dd"/>
  2194. <Cell col="6" text="bind:execdd" mask="yyyy-mm-dd"/>
  2195. <Cell col="7" text="bind:cnfmdt" mask="yyyy-mm-dd"/>
  2196. <Cell col="8" text="bind:payflagcd"/>
  2197. </Band>
  2198. </Format>
  2199. </Formats>
  2200. </Grid>
  2201. <Grid position="absolute 2 26 771 314" id="grd_rsrvlist" binddataset="ds_grd_rsrvlist" anchor="all" onrbuttondown="grp_body_group5_grd_rsrvlist_onrbuttondown" oncellclick="grp_body_group5_grd_rsrvlist_oncellclick" cellsizingtype="both" cellsizebandtype="allband" extendsizetype="row" onrbuttonup="grp_body_group5_grd_rsrvlist_onrbuttonup">
  2202. <Formats>
  2203. <Format id="default">
  2204. <Columns>
  2205. <Column size="25" band="left"/>
  2206. <Column size="39"/>
  2207. <Column size="58"/>
  2208. <Column size="56"/>
  2209. <Column size="56"/>
  2210. <Column size="75"/>
  2211. <Column size="42"/>
  2212. <Column size="62"/>
  2213. <Column size="44"/>
  2214. <Column size="78"/>
  2215. <Column size="51"/>
  2216. <Column size="104"/>
  2217. <Column size="100"/>
  2218. <Column size="60"/>
  2219. <Column size="52"/>
  2220. <Column size="50"/>
  2221. <Column size="0"/>
  2222. <Column size="0"/>
  2223. <Column size="0"/>
  2224. <Column size="0"/>
  2225. <Column size="0"/>
  2226. <Column size="0"/>
  2227. <Column size="0"/>
  2228. <Column size="0"/>
  2229. <Column size="0"/>
  2230. <Column size="0"/>
  2231. <Column size="0"/>
  2232. <Column size="0"/>
  2233. <Column size="0"/>
  2234. <Column size="0"/>
  2235. <Column size="0"/>
  2236. <Column size="0"/>
  2237. <Column size="0"/>
  2238. <Column size="0"/>
  2239. <Column size="0"/>
  2240. <Column size="0"/>
  2241. <Column size="0"/>
  2242. <Column size="0"/>
  2243. <Column size="0"/>
  2244. <Column size="0"/>
  2245. <Column size="0"/>
  2246. <Column size="0"/>
  2247. <Column size="0"/>
  2248. <Column size="0"/>
  2249. <Column size="0"/>
  2250. <Column size="0"/>
  2251. <Column size="0"/>
  2252. <Column size="0"/>
  2253. <Column size="0"/>
  2254. <Column size="0"/>
  2255. <Column size="0"/>
  2256. <Column size="0"/>
  2257. <Column size="0"/>
  2258. <Column size="0"/>
  2259. <Column size="0"/>
  2260. <Column size="0"/>
  2261. </Columns>
  2262. <Rows>
  2263. <Row size="24" band="head"/>
  2264. <Row size="24"/>
  2265. </Rows>
  2266. <Band id="head">
  2267. <Cell/>
  2268. <Cell col="1" text="시간"/>
  2269. <Cell col="2" text="등록번호"/>
  2270. <Cell col="3" text="성명"/>
  2271. <Cell col="4" text="주민번호"/>
  2272. <Cell col="5" text="처방코드"/>
  2273. <Cell col="6" text="S/A"/>
  2274. <Cell col="7" text="처방상태"/>
  2275. <Cell col="8" text="병실"/>
  2276. <Cell col="9" text="진료과"/>
  2277. <Cell col="10" text="진료의"/>
  2278. <Cell col="11" text="처방일자"/>
  2279. <Cell col="12" text="처방명"/>
  2280. <Cell col="13" text="예약자"/>
  2281. <Cell col="14" text="키"/>
  2282. <Cell col="15" text="몸무게"/>
  2283. <Cell col="16" text="execprcpuniqno"/>
  2284. <Cell col="17" text="prcpkindcd"/>
  2285. <Cell col="18" text="prcpgenrflag"/>
  2286. <Cell col="19" text="basecd"/>
  2287. <Cell col="20" text="prcpexecdeptcd"/>
  2288. <Cell col="21" text="excuroomcd"/>
  2289. <Cell col="22" text="inflag"/>
  2290. <Cell col="23" text="rcptacptyn"/>
  2291. <Cell col="24" text="execbaseflag"/>
  2292. <Cell col="25" text="orddd"/>
  2293. <Cell col="26" text="excupartcd"/>
  2294. <Cell col="27" text="modality"/>
  2295. <Cell col="28" text="prcpdelivefact"/>
  2296. <Cell col="29" text="carecnfmdd"/>
  2297. <Cell col="30" text="rsrvdt"/>
  2298. <Cell col="31" text="orddeptcd"/>
  2299. <Cell col="32" text="orddrid"/>
  2300. <Cell col="33" text="prcpno"/>
  2301. <Cell col="34" text="basesuppdeptcd"/>
  2302. <Cell col="35" text="cretno"/>
  2303. <Cell col="36" text="wardcd"/>
  2304. <Cell col="37" text="srchrsrvdt"/>
  2305. <Cell col="38" text="rsrvrem"/>
  2306. <Cell col="39" text="eqmtifyn"/>
  2307. <Cell col="40" text="rgstdeptcd"/>
  2308. <Cell col="41" text="rgstrid"/>
  2309. <Cell col="42" text="execdt"/>
  2310. <Cell col="43" text="execrid"/>
  2311. <Cell col="44" text="inclprcpcd"/>
  2312. <Cell col="45" text="lrgcd"/>
  2313. <Cell col="46" text="mdlcd"/>
  2314. <Cell col="47" text="actorddd"/>
  2315. <Cell col="48" text="examroomnm"/>
  2316. <Cell col="49" text="pacsnocretyn"/>
  2317. <Cell col="50" text="execprcpstatcd"/>
  2318. <Cell col="51" text="tmpldata"/>
  2319. <Cell col="52" text="prcpdd"/>
  2320. <Cell col="53" text="rsrvrid"/>
  2321. <Cell col="54" text="rsrvexmptmplcd"/>
  2322. <Cell col="55" text="instcd"/>
  2323. </Band>
  2324. <Band id="body">
  2325. <Cell celltype="head" text="expr:currow+1"/>
  2326. <Cell col="1" displaytype="date" style="background:EXPR(statcd == '임시예약' ? &quot;#dec6a4&quot; : (statcd == '예약' ? &quot;#fec34d&quot; : &quot;&quot;));background2:EXPR(statcd == '임시예약' ? &quot;#dec6a4&quot; : (statcd == '예약' ? &quot;#fec34d&quot; : &quot;&quot;));" text="bind:srchrsrvtm" mask="HH:mm"/>
  2327. <Cell col="2" style="background:EXPR(statcd == '임시예약' ? &quot;#dec6a4&quot; : (statcd == '예약' ? &quot;#fec34d&quot; : &quot;&quot;));background2:EXPR(statcd == '임시예약' ? &quot;#dec6a4&quot; : (statcd == '예약' ? &quot;#fec34d&quot; : &quot;&quot;));" text="bind:pid"/>
  2328. <Cell col="3" style="background:EXPR(statcd == '임시예약' ? &quot;#dec6a4&quot; : (statcd == '예약' ? &quot;#fec34d&quot; : &quot;&quot;));background2:EXPR(statcd == '임시예약' ? &quot;#dec6a4&quot; : (statcd == '예약' ? &quot;#fec34d&quot; : &quot;&quot;));" text="bind:hngnm"/>
  2329. <Cell col="4" style="background:EXPR(statcd == '임시예약' ? &quot;#dec6a4&quot; : (statcd == '예약' ? &quot;#fec34d&quot; : &quot;&quot;));background2:EXPR(statcd == '임시예약' ? &quot;#dec6a4&quot; : (statcd == '예약' ? &quot;#fec34d&quot; : &quot;&quot;));" text="bind:rrgstno1"/>
  2330. <Cell col="5" style="background:EXPR(statcd == '임시예약' ? &quot;#dec6a4&quot; : (statcd == '예약' ? &quot;#fec34d&quot; : &quot;&quot;));background2:EXPR(statcd == '임시예약' ? &quot;#dec6a4&quot; : (statcd == '예약' ? &quot;#fec34d&quot; : &quot;&quot;));" text="bind:calcscorcd"/>
  2331. <Cell col="6" style="background:EXPR(statcd == '임시예약' ? &quot;#dec6a4&quot; : (statcd == '예약' ? &quot;#fec34d&quot; : &quot;&quot;));background2:EXPR(statcd == '임시예약' ? &quot;#dec6a4&quot; : (statcd == '예약' ? &quot;#fec34d&quot; : &quot;&quot;));" text="bind:sna"/>
  2332. <Cell col="7" style="background:EXPR(statcd == '임시예약' ? &quot;#dec6a4&quot; : (statcd == '예약' ? &quot;#fec34d&quot; : &quot;&quot;));background2:EXPR(statcd == '임시예약' ? &quot;#dec6a4&quot; : (statcd == '예약' ? &quot;#fec34d&quot; : &quot;&quot;));" text="bind:statcd" enable="false"/>
  2333. <Cell col="8" style="background:EXPR(statcd == '임시예약' ? &quot;#dec6a4&quot; : (statcd == '예약' ? &quot;#fec34d&quot; : &quot;&quot;));background2:EXPR(statcd == '임시예약' ? &quot;#dec6a4&quot; : (statcd == '예약' ? &quot;#fec34d&quot; : &quot;&quot;));" text="bind:roomcd"/>
  2334. <Cell col="9" style="align:left;background:EXPR(statcd == '임시예약' ? &quot;#dec6a4&quot; : (statcd == '예약' ? &quot;#fec34d&quot; : &quot;&quot;));background2:EXPR(statcd == '임시예약' ? &quot;#dec6a4&quot; : (statcd == '예약' ? &quot;#fec34d&quot; : &quot;&quot;));" text="bind:orddepthngnm"/>
  2335. <Cell col="10" style="background:EXPR(statcd == '임시예약' ? &quot;#dec6a4&quot; : (statcd == '예약' ? &quot;#fec34d&quot; : &quot;&quot;));background2:EXPR(statcd == '임시예약' ? &quot;#dec6a4&quot; : (statcd == '예약' ? &quot;#fec34d&quot; : &quot;&quot;));" text="bind:orddrnm"/>
  2336. <Cell col="11" displaytype="date" style="align:left;background:EXPR(statcd == '임시예약' ? &quot;#dec6a4&quot; : (statcd == '예약' ? &quot;#fec34d&quot; : &quot;&quot;));background2:EXPR(statcd == '임시예약' ? &quot;#dec6a4&quot; : (statcd == '예약' ? &quot;#fec34d&quot; : &quot;&quot;));" text="bind:prcpdt" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
  2337. <Cell col="12" style="align:left;background:EXPR(statcd == '임시예약' ? &quot;#dec6a4&quot; : (statcd == '예약' ? &quot;#fec34d&quot; : &quot;&quot;));background2:EXPR(statcd == '임시예약' ? &quot;#dec6a4&quot; : (statcd == '예약' ? &quot;#fec34d&quot; : &quot;&quot;));" text="bind:prcpnm"/>
  2338. <Cell col="13" style="background:EXPR(statcd == '임시예약' ? &quot;#dec6a4&quot; : (statcd == '예약' ? &quot;#fec34d&quot; : &quot;&quot;));background2:EXPR(statcd == '임시예약' ? &quot;#dec6a4&quot; : (statcd == '예약' ? &quot;#fec34d&quot; : &quot;&quot;));" text="bind:rsrvrnm"/>
  2339. <Cell col="14" style="background:EXPR(statcd == '임시예약' ? &quot;#dec6a4&quot; : (statcd == '예약' ? &quot;#fec34d&quot; : &quot;&quot;));background2:EXPR(statcd == '임시예약' ? &quot;#dec6a4&quot; : (statcd == '예약' ? &quot;#fec34d&quot; : &quot;&quot;));" text="bind:hight"/>
  2340. <Cell col="15" style="background:EXPR(statcd == '임시예약' ? &quot;#dec6a4&quot; : (statcd == '예약' ? &quot;#fec34d&quot; : &quot;&quot;));background2:EXPR(statcd == '임시예약' ? &quot;#dec6a4&quot; : (statcd == '예약' ? &quot;#fec34d&quot; : &quot;&quot;));" text="bind:weight"/>
  2341. <Cell col="16" text="bind:execprcpuniqno"/>
  2342. <Cell col="17" text="bind:prcpkindcd"/>
  2343. <Cell col="18" text="bind:prcpgenrflag"/>
  2344. <Cell col="19" text="bind:basecd"/>
  2345. <Cell col="20" text="bind:prcpexecdeptcd"/>
  2346. <Cell col="21" text="bind:excuroomcd"/>
  2347. <Cell col="22" text="bind:inflag"/>
  2348. <Cell col="23" text="bind:rcptacptyn"/>
  2349. <Cell col="24" text="bind:execbaseflag"/>
  2350. <Cell col="25" text="bind:orddd"/>
  2351. <Cell col="26" text="bind:excupartcd"/>
  2352. <Cell col="27" text="bind:modality"/>
  2353. <Cell col="28" text="bind:prcpdelivefact"/>
  2354. <Cell col="29" text="bind:carecnfmdd"/>
  2355. <Cell col="30" text="bind:rsrvdt"/>
  2356. <Cell col="31" text="bind:orddeptcd"/>
  2357. <Cell col="32" text="bind:orddrid"/>
  2358. <Cell col="33" text="bind:prcpno"/>
  2359. <Cell col="34" text="bind:basesuppdeptcd"/>
  2360. <Cell col="35" text="bind:cretno"/>
  2361. <Cell col="36" text="bind:wardcd"/>
  2362. <Cell col="37" text="bind:srchrsrvdt"/>
  2363. <Cell col="38" text="bind:rsrvrem"/>
  2364. <Cell col="39" text="bind:eqmtifyn"/>
  2365. <Cell col="40" text="bind:rgstdeptcd"/>
  2366. <Cell col="41" text="bind:rgstrid"/>
  2367. <Cell col="42" text="bind:execdt"/>
  2368. <Cell col="43" text="bind:execrid1"/>
  2369. <Cell col="44" text="bind:inclprcpcd"/>
  2370. <Cell col="45" text="bind:lrgcd"/>
  2371. <Cell col="46" text="bind:mdlcd"/>
  2372. <Cell col="47" text="bind:actorddd"/>
  2373. <Cell col="48" text="bind:examroomnm"/>
  2374. <Cell col="49" text="bind:pacsnocretyn"/>
  2375. <Cell col="50" text="bind:execprcpstatcd"/>
  2376. <Cell col="51" text="bind:tmpldata"/>
  2377. <Cell col="52" text="bind:prcpdd"/>
  2378. <Cell col="53" text="bind:rsrvrid"/>
  2379. <Cell col="54" text="bind:rsrvexmptmplcd"/>
  2380. <Cell col="55" text="bind:instcd"/>
  2381. </Band>
  2382. </Format>
  2383. </Formats>
  2384. </Grid>
  2385. <Shape position="absolute 2 21 771 27" linetype="horizontal" id="line5" class="line_10" anchor="left top right"/>
  2386. <Static text="예약내역" position="absolute 2 5 99 26" id="caption8" class="tit_2" anchor="left top"/>
  2387. <CheckBox position="absolute 523 3 593 23" id="ckb_allstatus" anchor="top right" text="모든환자" truevalue="Y" falsevalue="N" value="Y"/>
  2388. <CheckBox position="absolute 405 6 490 21" id="chk_rsrvprint" class="checkbox_search" visible="true" anchor="top right" text="예약증출력" truevalue="Y" falsevalue="N"/>
  2389. <Button position="absolute 597 2 639 21" id="button21" class="btn2" text="실시" anchor="top right" onclick="grp_body_group5_button21_onclick"/>
  2390. <Button position="absolute 641 2 716 21" id="button20" class="btn2" enable="false" visible="false" text="검사실변경" anchor="top right"/>
  2391. <Button position="absolute 718 2 744 21" id="button7" class="icon_top" text="" anchor="top right" onclick="grp_body_group5_button7_onclick"/>
  2392. <Button position="absolute 745 2 771 21" id="button8" class="icon_bottom" text="" anchor="top right" onclick="grp_body_group5_button8_onclick"/>
  2393. </Layout>
  2394. </Layouts>
  2395. </Div>
  2396. <cp_checkboxList id="chk_excuroom" titletext="CheckBox List" taborder="28" scrollbars="none" position="absolute 92 77 275 100" col="1" row="20" cellspacing="2" vcellspacing="0" itemWidth="300" itemHeight="20" overflow="visible" visible="false" style="background:lightgrey;" anchor="default"/>
  2397. </Layout>
  2398. </Layouts>
  2399. </Div>
  2400. <PopupMenu id="PopupMenu00" position="absolute 1232 38 1383 112" idcolumn="idcolumn" captioncolumn="captioncolumn" levelcolumn="levelcolumn" enablecolumn="enablecolumn" iconcolumn="iconcolumn" checkboxcolumn="checkboxcolumn" hotkeycolumn="hotkeycolumn" userdatacolumn="userdatacolumn" onmenuclick="PopupMenu00_onmenuclick">
  2401. <Dataset id="innerdataset">
  2402. <ColumnInfo>
  2403. <Column id="idcolumn" size="256"/>
  2404. <Column id="captioncolumn" size="256"/>
  2405. <Column id="levelcolumn" size="256"/>
  2406. <Column id="enablecolumn" size="256"/>
  2407. <Column id="iconcolumn" size="256"/>
  2408. <Column id="checkboxcolumn" size="256"/>
  2409. <Column id="hotkeycolumn" size="256"/>
  2410. <Column id="userdatacolumn" size="256"/>
  2411. </ColumnInfo>
  2412. <Rows>
  2413. <Row>
  2414. <Col id="idcolumn">fPatHeWeInfo</Col>
  2415. <Col id="captioncolumn">키/몸무게 입력</Col>
  2416. <Col id="levelcolumn"/>
  2417. <Col id="enablecolumn"/>
  2418. <Col id="iconcolumn"/>
  2419. <Col id="checkboxcolumn"/>
  2420. <Col id="hotkeycolumn"/>
  2421. <Col id="userdatacolumn"/>
  2422. </Row>
  2423. <Row>
  2424. <Col id="idcolumn"/>
  2425. <Col id="captioncolumn">-</Col>
  2426. <Col id="levelcolumn"/>
  2427. <Col id="enablecolumn"/>
  2428. <Col id="iconcolumn"/>
  2429. <Col id="checkboxcolumn"/>
  2430. <Col id="hotkeycolumn"/>
  2431. <Col id="userdatacolumn"/>
  2432. </Row>
  2433. <Row>
  2434. <Col id="idcolumn">fSelectdrChange</Col>
  2435. <Col id="captioncolumn">지정검사의 변경</Col>
  2436. <Col id="levelcolumn"/>
  2437. <Col id="enablecolumn"/>
  2438. <Col id="iconcolumn"/>
  2439. <Col id="checkboxcolumn"/>
  2440. <Col id="hotkeycolumn"/>
  2441. <Col id="userdatacolumn"/>
  2442. </Row>
  2443. <Row>
  2444. <Col id="idcolumn"/>
  2445. <Col id="captioncolumn">-</Col>
  2446. <Col id="levelcolumn"/>
  2447. <Col id="enablecolumn"/>
  2448. <Col id="iconcolumn"/>
  2449. <Col id="checkboxcolumn"/>
  2450. <Col id="hotkeycolumn"/>
  2451. <Col id="userdatacolumn"/>
  2452. </Row>
  2453. <Row>
  2454. <Col id="idcolumn">fPrintLabel</Col>
  2455. <Col id="captioncolumn">인식표 출력</Col>
  2456. <Col id="levelcolumn"/>
  2457. <Col id="enablecolumn"/>
  2458. <Col id="iconcolumn"/>
  2459. <Col id="checkboxcolumn"/>
  2460. <Col id="hotkeycolumn"/>
  2461. <Col id="userdatacolumn"/>
  2462. </Row>
  2463. </Rows>
  2464. </Dataset>
  2465. </PopupMenu>
  2466. <PopupMenu id="PopupMenu01" position="absolute 1232 138 1381 184" idcolumn="idcolumn" captioncolumn="captioncolumn" levelcolumn="levelcolumn" enablecolumn="enablecolumn" iconcolumn="iconcolumn" checkboxcolumn="checkboxcolumn" hotkeycolumn="hotkeycolumn" userdatacolumn="userdatacolumn" onmenuclick="PopupMenu01_onmenuclick">
  2467. <Dataset id="innerdataset">
  2468. <ColumnInfo>
  2469. <Column id="idcolumn" size="256"/>
  2470. <Column id="captioncolumn" size="256"/>
  2471. <Column id="levelcolumn" size="256"/>
  2472. <Column id="enablecolumn" size="256"/>
  2473. <Column id="iconcolumn" size="256"/>
  2474. <Column id="checkboxcolumn" size="256"/>
  2475. <Column id="hotkeycolumn" size="256"/>
  2476. <Column id="userdatacolumn" size="256"/>
  2477. </ColumnInfo>
  2478. <Rows>
  2479. <Row>
  2480. <Col id="idcolumn">fRsrvPrint</Col>
  2481. <Col id="captioncolumn">예약증 출력</Col>
  2482. <Col id="levelcolumn"/>
  2483. <Col id="enablecolumn"/>
  2484. <Col id="iconcolumn"/>
  2485. <Col id="checkboxcolumn"/>
  2486. <Col id="hotkeycolumn"/>
  2487. <Col id="userdatacolumn"/>
  2488. </Row>
  2489. <Row>
  2490. <Col id="idcolumn"/>
  2491. <Col id="captioncolumn">-</Col>
  2492. <Col id="levelcolumn"/>
  2493. <Col id="enablecolumn"/>
  2494. <Col id="iconcolumn"/>
  2495. <Col id="checkboxcolumn"/>
  2496. <Col id="hotkeycolumn"/>
  2497. <Col id="userdatacolumn"/>
  2498. </Row>
  2499. <Row>
  2500. <Col id="idcolumn">fSetWaitExcuRoomPatList</Col>
  2501. <Col id="captioncolumn">대기환자등록</Col>
  2502. <Col id="levelcolumn"/>
  2503. <Col id="enablecolumn"/>
  2504. <Col id="iconcolumn"/>
  2505. <Col id="checkboxcolumn"/>
  2506. <Col id="hotkeycolumn"/>
  2507. <Col id="userdatacolumn"/>
  2508. </Row>
  2509. </Rows>
  2510. </Dataset>
  2511. </PopupMenu>
  2512. <PopupMenu id="PopupMenu02" position="absolute 1230 212 1381 240" idcolumn="idcolumn" captioncolumn="captioncolumn" levelcolumn="levelcolumn" enablecolumn="enablecolumn" iconcolumn="iconcolumn" checkboxcolumn="checkboxcolumn" hotkeycolumn="hotkeycolumn" userdatacolumn="userdatacolumn" onmenuclick="PopupMenu02_onmenuclick">
  2513. <Dataset id="innerdataset">
  2514. <ColumnInfo>
  2515. <Column id="idcolumn" size="256"/>
  2516. <Column id="captioncolumn" size="256"/>
  2517. <Column id="levelcolumn" size="256"/>
  2518. <Column id="enablecolumn" size="256"/>
  2519. <Column id="iconcolumn" size="256"/>
  2520. <Column id="checkboxcolumn" size="256"/>
  2521. <Column id="hotkeycolumn" size="256"/>
  2522. <Column id="userdatacolumn" size="256"/>
  2523. </ColumnInfo>
  2524. <Rows>
  2525. <Row>
  2526. <Col id="idcolumn">fTempRsrvCncl</Col>
  2527. <Col id="captioncolumn">임시예약 취소</Col>
  2528. <Col id="levelcolumn"/>
  2529. <Col id="enablecolumn"/>
  2530. <Col id="iconcolumn"/>
  2531. <Col id="checkboxcolumn"/>
  2532. <Col id="hotkeycolumn"/>
  2533. <Col id="userdatacolumn"/>
  2534. </Row>
  2535. </Rows>
  2536. </Dataset>
  2537. </PopupMenu>
  2538. <PopupMenu id="PopupMenu03" position="absolute 1232 259 1380 283" idcolumn="idcolumn" captioncolumn="captioncolumn" levelcolumn="levelcolumn" enablecolumn="enablecolumn" iconcolumn="iconcolumn" checkboxcolumn="checkboxcolumn" hotkeycolumn="hotkeycolumn" userdatacolumn="userdatacolumn" onmenuclick="PopupMenu03_onmenuclick">
  2539. <Dataset id="innerdataset">
  2540. <ColumnInfo>
  2541. <Column id="idcolumn" size="256"/>
  2542. <Column id="captioncolumn" size="256"/>
  2543. <Column id="levelcolumn" size="256"/>
  2544. <Column id="enablecolumn" size="256"/>
  2545. <Column id="iconcolumn" size="256"/>
  2546. <Column id="checkboxcolumn" size="256"/>
  2547. <Column id="hotkeycolumn" size="256"/>
  2548. <Column id="userdatacolumn" size="256"/>
  2549. </ColumnInfo>
  2550. <Rows>
  2551. <Row>
  2552. <Col id="idcolumn">fPatHeWeInfo</Col>
  2553. <Col id="captioncolumn">키/몸무게 입력</Col>
  2554. <Col id="levelcolumn"/>
  2555. <Col id="enablecolumn"/>
  2556. <Col id="iconcolumn"/>
  2557. <Col id="checkboxcolumn"/>
  2558. <Col id="hotkeycolumn"/>
  2559. <Col id="userdatacolumn"/>
  2560. </Row>
  2561. </Rows>
  2562. </Dataset>
  2563. </PopupMenu>
  2564. <Div position="absolute 0 0 1172 25" id="grp_top">
  2565. <Layouts>
  2566. <Layout>
  2567. <Button id="btn_baseinfo" taborder="1" text="기준자료" class="btn4" position="absolute 1072 2 1152 24" onclick="grp_top_btn_baseinfo_onclick" visible="false" anchor="default"/>
  2568. <Static position="absolute 0 0 100 25" id="cap_title" class="tit_1" style="align:left middle;" text="접수 관리" anchor="default"/>
  2569. <Static text=" " position="absolute 102 7 286 20" id="caption6" anchor="default" style="font:Dotum,11,bold;" onclick="grp_top_caption6_onclick"/>
  2570. </Layout>
  2571. </Layouts>
  2572. </Div>
  2573. <Div id="div_directsms" taborder="1" style="background:white;border:1 solid gray ;shadow:outer 0,0 20 gray;" visible="false" position="absolute 1225 290 1722 505">
  2574. <Layouts>
  2575. <Layout>
  2576. <Static id="cap_sendsms" text="문자 전송" class="tit_2" position="absolute 10 10 110 30" anchor="default"/>
  2577. <Grid id="grd_sms" taborder="10" binddataset="ds_hidden_sms" useinputpanel="false" autofittype="col" position="absolute 10 30 485 170" anchor="default" areaselecttype="overband">
  2578. <Formats>
  2579. <Format id="default">
  2580. <Columns>
  2581. <Column size="25"/>
  2582. <Column size="440"/>
  2583. </Columns>
  2584. <Rows>
  2585. <Row size="24" band="head"/>
  2586. <Row size="26"/>
  2587. </Rows>
  2588. <Band id="head">
  2589. <Cell/>
  2590. <Cell col="1" text="문자 내용"/>
  2591. </Band>
  2592. <Band id="body">
  2593. <Cell celltype="head" expr="expr:currow + 1"/>
  2594. <Cell col="1" style="align:left;padding:0 0 0 5;" text="bind:msgcnts"/>
  2595. </Band>
  2596. </Format>
  2597. </Formats>
  2598. </Grid>
  2599. <Button id="btn_sendsms" taborder="11" text="전송" onclick="div_directsms_btn_sendsms_onclick" class="btn4" position="absolute 368 178 423 203" anchor="default"/>
  2600. <Button id="btn_closesms" taborder="12" text="닫기" onclick="div_directsms_btn_closesms_onclick" class="btn4" position="absolute 430 178 485 203" anchor="default"/>
  2601. </Layout>
  2602. </Layouts>
  2603. </Div>
  2604. </Layout>
  2605. </Layouts>
  2606. <Objects>
  2607. <Dataset id="ds_grd_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  2608. <ColumnInfo>
  2609. <Column id="rsrvdd" type="STRING"/>
  2610. <Column id="count" type="STRING"/>
  2611. <Column id="max" type="STRING"/>
  2612. </ColumnInfo>
  2613. </Dataset>
  2614. <Dataset id="ds_grd_rsrvposstm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  2615. <ColumnInfo>
  2616. <Column id="rsrvtm" type="STRING"/>
  2617. <Column id="count" type="STRING"/>
  2618. <Column id="max" type="STRING"/>
  2619. </ColumnInfo>
  2620. </Dataset>
  2621. <Dataset id="ds_grd_ordlist1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  2622. <ColumnInfo>
  2623. <Column id="check" type="STRING"/>
  2624. <Column id="pid" type="STRING"/>
  2625. <Column id="hngnm" type="STRING"/>
  2626. <Column id="sna" type="STRING"/>
  2627. <Column id="rrgstno1" type="STRING"/>
  2628. <Column id="orddepthngnm" type="STRING"/>
  2629. <Column id="orddrnm" type="STRING"/>
  2630. <Column id="choiordflag" type="STRING"/>
  2631. <Column id="specdrid" type="STRING"/>
  2632. <Column id="portprcpflag" type="STRING"/>
  2633. <Column id="calcscorcd" type="STRING"/>
  2634. <Column id="prcpdt" type="STRING"/>
  2635. <Column id="statcd" type="STRING"/>
  2636. <Column id="rcptyn" type="STRING"/>
  2637. <Column id="excuroomcd" type="STRING"/>
  2638. <Column id="roomcd" type="STRING"/>
  2639. <Column id="roomnm" type="STRING"/>
  2640. <Column id="srchrsrvdt" type="STRING"/>
  2641. <Column id="prcphopedd" type="STRING"/>
  2642. <Column id="prcpnm" type="STRING"/>
  2643. <Column id="prcpqty" type="STRING"/>
  2644. <Column id="execprcptims" type="STRING"/>
  2645. <Column id="execdt" type="STRING"/>
  2646. <Column id="execrid1" type="STRING"/>
  2647. <Column id="rsrvrnm" type="STRING"/>
  2648. <Column id="basecd" type="STRING"/>
  2649. <Column id="hometel" type="STRING"/>
  2650. <Column id="mpphontel" type="STRING"/>
  2651. <Column id="hight" type="STRING"/>
  2652. <Column id="weight" type="STRING"/>
  2653. <Column id="execprcpuniqno" type="STRING"/>
  2654. <Column id="prcpexecdeptcd" type="STRING"/>
  2655. <Column id="inflag" type="STRING"/>
  2656. <Column id="rcptacptyn" type="STRING"/>
  2657. <Column id="execbaseflag" type="STRING"/>
  2658. <Column id="excupartcd" type="STRING"/>
  2659. <Column id="modality" type="STRING"/>
  2660. <Column id="execrem" type="STRING"/>
  2661. <Column id="prcpdelivefact" type="STRING"/>
  2662. <Column id="carecnfmdd" type="STRING"/>
  2663. <Column id="prcpkindcd" type="STRING"/>
  2664. <Column id="rcptno" type="STRING"/>
  2665. <Column id="acptseqno" type="STRING"/>
  2666. <Column id="prcpgenrflag" type="STRING"/>
  2667. <Column id="orddd" type="STRING"/>
  2668. <Column id="orddeptcd" type="STRING"/>
  2669. <Column id="rcptdd" type="STRING"/>
  2670. <Column id="orddrid" type="STRING"/>
  2671. <Column id="prcpno" type="STRING"/>
  2672. <Column id="eqmtifyn" type="STRING"/>
  2673. <Column id="basesuppdeptcd" type="STRING"/>
  2674. <Column id="cretno" type="STRING"/>
  2675. <Column id="wardcd" type="STRING"/>
  2676. <Column id="rsrvdt" type="STRING"/>
  2677. <Column id="rgstdeptcd" type="STRING"/>
  2678. <Column id="rgstrid" type="STRING"/>
  2679. <Column id="inclprcpcd" type="STRING"/>
  2680. <Column id="lrgcd" type="STRING"/>
  2681. <Column id="mdlcd" type="STRING"/>
  2682. <Column id="actorddd" type="STRING"/>
  2683. <Column id="examroomnm" type="STRING"/>
  2684. <Column id="prcphistno" type="STRING"/>
  2685. <Column id="pacsnocretyn" type="STRING"/>
  2686. <Column id="execprcpstatcd" type="STRING"/>
  2687. <Column id="tmpldata" type="STRING"/>
  2688. <Column id="prcpdd" type="STRING"/>
  2689. <Column id="rsrvrid" type="STRING"/>
  2690. <Column id="cnclresncdnm" type="STRING"/>
  2691. <Column id="rsrvexmptmplcd" type="STRING"/>
  2692. <Column id="rrgstno2" type="STRING"/>
  2693. <Column id="clincstdycd" type="STRING"/>
  2694. <Column id="aftrcptinfo" type="STRING"/>
  2695. <Column id="unrsrvexecyn" type="STRING"/>
  2696. <Column id="insukind" type="STRING"/>
  2697. <Column id="specdrid" type="STRING"/>
  2698. <Column id="selectdeptcd" type="STRING" size="0"/>
  2699. <Column id="selectdrid" type="STRING" size="0"/>
  2700. </ColumnInfo>
  2701. </Dataset>
  2702. <Dataset id="ds_grd_ordlist3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  2703. <ColumnInfo>
  2704. <Column id="check" type="STRING"/>
  2705. <Column id="pid" type="STRING"/>
  2706. <Column id="hngnm" type="STRING"/>
  2707. <Column id="sna" type="STRING"/>
  2708. <Column id="rrgstno1" type="STRING"/>
  2709. <Column id="orddepthngnm" type="STRING"/>
  2710. <Column id="orddrnm" type="STRING"/>
  2711. <Column id="choiordflag" type="STRING"/>
  2712. <Column id="specdrid" type="STRING"/>
  2713. <Column id="portprcpflag" type="STRING"/>
  2714. <Column id="calcscorcd" type="STRING"/>
  2715. <Column id="prcpdt" type="STRING"/>
  2716. <Column id="statcd" type="STRING"/>
  2717. <Column id="rcptyn" type="STRING"/>
  2718. <Column id="excuroomcd" type="STRING"/>
  2719. <Column id="roomcd" type="STRING"/>
  2720. <Column id="roomnm" type="STRING"/>
  2721. <Column id="srchrsrvdt" type="STRING"/>
  2722. <Column id="prcphopedd" type="STRING"/>
  2723. <Column id="prcpnm" type="STRING"/>
  2724. <Column id="prcpqty" type="STRING"/>
  2725. <Column id="execprcptims" type="STRING"/>
  2726. <Column id="execdt" type="STRING"/>
  2727. <Column id="execrid1" type="STRING"/>
  2728. <Column id="rsrvrnm" type="STRING"/>
  2729. <Column id="basecd" type="STRING"/>
  2730. <Column id="hometel" type="STRING"/>
  2731. <Column id="mpphontel" type="STRING"/>
  2732. <Column id="hight" type="STRING"/>
  2733. <Column id="weight" type="STRING"/>
  2734. <Column id="execprcpuniqno" type="STRING"/>
  2735. <Column id="prcpexecdeptcd" type="STRING"/>
  2736. <Column id="inflag" type="STRING"/>
  2737. <Column id="rcptacptyn" type="STRING"/>
  2738. <Column id="execbaseflag" type="STRING"/>
  2739. <Column id="excupartcd" type="STRING"/>
  2740. <Column id="modality" type="STRING"/>
  2741. <Column id="execrem" type="STRING"/>
  2742. <Column id="prcpdelivefact" type="STRING"/>
  2743. <Column id="carecnfmdd" type="STRING"/>
  2744. <Column id="prcpkindcd" type="STRING"/>
  2745. <Column id="rcptno" type="STRING"/>
  2746. <Column id="acptseqno" type="STRING"/>
  2747. <Column id="prcpgenrflag" type="STRING"/>
  2748. <Column id="orddd" type="STRING"/>
  2749. <Column id="orddeptcd" type="STRING"/>
  2750. <Column id="rcptdd" type="STRING"/>
  2751. <Column id="orddrid" type="STRING"/>
  2752. <Column id="prcpno" type="STRING"/>
  2753. <Column id="eqmtifyn" type="STRING"/>
  2754. <Column id="basesuppdeptcd" type="STRING"/>
  2755. <Column id="cretno" type="STRING"/>
  2756. <Column id="wardcd" type="STRING"/>
  2757. <Column id="rsrvdt" type="STRING"/>
  2758. <Column id="rgstdeptcd" type="STRING"/>
  2759. <Column id="rgstrid" type="STRING"/>
  2760. <Column id="inclprcpcd" type="STRING"/>
  2761. <Column id="lrgcd" type="STRING"/>
  2762. <Column id="mdlcd" type="STRING"/>
  2763. <Column id="actorddd" type="STRING"/>
  2764. <Column id="examroomnm" type="STRING"/>
  2765. <Column id="prcphistno" type="STRING"/>
  2766. <Column id="pacsnocretyn" type="STRING"/>
  2767. <Column id="execprcpstatcd" type="STRING"/>
  2768. <Column id="tmpldata" type="STRING"/>
  2769. <Column id="prcpdd" type="STRING"/>
  2770. <Column id="rsrvrid" type="STRING"/>
  2771. <Column id="cnclresncdnm" type="STRING"/>
  2772. <Column id="rsrvexmptmplcd" type="STRING"/>
  2773. <Column id="rrgstno2" type="STRING"/>
  2774. <Column id="clincstdycd" type="STRING"/>
  2775. <Column id="aftrcptinfo" type="STRING"/>
  2776. <Column id="unrsrvexecyn" type="STRING"/>
  2777. <Column id="insukind" type="STRING"/>
  2778. <Column id="specdrid" type="STRING"/>
  2779. <Column id="selectdeptcd" type="STRING" size="256"/>
  2780. <Column id="selectdrid" type="STRING" size="256"/>
  2781. </ColumnInfo>
  2782. </Dataset>
  2783. <Dataset id="ds_grd_temp1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  2784. <ColumnInfo>
  2785. <Column id="check" type="STRING"/>
  2786. <Column id="no" type="STRING"/>
  2787. <Column id="pid" type="STRING"/>
  2788. <Column id="hngnm" type="STRING"/>
  2789. <Column id="age" type="STRING"/>
  2790. <Column id="rrgrstno" type="STRING"/>
  2791. <Column id="sex" type="STRING"/>
  2792. <Column id="rgstdepthngnm" type="STRING"/>
  2793. <Column id="rgstridnm" type="STRING"/>
  2794. <Column id="portprcpflag" type="STRING"/>
  2795. <Column id="calcscorcd" type="STRING"/>
  2796. <Column id="prcpnm" type="STRING"/>
  2797. <Column id="prcpdd" type="STRING"/>
  2798. <Column id="execprcpstatcd" type="STRING"/>
  2799. <Column id="roomcd" type="STRING"/>
  2800. <Column id="roomnm" type="STRING"/>
  2801. <Column id="rsrvdt" type="STRING"/>
  2802. <Column id="execrid2" type="STRING"/>
  2803. <Column id="rcptdd" type="STRING"/>
  2804. <Column id="acptid" type="STRING"/>
  2805. <Column id="execdt" type="STRING"/>
  2806. <Column id="execrid1" type="STRING"/>
  2807. <Column id="rcptyn" type="STRING"/>
  2808. <Column id="hight" type="STRING"/>
  2809. <Column id="weight" type="STRING"/>
  2810. <Column id="basecd" type="STRING"/>
  2811. <Column id="execprcpuniqno" type="STRING"/>
  2812. <Column id="prcpexecdeptcd" type="STRING"/>
  2813. <Column id="excuroomcd" type="STRING"/>
  2814. <Column id="rgstdeptcd" type="STRING"/>
  2815. <Column id="rgstrid" type="STRING"/>
  2816. <Column id="inflag" type="STRING"/>
  2817. <Column id="rcptacptyn" type="STRING"/>
  2818. <Column id="execbaseflag" type="STRING"/>
  2819. <Column id="lrgcd" type="STRING"/>
  2820. <Column id="mdlcd" type="STRING"/>
  2821. <Column id="excupartcd" type="STRING"/>
  2822. <Column id="modality" type="STRING"/>
  2823. <Column id="acptrem" type="STRING"/>
  2824. <Column id="execrem" type="STRING"/>
  2825. <Column id="newElement" type="STRING"/>
  2826. <Column id="carecnfmdd" type="STRING"/>
  2827. <Column id="excuroomnm" type="STRING"/>
  2828. <Column id="rgstdepthngnm" type="STRING"/>
  2829. <Column id="prcpkindcd" type="STRING"/>
  2830. <Column id="rcptno" type="STRING"/>
  2831. <Column id="acptseqno" type="STRING"/>
  2832. <Column id="execrid1" type="STRING"/>
  2833. <Column id="execrid2" type="STRING"/>
  2834. <Column id="execrid3" type="STRING"/>
  2835. <Column id="execrid4" type="STRING"/>
  2836. </ColumnInfo>
  2837. </Dataset>
  2838. <Dataset id="ds_grd_temp2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  2839. <ColumnInfo>
  2840. <Column id="check" type="STRING"/>
  2841. <Column id="no" type="STRING"/>
  2842. <Column id="pid" type="STRING"/>
  2843. <Column id="hngnm" type="STRING"/>
  2844. <Column id="age" type="STRING"/>
  2845. <Column id="rrgrstno" type="STRING"/>
  2846. <Column id="sex" type="STRING"/>
  2847. <Column id="rgstdepthngnm" type="STRING"/>
  2848. <Column id="rgstridnm" type="STRING"/>
  2849. <Column id="portprcpflag" type="STRING"/>
  2850. <Column id="calcscorcd" type="STRING"/>
  2851. <Column id="prcpnm" type="STRING"/>
  2852. <Column id="prcpdd" type="STRING"/>
  2853. <Column id="execprcpstatcd" type="STRING"/>
  2854. <Column id="roomcd" type="STRING"/>
  2855. <Column id="roomnm" type="STRING"/>
  2856. <Column id="rsrvdt" type="STRING"/>
  2857. <Column id="execrid2" type="STRING"/>
  2858. <Column id="rcptdd" type="STRING"/>
  2859. <Column id="acptid" type="STRING"/>
  2860. <Column id="execdt" type="STRING"/>
  2861. <Column id="execrid1" type="STRING"/>
  2862. <Column id="rcptyn" type="STRING"/>
  2863. <Column id="hight" type="STRING"/>
  2864. <Column id="weight" type="STRING"/>
  2865. <Column id="basecd" type="STRING"/>
  2866. <Column id="execprcpuniqno" type="STRING"/>
  2867. <Column id="prcpexecdeptcd" type="STRING"/>
  2868. <Column id="excuroomcd" type="STRING"/>
  2869. <Column id="rgstdeptcd" type="STRING"/>
  2870. <Column id="rgstrid" type="STRING"/>
  2871. <Column id="inflag" type="STRING"/>
  2872. <Column id="rcptacptyn" type="STRING"/>
  2873. <Column id="execbaseflag" type="STRING"/>
  2874. <Column id="lrgcd" type="STRING"/>
  2875. <Column id="mdlcd" type="STRING"/>
  2876. <Column id="excupartcd" type="STRING"/>
  2877. <Column id="modality" type="STRING"/>
  2878. <Column id="acptrem" type="STRING"/>
  2879. <Column id="execrem" type="STRING"/>
  2880. <Column id="newElement" type="STRING"/>
  2881. <Column id="carecnfmdd" type="STRING"/>
  2882. <Column id="excuroomnm" type="STRING"/>
  2883. <Column id="rgstdepthngnm" type="STRING"/>
  2884. <Column id="prcpkindcd" type="STRING"/>
  2885. <Column id="rcptno" type="STRING"/>
  2886. <Column id="acptseqno" type="STRING"/>
  2887. <Column id="execrid1" type="STRING"/>
  2888. <Column id="execrid2" type="STRING"/>
  2889. <Column id="execrid3" type="STRING"/>
  2890. <Column id="execrid4" type="STRING"/>
  2891. </ColumnInfo>
  2892. </Dataset>
  2893. <Dataset id="ds_grd_ordlist4" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  2894. <ColumnInfo>
  2895. <Column id="check" type="STRING"/>
  2896. <Column id="pid" type="STRING"/>
  2897. <Column id="hngnm" type="STRING"/>
  2898. <Column id="sna" type="STRING"/>
  2899. <Column id="rrgstno1" type="STRING"/>
  2900. <Column id="orddepthngnm" type="STRING"/>
  2901. <Column id="orddrnm" type="STRING"/>
  2902. <Column id="choiordflag" type="STRING"/>
  2903. <Column id="specdrid" type="STRING"/>
  2904. <Column id="portprcpflag" type="STRING"/>
  2905. <Column id="calcscorcd" type="STRING"/>
  2906. <Column id="prcpdt" type="STRING"/>
  2907. <Column id="statcd" type="STRING"/>
  2908. <Column id="rcptyn" type="STRING"/>
  2909. <Column id="excuroomcd" type="STRING"/>
  2910. <Column id="roomcd" type="STRING"/>
  2911. <Column id="roomnm" type="STRING"/>
  2912. <Column id="srchrsrvdt" type="STRING"/>
  2913. <Column id="prcphopedd" type="STRING"/>
  2914. <Column id="prcpnm" type="STRING"/>
  2915. <Column id="prcpqty" type="STRING"/>
  2916. <Column id="execprcptims" type="STRING"/>
  2917. <Column id="rsrvrnm" type="STRING"/>
  2918. <Column id="execdt" type="STRING"/>
  2919. <Column id="execrnm" type="STRING"/>
  2920. <Column id="basecd" type="STRING"/>
  2921. <Column id="hometel" type="STRING"/>
  2922. <Column id="mpphontel" type="STRING"/>
  2923. <Column id="hight" type="STRING"/>
  2924. <Column id="weight" type="STRING"/>
  2925. <Column id="execprcpuniqno" type="STRING"/>
  2926. <Column id="prcpexecdeptcd" type="STRING"/>
  2927. <Column id="rgstdeptcd" type="STRING"/>
  2928. <Column id="rgstrid" type="STRING"/>
  2929. <Column id="inflag" type="STRING"/>
  2930. <Column id="rcptacptyn" type="STRING"/>
  2931. <Column id="execbaseflag" type="STRING"/>
  2932. <Column id="lrgcd" type="STRING"/>
  2933. <Column id="mdlcd" type="STRING"/>
  2934. <Column id="excupartcd" type="STRING"/>
  2935. <Column id="modality" type="STRING"/>
  2936. <Column id="execrem" type="STRING"/>
  2937. <Column id="prcpdelivefact" type="STRING"/>
  2938. <Column id="carecnfmdd" type="STRING"/>
  2939. <Column id="excuroomnm" type="STRING"/>
  2940. <Column id="rgstdepthngnm" type="STRING"/>
  2941. <Column id="prcpkindcd" type="STRING"/>
  2942. <Column id="rcptno" type="STRING"/>
  2943. <Column id="acptseqno" type="STRING"/>
  2944. <Column id="prcpdelivefact" type="STRING"/>
  2945. <Column id="prcpgenrflag" type="STRING"/>
  2946. <Column id="orddd" type="STRING"/>
  2947. <Column id="rgstrid" type="STRING"/>
  2948. <Column id="orddrnm" type="STRING"/>
  2949. <Column id="orddeptcd" type="STRING"/>
  2950. <Column id="rcptdd" type="STRING"/>
  2951. <Column id="orddrid" type="STRING"/>
  2952. <Column id="prcpgenrflag" type="STRING"/>
  2953. <Column id="prcpno" type="STRING"/>
  2954. <Column id="eqmtifyn" type="STRING"/>
  2955. <Column id="basesuppdeptcd" type="STRING"/>
  2956. <Column id="rsrvdt" type="STRING"/>
  2957. <Column id="inclprcpcd" type="STRING"/>
  2958. <Column id="examroomnm" type="STRING"/>
  2959. <Column id="execprcpstatcd" type="STRING"/>
  2960. <Column id="tmpldata" type="STRING"/>
  2961. <Column id="prcpdd" type="STRING"/>
  2962. <Column id="rsrvrid" type="STRING"/>
  2963. <Column id="pacsnocretyn" type="STRING"/>
  2964. <Column id="cnclresncdnm" type="STRING"/>
  2965. <Column id="rsrvexmptmplcd" type="STRING"/>
  2966. <Column id="rrgstno2" type="STRING"/>
  2967. <Column id="clincstdycd" type="STRING"/>
  2968. <Column id="execrid1" type="STRING"/>
  2969. <Column id="aftrcptinfo" type="STRING"/>
  2970. <Column id="unrsrvexecyn" type="STRING"/>
  2971. <Column id="insukind" type="STRING"/>
  2972. <Column id="specdrid" type="STRING"/>
  2973. <Column id="selectdeptcd" type="STRING" size="256"/>
  2974. <Column id="selectdrid" type="STRING" size="256"/>
  2975. </ColumnInfo>
  2976. </Dataset>
  2977. <Dataset id="ds_grd_ordlist6" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  2978. <ColumnInfo>
  2979. <Column id="check" type="STRING"/>
  2980. <Column id="pid" type="STRING"/>
  2981. <Column id="hngnm" type="STRING"/>
  2982. <Column id="sna" type="STRING"/>
  2983. <Column id="rrgstno1" type="STRING"/>
  2984. <Column id="orddepthngnm" type="STRING"/>
  2985. <Column id="orddrnm" type="STRING"/>
  2986. <Column id="choiordflag" type="STRING"/>
  2987. <Column id="specdrid" type="STRING"/>
  2988. <Column id="portprcpflag" type="STRING"/>
  2989. <Column id="calcscorcd" type="STRING"/>
  2990. <Column id="prcpdt" type="STRING"/>
  2991. <Column id="statcd" type="STRING"/>
  2992. <Column id="rcptyn" type="STRING"/>
  2993. <Column id="excuroomcd" type="STRING"/>
  2994. <Column id="roomcd" type="STRING"/>
  2995. <Column id="roomnm" type="STRING"/>
  2996. <Column id="srchrsrvdt" type="STRING"/>
  2997. <Column id="prcphopedd" type="STRING"/>
  2998. <Column id="prcpnm" type="STRING"/>
  2999. <Column id="prcpqty" type="STRING"/>
  3000. <Column id="execprcptims" type="STRING"/>
  3001. <Column id="rsrvid" type="STRING"/>
  3002. <Column id="rcptdd" type="STRING"/>
  3003. <Column id="acptid" type="STRING"/>
  3004. <Column id="execdt" type="STRING"/>
  3005. <Column id="execrid1" type="STRING"/>
  3006. <Column id="basecd" type="STRING"/>
  3007. <Column id="hometel" type="STRING"/>
  3008. <Column id="mpphontel" type="STRING"/>
  3009. <Column id="hight" type="STRING"/>
  3010. <Column id="weight" type="STRING"/>
  3011. <Column id="execprcpuniqno" type="STRING"/>
  3012. <Column id="prcpexecdeptcd" type="STRING"/>
  3013. <Column id="rgstdeptcd" type="STRING"/>
  3014. <Column id="rgstrid" type="STRING"/>
  3015. <Column id="inflag" type="STRING"/>
  3016. <Column id="rcptacptyn" type="STRING"/>
  3017. <Column id="execbaseflag" type="STRING"/>
  3018. <Column id="lrgcd" type="STRING"/>
  3019. <Column id="mdlcd" type="STRING"/>
  3020. <Column id="excupartcd" type="STRING"/>
  3021. <Column id="modality" type="STRING"/>
  3022. <Column id="acptrem" type="STRING"/>
  3023. <Column id="execrem" type="STRING"/>
  3024. <Column id="prcpdelivefact" type="STRING"/>
  3025. <Column id="carecnfmdd" type="STRING"/>
  3026. <Column id="excuroomnm" type="STRING"/>
  3027. <Column id="rgstdepthngnm" type="STRING"/>
  3028. <Column id="prcpkindcd" type="STRING"/>
  3029. <Column id="rcptno" type="STRING"/>
  3030. <Column id="acptseqno" type="STRING"/>
  3031. <Column id="prcpdelivefact" type="STRING"/>
  3032. <Column id="execrid1" type="STRING"/>
  3033. <Column id="execrid2" type="STRING"/>
  3034. <Column id="execrid3" type="STRING"/>
  3035. <Column id="execrid4" type="STRING"/>
  3036. <Column id="prcpgenrflag" type="STRING"/>
  3037. <Column id="orddd" type="STRING"/>
  3038. <Column id="rgstrid" type="STRING"/>
  3039. <Column id="orddrnm" type="STRING"/>
  3040. <Column id="orddeptcd" type="STRING"/>
  3041. <Column id="rcptdd" type="STRING"/>
  3042. <Column id="orddrid" type="STRING"/>
  3043. <Column id="prcpgenrflag" type="STRING"/>
  3044. <Column id="prcpno" type="STRING"/>
  3045. <Column id="eqmtifyn" type="STRING"/>
  3046. <Column id="basesuppdeptcd" type="STRING"/>
  3047. <Column id="tmpldata" type="STRING"/>
  3048. <Column id="wardcd" type="STRING"/>
  3049. <Column id="prcpexecdeptcd" type="STRING"/>
  3050. <Column id="rsrvdt" type="STRING"/>
  3051. <Column id="prcphistno" type="STRING"/>
  3052. <Column id="inclprcpcd" type="STRING"/>
  3053. <Column id="actorddd" type="STRING"/>
  3054. <Column id="cretno" type="STRING"/>
  3055. <Column id="pacsnocretyn" type="STRING"/>
  3056. <Column id="examroomnm" type="STRING"/>
  3057. <Column id="execprcpstatcd" type="STRING"/>
  3058. <Column id="tmpldata" type="STRING"/>
  3059. <Column id="prcpdd" type="STRING"/>
  3060. <Column id="cnclresncdnm" type="STRING"/>
  3061. <Column id="rsrvexmptmplcd" type="STRING"/>
  3062. <Column id="rrgstno2" type="STRING"/>
  3063. <Column id="clincstdycd" type="STRING"/>
  3064. <Column id="aftrcptinfo" type="STRING"/>
  3065. <Column id="unrsrvexecyn" type="STRING"/>
  3066. <Column id="insukind" type="STRING"/>
  3067. <Column id="specdrid" type="STRING"/>
  3068. <Column id="selectdeptcd" type="STRING" size="256"/>
  3069. <Column id="selectdrid" type="STRING" size="256"/>
  3070. </ColumnInfo>
  3071. </Dataset>
  3072. <Dataset id="ds_grd_inclprcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  3073. <ColumnInfo>
  3074. <Column id="check" type="STRING"/>
  3075. <Column id="execprcpstatcd" type="STRING"/>
  3076. <Column id="calcscorcd" type="STRING"/>
  3077. <Column id="prcpnm" type="STRING"/>
  3078. <Column id="prcpdd" type="STRING"/>
  3079. <Column id="acprdd" type="STRING"/>
  3080. <Column id="execdd" type="STRING"/>
  3081. <Column id="cnfmdt" type="STRING"/>
  3082. <Column id="payflagcd" type="STRING"/>
  3083. </ColumnInfo>
  3084. </Dataset>
  3085. <Dataset id="ds_grd_rsrvlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  3086. <ColumnInfo>
  3087. <Column id="srchrsrvtm" type="STRING"/>
  3088. <Column id="pid" type="STRING"/>
  3089. <Column id="hngnm" type="STRING"/>
  3090. <Column id="rrgstno1" type="STRING"/>
  3091. <Column id="calcscorcd" type="STRING"/>
  3092. <Column id="sna" type="STRING"/>
  3093. <Column id="statcd" type="STRING"/>
  3094. <Column id="roomcd" type="STRING"/>
  3095. <Column id="orddepthngnm" type="STRING"/>
  3096. <Column id="orddrnm" type="STRING"/>
  3097. <Column id="prcpdt" type="STRING"/>
  3098. <Column id="prcpnm" type="STRING"/>
  3099. <Column id="rsrvrnm" type="STRING"/>
  3100. <Column id="hight" type="STRING"/>
  3101. <Column id="weight" type="STRING"/>
  3102. <Column id="execprcpuniqno" type="STRING"/>
  3103. <Column id="prcpkindcd" type="STRING"/>
  3104. <Column id="prcpgenrflag" type="STRING"/>
  3105. <Column id="basecd" type="STRING"/>
  3106. <Column id="prcpexecdeptcd" type="STRING"/>
  3107. <Column id="excuroomcd" type="STRING"/>
  3108. <Column id="inflag" type="STRING"/>
  3109. <Column id="rcptacptyn" type="STRING"/>
  3110. <Column id="execbaseflag" type="STRING"/>
  3111. <Column id="orddd" type="STRING"/>
  3112. <Column id="excupartcd" type="STRING"/>
  3113. <Column id="modality" type="STRING"/>
  3114. <Column id="prcpdelivefact" type="STRING"/>
  3115. <Column id="carecnfmdd" type="STRING"/>
  3116. <Column id="rsrvdt" type="STRING"/>
  3117. <Column id="orddeptcd" type="STRING"/>
  3118. <Column id="orddrid" type="STRING"/>
  3119. <Column id="prcpno" type="STRING"/>
  3120. <Column id="basesuppdeptcd" type="STRING"/>
  3121. <Column id="cretno" type="STRING"/>
  3122. <Column id="wardcd" type="STRING"/>
  3123. <Column id="srchrsrvdt" type="STRING"/>
  3124. <Column id="rsrvrem" type="STRING"/>
  3125. <Column id="eqmtifyn" type="STRING"/>
  3126. <Column id="rgstdeptcd" type="STRING"/>
  3127. <Column id="rgstrid" type="STRING"/>
  3128. <Column id="execdt" type="STRING"/>
  3129. <Column id="execrid1" type="STRING"/>
  3130. <Column id="inclprcpcd" type="STRING"/>
  3131. <Column id="lrgcd" type="STRING"/>
  3132. <Column id="mdlcd" type="STRING"/>
  3133. <Column id="actorddd" type="STRING"/>
  3134. <Column id="examroomnm" type="STRING"/>
  3135. <Column id="pacsnocretyn" type="STRING"/>
  3136. <Column id="execprcpstatcd" type="STRING"/>
  3137. <Column id="tmpldata" type="STRING"/>
  3138. <Column id="prcpdd" type="STRING"/>
  3139. <Column id="rsrvrid" type="STRING"/>
  3140. <Column id="rsrvexmptmplcd" type="STRING"/>
  3141. <Column id="instcd" type="STRING"/>
  3142. </ColumnInfo>
  3143. </Dataset>
  3144. <Dataset id="ds_calendinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  3145. <ColumnInfo>
  3146. <Column id="basedd" type="STRING"/>
  3147. <Column id="dutflag" type="STRING"/>
  3148. </ColumnInfo>
  3149. </Dataset>
  3150. <Dataset id="ds_patrem_selectpat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3151. <ColumnInfo>
  3152. <Column id="pid" type="STRING" size="256"/>
  3153. <Column id="hngnm" type="STRING" size="256"/>
  3154. <Column id="sna" type="STRING" size="256"/>
  3155. <Column id="hometel" type="STRING" size="256"/>
  3156. <Column id="mpphontel" type="STRING" size="256"/>
  3157. <Column id="rrgstno" type="STRING" size="256"/>
  3158. <Column id="addr" type="STRING" size="256"/>
  3159. </ColumnInfo>
  3160. <Rows>
  3161. <Row>
  3162. <Col id="pid"/>
  3163. <Col id="hngnm"/>
  3164. <Col id="sna"/>
  3165. <Col id="hometel"/>
  3166. <Col id="mpphontel"/>
  3167. <Col id="rrgstno"/>
  3168. <Col id="addr"/>
  3169. </Row>
  3170. </Rows>
  3171. </Dataset>
  3172. <Dataset id="ds_send_data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3173. <ColumnInfo>
  3174. <Column id="sgubn" type="STRING" size="256"/>
  3175. <Column id="srchpid" type="STRING" size="256"/>
  3176. <Column id="srchdate1" type="STRING" size="256"/>
  3177. <Column id="srchdate2" type="STRING" size="256"/>
  3178. <Column id="dateflag" type="STRING" size="256"/>
  3179. <Column id="acptlistflag" type="STRING" size="256"/>
  3180. <Column id="unrsrvflag" type="STRING" size="256"/>
  3181. <Column id="patrem" type="STRING" size="256"/>
  3182. <Column id="memorem" type="STRING" size="256"/>
  3183. <Column id="rsrvdate" type="STRING" size="256"/>
  3184. <Column id="selectexcuroom" type="STRING" size="256"/>
  3185. <Column id="excuroomcd" type="STRING" size="256"/>
  3186. <Column id="prcpgenrflag" type="STRING" size="256"/>
  3187. <Column id="genrflag" type="STRING" size="256"/>
  3188. <Column id="execprcpuniqno" type="STRING" size="256"/>
  3189. <Column id="prcpno" type="STRING" size="256"/>
  3190. <Column id="prcpdd" type="STRING" size="256"/>
  3191. <Column id="srchrsrvdt" type="STRING" size="256"/>
  3192. <Column id="cretno" type="STRING" size="256"/>
  3193. <Column id="orddd" type="STRING" size="256"/>
  3194. <Column id="rsrvgenrflag" type="STRING" size="256"/>
  3195. <Column id="prcpexecdeptcd" type="STRING" size="256"/>
  3196. <Column id="largeclass" type="STRING" size="256"/>
  3197. <Column id="curdate" type="STRING" size="256"/>
  3198. <Column id="prntcalcscorcd" type="STRING" size="256"/>
  3199. <Column id="prntsuppdeptcd" type="STRING" size="256"/>
  3200. <Column id="rsrvdd" type="STRING" size="256"/>
  3201. <Column id="memorgstddprcpdd" type="STRING" size="256"/>
  3202. <Column id="allstatus" type="STRING" size="256"/>
  3203. <Column id="term" type="STRING" size="256"/>
  3204. <Column id="execrid1" type="STRING" size="256"/>
  3205. <Column id="rsrvprtyn" type="STRING" size="256"/>
  3206. <Column id="rsrvpossexcuroomcd" type="STRING" size="256"/>
  3207. <Column id="inclprcpcd" type="STRING" size="256"/>
  3208. <Column id="rsrvposs" type="STRING" size="256"/>
  3209. <Column id="centyn" type="STRING" size="256"/>
  3210. <Column id="centflag" type="STRING" size="256"/>
  3211. <Column id="ecgflag" type="STRING" size="256"/>
  3212. <Column id="prcpcd" type="STRING" size="256"/>
  3213. <Column id="cmtflag" type="STRING" size="256"/>
  3214. <Column id="deptcd" type="STRING" size="256"/>
  3215. <Column id="hcflag" type="STRING" size="256"/>
  3216. <Column id="basesuppdeptcd" type="STRING" size="256"/>
  3217. <Column id="execprcpstatcd" type="STRING" size="256"/>
  3218. </ColumnInfo>
  3219. <Rows>
  3220. <Row>
  3221. <Col id="sgubn"/>
  3222. <Col id="srchpid"/>
  3223. <Col id="srchdate1"/>
  3224. <Col id="srchdate2"/>
  3225. <Col id="dateflag"/>
  3226. <Col id="acptlistflag"/>
  3227. <Col id="unrsrvflag"/>
  3228. <Col id="patrem"/>
  3229. <Col id="memorem"/>
  3230. <Col id="rsrvdate"/>
  3231. <Col id="selectexcuroom"/>
  3232. <Col id="excuroomcd"/>
  3233. <Col id="prcpgenrflag"/>
  3234. <Col id="genrflag"/>
  3235. <Col id="execprcpuniqno"/>
  3236. <Col id="prcpno"/>
  3237. <Col id="prcpdd"/>
  3238. <Col id="srchrsrvdt"/>
  3239. <Col id="cretno"/>
  3240. <Col id="orddd"/>
  3241. <Col id="rsrvgenrflag"/>
  3242. <Col id="prcpexecdeptcd"/>
  3243. <Col id="largeclass"/>
  3244. <Col id="curdate"/>
  3245. <Col id="prntcalcscorcd"/>
  3246. <Col id="prntsuppdeptcd"/>
  3247. <Col id="rsrvdd"/>
  3248. <Col id="memorgstddprcpdd"/>
  3249. <Col id="allstatus">Y</Col>
  3250. <Col id="term">0</Col>
  3251. <Col id="execrid1"/>
  3252. <Col id="rsrvprtyn"/>
  3253. <Col id="rsrvpossexcuroomcd"/>
  3254. </Row>
  3255. </Rows>
  3256. </Dataset>
  3257. <Dataset id="ds_patrem_rem" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3258. <ColumnInfo>
  3259. <Column id="memo" type="STRING" size="256"/>
  3260. </ColumnInfo>
  3261. <Rows>
  3262. <Row/>
  3263. </Rows>
  3264. </Dataset>
  3265. <Dataset id="ds_patrem_examcureexecdiaglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3266. <ColumnInfo>
  3267. <Column id="diagengnm" type="STRING" size="256"/>
  3268. </ColumnInfo>
  3269. <Rows>
  3270. <Row/>
  3271. </Rows>
  3272. </Dataset>
  3273. <Dataset id="ds_patrem_isolinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3274. <ColumnInfo>
  3275. <Column id="isoldispcd" type="STRING" size="256"/>
  3276. </ColumnInfo>
  3277. <Rows>
  3278. <Row/>
  3279. </Rows>
  3280. </Dataset>
  3281. <Dataset id="ds_patrem_prcpdeliveinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3282. <ColumnInfo>
  3283. <Column id="prcpdelivefact" type="STRING" size="256"/>
  3284. </ColumnInfo>
  3285. <Rows>
  3286. <Row/>
  3287. </Rows>
  3288. </Dataset>
  3289. <Dataset id="ds_patrem_rsrvpossexcuroomlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3290. <ColumnInfo>
  3291. <Column id="excuroomnm" type="STRING" size="256"/>
  3292. <Column id="excuroomcd" type="STRING" size="256"/>
  3293. </ColumnInfo>
  3294. <Rows>
  3295. <Row/>
  3296. </Rows>
  3297. </Dataset>
  3298. <Dataset id="ds_calendar" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3299. <ColumnInfo>
  3300. <Column id="year" type="STRING" size="256"/>
  3301. <Column id="month" type="STRING" size="256"/>
  3302. </ColumnInfo>
  3303. <Rows>
  3304. <Row/>
  3305. </Rows>
  3306. </Dataset>
  3307. <Dataset id="ds_init_rsrvcalendar" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3308. <Dataset id="ds_rexbarcode" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3309. <ColumnInfo>
  3310. <Column id="pid" type="STRING" size="256"/>
  3311. <Column id="patnm" type="STRING" size="256"/>
  3312. <Column id="gbn" type="STRING" size="256"/>
  3313. <Column id="rrgstno1" type="STRING" size="256"/>
  3314. <Column id="rrgstno2" type="STRING" size="256"/>
  3315. <Column id="barpid" type="STRING" size="256"/>
  3316. <Column id="excugrp" type="STRING" size="256"/>
  3317. <Column id="rsrvdd" type="STRING" size="256"/>
  3318. <Column id="sex" type="STRING" size="256"/>
  3319. <Column id="age" type="STRING" size="256"/>
  3320. <Column id="wardcddeptengabbr" type="STRING" size="256"/>
  3321. <Column id="excupartcd" type="STRING" size="256"/>
  3322. <Column id="roomcd" type="STRING" size="256"/>
  3323. <Column id="prcpnm" type="STRING" size="256"/>
  3324. <Column id="examroomnm" type="STRING" size="256"/>
  3325. <Column id="wardcdnm" type="STRING" size="256"/>
  3326. <Column id="prcphopedd" type="STRING" size="256"/>
  3327. </ColumnInfo>
  3328. <Rows>
  3329. <Row>
  3330. <Col id="pid"/>
  3331. <Col id="patnm"/>
  3332. <Col id="gbn"/>
  3333. <Col id="rrgstno1"/>
  3334. <Col id="rrgstno2"/>
  3335. <Col id="barpid"/>
  3336. <Col id="excugrp"/>
  3337. <Col id="rsrvdd"/>
  3338. <Col id="sex"/>
  3339. <Col id="age"/>
  3340. <Col id="wardcddeptengabbr"/>
  3341. <Col id="excupartcd"/>
  3342. <Col id="roomcd"/>
  3343. <Col id="prcpnm"/>
  3344. <Col id="examroomnm"/>
  3345. <Col id="wardcdnm"/>
  3346. <Col id="prcphopedd"/>
  3347. </Row>
  3348. </Rows>
  3349. </Dataset>
  3350. <Dataset id="ds_examcuredeptmemolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3351. <ColumnInfo>
  3352. <Column id="memorem" type="STRING" size="256"/>
  3353. </ColumnInfo>
  3354. <Rows>
  3355. <Row/>
  3356. </Rows>
  3357. </Dataset>
  3358. <Dataset id="ds_deptcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3359. <Dataset id="ds_send_tobeacptprcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3360. <Dataset id="ds_hidden_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3361. <Dataset id="ds_send_data_popup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3362. <ColumnInfo>
  3363. <Column id="prcpdd" type="STRING" size="256"/>
  3364. <Column id="execprcpuniqno" type="STRING" size="256"/>
  3365. <Column id="prcpgenrflag" type="STRING" size="256"/>
  3366. <Column id="pid" type="STRING" size="256"/>
  3367. <Column id="orddd" type="STRING" size="256"/>
  3368. <Column id="basesuppdeptcd" type="STRING" size="256"/>
  3369. <Column id="ioflag" type="STRING" size="256"/>
  3370. </ColumnInfo>
  3371. <Rows>
  3372. <Row>
  3373. <Col id="prcpdd"/>
  3374. <Col id="execprcpuniqno"/>
  3375. <Col id="prcpgenrflag"/>
  3376. <Col id="pid"/>
  3377. <Col id="orddd"/>
  3378. <Col id="basesuppdeptcd"/>
  3379. <Col id="ioflag"/>
  3380. </Row>
  3381. </Rows>
  3382. </Dataset>
  3383. <Dataset id="ds_hidden_cnclcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3384. <ColumnInfo>
  3385. <Column id="cnclcd" type="STRING" size="256"/>
  3386. </ColumnInfo>
  3387. <Rows>
  3388. <Row/>
  3389. </Rows>
  3390. </Dataset>
  3391. <Dataset id="ds_send_globalinstance" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3392. <ColumnInfo>
  3393. <Column id="dutplcecd" type="STRING" size="256"/>
  3394. <Column id="specdraddyn" type="STRING" size="256"/>
  3395. </ColumnInfo>
  3396. <Rows>
  3397. <Row/>
  3398. </Rows>
  3399. </Dataset>
  3400. <Dataset id="ds_hidden_pseursrvinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3401. <ColumnInfo>
  3402. <Column id="seq" type="STRING" size="256"/>
  3403. <Column id="suppdeptcd" type="STRING" size="256"/>
  3404. <Column id="instcd" type="STRING" size="256"/>
  3405. <Column id="rsrvdd" type="STRING" size="256"/>
  3406. </ColumnInfo>
  3407. <Rows>
  3408. <Row>
  3409. <Col id="seq"/>
  3410. <Col id="suppdeptcd"/>
  3411. <Col id="instcd"/>
  3412. <Col id="rsrvdd"/>
  3413. </Row>
  3414. </Rows>
  3415. </Dataset>
  3416. <Dataset id="ds_send_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3417. <ColumnInfo>
  3418. <Column id="data" type="STRING" size="256"/>
  3419. <Column id="flag" type="STRING" size="256"/>
  3420. <Column id="basesuppdeptcd" type="STRING" size="256"/>
  3421. <Column id="cnclcd" type="STRING" size="256"/>
  3422. <Column id="pamifyn" type="STRING" size="256"/>
  3423. <Column id="ordtm" type="STRING" size="256"/>
  3424. <Column id="scrnid" type="STRING" size="256"/>
  3425. <Column id="compscd" type="STRING" size="256"/>
  3426. </ColumnInfo>
  3427. <Rows>
  3428. <Row>
  3429. <Col id="data"/>
  3430. <Col id="flag"/>
  3431. <Col id="basesuppdeptcd"/>
  3432. <Col id="cnclcd"/>
  3433. <Col id="pamifyn"/>
  3434. <Col id="ordtm"/>
  3435. </Row>
  3436. </Rows>
  3437. </Dataset>
  3438. <Dataset id="ds_curfile" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3439. <ColumnInfo>
  3440. <Column id="filename" type="STRING" size="256"/>
  3441. <Column id="rtfcode" type="STRING" size="256"/>
  3442. </ColumnInfo>
  3443. </Dataset>
  3444. <Dataset id="ds_rtflist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3445. <Dataset id="ds_send_popup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3446. <ColumnInfo>
  3447. <Column id="basecdflag" type="STRING" size="256"/>
  3448. </ColumnInfo>
  3449. <Rows>
  3450. <Row/>
  3451. </Rows>
  3452. </Dataset>
  3453. <Dataset id="ds_tmplinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3454. <Dataset id="ds_init_specdridlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3455. <Dataset id="ds_barcdprntsetup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3456. <Dataset id="ds_cmb_initexecroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3457. <Dataset id="ds_cmb_initexecroomcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3458. <ColumnInfo>
  3459. <Column id="excuroomcd" type="STRING" size="256"/>
  3460. </ColumnInfo>
  3461. </Dataset>
  3462. <Dataset id="ds_cmb_initexecrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3463. <Dataset id="ds_cmb_prcpexecdeptcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3464. <ColumnInfo>
  3465. <Column id="prcpexecdeptcd" type="STRING" size="256"/>
  3466. </ColumnInfo>
  3467. </Dataset>
  3468. <Dataset id="ds_cmb_cdidlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3469. <Dataset id="ds_cmb_nursingtype" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3470. <Dataset id="ds_cmb_initexcuroomgrp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3471. <Dataset id="ds_init_A0608" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3472. <Dataset id="ds_init_P0008" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3473. <Dataset id="ds_hidden_prcprcptyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3474. <Dataset id="ds_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3475. <Dataset id="ds_init_initdspyn_A620" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3476. <Dataset id="ds_init_cmb_info6_X0003" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3477. <Dataset id="ds_resultref" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3478. <Dataset id="ds_hidden_uspayflagyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3479. <Dataset id="ds_hidden_excuroomgrplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3480. <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3481. <Dataset id="ds_patrem_grdAeahMemoList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3482. <Dataset id="ds_hidden_grdcellcolor" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3483. <ColumnInfo>
  3484. <Column id="calrow" type="STRING" size="256"/>
  3485. <Column id="calcol" type="STRING" size="256"/>
  3486. </ColumnInfo>
  3487. <Rows>
  3488. <Row/>
  3489. </Rows>
  3490. </Dataset>
  3491. <Dataset id="ds_temp_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3492. <Dataset id="ds_init_gridseq" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3493. <Dataset id="ds_req_header" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3494. <ColumnInfo>
  3495. <Column id="scrnid" type="STRING" size="256"/>
  3496. <Column id="compscd" type="STRING" size="256"/>
  3497. </ColumnInfo>
  3498. <Rows>
  3499. <Row/>
  3500. </Rows>
  3501. </Dataset>
  3502. <Dataset id="ds_grid_grd_calendar" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  3503. <ColumnInfo>
  3504. <Column id="sun" type="STRING" size="256"/>
  3505. <Column id="mon" type="STRING" size="256"/>
  3506. <Column id="tue" type="STRING" size="256"/>
  3507. <Column id="wed" type="STRING" size="256"/>
  3508. <Column id="thu" type="STRING" size="256"/>
  3509. <Column id="fri" type="STRING" size="256"/>
  3510. <Column id="sat" type="STRING" size="256"/>
  3511. <Column id="sun_memo" type="STRING" size="256"/>
  3512. <Column id="mon_memo" type="STRING" size="256"/>
  3513. <Column id="tue_memo" type="STRING" size="256"/>
  3514. <Column id="wed_memo" type="STRING" size="256"/>
  3515. <Column id="thu_memo" type="STRING" size="256"/>
  3516. <Column id="fri_memo" type="STRING" size="256"/>
  3517. <Column id="sat_memo" type="STRING" size="256"/>
  3518. <Column id="sun_dutflag" type="STRING" size="256"/>
  3519. <Column id="mon_dutflag" type="STRING" size="256"/>
  3520. <Column id="tue_dutflag" type="STRING" size="256"/>
  3521. <Column id="wed_dutflag" type="STRING" size="256"/>
  3522. <Column id="thu_dutflag" type="STRING" size="256"/>
  3523. <Column id="fri_dutflag" type="STRING" size="256"/>
  3524. <Column id="sat_dutflag" type="STRING" size="256"/>
  3525. <Column id="sun_ampmflag" type="STRING" size="256"/>
  3526. <Column id="mon_ampmflag" type="STRING" size="256"/>
  3527. <Column id="tue_ampmflag" type="STRING" size="256"/>
  3528. <Column id="wed_ampmflag" type="STRING" size="256"/>
  3529. <Column id="thu_ampmflag" type="STRING" size="256"/>
  3530. <Column id="fri_ampmflag" type="STRING" size="256"/>
  3531. <Column id="sat_ampmflag" type="STRING" size="256"/>
  3532. <Column id="sun_ordendresn" type="STRING" size="256"/>
  3533. <Column id="mon_ordendresn" type="STRING" size="256"/>
  3534. <Column id="tue_ordendresn" type="STRING" size="256"/>
  3535. <Column id="wed_ordendresn" type="STRING" size="256"/>
  3536. <Column id="thu_ordendresn" type="STRING" size="256"/>
  3537. <Column id="fri_ordendresn" type="STRING" size="256"/>
  3538. <Column id="sat_ordendresn" type="STRING" size="256"/>
  3539. <Column id="sun_ordendresnmin" type="STRING" size="256"/>
  3540. <Column id="mon_ordendresnmin" type="STRING" size="256"/>
  3541. <Column id="tue_ordendresnmin" type="STRING" size="256"/>
  3542. <Column id="wed_ordendresnmin" type="STRING" size="256"/>
  3543. <Column id="thu_ordendresnmin" type="STRING" size="256"/>
  3544. <Column id="fri_ordendresnmin" type="STRING" size="256"/>
  3545. <Column id="sat_ordendresnmin" type="STRING" size="256"/>
  3546. <Column id="sun_reglscheflag" type="STRING" size="256"/>
  3547. <Column id="mon_reglscheflag" type="STRING" size="256"/>
  3548. <Column id="tue_reglscheflag" type="STRING" size="256"/>
  3549. <Column id="wed_reglscheflag" type="STRING" size="256"/>
  3550. <Column id="thu_reglscheflag" type="STRING" size="256"/>
  3551. <Column id="fri_reglscheflag" type="STRING" size="256"/>
  3552. <Column id="sat_reglscheflag" type="STRING" size="256"/>
  3553. </ColumnInfo>
  3554. </Dataset>
  3555. <Dataset id="ds_data_comm02" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3556. <ColumnInfo>
  3557. <Column id="dsvaluepath" type="STRING" size="256"/>
  3558. <Column id="comm" type="STRING" size="256"/>
  3559. <Column id="databit" type="STRING" size="256"/>
  3560. <Column id="stopbit" type="STRING" size="256"/>
  3561. <Column id="baudrate" type="STRING" size="256"/>
  3562. <Column id="parity" type="STRING" size="256"/>
  3563. </ColumnInfo>
  3564. <Rows>
  3565. <Row>
  3566. <Col id="dsvaluepath">/setupinfo</Col>
  3567. <Col id="comm">2</Col>
  3568. <Col id="databit">8</Col>
  3569. <Col id="stopbit">1</Col>
  3570. <Col id="baudrate">9600</Col>
  3571. <Col id="parity">n</Col>
  3572. </Row>
  3573. </Rows>
  3574. </Dataset>
  3575. <Dataset id="ds_data_comm01" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3576. <ColumnInfo>
  3577. <Column id="setupval" type="STRING" size="256"/>
  3578. </ColumnInfo>
  3579. </Dataset>
  3580. <Dataset id="ds_data_blank" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3581. <ColumnInfo>
  3582. <Column id="dsvaluepath" type="STRING" size="256"/>
  3583. <Column id="left" type="STRING" size="256"/>
  3584. <Column id="top" type="STRING" size="256"/>
  3585. <Column id="b472size" type="STRING" size="256"/>
  3586. </ColumnInfo>
  3587. </Dataset>
  3588. <Dataset id="ds_init_userscrnenvinfo_gridseq" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3589. <Dataset id="ds_chngcol" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3590. <ColumnInfo>
  3591. <Column id="chngcolflag" type="STRING" size="256"/>
  3592. </ColumnInfo>
  3593. <Rows>
  3594. <Row/>
  3595. </Rows>
  3596. </Dataset>
  3597. <Dataset id="ds_init_T0003" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3598. <ColumnInfo>
  3599. <Column id="dispseq" type="STRING" size="256"/>
  3600. <Column id="cdid" type="STRING" size="256"/>
  3601. <Column id="cdnm" type="STRING" size="256"/>
  3602. <Column id="grupcdid" type="STRING" size="256"/>
  3603. </ColumnInfo>
  3604. <Rows>
  3605. <Row/>
  3606. </Rows>
  3607. </Dataset>
  3608. <Dataset id="ds_init_selectdridlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3609. <Dataset id="ds_hidden_sms" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  3610. <ColumnInfo>
  3611. <Column id="orddeptcd" type="STRING" size="256"/>
  3612. <Column id="msgcnts" type="STRING" size="256"/>
  3613. </ColumnInfo>
  3614. </Dataset>
  3615. <Dataset id="ds_send_sms" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  3616. <ColumnInfo>
  3617. <Column id="instcd" type="STRING" size="256"/>
  3618. <Column id="condflag" type="STRING" size="256"/>
  3619. <Column id="data" type="STRING" size="256"/>
  3620. <Column id="calltype" type="STRING" size="256"/>
  3621. <Column id="msgcnts" type="STRING" size="256"/>
  3622. <Column id="insuflag" type="STRING" size="256"/>
  3623. <Column id="calltelno" type="STRING" size="256"/>
  3624. <Column id="systemnm" type="STRING" size="256"/>
  3625. </ColumnInfo>
  3626. </Dataset>
  3627. <Dataset id="ds_main_sms" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false"/>
  3628. <Dataset id="ds_send_rcv" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  3629. <ColumnInfo>
  3630. <Column id="usernm" type="STRING" size="256"/>
  3631. <Column id="userid" type="STRING" size="256"/>
  3632. <Column id="mpphonno" type="STRING" size="256"/>
  3633. <Column id="pid" type="STRING" size="256"/>
  3634. <Column id="deptcd" type="STRING" size="256"/>
  3635. </ColumnInfo>
  3636. </Dataset>
  3637. <Dataset id="ds_init_A1000" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3638. <ColumnInfo>
  3639. <Column id="cdid" type="STRING" size="256"/>
  3640. <Column id="cdnm" type="STRING" size="256"/>
  3641. </ColumnInfo>
  3642. </Dataset>
  3643. </Objects>
  3644. <Bind>
  3645. <BindItem id="item0" compid="grp_body.grp_sea.ipt_pid" propid="value" datasetid="ds_send_data" columnid="srchpid"/>
  3646. <BindItem id="item1" compid="grp_body.grp_sea.ipt_date1" propid="value" datasetid="ds_send_data" columnid="srchdate1"/>
  3647. <BindItem id="item2" compid="grp_body.grp_sea.ipt_date2" propid="value" datasetid="ds_send_data" columnid="srchdate2"/>
  3648. <BindItem id="item3" compid="grp_body.grp_sea.cmb_term" propid="value" datasetid="ds_send_data" columnid="term"/>
  3649. <BindItem id="item4" compid="grp_body.div_info.input2" propid="value" datasetid="ds_patrem_selectpat" columnid="pid"/>
  3650. <BindItem id="item5" compid="grp_body.div_info.input3" propid="value" datasetid="ds_patrem_selectpat" columnid="hngnm"/>
  3651. <BindItem id="item6" compid="grp_body.div_info.input7" propid="value" datasetid="ds_patrem_selectpat" columnid="sna"/>
  3652. <BindItem id="item7" compid="grp_body.div_info.input9" propid="value" datasetid="ds_patrem_selectpat" columnid="rrgstno"/>
  3653. <BindItem id="item8" compid="grp_body.div_info.input5" propid="value" datasetid="ds_patrem_selectpat" columnid="hometel"/>
  3654. <BindItem id="item9" compid="grp_body.div_info.input6" propid="value" datasetid="ds_patrem_selectpat" columnid="mpphontel"/>
  3655. <BindItem id="item10" compid="grp_body.div_info.input8" propid="value" datasetid="ds_patrem_selectpat" columnid="addr"/>
  3656. <BindItem id="item11" compid="grp_body.group2.group7.txt_isol" propid="value" datasetid="ds_patrem_isolinfo" columnid="isoldispcd"/>
  3657. <BindItem id="item12" compid="grp_body.group2.rdo_prcpgenrflag" propid="value" datasetid="ds_send_data" columnid="prcpgenrflag"/>
  3658. <BindItem id="item13" compid="grp_body.group2.tar_prcpdelivefact" propid="value" datasetid="ds_patrem_prcpdeliveinfo" columnid="prcpdelivefact"/>
  3659. <BindItem id="item14" compid="grp_body.group2.tar_patrem" propid="value" datasetid="ds_patrem_rem" columnid="memo"/>
  3660. <BindItem id="item15" compid="grp_body.grp_calendar.opt_year" propid="value" datasetid="ds_calendar" columnid="year"/>
  3661. <BindItem id="item16" compid="grp_body.grp_calendar.opt_month" propid="value" datasetid="ds_calendar" columnid="month"/>
  3662. <BindItem id="item17" compid="grp_body.group2.tat_deptmemo" propid="value" datasetid="ds_examcuredeptmemolist" columnid="memorem"/>
  3663. <BindItem id="item18" compid="grp_body.group5.ckb_allstatus" propid="value" datasetid="ds_send_data" columnid="allstatus"/>
  3664. <BindItem id="item19" compid="grp_body.group5.chk_rsrvprint" propid="value" datasetid="ds_send_data" columnid="rsrvprtyn"/>
  3665. <BindItem id="item20" compid="grp_body.group2.chk_hc" propid="value" datasetid="ds_send_data" columnid="hcflag"/>
  3666. </Bind>
  3667. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  3668. * System Name :
  3669. * Job Name :
  3670. * Creator :
  3671. * Make Date : 2015-11-13
  3672. * Description :
  3673. *---------------------------------------------------------------------------------------
  3674. * Modify Date Modifier Modify Description
  3675. *---------------------------------------------------------------------------------------
  3676. * 2015-11-13 Live Converter TF->XP
  3677. *
  3678. *---------------------------------------------------------------------------------------
  3679. ****************************************************************************************/
  3680. include "com_commonxp::comm_main.xjs";
  3681. include "emr_prcpmngtxp::MMOCommon.xjs";
  3682. include "ast_examcurexp::AEZ0001.xjs";
  3683. include "ast_examcurexp::combolist.xjs";
  3684. include "ast_examcurexp::SPAER01100.xjs";
  3685. include "pam_pamcomnxp::PAM.xjs";
  3686. include "com_commodulexp::SSZFM00901.xjs";
  3687. include "emr_waitguidexp::SMMNV12000.xjs";
  3688. var grdgubn = "";
  3689. var tabgubn = "";
  3690. var acptlistflag = "";
  3691. var prcpddyn = "";
  3692. var grdid = "";
  3693. var dayArr = ["sun","mon","tue","wed","thu","fri","sat"]
  3694. var dayMemoArr = ["sun_memo","mon_memo","tue_memo","wed_memo","thu_memo","fri_memo","sat_memo"]
  3695. //=====================================================================================================================================================================================
  3696. // @ 달력 초기화
  3697. //=====================================================================================================================================================================================
  3698. function initCalendar() {
  3699. var curDate = utlf_getCurrentDate().toDate();
  3700. ds_calendar.setColumn(0,"year", curDate.getDateFormat("YYYY"));
  3701. ds_calendar.setColumn(0,"month", curDate.getDateFormat("MM"));
  3702. setCalendar(curDate);
  3703. }
  3704. //=====================================================================================================================================================================================
  3705. // @ 달력에 일자별로 가용현황을 보여준다.
  3706. //=====================================================================================================================================================================================
  3707. function setRsrvPresCondByMonth() {
  3708. var isMonth = ds_calendar.getColumn(0,"month");
  3709. var isYear = ds_calendar.getColumn(0,"year");
  3710. var isDate = (isYear+isMonth+"01").toDate();
  3711. var startDay = isDate.getDay();
  3712. if(!utlf_isNull(ds_send_data.getColumn(0,"excuroomcd"))) {
  3713. ds_send_data.setColumn(0,"rsrvdd", isYear +isMonth+ startDay );
  3714. //submit("TRAEA01107");
  3715. var oParam = {};
  3716. oParam.id = "TRAEA01129";
  3717. oParam.service = "examcurersrvapp.SytsRsrv";
  3718. oParam.method = "reqGetFuncCUrerRsrvTimeCnt";
  3719. oParam.inds = "req=ds_send_data";
  3720. oParam.outds = "ds_init_rsrvcalendar=rsrvcalendar";
  3721. oParam.async = false;
  3722. oParam.callback = "cf_TRAEA01129";
  3723. tranf_submit(oParam);
  3724. }
  3725. for (var i = 0; i < ds_init_rsrvcalendar.rowcount; i++) {
  3726. var dd = ds_init_rsrvcalendar.getColumn(i,"rsrvdd");
  3727. var colidx = dd.toDate().getDay();
  3728. var rowidx = Math.ceil( ( startDay + Number(dd.substr(6,2)) ) / 7 ) -1;
  3729. ds_grid_grd_calendar.setColumn(rowidx, dayMemoArr[colidx%7], ds_init_rsrvcalendar.getColumn(i,"count") + "/" + ds_init_rsrvcalendar.getColumn(i,"max")) ;
  3730. }
  3731. }
  3732. function cf_TRAEA01129(sSvcId, nErrorCode, sErrorMsg) {
  3733. if(nErrorCode < 0) return;
  3734. }
  3735. //=====================================================================================================================================================================================
  3736. // @ 달력에 0/0 으로 세팅
  3737. //=====================================================================================================================================================================================
  3738. function setCalendar(dateObj) {
  3739. // 그리드 초기화
  3740. ds_grid_grd_calendar.clearData();
  3741. ds_init_rsrvcalendar.clearData();
  3742. dateObj.setDate(1);
  3743. var startDay = dateObj.getDay();
  3744. var days = dateObj.getMonthDay();
  3745. var rows = Math.ceil( ( startDay + days ) / 7 );
  3746. for( var i = 0; i < rows; i++ )
  3747. ds_grid_grd_calendar.addRow();
  3748. var rowIndex = 0;
  3749. var colIndex = startDay;
  3750. for( var i = 1; i <= days; i++ ) {
  3751. ds_grid_grd_calendar.setColumn(rowIndex,dayArr[colIndex%7],i);
  3752. //ds_grid_grd_calendar.setColumn(rowIndex, lf_getBindCellName( group5.grd_calendar,colIndex), i);
  3753. ds_grid_grd_calendar.setColumn(rowIndex,dayMemoArr[colIndex%7],"0/0");
  3754. //ds_grid_grd_calendar.setColumn(rowIndex, lf_getBindCellName( group5.grd_calendar,colIndex + 7),"0/0");
  3755. //grd_calendar.valueMatrix(rowIndex, colIndex + 7) = "0/0";
  3756. colIndex++;
  3757. if( colIndex == 7 ) {
  3758. colIndex = 0;
  3759. rowIndex++;
  3760. }
  3761. }
  3762. ds_send_data.setColumn(0,"curdate",ds_calendar.getColumn(0,"year")+ds_calendar.getColumn(0,"month")+"01");
  3763. setRsrvPresCondByMonth();
  3764. fCalendar() //공휴일표시
  3765. }
  3766. //--=========================================================================================================
  3767. // 팝메뉴 - 내시경-바코드출력 과 동일 , 채혈바코드출력 때문에 함수이름변경 2011-11-24 라벨출력 by kya
  3768. //--=========================================================================================================
  3769. function fPrintLabel() {
  3770. if ( utlf_isNull(ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"pid")) ) {
  3771. sysf_messageBox("처방목록이 선택되지 ", "E007");
  3772. return;
  3773. }
  3774. ds_rexbarcode.clearData();
  3775. ds_rexbarcode.addRow();
  3776. ds_rexbarcode.setColumn(0,"pid", ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"pid"));
  3777. ds_rexbarcode.setColumn(0,"patnm", ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"hngnm"));
  3778. ds_rexbarcode.setColumn(0,"prcpnm", ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"prcpnm"));
  3779. ds_rexbarcode.setColumn(0,"gbn", "");
  3780. ds_rexbarcode.setColumn(0,"rrgstno1", ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"rrgstno1"));
  3781. ds_rexbarcode.setColumn(0,"rrgstno2", "");
  3782. ds_rexbarcode.setColumn(0,"rsrvdd", "");
  3783. ds_rexbarcode.setColumn(0,"sex", ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"sna"));
  3784. ds_rexbarcode.setColumn(0,"age", "");
  3785. ds_rexbarcode.setColumn(0,"wardcddeptengabbr", ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"prcpgenrflag"));
  3786. ds_rexbarcode.setColumn(0,"excupartcd", "");
  3787. ds_rexbarcode.setColumn(0,"roomcd",ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"roomcd"));
  3788. ds_rexbarcode.setColumn(0,"examroomnm", ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"orddrnm"));
  3789. ds_rexbarcode.setColumn(0,"wardcdnm", ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"orddepthngnm"));
  3790. ds_rexbarcode.setColumn(0,"prcphopedd", ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"prcpdd"));
  3791. rptf_printRexbar("RPAEA01502","","/root/rexsend/rexbarcode",ds_rexbarcode);
  3792. }
  3793. /****************************************************************************************************************************************************
  3794. @ 공휴일계산1
  3795. *****************************************************************************************************************************************************/
  3796. function fCalendar(){
  3797. var oParam = {};
  3798. oParam.id = "TRAEA02012";
  3799. oParam.service = "examcurersrvapp.SytsRsrv";
  3800. oParam.method = "reqGetCalenList";
  3801. oParam.inds = "req=ds_send_data";
  3802. oParam.outds = "ds_calendinfo=calendinfo";
  3803. oParam.async = false;
  3804. oParam.callback = "cf_TRAEA02012";
  3805. tranf_submit(oParam);
  3806. }
  3807. function cf_TRAEA02012(sSvcId, nErrorCode, sErrorMsg) {
  3808. if(nErrorCode < 0) return;
  3809. fCalendar1();
  3810. }
  3811. /****************************************************************************************************************************************************
  3812. @ 공휴일계산2
  3813. *****************************************************************************************************************************************************/
  3814. function fCalendar1(){
  3815. var isMonth = ds_calendar.getColumn(0, "month");
  3816. var isYear = ds_calendar.getColumn(0, "year");
  3817. var isDate = (isYear+isMonth+1).toDate();
  3818. var startDay = isDate.getDay();
  3819. for (var i = 0; i < ds_calendinfo.rowcount; i++) {
  3820. var dd = ds_calendinfo.getColumn(i,"basedd");
  3821. var colidx = dd.toDate().getDay();
  3822. var rowidx = Math.ceil( ( startDay + Number(dd.substr(6,2)) ) / 7 ) - 1;
  3823. this.ds_grid_grd_calendar.setColumn(rowidx,dayArr[colidx%7]+ "_dutflag" , ds_calendinfo.getColumn(i,"dutflag"));
  3824. }
  3825. }
  3826. //=====================================================================================================================================================================================
  3827. // @ 오늘날짜 달력에 표시 (오늘날짜 찾기)
  3828. //=====================================================================================================================================================================================
  3829. function setCurrentDate() {
  3830. var curDate = utlf_getCurrentDate().substr(6,2); //오늘날짜
  3831. var curWeek = utlf_getCurrentDate().toDate().getDayOfWeek("E").toLowerCase(); //오늘요일
  3832. if(curDate <10) {
  3833. curDate= curDate.substr(1,1);
  3834. }
  3835. if(curWeek == "sun")
  3836. ds_hidden_grdcellcolor.setColumn(0,"calcol",0);
  3837. if(curWeek == "mon")
  3838. ds_hidden_grdcellcolor.setColumn(0,"calcol",1);
  3839. if(curWeek == "tue")
  3840. ds_hidden_grdcellcolor.setColumn(0,"calcol",2);
  3841. if(curWeek == "wed")
  3842. ds_hidden_grdcellcolor.setColumn(0,"calcol",3);
  3843. if(curWeek == "thu")
  3844. ds_hidden_grdcellcolor.setColumn(0,"calcol",4);
  3845. if(curWeek == "fri")
  3846. ds_hidden_grdcellcolor.setColumn(0,"calcol",5);
  3847. if(curWeek == "sat")
  3848. ds_hidden_grdcellcolor.setColumn(0,"calcol",6);
  3849. for(var i = 0 ; i <ds_grid_grd_calendar.rowcount; i++ ) {
  3850. if(ds_grid_grd_calendar.getColumn(i,curWeek) == curDate ) {
  3851. ds_hidden_grdcellcolor.setColumn(0,"calrow",i);
  3852. }
  3853. }
  3854. var calRow = Number(ds_hidden_grdcellcolor.getColumn(0,"calrow"));
  3855. var calCol = Number(ds_hidden_grdcellcolor.getColumn(0,"calcol")); ; //현재선택
  3856. if( calCol >= 7 )
  3857. calCol -= 7;
  3858. //this.ds_grid_grd_calendar.setColumn(calRow,dayArr[calCol%7]+ "_reglscheflag" , "#daa7d9");
  3859. ds_grid_grd_calendar.rowposition = calRow;
  3860. grp_body.grd_calendar.setCellPos(calCol);
  3861. //grd_calendar.cellStyle("background-color", calRow, calCol) = "#ffcc66"; //오늘날짜 노란색
  3862. //grd_calendar.cellStyle("background-color", calRow, calCol+7) = "#ffcc66"; //오늘날짜 노란색
  3863. }
  3864. function fSetProperty(currow, week, flag){
  3865. var color = "";
  3866. var tooltip = "";
  3867. var ampmflag = utlf_transNullToEmpty(this.ds_cal_weeklist.getColumn(currow,week+ "_ampmflag"));
  3868. var ordendresn = utlf_transNullToEmpty(this.ds_cal_weeklist.getColumn(currow,week+ "_ordendresn"));
  3869. var ordendresnmin = utlf_transNullToEmpty(this.ds_cal_weeklist.getColumn(currow,week+ "_ordendresnmin"));
  3870. var reglscheflag = utlf_transNullToEmpty(this.ds_cal_weeklist.getColumn(currow,week+ "_reglscheflag"));
  3871. if( ordendresnmin != "H" && ordendresnmin != "T"){
  3872. if( ampmflag == "1" ){ //오전
  3873. if( reglscheflag == "Y" ){ //정규일정
  3874. color = "#ffff99";
  3875. }else if( reglscheflag == "N" ){ //임시일정
  3876. color = "#c9c299";
  3877. tooltip = "임시";
  3878. }else if( reglscheflag == "X" ){ //기타검사
  3879. color = "#cc99ff";
  3880. }else if( reglscheflag == "V" ){ //기타임시
  3881. color = "#3366ff";
  3882. }else if( reglscheflag == "Z" ){ //대진
  3883. color = "#c9c299";
  3884. tooltip = "대진";
  3885. }else if( reglscheflag == "S" ){ //특별일정 - 병동간호 임시일정
  3886. color = "#99cc00";
  3887. tooltip = "특별일정";
  3888. }
  3889. }else if( ampmflag == "10" ){ //오후
  3890. if( reglscheflag == "Y" ){ //정규일정
  3891. color = "#ccffff";
  3892. }else if( reglscheflag == "N" ){ //임시일정
  3893. color = "#ffccff";
  3894. tooltip = "임시";
  3895. }else if( reglscheflag == "X" ){ //검사일정
  3896. color = "#cc99ff";
  3897. }else if( reglscheflag == "V" ){ //기타임시
  3898. color = "#3366ff";
  3899. }else if( reglscheflag == "Z" ){ //대진
  3900. color = "#ffccff";
  3901. tooltip = "대진";
  3902. }else if( reglscheflag == "S" ){ //특별일정 - 병동간호 임시일정
  3903. color = "#99cc00";
  3904. tooltip ="특별일정";
  3905. }
  3906. }else if( ampmflag == "11" || ampmflag == "110" || ampmflag == "101" || ampmflag == "111" || ampmflag == "100"){ //전일, 야간포함
  3907. if( reglscheflag == "Y" ){ //정규일정
  3908. color = "#ffcc99";
  3909. }else if( reglscheflag == "N" ){ //임시일정
  3910. color = "#ffcc99";
  3911. datagrid1.tooltiptext(rowIndex, colIndex) = "임시";
  3912. }else if( reglscheflag == "X" ){ //검사일정
  3913. color = "#cc99ff";
  3914. }else if( reglscheflag == "V" ){ //기타임시
  3915. color = "#3366ff";
  3916. }else if( reglscheflag == "Z" ){ //대진
  3917. color = "#ffcc99";
  3918. tooltip = "대진";
  3919. }else if( reglscheflag == "S" ){ //특별일정 - 병동간호 임시일정
  3920. color = "#99cc00";
  3921. tooltip = "특별일정";
  3922. }
  3923. }
  3924. if( !utlf_isNull(ordendresn) && ordendresn != "-" && ordendresn != " "){
  3925. tooltip =ordendresn;
  3926. }
  3927. }else{
  3928. if( ordendresnmin == "H" ){
  3929. tooltip = ordendresn;
  3930. }else if( ordendresnmin == "T" ){
  3931. color = "#999999"; //부분마감
  3932. tooltip = ordendresn;
  3933. }else{
  3934. tooltip = ordendresn;
  3935. }
  3936. }
  3937. if( flag == 0 )
  3938. return color;
  3939. else if (flag == 1)
  3940. return tooltip;
  3941. }
  3942. function fcolcolor(colidx)
  3943. {
  3944. var colName = "";
  3945. if(colidx == 0)
  3946. {
  3947. colName = "sun_color";
  3948. }
  3949. else if(colidx == 1)
  3950. {
  3951. colName = "mon_color";
  3952. }
  3953. else if(colidx == 2)
  3954. {
  3955. colName = "tue_color";
  3956. }
  3957. else if(colidx == 3)
  3958. {
  3959. colName = "wed_color";
  3960. }
  3961. else if(colidx == 4)
  3962. {
  3963. colName = "thu_color";
  3964. }
  3965. else if(colidx == 5)
  3966. {
  3967. colName = "fri_color";
  3968. }
  3969. else if(colidx == 6)
  3970. {
  3971. colName = "sat_color";
  3972. }
  3973. return colName;
  3974. }
  3975. //=====================================================================================================================================================================================
  3976. // @ 달력에서 선택한 날짜에 대한 예약내역, 가용현황 조회
  3977. //=====================================================================================================================================================================================
  3978. function getRsrvPossTm(gridObj) {
  3979. var dsObj = eval(gridObj.binddataset);
  3980. var yyyy = ds_calendar.getColumn(0, "year");
  3981. var mm = ds_calendar.getColumn(0, "month");
  3982. var dd = utlf_transNullToEmpty(dsObj.getColumn(dsObj.rowposition, dayArr[gridObj.currentcol%7]));
  3983. if (dd.length == 1)
  3984. {
  3985. dd = "0" + dd;
  3986. }
  3987. ds_send_data.setColumn(0, "rsrvdd", "");
  3988. ds_send_data.setColumn(0, "rsrvdd", yyyy + mm + dd);
  3989. ds_send_data.setColumn(0, "rsrvdate",ds_send_data.getColumn(0, "rsrvdd"));
  3990. ds_send_data.setColumn(0, "acptlistflag", "Y");
  3991. dsf_createDsRow("ds_send_tmp",
  3992. [{col:"basesuppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
  3993. ,{col:"acptlistflag", val:"Y"}
  3994. ,{col:"initexcuroom", val:ds_send_data.getColumn(0,"excuroomcd")}
  3995. ,{col:"srchdate1", val:ds_send_data.getColumn(0,"rsrvdate")}
  3996. ,{col:"srchdate2", val:ds_send_data.getColumn(0,"rsrvdate")}
  3997. ,{col:"excuroomflag", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
  3998. ,{col:"rsrvdd", val:ds_send_data.getColumn(0,"rsrvdd")}
  3999. ,{col:"prcpexecdeptcd", val:ds_send_data.getColumn(0,"prcpexecdeptcd")}
  4000. ,{col:"memodt1", val:ds_send_data.getColumn(0,"rsrvdd")}
  4001. ,{col:"memodt2", val:ds_send_data.getColumn(0,"rsrvdd")}
  4002. ,{col:"memoflag", val:""}
  4003. ,{col:"deptcdflag", val:"room"}
  4004. ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
  4005. ,{col:"deptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
  4006. ,{col:"allstatus", val:ds_send_data.getColumn(0,"allstatus")}
  4007. ,{col:"flag", val:"etc"}
  4008. ,{col:"largeclass", val:"R4"}
  4009. ,{col:"sgubn", val:ds_send_data.getColumn(0,"sgubn")}
  4010. ,{col:"multiexcuroom", val:""}
  4011. ,{col:"centyn", val:ds_send_data.getColumn(0,"centyn")}
  4012. ,{col:"centflag", val:ds_send_data.getColumn(0,"centflag")}
  4013. ,{col:"hcflag", val:ds_send_data.getColumn(0,"hcflag")}
  4014. ]);
  4015. var oParam = {};
  4016. oParam.id = "TRAEA01106";
  4017. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  4018. oParam.method = "reqGetExamCureExecPrcpList";
  4019. oParam.inds = "reqparam=ds_send_tmp";
  4020. oParam.outds = "ds_grd_rsrvposstm=rsrvposstm ds_examcuredeptmemolist=examcuredeptmemolist ds_grd_rsrvlist=examcureexecprcplist";
  4021. oParam.async = false;
  4022. oParam.callback = "cf_TRAEA01106";
  4023. tranf_submit(oParam);
  4024. }
  4025. function cf_TRAEA01106(sSvcId, nErrorCode, sErrorMsg) {
  4026. if(nErrorCode < 0) return;
  4027. if(ds_examcuredeptmemolist.rowcount == 0)
  4028. {
  4029. ds_examcuredeptmemolist.addRow();
  4030. }
  4031. ds_grd_rsrvlist.rowposition = -1;
  4032. }
  4033. //=====================================================================================================================================================================================
  4034. // @ TextArea 초기화 Function
  4035. //=====================================================================================================================================================================================
  4036. function dataClear() {
  4037. grp_body.group2.tar_prcpdelivefact.value = "-";
  4038. grp_body.group2.tar_excurem.value = "-";
  4039. ds_patrem_rem.setColumn(0,"memo","-");
  4040. }
  4041. //=====================================================================================================================================================================================
  4042. // @ 그리드 조회를 위한 선택 Function
  4043. //=====================================================================================================================================================================================
  4044. function fGetExamCureAcptList() {
  4045. //alert("******acptlistflag = " + acptlistflag );
  4046. //20130503 기간 체크
  4047. //start
  4048. var sdate1 = ds_send_data.getColumn(0,"srchdate1");
  4049. var sdate2 = ds_send_data.getColumn(0,"srchdate2");
  4050. var sPid = ds_send_data.getColumn(0,"srchpid");
  4051. var DiffDate = utlf_getDateInterval(sdate1, sdate2, "dd" ) + 1;
  4052. if (utlf_isNull(sPid) && ( DiffDate > 7)) {
  4053. sysf_messageBox("적용일자 조회기간(=" + DiffDate + "일간)이 깁니다. 범위를 7일이하로 수정하거나 등록번호를 입력한 후 조회하세요","I");
  4054. return;
  4055. }
  4056. //end
  4057. ds_send_data.setColumn(0,"acptlistflag", acptlistflag);
  4058. switch (acptlistflag) {
  4059. case "M": // 전체처방(수닙+미수납)
  4060. grp_body.group2.switch1.tabindex = 0;
  4061. fSetTempDataset();
  4062. var oParam = {};
  4063. oParam.id = "TRAEA01101";
  4064. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  4065. oParam.method = "reqGetExamCureExecPrcpList";
  4066. oParam.inds = "reqparam=ds_send_temp";
  4067. oParam.outds = "ds_grd_ordlist1=examcureexecprcplist";
  4068. oParam.async = false;
  4069. oParam.callback = "cf_TRAEA01101";
  4070. tranf_submit(oParam);
  4071. break;
  4072. case "UR": //수납처방
  4073. grp_body.group2.switch1.tabindex = 3;
  4074. fSetTempDataset();
  4075. var oParam = {};
  4076. oParam.id = "TRAEA01103";
  4077. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  4078. oParam.method = "reqGetExamCureExecPrcpList";
  4079. oParam.inds = "reqparam=ds_send_temp";
  4080. oParam.outds = "ds_grd_ordlist3=examcureexecprcplist";
  4081. oParam.async = false;
  4082. oParam.callback = "cf_TRAEA01101";
  4083. tranf_submit(oParam);
  4084. break;
  4085. case "T": //검사완료
  4086. grp_body.group2.switch1.tabindex = 1;
  4087. fSetTempDataset();
  4088. var oParam = {};
  4089. oParam.id = "TRAEA01104";
  4090. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  4091. oParam.method = "reqGetExamCureExecPrcpList";
  4092. oParam.inds = "reqparam=ds_send_temp";
  4093. oParam.outds = "ds_grd_ordlist4=examcureexecprcplist";
  4094. oParam.async = false;
  4095. oParam.callback = "cf_TRAEA01101";
  4096. tranf_submit(oParam);
  4097. break;
  4098. case "Y": //예약
  4099. dsf_createDsRow("ds_TRAEA01106_temp", [
  4100. {col:"acptlistflag" , type:"STRING", size:256, val:ds_send_data.getColumn(0,"acptlistflag")}
  4101. , {col:"basesuppdeptcd", type:"STRING", size:256, val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
  4102. , {col:"initexcuroom" , type:"STRING", size:256, val:ds_send_data.getColumn(0,"excuroomcd")}
  4103. , {col:"srchdate1" , type:"STRING", size:256, val:ds_send_data.getColumn(0,"rsrvdate")}
  4104. , {col:"srchdate2" , type:"STRING", size:256, val:ds_send_data.getColumn(0,"rsrvdate")}
  4105. , {col:"excuroomflag" , type:"STRING", size:256, val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
  4106. , {col:"rsrvdd" , type:"STRING", size:256, val:ds_send_data.getColumn(0,"rsrvdd")}
  4107. , {col:"prcpexecdeptcd", type:"STRING", size:256, val:ds_send_data.getColumn(0,"prcpexecdeptcd")}
  4108. , {col:"memodt1" , type:"STRING", size:256, val:ds_send_data.getColumn(0,"rsrvdd")}
  4109. , {col:"memodt2" , type:"STRING", size:256, val:ds_send_data.getColumn(0,"rsrvdd")}
  4110. , {col:"memoflag" , type:"STRING", size:256, val:ds_send_data.getColumn(0,"memoflag")}
  4111. , {col:"excuroomcd" , type:"STRING", size:256, val:ds_send_data.getColumn(0,"excuroomcd")}
  4112. , {col:"deptcd" , type:"STRING", size:256, val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
  4113. , {col:"allstatus" , type:"STRING", size:256, val:ds_send_data.getColumn(0,"allstatus")}
  4114. , {col:"sgubn" , type:"STRING", size:256, val:ds_send_data.getColumn(0,"sgubn")}
  4115. , {col:"multiexcuroom" , type:"STRING", size:256, val:ds_send_data.getColumn(0,"multiexcuroom")}
  4116. , {col:"centyn" , type:"STRING", size:256, val:ds_send_data.getColumn(0,"centyn")}
  4117. , {col:"centflag" , type:"STRING", size:256, val:ds_send_data.getColumn(0,"centflag")}
  4118. , {col:"hcflag" , type:"STRING", size:256, val:ds_send_data.getColumn(0,"hcflag")}
  4119. , {col:"deptcdflag" , type:"STRING", size:256, val:"room"}
  4120. , {col:"flag" , type:"STRING", size:256, val:"etc"}
  4121. , {col:"largeclass" , type:"STRING", size:256, val:"R4"}
  4122. ]);
  4123. var oParam = {};
  4124. oParam.id = "TRAEA01106";
  4125. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  4126. oParam.method = "reqGetExamCureExecPrcpList";
  4127. oParam.inds = "reqparam=ds_TRAEA01106_temp";
  4128. oParam.outds = "ds_grd_rsrvposstm=rsrvposstm ds_examcuredeptmemolist=examcuredeptmemolist ds_grd_rsrvlist=examcureexecprcplist";
  4129. oParam.async = false;
  4130. oParam.callback = "cf_TRAEA01106";
  4131. tranf_submit(oParam);
  4132. break;
  4133. case "R": //미예약
  4134. grp_body.group2.switch1.tabindex = 2;
  4135. fSetTempDataset();
  4136. var oParam = {};
  4137. oParam.id = "TRAEA01109";
  4138. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  4139. oParam.method = "reqGetExamCureExecPrcpList";
  4140. oParam.inds = "reqparam=ds_send_temp";
  4141. oParam.outds = "ds_grd_ordlist6=examcureexecprcplist";
  4142. oParam.async = false;
  4143. oParam.callback = "cf_TRAEA01101";
  4144. tranf_submit(oParam);
  4145. break;
  4146. case "L": // 환자 이력 조회
  4147. grp_body.group2.switch1.tabindex = 0;
  4148. ds_send_data.setColumn(0,"term","703");
  4149. fSetTempDataset();
  4150. var oParam = {};
  4151. oParam.id = "TRAEA01101";
  4152. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  4153. oParam.method = "reqGetExamCureExecPrcpList";
  4154. oParam.inds = "reqparam=ds_send_temp";
  4155. oParam.outds = "ds_grd_ordlist1=examcureexecprcplist";
  4156. oParam.async = false;
  4157. oParam.callback = "cf_TRAEA01101";
  4158. tranf_submit(oParam);
  4159. break;
  4160. default:
  4161. break;
  4162. }
  4163. }
  4164. function cf_TRAEA01101(sSvcId, nErrorCode, sErrorMsg) {
  4165. if(nErrorCode < 0) return;
  4166. fSetAutho(); //20170427 신경과직원 권한제한
  4167. switch(sSvcId) {
  4168. case "TRAEA01101":
  4169. ds_grd_ordlist1.addColumn("backcolor","string");
  4170. ds_grd_ordlist1.addColumn("check","string");
  4171. ds_grd_ordlist1.addColumn("rsrvdt","string");
  4172. for(var i = 0 ; i < ds_grd_ordlist1.rowcount ; i++ ){
  4173. ds_grd_ordlist1.setColumn(i,"backcolor", "#ffffff");
  4174. }
  4175. grdf_initGridStyle(grp_body.group2.switch1.case1.grd_ordlist1);
  4176. lf_aezfSetRowStyle(grp_body.group2.switch1.case1.grd_ordlist1 , "15^16^17" , "V^P^A" , "aftrcptinfo" );
  4177. ds_grd_ordlist1.rowposition = -1;
  4178. break;
  4179. case "TRAEA01104":
  4180. ds_grd_ordlist4.addColumn("backcolor","string");
  4181. ds_grd_ordlist4.addColumn("check","string");
  4182. ds_grd_ordlist4.addColumn("rsrvdt","string");
  4183. for(var i = 0 ; i < ds_grd_ordlist4.rowcount ; i++ ){
  4184. ds_grd_ordlist4.setColumn(i,"backcolor", "#ffffff");
  4185. }
  4186. lf_aezfSetRowStyle(grp_body.group2.switch1.case4.grd_ordlist4 , "15^16^17" , "V^P^A" , "aftrcptinfo" );
  4187. ds_grd_ordlist4.rowposition = -1;
  4188. break;
  4189. case "TRAEA01103":
  4190. ds_grd_ordlist3.addColumn("check","string");
  4191. ds_grd_ordlist3.addColumn("backcolor","string");
  4192. ds_grd_ordlist3.addColumn("rsrvdt","string");
  4193. for(var i = 0 ; i < ds_grd_ordlist3.rowcount ; i++ ){
  4194. ds_grd_ordlist3.setColumn(i,"backcolor", "#ffffff");
  4195. }
  4196. lf_aezfSetRowStyle(grp_body.group2.switch1.case3.grd_ordlist3 , "15^16^17" , "V^P^A" , "aftrcptinfo" );
  4197. ds_grd_ordlist3.rowposition = -1;
  4198. break;
  4199. case "TRAEA01109":
  4200. ds_grd_ordlist6.addColumn("check","string");
  4201. ds_grd_ordlist6.addColumn("backcolor","string");
  4202. ds_grd_ordlist6.addColumn("rsrvdt","string");
  4203. for(var i = 0 ; i < ds_grd_ordlist6.rowcount ; i++ ){
  4204. ds_grd_ordlist6.setColumn(i,"backcolor", "#ffffff");
  4205. }
  4206. lf_aezfSetRowStyle(grp_body.group2.switch1.case6.grd_ordlist6 , "15^16^17" , "V^P^A" , "aftrcptinfo" );
  4207. ds_grd_ordlist6.rowposition = -1;
  4208. break;
  4209. default:
  4210. break;
  4211. }
  4212. }
  4213. function fn_TRAEB00011(){
  4214. ds_send_globalinstance.updateColID("instance1","suppdeptcd");
  4215. var oParam = {};
  4216. oParam.id = "TRAEB00011";
  4217. oParam.service = "examcurebaseapp.ComCode";
  4218. oParam.method = "reqGetComCodeGroupList";
  4219. oParam.inds = "req=ds_send_globalinstance";
  4220. oParam.outds = "ds_init_cmb_grup=item";
  4221. oParam.async = false;
  4222. oParam.callback = "cf_TRAEB00011";
  4223. tranf_submit(oParam);
  4224. }
  4225. function cf_TRAEB00011(sSvcId, nErrorCode, sErrorMsg) {
  4226. ds_send_globalinstance.updateColID("suppdeptcd","instance1");
  4227. if(nErrorCode < 0) return;
  4228. }
  4229. //=====================================================================================================================================================================================
  4230. // @ 접수/실시처리를 위한 Function
  4231. //=====================================================================================================================================================================================
  4232. function ExeAccept (tabgubn,grid) { //1
  4233. var loop;
  4234. var check;
  4235. var loopcnt="";
  4236. var execncl="";
  4237. var grd_rows = "";
  4238. if(grid == "ds_grd_ordlist1") {
  4239. grd_rows = ds_grd_ordlist1.rowcount;
  4240. }
  4241. if(grid == "ds_grd_ordlist3") {
  4242. grd_rows = ds_grd_ordlist3.rowcount;
  4243. }
  4244. if(grid == "ds_grd_ordlist4") {
  4245. grd_rows = ds_grd_ordlist4.rowcount;
  4246. }
  4247. if(grid == "ds_grd_ordlist6") {
  4248. grd_rows = ds_grd_ordlist6.rowcount;
  4249. }
  4250. if(grid == "ds_grd_rsrvlist") {
  4251. grd_rows = ds_grd_rsrvlist.rowcount;
  4252. }
  4253. var ds_grid = this.objects[grid];
  4254. //본격적으로 CSV에 세팅
  4255. for( var i = 0 ; i < grd_rows ; i++ ) {
  4256. check = ds_grid.getColumn(i,"check");
  4257. if ( check == "true" ) {
  4258. ds_grid.setColumn(i,"execrem", grp_body.group2.tar_excurem.value);
  4259. //실시자 세팅
  4260. if( ds_grid.getColumn(i,"execrid1") == "-" ) {
  4261. ds_grid.setColumn(i,"execrid1", sysf_getUserId() );
  4262. }
  4263. }
  4264. }
  4265. if(grid == "ds_grd_rsrvlist") {
  4266. ds_grd_rsrvlist.filter("check=='1'");
  4267. ds_send_tobeacptprcplist.copyData(ds_grd_rsrvlist,true);
  4268. ds_grd_rsrvlist.filter("");
  4269. }
  4270. else {
  4271. ds_grid.filter("check=='1'");
  4272. ds_send_tobeacptprcplist.copyData(ds_grid,true);
  4273. ds_grid.filter("");
  4274. }
  4275. //건진 기능검사
  4276. if(ds_send_data.getColumn(0,"sgubn") == "S") {
  4277. ds_send_tobeacptprcplist.addColumn("sgubn","string");
  4278. ds_send_tobeacptprcplist.setColumn(0,"sgubn","S");
  4279. }
  4280. 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:-");
  4281. // 처방 -> 검사접수/실시완료
  4282. // if( tabgubn == "M" || tabgubn == "R" ||tabgubn == "Y" || tabgubn == "Y" ) {
  4283. if ( sysf_messageBox("실시를 ","Q002")==6 ) { //M 전체처방 , R 수납처장, Y 에약내역
  4284. var oParam = {};
  4285. oParam.id = "TXAEA01103";
  4286. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  4287. oParam.method = "reqExeAcptExamCureExecPrcpList";
  4288. oParam.inds = "reqparam=ds_send_tobeacptprcplist";
  4289. oParam.outds = "ds_hidden_item=item";
  4290. oParam.async = false;
  4291. oParam.callback = "cf_TXAEA01103";
  4292. tranf_submit(oParam);
  4293. }
  4294. //20130926 kya 2013/10/01부터 적용, 중증/희귀난치성환자 초음파급비변경대상자 알림
  4295. fget1001USPayFlagChk();
  4296. // ds_send_tobeacptprcplist.clearData();
  4297. // }
  4298. //data 클리어
  4299. dataClear();
  4300. }
  4301. function cf_TXAEA01103(sSvcId, nErrorCode, sErrorMsg) {
  4302. if(nErrorCode < 0) return;
  4303. }
  4304. //=====================================================================================================================================================================================
  4305. // @ 접수/실시 취소 처리를 위한 Function
  4306. //=====================================================================================================================================================================================
  4307. function ExeCncl (grid) {
  4308. var loop;
  4309. var check;
  4310. var execprcpstatcd;
  4311. var loopcnt="";
  4312. var execncl="";
  4313. var list = "";
  4314. var grd;
  4315. if(grid == "ds_grd_ordlist1") {
  4316. grd = ds_grd_ordlist1.rowcount;
  4317. }
  4318. if(grid == "ds_grd_ordlist3") {
  4319. grd = ds_grd_ordlist3.rowcount;
  4320. }
  4321. if(grid == "ds_grd_ordlist4") {
  4322. grd = ds_grd_ordlist4.rowcount;
  4323. }
  4324. if(grid == "ds_grd_ordlist6") {
  4325. grd = ds_grd_ordlist6.rowcount;
  4326. }
  4327. var ds_grid = this.objects[grid];
  4328. //취소코드조회
  4329. ds_send_popup.setColumn(0,"basecdflag","C");
  4330. var objArg = new Object();
  4331. objArg.arg_ds_receivedata = ds_send_popup;
  4332. frmf_modal("SPAEA01500","SPAEA01500", objArg, "", 0,100,150, "", "", "", "", "", "M");
  4333. // tran3 ,tran4 로 나누기
  4334. dsf_copyColInfo(ds_grd_temp1,ds_grid);
  4335. dsf_copyColInfo(ds_grd_temp2,ds_grid);
  4336. for( var i = 0 ; i < grd ; i++ ) {
  4337. check = ds_grid.getColumn(i,"check");
  4338. execprcpstatcd = ds_grid.getColumn(i,"execprcpstatcd");
  4339. if ( check == "true" || check == "1" ) {
  4340. if (execprcpstatcd == "440" ){ //transaction 3
  4341. var nRow = ds_grd_temp1.addRow();
  4342. ds_grd_temp1.copyRow(nRow,ds_grid,i);
  4343. ds_grd_temp1.setColumn(nRow,"basecd",ds_hidden_cnclcdlist.getColumn(0,"cnclcd"));
  4344. ds_grd_temp1.setColumn(nRow,"cnclresncdnm",ds_hidden_cnclcdlist.getColumn(0,"cnclcdnm"));
  4345. }
  4346. if (execprcpstatcd == "610") { //transaction 4
  4347. var nRow = ds_grd_temp2.addRow();
  4348. ds_grd_temp2.copyRow(nRow,ds_grid,i);
  4349. ds_grd_temp2.setColumn(nRow,"basecd",ds_hidden_cnclcdlist.getColumn(0,"cnclcd"));
  4350. ds_grd_temp2.setColumn(nRow,"cnclresncdnm",ds_hidden_cnclcdlist.getColumn(0,"cnclcdnm"));
  4351. }
  4352. }
  4353. }
  4354. // 접수 -> 처방
  4355. if(!utlf_isNull(ds_grd_temp1.getColumn(ds_grd_temp1.rowcount -1,"execprcpstatcd"))
  4356. && utlf_isNull(ds_grd_temp2.getColumn(ds_grd_temp2.rowcount -1,"execprcpstatcd"))) {// transaction 3
  4357. dsf_createDs("ds_send_tobeacptcnclprcplist1");
  4358. dsf_copyDs(ds_send_tobeacptcnclprcplist1,ds_grd_temp1);
  4359. ds_send_tobeacptcnclprcplist1.updateColID("basecd","cnclresncd");
  4360. 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:-");
  4361. if ( sysf_messageBox("접수취소를 ","Q002")==6 ) {
  4362. var oParam = {};
  4363. oParam.id = "TXAEA01105";
  4364. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  4365. oParam.method = "reqExeAcptExamCureExecPrcpList";
  4366. oParam.inds = "reqparam=ds_send_tobeacptcnclprcplist1";
  4367. oParam.outds = "ds_hidden_item=item";
  4368. oParam.async = false;
  4369. tranf_submit(oParam); // transaction 3
  4370. }
  4371. }
  4372. // 실시 -> 처방
  4373. else if(utlf_isNull(ds_grd_temp1.getColumn(ds_grd_temp1.rowcount -1,"execprcpstatcd"))
  4374. && !utlf_isNull(ds_grd_temp2.getColumn(ds_grd_temp2.rowcount -1,"execprcpstatcd"))) { // transaction 4
  4375. dsf_createDs("ds_send_tobeacptcnclprcplist2");
  4376. dsf_copyDs(ds_send_tobeacptcnclprcplist2,ds_grd_temp2);
  4377. ds_send_tobeacptcnclprcplist2.updateColID("basecd","cnclresncd");
  4378. 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:-");
  4379. if ( sysf_messageBox("실시취소를 ","Q002")==6 ) {
  4380. //취소사유코드 체크
  4381. if( utlf_isNull(ds_hidden_cnclcdlist.getColumn(0,"cnclcd")) ){
  4382. sysf_messageBox("취소사유코드를","C001");
  4383. }else{
  4384. var oParam = {};
  4385. oParam.id = "TXAEA01104";
  4386. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  4387. oParam.method = "reqExeAcptExamCureExecPrcpList";
  4388. oParam.inds = "reqparam=ds_send_tobeacptcnclprcplist2";
  4389. oParam.outds = "ds_hidden_item=item";
  4390. oParam.async = false;
  4391. tranf_submit(oParam); // transaction 4
  4392. }
  4393. }
  4394. }
  4395. // 실시 , 접수 -> 처방
  4396. else if(!utlf_isNull(ds_grd_temp1.getColumn(ds_grd_temp1.rowcount -1,"execprcpstatcd"))
  4397. && !utlf_isNull(ds_grd_temp2.getColumn(ds_grd_temp2.rowcount -1,"execprcpstatcd"))) { // transaction 4
  4398. //var nodeList = dutplcecd.selectNodes("/root/hidden/list/templist2/subordlist2");
  4399. dsf_createDs("ds_send_tobeacptcnclprcplist1");
  4400. dsf_copyDs(ds_send_tobeacptcnclprcplist1,ds_grd_temp1);
  4401. ds_send_tobeacptcnclprcplist1.updateColID("basecd","cnclresncd");
  4402. 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:-");
  4403. dsf_createDs("ds_send_tobeacptcnclprcplist2");
  4404. dsf_copyDs(ds_send_tobeacptcnclprcplist2,ds_grd_temp2);
  4405. 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:-");
  4406. if ( sysf_messageBox("실시/접수 취소를 ","Q002")==6 ) {
  4407. var oParam = {};
  4408. oParam.id = "TXAEA01501";
  4409. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  4410. oParam.method = "reqExeAcptExamCureExecPrcpList";
  4411. oParam.inds = "reqparam=ds_send_tobeacptcnclprcplist1";
  4412. oParam.outds = "ds_hidden_item=item";
  4413. oParam.async = false;
  4414. tranf_submit(oParam); // transaction 3
  4415. var oParam = {};
  4416. oParam.id = "TXAEA01502";
  4417. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  4418. oParam.method = "reqExeAcptExamCureExecPrcpList";
  4419. oParam.inds = "reqparam=ds_send_tobeacptcnclprcplist2";
  4420. oParam.outds = "ds_hidden_item=item";
  4421. oParam.async = false;
  4422. tranf_submit(oParam);; // transaction 4
  4423. }
  4424. }
  4425. dsf_deleteDs("ds_send_tobeacptcnclprcplist1");
  4426. dsf_deleteDs("ds_send_tobeacptcnclprcplist2");
  4427. ds_grd_temp1.clearData();
  4428. ds_grd_temp2.clearData();
  4429. ds_hidden_cnclcdlist.setColumn(0,"cnclcd", ""); //취소사유코드 비우기
  4430. //data 클리어
  4431. dataClear();
  4432. }
  4433. //=====================================================================================================================================================================================
  4434. // @ 임시예약 취소를 위한 Function
  4435. //=====================================================================================================================================================================================
  4436. function fTempRsrvCncl(grid) {
  4437. ds_didden_pseursrvinfo.setColumn(0,"seq", ds_grd_rsrvlist.getcolumn(ds_grd_rsrvlist.rowcount,"execprcpuniqno"));
  4438. ds_didden_pseursrvinfo.setColumn(0,"suppdeptcd", ds_send_globalinstance.getColumn(0,"dutplcecd"));
  4439. ds_didden_pseursrvinfo.setColumn(0,"instcd",ds_grd_rsrvlist.getcolumn(ds_grd_rsrvlist.rowcount,"instcd"));
  4440. ds_didden_pseursrvinfo.setColumn(0,"rsrvdd",ds_send_data.getColumn(0,"rsrvdd"));
  4441. var objArg = new Object();
  4442. objArg.arg_ds_init_pseursrvinfo = ds_didden_pseursrvinfo;
  4443. frmf_modal("SPAEA03200", "SPAEA03200",objArg, "","","" ,"", "", "", "", "", "", "", "M");
  4444. }
  4445. //=====================================================================================================================================================================================
  4446. // @ 예약, 취소 버튼의 click 이벤트 처리
  4447. //=====================================================================================================================================================================================
  4448. function exeRsrvTransaction(str, ds_ordlist) {
  4449. //alert(ordlist);
  4450. //예약 또는 수정 일때
  4451. dsf_createDs("ds_temp_search");
  4452. if(str == "rsrv" ||str == "upd" ) {
  4453. //var nodeList = dutplcecd.selectNodes("/root/main/"+ordlist+"/mainordlist[check='true' ]");
  4454. //var rCSV = getNodeListCSV(nodeList);
  4455. ds_ordlist.filter("check=='1'");
  4456. ds_temp_search.copyData(ds_ordlist,true);
  4457. ds_ordlist.filter("");
  4458. //과검사일때 진료예약일자 세팅
  4459. if(ds_send_req.getColumn(0,"pamifyn") == "Y"){
  4460. var rsrvdt = dsf_getColumnNullToEmpty(ds_grd_ordlist1, ds_grd_ordlist1.rowposition, "srchrsrvdt");
  4461. ds_send_req.setColumn(0,"ordtm", rsrvdt.substr(8,4) );
  4462. }
  4463. }
  4464. //예약취소일때
  4465. if(str == "cncl") {
  4466. //취소코드조회
  4467. var objArg = new Object();
  4468. objArg.arg_ds_receivedata = ds_send_popup;
  4469. frmf_modal("SPAEA01500","SPAEA01500", objArg, "", 0,100,150, "", "", "", "", "", "M");
  4470. var selectRows = grdf_getSelectedRows(grp_body.group2.switch1.case1.grd_ordlist1);
  4471. for ( var i =0 ; i< selectRows.length;i++){
  4472. ds_grd_ordlist1.setColumn(selectRows[i],"basecd", ds_hidden_cnclcdlist.getColumn(0,"cnclcd"));
  4473. }
  4474. ds_ordlist.filter("check=='1'");
  4475. ds_temp_search.copyData(ds_ordlist,true);
  4476. ds_ordlist.filter("");
  4477. }
  4478. ds_temp_search.addColumn("flag","string");
  4479. ds_temp_search.addColumn("pamifyn","string");
  4480. ds_temp_search.addColumn("nottotal","string");
  4481. ds_temp_search.addColumn("rsrvrem","string");
  4482. ds_temp_search.addColumn("norsrvrem","string");
  4483. ds_temp_search.addColumn("rsrvflag","string");
  4484. ds_temp_search.addColumn("srchrsrvtm","string");
  4485. ds_temp_search.addColumn("indd","string");
  4486. //ds_temp_search.addColumn("actorddd","string");
  4487. ds_temp_search.addColumn("execrid","string");
  4488. ds_temp_search.addColumn("cnclresncd","string");
  4489. ds_temp_search.addColumn("suppdeptcd","string");
  4490. ds_temp_search.addColumn("excupartcd","string");
  4491. for (var i = 0; i< ds_temp_search.rowcount; i++)
  4492. {
  4493. ds_temp_search.setColumn(i,"flag",str);
  4494. ds_temp_search.setColumn(i,"pamifyn",dsf_getColumnNullToEmpty(ds_send_req,0,"pamifyn") );
  4495. ds_temp_search.setColumn(i,"nottotal","nottotal" );
  4496. ds_temp_search.setColumn(i,"rsrvrem","-");
  4497. ds_temp_search.setColumn(i,"norsrvrem","M4");
  4498. ds_temp_search.setColumn(i,"rsrvflag",dsf_getColumnNullToEmpty(ds_temp_search,0,"prcpgenrflag") );
  4499. ds_temp_search.setColumn(i,"srchrsrvtm",dsf_getColumnNullToEmpty(ds_temp_search,0,"srchrsrvdt") );
  4500. ds_temp_search.setColumn(i,"indd",dsf_getColumnNullToEmpty(ds_temp_search,0,"orddd") );
  4501. //ds_temp_search.setColumn(i,"actorddd",ds_temp_search.getColumn(0,"prcpdd") );
  4502. ds_temp_search.setColumn(i,"execrid",dsf_getColumnNullToEmpty(ds_temp_search,0,"execrid1") );
  4503. ds_temp_search.setColumn(i,"cnclresncd",dsf_getColumnNullToEmpty(ds_temp_search,0,"basecd") );
  4504. ds_temp_search.setColumn(i,"suppdeptcd",dsf_getColumnNullToEmpty(ds_temp_search,0,"basesuppdeptcd") );
  4505. ds_temp_search.setColumn(i,"excupartcd","");
  4506. }
  4507. dsf_setDefaultVal(ds_temp_search, "bf_srchrsrvtm:000000000000");
  4508. dsf_setTypeFormat(ds_temp_search, "execprcpuniqno:INT^cretno:INT^actcretno:INT");
  4509. dsf_setFixVal(ds_temp_search, "norsrvrem:M4,rsrvrem:-,nottotal:nottotal");
  4510. dsf_setDefaultVal(ds_temp_search, "all"); //예약저장시 null undefined 값 모두 empty로 넘기기 위함
  4511. var oParam = {};
  4512. oParam.id = "TXAEA01101";
  4513. oParam.service = "examcurersrvapp.SytsRsrv";
  4514. oParam.method = "reqExcuRsrv";
  4515. oParam.inds = "req=ds_temp_search";
  4516. oParam.outds = "ds_hidden_item=item";
  4517. oParam.transaction = false;
  4518. oParam.async = false;
  4519. //oParam.callback = "cf_TXAEA01101";
  4520. tranf_submit(oParam);
  4521. }
  4522. //=====================================================================================================================================================================================
  4523. // @ 예약시간대 click 이벤트 처리
  4524. //=====================================================================================================================================================================================
  4525. function setRsrvdate(grid,btn) {
  4526. var loop;
  4527. var check;
  4528. var execprcpstatcd;
  4529. var execbaseflag;
  4530. var grd;
  4531. var loopcnt="";
  4532. var execncl="";
  4533. var list = "";
  4534. var ds_grid;
  4535. //alert(grid);
  4536. if(grid == "grd_ordlist1") {
  4537. ds_grid = ds_grd_ordlist1;
  4538. grd = ds_grd_ordlist1.rowcount;
  4539. }
  4540. else if(grid == "grd_ordlist4") {
  4541. ds_grid = ds_grd_ordlist4;
  4542. grd = ds_grd_ordlist4.rowcount;
  4543. }
  4544. else if(grid == "grd_ordlist6") {
  4545. ds_grid = ds_grd_ordlist6;
  4546. grd = ds_grd_ordlist6.rowcount;
  4547. }
  4548. else if(grid == "grd_ordlist3") {
  4549. ds_grid = ds_grd_ordlist3;
  4550. grd = ds_grd_ordlist3.rowcount;
  4551. }
  4552. //var nodeList = dutplcecd.selectNodes("/root/main/"+list+"/mainordlist[check='true']");
  4553. //var rCSV = getNodeListCSV(nodeList);
  4554. if (ds_grid.getCaseCount("check=='1'") == 0 ) {
  4555. sysf_messageBox("처방내역을 ","C002");
  4556. return "0";
  4557. }
  4558. else {
  4559. if(btn == "cmb" ) {
  4560. for( var i = 0 ; i < grd ; i++ )
  4561. {
  4562. if(ds_grid.getColumn(i,"check") == "1")
  4563. {
  4564. ds_grid.setColumn(i,"srchrsrvdt",ds_send_data.getColumn(0,"rsrvdd")+grp_body.cmb_hour.value+grp_body.cmb_min.value); //실 예약시간
  4565. ds_grid.setColumn(i,"rsrvdt", ds_send_data.getColumn(0,"rsrvdd") + grp_body.cmb_hour.value+grp_body.cmb_min.value);
  4566. }
  4567. }
  4568. }else if (btn == "grd" ) {
  4569. for( var i = 0 ; i < grd ; i++ )
  4570. {
  4571. if(ds_grid.getColumn(i,"check") == "1")
  4572. {
  4573. ds_grid.setColumn(i,"rsrvdt",ds_send_data.getColumn(0,"rsrvdd")+ ds_grd_rsrvposstm.getColumn(ds_grd_rsrvposstm.rowposition,"rsrvtm")); // 예약시간대
  4574. ds_grid.setColumn(i,"srchrsrvdt",ds_send_data.getColumn(0,"rsrvdd")+ds_grd_rsrvposstm.getColumn(ds_grd_rsrvposstm.rowposition,"rsrvtm")); //실 예약시간
  4575. }
  4576. }
  4577. }
  4578. }
  4579. }
  4580. /*******************************************************************************************************************************************************************/
  4581. // 선택진료의 변경 2011.01.05 c y w
  4582. /*******************************************************************************************************************************************************************/
  4583. function fSpecdrChange() {
  4584. // 선택진료이 "Y" 일 경우에만 변경가능.
  4585. var idx = "";
  4586. var ds_ordlist ;
  4587. var tabgubn = "";
  4588. if ( grp_body.group2.switch1.tabindex == 0 ) { // 전체처방
  4589. ds_ordlist = ds_grd_ordlist1;
  4590. idx = ds_grd_ordlist1.rowposition;
  4591. tabgubn = "M";
  4592. }
  4593. if (grp_body.group2.switch1.tabindex == 3 ) { // 대상자조회
  4594. ds_ordlist = ds_grd_ordlist3;
  4595. idx = ds_grd_ordlist3.rowposition;
  4596. tabgubn = "R";
  4597. }
  4598. if (grp_body.group2.switch1.tabindex == 2 ) { // 미예약
  4599. ds_ordlist = ds_grd_ordlist6;
  4600. idx = ds_grd_ordlist6.rowposition;
  4601. tabgubn = "R";
  4602. }
  4603. //var nodeList = dutplcecd.selectNodes("/root/main/"+ ordlist +"/mainordlist[check='true']");
  4604. //var rCSV = getNodeListCSV(nodeList);
  4605. if (ds_ordlist.getCaseCount("check=='1'") == 0 ) {
  4606. sysf_messageBox("처방내역을","C002");
  4607. }else {
  4608. if(ds_ordlist.getColumn(idx,"choiordflag") == "Y" ) {
  4609. if( ds_ordlist.getColumn(idx,"execprcpstatcd") <= 440 ) {
  4610. var ipdopd = "";
  4611. if( !utlf_isNull(ds_ordlist.getColumn(idx,"roomcd")) ){ //입원
  4612. ipdopd = "I";
  4613. }else{
  4614. ipdopd = "O";
  4615. }
  4616. dsf_createDsRow("ds_send_setspecdrcd",
  4617. [{col:"prcpdd", val:ds_ordlist.getColumn(idx,"prcpdd")}
  4618. ,{col:"pid", val:ds_ordlist.getColumn(idx,"pid")}
  4619. ,{col:"execprcpuniqno", val:ds_ordlist.getColumn(idx,"execprcpuniqno")}
  4620. ,{col:"specdrid", val:ds_ordlist.getColumn(idx,"specdrid")}
  4621. ,{col:"basesuppdeptcd", val:ds_ordlist.getColumn(idx,"basesuppdeptcd")}
  4622. ,{col:"prcpno", val:ds_ordlist.getColumn(idx,"prcpno")}
  4623. ,{col:"prcphistno", val:ds_ordlist.getColumn(idx,"prcphistno")}
  4624. ,{col:"cretno", val:ds_ordlist.getColumn(idx,"cretno")}
  4625. ,{col:"orddd", val:ds_ordlist.getColumn(idx,"orddd")}
  4626. ,{col:"orddeptcd", val:ds_ordlist.getColumn(idx,"orddeptcd")}
  4627. ,{col:"orddrid", val:ds_ordlist.getColumn(idx,"orddrid")}
  4628. ,{col:"calcscorcd", val:ds_ordlist.getColumn(idx,"calcscorcd")}
  4629. ,{col:"ioflag", val:ipdopd}
  4630. ]);
  4631. var oParam = {};
  4632. oParam.id = "TXAEA01512";
  4633. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  4634. oParam.method = "reqSetExchangeExcuSpecdrCd";
  4635. oParam.inds = "reqparam=ds_send_setspecdrcd";
  4636. oParam.outds = "ds_hidden_item=item";
  4637. oParam.async = false;
  4638. oParam.callback = "cf_TXAEA01512";
  4639. tranf_submit(oParam);
  4640. acptlistflag = tabgubn;
  4641. fGetExamCureAcptList();
  4642. }else{
  4643. sysf_messageBox("선택진료의 변경은 미예약, 예약의 경우에만", "I006");
  4644. return;
  4645. }
  4646. } else {
  4647. sysf_messageBox("선택진료일 경우에만 변경이", "I006");
  4648. return;
  4649. }
  4650. }
  4651. }
  4652. function cf_TXAEA01512(sSvcId, nErrorCode, sErrorMsg) {
  4653. if(nErrorCode < 0) return;
  4654. }
  4655. /*******************************************************************************************************************************************************************/
  4656. // 지정검사의 변경 2018.01.18 kya
  4657. /*******************************************************************************************************************************************************************/
  4658. function fSelectdrChange() {
  4659. var idx = "";
  4660. var ds_ordlist = "";
  4661. var tabgubn = "";
  4662. if ( grp_body.group2.switch1.tabindex == 0 ) { // 전체처방
  4663. ds_ordlist = ds_grd_ordlist1;
  4664. idx = ds_grd_ordlist1.rowposition;
  4665. tabgubn = "M";
  4666. }
  4667. if (grp_body.group2.switch1.tabindex == 3 ) { // 대상자조회
  4668. ds_ordlist = ds_grd_ordlist3;
  4669. idx = ds_grd_ordlist3.rowposition;
  4670. tabgubn = "R";
  4671. }
  4672. if (grp_body.group2.switch1.tabindex == 2 ) { // 미예약
  4673. ds_ordlist = ds_grd_ordlist6;
  4674. idx = ds_grd_ordlist6.rowposition;
  4675. tabgubn = "R";
  4676. }
  4677. //var nodeList = dutplcecd.selectNodes("/root/main/"+ ordlist +"/mainordlist[check='true']");
  4678. //var rCSV = getNodeListCSV(nodeList);
  4679. if (ds_ordlist.getCaseCount("check=='1'") == 0 ) {
  4680. sysf_messageBox("처방내역을","C002");
  4681. }else {
  4682. //if(ds_ordlist.getColumn(idx,"choiordflag") == "Y" ) {
  4683. if( ds_ordlist.getColumn(idx,"execprcpstatcd") <= 440 ) {
  4684. var ipdopd = "";
  4685. if( !utlf_isNull(ds_ordlist.getColumn(idx,"roomcd")) ){ //입원
  4686. ipdopd = "I";
  4687. }else{
  4688. ipdopd = "O";
  4689. }
  4690. dsf_createDsRow("ds_send_setselectdrcd",
  4691. [{col:"prcpdd", val:ds_ordlist.getColumn(idx,"prcpdd")}
  4692. ,{col:"pid", val:ds_ordlist.getColumn(idx,"pid")}
  4693. ,{col:"execprcpuniqno", val:ds_ordlist.getColumn(idx,"execprcpuniqno")}
  4694. ,{col:"selectdrid", val:ds_ordlist.getColumn(idx,"selectdrid")}
  4695. ,{col:"basesuppdeptcd", val:ds_ordlist.getColumn(idx,"basesuppdeptcd")}
  4696. ,{col:"prcpno", val:ds_ordlist.getColumn(idx,"prcpno")}
  4697. ,{col:"prcphistno", val:ds_ordlist.getColumn(idx,"prcphistno")}
  4698. ,{col:"cretno", val:ds_ordlist.getColumn(idx,"cretno")}
  4699. ,{col:"orddd", val:ds_ordlist.getColumn(idx,"orddd")}
  4700. ,{col:"orddeptcd", val:ds_ordlist.getColumn(idx,"orddeptcd")}
  4701. ,{col:"orddrid", val:ds_ordlist.getColumn(idx,"orddrid")}
  4702. ,{col:"calcscorcd", val:ds_ordlist.getColumn(idx,"calcscorcd")}
  4703. ,{col:"execdd", val:utlf_getCurrentDate()}
  4704. ,{col:"ioflag", val:ipdopd}
  4705. ]);
  4706. var oParam = {};
  4707. oParam.id = "TXAEA01513";
  4708. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  4709. oParam.method = "reqSetExchangeExcuSelectdrCd";
  4710. oParam.inds = "reqparam=ds_send_setselectdrcd";
  4711. oParam.outds = "ds_hidden_item=item";
  4712. oParam.async = false;
  4713. oParam.callback = "cf_TXAEA01513";
  4714. tranf_submit(oParam);
  4715. acptlistflag = tabgubn;
  4716. fGetExamCureAcptList();
  4717. }else{
  4718. sysf_messageBox("지정검사의 변경은 미예약, 예약의 경우에만", "I006");
  4719. return;
  4720. }
  4721. //} else {
  4722. // sysf_messageBox("선택진료일 경우에만 변경이", "I006");
  4723. // return;
  4724. //}
  4725. }
  4726. }
  4727. function cf_TXAEA01513(sSvcId, nErrorCode, sErrorMsg) {
  4728. if(nErrorCode < 0) return;
  4729. }
  4730. //=====================================================================================================================================================================================
  4731. // @ 처방리스트 Grid 펼치기 Function
  4732. //=====================================================================================================================================================================================
  4733. function fGetWideListX1(grp1, tab1, flag) {
  4734. if(flag == "prcplist" ) {
  4735. grp1.bringToFront();
  4736. var extnGrdWidht = 333; //그리드
  4737. var extnSwchWidht = 332; //스위치
  4738. var extnGrpWidht = 333; //그룹
  4739. //grd1.attribute("height") = extnGrdWidht;
  4740. // grp_body.group2.switch1.case1.grd_ordlist1.position.height = extnGrdWidht;
  4741. // grp_body.group2.switch1.case3.grd_ordlist3.position.height = extnGrdWidht;
  4742. // grp_body.group2.switch1.case4.grd_ordlist4.position.height = extnGrdWidht;
  4743. // grp_body.group2.switch1.case6.grd_ordlist6.position.height = extnGrdWidht;
  4744. // grp1.position.height = extnGrpWidht;
  4745. grp1.position.bottom = grp_body.group5.position.top -14;
  4746. //tab1.position.height = extnSwchWidht;
  4747. }
  4748. if(flag =="rsrvlist")
  4749. {
  4750. //예약내역
  4751. grp_body.group5.bringToFront();
  4752. grp1.position.top = grp_body.group2.position.bottom + 14;
  4753. // grp_body.group5.position.top = 422; //그룹
  4754. // grp_body.group5.position.height = 318; //그룹
  4755. //
  4756. // grp_body.group5.grd_rsrvlist.position.height = 290 ; //그리드
  4757. }
  4758. }
  4759. //=====================================================================================================================================================================================
  4760. // @ 처방리스트 Grid 접기 Function
  4761. //=====================================================================================================================================================================================
  4762. function fGetWideListX2(grp1, tab1, grd1,flag) {
  4763. if(flag == "prcplist" ) {
  4764. grp1.bringToFront();
  4765. var extnGrdWidht = 633; //그리드
  4766. var extnSwchWidht = 645; //스위치
  4767. var extnGrpWidht = 668; //그룹
  4768. //grp1.position.height = extnGrpWidht;
  4769. //tab1.position.height = extnSwchWidht;
  4770. grp1.position.bottom = grp_body.group5.position.bottom;
  4771. }
  4772. if(flag =="rsrvlist")
  4773. {
  4774. //예약내역
  4775. grp_body.group5.bringToFront();
  4776. grp_body.group5.position.top = 250; //그룹
  4777. //grp_body.group5.position.height = 490; //그룹
  4778. //grp_body.group5.grd_rsrvlist.position.height = 463 ; //그리드
  4779. }
  4780. }
  4781. //=====================================================================================================================================================================================
  4782. // @ 예약증 출력 초기화
  4783. //=====================================================================================================================================================================================
  4784. function fInitialize() {
  4785. ds_rtflist.clearData();
  4786. ds_curfile.clearData();
  4787. grp_body.rtfviewer.Clear();
  4788. }
  4789. //=====================================================================================================================================================================================
  4790. // @ 팝업메뉴 - 선택환자의 키/몸무게 입력 및 수정
  4791. //=====================================================================================================================================================================================
  4792. function fPatHeWeInfo() {
  4793. var ds_ordlist;
  4794. if( tabgubn == "M" || tabgubn == "D" || tabgubn == "L" ) {
  4795. ds_ordlist = ds_grd_ordlist1;
  4796. }
  4797. if(grp_body.group2.switch1.tabindex == 3 ){
  4798. ds_ordlist = ds_grd_ordlist3;
  4799. }
  4800. if( grp_body.group2.switch1.tabindex == 1 ){
  4801. ds_ordlist = ds_grd_ordlist4;
  4802. }
  4803. if( grp_body.group2.switch1.tabindex == 2 ){
  4804. ds_ordlist = ds_grd_ordlist6;
  4805. }
  4806. //var nodeList = dutplcecd.selectNodes("/root/main/"+ordlist+"/mainordlist[check='true']");
  4807. //var rCSV = getNodeListCSV(nodeList);
  4808. if(ds_ordlist.getCaseCount("check == '1'") == 0 ){
  4809. sysf_messageBox("처방내역을","C002");
  4810. return "0";
  4811. }else{
  4812. var objArg = new Object();
  4813. objArg.arg_ds_init_patinfo = ds_patrem_selectpat;
  4814. frmf_modal("SPAEA01101", "SPAEA01101", objArg, "", "", "", "", "", "", "", "", "", "M");
  4815. }
  4816. }
  4817. //=====================================================================================================================================================================================
  4818. // @ 팝업메뉴 - 처방내역에서 실시
  4819. //=====================================================================================================================================================================================
  4820. function fprcpacting() {
  4821. var tempcnt = ds_grd_inclprcplist.getCaseCount("check=='1'");
  4822. if (tempcnt == 0 ) {
  4823. sysf_messageBox("처방내역을","C002");
  4824. return "0";
  4825. }else {
  4826. if((ds_grd_inclprcplist.getColumn(ds_grd_inclprcplist.rowposition,"execprcphistcd") == "E" ) || ( ds_grd_inclprcplist.getColumn(ds_grd_inclprcplist.rowposition,"execprcphistcd") == "D" ) ){
  4827. sysf_messageBox("이미 반환된 처방","E008");
  4828. return "0";
  4829. }
  4830. if( (ds_grd_inclprcplist.getColumn(ds_grd_inclprcplist.rowposition,"execprcphistcd") == "O" ) && ( ds_grd_inclprcplist.getColumn(ds_grd_inclprcplist.rowposition,"execprcpstatcd") == "610") ) {
  4831. sysf_messageBox("실시완료된 처방","E008");
  4832. return "0";
  4833. }else {
  4834. ds_grd_inclprcplist.filter("check=='1'");
  4835. ds_send_tobeacptprcplist.copyData(ds_grd_inclprcplist,true);
  4836. ds_grd_inclprcplist.filter("");
  4837. }
  4838. }
  4839. ds_send_tobeacptprcplist.addColumn("execprcpstat610cd","string");
  4840. ds_send_tobeacptprcplist.addColumn("excuexectotm","string");
  4841. ds_send_tobeacptprcplist.addColumn("execrid1","string");
  4842. ds_send_tobeacptprcplist.updateColID("execdd","excuexectodd");
  4843. ds_send_tobeacptprcplist.updateColID("suppdeptcd","basesuppdeptcd");
  4844. for (var i=0; ds_send_tobeacptprcplist.rowcount;i++)
  4845. {
  4846. ds_send_tobeacptprcplist.setColumn(i,"execprcpstat610cd","610");
  4847. ds_send_tobeacptprcplist.setColumn(i,"excuexectotm","-");
  4848. ds_send_tobeacptprcplist.setColumn(i,"execrid1","-");
  4849. }
  4850. // 처방 -> 검사접수/실시완료
  4851. if ( sysf_messageBox("실시를 ","Q002")==6 ) {
  4852. var oParam = {};
  4853. oParam.id = "TXAEA01508";
  4854. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  4855. oParam.method = "reqExeAddPrcpList";
  4856. oParam.inds = "req=ds_send_tobeacptprcplist";
  4857. oParam.outds = "ds_hidden_item=item";
  4858. oParam.async = false;
  4859. oParam.callback = "cf_TXAEA01508";
  4860. tranf_submit(oParam);
  4861. }
  4862. var oParam = {};
  4863. oParam.id = "TRAEA01120";
  4864. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  4865. oParam.method = "reqGetExamCureExecPrcpList";
  4866. oParam.inds = "reqparam=ds_send_data_popup";
  4867. oParam.outds = "ds_examcureexecprcplist=examcureexecprcplist ds_deptcdlist=deptcdlist";
  4868. oParam.async = false;
  4869. tranf_submit(oParam);
  4870. }
  4871. function cf_TXAEA01508(sSvcId, nErrorCode, sErrorMsg) {
  4872. if(nErrorCode < 0) return;
  4873. }
  4874. //=====================================================================================================================================================================================
  4875. // @ 팝업메뉴 - 예약증 출력
  4876. //=====================================================================================================================================================================================
  4877. function fRsrvPrint() {
  4878. //20130702 kya 예약증 초기화
  4879. //start
  4880. var pCalcscorcd = ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"calcscorcd");
  4881. var pSuppdeptcd = ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"prcpexecdeptcd");
  4882. ds_send_data.setColumn(0,"prntcalcscorcd",pCalcscorcd);
  4883. ds_send_data.setColumn(0,"prntsuppdeptcd",pSuppdeptcd);
  4884. //end
  4885. dsf_createDs("ds_temp_send");
  4886. dsf_copyDs(ds_temp_send,ds_send_data);
  4887. ds_temp_send.updateColID("prntcalcscorcd","excucd");
  4888. ds_temp_send.updateColID("prntsuppdeptcd","suppdeptcd");
  4889. var oParam = {};
  4890. oParam.id = "TRAEA01126";
  4891. oParam.service = "examcurebaseapp.ExmpTmpl";
  4892. oParam.method = "reaGetRsrvTmplList";
  4893. oParam.inds = "req=ds_temp_send";
  4894. oParam.outds = "ds_tmplinfo=tmplinfo";
  4895. oParam.async = false;
  4896. oParam.callback = "cf_TRAEA01126";
  4897. tranf_submit(oParam);
  4898. var srchrsrvdt = ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"srchrsrvdt");
  4899. var tmpldata = ds_tmplinfo.getColumn(0,"tmpldata");
  4900. var pid = ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"pid");
  4901. var hngnm = ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"hngnm");
  4902. var year = srchrsrvdt.substr(0,4);
  4903. var month = srchrsrvdt.substr(4,2);
  4904. var day = srchrsrvdt.substr(6,2);
  4905. var week = srchrsrvdt.substr(0,8).toDate().getDayOfWeek("K");
  4906. var hh = srchrsrvdt.substr(8,2);
  4907. var mm = srchrsrvdt.substr(10,2);
  4908. var prcpnm = ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"prcpnm");
  4909. if(!utlf_isNull(tmpldata)) {
  4910. //1. 예약예문내용을 뷰어로 보여주기
  4911. grp_body.rtfviewer.TextRtf = tmpldata;
  4912. //2. 바꾸기
  4913. grp_body.rtfviewer.ReplaceRtfCode("pid",pid); //등록번호
  4914. grp_body.rtfviewer.ReplaceRtfCode("patnm",hngnm); //성명
  4915. grp_body.rtfviewer.ReplaceRtfCode("year",year); //년
  4916. grp_body.rtfviewer.ReplaceRtfCode("month",month); //월
  4917. grp_body.rtfviewer.ReplaceRtfCode("day",day); //일
  4918. grp_body.rtfviewer.ReplaceRtfCode("week",week); //요일
  4919. grp_body.rtfviewer.ReplaceRtfCode("hh",hh); //시
  4920. grp_body.rtfviewer.ReplaceRtfCode("mm",mm); //분
  4921. grp_body.rtfviewer.ReplaceRtfCode("age",ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"age"));
  4922. grp_body.rtfviewer.ReplaceRtfCode("sex",ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"sna").substr(0, 1));
  4923. grp_body.rtfviewer.ReplaceRtfCode("orddeptcd",ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"orddepthngnm"))
  4924. grp_body.rtfviewer.ReplaceRtfCode("orddrid",ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"orddrnm"))
  4925. grp_body.rtfviewer.ReplaceRtfCode("prcpnm",prcpnm); //처방명 2011.05.02
  4926. //3. 현재내용을 파일에 저장
  4927. grp_body.rtfviewer.SaveRtfFile();
  4928. //4. 출력
  4929. grp_body.rtfviewer.Print();
  4930. //5. 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  4931. fInitialize();
  4932. }
  4933. else {
  4934. sysf_messageBox("등록된 예약예문이 ", "I004");
  4935. return "0";
  4936. }
  4937. }
  4938. function cf_TRAEA01126(sSvcId, nErrorCode, sErrorMsg) {
  4939. if(nErrorCode < 0) return;
  4940. }
  4941. //=====================================================================================================================================================================================
  4942. // @ 검사실대기환자등록
  4943. //=====================================================================================================================================================================================
  4944. function fSetWaitExcuRoomPatList() {
  4945. var dutplceinstcd = sysf_getUserInfo("dutplceinstcd");
  4946. var waitroomcdinstcd = ds_init_A0608.getColumn(0,"cdid");
  4947. var waitroomcdyn = ds_init_A0608.getColumn(0,"cdnm");
  4948. if ( dutplceinstcd == waitroomcdinstcd && waitroomcdyn != 'Y') {
  4949. sysf_messageBox("등록된 대기자시스템이", "I004");
  4950. return;
  4951. }
  4952. var schelistcnt = ds_grd_rsrvlist.rowposition;
  4953. var instcd = sysf_getUserInfo("dutplceinstcd"); // 기관코드
  4954. var pid = ds_grd_rsrvlist.getColumn(schelistcnt,"pid"); // 환자등록번호
  4955. var orddd = utlf_getCurrentDate(); // 진료일자
  4956. var orddeptcd = ds_send_globalinstance.getColumn(0,"dutplcecd"); // 지원부서코드
  4957. var ordroomcd = ds_grd_rsrvlist.getColumn(schelistcnt,"excuroomcd"); // 검사실코드
  4958. var orddrid = ds_grd_rsrvlist.getColumn(schelistcnt,"orddrid"); // 진료의ID
  4959. var ordrsrvtm = utlf_getCurrentTime().substring(0,4); // 진료예약시간
  4960. var ordrsrvseqno = schelistcnt; // 진료예약순서
  4961. var dayflag = "Y"; // 당일구분
  4962. dsf_createDsRow("ds_temp_ordschelistinfo",
  4963. [{col:"chk", val:"1"}
  4964. ,{col:"instcd", val:instcd}
  4965. ,{col:"pid", val:pid}
  4966. ,{col:"orddd", val:orddd}
  4967. ,{col:"orddeptcd", val:orddeptcd}
  4968. ,{col:"ordroomcd", val:ordroomcd}
  4969. ,{col:"orddrid", val:orddrid}
  4970. ,{col:"ordrsrvtm", val:ordrsrvtm}
  4971. ,{col:"ordrsrvseqno", val:""}
  4972. ,{col:"dayflag", val:dayflag}
  4973. ]);
  4974. // 검사실 전광판 대기 환자 등록 인터페이스 정보
  4975. fSaveExcuRoomPatList(ds_temp_ordschelistinfo);
  4976. }
  4977. //=====================================================================================================================================================================================
  4978. // @ 환자상단정보
  4979. //=====================================================================================================================================================================================
  4980. function fTopInfo() {
  4981. //대상자조회탭
  4982. var grd = "grd_ordlist3";
  4983. var ds_grid = ds_grd_ordlist3 ;
  4984. var row_idx = ds_grd_ordlist3.rowposition;
  4985. if ( grp_body.group2.switch1.tabindex == 0 ) { //전체처방탭
  4986. var grd = "grd_ordlist1";
  4987. var ds_grid = ds_grd_ordlist1;
  4988. var row_idx = ds_grd_ordlist1.rowposition;
  4989. }
  4990. if ( grp_body.group2.switch1.tabindex == 1 ) { //검사완료탭
  4991. var grd = "grd_ordlist4";
  4992. var ds_grid = ds_grd_ordlist4;
  4993. var row_idx = ds_grd_ordlist4.rowposition;
  4994. }
  4995. if ( grp_body.group2.switch1.tabindex == 2 ) { //미예약탭
  4996. var grd = "grd_ordlist6";
  4997. var ds_grid = ds_grd_ordlist6;
  4998. var row_idx = ds_grd_ordlist6.rowposition;
  4999. }
  5000. schk = "N";
  5001. var pat_info = "S▦"+ ds_grid.getColumn(row_idx,"prcpdd") +"▦"+ds_grid.getColumn(row_idx,"execprcpuniqno")+"▦"+sysf_getUserInfo("dutplcecd");
  5002. schk = "Y";
  5003. if (schk == "Y"){
  5004. frmf_setParameter("condparam", pat_info);
  5005. //frmf_modal("SPMMO08900", "SPMMO08900");
  5006. appf_initPatientInfo(pat_info);
  5007. }
  5008. //20200128 코로나 바이러스 추가
  5009. fc_check_coronavirus();
  5010. }
  5011. //=====================================================================================================================================================================================
  5012. // @ 월버튼 이벤트 , 장준원, 20100719
  5013. //=====================================================================================================================================================================================
  5014. function fGetCalendar(arg){
  5015. var isMonth = ds_calendar.getColumn(0,"month");
  5016. var isYear = ds_calendar.getColumn(0,"year");
  5017. if(ds_calendar.getColumn(0,"month") < arg) {
  5018. var num = arg- isMonth ;
  5019. var isDate = (isYear+isMonth+"01").toDate().getAddDate(+num,'M');
  5020. }
  5021. if(ds_calendar.getColumn(0,"month") > arg) {
  5022. var num = isMonth - arg ;
  5023. var isDate = (isYear+isMonth+"01").toDate().getAddDate(-num,'M');
  5024. }
  5025. ds_calendar.setColumn(0,"year", isDate.getDateFormat('YYYY'));
  5026. ds_calendar.setColumn(0,"month", isDate.getDateFormat('MM'));
  5027. setCalendar(isDate);
  5028. }
  5029. //--=========================================================================================================
  5030. //2009-06-29 7/1 본인부담율 인상으로 인한 메세지 처리
  5031. //--=========================================================================================================
  5032. function fget0701GosiPrcpRcptChk() {
  5033. var menuparam = frmf_getMenuParam();
  5034. if ( menuparam != "S") { // 건진제외
  5035. var flagvalue = ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"prcpexecdeptcd"); //시행부서
  5036. var tmpPID = ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"pid") // 등록번호
  5037. // flagvalue = "2220000001";
  5038. // tmpPID ="18684040";
  5039. flagvalue = "'" + flagvalue + "'";
  5040. dsf_createDsRow("ds_send_GosiPrcpRcpyn",
  5041. [{col:"instcd", val:sysf_getUserInfo("dutplceinstcd")}
  5042. ,{col:"pid", val:tmpPID}
  5043. ,{col:"flagvalue", val:flagvalue}
  5044. ,{col:"flag", val:"2"}
  5045. ]);
  5046. var oParam = {};
  5047. oParam.id = "TRAEA01100";
  5048. oParam.service = "pamcomnapp.PamComn";
  5049. oParam.method = "get0701GosiPrcpRcptChk";
  5050. oParam.inds = "req=ds_send_GosiPrcpRcpyn";
  5051. oParam.outds = "ds_hidden_prcprcptyn=prcprcptyn";
  5052. oParam.async = false;
  5053. oParam.callback = "cf_TRAEA01100";
  5054. tranf_submit(oParam);
  5055. }
  5056. }
  5057. function cf_TRAEA01100(sSvcId, nErrorCode, sErrorMsg) {
  5058. if(nErrorCode < 0) return;
  5059. if (ds_hidden_prcprcptyn.getColumn(0,"prcprcptyn") == "Y") {
  5060. //txtgosi.text = " 본인부담요율 변동 환자입니다. 수납에 정산 안내하시길 바랍니다." ; //재활 메세지로
  5061. sysf_messageBox(" 본인부담요율 변동 환자입니다. 수납으로 정산 안내하시길 바랍니다. ", "E999"); //재활 그외는 메세지창으로
  5062. } else{
  5063. //messageBox(" 본인부담요율 변동 환자입니다. 수납으로 정산 안내하시길 바랍니다.xxxxx ", "E999"); //재활 그외는 메세지창으로
  5064. }
  5065. }
  5066. //--=========================================================================================================
  5067. //20130926 10/01 중증/희귀난치성 환자일 경우 초음파검사 급비변경에 따른 안내메시지
  5068. //--=========================================================================================================
  5069. function fget1001USPayFlagChk() {
  5070. var curDate = utlf_getCurrentDate();
  5071. var baseDate = ds_init_cmb_info6_X0003.getColumn(1,"cdnm");
  5072. var sPrcpdd = ds_send_data.getColumn(0,"prcpdd"); //처방일자
  5073. if ( sPrcpdd >= baseDate ) return; //처방일자가 20131001 이후이면 리턴
  5074. if ( curDate < baseDate ) return;
  5075. var menuparam = frmf_getMenuParam();
  5076. if ( menuparam != "S") { // 건진제외
  5077. var sPID = ds_send_data.getColumn(0,"srchpid"); //환자번호
  5078. var sOrddd = ds_send_data.getColumn(0,"orddd"); //처방일자
  5079. var sCretno = ds_send_data.getColumn(0,"cretno"); //처방일자
  5080. var sExecprcpuniqno = ds_send_data.getColumn(0,"execprcpuniqno"); //처방일자
  5081. dsf_createDsRow("ds_send_USPayFlagyn",
  5082. [{col:"instcd", val:sysf_getUserInfo("dutplceinstcd")}
  5083. ,{col:"pid", val:sPID}
  5084. ,{col:"orddd", val:sOrddd}
  5085. ,{col:"cretno", val:sCretno}
  5086. ,{col:"prcpdd", val:sPrcpdd}
  5087. ,{col:"execprcpuniqno", val:sExecprcpuniqno}
  5088. ]);
  5089. var oParam = {};
  5090. oParam.id = "TRAEA01213";
  5091. oParam.service = "pamcomnapp.PamComn";
  5092. oParam.method = "reqGetUltrasonoChk";
  5093. oParam.inds = "req=ds_send_USPayFlagyn";
  5094. oParam.outds = "ds_hidden_uspayflagyn=uspayflagyn";
  5095. oParam.async = false;
  5096. oParam.callback = "cf_TRAEA01213";
  5097. tranf_submit(oParam);
  5098. }
  5099. }
  5100. function cf_TRAEA01213(sSvcId, nErrorCode, sErrorMsg) {
  5101. if(nErrorCode < 0) return;
  5102. if (ds_hidden_uspayflagyn.getColumn(0,"uspayflagyn") == "Y") {
  5103. sysf_messageBox("실시 후, 관련 진료과에서 초음파 보험급여 여부를 확인 받도록 안내 부탁드립니다. ", "E999");
  5104. }
  5105. }
  5106. /*********************************************************************************
  5107. * 요청번호 : 20170420002, 신경과 검사실 업무제한요청건
  5108. * 20170424 by kya 진료지원 공통코드에서 수정자격 가져오기 'T0003'
  5109. * SELECT a.* FROM AST.AEBMCODE a WHERE a.grupcdid = 'T0003' AND instcd = '031';
  5110. *********************************************************************************/
  5111. function fSetAutho(){
  5112. //ds_init_T0003.clearData();
  5113. //lf_getAstCodeList([{dsNm: "ds_init_T0003", cdGrpId: "T0003"}], true);
  5114. //appf_getCodeList([{dsNm: "ds_init_T0003", cdGrpId: "T0003"}], true);
  5115. //그룹코드조회
  5116. //fn_TRAEB00011();
  5117. //trace( "ds_init_T0003");
  5118. var idx_rsrv = 0;
  5119. for( var i = 1 ; i<= ds_init_T0003.rowcount ; i++){
  5120. if( ds_init_T0003.getColumn(i,"cdid") == sysf_getUserInfo("userid") ){
  5121. idx_rsrv++;
  5122. }
  5123. }
  5124. //trace( "idx_rsrv =" + idx_rsrv);
  5125. if( idx_rsrv == 0 ){
  5126. grp_body.btn_rsrv.enable = true;
  5127. grp_body.btn_rsrvcncl.enable = true;
  5128. }else {
  5129. grp_body.btn_rsrv.enable = false;
  5130. grp_body.btn_rsrvcncl.enable = false;
  5131. }
  5132. }
  5133. //=====================================================================================================================================================================================
  5134. // @ 프린터 설정
  5135. //=====================================================================================================================================================================================
  5136. function fSetPrint() {
  5137. var count = ds_barcdprntsetup.rowcount;
  5138. if(count == 0) {
  5139. ds_barcdprntsetup.addRow();
  5140. }
  5141. var objArg = new Object();
  5142. objArg.arg_sSetupInfo = ds_barcdprntsetup.getColumn(0,"prntsetupinfo");
  5143. objArg.arg_sCallBackFunction = "lf_convertXmlToDs";
  5144. frmf_open("SPZUR00300","SPZUR00300", objArg, "", "", "", "","","","","","","M" );
  5145. }
  5146. function SMAEA01100_oninit(obj:Form, e:InitEventInfo)
  5147. {
  5148. frmf_initForm(obj); // 화면공통
  5149. //initGridStyle("grd_rsrvlist");
  5150. }
  5151. function SMAEA01100_onload(obj:Form, e:LoadEventInfo)
  5152. {
  5153. lf_aezfSetSuppDeptcd_main();
  5154. //20180822 진료과 설정
  5155. if (utlf_transNullToEmpty(suppdeptcd) =="") {
  5156. suppdeptcd = sysf_getUserInfo( "dutplcecd" );
  5157. }
  5158. //20180914 sort
  5159. grdf_setGridSort(grp_body.group2.switch1.case1.grd_ordlist1);
  5160. grdf_setGridSort(grp_body.group2.switch1.case4.grd_ordlist4);
  5161. grdf_setGridSort(grp_body.group2.switch1.case6.grd_ordlist6);
  5162. grdf_setGridSort(grp_body.group2.switch1.case3.grd_ordlist3);
  5163. //문자전송화면 옮기기
  5164. div_directsms.position.x = ( this.position.width - div_directsms.position.width ) / 2;
  5165. div_directsms.position.y = 35;
  5166. //사용자별 그리드 컬럼설정 조회
  5167. var scrnid = frmf_getScreenID();
  5168. //lf_orderInfoOfCol( grp_body.group2.switch1.case1.grd_ordlist1, scrnid,"01");
  5169. //lf_orderInfoOfCol( grp_body.group2.switch1.case6.grd_ordlist6, scrnid,"06");
  5170. //lf_orderInfoOfCol( grp_body.group2.switch1.case3.grd_ordlist3, scrnid,"03");
  5171. //lf_orderInfoOfCol( grp_body.group2.switch1.case4.grd_ordlist4, scrnid,"04");
  5172. fOrderInfoOfCol("grp_body.group2.switch1.case1.grd_ordlist1",scrnid,"01");
  5173. fOrderInfoOfCol("grp_body.group2.switch1.case6.grd_ordlist6",scrnid,"06");
  5174. fOrderInfoOfCol("grp_body.group2.switch1.case3.grd_ordlist3",scrnid,"03");
  5175. fOrderInfoOfCol("grp_body.group2.switch1.case4.grd_ordlist4",scrnid,"04");
  5176. var arrParam = [{dsNm: "ds_init_A0608", cdGrpId: "A0608"}
  5177. ,{dsNm: "ds_init_P0008", cdGrpId: "P0008"}
  5178. ]
  5179. appf_getCodeList(arrParam);
  5180. // 2011.01.05 c y w 진료의 코드 갖고오기
  5181. //submit("TRAEA01518");
  5182. //20180117 kya 검사의사지정을 위해
  5183. ds_send_globalinstance.setColumn(0,"dutplcecd",suppdeptcd);
  5184. ds_send_data.setColumn(0,"basesuppdeptcd",suppdeptcd);
  5185. var oParam = {};
  5186. oParam.id = "TRAEA01139";
  5187. oParam.service = "examcurebaseapp.ExamCureCode";
  5188. oParam.method = "reqGetSelectDrnmList";
  5189. oParam.inds = "req=ds_send_globalinstance";
  5190. oParam.outds = "ds_init_selectdridlist=item";
  5191. oParam.async = false;
  5192. tranf_submit(oParam);
  5193. //20170427 신경과직원 업무제한
  5194. if ( suppdeptcd == "2020000000" ) {
  5195. ds_init_T0003.clearData();
  5196. lf_getAstCodeList([{dsNm: "ds_init_T0003", cdGrpId: "T0003"}], true);
  5197. fSetAutho(); //20170427 신경과직원 업무제한
  5198. //20180809 신경과 수면다원검사실 입실퇴실관리
  5199. grp_body.group2.btn_inpt.visible = true;
  5200. }
  5201. // 2011.1.6 cyw 선택진료의 가져오기
  5202. ds_send_globalinstance.setColumn(0,"specdraddyn","Y");
  5203. ds_send_globalinstance.setColumn(0,"dutplcecd",suppdeptcd);
  5204. ds_send_data.setColumn(0,"deptcd",suppdeptcd);
  5205. var oParam = {};
  5206. oParam.id = "TRAEA01136";
  5207. oParam.service = "examcurebaseapp.ExamCureCode";
  5208. oParam.method = "reqGetSpecDrnmList";
  5209. oParam.inds = "req=ds_send_globalinstance";
  5210. oParam.outds = "ds_init_specdridlist=item";
  5211. oParam.async = false;
  5212. tranf_submit(oParam);
  5213. //상단정보 초기화
  5214. appf_delPatientInfos();
  5215. //바코드 출력
  5216. dsf_createDsRow("ds_send",
  5217. [{col:"scrnid", val:frmf_getScreenID()}
  5218. ]);
  5219. var oParam = {};
  5220. oParam.id = "TRLLC90101";
  5221. oParam.service = "diagtestapplib.LisCommon";
  5222. oParam.method = "reqGetSetUpInfo";
  5223. oParam.inds = "scrnid=ds_send";
  5224. oParam.outds = "ds_barcdprntsetup=getSetUpInfo";
  5225. oParam.async = false;
  5226. tranf_submit(oParam); // 20090617 SATO 관련 추가
  5227. lf_convertXmlToDs(ds_barcdprntsetup.getColumn(0,"prntsetupinfo"));
  5228. grp_body.group5.caption8.value = "예약내역";
  5229. ds_send_data.setColumn(0,"allstatus","Y");
  5230. grp_body.btn_rsrvcncl.enable = true;
  5231. grp_body.btn_rsrv.enable = true;
  5232. var menuparam = frmf_getMenuParam();
  5233. //건진처방 구분
  5234. ds_send_data.setColumn(0,"sgubn", menuparam);
  5235. // 2011.04.20 해당근무지에 따라 타이틀 변경
  5236. var dutplcenm = sysf_getUserInfo("dutplcenm");
  5237. if (menuparam == "S") {
  5238. grp_top.caption6.text = "( 건진 / " + dutplcenm + " )";
  5239. grp_body.group2.rdo_prcpgenrflag.value = "O";
  5240. }else{
  5241. grp_top.caption6.text = "(" + dutplcenm + ")";
  5242. }
  5243. //안과 진료예약을 위한 공통코드 조회
  5244. //검사실 갖고오기
  5245. dsf_createDsRow("ds_send",
  5246. [{col:"basesuppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
  5247. ,{col:"rbasecdflag", val:"R"}
  5248. ,{col:"ebasecdflag", val:"E"}
  5249. ,{col:"largeclass", val:"M4"}
  5250. ,{col:"cdgrupid", val:"A0486"}
  5251. ,{col:"centflag", val:""}
  5252. ]);
  5253. var oParam = {};
  5254. oParam.id = "TRAEA01115";
  5255. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  5256. oParam.method = "reqGetInitFuncExamCureRoomList";
  5257. oParam.inds = "reqparam=ds_send";
  5258. 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";
  5259. oParam.async = false;
  5260. tranf_submit(oParam);
  5261. ds_cmb_initexecroom.updateColID("basecd","excuroomcdid");
  5262. ds_cmb_initexecroom.updateColID("basecdflagdesc","excuroomcdnm");
  5263. ds_cmb_initexecrid.updateColID("basecd","execrid1cdid");
  5264. ds_cmb_initexecrid.updateColID("basecdflagdesc","execrid1cdnm");
  5265. ds_cmb_initexecrid.updateColID("equaluserid","equaluserid");
  5266. ds_cmb_initexcuroomgrp.updateColID("basecdcnts","excuroomgrpcdid");
  5267. ds_cmb_initexcuroomgrp.updateColID("basecdcnts2","excuroomgrpcdnm");
  5268. grp_body.chk_excuroom.setBindDataset(ds_cmb_initexecroom,"excuroomcdid","excuroomcdnm");
  5269. // grp_body.chk_excuroom.setCheckAll(true);
  5270. ds_send_data.setColumn(0,"selectexcuroom",String(grp_body.chk_excuroom.getData()).replace(","," "));
  5271. grp_body.grp_sea.ipt_date1.value = utlf_getCurrentDate();
  5272. grp_body.grp_sea.ipt_date2.value = utlf_getCurrentDate();
  5273. tabgubn = "M";
  5274. ds_send_data.setColumn(0,"rsrvdd", utlf_getCurrentDate() );
  5275. //진료일정 구분 세팅
  5276. if( ds_cmb_cdidlist.getColumn(0,"cdid") == ds_send_globalinstance.getColumn(0,"dutplcecd") ) {
  5277. ds_send_req.setColumn(0,"pamifyn", "Y" );
  5278. }
  5279. //2009-07-13 환자Comment - 처방일자별 환자 Comment 관리 요청 - 기능검사 ITC 임성재 샘 요청(요청번호:2041)
  5280. if (utlf_transNullToEmpty(ds_send_globalinstance.getColumn(0,"dutplcecd")).substr(0,3) == "303" ) {
  5281. dsf_createDsRow("ds_init_pidcomment",
  5282. [{col:"prcpddyn", val:"Y"}
  5283. ]);
  5284. }
  5285. //지원부서 세팅
  5286. var prcpexecdeptcd = "";
  5287. for(var i = 0; i < ds_cmb_prcpexecdeptcdlist.rowcount ; i++){
  5288. prcpexecdeptcd = ds_cmb_prcpexecdeptcdlist.getColumn(i,"prcpexecdeptcd") + " " + prcpexecdeptcd;
  5289. }
  5290. ds_send_data.setColumn(0,"prcpexecdeptcd",prcpexecdeptcd);
  5291. if(ds_cmb_initexecroomcd.rowcount == 1 ) {
  5292. var excuroomcd = ds_cmb_initexecroomcd.getColumn(0,"excuroomcd") ;
  5293. }
  5294. if(ds_cmb_initexecroomcd.rowcount > 1 ) {
  5295. var excuroomcd = "";
  5296. for(var i = 0; i < ds_cmb_initexecroomcd.rowcount; i++){
  5297. excuroomcd = ds_cmb_initexecroomcd.getColumn(i,"excuroomcd") + " " + excuroomcd;
  5298. }
  5299. }
  5300. ds_send_data.setColumn(0,"selectexcuroom", excuroomcd );
  5301. grp_body.chk_excuroom.setData(excuroomcd.split(" "),null,false);
  5302. if(ds_cmb_initexecroomcd.rowcount == 0) grp_body.chk_excuroom.setCheckAll(true);
  5303. //검사실명 뿌려주기
  5304. grp_body.grp_sea.opt_excuroom.value = grp_body.chk_excuroom.getLableData();
  5305. if(ds_send_data.getColumn(0,"selectexcuroom") != " ") {
  5306. //btn_sea.dispatch("DOMActivate");
  5307. //alert("1");
  5308. grp_body.group2.switch1.tabindex = 3;
  5309. }else {
  5310. sysf_messageBox("검사실 선택되지 ", "E007");
  5311. return "0";
  5312. }
  5313. if( ds_cmb_initexecroomcd.rowcount == 1 ){ //검사자별 검사실이 하나인 경우 달력에 가용현황 조회됨.
  5314. ds_send_data.setColumn(0,"excuroomcd", ds_send_data.getColumn(0,"selectexcuroom"));
  5315. initCalendar();
  5316. setCurrentDate();
  5317. getRsrvPossTm(grp_body.grd_calendar);
  5318. }
  5319. else {
  5320. ds_send_data.setColumn(0,"excuroomcd",ds_cmb_initexecroomcd.getColumn(0,"excuroomcd"));
  5321. initCalendar();
  5322. setCurrentDate();
  5323. getRsrvPossTm(grp_body.grd_calendar);
  5324. }
  5325. lf_aezfSetCellStyle(grp_body.group2.switch1.case1.grd_ordlist1 , "0^1^2" , "V^P^A" , "aftrcptinfo", "pid", "F");
  5326. dsf_createDsRow("ds_send",
  5327. [{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
  5328. ,{col:"grupcdid", val:"S002"}
  5329. ]);
  5330. var oParam = {};
  5331. oParam.id = "TRAEB00010";
  5332. oParam.service = "examcurebaseapp.ComCode";
  5333. oParam.method = "reqGetComCodeDetailList";
  5334. oParam.inds = "req=ds_send";
  5335. oParam.outds = "ds_codelist=item";
  5336. oParam.async = false;
  5337. tranf_submit(oParam);
  5338. //20130926 kya 초음파급비적용일자 가져오기 ("X0003")
  5339. //lf_getAstCodeList( new Array("A620", "X0003"), new Array("/root/init/baseinfo/initdspyn", "/root/init/cmb_info6") );
  5340. var arrParam = [{dsNm: "ds_init_initdspyn_A620", cdGrpId: "A620" } ///root/init/cmb_info4/initpoproom
  5341. ,{dsNm: "ds_init_cmb_info6_X0003", cdGrpId: "X0003" } ///root/init/cmb_info5/excucd
  5342. ]
  5343. lf_getAstCodeList(arrParam);
  5344. // dsf_createDsRow("ds_send_cmd",
  5345. // [{col:"minimum", val:"true"}
  5346. // ,{col:"join", val:"false"}
  5347. // ]);
  5348. //
  5349. //
  5350. //
  5351. // var oParam = {};
  5352. // oParam.id = "TRAAA00001";
  5353. // oParam.service = "examcurebaseapp.ComCode";
  5354. // oParam.method = "reqGetComboList";
  5355. // oParam.inds = "cmd=ds_send_cmd req=ds_send_req";
  5356. // //oParam.outds = "ds_resultref=repeat_ref";
  5357. // oParam.async = false;
  5358. //
  5359. //
  5360. // tranf_submit(oParam);
  5361. ds_init_initdspyn_A620.deleteRow(0);
  5362. var tmpcnt = ds_init_initdspyn_A620.getCaseCount("cdid=='" + ds_send_globalinstance.getColumn(0,"dutplcecd") + "'");
  5363. if(tmpcnt == 0 ){
  5364. grp_body.group2.switch1.case1.grd_ordlist1.setRealColSize(grp_body.group2.switch1.case1.grd_ordlist1.getBindCellIndex("body","prcpqty"),0) ;
  5365. grp_body.group2.switch1.case4.grd_ordlist4.setRealColSize(grp_body.group2.switch1.case4.grd_ordlist4.getBindCellIndex("body","prcpqty"), 0);
  5366. grp_body.group2.switch1.case6.grd_ordlist6.setRealColSize(grp_body.group2.switch1.case6.grd_ordlist6.getBindCellIndex("body","prcpqty"),0);
  5367. }
  5368. }
  5369. function group4_button1_onclick(obj:Button, e:ClickEventInfo)
  5370. {
  5371. //상단정보 초기화
  5372. appf_delPatientInfos();
  5373. var objArg = new Object();
  5374. objArg.excuroomcd = ds_send_data.getColumn(0, "excuroomcd");
  5375. frmf_modal("SMAEB00900", "SMAEB00900", objArg, "", "", "", "", "", "", "", "", "", "M");
  5376. }
  5377. function group4_button14_onclick(obj:Button, e:ClickEventInfo)
  5378. {
  5379. //상단정보 초기화
  5380. appf_delPatientInfos();
  5381. var objArg = new Object();
  5382. objArg.arg_ds_send_singdata = ds_send_data;
  5383. frmf_modal("SMAER00800", "SMAER00800", objArg, "", "", "", "", "", "", "", "", "", "M");
  5384. }
  5385. function group4_button30_onclick(obj:Button, e:ClickEventInfo)
  5386. {
  5387. if ( grp_body.group2.switch1.tabindex == 0 ) {
  5388. 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");
  5389. }
  5390. else if ( grp_body.group2.switch1.tabindex == 1 ) {
  5391. 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");
  5392. }
  5393. else if ( grp_body.group2.switch1.tabindex == 2 ) {
  5394. 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");
  5395. }
  5396. else {
  5397. 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");
  5398. }
  5399. }
  5400. function group4_button25_onclick(obj:Button, e:ClickEventInfo)
  5401. {
  5402. var objArg = new Object();
  5403. objArg.pid = ds_send_data.getColumn(0, "srchpid");
  5404. frmf_modal("SMAEA02000", "SMAEA02000", objArg, "", "", "", "", "", "", "", "", "", "M");
  5405. }
  5406. function group4_button2_onclick(obj:Button, e:ClickEventInfo)
  5407. {
  5408. //상단정보 초기화
  5409. appf_delPatientInfos();
  5410. var objArg = new Object();
  5411. objArg.pid = ds_send_data.getColumn(0, "srchpid");
  5412. frmf_modal("SMPMO00300", "SMPMO00300", objArg, "", "", "", "", "", "", "", "", "", "M");
  5413. }
  5414. function group4_button4_onclick(obj:Button, e:ClickEventInfo)
  5415. {
  5416. //상단정보 초기화
  5417. appf_delPatientInfos();
  5418. var child = frmf_findPopup("SMMMO02500");
  5419. if (!utlf_isNull(child)) {
  5420. child.ds_patinfolist.setColumn(0,"pid" , ds_patrem_selectpat.getColumn(0,"pid"));
  5421. frmf_setParameter ( "SMMMO02500_cond" , ds_patrem_selectpat.getColumn(0,"pid"));
  5422. child.fReqGetPatComnInfo(ds_send_reqdata, ds_patrem_selectpat.getColumn(0,"pid"));
  5423. child.switch1.tabindex = 0;
  5424. child.dsf_copyDs(ds_patinfolist,ds_srchinfo_patinfolist);
  5425. child.ds_bfprcp_prcplist.clearData();
  5426. child.ds_bfprcpday.clearData();
  5427. child.switch1.case1.grd_prcpdd.visible = false;
  5428. child.switch1.case1.grd_bfprcplist.position.left = 2;
  5429. child.switch1.case1.grd_bfprcplist.position.width = 1190;
  5430. }else{
  5431. frmf_setParameter ( "SMMMO02500_cond" , ds_patrem_selectpat.getColumn(0,"pid"));
  5432. frmf_open("SMMMO02500", "SMMMO02500", "", "", "", "", "", "", "", "", "", "", "M");
  5433. }
  5434. }
  5435. function group4_button5_onclick(obj:Button, e:ClickEventInfo)
  5436. {
  5437. //상단정보 초기화
  5438. appf_delPatientInfos();
  5439. var objArg = new Object();
  5440. objArg.arg_ds_send = ds_send_data;
  5441. frmf_modal("SMAEA04100", "SMAEA04100", objArg, "", "", "", "", "", "", "", "", "","M");
  5442. }
  5443. function group4_button9_onclick(obj:Button, e:ClickEventInfo)
  5444. {
  5445. //상단정보 초기화
  5446. appf_delPatientInfos();
  5447. var objArg = new Object();
  5448. objArg.arg_pid = ds_send_data.getColumn(0, "srchpid");
  5449. frmf_modal("SMAER00400", "SMAER00400", objArg, "", "", "", "", "", "", "", "", "", "M");
  5450. }
  5451. function group4_btn_colchset_onclick(obj:Button, e:ClickEventInfo)
  5452. {
  5453. // //var scrnid = getScreenID();
  5454. // var refdata = "";
  5455. // var sizedata = "";
  5456. // if ( grp_body.group2.switch1.tabindex == 0 ) {
  5457. // var grdid = grp_body.group2.switch1.case1.grd_ordlist1;
  5458. // var caseid = "case1";
  5459. // var compscd = "01";
  5460. // for(var i = 0; i < grp_body.group2.switch1.case1.grd_ordlist1.getCellCount("body"); i++)
  5461. // {
  5462. // if(i == 0)
  5463. // {
  5464. // refdata += utlf_transNullToEmpty(grp_body.group2.switch1.case1.grd_ordlist1.getCellProperty("body", i, "text")).replace("bind:", "");
  5465. // sizedata += grp_body.group2.switch1.case1.grd_ordlist1.getRealColSize(i);
  5466. // }
  5467. // else
  5468. // {
  5469. // refdata += "^" + utlf_transNullToEmpty(grp_body.group2.switch1.case1.grd_ordlist1.getCellProperty("body", i, "text")).replace("bind:", "");
  5470. // sizedata += "^" + grp_body.group2.switch1.case1.grd_ordlist1.getRealColSize(i);
  5471. // }
  5472. // }
  5473. //
  5474. // }
  5475. // if ( grp_body.group2.switch1.tabindex == 1 ) {
  5476. // var grdid = grp_body.group2.switch1.case4.grd_ordlist4;
  5477. // var caseid = "case4";
  5478. // var compscd = "04";
  5479. // for(var i = 0; i < grp_body.group2.switch1.case4.grd_ordlist4.getCellCount("body"); i++)
  5480. // {
  5481. // if(i == 0)
  5482. // {
  5483. // refdata += utlf_transNullToEmpty(grp_body.group2.switch1.case4.grd_ordlist4.getCellProperty("body", i, "text")).replace("bind:", "");
  5484. // sizedata += grp_body.group2.switch1.case4.grd_ordlist4.getRealColSize(i);
  5485. // }
  5486. // else
  5487. // {
  5488. // refdata += "^" + utlf_transNullToEmpty(grp_body.group2.switch1.case4.grd_ordlist4.getCellProperty("body", i, "text")).replace("bind:", "");
  5489. // sizedata += "^" + grp_body.group2.switch1.case4.grd_ordlist4.getRealColSize(i);
  5490. // }
  5491. // }
  5492. // }
  5493. // if ( grp_body.group2.switch1.tabindex == 2 ) {
  5494. // var grdid = grp_body.group2.switch1.case6.grd_ordlist6;
  5495. // var caseid = "case6";
  5496. // var compscd = "06";
  5497. // for(var i = 0; i < grp_body.group2.switch1.case6.grd_ordlist6.getCellCount("body"); i++)
  5498. // {
  5499. // if(i == 0)
  5500. // {
  5501. // refdata += utlf_transNullToEmpty(grp_body.group2.switch1.case6.grd_ordlist6.getCellProperty("body", i, "text")).replace("bind:", "");
  5502. // sizedata += grp_body.group2.switch1.case6.grd_ordlist6.getRealColSize(i);
  5503. // }
  5504. // else
  5505. // {
  5506. // refdata += "^" + utlf_transNullToEmpty(grp_body.group2.switch1.case6.grd_ordlist6.getCellProperty("body", i, "text")).replace("bind:", "");
  5507. // sizedata += "^" + grp_body.group2.switch1.case6.grd_ordlist6.getRealColSize(i);
  5508. // }
  5509. // }
  5510. // }
  5511. // if ( grp_body.group2.switch1.tabindex != 0 && grp_body.group2.switch1.tabindex != 1 && grp_body.group2.switch1.tabindex != 2) {
  5512. // var grdid = grp_body.group2.switch1.case3.grd_ordlist3;
  5513. // var caseid = "case3";
  5514. // var compscd = "03";
  5515. //
  5516. // for(var i = 0; i < grp_body.group2.switch1.case3.grd_ordlist3.getCellCount("body"); i++)
  5517. // {
  5518. // if(i == 0)
  5519. // {
  5520. // refdata += utlf_transNullToEmpty(grp_body.group2.switch1.case3.grd_ordlist3.getCellProperty("body", i, "text")).replace("bind:", "");
  5521. // sizedata += grp_body.group2.switch1.case3.grd_ordlist3.getRealColSize(i);
  5522. // }
  5523. // else
  5524. // {
  5525. // refdata += "^" + utlf_transNullToEmpty(grp_body.group2.switch1.case3.grd_ordlist3.getCellProperty("body", i, "text")).replace("bind:", "");
  5526. // sizedata += "^" + grp_body.group2.switch1.case3.grd_ordlist3.getRealColSize(i);
  5527. // }
  5528. // }
  5529. // }
  5530. // //fClkBtnSetCol(grdid, caseid, compscd);
  5531. // lf_saveOrderInfoCol(grdid, caseid, compscd, frmf_getScreenID(), refdata, sizedata);
  5532. //var scrnid = getScreenID();
  5533. if ( grp_body.group2.switch1.tabindex == 0 ) {
  5534. var grdid = "grp_body.group2.switch1.case1.grd_ordlist1";
  5535. var caseid = grp_body.group2.switch1.tabindex;
  5536. var compscd = "01";
  5537. }
  5538. if ( grp_body.group2.switch1.tabindex == 1 ) {
  5539. var grdid = "grp_body.group2.switch1.case4.grd_ordlist4";
  5540. var caseid = grp_body.group2.switch1.tabindex;
  5541. var compscd = "04";
  5542. }
  5543. if ( grp_body.group2.switch1.tabindex == 2 ) {
  5544. var grdid = "grp_body.group2.switch1.case6.grd_ordlist6";
  5545. var caseid = grp_body.group2.switch1.tabindex;
  5546. var compscd = "06";
  5547. }
  5548. if ( grp_body.group2.switch1.tabindex == 3 ) {
  5549. var grdid = "grp_body.group2.switch1.case3.grd_ordlist3";
  5550. var caseid = grp_body.group2.switch1.tabindex;
  5551. var compscd = "03";
  5552. }
  5553. fClkBtnSetCol(grdid, caseid, compscd);
  5554. }
  5555. function group4_button26_onclick(obj:Button, e:ClickEventInfo)
  5556. {
  5557. fSetPrint();
  5558. }
  5559. function grp_top_btn_baseinfo_onclick(obj:Button, e:ClickEventInfo)
  5560. {
  5561. frmf_open("SMAEA04300", "SMAEA04300","","","","" , "","","","","","","M");
  5562. }
  5563. function grp_body_btn_tmprsrv_onclick(obj:Button, e:ClickEventInfo)
  5564. {
  5565. dsf_createDsRow("ds_send_tmp",
  5566. [{col:"basesuppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
  5567. ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
  5568. ]);
  5569. var oParam = {};
  5570. oParam.id = "TRAEA01132";
  5571. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  5572. oParam.method = "reqGetFuncExcuroomGrpCdList";
  5573. oParam.inds = "reqparam=ds_send_tmp";
  5574. oParam.outds = "ds_hidden_excuroomgrplist=excuroomgrplist";
  5575. oParam.async = false;
  5576. tranf_submit(oParam);
  5577. var excuroomgrp = ds_hidden_excuroomgrplist.getColumn(0,"basecdcnts");
  5578. if (utlf_isNull(excuroomgrp)) {
  5579. sysf_messageBox("검사실을 ", "C002");
  5580. return;
  5581. }
  5582. frmf_setParameter("excuroomgrp", excuroomgrp );
  5583. frmf_modal("SPAEA02201", "SPAEA02201","", "", "", "", "", "","", "", "", "", "M");
  5584. }
  5585. function grp_body_btn_rsrvcncl_onclick(obj:Button, e:ClickEventInfo)
  5586. {
  5587. if ( grp_body.group2.switch1.tabindex == 0 ) {
  5588. for(var i=0 ; i < ds_grd_ordlist1.rowcount ; i++) {
  5589. if( ds_grd_ordlist1.getColumn(i,"check") == "1") {
  5590. if(ds_grd_ordlist1.getColumn(i,"execprcpstatcd") > "230" ){
  5591. sysf_messageBox("실시된 처방이","E005");
  5592. return;
  5593. }
  5594. }
  5595. }
  5596. }
  5597. if ( grp_body.group2.switch1.tabindex == 1 ) {
  5598. for(var i=0 ; i < ds_grd_ordlist4.rowcount ; i++) {
  5599. if( ds_grd_ordlist4.getColumn(i,"check") == "1") {
  5600. if(ds_grd_ordlist4.getColumn(i,"execprcpstatcd") > "230" ){
  5601. sysf_messageBox("실시된 처방이","E005");
  5602. return;
  5603. }
  5604. }
  5605. }
  5606. }
  5607. if ( grp_body.group2.switch1.tabindex == 2 ) {
  5608. for(var i=0 ; i < ds_grd_ordlist6.rowcount ; i++) {
  5609. if( ds_grd_ordlist6.getColumn(i,"check") == "1") {
  5610. if(ds_grd_ordlist6.getColumn(i,"execprcpstatcd") > "230" ){
  5611. sysf_messageBox("실시된 처방이","E005");
  5612. return;
  5613. }
  5614. }
  5615. }
  5616. }
  5617. //if ( btn_case1.selected == false && btn_case4.selected == false && btn_case6.selected == false) {
  5618. else {
  5619. for(var i=0 ; i < ds_grd_ordlist3.rowcount ; i++) {
  5620. if( ds_grd_ordlist3.getColumn(i,"check") == "1") {
  5621. if(ds_grd_ordlist3.getColumn(i,"execprcpstatcd") > "230" ){
  5622. sysf_messageBox("실시된 처방이","E005");
  5623. return;
  5624. }
  5625. }
  5626. }
  5627. }
  5628. var ordlist = "";
  5629. if ( sysf_messageBox("예약취소를","Q002")==6 ) {
  5630. exeRsrvTransaction("cncl", ds_grd_ordlist1);
  5631. // 2010.05.06 김건기
  5632. // 달력에서 미래여약날짜 환자의 예약변경이나 취소시에 다시 오늘날짜 선택되도록 수정 요청[요청번호:13807]
  5633. initCalendar();
  5634. setCurrentDate();
  5635. getRsrvPossTm(grp_body.grd_calendar);
  5636. ds_send_data.setColumn(0,"rsrvdd", utlf_getCurrentDate() );
  5637. //grdf_initGridStyle(grp_body.group5.grd_rsrvlist);
  5638. if(tabgubn == "M") {
  5639. ds_send_data.setColumn(0,"srchpid","");
  5640. acptlistflag = "M";
  5641. fGetExamCureAcptList(); // 전체처방
  5642. }
  5643. if(tabgubn == "R") {
  5644. ds_send_data.setColumn(0,"srchpid","");
  5645. acptlistflag = "R";
  5646. fGetExamCureAcptList(); // 미예약
  5647. }
  5648. if(tabgubn == "T") {
  5649. ds_send_data.setColumn(0,"srchpid","");
  5650. acptlistflag = "T";
  5651. fGetExamCureAcptList(); // 검사완료
  5652. }
  5653. if(tabgubn == "L") {
  5654. acptlistflag = "L";
  5655. fGetExamCureAcptList(); // 이력
  5656. }
  5657. if(tabgubn == "D") {
  5658. var curDate = utlf_getCurrentDate().substr(0,8);
  5659. grp_body.grp_sea.cmb_term.value = 0;
  5660. ds_send_data.setColumn(0,"acptlistflag", "R");
  5661. call_TRAEA01135();
  5662. }
  5663. //data 클리어
  5664. dataClear();
  5665. }
  5666. }
  5667. function grp_body_grp_sea_button61_onclick(obj:Button, e:ClickEventInfo)
  5668. {
  5669. var objArg = new Object();
  5670. objArg.arg_ds_send = ds_send_data;
  5671. frmf_modal("SPPMC02500", "SPPMC02500", objArg, null, null, null, null, null, null, null, null, null, "M");
  5672. ds_send_data.setColumn(0,"srchpid", ds_patinfolist.getColumn(0,"pid"));
  5673. var ev = new ClickEventInfo;
  5674. frmf_inputEnterKey("grp_body.grp_sea.btn_sea", "onclick", ev );
  5675. }
  5676. function grp_body_grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  5677. {
  5678. if(ds_send_data.getColumn(0,"selectexcuroom") != " ") {
  5679. var a = utlf_transNullToEmpty(ds_send_data.getColumn(0,"selectexcuroom"));
  5680. var cnt = 0;
  5681. for(var i = 0 ; i < a.length ; i++) {
  5682. if(a.substr(i,1) == " " ) {
  5683. cnt++;
  5684. }
  5685. }
  5686. //Data 클리어
  5687. dataClear();
  5688. //상단정보 초기화
  5689. appf_delPatientInfos();
  5690. //검사실명 뿌려주기
  5691. grp_body.grp_sea.opt_excuroom.value = grp_body.chk_excuroom.getLableData();
  5692. //검사실 체크박스 감추기
  5693. ds_send_data.setColumn(0,"selectexcuroom",String(grp_body.chk_excuroom.getData()).replace(","," "));
  5694. grp_body.chk_excuroom.visible = false;
  5695. ds_send_data.setColumn(0,"dateflag","anotherday"); //적용일자 기준
  5696. ds_send_data.setColumn(0,"rsrvdate",ds_send_data.getColumn(0,"srchdate1"));
  5697. ds_send_data.setColumn(0,"rsrvdate",ds_send_data.getColumn(0,"srchdate2"));
  5698. dsf_createDsRow("ds_send_tmp",
  5699. [{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
  5700. ,{col:"ecgflag", val:ds_send_data.getColumn(0,"ecgflag")}
  5701. ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
  5702. ,{col:"memorgstdd", val:ds_send_data.getColumn(0,"rsrvdd")}
  5703. ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
  5704. ,{col:"orddd", val:ds_send_data.getColumn(0,"orddd")}
  5705. ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"genrflag")}
  5706. ,{col:"prcpcd", val:ds_send_data.getColumn(0,"prcpcd")}
  5707. ,{col:"rsrvposs", val:ds_send_data.getColumn(0,"rsrvposs")}
  5708. ,{col:"prcpno", val:ds_send_data.getColumn(0,"prcpno")}
  5709. ,{col:"prcpdd", val:ds_send_data.getColumn(0,"prcpdd")}
  5710. ,{col:"srchrsrvdt", val:ds_send_data.getColumn(0,"centyn")}
  5711. ,{col:"execprcpuniqno", val:ds_send_data.getColumn(0,"execprcpuniqno")}
  5712. ,{col:"cmtflag", val:ds_send_data.getColumn(0,"cmtflag")}
  5713. ,{col:"memorgstddprcpdd", val:ds_send_data.getColumn(0,"memorgstddprcpdd")}
  5714. ,{col:"hcflag", val:ds_send_data.getColumn(0,"hcflag")}
  5715. ]);
  5716. //환자Comment 환자정보 조회
  5717. var oParam = {};
  5718. oParam.id = "TRAEA01114";
  5719. oParam.service = "examcureacptexecapp.PatRem";
  5720. oParam.method = "reqGetFuncPatRemList";
  5721. oParam.inds = "reqparam=ds_send_tmp";
  5722. 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";
  5723. oParam.async = false;
  5724. oParam.callback = "cf_TRAEA01114";
  5725. tranf_submit(oParam);
  5726. grp_body.div_info.output3.value = "";
  5727. if (!utlf_isNull(ds_patrem_isolinfo.getColumn(0,"isoldispcd"))) {
  5728. grp_body.div_info.output3.value = "확인"
  5729. }
  5730. if ( grp_body.group2.switch1.tabindex == 0 ) {
  5731. if(utlf_isNull(grp_body.grp_sea.ipt_pid.value)) {
  5732. acptlistflag = "M";
  5733. fGetExamCureAcptList(); // 전체처방
  5734. tabgubn = "M";
  5735. }
  5736. else {
  5737. this.grp_body.group2.switch1.tabindex = 0;
  5738. acptlistflag = "L";
  5739. fGetExamCureAcptList(); // 이력
  5740. tabgubn ="L";
  5741. }
  5742. }
  5743. if ( grp_body.group2.switch1.tabindex == 1 ) {
  5744. if(utlf_isNull(grp_body.grp_sea.ipt_pid.value)) {
  5745. acptlistflag = "T";
  5746. fGetExamCureAcptList(); // 검사완료
  5747. tabgubn ="T";
  5748. }
  5749. else {
  5750. this.grp_body.group2.switch1.tabindex = 0;
  5751. acptlistflag = "L";
  5752. fGetExamCureAcptList(); // 이력
  5753. tabgubn ="L";
  5754. }
  5755. }
  5756. if ( grp_body.group2.switch1.tabindex == 2 ) {
  5757. if(utlf_isNull(grp_body.grp_sea.ipt_pid.value)) {
  5758. acptlistflag = "R";
  5759. fGetExamCureAcptList(); // 미예약
  5760. tabgubn ="R";
  5761. }
  5762. else {
  5763. this.grp_body.group2.switch1.tabindex = 0;
  5764. acptlistflag = "L";
  5765. fGetExamCureAcptList(); // 이력
  5766. tabgubn ="L";
  5767. }
  5768. }
  5769. if ( grp_body.group2.switch1.tabindex != 0 && grp_body.group2.switch1.tabindex != 1 && grp_body.group2.switch1.tabindex != 2 ) {
  5770. if(utlf_isNull(grp_body.grp_sea.ipt_pid.value)) {
  5771. grp_body.group2.switch1.tabindex = 3;
  5772. }
  5773. else {
  5774. acptlistflag = "L";
  5775. fGetExamCureAcptList(); // 이력
  5776. tabgubn ="L";
  5777. }
  5778. }
  5779. }else {
  5780. sysf_messageBox("검사실 선택되지 ", "E007");
  5781. return "0";
  5782. }
  5783. //검사자별 검사실이 하나인 경우 달력에 가용현황 조회됨.
  5784. ds_send_data.setColumn(0,"excuroomcd",ds_send_data.getColumn(0,"selectexcuroom"));
  5785. initCalendar();
  5786. setCurrentDate();
  5787. getRsrvPossTm(grp_body.grd_calendar);
  5788. //grdf_initGridStyle(grp_body.group5.grd_rsrvlist);
  5789. }
  5790. function grp_body_grp_sea_btn_sea_ondblclick(obj:Button, e:MouseEventInfo)
  5791. {
  5792. if ( grp_body.group2.switch1.tabindex == 0 ) {
  5793. for( var i = 0 ; i < ds_grd_ordlist1.rowcount ; i++) {
  5794. ds_grd_ordlist1.getColumn(i,"check","0");
  5795. ds_grd_ordlist1.selectRow(i,false);
  5796. }
  5797. for( var i = 0 ; i < ds_grd_ordlist1.rowcount ; i++) {
  5798. if(ds_grd_ordlist1.getColumn(i,"pid")== ds_send_data.getColumn(0,"srchpid")) {
  5799. ds_grd_ordlist1.setColumn(i,"check","1");
  5800. ds_grd_ordlist1.selectRow(i,true);
  5801. return 0;
  5802. }
  5803. }
  5804. }
  5805. if ( grp_body.group2.switch1.tabindex == 3 ) {
  5806. for( var i = 0 ; i < ds_grd_ordlist3.rowcount ; i++) {
  5807. ds_grd_ordlist3.setColumn(i,"check","0");
  5808. ds_grd_ordlist3.selectRow(i,false);
  5809. }
  5810. for( var i = 0 ; i < ds_grd_ordlist3.rowcount ; i++) {
  5811. if(ds_grd_ordlist3.getColumn(i,"pid")== ds_send_data.getColumn(0,"srchpid")) {
  5812. ds_grd_ordlist3.setColumn(i,"check","1");
  5813. ds_grd_ordlist3.selectRow(i,true);
  5814. return 0;
  5815. }
  5816. }
  5817. }
  5818. if ( grp_body.group2.switch1.tabindex == 1 ) {
  5819. for( var i = 0 ; i < ds_grd_ordlist4.rowcount ; i++) {
  5820. ds_grd_ordlist4.setColumn(i,"check","0");
  5821. ds_grd_ordlist4.selectRow(i,false);
  5822. }
  5823. for( var i = 0 ; i < ds_grd_ordlist4.rowcount ; i++) {
  5824. if(ds_grd_ordlist4.getColumn(i,"pid")== ds_send_data.getColumn(0,"srchpid")) {
  5825. ds_grd_ordlist4.setColumn(i,"check","1");
  5826. ds_grd_ordlist4.selectRow(i,true);
  5827. return 0;
  5828. }
  5829. }
  5830. }
  5831. if ( grp_body.group2.switch1.tabindex == 2 ) {
  5832. for( var i = 0 ; i < ds_grd_ordlist6.rowcount ; i++) {
  5833. ds_grd_ordlist6.setColumn(i,"check","0");
  5834. ds_grd_ordlist6.selectRow(i,false);
  5835. }
  5836. for( var i = 0 ; i < ds_grd_ordlist6.rowcount ; i++) {
  5837. if(ds_grd_ordlist6.getColumn(i,"pid")== ds_send_data.getColumn(0,"srchpid")) {
  5838. ds_grd_ordlist6.setColumn(i,"check","1");
  5839. ds_grd_ordlist6.selectRow(i,true);
  5840. return 0;
  5841. }
  5842. }
  5843. }
  5844. }
  5845. function grp_body_grp_sea_chk_focus_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  5846. {
  5847. grp_body.chk_excuroom.visible = false;
  5848. }
  5849. function grp_body_grp_sea_btn_excuroom_onclick(obj:Button, e:ClickEventInfo)
  5850. {
  5851. if(grp_body.chk_excuroom.visible == false ){
  5852. grp_body.chk_excuroom.visible = true;
  5853. }else {
  5854. grp_body.chk_excuroom.visible = false;
  5855. }
  5856. //검사실명 뿌려주기
  5857. grp_body.grp_sea.opt_excuroom.value = grp_body.chk_excuroom.getLableData();
  5858. ds_send_data.setColumn(0,"selectexcuroom",grp_body.chk_excuroom.getData());
  5859. }
  5860. function grp_body_grp_calendar_button32_onclick(obj:Button, e:ClickEventInfo)
  5861. {
  5862. var isMonth = ds_calendar.getColumn(0,"month");
  5863. var isYear = ds_calendar.getColumn(0,"year");
  5864. var isDate = (isYear+isMonth+1).toDate().getAddDate(1,'Y');
  5865. ds_calendar.setColumn(0,"year", isDate.getDateFormat('YYYY'));
  5866. ds_calendar.setColumn(0,"month", isDate.getDateFormat('MM'));
  5867. setCalendar(isDate);
  5868. }
  5869. function grp_body_grp_calendar_btn_premonth_onclick(obj:Button, e:ClickEventInfo)
  5870. {
  5871. var isMonth = ds_calendar.getColumn(0,"month");
  5872. var isYear = ds_calendar.getColumn(0,"year");
  5873. var isDate = (isYear+isMonth+1).toDate().getAddDate(-1,'M');
  5874. ds_calendar.setColumn(0,"year", isDate.getDateFormat('YYYY'));
  5875. ds_calendar.setColumn(0,"month", isDate.getDateFormat('MM'));
  5876. setCalendar(isDate);
  5877. }
  5878. function grp_body_grp_calendar_button34_onclick(obj:Button, e:ClickEventInfo)
  5879. {
  5880. var isMonth = ds_calendar.getColumn(0,"month");
  5881. var isYear = ds_calendar.getColumn(0,"year");
  5882. var isDate = (isYear+isMonth+1).toDate().getAddDate(1,'M');
  5883. ds_calendar.setColumn(0,"year", isDate.getDateFormat('YYYY'));
  5884. ds_calendar.setColumn(0,"month", isDate.getDateFormat('MM'));
  5885. setCalendar(isDate);
  5886. }
  5887. function grp_body_grp_calendar_button3_onclick(obj:Button, e:ClickEventInfo)
  5888. {
  5889. var isMonth = ds_calendar.getColumn(0,"month");
  5890. var isYear = ds_calendar.getColumn(0,"year");
  5891. var isDate = (isYear+isMonth+1).toDate().getAddDate(-1,'Y');
  5892. ds_calendar.setColumn(0,"year", isDate.getDateFormat('YYYY'));
  5893. ds_calendar.setColumn(0,"month", isDate.getDateFormat('MM'));
  5894. setCalendar(isDate);
  5895. }
  5896. function grp_body_grp_calendar_button63_onclick(obj:Button, e:ClickEventInfo)
  5897. {
  5898. initCalendar();
  5899. setCurrentDate();
  5900. getRsrvPossTm(grp_body.grd_calendar);
  5901. //grdf_initGridStyle(grp_body.group5.grd_rsrvlist);
  5902. }
  5903. function grp_body_grd_calendar_oncellclick(obj:Grid, e:GridClickEventInfo)
  5904. {
  5905. ds_hidden_grdcellcolor.setColumn(0,"calrow",grp_body.grd_calendar.currentrow);
  5906. ds_hidden_grdcellcolor.setColumn(0,"calcol",grp_body.grd_calendar.currentcol);
  5907. // ds_send_data.setColumn(0,"largeclass","R4");
  5908. fCalendar1();
  5909. getRsrvPossTm(grp_body.grd_calendar);
  5910. ////grdf_initGridStyle(grp_body.group5.grd_rsrvlist);
  5911. //환자Comment 환자정보 조회
  5912. dsf_createDsRow("ds_send_tmp",
  5913. [{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
  5914. ,{col:"ecgflag", val:""}
  5915. ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
  5916. ,{col:"memorgstdd", val:ds_send_data.getColumn(0,"rsrvdd")}
  5917. ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
  5918. ,{col:"orddd", val:ds_send_data.getColumn(0,"orddd")}
  5919. ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"genrflag")}
  5920. ,{col:"prcpcd", val:ds_send_data.getColumn(0,"inclprcpcd")}
  5921. ,{col:"rsrvposs", val:""}
  5922. ,{col:"prcpno", val:ds_send_data.getColumn(0,"prcpno")}
  5923. ,{col:"prcpdd", val:ds_send_data.getColumn(0,"prcpdd")}
  5924. ,{col:"srchrsrvdt", val:""}
  5925. ,{col:"execprcpuniqno", val:ds_send_data.getColumn(0,"execprcpuniqno")}
  5926. ,{col:"cmtflag", val:""}
  5927. ,{col:"memorgstddprcpdd", val:ds_send_data.getColumn(0,"memorgstddprcpdd")}
  5928. ,{col:"hcflag", val:ds_send_data.getColumn(0,"hcflag")}
  5929. ]);
  5930. //환자Comment 환자정보 조회
  5931. var oParam = {};
  5932. oParam.id = "TRAEA01114";
  5933. oParam.service = "examcureacptexecapp.PatRem";
  5934. oParam.method = "reqGetFuncPatRemList";
  5935. oParam.inds = "reqparam=ds_send_tmp";
  5936. 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";
  5937. oParam.async = false;
  5938. oParam.callback = "cf_TRAEA01114";
  5939. tranf_submit(oParam);
  5940. grp_body.div_info.output3.value = "";
  5941. if (!utlf_isNull(ds_patrem_isolinfo.getColumn(0,"isoldispcd"))) {
  5942. grp_body.div_info.output3.value = "확인";
  5943. }
  5944. }
  5945. function grp_body_grd_calendar_onselectchanged(obj:Grid, e:GridSelectEventInfo)
  5946. {
  5947. ds_hidden_grdcellcolor.setColumn(0,"calrow",grp_body.grd_calendar.currentrow);
  5948. ds_hidden_grdcellcolor.setColumn(0,"calcol",grp_body.grd_calendar.currentcol);
  5949. }
  5950. function grp_body_grd_rsrvposstm_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
  5951. {
  5952. //setPopupMenu("grd_rsrvposstm", false, "/root/hidden/popupmenu/menu1/item", "name", "func");
  5953. }
  5954. function grp_body_grd_rsrvposstm_oncellclick(obj:Grid, e:GridClickEventInfo)
  5955. {
  5956. if( grp_body.group2.switch1.tabindex == 0 ) {
  5957. grdgubn ="grd_ordlist1"; // 전체처방
  5958. }
  5959. if ( grp_body.group2.switch1.tabindex == 1 ) {
  5960. grdgubn ="grd_ordlist4";
  5961. }
  5962. if ( grp_body.group2.switch1.tabindex == 2 ) {
  5963. grdgubn ="grd_ordlist6"; // 미예약
  5964. }
  5965. if( grp_body.group2.switch1.tabindex != 0 && grp_body.group2.switch1.tabindex != 1 && grp_body.group2.switch1.tabindex != 2 ) {
  5966. grdgubn ="grd_ordlist3"; // 대상자조회
  5967. }
  5968. setRsrvdate(grdgubn,"grd");
  5969. grp_body.cmb_hour.value = "--";
  5970. grp_body.cmb_min.value ="--";
  5971. }
  5972. function grp_body_btn_rsrv_onclick(obj:Button, e:ClickEventInfo)
  5973. {
  5974. var ds_ordlist;
  5975. if ( grp_body.group2.switch1.tabindex == 0 ) { //전체처방
  5976. ds_ordlist = ds_grd_ordlist1;
  5977. }
  5978. if ( grp_body.group2.switch1.tabindex == 1 ) {//검사완료
  5979. ds_ordlist = ds_grd_ordlist4;
  5980. }
  5981. if ( grp_body.group2.switch1.tabindex == 2 ) {//미예약
  5982. ds_ordlist = ds_grd_ordlist6;
  5983. }
  5984. if ( grp_body.group2.switch1.tabindex != 0 && grp_body.group2.switch1.tabindex != 1 && grp_body.group2.switch1.tabindex != 2) {//대상자조회
  5985. ds_ordlist = ds_grd_ordlist3;
  5986. }
  5987. // var nodeList = dutplcecd.selectNodes("/root/main/"+ordlist+"/mainordlist[check='true' ]");
  5988. // var rCSV = getNodeListCSV(nodeList);
  5989. ds_ordlist.updatecontrol = false;
  5990. dsf_setDefaultVal(ds_ordlist, "all");
  5991. ds_ordlist.updatecontrol = true;
  5992. //처방내역 선택 체크
  5993. if (ds_ordlist.getCaseCount("check=='1'") == 0 ) {
  5994. sysf_messageBox("처방내역을 ","C002");
  5995. return "0";
  5996. }
  5997. //2012.08.08 by kya 예약스케줄이 없을 경우, 에러 발생시킴
  5998. if (ds_grd_rsrvposstm.rowcount == 0) {
  5999. sysf_messageBox("예약 스케줄을 작성 후, 예약 ","C002");
  6000. return;
  6001. }
  6002. if ( grp_body.group2.switch1.tabindex == 0 ) {
  6003. for(var i=0 ; i < ds_grd_ordlist1.rowcount ; i++) {
  6004. if( ds_grd_ordlist1.getColumn(i,"check") == "1") {
  6005. if(ds_grd_ordlist1.getColumn(i,"execprcpstatcd") > "230" ){
  6006. sysf_messageBox("실시된 처방이","E005");
  6007. return;
  6008. }
  6009. }
  6010. }
  6011. }
  6012. if ( grp_body.group2.switch1.tabindex == 1 ) {
  6013. for(var i=0 ; i < ds_grd_ordlist4.rowcount ; i++) {
  6014. if( ds_grd_ordlist4.getColumn(i,"check") == "1") {
  6015. if(ds_grd_ordlist4.getColumn(i,"execprcpstatcd") > "230" ){
  6016. sysf_messageBox("실시된 처방이","E005");
  6017. return;
  6018. }
  6019. }
  6020. }
  6021. }
  6022. if ( grp_body.group2.switch1.tabindex == 2 ) {
  6023. for(var i=0 ; i < ds_grd_ordlist6.rowcount ; i++) {
  6024. if( ds_grd_ordlist6.getColumn(i,"check") == "1") {
  6025. if(ds_grd_ordlist6.getColumn(i,"execprcpstatcd") > "230" ){
  6026. sysf_messageBox("실시된 처방이","E005");
  6027. return;
  6028. }
  6029. }
  6030. }
  6031. }
  6032. if ( grp_body.group2.switch1.tabindex != 0 && grp_body.group2.switch1.tabindex != 1 && grp_body.group2.switch1.tabindex != 2) {
  6033. //else {
  6034. for(var i=0 ; i < ds_grd_ordlist3.rowcount ; i++) {
  6035. if( ds_grd_ordlist3.getColumn(i,"check") == "1") {
  6036. if(ds_grd_ordlist3.getColumn(i,"execprcpstatcd") > "230" ){
  6037. sysf_messageBox("실시된 처방이","E005");
  6038. return;
  6039. }
  6040. }
  6041. }
  6042. }
  6043. //예약시간 설정 체크
  6044. if(grp_body.cmb_hour.text == "--" || grp_body.cmb_min.text == "--" || grp_body.cmb_hour.text == "" || grp_body.cmb_min.text == "") { //예약시간 설정 안했을 경우
  6045. // var nodeList = dutplcecd.selectNodes("/root/main/"+ordlist+"/mainordlist[check='true' and srchrsrvdt = '']");
  6046. // var rCSV = getNodeListCSV(nodeList);
  6047. var tmpcnt = ds_ordlist.getCaseCount("check=='1' && srchrsrvdt == ''");
  6048. if ( tmpcnt > 0 ) {
  6049. sysf_messageBox("예약시간을 ","C002");
  6050. return "0";
  6051. }
  6052. }else if (grp_body.cmb_hour.text != "--" && grp_body.cmb_min.text != "--" && grp_body.cmb_hour.text != "" && grp_body.cmb_min.text != ""){ //콤보박스로 예약시간 설정한 경우
  6053. var ev = new ClickEventInfo;
  6054. frmf_inputEnterKey("grp_body.btn_rsrvtmins", "onclick", ev );
  6055. }
  6056. //2013.01.29 by kya 예약증출력기능 추가
  6057. if(grp_body.group5.chk_rsrvprint.value == "Y") {
  6058. //예약증출력 세팅
  6059. if ( grp_body.group2.switch1.tabindex == 0 ) {
  6060. var srchrsrvdt = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"srchrsrvdt");
  6061. var pid = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"pid");
  6062. var hngnm = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"hngnm");
  6063. var year = srchrsrvdt.substr(0,4);
  6064. var month = srchrsrvdt.substr(4,2);
  6065. var day = srchrsrvdt.substr(6,2);
  6066. var week = srchrsrvdt.substr(0,8).toDate().getDayOfWeek("K");
  6067. var hh = srchrsrvdt.substr(8,2);
  6068. var mm = srchrsrvdt.substr(10,2);
  6069. // 예약증 출력 추가
  6070. var age = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"age");
  6071. var sex = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"sna").substr(0, 1);
  6072. var orddeptcd = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"orddepthngnm");
  6073. var orddrid = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"orddrnm");
  6074. //예약증출력
  6075. ds_send_data.setColumn(0,"prntcalcscorcd", ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"calcscorcd"));
  6076. ds_send_data.setColumn(0,"prntsuppdeptcd", ds_send_globalinstance.getColumn(0,"dutplcecd"));
  6077. }
  6078. if ( grp_body.group2.switch1.tabindex == 1 ) {
  6079. var srchrsrvdt = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"srchrsrvdt");
  6080. var pid = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"pid");
  6081. var hngnm = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"hngnm");
  6082. var year = srchrsrvdt.substr(0,4);
  6083. var month = srchrsrvdt.substr(4,2);
  6084. var day = srchrsrvdt.substr(6,2);
  6085. var week = srchrsrvdt.substr(0,8).toDate().getDayOfWeek("K");
  6086. var hh = srchrsrvdt.substr(8,2);
  6087. var mm = srchrsrvdt.substr(10,2);
  6088. // 예약증 출력 추가
  6089. var age = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"age");
  6090. var sex = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"sna").substr(0, 1);
  6091. var orddeptcd = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"orddepthngnm");
  6092. var orddrid = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"orddrnm");
  6093. //예약증출력
  6094. ds_send_data.setColumn(0,"prntcalcscorcd", ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"calcscorcd"));
  6095. ds_send_data.setColumn(0,"prntsuppdeptcd",ds_send_globalinstance.getColumn(0,"dutplcecd"));
  6096. }
  6097. if ( grp_body.group2.switch1.tabindex == 2 ) {
  6098. var srchrsrvdt = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"srchrsrvdt");
  6099. var pid = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"pid");
  6100. var hngnm = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"hngnm");
  6101. var year = srchrsrvdt.substr(0,4);
  6102. var month = srchrsrvdt.substr(4,2);
  6103. var day = srchrsrvdt.substr(6,2);
  6104. var week = srchrsrvdt.substr(0,8).toDate().getDayOfWeek("K");
  6105. var hh = srchrsrvdt.substr(8,2);
  6106. var mm = srchrsrvdt.substr(10,2);
  6107. // 예약증 출력 추가
  6108. var age = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"age");
  6109. var sex = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"sna").substr(0, 1);
  6110. var orddeptcd = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"orddepthngnm");
  6111. var orddrid = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"orddrnm");
  6112. //예약증출력
  6113. ds_send_data.setColumn(0,"prntcalcscorcd", ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"calcscorcd"));
  6114. ds_send_data.setColumn(0,"prntsuppdeptcd", ds_send_globalinstance.getColumn(0,"dutplcecd"));
  6115. }
  6116. if ( grp_body.group2.switch1.tabindex != 0 && grp_body.group2.switch1.tabindex != 1 && grp_body.group2.switch1.tabindex != 2) {
  6117. var srchrsrvdt = ds_grd_ordlist3.getColumn(ds_grd_ordlist3.rowposition,"srchrsrvdt");
  6118. var pid = ds_grd_ordlist3.getColumn(ds_grd_ordlist3.rowposition,"pid");
  6119. var hngnm = ds_grd_ordlist3.getColumn(ds_grd_ordlist3.rowposition,"hngnm");
  6120. var year = srchrsrvdt.substr(0,4);
  6121. var month = srchrsrvdt.substr(4,2);
  6122. var day = srchrsrvdt.substr(6,2);
  6123. var week = srchrsrvdt.substr(0,8).toDate().getDayOfWeek("K");
  6124. var hh = srchrsrvdt.substr(8,2);
  6125. var mm = srchrsrvdt.substr(10,2);
  6126. // 예약증 출력 추가
  6127. var age = ds_grd_ordlist3.getColumn(ds_grd_ordlist3.rowposition,"age");
  6128. var sex = ds_grd_ordlist3.getColumn(ds_grd_ordlist3.rowposition,"sna").substr(0, 1);
  6129. var orddeptcd = ds_grd_ordlist3.getColumn(ds_grd_ordlist3.rowposition,"orddepthngnm");
  6130. var orddrid = ds_grd_ordlist3.getColumn(ds_grd_ordlist3.rowposition,"orddrnm");
  6131. //예약증출력
  6132. ds_send_data.setColumn(0,"prntcalcscorcd", ds_grd_ordlist3.getColumn(ds_grd_ordlist3.rowposition,"calcscorcd"));
  6133. ds_send_data.setColumn(0,"prntsuppdeptcd", ds_send_globalinstance.getColumn(0,"dutplcecd"));
  6134. }
  6135. }
  6136. //예약하기
  6137. exeRsrvTransaction("rsrv",ds_ordlist);
  6138. //2013.01.29 by kya 예약증출력
  6139. if(grp_body.group5.chk_rsrvprint.value == "Y") {
  6140. dsf_copyDs(ds_temp_send,ds_send_data);
  6141. ds_temp_send.updateColID("prntcalcscorcd","excucd");
  6142. ds_temp_send.updateColID("prntsuppdeptcd","suppdeptcd");
  6143. var oParam = {};
  6144. oParam.id = "TRAEA01126";
  6145. oParam.service = "examcurebaseapp.ExmpTmpl";
  6146. oParam.method = "reaGetRsrvTmplList";
  6147. oParam.inds = "req=ds_temp_send";
  6148. oParam.outds = "ds_tmplinfo=tmplinfo";
  6149. oParam.async = false;
  6150. oParam.callback = "cf_TRAEA01126";
  6151. tranf_submit(oParam);
  6152. var tmpldata = ds_tmplinfo.getColumn(0,"tmpldata");
  6153. if(!utlf_isNull(tmpldata)) {
  6154. //1. 예약예문내용을 뷰어로 보여주기
  6155. grp_body.rtfviewer.TextRtf = tmpldata;
  6156. //2. 바꾸기
  6157. grp_body.rtfviewer.ReplaceRtfCode("pid",pid); //등록번호
  6158. grp_body.rtfviewer.ReplaceRtfCode("patnm",hngnm); //성명
  6159. grp_body.rtfviewer.ReplaceRtfCode("year",year); //년
  6160. grp_body.rtfviewer.ReplaceRtfCode("month",month); //월
  6161. grp_body.rtfviewer.ReplaceRtfCode("day",day); //일
  6162. grp_body.rtfviewer.ReplaceRtfCode("week",week); //요일
  6163. grp_body.rtfviewer.ReplaceRtfCode("hh",hh); //시
  6164. grp_body.rtfviewer.ReplaceRtfCode("mm",mm); //분
  6165. // 예약증 출력 추가
  6166. grp_body.rtfviewer.ReplaceRtfCode("age",age); //나이
  6167. grp_body.rtfviewer.ReplaceRtfCode("sex",sex); //성별
  6168. grp_body.rtfviewer.ReplaceRtfCode("orddeptcd",orddeptcd); //진료과명
  6169. grp_body.rtfviewer.ReplaceRtfCode("orddrid",orddrid); //진료의명
  6170. //3. 현재내용을 파일에 저장
  6171. grp_body.rtfviewer.SaveRtfFile();
  6172. //4. 출력
  6173. grp_body.rtfviewer.Print();
  6174. //5. 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  6175. fInitialize();
  6176. }
  6177. else {
  6178. sysf_messageBox("등록된 예약예문이 ", "I004");
  6179. // return "0";
  6180. }
  6181. }
  6182. initCalendar();
  6183. setCurrentDate();
  6184. getRsrvPossTm(grp_body.grd_calendar);
  6185. //grdf_initGridStyle(grp_body.group5.grd_rsrvlist);
  6186. if(tabgubn == "M") {
  6187. ds_send_data.setColumn(0,"srchpid","");
  6188. acptlistflag = "M";
  6189. fGetExamCureAcptList(); // 전체처방
  6190. }
  6191. if(tabgubn == "R") {
  6192. ds_send_data.setColumn(0,"srchpid","");
  6193. acptlistflag = "R";
  6194. fGetExamCureAcptList(); // 미예약
  6195. }
  6196. if(tabgubn == "T") {
  6197. ds_send_data.setColumn(0,"srchpid","");
  6198. acptlistflag = "T";
  6199. fGetExamCureAcptList(); // 검사완료
  6200. }
  6201. if(tabgubn == "L") {
  6202. acptlistflag = "L";
  6203. fGetExamCureAcptList(); // 이력
  6204. }
  6205. if(tabgubn == "D") {
  6206. var curDate = utlf_getCurrentDate().substr(0,8);
  6207. ds_send_data.setColumn(0,"acptlistflag", "R");
  6208. call_TRAEA01135();
  6209. }
  6210. }
  6211. function grp_body_group2_switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  6212. {
  6213. if(e.postindex == 3)
  6214. {
  6215. var ev = new ClickEventInfo;
  6216. frmf_inputEnterKey("grp_body.group2.button6", "onclick", ev );
  6217. }
  6218. else if(e.postindex == 0)
  6219. {
  6220. if(ds_send_data.getColumn(0,"selectexcuroom") == " ") {
  6221. sysf_messageBox("검사실 선택되지 ", "E007");
  6222. return;
  6223. }
  6224. //data 클리어
  6225. dataClear();
  6226. //상단정보 초기화
  6227. appf_delPatientInfos();
  6228. //검사실명 뿌려주기
  6229. grp_body.grp_sea.opt_excuroom.value = grp_body.chk_excuroom.getLableData();
  6230. //검사실 체크박스 감추기
  6231. ds_send_data.setColumn(0,"selectexcuroom",String(grp_body.chk_excuroom.getData()).replace(","," "));
  6232. grp_body.chk_excuroom.visible = false;
  6233. ds_send_data.setColumn(0,"srchpid","");
  6234. var curDate = utlf_getCurrentDate().substr(0,8); //오늘날짜
  6235. //환자Comment 환자정보 조회
  6236. dsf_createDsRow("ds_send_tmp",
  6237. [{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
  6238. ,{col:"ecgflag", val:ds_send_data.getColumn(0,"ecgflag")}
  6239. ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
  6240. ,{col:"memorgstdd", val:ds_send_data.getColumn(0,"rsrvdd")}
  6241. ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
  6242. ,{col:"orddd", val:ds_send_data.getColumn(0,"orddd")}
  6243. ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"genrflag")}
  6244. ,{col:"prcpcd", val:ds_send_data.getColumn(0,"prcpcd")}
  6245. ,{col:"rsrvposs", val:ds_send_data.getColumn(0,"rsrvposs")}
  6246. ,{col:"prcpno", val:ds_send_data.getColumn(0,"prcpno")}
  6247. ,{col:"prcpdd", val:ds_send_data.getColumn(0,"prcpdd")}
  6248. ,{col:"srchrsrvdt", val:ds_send_data.getColumn(0,"centyn")}
  6249. ,{col:"execprcpuniqno", val:ds_send_data.getColumn(0,"execprcpuniqno")}
  6250. ,{col:"cmtflag", val:ds_send_data.getColumn(0,"cmtflag")}
  6251. ,{col:"memorgstddprcpdd", val:ds_send_data.getColumn(0,"memorgstddprcpdd")}
  6252. ,{col:"hcflag", val:ds_send_data.getColumn(0,"hcflag")}
  6253. ]);
  6254. //환자Comment 환자정보 조회
  6255. var oParam = {};
  6256. oParam.id = "TRAEA01114";
  6257. oParam.service = "examcureacptexecapp.PatRem";
  6258. oParam.method = "reqGetFuncPatRemList";
  6259. oParam.inds = "reqparam=ds_send_tmp";
  6260. 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";
  6261. oParam.async = false;
  6262. oParam.callback = "cf_TRAEA01114";
  6263. tranf_submit(oParam);
  6264. grp_body.div_info.output3.value = "";
  6265. if (!utlf_isNull(ds_patrem_isolinfo.getColumn(0,"isoldispcd"))) {
  6266. grp_body.div_info.output3.value = "확인";
  6267. }
  6268. acptlistflag = "M";
  6269. fGetExamCureAcptList();
  6270. tabgubn = "M";
  6271. }
  6272. else if(e.postindex == 1)
  6273. {
  6274. if(ds_send_data.getColumn(0,"selectexcuroom") == " ") {
  6275. sysf_messageBox("검사실 선택되지 ", "E007");
  6276. return;
  6277. }
  6278. //data 클리어
  6279. dataClear();
  6280. //상단정보 초기화
  6281. appf_delPatientInfos();
  6282. //검사실명 뿌려주기
  6283. grp_body.grp_sea.opt_excuroom.value = grp_body.chk_excuroom.getLableData();
  6284. //검사실 체크박스 감추기
  6285. ds_send_data.setColumn(0,"selectexcuroom",String(grp_body.chk_excuroom.getData()).replace(","," "));
  6286. grp_body.chk_excuroom.visible = false;
  6287. var curDate = utlf_getCurrentDate().substr(0,8); //오늘날짜
  6288. // ds_send_data.setColumn(0,"srchdate1",curDate);
  6289. // ds_send_data.setColumn(0,"srchdate2",curDate);
  6290. ds_send_data.setColumn(0,"srchpid","");
  6291. //환자Comment 환자정보 조회
  6292. dsf_createDsRow("ds_send_tmp",
  6293. [{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
  6294. ,{col:"ecgflag", val:ds_send_data.getColumn(0,"ecgflag")}
  6295. ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
  6296. ,{col:"memorgstdd", val:ds_send_data.getColumn(0,"rsrvdd")}
  6297. ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
  6298. ,{col:"orddd", val:ds_send_data.getColumn(0,"orddd")}
  6299. ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"genrflag")}
  6300. ,{col:"prcpcd", val:ds_send_data.getColumn(0,"prcpcd")}
  6301. ,{col:"rsrvposs", val:ds_send_data.getColumn(0,"rsrvposs")}
  6302. ,{col:"prcpno", val:ds_send_data.getColumn(0,"prcpno")}
  6303. ,{col:"prcpdd", val:ds_send_data.getColumn(0,"prcpdd")}
  6304. ,{col:"srchrsrvdt", val:ds_send_data.getColumn(0,"centyn")}
  6305. ,{col:"execprcpuniqno", val:ds_send_data.getColumn(0,"execprcpuniqno")}
  6306. ,{col:"cmtflag", val:ds_send_data.getColumn(0,"cmtflag")}
  6307. ,{col:"memorgstddprcpdd", val:ds_send_data.getColumn(0,"memorgstddprcpdd")}
  6308. ,{col:"hcflag", val:ds_send_data.getColumn(0,"hcflag")}
  6309. ]);
  6310. //환자Comment 환자정보 조회
  6311. var oParam = {};
  6312. oParam.id = "TRAEA01114";
  6313. oParam.service = "examcureacptexecapp.PatRem";
  6314. oParam.method = "reqGetFuncPatRemList";
  6315. oParam.inds = "reqparam=ds_send_tmp";
  6316. 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";
  6317. oParam.async = false;
  6318. oParam.callback = "cf_TRAEA01114";
  6319. tranf_submit(oParam);
  6320. grp_body.div_info.output3.value = "";
  6321. if (!utlf_isNull(ds_patrem_isolinfo.getColumn(0,"isoldispcd"))) {
  6322. grp_body.div_info.output3.value = "확인";
  6323. }
  6324. acptlistflag = "T";
  6325. fGetExamCureAcptList();
  6326. tabgubn = "T";
  6327. }
  6328. else if(e.postindex == 2)
  6329. {
  6330. if(ds_send_data.getColumn(0,"selectexcuroom") == " ") {
  6331. sysf_messageBox("검사실 선택되지 ", "E007");
  6332. return;
  6333. }
  6334. //data 클리어
  6335. dataClear();
  6336. //상단정보 초기화
  6337. appf_delPatientInfos();
  6338. //검사실명 뿌려주기
  6339. grp_body.grp_sea.opt_excuroom.value = grp_body.chk_excuroom.getLableData();
  6340. //검사실 체크박스 감추기
  6341. ds_send_data.setColumn(0,"selectexcuroom",String(grp_body.chk_excuroom.getData()).replace(","," "));
  6342. grp_body.chk_excuroom.visible = false;
  6343. var curDate = utlf_getCurrentDate().substr(0,8); //오늘날짜
  6344. //환자Comment 환자정보 조회
  6345. dsf_createDsRow("ds_send_tmp",
  6346. [{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
  6347. ,{col:"ecgflag", val:""}
  6348. ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
  6349. ,{col:"memorgstdd", val:ds_send_data.getColumn(0,"rsrvdd")}
  6350. ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
  6351. ,{col:"orddd", val:ds_send_data.getColumn(0,"orddd")}
  6352. ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"genrflag")}
  6353. ,{col:"prcpcd", val:ds_send_data.getColumn(0,"inclprcpcd")}
  6354. ,{col:"rsrvposs", val:ds_send_data.getColumn(0,"rsrvposs")}
  6355. ,{col:"prcpno", val:ds_send_data.getColumn(0,"prcpno")}
  6356. ,{col:"prcpdd", val:ds_send_data.getColumn(0,"prcpdd")}
  6357. ,{col:"srchrsrvdt", val:""}
  6358. ,{col:"execprcpuniqno", val:ds_send_data.getColumn(0,"execprcpuniqno")}
  6359. ,{col:"cmtflag", val:""}
  6360. ,{col:"memorgstddprcpdd", val:ds_send_data.getColumn(0,"memorgstddprcpdd")}
  6361. ,{col:"hcflag", val:ds_send_data.getColumn(0,"hcflag")}
  6362. ]);
  6363. //환자Comment 환자정보 조회
  6364. var oParam = {};
  6365. oParam.id = "TRAEA01114";
  6366. oParam.service = "examcureacptexecapp.PatRem";
  6367. oParam.method = "reqGetFuncPatRemList";
  6368. oParam.inds = "reqparam=ds_send_tmp";
  6369. 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";
  6370. oParam.async = false;
  6371. oParam.callback = "cf_TRAEA01114";
  6372. tranf_submit(oParam);
  6373. grp_body.div_info.output3.value = "";
  6374. if (!utlf_isNull(ds_patrem_isolinfo.getColumn(0,"isoldispcd"))) {
  6375. grp_body.div_info.output3.value = "확인";
  6376. }
  6377. acptlistflag = "R";
  6378. fGetExamCureAcptList();
  6379. tabgubn="R";
  6380. }
  6381. }
  6382. function grp_body_group2_btn_execcncl_onclick(obj:Button, e:ClickEventInfo)
  6383. {
  6384. var loop;
  6385. var check;
  6386. var execprcpstatcd;
  6387. var loopcnt="";
  6388. var execncl="";
  6389. var ds_grid = "";
  6390. var grd;
  6391. var execdd="";
  6392. if ( grp_body.group2.switch1.tabindex == 0 ) {
  6393. ds_grid = ds_grd_ordlist1;
  6394. grd = ds_grd_ordlist1.rowcount;
  6395. for(var i=0 ; i < ds_grd_ordlist1.rowcount ; i++) {
  6396. if( ds_grd_ordlist1.getColumn(i,"check") == "1") {
  6397. if(ds_grd_ordlist1.getColumn(i,"execprcpstatcd") > "610" ){
  6398. sysf_messageBox("예비결과/최종결과 상태가","E005");
  6399. return;
  6400. }
  6401. }
  6402. }
  6403. }
  6404. if ( grp_body.group2.switch1.tabindex == 1 ) {
  6405. ds_grid = ds_grd_ordlist4;
  6406. grd = ds_grd_ordlist4.rowcount;
  6407. for(var i=0 ; i < ds_grd_ordlist4.rowcount ; i++) {
  6408. if( ds_grd_ordlist4.getColumn(i,"check") == "1") {
  6409. if(ds_grd_ordlist4.getColumn(i,"execprcpstatcd") > "610" ){
  6410. sysf_messageBox("예비결과/최종결과 상태가","E005");
  6411. return;
  6412. }
  6413. }
  6414. }
  6415. }
  6416. if ( grp_body.group2.switch1.tabindex == 2 ) {
  6417. ds_grid = ds_grd_ordlist6;
  6418. grd = ds_grd_ordlist6.rowcount;
  6419. for(var i=0 ; i < ds_grd_ordlist6.rowcount ; i++) {
  6420. if( ds_grd_ordlist6.getColumn(i,"check") == "1") {
  6421. if(ds_grd_ordlist6.getColumn(i,"execprcpstatcd") > "610" ){
  6422. sysf_messageBox("예비결과/최종결과 상태가","E005");
  6423. return;
  6424. }
  6425. }
  6426. }
  6427. }
  6428. if ( grp_body.group2.switch1.tabindex != 0 && grp_body.group2.switch1.tabindex != 1 && grp_body.group2.switch1.tabindex != 2) {
  6429. ds_grid = ds_grd_ordlist1;
  6430. grd = ds_grd_ordlist1.rowcount;
  6431. for(var i=0 ; i < ds_grd_ordlist1.rowcount ; i++) {
  6432. if( ds_grd_ordlist1.getColumn(i,"check") == "1") {
  6433. if(ds_grd_ordlist1.getColumn(i,"execprcpstatcd") > "610" ){
  6434. sysf_messageBox("예비결과/최종결과 상태가","E005");
  6435. return;
  6436. }
  6437. }
  6438. }
  6439. }
  6440. for( var i = 0 ; i < grd ; i++ ) {
  6441. check = ds_grid.getColumn(i,"check");
  6442. if ( check == "1" ) {
  6443. loopcnt++;
  6444. if( ds_grid.getColumn(i,"execdd") == utlf_getCurrentDate() )
  6445. {
  6446. execdd++;
  6447. }
  6448. }
  6449. }
  6450. if ( loopcnt == 0 ) {
  6451. sysf_messageBox("처방이 선택되지 ", "E007");
  6452. return 0;
  6453. }else {
  6454. var grid = "";
  6455. if(tabgubn == "M")
  6456. grid = "ds_grd_ordlist1";
  6457. if(tabgubn == "T")
  6458. grid = "ds_grd_ordlist4";
  6459. if(tabgubn == "R")
  6460. grid = "ds_grd_ordlist6";
  6461. if(tabgubn == "L")
  6462. grid = "ds_grd_ordlist1";
  6463. ExeCncl(grid);
  6464. if(tabgubn == "M") {
  6465. ds_send_data.setColumn(0,"srchpid","");
  6466. acptlistflag = "M";
  6467. fGetExamCureAcptList(); // 전체처방
  6468. }
  6469. if(tabgubn == "R") {
  6470. ds_send_data.setColumn(0,"srchpid","");
  6471. acptlistflag = "R";
  6472. fGetExamCureAcptList(); // 미예약
  6473. }
  6474. if(tabgubn == "T") {
  6475. ds_send_data.setColumn(0,"srchpid","");
  6476. acptlistflag = "T";
  6477. fGetExamCureAcptList(); // 검사완료
  6478. }
  6479. if(tabgubn == "L") {
  6480. acptlistflag = "L";
  6481. fGetExamCureAcptList(); // 이력
  6482. }
  6483. initCalendar();
  6484. getRsrvPossTm(grp_body.grd_calendar);
  6485. setCurrentDate();
  6486. ds_send_data.setColumn(0,"rsrvdd", utlf_getCurrentDate() );
  6487. //grdf_initGridStyle(grp_body.group5.grd_rsrvlist);
  6488. //data 클리어
  6489. dataClear();
  6490. }
  6491. }
  6492. function grp_body_group2_switch1_case1_grd_ordlist1_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
  6493. {
  6494. // if(e.row < 0 || e.col < 0) return;
  6495. //
  6496. // obj.setFocus();
  6497. //
  6498. // grdf_setSelectedCell(obj, e);
  6499. //
  6500. //
  6501. // PopupMenu00.trackPopup(e.screenX,e.screenY);
  6502. }
  6503. function grp_body_group2_switch1_case1_grd_ordlist1_oncellclick(obj:Grid, e:GridClickEventInfo)
  6504. {
  6505. //trace("2");
  6506. if(e.row > -1 && (e.col == obj.getBindCellIndex("body","execrid1") || e.col == obj.getBindCellIndex("body","specdrid")
  6507. || e.col == obj.getBindCellIndex("body","excuroomcd") || e.col == obj.getBindCellIndex("body","insukind")
  6508. || e.col == obj.getBindCellIndex("body","selectdrid")
  6509. )) return;
  6510. //상단정보 초기화
  6511. appf_delPatientInfos();
  6512. ds_grd_ordlist1.rowposition = e.row;
  6513. for ( var i = 0; i < ds_grd_ordlist1.rowcount; i++) {
  6514. ds_grd_ordlist1.setColumn(i,"check", "0");
  6515. }
  6516. ds_grd_ordlist1.selectRow(e.row,true);
  6517. grd_ordlist1_selectedRows = grdf_getSelectedRows(grp_body.group2.switch1.case1.grd_ordlist1);
  6518. for ( var i =0 ; i< grd_ordlist1_selectedRows.length;i++){
  6519. ds_grd_ordlist1.setColumn(grd_ordlist1_selectedRows[i],"check", "1");
  6520. }
  6521. //20130925 초음파급비변경에 따른 안내메시지
  6522. // 2013.10.01일자 적용. 중증,희귀난치성환자 + 초음파 검사
  6523. if(grd_ordlist1_selectedRows.length == 1 ){
  6524. //다른 검사실 선택시 달력조회
  6525. if( ds_send_data.getColumn(0,"excuroomcd") != ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"excuroomcd") ) {
  6526. ds_send_data.setColumn(0,"excuroomcd",ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"excuroomcd"));
  6527. initCalendar();
  6528. getRsrvPossTm(grp_body.grd_calendar);
  6529. setCurrentDate();
  6530. }
  6531. //grdf_initGridStyle(grp_body.group5.grd_rsrvlist);
  6532. //예약가능검사실 콤보박스 세팅
  6533. var rsrvpossroomcd = ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"rsrvexcuroomposscd");
  6534. //20140731 선택진료비 제도변경에 대한 알림메시지
  6535. //start
  6536. var pid = ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"pid");
  6537. var prcpdd = ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"prcpdd");
  6538. var execprcpuniqno = ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"execprcpuniqno");
  6539. var execprcpstatcd = ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"execprcpstatcd");
  6540. if ( execprcpstatcd < "610" ) { //실시 미만
  6541. getPrcpRcptCheck("AST", pid, "","", prcpdd, execprcpuniqno );
  6542. }
  6543. //end
  6544. //검사코멘트
  6545. var selectedRows = grdf_getSelectedRows(grp_body.group2.switch1.case1.grd_ordlist1);
  6546. grp_body.group2.tar_excurem.value = ds_grd_ordlist1.getColumn(selectedRows[selectedRows.length - 1],"execrem");
  6547. //환자Comment 조회
  6548. ds_send_data.setColumn(0,"srchpid",ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"pid"));
  6549. ds_send_data.setColumn(0,"orddd", ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"orddd"));
  6550. ds_send_data.setColumn(0,"cretno", ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"cretno"));
  6551. ds_send_data.setColumn(0,"genrflag", ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"prcpgenrflag"));
  6552. ds_send_data.setColumn(0,"prcpno", ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"prcpno"));
  6553. ds_send_data.setColumn(0,"prcpdd", ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"prcpdd"));
  6554. ds_send_data.setColumn(0,"execprcpuniqno",ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"execprcpuniqno"));
  6555. ds_send_data.setColumn(0,"srchrsrvdt", ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"srchrsrvdt"));
  6556. //20180813 처방상태 추가
  6557. ds_send_data.setColumn(0,"execprcpstatcd", ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"execprcpstatcd"));
  6558. //2009-07-13 환자Comment - 처방일자별 환자 Comment 관리 요청 - 기능검사 ITC 임성재 샘 요청(요청번호:2041)
  6559. if (prcpddyn == "Y" ) {
  6560. ds_send_data.setColumn(0,"memorgstddprcpdd", ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"prcpdd"));
  6561. }
  6562. //환자Comment 환자정보 조회
  6563. dsf_createDsRow("ds_send_tmp",
  6564. [{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
  6565. ,{col:"ecgflag", val:ds_send_data.getColumn(0,"ecgflag")}
  6566. ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
  6567. ,{col:"memorgstdd", val:ds_send_data.getColumn(0,"rsrvdd")}
  6568. ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
  6569. ,{col:"orddd", val:ds_send_data.getColumn(0,"orddd")}
  6570. ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"genrflag")}
  6571. ,{col:"prcpcd", val:ds_send_data.getColumn(0,"prcpcd")}
  6572. ,{col:"rsrvposs", val:ds_send_data.getColumn(0,"rsrvposs")}
  6573. ,{col:"prcpno", val:ds_send_data.getColumn(0,"prcpno")}
  6574. ,{col:"prcpdd", val:ds_send_data.getColumn(0,"prcpdd")}
  6575. ,{col:"srchrsrvdt", val:ds_send_data.getColumn(0,"centyn")}
  6576. ,{col:"execprcpuniqno", val:ds_send_data.getColumn(0,"execprcpuniqno")}
  6577. ,{col:"cmtflag", val:ds_send_data.getColumn(0,"cmtflag")}
  6578. ,{col:"memorgstddprcpdd", val:ds_send_data.getColumn(0,"memorgstddprcpdd")}
  6579. ,{col:"hcflag", val:ds_send_data.getColumn(0,"hcflag")}
  6580. ]);
  6581. //환자Comment 환자정보 조회
  6582. var oParam = {};
  6583. oParam.id = "TRAEA01114";
  6584. oParam.service = "examcureacptexecapp.PatRem";
  6585. oParam.method = "reqGetFuncPatRemList";
  6586. oParam.inds = "reqparam=ds_send_tmp";
  6587. 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";
  6588. oParam.async = false;
  6589. oParam.callback = "cf_TRAEA01114";
  6590. tranf_submit(oParam);
  6591. grp_body.div_info.output3.value = "";
  6592. if (!utlf_isNull(ds_patrem_isolinfo.getColumn(0,"isoldispcd"))) {
  6593. grp_body.div_info.output3.value = "확인";
  6594. }
  6595. sysf_setGlobalVariable("gv_pid", ds_send_data.getColumn(0,"srchpid"), "A"); //등록번호 넘기기
  6596. //상단정보가져오기 2012.06.22 by kya
  6597. fTopInfo();
  6598. }
  6599. }
  6600. function grp_body_group2_switch1_case3_grd_ordlist3_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
  6601. {
  6602. obj.updateToDataset(); //변경된 사항을 바로 적용받도록함. 2018.01.24 kya
  6603. if(e.row < 0 || e.col < 0) return;
  6604. obj.setFocus();
  6605. grdf_setSelectedCell(obj, e);
  6606. PopupMenu00.trackPopup(e.screenX,e.screenY);
  6607. return true;
  6608. }
  6609. function grp_body_group2_switch1_case3_grd_ordlist3_oncellclick(obj:Grid, e:GridClickEventInfo)
  6610. {
  6611. if(e.row > -1 && (e.col == obj.getBindCellIndex("body","execrid1") || e.col == obj.getBindCellIndex("body","specdrid")
  6612. || e.col == obj.getBindCellIndex("body","excuroomcd") || e.col == obj.getBindCellIndex("body","insukind")
  6613. || e.col == obj.getBindCellIndex("body","selectdrid") )) return;
  6614. //상단정보 초기화
  6615. appf_delPatientInfos();
  6616. ds_grd_ordlist3.rowposition = e.row;
  6617. for ( var i = 0; i < ds_grd_ordlist3.rowcount; i++) {
  6618. ds_grd_ordlist3.setColumn(i,"check", "0");
  6619. }
  6620. var selectedRows = grdf_getSelectedRows(grp_body.group2.switch1.case3.grd_ordlist3);
  6621. for ( var i =0 ; i< selectedRows.length;i++){
  6622. ds_grd_ordlist3.setColumn(selectedRows[i],"check", "1");
  6623. }
  6624. if(selectedRows.length == 1 ){
  6625. //다른 검사실 선택시 달력조회
  6626. if( ds_send_data.getColumn(0,"excuroomcd") != ds_grd_ordlist3.getColumn(selectedRows[0],"excuroomcd") ) {
  6627. ds_send_data.setColumn(0,"excuroomcd",ds_grd_ordlist3.getColumn(selectedRows[0],"excuroomcd"));
  6628. initCalendar();
  6629. getRsrvPossTm(grp_body.grd_calendar);
  6630. setCurrentDate();
  6631. }
  6632. //grdf_initGridStyle(grp_body.group5.grd_rsrvlist);
  6633. //20140731 선택진료비 제도변경에 대한 알림메시지
  6634. //start
  6635. var pid = ds_grd_ordlist3.getColumn(selectedRows[0],"pid");
  6636. var prcpdd = ds_grd_ordlist3.getColumn(selectedRows[0],"prcpdd");
  6637. var execprcpuniqno = ds_grd_ordlist3.getColumn(selectedRows[0],"execprcpuniqno");
  6638. var execprcpstatcd = ds_grd_ordlist3.getColumn(selectedRows[0],"execprcpstatcd");
  6639. if ( execprcpstatcd < "610" && e.col <> obj.getBindCellIndex("body","selectdrid") ) { //실시 미만
  6640. getPrcpRcptCheck("AST", pid, "","", prcpdd, execprcpuniqno );
  6641. }
  6642. //end
  6643. //처방Comment
  6644. //검사코멘트
  6645. grp_body.group2.tar_excurem.value = ds_grd_ordlist3.getColumn(selectedRows[0],"execrem");
  6646. //환자Comment 조회
  6647. ds_send_data.setColumn(0,"srchpid",ds_grd_ordlist3.getColumn(selectedRows[0],"pid"));
  6648. ds_send_data.setColumn(0,"orddd", ds_grd_ordlist3.getColumn(selectedRows[0],"orddd"));
  6649. ds_send_data.setColumn(0,"cretno", ds_grd_ordlist3.getColumn(selectedRows[0],"cretno"));
  6650. ds_send_data.setColumn(0,"genrflag", ds_grd_ordlist3.getColumn(selectedRows[0],"prcpgenrflag"));
  6651. ds_send_data.setColumn(0,"prcpno", ds_grd_ordlist3.getColumn(selectedRows[0],"prcpno"));
  6652. ds_send_data.setColumn(0,"prcpdd", ds_grd_ordlist3.getColumn(selectedRows[0],"prcpdd"));
  6653. ds_send_data.setColumn(0,"execprcpuniqno", ds_grd_ordlist3.getColumn(selectedRows[0],"execprcpuniqno"));
  6654. ds_send_data.setColumn(0,"srchrsrvdt", ds_grd_ordlist3.getColumn(selectedRows[0],"srchrsrvdt"));
  6655. //20180813 처방상태 추가
  6656. ds_send_data.setColumn(0,"execprcpstatcd", ds_grd_ordlist3.getColumn(selectedRows[0],"execprcpstatcd"));
  6657. //2009-07-13 환자Comment - 처방일자별 환자 Comment 관리 요청 - 기능검사 ITC 임성재 샘 요청(요청번호:2041)
  6658. if (prcpddyn == "Y" ) {
  6659. ds_send_data.setColumn(0,"memorgstddprcpdd", ds_grd_ordlist3.getColumn(selectedRows[0],"prcpdd"));
  6660. }
  6661. //환자Comment 환자정보 조회
  6662. dsf_createDsRow("ds_send_tmp",
  6663. [{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
  6664. ,{col:"ecgflag", val:ds_send_data.getColumn(0,"ecgflag")}
  6665. ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
  6666. ,{col:"memorgstdd", val:ds_send_data.getColumn(0,"rsrvdd")}
  6667. ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
  6668. ,{col:"orddd", val:ds_send_data.getColumn(0,"orddd")}
  6669. ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"genrflag")}
  6670. ,{col:"prcpcd", val:ds_send_data.getColumn(0,"prcpcd")}
  6671. ,{col:"rsrvposs", val:ds_send_data.getColumn(0,"rsrvposs")}
  6672. ,{col:"prcpno", val:ds_send_data.getColumn(0,"prcpno")}
  6673. ,{col:"prcpdd", val:ds_send_data.getColumn(0,"prcpdd")}
  6674. ,{col:"srchrsrvdt", val:ds_send_data.getColumn(0,"centyn")}
  6675. ,{col:"execprcpuniqno", val:ds_send_data.getColumn(0,"execprcpuniqno")}
  6676. ,{col:"cmtflag", val:ds_send_data.getColumn(0,"cmtflag")}
  6677. ,{col:"memorgstddprcpdd", val:ds_send_data.getColumn(0,"memorgstddprcpdd")}
  6678. ,{col:"hcflag", val:ds_send_data.getColumn(0,"hcflag")}
  6679. ]);
  6680. //환자Comment 환자정보 조회
  6681. var oParam = {};
  6682. oParam.id = "TRAEA01114";
  6683. oParam.service = "examcureacptexecapp.PatRem";
  6684. oParam.method = "reqGetFuncPatRemList";
  6685. oParam.inds = "reqparam=ds_send_tmp";
  6686. 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";
  6687. oParam.async = false;
  6688. oParam.callback = "cf_TRAEA01114";
  6689. tranf_submit(oParam);
  6690. grp_body.div_info.output3.value = "";
  6691. if (!utlf_isNull(ds_patrem_isolinfo.getColumn(0,"isoldispcd"))) {
  6692. grp_body.div_info.output3.value = "확인";
  6693. }
  6694. //2012.06.22 상단정보올리기 by kya
  6695. fTopInfo();
  6696. sysf_setGlobalVariable("gv_pid", ds_send_data.getColumn(0,"srchpid"), "A"); //등록번호 넘기기
  6697. }
  6698. }
  6699. function grp_body_group2_switch1_case4_grd_ordlist4_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
  6700. {
  6701. obj.updateToDataset(); //변경된 사항을 바로 적용받도록함. 2018.01.24 kya
  6702. if(e.row < 0 || e.col < 0) return;
  6703. obj.setFocus();
  6704. grdf_setSelectedCell(obj, e);
  6705. this.PopupMenu03.trackPopup(e.screenX,e.screenY);
  6706. return true;
  6707. }
  6708. function grp_body_group2_switch1_case4_grd_ordlist4_oncellclick(obj:Grid, e:GridClickEventInfo)
  6709. {
  6710. if(e.row > -1 && (e.col == obj.getBindCellIndex("body","excuroomcd") || e.col == obj.getBindCellIndex("body","specdrid") || e.col == obj.getBindCellIndex("body","insukind"))) return;
  6711. //상단정보 초기화
  6712. appf_delPatientInfos();
  6713. ds_grd_ordlist4.rowposition = e.row;
  6714. for ( var i = 0; i < ds_grd_ordlist4.rowcount; i++) {
  6715. ds_grd_ordlist4.setColumn(i, "check", "0");
  6716. }
  6717. var selectedRows = grdf_getSelectedRows(grp_body.group2.switch1.case4.grd_ordlist4);
  6718. for ( var i =0 ; i< selectedRows.length;i++){
  6719. ds_grd_ordlist4.setColumn(selectedRows[i],"check", "1");
  6720. }
  6721. if(selectedRows.length == 1 ){
  6722. //다른 검사실 선택시 달력조회
  6723. if( ds_send_data.getColumn(0,"excuroomcd") != ds_grd_ordlist4.getColumn(selectedRows[0],"excuroomcd") ) {
  6724. ds_send_data.setColumn(0,"excuroomcd",ds_grd_ordlist4.getColumn(selectedRows[0],"excuroomcd"));
  6725. initCalendar();
  6726. getRsrvPossTm(grp_body.grd_calendar);
  6727. setCurrentDate();
  6728. //grdf_initGridStyle(grp_body.group5.grd_rsrvlist);
  6729. }
  6730. //20140731 선택진료비 제도변경에 대한 알림메시지
  6731. //start
  6732. var pid = ds_grd_ordlist4.getColumn(selectedRows[0],"pid");
  6733. var prcpdd = ds_grd_ordlist4.getColumn(selectedRows[0],"prcpdd");
  6734. var execprcpuniqno = ds_grd_ordlist4.getColumn(selectedRows[0],"execprcpuniqno");
  6735. var execprcpstatcd = ds_grd_ordlist4.getColumn(selectedRows[0],"execprcpstatcd");
  6736. if ( execprcpstatcd < "610" ) { //실시 미만
  6737. getPrcpRcptCheck("AST", pid, "","", prcpdd, execprcpuniqno );
  6738. }
  6739. //end
  6740. //처방Comment
  6741. //model.setValue("/root/hidden/comment1/prcpdelivefact", model.getValue("/root/main/ordlist4/mainordlist["+grd_ordlist4.selectedRow(grd_ordlist4.selectedRows-1)+"]/prcpdelivefact"));
  6742. //검사코멘트
  6743. grp_body.group2.tar_excurem.value = ds_grd_ordlist4.getColumn(selectedRows[0],"execrem");
  6744. //환자Comment 조회
  6745. ds_send_data.setColumn(0,"srchpid",ds_grd_ordlist4.getColumn(selectedRows[0],"pid"));
  6746. ds_send_data.setColumn(0,"orddd", ds_grd_ordlist4.getColumn(selectedRows[0],"orddd"));
  6747. ds_send_data.setColumn(0,"genrflag", ds_grd_ordlist4.getColumn(selectedRows[0],"prcpgenrflag"));
  6748. ds_send_data.setColumn(0,"prcpno", ds_grd_ordlist4.getColumn(selectedRows[0],"prcpno"));
  6749. ds_send_data.setColumn(0,"prcpdd", ds_grd_ordlist4.getColumn(selectedRows[0],"prcpdd"));
  6750. ds_send_data.setColumn(0,"execprcpuniqno", ds_grd_ordlist4.getColumn(selectedRows[0],"execprcpuniqno"));
  6751. ds_send_data.setColumn(0,"srchrsrvdt", ds_grd_ordlist4.getColumn(selectedRows[0],"srchrsrvdt"));
  6752. //20180813 처방상태 추가
  6753. ds_send_data.setColumn(0,"execprcpstatcd", ds_grd_ordlist4.getColumn(selectedRows[0],"execprcpstatcd"));
  6754. //2009-07-13 환자Comment - 처방일자별 환자 Comment 관리 요청 - 기능검사 ITC 임성재 샘 요청(요청번호:2041)
  6755. if (prcpddyn == "Y" ) {
  6756. ds_send_data.setColumn(0,"memorgstddprcpdd", ds_grd_ordlist4.getColumn(selectedRows[0],"prcpdd"));
  6757. }
  6758. //환자Comment 환자정보 조회
  6759. dsf_createDsRow("ds_send_tmp",
  6760. [{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
  6761. ,{col:"ecgflag", val:ds_send_data.getColumn(0,"ecgflag")}
  6762. ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
  6763. ,{col:"memorgstdd", val:ds_send_data.getColumn(0,"rsrvdd")}
  6764. ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
  6765. ,{col:"orddd", val:ds_send_data.getColumn(0,"orddd")}
  6766. ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"genrflag")}
  6767. ,{col:"prcpcd", val:ds_send_data.getColumn(0,"prcpcd")}
  6768. ,{col:"rsrvposs", val:ds_send_data.getColumn(0,"rsrvposs")}
  6769. ,{col:"prcpno", val:ds_send_data.getColumn(0,"prcpno")}
  6770. ,{col:"prcpdd", val:ds_send_data.getColumn(0,"prcpdd")}
  6771. ,{col:"srchrsrvdt", val:ds_send_data.getColumn(0,"centyn")}
  6772. ,{col:"execprcpuniqno", val:ds_send_data.getColumn(0,"execprcpuniqno")}
  6773. ,{col:"cmtflag", val:ds_send_data.getColumn(0,"cmtflag")}
  6774. ,{col:"memorgstddprcpdd", val:ds_send_data.getColumn(0,"memorgstddprcpdd")}
  6775. ,{col:"hcflag", val:ds_send_data.getColumn(0,"hcflag")}
  6776. ]);
  6777. //환자Comment 환자정보 조회
  6778. var oParam = {};
  6779. oParam.id = "TRAEA01114";
  6780. oParam.service = "examcureacptexecapp.PatRem";
  6781. oParam.method = "reqGetFuncPatRemList";
  6782. oParam.inds = "reqparam=ds_send_tmp";
  6783. 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";
  6784. oParam.async = false;
  6785. oParam.callback = "cf_TRAEA01114";
  6786. tranf_submit(oParam);
  6787. grp_body.div_info.output3.value = "";
  6788. if (!utlf_isNull(ds_patrem_isolinfo.getColumn(0,"isoldispcd"))) {
  6789. grp_body.div_info.output3.value = "확인";
  6790. }
  6791. //2012.06.22 상단정보올리기 by kya
  6792. fTopInfo();
  6793. sysf_setGlobalVariable("gv_pid", ds_send_data.getColumn(0,"srchpid"), "A"); //등록번호 넘기기
  6794. }
  6795. }
  6796. function grp_body_group2_switch1_case6_grd_ordlist6_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
  6797. {
  6798. obj.updateToDataset(); //변경된 사항을 바로 적용받도록함. 2018.01.24 kya
  6799. if(e.row < 0 || e.col < 0) return;
  6800. obj.setFocus();
  6801. grdf_setSelectedCell(obj, e);
  6802. //this.PopupMenu03.trackPopup(e.screenX,e.screenY);
  6803. this.PopupMenu00.trackPopup(e.screenX,e.screenY); //20180119 수정PopupMenu03 -> PopupMenu00
  6804. return true;
  6805. }
  6806. function grp_body_group2_switch1_case6_grd_ordlist6_oncellclick(obj:Grid, e:GridClickEventInfo)
  6807. {
  6808. if(e.row > -1 && ( e.col == obj.getBindCellIndex("body","execrid1") || e.col == obj.getBindCellIndex("body","specdrid") || e.col == obj.getBindCellIndex("body","rsrvid")
  6809. || e.col == obj.getBindCellIndex("body","excuroomcd") || e.col == obj.getBindCellIndex("body","insukind"))) return;
  6810. //상단정보 초기화
  6811. appf_delPatientInfos();
  6812. ds_grd_ordlist6.rowposition = e.row;
  6813. for ( var i = 0; i < ds_grd_ordlist6.rowcount; i++) {
  6814. ds_grd_ordlist6.setColumn(i, "check", "0");
  6815. }
  6816. var selectedRows = grdf_getSelectedRows(grp_body.group2.switch1.case6.grd_ordlist6);
  6817. for ( var i =0 ; i< selectedRows.length;i++){
  6818. ds_grd_ordlist6.setColumn(selectedRows[i],"check", "1");
  6819. }
  6820. if(selectedRows.length == 1 ){
  6821. //다른 검사실 선택시 달력조회
  6822. if( ds_send_data.getColumn(0,"excuroomcd") != ds_grd_ordlist6.getColumn(selectedRows[0],"excuroomcd") ) {
  6823. ds_send_data.setColumn(0,"excuroomcd",ds_grd_ordlist6.getColumn(selectedRows[0],"excuroomcd"));
  6824. initCalendar();
  6825. getRsrvPossTm(grp_body.grd_calendar);
  6826. setCurrentDate();
  6827. //grdf_initGridStyle(grp_body.group5.grd_rsrvlist);
  6828. }
  6829. //예약가능검사실 콤보박스 세팅
  6830. var rsrvpossroomcd = ds_grd_ordlist6.getColumn(selectedRows[0],"rsrvexcuroomposscd");
  6831. //20140731 선택진료비 제도변경에 대한 알림메시지
  6832. //start
  6833. var pid = ds_grd_ordlist6.getColumn(selectedRows[0],"pid");
  6834. var prcpdd = ds_grd_ordlist6.getColumn(selectedRows[0],"prcpdd");
  6835. var execprcpuniqno = ds_grd_ordlist6.getColumn(selectedRows[0],"execprcpuniqno");
  6836. //trace("col =" + e.col);
  6837. var execprcpstatcd = ds_grd_ordlist6.getColumn(selectedRows[0],"execprcpstatcd");
  6838. if ( execprcpstatcd < "610" ) { //실시 미만
  6839. getPrcpRcptCheck("AST", pid, "","", prcpdd, execprcpuniqno );
  6840. }
  6841. //end
  6842. //처방Comment
  6843. // model.setValue("/root/hidden/comment1/prcpdelivefact", model.getValue("/root/main/ordlist6/mainordlist["+grd_ordlist6.selectedRow(grd_ordlist6.selectedRows-1)+"]/prcpdelivefact"));
  6844. //검사코멘트
  6845. grp_body.group2.tar_excurem.value = ds_grd_ordlist6.getColumn(selectedRows[0],"execrem");
  6846. //환자Comment 조회
  6847. ds_send_data.setColumn(0,"srchpid",ds_grd_ordlist6.getColumn(selectedRows[0],"pid"));
  6848. ds_send_data.setColumn(0,"orddd", ds_grd_ordlist6.getColumn(selectedRows[0],"orddd"));
  6849. ds_send_data.setColumn(0,"cretno", ds_grd_ordlist6.getColumn(selectedRows[0],"cretno"));
  6850. ds_send_data.setColumn(0,"genrflag", ds_grd_ordlist6.getColumn(selectedRows[0],"prcpgenrflag"));
  6851. ds_send_data.setColumn(0,"prcpno", ds_grd_ordlist6.getColumn(selectedRows[0],"prcpno"));
  6852. ds_send_data.setColumn(0,"prcpdd", ds_grd_ordlist6.getColumn(selectedRows[0],"prcpdd"));
  6853. ds_send_data.setColumn(0,"execprcpuniqno", ds_grd_ordlist6.getColumn(selectedRows[0],"execprcpuniqno"));
  6854. ds_send_data.setColumn(0,"srchrsrvdt", ds_grd_ordlist6.getColumn(selectedRows[0],"srchrsrvdt"));
  6855. //20180813 처방상태 추가
  6856. ds_send_data.setColumn(0,"execprcpstatcd", ds_grd_ordlist6.getColumn(selectedRows[0],"execprcpstatcd"));
  6857. //2009-07-13 환자Comment - 처방일자별 환자 Comment 관리 요청 - 기능검사 ITC 임성재 샘 요청(요청번호:2041)
  6858. if (prcpddyn == "Y" ) {
  6859. ds_send_data.setColumn(0,"memorgstddprcpdd", ds_grd_ordlist6.getColumn(selectedRows[0],"prcpdd"));
  6860. }
  6861. //환자Comment 환자정보 조회
  6862. dsf_createDsRow("ds_send_tmp",
  6863. [{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
  6864. ,{col:"ecgflag", val:ds_send_data.getColumn(0,"ecgflag")}
  6865. ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
  6866. ,{col:"memorgstdd", val:ds_send_data.getColumn(0,"rsrvdd")}
  6867. ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
  6868. ,{col:"orddd", val:ds_send_data.getColumn(0,"orddd")}
  6869. ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"genrflag")}
  6870. ,{col:"prcpcd", val:ds_send_data.getColumn(0,"prcpcd")}
  6871. ,{col:"rsrvposs", val:ds_send_data.getColumn(0,"rsrvposs")}
  6872. ,{col:"prcpno", val:ds_send_data.getColumn(0,"prcpno")}
  6873. ,{col:"prcpdd", val:ds_send_data.getColumn(0,"prcpdd")}
  6874. ,{col:"srchrsrvdt", val:ds_send_data.getColumn(0,"centyn")}
  6875. ,{col:"execprcpuniqno", val:ds_send_data.getColumn(0,"execprcpuniqno")}
  6876. ,{col:"cmtflag", val:ds_send_data.getColumn(0,"cmtflag")}
  6877. ,{col:"memorgstddprcpdd", val:ds_send_data.getColumn(0,"memorgstddprcpdd")}
  6878. ,{col:"hcflag", val:ds_send_data.getColumn(0,"hcflag")}
  6879. ]);
  6880. //환자Comment 환자정보 조회
  6881. var oParam = {};
  6882. oParam.id = "TRAEA01114";
  6883. oParam.service = "examcureacptexecapp.PatRem";
  6884. oParam.method = "reqGetFuncPatRemList";
  6885. oParam.inds = "reqparam=ds_send_tmp";
  6886. 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";
  6887. oParam.async = false;
  6888. oParam.callback = "cf_TRAEA01114";
  6889. tranf_submit(oParam);
  6890. grp_body.div_info.output3.value = "";
  6891. if (!utlf_isNull(ds_patrem_isolinfo.getColumn(0,"isoldispcd"))) {
  6892. grp_body.div_info.output3.value = "확인";
  6893. }
  6894. //2012.06.22 상단정보올리기 by kya
  6895. fTopInfo();
  6896. }
  6897. }
  6898. function grp_body_group2_btn_exec_onclick(obj:Button, e:ClickEventInfo)
  6899. {
  6900. var loopcnt="";
  6901. var execncl="";
  6902. var ds_grid ;
  6903. var grd;
  6904. var execdd="";
  6905. if ( grp_body.group2.switch1.tabindex == 0 ) {
  6906. ds_grid = ds_grd_ordlist1;
  6907. grd = ds_grd_ordlist1.rowcount;
  6908. for(var i=0 ; i < ds_grd_ordlist1.rowcount ; i++) {
  6909. if( ds_grd_ordlist1.getColumn(i,"check") == "1") {
  6910. if(ds_grd_ordlist1.getColumn(i,"execbaseflag") != "A" ){
  6911. sysf_messageBox("실시기준이 잘못","E005", "기준자료의 실시기준을 [접수]로 수정하여 주십시오!");
  6912. return;
  6913. }
  6914. //2010.12.23 미예약처방 실시할수 있게 주석 처리 - 박재영
  6915. //if( model.getValue("/root/main/ordlist1/mainordlist["+i+"]/srchrsrvdt") == "" && model.getValue("/root/main/ordlist1/mainordlist["+i+"]/unrsrvexecyn") == "N" ) { //unrsrvexecyn : Y 미예약검사, N 예약검사 ( ast.aebmcode - A0010 )
  6916. // messageBox("미예약 처방은 실시","E001","예약 후 실시하십시오!");
  6917. // return;
  6918. //}
  6919. if( (ds_grd_ordlist1.getColumn(i,"srchrsrvdt") != "" ) && (ds_grd_ordlist1.getColumn(i,"srchrsrvdt") > (utlf_getCurrentDate()+"999999") ) ){
  6920. sysf_messageBox("미래예약은 실시","E001","예약일자를 당일로 변경 후 실시하십시오!");
  6921. return;
  6922. }
  6923. if(ds_grd_ordlist1.getColumn(i,"execprcpstatcd") == "610" ){
  6924. sysf_messageBox("실시완료 상태가","E005");
  6925. return;
  6926. }
  6927. if(ds_grd_ordlist1.getColumn(i,"execprcpstatcd") > "610" ){
  6928. sysf_messageBox("예비결과/최종결과 상태가","E005");
  6929. return;
  6930. }
  6931. ds_grd_ordlist1.setColumn(i,"execrem", grp_body.group2.tar_excurem.value );
  6932. }
  6933. }
  6934. }
  6935. if ( grp_body.group2.switch1.tabindex == 1 ) {
  6936. grd = ds_grd_ordlist4.rowcount;
  6937. ds_grid = ds_grd_ordlist4;
  6938. for(var i=0 ; i < ds_grd_ordlist4.rowcount ; i++) {
  6939. if( ds_grd_ordlist4.getColumn(i,"check") == "1") {
  6940. if(ds_grd_ordlist4.getColumn(i,"execbaseflag") != "A" ){
  6941. sysf_messageBox("실시기준이 잘못","E005", "기준자료의 실시기준을 [접수]로 수정하여 주십시오!");
  6942. return;
  6943. }
  6944. if( (ds_grd_ordlist4.getColumn(i,"srchrsrvdt") != "" ) && (ds_grd_ordlist4.getColumn(i,"srchrsrvdt") > (utlf_getCurrentDate()+"999999") ) ){
  6945. sysf_messageBox("미래예약은 실시","E001","예약일자를 당일로 변경 후 실시하십시오!");
  6946. return;
  6947. }
  6948. if(ds_grd_ordlist4.getColumn(i,"execprcpstatcd") == "610" ){
  6949. sysf_messageBox("실시완료 상태가","E005");
  6950. return;
  6951. }
  6952. if(ds_grd_ordlist4.getColumn(i,"execprcpstatcd") > "610" ){
  6953. sysf_messageBox("예비결과/최종결과 상태가","E005");
  6954. return;
  6955. }
  6956. //검사Comment 저장
  6957. ds_grd_ordlist4.setColumn(i,"execrem", grp_body.group2.tar_excurem.value );
  6958. }
  6959. }
  6960. }
  6961. if ( grp_body.group2.switch1.tabindex == 2 ) {
  6962. grd = ds_grd_ordlist6.rowcount;
  6963. ds_grid = ds_grd_ordlist6;
  6964. for(var i=0 ; i < ds_grd_ordlist6.rowcount ; i++) {
  6965. if( ds_grd_ordlist6.getColumn(i,"check") == "1") {
  6966. if(ds_grd_ordlist6.getColumn(i,"execbaseflag") != "A" ){
  6967. sysf_messageBox("실시기준이 잘못","E005", "기준자료의 실시기준을 [접수]로 수정하여 주십시오!");
  6968. return;
  6969. }
  6970. //2010.12.23 미예약처방 실시할수 있게 주석 처리 - 박재영
  6971. //if( model.getValue("/root/main/ordlist6/mainordlist["+i+"]/srchrsrvdt") == "" && model.getValue("/root/main/ordlist6/mainordlist["+i+"]/unrsrvexecyn") == "N" ) { //unrsrvexecyn : Y 미예약검사, N 예약검사 ( ast.aebmcode - A0010 )
  6972. // messageBox("미예약 처방은 실시","E001","예약 후 실시하십시오!");
  6973. // return;
  6974. //}
  6975. if( ( ds_grd_ordlist6.getColumn(i,"srchrsrvdt") != "" ) && (ds_grd_ordlist6.getColumn(i,"srchrsrvdt") > (utlf_getCurrentDate()+"999999") ) ){
  6976. sysf_messageBox("미래예약은 실시","E001","예약일자를 당일로 변경 후 실시하십시오!");
  6977. return;
  6978. }
  6979. if(ds_grd_ordlist6.getColumn(i,"execprcpstatcd") == "610" ){
  6980. sysf_messageBox("실시완료 상태가","E005");
  6981. return;
  6982. }
  6983. if(ds_grd_ordlist6.getColumn(i,"execprcpstatcd") > "610" ){
  6984. sysf_messageBox("예비결과/최종결과 상태가","E005");
  6985. return;
  6986. }
  6987. //검사Comment 저장
  6988. ds_grd_ordlist6.setColumn(i,"execrem", grp_body.group2.tar_excurem.value );
  6989. }
  6990. }
  6991. }
  6992. if ( grp_body.group2.switch1.tabindex != 0 && grp_body.group2.switch1.tabindex != 1 && grp_body.group2.switch1.tabindex != 2) {
  6993. // 2010.12.29 c y w
  6994. grd = ds_grd_ordlist3.rowcount;
  6995. ds_grid = ds_grd_ordlist3;
  6996. // list = "ordlist1";
  6997. // grd = grd_ordlist1.rows;
  6998. for(var i=0 ; i < ds_grd_ordlist3.rowcount ; i++) {
  6999. if(ds_grd_ordlist3.getColumn(i,"check") == "1") {
  7000. if(ds_grd_ordlist3.getColumn(i,"execbaseflag") != "A" ){
  7001. sysf_messageBox("실시기준이 잘못","E005", "기준자료의 실시기준을 [접수]로 수정하여 주십시오!");
  7002. return;
  7003. }
  7004. //2010.12.23 미예약처방 실시할수 있게 주석 처리 - 박재영
  7005. //if( model.getValue("/root/main/ordlist1/mainordlist["+i+"]/srchrsrvdt") == "" && model.getValue("/root/main/ordlist1/mainordlist["+i+"]/unrsrvexecyn") == "N" ) { //unrsrvexecyn : Y 미예약검사, N 예약검사 ( ast.aebmcode - A0010 )
  7006. // messageBox("미예약 처방은 실시","E001","예약 후 실시하십시오!");
  7007. // return;
  7008. //}
  7009. if( ( ds_grd_ordlist3.getColumn(i,"srchrsrvdt") != "" ) && (ds_grd_ordlist3.getColumn(i,"srchrsrvdt") > (utlf_getCurrentDate()+"999999") ) ){
  7010. sysf_messageBox("미래예약은 실시","E001","예약일자를 당일로 변경 후 실시하십시오!");
  7011. return;
  7012. }
  7013. if(ds_grd_ordlist3.getColumn(i,"execprcpstatcd") == "610" ){
  7014. sysf_messageBox("실시완료 상태가","E005");
  7015. return;
  7016. }
  7017. if(ds_grd_ordlist3.getColumn(i,"execprcpstatcd") > "610" ){
  7018. sysf_messageBox("예비결과/최종결과 상태가","E005");
  7019. return;
  7020. }
  7021. //검사Comment 저장
  7022. ds_grd_ordlist3.setColumn(i,"execrem", grp_body.group2.tar_excurem.value);
  7023. }
  7024. }
  7025. }
  7026. for( var i = 0 ; i < grd ; i++ ) {
  7027. if ( ds_grid.getColumn(i,"check") == "1" ) {
  7028. loopcnt++;
  7029. if( ds_grid.getColumn(i,"execdd") == utlf_getCurrentDate() )
  7030. {
  7031. sysf_messageBox("예약일자가 당일이 아닌 처방이 선택되었습니다.","Q003");
  7032. return;
  7033. }
  7034. }
  7035. }
  7036. if ( loopcnt == 0 ) {
  7037. sysf_messageBox("처방이 선택되지 ", "E007");
  7038. return;
  7039. }
  7040. var grid ="";
  7041. if(tabgubn == "M" || tabgubn == "L" )
  7042. grid = "ds_grd_ordlist1";
  7043. if(tabgubn == "R")
  7044. grid = "ds_grd_ordlist6";
  7045. if(tabgubn == "T")
  7046. grid = "ds_grd_ordlist4";
  7047. //2010.12.29 대상자조회 액팅후 조회 - 박재영
  7048. if(tabgubn == "D")
  7049. grid = "ds_grd_ordlist3";
  7050. var rtn = ExeAccept(tabgubn,grid);
  7051. if(tabgubn == "M") {
  7052. ds_send_data.setColumn(0,"srchpid","");
  7053. acptlistflag=tabgubn;
  7054. fGetExamCureAcptList(); // 전체처방
  7055. }
  7056. if(tabgubn == "R") {
  7057. ds_send_data.setColumn(0,"srchpid","");
  7058. acptlistflag=tabgubn;
  7059. fGetExamCureAcptList(); // 미예약
  7060. }
  7061. if(tabgubn == "T") {
  7062. ds_send_data.setColumn(0,"srchpid","");
  7063. acptlistflag=tabgubn;
  7064. fGetExamCureAcptList(); // 검사완료
  7065. }
  7066. if(tabgubn == "L") {
  7067. acptlistflag=tabgubn;
  7068. fGetExamCureAcptList(); // 이력
  7069. }
  7070. //2010.12.29 대상자조회 액팅후 조회 - 박재영
  7071. if(tabgubn == "D") {
  7072. var ev = new ClickEventInfo;
  7073. frmf_inputEnterKey("grp_body.group2.button6", "onclick", ev );
  7074. return;
  7075. }
  7076. initCalendar();
  7077. getRsrvPossTm(grp_body.grd_calendar);
  7078. setCurrentDate();
  7079. //grdf_initGridStyle(grp_body.group5.grd_rsrvlist);
  7080. //data 클리어
  7081. dataClear();
  7082. }
  7083. function grp_body_group2_btn_patcmtsave_onclick(obj:Button, e:ClickEventInfo)
  7084. {
  7085. var ds_grid ;
  7086. var grd;
  7087. if ( grp_body.group2.switch1.tabindex == 0 ) {
  7088. ds_grid = ds_grd_ordlist1;
  7089. grd = ds_grd_ordlist1.rowcount;
  7090. }else if ( grp_body.group2.switch1.tabindex == 1 ) {
  7091. ds_grid = ds_grd_ordlist4;
  7092. grd = ds_grd_ordlist4.rowcount;
  7093. }else if ( grp_body.group2.switch1.tabindex == 2 ) {
  7094. ds_grid = ds_grd_ordlist6;
  7095. grd = ds_grd_ordlist6.rowcount;
  7096. }else {
  7097. ds_grid = ds_grd_ordlist3;
  7098. grd = ds_grd_ordlist3.rowcount;
  7099. }
  7100. //var nodeList = dutplcecd.selectNodes("/root/main/"+ list +"/mainordlist[check='true' ]");
  7101. //var rCSV = getNodeListCSV(nodeList);
  7102. var tempcnt = ds_grid.getCaseCount("check=='1'");
  7103. if ( tempcnt == 0 ) {
  7104. sysf_messageBox("처방을 선택해 주십시오.","I999");
  7105. return "0";
  7106. }
  7107. if ( grp_body.group2.switch1.tabindex == 0 ) { // 전체처방
  7108. for(var i=0; i<ds_grd_ordlist1.rowcount;i++) {
  7109. if(ds_grd_ordlist1.getColumn(i,"check") == "1" ) {
  7110. ds_send_data.setColumn(0,"srchpid",ds_grd_ordlist1.getColumn(i,"pid"));
  7111. }
  7112. }
  7113. }
  7114. else if ( grp_body.group2.switch1.tabindex == 1 ) { // 검사완료
  7115. for(var i=0; i<ds_grd_ordlist4.rowcount;i++) {
  7116. if(ds_grd_ordlist4.getColumn(i,"check") == "1" ) {
  7117. ds_send_data.setColumn(0,"srchpid",ds_grd_ordlist4.getColumn(i,"pid"));
  7118. }
  7119. }
  7120. }
  7121. else if ( grp_body.group2.switch1.tabindex == 2 ) { // 미예약
  7122. for(var i=0; i<ds_grd_ordlist6.rowcount;i++) {
  7123. if(ds_grd_ordlist6.getColumn(i,"check") == "1" ) {
  7124. ds_send_data.setColumn(0,"srchpid",ds_grd_ordlist6.getColumn(i,"pid"));
  7125. }
  7126. }
  7127. }else {
  7128. for(var i=0; i<ds_grd_ordlist3.rowcount;i++) {
  7129. if(ds_grd_ordlist3.getColumn(i,"check") == "1" ) {
  7130. ds_send_data.setColumn(0,"srchpid",ds_grd_ordlist3.getColumn(i,"pid"));
  7131. }
  7132. }
  7133. }
  7134. //2009-07-13 환자Comment - 처방일자별 환자 Comment 관리 요청 - 기능검사 ITC 임성재 샘 요청(요청번호:2041)
  7135. var prcpdd;
  7136. if (prcpddyn == "Y" ) {
  7137. for(var i=0 ; i < grd ; i++) {
  7138. if( ds_grid.getColumn(i,"check") == "1") {
  7139. ds_send_data.setColumn(0,"memorgstddprcpdd", ds_grid.getColumn(i,"prcpdd"));
  7140. }
  7141. }
  7142. }
  7143. ds_send_data.setColumn(0,"patrem", ds_patrem_rem.getColumn(0,"memo"));
  7144. dsf_createDsRow("ds_send_reqparam",
  7145. [{col:"basesuppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
  7146. ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
  7147. ,{col:"memodesc", val:ds_send_data.getColumn(0,"patrem")}
  7148. ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
  7149. ,{col:"memodd", val:ds_send_data.getColumn(0,"rsrvdd")}
  7150. ,{col:"showstartdd", val:"20070707"}
  7151. ,{col:"showenddd", val:"99999999"}
  7152. ,{col:"ecgflag", val:ds_send_data.getColumn(0,"ecgflag")}
  7153. ,{col:"memorgstddprcpdd", val:ds_send_data.getColumn(0,"memorgstddprcpdd")}
  7154. ]);
  7155. var oParam = {};
  7156. oParam.id = "TXAEA01106";
  7157. oParam.service = "examcureacptexecapp.PatRem";
  7158. oParam.method = "reqInsPatRem";
  7159. oParam.inds = "reqparam=ds_send_reqparam";
  7160. oParam.outds = "ds_hidden_item=rtnParm";
  7161. oParam.async = false;
  7162. tranf_submit(oParam);
  7163. if(ds_hidden_item.getColumn(0,"count") > 0){
  7164. sysf_messageBox("정상적으로 ", "I001");
  7165. ds_hidden_item.setColumn(0,"count", "0");
  7166. return;
  7167. }
  7168. //환자Comment 환자정보 조회
  7169. dsf_createDsRow("ds_send_tmp",
  7170. [{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
  7171. ,{col:"ecgflag", val:ds_send_data.getColumn(0,"ecgflag")}
  7172. ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
  7173. ,{col:"memorgstdd", val:ds_send_data.getColumn(0,"rsrvdd")}
  7174. ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
  7175. ,{col:"orddd", val:ds_send_data.getColumn(0,"orddd")}
  7176. ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"genrflag")}
  7177. ,{col:"prcpcd", val:ds_send_data.getColumn(0,"prcpcd")}
  7178. ,{col:"rsrvposs", val:ds_send_data.getColumn(0,"rsrvposs")}
  7179. ,{col:"prcpno", val:ds_send_data.getColumn(0,"prcpno")}
  7180. ,{col:"prcpdd", val:ds_send_data.getColumn(0,"prcpdd")}
  7181. ,{col:"srchrsrvdt", val:ds_send_data.getColumn(0,"centyn")}
  7182. ,{col:"execprcpuniqno", val:ds_send_data.getColumn(0,"execprcpuniqno")}
  7183. ,{col:"cmtflag", val:ds_send_data.getColumn(0,"cmtflag")}
  7184. ,{col:"memorgstddprcpdd", val:ds_send_data.getColumn(0,"memorgstddprcpdd")}
  7185. ,{col:"hcflag", val:ds_send_data.getColumn(0,"hcflag")}
  7186. ]);
  7187. //환자Comment 환자정보 조회
  7188. var oParam = {};
  7189. oParam.id = "TRAEA01114";
  7190. oParam.service = "examcureacptexecapp.PatRem";
  7191. oParam.method = "reqGetFuncPatRemList";
  7192. oParam.inds = "reqparam=ds_send_tmp";
  7193. 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";
  7194. oParam.async = false;
  7195. oParam.callback = "cf_TRAEA01114";
  7196. tranf_submit(oParam);
  7197. grp_body.div_info.output3.value = "";
  7198. if (!utlf_isNull(ds_patrem_isolinfo.getColumn(0,"isoldispcd"))) {
  7199. grp_body.div_info.output3.value = "확인";
  7200. }
  7201. }
  7202. function grp_body_group2_btn_deptmemosave_onclick(obj:Button, e:ClickEventInfo)
  7203. {
  7204. // 코맨트 저장할 날자를 정확히 선택했는지 확인. 월만 선택시 여러건 업데이트 되버림(2010.01.22 박상준)
  7205. var rsrvdd = ds_send_data.getColumn(0,"rsrvdd");
  7206. if (utlf_getStringLength(rsrvdd) != 8) {
  7207. sysf_messageBox("날자를", "C002");
  7208. return;
  7209. }
  7210. var arr = ds_send_data.getColumn(0,"selectexcuroom").split(" ");
  7211. var cnt = arr.length;
  7212. // for(var i = 0 ; i < a.length ; i++) {
  7213. // if(a.substr(i,1) == " " ) {
  7214. // cnt++;
  7215. // }
  7216. // }
  7217. if( 1 < cnt ){
  7218. sysf_messageBox("검사실이 하나 이상","E005", "부서메모를 입력할 검사실만 선택 후 저장하십시오!");
  7219. }else{
  7220. ds_send_data.setColumn(0,"memorem", grp_body.group2.tat_deptmemo.value);
  7221. dsf_createDsRow("ds_send_reqdata",
  7222. [{col:"excuroomcd", val:ds_send_data.getColumn(0,"selectexcuroom")}
  7223. ,{col:"basesuppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
  7224. ,{col:"deptcdflag", val:ds_send_data.getColumn(0,"room")}
  7225. ,{col:"memorem", val:ds_send_data.getColumn(0,"memorem")}
  7226. ,{col:"memodt", val:ds_send_data.getColumn(0,"memodt")}
  7227. ,{col:"memoflag", val:ds_send_data.getColumn(0,"memoflag")}
  7228. ,{col:"prcpcd", val:ds_send_data.getColumn(0,"prcpcd")}
  7229. ]);
  7230. var oParam = {};
  7231. oParam.id = "TXAEA01102";
  7232. oParam.service = "examcurebaseapp.ExamCureCode";
  7233. oParam.method = "reqExeExcuroomMemoCodeList";
  7234. oParam.inds = "req=ds_send_reqdata";
  7235. oParam.outds = "ds_hidden_item=item";
  7236. oParam.async = false;
  7237. tranf_submit(oParam);
  7238. if(ds_hidden_item.getColumn(0,"count") > 0){
  7239. sysf_messageBox("정상적으로 ", "I001");
  7240. ds_hidden_item.setColumn(0,"count", "0");
  7241. return;
  7242. }
  7243. }
  7244. }
  7245. function grp_body_group2_btn_excucmtsave_onclick(obj:Button, e:ClickEventInfo)
  7246. {
  7247. var loop;
  7248. var check;
  7249. var execprcpstatcd;
  7250. var execbaseflag;
  7251. var grd;
  7252. var loopcnt="";
  7253. var execncl="";
  7254. var ds_grid;
  7255. if ( grp_body.group2.switch1.tabindex == 0 ) {
  7256. ds_grid = ds_grd_ordlist1;
  7257. }else if ( grp_body.group2.switch1.tabindex == 1 ) {
  7258. ds_grid = ds_grd_ordlist4;
  7259. }else if ( grp_body.group2.switch1.tabindex == 2 ) {
  7260. ds_grid = ds_grd_ordlist6;
  7261. }else {
  7262. ds_grid = ds_grd_ordlist1;
  7263. }
  7264. for(var i=0 ; i <ds_grid.rowcount ; i++) {
  7265. if( ds_grid.getColumn(i,"check") == "1") {
  7266. if( ds_grid.getColumn(i,"execprcpstatcd") < "610" ) {
  7267. sysf_messageBox("실시완료 처방만 가능합니다.","I999");
  7268. return "0";
  7269. }
  7270. else {
  7271. //검사Comment 저장
  7272. ds_grid.setColumn(i,"execrem", grp_body.group2.tar_excurem.value );
  7273. }
  7274. }
  7275. }
  7276. ds_grid.filter("check=='1'");
  7277. ds_grid.applyChange();
  7278. if ( ds_grid.rowcount == 0 ) {
  7279. sysf_messageBox("처방을 선택해 주십시오.","I999");
  7280. return "0";
  7281. }
  7282. ds_send_tobeacptprcplist.copyData(ds_grid,true);
  7283. var oParam = {};
  7284. oParam.id = "TXAEA01107";
  7285. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  7286. oParam.method = "reqExeExcuActMemoCodeList";
  7287. oParam.inds = "reqparam=ds_send_tobeacptprcplist";
  7288. oParam.outds = "ds_hidden_item=item";
  7289. oParam.async = false;
  7290. oParam.callback = "cf_TXAEA01107";
  7291. tranf_submit(oParam);
  7292. if(ds_hidden_item.getColumn(0,"count") > 0){
  7293. sysf_messageBox("정상적으로 ", "I001");
  7294. ds_hidden_item.setColumn(0,"count", "0");
  7295. return;
  7296. }
  7297. if(tabgubn == "M") {
  7298. ds_send_data.setColumn(0,"srchpid","");
  7299. acptlistflag=tabgubn;
  7300. fGetExamCureAcptList(); // 전체처방
  7301. }
  7302. if(tabgubn == "R") {
  7303. ds_send_data.setColumn(0,"srchpid","");
  7304. acptlistflag=tabgubn;
  7305. fGetExamCureAcptList(); // 미예약
  7306. }
  7307. if(tabgubn == "T") {
  7308. ds_send_data.setColumn(0,"srchpid","");
  7309. acptlistflag=tabgubn;
  7310. fGetExamCureAcptList(); // 검사완료
  7311. }
  7312. if(tabgubn == "L") {
  7313. acptlistflag=tabgubn;
  7314. fGetExamCureAcptList(); // 이력
  7315. }
  7316. }
  7317. function cf_TXAEA01107(sSvcId, nErrorCode, sErrorMsg) {
  7318. if(nErrorCode < 0) return;
  7319. }
  7320. function grp_body_group2_button102_onclick(obj:Button, e:ClickEventInfo)
  7321. {
  7322. var flag = "prcplist";
  7323. grp_body.group5.visible = true;
  7324. fGetWideListX1(grp_body.group2, grp_body.group2.switch1, flag);
  7325. }
  7326. function grp_body_group2_button103_onclick(obj:Button, e:ClickEventInfo)
  7327. {
  7328. var flag = "prcplist";
  7329. grp_body.group5.visible = true;
  7330. if ( grp_body.group2.switch1.tabindex == 0 ) fGetWideListX2(grp_body.group2, grp_body.group2.switch1, grp_body.group2.switch1.case1.grd_ordlist1, flag);
  7331. if ( grp_body.group2.switch1.tabindex == 3 ) fGetWideListX2(grp_body.group2, grp_body.group2.switch1, grp_body.group2.switch1.case3.grd_ordlist3, flag);
  7332. if ( grp_body.group2.switch1.tabindex == 1 ) fGetWideListX2(grp_body.group2, grp_body.group2.switch1, grp_body.group2.switch1.case4.grd_ordlist4, flag);
  7333. if ( grp_body.group2.switch1.tabindex == 2 ) fGetWideListX2(grp_body.group2, grp_body.group2.switch1, grp_body.group2.switch1.case6.grd_ordlist6, flag);
  7334. if( tabgubn == "M" || tabgubn == "D" || tabgubn == "L" ) fGetWideListX2(grp_body.group2, grp_body.group2.switch1, grp_body.group2.switch1.case1.grd_ordlist1, flag);
  7335. }
  7336. function grp_body_group2_rdo_prcpgenrflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  7337. {
  7338. //상단정보 초기화
  7339. appf_delPatientInfos();
  7340. ds_send_data.setColumn(0,"srchpid","");
  7341. if ( grp_body.group2.switch1.tabindex == 0 ) {
  7342. if(utlf_isNull(grp_body.grp_sea.ipt_pid.value)) {
  7343. acptlistflag= "M";
  7344. fGetExamCureAcptList(); // 전체처방
  7345. tabgubn = acptlistflag ;
  7346. }
  7347. else {
  7348. acptlistflag= "L";
  7349. fGetExamCureAcptList(); // 이력
  7350. tabgubn = acptlistflag ;
  7351. }
  7352. }
  7353. if ( grp_body.group2.switch1.tabindex == 1 )
  7354. {
  7355. acptlistflag= "T";
  7356. fGetExamCureAcptList(); // 검사완료
  7357. }
  7358. if ( grp_body.group2.switch1.tabindex == 2 )
  7359. {
  7360. acptlistflag= "R";
  7361. fGetExamCureAcptList(); // 미예약
  7362. }
  7363. if( tabgubn == "D" ) {
  7364. var curDate = utlf_getCurrentDate().substr(0,8); //오늘날짜
  7365. ds_send_data.setColumn(0,"srchdate1",curDate);
  7366. ds_send_data.setColumn(0,"srchdate2",curDate);
  7367. ds_send_data.setColumn(0,"srchpid","");
  7368. grp_body.grp_sea.cmb_term.value = 0;
  7369. grp_body.group2.switch1.tabindex = 0;
  7370. ds_send_data.setColumn(0,"acptlistflag", "R");
  7371. call_TRAEA01135();
  7372. }
  7373. initCalendar();
  7374. setCurrentDate();
  7375. }
  7376. function grp_body_group2_button6_onclick(obj:Button, e:ClickEventInfo)
  7377. {
  7378. if(ds_send_data.getColumn(0,"selectexcuroom") == " ") {
  7379. sysf_messageBox("검사실 선택되지 ", "E007");
  7380. return;
  7381. }
  7382. //data 클리어
  7383. dataClear();
  7384. //상단정보 초기화
  7385. appf_delPatientInfos();
  7386. //검사실명 뿌려주기
  7387. grp_body.grp_sea.opt_excuroom.value = grp_body.chk_excuroom.getLableData();
  7388. //검사실 체크박스 감추기
  7389. ds_send_data.setColumn(0,"selectexcuroom",String(grp_body.chk_excuroom.getData()).replace(","," "));
  7390. grp_body.chk_excuroom.visible = false;
  7391. grp_body.btn_rsrvcncl.enable = true;
  7392. grp_body.btn_rsrv.enable = true;
  7393. var curDate = utlf_getCurrentDate().substr(0,8); //오늘날짜
  7394. ds_send_data.setColumn(0,"srchdate1",curDate);
  7395. ds_send_data.setColumn(0,"srchdate2",curDate);
  7396. ds_send_data.setColumn(0,"srchpid","");
  7397. ds_send_data.setColumn(0,"acptlistflag", "R");
  7398. grp_body.grp_sea.cmb_term.value = 0;
  7399. // btn_case1.selected = true;
  7400. // grp_body.group2.switch1.tabindex = 3;
  7401. //submit("TRAEA01122");
  7402. call_TRAEA01135();
  7403. //start 2012.08.28 by kya
  7404. // cel 대신에 row전체 표시
  7405. //aezfSetCellStyle("grd_ordlist1" , "0^1^2" , "V^P^A" , "aftrcptinfo", "pid", "F");
  7406. ds_grd_ordlist3.addColumn("backcolor","string");
  7407. for(var i = 0 ; i < ds_grd_ordlist3.rowcount ; i++ ){
  7408. ds_grd_ordlist3.setColumn(i,"backcolor", "#ffffff");
  7409. }
  7410. lf_aezfSetRowStyle(grp_body.group2.switch1.case3.grd_ordlist3 , "15^16^17" , "V^P^A" , "aftrcptinfo" );
  7411. //end
  7412. tabgubn = "D";
  7413. fSetAutho(); //20170427 신경과직원 권한제한
  7414. }
  7415. function grp_body_group2_group7_btn_close_onclick(obj:Button, e:ClickEventInfo)
  7416. {
  7417. grp_body.group2.group7.visible = false;
  7418. grp_body.group2.group7.cpt_isoldata.visible = false;
  7419. grp_body.group2.group7.txt_isol.visible = false;
  7420. grp_body.group2.group7.btn_close.visible = false;
  7421. grp_body.group2.group7.line_isol.visible = false;
  7422. grp_body.group2.group7.line_isol2.visible = false;
  7423. grp_body.group2.group7.cpt_isoltitle.visible = false;
  7424. }
  7425. function grp_body_group2_order_bak_onclick(obj:Button, e:ClickEventInfo)
  7426. {
  7427. // 기능검사에서 과거처방에(20081004 이전) CDIS 결과를 연동할려고 할때 창 호출
  7428. frmf_setParameter("opener_parameter_id","OldOrder");
  7429. frmf_open("SMAEA04300","SMAEA04300", "","","", "","", "","","", "","","M");
  7430. }
  7431. function grp_body_group5_grd_rsrvlist_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
  7432. {
  7433. // if(e.row < 0 || e.col < 0) return;
  7434. // obj.setFocus();
  7435. // grdf_setSelectedCell(obj, e);
  7436. // if( ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"statcd") == "임시예약"){
  7437. //
  7438. //
  7439. // this.PopupMenu02.trackPopup(e.screenX,e.screenY);
  7440. //
  7441. //
  7442. // }else{
  7443. // this.PopupMenu01.trackPopup(e.screenX,e.screenY);
  7444. //
  7445. // }
  7446. }
  7447. function grp_body_group5_grd_rsrvlist_oncellclick(obj:Grid, e:GridClickEventInfo)
  7448. {
  7449. //스크롤 조작시 모래시계 방지
  7450. //상단정보 초기화
  7451. appf_delPatientInfos();
  7452. //히스토리리스트에서 예약내역에서 선택한 처방 체크해주기
  7453. var loop;
  7454. var list = "";
  7455. var grd;
  7456. var grdrows;
  7457. var uniqnoValue = ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"execprcpuniqno");
  7458. //btn_case1.selected = true;
  7459. grp_body.group2.switch1.tabindex = 0;
  7460. ds_send_data.setColumn(0,"srchpid",ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"pid"));
  7461. acptlistflag= "L";
  7462. fGetExamCureAcptList();
  7463. ds_grd_ordlist1.clearSelect();
  7464. for(var i = 0; i < ds_grd_ordlist1.rowcount ; i++ ) {
  7465. if( ds_grd_ordlist1.getColumn(i,"execprcpuniqno") == uniqnoValue){
  7466. ds_grd_ordlist1.setColumn(i,"check","1");
  7467. //검사코멘트
  7468. grp_body.group2.tar_excurem.value = ds_grd_ordlist1.getColumn(i,"execrem");
  7469. //처방Comment
  7470. //grp_body.group2.tar_prcpdelivefact.value = ds_grd_ordlist1.getColumn(i,"prcpdelivefact");
  7471. ds_grd_ordlist1.selectRow(i,true);
  7472. }
  7473. }
  7474. ds_send_data.setColumn(0,"excuroomcd",ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"excuroomcd"));
  7475. ds_send_data.setColumn(0,"orddd", ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"orddd"));
  7476. ds_send_data.setColumn(0,"cretno", ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"cretno"));
  7477. ds_send_data.setColumn(0,"genrflag", ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"prcpgenrflag"));
  7478. ds_send_data.setColumn(0,"prcpno", ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"prcpno"));
  7479. ds_send_data.setColumn(0,"prcpdd", ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"prcpdd"));
  7480. ds_send_data.setColumn(0,"execprcpuniqno", ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"execprcpuniqno"));
  7481. ds_send_data.setColumn(0,"srchrsrvdt", ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"srchrsrvdt"));
  7482. //20180813 처방상태가져오기
  7483. ds_send_data.setColumn(0,"execprcpstatcd", ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"execprcpstatcd"));
  7484. //예약증출력
  7485. ds_send_data.setColumn(0,"prntcalcscorcd", ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"calcscorcd"));
  7486. ds_send_data.setColumn(0,"prntsuppdeptcd", ds_send_globalinstance.getColumn(0,"dutplcecd"));
  7487. //2009-07-13 환자Comment - 처방일자별 환자 Comment 관리 요청 - 기능검사 ITC 임성재 샘 요청(요청번호:2041)
  7488. if (prcpddyn == "Y" ) {
  7489. ds_send_data.setColumn(0,"memorgstddprcpdd", ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"prcpdd"));
  7490. }
  7491. //환자Comment 환자정보 조회
  7492. dsf_createDsRow("ds_send_tmp",
  7493. [{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
  7494. ,{col:"ecgflag", val:ds_send_data.getColumn(0,"ecgflag")}
  7495. ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
  7496. ,{col:"memorgstdd", val:ds_send_data.getColumn(0,"rsrvdd")}
  7497. ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
  7498. ,{col:"orddd", val:ds_send_data.getColumn(0,"orddd")}
  7499. ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"genrflag")}
  7500. ,{col:"prcpcd", val:ds_send_data.getColumn(0,"prcpcd")}
  7501. ,{col:"rsrvposs", val:ds_send_data.getColumn(0,"rsrvposs")}
  7502. ,{col:"prcpno", val:ds_send_data.getColumn(0,"prcpno")}
  7503. ,{col:"prcpdd", val:ds_send_data.getColumn(0,"prcpdd")}
  7504. ,{col:"srchrsrvdt", val:ds_send_data.getColumn(0,"centyn")}
  7505. ,{col:"execprcpuniqno", val:ds_send_data.getColumn(0,"execprcpuniqno")}
  7506. ,{col:"cmtflag", val:ds_send_data.getColumn(0,"cmtflag")}
  7507. ,{col:"memorgstddprcpdd", val:ds_send_data.getColumn(0,"memorgstddprcpdd")}
  7508. ,{col:"hcflag", val:ds_send_data.getColumn(0,"hcflag")}
  7509. ]);
  7510. //환자Comment 환자정보 조회
  7511. var oParam = {};
  7512. oParam.id = "TRAEA01114";
  7513. oParam.service = "examcureacptexecapp.PatRem";
  7514. oParam.method = "reqGetFuncPatRemList";
  7515. oParam.inds = "reqparam=ds_send_tmp";
  7516. 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";
  7517. oParam.async = false;
  7518. oParam.callback = "cf_TRAEA01114";
  7519. tranf_submit(oParam);
  7520. grp_body.div_info.output3.value ="";
  7521. if (!utlf_isNull(ds_patrem_isolinfo.getColumn(0,"isoldispcd"))) {
  7522. grp_body.div_info.output3.value = "확인";
  7523. }
  7524. sysf_setGlobalVariable("gv_pid", ds_send_data.getColumn(0,"srchpid"), "A"); //등록번호 넘기기
  7525. tabgubn = "L";
  7526. fget0701GosiPrcpRcptChk(); //2009-06-29 7/1 본인부담율 인상으로 인한 메세지 처리
  7527. }
  7528. function grp_body_group5_grd_inclprcplist_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
  7529. {
  7530. obj.updateToDataset(); //변경된 사항을 바로 적용받도록함. 2018.01.24 kya
  7531. //setPopupMenu("grd_inclprcplist", false, "/root/hidden/popupmenu/menu1/item", "name", "func");
  7532. if(e.row < 0 || e.col < 0) return;
  7533. obj.setFocus();
  7534. grdf_setSelectedCell(obj, e);
  7535. this.PopupMenu00.trackPopup(e.screenX,e.screenY);
  7536. return true;
  7537. }
  7538. function grp_body_group5_button21_onclick(obj:Button, e:ClickEventInfo)
  7539. {
  7540. if (ds_grd_rsrvlist.rowposition < 0 ) {
  7541. sysf_messageBox("예약내역을 선택해 주십시오.","I999");
  7542. return "0";
  7543. }
  7544. var ev = new ClickEventInfo;
  7545. frmf_inputEnterKey("grp_body.group2.btn_exec", "onclick", ev );
  7546. }
  7547. function grp_body_group5_button7_onclick(obj:Button, e:ClickEventInfo)
  7548. {
  7549. var flag = "rsrvlist"
  7550. fGetWideListX2(grp_body.group5, grp_body.group2.switch1, grp_body.group5.grd_rsrvlist, flag);
  7551. }
  7552. function grp_body_group5_button8_onclick(obj:Button, e:ClickEventInfo)
  7553. {
  7554. var flag = "rsrvlist"
  7555. fGetWideListX1(grp_body.group5, grp_body.group2.switch1, flag);
  7556. }
  7557. function grp_body_btn_rsrvtmins_onclick(obj:Button, e:ClickEventInfo)
  7558. {
  7559. grdgubn = "grd_ordlist1";
  7560. if( grp_body.group2.switch1.tabindex == 0 ) grdgubn = "grd_ordlist1"; // 전체처방
  7561. if ( grp_body.group2.switch1.tabindex != 0 && grp_body.group2.switch1.tabindex != 1 && grp_body.group2.switch1.tabindex != 2) grdgubn = "grd_ordlist3"; // 대상자조회
  7562. if ( grp_body.group2.switch1.tabindex == 1) grdgubn = "grd_ordlist4"; // 검사완료
  7563. if ( grp_body.group2.switch1.tabindex == 2) grdgubn = "grd_ordlist6"; // 미예약
  7564. if( tabgubn == "D" ) grdgubn = "grd_ordlist3"; //대상자조회
  7565. setRsrvdate(grdgubn,"cmb");
  7566. }
  7567. function grp_body_btn_rsrvmodify_onclick(obj:Button, e:ClickEventInfo)
  7568. {
  7569. var tmpldata = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"tmpldata");
  7570. var pid = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"pid");
  7571. var hngnm = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"hngnm");
  7572. var rsrvdt = utlf_transNullToEmpty(ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"rsrvdt"));
  7573. var year = rsrvdt.substr(0,4);
  7574. var month = rsrvdt.substr(4,2);
  7575. var day = rsrvdt.substr(6,2);
  7576. var week = rsrvdt.substr(0,8).toDate().getDayOfWeek("K");
  7577. var hh = rsrvdt.substr(8,2);
  7578. var mm = rsrvdt.substr(10,2);
  7579. ds_send_data.setColumn(0,"srchpid","");
  7580. var ordlist = "";
  7581. if ( sysf_messageBox("예약내역을","Q002")==6 ) {
  7582. if (grp_body.group2.switch1.tabindex == 0 ) {
  7583. ordlist = ds_grd_ordlist1;
  7584. }
  7585. else if (grp_body.group2.switch1.tabindex == 3 ) {
  7586. ordlist = ds_grd_ordlist3;
  7587. }
  7588. else if (grp_body.group2.switch1.tabindex == 2 ) {
  7589. ordlist = ds_grd_ordlist6;
  7590. }
  7591. else if ( grp_body.group2.switch1.tabindex != 0 && grp_body.group2.switch1.tabindex != 1 && grp_body.group2.switch1.tabindex != 2 ) {
  7592. ordlist = ds_grd_ordlist3;
  7593. }
  7594. if (ordlist.getCaseCount("check=='true'") == 0 ) {
  7595. sysf_messageBox("처방내역을 ","C002");
  7596. return "0";
  7597. }
  7598. // var nodeList = dutplcecd.selectNodes("/root/main/"+ordlist+"/mainordlist[check='true' and rsrvdt = '-']");
  7599. // var rCSV = getNodeListCSV(nodeList);
  7600. if ( ordlist.getCaseCount("check=='1' && rsrvdt == '-'") > 0 ) {
  7601. sysf_messageBox("예약시간을 ","C002");
  7602. return "0";
  7603. }
  7604. exeRsrvTransaction("upd",ordlist);
  7605. initCalendar();
  7606. getRsrvPossTm(grp_body.grd_calendar);
  7607. if (grp_body.group2.switch1.tabindex == 0 )
  7608. {
  7609. acptlistflag= "M";
  7610. fGetExamCureAcptList(); // 전체처방
  7611. }
  7612. if (grp_body.group2.switch1.tabindex == 3 )
  7613. {
  7614. acptlistflag= "R";
  7615. fGetExamCureAcptList(); // 수납처방
  7616. }
  7617. if (grp_body.group2.switch1.tabindex == 2 )
  7618. {
  7619. acptlistflag= "R";
  7620. fGetExamCureAcptList(); // 미예약
  7621. }
  7622. acptlistflag= "Y";
  7623. fGetExamCureAcptList(); // 예약
  7624. //data 클리어
  7625. dataClear();
  7626. }
  7627. else {
  7628. return "0";
  7629. }
  7630. //********************************
  7631. // ******예약증 출력 20070821******
  7632. //********************************
  7633. if(!utlf_isNull(tmpldata)) {
  7634. //1. 예약예문내용을 뷰어로 보여주기
  7635. grp_body.rtfviewer.TextRtf = tmpldata;
  7636. //2. 바꾸기
  7637. grp_body.rtfviewer.ReplaceRtfCode("pid",pid); //등록번호
  7638. grp_body.rtfviewer.ReplaceRtfCode("patnm",hngnm); //성명
  7639. grp_body.rtfviewer.ReplaceRtfCode("year",year); //년
  7640. grp_body.rtfviewer.ReplaceRtfCode("month",month); //월
  7641. grp_body.rtfviewer.ReplaceRtfCode("day",day); //일
  7642. grp_body.rtfviewer.ReplaceRtfCode("week",week); //요일
  7643. grp_body.rtfviewer.ReplaceRtfCode("hh",hh); //시
  7644. grp_body.rtfviewer.ReplaceRtfCode("mm",mm); //분
  7645. //3. 현재내용을 파일에 저장
  7646. grp_body.rtfviewer.SaveRtfFile();
  7647. //4. 출력
  7648. grp_body.rtfviewer.Print();
  7649. //5. 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  7650. fInitialize();
  7651. }
  7652. else {
  7653. sysf_messageBox("등록된 예약예문이 ", "I004");
  7654. }
  7655. }
  7656. function grp_body_div_info_input5_oneditdblclick(obj:Edit, e:EditClickEventInfo)
  7657. {
  7658. if( !utlf_isNull(ds_send_data.getColumn(0,"srchpid")) || ds_send_data.getColumn(0,"srchpid") != " " ) {
  7659. // 전화번호 더블클릭시 해당환자의 '전화번호/주소 조회 및 수정 창' 팝업창을 호출!!!
  7660. //예약내역이 없는 필드 체크
  7661. var hngnm = ds_patrem_selectpat.getColumn(0,"hngnm");
  7662. var pid = ds_patrem_selectpat.getColumn(0,"pid");
  7663. if (utlf_isNull(hngnm) || hngnm == " " || hngnm == "-"){
  7664. return false;
  7665. }
  7666. dsf_createDsRow("ds_temp_source"
  7667. , [{col: "srchcond", val: "1"}
  7668. , {col: "pid" , val: pid}
  7669. ]);
  7670. var objArg = new Object();
  7671. objArg.arg_ds_source = ds_temp_source;
  7672. frmf_modal("SPPMO01400", "SPPMO01400" ,objArg,"","", "100", "100", "", "", "", "", "","M");
  7673. var hometel = frmf_getParameter("SMPMO01400_hometel");
  7674. var mpphontel = frmf_getParameter("SMPMO01400_mpphontel");
  7675. if( !utlf_isNull(hometel) && !utlf_isNull(mpphontel)){
  7676. ds_patrem_selectpat.setColumn(0,"hometel", hometel) ;
  7677. ds_patrem_selectpat.setColumn(0,"mpphontel", mpphontel) ;
  7678. }
  7679. }
  7680. }
  7681. function grp_body_div_info_input6_oneditdblclick(obj:Edit, e:EditClickEventInfo)
  7682. {
  7683. if( !utlf_isNull(ds_patrem_selectpat.getColumn(0,"pid")) || ds_patrem_selectpat.getColumn(0,"pid") != " " ) {
  7684. // 전화번호 더블클릭시 해당환자의 '전화번호/주소 조회 및 수정 창' 팝업창을 호출!!!
  7685. //예약내역이 없는 필드 체크
  7686. var hngnm = ds_patrem_selectpat.getColumn(0,"hngnm");
  7687. var pid = ds_patrem_selectpat.getColumn(0,"pid");
  7688. if (utlf_isNull(hngnm) || hngnm == " " || hngnm == "-"){
  7689. return false;
  7690. }
  7691. //setParameter("opener_parameter_id", pid);
  7692. dsf_createDsRow("ds_temp_source"
  7693. , [{col: "srchcond", val: "1"}
  7694. , {col: "pid" , val: pid}
  7695. ]);
  7696. var objArg = new Object();
  7697. objArg.arg_ds_source = ds_temp_source;
  7698. frmf_modal("SPPMO01400", "SPPMO01400" ,objArg,"","", "100", "100", "", "", "", "", "","M");
  7699. var hometel = frmf_getParameter("SMPMO01400_hometel");
  7700. var mpphontel = frmf_getParameter("SMPMO01400_mpphontel");
  7701. if( !utlf_isNull(hometel) && !utlf_isNull(mpphontel)){
  7702. ds_patrem_selectpat.setColumn(0,"hometel", hometel) ;
  7703. ds_patrem_selectpat.setColumn(0,"mpphontel", mpphontel) ;
  7704. }
  7705. }
  7706. }
  7707. function grp_body_div_info_output3_oneditdblclick(obj:Edit, e:EditClickEventInfo)
  7708. {
  7709. grp_body.group2.group7.visible = true;
  7710. grp_body.group2.group7.cpt_isoldata.visible = true;
  7711. grp_body.group2.group7.txt_isol.visible = true;
  7712. grp_body.group2.group7.btn_close.visible = true;
  7713. grp_body.group2.group7.line_isol.visible = true;
  7714. grp_body.group2.group7.line_isol2.visible = true;
  7715. grp_body.group2.group7.cpt_isoltitle.visible = true;
  7716. }
  7717. function grp_body_btn_upclear_onclick(obj:Button, e:ClickEventInfo)
  7718. {
  7719. appf_delPatientInfos();
  7720. }
  7721. function grp_body_button15_onclick(obj:Button, e:ClickEventInfo)
  7722. {
  7723. if(grp_body.grp_calendar.opt_month.value!== "11") {
  7724. fGetCalendar("11");
  7725. }
  7726. }
  7727. function grp_body_button16_onclick(obj:Button, e:ClickEventInfo)
  7728. {
  7729. if(grp_body.grp_calendar.opt_month.value!== "12") {
  7730. fGetCalendar("12");
  7731. }
  7732. }
  7733. function grp_body_button17_onclick(obj:Button, e:ClickEventInfo)
  7734. {
  7735. if(grp_body.grp_calendar.opt_month.value!== "05") {
  7736. fGetCalendar("05");
  7737. }
  7738. }
  7739. function grp_body_button18_onclick(obj:Button, e:ClickEventInfo)
  7740. {
  7741. if(grp_body.grp_calendar.opt_month.value!== "09") {
  7742. fGetCalendar("09");
  7743. }
  7744. }
  7745. function grp_body_button19_onclick(obj:Button, e:ClickEventInfo)
  7746. {
  7747. if(grp_body.grp_calendar.opt_month.value!== "10") {
  7748. fGetCalendar("10");
  7749. }
  7750. }
  7751. function grp_body_button10_onclick(obj:Button, e:ClickEventInfo)
  7752. {
  7753. if(grp_body.grp_calendar.opt_month.value!== "01") {
  7754. fGetCalendar("01");
  7755. }
  7756. }
  7757. function grp_body_button11_onclick(obj:Button, e:ClickEventInfo)
  7758. {
  7759. if(grp_body.grp_calendar.opt_month.value!== "02") {
  7760. fGetCalendar("02");
  7761. }
  7762. }
  7763. function grp_body_button22_onclick(obj:Button, e:ClickEventInfo)
  7764. {
  7765. if(grp_body.grp_calendar.opt_month.value!== "06") {
  7766. fGetCalendar("06");
  7767. }
  7768. }
  7769. function grp_body_button12_onclick(obj:Button, e:ClickEventInfo)
  7770. {
  7771. if(grp_body.grp_calendar.opt_month.value!== "04") {
  7772. fGetCalendar("04");
  7773. }
  7774. }
  7775. function grp_body_button23_onclick(obj:Button, e:ClickEventInfo)
  7776. {
  7777. if(grp_body.grp_calendar.opt_month.value!== "07") {
  7778. fGetCalendar("07");
  7779. }
  7780. }
  7781. function grp_body_button13_onclick(obj:Button, e:ClickEventInfo)
  7782. {
  7783. if(grp_body.grp_calendar.opt_month.value!== "03") {
  7784. fGetCalendar("03");
  7785. }
  7786. }
  7787. function grp_body_button24_onclick(obj:Button, e:ClickEventInfo)
  7788. {
  7789. if(grp_body.grp_calendar.opt_month.value!== "08") {
  7790. fGetCalendar("08");
  7791. }
  7792. }
  7793. function PopupMenu00_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
  7794. {
  7795. eval(e.id + "()");
  7796. }
  7797. function PopupMenu01_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
  7798. {
  7799. eval(e.id + "()");
  7800. }
  7801. function PopupMenu02_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
  7802. {
  7803. eval(e.id + "()");
  7804. }
  7805. function PopupMenu03_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
  7806. {
  7807. eval(e.id + "()");
  7808. }
  7809. function grp_body_grp_sea_ipt_pid_onkeydown(obj:Edit, e:KeyEventInfo)
  7810. {
  7811. if(e.keycode == 13)
  7812. {
  7813. var temppid = obj.value;
  7814. grp_body.group2.switch1.tabindex = 0;
  7815. obj.value = temppid;
  7816. obj.updateToDataset();
  7817. if(grp_body.grp_sea.chk_focus.value == "Y" ) { //포커스 사용
  7818. var ev = new MouseEventInfo;
  7819. frmf_inputEnterKey("grp_body.grp_sea.btn_sea", "ondblclick", ev );
  7820. }
  7821. else { //포커스 사용 안함
  7822. var ev = new ClickEventInfo;
  7823. frmf_inputEnterKey("grp_body.grp_sea.btn_sea", "onclick", ev );
  7824. }
  7825. //검사실 체크박스 감추기
  7826. grp_body.chk_excuroom.visible = false;
  7827. //alert("t1");
  7828. sysf_setGlobalVariable("gv_pid", ds_send_data.getColumn(0,"srchpid"), "A"); //등록번호 넘기기
  7829. //20200128 신종코로나바이러스
  7830. fc_check_coronavirus();
  7831. }
  7832. }
  7833. function grp_body_grp_sea_cmb_term_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  7834. {
  7835. obj.updateToDataset();
  7836. if(ds_send_data.getColumn(0,"selectexcuroom") == " ") {
  7837. sysf_messageBox("검사실 선택되지 ", "E007");
  7838. return;
  7839. }
  7840. if(grp_body.grp_sea.cmb_term.value == "0" ) {
  7841. grp_body.grp_sea.ipt_date1.enable = true;
  7842. grp_body.grp_sea.ipt_date2.enable = true;
  7843. } else {
  7844. var date2 = grp_body.grp_sea.ipt_date2.value;
  7845. var term = grp_body.grp_sea.cmb_term.value;
  7846. grp_body.grp_sea.ipt_date1.value = date2.getAddDate(-term,"D").getDateFormat("YYYYMMDD") ;
  7847. grp_body.grp_sea.ipt_date1.enable = false;
  7848. grp_body.grp_sea.ipt_date2.enable = false;
  7849. }
  7850. frmf_inputEnterKey("grp_body.grp_sea.btn_sea", "onclick", new ClickEventInfo);
  7851. }
  7852. function grp_body_group2_chk_hc_onclick(obj:CheckBox, e:ClickEventInfo)
  7853. {
  7854. if(obj.value == false) ds_send_data.setColumn(0,"hcflag","");
  7855. }
  7856. // function lf_ColumnOrdChange(grdObj, bFlag){
  7857. //
  7858. // if( utlf_isNull(grdObj) ) return;
  7859. //
  7860. // if( bFlag == true ){
  7861. // var cIdx = grdObj.getBindCellIndex("body","choiordflag");
  7862. // grdObj.splitContentsCell("head",0,cIdx,0,cIdx,true);
  7863. // }else if( bFlag == false ){
  7864. // var sIdx = grdObj.getBindCellIndex("body","choiordflag");
  7865. // grdObj.setCellProperty("head",0,sIdx,"선택진료의")
  7866. // grdObj.mergeContentsCell("head",0,sIdx,0,sIdx+1,sIdx,false);
  7867. // }
  7868. // }
  7869. function grp_body_group2_switch1_datagrid_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
  7870. {
  7871. obj.updateToDataset();
  7872. if(e.row < 0) return;
  7873. var selectedRows = grdf_getSelectedRows(obj);
  7874. if(selectedRows.length < 2) return;
  7875. appf_delPatientInfos();
  7876. for (var i = 0; i < obj.rowcount; i++){
  7877. objects[obj.binddataset].setColumn(i, "check", "0");
  7878. }
  7879. for (var i = 0; i < selectedRows.length; i++){
  7880. objects[obj.binddataset].setColumn(selectedRows[i], "check", "1");
  7881. }
  7882. }
  7883. function call_TRAEA01135() {
  7884. dsf_createDsRow("ds_send_tmp", [
  7885. {col:"acptlistflag", type:"STRING", size:256, val:ds_send_data.getColumn(0,"acptlistflag")}
  7886. , {col:"basesuppdeptcd", type:"STRING", size:256, val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
  7887. , {col:"initexcuroom", type:"STRING", size:256, val:ds_send_data.getColumn(0,"selectexcuroom")}
  7888. , {col:"prcpexecdeptcd", type:"STRING", size:256, val:ds_send_data.getColumn(0,"prcpexecdeptcd")}
  7889. , {col:"srchdate1", type:"STRING", size:256, val:ds_send_data.getColumn(0,"srchdate1")}
  7890. , {col:"srchdate2", type:"STRING", size:256, val:ds_send_data.getColumn(0,"srchdate2")}
  7891. , {col:"srchpid", type:"STRING", size:256, val:ds_send_data.getColumn(0,"srchpid")}
  7892. , {col:"excuroomflag", type:"STRING", size:256, val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
  7893. , {col:"term", type:"STRING", size:256, val:ds_send_data.getColumn(0,"term")}
  7894. , {col:"prcpgenrflag", type:"STRING", size:256, val:ds_send_data.getColumn(0,"prcpgenrflag")}
  7895. , {col:"sgubn", type:"STRING", size:256, val:ds_send_data.getColumn(0,"sgubn")}
  7896. , {col:"largeclass", type:"STRING", size:256, val:"M4"}
  7897. , {col:"centyn", type:"STRING", size:256, val:ds_send_data.getColumn(0,"centyn")}
  7898. , {col:"centflag", type:"STRING", size:256, val:ds_send_data.getColumn(0,"centflag")}
  7899. , {col:"hcflag", type:"STRING", size:256, val:ds_send_data.getColumn(0,"hcflag")}
  7900. ]);
  7901. var oParam = {};
  7902. oParam.id = "TRAEA01135";
  7903. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  7904. oParam.method = "reqGetExamCureExecPrcpList";
  7905. oParam.inds = "reqparam=ds_send_tmp";
  7906. oParam.outds = "ds_grd_ordlist3=examcureexecprcplist";
  7907. oParam.async = false;
  7908. oParam.callback = "cf_TRAEA01135";
  7909. tranf_submit(oParam);
  7910. }
  7911. function cf_TRAEA01135(sSvcId, nErrorCode, sErrorMsg) {
  7912. if(nErrorCode < 0) return;
  7913. ds_grd_ordlist3.addColumn("check","string");
  7914. }
  7915. function fSetTempDataset() {
  7916. dsf_createDsRow("ds_send_temp", [
  7917. {col:"acptlistflag", type:"STRING", size:256, val:ds_send_data.getColumn(0,"acptlistflag")}
  7918. , {col:"basesuppdeptcd", type:"STRING", size:256, val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
  7919. , {col:"initexcuroom", type:"STRING", size:256, val:ds_send_data.getColumn(0,"selectexcuroom")}
  7920. , {col:"prcpexecdeptcd", type:"STRING", size:256, val:ds_send_data.getColumn(0,"prcpexecdeptcd")}
  7921. , {col:"srchdate1", type:"STRING", size:256, val:ds_send_data.getColumn(0,"srchdate1")}
  7922. , {col:"srchdate2", type:"STRING", size:256, val:ds_send_data.getColumn(0,"srchdate2")}
  7923. , {col:"srchpid", type:"STRING", size:256, val:ds_send_data.getColumn(0,"srchpid")}
  7924. , {col:"excuroomflag", type:"STRING", size:256, val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
  7925. , {col:"term", type:"STRING", size:256, val:ds_send_data.getColumn(0,"term")}
  7926. , {col:"prcpgenrflag", type:"STRING", size:256, val:ds_send_data.getColumn(0,"prcpgenrflag")}
  7927. , {col:"sgubn", type:"STRING", size:256, val:ds_send_data.getColumn(0,"sgubn")}
  7928. , {col:"largeclass", type:"STRING", size:256, val:"M4"}
  7929. , {col:"centyn", type:"STRING", size:256, val:ds_send_data.getColumn(0,"centyn")}
  7930. , {col:"centflag", type:"STRING", size:256, val:ds_send_data.getColumn(0,"centflag")}
  7931. , {col:"hcflag", type:"STRING", size:256, val:ds_send_data.getColumn(0,"hcflag")}
  7932. ]);
  7933. }
  7934. function cf_TRAEA01114(sSvcId, nErrorCode, sErrorMsg) {
  7935. if(nErrorCode < 0) return;
  7936. if(ds_patrem_rem.rowcount == 0) ds_patrem_rem.addRow();
  7937. ds_patrem_rem.updateColID("memodesc","memo");
  7938. }
  7939. function grp_body_group5_grd_rsrvlist_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
  7940. {
  7941. obj.updateToDataset(); //변경된 사항을 바로 적용받도록함. 2018.01.24 kya
  7942. if(e.row < 0 || e.col < 0) return;
  7943. obj.setFocus();
  7944. grdf_setSelectedCell(obj, e);
  7945. if( ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"statcd") == "임시예약"){
  7946. this.PopupMenu02.trackPopup(e.screenX,e.screenY);
  7947. }else{
  7948. this.PopupMenu01.trackPopup(e.screenX,e.screenY);
  7949. }
  7950. return true;
  7951. }
  7952. function grp_body_group2_switch1_case1_grd_ordlist1_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
  7953. {
  7954. obj.updateToDataset(); //변경된 사항을 바로 적용받도록함. 2018.01.24 kya
  7955. if(e.row < 0 || e.col < 0) return;
  7956. obj.setFocus();
  7957. grdf_setSelectedCell(obj, e);
  7958. PopupMenu00.trackPopup(e.screenX,e.screenY);
  7959. return true;
  7960. }
  7961. function grp_body_group2_switch1_case1_grd_ordlist1_onmousemove(obj:Grid, e:GridMouseEventInfo)
  7962. {
  7963. if(e.row > -1 && (e.col == obj.getBindCellIndex("body","execrid1") || e.col == obj.getBindCellIndex("body","specdrid")
  7964. || e.col == obj.getBindCellIndex("body","excuroomcd") || e.col == obj.getBindCellIndex("body","insukind"))) obj.autoenter = "select";
  7965. else obj.autoenter = "key";
  7966. }
  7967. function grp_body_group2_switch1_case4_grd_ordlist4_onmousemove(obj:Grid, e:GridMouseEventInfo)
  7968. {
  7969. if(e.row > -1 && (e.col == obj.getBindCellIndex("body","excuroomcd") || e.col == obj.getBindCellIndex("body","specdrid") || e.col == obj.getBindCellIndex("body","insukind"))) obj.autoenter = "select";
  7970. else obj.autoenter = "key";
  7971. }
  7972. function grp_body_group2_switch1_case3_grd_ordlist3_onmousemove(obj:Grid, e:GridMouseEventInfo)
  7973. {
  7974. if(e.row > -1 && ( e.col == obj.getBindCellIndex("body","execrid1") || e.col == obj.getBindCellIndex("body","specdrid")
  7975. || e.col == obj.getBindCellIndex("body","excuroomcd") || e.col == obj.getBindCellIndex("body","insukind"))) obj.autoenter = "select";
  7976. else obj.autoenter = "key";
  7977. }
  7978. function grp_body_group2_switch1_case6_grd_ordlist6_onmousemove(obj:Grid, e:GridMouseEventInfo)
  7979. {
  7980. if(e.row > -1 && ( e.col == obj.getBindCellIndex("body","execrid1") || e.col == obj.getBindCellIndex("body","specdrid") || e.col == obj.getBindCellIndex("body","rsrvid")
  7981. || e.col == obj.getBindCellIndex("body","excuroomcd") || e.col == obj.getBindCellIndex("body","insukind"))) obj.autoenter = "select";
  7982. else obj.autoenter = "key";
  7983. }
  7984. function grp_body_group2_btn_inpt_onclick(obj:Button, e:ClickEventInfo)
  7985. {
  7986. //var topPamInfo = sysf_getGlobalVariable("paminfo");
  7987. //if(!utlf_isNull(topPamInfo) && topPamInfo.length != 0) {
  7988. // dsf_setCSVToDs("ds_temp_paminfo", topPamInfo);
  7989. // sTopPid = ds_temp_paminfo.getColumn(0, "pid");
  7990. //}
  7991. //trace(appf_getPatientId());
  7992. //20180813 추가
  7993. var srchpid = ds_send_data.getColumn(0,"srchpid");
  7994. if (ds_send_data.rowcount < 0 || utlf_isNull(srchpid)) {
  7995. sysf_messageBox("처방 선택 후 작업하시기 바랍니다.", "I000");
  7996. return; // 외래환자일경우만
  7997. }
  7998. var statcd = ds_send_data.getColumn(0,"execprcpstatcd");
  7999. if ( statcd < "610") {
  8000. sysf_messageBox("처방실시 후 작업하시기 바랍니다.", "I000");
  8001. return;
  8002. }
  8003. //trace(ds_send_data.getColumn(0,"genrflag"));
  8004. var genrflag = ds_send_data.getColumn(0,"genrflag");
  8005. if ( utlf_isNull(genrflag) || genrflag != "O" ) {
  8006. sysf_messageBox("입실퇴실관리는 수면다원검사 외래환자만 가능합니다." ,"I000");
  8007. return; // 외래환자일경우만
  8008. }
  8009. frmf_setParameter('SMPMI00101_PID', appf_getPatientId() ); // 등록번호
  8010. frmf_setParameter('SMPMI00101_FLAG', "T"); // 검사실은 ‘T’로 보내주세요
  8011. // 입실퇴실관리화면 연동
  8012. frmf_modal("SMPMI00101", "SMPMI00101", '', "", '', '', '', "", "", "", "", "", "M");
  8013. }
  8014. function grp_body_group2_btn_directsms_onclick(obj:Button, e:ClickEventInfo)
  8015. {
  8016. ds_hidden_sms.clearData();
  8017. var pid = ds_patrem_selectpat.getColumn(0, "pid");
  8018. var hngnm = ds_patrem_selectpat.getColumn(0,"hngnm");
  8019. var hosp = "";
  8020. if (sysf_getUserInfo("dutplceinstcd") == "031") {
  8021. hosp = "경북대병원";
  8022. } else if (sysf_getUserInfo("dutplceinstcd") == "032") {
  8023. hosp = "칠곡경북대병원";
  8024. } else if (sysf_getUserInfo("dutplceinstcd") == "033") {
  8025. hosp = "경북대치과병원";
  8026. }
  8027. var ds_ordlist ;
  8028. if ( grp_body.group2.switch1.tabindex == 0 ) { // 전체처방
  8029. ds_ordlist = ds_grd_ordlist1;
  8030. idx = ds_grd_ordlist1.rowposition;
  8031. }
  8032. if (grp_body.group2.switch1.tabindex == 3 ) { // 대상자조회
  8033. ds_ordlist = ds_grd_ordlist3;
  8034. idx = ds_grd_ordlist3.rowposition;
  8035. }
  8036. if (grp_body.group2.switch1.tabindex == 2 ) { // 미예약
  8037. ds_ordlist = ds_grd_ordlist6;
  8038. idx = ds_grd_ordlist6.rowposition;
  8039. }
  8040. var idx = 0;
  8041. for (var i = 0; i < ds_ordlist.rowcount; i++) {
  8042. if (ds_ordlist.getColumn(i, "check") != 1 ) {
  8043. continue;
  8044. }
  8045. if (ds_ordlist.getColumn(i, "statcd") != "예약" ) {
  8046. sysf_messageBox("예약인 경우에만 문자전송이 가능합니다.", "E999");
  8047. return;
  8048. }
  8049. idx++;
  8050. var idx = ds_hidden_sms.addRow();
  8051. ds_hidden_sms.setColumn(idx, "orddeptcd", ds_ordlist.getColumn(i, "orddeptcd"));
  8052. var rsrvdt = ds_ordlist.getColumn(i, "srchrsrvdt");
  8053. var aftrcptinfo = ds_ordlist.getColumn(i, "aftrcptinfo");
  8054. var roomnm = ds_ordlist.getColumn(i, "examroomnm").trim();
  8055. var deptcd = ds_ordlist.getColumn(i, "orddeptcd");
  8056. var msg = hosp + " "
  8057. + hngnm
  8058. + "(" + pid + ")님 "
  8059. + rsrvdt.substr(4, 2) + "/" + rsrvdt.substr(6, 2)
  8060. + ( aftrcptinfo == "A" ? " 수납후 방문 " : " 방문 " )
  8061. + rsrvdt.substr(8, 2) + ":" + rsrvdt.substr(10, 2) + " "
  8062. + roomnm;
  8063. ds_hidden_sms.setColumn(idx, "msgcnts", msg);
  8064. ds_hidden_sms.setColumn(idx, "orddeptcd", deptcd);
  8065. }
  8066. if (ds_hidden_sms.rowcount < 1) {
  8067. sysf_messageBox("선택된 내역이 없습니다.", "E999");
  8068. return;
  8069. }
  8070. div_directsms.visible = true;
  8071. }
  8072. function div_directsms_btn_closesms_onclick(obj:Button, e:ClickEventInfo)
  8073. {
  8074. div_directsms.visible = false;
  8075. }
  8076. function div_directsms_btn_sendsms_onclick(obj:Button, e:ClickEventInfo)
  8077. {
  8078. if (sysf_messageBox("문자를 전송하시겠습니까?", "Q999") != 6) {
  8079. return;
  8080. }
  8081. var pid = ds_patrem_selectpat.getColumn(0, "pid");
  8082. //trace("pid = " + pid);
  8083. var hngnm = ds_patrem_selectpat.getColumn(0, "hngnm");
  8084. var tel = ds_patrem_selectpat.getColumn(0, "mpphontel");
  8085. for (var i = 0; i < ds_hidden_sms.rowcount; i++) {
  8086. var msg = ds_hidden_sms.getColumn(i, "msgcnts");
  8087. var deptcd = ds_hidden_sms.getColumn(i, "orddeptcd");
  8088. fSmsSend(msg, pid, hngnm, tel, deptcd, "03");
  8089. }
  8090. sysf_messageBox("문자를 전송하였습니다.", "I999");
  8091. }
  8092. /****************************************************************************************
  8093. * Components : Edit
  8094. * Components ID : grp_sea.ipt_pid
  8095. * Event : onkeyup
  8096. * Argument : 01.obj : Object Event has occurred
  8097. * : 02.e : Event Object
  8098. * Description : 20200123 코로나바이러스 알림 호출 pid= '2199411'
  8099. ****************************************************************************************/
  8100. function fc_check_coronavirus()
  8101. { //20200123 코로나바이러스 알림 호출 pid= '2199411'
  8102. //select * from ast.aebmcode where instcd = '031' and suppdeptcd = '0000000000' and grupcdid = 'A100' ;
  8103. lf_getAstCodeList([{dsNm: "ds_init_A1000", cdGrpId:"A1000", sortField: "dispseq", sortMehotd: "asc"}], true);
  8104. var curddyn = ds_init_A1000.getColumn(1, "cdid"); //2번째 row 여서...
  8105. //trace("curddyn = " + curddyn);
  8106. if ( curddyn == 'Y') {
  8107. var sPid = ds_send_data.getColumn(0, "srchpid");
  8108. if (sPid == "" || utlf_isNull(sPid) ) return;
  8109. frmf_setParameter("SPMMD00100_ifyn", "Y");
  8110. frmf_setParameter("SPMMD00100_pid", sPid);
  8111. var argxpt = system.clientToScreenX(this, 0) + 300;
  8112. var argypt = system.clientToScreenY(this, 0) + 100;
  8113. frmf_modal("SPMMO51000", "SPMMO51000", null, false, null, argxpt, argypt, null, null, null, null, null, "M");
  8114. }
  8115. }
  8116. function grp_top_caption6_onclick(obj:Static, e:ClickEventInfo)
  8117. {
  8118. frmf_open("SMAER00010","SMAER00010", "", "", "" , "", "", "", "", "" , "", "","M");
  8119. }
  8120. ]]></Script>
  8121. </Form>
  8122. </FDL>