123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAEA01104" position="absolute 0 0 1197 811" titletext="접수관리" scrollbars="none" oninit="SMAEA01104_oninit" onload="SMAEA01104_onload" ontimer="SMAEA01104_ontimer">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 1194 25" id="grp_top">
- <Layouts>
- <Layout>
- <Static text="접수 관리" position="absolute 0 0 100 25" id="caption6" class="tit_1"/>
- <Static position="absolute 105 2 239 23" id="caption9" style="font:Dotum,11,bold;" onclick="grp_top_caption9_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 25 1195 810" id="grp_body" scrollbars="autoboth" anchor="all" text="<?xml version="1.0" encoding="utf-8"?><UxFormClipBoard version="1.4"> <Button id="btn_inpt" taborder="2" text="입실퇴실관리" position="absolute 14 56 129 74" onclick="grp_body_grp_sea_btn_inpt_onclick"/></UxFormClipBoard>">
- <Layouts>
- <Layout>
- <Div position="absolute 2 470 328 518" id="grp_calendar" scrollbars="autoboth" anchor="left bottom">
- <Layouts>
- <Layout>
- <Shape position="absolute 1 0 326 47" id="rectangle1" class="calendar_header" type="rectangle" anchor="left bottom"/>
- <Button position="absolute 238 5 254 21" id="button32" class="icon_next_year" text="" onclick="grp_body_grp_calendar_button32_onclick" anchor="left bottom"/>
- <Button position="absolute 92 5 108 21" id="btn_premonth" class="icon_pre_month" text="" onclick="grp_body_grp_calendar_btn_premonth_onclick" anchor="left bottom"/>
- <Button position="absolute 218 5 234 21" id="button34" class="icon_next_month" text="" onclick="grp_body_grp_calendar_button34_onclick" anchor="left bottom"/>
- <Edit readonly="true" position="absolute 111 2 149 21" id="opt_year" class="calendar_output" anchor="left bottom"/>
- <Edit readonly="true" position="absolute 171 2 198 21" id="opt_month" class="calendar_output" anchor="left bottom"/>
- <Static text="년" position="absolute 146 2 166 21" id="caption11" class="calendar_output" style="color:black;" anchor="left bottom"/>
- <Static text="월" position="absolute 198 2 218 21" id="caption12" class="calendar_output" style="color:black;" anchor="left bottom"/>
- <Button position="absolute 72 5 88 21" id="button3" class="icon_pre_year" text="" onclick="grp_body_grp_calendar_button3_onclick" anchor="left bottom"/>
- <Button position="absolute 7 4 21 20" id="button63" class="icon_list" text="" onclick="grp_body_grp_calendar_button63_onclick" anchor="left bottom"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 0 1195 76" align="align:center top;" id="grp_sea" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Combo position="absolute 281 9 366 28" id="cmb_term" class="combo_default" visible="false" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">0</Col>
- <Col id="datacolumn">일자선택</Col>
- </Row>
- <Row>
- <Col id="codecolumn">15</Col>
- <Col id="datacolumn">15일</Col>
- </Row>
- <Row>
- <Col id="codecolumn">30</Col>
- <Col id="datacolumn">30일</Col>
- </Row>
- <Row>
- <Col id="codecolumn">60</Col>
- <Col id="datacolumn">60일</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static text="등록번호 :" position="absolute 9 36 100 53" id="caption1" class="search_name" anchor="default"/>
- <Static text="적용일자 : " position="absolute 9 10 100 27" id="caption5" class="search_name" anchor="default"/>
- <Calendar position="absolute 84 9 170 28" id="ipt_date1" class="input_default" anchor="default" autoselect="true" dateformat="yyyy-MM-dd" value="null"/>
- <Calendar position="absolute 183 9 269 28" id="ipt_date2" class="input_default" anchor="default" autoselect="true" dateformat="yyyy-MM-dd"/>
- <Static text="검사실 :" position="absolute 369 10 449 27" id="caption13" class="search_name" anchor="default"/>
- <CheckBox position="absolute 195 37 241 52" id="chk_multi" class="checkbox_search" visible="false" anchor="default" text="muti" truevalue="Y" falsevalue="N"/>
- <Static text="~" position="absolute 172 11 187 26" id="caption14" anchor="default"/>
- <Edit position="absolute 84 35 169 54" id="ipt_pid" class="input_search" anchor="default" onkeydown="grp_body_grp_sea_ipt_pid_onkeydown" autoselect="true"/>
- <Combo position="absolute 289 35 417 54" id="cmb_selectexcuroom" class="combo_default" visible="false" innerdataset="ds_init_cmb_selectexcuroom" datacolumn="excuroomnm" codecolumn="excuroomcd" anchor="default"/>
- <Button position="absolute 174 37 190 53" id="button61" class="icon_search" text="" anchor="default" onclick="grp_body_grp_sea_button61_onclick"/>
- <Combo position="absolute 271 9 358 28" id="combo1" class="combo_default" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" onitemchanged="grp_body_grp_sea_combo1_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">0</Col>
- <Col id="datacolumn">일자선택</Col>
- </Row>
- <Row>
- <Col id="codecolumn">15</Col>
- <Col id="datacolumn">15일</Col>
- </Row>
- <Row>
- <Col id="codecolumn">30</Col>
- <Col id="datacolumn">30일</Col>
- </Row>
- <Row>
- <Col id="codecolumn">60</Col>
- <Col id="datacolumn">60일</Col>
- </Row>
- <Row>
- <Col id="codecolumn">91</Col>
- <Col id="datacolumn">3개월</Col>
- </Row>
- <Row>
- <Col id="codecolumn">182</Col>
- <Col id="datacolumn">6개월</Col>
- </Row>
- <Row>
- <Col id="codecolumn">365</Col>
- <Col id="datacolumn">1년</Col>
- </Row>
- <Row>
- <Col id="codecolumn">730</Col>
- <Col id="datacolumn">2년</Col>
- </Row>
- <Row>
- <Col id="codecolumn">1095</Col>
- <Col id="datacolumn">3년</Col>
- </Row>
- <Row>
- <Col id="codecolumn">1825</Col>
- <Col id="datacolumn">5년</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Radio position="absolute 202 35 346 54" id="radio3" class="radio_search" columncount="3" rowcount="1" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" onitemchanged="grp_body_grp_sea_radio3_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">
- </Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">I</Col>
- <Col id="datacolumn">입원</Col>
- </Row>
- <Row>
- <Col id="codecolumn">O</Col>
- <Col id="datacolumn">외래</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <cp_checkboxList id="checkbox1" titletext="CheckBox List" taborder="1" text="cp_checkboxList00" scrollbars="none" position="absolute 429 6 1133 70" style="background:transparent; " col="5" row="3" cellspacing="2" vcellspacing="0" itemWidth="150" itemHeight="20" overflow="visible" anchor="default"/>
- <Button id="btn_sea" taborder="2" text="조회" onclick="grp_body_grp_sea_btn_sea_onclick" class="btn1" position="absolute 1128 27 1184 49" anchor="top right"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid position="absolute 580 530 755 700" id="grd_temp" visible="false" binddataset="ds_grd_temp" anchor="left bottom">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="76"/>
- <Column size="62"/>
- <Column size="32"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="일자(dd)"/>
- <Cell col="1" text="가용현황"/>
- <Cell col="2" text="max"/>
- </Band>
- <Band id="body">
- <Cell text="bind:rsrvdd"/>
- <Cell col="1" text="bind:count"/>
- <Cell col="2" text="bind:max"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 318 417 616 423" linetype="vertical" id="line1" class="line_1" anchor="default"/>
- <ActiveX position="absolute 40 585 160 680" id="rtfviewer" progid="{a4bf7e18-5f67-4868-a726-eed421632374}" visible="false" anchor="left bottom"/>
- <Button position="absolute 338 635 380 654" id="btn_rsrvtmins" class="btn2_letter2" visible="false" text="적용" onclick="grp_body_btn_rsrvtmins_onclick" anchor="left bottom"/>
- <Button position="absolute 338 610 380 629" id="btn_rsrvmodify" class="btn2_letter2" visible="false" text="수정" anchor="left bottom"/>
- <Grid position="absolute 500 580 720 730" id="datagrid3" visible="false" binddataset="ds_datagrid3" anchor="left bottom">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="caption1"/>
- <Cell col="1" text="caption2"/>
- </Band>
- <Band id="body">
- <Cell text="bind:basedd"/>
- <Cell col="1" text="bind:dutflag"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="처방전달사항/검통전달사항" position="absolute 987 199 1183 216" id="caption2" class="tit_2" anchor="top right"/>
- <Static text="검사 Comment" position="absolute 987 281 1110 297" id="caption3" class="tit_2" anchor="top right"/>
- <Button position="absolute 1150 360 1192 379" id="btn_deptmemosave" class="btn2" text="저장" onclick="grp_body_btn_deptmemosave_onclick" anchor="top right"/>
- <Button position="absolute 1150 278 1192 297" id="btn_excucmtsave" class="btn2" text="저장" onclick="grp_body_btn_excucmtsave_onclick" anchor="top right"/>
- <TextArea position="absolute 987 220 1192 276" id="tar_prcpdelivefact" wordwrap="char" scrollbars="autovert" anchor="top right"/>
- <Static text="메모" position="absolute 987 363 1039 379" id="caption7" class="tit_2" anchor="top right"/>
- <TextArea position="absolute 987 384 1192 458" id="tat_deptmemo" wordwrap="char" scrollbars="autovert" anchor="top right"/>
- <Shape position="absolute 987 379 1192 385" linetype="horizontal" id="line4" class="line_10" anchor="top right"/>
- <TextArea position="absolute 987 302 1192 358" id="tar_excurem" scrollbars="autovert" wordwrap="char" anchor="top right"/>
- <Shape position="absolute 987 215 1192 221" linetype="horizontal" id="line6" class="line_10" anchor="top right"/>
- <Shape position="absolute 987 297 1192 303" linetype="horizontal" id="line7" class="line_10" anchor="top right"/>
- <Static text="상병" position="absolute 987 118 1104 134" id="caption18" class="tit_2" anchor="top right"/>
- <Shape position="absolute 987 134 1192 140" id="line8" class="line_10" anchor="top right"/>
- <Grid position="absolute 987 139 1192 195" align="align:left middle;" id="grd_momolist" class="datagrid0" scrollbars="fixedvert" binddataset="ds_patrem_examcureexecdiaglist" autosizingtype="row" extendsizetype="row" anchor="top right">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="200"/>
- </Columns>
- <Rows>
- <Row size="24"/>
- </Rows>
- <Band id="body">
- <Cell style="align:left;" text="bind:diagengnm" wordwrap="char" autosizerow="limitmin"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Edit readonly="true" position="absolute 245 84 303 103" align="align:center middle;" id="input7" anchor="default" class="output" style="font:Dotum,10,bold;"/>
- <Edit readonly="true" position="absolute 763 84 1184 103" align="align:left middle;" id="input8" anchor="left top right" class="output" style="font:Dotum,10,bold;"/>
- <Edit readonly="true" position="absolute 305 84 416 103" align="align:center middle;" id="input9" anchor="default" class="output" style="font:Dotum,10,bold;"/>
- <Static text="집전화" position="absolute 419 82 467 105" align="align:center middle;" id="caption21" class="cell_1" anchor="default" style="padding:0 0 0 4;"/>
- <Static text="주소" position="absolute 727 82 761 105" align="align:center middle;" id="caption24" class="cell_1" wordwrap="none" anchor="default" style="padding:0 0 0 4;"/>
- <Shape position="absolute 1 104 1195 110" linetype="horizontal" id="line18" class="line_3" anchor="left top right"/>
- <Static text="핸드폰" position="absolute 573 82 621 105" align="align:center middle;" id="caption16" class="cell_1" anchor="default" style="padding:0 0 0 4;"/>
- <Edit readonly="true" position="absolute 63 84 160 103" align="align:center middle;" id="input2" oneditdblclick="grp_body_input2_oneditdblclick" anchor="default" class="output" style="font:Dotum,10,bold;"/>
- <Shape position="absolute 1 77 1195 83" id="line3" class="line_10" anchor="left top right"/>
- <Edit readonly="true" position="absolute 162 84 243 103" align="align:center middle;" id="input3" anchor="default" class="output" style="font:Dotum,10,bold;"/>
- <Static text="환자정보" position="absolute 1 82 60 105" align="align:center middle;" id="caption17" class="cell_1" anchor="default" style="padding:0 0 0 4;"/>
- <Edit readonly="true" position="absolute 470 84 570 103" align="align:center middle;" id="input5" oneditdblclick="grp_body_input5_oneditdblclick" anchor="default" class="output" style="font:Dotum,10,bold;"/>
- <Edit readonly="true" position="absolute 624 84 724 103" align="align:center middle;" id="input6" oneditclick="grp_body_input6_oneditclick" anchor="default" class="output" style="font:Dotum,10,bold;"/>
- <Static position="absolute 1050 103 1120 133" id="cpt_isolinfo" anchor="right"/>
- <Button position="absolute 1174 114 1193 134" id="btn_upclear" class="icon_startend" text="" style="background:@gradation URL('theme://images\icon_startend.gif');border:0 double #33bbbbff #effcfbff;" onclick="grp_body_btn_upclear_onclick" anchor="top right"/>
- <Shape position="absolute 331 512 453 518" id="line9" class="line_10" anchor="left bottom"/>
- <Button position="absolute 373 493 415 512" id="button7" class="btn2" enable="true" text="예약" onclick="grp_body_button7_onclick" anchor="left bottom"/>
- <Button position="absolute 416 493 458 512" id="button8" class="btn2" text="취소" onclick="grp_body_button8_onclick" anchor="left bottom"/>
- <Static text="분" position="absolute 439 473 459 493" id="caption4" anchor="left bottom"/>
- <Combo position="absolute 395 473 438 492" id="cmb_min" class="combo_default" codecolumn="codecolumn" datacolumn="datacolumn" index="0" value="--" text="--" anchor="left bottom">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">--</Col>
- <Col id="datacolumn">--</Col>
- </Row>
- <Row>
- <Col id="codecolumn">00</Col>
- <Col id="datacolumn">00</Col>
- </Row>
- <Row>
- <Col id="codecolumn">10</Col>
- <Col id="datacolumn">10</Col>
- </Row>
- <Row>
- <Col id="codecolumn">20</Col>
- <Col id="datacolumn">20</Col>
- </Row>
- <Row>
- <Col id="codecolumn">30</Col>
- <Col id="datacolumn">30</Col>
- </Row>
- <Row>
- <Col id="codecolumn">40</Col>
- <Col id="datacolumn">40</Col>
- </Row>
- <Row>
- <Col id="codecolumn">50</Col>
- <Col id="datacolumn">50</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static text="시" position="absolute 374 473 394 493" id="caption15" anchor="left bottom"/>
- <Combo position="absolute 331 473 374 492" id="cmb_hour" class="combo_default" codecolumn="codecolumn" datacolumn="datacolumn" index="0" value="--" text="--" anchor="left bottom">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">--</Col>
- <Col id="datacolumn">--</Col>
- </Row>
- <Row>
- <Col id="codecolumn">08</Col>
- <Col id="datacolumn">08</Col>
- </Row>
- <Row>
- <Col id="codecolumn">09</Col>
- <Col id="datacolumn">09</Col>
- </Row>
- <Row>
- <Col id="codecolumn">10</Col>
- <Col id="datacolumn">10</Col>
- </Row>
- <Row>
- <Col id="codecolumn">11</Col>
- <Col id="datacolumn">11</Col>
- </Row>
- <Row>
- <Col id="codecolumn">12</Col>
- <Col id="datacolumn">12</Col>
- </Row>
- <Row>
- <Col id="codecolumn">13</Col>
- <Col id="datacolumn">13</Col>
- </Row>
- <Row>
- <Col id="codecolumn">14</Col>
- <Col id="datacolumn">14</Col>
- </Row>
- <Row>
- <Col id="codecolumn">15</Col>
- <Col id="datacolumn">15</Col>
- </Row>
- <Row>
- <Col id="codecolumn">16</Col>
- <Col id="datacolumn">16</Col>
- </Row>
- <Row>
- <Col id="codecolumn">17</Col>
- <Col id="datacolumn">17</Col>
- </Row>
- <Row>
- <Col id="codecolumn">18</Col>
- <Col id="datacolumn">18</Col>
- </Row>
- <Row>
- <Col id="codecolumn">19</Col>
- <Col id="datacolumn">19</Col>
- </Row>
- <Row>
- <Col id="codecolumn">20</Col>
- <Col id="datacolumn">20</Col>
- </Row>
- <Row>
- <Col id="codecolumn">21</Col>
- <Col id="datacolumn">21</Col>
- </Row>
- <Row>
- <Col id="codecolumn">22</Col>
- <Col id="datacolumn">22</Col>
- </Row>
- <Row>
- <Col id="codecolumn">23</Col>
- <Col id="datacolumn">23</Col>
- </Row>
- <Row>
- <Col id="codecolumn">24</Col>
- <Col id="datacolumn">24</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Button position="absolute 219 492 246 517" id="button18" class="icon_month" text="9" onclick="grp_body_button18_onclick" anchor="left bottom"/>
- <Button position="absolute 246 492 273 517" id="button19" class="icon_month" text="10" onclick="grp_body_button19_onclick" anchor="left bottom"/>
- <Button position="absolute 3 492 30 517" id="button1" class="icon_month" text="1" onclick="grp_body_button1_onclick" anchor="left bottom"/>
- <Button position="absolute 30 492 57 517" id="button2" class="icon_month" text="2" onclick="grp_body_button2_onclick" anchor="left bottom"/>
- <Button position="absolute 57 492 84 517" id="button9" class="icon_month" text="3" onclick="grp_body_button9_onclick" anchor="left bottom"/>
- <Button position="absolute 273 492 300 517" id="button20" class="icon_month" text="11" onclick="grp_body_button20_onclick" anchor="left bottom"/>
- <Button position="absolute 300 492 327 517" id="button21" class="icon_month" text="12" onclick="grp_body_button21_onclick" anchor="left bottom"/>
- <Button position="absolute 84 492 111 517" id="button4" class="icon_month" text="4" onclick="grp_body_button4_onclick" anchor="left bottom"/>
- <Button position="absolute 111 492 138 517" id="button11" class="icon_month" text="5" onclick="grp_body_button11_onclick" anchor="left bottom"/>
- <Button position="absolute 138 492 165 517" id="button12" class="icon_month" text="6" onclick="grp_body_button12_onclick" anchor="left bottom"/>
- <Button position="absolute 165 492 192 517" id="button13" class="icon_month" text="7" onclick="grp_body_button13_onclick" anchor="left bottom"/>
- <Button position="absolute 192 492 219 517" id="button14" class="icon_month" text="8" onclick="grp_body_button14_onclick" anchor="left bottom"/>
- <Radio position="absolute 1037 362 1146 381" id="rd_memoflag" class="radio_search" columncount="2" rowcount="1" codecolumn="codecolumn" datacolumn="datacolumn" anchor="top right">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">dept</Col>
- <Col id="datacolumn">진료과</Col>
- </Row>
- <Row>
- <Col id="codecolumn">room</Col>
- <Col id="datacolumn">검사실</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Div position="absolute 669 177 948 296" align="align:center top;" id="group7" visible="false" class="div_DA" anchor="default">
- <Layouts>
- <Layout>
- <Button position="absolute 227 95 269 114" id="btn_close" class="btn5" visible="false" text="닫기" anchor="default" onclick="grp_body_group7_btn_close_onclick"/>
- <Shape position="absolute 10 18 270 24" linetype="vertical" id="line_isol" class="line_1" visible="false" anchor="default"/>
- <Shape position="absolute 10 90 270 96" linetype="horizontal" id="line_isol2" class="line_3" visible="false" anchor="default"/>
- <TextArea position="absolute 10 26 270 92" id="txt_isol" visible="false" wordwrap="char" scrollbars="autovert" anchor="default"/>
- <Static text="감염정보" position="absolute 12 7 127 24" id="cpt_isoltitle" class="tit_2" visible="false" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Button position="absolute 330 493 372 512" id="btn_tmprsrv" class="btn2" text="임시" onclick="grp_body_btn_tmprsrv_onclick" anchor="left bottom"/>
- <Grid position="absolute 331 517 453 783" id="grd_rsrvposstm" scrollbars="fixedvert" binddataset="ds_grd_rsrvposstm" oncellclick="grp_body_grd_rsrvposstm_oncellclick" anchor="left bottom">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="39"/>
- <Column size="33"/>
- <Column size="31"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="시간"/>
- <Cell col="1" text="현황"/>
- <Cell col="2" text="가용"/>
- </Band>
- <Band id="body">
- <Cell text="bind:rsrvtm" mask="##:##"/>
- <Cell col="1" text="bind:count"/>
- <Cell col="2" text="bind:max"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_calendar" class="gridcalendar" taborder="1" binddataset="ds_grid_grd_calendar" useinputpanel="false" selecttype="cell" autofittype="col,allrow" onselectchanged="grp_body_grd_calendar_onselectchanged" position="absolute 3 517 328 783" style="background:white;" onclick="grd_calendar_onclick" oncellclick="grp_body_grd_calendar_oncellclick" anchor="left bottom">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="61"/>
- <Column size="61"/>
- <Column size="61"/>
- <Column size="61"/>
- <Column size="61"/>
- <Column size="61"/>
- <Column size="61"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="일"/>
- <Cell col="1" text="월"/>
- <Cell col="2" text="화"/>
- <Cell col="3" text="수"/>
- <Cell col="4" text="목"/>
- <Cell col="5" text="금"/>
- <Cell col="6" text="토"/>
- </Band>
- <Band id="body">
- <Cell rowspan="2" style="background:EXPR(!utlf_isNull(getColumn(currow,'sun_reglscheflag'))?getColumn(currow,'sun_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'sun_reglscheflag'))?getColumn(currow,'sun_reglscheflag'):"#ffffff");color:EXPR(getColumn(currow,'sun_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'sun_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" taborder="undefined">
- <Cell style="line:1 solid #808080ff,1 solid #808080ff,1 solid white,1 solid #808080ff;background:EXPR(!utlf_isNull(getColumn(currow,'sun_reglscheflag'))?getColumn(currow,'sun_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'sun_reglscheflag'))?getColumn(currow,'sun_reglscheflag'):"#ffffff");color:crimson;color2:crimson;selectbackground:#daa7d9ff;" class="color_sun" text="bind:sun" taborder="undefined"/>
- <Cell row="1" style="line:1 solid white,1 solid #808080ff,1 solid #808080ff,1 solid #808080ff;background:EXPR(!utlf_isNull(getColumn(currow,'sun_reglscheflag'))?getColumn(currow,'sun_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'sun_reglscheflag'))?getColumn(currow,'sun_reglscheflag'):"#ffffff");color:crimson;color2:crimson;selectbackground:#daa7d9ff;" class="color_sun" text="bind:sun_memo" taborder="undefined"/>
- </Cell>
- <Cell col="1" rowspan="2" style="background:EXPR(!utlf_isNull(getColumn(currow,'mon_reglscheflag'))?getColumn(currow,'mon_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'mon_reglscheflag'))?getColumn(currow,'mon_reglscheflag'):"#ffffff");color:EXPR(getColumn(currow,'mon_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'mon_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" taborder="undefined">
- <Cell style="line:1 solid #808080ff,1 solid #808080ff,1 solid white,1 solid #808080ff;background:EXPR(!utlf_isNull(getColumn(currow,'mon_reglscheflag'))?getColumn(currow,'mon_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'mon_reglscheflag'))?getColumn(currow,'mon_reglscheflag'):"#ffffff");color:EXPR(getColumn(currow,'mon_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'mon_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" text="bind:mon" taborder="undefined"/>
- <Cell row="1" style="line:1 solid transparent,1 solid #808080ff,1 solid #808080ff,1 solid #808080ff;background:EXPR(!utlf_isNull(getColumn(currow,'mon_reglscheflag'))?getColumn(currow,'mon_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'mon_reglscheflag'))?getColumn(currow,'mon_reglscheflag'):"#ffffff");selectbackground:#daa7d9ff;" text="bind:mon_memo" taborder="undefined"/>
- </Cell>
- <Cell col="2" rowspan="2" style="background:EXPR(!utlf_isNull(getColumn(currow,'tue_reglscheflag'))?getColumn(currow,'tue_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'tue_reglscheflag'))?getColumn(currow,'tue_reglscheflag'):"#ffffff");color:EXPR(getColumn(currow,'tue_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'tue_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" taborder="undefined">
- <Cell style="line:1 solid #808080ff,1 solid #808080ff,1 solid white,1 solid #808080ff;background:EXPR(!utlf_isNull(getColumn(currow,'tue_reglscheflag'))?getColumn(currow,'tue_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'tue_reglscheflag'))?getColumn(currow,'tue_reglscheflag'):"#ffffff");color:EXPR(getColumn(currow,'tue_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'tue_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" text="bind:tue"/>
- <Cell row="1" style="line:1 solid transparent,1 solid #808080ff,1 solid #808080ff,1 solid #808080ff;background:EXPR(!utlf_isNull(getColumn(currow,'tue_reglscheflag'))?getColumn(currow,'tue_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'tue_reglscheflag'))?getColumn(currow,'tue_reglscheflag'):"#ffffff");selectbackground:#daa7d9ff;" text="bind:tue_memo"/>
- </Cell>
- <Cell col="3" rowspan="2" style="background:EXPR(!utlf_isNull(getColumn(currow,'wed_reglscheflag'))?getColumn(currow,'wed_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'wed_reglscheflag'))?getColumn(currow,'wed_reglscheflag'):"#ffffff");color:EXPR(getColumn(currow,'wed_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'wed_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" taborder="undefined">
- <Cell style="line:1 solid #808080ff,1 solid #808080ff,1 solid white,1 solid #808080ff;background:EXPR(!utlf_isNull(getColumn(currow,'wed_reglscheflag'))?getColumn(currow,'wed_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'wed_reglscheflag'))?getColumn(currow,'wed_reglscheflag'):"#ffffff");color:EXPR(getColumn(currow,'wed_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'wed_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" text="bind:wed"/>
- <Cell row="1" style="line:1 solid transparent,1 solid #808080ff,1 solid #808080ff,1 solid #808080ff;background:EXPR(!utlf_isNull(getColumn(currow,'wed_reglscheflag'))?getColumn(currow,'wed_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'wed_reglscheflag'))?getColumn(currow,'wed_reglscheflag'):"#ffffff");selectbackground:#daa7d9ff;" text="bind:wed_memo"/>
- </Cell>
- <Cell col="4" rowspan="2" style="background:EXPR(!utlf_isNull(getColumn(currow,'thu_reglscheflag'))?getColumn(currow,'thu_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'thu_reglscheflag'))?getColumn(currow,'thu_reglscheflag'):"#ffffff");color:EXPR(getColumn(currow,'thu_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'thu_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" taborder="undefined">
- <Cell style="line:1 solid #808080ff,1 solid #808080ff,1 solid white,1 solid #808080ff;background:EXPR(!utlf_isNull(getColumn(currow,'thu_reglscheflag'))?getColumn(currow,'thu_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'thu_reglscheflag'))?getColumn(currow,'thu_reglscheflag'):"#ffffff");color:EXPR(getColumn(currow,'thu_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'thu_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" text="bind:thu"/>
- <Cell row="1" style="line:1 solid transparent,1 solid #808080ff,1 solid #808080ff,1 solid #808080ff;background:EXPR(!utlf_isNull(getColumn(currow,'thu_reglscheflag'))?getColumn(currow,'thu_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'thu_reglscheflag'))?getColumn(currow,'thu_reglscheflag'):"#ffffff");selectbackground:#daa7d9ff;" text="bind:thu_memo"/>
- </Cell>
- <Cell col="5" rowspan="2" style="background:EXPR(!utlf_isNull(getColumn(currow,'fri_reglscheflag'))?getColumn(currow,'fri_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'fri_reglscheflag'))?getColumn(currow,'fri_reglscheflag'):"#ffffff");color:EXPR(getColumn(currow,'fri_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'fri_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" taborder="undefined">
- <Cell style="line:1 solid #808080ff,1 solid #808080ff,1 solid white,1 solid #808080ff;background:EXPR(!utlf_isNull(getColumn(currow,'fri_reglscheflag'))?getColumn(currow,'fri_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'fri_reglscheflag'))?getColumn(currow,'fri_reglscheflag'):"#ffffff");color:EXPR(getColumn(currow,'fri_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'fri_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" text="bind:fri"/>
- <Cell row="1" style="line:1 solid transparent,1 solid #808080ff,1 solid #808080ff,1 solid #808080ff;background:EXPR(!utlf_isNull(getColumn(currow,'fri_reglscheflag'))?getColumn(currow,'fri_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'fri_reglscheflag'))?getColumn(currow,'fri_reglscheflag'):"#ffffff");selectbackground:#daa7d9ff;" text="bind:fri_memo"/>
- </Cell>
- <Cell col="6" rowspan="2" style="background:EXPR(!utlf_isNull(getColumn(currow,'sat_reglscheflag'))?getColumn(currow,'sat_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'sat_reglscheflag'))?getColumn(currow,'sat_reglscheflag'):"#ffffff");color:EXPR(getColumn(currow,'sat_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'sat_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" taborder="undefined">
- <Cell style="line:1 solid #808080ff,1 solid #808080ff,1 solid white,1 solid #808080ff;background:EXPR(!utlf_isNull(getColumn(currow,'sat_reglscheflag'))?getColumn(currow,'sat_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'sat_reglscheflag'))?getColumn(currow,'sat_reglscheflag'):"#ffffff");color:EXPR(getColumn(currow,'sat_dutflag')=='8'?'red':'blue');color2:EXPR(getColumn(currow,'sat_dutflag')=='8'?'red':'blue');selectbackground:#daa7d9ff;" class="color_sat" text="bind:sat"/>
- <Cell row="1" style="line:1 solid transparent,1 solid #808080ff,1 solid #808080ff,1 solid #808080ff;background:EXPR(!utlf_isNull(getColumn(currow,'sat_reglscheflag'))?getColumn(currow,'sat_reglscheflag'):"#ffffff");background2:EXPR(!utlf_isNull(getColumn(currow,'sat_reglscheflag'))?getColumn(currow,'sat_reglscheflag'):"#ffffff");selectbackground:#daa7d9ff;" text="bind:sat_memo"/>
- </Cell>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div position="absolute 0 107 985 463" align="align:center top;" id="group2" scrollbars="none" anchor="all">
- <Layouts>
- <Layout>
- <Tab position="absolute 1 6 980 353" id="switch1" class="tab_Normal" style="border:1 none #808080ff ;" anchor="all">
- <Tabpages>
- <Tabpage text="전체처방" id="case1" scrollbars="none">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 7 973 327" id="grd_ordlist1" binddataset="ds_grd_ordlist1" oncellclick="grp_body_group2_switch1_case1_grd_ordlist1_oncellclick" anchor="all" cellclickbound="cell" cellsizingtype="col" selecttype="multirow" cellsizebandtype="allband" onlbuttonup="grp_body_group2_switch1_datagrid_onlbuttonup" onrbuttonup="grp_body_group2_switch1_case1_grd_ordlist1_onrbuttonup" autoenter="key" onmousemove="grp_body_group2_switch1_grid_onmousemove">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="23" band="left"/>
- <Column size="16" band="left"/>
- <Column size="62" band="left"/>
- <Column size="61" band="left"/>
- <Column size="38" band="left"/>
- <Column size="73" band="left"/>
- <Column size="58"/>
- <Column size="79"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="76"/>
- <Column size="104"/>
- <Column size="70"/>
- <Column size="34"/>
- <Column size="100"/>
- <Column size="122"/>
- <Column size="41"/>
- <Column size="50"/>
- <Column size="137"/>
- <Column size="101"/>
- <Column size="62"/>
- <Column size="60"/>
- <Column size="84"/>
- <Column size="68"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
- <Cell col="2" text="등록번호"/>
- <Cell col="3" text="성명"/>
- <Cell col="4" text="S/A"/>
- <Cell col="5" text="진료과"/>
- <Cell col="6" text="진료의"/>
- <Cell col="7" text="지정검사의"/>
- <Cell col="8" colspan="2" text="선택진료의" taborder="undefined"/>
- <Cell col="10" text="처방코드"/>
- <Cell col="11" text="처방일자"/>
- <Cell col="12" text="처방상태"/>
- <Cell col="13" text="수납"/>
- <Cell col="14" text="검사실"/>
- <Cell col="15" text="예약일자"/>
- <Cell col="16" text="병동"/>
- <Cell col="17" text="병실"/>
- <Cell col="18" text="처방명"/>
- <Cell col="19" text="실시일자"/>
- <Cell col="20" text="실시자"/>
- <Cell col="21" text="예약자"/>
- <Cell col="22" text="희망일자"/>
- <Cell col="23" text="취소코드"/>
- <Cell col="24" text="execprcpuniqno"/>
- <Cell col="25" text="prcpexecdeptcd"/>
- <Cell col="26" text="excuroomcd"/>
- <Cell col="27" text="inflag"/>
- <Cell col="28" text="rcptacptyn"/>
- <Cell col="29" text="ExecBaseFlag"/>
- <Cell col="30" text="excupartcd"/>
- <Cell col="31" text="modality"/>
- <Cell col="32" text="execrem"/>
- <Cell col="33" text="prcpdelivefact"/>
- <Cell col="34" text="carecnfmdd"/>
- <Cell col="35" text="prcpkindcd"/>
- <Cell col="36" text="rcptno"/>
- <Cell col="37" text="acptseqno"/>
- <Cell col="38" text="prcpgenrflag"/>
- <Cell col="39" text="orddd"/>
- <Cell col="40" text="orddeptcd"/>
- <Cell col="41" text="rcptdd"/>
- <Cell col="42" text="orddrid"/>
- <Cell col="43" text="prcpno"/>
- <Cell col="44" text="EqmtIFYn"/>
- <Cell col="45" text="basesuppdeptcd"/>
- <Cell col="46" text="cretno"/>
- <Cell col="47" text="wardcd"/>
- <Cell col="48" text="rsrvdt"/>
- <Cell col="49" text="rgstdeptcd"/>
- <Cell col="50" text="rgstrid"/>
- <Cell col="51" text="inclprcpcd"/>
- <Cell col="52" text="lrgcd"/>
- <Cell col="53" text="mdlcd"/>
- <Cell col="54" text="actorddd"/>
- <Cell col="55" text="examroomnm"/>
- <Cell col="56" text="prcphistno"/>
- <Cell col="57" text="pacsnocretyn"/>
- <Cell col="58" text="execprcpstatcd"/>
- <Cell col="59" text="caption1"/>
- <Cell col="60" text="caption2"/>
- <Cell col="61" text="caption3"/>
- <Cell col="62" text="etcclrflag"/>
- <Cell col="63" text="age"/>
- <Cell col="64" text="rrgstno1"/>
- <Cell col="65" text="rrgstno2"/>
- <Cell col="66" text="clincstdycd"/>
- <Cell col="67" text="execrid1"/>
- <Cell col="68" text="caption4"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:check"/>
- <Cell col="2" text="bind:pid"/>
- <Cell col="3" text="bind:hngnm"/>
- <Cell col="4" text="bind:sna"/>
- <Cell col="5" text="bind:orddepthngnm"/>
- <Cell col="6" text="bind:orddrnm"/>
- <Cell col="7" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:selectdrid" combodataset="ds_init_selectdridlist" combocodecol="userid" combodatacol="usernm"/>
- <Cell col="8" text="bind:choiordflag"/>
- <Cell col="9" displaytype="combo" edittype="combo" text="bind:specdrid" combodataset="ds_init_specdridlist" combocodecol="userid" combodatacol="usernm" enable="true"/>
- <Cell col="10" text="bind:calcscorcd"/>
- <Cell col="11" displaytype="date" text="bind:prcpdt" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="12" text="bind:statcd" enable="false"/>
- <Cell col="13" text="bind:rcptyn"/>
- <Cell col="14" displaytype="combo" edittype="combo" text="bind:excuroomcd" combodataset="ds_cmb_initexecroom" combocodecol="basecd" combodatacol="basecdflagdesc"/>
- <Cell col="15" displaytype="date" text="bind:srchrsrvdt" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="16" text="bind:roomcd"/>
- <Cell col="17" text="bind:roomnm"/>
- <Cell col="18" style="align:left;" text="bind:prcpnm"/>
- <Cell col="19" displaytype="date" style="align:left middle;" text="bind:execdt" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="20" displaytype="normal" edittype="none" text="bind:execrnm"/>
- <Cell col="21" text="bind:rsrvrnm"/>
- <Cell col="22" displaytype="date" text="bind:prcphopedd" calendardisplaynulltype="nulltext"/>
- <Cell col="23" text="bind:basecd"/>
- <Cell col="24" text="bind:execprcpuniqno"/>
- <Cell col="25" text="bind:prcpexecdeptcd"/>
- <Cell col="26" text="bind:inflag"/>
- <Cell col="27" text="bind:rcptacptyn"/>
- <Cell col="28" text="bind:execbaseflag"/>
- <Cell col="29" text="bind:excupartcd"/>
- <Cell col="30" text="bind:modality"/>
- <Cell col="31" text="bind:execrem"/>
- <Cell col="32" text="bind:prcpdelivefact"/>
- <Cell col="33" text="bind:carecnfmdd"/>
- <Cell col="34" text="bind:prcpkindcd"/>
- <Cell col="35" text="bind:rcptno"/>
- <Cell col="36" text="bind:acptseqno"/>
- <Cell col="37" text="bind:prcpgenrflag"/>
- <Cell col="38" text="bind:orddd"/>
- <Cell col="39" text="bind:orddeptcd"/>
- <Cell col="40" text="bind:rcptdd"/>
- <Cell col="41" text="bind:orddrid"/>
- <Cell col="42" text="bind:prcpno"/>
- <Cell col="43" text="bind:eqmtifyn"/>
- <Cell col="44" text="bind:basesuppdeptcd"/>
- <Cell col="45" text="bind:cretno"/>
- <Cell col="46" text="bind:wardcd"/>
- <Cell col="47" text="bind:rsrvdt"/>
- <Cell col="48" text="bind:rgstdeptcd"/>
- <Cell col="49" text="bind:rgstrid"/>
- <Cell col="50" text="bind:inclprcpcd"/>
- <Cell col="51" text="bind:lrgcd"/>
- <Cell col="52" text="bind:mdlcd"/>
- <Cell col="53" text="bind:actorddd"/>
- <Cell col="54" text="bind:examroomnm"/>
- <Cell col="55" text="bind:prcphistno"/>
- <Cell col="56" text="bind:pacsnocretyn"/>
- <Cell col="57" text="bind:execprcpstatcd"/>
- <Cell col="58" text="bind:tmpldata"/>
- <Cell col="59" text="bind:prcpdd"/>
- <Cell col="60" text="bind:rsrvrid"/>
- <Cell col="61" text="bind:cnclresncdnm"/>
- <Cell col="62" text="bind:age"/>
- <Cell col="63" text="bind:rrgstno1"/>
- <Cell col="64" text="bind:rrgstno2"/>
- <Cell col="65" text="bind:clincstdycd"/>
- <Cell col="66" text="bind:execrid1"/>
- <Cell col="67" text="bind:aftrcptinfo"/>
- <Cell col="68" displaytype="date" text="bind:ordrsrvdt" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 765 70 895 205" id="grd_temproom" visible="false" binddataset="ds_cmb_initexecroomcd" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="127"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="caption3"/>
- </Band>
- <Band id="body">
- <Cell text="bind:excuroomcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 265 65 395 200" id="grd_prcpexecdeptcd" visible="false" binddataset="ds_grd_prcpexecdeptcd" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="127"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="caption3"/>
- </Band>
- <Band id="body">
- <Cell text="bind:prcpexecdeptcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <CheckBox id="chk_ordall" taborder="1" position="absolute 23 5 48 34" onchanged="grp_body_group2_switch1_case1_chk_ordall_onchanged"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="검사완료" id="case4" scrollbars="none">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 7 973 325" id="grd_ordlist4" binddataset="ds_grd_ordlist4" oncellclick="grp_body_group2_switch1_case4_grd_ordlist4_oncellclick" anchor="all" cellclickbound="cell" cellsizingtype="col" selecttype="multirow" cellsizebandtype="allband" onlbuttonup="grp_body_group2_switch1_datagrid_onlbuttonup" onrbuttonup="grp_body_group2_switch1_case4_grd_ordlist4_onrbuttonup" autoenter="key" onmousemove="grp_body_group2_switch1_grid_onmousemove">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="23" band="left"/>
- <Column size="16" band="left"/>
- <Column size="62" band="left"/>
- <Column size="61" band="left"/>
- <Column size="38" band="left"/>
- <Column size="73" band="left"/>
- <Column size="58"/>
- <Column size="69"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="76"/>
- <Column size="104"/>
- <Column size="70"/>
- <Column size="29"/>
- <Column size="100"/>
- <Column size="122"/>
- <Column size="41"/>
- <Column size="50"/>
- <Column size="137"/>
- <Column size="101"/>
- <Column size="113"/>
- <Column size="62"/>
- <Column size="62"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2" text="등록번호"/>
- <Cell col="3" text="성명"/>
- <Cell col="4" text="S/A"/>
- <Cell col="5" text="진료과"/>
- <Cell col="6" text="진료의"/>
- <Cell col="7" text="지정검사의"/>
- <Cell col="8" colspan="2" text="선택진료의" taborder="undefined"/>
- <Cell col="10" text="처방코드"/>
- <Cell col="11" text="처방일자"/>
- <Cell col="12" text="처방상태"/>
- <Cell col="13" text="수납"/>
- <Cell col="14" text="검사실"/>
- <Cell col="15" text="예약일자"/>
- <Cell col="16" text="병동"/>
- <Cell col="17" text="병실"/>
- <Cell col="18" text="처방명"/>
- <Cell col="19" text="예약자"/>
- <Cell col="20" text="실시일자"/>
- <Cell col="21" text="실시자"/>
- <Cell col="22" text="취소코드"/>
- <Cell col="23" text="execprcpuniqno"/>
- <Cell col="24" text="prcpexecdeptcd"/>
- <Cell col="25" text="excuroomcd"/>
- <Cell col="26" text="rgstdeptcd"/>
- <Cell col="27" text="rgstrid"/>
- <Cell col="28" text="inflag"/>
- <Cell col="29" text="rcptacptyn"/>
- <Cell col="30" text="ExecBaseFlag"/>
- <Cell col="31" text="lrgcd"/>
- <Cell col="32" text="mdlcd"/>
- <Cell col="33" text="excupartcd"/>
- <Cell col="34" text="modality"/>
- <Cell col="35" text="execrem"/>
- <Cell col="36" text="prcpdelivefact"/>
- <Cell col="37" text="carecnfmdd"/>
- <Cell col="38" text="excuroomnm"/>
- <Cell col="39" text="rgstdepthngnm"/>
- <Cell col="40" text="prcpkindcd"/>
- <Cell col="41" text="rcptno"/>
- <Cell col="42" text="acptseqno"/>
- <Cell col="43" text="prcpdelivefact"/>
- <Cell col="44" text="prcpgenrflag"/>
- <Cell col="45" text="orddd"/>
- <Cell col="46" text="rgstrid"/>
- <Cell col="47" text="orddrnm"/>
- <Cell col="48" text="orddeptcd"/>
- <Cell col="49" text="rcptdd"/>
- <Cell col="50" text="orddrid"/>
- <Cell col="51" text="prcpno"/>
- <Cell col="52" text="EqmtIFYn"/>
- <Cell col="53" text="basesuppdeptcd"/>
- <Cell col="54" text="rsrvdt"/>
- <Cell col="55" text="rgstrid"/>
- <Cell col="56" text="rgstdeptcd"/>
- <Cell col="57" text="inclprcpcd"/>
- <Cell col="58" text="caption1"/>
- <Cell col="59" text="caption2"/>
- <Cell col="60" text="caption3"/>
- <Cell col="61" text="caption4"/>
- <Cell col="62" text="caption5"/>
- <Cell col="63" text="caption6"/>
- <Cell col="64" text="etcclrflag"/>
- <Cell col="65" text="age"/>
- <Cell col="66" text="rrgstno1"/>
- <Cell col="67" text="rrgstno2"/>
- <Cell col="68" text="clincstdycd"/>
- <Cell col="69" text="execrid1"/>
- <Cell col="70" text="cretno"/>
- <Cell col="71" text="aftrcptinfo"/>
- </Band>
- <Band id="body">
- <Cell text="expr:currow + 1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:check"/>
- <Cell col="2" text="bind:pid"/>
- <Cell col="3" text="bind:hngnm"/>
- <Cell col="4" text="bind:sna"/>
- <Cell col="5" text="bind:orddepthngnm"/>
- <Cell col="6" text="bind:orddrnm"/>
- <Cell col="7" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:selectdrid" combodataset="ds_init_selectdridlist" combocodecol="userid" combodatacol="usernm"/>
- <Cell col="8" text="bind:choiordflag"/>
- <Cell col="9" displaytype="combo" edittype="combo" text="bind:specdrid" combodataset="ds_init_specdridlist" combocodecol="userid" combodatacol="usernm" enable="false"/>
- <Cell col="10" text="bind:calcscorcd"/>
- <Cell col="11" displaytype="date" text="bind:prcpdt" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="12" text="bind:statcd" enable="true"/>
- <Cell col="13" text="bind:rcptyn"/>
- <Cell col="14" displaytype="combo" edittype="combo" text="bind:excuroomcd" combodataset="ds_cmb_initexecroom" combocodecol="basecd" combodatacol="basecdflagdesc"/>
- <Cell col="15" displaytype="date" text="bind:srchrsrvdt" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="16" text="bind:roomcd"/>
- <Cell col="17" text="bind:roomnm"/>
- <Cell col="18" style="align:left;" text="bind:prcpnm"/>
- <Cell col="19" text="bind:rsrvrnm"/>
- <Cell col="20" displaytype="date" text="bind:execdt" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="21" text="bind:execrnm"/>
- <Cell col="22" text="bind:basecd"/>
- <Cell col="23" text="bind:execprcpuniqno"/>
- <Cell col="24" text="bind:prcpexecdeptcd"/>
- <Cell col="25" text="bind:rgstdeptcd"/>
- <Cell col="26" text="bind:rgstrid"/>
- <Cell col="27" text="bind:inflag"/>
- <Cell col="28" text="bind:rcptacptyn"/>
- <Cell col="29" text="bind:execbaseflag"/>
- <Cell col="30" text="bind:lrgcd"/>
- <Cell col="31" text="bind:mdlcd"/>
- <Cell col="32" text="bind:excupartcd"/>
- <Cell col="33" text="bind:modality"/>
- <Cell col="34" text="bind:execrem"/>
- <Cell col="35" text="bind:prcpdelivefact"/>
- <Cell col="36" text="bind:carecnfmdd"/>
- <Cell col="37" text="bind:excuroomnm"/>
- <Cell col="38" text="bind:rgstdepthngnm"/>
- <Cell col="39" text="bind:prcpkindcd"/>
- <Cell col="40" text="bind:rcptno"/>
- <Cell col="41" text="bind:acptseqno"/>
- <Cell col="42" text="bind:prcpdelivefact"/>
- <Cell col="43" text="bind:prcpgenrflag"/>
- <Cell col="44" text="bind:orddd"/>
- <Cell col="45" text="bind:rgstrid"/>
- <Cell col="46" text="bind:orddrnm"/>
- <Cell col="47" text="bind:orddeptcd"/>
- <Cell col="48" text="bind:rcptdd"/>
- <Cell col="49" text="bind:orddrid"/>
- <Cell col="50" text="bind:prcpno"/>
- <Cell col="51" text="bind:eqmtifyn"/>
- <Cell col="52" text="bind:basesuppdeptcd"/>
- <Cell col="53" text="bind:rsrvdt"/>
- <Cell col="54" text="bind:rgstrid"/>
- <Cell col="55" text="bind:rgstdeptcd"/>
- <Cell col="56" text="bind:inclprcpcd"/>
- <Cell col="57" text="bind:pacsnocretyn"/>
- <Cell col="58" text="bind:examroomnm"/>
- <Cell col="59" text="bind:execprcpstatcd"/>
- <Cell col="60" text="bind:tmpldata"/>
- <Cell col="61" text="bind:prcpdd"/>
- <Cell col="62" text="bind:rsrvrid"/>
- <Cell col="63" text="bind:cnclresncdnm"/>
- <Cell col="64" text="bind:age"/>
- <Cell col="65" text="bind:rrgstno1"/>
- <Cell col="66" text="bind:rrgstno2"/>
- <Cell col="67" text="bind:clincstdycd"/>
- <Cell col="68" text="bind:execrid1"/>
- <Cell col="69" text="bind:cretno"/>
- <Cell col="70" text="bind:aftrcptinfo"/>
- <Cell col="71" displaytype="date" text="bind:ordrsrvdt" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 60 80 634 224" id="grd_temp1" visible="false" binddataset="ds_grd_temp1" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="32"/>
- <Column size="31"/>
- <Column size="72"/>
- <Column size="70"/>
- <Column size="37"/>
- <Column size="79"/>
- <Column size="30"/>
- <Column size="73"/>
- <Column size="58"/>
- <Column size="42"/>
- <Column size="80"/>
- <Column size="166"/>
- <Column size="81"/>
- <Column size="92"/>
- <Column size="61"/>
- <Column size="116"/>
- <Column size="59"/>
- <Column size="104"/>
- <Column size="64"/>
- <Column size="121"/>
- <Column size="62"/>
- <Column size="54"/>
- <Column size="44"/>
- <Column size="51"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="선택"/>
- <Cell col="1" text="순번"/>
- <Cell col="2" text="등록번호"/>
- <Cell col="3" text="성명"/>
- <Cell col="4" text="나이"/>
- <Cell col="5" text="주민번호"/>
- <Cell col="6" text="성별"/>
- <Cell col="7" text="진료과"/>
- <Cell col="8" text="진료의사"/>
- <Cell col="9" text="포터블"/>
- <Cell col="10" text="처방코드"/>
- <Cell col="11" text="처방명"/>
- <Cell col="12" text="처방시간"/>
- <Cell col="13" text="처방상태"/>
- <Cell col="14" text="병실"/>
- <Cell col="15" text="예약시간"/>
- <Cell col="16" text="예약자"/>
- <Cell col="17" text="접수시간"/>
- <Cell col="18" text="접수자"/>
- <Cell col="19" text="실시시간"/>
- <Cell col="20" text="실시자"/>
- <Cell col="21" text="수납여부"/>
- <Cell col="22" text="키"/>
- <Cell col="23" text="몸무게"/>
- <Cell col="24" text="basecd"/>
- <Cell col="25" text="execprcpuniqno"/>
- <Cell col="26" text="prcpexecdeptcd"/>
- <Cell col="27" text="excuroomcd"/>
- <Cell col="28" text="rgstdeptcd"/>
- <Cell col="29" text="rgstrid"/>
- <Cell col="30" text="inflag"/>
- <Cell col="31" text="rcptacptyn"/>
- <Cell col="32" text="ExecBaseFlag"/>
- <Cell col="33" text="lrgcd"/>
- <Cell col="34" text="mdlcd"/>
- <Cell col="35" text="excupartcd"/>
- <Cell col="36" text="modality"/>
- <Cell col="37" text="acptrem"/>
- <Cell col="38" text="execrem"/>
- <Cell col="39" text="prcpdelivefact"/>
- <Cell col="40" text="carecnfmdd"/>
- <Cell col="41" text="excuroomnm"/>
- <Cell col="42" text="rgstdepthngnm"/>
- <Cell col="43" text="prcpkindcd"/>
- <Cell col="44" text="rcptno"/>
- <Cell col="45" text="acptseqno"/>
- <Cell col="46" text="execrid1"/>
- <Cell col="47" text="execrid2"/>
- <Cell col="48" text="execrid3"/>
- <Cell col="49" text="execrid4"/>
- </Band>
- <Band id="body">
- <Cell text="bind:check" edittype="checkbox" displaytype="checkbox"/>
- <Cell col="1" text="bind:no"/>
- <Cell col="2" text="bind:pid"/>
- <Cell col="3" text="bind:hngnm"/>
- <Cell col="4" text="bind:age"/>
- <Cell col="5" text="bind:rrgrstno"/>
- <Cell col="6" text="bind:sex"/>
- <Cell col="7" text="bind:rgstdepthngnm"/>
- <Cell col="8" text="bind:rgstridnm"/>
- <Cell col="9" text="bind:portprcpflag" edittype="checkbox" displaytype="checkbox"/>
- <Cell col="10" text="bind:calcscorcd"/>
- <Cell col="11" text="bind:prcpnm"/>
- <Cell col="12" text="bind:prcpdd"/>
- <Cell col="13" text="bind:execprcpstatcd"/>
- <Cell col="14" text="bind:roomcd"/>
- <Cell col="15" text="bind:rsrvdt"/>
- <Cell col="16" text="bind:execrid2"/>
- <Cell col="17" text="bind:rcptdd"/>
- <Cell col="18" text="bind:acptid"/>
- <Cell col="19" text="bind:execdt"/>
- <Cell col="20" text="bind:execrid1"/>
- <Cell col="21" text="bind:rcptyn"/>
- <Cell col="22" text="bind:hight"/>
- <Cell col="23" text="bind:weight"/>
- <Cell col="24" text="bind:basecd"/>
- <Cell col="25" text="bind:execprcpuniqno"/>
- <Cell col="26" text="bind:prcpexecdeptcd"/>
- <Cell col="27" text="bind:excuroomcd"/>
- <Cell col="28" text="bind:rgstdeptcd"/>
- <Cell col="29" text="bind:rgstrid"/>
- <Cell col="30" text="bind:inflag"/>
- <Cell col="31" text="bind:rcptacptyn"/>
- <Cell col="32" text="bind:execbaseflag"/>
- <Cell col="33" text="bind:lrgcd"/>
- <Cell col="34" text="bind:mdlcd"/>
- <Cell col="35" text="bind:excupartcd"/>
- <Cell col="36" text="bind:modality"/>
- <Cell col="37" text="bind:acptrem"/>
- <Cell col="38" text="bind:execrem"/>
- <Cell col="39" text="bind:newElement"/>
- <Cell col="40" text="bind:carecnfmdd"/>
- <Cell col="41" text="bind:excuroomnm"/>
- <Cell col="42" text="bind:rgstdepthngnm"/>
- <Cell col="43" text="bind:prcpkindcd"/>
- <Cell col="44" text="bind:rcptno"/>
- <Cell col="45" text="bind:acptseqno"/>
- <Cell col="46" text="bind:execrid1"/>
- <Cell col="47" text="bind:execrid2"/>
- <Cell col="48" text="bind:execrid3"/>
- <Cell col="49" text="bind:execrid4"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 295 80 869 224" id="grd_temp2" visible="false" binddataset="ds_grd_temp2" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="32"/>
- <Column size="31"/>
- <Column size="72"/>
- <Column size="70"/>
- <Column size="37"/>
- <Column size="79"/>
- <Column size="30"/>
- <Column size="73"/>
- <Column size="58"/>
- <Column size="42"/>
- <Column size="80"/>
- <Column size="166"/>
- <Column size="81"/>
- <Column size="92"/>
- <Column size="61"/>
- <Column size="116"/>
- <Column size="59"/>
- <Column size="104"/>
- <Column size="64"/>
- <Column size="121"/>
- <Column size="62"/>
- <Column size="54"/>
- <Column size="44"/>
- <Column size="51"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="선택"/>
- <Cell col="1" text="순번"/>
- <Cell col="2" text="등록번호"/>
- <Cell col="3" text="성명"/>
- <Cell col="4" text="나이"/>
- <Cell col="5" text="주민번호"/>
- <Cell col="6" text="성별"/>
- <Cell col="7" text="진료과"/>
- <Cell col="8" text="진료의사"/>
- <Cell col="9" text="포터블"/>
- <Cell col="10" text="처방코드"/>
- <Cell col="11" text="처방명"/>
- <Cell col="12" text="처방시간"/>
- <Cell col="13" text="처방상태"/>
- <Cell col="14" text="병실"/>
- <Cell col="15" text="예약시간"/>
- <Cell col="16" text="예약자"/>
- <Cell col="17" text="접수시간"/>
- <Cell col="18" text="접수자"/>
- <Cell col="19" text="실시시간"/>
- <Cell col="20" text="실시자"/>
- <Cell col="21" text="수납여부"/>
- <Cell col="22" text="키"/>
- <Cell col="23" text="몸무게"/>
- <Cell col="24" text="basecd"/>
- <Cell col="25" text="execprcpuniqno"/>
- <Cell col="26" text="prcpexecdeptcd"/>
- <Cell col="27" text="excuroomcd"/>
- <Cell col="28" text="rgstdeptcd"/>
- <Cell col="29" text="rgstrid"/>
- <Cell col="30" text="inflag"/>
- <Cell col="31" text="rcptacptyn"/>
- <Cell col="32" text="ExecBaseFlag"/>
- <Cell col="33" text="lrgcd"/>
- <Cell col="34" text="mdlcd"/>
- <Cell col="35" text="excupartcd"/>
- <Cell col="36" text="modality"/>
- <Cell col="37" text="acptrem"/>
- <Cell col="38" text="execrem"/>
- <Cell col="39" text="prcpdelivefact"/>
- <Cell col="40" text="carecnfmdd"/>
- <Cell col="41" text="excuroomnm"/>
- <Cell col="42" text="rgstdepthngnm"/>
- <Cell col="43" text="prcpkindcd"/>
- <Cell col="44" text="rcptno"/>
- <Cell col="45" text="acptseqno"/>
- <Cell col="46" text="execrid1"/>
- <Cell col="47" text="execrid2"/>
- <Cell col="48" text="execrid3"/>
- <Cell col="49" text="execrid4"/>
- </Band>
- <Band id="body">
- <Cell text="bind:check" edittype="checkbox" displaytype="checkbox"/>
- <Cell col="1" text="bind:no"/>
- <Cell col="2" text="bind:pid"/>
- <Cell col="3" text="bind:hngnm"/>
- <Cell col="4" text="bind:age"/>
- <Cell col="5" text="bind:rrgrstno"/>
- <Cell col="6" text="bind:sex"/>
- <Cell col="7" text="bind:rgstdepthngnm"/>
- <Cell col="8" text="bind:rgstridnm"/>
- <Cell col="9" text="bind:portprcpflag" edittype="checkbox" displaytype="checkbox"/>
- <Cell col="10" text="bind:calcscorcd"/>
- <Cell col="11" text="bind:prcpnm"/>
- <Cell col="12" text="bind:prcpdd"/>
- <Cell col="13" text="bind:execprcpstatcd"/>
- <Cell col="14" text="bind:roomcd"/>
- <Cell col="15" text="bind:rsrvdt" mask="yyyy-mm-dd hh:nn"/>
- <Cell col="16" text="bind:execrid2"/>
- <Cell col="17" text="bind:rcptdd"/>
- <Cell col="18" text="bind:acptid"/>
- <Cell col="19" text="bind:execdt"/>
- <Cell col="20" text="bind:execrid1"/>
- <Cell col="21" text="bind:rcptyn"/>
- <Cell col="22" text="bind:hight"/>
- <Cell col="23" text="bind:weight"/>
- <Cell col="24" text="bind:basecd"/>
- <Cell col="25" text="bind:execprcpuniqno"/>
- <Cell col="26" text="bind:prcpexecdeptcd"/>
- <Cell col="27" text="bind:excuroomcd"/>
- <Cell col="28" text="bind:rgstdeptcd"/>
- <Cell col="29" text="bind:rgstrid"/>
- <Cell col="30" text="bind:inflag"/>
- <Cell col="31" text="bind:rcptacptyn"/>
- <Cell col="32" text="bind:execbaseflag"/>
- <Cell col="33" text="bind:lrgcd"/>
- <Cell col="34" text="bind:mdlcd"/>
- <Cell col="35" text="bind:excupartcd"/>
- <Cell col="36" text="bind:modality"/>
- <Cell col="37" text="bind:acptrem"/>
- <Cell col="38" text="bind:execrem"/>
- <Cell col="39" text="bind:newElement"/>
- <Cell col="40" text="bind:carecnfmdd"/>
- <Cell col="41" text="bind:excuroomnm"/>
- <Cell col="42" text="bind:rgstdepthngnm"/>
- <Cell col="43" text="bind:prcpkindcd"/>
- <Cell col="44" text="bind:rcptno"/>
- <Cell col="45" text="bind:acptseqno"/>
- <Cell col="46" text="bind:execrid1"/>
- <Cell col="47" text="bind:execrid2"/>
- <Cell col="48" text="bind:execrid3"/>
- <Cell col="49" text="bind:execrid4"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="미시행처방" id="case6" scrollbars="none">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 7 973 325" align="align:center middle;" id="grd_ordlist6" binddataset="ds_grd_ordlist6" oncellclick="grp_body_group2_switch1_case6_grd_ordlist6_oncellclick" anchor="all" cellclickbound="cell" selecttype="multirow" cellsizebandtype="allband" onlbuttonup="grp_body_group2_switch1_datagrid_onlbuttonup" cellsizingtype="col" onrbuttonup="grp_body_group2_switch1_case6_grd_ordlist6_onrbuttonup" onmousemove="grp_body_group2_switch1_grid_onmousemove">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="21" band="left"/>
- <Column size="16" band="left"/>
- <Column size="62" band="left"/>
- <Column size="61" band="left"/>
- <Column size="38" band="left"/>
- <Column size="73" band="left"/>
- <Column size="58"/>
- <Column size="67"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="76"/>
- <Column size="104"/>
- <Column size="70"/>
- <Column size="36"/>
- <Column size="100"/>
- <Column size="122"/>
- <Column size="41"/>
- <Column size="50"/>
- <Column size="137"/>
- <Column size="101"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="72"/>
- <Column size="85"/>
- <Column size="70"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="130"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2" text="등록번호"/>
- <Cell col="3" text="성명"/>
- <Cell col="4" text="S/A"/>
- <Cell col="5" text="진료과"/>
- <Cell col="6" text="진료의"/>
- <Cell col="7" text="지정검사의"/>
- <Cell col="8" colspan="2" text="선택진료의" taborder="undefined"/>
- <Cell col="10" text="처방코드"/>
- <Cell col="11" text="처방일자"/>
- <Cell col="12" text="처방상태"/>
- <Cell col="13" text="수납"/>
- <Cell col="14" text="검사실"/>
- <Cell col="15" text="예약일자"/>
- <Cell col="16" text="병동"/>
- <Cell col="17" text="병실"/>
- <Cell col="18" text="처방명"/>
- <Cell col="19" text="예약자"/>
- <Cell col="20" text="접수시간"/>
- <Cell col="21" text="접수자"/>
- <Cell col="22" text="실시시간"/>
- <Cell col="23" text="실시자"/>
- <Cell col="24" text="희망일자"/>
- <Cell col="25" text="취소코드"/>
- <Cell col="26" text="execprcpuniqno"/>
- <Cell col="27" text="prcpexecdeptcd"/>
- <Cell col="28" text="excuroomcd"/>
- <Cell col="29" text="rgstdeptcd"/>
- <Cell col="30" text="rgstrid"/>
- <Cell col="31" text="inflag"/>
- <Cell col="32" text="rcptacptyn"/>
- <Cell col="33" text="ExecBaseFlag"/>
- <Cell col="34" text="lrgcd"/>
- <Cell col="35" text="mdlcd"/>
- <Cell col="36" text="excupartcd"/>
- <Cell col="37" text="modality"/>
- <Cell col="38" text="acptrem"/>
- <Cell col="39" text="execrem"/>
- <Cell col="40" text="prcpdelivefact"/>
- <Cell col="41" text="carecnfmdd"/>
- <Cell col="42" text="excuroomnm"/>
- <Cell col="43" text="rgstdepthngnm"/>
- <Cell col="44" text="prcpkindcd"/>
- <Cell col="45" text="rcptno"/>
- <Cell col="46" text="acptseqno"/>
- <Cell col="47" text="execrid1"/>
- <Cell col="48" text="execrid3"/>
- <Cell col="49" text="execrid4"/>
- <Cell col="50" text="prcpgenrflag"/>
- <Cell col="51" text="indd"/>
- <Cell col="52" text="rgstrid"/>
- <Cell col="53" text="orddrnm"/>
- <Cell col="54" text="orddeptcd"/>
- <Cell col="55" text="rcptdd"/>
- <Cell col="56" text="orddrid"/>
- <Cell col="57" text="prcpno"/>
- <Cell col="58" text="EqmtIFYn"/>
- <Cell col="59" text="basesuppdeptcd"/>
- <Cell col="60" text="tmpldata"/>
- <Cell col="61" text="wardcd"/>
- <Cell col="62" text="prcpexecdeptcd"/>
- <Cell col="63" text="rsrvdt"/>
- <Cell col="64" text="prcphistno"/>
- <Cell col="65" text="inclprcpcd"/>
- <Cell col="66" text="actorddd"/>
- <Cell col="67" text="retno"/>
- <Cell col="68" text="pacsnocretyn"/>
- <Cell col="69" text="examroonm"/>
- <Cell col="70" text="execprcpstatcd"/>
- <Cell col="71" text="caption1"/>
- <Cell col="72" text="caption2"/>
- <Cell col="73" text="etcclrflag"/>
- <Cell col="74" text="age"/>
- <Cell col="75" text="rrgstno1"/>
- <Cell col="76" text="rrgstno2"/>
- <Cell col="77" text="clincstdycd"/>
- <Cell col="78" text="examroomnm"/>
- <Cell col="79" text="aftrcptinfo"/>
- <Cell col="80" text="caption3"/>
- <Cell col="81" text="caption4"/>
- <Cell col="82" text="caption5"/>
- <Cell col="83" text="caption6"/>
- <Cell col="84" text="caption7"/>
- <Cell col="85" text="caption8"/>
- <Cell col="86" text="caption9"/>
- </Band>
- <Band id="body">
- <Cell text="expr:currow + 1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:check"/>
- <Cell col="2" text="bind:pid"/>
- <Cell col="3" text="bind:hngnm"/>
- <Cell col="4" text="bind:sna"/>
- <Cell col="5" text="bind:orddepthngnm"/>
- <Cell col="6" text="bind:orddrnm"/>
- <Cell col="7" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:selectdrid" combodataset="ds_init_selectdridlist" combocodecol="userid" combodatacol="usernm"/>
- <Cell col="8" text="bind:choiordflag"/>
- <Cell col="9" displaytype="combo" edittype="combo" text="bind:specdrid" combodataset="ds_init_specdridlist" combocodecol="userid" combodatacol="usernm" enable="true"/>
- <Cell col="10" text="bind:calcscorcd"/>
- <Cell col="11" displaytype="date" text="bind:prcpdt" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="12" text="bind:statcd"/>
- <Cell col="13" text="bind:rcptyn"/>
- <Cell col="14" displaytype="combo" edittype="combo" text="bind:excuroomcd" combodataset="ds_cmb_initexecroom" combocodecol="basecd" combodatacol="basecdflagdesc"/>
- <Cell col="15" displaytype="date" text="bind:srchrsrvdt" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="16" text="bind:roomcd"/>
- <Cell col="17" text="bind:roomnm"/>
- <Cell col="18" style="align:left;" text="bind:prcpnm"/>
- <Cell col="19" displaytype="normal" edittype="none" text="bind:rsrvrnm"/>
- <Cell col="20" text="bind:rcptdd"/>
- <Cell col="21" text="bind:acptid"/>
- <Cell col="22" displaytype="date" text="bind:execdt" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="23" displaytype="normal" edittype="none" text="bind:execrnm"/>
- <Cell col="24" displaytype="date" text="bind:prcphopedd" calendardisplaynulltype="nulltext"/>
- <Cell col="25" text="bind:basecd"/>
- <Cell col="26" text="bind:execprcpuniqno"/>
- <Cell col="27" text="bind:prcpexecdeptcd"/>
- <Cell col="28" text="bind:rgstdeptcd"/>
- <Cell col="29" text="bind:rgstrid"/>
- <Cell col="30" text="bind:inflag"/>
- <Cell col="31" text="bind:rcptacptyn"/>
- <Cell col="32" text="bind:execbaseflag"/>
- <Cell col="33" text="bind:lrgcd"/>
- <Cell col="34" text="bind:mdlcd"/>
- <Cell col="35" text="bind:excupartcd"/>
- <Cell col="36" text="bind:modality"/>
- <Cell col="37" text="bind:acptrem"/>
- <Cell col="38" text="bind:execrem"/>
- <Cell col="39" text="bind:prcpdelivefact"/>
- <Cell col="40" text="bind:carecnfmdd"/>
- <Cell col="41" text="bind:excuroomnm"/>
- <Cell col="42" text="bind:rgstdepthngnm"/>
- <Cell col="43" text="bind:prcpkindcd"/>
- <Cell col="44" text="bind:rcptno"/>
- <Cell col="45" text="bind:acptseqno"/>
- <Cell col="46" text="bind:execrid1"/>
- <Cell col="47" text="bind:execrid3"/>
- <Cell col="48" text="bind:execrid4"/>
- <Cell col="49" text="bind:prcpgenrflag"/>
- <Cell col="50" text="bind:orddd"/>
- <Cell col="51" text="bind:rgstrid"/>
- <Cell col="52" text="bind:orddrnm"/>
- <Cell col="53" text="bind:orddeptcd"/>
- <Cell col="54" text="bind:rcptdd"/>
- <Cell col="55" text="bind:orddrid"/>
- <Cell col="56" text="bind:prcpno"/>
- <Cell col="57" text="bind:eqmtifyn"/>
- <Cell col="58" text="bind:basesuppdeptcd"/>
- <Cell col="59" text="bind:tmpldata"/>
- <Cell col="60" text="bind:wardcd"/>
- <Cell col="61" text="bind:prcpexecdeptcd"/>
- <Cell col="62" text="bind:rsrvdt"/>
- <Cell col="63" text="bind:prcphistno"/>
- <Cell col="64" text="bind:inclprcpcd"/>
- <Cell col="65" text="bind:actorddd"/>
- <Cell col="66" text="bind:cretno"/>
- <Cell col="67" text="bind:pacsnocretyn"/>
- <Cell col="68" text="bind:examroomnm"/>
- <Cell col="69" text="bind:execprcpstatcd"/>
- <Cell col="70" text="bind:tmpldata"/>
- <Cell col="71" text="bind:prcpdd"/>
- <Cell col="72" text="bind:cnclresncdnm"/>
- <Cell col="73" text="bind:age"/>
- <Cell col="74" text="bind:rrgstno1"/>
- <Cell col="75" text="bind:rrgstno2"/>
- <Cell col="76" text="bind:clincstdycd"/>
- <Cell col="77" text="bind:execrid1"/>
- <Cell col="78" text="bind:aftrcptinfo"/>
- <Cell col="79" text="bind:prcpvol"/>
- <Cell col="80" text="bind:prcpvolunitnm"/>
- <Cell col="81" text="bind:prcpqtyunitnm"/>
- <Cell col="82" text="bind:prcptims"/>
- <Cell col="83" text="bind:drugmthdspccd"/>
- <Cell col="84" text="bind:mthdcnts4"/>
- <Cell col="85" text="bind:prcpclscdnm"/>
- <Cell col="86" displaytype="date" text="bind:ordrsrvdt" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 280 135 630 285" id="datagrid2" visible="false" binddataset="ds_datagrid2" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="caption1"/>
- <Cell col="1" text="caption2"/>
- <Cell col="2" text="caption10"/>
- <Cell col="3" text="caption17"/>
- <Cell col="4" text="caption18"/>
- <Cell col="5" text="caption19"/>
- <Cell col="6" text="caption20"/>
- <Cell col="7" text="caption16"/>
- <Cell col="8" text="caption15"/>
- <Cell col="9" text="caption14"/>
- <Cell col="10" text="caption13"/>
- <Cell col="11" text="caption12"/>
- <Cell col="12" text="caption11"/>
- <Cell col="13" text="caption9"/>
- <Cell col="14" text="caption8"/>
- <Cell col="15" text="caption7"/>
- <Cell col="16" text="caption6"/>
- <Cell col="17" text="caption5"/>
- <Cell col="18" text="caption4"/>
- <Cell col="19" text="caption3"/>
- </Band>
- <Band id="body">
- <Cell text="bind:pid"/>
- <Cell col="1" text="bind:hngnm"/>
- <Cell col="2" text="bind:sna"/>
- <Cell col="3" text="bind:rrgstno1"/>
- <Cell col="4" text="bind:rrgstno2"/>
- <Cell col="5" text="bind:sex"/>
- <Cell col="6" text="bind:orddepthngnm"/>
- <Cell col="7" text="bind:orddrnm"/>
- <Cell col="8" text="bind:prcpcd"/>
- <Cell col="9" text="bind:prcpdd"/>
- <Cell col="10" text="bind:prcpclscdnm"/>
- <Cell col="11" text="bind:prcpnm"/>
- <Cell col="12" text="bind:prcpqtyunitnm"/>
- <Cell col="13" text="bind:prcpvol"/>
- <Cell col="14" text="bind:prcpvolunitnm"/>
- <Cell col="15" text="bind:prcpdayno"/>
- <Cell col="16" text="bind:mix"/>
- <Cell col="17" text="bind:charsu"/>
- <Cell col="18" text="bind:remark"/>
- <Cell col="19" text="bind:drugmthdspccd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="" id="case7" scrollbars="none">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 7 973 324" align="align:center middle;" id="datagrid1" binddataset="ds_grd_ordlist6" oncellclick="grp_body_group2_switch1_case7_datagrid1_oncellclick" anchor="all" cellclickbound="cell" cellsizingtype="col" selecttype="multirow" cellsizebandtype="allband" onlbuttonup="grp_body_group2_switch1_datagrid_onlbuttonup" onmousemove="grp_body_group2_switch1_grid_onmousemove" autoenter="key">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="26" band="left"/>
- <Column size="16" band="left"/>
- <Column size="62" band="left"/>
- <Column size="61" band="left"/>
- <Column size="38" band="left"/>
- <Column size="73" band="left"/>
- <Column size="58"/>
- <Column size="73"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="76"/>
- <Column size="104"/>
- <Column size="70"/>
- <Column size="33"/>
- <Column size="100"/>
- <Column size="122"/>
- <Column size="41"/>
- <Column size="140"/>
- <Column size="137"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="124"/>
- <Column size="72"/>
- <Column size="85"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2" text="등록번호"/>
- <Cell col="3" text="성명"/>
- <Cell col="4" text="S/A"/>
- <Cell col="5" text="진료과"/>
- <Cell col="6" text="진료의"/>
- <Cell col="7" text="지정검사의"/>
- <Cell col="8" colspan="2" text="선택진료의" taborder="undefined"/>
- <Cell col="10" text="처방코드"/>
- <Cell col="11" text="처방일자"/>
- <Cell col="12" text="처방상태"/>
- <Cell col="13" text="수납"/>
- <Cell col="14" text="검사실"/>
- <Cell col="15" text="예약일자"/>
- <Cell col="16" text="병실"/>
- <Cell col="17" text="처방명"/>
- <Cell col="18" text="예약자"/>
- <Cell col="19" text="접수시간"/>
- <Cell col="20" text="접수자"/>
- <Cell col="21" text="실시시간"/>
- <Cell col="22" text="실시자"/>
- <Cell col="23" text="희망일자"/>
- <Cell col="24" text="취소코드"/>
- <Cell col="25" text="execprcpuniqno"/>
- <Cell col="26" text="prcpexecdeptcd"/>
- <Cell col="27" text="excuroomcd"/>
- <Cell col="28" text="rgstdeptcd"/>
- <Cell col="29" text="rgstrid"/>
- <Cell col="30" text="inflag"/>
- <Cell col="31" text="rcptacptyn"/>
- <Cell col="32" text="ExecBaseFlag"/>
- <Cell col="33" text="lrgcd"/>
- <Cell col="34" text="mdlcd"/>
- <Cell col="35" text="excupartcd"/>
- <Cell col="36" text="modality"/>
- <Cell col="37" text="acptrem"/>
- <Cell col="38" text="execrem"/>
- <Cell col="39" text="prcpdelivefact"/>
- <Cell col="40" text="carecnfmdd"/>
- <Cell col="41" text="excuroomnm"/>
- <Cell col="42" text="rgstdepthngnm"/>
- <Cell col="43" text="prcpkindcd"/>
- <Cell col="44" text="rcptno"/>
- <Cell col="45" text="acptseqno"/>
- <Cell col="46" text="execrid1"/>
- <Cell col="47" text="execrid3"/>
- <Cell col="48" text="execrid4"/>
- <Cell col="49" text="prcpgenrflag"/>
- <Cell col="50" text="indd"/>
- <Cell col="51" text="rgstrid"/>
- <Cell col="52" text="orddrnm"/>
- <Cell col="53" text="orddeptcd"/>
- <Cell col="54" text="rcptdd"/>
- <Cell col="55" text="orddrid"/>
- <Cell col="56" text="prcpno"/>
- <Cell col="57" text="EqmtIFYn"/>
- <Cell col="58" text="basesuppdeptcd"/>
- <Cell col="59" text="tmpldata"/>
- <Cell col="60" text="wardcd"/>
- <Cell col="61" text="prcpexecdeptcd"/>
- <Cell col="62" text="rsrvdt"/>
- <Cell col="63" text="prcphistno"/>
- <Cell col="64" text="inclprcpcd"/>
- <Cell col="65" text="actorddd"/>
- <Cell col="66" text="retno"/>
- <Cell col="67" text="pacsnocretyn"/>
- <Cell col="68" text="examroonm"/>
- <Cell col="69" text="execprcpstatcd"/>
- <Cell col="70" text="caption1"/>
- <Cell col="71" text="caption2"/>
- <Cell col="72" text="etcclrflag"/>
- <Cell col="73" text="age"/>
- <Cell col="74" text="rrgstno1"/>
- <Cell col="75" text="rrgstno2"/>
- <Cell col="76" text="clincstdycd"/>
- <Cell col="77" text="examroomnm"/>
- </Band>
- <Band id="body">
- <Cell text="expr:currow+1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:check"/>
- <Cell col="2" text="bind:pid"/>
- <Cell col="3" text="bind:hngnm"/>
- <Cell col="4" text="bind:sna"/>
- <Cell col="5" text="bind:orddepthngnm"/>
- <Cell col="6" text="bind:orddrnm"/>
- <Cell col="7" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:selectdrid" combodataset="ds_init_selectdridlist" combocodecol="userid" combodatacol="usernm"/>
- <Cell col="8" text="bind:choiordflag"/>
- <Cell col="9" displaytype="combo" edittype="combo" text="bind:specdrid" combodataset="ds_init_specdridlist" combocodecol="userid" combodatacol="usernm" enable="true"/>
- <Cell col="10" text="bind:calcscorcd"/>
- <Cell col="11" displaytype="date" text="bind:prcpdt" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="12" text="bind:statcd"/>
- <Cell col="13" text="bind:rcptyn"/>
- <Cell col="14" displaytype="combo" edittype="combo" text="bind:excuroomcd" combodataset="ds_cmb_initexecroom" combocodecol="basecd" combodatacol="basecdflagdesc"/>
- <Cell col="15" displaytype="date" text="bind:srchrsrvdt" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="16" text="bind:roomcd"/>
- <Cell col="17" style="align:left;" text="bind:prcpnm"/>
- <Cell col="18" edittype="none" text="bind:rsrvrnm"/>
- <Cell col="19" text="bind:rcptdd"/>
- <Cell col="20" text="bind:acptid"/>
- <Cell col="21" displaytype="date" text="bind:execdt" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="22" edittype="none" text="bind:execrnm"/>
- <Cell col="23" displaytype="date" text="bind:prcphopedd" calendardisplaynulltype="nulltext"/>
- <Cell col="24" text="bind:basecd"/>
- <Cell col="25" text="bind:execprcpuniqno"/>
- <Cell col="26" text="bind:prcpexecdeptcd"/>
- <Cell col="27" text="bind:rgstdeptcd"/>
- <Cell col="28" text="bind:rgstrid"/>
- <Cell col="29" text="bind:inflag"/>
- <Cell col="30" text="bind:rcptacptyn"/>
- <Cell col="31" text="bind:execbaseflag"/>
- <Cell col="32" text="bind:lrgcd"/>
- <Cell col="33" text="bind:mdlcd"/>
- <Cell col="34" text="bind:excupartcd"/>
- <Cell col="35" text="bind:modality"/>
- <Cell col="36" text="bind:acptrem"/>
- <Cell col="37" text="bind:execrem"/>
- <Cell col="38" text="bind:prcpdelivefact"/>
- <Cell col="39" text="bind:carecnfmdd"/>
- <Cell col="40" text="bind:excuroomnm"/>
- <Cell col="41" text="bind:rgstdepthngnm"/>
- <Cell col="42" text="bind:prcpkindcd"/>
- <Cell col="43" text="bind:rcptno"/>
- <Cell col="44" text="bind:acptseqno"/>
- <Cell col="45" text="bind:execrid1"/>
- <Cell col="46" text="bind:execrid3"/>
- <Cell col="47" text="bind:execrid4"/>
- <Cell col="48" text="bind:prcpgenrflag"/>
- <Cell col="49" text="bind:orddd"/>
- <Cell col="50" text="bind:rgstrid"/>
- <Cell col="51" text="bind:orddrnm"/>
- <Cell col="52" text="bind:orddeptcd"/>
- <Cell col="53" text="bind:rcptdd"/>
- <Cell col="54" text="bind:orddrid"/>
- <Cell col="55" text="bind:prcpno"/>
- <Cell col="56" text="bind:eqmtifyn"/>
- <Cell col="57" text="bind:basesuppdeptcd"/>
- <Cell col="58" text="bind:tmpldata"/>
- <Cell col="59" text="bind:wardcd"/>
- <Cell col="60" text="bind:prcpexecdeptcd"/>
- <Cell col="61" text="bind:rsrvdt"/>
- <Cell col="62" text="bind:prcphistno"/>
- <Cell col="63" text="bind:inclprcpcd"/>
- <Cell col="64" text="bind:actorddd"/>
- <Cell col="65" text="bind:cretno"/>
- <Cell col="66" text="bind:pacsnocretyn"/>
- <Cell col="67" text="bind:examroomnm"/>
- <Cell col="68" text="bind:execprcpstatcd"/>
- <Cell col="69" text="bind:tmpldata"/>
- <Cell col="70" text="bind:prcpdd"/>
- <Cell col="71" text="bind:cnclresncdnm"/>
- <Cell col="72" text="bind:age"/>
- <Cell col="73" text="bind:rrgstno1"/>
- <Cell col="74" text="bind:rrgstno2"/>
- <Cell col="75" text="bind:clincstdycd"/>
- <Cell col="76" text="bind:execrid1"/>
- <Cell col="77" text="bind:aftrcptinfo"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Shape id="rectangle3" type="rectangle" position="absolute 321 10 341 25" style="fillbrush:solid #ffff00ff true;" anchor="top right"/>
- <Static id="caption27" text="V" position="absolute 346 10 364 25" anchor="top right"/>
- <Shape id="rectangle4" type="rectangle" position="absolute 364 10 384 25" style="fillbrush:solid #ccffccff true;" anchor="top right"/>
- <Static id="caption28" text="오늘결과" position="absolute 387 10 439 25" anchor="top right"/>
- <Shape id="rectangle5" type="rectangle" position="absolute 435 10 455 25" style="fillbrush:solid #ff9a00ff true;" anchor="top right"/>
- <Static id="caption26" text="미수납" position="absolute 458 10 496 25" anchor="top right"/>
- <Button position="absolute 640 4 713 26" id="button6" class="btn2" visible="false" text="대상자조회" onclick="grp_body_group2_button6_onclick" anchor="top right"/>
- <Button position="absolute 574 4 638 26" id="order_bak" class="btn2" visible="true" text="Old 처방" onclick="grp_body_group2_order_bak_onclick" anchor="top right"/>
- <Button position="absolute 779 4 854 26" id="btn_exec" class="btn2" text="접수및실시" onclick="grp_body_group2_btn_exec_onclick" anchor="top right"/>
- <Button position="absolute 856 4 920 26" id="btn_execcncl" class="btn2" visible="true" text="실시취소" onclick="grp_body_group2_btn_execcncl_onclick" anchor="top right"/>
- <Button position="absolute 922 4 948 26" id="button102" class="icon_top" visible="true" text="" onclick="grp_body_group2_button102_onclick" anchor="top right"/>
- <Button position="absolute 949 4 975 26" id="button103" class="icon_bottom" visible="true" text="" onclick="grp_body_group2_button103_onclick" anchor="top right"/>
- <Button id="btn_inpt" taborder="1" text="입퇴실관리" class="btn2" visible="false" position="absolute 501 4 573 26" anchor="top right" onclick="grp_body_group2_btn_inpt_onclick"/>
- <Button id="btn_directsms" taborder="2" text="문자전송" position="absolute 714 4 777 26" class="btn2" anchor="top right" onclick="grp_body_group2_btn_directsms_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 456 469 1190 784" id="group5" scrollbars="none" anchor="left right bottom" style="background:white;border:1 solid #808080ff ;color:lavender;">
- <Layouts>
- <Layout>
- <Shape position="absolute 2 23 734 29" linetype="horizontal" id="line5" class="line_10" anchor="left top right"/>
- <Static text="예약내역" position="absolute 2 7 99 23" id="caption8" class="tit_2" anchor="left top"/>
- <Button position="absolute 574 1 676 23" id="button10" class="btn6" text="예약내역출력" onclick="grp_body_group5_button10_onclick" anchor="top right"/>
- <CheckBox position="absolute 390 6 460 21" id="chk_rsrvyn" class="checkbox_search" visible="false" text="진료예약" truevalue="Y" falsevalue="N" anchor="left top"/>
- <CheckBox position="absolute 375 6 445 21" id="chk_autorsrv" class="checkbox_search" visible="false" text="자동예약" truevalue="Y" falsevalue="N" onchanged="grp_body_group5_chk_autorsrv_onchanged" anchor="left top"/>
- <CheckBox position="absolute 468 5 553 20" id="chk_rsrvprint" class="checkbox_search" visible="true" text="예약증출력" truevalue="Y" value="false" falsevalue="N" anchor="left top"/>
- <Edit readonly="true" position="absolute 85 4 265 23" align="align:left middle;" id="output1" anchor="left top"/>
- <Grid position="absolute 2 28 734 314" id="grd_rsrvlist" binddataset="ds_grd_rsrvlist" oncellclick="grp_body_group5_grd_rsrvlist_oncellclick" anchor="all" cellsizingtype="both" cellsizebandtype="allband" extendsizetype="row" selecttype="multirow" onrbuttonup="grp_body_group5_grd_rsrvlist_onrbuttonup">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="39"/>
- <Column size="58"/>
- <Column size="56"/>
- <Column size="56"/>
- <Column size="75"/>
- <Column size="37"/>
- <Column size="62"/>
- <Column size="44"/>
- <Column size="78"/>
- <Column size="51"/>
- <Column size="104"/>
- <Column size="100"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="시간"/>
- <Cell col="2" text="등록번호"/>
- <Cell col="3" text="성명"/>
- <Cell col="4" text="주민번호"/>
- <Cell col="5" text="처방코드"/>
- <Cell col="6" text="S/A"/>
- <Cell col="7" text="처방상태"/>
- <Cell col="8" text="병실"/>
- <Cell col="9" text="진료과"/>
- <Cell col="10" text="진료의"/>
- <Cell col="11" text="처방일자"/>
- <Cell col="12" text="처방명"/>
- <Cell col="13" text="예약자"/>
- <Cell col="14" text="execprcpuniqno"/>
- <Cell col="15" text="prcpkindcd"/>
- <Cell col="16" text="prcpgenrflag"/>
- <Cell col="17" text="basecd"/>
- <Cell col="18" text="prcpexecdeptcd"/>
- <Cell col="19" text="excuroomcd"/>
- <Cell col="20" text="inflag"/>
- <Cell col="21" text="rcptacptyn"/>
- <Cell col="22" text="execbaseflag"/>
- <Cell col="23" text="orddd"/>
- <Cell col="24" text="excupartcd"/>
- <Cell col="25" text="modality"/>
- <Cell col="26" text="prcpdelivefact"/>
- <Cell col="27" text="carecnfmdd"/>
- <Cell col="28" text="rsrvdt"/>
- <Cell col="29" text="orddeptcd"/>
- <Cell col="30" text="orddrid"/>
- <Cell col="31" text="prcpno"/>
- <Cell col="32" text="basesuppdeptcd"/>
- <Cell col="33" text="cretno"/>
- <Cell col="34" text="wardcd"/>
- <Cell col="35" text="srchrsrvdt"/>
- <Cell col="36" text="rsrvrem"/>
- <Cell col="37" text="eqmtifyn"/>
- <Cell col="38" text="rgstdeptcd"/>
- <Cell col="39" text="rgstrid"/>
- <Cell col="40" text="execdt"/>
- <Cell col="41" text="execrid"/>
- <Cell col="42" text="inclprcpcd"/>
- <Cell col="43" text="lrgcd"/>
- <Cell col="44" text="mdlcd"/>
- <Cell col="45" text="actorddd"/>
- <Cell col="46" text="caption1"/>
- <Cell col="47" text="caption2"/>
- <Cell col="48" text="caption3"/>
- <Cell col="49" text="caption4"/>
- <Cell col="50" text="caption5"/>
- <Cell col="51" text="caption6"/>
- <Cell col="52" text="caption7"/>
- <Cell col="53" text="caption8"/>
- <Cell col="54" text="caption9"/>
- <Cell col="55" text="caption10"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" style="background:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));background2:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));" text="bind:srchrsrvtm" mask="##:##"/>
- <Cell col="2" style="background:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));background2:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));" text="bind:pid"/>
- <Cell col="3" style="background:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));background2:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));" text="bind:hngnm"/>
- <Cell col="4" style="background:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));background2:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));" text="bind:rrgstno1"/>
- <Cell col="5" style="background:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));background2:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));" text="bind:calcscorcd"/>
- <Cell col="6" style="background:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));background2:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));" text="bind:sna" enable="false"/>
- <Cell col="7" style="background:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));background2:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));" text="bind:statcd"/>
- <Cell col="8" style="background:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));background2:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));" text="bind:roomcd"/>
- <Cell col="9" style="background:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));background2:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));" text="bind:orddepthngnm"/>
- <Cell col="10" style="background:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));background2:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));" text="bind:orddrnm"/>
- <Cell col="11" displaytype="date" style="background:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));background2:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));" text="bind:prcpdt" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="12" style="align:left;background:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));background2:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));" text="bind:prcpnm"/>
- <Cell col="13" style="background:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));background2:EXPR(statcd == '임시예약' ? "#dec6a4" : (statcd == '예약' ? "#fec34d" : ""));" text="bind:rsrvrnm"/>
- <Cell col="14" text="bind:hight"/>
- <Cell col="15" text="bind:weight"/>
- <Cell col="16" text="bind:execprcpuniqno"/>
- <Cell col="17" text="bind:prcpkindcd"/>
- <Cell col="18" text="bind:prcpgenrflag"/>
- <Cell col="19" text="bind:basecd"/>
- <Cell col="20" text="bind:prcpexecdeptcd"/>
- <Cell col="21" text="bind:excuroomcd"/>
- <Cell col="22" text="bind:inflag"/>
- <Cell col="23" text="bind:rcptacptyn"/>
- <Cell col="24" text="bind:execbaseflag"/>
- <Cell col="25" text="bind:orddd"/>
- <Cell col="26" text="bind:excupartcd"/>
- <Cell col="27" text="bind:modality"/>
- <Cell col="28" text="bind:prcpdelivefact"/>
- <Cell col="29" text="bind:carecnfmdd"/>
- <Cell col="30" text="bind:rsrvdt"/>
- <Cell col="31" text="bind:orddeptcd"/>
- <Cell col="32" text="bind:orddrid"/>
- <Cell col="33" text="bind:prcpno"/>
- <Cell col="34" text="bind:basesuppdeptcd"/>
- <Cell col="35" text="bind:cretno"/>
- <Cell col="36" text="bind:wardcd"/>
- <Cell col="37" text="bind:srchrsrvdt"/>
- <Cell col="38" text="bind:rsrvrem"/>
- <Cell col="39" text="bind:eqmtifyn"/>
- <Cell col="40" text="bind:rgstdeptcd"/>
- <Cell col="41" text="bind:rgstrid"/>
- <Cell col="42" text="bind:execdt"/>
- <Cell col="43" text="bind:execrid1"/>
- <Cell col="44" text="bind:inclprcpcd"/>
- <Cell col="45" text="bind:lrgcd"/>
- <Cell col="46" text="bind:mdlcd"/>
- <Cell col="47" text="bind:actorddd"/>
- <Cell col="48" text="bind:examroomnm"/>
- <Cell col="49" text="bind:pacsnocretyn"/>
- <Cell col="50" text="bind:examroomnm"/>
- <Cell col="51" text="bind:execprcpstatcd"/>
- <Cell col="52" text="bind:tmpldata"/>
- <Cell col="53" text="bind:prcpdd"/>
- <Cell col="54" text="bind:rsrvrid"/>
- <Cell col="55" text="bind:rsrvdd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 678 1 704 23" id="button15" class="icon_top" text="" onclick="grp_body_group5_button15_onclick" anchor="top right"/>
- <Button position="absolute 705 1 731 23" id="button16" class="icon_bottom" text="" onclick="grp_body_group5_button16_onclick" anchor="top right"/>
- <Edit readonly="true" position="absolute 355 165 455 184" id="opt_excuroomgrpcd" visible="false" anchor="left bottom"/>
- <Button position="absolute 275 1 367 23" id="button26" class="btn3" visible="true" text="프린터설정" onclick="grp_body_group5_button26_onclick" anchor="left top"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_case3" taborder="1" text="미시행처방" class="btn_tab" position="absolute 2 135 81 160" onclick="btn_case3_onclick"/>
- <Button id="btn_case2" taborder="2" text="검사완료" class="btn_tab" position="absolute 82 135 161 160" onclick="btn_case2_onclick"/>
- <Button id="btn_case1" taborder="3" text="전체처방" class="btn_tab" position="absolute 162 135 236 160" onclick="btn_case1_onclick"/>
- <Button id="btn_case4" taborder="4" text="미예약" class="btn_tab" position="absolute 237 135 315 160" onclick="btn_case4_onclick"/>
- <PopupMenu id="PopupMenu00" idcolumn="idcolumn" captioncolumn="captioncolumn" levelcolumn="levelcolumn" enablecolumn="enablecolumn" iconcolumn="iconcolumn" checkboxcolumn="checkboxcolumn" hotkeycolumn="hotkeycolumn" userdatacolumn="userdatacolumn" position="absolute 1229 48 1407 449" onmenuclick="PopupMenu00_onmenuclick">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="idcolumn" size="256"/>
- <Column id="captioncolumn" size="256"/>
- <Column id="levelcolumn" size="256"/>
- <Column id="enablecolumn" size="256"/>
- <Column id="iconcolumn" size="256"/>
- <Column id="checkboxcolumn" size="256"/>
- <Column id="hotkeycolumn" size="256"/>
- <Column id="userdatacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="idcolumn">fOpenPrcpList</Col>
- <Col id="captioncolumn">처방상세내역</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn"/>
- <Col id="captioncolumn">-</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fHeartNurseRecII</Col>
- <Col id="captioncolumn">간호일지 Type2</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fInPrcpNurseRecII</Col>
- <Col id="captioncolumn">간호일지 Type2(과내검사실용)</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fOpenPopup</Col>
- <Col id="captioncolumn">시행부서처방</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn"/>
- <Col id="captioncolumn">-</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fBarcodePrint</Col>
- <Col id="captioncolumn">바코드출력</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fPrcpRexList</Col>
- <Col id="captioncolumn">처방전출력</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fPrintLabel</Col>
- <Col id="captioncolumn">인식표 출력</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn"/>
- <Col id="captioncolumn">-</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fSelectdrChange</Col>
- <Col id="captioncolumn">지정검사의 변경</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn"/>
- <Col id="captioncolumn">-</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fResultMNG</Col>
- <Col id="captioncolumn">결과관리(서식)</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fResultSerch</Col>
- <Col id="captioncolumn">결과조회</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fTotalRprtSrch</Col>
- <Col id="captioncolumn">통합기록조회</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn"/>
- <Col id="captioncolumn">-</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fNursingActing</Col>
- <Col id="captioncolumn">주사실액팅</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn"/>
- <Col id="captioncolumn">-</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fProgressNote</Col>
- <Col id="captioncolumn">Progress Note</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn"/>
- <Col id="captioncolumn">-</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fOrdPrcpInfoList</Col>
- <Col id="captioncolumn">환자처방조회(진료정보조회)</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn"/>
- <Col id="captioncolumn">-</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fDrugMNG</Col>
- <Col id="captioncolumn">마약관리</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn"/>
- <Col id="captioncolumn">-</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fOutRsrv</Col>
- <Col id="captioncolumn">외래진료예약</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn"/>
- <Col id="captioncolumn">-</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fAgreeForm</Col>
- <Col id="captioncolumn">동의서 및 기타 출력서식</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fAgreeFormPrnt</Col>
- <Col id="captioncolumn">동의서 및 기타 출력서식 반납</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- </Rows>
- </Dataset>
- </PopupMenu>
- <Button position="absolute 1093 135 1173 157" id="button5" class="btn3" visible="false" text="중앙관제" onclick="button5_onclick" anchor="top right"/>
- <PopupMenu id="PopupMenu01" idcolumn="idcolumn" captioncolumn="captioncolumn" levelcolumn="levelcolumn" enablecolumn="enablecolumn" iconcolumn="iconcolumn" checkboxcolumn="checkboxcolumn" hotkeycolumn="hotkeycolumn" userdatacolumn="userdatacolumn" position="absolute 1449 52 1600 99" onmenuclick="PopupMenu01_onmenuclick">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="idcolumn" size="256"/>
- <Column id="captioncolumn" size="256"/>
- <Column id="levelcolumn" size="256"/>
- <Column id="enablecolumn" size="256"/>
- <Column id="iconcolumn" size="256"/>
- <Column id="checkboxcolumn" size="256"/>
- <Column id="hotkeycolumn" size="256"/>
- <Column id="userdatacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="idcolumn">fprcpacting</Col>
- <Col id="captioncolumn">약/주사 액팅</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn"/>
- <Col id="captioncolumn">-</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fprcpactingcncl</Col>
- <Col id="captioncolumn">약/주사 액팅취소</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- </Rows>
- </Dataset>
- </PopupMenu>
- <PopupMenu id="PopupMenu03" idcolumn="idcolumn" captioncolumn="captioncolumn" levelcolumn="levelcolumn" enablecolumn="enablecolumn" iconcolumn="iconcolumn" checkboxcolumn="checkboxcolumn" hotkeycolumn="hotkeycolumn" userdatacolumn="userdatacolumn" position="absolute 1449 143 1600 376" onmenuclick="PopupMenu03_onmenuclick">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="idcolumn" size="256"/>
- <Column id="captioncolumn" size="256"/>
- <Column id="levelcolumn" size="256"/>
- <Column id="enablecolumn" size="256"/>
- <Column id="iconcolumn" size="256"/>
- <Column id="checkboxcolumn" size="256"/>
- <Column id="hotkeycolumn" size="256"/>
- <Column id="userdatacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="idcolumn">fOpenPrcpList</Col>
- <Col id="captioncolumn">처방상세내역</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn"/>
- <Col id="captioncolumn">-</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fHeartNurseRecII</Col>
- <Col id="captioncolumn">간호일지 Type2</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fInPrcpNurseRecII</Col>
- <Col id="captioncolumn">간호일지 Type2(과내검사실용)</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fOpenPopup</Col>
- <Col id="captioncolumn">시행부서처방</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn"/>
- <Col id="captioncolumn">-</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fBarcodePrint</Col>
- <Col id="captioncolumn">바코드출력</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fPrcpRexList</Col>
- <Col id="captioncolumn">처방전출력</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn"/>
- <Col id="captioncolumn">-</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fResultMNG</Col>
- <Col id="captioncolumn">결과관리(서식)</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fResultSerch</Col>
- <Col id="captioncolumn">결과조회</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fTotalRprtSrch</Col>
- <Col id="captioncolumn">통합기록조회</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn"/>
- <Col id="captioncolumn">-</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fNursingActing</Col>
- <Col id="captioncolumn">주사실액팅</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn"/>
- <Col id="captioncolumn">-</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fProgressNote</Col>
- <Col id="captioncolumn">Progress Note</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn"/>
- <Col id="captioncolumn">-</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fOrdPrcpInfoList</Col>
- <Col id="captioncolumn">환자처방조회(진료정보조회)</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn"/>
- <Col id="captioncolumn">-</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fDrugMNG</Col>
- <Col id="captioncolumn">마약관리</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn"/>
- <Col id="captioncolumn">-</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fAgreeForm</Col>
- <Col id="captioncolumn">동의서 및 기타 출력서식</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fAgreeFormPrnt</Col>
- <Col id="captioncolumn">동의서 및 기타 출력서식 반납</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- </Rows>
- </Dataset>
- </PopupMenu>
- <PopupMenu id="PopupMenu02" idcolumn="idcolumn" captioncolumn="captioncolumn" levelcolumn="levelcolumn" enablecolumn="enablecolumn" iconcolumn="iconcolumn" checkboxcolumn="checkboxcolumn" hotkeycolumn="hotkeycolumn" userdatacolumn="userdatacolumn" position="absolute 1230 465 1379 511" onmenuclick="PopupMenu02_onmenuclick">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="idcolumn" size="256"/>
- <Column id="captioncolumn" size="256"/>
- <Column id="levelcolumn" size="256"/>
- <Column id="enablecolumn" size="256"/>
- <Column id="iconcolumn" size="256"/>
- <Column id="checkboxcolumn" size="256"/>
- <Column id="hotkeycolumn" size="256"/>
- <Column id="userdatacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="idcolumn">fRsrvPrint</Col>
- <Col id="captioncolumn">예약증 출력</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn"/>
- <Col id="captioncolumn">-</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">fSetWaitExcuRoomPatList</Col>
- <Col id="captioncolumn">대기환자등록</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- </Rows>
- </Dataset>
- </PopupMenu>
- <Shape id="line2" class="line_10" position="absolute 2 158 975 164" anchor="left top right"/>
- <Div id="div_directsms" taborder="5" style="background:white;border:1 solid gray ;shadow:outer 0,0 20 gray;" visible="false" position="absolute 1225 410 1722 625">
- <Layouts>
- <Layout>
- <Static id="cap_sendsms" text="문자 전송" class="tit_2" position="absolute 10 10 110 30"/>
- <Grid id="grd_sms" taborder="16" binddataset="ds_hidden_sms" useinputpanel="false" areaselecttype="overband" autofittype="col" position="absolute 10 30 485 170">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="440"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="26"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="문자 내용"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" style="align:left;padding:0 0 0 5;" text="bind:msgcnts"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_sendsms" taborder="17" text="전송" onclick="div_directsms_btn_sendsms_onclick" class="btn4" position="absolute 368 178 423 203"/>
- <Button id="btn_closesms" taborder="18" text="닫기" onclick="div_directsms_btn_closesms_onclick" class="btn4" position="absolute 430 178 485 203"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_cmb_selectexcuroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="excuroomnm" type="STRING"/>
- <Column id="excuroomcd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="rsrvdd" type="STRING"/>
- <Column id="count" type="STRING"/>
- <Column id="max" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_datagrid3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="basedd" type="STRING"/>
- <Column id="dutflag" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_ordlist1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="check" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="sna" type="STRING"/>
- <Column id="orddepthngnm" type="STRING"/>
- <Column id="orddrnm" type="STRING"/>
- <Column id="choiordflag" type="STRING"/>
- <Column id="specdrid" type="STRING"/>
- <Column id="calcscorcd" type="STRING"/>
- <Column id="prcpdt" type="STRING"/>
- <Column id="statcd" type="STRING"/>
- <Column id="rcptyn" type="STRING"/>
- <Column id="excuroomcd" type="STRING"/>
- <Column id="srchrsrvdt" type="STRING"/>
- <Column id="roomcd" type="STRING"/>
- <Column id="roomnm" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="execdt" type="STRING"/>
- <Column id="execrnm" type="STRING"/>
- <Column id="rsrvrnm" type="STRING"/>
- <Column id="prcphopedd" type="STRING"/>
- <Column id="basecd" type="STRING"/>
- <Column id="execprcpuniqno" type="STRING"/>
- <Column id="prcpexecdeptcd" type="STRING"/>
- <Column id="inflag" type="STRING"/>
- <Column id="rcptacptyn" type="STRING"/>
- <Column id="execbaseflag" type="STRING"/>
- <Column id="excupartcd" type="STRING"/>
- <Column id="modality" type="STRING"/>
- <Column id="execrem" type="STRING"/>
- <Column id="prcpdelivefact" type="STRING"/>
- <Column id="carecnfmdd" type="STRING"/>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="rcptno" type="STRING"/>
- <Column id="acptseqno" type="STRING"/>
- <Column id="prcpgenrflag" type="STRING"/>
- <Column id="orddd" type="STRING"/>
- <Column id="orddeptcd" type="STRING"/>
- <Column id="rcptdd" type="STRING"/>
- <Column id="orddrid" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="eqmtifyn" type="STRING"/>
- <Column id="basesuppdeptcd" type="STRING"/>
- <Column id="cretno" type="STRING"/>
- <Column id="wardcd" type="STRING"/>
- <Column id="rsrvdt" type="STRING"/>
- <Column id="rgstdeptcd" type="STRING"/>
- <Column id="rgstrid" type="STRING"/>
- <Column id="inclprcpcd" type="STRING"/>
- <Column id="lrgcd" type="STRING"/>
- <Column id="mdlcd" type="STRING"/>
- <Column id="actorddd" type="STRING"/>
- <Column id="examroomnm" type="STRING"/>
- <Column id="prcphistno" type="STRING"/>
- <Column id="pacsnocretyn" type="STRING"/>
- <Column id="execprcpstatcd" type="STRING"/>
- <Column id="tmpldata" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="rsrvrid" type="STRING"/>
- <Column id="cnclresncdnm" type="STRING"/>
- <Column id="age" type="STRING"/>
- <Column id="rrgstno1" type="STRING"/>
- <Column id="rrgstno2" type="STRING"/>
- <Column id="clincstdycd" type="STRING"/>
- <Column id="execrid1" type="STRING"/>
- <Column id="aftrcptinfo" type="STRING"/>
- <Column id="ordrsrvdt" type="STRING"/>
- <Column id="selectdrid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_prcpexecdeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpexecdeptcd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_ordlist4" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="check" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="sna" type="STRING"/>
- <Column id="orddepthngnm" type="STRING"/>
- <Column id="orddrnm" type="STRING"/>
- <Column id="choiordflag" type="STRING"/>
- <Column id="specdrid" type="STRING"/>
- <Column id="calcscorcd" type="STRING"/>
- <Column id="prcpdt" type="STRING"/>
- <Column id="statcd" type="STRING"/>
- <Column id="rcptyn" type="STRING"/>
- <Column id="excuroomcd" type="STRING"/>
- <Column id="srchrsrvdt" type="STRING"/>
- <Column id="roomcd" type="STRING"/>
- <Column id="roomnm" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="rsrvrnm" type="STRING"/>
- <Column id="execdt" type="STRING"/>
- <Column id="execrnm" type="STRING"/>
- <Column id="basecd" type="STRING"/>
- <Column id="execprcpuniqno" type="STRING"/>
- <Column id="prcpexecdeptcd" type="STRING"/>
- <Column id="rgstdeptcd" type="STRING"/>
- <Column id="rgstrid" type="STRING"/>
- <Column id="inflag" type="STRING"/>
- <Column id="rcptacptyn" type="STRING"/>
- <Column id="execbaseflag" type="STRING"/>
- <Column id="lrgcd" type="STRING"/>
- <Column id="mdlcd" type="STRING"/>
- <Column id="excupartcd" type="STRING"/>
- <Column id="modality" type="STRING"/>
- <Column id="execrem" type="STRING"/>
- <Column id="prcpdelivefact" type="STRING"/>
- <Column id="carecnfmdd" type="STRING"/>
- <Column id="excuroomnm" type="STRING"/>
- <Column id="rgstdepthngnm" type="STRING"/>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="rcptno" type="STRING"/>
- <Column id="acptseqno" type="STRING"/>
- <Column id="prcpdelivefact" type="STRING"/>
- <Column id="prcpgenrflag" type="STRING"/>
- <Column id="orddd" type="STRING"/>
- <Column id="rgstrid" type="STRING"/>
- <Column id="orddrnm" type="STRING"/>
- <Column id="orddeptcd" type="STRING"/>
- <Column id="rcptdd" type="STRING"/>
- <Column id="orddrid" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="eqmtifyn" type="STRING"/>
- <Column id="basesuppdeptcd" type="STRING"/>
- <Column id="rsrvdt" type="STRING"/>
- <Column id="rgstrid" type="STRING"/>
- <Column id="rgstdeptcd" type="STRING"/>
- <Column id="inclprcpcd" type="STRING"/>
- <Column id="pacsnocretyn" type="STRING"/>
- <Column id="examroomnm" type="STRING"/>
- <Column id="execprcpstatcd" type="STRING"/>
- <Column id="tmpldata" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="rsrvrid" type="STRING"/>
- <Column id="cnclresncdnm" type="STRING"/>
- <Column id="age" type="STRING"/>
- <Column id="rrgstno1" type="STRING"/>
- <Column id="rrgstno2" type="STRING"/>
- <Column id="clincstdycd" type="STRING"/>
- <Column id="execrid1" type="STRING"/>
- <Column id="cretno" type="STRING"/>
- <Column id="aftrcptinfo" type="STRING"/>
- <Column id="ordrsrvdt" type="STRING"/>
- <Column id="selectdrid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_temp1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="check" type="STRING"/>
- <Column id="no" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="age" type="STRING"/>
- <Column id="rrgrstno" type="STRING"/>
- <Column id="sex" type="STRING"/>
- <Column id="rgstdepthngnm" type="STRING"/>
- <Column id="rgstridnm" type="STRING"/>
- <Column id="portprcpflag" type="STRING"/>
- <Column id="calcscorcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="execprcpstatcd" type="STRING"/>
- <Column id="roomcd" type="STRING"/>
- <Column id="rsrvdt" type="STRING"/>
- <Column id="execrid2" type="STRING"/>
- <Column id="rcptdd" type="STRING"/>
- <Column id="acptid" type="STRING"/>
- <Column id="execdt" type="STRING"/>
- <Column id="execrid1" type="STRING"/>
- <Column id="rcptyn" type="STRING"/>
- <Column id="hight" type="STRING"/>
- <Column id="weight" type="STRING"/>
- <Column id="basecd" type="STRING"/>
- <Column id="execprcpuniqno" type="STRING"/>
- <Column id="prcpexecdeptcd" type="STRING"/>
- <Column id="excuroomcd" type="STRING"/>
- <Column id="rgstdeptcd" type="STRING"/>
- <Column id="rgstrid" type="STRING"/>
- <Column id="inflag" type="STRING"/>
- <Column id="rcptacptyn" type="STRING"/>
- <Column id="execbaseflag" type="STRING"/>
- <Column id="lrgcd" type="STRING"/>
- <Column id="mdlcd" type="STRING"/>
- <Column id="excupartcd" type="STRING"/>
- <Column id="modality" type="STRING"/>
- <Column id="acptrem" type="STRING"/>
- <Column id="execrem" type="STRING"/>
- <Column id="newElement" type="STRING"/>
- <Column id="carecnfmdd" type="STRING"/>
- <Column id="excuroomnm" type="STRING"/>
- <Column id="rgstdepthngnm" type="STRING"/>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="rcptno" type="STRING"/>
- <Column id="acptseqno" type="STRING"/>
- <Column id="execrid1" type="STRING"/>
- <Column id="execrid2" type="STRING"/>
- <Column id="execrid3" type="STRING"/>
- <Column id="execrid4" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_temp2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="check" type="STRING"/>
- <Column id="no" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="age" type="STRING"/>
- <Column id="rrgrstno" type="STRING"/>
- <Column id="sex" type="STRING"/>
- <Column id="rgstdepthngnm" type="STRING"/>
- <Column id="rgstridnm" type="STRING"/>
- <Column id="portprcpflag" type="STRING"/>
- <Column id="calcscorcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="execprcpstatcd" type="STRING"/>
- <Column id="roomcd" type="STRING"/>
- <Column id="rsrvdt" type="STRING"/>
- <Column id="execrid2" type="STRING"/>
- <Column id="rcptdd" type="STRING"/>
- <Column id="acptid" type="STRING"/>
- <Column id="execdt" type="STRING"/>
- <Column id="execrid1" type="STRING"/>
- <Column id="rcptyn" type="STRING"/>
- <Column id="hight" type="STRING"/>
- <Column id="weight" type="STRING"/>
- <Column id="basecd" type="STRING"/>
- <Column id="execprcpuniqno" type="STRING"/>
- <Column id="prcpexecdeptcd" type="STRING"/>
- <Column id="excuroomcd" type="STRING"/>
- <Column id="rgstdeptcd" type="STRING"/>
- <Column id="rgstrid" type="STRING"/>
- <Column id="inflag" type="STRING"/>
- <Column id="rcptacptyn" type="STRING"/>
- <Column id="execbaseflag" type="STRING"/>
- <Column id="lrgcd" type="STRING"/>
- <Column id="mdlcd" type="STRING"/>
- <Column id="excupartcd" type="STRING"/>
- <Column id="modality" type="STRING"/>
- <Column id="acptrem" type="STRING"/>
- <Column id="execrem" type="STRING"/>
- <Column id="newElement" type="STRING"/>
- <Column id="carecnfmdd" type="STRING"/>
- <Column id="excuroomnm" type="STRING"/>
- <Column id="rgstdepthngnm" type="STRING"/>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="rcptno" type="STRING"/>
- <Column id="acptseqno" type="STRING"/>
- <Column id="execrid1" type="STRING"/>
- <Column id="execrid2" type="STRING"/>
- <Column id="execrid3" type="STRING"/>
- <Column id="execrid4" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_ordlist6" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="check" type="STRING" size="256" sumtext="선택"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="성명"/>
- <Column id="sna" type="STRING" size="256" sumtext="성별/나이"/>
- <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호"/>
- <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호"/>
- <Column id="orddepthngnm" type="STRING" size="256" sumtext="진료과명"/>
- <Column id="orddrnm" type="STRING" size="256" sumtext="진료의명"/>
- <Column id="portprcpflag" type="STRING" size="256" sumtext="포터블처방여부"/>
- <Column id="calcscorcd" type="STRING" size="256" sumtext="수가코드"/>
- <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
- <Column id="execprcpstatcd" type="STRING" size="256" sumtext="실시처방상태구분코드"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="병실"/>
- <Column id="srchrsrvdt" type="STRING" size="256" sumtext="실예약시간"/>
- <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
- <Column id="rsrvrnm" type="STRING" size="256" sumtext="예약자"/>
- <Column id="execdt" type="STRING" size="256" sumtext="시행일시"/>
- <Column id="execrid1" type="STRING" size="256" sumtext="실시자ID1"/>
- <Column id="execrnm" type="STRING" size="256" sumtext="실시자명"/>
- <Column id="rcptyn" type="STRING" size="256" sumtext="수납여부"/>
- <Column id="hight" type="STRING" size="256" sumtext="키"/>
- <Column id="weight" type="STRING" size="256" sumtext="몸무게"/>
- <Column id="hometel" type="STRING" size="256" sumtext="취소코드"/>
- <Column id="mpphontel" type="STRING" size="256" sumtext="실시처방유일번호"/>
- <Column id="statcd" type="STRING" size="256" sumtext="실시처방상태구분코드"/>
- <Column id="basecd" type="STRING" size="256" sumtext="취소코드"/>
- <Column id="execprcpuniqno" type="INT" size="256" sumtext="실시처방유일번호"/>
- <Column id="prcpexecdeptcd" type="STRING" size="256" sumtext="처방실시부서코드"/>
- <Column id="excuroomcd" type="STRING" size="256" sumtext="검사실코드"/>
- <Column id="inflag" type="STRING" size="256" sumtext="재원여부"/>
- <Column id="rcptacptyn" type="STRING" size="256" sumtext="미수납접수여부"/>
- <Column id="execbaseflag" type="STRING" size="256" sumtext="실시기준여부"/>
- <Column id="excupartcd" type="STRING" size="256" sumtext="검사치료부위코드"/>
- <Column id="modality" type="STRING" size="256" sumtext="Modality"/>
- <Column id="execrem" type="STRING" size="256" sumtext="실시참고사항"/>
- <Column id="prcpdelivefact" type="STRING" size="256" sumtext="처방참고사항"/>
- <Column id="carecnfmdd" type="STRING" size="256" sumtext="간호확인일자"/>
- <Column id="prcpkindcd" type="STRING" size="256" sumtext="처방종류구분코드"/>
- <Column id="rcptno" type="INT" size="256" sumtext="접수일련번호"/>
- <Column id="acptseqno" type="INT" size="256" sumtext="접수일련번호"/>
- <Column id="prcpgenrflag" type="STRING" size="256" sumtext="입원외래구분"/>
- <Column id="orddd" type="STRING" size="256" sumtext="입원일자"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
- <Column id="rcptdd" type="STRING" size="256" sumtext="수납일자"/>
- <Column id="orddrid" type="STRING" size="256" sumtext="진료의사코드"/>
- <Column id="prcpno" type="INT" size="256" sumtext="처방일련번호"/>
- <Column id="eqmtifyn" type="STRING" size="256" sumtext="장비IF여부"/>
- <Column id="basesuppdeptcd" type="STRING" size="256" sumtext="세션부서코드"/>
- <Column id="cretno" type="INT" size="256" sumtext="생성번호"/>
- <Column id="wardcd" type="STRING" size="256" sumtext="병동"/>
- <Column id="rsrvdt" type="STRING" size="256" sumtext="실예약시간"/>
- <Column id="rgstdeptcd" type="STRING" size="256" sumtext="최초처방등록과코드"/>
- <Column id="rgstrid" type="STRING" size="256" sumtext="최초처방등록의사코드"/>
- <Column id="inclprcpcd" type="STRING" size="256" sumtext="시행부서코드"/>
- <Column id="lrgcd" type="STRING" size="256" sumtext="검사그룹코드"/>
- <Column id="mdlcd" type="STRING" size="256" sumtext="부위코드"/>
- <Column id="actorddd" type="STRING" size="256" sumtext="acting시행일자"/>
- <Column id="actcretno" type="STRING" size="256" sumtext="acting시행번호"/>
- <Column id="examroomnm" type="STRING" size="256" sumtext="부위코드(AEBMECCD)"/>
- <Column id="prcphistno" type="INT" size="256" sumtext="처방이력번호"/>
- <Column id="pacsnocretyn" type="STRING" size="256" sumtext="PACS연동여부"/>
- <Column id="tmpldata" type="STRING" size="256" sumtext="예약예문"/>
- <Column id="prcpdt" type="STRING" size="256" sumtext="처방일시"/>
- <Column id="rsrvrid" type="STRING" size="256" sumtext="예약자ID"/>
- <Column id="prcphopedd" type="STRING" size="256" sumtext="희망일자"/>
- <Column id="precureprcpflag" type="STRING" size="256" sumtext="선처치구분"/>
- <Column id="clincstdycd" type="STRING" size="256" sumtext="임상시험구분"/>
- <Column id="aftrcptinfo" type="STRING" size="256" sumtext="후수납구분"/>
- <Column id="prcpclscd" type="STRING" size="256" sumtext="처방분류에 대한 종류"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="IO테이블구분"/>
- <Column id="bf_srchrsrvtm" type="STRING" size="256" sumtext="전예약시간"/>
- <Column id="emryn" type="STRING" size="256" sumtext="진료예약구분"/>
- <Column id="prcpqty" type="STRING" size="256" sumtext="수량"/>
- <Column id="unrsrvexecyn" type="STRING" size="256" sumtext="미예약처방구분"/>
- <Column id="insukind" type="STRING" size="256" sumtext="급비"/>
- <Column id="ordrsrvdt" type="STRING" size="256" sumtext="처방발행 진료과 진료예약"/>
- <!-- 2011.1.04 c y w -->
- <Column id="choiordflag" type="STRING" size="256" sumtext="선택진료여부"/>
- <Column id="specdrid" type="STRING" size="256" sumtext="선택진료의"/>
- <Column id="specdrnm" type="STRING" size="256" sumtext="선택진료명"/>
- <!-- 2012.06.25 by kya -->
- <Column id="roomnm" type="STRING" size="256" sumtext="병실"/>
- <!-- 20130812 kya -->
- <Column id="rehbprcpcurepartnm" type="STRING" size="256" sumtext="치료부위"/>
- <Column id="prcpdirecnm" type="STRING" size="256" sumtext="치료위치"/>
- <Column id="rehbprcpcurefreqnm" type="STRING" size="256" sumtext="치료빈도"/>
- <!-- 20141114 by kya 횟수 추가 -->
- <Column id="execprcptims" type="STRING" size="256" sumtext="치과횟수"/>
- <Column id="selectdrid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_datagrid2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="sna" type="STRING"/>
- <Column id="rrgstno1" type="STRING"/>
- <Column id="rrgstno2" type="STRING"/>
- <Column id="sex" type="STRING"/>
- <Column id="orddepthngnm" type="STRING"/>
- <Column id="orddrnm" type="STRING"/>
- <Column id="prcpcd" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="prcpclscdnm" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="prcpqtyunitnm" type="STRING"/>
- <Column id="prcpvol" type="STRING"/>
- <Column id="prcpvolunitnm" type="STRING"/>
- <Column id="prcpdayno" type="STRING"/>
- <Column id="mix" type="STRING"/>
- <Column id="charsu" type="STRING"/>
- <Column id="remark" type="STRING"/>
- <Column id="drugmthdspccd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_datagrid1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="check" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="sna" type="STRING"/>
- <Column id="orddepthngnm" type="STRING"/>
- <Column id="orddrnm" type="STRING"/>
- <Column id="choiordflag" type="STRING"/>
- <Column id="specdrid" type="STRING"/>
- <Column id="calcscorcd" type="STRING"/>
- <Column id="prcpdt" type="STRING"/>
- <Column id="statcd" type="STRING"/>
- <Column id="rcptyn" type="STRING"/>
- <Column id="excuroomcd" type="STRING"/>
- <Column id="srchrsrvdt" type="STRING"/>
- <Column id="roomcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="rsrvrnm" type="STRING"/>
- <Column id="rcptdd" type="STRING"/>
- <Column id="acptid" type="STRING"/>
- <Column id="execdt" type="STRING"/>
- <Column id="execrnm" type="STRING"/>
- <Column id="prcphopedd" type="STRING"/>
- <Column id="basecd" type="STRING"/>
- <Column id="execprcpuniqno" type="STRING"/>
- <Column id="prcpexecdeptcd" type="STRING"/>
- <Column id="rgstdeptcd" type="STRING"/>
- <Column id="rgstrid" type="STRING"/>
- <Column id="inflag" type="STRING"/>
- <Column id="rcptacptyn" type="STRING"/>
- <Column id="execbaseflag" type="STRING"/>
- <Column id="lrgcd" type="STRING"/>
- <Column id="mdlcd" type="STRING"/>
- <Column id="excupartcd" type="STRING"/>
- <Column id="modality" type="STRING"/>
- <Column id="acptrem" type="STRING"/>
- <Column id="execrem" type="STRING"/>
- <Column id="prcpdelivefact" type="STRING"/>
- <Column id="carecnfmdd" type="STRING"/>
- <Column id="excuroomnm" type="STRING"/>
- <Column id="rgstdepthngnm" type="STRING"/>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="rcptno" type="STRING"/>
- <Column id="acptseqno" type="STRING"/>
- <Column id="execrid1" type="STRING"/>
- <Column id="execrid3" type="STRING"/>
- <Column id="execrid4" type="STRING"/>
- <Column id="prcpgenrflag" type="STRING"/>
- <Column id="orddd" type="STRING"/>
- <Column id="rgstrid" type="STRING"/>
- <Column id="orddrnm" type="STRING"/>
- <Column id="orddeptcd" type="STRING"/>
- <Column id="rcptdd" type="STRING"/>
- <Column id="orddrid" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="eqmtifyn" type="STRING"/>
- <Column id="basesuppdeptcd" type="STRING"/>
- <Column id="tmpldata" type="STRING"/>
- <Column id="wardcd" type="STRING"/>
- <Column id="prcpexecdeptcd" type="STRING"/>
- <Column id="rsrvdt" type="STRING"/>
- <Column id="prcphistno" type="STRING"/>
- <Column id="inclprcpcd" type="STRING"/>
- <Column id="actorddd" type="STRING"/>
- <Column id="cretno" type="STRING"/>
- <Column id="pacsnocretyn" type="STRING"/>
- <Column id="examroomnm" type="STRING"/>
- <Column id="execprcpstatcd" type="STRING"/>
- <Column id="tmpldata" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="cnclresncdnm" type="STRING"/>
- <Column id="age" type="STRING"/>
- <Column id="rrgstno1" type="STRING"/>
- <Column id="rrgstno2" type="STRING"/>
- <Column id="clincstdycd" type="STRING"/>
- <Column id="execrid1" type="STRING"/>
- <Column id="aftrcptinfo" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_rsrvlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchrsrvtm" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="rrgstno1" type="STRING"/>
- <Column id="calcscorcd" type="STRING"/>
- <Column id="sna" type="STRING"/>
- <Column id="statcd" type="STRING"/>
- <Column id="roomcd" type="STRING"/>
- <Column id="orddepthngnm" type="STRING"/>
- <Column id="orddrnm" type="STRING"/>
- <Column id="prcpdt" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="rsrvrnm" type="STRING"/>
- <Column id="hight" type="STRING"/>
- <Column id="weight" type="STRING"/>
- <Column id="execprcpuniqno" type="STRING"/>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="prcpgenrflag" type="STRING"/>
- <Column id="basecd" type="STRING"/>
- <Column id="prcpexecdeptcd" type="STRING"/>
- <Column id="excuroomcd" type="STRING"/>
- <Column id="inflag" type="STRING"/>
- <Column id="rcptacptyn" type="STRING"/>
- <Column id="execbaseflag" type="STRING"/>
- <Column id="orddd" type="STRING"/>
- <Column id="excupartcd" type="STRING"/>
- <Column id="modality" type="STRING"/>
- <Column id="prcpdelivefact" type="STRING"/>
- <Column id="carecnfmdd" type="STRING"/>
- <Column id="rsrvdt" type="STRING"/>
- <Column id="orddeptcd" type="STRING"/>
- <Column id="orddrid" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="basesuppdeptcd" type="STRING"/>
- <Column id="cretno" type="STRING"/>
- <Column id="wardcd" type="STRING"/>
- <Column id="srchrsrvdt" type="STRING"/>
- <Column id="rsrvrem" type="STRING"/>
- <Column id="eqmtifyn" type="STRING"/>
- <Column id="rgstdeptcd" type="STRING"/>
- <Column id="rgstrid" type="STRING"/>
- <Column id="execdt" type="STRING"/>
- <Column id="execrid1" type="STRING"/>
- <Column id="inclprcpcd" type="STRING"/>
- <Column id="lrgcd" type="STRING"/>
- <Column id="mdlcd" type="STRING"/>
- <Column id="actorddd" type="STRING"/>
- <Column id="examroomnm" type="STRING"/>
- <Column id="pacsnocretyn" type="STRING"/>
- <Column id="examroomnm" type="STRING"/>
- <Column id="execprcpstatcd" type="STRING"/>
- <Column id="tmpldata" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="rsrvrid" type="STRING"/>
- <Column id="rsrvdd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_rsrvposstm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="rsrvtm" type="STRING"/>
- <Column id="count" type="STRING"/>
- <Column id="max" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_cmb_info6" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sgubn" type="STRING" size="256"/>
- <Column id="srchpid" type="STRING" size="256"/>
- <Column id="srchdate1" type="STRING" size="256"/>
- <Column id="srchdate2" type="STRING" size="256"/>
- <Column id="dateflag" type="STRING" size="256"/>
- <Column id="acptlistflag" type="STRING" size="256"/>
- <Column id="unrsrvflag" type="STRING" size="256"/>
- <Column id="patrem" type="STRING" size="256"/>
- <Column id="memorem" type="STRING" size="256"/>
- <Column id="rsrvdate" type="STRING" size="256"/>
- <Column id="selectexcuroom" type="STRING" size="256"/>
- <Column id="excuroomcd" type="STRING" size="256"/>
- <Column id="prcpgenrflag" type="STRING" size="256"/>
- <Column id="genrflag" type="STRING" size="256"/>
- <Column id="execprcpuniqno" type="STRING" size="256"/>
- <Column id="prcpno" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="srchrsrvdt" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="rsrvgenrflag" type="STRING" size="256"/>
- <Column id="prcpexecdeptcd" type="STRING" size="256"/>
- <Column id="largeclass" type="STRING" size="256"/>
- <Column id="curdate" type="STRING" size="256"/>
- <Column id="prntcalcscorcd" type="STRING" size="256"/>
- <Column id="prntsuppdeptcd" type="STRING" size="256"/>
- <Column id="rsrvdd" type="STRING" size="256"/>
- <Column id="memorgstddprcpdd" type="STRING" size="256"/>
- <Column id="allstatus" type="STRING" size="256"/>
- <Column id="term" type="STRING" size="256"/>
- <Column id="execrid1" type="STRING" size="256"/>
- <Column id="rsrvprtyn" type="STRING" size="256"/>
- <Column id="rsrvpossexcuroomcd" type="STRING" size="256"/>
- <Column id="inclprcpcd" type="STRING" size="256"/>
- <Column id="rsrvposs" type="STRING" size="256"/>
- <Column id="centyn" type="STRING" size="256"/>
- <Column id="centflag" type="STRING" size="256"/>
- <Column id="ecgflag" type="STRING" size="256"/>
- <Column id="prcpcd" type="STRING" size="256"/>
- <Column id="cmtflag" type="STRING" size="256"/>
- <Column id="memoflag" type="STRING" size="256"/>
- <Column id="suppdeptcd" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="autorsrvflag" type="STRING" size="256"/>
- <Column id="selectexamroomnm" type="STRING" size="256"/>
- <Column id="rsrvprntcd" type="STRING" size="256"/>
- <Column id="interval" type="STRING" size="256"/>
- <Column id="rexpid" type="STRING" size="256"/>
- <Column id="rexprcpdd" type="STRING" size="256"/>
- <Column id="rexprcpno" type="STRING" size="256"/>
- <Column id="execprcpstatcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="sgubn"/>
- <Col id="srchpid"/>
- <Col id="srchdate1"/>
- <Col id="srchdate2"/>
- <Col id="dateflag"/>
- <Col id="acptlistflag"/>
- <Col id="unrsrvflag"/>
- <Col id="patrem"/>
- <Col id="memorem"/>
- <Col id="rsrvdate"/>
- <Col id="selectexcuroom"/>
- <Col id="excuroomcd"/>
- <Col id="prcpgenrflag"/>
- <Col id="genrflag"/>
- <Col id="execprcpuniqno"/>
- <Col id="prcpno"/>
- <Col id="prcpdd"/>
- <Col id="srchrsrvdt"/>
- <Col id="cretno"/>
- <Col id="orddd"/>
- <Col id="rsrvgenrflag"/>
- <Col id="prcpexecdeptcd"/>
- <Col id="largeclass"/>
- <Col id="curdate"/>
- <Col id="prntcalcscorcd"/>
- <Col id="prntsuppdeptcd"/>
- <Col id="rsrvdd"/>
- <Col id="memorgstddprcpdd"/>
- <Col id="allstatus">Y</Col>
- <Col id="term">0</Col>
- <Col id="execrid1"/>
- <Col id="rsrvprtyn"/>
- <Col id="rsrvpossexcuroomcd"/>
- <Col id="memoflag">dept</Col>
- <Col id="interval">60000</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_globalinstance" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="dutplcecd" type="STRING" size="256"/>
- <Column id="specdraddyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_initexecroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_cmb_initexecroomcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="excuroomcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cmb_initexecrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_cmb_prcpexecdeptcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpexecdeptcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cmb_cdidlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_cmb_nursingtype" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_cmb_initexcuroomgrp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_calendar" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="year" type="STRING" size="256"/>
- <Column id="month" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_rsrvcalendar" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_grid_grd_calendar" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sun" type="STRING" size="256"/>
- <Column id="mon" type="STRING" size="256"/>
- <Column id="tue" type="STRING" size="256"/>
- <Column id="wed" type="STRING" size="256"/>
- <Column id="thu" type="STRING" size="256"/>
- <Column id="fri" type="STRING" size="256"/>
- <Column id="sat" type="STRING" size="256"/>
- <Column id="sun_memo" type="STRING" size="256"/>
- <Column id="mon_memo" type="STRING" size="256"/>
- <Column id="tue_memo" type="STRING" size="256"/>
- <Column id="wed_memo" type="STRING" size="256"/>
- <Column id="thu_memo" type="STRING" size="256"/>
- <Column id="fri_memo" type="STRING" size="256"/>
- <Column id="sat_memo" type="STRING" size="256"/>
- <Column id="sun_dutflag" type="STRING" size="256"/>
- <Column id="mon_dutflag" type="STRING" size="256"/>
- <Column id="tue_dutflag" type="STRING" size="256"/>
- <Column id="wed_dutflag" type="STRING" size="256"/>
- <Column id="thu_dutflag" type="STRING" size="256"/>
- <Column id="fri_dutflag" type="STRING" size="256"/>
- <Column id="sat_dutflag" type="STRING" size="256"/>
- <Column id="sun_ampmflag" type="STRING" size="256"/>
- <Column id="mon_ampmflag" type="STRING" size="256"/>
- <Column id="tue_ampmflag" type="STRING" size="256"/>
- <Column id="wed_ampmflag" type="STRING" size="256"/>
- <Column id="thu_ampmflag" type="STRING" size="256"/>
- <Column id="fri_ampmflag" type="STRING" size="256"/>
- <Column id="sat_ampmflag" type="STRING" size="256"/>
- <Column id="sun_ordendresn" type="STRING" size="256"/>
- <Column id="mon_ordendresn" type="STRING" size="256"/>
- <Column id="tue_ordendresn" type="STRING" size="256"/>
- <Column id="wed_ordendresn" type="STRING" size="256"/>
- <Column id="thu_ordendresn" type="STRING" size="256"/>
- <Column id="fri_ordendresn" type="STRING" size="256"/>
- <Column id="sat_ordendresn" type="STRING" size="256"/>
- <Column id="sun_ordendresnmin" type="STRING" size="256"/>
- <Column id="mon_ordendresnmin" type="STRING" size="256"/>
- <Column id="tue_ordendresnmin" type="STRING" size="256"/>
- <Column id="wed_ordendresnmin" type="STRING" size="256"/>
- <Column id="thu_ordendresnmin" type="STRING" size="256"/>
- <Column id="fri_ordendresnmin" type="STRING" size="256"/>
- <Column id="sat_ordendresnmin" type="STRING" size="256"/>
- <Column id="sun_reglscheflag" type="STRING" size="256"/>
- <Column id="mon_reglscheflag" type="STRING" size="256"/>
- <Column id="tue_reglscheflag" type="STRING" size="256"/>
- <Column id="wed_reglscheflag" type="STRING" size="256"/>
- <Column id="thu_reglscheflag" type="STRING" size="256"/>
- <Column id="fri_reglscheflag" type="STRING" size="256"/>
- <Column id="sat_reglscheflag" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_calendinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="basedd" type="STRING"/>
- <Column id="dutflag" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_grdcellcolor" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="calrow" type="STRING" size="256"/>
- <Column id="calcol" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_barcdprntsetup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_data_setupinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="dsvaluepath" type="STRING" size="256"/>
- <Column id="prntkind" type="STRING" size="256"/>
- <Column id="commkind" type="STRING" size="256"/>
- <Column id="rexgbn" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_data_comm02" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="dsvaluepath" type="STRING" size="256"/>
- <Column id="comm" type="STRING" size="256"/>
- <Column id="databit" type="STRING" size="256"/>
- <Column id="stopbit" type="STRING" size="256"/>
- <Column id="baudrate" type="STRING" size="256"/>
- <Column id="parity" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="dsvaluepath">/setupinfo</Col>
- <Col id="comm">2</Col>
- <Col id="databit">8</Col>
- <Col id="stopbit">1</Col>
- <Col id="baudrate">9600</Col>
- <Col id="parity">n</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_blank" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="dsvaluepath" type="STRING" size="256"/>
- <Column id="left" type="STRING" size="256"/>
- <Column id="top" type="STRING" size="256"/>
- <Column id="b472size" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_data_comm01" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="setupval" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_patrem_selectpat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="sna" type="STRING" size="256"/>
- <Column id="hometel" type="STRING" size="256"/>
- <Column id="mpphontel" type="STRING" size="256"/>
- <Column id="rrgstno" type="STRING" size="256"/>
- <Column id="addr" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="hngnm"/>
- <Col id="sna"/>
- <Col id="hometel"/>
- <Col id="mpphontel"/>
- <Col id="rrgstno"/>
- <Col id="addr"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_patrem_isolinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="isoldispcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_patrem_prcpdeliveinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpdelivefact" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_examcuredeptmemolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="memorem" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_tobeacptprcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_progressnote" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_cmb_info6_X0003" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_uspayflagyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_patrem_rem" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="memo" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_prcprcptyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_specdridlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_patrem_examcureexecdiaglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="diagengnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_A0608" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_P0008" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_popup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="basecdflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_cnclcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cnclcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_excuroomgrplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_rexbarcode" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="patnm" type="STRING" size="256"/>
- <Column id="gbn" type="STRING" size="256"/>
- <Column id="rrgstno1" type="STRING" size="256"/>
- <Column id="rrgstno2" type="STRING" size="256"/>
- <Column id="barpid" type="STRING" size="256"/>
- <Column id="excugrp" type="STRING" size="256"/>
- <Column id="rsrvdd" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="wardcddeptengabbr" type="STRING" size="256"/>
- <Column id="excupartcd" type="STRING" size="256"/>
- <Column id="roomcd" type="STRING" size="256"/>
- <Column id="prcpnm" type="STRING" size="256"/>
- <Column id="examroomnm" type="STRING" size="256"/>
- <Column id="wardcdnm" type="STRING" size="256"/>
- <Column id="prcphopedd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="patnm"/>
- <Col id="gbn"/>
- <Col id="rrgstno1"/>
- <Col id="rrgstno2"/>
- <Col id="barpid"/>
- <Col id="excugrp"/>
- <Col id="rsrvdd"/>
- <Col id="sex"/>
- <Col id="age"/>
- <Col id="wardcddeptengabbr"/>
- <Col id="excupartcd"/>
- <Col id="roomcd"/>
- <Col id="prcpnm"/>
- <Col id="examroomnm"/>
- <Col id="wardcdnm"/>
- <Col id="prcphopedd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="basesuppdeptcd" type="STRING" size="256"/>
- <Column id="cnclcd" type="STRING" size="256"/>
- <Column id="pamifyn" type="STRING" size="256"/>
- <Column id="ordtm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="flag"/>
- <Col id="basesuppdeptcd"/>
- <Col id="cnclcd"/>
- <Col id="pamifyn"/>
- <Col id="ordtm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_req_data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_patrem_nameconflict" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_tmplinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_T0003" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="dispseq" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="grupcdid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_selectdridlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="userid" type="STRING" size="256"/>
- <Column id="usernm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_sms" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="msgcnts" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_sms" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="condflag" type="STRING" size="256"/>
- <Column id="data" type="STRING" size="256"/>
- <Column id="calltype" type="STRING" size="256"/>
- <Column id="msgcnts" type="STRING" size="256"/>
- <Column id="insuflag" type="STRING" size="256"/>
- <Column id="calltelno" type="STRING" size="256"/>
- <Column id="systemnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_sms" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_rcv" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="usernm" type="STRING" size="256"/>
- <Column id="userid" type="STRING" size="256"/>
- <Column id="mpphonno" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_A1000" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_body.grp_calendar.opt_year" propid="value" datasetid="ds_calendar" columnid="year"/>
- <BindItem id="item1" compid="grp_body.grp_calendar.opt_month" propid="value" datasetid="ds_calendar" columnid="month"/>
- <BindItem id="item2" compid="grp_body.group5.output1" propid="value" datasetid="ds_send_data" columnid="selectexamroomnm"/>
- <BindItem id="item3" compid="grp_body.grp_sea.ipt_date1" propid="value" datasetid="ds_send_data" columnid="srchdate1"/>
- <BindItem id="item4" compid="grp_body.grp_sea.ipt_date2" propid="value" datasetid="ds_send_data" columnid="srchdate2"/>
- <BindItem id="item5" compid="grp_body.grp_sea.combo1" propid="value" datasetid="ds_send_data" columnid="term"/>
- <BindItem id="item6" compid="grp_body.grp_sea.cmb_term" propid="value" datasetid="ds_send_data" columnid="term"/>
- <BindItem id="item7" compid="grp_body.grp_sea.ipt_pid" propid="value" datasetid="ds_send_data" columnid="srchpid"/>
- <BindItem id="item8" compid="grp_body.grp_sea.radio3" propid="value" datasetid="ds_send_data" columnid="prcpgenrflag"/>
- <BindItem id="item9" compid="grp_body.grp_sea.cmb_selectexcuroom" propid="value" datasetid="ds_send_data" columnid="selectexcuroom"/>
- <BindItem id="item10" compid="grp_body.input2" propid="value" datasetid="ds_patrem_selectpat" columnid="pid"/>
- <BindItem id="item11" compid="grp_body.input3" propid="value" datasetid="ds_patrem_selectpat" columnid="hngnm"/>
- <BindItem id="item12" compid="grp_body.input7" propid="value" datasetid="ds_patrem_selectpat" columnid="sna"/>
- <BindItem id="item13" compid="grp_body.input9" propid="value" datasetid="ds_patrem_selectpat" columnid="rrgstno"/>
- <BindItem id="item14" compid="grp_body.input5" propid="value" datasetid="ds_patrem_selectpat" columnid="hometel"/>
- <BindItem id="item15" compid="grp_body.input6" propid="value" datasetid="ds_patrem_selectpat" columnid="mpphontel"/>
- <BindItem id="item16" compid="grp_body.input8" propid="value" datasetid="ds_patrem_selectpat" columnid="addr"/>
- <BindItem id="item17" compid="grp_body.group7.txt_isol" propid="value" datasetid="ds_patrem_isolinfo" columnid="isoldispcd"/>
- <BindItem id="item18" compid="grp_body.tar_prcpdelivefact" propid="value" datasetid="ds_patrem_prcpdeliveinfo" columnid="prcpdelivefact"/>
- <BindItem id="item19" compid="grp_body.tat_deptmemo" propid="value" datasetid="ds_examcuredeptmemolist" columnid="memorem"/>
- <BindItem id="item20" compid="grp_body.rd_memoflag" propid="value" datasetid="ds_send_data" columnid="memoflag"/>
- <BindItem id="item21" compid="grp_body.group5.chk_rsrvprint" propid="value" datasetid="ds_send_data" columnid="rsrvprtyn"/>
- <BindItem id="item22" compid="grp_body.group5.chk_autorsrv" propid="value" datasetid="ds_send_data" columnid="autorsrvflag"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "emr_prcpmngtxp::MMOCommon.xjs";
- include "ast_examcurexp::AEZ0001.xjs";
- include "ast_examcurexp::combolist.xjs";
- include "ast_examcurexp::SPAER01100.xjs";
- include "pam_pamcomnxp::PAM.xjs";
- include "com_commodulexp::SSZFM00901.xjs";
- include "emr_carecomxp::CareCom.xjs";
- include "emr_waitguidexp::SMMNV12000.xjs";
- var grdgubn = "";
- var tabgubn = "";
- var acptlistflag = "";
- var prcpddyn = "";
- var grdid = "";
- var gTimer = 0;
- var dayArr = ["sun","mon","tue","wed","thu","fri","sat"]
- var dayMemoArr = ["sun_memo","mon_memo","tue_memo","wed_memo","thu_memo","fri_memo","sat_memo"]
- function exeRsrvTransaction(str, ds_ordlist) {
- //alert(ordlist);
- //예약 또는 수정 일때
- dsf_createDs("ds_temp_search");
- if(str == "rsrv" ||str == "upd" ) {
- //var nodeList = instance1.selectNodes("/root/main/"+ordlist+"/mainordlist[check='true' ]");
- //var rCSV = getNodeListCSV(nodeList);
- ds_ordlist.filter("check=='1'");
- ds_temp_search.copyData(ds_ordlist,true);
- ds_ordlist.filter("");
- //과검사일때 진료예약일자 세팅
- if(grp_body.group5.chk_rsrvyn.value == "Y"){
- var rsrvdt = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"srchrsrvdt");
- ds_send_req.setColumn(0,"ordtm", rsrvdt.substr(8,4) );
- }
- }
-
- //예약취소일때
-
- if(str == "cncl") {
- //취소코드조회
-
- var objArg = new Object();
- objArg.arg_ds_receivedata = ds_send_popup;
- frmf_modal("SPAEA01500","SPAEA01500", objArg, "", 0,100,150, "", "", "", "", "", "M");
-
-
- var selectRows = grdf_getSelectedRows(grp_body.group2.switch1.case1.grd_ordlist1);
-
- for ( var i =0 ; i< selectRows.length;i++){
- ds_grd_ordlist1.setColumn(selectRows[i],"basecd", ds_hidden_cnclcdlist.getColumn(0,"cnclcd"));
- }
- ds_ordlist.filter("check=='1'");
- ds_temp_search.copyData(ds_ordlist,true);
- ds_ordlist.filter("");
- }
- ds_temp_search.addColumn("flag","string");
- ds_temp_search.addColumn("pamifyn","string");
- ds_temp_search.addColumn("nottotal","string");
- ds_temp_search.addColumn("rsrvrem","string");
- ds_temp_search.addColumn("norsrvrem","string");
- ds_temp_search.addColumn("rsrvflag","string");
- for (var i = 0; i< ds_temp_search.rowcount; i++)
- {
- ds_temp_search.setColumn(i,"flag",str);
- ds_temp_search.setColumn(i,"pamifyn",grp_body.group5.chk_rsrvyn.value);
- ds_temp_search.setColumn(i,"nottotal","" );
- ds_temp_search.setColumn(i,"rsrvrem","-");
- ds_temp_search.setColumn(i,"norsrvrem","M4");
- ds_temp_search.setColumn(i,"rsrvflag",ds_temp_search.getColumn(i,"prcpgenrflag"));
- ds_temp_search.setColumn(i,"actorddd",ds_temp_search.getColumn(i,"prcpdd"));
- ds_temp_search.setColumn(i,"suppdeptcd",ds_temp_search.getColumn(i,"basesuppdeptcd"));
- }
-
-
-
- dsf_setDefaultVal(ds_temp_search, "bf_srchrsrvtm:000000000000");
- //dsf_setTypeFormat(ds_temp_search, "execprcpuniqno:INT^cretno:INT^actcretno:INT");
- ds_temp_search.updateColID("srchrsrvdt","srchrsrvtm");
- ds_temp_search.updateColID("orddd","indd");
- //ds_temp_search.updateColID("prcpdd","actorddd");
- ds_temp_search.updateColID("execrid1","execrid");
- ds_temp_search.updateColID("basecd","cnclresncd");
-
- dsf_setDefaultVal(ds_temp_search, "all");
- trace(ds_temp_search.saveXML());
- var oParam = {};
- oParam.id = "TXAEA01101";
- oParam.service = "examcurersrvapp.SytsRsrv";
- oParam.method = "reqExcuRsrv";
- oParam.inds = "req=ds_temp_search";
- oParam.outds = "ds_hidden_item=item";
- oParam.async = false;
- oParam.transaction = false;
- //oParam.callback = "cf_TXAEA01101";
- tranf_submit(oParam);
-
- }
- /*********************************************************************************
- * 요청번호 : 20170420002, 신경과 검사실 업무제한요청건
- * 20170424 by kya 진료지원 공통코드에서 수정자격 가져오기 'T0003'
- * SELECT a.* FROM AST.AEBMCODE a WHERE a.grupcdid = 'T0003' AND instcd = '031';
- *********************************************************************************/
- function fSetAutho(){
- // ds_init_T0003.clearData();
- // lf_getAstCodeList([{dsNm: "ds_init_T0003", cdGrpId: "T0003"}], true);
-
-
- var idx_rsrv = 0;
- for( var i = 1 ; i<= ds_init_T0003.rowcount ; i++){
- if( ds_init_T0003.getColumn(i,"cdid") == sysf_getUserInfo("userid") ){
- idx_rsrv++;
- }
- }
- trace( "ds_init_T0003의 idx_rsrv=" + idx_rsrv);
-
- if( idx_rsrv == 0 ){
- grp_body.button7.enable = true;
- grp_body.button8.enable = true;
- }else {
- grp_body.button7.enable = false;
- grp_body.button8.enable = false;
- }
- }
- //=====================================================================================================================================================================================
- // @ 프린터 설정
- //=====================================================================================================================================================================================
- function fSetPrint() {
- var count = ds_barcdprntsetup.rowcount;
- if(count == 0) {
- ds_barcdprntsetup.addRow();
- }
- var objArg = new Object();
- objArg.arg_sSetupInfo = ds_barcdprntsetup.getColumn(0,"prntsetupinfo");
- objArg.arg_sCallBackFunction = "lf_convertXmlToDs";
- frmf_open("SPZUR00300","SPZUR00300", objArg, "", "", "", "","","","","","","M" );
-
- }
- //=====================================================================================================================================================================================
- // @ 달력 초기화
- //=====================================================================================================================================================================================
- function initCalendar() {
- var curDate = utlf_getCurrentDate().toDate();
- ds_calendar.setColumn(0,"year", curDate.getDateFormat("YYYY"));
- ds_calendar.setColumn(0,"month", curDate.getDateFormat("MM"));
- setCalendar(curDate);
-
- }
- //=====================================================================================================================================================================================
- // @ TextArea 초기화 Function
- //=====================================================================================================================================================================================
- function dataClear() {
- grp_body.tar_prcpdelivefact.value = "-";
-
- ds_patrem_rem.setColumn(0,"memo","-");
-
- }
- function fGetWideListX1(grp1, tab1, flag) {
- if(flag == "prcplist" ) {
- grp_body.group2.position.bottom = grp_body.grp_calendar.position.top - 7;
- // grp_body.group2.switch1.position.bottom = grp_body.group2.position.bottom - 5;
- }
- if(flag =="rsrvlist") {
- //예약내역
- grp_body.group5.position.top = grp_body.grp_calendar.position.top; //그룹
- // grp_body.group5.position.height = 315; //그룹
- }
- }
- //=====================================================================================================================================================================================
- // @ 처방리스트 Grid 접기 Function
- //=====================================================================================================================================================================================
- function fGetWideListX2(grp1, tab1, flag) {
- if(flag == "prcplist" ) {
- grp_body.group2.position.bottom = grp_body.grd_calendar.position.bottom-1;
- // grp_body.group2.switch1.position.bottom = grp_body.group2.position.bottom-2;
- }
-
- if(flag =="rsrvlist") {
- grp_body.group5.position.top = 250; //그룹
- // grp_body.group5.position.height = 490; //그룹
- }
- }
- //--=========================================================================================================
- //2009-06-29 7/1 본인부담율 인상으로 인한 메세지 처리
- //--=========================================================================================================
- function fget0701GosiPrcpRcptChk(str) {
-
- var menuparam = frmf_getMenuParam();
- var flagvalue = "";
- var tmpPID = "";
- if ( menuparam != "S") { // 건진제외
- if (str == "noacting" ) { //(noacting - 미시행처방 Tab / rsrv - 예약리스트 )
- flagvalue = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"prcpexecdeptcd"); //시행부서
- tmpPID =ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"pid") // 등록번호
- }else{
- flagvalue = ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"prcpexecdeptcd"); //시행부서
- tmpPID = ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"pid") // 등록번호
- }
-
-
- // flagvalue = "2220000001";
- // tmpPID ="18684040";
- flagvalue = "'" + flagvalue + "'";
-
- dsf_createDsRow("ds_send_GosiPrcpRcpyn",
- [{col:"instcd", val:sysf_getUserInfo("dutplceinstcd")}
- ,{col:"pid", val:tmpPID}
- ,{col:"flagvalue", val:flagvalue}
- ,{col:"flag", val:"2"}
- ]);
-
- var oParam = {};
- oParam.id = "TRAEA01100";
- oParam.service = "pamcomnapp.PamComn";
- oParam.method = "get0701GosiPrcpRcptChk";
- oParam.inds = "req=ds_send_GosiPrcpRcpyn";
- oParam.outds = "ds_hidden_prcprcptyn=prcprcptyn";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01100";
- tranf_submit(oParam);
-
- }
- }
- function cf_TRAEA01100(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- if (ds_hidden_prcprcptyn.getColumn(0,"prcprcptyn") == "Y") {
- //txtgosi.text = " 본인부담요율 변동 환자입니다. 수납에 정산 안내하시길 바랍니다." ; //재활 메세지로
- sysf_messageBox(" 본인부담요율 변동 환자입니다. 수납으로 정산 안내하시길 바랍니다. ", "E999"); //재활 그외는 메세지창으로
- } else{
- //messageBox(" 본인부담요율 변동 환자입니다. 수납으로 정산 안내하시길 바랍니다.xxxxx ", "E999"); //재활 그외는 메세지창으로
- }
- }
- function setRsrvdate(grid,btn) {
- var loop;
- var check;
- var execprcpstatcd;
- var execbaseflag;
- var grd;
- var loopcnt="";
- var execncl="";
- var list = "";
- var ds_grid;
- //alert(grid);
- if(grid == "grd_ordlist1") {
- ds_grid = ds_grd_ordlist1;
- grd = ds_grd_ordlist1.rowcount;
- }
- else if(grid == "grd_ordlist4") {
- ds_grid = ds_grd_ordlist4;
- grd = ds_grd_ordlist4.rowcount;
- }
- else if(grid == "grd_ordlist6") {
- ds_grid = ds_grd_ordlist6;
- grd = ds_grd_ordlist6.rowcount;
- }
-
- //var nodeList = instance1.selectNodes("/root/main/"+list+"/mainordlist[check='true']");
- //var rCSV = getNodeListCSV(nodeList);
-
- ds_grid.addColumn("rsrvdt","string");
- if (ds_grid.getCaseCount("check=='1'") == 0 ) {
- sysf_messageBox("처방내역을 ","C002");
- return "0";
- }
- else {
-
- if(btn == "cmb" ) {
- for( var i = 0 ; i < grd ; i++ )
- {
- if(ds_grid.getColumn(i,"check") == "1")
- {
- ds_grid.setColumn(i,"srchrsrvdt",ds_send_data.getColumn(0,"rsrvdd")+grp_body.cmb_hour.value+grp_body.cmb_min.value); //실 예약시간
-
- ds_grid.setColumn(i,"rsrvdt", ds_send_data.getColumn(0,"rsrvdd") + grp_body.cmb_hour.value+grp_body.cmb_min.value);
-
- }
- }
- }else if (btn == "grd" ) {
- for( var i = 0 ; i < grd ; i++ )
- {
- if(ds_grid.getColumn(i,"check") == "1")
- {
-
- ds_grid.setColumn(i,"rsrvdt",ds_send_data.getColumn(0,"rsrvdd")+ ds_grd_rsrvposstm.getColumn(ds_grd_rsrvposstm.rowposition,"rsrvtm")); // 예약시간대
-
- ds_grid.setColumn(i,"srchrsrvdt",ds_send_data.getColumn(0,"rsrvdd")+ds_grd_rsrvposstm.getColumn(ds_grd_rsrvposstm.rowposition,"rsrvtm")); //실 예약시간
-
- }
-
- }
- }
- }
- }
- //=====================================================================================================================================================================================
- // @ 달력에 일자별로 가용현황을 보여준다.
- //=====================================================================================================================================================================================
- function setRsrvPresCondByMonth() {
- var isMonth = ds_calendar.getColumn(0,"month");
- var isYear = ds_calendar.getColumn(0,"year");
- var isDate = (isYear+isMonth+"01").toDate();
- var startDay = isDate.getDay();
-
- if(!utlf_isNull(ds_send_data.getColumn(0,"excuroomcd"))) {
- ds_send_data.setColumn(0,"rsrvdd", isYear +isMonth+ startDay );
- //submit("TRAEA01107");
- var oParam = {};
- oParam.id = "TRAEA01129";
- oParam.service = "examcurersrvapp.SytsRsrv";
- oParam.method = "reqGetFuncCUrerRsrvTimeCnt";
- oParam.inds = "req=ds_send_data";
- oParam.outds = "ds_init_rsrvcalendar=rsrvcalendar";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01129";
- tranf_submit(oParam);
- }
-
-
- for (var i = 0; i < ds_init_rsrvcalendar.rowcount; i++) {
- var dd = ds_init_rsrvcalendar.getColumn(i,"rsrvdd");
- var colidx = dd.toDate().getDay();
- var rowidx = Math.ceil( ( startDay + Number(dd.substr(6,2)) ) / 7 )-1;
- ds_grid_grd_calendar.setColumn(rowidx, dayMemoArr[colidx%7], ds_init_rsrvcalendar.getColumn(i,"count") + "/" + ds_init_rsrvcalendar.getColumn(i,"max")) ;
-
- }
-
- }
- function cf_TRAEA01129(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- //=====================================================================================================================================================================================
- // @ 달력에 0/0 으로 세팅
- //=====================================================================================================================================================================================
- function setCalendar(dateObj) {
-
- // 그리드 초기화
- ds_grid_grd_calendar.clearData();
- ds_init_rsrvcalendar.clearData();
-
- dateObj.setDate(1);
- var startDay = dateObj.getDay();
- var days = dateObj.getMonthDay();
-
- var rows = Math.ceil( ( startDay + days ) / 7 );
- for( var i = 0; i < rows; i++ )
- ds_grid_grd_calendar.addRow();
-
-
- var rowIndex = 0;
- var colIndex = startDay;
-
- for( var i = 1; i <= days; i++ ) {
- ds_grid_grd_calendar.setColumn(rowIndex,dayArr[colIndex%7],i);
- //ds_grid_grd_calendar.setColumn(rowIndex, lf_getBindCellName( group5.grd_calendar,colIndex), i);
- ds_grid_grd_calendar.setColumn(rowIndex,dayMemoArr[colIndex%7],"0/0");
- //ds_grid_grd_calendar.setColumn(rowIndex, lf_getBindCellName( group5.grd_calendar,colIndex + 7),"0/0");
- //grd_calendar.valueMatrix(rowIndex, colIndex + 7) = "0/0";
- colIndex++;
- if( colIndex == 7 ) {
- colIndex = 0;
- rowIndex++;
- }
- }
- ds_send_data.setColumn(0,"curdate",ds_calendar.getColumn(0,"year")+ds_calendar.getColumn(0,"month")+"01");
-
- setRsrvPresCondByMonth();
-
- fCalendar() //공휴일표시
- }
- /****************************************************************************************************************************************************
- @ 공휴일계산1
- *****************************************************************************************************************************************************/
- function fCalendar(){
- var oParam = {};
- oParam.id = "TRAEA02012";
- oParam.service = "examcurersrvapp.SytsRsrv";
- oParam.method = "reqGetCalenList";
- oParam.inds = "req=ds_send_data";
- oParam.outds = "ds_calendinfo=calendinfo";
- oParam.async = false;
- oParam.callback = "cf_TRAEA02012";
- tranf_submit(oParam);
-
- }
- function cf_TRAEA02012(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- fCalendar1();
- }
- /****************************************************************************************************************************************************
- @ 공휴일계산2
- *****************************************************************************************************************************************************/
- function fCalendar1(){
- var isMonth = ds_calendar.getColumn(0, "month");
- var isYear = ds_calendar.getColumn(0, "year");
- var isDate = (isYear+isMonth+1).toDate();
- var startDay = isDate.getDay();
-
- for (var i = 0; i < ds_calendinfo.rowcount; i++) {
- var dd = ds_calendinfo.getColumn(i,"basedd");
- var colidx = dd.toDate().getDay();
- var rowidx = Math.ceil( ( startDay + Number(dd.substr(6,2)) ) / 7 ) - 1;
- this.ds_grid_grd_calendar.setColumn(rowidx,dayArr[colidx%7]+ "_dutflag" , ds_calendinfo.getColumn(i,"dutflag"));
-
- }
- }
- //=====================================================================================================================================================================================
- // @ 오늘날짜 달력에 표시 (오늘날짜 찾기)
- //=====================================================================================================================================================================================
- function setCurrentDate() {
-
- var curDate = utlf_getCurrentDate().substr(6,2); //오늘날짜
- var curWeek = utlf_getCurrentDate().toDate().getDayOfWeek("E").toLowerCase(); //오늘요일
- if(curDate <10) {
- curDate= curDate.substr(1,1);
- }
-
- if(curWeek == "sun")
- ds_hidden_grdcellcolor.setColumn(0,"calcol",0);
- if(curWeek == "mon")
- ds_hidden_grdcellcolor.setColumn(0,"calcol",1);
- if(curWeek == "tue")
- ds_hidden_grdcellcolor.setColumn(0,"calcol",2);
- if(curWeek == "wed")
- ds_hidden_grdcellcolor.setColumn(0,"calcol",3);
- if(curWeek == "thu")
- ds_hidden_grdcellcolor.setColumn(0,"calcol",4);
- if(curWeek == "fri")
- ds_hidden_grdcellcolor.setColumn(0,"calcol",5);
- if(curWeek == "sat")
- ds_hidden_grdcellcolor.setColumn(0,"calcol",6);
-
- for(var i = 0 ; i <ds_grid_grd_calendar.rowcount; i++ ) {
- if(ds_grid_grd_calendar.getColumn(i,curWeek) == curDate ) {
- ds_hidden_grdcellcolor.setColumn(0,"calrow",i);
-
- }
- }
-
- var calRow = Number(ds_hidden_grdcellcolor.getColumn(0,"calrow"));
- var calCol = Number(ds_hidden_grdcellcolor.getColumn(0,"calcol")); ; //현재선택
-
- if( calCol >= 7 )
- calCol -= 7;
- //this.ds_grid_grd_calendar.setColumn(calRow,dayArr[calCol%7]+ "_reglscheflag" , "#daa7d9");
- ds_grid_grd_calendar.rowposition = calRow;
- grp_body.grd_calendar.setCellPos(calCol);
- //grd_calendar.cellStyle("background-color", calRow, calCol) = "#ffcc66"; //오늘날짜 노란색
- //grd_calendar.cellStyle("background-color", calRow, calCol+7) = "#ffcc66"; //오늘날짜 노란색
- }
- //=====================================================================================================================================================================================
- // @ 달력에서 선택한 날짜에 대한 예약내역, 가용현황 조회
- //=====================================================================================================================================================================================
- function getRsrvPossTm(gridObj) {
- var dsObj = eval(gridObj.binddataset);
- var yyyy = ds_calendar.getColumn(0, "year");
- var mm = ds_calendar.getColumn(0, "month");
- var dd = utlf_transNullToEmpty(dsObj.getColumn(dsObj.rowposition, dayArr[gridObj.currentcol%7]));
-
- if (dd.length == 1)
- {
- dd = "0" + dd;
- }
-
-
- ds_send_data.setColumn(0, "rsrvdd", "");
- ds_send_data.setColumn(0, "rsrvdd", yyyy + mm + dd);
- ds_send_data.setColumn(0, "rsrvdate",ds_send_data.getColumn(0, "rsrvdd"));
-
- dsf_createDsRow("ds_send_tmp",
- [{col:"basesuppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"acptlistflag", val:"Y"}
- ,{col:"initexcuroom", val:ds_send_data.getColumn(0,"excuroomcd")}
- ,{col:"srchdate1", val:ds_send_data.getColumn(0,"rsrvdate")}
- ,{col:"srchdate2", val:ds_send_data.getColumn(0,"rsrvdate")}
- ,{col:"excuroomflag", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"rsrvdd", val:ds_send_data.getColumn(0,"rsrvdd")}
- ,{col:"prcpexecdeptcd", val:ds_send_data.getColumn(0,"prcpexecdeptcd")}
- ,{col:"memodt1", val:ds_send_data.getColumn(0,"rsrvdd")}
- ,{col:"memodt2", val:ds_send_data.getColumn(0,"rsrvdd")}
- ,{col:"memoflag", val:""}
- ,{col:"deptcdflag", val:"room"}
- ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
- ,{col:"deptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"allstatus", val:ds_send_data.getColumn(0,"allstatus")}
- ,{col:"flag", val:"etc"}
- ,{col:"largeclass", val:"R4"}
- ,{col:"sgubn", val:ds_send_data.getColumn(0,"sgubn")}
- ,{col:"multiexcuroom", val:""}
- ,{col:"centyn", val:ds_send_data.getColumn(0,"centyn")}
- ,{col:"centflag", val:ds_send_data.getColumn(0,"centflag")}
- ]);
-
-
- var oParam = {};
- oParam.id = "TRAEA01106";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_tmp";
- oParam.outds = "ds_grd_rsrvposstm=rsrvposstm ds_examcuredeptmemolist=examcuredeptmemolist ds_grd_rsrvlist=examcureexecprcplist";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01106";
- tranf_submit(oParam);
-
- }
- function cf_TRAEA01106(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- if(ds_examcuredeptmemolist.rowcount ==0)
- {
- ds_examcuredeptmemolist.addRow();
- }
- }
-
- //=====================================================================================================================================================================================
- // @ 그리드 조회를 위한 선택 Function
- //=====================================================================================================================================================================================
- function fGetExamCureAcptList(acptlistflag) {
- //alert("******acptlistflag = " + acptlistflag );
-
- //20130503 기간 체크
- //start
-
- var sdate1 = ds_send_data.getColumn(0,"srchdate1");
- var sdate2 = ds_send_data.getColumn(0,"srchdate2");
- var sPid = ds_send_data.getColumn(0,"srchpid");
- var DiffDate = utlf_getDateInterval(sdate1, sdate2, "dd" ) + 1;
-
- if (utlf_isNull(sPid) && ( DiffDate > 7)) {
- sysf_messageBox("적용일자 조회기간(=" + DiffDate + "일간)이 깁니다. 범위를 7일이하로 수정하거나 등록번호를 입력한 후 조회하세요","I");
- return;
- }
- //end
-
- ds_send_data.setColumn(0,"acptlistflag", acptlistflag);
-
- dsf_createDsRow("ds_send_temp",
- [{col:"acptlistflag", val:ds_send_data.getColumn(0,"acptlistflag")}
- ,{col:"basesuppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"initexcuroom", val:ds_send_data.getColumn(0,"selectexcuroom")}
- ,{col:"prcpexecdeptcd", val:ds_send_data.getColumn(0,"prcpexecdeptcd")}
- ,{col:"srchdate1", val:ds_send_data.getColumn(0,"srchdate1")}
- ,{col:"srchdate2", val:ds_send_data.getColumn(0,"srchdate2")}
- ,{col:"srchpid", val:sPid}
- ,{col:"excuroomflag", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"term", val:ds_send_data.getColumn(0,"term")}
- ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"prcpgenrflag")}
- ,{col:"sgubn", val:ds_send_data.getColumn(0,"sgubn")}
- ,{col:"largeclass", val:"M4"}
- ,{col:"centyn", val:ds_send_data.getColumn(0,"centyn")}
- ,{col:"centflag", val:ds_send_data.getColumn(0,"centflag")}
- ]);
- switch (acptlistflag) {
-
- case "M": // 전체처방(수닙+미수납)
- grp_body.group2.switch1.tabindex = 0;
- var oParam = {};
- oParam.id = "TRAEA01101";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_temp";
- oParam.outds = "ds_grd_ordlist1=examcureexecprcplist";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01101";
- tranf_submit(oParam);
-
- break;
- case "UR": //수납처방
- grp_body.group2.switch1.tabindex = 3;
- var oParam = {};
- oParam.id = "TRAEA01103";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_temp";
- oParam.outds = "ds_grd_ordlist3=examcureexecprcplist";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01101";
- tranf_submit(oParam);
- break;
- case "T": //검사완료
- grp_body.group2.switch1.tabindex = 1;
- var oParam = {};
- oParam.id = "TRAEA01104";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_temp";
- oParam.outds = "ds_grd_ordlist4=examcureexecprcplist";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01101";
- tranf_submit(oParam);
-
- break;
- case "Y": //예약
-
- var oParam = {};
- oParam.id = "TRAEA01106";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_temp";
- oParam.outds = "ds_grd_rsrvposstm=rsrvposstm ds_examcuredeptmemolist=examcuredeptmemolist ds_grd_rsrvlist=examcureexecprcplist";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01106";
- tranf_submit(oParam);
- break;
- case "R": //미예약
- grp_body.group2.switch1.tabindex = 2;
- var oParam = {};
- oParam.id = "TRAEA01109";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_temp";
- oParam.outds = "ds_grd_ordlist6=examcureexecprcplist";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01101";
- tranf_submit(oParam);
-
- break;
- case "N": //미예약
- grp_body.group2.switch1.tabindex = 2;
- var oParam = {};
- oParam.id = "TRAEA01109";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_temp";
- oParam.outds = "ds_grd_ordlist6=examcureexecprcplist";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01101";
- tranf_submit(oParam);
-
- break;
- case "L": // 환자 이력 조회
-
- grp_body.group2.switch1.tabindex = 0;
- ds_send_data.setColumn(0,"term","703");
- var oParam = {};
- oParam.id = "TRAEA01101";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_temp";
- oParam.outds = "ds_grd_ordlist1=examcureexecprcplist";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01101";
-
- tranf_submit(oParam);
-
-
- break;
- default:
- break;
- }
- }
-
- function cf_TRAEA01101(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
-
- fSetAutho(); //20170427 신경과직원 권한제한
-
- switch(sSvcId) {
- case "TRAEA01101":
- ds_grd_ordlist1.addColumn("backcolor","string");
- ds_grd_ordlist1.addColumn("check","string");
- for(var i = 0 ; i < ds_grd_ordlist1.rowcount ; i++ ){
- ds_grd_ordlist1.setColumn(i,"backcolor", "#ffffff");
- }
- lf_aezfSetRowStyle(grp_body.group2.switch1.case1.grd_ordlist1 , "15^16^17" , "V^P^A" , "aftrcptinfo" );
- break;
- case "TRAEA01104":
- ds_grd_ordlist4.addColumn("backcolor","string");
- ds_grd_ordlist4.addColumn("check","string");
- for(var i = 0 ; i < ds_grd_ordlist4.rowcount ; i++ ){
- ds_grd_ordlist4.setColumn(i,"backcolor", "#ffffff");
- }
- lf_aezfSetRowStyle(grp_body.group2.switch1.case4.grd_ordlist4 , "15^16^17" , "V^P^A" , "aftrcptinfo" );
- break;
- case "TRAEA01103":
- ds_grd_ordlist3.addColumn("check","string");
- ds_grd_ordlist3.addColumn("backcolor","string");
- for(var i = 0 ; i < ds_grd_ordlist3.rowcount ; i++ ){
- ds_grd_ordlist3.setColumn(i,"backcolor", "#ffffff");
- }
- lf_aezfSetRowStyle(grp_body.group2.switch1.case3.grd_ordlist3 , "15^16^17" , "V^P^A" , "aftrcptinfo" );
- break;
- case "TRAEA01109":
- fMakeCopyColumn(ds_grd_ordlist6,"srchrsrvdt","bf_srchrsrvtm");
- ds_grd_ordlist6.addColumn("check","string");
- ds_grd_ordlist6.addColumn("backcolor","string");
- for(var i = 0 ; i < ds_grd_ordlist6.rowcount ; i++ ){
- ds_grd_ordlist6.setColumn(i,"backcolor", "#ffffff");
- }
- lf_aezfSetRowStyle(grp_body.group2.switch1.case6.grd_ordlist6 , "15^16^17" , "V^P^A" , "aftrcptinfo" );
- break;
- default:
- break;
- }
- }
- /****************************************************************************************
- * Argument : objDs - Dataset ID
- * : sColSrc - 원본 컬럼
- * : sColTgt - 생성할 컬럼
- * Description : 데이터셋 특정컬럼 카피하여 새컬럼 생성
- ****************************************************************************************/
- function fMakeCopyColumn(objDs,sColSrc,sColTgt) {
- if(utlf_isNull(objDs.getColumnInfo(sColTgt))) objDs.addColumn(sColTgt,"string");
- for(var i = 0 ; i < objDs.rowcount ; i++) {
- objDs.setColumn(i,sColTgt,objDs.getColumn(i,sColSrc));
- }
- }
- //=====================================================================================================================================================================================
- // @ 접수/실시처리를 위한 Function
- //=====================================================================================================================================================================================
- function ExeAccept (tabgubn,grid) { //1
- var loop;
- var check;
- var loopcnt="";
- var execncl="";
- var grd_rows = "";
-
- if(grid == "ds_grd_ordlist1") {
- grd_rows = ds_grd_ordlist1.rowcount;
- }
- if(grid == "ds_grd_ordlist7") {
- grd_rows = ds_grd_ordlist6.rowcount;
- }
- if(grid == "ds_grd_ordlist4") {
- grd_rows = ds_grd_ordlist4.rowcount;
- }
-
- if(grid == "ds_grd_ordlist6") {
- grd_rows = ds_grd_ordlist6.rowcount;
- }
- if(grid == "ds_grd_rsrvlist") {
- grd_rows = ds_grd_rsrvlist.rowcount;
- }
-
- var ds_grid = this.objects[grid];
- //본격적으로 CSV에 세팅
- for( var i = 0 ; i < grd_rows ; i++ ) {
- check = ds_grid.getColumn(i,"check");
-
- if ( check == "1" ) {
-
- //실시자 세팅
- if( ds_grid.getColumn(i,"execrid1") == "-" ) {
- ds_grid.setColumn(i,"execrid1", sysf_getUserId() );
- }
- }
- }
-
- if(grid == "ds_grd_rsrvlist") {
- ds_grd_rsrvlist.filter("check=='1'");
- ds_send_tobeacptprcplist.copyData(ds_grd_rsrvlist,true);
- ds_grd_rsrvlist.filter("");
- }
- else {
- ds_grid.filter("check=='1'");
- ds_send_tobeacptprcplist.copyData(ds_grid,true);
- ds_grid.filter("");
- }
-
- //건진 기능검사
- if(ds_send_data.getColumn(0,"sgubn") == "S") {
- ds_send_tobeacptprcplist.addColumn("sgubn","string");
- ds_send_tobeacptprcplist.setColumn(0,"sgubn","S");
- }
- // 처방 -> 검사접수/실시완료
- // if( tabgubn == "M" || tabgubn == "R" ||tabgubn == "Y" || tabgubn == "Y" ) {
- dsf_setFixVal(ds_send_tobeacptprcplist, "transactiongubn:1,largeclass:M4,execprcpstat440cd:440,execprcpstat610cd:610,rtno:-,reqagnphoyn:N,tretflagcd:610,indd:00000000,icfflag:-,arvdt:-,execrid2:-,execrid3:-,execrid4:-,excuexectodt:00000000000000,excuexecfromdt1:00000000000000,excueqcd1:-,excuexecfromdt2:00000000000000,excueqcd2:-,excuexecfromdt3:00000000000000,excueqcd3:-,excuexecfromdt4:00000000000000,excueqcd4:-,excuexecfromdt5:00000000000000,excueqcd5:-,opdrid:-,autroomassgyn:N,rsltdd:00000000,rslttm:000000,rsltno:0,rsltseqno:0,cnfmdt:00000000000000,cnfmmanid:-,eqmtifimgyn:N,ocrimgyn:N,rslttmplyn:N,deptrem:-,patrem:-,excupartgrpcd:-");
- if ( sysf_messageBox("실시를 ","Q002")==6 ) { //M 전체처방 , R 수납처장, Y 에약내역
- var oParam = {};
- oParam.id = "TXAEA01103";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqExeAcptExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_tobeacptprcplist";
- oParam.outds = "ds_hidden_item=item";
- oParam.async = false;
- oParam.callback = "cf_TXAEA01103";
- tranf_submit(oParam);
- }
-
- //20130926 kya 2013/10/01부터 적용, 중증/희귀난치성환자 초음파급비변경대상자 알림
- fget1001USPayFlagChk();
-
- ds_send_tobeacptprcplist.clearData();
-
- // }
-
- //data 클리어
- dataClear();
- }
- function cf_TXAEA01103(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- //--=========================================================================================================
- //20130926 10/01 중증/희귀난치성 환자일 경우 초음파검사 급비변경에 따른 안내메시지
- //--=========================================================================================================
- function fget1001USPayFlagChk() {
- var curDate = utlf_getCurrentDate();
- var baseDate = ds_init_cmb_info6_X0003.getColumn(1,"cdnm");
- var sPrcpdd = ds_send_data.getColumn(0,"prcpdd"); //처방일자
-
- if ( sPrcpdd >= baseDate ) return; //처방일자가 20131001 이후이면 리턴
- if ( curDate < baseDate ) return;
-
- var menuparam = frmf_getMenuParam();
-
- if ( menuparam != "S") { // 건진제외
- var sPID = ds_send_data.getColumn(0,"srchpid"); //환자번호
- var sOrddd = ds_send_data.getColumn(0,"orddd"); //처방일자
- var sCretno = ds_send_data.getColumn(0,"cretno"); //처방일자
-
- var sExecprcpuniqno = ds_send_data.getColumn(0,"execprcpuniqno"); //처방일자
-
- dsf_createDsRow("ds_send_USPayFlagyn",
- [{col:"instcd", val:sysf_getUserInfo("dutplceinstcd")}
- ,{col:"pid", val:sPID}
- ,{col:"orddd", val:sOrddd}
- ,{col:"cretno", val:sCretno}
- ,{col:"prcpdd", val:sPrcpdd}
- ,{col:"execprcpuniqno", val:sExecprcpuniqno}
- ]);
-
- var oParam = {};
- oParam.id = "TRAEA01213";
- oParam.service = "pamcomnapp.PamComn";
- oParam.method = "reqGetUltrasonoChk";
- oParam.inds = "req=ds_send_USPayFlagyn";
- oParam.outds = "ds_hidden_uspayflagyn=uspayflagyn";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01213";
- tranf_submit(oParam);
- }
- }
- function cf_TRAEA01213(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- if (ds_hidden_uspayflagyn.getColumn(0,"uspayflagyn") == "Y") {
- //sysf_messageBox("실시 후, 1층 원무수납 1번 창구에서 초음파 보험급여 여부를 확인 받도록 안내 부탁드립니다. ", "E999");
- sysf_messageBox("실시 후, 관련 진료과에서 초음파 보험급여 여부를 확인 받도록 안내 부탁드립니다. ", "E999");
- }
- }
- //=====================================================================================================================================================================================
- // @ 접수/실시 취소 처리를 위한 Function
- //=====================================================================================================================================================================================
- function ExeCncl (grid) {
-
- var loop;
- var check;
- var execprcpstatcd;
- var loopcnt="";
- var execncl="";
- var list = "";
- var grd;
-
- if(grid == "ds_grd_ordlist1") {
- grd = ds_grd_ordlist1.rowcount;
- }
- if(grid == "ds_grd_ordlist7") {
- grd = ds_grd_ordlist6.rowcount;
- }
- if(grid == "ds_grd_ordlist4") {
- grd = ds_grd_ordlist4.rowcount;
- }
- if(grid == "ds_grd_ordlist6") {
- grd = ds_grd_ordlist6.rowcount;
- }
- var ds_grid = this.objects[grid];
- //취소코드조회
-
- ds_send_popup.setColumn(0,"basecdflag","C");
-
- var objArg = new Object();
- objArg.arg_ds_receivedata = ds_send_popup;
- frmf_modal("SPAEA01500","SPAEA01500", objArg, "", 0,100,150, "", "", "", "", "", "M");
-
-
- // tran3 ,tran4 로 나누기
- dsf_copyColInfo(ds_grd_temp1,ds_grid);
- dsf_copyColInfo(ds_grd_temp2,ds_grid);
-
-
- for( var i = 0 ; i < grd ; i++ ) {
- check = ds_grid.getColumn(i,"check");
- execprcpstatcd = ds_grid.getColumn(i,"execprcpstatcd");
- if ( check == "true" || check == "1" ) {
- if (execprcpstatcd == "440" ){ //transaction 3
- var nRow = ds_grd_temp1.addRow();
- ds_grd_temp1.copyRow(nRow,ds_grid,i);
- ds_grd_temp1.setColumn(nRow,"basecd",ds_hidden_cnclcdlist.getColumn(0,"cnclcd"));
- ds_grd_temp1.setColumn(nRow,"cnclresncdnm",ds_hidden_cnclcdlist.getColumn(0,"cnclcdnm"));
- }
- if (execprcpstatcd == "610") { //transaction 4
- var nRow = ds_grd_temp2.addRow();
- ds_grd_temp2.copyRow(nRow,ds_grid,i);
- ds_grd_temp2.setColumn(nRow,"basecd",ds_hidden_cnclcdlist.getColumn(0,"cnclcd"));
- ds_grd_temp2.setColumn(nRow,"cnclresncdnm",ds_hidden_cnclcdlist.getColumn(0,"cnclcdnm"));
-
- }
- }
- }
- // 접수 -> 처방
- if(!utlf_isNull(ds_grd_temp1.getColumn(ds_grd_temp1.rowcount -1,"execprcpstatcd"))
- && utlf_isNull(ds_grd_temp2.getColumn(ds_grd_temp2.rowcount -1,"execprcpstatcd"))) {// transaction 3
-
- dsf_createDs("ds_send_tobeacptcnclprcplist1");
- dsf_copyDs(ds_send_tobeacptcnclprcplist1,ds_grd_temp1);
- ds_send_tobeacptcnclprcplist1.updateColID("basecd","cnclresncd");
- dsf_setFixVal(ds_send_tobeacptcnclprcplist1, "transactiongubn:3,largeclass:M4,rtno:-,execprcpstatXcd:X,execprcpstat440cd:440,execprcpstat610cd:610,execprcpstat230cd:230,execprcpstat100cd:100,execprcpstat000cd:000,execprcpstatYcd:Y,acptdd:00000000,acpttm:000000,acptpsnid:-,pacsno:-,cnclflag:A,execrid1:-,execrid2:-,execrid3:-,execrid4:-,excuexectodt:00000000000000,excuexecfromdt1:00000000000000,excueqcd1:-,excuexecfromdt2:00000000000000,excueqcd2:-,excuexecfromdt3:00000000000000,excueqcd3:-,excuexecfromdt4:00000000000000,excueqcd4:-,excuexecfromdt5:00000000000000,excueqcd5:-,opdrid:-,tretflagcd:440,indd:00000000,icfflag:-,reqagnphoyn:N,wardcd:-,roomcd:-,arvdt:-,autroomassgyn:N,rsltdd:00000000,rslttm:000000,rsltno:0,rsltseqno:0,cnfmdt:00000000000000,cnfmmanid:-,eqmtifimgyn:N,ocrimgyn:N,rslttmplyn:N,deptrem:-,patrem:-");
-
- if ( sysf_messageBox("접수취소를 ","Q002")==6 ) {
- var oParam = {};
- oParam.id = "TXAEA01105";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqExeAcptExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_tobeacptcnclprcplist1";
- oParam.outds = "ds_hidden_item=item";
- oParam.async = false;
-
- tranf_submit(oParam); // transaction 3
- }
- }
-
- // 실시 -> 처방
- else if(utlf_isNull(ds_grd_temp1.getColumn(ds_grd_temp1.rowcount -1,"execprcpstatcd"))
- && !utlf_isNull(ds_grd_temp2.getColumn(ds_grd_temp2.rowcount -1,"execprcpstatcd"))) { // transaction 4
- dsf_createDs("ds_send_tobeacptcnclprcplist2");
- dsf_copyDs(ds_send_tobeacptcnclprcplist2,ds_grd_temp2);
- ds_send_tobeacptcnclprcplist2.updateColID("basecd","cnclresncd");
- dsf_setFixVal(ds_send_tobeacptcnclprcplist2, "transactiongubn:4,largeclass:M4,execprcpstat440cd:440,execprcpstat610cd:610,execprcpstatXcd:X,execprcpstat230cd:230,execprcpstat000cd:000,execprcpstat100cd:100,execprcpstatYcd:Y,execdd:00000000,exectm:000000,execrid1:-,acptdd:00000000,acpttm:000000,acptpsnid:-,pacsno:-,cnclflag:E,tretflagcd:610,indd:00000000,icfflag:-,reqagnphoyn:N,wardcd:-,roomcd:-,arvdt:-,execrid2:-,execrid3:-,execrid4:-,excuexectodt:00000000000000,excuexecfromdt1:00000000000000,excueqcd1:-,excuexecfromdt2:00000000000000,excueqcd2:-,excuexecfromdt3:00000000000000,excueqcd3:-,excuexecfromdt4:00000000000000,excueqcd4:-,excuexecfromdt5:00000000000000,excueqcd5:-,opdrid:-,autroomassgyn:N,rsltdd:00000000,rslttm:000000,rsltno:0,rsltseqno:0,cnfmdt:00000000000000,cnfmmanid:-,eqmtifimgyn:N,ocrimgyn:N,rslttmplyn:N,deptrem:-,patrem:-");
- if ( sysf_messageBox("실시취소를 ","Q002")==6 ) {
-
- //취소사유코드 체크
- if( utlf_isNull(ds_hidden_cnclcdlist.getColumn(0,"cnclcd")) ){
- sysf_messageBox("취소사유코드를","C001");
-
- }else{
- var oParam = {};
- oParam.id = "TXAEA01104";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqExeAcptExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_tobeacptcnclprcplist2";
- oParam.outds = "ds_hidden_item=item";
- oParam.async = false;
-
- tranf_submit(oParam); // transaction 4
- }
- }
- }
-
- // 실시 , 접수 -> 처방
- else if(!utlf_isNull(ds_grd_temp1.getColumn(ds_grd_temp1.rowcount -1,"execprcpstatcd"))
- && !utlf_isNull(ds_grd_temp2.getColumn(ds_grd_temp2.rowcount -1,"execprcpstatcd"))) { // transaction 4
-
-
- //var nodeList = instance1.selectNodes("/root/hidden/list/templist2/subordlist2");
-
- dsf_createDs("ds_send_tobeacptcnclprcplist1");
- dsf_copyDs(ds_send_tobeacptcnclprcplist1,ds_grd_temp1);
- ds_send_tobeacptcnclprcplist1.updateColID("basecd","cnclresncd");
- dsf_setFixVal(ds_send_tobeacptcnclprcplist1, "transactiongubn:3,largeclass:M5,rtno:-,execprcpstatXcd:X,execprcpstat440cd:440,execprcpstat610cd:610,execprcpstat230cd:230,execprcpstat100cd:100,execprcpstat000cd:000,execprcpstatYcd:Y,acptdd:00000000,acpttm:000000,acptpsnid:-,pacsno:-,cnclflag:A,execrid1:-,execrid2:-,execrid3:-,execrid4:-,excuexectodt:00000000000000,excuexecfromdt1:00000000000000,excueqcd1:-,excuexecfromdt2:00000000000000,excueqcd2:-,excuexecfromdt3:00000000000000,excueqcd3:-,excuexecfromdt4:00000000000000,excueqcd4:-,excuexecfromdt5:00000000000000,excueqcd5:-,opdrid:-,tretflagcd:440,execdd:00000000,exectm:000000,execrid1:-,indd:00000000,icfflag:-,reqagnphoyn:N,wardcd:-,roomcd:-,arvdt:-,autroomassgyn:N,rsltdd:00000000,rslttm:000000,rsltno:0,rsltseqno:0,cnfmdt:00000000000000,cnfmmanid:-,eqmtifimgyn:N,ocrimgyn:N,rslttmplyn:N,deptrem:-,patrem:-");
-
- dsf_createDs("ds_send_tobeacptcnclprcplist2");
- dsf_copyDs(ds_send_tobeacptcnclprcplist2,ds_grd_temp2);
- dsf_setFixVal(ds_send_tobeacptcnclprcplist2, "transactiongubn:4,largeclass:M5,rtno:-,execprcpstatXcd:X,execprcpstat440cd:440,execprcpstat610cd:610,execprcpstat230cd:230,execprcpstat100cd:100,execprcpstat000cd:000,execprcpstatYcd:Y,execdd:00000000,exectm:000000,execrid1:-,acptdd:00000000,acpttm:000000,acptpsnid:-,pacsno:-,cnclflag:A,execrid1:-,execrid2:-,execrid3:-,execrid4:-,excuexectodt:00000000000000,excuexecfromdt1:00000000000000,excueqcd1:-,excuexecfromdt2:00000000000000,excueqcd2:-,excuexecfromdt3:00000000000000,excueqcd3:-,excuexecfromdt4:00000000000000,excueqcd4:-,excuexecfromdt5:00000000000000,excueqcd5:-,opdrid:-,tretflagcd:610,indd:00000000,icfflag:-,reqagnphoyn:N,wardcd:-,roomcd:-,arvdt:-,autroomassgyn:N,rsltdd:00000000,rslttm:000000,rsltno:0,rsltseqno:0,cnfmdt:00000000000000,cnfmmanid:-,eqmtifimgyn:N,ocrimgyn:N,rslttmplyn:N,deptrem:-,patrem:-");
-
- if ( sysf_messageBox("실시/접수 취소를 ","Q002")==6 ) {
- var oParam = {};
- oParam.id = "TXAEA01501";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqExeAcptExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_tobeacptcnclprcplist1";
- oParam.outds = "ds_hidden_item=item";
- oParam.async = false;
-
- tranf_submit(oParam); // transaction 3
-
- var oParam = {};
- oParam.id = "TXAEA01502";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqExeAcptExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_tobeacptcnclprcplist2";
- oParam.outds = "ds_hidden_item=item";
- oParam.async = false;
-
- tranf_submit(oParam);; // transaction 4
- }
- }
-
- dsf_deleteDs("ds_send_tobeacptcnclprcplist1");
- dsf_deleteDs("ds_send_tobeacptcnclprcplist2");
-
-
- ds_grd_temp1.clearData();
- ds_grd_temp2.clearData();
-
-
- ds_hidden_cnclcdlist.setColumn(0,"cnclcd", ""); //취소사유코드 비우기
- //data 클리어
- dataClear();
- }
- function SMAEA01104_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 화면공통
- }
- function SMAEA01104_onload(obj:Form, e:LoadEventInfo)
- {
- lf_aezfSetSuppDeptcd_main();
-
- //20180914 sort
- grdf_setGridSort(grp_body.group2.switch1.case1.grd_ordlist1);
- grdf_setGridSort(grp_body.group2.switch1.case4.grd_ordlist4);
- grdf_setGridSort(grp_body.group2.switch1.case6.grd_ordlist6);
- grdf_setGridSort(grp_body.group2.switch1.case7.datagrid1);
-
- //문자전송화면 옮기기
- div_directsms.position.x = ( this.position.width - div_directsms.position.width ) / 2;
- div_directsms.position.y = 35;
-
-
- if (utlf_transNullToEmpty(suppdeptcd) =="") {
- suppdeptcd = sysf_getUserInfo( "dutplcecd" );
- }
-
- var dutplcenm = sysf_getUserInfo("dutplcenm");
- grp_top.caption9.text = "(" + dutplcenm + ")";
-
- var pNursCode = "'601'"; // 조회할 CdGrupID 코드정보
- var pNursDate = utlf_getCurrentDate(); //조회기준일자
- fGetNursHardCdInfo(pNursCode, pNursDate);
-
- var instcd = sysf_getUserInfo("dutplceinstcd");
-
- var j = 0;
- //로그인 사용자의 소속과 오른쪽 popup메뉴 추가
- for(var i = 0 ; i < ds_codelist.rowcount; i++){
- if(ds_codelist.getColumn(i,"cdgrupid") == "601" && ds_codelist.getColumn(i,"cdid") == sysf_getUserInfo( "dutplcecd" )){
- if(j == 0){
-
- var insRow = PopupMenu00.innerdataset.addRow();
- PopupMenu00.innerdataset.setColumn(insRow,"captioncolumn", "-");
- PopupMenu00.innerdataset.setColumn(insRow,"idcolumn", "");
- j++;
- }
-
- var insRow = PopupMenu00.innerdataset.addRow();
- PopupMenu00.innerdataset.setColumn(insRow,"captioncolumn", ds_codelist.getColumn(i,"grupdetldesc") );
- PopupMenu00.innerdataset.setColumn(insRow,"idcolumn", ds_codelist.getColumn(i,"cdnm") );
- }
- }
-
- var arrParam = [{dsNm: "ds_init_cmb_info6", cdGrpId: "X0003"}]
- lf_getAstCodeList(arrParam) ;
- var arrParam = [{dsNm: "ds_init_A0608", cdGrpId: "A0608"}
- ]
- appf_getCodeList(arrParam);
- appf_delPatientInfos();
- grdf_initGrid(grp_body.group2.switch1.case1.grd_ordlist1);
- grdf_initGrid(grp_body.group2.switch1.case4.grd_ordlist4);
- grdf_initGrid(grp_body.group2.switch1.case6.grd_ordlist6);
- grdf_initGrid(grp_body.group2.switch1.case7.datagrid1);
- ds_send_data.setColumn(0,"allstatus","Y");
-
-
-
- //바코드 출력
- dsf_createDsRow("ds_send",
- [{col:"scrnid", val:frmf_getScreenID()}
- ]); // 20090617 SATO 관련 추가
-
-
-
- var oParam = {};
- oParam.id = "TRLLC90101";
- oParam.service = "diagtestapplib.LisCommon";
- oParam.method = "reqGetSetUpInfo";
- oParam.inds = "scrnid=ds_send";
- oParam.outds = "ds_barcdprntsetup=getSetUpInfo";
- oParam.async = false;
-
- tranf_submit(oParam);
- lf_convertXmlToDs(ds_barcdprntsetup.getColumn(0,"prntsetupinfo"));
-
- // 주사실에서 건진 과내검사 액팅을 위한 체크 추가_김금련 2013.4.18
- if(instcd == "031"){
- if (suppdeptcd == "3120000000"){
- //model.setValue("/root/properties/menu/menuparam", "R");
- }
- }
- var menuparam = frmf_getMenuParam();
-
- //건진처방 구분
- ds_send_data.setColumn(0,"sgubn", menuparam);
- //건진일경우
- if(menuparam == "S"){
-
- button5.visible = true;
- }
-
- ds_send_globalinstance.setColumn(0,"specdraddyn","Y");
- ds_send_globalinstance.setColumn(0,"dutplcecd",suppdeptcd);
- ds_send_data.setColumn(0,"suppdeptcd",suppdeptcd);
- ds_send_data.setColumn(0,"deptcd",suppdeptcd);
- var oParam = {};
- oParam.id = "TRAEA01136";
- oParam.service = "examcurebaseapp.ExamCureCode";
- oParam.method = "reqGetSpecDrnmList";
- oParam.inds = "req=ds_send_globalinstance";
- oParam.outds = "ds_init_specdridlist=item";
- oParam.async = false;
-
- tranf_submit(oParam);
-
- //20170427 신경과직원 업무제한
- if ( suppdeptcd == "2020000000" ) {
- ds_init_T0003.clearData();
- lf_getAstCodeList([{dsNm: "ds_init_T0003", cdGrpId: "T0003"}], true);
- fSetAutho(); //20170427 신경과직원 업무제한
-
- //20180809 신경과 수면다원검사실 입실퇴실관리
- grp_body.group2.btn_inpt.visible = true;
- }
-
-
- //20180117 kya 검사의사지정을 위해
- ds_send_data.setColumn(0,"basesuppdeptcd",suppdeptcd);
- var oParam = {};
- oParam.id = "TRAEA01139";
- oParam.service = "examcurebaseapp.ExamCureCode";
- oParam.method = "reqGetSelectDrnmList";
- oParam.inds = "req=ds_send_globalinstance";
- oParam.outds = "ds_init_selectdridlist=item";
- oParam.async = false;
- tranf_submit(oParam);
-
- //안과 진료예약을 위한 공통코드 조회
- //검사실 갖고오기
- dsf_createDsRow("ds_send",
- [{col:"basesuppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"rbasecdflag", val:"R"}
- ,{col:"ebasecdflag", val:"E"}
- ,{col:"largeclass", val:"M4"}
- ,{col:"cdgrupid", val:"A0486"}
- ,{col:"centflag", val:""}
- ]);
-
- var oParam = {};
- oParam.id = "TRAEA01115";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetInitFuncExamCureRoomList";
- oParam.inds = "reqparam=ds_send";
- oParam.outds = "ds_cmb_initexecroom=initexcuroom ds_cmb_initexecroomcd=initexcuroomcd ds_cmb_initexecrid=initexecrid ds_cmb_prcpexecdeptcdlist=prcpexecdeptcdlist ds_cmb_cdidlist=cdidlist ds_cmb_nursingtype=nursingtype ds_cmb_initexcuroomgrp=initexcuroomgrp";
- oParam.async = false;
-
- tranf_submit(oParam);
-
- grp_body.grp_sea.ipt_date1.value = utlf_getCurrentDate();
- grp_body.grp_sea.ipt_date2.value = utlf_getCurrentDate();
-
- tabgubn = "N";
-
- ds_send_data.setColumn(0,"rsrvdd", utlf_getCurrentDate() );
-
- //안과 진료일정 구분 세팅
- if( ds_cmb_cdidlist.getColumn(0,"cdid") == ds_send_globalinstance.getColumn(0,"dutplcecd") ) {
-
- ds_send_req.setColumn(0,"pamifyn", "Y" );
- grp_body.group5.chk_rsrvyn.visible = true;
- }
- //산부인과 및 치과 자동예약 세팅
- if( ds_send_globalinstance.getColumn(0,"dutplcecd") == "2100000000" ||ds_send_globalinstance.getColumn(0,"dutplcecd") == "2240000000") {
- grp_body.group5.chk_autorsrv.visible = true;
- }
-
- //지원부서 세팅
- var prcpexecdeptcd = "";
- for(var i = 0; i < ds_cmb_prcpexecdeptcdlist.rowcount ; i++){
- prcpexecdeptcd = ds_cmb_prcpexecdeptcdlist.getColumn(i,"prcpexecdeptcd") + " " + prcpexecdeptcd;
- }
- ds_send_data.setColumn(0,"prcpexecdeptcd",prcpexecdeptcd);
-
- // grp_body.grp_sea.checkbox1.setBindDataset(ds_cmb_initexecroom,"basecd","basecdflagdesc");
- grp_body.grp_sea.checkbox1.setInitComp("col=5,row=3,cellspacing=2,vcellspacing=0,itemWidth=147,itemHeight=20,overflow='visible'",ds_cmb_initexecroom,"basecd","basecdflagdesc","");
- //검사실 세팅
- var excuroomcd = "";
- for(var i = 0; i < ds_cmb_initexecroomcd.rowcount; i++){
- excuroomcd = ds_cmb_initexecroomcd.getColumn(i,"excuroomcd") + "," + excuroomcd;
- }
- ds_send_data.setColumn(0,"selectexcuroom", excuroomcd);
- var aData = ds_send_data.getColumn(0,"selectexcuroom").split(",");
- grp_body.grp_sea.checkbox1.setData(aData);
-
- if( ds_cmb_initexecroomcd.rowcount == 1 ){ //검사자별 검사실이 하나인 경우 달력에 가용현황 조회됨.
- ds_send_data.setColumn(0,"selectexcuroom", ds_send_data.getColumn(0,"selectexcuroom").substr(0,10));
- ds_send_data.setColumn(0,"excuroomcd", ds_send_data.getColumn(0,"selectexcuroom"));
- initCalendar();
- setCurrentDate();
- getRsrvPossTm(grp_body.grd_calendar);
-
- }
-
- else {
- ds_send_data.setColumn(0,"excuroomcd",ds_cmb_initexecroomcd.getColumn(0,"excuroomcd"));
- initCalendar();
- setCurrentDate();
- getRsrvPossTm(grp_body.grd_calendar);
-
-
- }
- btn_case3_onclick();
- grp_body_grp_sea_btn_sea_onclick();
- }
- function grp_body_grp_calendar_button32_onclick(obj:Button, e:ClickEventInfo)
- {
- var isMonth = ds_calendar.getColumn(0,"month");
- var isYear = ds_calendar.getColumn(0,"year");
- var isDate = (isYear+isMonth+1).toDate().getAddDate(1,'Y');
- ds_calendar.setColumn(0,"year", isDate.getDateFormat('YYYY'));
- ds_calendar.setColumn(0,"month", isDate.getDateFormat('MM'));
-
- setCalendar(isDate);
- }
- function grp_body_grp_calendar_btn_premonth_onclick(obj:Button, e:ClickEventInfo)
- {
- var isMonth = ds_calendar.getColumn(0,"month");
- var isYear = ds_calendar.getColumn(0,"year");
- var isDate = (isYear+isMonth+1).toDate().getAddDate(-1,'M');
- ds_calendar.setColumn(0,"year", isDate.getDateFormat('YYYY'));
- ds_calendar.setColumn(0,"month", isDate.getDateFormat('MM'));
-
- setCalendar(isDate);
- }
- function grp_body_grp_calendar_button34_onclick(obj:Button, e:ClickEventInfo)
- {
- var isMonth = ds_calendar.getColumn(0,"month");
- var isYear = ds_calendar.getColumn(0,"year");
- var isDate = (isYear+isMonth+1).toDate().getAddDate(1,'M');
- ds_calendar.setColumn(0,"year", isDate.getDateFormat('YYYY'));
- ds_calendar.setColumn(0,"month", isDate.getDateFormat('MM'));
-
-
- setCalendar(isDate);
- }
- function grp_body_grp_calendar_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- var isMonth = ds_calendar.getColumn(0,"month");
- var isYear = ds_calendar.getColumn(0,"year");
- var isDate = (isYear+isMonth+1).toDate().getAddDate(-1,'Y');
- ds_calendar.setColumn(0,"year", isDate.getDateFormat('YYYY'));
- ds_calendar.setColumn(0,"month", isDate.getDateFormat('MM'));
-
- setCalendar(isDate);
- }
- function grp_body_grp_calendar_button63_onclick(obj:Button, e:ClickEventInfo)
- {
- initCalendar();
- setCurrentDate();
- getRsrvPossTm(grp_body.grd_calendar);
- }
- function grp_body_grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- var checkvalue = utlf_transNullToEmpty(grp_body.grp_sea.checkbox1.getData());
- ds_send_data.setColumn(0,"selectexcuroom",String(checkvalue).replace(","," "));
-
- if(ds_send_data.getColumn(0,"selectexcuroom") != " ") {
- var a = ds_send_data.getColumn(0,"selectexcuroom");
- var cnt = 0;
-
- for(var i = 0 ; i < a.length ; i++) {
- if(a.substr(i,1) == " " ) {
- cnt++;
- }
- }
- //Data 클리어
- dataClear();
-
- ds_send_data.setColumn(0,"dateflag","anotherday"); //적용일자 기준
- ds_send_data.setColumn(0,"rsrvdate",ds_send_data.getColumn(0,"srchdate1"));
- ds_send_data.setColumn(0,"rsrvdate",ds_send_data.getColumn(0,"srchdate2"));
-
- //환자Comment 환자정보 조회
- dsf_createDsRow("ds_send_tmp",
- [{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"ecgflag", val:ds_send_data.getColumn(0,"ecgflag")}
- ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
- ,{col:"memorgstdd", val:ds_send_data.getColumn(0,"rsrvdd")}
- ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
- ,{col:"orddd", val:ds_send_data.getColumn(0,"orddd")}
- ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"genrflag")}
- ,{col:"prcpcd", val:ds_send_data.getColumn(0,"prcpcd")}
- ,{col:"rsrvposs", val:ds_send_data.getColumn(0,"rsrvposs")}
- ,{col:"prcpno", val:ds_send_data.getColumn(0,"prcpno")}
- ,{col:"prcpdd", val:ds_send_data.getColumn(0,"prcpdd")}
- ,{col:"srchrsrvdt", val:ds_send_data.getColumn(0,"centyn")}
- ,{col:"execprcpuniqno", val:ds_send_data.getColumn(0,"execprcpuniqno")}
- ,{col:"cmtflag", val:""}
- ,{col:"memorgstddprcpdd", val:""}
- ]);
-
-
- //환자Comment 환자정보 조회
- var oParam = {};
- oParam.id = "TRAEA01114";
- oParam.service = "examcureacptexecapp.PatRem";
- oParam.method = "reqGetFuncPatRemList";
- oParam.inds = "reqparam=ds_send_tmp";
- oParam.outds = "ds_patrem_grdAeahMemoList=grdAeahMemoList ds_patrem_examcureexecdiaglist=examcureexecdiaglist ds_patrem_selectpat=sltpatinfolist ds_patrem_isolinfo=patisolinfolist ds_patrem_prcpdeliveinfo=prcpdeliveinfolist ds_patrem_rsrvpossexcuroomlist=rsrvpossexcuroomlist";
- oParam.async = false;
-
- tranf_submit(oParam);
-
- if(ds_patrem_prcpdeliveinfo.rowcount ==0)
- {
- ds_patrem_prcpdeliveinfo.addRow();
- }
- grp_body.cpt_isolinfo.text = "";
- if (!utlf_isNull(ds_patrem_isolinfo.getColumn(0,"isoldispcd"))) {
- grp_body.cpt_isolinfo.text = "확인"
- }
-
-
-
- sysf_setGlobalVariable("gv_pid", ds_send_data.getColumn(0,"srchpid"), "A"); //등록번호 넘기기
-
- if (grp_body.group2.switch1.tabindex == 0 ) {
- if(utlf_isNull(grp_body.grp_sea.ipt_pid.value)) {
- fGetExamCureAcptList("M"); // 전체처방
-
- tabgubn = "M";
- }
- else {
- fGetExamCureAcptList("L"); // 이력
-
- tabgubn = "L";
- }
- }
- if ( grp_body.group2.switch1.tabindex == 1 ) fGetExamCureAcptList("T"); // 검사완료
- if ( grp_body.group2.switch1.tabindex == 2 ) fGetExamCureAcptList("N"); // 미시행검사
- if ( grp_body.group2.switch1.tabindex == 3 ) fGetExamCureAcptList("R"); // 미예약
-
- //부서메모
- if( cnt == 0 ){ //검사자별 검사실이 하나인 경우 달력에 가용현황 조회됨.
- //model.setValue("/root/send/data/memoflag", "dept");
- grp_body.rd_memoflag.enable = true;
- }else if (cnt > 0){
- ds_send_data.setColumn(0,"memoflag", "dept");
- grp_body.rd_memoflag.enable = false;
- }
-
- //if( cnt == 0 ){ //검사자별 검사실이 하나인 경우 달력에 가용현황 조회됨.
- ds_send_data.setColumn(0,"excuroomcd",ds_send_data.getColumn(0,"selectexcuroom"));
- ds_send_data.setColumn(0,"selectexamroomnm",grp_body.grp_sea.checkbox1.getLableData()); //라벨에 검사실명 뿌려주기.
- initCalendar();
- setCurrentDate();
- getRsrvPossTm(grp_body.grd_calendar);
-
- }
- }
- function grp_body_grp_sea_ipt_pid_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- var temppid = obj.value;
- grp_body.group2.switch1.tabindex = 0;
- obj.value = temppid;
- obj.updateToDataset();
- var ev = new ClickEventInfo;
- frmf_inputEnterKey("grp_body.grp_sea.btn_sea", "onclick", ev );
- }
- }
- function grp_body_grp_sea_button61_onclick(obj:Button, e:ClickEventInfo)
- {
- var objArg = new Object();
- objArg.arg_ds_send = ds_send_data;
-
- frmf_modal("SPPMC02500", "SPPMC02500", objArg, null, null, null, null, null, null, null, null, null, "M");
-
-
- ds_send_data.setColumn(0,"srchpid", ds_patinfolist.getColumn(0,"pid"));
-
- var ev = new ClickEventInfo;
- frmf_inputEnterKey("grp_body.grp_sea.btn_sea", "onclick", ev );
- }
- function grp_body_grp_sea_combo1_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- obj.updateToDataset();
- if(ds_send_data.getColumn(0,"selectexcuroom") == " ") {
- sysf_messageBox("검사실 선택되지 ", "E007");
- return;
- }
-
- if(obj.value == "0" )
- {
- grp_body.grp_sea.ipt_date1.enable = true;
- grp_body.grp_sea.ipt_date2.enable = true;
-
- }
- else
- {
- var date2 = grp_body.grp_sea.ipt_date2.value;
- var term = obj.value;
- grp_body.grp_sea.ipt_date1.value = date2.getAddDate(-term,"D").getDateFormat("YYYYMMDD") ;
-
-
- grp_body.grp_sea.ipt_date1.enable = false;
- grp_body.grp_sea.ipt_date2.enable = false;
-
- }
- }
- function grp_body_grp_sea_radio3_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- //상단정보 초기화
- appf_delPatientInfos();
-
- ds_send_data.setColumn(0,"srchpid","");
- dsf_createDsRow("ds_send_tmp",
- [{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"ecgflag", val:ds_send_data.getColumn(0,"ecgflag")}
- ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
- ,{col:"memorgstdd", val:ds_send_data.getColumn(0,"rsrvdd")}
- ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
- ,{col:"orddd", val:ds_send_data.getColumn(0,"orddd")}
- ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"genrflag")}
- ,{col:"prcpcd", val:ds_send_data.getColumn(0,"prcpcd")}
- ,{col:"rsrvposs", val:ds_send_data.getColumn(0,"rsrvposs")}
- ,{col:"prcpno", val:ds_send_data.getColumn(0,"prcpno")}
- ,{col:"prcpdd", val:ds_send_data.getColumn(0,"prcpdd")}
- ,{col:"srchrsrvdt", val:ds_send_data.getColumn(0,"centyn")}
- ,{col:"execprcpuniqno", val:ds_send_data.getColumn(0,"execprcpuniqno")}
- ,{col:"cmtflag", val:""}
- ,{col:"memorgstddprcpdd", val:""}
- ]);
-
-
- //환자Comment 환자정보 조회
- var oParam = {};
- oParam.id = "TRAEA01114";
- oParam.service = "examcureacptexecapp.PatRem";
- oParam.method = "reqGetFuncPatRemList";
- oParam.inds = "reqparam=ds_send_tmp";
- oParam.outds = "ds_patrem_grdAeahMemoList=grdAeahMemoList ds_patrem_examcureexecdiaglist=examcureexecdiaglist ds_patrem_selectpat=sltpatinfolist ds_patrem_isolinfo=patisolinfolist ds_patrem_prcpdeliveinfo=prcpdeliveinfolist ds_patrem_rsrvpossexcuroomlist=rsrvpossexcuroomlist";
- oParam.async = false;
-
- tranf_submit(oParam);
- grp_body.cpt_isolinfo.value ="";
- if (!utlf_isNull(ds_patrem_isolinfo.getColumn(0,"isoldispcd"))) {
- grp_body.cpt_isolinfo.value = "확인";
- }
-
- if ( grp_body.group2.switch1.tabindex == 0 ) {
- if(utlf_isNull(grp_body.grp_sea.ipt_pid.value)) {
- acptlistflag= "M";
- fGetExamCureAcptList(); // 전체처방
- tabgubn = acptlistflag ;
- }
- else {
- acptlistflag= "L";
- fGetExamCureAcptList(); // 이력
- tabgubn = acptlistflag ;
- }
- }
-
- if ( grp_body.group2.switch1.tabindex == 1 )
- {
-
- fGetExamCureAcptList("T"); // 검사완료
- }
- if ( grp_body.group2.switch1.tabindex == 2 )
- {
-
- fGetExamCureAcptList("R"); // 미예약
- }
-
- initCalendar();
- setCurrentDate();
-
- }
- function grp_body_btn_rsrvtmins_onclick(obj:Button, e:ClickEventInfo)
- {
- grdgubn = "grd_ordlist1";
- if( grp_body.group2.switch1.tabindex == 0 ) grdgubn = "grd_ordlist1"; // 전체처방
- if ( grp_body.group2.switch1.tabindex == 1) grdgubn = "grd_ordlist4"; // 검사완료
- if ( grp_body.group2.switch1.tabindex == 2) grdgubn = "grd_ordlist6"; // 미예약
- if ( grp_body.group2.switch1.tabindex == 3) grdgubn = "grd_ordlist6"; // 미예약
-
- setRsrvdate(grdgubn,"cmb");
- }
- function grp_body_btn_deptmemosave_onclick(obj:Button, e:ClickEventInfo)
- {
- // 코맨트 저장할 날자를 정확히 선택했는지 확인. 월만 선택시 여러건 업데이트 되버림(2010.01.22 박상준)
- var rsrvdd = ds_send_data.getColumn(0,"rsrvdd");
- if (utlf_getStringLength(rsrvdd) != 8) {
- sysf_messageBox("날자를", "C002");
- return;
- }
-
- ds_send_data.setColumn(0,"memorem", grp_body.group2.tat_deptmemo.value);
-
- dsf_createDsRow("ds_req",
- [{col:"excuroomcd", val:ds_send_data.getColumn(0,"selectexcuroom")}
- ,{col:"basesuppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"deptcdflag", val:ds_send_data.getColumn(0,"room")}
- ,{col:"memorem", val:ds_send_data.getColumn(0,"memorem")}
- ,{col:"memodt", val:ds_send_data.getColumn(0,"memodt")}
- ,{col:"memoflag", val:ds_send_data.getColumn(0,"memoflag")}
- ,{col:"prcpcd", val:ds_send_data.getColumn(0,"prcpcd")}
- ]);
-
- var oParam = {};
- oParam.id = "TXAEA01102";
- oParam.service = "examcurebaseapp.ExamCureCode";
- oParam.method = "reqExeExcuroomMemoCodeList";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_hidden_item=item";
- oParam.async = false;
-
- tranf_submit(oParam);
-
- }
- function grp_body_btn_excucmtsave_onclick(obj:Button, e:ClickEventInfo)
- {
- var loop;
- var check;
- var execprcpstatcd;
- var execbaseflag;
- var grd;
- var loopcnt="";
- var execncl="";
- var ds_grid;
-
- if ( grp_body.group2.switch1.tabindex == 0 ) {
- ds_grid = ds_grd_ordlist1;
- }else if ( grp_body.group2.switch1.tabindex == 1 ) {
- ds_grid = ds_grd_ordlist4;
- }else if ( grp_body.group2.switch1.tabindex == 2 ) {
- ds_grid = ds_grd_ordlist6;
- }else {
- ds_grid = ds_grd_ordlist1;
- }
-
- for(var i=0 ; i <ds_grid.rowcount ; i++) {
- if( ds_grid.getColumn(i,"check") == "1") {
- if( ds_grid.getColumn(i,"execprcpstatcd") < "610" ) {
- sysf_messageBox("실시완료 처방만 가능합니다.","I999");
- return "0";
- }
- else {
- //검사Comment 저장
- ds_grid.setColumn(i, "execrem", grp_body.tar_excurem.value);
- }
- }
- }
-
- ds_grid.filter("check=='1'");
- ds_grid.applyChange();
- if ( ds_grid.rowcount == 0 ) {
- sysf_messageBox("처방을 선택해 주십시오.","I999");
- return "0";
- }
- ds_send_tobeacptprcplist.copyData(ds_grid,true);
-
- var oParam = {};
- oParam.id = "TXAEA01107";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqExeExcuActMemoCodeList";
- oParam.inds = "reqparam=ds_send_tobeacptprcplist";
- oParam.outds = "ds_hidden_item=item";
- oParam.async = false;
- oParam.callback = "cf_TXAEA01107";
- tranf_submit(oParam);
-
- if(ds_hidden_item.getColumn(0,"count") > 0){
- sysf_messageBox("정상적으로 ", "I001");
- ds_hidden_item.setColumn(0,"count", "0");
- return;
- }
-
- if(tabgubn == "M") {
- ds_send_data.setColumn(0,"srchpid","");
- fGetExamCureAcptList(tabgubn); // 전체처방
- }
- if(tabgubn == "R") {
- ds_send_data.setColumn(0,"srchpid","");
- fGetExamCureAcptList(tabgubn); // 미예약
- }
- if(tabgubn == "T") {
- ds_send_data.setColumn(0,"srchpid","");
- fGetExamCureAcptList(tabgubn); // 검사완료
- }
- if(tabgubn == "L") {
- fGetExamCureAcptList(tabgubn); // 이력
- }
- }
- function cf_TXAEA01107(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function grp_body_input2_oneditdblclick(obj:Edit, e:EditClickEventInfo)
- {
- if(!utlf_isNull(ds_patrem_selectpat.getColumn(0,"pid"))) {
- dsf_createDsRow("ds_send_progress",
- [{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
- ,{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ]);
- var oParam = {};
- oParam.id = "TRAER00109";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetPatPamInfo";
- oParam.inds = "req=ds_send_progress";
- oParam.outds = "ds_progressnote=item";
- oParam.async = false;
- //oParam.callback = "cf_TRAER00109";
- tranf_submit(oParam);
-
- var pid = ds_send_data.getColumn(0,"srchpid");
- var orddd = ds_progressnote.getColumn(0,"orddd");
- var cretno = ds_progressnote.getColumn(0,"cretno");
- var ioflag = ds_progressnote.getColumn(0,"ioflag");
- var orddeptcd = ds_progressnote.getColumn(0,"orddeptcd");
- var orddrid = ds_progressnote.getColumn(0,"orddrid");
- var patnm = ds_patrem_selectpat.getColumn(0,"hngnm");;
- var age = ds_patrem_selectpat.getColumn(0,"sna").substr(2,3);
- var sex = ds_patrem_selectpat.getColumn(0,"sna").substr(0,1);
- var suppdeptcd = ds_send_globalinstance.getColumn(0,"dutplcecd");
-
- frmf_setParameter("SPMMR05400_parm_pinfo", pid + "▦" + orddd + "▦" + cretno + "▦" + ioflag + "▦" + orddeptcd + "▦" + orddrid +"▦"+ patnm + "▦" + age + "▦" + sex + "▦" + suppdeptcd );
- frmf_modal("SPMMR05400","SPMMR05400", "", "", "" , "", "", "", "", "" , "", "","M");
- }
- }
- function grp_body_input5_oneditdblclick(obj:Edit, e:EditClickEventInfo)
- {
- if( !utlf_isNull(ds_patrem_selectpat.getColumn(0,"pid")) || ds_patrem_selectpat.getColumn(0,"pid") != " " )
- {
- // 전화번호 더블클릭시 해당환자의 '전화번호/주소 조회 및 수정 창' 팝업창을 호출!!!
- //예약내역이 없는 필드 체크
- var hngnm = ds_patrem_selectpat.getColumn(0,"hngnm");
- var pid = ds_patrem_selectpat.getColumn(0,"pid");
- if (utlf_isNull(hngnm) || hngnm == " " || hngnm == "-"){
- return false;
- }
-
- dsf_createDsRow("ds_temp_source",
- [{col:"srchcond", val:"1"}
- ,{col:"pid", val:pid}
- ]);
- var objArg = new Object();
- objArg.arg_ds_source = ds_temp_source;
- frmf_modal("SPPMO01400", "SPPMO01400", objArg, "", "", "", "", "", "", "", "", "", "M");
-
- var hometel = frmf_getParameter("SMPMO01400_hometel");
- var mpphontel = frmf_getParameter("SMPMO01400_mpphontel");
- if( !utlf_isNull(hometel) && !utlf_isNull(mpphontel)){
- ds_patrem_selectpat.setColumn(0,"hometel", hometel) ;
- ds_patrem_selectpat.setColumn(0,"mpphontel", mpphontel) ;
- }
-
-
- }
- }
- function grp_body_input6_oneditclick(obj:Edit, e:EditClickEventInfo)
- {
- if( !utlf_isNull(ds_patrem_selectpat.getColumn(0,"pid")) || ds_patrem_selectpat.getColumn(0,"pid") != " " )
- {
- // 전화번호 더블클릭시 해당환자의 '전화번호/주소 조회 및 수정 창' 팝업창을 호출!!!
- //예약내역이 없는 필드 체크
- var hngnm = ds_patrem_selectpat.getColumn(0,"hngnm");
- var pid = ds_patrem_selectpat.getColumn(0,"pid");
- if (utlf_isNull(hngnm) || hngnm == " " || hngnm == "-"){
- return false;
- }
-
- dsf_createDsRow("ds_temp_source",
- [{col:"srchcond", val:"1"}
- ,{col:"pid", val:pid}
- ]);
- var objArg = new Object();
- objArg.arg_ds_source = ds_temp_source;
- frmf_modal("SPPMO01400", "SPPMO01400", objArg, "", "", "", "", "", "", "", "", "", "M");
-
- var hometel = frmf_getParameter("SMPMO01400_hometel");
- var mpphontel = frmf_getParameter("SMPMO01400_mpphontel");
- if( !utlf_isNull(hometel) && !utlf_isNull(mpphontel)){
- ds_patrem_selectpat.setColumn(0,"hometel", hometel) ;
- ds_patrem_selectpat.setColumn(0,"mpphontel", mpphontel) ;
- }
-
-
- }
- }
- function grp_body_btn_upclear_onclick(obj:Button, e:ClickEventInfo)
- {
- appf_delPatientInfos();
- }
- function grp_body_grd_calendar_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- ds_hidden_grdcellcolor.setColumn(0,"calrow",grp_body.grd_calendar.currentrow);
- ds_hidden_grdcellcolor.setColumn(0,"calcol",grp_body.grd_calendar.currentcol);
- // ds_send_data.setColumn(0,"largeclass","R4");
- //fCalendar1();
- getRsrvPossTm(grp_body.grd_calendar);
-
- //grdf_initGridStyle(grp_body.group5.grd_rsrvlist);
-
-
- //환자Comment 환자정보 조회
- dsf_createDsRow("ds_send_tmp",
- [{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"ecgflag", val:""}
- ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
- ,{col:"memorgstdd", val:ds_send_data.getColumn(0,"rsrvdd")}
- ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
- ,{col:"orddd", val:ds_send_data.getColumn(0,"orddd")}
- ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"genrflag")}
- ,{col:"prcpcd", val:ds_send_data.getColumn(0,"inclprcpcd")}
- ,{col:"rsrvposs", val:""}
- ,{col:"prcpno", val:ds_send_data.getColumn(0,"prcpno")}
- ,{col:"prcpdd", val:ds_send_data.getColumn(0,"prcpdd")}
- ,{col:"srchrsrvdt", val:""}
- ,{col:"execprcpuniqno", val:ds_send_data.getColumn(0,"execprcpuniqno")}
- ,{col:"cmtflag", val:""}
- ,{col:"memorgstddprcpdd", val:""}
- ]);
-
-
- //환자Comment 환자정보 조회
- var oParam = {};
- oParam.id = "TRAEA01114";
- oParam.service = "examcureacptexecapp.PatRem";
- oParam.method = "reqGetFuncPatRemList";
- oParam.inds = "reqparam=ds_send_tmp";
- oParam.outds = "ds_patrem_grdAeahMemoList=grdAeahMemoList ds_patrem_examcureexecdiaglist=examcureexecdiaglist ds_patrem_selectpat=sltpatinfolist ds_patrem_isolinfo=patisolinfolist ds_patrem_prcpdeliveinfo=prcpdeliveinfolist ds_patrem_rsrvpossexcuroomlist=rsrvpossexcuroomlist";
- oParam.async = false;
-
- tranf_submit(oParam);
- grp_body.cpt_isolinfo.value = "";
- if (!utlf_isNull(ds_patrem_isolinfo.getColumn(0,"isoldispcd"))) {
- grp_body.cpt_isolinfo.value = "확인";
- }
-
- //진료예약 탑모스트
- if(grp_body.group5.chk_rsrvyn.value == "Y" ) {
- if( grp_body.group2.switch1.tabindex == 0 )
- {
- dsf_createDsRow("ds_send_popdata",
- [{col:"orddd", val:ds_send_data.getColumn(0,"rsrvdate")}
- ,{col:"orddeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"orddrid", val:ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"orddrid")}
- ]);
- }
- else if( grp_body.group2.switch1.tabindex == 1 )
- {
- dsf_createDsRow("ds_send_popdata",
- [{col:"orddd", val:ds_send_data.getColumn(0,"rsrvdate")}
- ,{col:"orddeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"orddrid", val:ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"orddrid")}
- ]);
- }
- else if( grp_body.group2.switch1.tabindex == 2 )
- {
- dsf_createDsRow("ds_send_popdata",
- [{col:"orddd", val:ds_send_data.getColumn(0,"rsrvdate")}
- ,{col:"orddeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"orddrid", val:ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"orddrid")}
- ]);
- }
- else if( grp_body.group2.switch1.tabindex == 3 )
- {
- dsf_createDsRow("ds_send_popdata",
- [{col:"orddd", val:ds_send_data.getColumn(0,"rsrvdate")}
- ,{col:"orddeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"orddrid", val:ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"orddrid")}
- ]);
- }
- var objArg = new Object();
- objArg.arg_ds_hidden_popdata = ds_send_popdata;
-
- frmf_open("SPAEA01103","SPAEA01103", objArg, "Y", "", 1000, 0, "", "", "", "", "", "M");
-
- }
- }
- function grp_body_button7_onclick(obj:Button, e:ClickEventInfo)
- {
- var ds_ordlist;
-
- if ( grp_body.group2.switch1.tabindex == 0 ) { //전체처방
- ds_ordlist = ds_grd_ordlist1;
- }
- if ( grp_body.group2.switch1.tabindex == 1 ) {//검사완료
- ds_ordlist = ds_grd_ordlist4;
- }
- if ( grp_body.group2.switch1.tabindex == 2 ) {//미시행처방
- ds_ordlist = ds_grd_ordlist6;
- }
- if ( grp_body.group2.switch1.tabindex == 3) {//미예약
- ds_ordlist = ds_grd_ordlist6;
- }
- // var nodeList = instance1.selectNodes("/root/main/"+ordlist+"/mainordlist[check='true' ]");
- // var rCSV = getNodeListCSV(nodeList);
-
- //처방내역 선택 체크
- if (ds_ordlist.getCaseCount("check=='1'") == 0 ) {
-
- sysf_messageBox("처방내역을 ","C002");
- return "0";
- }
-
- //2012.08.08 by kya 예약스케줄이 없을 경우, 에러 발생시킴
- if (ds_grd_rsrvposstm.rowcount == 0) {
- sysf_messageBox("예약 스케줄을 작성 후, 예약 ","C002");
- return;
- }
-
- if ( grp_body.group2.switch1.tabindex == 0 ) {
- for(var i=0 ; i < ds_grd_ordlist1.rowcount ; i++) {
- if( ds_grd_ordlist1.getColumn(i,"check") == "1") {
- if(ds_grd_ordlist1.getColumn(i,"execprcpstatcd") > "230" ){
- sysf_messageBox("실시된 처방이","E005");
- return;
- }
- if(utlf_isNull(ds_grd_ordlist1.getColumn(i,"srchrsrvdt")))
- {
- ds_grd_ordlist1.setColumn(i,"srchrsrvdt","");
- }
-
- }
-
- }
- }
- if ( grp_body.group2.switch1.tabindex == 1 ) {
- for(var i=0 ; i < ds_grd_ordlist4.rowcount ; i++) {
- if( ds_grd_ordlist4.getColumn(i,"check") == "1") {
- if(ds_grd_ordlist4.getColumn(i,"execprcpstatcd") > "230" ){
- sysf_messageBox("실시된 처방이","E005");
- return;
- }
-
- }
-
- }
- }
- if ( grp_body.group2.switch1.tabindex == 2 ) {
- for(var i=0 ; i < ds_grd_ordlist6.rowcount ; i++) {
- if( ds_grd_ordlist6.getColumn(i,"check") == "1") {
- if(ds_grd_ordlist6.getColumn(i,"execprcpstatcd") > "230" ){
- sysf_messageBox("실시된 처방이","E005");
- return;
- }
-
- }
-
- }
- }
- if ( grp_body.group2.switch1.tabindex == 3 ) {
- for(var i=0 ; i < ds_grd_ordlist6.rowcount ; i++) {
- if( ds_grd_ordlist6.getColumn(i,"check") == "1") {
- if(ds_grd_ordlist6.getColumn(i,"execprcpstatcd") > "230" ){
- sysf_messageBox("실시된 처방이","E005");
- return;
- }
-
- }
-
- }
- }
-
-
- //예약시간 설정 체크
- if(grp_body.cmb_hour.value == "--" || grp_body.cmb_min.value == "--" ) { //예약시간 설정 안했을 경우
- // var nodeList = instance1.selectNodes("/root/main/"+ordlist+"/mainordlist[check='true' and srchrsrvdt = '']");
- // var rCSV = getNodeListCSV(nodeList);
-
- var tmpcnt = ds_ordlist.getCaseCount("check=='1' && srchrsrvdt == ''");
- trace("tmpcnt == " + tmpcnt);
- if ( tmpcnt > 0 ) {
- sysf_messageBox("예약시간을 ","C002");
- return "0";
- }
- }else if (grp_body.cmb_hour.value != "--" && grp_body.cmb_min.value != "--"){ //콤보박스로 예약시간 설정한 경우
-
- var ev = new ClickEventInfo;
- frmf_inputEnterKey("grp_body.btn_rsrvtmins", "onclick", ev );
- }
- //2013.01.29 by kya 예약증출력기능 추가
- if(grp_body.group5.chk_rsrvprint.value == "Y") {
- //예약증출력 세팅
- if ( grp_body.group2.switch1.tabindex == 0 ) {
- var srchrsrvdt = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"srchrsrvdt");
- var pid = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"pid");
- var hngnm = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"hngnm");
- var year = srchrsrvdt.substr(0,4);
- var month = srchrsrvdt.substr(4,2);
- var day = srchrsrvdt.substr(6,2);
- var week = srchrsrvdt.substr(0,8).toDate().getDayOfWeek("K");
- var hh = srchrsrvdt.substr(8,2);
- var mm = srchrsrvdt.substr(10,2);
-
- // 예약증 출력 추가
- var age = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"age");
- var sex = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"sna").substr(0, 1);
- var orddeptcd = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"orddepthngnm");
- var orddrid = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"orddrnm");
-
- //예약증출력
- ds_send_data.setColumn(0,"prntcalcscorcd", ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"calcscorcd"));
- ds_send_data.setColumn(0,"prntsuppdeptcd", ds_send_globalinstance.getColumn(0,"dutplcecd"));
-
- }
- if ( grp_body.group2.switch1.tabindex == 1 ) {
-
- var srchrsrvdt = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"srchrsrvdt");
- var pid = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"pid");
- var hngnm = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"hngnm");
- var year = srchrsrvdt.substr(0,4);
- var month = srchrsrvdt.substr(4,2);
- var day = srchrsrvdt.substr(6,2);
- var week = srchrsrvdt.substr(0,8).toDate().getDayOfWeek("K");
- var hh = srchrsrvdt.substr(8,2);
- var mm = srchrsrvdt.substr(10,2);
-
- // 예약증 출력 추가
- var age = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"age");
- var sex = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"sna").substr(0, 1);
- var orddeptcd = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"orddepthngnm");
- var orddrid = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"orddrnm");
-
- //예약증출력
- ds_send_data.setColumn(0,"prntcalcscorcd", ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"calcscorcd"));
- ds_send_data.setColumn(0,"prntsuppdeptcd",ds_send_globalinstance.getColumn(0,"dutplcecd"));
- }
- if ( grp_body.group2.switch1.tabindex == 2 ) {
-
- var srchrsrvdt = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"srchrsrvdt");
- var pid = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"pid");
- var hngnm = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"hngnm");
- var year = srchrsrvdt.substr(0,4);
- var month = srchrsrvdt.substr(4,2);
- var day = srchrsrvdt.substr(6,2);
- var week = srchrsrvdt.substr(0,8).toDate().getDayOfWeek("K");
- var hh = srchrsrvdt.substr(8,2);
- var mm = srchrsrvdt.substr(10,2);
-
- // 예약증 출력 추가
- var age = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"age");
- var sex = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"sna").substr(0, 1);
- var orddeptcd = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"orddepthngnm");
- var orddrid = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"orddrnm");
-
- //예약증출력
- ds_send_data.setColumn(0,"prntcalcscorcd", ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"calcscorcd"));
- ds_send_data.setColumn(0,"prntsuppdeptcd", ds_send_globalinstance.getColumn(0,"dutplcecd"));
- }
- if ( grp_body.group2.switch1.tabindex == 3 ) {
-
- var srchrsrvdt = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"srchrsrvdt");
- var pid = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"pid");
- var hngnm = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"hngnm");
- var year = srchrsrvdt.substr(0,4);
- var month = srchrsrvdt.substr(4,2);
- var day = srchrsrvdt.substr(6,2);
- var week = srchrsrvdt.substr(0,8).toDate().getDayOfWeek("K");
- var hh = srchrsrvdt.substr(8,2);
- var mm = srchrsrvdt.substr(10,2);
-
- // 예약증 출력 추가
- var age = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"age");
- var sex = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"sna").substr(0, 1);
- var orddeptcd = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"orddepthngnm");
- var orddrid = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"orddrnm");
-
- //예약증출력
- ds_send_data.setColumn(0,"prntcalcscorcd", ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"calcscorcd"));
- ds_send_data.setColumn(0,"prntsuppdeptcd", ds_send_globalinstance.getColumn(0,"dutplcecd"));
- }
-
- }
-
- //예약하기
- exeRsrvTransaction("rsrv",ds_ordlist);
-
- //2013.01.29 by kya 예약증출력
- if(grp_body.group5.chk_rsrvprint.value == "Y") {
-
- dsf_copyDs(ds_temp_send,ds_send_data);
- ds_temp_send.updateColID("prntcalcscorcd","excucd");
- ds_temp_send.updateColID("prntsuppdeptcd","suppdeptcd");
-
-
- var oParam = {};
- oParam.id = "TRAEA01126";
- oParam.service = "examcurebaseapp.ExmpTmpl";
- oParam.method = "reaGetRsrvTmplList";
- oParam.inds = "req=ds_temp_send";
- oParam.outds = "ds_tmplinfo=tmplinfo";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01126";
- tranf_submit(oParam);
- var tmpldata = ds_tmplinfo.getColumn(0,"tmpldata");
- if(!utlf_isNull(tmpldata)) {
- //1. 예약예문내용을 뷰어로 보여주기
- grp_body.rtfviewer.TextRtf = tmpldata;
-
- //2. 바꾸기
- grp_body.rtfviewer.ReplaceRtfCode("pid",pid); //등록번호
- grp_body.rtfviewer.ReplaceRtfCode("patnm",hngnm); //성명
- grp_body.rtfviewer.ReplaceRtfCode("year",year); //년
- grp_body.rtfviewer.ReplaceRtfCode("month",month); //월
- grp_body.rtfviewer.ReplaceRtfCode("day",day); //일
- grp_body.rtfviewer.ReplaceRtfCode("week",week); //요일
- grp_body.rtfviewer.ReplaceRtfCode("hh",hh); //시
- grp_body.rtfviewer.ReplaceRtfCode("mm",mm); //분
-
- // 예약증 출력 추가
- grp_body.rtfviewer.ReplaceRtfCode("age",age); //나이
- grp_body.rtfviewer.ReplaceRtfCode("sex",sex); //성별
- grp_body.rtfviewer.ReplaceRtfCode("orddeptcd",orddeptcd); //진료과명
- grp_body.rtfviewer.ReplaceRtfCode("orddrid",orddrid); //진료의명
-
- //3. 현재내용을 파일에 저장
- grp_body.rtfviewer.SaveRtfFile();
-
- //4. 출력
- grp_body.rtfviewer.Print();
- //5. 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- fInitialize();
- }
- else {
- sysf_messageBox("등록된 예약예문이 ", "I004");
- // return "0";
- }
- }
- initCalendar();
- setCurrentDate();
-
- getRsrvPossTm(grp_body.grd_calendar);
-
- //grdf_initGridStyle(grp_body.group5.grd_rsrvlist);
-
-
-
- if(tabgubn == "M") {
- ds_send_data.setColumn(0,"srchpid","");
- fGetExamCureAcptList(tabgubn); // 전체처방
- }
- if(tabgubn == "R") {
- ds_send_data.setColumn(0,"srchpid","");
- fGetExamCureAcptList(tabgubn); // 미예약
- }
- if(tabgubn == "T") {
- ds_send_data.setColumn(0,"srchpid","");
- fGetExamCureAcptList(tabgubn); // 검사완료
- }
- if(tabgubn == "L") {
- fGetExamCureAcptList(tabgubn); // 이력
- }
- if(tabgubn == "D") {
- ds_send_data.setColumn(0,"acptlistflag","R");
- var curDate = utlf_getCurrentDate().substr(0,8);
- grp_body.grp_sea.combo1.index = 0;
- ds_send_data.setColumn(0,"srchdate1",curDate);
- ds_send_data.setColumn(0,"srchdate2",curDate);
- ds_send_data.setColumn(0,"srchpid","");
-
- dsf_createDsRow("ds_send_tmp",
- [{col:"acptlistflag", val:"R"}
- ,{col:"basesuppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"initexcuroom", val:ds_send_data.getColumn(0,"selectexcuroom")}
- ,{col:"prcpexecdeptcd", val:ds_send_data.getColumn(0,"prcpexecdeptcd")}
- ,{col:"srchdate1", val:curDate}
- ,{col:"srchdate2", val:curDate}
- ,{col:"srchpid", val:""}
- ,{col:"excuroomflag", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"term", val:ds_send_data.getColumn(0,"term")}
- ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"prcpgenrflag")}
- ,{col:"sgubn", val:ds_send_data.getColumn(0,"sgubn")}
- ,{col:"largeclass", val:ds_send_data.getColumn(0,"largeclass")}
- ]);
-
- var oParam = {};
- oParam.id = "TRAEA01122";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_temp";
- oParam.outds = "ds_grd_ordlist1=examcureexecprcplist";
- oParam.async = false;
- // oParam.callback = "cf_TRAEA01122";
- tranf_submit(oParam);
- }
- }
- function grp_body_button8_onclick(obj:Button, e:ClickEventInfo)
- {
- var ds_ordlist;
-
- if ( grp_body.group2.switch1.tabindex == 0 ) { //전체처방
- ds_ordlist = ds_grd_ordlist1;
- }
- if ( grp_body.group2.switch1.tabindex == 1 ) {//검사완료
- ds_ordlist = ds_grd_ordlist4;
- }
- if ( grp_body.group2.switch1.tabindex == 2 ) {//미예약
- ds_ordlist = ds_grd_ordlist6;
- }
-
- if ( sysf_messageBox("예약취소를","Q002")==6 ) {
- exeRsrvTransaction("cncl", ds_ordlist);
- // 2010.05.06 김건기
- // 달력에서 미래여약날짜 환자의 예약변경이나 취소시에 다시 오늘날짜 선택되도록 수정 요청[요청번호:13807]
- initCalendar();
- setCurrentDate();
- getRsrvPossTm(grp_body.grd_calendar);
-
-
- ds_send_data.setColumn(0,"rsrvdd", utlf_getCurrentDate() );
- //grdf_initGridStyle(grp_body.group5.grd_rsrvlist);
-
-
- if(tabgubn == "M") {
- ds_send_data.setColumn(0,"srchpid","");
- acptlistflag = "M";
- fGetExamCureAcptList(tabgubn); // 전체처방
- }
- if(tabgubn == "R") {
- ds_send_data.setColumn(0,"srchpid","");
- acptlistflag = "R";
- fGetExamCureAcptList(tabgubn); // 미예약
- }
- if(tabgubn == "T") {
- ds_send_data.setColumn(0,"srchpid","");
- acptlistflag = "T";
- fGetExamCureAcptList(tabgubn); // 검사완료
- }
- if(tabgubn == "L") {
- acptlistflag = "L";
- fGetExamCureAcptList(tabgubn); // 이력
- }
- if(tabgubn == "D") {
-
- var curDate = utlf_getCurrentDate().substr(0,8);
- grp_body.grp_sea.cmb_term.value = 0;
-
- dsf_createDsRow("ds_send_tmp",
- [{col:"acptlistflag", val:"R"}
- ,{col:"basesuppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"initexcuroom", val:ds_send_data.getColumn(0,"selectexcuroom")}
- ,{col:"prcpexecdeptcd", val:ds_send_data.getColumn(0,"prcpexecdeptcd")}
- ,{col:"srchdate1", val:curDate}
- ,{col:"srchdate2", val:curDate}
- ,{col:"srchpid", val:""}
- ,{col:"excuroomflag", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"term", val:ds_send_data.getColumn(0,"term")}
- ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"prcpgenrflag")}
- ,{col:"sgubn", val:ds_send_data.getColumn(0,"sgubn")}
- ,{col:"largeclass", val:ds_send_data.getColumn(0,"largeclass")}
- ]);
-
- var oParam = {};
- oParam.id = "TRAEA01122";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_temp";
- oParam.outds = "ds_grd_ordlist1=examcureexecprcplist";
- oParam.async = false;
- // oParam.callback = "cf_TRAEA01122";
- tranf_submit(oParam);
- }
-
- //data 클리어
- dataClear();
-
- }
- }
- function grp_body_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- if(grp_body.grp_calendar.opt_month.value!== "01") {
- fGetCalendar("01");
- }
- }
- function grp_body_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- if(grp_body.grp_calendar.opt_month.value!== "02") {
- fGetCalendar("02");
- }
- }
- function grp_body_button9_onclick(obj:Button, e:ClickEventInfo)
- {
- if(grp_body.grp_calendar.opt_month.value!== "03") {
- fGetCalendar("03");
- }
- }
- function grp_body_button4_onclick(obj:Button, e:ClickEventInfo)
- {
- if(grp_body.grp_calendar.opt_month.value!== "04") {
- fGetCalendar("04");
- }
- }
- function grp_body_button11_onclick(obj:Button, e:ClickEventInfo)
- {
- if(grp_body.grp_calendar.opt_month.value!== "05") {
- fGetCalendar("05");
- }
- }
- function grp_body_button12_onclick(obj:Button, e:ClickEventInfo)
- {
- if(grp_body.grp_calendar.opt_month.value!== "06") {
- fGetCalendar("06");
- }
- }
- function grp_body_button13_onclick(obj:Button, e:ClickEventInfo)
- {
- if(grp_body.grp_calendar.opt_month.value!== "07") {
- fGetCalendar("07");
- }
- }
- function grp_body_button14_onclick(obj:Button, e:ClickEventInfo)
- {
- if(grp_body.grp_calendar.opt_month.value!== "08") {
- fGetCalendar("08");
- }
- }
- function grp_body_button18_onclick(obj:Button, e:ClickEventInfo)
- {
- if(grp_body.grp_calendar.opt_month.value!== "09") {
- fGetCalendar("09");
- }
- }
- function grp_body_button19_onclick(obj:Button, e:ClickEventInfo)
- {
- if(grp_body.grp_calendar.opt_month.value!== "10") {
- fGetCalendar("10");
- }
- }
- function grp_body_button20_onclick(obj:Button, e:ClickEventInfo)
- {
- if(grp_body.grp_calendar.opt_month.value!== "11") {
- fGetCalendar("11");
- }
- }
- function grp_body_button21_onclick(obj:Button, e:ClickEventInfo)
- {
- if(grp_body.grp_calendar.opt_month.value!== "12") {
- fGetCalendar("12");
- }
- }
- function btn_case1_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_btn_Selected(1);
- grp_body.group2.switch1.tabindex = 0;
- var checkvalue = utlf_transNullToEmpty(grp_body.grp_sea.checkbox1.getData());
- ds_send_data.setColumn(0,"selectexcuroom",String(checkvalue).replace(","," "));
- if(ds_send_data.getColumn(0,"selectexcuroom") == " ") {
- sysf_messageBox("검사실 선택되지 ", "E007");
- return;
- }
-
- //data 클리어
- dataClear();
- // var curDate = utlf_getCurrentDate().substr(0,8); //오늘날짜
- //환자Comment 환자정보 조회
- dsf_createDsRow("ds_send_tmp",
- [{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"ecgflag", val:ds_send_data.getColumn(0,"ecgflag")}
- ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
- ,{col:"memorgstdd", val:ds_send_data.getColumn(0,"rsrvdd")}
- ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
- ,{col:"orddd", val:ds_send_data.getColumn(0,"orddd")}
- ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"genrflag")}
- ,{col:"prcpcd", val:ds_send_data.getColumn(0,"prcpcd")}
- ,{col:"rsrvposs", val:ds_send_data.getColumn(0,"rsrvposs")}
- ,{col:"prcpno", val:ds_send_data.getColumn(0,"prcpno")}
- ,{col:"prcpdd", val:ds_send_data.getColumn(0,"prcpdd")}
- ,{col:"srchrsrvdt", val:ds_send_data.getColumn(0,"centyn")}
- ,{col:"execprcpuniqno", val:ds_send_data.getColumn(0,"execprcpuniqno")}
- ,{col:"cmtflag", val:""}
- ,{col:"memorgstddprcpdd", val:""}
- ]);
-
-
- //환자Comment 환자정보 조회
- var oParam = {};
- oParam.id = "TRAEA01114";
- oParam.service = "examcureacptexecapp.PatRem";
- oParam.method = "reqGetFuncPatRemList";
- oParam.inds = "reqparam=ds_send_tmp";
- oParam.outds = "ds_patrem_grdAeahMemoList=grdAeahMemoList ds_patrem_examcureexecdiaglist=examcureexecdiaglist ds_patrem_selectpat=sltpatinfolist ds_patrem_isolinfo=patisolinfolist ds_patrem_prcpdeliveinfo=prcpdeliveinfolist ds_patrem_rsrvpossexcuroomlist=rsrvpossexcuroomlist";
- oParam.async = false;
-
- tranf_submit(oParam);
- grp_body.cpt_isolinfo.text = "";
- if (!utlf_isNull(ds_patrem_isolinfo.getColumn(0,"isoldispcd"))) {
- grp_body.cpt_isolinfo.text = "확인";
- }
- fGetExamCureAcptList("M");
-
- tabgubn = "M";
- }
- function btn_case2_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_btn_Selected(2);
- grp_body.group2.switch1.tabindex = 1;
- var checkvalue = utlf_transNullToEmpty(grp_body.grp_sea.checkbox1.getData());
- ds_send_data.setColumn(0,"selectexcuroom",String(checkvalue).replace(","," "));
- if(ds_send_data.getColumn(0,"selectexcuroom") == " ") {
- sysf_messageBox("검사실 선택되지 ", "E007");
- return;
- }
-
- //data 클리어
- dataClear();
-
- //환자Comment 환자정보 조회
- dsf_createDsRow("ds_send_tmp",
- [{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"ecgflag", val:ds_send_data.getColumn(0,"ecgflag")}
- ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
- ,{col:"memorgstdd", val:ds_send_data.getColumn(0,"rsrvdd")}
- ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
- ,{col:"orddd", val:ds_send_data.getColumn(0,"orddd")}
- ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"genrflag")}
- ,{col:"prcpcd", val:ds_send_data.getColumn(0,"prcpcd")}
- ,{col:"rsrvposs", val:ds_send_data.getColumn(0,"rsrvposs")}
- ,{col:"prcpno", val:ds_send_data.getColumn(0,"prcpno")}
- ,{col:"prcpdd", val:ds_send_data.getColumn(0,"prcpdd")}
- ,{col:"srchrsrvdt", val:ds_send_data.getColumn(0,"centyn")}
- ,{col:"execprcpuniqno", val:ds_send_data.getColumn(0,"execprcpuniqno")}
- ,{col:"cmtflag", val:""}
- ,{col:"memorgstddprcpdd", val:""}
- ]);
-
-
- //환자Comment 환자정보 조회
- var oParam = {};
- oParam.id = "TRAEA01114";
- oParam.service = "examcureacptexecapp.PatRem";
- oParam.method = "reqGetFuncPatRemList";
- oParam.inds = "reqparam=ds_send_tmp";
- oParam.outds = "ds_patrem_grdAeahMemoList=grdAeahMemoList ds_patrem_examcureexecdiaglist=examcureexecdiaglist ds_patrem_selectpat=sltpatinfolist ds_patrem_isolinfo=patisolinfolist ds_patrem_prcpdeliveinfo=prcpdeliveinfolist ds_patrem_rsrvpossexcuroomlist=rsrvpossexcuroomlist";
- oParam.async = false;
-
- tranf_submit(oParam);
- grp_body.cpt_isolinfo.text = "";
- if (!utlf_isNull(ds_patrem_isolinfo.getColumn(0,"isoldispcd"))) {
- grp_body.cpt_isolinfo.text = "확인";
- }
-
- fGetExamCureAcptList("T");
-
- tabgubn = "T";
- }
- function btn_case3_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_btn_Selected(3);
- grp_body.group2.switch1.tabindex = 2;
- var checkvalue = utlf_transNullToEmpty(grp_body.grp_sea.checkbox1.getData());
- ds_send_data.setColumn(0,"selectexcuroom",String(checkvalue).replace(","," "));
- if(ds_send_data.getColumn(0,"selectexcuroom") == " ") {
- sysf_messageBox("검사실 선택되지 ", "E007");
- return;
- }
-
- //data 클리어
- dataClear();
-
- //환자Comment 환자정보 조회
- dsf_createDsRow("ds_send_tmp",
- [{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"ecgflag", val:ds_send_data.getColumn(0,"ecgflag")}
- ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
- ,{col:"memorgstdd", val:ds_send_data.getColumn(0,"rsrvdd")}
- ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
- ,{col:"orddd", val:ds_send_data.getColumn(0,"orddd")}
- ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"genrflag")}
- ,{col:"prcpcd", val:ds_send_data.getColumn(0,"prcpcd")}
- ,{col:"rsrvposs", val:ds_send_data.getColumn(0,"rsrvposs")}
- ,{col:"prcpno", val:ds_send_data.getColumn(0,"prcpno")}
- ,{col:"prcpdd", val:ds_send_data.getColumn(0,"prcpdd")}
- ,{col:"srchrsrvdt", val:ds_send_data.getColumn(0,"centyn")}
- ,{col:"execprcpuniqno", val:ds_send_data.getColumn(0,"execprcpuniqno")}
- ,{col:"cmtflag", val:""}
- ,{col:"memorgstddprcpdd", val:""}
- ]);
-
-
- //환자Comment 환자정보 조회
- var oParam = {};
- oParam.id = "TRAEA01114";
- oParam.service = "examcureacptexecapp.PatRem";
- oParam.method = "reqGetFuncPatRemList";
- oParam.inds = "reqparam=ds_send_tmp";
- oParam.outds = "ds_patrem_grdAeahMemoList=grdAeahMemoList ds_patrem_examcureexecdiaglist=examcureexecdiaglist ds_patrem_selectpat=sltpatinfolist ds_patrem_isolinfo=patisolinfolist ds_patrem_prcpdeliveinfo=prcpdeliveinfolist ds_patrem_rsrvpossexcuroomlist=rsrvpossexcuroomlist";
- oParam.async = false;
-
- tranf_submit(oParam);
- grp_body.cpt_isolinfo.text = "";
- if (!utlf_isNull(ds_patrem_isolinfo.getColumn(0,"isoldispcd"))) {
- grp_body.cpt_isolinfo.text = "확인";
- }
-
- grp_body.grp_sea.combo1.index = 0;
- fGetExamCureAcptList("N");
-
- tabgubn = "N";
- }
- function grp_body_group2_btn_execcncl_onclick(obj:Button, e:ClickEventInfo)
- {
- var loop;
- var check;
- var execprcpstatcd;
- var loopcnt="";
- var execncl="";
- var ds_grid = "";
- var grd;
- var execdd="";
- if ( grp_body.group2.switch1.tabindex == 0 ) {
- ds_grid = ds_grd_ordlist1;
- grd = ds_grd_ordlist1.rowcount;
-
- for(var i=0 ; i < ds_grd_ordlist1.rowcount ; i++) {
- if( ds_grd_ordlist1.getColumn(i,"check") == "1") {
- if(ds_grd_ordlist1.getColumn(i,"execprcpstatcd") > "610" ){
- sysf_messageBox("예비결과/최종결과 상태가","E005");
- return;
- }
- }
- }
- }
- if ( grp_body.group2.switch1.tabindex == 1 ) {
- ds_grid = ds_grd_ordlist4;
- grd = ds_grd_ordlist4.rowcount;
-
- for(var i=0 ; i < ds_grd_ordlist4.rowcount ; i++) {
- if( ds_grd_ordlist4.getColumn(i,"check") == "1") {
- if(ds_grd_ordlist4.getColumn(i,"execprcpstatcd") > "610" ){
- sysf_messageBox("예비결과/최종결과 상태가","E005");
- return;
- }
- }
- }
- }
- if ( grp_body.group2.switch1.tabindex == 2 ) {
- ds_grid = ds_grd_ordlist6;
- grd = ds_grd_ordlist6.rowcount;
-
- for(var i=0 ; i < ds_grd_ordlist6.rowcount ; i++) {
- if( ds_grd_ordlist6.getColumn(i,"check") == "1") {
- if(ds_grd_ordlist6.getColumn(i,"execprcpstatcd") > "610" ){
- sysf_messageBox("예비결과/최종결과 상태가","E005");
- return;
- }
- }
- }
- }
-
- for( var i = 0 ; i < grd ; i++ ) {
- check = ds_grid.getColumn(i,"check");
- if ( check == "1" ) {
- loopcnt++;
- if( ds_grid.getColumn(i,"execdd") == utlf_getCurrentDate() )
- {
- execdd++;
- }
-
- }
- }
-
- if ( loopcnt == 0 ) {
- sysf_messageBox("처방이 선택되지 ", "E007");
- return 0;
- }else {
- var grid = "";
-
- if(tabgubn == "M")
- grid = "ds_grd_ordlist1";
- if(tabgubn == "T")
- grid = "ds_grd_ordlist4";
- if(tabgubn == "R")
- grid = "ds_grd_ordlist6";
- if(tabgubn == "L")
- grid = "ds_grd_ordlist1";
-
-
- ExeCncl(grid);
-
-
- if(tabgubn == "M") {
- ds_send_data.setColumn(0,"srchpid","");
-
- fGetExamCureAcptList(tabgubn); // 전체처방
- }
- if(tabgubn == "R") {
- ds_send_data.setColumn(0,"srchpid","");
-
- fGetExamCureAcptList(tabgubn); // 미예약
- }
- if(tabgubn == "T") {
- ds_send_data.setColumn(0,"srchpid","");
-
- fGetExamCureAcptList(tabgubn); // 검사완료
- }
- if(tabgubn == "L") {
-
- fGetExamCureAcptList(tabgubn); // 이력
- }
-
- initCalendar();
- getRsrvPossTm(grp_body.grd_calendar);
- setCurrentDate();
- //grdf_initGridStyle(grp_body.group5.grd_rsrvlist);
-
-
- //data 클리어
- dataClear();
-
- }
- }
- function grp_body_group2_switch1_case1_grd_ordlist1_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- // if(e.row < 0 || e.col < 0) return;
- //
- // obj.setFocus();
- //
- // grdf_setSelectedCell(obj, e);
- //
- //
- // PopupMenu00.trackPopup(e.screenX,e.screenY);
- }
- function grp_body_group2_switch1_case1_grd_ordlist1_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- //20200218 수정
- //if(e.col == obj.getBindCellIndex("body","specdrid") || e.col == obj.getBindCellIndex("body","excuroomcd")) return;
- if(e.row > -1 && (e.col == obj.getBindCellIndex("body","execrid1") || e.col == obj.getBindCellIndex("body","specdrid")
- || e.col == obj.getBindCellIndex("body","excuroomcd") || e.col == obj.getBindCellIndex("body","insukind")
- || e.col == obj.getBindCellIndex("body","selectdrid") )) return;
-
-
- //상단정보 초기화
- appf_delPatientInfos();
- //상단정보가져오기 2012.06.22 by kya
- fTopInfo();
- ds_grd_ordlist1.rowposition = e.row;
- for ( var i = 0; i < ds_grd_ordlist1.rowcount; i++) {
- ds_grd_ordlist1.setColumn(i,"check", "0");
- }
-
- ds_grd_ordlist1.selectRow(e.row,true);
- grd_ordlist1_selectedRows = grdf_getSelectedRows(grp_body.group2.switch1.case1.grd_ordlist1);
- for ( var i =0 ; i< grd_ordlist1_selectedRows.length;i++){
- ds_grd_ordlist1.setColumn(grd_ordlist1_selectedRows[i],"check", "1");
- }
-
- //20130925 초음파급비변경에 따른 안내메시지
- // 2013.10.01일자 적용. 중증,희귀난치성환자 + 초음파 검사
-
-
- if(grd_ordlist1_selectedRows.length == 1 ){
-
-
- //다른 검사실 선택시 달력조회
- if( ds_send_data.getColumn(0,"excuroomcd") != ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"excuroomcd") ) {
- ds_send_data.setColumn(0,"excuroomcd",ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"excuroomcd"));
- initCalendar();
- getRsrvPossTm(grp_body.grd_calendar);
- setCurrentDate();
- }
-
- //grdf_initGridStyle(grp_body.group5.grd_rsrvlist);
-
-
- //예약가능검사실 콤보박스 세팅
- var rsrvpossroomcd = ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"rsrvexcuroomposscd");
-
- //20140731 선택진료비 제도변경에 대한 알림메시지
- //start
- var pid = ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"pid");
- var prcpdd = ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"prcpdd");
- var execprcpuniqno = ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"execprcpuniqno");
-
- var execprcpstatcd = ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"execprcpstatcd");
- if ( execprcpstatcd < "610" ) { //실시 미만
- getPrcpRcptCheck("AST", pid, "","", prcpdd, execprcpuniqno );
- }
- //end
-
- //검사코멘트
- grp_body.tar_excurem.value = ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"execrem")
-
- //환자Comment 조회
- ds_send_data.setColumn(0,"excuroomcd",ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"excuroomcd"));
- ds_send_data.setColumn(0,"srchpid",ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"pid"));
- ds_send_data.setColumn(0,"orddd", ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"orddd"));
- ds_send_data.setColumn(0,"cretno", ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"cretno"));
- ds_send_data.setColumn(0,"genrflag", ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"prcpgenrflag"));
- ds_send_data.setColumn(0,"prcpno", ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"prcpno"));
- ds_send_data.setColumn(0,"prcpdd", ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"prcpdd"));
- ds_send_data.setColumn(0,"execprcpuniqno",ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"execprcpuniqno"));
- ds_send_data.setColumn(0,"srchrsrvdt", ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"srchrsrvdt"));
- ds_send_data.setColumn(0,"rsrvprntcd", ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"calcscorcd"));
-
- //20180813 처방상태추가
- ds_send_data.setColumn(0,"execprcpstatcd", ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"execprcpstatcd"));
-
- //2009-07-13 환자Comment - 처방일자별 환자 Comment 관리 요청 - 기능검사 ITC 임성재 샘 요청(요청번호:2041)
- if (prcpddyn == "Y" ) {
- ds_send_data.setColumn(0,"memorgstddprcpdd", ds_grd_ordlist1.getColumn(grd_ordlist1_selectedRows[0],"prcpdd"));
- }
-
- //환자Comment 환자정보 조회
- dsf_createDsRow("ds_send_tmp",
- [{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"ecgflag", val:ds_send_data.getColumn(0,"ecgflag")}
- ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
- ,{col:"memorgstdd", val:ds_send_data.getColumn(0,"rsrvdd")}
- ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
- ,{col:"orddd", val:ds_send_data.getColumn(0,"orddd")}
- ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"genrflag")}
- ,{col:"prcpcd", val:ds_send_data.getColumn(0,"prcpcd")}
- ,{col:"rsrvposs", val:ds_send_data.getColumn(0,"rsrvposs")}
- ,{col:"prcpno", val:ds_send_data.getColumn(0,"prcpno")}
- ,{col:"prcpdd", val:ds_send_data.getColumn(0,"prcpdd")}
- ,{col:"srchrsrvdt", val:ds_send_data.getColumn(0,"centyn")}
- ,{col:"execprcpuniqno", val:ds_send_data.getColumn(0,"execprcpuniqno")}
- ,{col:"cmtflag", val:""}
- ,{col:"memorgstddprcpdd", val:""}
- ]);
-
-
- //환자Comment 환자정보 조회
- var oParam = {};
- oParam.id = "TRAEA01114";
- oParam.service = "examcureacptexecapp.PatRem";
- oParam.method = "reqGetFuncPatRemList";
- oParam.inds = "reqparam=ds_send_tmp";
- oParam.outds = "ds_patrem_grdAeahMemoList=grdAeahMemoList ds_patrem_examcureexecdiaglist=examcureexecdiaglist ds_patrem_selectpat=sltpatinfolist ds_patrem_isolinfo=patisolinfolist ds_patrem_prcpdeliveinfo=prcpdeliveinfolist ds_patrem_rsrvpossexcuroomlist=rsrvpossexcuroomlist";
- oParam.async = false;
-
- tranf_submit(oParam);
- grp_body.cpt_isolinfo.value = "";
- if (!utlf_isNull(ds_patrem_isolinfo.getColumn(0,"isoldispcd"))) {
- grp_body.cpt_isolinfo.value = "확인";
- }
-
-
-
- //치료부위, 위치 조회 20130812 kya
- var i = ds_grd_ordlist1.rowposition;
- var prcpdirecnm = ds_grd_ordlist1.getColumn(i,"rehbprcpcurepartnm") + "/" + ds_grd_ordlist1.getColumn(i,"prcpdirecnm")
- var prcpdelivefact = ds_patrem_prcpdeliveinfo.getColumn(0,"prcpdelivefact");
-
- ds_patrem_prcpdeliveinfo.setColumn(0,"prcpdelivefact" ,prcpdelivefact + " [ " + prcpdirecnm + " ] ");
-
-
- sysf_setGlobalVariable("gv_pid", ds_send_data.getColumn(0,"srchpid"), "A"); //등록번호 넘기기
-
-
- }else {
- //상단정보 초기화
- appf_delPatientInfos();
- }
- }
- function grp_body_group2_switch1_case4_grd_ordlist4_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- obj.updateToDataset(); //변경된 사항을 바로 적용받도록함. 2018.01.24 kya
-
- if(e.row < 0 || e.col < 0) return;
-
- obj.setFocus();
- grdf_setSelectedCell(obj, e);
-
-
- PopupMenu03.trackPopup(e.screenX,e.screenY);
-
- return true;
- }
- function grp_body_group2_switch1_case4_grd_ordlist4_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- if(e.col == obj.getBindCellIndex("body","specdrid") || e.col == obj.getBindCellIndex("body","excuroomcd")) return;
- //상단정보 초기화
- appf_delPatientInfos();
-
- ds_grd_ordlist4.rowposition = e.row;
-
- for ( var i = 0; i < ds_grd_ordlist4.rowcount; i++) {
- ds_grd_ordlist4.setColumn(i, "check", "0");
- }
-
- var selectedRows = grdf_getSelectedRows(grp_body.group2.switch1.case4.grd_ordlist4);
-
- for ( var i =0 ; i< selectedRows.length;i++){
- ds_grd_ordlist4.setColumn(selectedRows[i],"check", "1");
- }
-
- if(selectedRows.length == 1 ){
- //다른 검사실 선택시 달력조회
- if( ds_send_data.getColumn(0,"excuroomcd") != ds_grd_ordlist4.getColumn(selectedRows[0],"excuroomcd") ) {
- ds_send_data.setColumn(0,"excuroomcd",ds_grd_ordlist4.getColumn(selectedRows[0],"excuroomcd"));
- initCalendar();
- getRsrvPossTm(grp_body.grd_calendar);
- setCurrentDate();
-
- //grdf_initGridStyle(grp_body.group5.grd_rsrvlist);
-
- }
-
- //20140731 선택진료비 제도변경에 대한 알림메시지
- //start
- var pid = ds_grd_ordlist4.getColumn(selectedRows[0],"pid");
- var prcpdd = ds_grd_ordlist4.getColumn(selectedRows[0],"prcpdd");
- var execprcpuniqno = ds_grd_ordlist4.getColumn(selectedRows[0],"execprcpuniqno");
- var execprcpstatcd = ds_grd_ordlist4.getColumn(selectedRows[0],"execprcpstatcd");
- //if ( execprcpstatcd < "610" ) { //실시 미만
- getPrcpRcptCheck("AST", pid, "","", prcpdd, execprcpuniqno );
- //}
- //end
-
- //처방Comment
- //model.setValue("/root/hidden/comment1/prcpdelivefact", model.getValue("/root/main/ordlist4/mainordlist["+grd_ordlist4.selectedRow(grd_ordlist4.selectedRows-1)+"]/prcpdelivefact"));
- //검사코멘트
-
- //환자Comment 조회
- ds_send_data.setColumn(0,"excuroomcd",ds_grd_ordlist4.getColumn(selectedRows[0],"excuroomcd"));
- ds_send_data.setColumn(0,"srchpid",ds_grd_ordlist4.getColumn(selectedRows[0],"pid"));
- ds_send_data.setColumn(0,"orddd", ds_grd_ordlist4.getColumn(selectedRows[0],"orddd"));
- ds_send_data.setColumn(0,"genrflag", ds_grd_ordlist4.getColumn(selectedRows[0],"prcpgenrflag"));
- ds_send_data.setColumn(0,"prcpno", ds_grd_ordlist4.getColumn(selectedRows[0],"prcpno"));
- ds_send_data.setColumn(0,"prcpdd", ds_grd_ordlist4.getColumn(selectedRows[0],"prcpdd"));
- ds_send_data.setColumn(0,"execprcpuniqno", ds_grd_ordlist4.getColumn(selectedRows[0],"execprcpuniqno"));
- ds_send_data.setColumn(0,"srchrsrvdt", ds_grd_ordlist4.getColumn(selectedRows[0],"srchrsrvdt"));
- ds_send_data.setColumn(0,"rsrvprntcd", ds_grd_ordlist4.getColumn(selectedRows[0],"calcscorcd"));
- //20180813 처방상태추가
- ds_send_data.setColumn(0,"execprcpstatcd", ds_grd_ordlist4.getColumn(selectedRows[0],"execprcpstatcd"));
-
- //2009-07-13 환자Comment - 처방일자별 환자 Comment 관리 요청 - 기능검사 ITC 임성재 샘 요청(요청번호:2041)
- if (prcpddyn == "Y" ) {
- ds_send_data.setColumn(0,"memorgstddprcpdd", ds_grd_ordlist4.getColumn(selectedRows[0],"prcpdd"));
- }
-
- //환자Comment 환자정보 조회
- dsf_createDsRow("ds_send_tmp",
- [{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"ecgflag", val:ds_send_data.getColumn(0,"ecgflag")}
- ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
- ,{col:"memorgstdd", val:ds_send_data.getColumn(0,"rsrvdd")}
- ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
- ,{col:"orddd", val:ds_send_data.getColumn(0,"orddd")}
- ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"genrflag")}
- ,{col:"prcpcd", val:ds_send_data.getColumn(0,"prcpcd")}
- ,{col:"rsrvposs", val:ds_send_data.getColumn(0,"rsrvposs")}
- ,{col:"prcpno", val:ds_send_data.getColumn(0,"prcpno")}
- ,{col:"prcpdd", val:ds_send_data.getColumn(0,"prcpdd")}
- ,{col:"srchrsrvdt", val:ds_send_data.getColumn(0,"centyn")}
- ,{col:"execprcpuniqno", val:ds_send_data.getColumn(0,"execprcpuniqno")}
- ,{col:"cmtflag", val:""}
- ,{col:"memorgstddprcpdd", val:""}
- ]);
-
-
- //환자Comment 환자정보 조회
- var oParam = {};
- oParam.id = "TRAEA01114";
- oParam.service = "examcureacptexecapp.PatRem";
- oParam.method = "reqGetFuncPatRemList";
- oParam.inds = "reqparam=ds_send_tmp";
- oParam.outds = "ds_patrem_grdAeahMemoList=grdAeahMemoList ds_patrem_examcureexecdiaglist=examcureexecdiaglist ds_patrem_selectpat=sltpatinfolist ds_patrem_isolinfo=patisolinfolist ds_patrem_prcpdeliveinfo=prcpdeliveinfolist ds_patrem_rsrvpossexcuroomlist=rsrvpossexcuroomlist";
- oParam.async = false;
-
- tranf_submit(oParam);
- grp_body.cpt_isolinfo.value = "";
- if (!utlf_isNull(ds_patrem_isolinfo.getColumn(0,"isoldispcd"))) {
- grp_body.cpt_isolinfo.value = "확인";
- }
-
- //2012.06.22 상단정보올리기 by kya
- fTopInfo();
- //치료부위, 위치 조회 20130812 kya
- var i = ds_grd_ordlist4.rowposition;
- var prcpdirecnm = ds_grd_ordlist4.getColumn(i,"rehbprcpcurepartnm") + "/" + ds_grd_ordlist4.getColumn(i,"prcpdirecnm")
- var prcpdelivefact = ds_patrem_prcpdeliveinfo.getColumn(0,"prcpdelivefact");
-
- ds_patrem_prcpdeliveinfo.setColumn(0,"prcpdelivefact" ,prcpdelivefact + " [ " + prcpdirecnm + " ] ");
- sysf_setGlobalVariable("gv_pid", ds_send_data.getColumn(0,"srchpid"), "A"); //등록번호 넘기기
- }else {
- //상단정보 초기화
- appf_delPatientInfos();
- }
- }
- function grp_body_group2_switch1_case6_grd_ordlist6_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- obj.updateToDataset(); //변경된 사항을 바로 적용받도록함. 2018.01.24 kya
-
- if(e.row < 0 || e.col < 0) return;
-
- obj.setFocus();
- grdf_setSelectedCell(obj, e);
-
-
- PopupMenu00.trackPopup(e.screenX,e.screenY);
-
- return true;
- }
- function grp_body_group2_switch1_case6_grd_ordlist6_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- //20200218 수정
- //if(e.col == obj.getBindCellIndex("body","specdrid") || e.col == obj.getBindCellIndex("body","excuroomcd")) return;
- if(e.row > -1 && (e.col == obj.getBindCellIndex("body","execrid1") || e.col == obj.getBindCellIndex("body","specdrid")
- || e.col == obj.getBindCellIndex("body","excuroomcd") || e.col == obj.getBindCellIndex("body","insukind")
- || e.col == obj.getBindCellIndex("body","selectdrid") )) return;
-
- //상단정보 초기화
- appf_delPatientInfos();
-
- ds_grd_ordlist6.rowposition = e.row;
-
- for ( var i = 0; i < ds_grd_ordlist6.rowcount; i++) {
- ds_grd_ordlist6.setColumn(i, "check", "0");
- }
-
- var selectedRows = grdf_getSelectedRows(grp_body.group2.switch1.case6.grd_ordlist6);
-
- for ( var i =0 ; i< selectedRows.length;i++){
- ds_grd_ordlist6.setColumn(selectedRows[i],"check", "1");
- }
-
- if(selectedRows.length == 1 ){
- //다른 검사실 선택시 달력조회
- if( ds_send_data.getColumn(0,"excuroomcd") != ds_grd_ordlist6.getColumn(selectedRows[0],"excuroomcd") ) {
-
- ds_send_data.setColumn(0,"excuroomcd",ds_grd_ordlist6.getColumn(selectedRows[0],"excuroomcd"));
- initCalendar();
- getRsrvPossTm(grp_body.grd_calendar);
- setCurrentDate();
-
- //grdf_initGridStyle(grp_body.group5.grd_rsrvlist);
- }
-
- //예약가능검사실 콤보박스 세팅
- var rsrvpossroomcd = ds_grd_ordlist6.getColumn(selectedRows[0],"rsrvexcuroomposscd");
-
-
- //20140731 선택진료비 제도변경에 대한 알림메시지
- //start
- var pid = ds_grd_ordlist6.getColumn(selectedRows[0],"pid");
- var prcpdd = ds_grd_ordlist6.getColumn(selectedRows[0],"prcpdd");
- var execprcpuniqno = ds_grd_ordlist6.getColumn(selectedRows[0],"execprcpuniqno");
-
- var execprcpstatcd = ds_grd_ordlist6.getColumn(selectedRows[0],"execprcpstatcd");
- if ( execprcpstatcd < "610" ) { //실시 미만
- getPrcpRcptCheck("AST", pid, "","", prcpdd, execprcpuniqno );
- }
-
- //end
-
- //처방Comment
- // model.setValue("/root/hidden/comment1/prcpdelivefact", model.getValue("/root/main/ordlist6/mainordlist["+grd_ordlist6.selectedRow(grd_ordlist6.selectedRows-1)+"]/prcpdelivefact"));
- //검사코멘트
-
- //환자Comment 조회
- ds_send_data.setColumn(0,"excuroomcd",ds_grd_ordlist6.getColumn(selectedRows[0],"excuroomcd"));
- ds_send_data.setColumn(0,"srchpid",ds_grd_ordlist6.getColumn(selectedRows[0],"pid"));
- ds_send_data.setColumn(0,"orddd", ds_grd_ordlist6.getColumn(selectedRows[0],"orddd"));
- ds_send_data.setColumn(0,"cretno", ds_grd_ordlist6.getColumn(selectedRows[0],"cretno"));
- ds_send_data.setColumn(0,"genrflag", ds_grd_ordlist6.getColumn(selectedRows[0],"prcpgenrflag"));
- ds_send_data.setColumn(0,"prcpno", ds_grd_ordlist6.getColumn(selectedRows[0],"prcpno"));
- ds_send_data.setColumn(0,"prcpdd", ds_grd_ordlist6.getColumn(selectedRows[0],"prcpdd"));
- ds_send_data.setColumn(0,"execprcpuniqno", ds_grd_ordlist6.getColumn(selectedRows[0],"execprcpuniqno"));
- ds_send_data.setColumn(0,"srchrsrvdt", ds_grd_ordlist6.getColumn(selectedRows[0],"srchrsrvdt"));
- ds_send_data.setColumn(0,"selectexamroomnm", ds_grd_ordlist6.getColumn(selectedRows[0],"examroomnm"));
- ds_send_data.setColumn(0,"rsrvprntcd", ds_grd_ordlist6.getColumn(selectedRows[0],"calcscorcd"));
-
- //20180813 처방상태추가
- ds_send_data.setColumn(0,"execprcpstatcd", ds_grd_ordlist6.getColumn(selectedRows[0],"execprcpstatcd"));
-
-
- //환자Comment 환자정보 조회
- dsf_createDsRow("ds_send_tmp",
- [{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"ecgflag", val:ds_send_data.getColumn(0,"ecgflag")}
- ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
- ,{col:"memorgstdd", val:ds_send_data.getColumn(0,"rsrvdd")}
- ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
- ,{col:"orddd", val:ds_send_data.getColumn(0,"orddd")}
- ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"genrflag")}
- ,{col:"prcpcd", val:ds_send_data.getColumn(0,"prcpcd")}
- ,{col:"rsrvposs", val:ds_send_data.getColumn(0,"rsrvposs")}
- ,{col:"prcpno", val:ds_send_data.getColumn(0,"prcpno")}
- ,{col:"prcpdd", val:ds_send_data.getColumn(0,"prcpdd")}
- ,{col:"srchrsrvdt", val:ds_send_data.getColumn(0,"centyn")}
- ,{col:"execprcpuniqno", val:ds_send_data.getColumn(0,"execprcpuniqno")}
- ,{col:"cmtflag", val:""}
- ,{col:"memorgstddprcpdd", val:""}
- ]);
-
-
- //환자Comment 환자정보 조회
- var oParam = {};
- oParam.id = "TRAEA01114";
- oParam.service = "examcureacptexecapp.PatRem";
- oParam.method = "reqGetFuncPatRemList";
- oParam.inds = "reqparam=ds_send_tmp";
- oParam.outds = "ds_patrem_grdAeahMemoList=grdAeahMemoList ds_patrem_examcureexecdiaglist=examcureexecdiaglist ds_patrem_selectpat=sltpatinfolist ds_patrem_isolinfo=patisolinfolist ds_patrem_prcpdeliveinfo=prcpdeliveinfolist ds_patrem_rsrvpossexcuroomlist=rsrvpossexcuroomlist";
- oParam.async = false;
-
- tranf_submit(oParam);
- grp_body.cpt_isolinfo.value = "";
- if (!utlf_isNull(ds_patrem_isolinfo.getColumn(0,"isoldispcd"))) {
- grp_body.cpt_isolinfo.value = "확인";
- }
-
- //치료부위, 위치 조회 20130812 kya
- var i = ds_grd_ordlist6.rowposition;
- var prcpdirecnm = ds_grd_ordlist6.getColumn(i,"rehbprcpcurepartnm") + "/" + ds_grd_ordlist6.getColumn(i,"prcpdirecnm")
- var prcpdelivefact = ds_patrem_prcpdeliveinfo.getColumn(0,"prcpdelivefact");
-
- ds_patrem_prcpdeliveinfo.setColumn(0,"prcpdelivefact" ,prcpdelivefact + " [ " + prcpdirecnm + " ] ");
-
- //상단정보
- fTopInfo();
- fget0701GosiPrcpRcptChk("noacting");
-
- }else {
- //상단정보 초기화
- appf_delPatientInfos();
- }
- }
- function grp_body_group2_switch1_case7_datagrid1_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- //20200218 수정
- if(e.row > -1 && (e.col == obj.getBindCellIndex("body","execrid1") || e.col == obj.getBindCellIndex("body","specdrid")
- || e.col == obj.getBindCellIndex("body","excuroomcd") || e.col == obj.getBindCellIndex("body","insukind")
- || e.col == obj.getBindCellIndex("body","selectdrid") )) return;
-
- //if(e.col == obj.getBindCellIndex("body","specdrid") || e.col == obj.getBindCellIndex("body","excuroomcd")) return;
- //상단정보 초기화
- appf_delPatientInfos();
-
- ds_grd_ordlist6.rowposition = e.row;
-
- for ( var i = 0; i < ds_grd_ordlist6.rowcount; i++) {
- ds_grd_ordlist6.setColumn(i, "check", "0");
- }
-
- var selectedRows = grdf_getSelectedRows(grp_body.group2.switch1.case6.grd_ordlist6);
-
- for ( var i =0 ; i< selectedRows.length;i++){
- ds_grd_ordlist6.setColumn(selectedRows[i],"check", "1");
- }
-
- if(selectedRows.length == 1 ){
- //다른 검사실 선택시 달력조회
- if( ds_send_data.getColumn(0,"excuroomcd") != ds_grd_ordlist6.getColumn(selectedRows[0],"excuroomcd") ) {
-
- ds_send_data.setColumn(0,"excuroomcd",ds_grd_ordlist6.getColumn(selectedRows[0],"excuroomcd"));
- initCalendar();
- getRsrvPossTm(grp_body.grd_calendar);
- setCurrentDate();
-
- //grdf_initGridStyle(grp_body.group5.grd_rsrvlist);
- }
-
- //예약가능검사실 콤보박스 세팅
- var rsrvpossroomcd = ds_grd_ordlist6.getColumn(selectedRows[0],"rsrvexcuroomposscd");
-
-
- //20140731 선택진료비 제도변경에 대한 알림메시지
- //start
- var pid = ds_grd_ordlist6.getColumn(selectedRows[0],"pid");
- var prcpdd = ds_grd_ordlist6.getColumn(selectedRows[0],"prcpdd");
- var execprcpuniqno = ds_grd_ordlist6.getColumn(selectedRows[0],"execprcpuniqno");
-
- var execprcpstatcd = ds_grd_ordlist6.getColumn(selectedRows[0],"execprcpstatcd");
- if ( execprcpstatcd < "610" ) { //실시 미만
- getPrcpRcptCheck("AST", pid, "","", prcpdd, execprcpuniqno );
- }
-
- //end
-
- //처방Comment
- // model.setValue("/root/hidden/comment1/prcpdelivefact", model.getValue("/root/main/ordlist6/mainordlist["+grd_ordlist6.selectedRow(grd_ordlist6.selectedRows-1)+"]/prcpdelivefact"));
- //검사코멘트
-
- //환자Comment 조회
- ds_send_data.setColumn(0,"excuroomcd",ds_grd_ordlist6.getColumn(selectedRows[0],"excuroomcd"));
- ds_send_data.setColumn(0,"srchpid",ds_grd_ordlist6.getColumn(selectedRows[0],"pid"));
- ds_send_data.setColumn(0,"orddd", ds_grd_ordlist6.getColumn(selectedRows[0],"orddd"));
- ds_send_data.setColumn(0,"cretno", ds_grd_ordlist6.getColumn(selectedRows[0],"cretno"));
- ds_send_data.setColumn(0,"genrflag", ds_grd_ordlist6.getColumn(selectedRows[0],"prcpgenrflag"));
- ds_send_data.setColumn(0,"prcpno", ds_grd_ordlist6.getColumn(selectedRows[0],"prcpno"));
- ds_send_data.setColumn(0,"prcpdd", ds_grd_ordlist6.getColumn(selectedRows[0],"prcpdd"));
- ds_send_data.setColumn(0,"execprcpuniqno", ds_grd_ordlist6.getColumn(selectedRows[0],"execprcpuniqno"));
- ds_send_data.setColumn(0,"srchrsrvdt", ds_grd_ordlist6.getColumn(selectedRows[0],"srchrsrvdt"));
- ds_send_data.setColumn(0,"selectexamroomnm", ds_grd_ordlist6.getColumn(selectedRows[0],"examroomnm"));
- ds_send_data.setColumn(0,"rsrvprntcd", ds_grd_ordlist6.getColumn(selectedRows[0],"calcscorcd"));
-
- //20180813 처방상태 추가
- ds_send_data.setColumn(0,"execprcpstatcd", ds_grd_ordlist6.getColumn(selectedRows[0],"execprcpstatcd"));
-
-
- //환자Comment 환자정보 조회
- dsf_createDsRow("ds_send_tmp",
- [{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"ecgflag", val:ds_send_data.getColumn(0,"ecgflag")}
- ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
- ,{col:"memorgstdd", val:ds_send_data.getColumn(0,"rsrvdd")}
- ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
- ,{col:"orddd", val:ds_send_data.getColumn(0,"orddd")}
- ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"genrflag")}
- ,{col:"prcpcd", val:ds_send_data.getColumn(0,"prcpcd")}
- ,{col:"rsrvposs", val:ds_send_data.getColumn(0,"rsrvposs")}
- ,{col:"prcpno", val:ds_send_data.getColumn(0,"prcpno")}
- ,{col:"prcpdd", val:ds_send_data.getColumn(0,"prcpdd")}
- ,{col:"srchrsrvdt", val:ds_send_data.getColumn(0,"centyn")}
- ,{col:"execprcpuniqno", val:ds_send_data.getColumn(0,"execprcpuniqno")}
- ,{col:"cmtflag", val:""}
- ,{col:"memorgstddprcpdd", val:""}
- ]);
-
-
- //환자Comment 환자정보 조회
- var oParam = {};
- oParam.id = "TRAEA01114";
- oParam.service = "examcureacptexecapp.PatRem";
- oParam.method = "reqGetFuncPatRemList";
- oParam.inds = "reqparam=ds_send_tmp";
- oParam.outds = "ds_patrem_grdAeahMemoList=grdAeahMemoList ds_patrem_examcureexecdiaglist=examcureexecdiaglist ds_patrem_selectpat=sltpatinfolist ds_patrem_isolinfo=patisolinfolist ds_patrem_prcpdeliveinfo=prcpdeliveinfolist ds_patrem_rsrvpossexcuroomlist=rsrvpossexcuroomlist";
- oParam.async = false;
-
- tranf_submit(oParam);
- grp_body.cpt_isolinfo.value = "";
- if (!utlf_isNull(ds_patrem_isolinfo.getColumn(0,"isoldispcd"))) {
- grp_body.cpt_isolinfo.value = "확인";
- }
-
- //치료부위, 위치 조회 20130812 kya
- var i = ds_grd_ordlist6.rowposition;
- var prcpdirecnm = ds_grd_ordlist6.getColumn(i,"rehbprcpcurepartnm") + "/" + ds_grd_ordlist6.getColumn(i,"prcpdirecnm")
- var prcpdelivefact = ds_patrem_prcpdeliveinfo.getColumn(0,"prcpdelivefact");
-
- ds_patrem_prcpdeliveinfo.setColumn(0,"prcpdelivefact" ,prcpdelivefact + " [ " + prcpdirecnm + " ] ");
-
- //상단정보
- fTopInfo();
- fget0701GosiPrcpRcptChk("noacting");
-
- }else {
- //상단정보 초기화
- appf_delPatientInfos();
- }
- }
- function grp_body_group2_btn_exec_onclick(obj:Button, e:ClickEventInfo)
- {
- var loopcnt="";
- var execncl="";
- var ds_grid ;
- var grd;
- var execdd="";
-
- if (grp_body.group2.switch1.tabindex == 0 ){
-
- ds_grid = ds_grd_ordlist1;
- grd = ds_grd_ordlist1.rowcount;
-
- for(var i=0 ; i < ds_grd_ordlist1.rowcount ; i++) {
- if( ds_grd_ordlist1.getColumn(i,"check") == "1") {
- if(ds_grd_ordlist1.getColumn(i,"execbaseflag") != "A" ){
- sysf_messageBox("실시기준이 잘못","E005", "기준자료의 실시기준을 [접수]로 수정하여 주십시오!");
- return;
- }
- if( !utlf_isNull(ds_grd_ordlist1.getColumn(i,"srchrsrvdt")) && (ds_grd_ordlist1.getColumn(i,"srchrsrvdt") > (utlf_getCurrentDate()+"999999") ) ){
- sysf_messageBox("미래예약은 실시","E001","예약일자를 당일로 변경 후 실시하십시오!");
- return;
- }
- if(ds_grd_ordlist1.getColumn(i,"execprcpstatcd") == "610" ){
- sysf_messageBox("실시완료 상태가","E005");
- return;
- }
- if(ds_grd_ordlist1.getColumn(i,"execprcpstatcd") > "610" ){
- sysf_messageBox("예비결과/최종결과 상태가","E005");
- return;
- }
-
- ds_grd_ordlist1.setColumn(i,"execrem",grp_body.tar_excurem.value);
-
- }
- }
- }
- if ( grp_body.group2.switch1.tabindex == 1 ) {
-
- grd = ds_grd_ordlist4.rowcount;
- ds_grid = ds_grd_ordlist4;
- for(var i=0 ; i < ds_grd_ordlist4.rowcount ; i++) {
- if( ds_grd_ordlist4.getColumn(i,"check") == "1") {
-
- if(ds_grd_ordlist4.getColumn(i,"execbaseflag") != "A" ){
- sysf_messageBox("실시기준이 잘못","E005", "기준자료의 실시기준을 [접수]로 수정하여 주십시오!");
- return;
- }
- if( !utlf_isNull(ds_grd_ordlist4.getColumn(i,"srchrsrvdt")) && (ds_grd_ordlist4.getColumn(i,"srchrsrvdt") > (utlf_getCurrentDate()+"999999") ) ){
- sysf_messageBox("미래예약은 실시","E001","예약일자를 당일로 변경 후 실시하십시오!");
- return;
- }
- if(ds_grd_ordlist4.getColumn(i,"execprcpstatcd") == "610" ){
- sysf_messageBox("실시완료 상태가","E005");
- return;
- }
- if(ds_grd_ordlist4.getColumn(i,"execprcpstatcd") > "610" ){
- sysf_messageBox("예비결과/최종결과 상태가","E005");
- return;
- }
-
- }
- }
- }
- if ( grp_body.group2.switch1.tabindex == 2 ) {
-
- grd = ds_grd_ordlist6.rowcount;
- ds_grid = ds_grd_ordlist6;
-
- for(var i=0 ; i < ds_grd_ordlist6.rowcount ; i++) {
- if( ds_grd_ordlist6.getColumn(i,"check") == "1") {
-
- if(ds_grd_ordlist6.getColumn(i,"execbaseflag") != "A" ){
- sysf_messageBox("실시기준이 잘못","E005", "기준자료의 실시기준을 [접수]로 수정하여 주십시오!");
- return;
- }
- //2010.12.23 미예약처방 실시할수 있게 주석 처리 - 박재영
- //if( model.getValue("/root/main/ordlist6/mainordlist["+i+"]/srchrsrvdt") == "" && model.getValue("/root/main/ordlist6/mainordlist["+i+"]/unrsrvexecyn") == "N" ) { //unrsrvexecyn : Y 미예약검사, N 예약검사 ( ast.aebmcode - A0010 )
- // messageBox("미예약 처방은 실시","E001","예약 후 실시하십시오!");
- // return;
- //}
- if( !utlf_isNull(ds_grd_ordlist6.getColumn(i,"srchrsrvdt")) && (ds_grd_ordlist6.getColumn(i,"srchrsrvdt") > (utlf_getCurrentDate()+"999999") ) ){
- sysf_messageBox("미래예약은 실시","E001","예약일자를 당일로 변경 후 실시하십시오!");
- return;
- }
- if(ds_grd_ordlist6.getColumn(i,"execprcpstatcd") == "610" ){
- sysf_messageBox("실시완료 상태가","E005");
- return;
- }
- if(ds_grd_ordlist6.getColumn(i,"execprcpstatcd") > "610" ){
- sysf_messageBox("예비결과/최종결과 상태가","E005");
- return;
- }
-
- }
- }
- }
-
-
- for( var i = 0 ; i < grd ; i++ ) {
- if ( ds_grid.getColumn(i,"check") == "1" ) {
- loopcnt++;
- if( ds_grid.getColumn(i,"execdd") == utlf_getCurrentDate() )
- {
- sysf_messageBox("예약일자가 당일이 아닌 처방이 선택되었습니다.","Q003");
- return;
- }
-
- }
- }
- if ( loopcnt == 0 ) {
- sysf_messageBox("처방이 선택되지 ", "E007");
- return;
- }
- var grid ="";
- if(tabgubn == "M" || tabgubn == "L" )
- grid = "ds_grd_ordlist1";
- if(tabgubn == "N")
- grid = "ds_grd_ordlist6";
-
- if(tabgubn == "T")
- grid = "ds_grd_ordlist4";
-
-
- if ( grp_body.group2.switch1.tabindex == 0 ) {
- var pid =ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"pid");
- var hngnm = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"hngnm");
- var sna = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"sna");
- var orddeptnm = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"orddepthngnm");
- var prcpnm = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"prcpnm");
- }
- if ( grp_body.group2.switch1.tabindex == 1 ) {
- var pid =ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"pid");
- var hngnm = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"hngnm");
- var sna = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"sna");
- var orddeptnm = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"orddepthngnm");
- var prcpnm = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"prcpnm");
- }
-
- var rtn = ExeAccept(tabgubn,grid);
-
- if(tabgubn == "M") {
- ds_send_data.setColumn(0,"srchpid","");
- fGetExamCureAcptList(tabgubn); // 전체처방
- }
- if(tabgubn == "N") {
- ds_send_data.setColumn(0,"srchpid","");
- fGetExamCureAcptList(tabgubn); // 미예약
- }
- if(tabgubn == "T") {
- ds_send_data.setColumn(0,"srchpid","");
- fGetExamCureAcptList(tabgubn); // 검사완료
- }
- if(tabgubn == "L") {
- fGetExamCureAcptList(tabgubn); // 이력
- }
-
- initCalendar();
- getRsrvPossTm(grp_body.grd_calendar);
- setCurrentDate();
-
- //grdf_initGridStyle(grp_body.group5.grd_rsrvlist);
-
- //data 클리어
- dataClear();
- }
- function grp_body_group2_button6_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_btn_Selected(1);
- grp_body.group2.switch1.tabindex = 0;
- if(ds_send_data.getColumn(0,"selectexcuroom") == " ") {
- sysf_messageBox("검사실 선택되지 ", "E007");
- return;
- }
- //data 클리어
- dataClear();
-
- var curDate = utlf_getCurrentDate().substr(0,8); //오늘날짜
- ds_send_data.setColumn(0,"srchdate1",curDate);
- ds_send_data.setColumn(0,"srchdate2",curDate);
- ds_send_data.setColumn(0,"srchpid","");
-
- grp_body.grp_sea.combo1.index = 0;
- ds_send_data.setColumn(0,"acptlistflag","R");
-
- grp_body_btn_case1_onclick();
- //환자Comment 환자정보 조회
- dsf_createDsRow("ds_send_tmp",
- [{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"ecgflag", val:ds_send_data.getColumn(0,"ecgflag")}
- ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
- ,{col:"memorgstdd", val:ds_send_data.getColumn(0,"rsrvdd")}
- ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
- ,{col:"orddd", val:ds_send_data.getColumn(0,"orddd")}
- ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"genrflag")}
- ,{col:"prcpcd", val:ds_send_data.getColumn(0,"prcpcd")}
- ,{col:"rsrvposs", val:ds_send_data.getColumn(0,"rsrvposs")}
- ,{col:"prcpno", val:ds_send_data.getColumn(0,"prcpno")}
- ,{col:"prcpdd", val:ds_send_data.getColumn(0,"prcpdd")}
- ,{col:"srchrsrvdt", val:ds_send_data.getColumn(0,"centyn")}
- ,{col:"execprcpuniqno", val:ds_send_data.getColumn(0,"execprcpuniqno")}
- ,{col:"cmtflag", val:""}
- ,{col:"memorgstddprcpdd", val:""}
- ]);
-
-
- //환자Comment 환자정보 조회
- var oParam = {};
- oParam.id = "TRAEA01114";
- oParam.service = "examcureacptexecapp.PatRem";
- oParam.method = "reqGetFuncPatRemList";
- oParam.inds = "reqparam=ds_send_tmp";
- oParam.outds = "ds_patrem_grdAeahMemoList=grdAeahMemoList ds_patrem_examcureexecdiaglist=examcureexecdiaglist ds_patrem_selectpat=sltpatinfolist ds_patrem_isolinfo=patisolinfolist ds_patrem_prcpdeliveinfo=prcpdeliveinfolist ds_patrem_rsrvpossexcuroomlist=rsrvpossexcuroomlist";
- oParam.async = false;
-
- tranf_submit(oParam);
-
- grp_body.cpt_isolinfo.text = "";
- if (!utlf_isNull(ds_patrem_isolinfo.getColumn(0,"isoldispcd"))) {
- grp_body.cpt_isolinfo.text = "확인"
- }
- dsf_createDsRow("ds_send_tmp",
- [{col:"acptlistflag", val:"R"}
- ,{col:"basesuppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"initexcuroom", val:ds_send_data.getColumn(0,"selectexcuroom")}
- ,{col:"prcpexecdeptcd", val:ds_send_data.getColumn(0,"prcpexecdeptcd")}
- ,{col:"srchdate1", val:curDate}
- ,{col:"srchdate2", val:curDate}
- ,{col:"srchpid", val:""}
- ,{col:"excuroomflag", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"term", val:ds_send_data.getColumn(0,"term")}
- ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"prcpgenrflag")}
- ,{col:"sgubn", val:ds_send_data.getColumn(0,"sgubn")}
- ,{col:"largeclass", val:ds_send_data.getColumn(0,"largeclass")}
- ]);
-
- var oParam = {};
- oParam.id = "TRAEA01122";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_temp";
- oParam.outds = "ds_grd_ordlist1=examcureexecprcplist";
- oParam.async = false;
- // oParam.callback = "cf_TRAEA01122";
- tranf_submit(oParam);
-
- tabgubn = "D";
- }
- function grp_body_group2_button102_onclick(obj:Button, e:ClickEventInfo)
- {
- var flag = "prcplist";
-
- grp_body.group5.visible = true;
- fGetWideListX1(grp_body.group2, grp_body.group2.switch1, flag);
-
- }
- function grp_body_group2_button103_onclick(obj:Button, e:ClickEventInfo)
- {
- var flag = "prcplist";
- grp_body.group5.visible = false;
- fGetWideListX2(grp_body.group2, grp_body.group2.switch1, flag);
-
- }
- function grp_body_group2_order_bak_onclick(obj:Button, e:ClickEventInfo)
- {
- // 기능검사에서 과거처방에(20081004 이전) CDIS 결과를 연동할려고 할때 창 호출
- frmf_setParameter("opener_parameter_id","OldOrder");
- frmf_open("SMAEA04300","SMAEA04300", "","","", "","", "","","", "","","M");
- }
- function btn_case4_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_btn_Selected(4);
- grp_body.group2.switch1.tabindex = 3;
- var checkvalue = utlf_transNullToEmpty(grp_body.grp_sea.checkbox1.getData());
- ds_send_data.setColumn(0,"selectexcuroom",String(checkvalue).replace(","," "));
- if(ds_send_data.getColumn(0,"selectexcuroom") == " ") {
- sysf_messageBox("검사실 선택되지 ", "E007");
- return;
- }
-
- //data 클리어
- dataClear();
-
-
- // var curDate = utlf_getCurrentDate().substr(0,8); //오늘날짜
-
- //환자Comment 환자정보 조회
- dsf_createDsRow("ds_send_tmp",
- [{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"ecgflag", val:""}
- ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
- ,{col:"memorgstdd", val:ds_send_data.getColumn(0,"rsrvdd")}
- ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
- ,{col:"orddd", val:ds_send_data.getColumn(0,"orddd")}
- ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"genrflag")}
- ,{col:"prcpcd", val:ds_send_data.getColumn(0,"inclprcpcd")}
- ,{col:"rsrvposs", val:ds_send_data.getColumn(0,"rsrvposs")}
- ,{col:"prcpno", val:ds_send_data.getColumn(0,"prcpno")}
- ,{col:"prcpdd", val:ds_send_data.getColumn(0,"prcpdd")}
- ,{col:"srchrsrvdt", val:""}
- ,{col:"execprcpuniqno", val:ds_send_data.getColumn(0,"execprcpuniqno")}
- ,{col:"cmtflag", val:""}
- ,{col:"memorgstddprcpdd", val:""}
- ]);
-
-
- //환자Comment 환자정보 조회
- var oParam = {};
- oParam.id = "TRAEA01114";
- oParam.service = "examcureacptexecapp.PatRem";
- oParam.method = "reqGetFuncPatRemList";
- oParam.inds = "reqparam=ds_send_tmp";
- oParam.outds = "ds_patrem_grdAeahMemoList=grdAeahMemoList ds_patrem_examcureexecdiaglist=examcureexecdiaglist ds_patrem_selectpat=sltpatinfolist ds_patrem_isolinfo=patisolinfolist ds_patrem_prcpdeliveinfo=prcpdeliveinfolist ds_patrem_rsrvpossexcuroomlist=rsrvpossexcuroomlist";
- oParam.async = false;
-
- tranf_submit(oParam);
-
- grp_body.grp_sea.combo1.index = 0;
-
- fGetExamCureAcptList( "R");
-
- tabgubn="R";
- }
- function grp_body_group5_button10_onclick(obj:Button, e:ClickEventInfo)
- {
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "root/main/totalrsrvlist/rsrvlist", ds_grd_rsrvlist);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
- rptf_exeReportPreview30(["RPAEA01104"],[objParam], option);
- }
- function grp_body_group5_chk_autorsrv_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
- {
- var autorsrvflag = ds_send_data.getColumn(0,"autorsrvflag");
-
- if(autorsrvflag =="Y") {
- var interval = ds_send_data.getColumn(0,"interval");
- // model.setValue("/root/send/data/interval", "60000"); // 1분(60000), 5분(300000), 10분(600000)
- //gTimer = window.setInterval("fGetAlarmNotify()", interval );
- this.setTimer(gTimer,interval);
- }else{
- this.killTimer(gTimer);
- }
- }
- function SMAEA01104_ontimer(obj:Form, e:TimerEventInfo)
- {
- fGetAlarmNotify();
- }
- function grp_body_group5_grd_rsrvlist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- //스크롤 조작시 모래시계 방지
-
- //히스토리리스트에서 예약내역에서 선택한 처방 체크해주기
- var loop;
- var list = "";
- var grd;
- var grdrows;
- var uniqnoValue = ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"execprcpuniqno");
-
-
-
- lf_btn_Selected(1);
- grp_body.group2.switch1.tabindex = 0;
- ds_send_data.setColumn(0,"srchpid",ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"pid"));
- fGetExamCureAcptList("L");
-
- ds_grd_ordlist1.clearSelect();
-
- for(var i = 0; i < ds_grd_ordlist1.rowcount ; i++ ) {
- if( ds_grd_ordlist1.getColumn(i,"execprcpuniqno") == uniqnoValue){
- ds_grd_ordlist1.setColumn(i,"check","1");
- //검사코멘트
-
- //처방Comment
- //grp_body.group2.tar_prcpdelivefact.value = ds_grd_ordlist1.getColumn(i,"prcpdelivefact");
-
- ds_grd_ordlist1.selectRow(i,true);
- }
- }
-
- ds_send_data.setColumn(0,"excuroomcd",ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"excuroomcd"));
- ds_send_data.setColumn(0,"orddd", ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"orddd"));
- ds_send_data.setColumn(0,"cretno", ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"cretno"));
- ds_send_data.setColumn(0,"genrflag", ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"prcpgenrflag"));
- ds_send_data.setColumn(0,"prcpno", ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"prcpno"));
- ds_send_data.setColumn(0,"prcpdd", ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"prcpdd"));
- ds_send_data.setColumn(0,"execprcpuniqno", ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"execprcpuniqno"));
- ds_send_data.setColumn(0,"srchrsrvdt", ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"srchrsrvdt"));
- //20180813 처방상태가져오기
- ds_send_data.setColumn(0,"execprcpstatcd", ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"execprcpstatcd"));
-
- //예약증출력
- ds_send_data.setColumn(0,"prntcalcscorcd", ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"calcscorcd"));
- ds_send_data.setColumn(0,"prntsuppdeptcd", ds_send_globalinstance.getColumn(0,"dutplcecd"));
-
- //환자Comment 환자정보 조회
- dsf_createDsRow("ds_send_tmp",
- [{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"ecgflag", val:ds_send_data.getColumn(0,"ecgflag")}
- ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
- ,{col:"memorgstdd", val:ds_send_data.getColumn(0,"rsrvdd")}
- ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
- ,{col:"orddd", val:ds_send_data.getColumn(0,"orddd")}
- ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"genrflag")}
- ,{col:"prcpcd", val:ds_send_data.getColumn(0,"prcpcd")}
- ,{col:"rsrvposs", val:ds_send_data.getColumn(0,"rsrvposs")}
- ,{col:"prcpno", val:ds_send_data.getColumn(0,"prcpno")}
- ,{col:"prcpdd", val:ds_send_data.getColumn(0,"prcpdd")}
- ,{col:"srchrsrvdt", val:ds_send_data.getColumn(0,"centyn")}
- ,{col:"execprcpuniqno", val:ds_send_data.getColumn(0,"execprcpuniqno")}
- ,{col:"cmtflag", val:""}
- ,{col:"memorgstddprcpdd", val:""}
- ]);
-
-
- //환자Comment 환자정보 조회
- var oParam = {};
- oParam.id = "TRAEA01114";
- oParam.service = "examcureacptexecapp.PatRem";
- oParam.method = "reqGetFuncPatRemList";
- oParam.inds = "reqparam=ds_send_tmp";
- oParam.outds = "ds_patrem_grdAeahMemoList=grdAeahMemoList ds_patrem_examcureexecdiaglist=examcureexecdiaglist ds_patrem_selectpat=sltpatinfolist ds_patrem_isolinfo=patisolinfolist ds_patrem_prcpdeliveinfo=prcpdeliveinfolist ds_patrem_rsrvpossexcuroomlist=rsrvpossexcuroomlist ds_main_patrem_nameconflict=conflictyn";
- oParam.async = false;
-
- tranf_submit(oParam);
-
- grp_body.cpt_isolinfo.value ="";
- if (!utlf_isNull(ds_patrem_isolinfo.getColumn(0,"isoldispcd"))) {
- grp_body.cpt_isolinfo.value = "확인";
- }
-
- sysf_setGlobalVariable("gv_pid", ds_send_data.getColumn(0,"srchpid"), "A"); //등록번호 넘기기
- //동명이인 20161109
- if (ds_main_patrem_nameconflict.getColumn(0,"conflictyn") == "Y") {
- sysf_messageBox("현재 환자와 성명이 동일한 환자가 존재합니다.\r\n" +
- " 주의하여 작업하시기 바랍니다.", "I000");
- }
- tabgubn = "L";
- fget0701GosiPrcpRcptChk("rsrv"); //2009-06-29 7/1 본인부담율 인상으로 인한 메세지 처리
-
-
-
- }
- function grp_body_group5_grd_rsrvlist_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- // if(e.row < 0 || e.col < 0) return;
- // obj.setFocus();
- // grdf_setSelectedCell(obj, e);
- //
- // this.PopupMenu02.trackPopup(e.screenX,e.screenY);
-
-
- }
- function grp_body_group5_button15_onclick(obj:Button, e:ClickEventInfo)
- {
- var flag = "rsrvlist"
- fGetWideListX2(grp_body.group5, grp_body.group2.switch1, flag);
- }
- function grp_body_group5_button16_onclick(obj:Button, e:ClickEventInfo)
- {
- var flag = "rsrvlist"
- fGetWideListX1(grp_body.group5, grp_body.group2.switch1, flag);
- }
- function grp_body_group5_button26_onclick(obj:Button, e:ClickEventInfo)
- {
- fSetPrint();
- }
- function grp_body_group7_btn_close_onclick(obj:Button, e:ClickEventInfo)
- {
- grp_body.group2.group7.visible = false;
- grp_body.group2.group7.cpt_isoldata.visible = false;
- grp_body.group2.group7.txt_isol.visible = false;
- grp_body.group2.group7.btn_close.visible = false;
- grp_body.group2.group7.line_isol.visible = false;
- grp_body.group2.group7.line_isol2.visible = false;
- grp_body.group2.group7.cpt_isoltitle.visible = false;
- }
- function grp_body_btn_tmprsrv_onclick(obj:Button, e:ClickEventInfo)
- {
- var excuroomcd = ds_send_data.getColumn(0,"excuroomcd");
- var temproomcd = excuroomcd.split(" ");
- ds_send_data.setColumn(0,"excuroomcd", temproomcd[0]);
-
- dsf_createDsRow("ds_send_tmp",
- [{col:"basesuppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
- ]);
-
- var oParam = {};
- oParam.id = "TRAEA01132";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetFuncExcuroomGrpCdList";
- oParam.inds = "reqparam=ds_send_tmp";
- oParam.outds = "ds_hidden_excuroomgrplist=excuroomgrplist";
- oParam.async = false;
-
- tranf_submit(oParam);
-
- var excuroomgrp = ds_hidden_excuroomgrplist.getColumn(0,"basecdcnts");
-
- if (utlf_isNull(excuroomgrp)) {
- sysf_messageBox("검사실을 ", "C002");
- return;
- }
-
- frmf_setParameter("excuroomgrp", excuroomgrp );
- frmf_modal("SPAEA02201", "SPAEA02201","", "", "", "", "", "","", "", "", "", "M");
- }
- function grp_body_grd_rsrvposstm_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- if( grp_body.group2.switch1.tabindex == 0 ) {
- grdgubn ="grd_ordlist1"; // 전체처방
-
- }
-
- if ( grp_body.group2.switch1.tabindex == 1 ) { // 검사완료
-
- grdgubn ="grd_ordlist4";
- }
- if ( grp_body.group2.switch1.tabindex == 2 ) {
- grdgubn ="grd_ordlist6"; // 미시행처방
- }
- if( grp_body.group2.switch1.tabindex == 3) {
-
- grdgubn ="grd_ordlist6"; // 미예약
- }
-
-
- setRsrvdate(grdgubn,"grd");
-
- grp_body.cmb_hour.value = "--";
- grp_body.cmb_min.value ="--";
- }
- function button5_onclick(obj:Button, e:ClickEventInfo)
- {
- //frmf_modal("SMAHR00120","SMAHR00120","","","","","","","","","","","M")
- //frmf_open("SPZUR00300","SPZUR00300", objArg, "", "", "", "","","","","","","M" );
- frmf_open("SMAHR00120","SMAHR00120","", "", "", "", "", "", "", "", "", "","M");
- application.popupframes["SMAHR00120"].winlevel = "topmost";
- application.popupframes["SMAHR00120"].activate();
- }
- function lf_btn_Selected(btnId){
- if( utlf_isNull(btnId) ) return;
- for( var i = 1; i <= 4; i++ ){
- if( i == btnId){
- var btnObj = this.components["btn_case"+i];
- btnObj.setSelectStatus(true);
- btnObj.class = "btn_tab_S";
- }else{
- var btnObj = this.components["btn_case"+i];
- btnObj.setSelectStatus(false);
- btnObj.class = "btn_tab";
- }
- }
- }
- //=====================================================================================================================================================================================
- // @ 월버튼 이벤트 , 장준원, 20100719
- //=====================================================================================================================================================================================
- function fGetCalendar(arg){
- var isMonth = ds_calendar.getColumn(0,"month");
- var isYear = ds_calendar.getColumn(0,"year");
- var isDate = "";
- if(ds_calendar.getColumn(0,"month") < arg) {
- var num = arg- isMonth ;
- isDate = (isYear+isMonth+"01").toDate().getAddDate(+num,"M");
-
- }
- if(ds_calendar.getColumn(0,"month") > arg) {
- var num = isMonth - arg ;
- isDate = (isYear+isMonth+"01").toDate().getAddDate(-num,"M");
- }
- ds_calendar.setColumn(0,"year", isDate.getDateFormat("YYYY"));
- ds_calendar.setColumn(0,"month", isDate.getDateFormat("MM"));
-
-
- setCalendar(isDate);
- }
- function fTopInfo() {
-
-
- if ( grp_body.group2.switch1.tabindex == 0 ) { //전체처방탭
- var grd = "grd_ordlist1";
- var ds_grid = ds_grd_ordlist1;
- var row_idx = ds_grd_ordlist1.rowposition;
- }
-
-
- if ( grp_body.group2.switch1.tabindex == 1 ) { //검사완료탭
- var grd = "grd_ordlist4";
- var ds_grid = ds_grd_ordlist4;
- var row_idx = ds_grd_ordlist4.rowposition;
- }
- if ( grp_body.group2.switch1.tabindex == 2 ) { //미예약탭
- var grd = "grd_ordlist6";
- var ds_grid = ds_grd_ordlist6;
- var row_idx = ds_grd_ordlist6.rowposition;
- }
- if ( grp_body.group2.switch1.tabindex == 3 ) { //미예약탭
- var grd = "grd_ordlist6";
- var ds_grid = ds_grd_ordlist6;
- var row_idx = ds_grd_ordlist6.rowposition;
- }
- schk = "N";
- var pat_info = "S▦"+ ds_grid.getColumn(row_idx,"prcpdd") +"▦"+ds_grid.getColumn(row_idx,"execprcpuniqno")+"▦"+sysf_getUserInfo("dutplcecd");
- schk = "Y";
-
- if (schk == "Y"){
- frmf_setParameter("condparam", pat_info);
- //frmf_modal("SPMMO08900", "SPMMO08900");
- appf_initPatientInfo(pat_info);
- }
-
- //20200128 코로나 바이러스 추가
- fc_check_coronavirus();
-
- }
- function PopupMenu00_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- eval(e.id + "()");
- }
- function PopupMenu02_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- eval(e.id + "()");
- }
- function PopupMenu03_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- eval(e.id + "()");
- }
- function PopupMenu01_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- eval(e.id + "()");
- }
- //=====================================================================================================================================================================================
- // @ 팝업메뉴 - 처방 상세 내역 조회
- //=====================================================================================================================================================================================
- function fOpenPrcpList() {
- var objArg = new Object();
- dsf_createDs("ds_temp_popupdata");
- if ( grp_body.group2.switch1.tabindex == 0 ) {
- dsf_copyColInfo(ds_temp_popupdata,ds_grd_ordlist1);
- ds_temp_popupdata.copyRow(ds_temp_popupdata.addRow(),ds_grd_ordlist1,ds_grd_ordlist1.rowposition);
- objArg.arg_ds_init_popupdata = ds_temp_popupdata;
-
- frmf_modal("SPAEA01102","SPAEA01102",objArg,"","","","","","","","","","M");
-
- } else if ( grp_body.group2.switch1.tabindex == 1 ) {
-
- dsf_copyColInfo(ds_temp_popupdata,ds_grd_ordlist4);
- ds_temp_popupdata.copyRow(ds_temp_popupdata.addRow(),ds_grd_ordlist4,ds_grd_ordlist4.rowposition);
- objArg.arg_ds_init_popupdata = ds_temp_popupdata;
-
- frmf_modal("SPAEA01102","SPAEA01102",objArg,"","","","","","","","","","M");
-
- } else if ( grp_body.group2.switch1.tabindex == 2 ) {
-
- dsf_copyColInfo(ds_temp_popupdata,ds_grd_ordlist6);
- ds_temp_popupdata.copyRow(ds_temp_popupdata.addRow(),ds_grd_ordlist4,ds_grd_ordlist6.rowposition);
- objArg.arg_ds_init_popupdata = ds_temp_popupdata;
-
- frmf_modal("SPAEA01102","SPAEA01102",objArg,"","","","","","","","","","M");
-
- }
- }
- //=====================================================================================================================================================================================
- // @ 팝업메뉴--간호일지 type 2 2009.10.27 성빈센트 추가 -
- //=====================================================================================================================================================================================
- function fHeartNurseRecII() {
-
- if(grp_body.group2.switch1.tabindex == 2)
- {
- aezfGetHrtNurseRecII(ds_grd_ordlist6,ds_grd_ordlist6.rowposition);
- } else if(grp_body.group2.switch1.tabindex == 1) {
- aezfGetHrtNurseRecII(ds_grd_ordlist4,ds_grd_ordlist4.rowposition);
- } else if(grp_body.group2.switch1.tabindex == 0) {
- aezfGetHrtNurseRecII(ds_grd_ordlist1,ds_grd_ordlist1.rowposition);
- } else if(grp_body.group2.switch1.tabindex == 3) {
- aezfGetHrtNurseRecII(ds_grd_ordlist6,ds_grd_ordlist6.rowposition);
- } else {
- sysf_messageBox("행을 선택해 주세요.")
- }
- //alert("7case row= " + datagrid1.row);
-
- }
- function aezfGetHrtNurseRecII(ds_grid:Dataset, Row) {
-
- var pid = ds_grid.getColumn(Row,"pid");
- var instcd = sysf_getUserInfo("dutplceinstcd");
- var hngnm = ds_grid.getColumn(Row,"hngnm");
- var age = ds_grid.getColumn(Row,"age");
- var orddd = ds_grid.getColumn(Row,"orddd");
- var cretno = ds_grid.getColumn(Row,"cretno");
- var ioflag = ds_grid.getColumn(Row,"ioflag");
- var orddeptcd = ds_grid.getColumn(Row,"orddeptcd");
- var indd = ds_grid.getColumn(Row,"indd");
-
- //=========================================================================
- var ParamBaseHeader = "recflag▦dutplaccd▦reclnkkey▩";
- var ParamBaseData = "Z▦016▦"+pid+","+indd+","+cretno+","+instcd+"▩";
-
- frmf_setParameter("SMMNR03400_ParamBase", ParamBaseHeader + ParamBaseData);
-
- //=========================================================================
- var ASTHeader = "pid▦instcd▦hngnm▦age▦orddd▦cretno▦ioflag▦orddeptcd▩";
- var ASTData = pid+"▦"+instcd+"▦"+hngnm+"▦"+age+"▦"+orddd+"▦"+cretno+"▦"+ioflag+"▦"+orddeptcd+"▩";
- //pid+"▦"+instcd+"▦"+hngnm+"▦"+age+"▦"+cretno+"▦"+ioflag+"▦"+orddeptcd+"▩";
- frmf_setParameter("SMMNR03400_AST", ASTHeader + ASTData);
-
- frmf_open("SMMNR03400","SMMNR03400", "", "","","","", "","","","","","M" );
-
- }
- function fInPrcpNurseRecII() {
-
-
- if(grp_body.group2.switch1.tabindex == 2)
- {
- aezfGetInPrcpNurseRecII(ds_grd_ordlist6,ds_grd_ordlist6.rowposition);
- } else if(grp_body.group2.switch1.tabindex == 1) {
- aezfGetInPrcpNurseRecII(ds_grd_ordlist4,ds_grd_ordlist4.rowposition);
- } else if(grp_body.group2.switch1.tabindex == 0) {
- aezfGetInPrcpNurseRecII(ds_grd_ordlist1,ds_grd_ordlist1.rowposition);
- } else if(grp_body.group2.switch1.tabindex == 3) {
- aezfGetInPrcpNurseRecII(ds_grd_ordlist6,ds_grd_ordlist6.rowposition);
- } else {
- sysf_messageBox("행을 선택해 주세요.")
- }
-
- }
- function aezfGetInPrcpNurseRecII(ds_grid:Dataset, Row) {
-
- var pid = ds_grid.getColumn(Row,"pid");
- var instcd = sysf_getUserInfo("dutplceinstcd");
- var hngnm = ds_grid.getColumn(Row,"hngnm");
- var age = ds_grid.getColumn(Row,"age");
- var orddd = ds_grid.getColumn(Row,"orddd");
- var cretno = ds_grid.getColumn(Row,"cretno");
- var ioflag = ds_grid.getColumn(Row,"ioflag");
- var orddeptcd = ds_grid.getColumn(Row,"orddeptcd");
- var indd = ds_grid.getColumn(Row,"indd");
-
- //=========================================================================
- var ParamBaseHeader = "recflag▦dutplaccd▦reclnkkey▩";
- var ParamBaseData = "V▦022▦"+pid+","+indd+","+cretno+","+instcd+"▩";
-
- frmf_setParameter("SMMNR03400_ParamBase", ParamBaseHeader + ParamBaseData);
-
- //=========================================================================
- var ASTHeader = "pid▦instcd▦hngnm▦age▦orddd▦cretno▦ioflag▦orddeptcd▩";
- var ASTData = pid+"▦"+instcd+"▦"+hngnm+"▦"+age+"▦"+orddd+"▦"+cretno+"▦"+ioflag+"▦"+orddeptcd+"▩";
- //pid+"▦"+instcd+"▦"+hngnm+"▦"+age+"▦"+cretno+"▦"+ioflag+"▦"+orddeptcd+"▩";
- frmf_setParameter("SMMNR03400_AST", ASTHeader + ASTData);
-
- frmf_open("SMMNR03400","SMMNR03400", "", "","","","", "","","","","","M" );
-
- }
- //=====================================================================================================================================================================================
- // @ 팝업메뉴 - 시행부서처방링크
- //=====================================================================================================================================================================================
- function fOpenPopup() {
-
- appf_delPatientInfos();
- if ( grp_body.group2.switch1.tabindex == 0 ) {
-
- if ( ds_grd_ordlist1.rowposition < 0 ) {
- sysf_messageBox("처방을 ","C002");
- return "0";
- }else {
- lf_aezfAddPrcpMngt( grp_body.group2.switch1.case1.grd_ordlist1 , "/root/main/ordlist1/mainordlist");
- }
- }
-
- if ( grp_body.group2.switch1.tabindex == 1 ) {
-
- if ( ds_grd_ordlist4.rowposition < 0 ) {
- sysf_messageBox("처방을 ","C002");
- return "0";
- }else {
- lf_aezfAddPrcpMngt( grp_body.group2.switch1.case4.grd_ordlist4 , "/root/main/ordlist4/mainordlist");
- }
- }
- if ( group3.switch1.tabindex == 2) {
- if ( ds_grd_ordlist6.rowposition < 0 ) {
- sysf_messageBox("처방을 ","C002");
- return "0";
- }else {
- lf_aezfAddPrcpMngt( grp_body.group2.switch1.case2.grd_ordlist6 , "/root/main/ordlist6/mainordlist");
- }
- }
-
-
- }
- //=====================================================================================================================================================================================
- // @ 팝업메뉴 - 바코드출력 링크
- //=====================================================================================================================================================================================
- function fBarcodePrint() {
- //상단정보 초기화
- appf_delPatientInfos();
- dsf_createDsRow("ds_send_bardata",
- [{col:"regnopatnm", val:ds_patrem_selectpat.getColumn(0,"pid")}
- ,{col:"testdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ]);
- var objArg = new Object();
- objArg.arg_ds_hidden_SFlag = ds_send_bardata;
- frmf_modal("SMLLC00300","SMLLC00300",objArg,"","","","","","","","","","M");
-
- }
- function fNursingActing() {
- //상단정보 초기화
- appf_delPatientInfos();
- var objArg = new Object();
-
- if ( grp_body.group2.switch1.tabindex == 0 ) {
- objArg.arg_pid= ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"pid");
- frmf_modal("SMMNI00100","SMMNI00100",objArg,"","","","","","","","","","M");
-
- }
- if ( grp_body.group2.switch1.tabindex == 1 ) {
- objArg.arg_pid= ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"pid");
- frmf_modal("SMMNI00100","SMMNI00100",objArg,"","","","","","","","","","M");
-
- }
- if ( grp_body.group2.switch1.tabindex == 2 ) {
- objArg.arg_pid= ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"pid");
- frmf_modal("SMMNI00100","SMMNI00100",objArg,"","","","","","","","","","M");
-
- }
-
- }
- //=====================================================================================================================================================================================
- // @ 팝업메뉴 - 결과관리(서식) 링크
- //=====================================================================================================================================================================================
- function fResultMNG() {
- //상단정보 초기화
- appf_delPatientInfos();
- var objArg = new Object();
- objArg.arg_pid = ds_send_data.getColumn(0, "srchpid");
- frmf_modal("SMAER00400", "SMAER00400", objArg, "", "", "", "", "", "", "", "", "", "M");
- }
- //=====================================================================================================================================================================================
- // @ 팝업메뉴 - 결과관리(서식) 링크
- //=====================================================================================================================================================================================
- function fResultSerch() {
- //상단정보 초기화
-
- appf_delPatientInfos();
-
- var pid = ds_send_data.getColumn(0,"pid");
- var objParam = [{col:"srchpid", type:"string", size:10, val: pid}]
- dsf_createDsRow("ds_send_reqdata_pid", objParam, false)
-
- var objArg = new Object();
- objArg.arg_ds_send_singdata = ds_send_reqdata_pid;
- frmf_modal("SMAER00800", "SMAER00800", objArg, null, null, null, null, null, null, null, null, null, "M");
-
- }
- //=====================================================================================================================================================================================
- // @ 팝업메뉴 - 결과기록 링크 2018.11.30추가
- //=====================================================================================================================================================================================
- function fTotalRprtSrch(){
- var pid = "";
-
- if ( grp_body.group2.switch1.tabindex == 0 ) {
- pid= ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"pid");
- }
- if ( grp_body.group2.switch1.tabindex == 1 ) {
- pid= ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"pid");
- }
- if ( grp_body.group2.switch1.tabindex == 2 ) {
- pid= ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"pid");
- }
-
- if ( pid== ""){
- sysf_messageBox("통합기록조회를 검색할 환자를","C002");
- return;
- }
- //trace("pid =" +pid);
- frmf_setParameter("SMMRI00400_param_pid", pid);
- frmf_modal("SMMRI00400", "SMMRI00400", "", "", "" , "", "", "", "", "" , "", "","M");
- }
- //=====================================================================================================================================================================================
- // @ 팝업메뉴 - Progress Note
- //=====================================================================================================================================================================================
- function fProgressNote() {
- //상단정보 초기화
- appf_delPatientInfos();
-
- if (grp_body.group2.switch1.tabindex == 0 ) {
-
-
- dsf_createDsRow("ds_send_progress",
- [{col:"pid", val:ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"pid")}
- ,{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ]);
- var oParam = {};
- oParam.id = "TRAER00109";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetPatPamInfo";
- oParam.inds = "req=ds_send_progress";
- oParam.outds = "ds_progressnote=item";
- oParam.async = false;
- //oParam.callback = "cf_TRAER00109";
- tranf_submit(oParam);
-
- var pid = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"pid");
- var orddd = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"orddd");
- var cretno = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"cretno");
- var ioflag = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"prcpgenrflag");
- var orddeptcd = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"orddeptcd");
- var orddrid = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"orddrid");
- var patnm = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"hngnm");;
- var age = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"age");
- var sex = "";
- var suppdeptcd = ds_send_globalinstance.getColumn(0,"dutplcecd");
-
- frmf_setParameter("SPMMR05400_parm_pinfo", pid + "▦" + orddd + "▦" + cretno + "▦" + ioflag + "▦" + orddeptcd + "▦" + orddrid +"▦"+ patnm + "▦" + age + "▦" + sex + "▦" + suppdeptcd );
- frmf_modal("SPMMR05400", "SPMMR05400", "", "", "" , "", "", "", "", "" , "", "","M");
-
- }
- if (grp_body.group2.switch1.tabindex == 1 ) {
- dsf_createDsRow("ds_send_progress",
- [{col:"pid", val:ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"pid")}
- ,{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ]);
- var oParam = {};
- oParam.id = "TRAER00109";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetPatPamInfo";
- oParam.inds = "req=ds_send_progress";
- oParam.outds = "ds_progressnote=item";
- oParam.async = false;
- //oParam.callback = "cf_TRAER00109";
- tranf_submit(oParam);
- var pid = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"pid");
- var orddd = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"orddd");
- var cretno = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"cretno");
- var ioflag = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"prcpgenrflag");
- var orddeptcd = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"orddeptcd");
- var orddrid = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"orddrid");
- var patnm = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"hngnm");;
- var age = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"age");
- var sex = "";
- var suppdeptcd = ds_send_globalinstance.getColumn(0,"dutplcecd");
-
-
- frmf_setParameter("SPMMR05400_parm_pinfo", pid + "▦" + orddd + "▦" + cretno + "▦" + ioflag + "▦" + orddeptcd + "▦" + orddrid +"▦"+ patnm + "▦" + age + "▦" + sex + "▦" + suppdeptcd );
- frmf_modal("SPMMR05400", "SPMMR05400", "", "", "" , "", "", "", "", "" , "", "","M");
- }
- if (grp_body.group2.switch1.tabindex == 2 ) {
- dsf_createDsRow("ds_send_progress",
- [{col:"pid", val:ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"pid")}
- ,{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ]);
- var oParam = {};
- oParam.id = "TRAER00109";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetPatPamInfo";
- oParam.inds = "req=ds_send_progress";
- oParam.outds = "ds_progressnote=item";
- oParam.async = false;
- //oParam.callback = "cf_TRAER00109";
- tranf_submit(oParam);
- var pid = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"pid");
- var orddd = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"orddd");
- var cretno = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"cretno");
- var ioflag = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"prcpgenrflag");
- var orddeptcd = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"orddeptcd");
- var orddrid = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"orddrid");
- var patnm = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"hngnm");;
- var age = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"age");
- var sex = "";
- var suppdeptcd = ds_send_globalinstance.getColumn(0,"dutplcecd");
-
-
- frmf_setParameter("SPMMR05400_parm_pinfo", pid + "▦" + orddd + "▦" + cretno + "▦" + ioflag + "▦" + orddeptcd + "▦" + orddrid +"▦"+ patnm + "▦" + age + "▦" + sex + "▦" + suppdeptcd );
- frmf_modal("SPMMR05400", "SPMMR05400", "", "", "" , "", "", "", "", "" , "", "","M");
-
- }
- }
- //=====================================================================================================================================================================================
- // @ 팝업메뉴 - 환자진료정보조회
- //=====================================================================================================================================================================================
- function fOrdPrcpInfoList() {
- //상단정보 초기화
- appf_delPatientInfos();
- var child = frmf_findPopup("SMMMO02500");
- if (!utlf_isNull(child)) {
- child.ds_patinfolist.setColumn(0,"pid" , ds_patrem_selectpat.getColumn(0,"pid"));
- frmf_setParameter ( "SMMMO02500_cond" , ds_patrem_selectpat.getColumn(0,"pid"));
- child.fReqGetPatComnInfo(ds_send_reqdata, ds_patrem_selectpat.getColumn(0,"pid"));
- child.switch1.tabindex = 0;
- child.dsf_copyDs(ds_patinfolist,ds_srchinfo_patinfolist);
-
-
- child.ds_bfprcp_prcplist.clearData();
- child.ds_bfprcpday.clearData();
- child.switch1.case1.grd_prcpdd.visible = false;
- child.switch1.case1.grd_bfprcplist.position.left = 2;
- child.switch1.case1.grd_bfprcplist.position.width = 1190;
- }else{
- frmf_setParameter ( "SMMMO02500_cond" , ds_patrem_selectpat.getColumn(0,"pid"));
-
- frmf_open("SMMMO02500", "SMMMO02500", "", "", "", "", "", "", "", "", "", "", "M");
-
-
- }
- }
- /*******************************************************************************************************************************************************************/
- // @팝업메뉴 - 선택진료의 변경 2011.01.18 c y w
- /*******************************************************************************************************************************************************************/
- function fSpecdrChange() {
- // 선택진료이 "Y" 일 경우에만 변경가능.
- var idx = "";
- var ds_ordlist ;
- var tabgubn = "";
-
- if ( grp_body.group2.switch1.tabindex == 0 ) { // 전체처방
- ds_ordlist = ds_grd_ordlist1;
- idx = ds_grd_ordlist1.rowposition;
- tabgubn = "M";
- }
- if (grp_body.group2.switch1.tabindex == 3 ) { // 대상자조회
- ds_ordlist = ds_grd_ordlist6;
- idx = ds_grd_ordlist6.rowposition;
- tabgubn = "R";
- }
- if (grp_body.group2.switch1.tabindex == 2 ) { // 미예약
- ds_ordlist = ds_grd_ordlist6;
- idx = ds_grd_ordlist6.rowposition;
- tabgubn = "N";
- }
-
- //var nodeList = instance1.selectNodes("/root/main/"+ ordlist +"/mainordlist[check='true']");
- //var rCSV = getNodeListCSV(nodeList);
-
- if (ds_ordlist.getCaseCount("check=='1'") == 0 ) {
- sysf_messageBox("처방내역을","C002");
- }else {
- if(ds_ordlist.getColumn(idx,"choiordflag") == "Y" ) {
- if( ds_ordlist.getColumn(idx,"execprcpstatcd") <= 440 ) {
-
- var ipdopd = "";
-
- if( !utlf_isNull(ds_ordlist.getColumn(idx,"roomcd")) ){ //입원
- ipdopd = "I";
- }else{
- ipdopd = "O";
- }
-
- dsf_createDsRow("ds_send_setspecdrcd",
- [{col:"prcpdd", val:ds_ordlist.getColumn(idx,"prcpdd")}
- ,{col:"pid", val:ds_ordlist.getColumn(idx,"pid")}
- ,{col:"execprcpuniqno", val:ds_ordlist.getColumn(idx,"execprcpuniqno")}
- ,{col:"specdrid", val:ds_ordlist.getColumn(idx,"specdrid")}
- ,{col:"basesuppdeptcd", val:ds_ordlist.getColumn(idx,"basesuppdeptcd")}
- ,{col:"prcpno", val:ds_ordlist.getColumn(idx,"prcpno")}
- ,{col:"prcphistno", val:ds_ordlist.getColumn(idx,"prcphistno")}
- ,{col:"cretno", val:ds_ordlist.getColumn(idx,"cretno")}
- ,{col:"orddd", val:ds_ordlist.getColumn(idx,"orddd")}
- ,{col:"orddeptcd", val:ds_ordlist.getColumn(idx,"orddeptcd")}
- ,{col:"orddrid", val:ds_ordlist.getColumn(idx,"orddrid")}
- ,{col:"calcscorcd", val:ds_ordlist.getColumn(idx,"calcscorcd")}
- ,{col:"ioflag", val:ipdopd}
- ]);
-
-
-
- var oParam = {};
- oParam.id = "TXAEA01512";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqSetExchangeExcuSpecdrCd";
- oParam.inds = "reqparam=ds_send_setspecdrcd";
- oParam.outds = "ds_hidden_item=item";
- oParam.async = false;
- oParam.callback = "cf_TXAEA01512";
- tranf_submit(oParam);
-
- fGetExamCureAcptList(tabgubn);
- }else{
- sysf_messageBox("선택진료의 변경은 미예약, 예약의 경우에만", "I006");
- return;
- }
- } else {
- sysf_messageBox("선택진료일 경우에만 변경이", "I006");
- return;
- }
- }
-
- }
- function cf_TXAEA01512(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- /*******************************************************************************************************************************************************************/
- // 지정검사의 변경 2018.01.18 kya
- /*******************************************************************************************************************************************************************/
- function fSelectdrChange() {
-
- var idx = "";
- var ds_ordlist ;
- var tabgubn = "";
-
- if ( grp_body.group2.switch1.tabindex == 0 ) { // 전체처방
- ds_ordlist = ds_grd_ordlist1;
- idx = ds_grd_ordlist1.rowposition;
- tabgubn = "M";
- }
- if (grp_body.group2.switch1.tabindex == 3 ) { // 대상자조회
- ds_ordlist = ds_grd_ordlist6;
- idx = ds_grd_ordlist6.rowposition;
- tabgubn = "R";
- }
- if (grp_body.group2.switch1.tabindex == 2 ) { // 미예약
- ds_ordlist = ds_grd_ordlist6;
- idx = ds_grd_ordlist6.rowposition;
- tabgubn = "N";
- }
-
- //var nodeList = dutplcecd.selectNodes("/root/main/"+ ordlist +"/mainordlist[check='true']");
- //var rCSV = getNodeListCSV(nodeList);
-
- if (ds_ordlist.getCaseCount("check=='1'") == 0 ) {
- sysf_messageBox("처방내역을","C002");
- }else {
- //if(ds_ordlist.getColumn(idx,"choiordflag") == "Y" ) {
- if( ds_ordlist.getColumn(idx,"execprcpstatcd") <= 440 ) {
-
- var ipdopd = "";
-
- if( !utlf_isNull(ds_ordlist.getColumn(idx,"roomcd")) ){ //입원
- ipdopd = "I";
- }else{
- ipdopd = "O";
- }
-
- dsf_createDsRow("ds_send_setselectdrcd",
- [{col:"prcpdd", val:ds_ordlist.getColumn(idx,"prcpdd")}
- ,{col:"pid", val:ds_ordlist.getColumn(idx,"pid")}
- ,{col:"execprcpuniqno", val:ds_ordlist.getColumn(idx,"execprcpuniqno")}
- ,{col:"selectdrid", val:ds_ordlist.getColumn(idx,"selectdrid")}
- ,{col:"basesuppdeptcd", val:ds_ordlist.getColumn(idx,"basesuppdeptcd")}
- ,{col:"prcpno", val:ds_ordlist.getColumn(idx,"prcpno")}
- ,{col:"prcphistno", val:ds_ordlist.getColumn(idx,"prcphistno")}
- ,{col:"cretno", val:ds_ordlist.getColumn(idx,"cretno")}
- ,{col:"orddd", val:ds_ordlist.getColumn(idx,"orddd")}
- ,{col:"orddeptcd", val:ds_ordlist.getColumn(idx,"orddeptcd")}
- ,{col:"orddrid", val:ds_ordlist.getColumn(idx,"orddrid")}
- ,{col:"calcscorcd", val:ds_ordlist.getColumn(idx,"calcscorcd")}
- ,{col:"execdd", val:utlf_getCurrentDate()}
- ,{col:"ioflag", val:ipdopd}
- ]);
-
-
-
- var oParam = {};
- oParam.id = "TXAEA01513";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqSetExchangeExcuSelectdrCd";
- oParam.inds = "reqparam=ds_send_setselectdrcd";
- oParam.outds = "ds_hidden_item=item";
- oParam.async = false;
- oParam.callback = "cf_TXAEA01513";
- tranf_submit(oParam);
-
- acptlistflag = tabgubn;
- fGetExamCureAcptList();
- }else{
- sysf_messageBox("지정검사의 변경은 미예약, 예약의 경우에만", "I006");
- return;
- }
- //} else {
- // sysf_messageBox("선택진료일 경우에만 변경이", "I006");
- // return;
- //}
- }
-
- }
- function cf_TXAEA01513(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
-
- //=====================================================================================================================================================================================
- // @ 팝업메뉴 - 마약관리
- //=====================================================================================================================================================================================
- function fDrugMNG() {
- //상단정보 초기화
- appf_delPatientInfos();
-
- var sParam="";
-
- if ( grp_body.group2.switch1.tabindex == 0 ) {
- var prcpgenrflag = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"prcpgenrflag");
- }
-
- if ( grp_body.group2.switch1.tabindex == 1 ) {
- var prcpgenrflag = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"prcpgenrflag");
- }
- if (grp_body.group2.switch1.tabindex == 2 ) {
- var prcpgenrflag = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"prcpgenrflag");
- }
-
- if( prcpgenrflag == "E" ) {
- sParam = "I,esop";
-
- }
- if( prcpgenrflag == "S" ) {
- sParam = "O";
- }
- if( prcpgenrflag == "O" ) {
- sParam = "O";
- }
- if( prcpgenrflag == "I" ) {
- sParam = "I,esop";
- }
-
- frmf_setParameter("Narc_Menu_Param", sParam);
- frmf_open("SMADT30400", "SMADT30400", "","","", "","", "","","", "","","M");
-
- //model.setAttribute("Narc_Menu_Param", sParam);
- //modal("SMADT30400",0,200,200,"","");fOrdPrcpInfoList
- //model.setAttribute("Narc_Menu_Param", "");
-
- //modal("SMADT30400","","","","","/root/main/subordlist/subordlist1/pid","/root/temp/srchinfo/srchpid");
- }
- //=====================================================================================================================================================================================
- // @ 팝업메뉴 - 외래진료예약 팝업
- //=====================================================================================================================================================================================
- function fOutRsrv(){
- var objArg = new Object();
- objArg.pid = ds_send_data.getColumn(0, "srchpid");
- frmf_modal("SMPMO00300", "SMPMO00300", objArg, "", "", "", "", "", "", "", "", "", "M");
- }
-
- //=====================================================================================================================================================================================
- // @ 팝업메뉴 - 동의서및기타출력서식 팝업
- //=====================================================================================================================================================================================
- function fAgreeForm(){
- if (grp_body.group2.switch1.tabindex == 0 ) {
- lf_aezfOcrListPrint(grp_body.group2.switch1.case1.grd_ordlist1, ds_grd_ordlist1.rowposition, "pid", "orddd", "orddeptcd", "orddepthngnm", "orddrid", "orddrnm", "prcpgenrflag", "hngnm", "roomcd", "rrgstno1", "rrgstno2", "cretno");
- }
- if ( grp_body.group2.switch1.tabindex == 1 ) {
- lf_aezfOcrListPrint(grp_body.group2.switch1.case4.grd_ordlist4, ds_grd_ordlist4.rowposition, "pid", "orddd", "orddeptcd", "orddepthngnm", "orddrid", "orddrnm", "prcpgenrflag", "hngnm", "roomcd", "rrgstno1", "rrgstno2", "cretno");
- }
- if (grp_body.group2.switch1.tabindex == 2 ) {
- lf_aezfOcrListPrint(grp_body.group2.switch1.case6.grd_ordlist6, ds_grd_ordlist6.rowposition, "pid", "orddd", "orddeptcd", "orddepthngnm", "orddrid", "orddrnm", "prcpgenrflag", "hngnm", "roomcd", "rrgstno1", "rrgstno2", "cretno");
- }
- }
- //=====================================================================================================================================================================================
- // @ 팝업메뉴 - 동의서및기타출력서식 반납 팝업
- //=====================================================================================================================================================================================
- function fAgreeFormPrnt(){
-
- if (grp_body.group2.switch1.tabindex == 0 ) {
- var pid = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"pid");
- var orddd = ds_grd_ordlist1.getColumn(ds_grd_ordlist1.rowposition,"orddd");
- }
- if (grp_body.group2.switch1.tabindex == 1 ) {
- var pid = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"pid");
- var orddd = ds_grd_ordlist4.getColumn(ds_grd_ordlist4.rowposition,"orddd");
- }
- if (grp_body.group2.switch1.tabindex == 2 ) {
- var pid = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"pid");
- var orddd = ds_grd_ordlist6.getColumn(ds_grd_ordlist6.rowposition,"orddd");
- }
- var child = frmf_findPopup("SMMRF02600") ;
- if (!utlf_isNull(child)) {
- frmf_setParameter("SMRF02600_Param", "PID▦ORDDD▩"+pid+"▦"+orddd);
- var ev = new ClickEventInfo;
- child.frmf_inputEnterKey("group1.btn_search", "onclick", ev );
- }else{
- frmf_setParameter("SMRF02600_Param", "PID▦ORDDD▩"+pid+"▦"+orddd);
- frmf_modal("SMMRF02600","SMMRF02600", "", "", "" , "", "", "", "", "" , "", "","M");
- }
-
- }
- //=====================================================================================================================================================================================
- // @ 팝업메뉴 - 예약증 출력
- //=====================================================================================================================================================================================
- function fRsrvPrint() {
- //20130702 kya 예약증 초기화
- //start
- var pCalcscorcd = ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"calcscorcd");
- var pSuppdeptcd = ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"prcpexecdeptcd");
-
- ds_send_data.setColumn(0,"prntcalcscorcd",pCalcscorcd);
- ds_send_data.setColumn(0,"prntsuppdeptcd",pSuppdeptcd);
- //end
- dsf_createDs("ds_temp_send");
- dsf_copyDs(ds_temp_send,ds_send_data);
- ds_temp_send.updateColID("prntcalcscorcd","excucd");
- ds_temp_send.updateColID("prntsuppdeptcd","suppdeptcd");
-
-
- var oParam = {};
- oParam.id = "TRAEA01126";
- oParam.service = "examcurebaseapp.ExmpTmpl";
- oParam.method = "reaGetRsrvTmplList";
- oParam.inds = "req=ds_temp_send";
- oParam.outds = "ds_tmplinfo=tmplinfo";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01126";
- tranf_submit(oParam);
-
- var srchrsrvdt = ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"srchrsrvdt");
- var tmpldata = ds_tmplinfo.getColumn(0,"tmpldata");
- var pid = ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"pid");
- var hngnm = ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"hngnm");
- var year = srchrsrvdt.substr(0,4);
- var month = srchrsrvdt.substr(4,2);
- var day = srchrsrvdt.substr(6,2);
- var week = srchrsrvdt.substr(0,8).toDate().getDayOfWeek("K");
- var hh = srchrsrvdt.substr(8,2);
- var mm = srchrsrvdt.substr(10,2);
- var prcpnm = ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"prcpnm");
-
- if(!utlf_isNull(tmpldata)) {
- //1. 예약예문내용을 뷰어로 보여주기
- grp_body.rtfviewer.TextRtf = tmpldata;
-
- //2. 바꾸기
- grp_body.rtfviewer.ReplaceRtfCode("pid",pid); //등록번호
- grp_body.rtfviewer.ReplaceRtfCode("patnm",hngnm); //성명
- grp_body.rtfviewer.ReplaceRtfCode("year",year); //년
- grp_body.rtfviewer.ReplaceRtfCode("month",month); //월
- grp_body.rtfviewer.ReplaceRtfCode("day",day); //일
- grp_body.rtfviewer.ReplaceRtfCode("week",week); //요일
- grp_body.rtfviewer.ReplaceRtfCode("hh",hh); //시
- grp_body.rtfviewer.ReplaceRtfCode("mm",mm); //분
- grp_body.rtfviewer.ReplaceRtfCode("age",ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"age"));
- grp_body.rtfviewer.ReplaceRtfCode("sex",ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"sna").substr(0, 1));
- grp_body.rtfviewer.ReplaceRtfCode("orddeptcd",ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"orddepthngnm"))
- grp_body.rtfviewer.ReplaceRtfCode("orddrid",ds_grd_rsrvlist.getColumn(ds_grd_rsrvlist.rowposition,"orddrnm"))
- grp_body.rtfviewer.ReplaceRtfCode("prcpnm",prcpnm); //처방명 2011.05.02
-
- //3. 현재내용을 파일에 저장
- grp_body.rtfviewer.SaveRtfFile();
-
- //4. 출력
- grp_body.rtfviewer.Print();
- //5. 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- fInitialize();
- }
- else {
- sysf_messageBox("등록된 예약예문이 ", "I004");
- return "0";
- }
- }
- function cf_TRAEA01126(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function fSetWaitExcuRoomPatList() {
-
- var dutplceinstcd = sysf_getUserInfo("dutplceinstcd");
- var waitroomcdinstcd = ds_init_A0608.getColumn(0,"cdid");
- var waitroomcdyn = ds_init_A0608.getColumn(0,"cdnm");
- if ( dutplceinstcd == waitroomcdinstcd && waitroomcdyn != "Y") {
- sysf_messageBox("등록된 대기자시스템이", "I004");
- return;
- }
- var schelistcnt = ds_grd_rsrvlist.rowposition;
- var instcd = sysf_getUserInfo("dutplceinstcd"); // 기관코드
- var pid = ds_grd_rsrvlist.getColumn(schelistcnt,"pid"); // 환자등록번호
- var orddd = utlf_getCurrentDate(); // 진료일자
- var orddeptcd = ds_send_globalinstance.getColumn(0,"dutplcecd"); // 지원부서코드
- var ordroomcd = ds_grd_rsrvlist.getColumn(schelistcnt,"excuroomcd"); // 검사실코드
- var orddrid = ds_grd_rsrvlist.getColumn(schelistcnt,"orddrid"); // 진료의ID
- var ordrsrvtm = utlf_getCurrentTime().substring(0,4); // 진료예약시간
- var ordrsrvseqno = schelistcnt; // 진료예약순서
- var dayflag = "Y"; // 당일구분
-
- dsf_createDsRow("ds_temp_ordschelistinfo",
- [{col:"chk", val:"1"}
- ,{col:"instcd", val:instcd}
- ,{col:"pid", val:pid}
- ,{col:"orddd", val:orddd}
- ,{col:"orddeptcd", val:orddeptcd}
- ,{col:"ordroomcd", val:ordroomcd}
- ,{col:"orddrid", val:orddrid}
- ,{col:"ordrsrvtm", val:ordrsrvtm}
- ,{col:"ordrsrvseqno", val:"1"}
- ,{col:"dayflag", val:dayflag}
- ]);
-
-
- // 검사실 전광판 대기 환자 등록 인터페이스 정보
- fSaveExcuRoomPatList(ds_temp_ordschelistinfo);
-
- }
- function fGetAlarmNotify(){
- dataClear();
-
- ds_send_data.setColumn(0,"srchdate1",utlf_getCurrentDate());
- ds_send_data.setColumn(0,"srchdate2",utlf_getCurrentDate());
- ds_send_data.setColumn(0,"srchpid","");
-
- lf_btn_Selected(3);
- grp_body.group2.switch1.tabindex = 2;
-
- fGetExamCureAcptList("N"); // 미시행검사
- tabgubn = "N";
-
-
- //환자Comment 환자정보 조회
- dsf_createDsRow("ds_send_tmp",
- [{col:"suppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
- ,{col:"ecgflag", val:ds_send_data.getColumn(0,"ecgflag")}
- ,{col:"excuroomcd", val:ds_send_data.getColumn(0,"excuroomcd")}
- ,{col:"memorgstdd", val:ds_send_data.getColumn(0,"rsrvdd")}
- ,{col:"pid", val:ds_send_data.getColumn(0,"srchpid")}
- ,{col:"orddd", val:ds_send_data.getColumn(0,"orddd")}
- ,{col:"prcpgenrflag", val:ds_send_data.getColumn(0,"genrflag")}
- ,{col:"prcpcd", val:ds_send_data.getColumn(0,"prcpcd")}
- ,{col:"rsrvposs", val:ds_send_data.getColumn(0,"rsrvposs")}
- ,{col:"prcpno", val:ds_send_data.getColumn(0,"prcpno")}
- ,{col:"prcpdd", val:ds_send_data.getColumn(0,"prcpdd")}
- ,{col:"srchrsrvdt", val:ds_send_data.getColumn(0,"centyn")}
- ,{col:"execprcpuniqno", val:ds_send_data.getColumn(0,"execprcpuniqno")}
- ,{col:"cmtflag", val:""}
- ,{col:"memorgstddprcpdd", val:""}
- ]);
-
-
- //환자Comment 환자정보 조회
- var oParam = {};
- oParam.id = "TRAEA01114";
- oParam.service = "examcureacptexecapp.PatRem";
- oParam.method = "reqGetFuncPatRemList";
- oParam.inds = "reqparam=ds_send_tmp";
- oParam.outds = "ds_patrem_grdAeahMemoList=grdAeahMemoList ds_patrem_examcureexecdiaglist=examcureexecdiaglist ds_patrem_selectpat=sltpatinfolist ds_patrem_isolinfo=patisolinfolist ds_patrem_prcpdeliveinfo=prcpdeliveinfolist ds_patrem_rsrvpossexcuroomlist=rsrvpossexcuroomlist";
- oParam.async = false;
-
- tranf_submit(oParam);
-
- if(ds_patrem_prcpdeliveinfo.rowcount ==0)
- {
- ds_patrem_prcpdeliveinfo.addRow();
- }
- grp_body.cpt_isolinfo.text = "";
-
- var cnt = 0;
- for(var i = 0 ; i <ds_grd_ordlist6.rowcount; i++ ) {
- if( ds_grd_ordlist6.getColumn(i,"execprcpstatcd") <= "230" && utlf_isNull(ds_grd_ordlist6.getColumn(i,"srchrsrvdt"))) {
- ds_grd_ordlist6.setColumn(i,"check", "1" );
- ds_grd_ordlist6.setColumn(i,"srchrsrvdt", utlf_getCurrentDate() + utlf_getCurrentDate().substr(0,4) );
- ds_grd_ordlist6.setColumn(i,"rsrvdt", utlf_getCurrentDate() + utlf_getCurrentTime().substr(0,4) );
- cnt++;
- }
- }
- dsf_createDs("ds_temp_search");
- ds_grd_ordlist6.filter("check=='1'");
- ds_temp_search.copyData(ds_grd_ordlist6,true);
-
- if(ds_temp_search.rowcount > 0 ) {
-
- ds_temp_search.addColumn("flag","string");
- //ds_temp_search.addColumn("basesuppdeptcd","string");
- ds_temp_search.setColumn(0,"flag","rsrv");
- ds_temp_search.setColumn(0,"basesuppdeptcd",ds_send_globalinstance.getColumn(0,"dutplcecd") );
-
-
- var oParam = {};
- oParam.id = "TXAEA01101";
- oParam.service = "examcurersrvapp.SytsRsrv";
- oParam.method = "reqExcuRsrv";
- oParam.inds = "req=ds_temp_search";
- oParam.outds = "ds_hidden_item=item";
- oParam.transaction = false;
- oParam.async = false;
- //oParam.callback = "cf_TXAEA01101";
- tranf_submit(oParam);
-
-
- }
-
- fGetExamCureAcptList("N"); //미시행처방
- initCalendar();
- //setCellColor(grd_calendar);
- getRsrvPossTm(grd_calendar);
-
- }
- //--=========================================================================================================
- // 팝메뉴 - 내시경-바코드출력 과 동일 , 채혈바코드출력 때문에 함수이름변경 2011-11-24 라벨출력 by kya
- //--=========================================================================================================
- function fPrintLabel() {
-
- var ds_grd = ds_grd_ordlist1;
- var row_idx = ds_grd_ordlist1.rowposition;
- if ( grp_body.group2.switch1.tabindex == 0 ) { //전체처방탭
- var ds_grd = ds_grd_ordlist1;
- var row_idx = ds_grd_ordlist1.rowposition;
- }
-
- if ( grp_body.group2.switch1.tabindex == 1 ) { //검사완료탭
- var ds_grd = ds_grd_ordlist4;
-
- var row_idx = ds_grd_ordlist4.rowposition;
- }
- if ( grp_body.group2.switch1.tabindex == 2) { //미예약탭
- var ds_grd = ds_grd_ordlist6;
-
- var row_idx = ds_grd_ordlist6.rowposition;
- }
- if (grp_body.group2.switch1.tabindex == 3 ) { //미예약탭
- var grd = "grd_ordlist6";
- var list = "ordlist6" ;
- var row_idx = grd_ordlist6.row;
- }
- var pid = ds_grd.getColumn(row_idx,"pid")
-
- if ( utlf_isNull(pid) ) {
- sysf_messageBox("처방목록이 선택되지 ", "E007");
- return;
- }
- ds_rexbarcode.clearData();
- ds_rexbarcode.addRow();
- ds_rexbarcode.setColumn(0,"pid", ds_grd.getColumn(row_idx,"pid"));
- ds_rexbarcode.setColumn(0,"patnm", ds_grd.getColumn(row_idx,"hngnm"));
- ds_rexbarcode.setColumn(0,"prcpnm", ds_grd.getColumn(row_idx,"prcpnm"));
- ds_rexbarcode.setColumn(0,"gbn", "");
- ds_rexbarcode.setColumn(0,"rrgstno1", ds_grd.getColumn(row_idx,"rrgstno1"));
- ds_rexbarcode.setColumn(0,"rrgstno2", "");
- ds_rexbarcode.setColumn(0,"rsrvdd", "");
- ds_rexbarcode.setColumn(0,"sex", ds_grd.getColumn(row_idx,"sna"));
- ds_rexbarcode.setColumn(0,"age", "");
- ds_rexbarcode.setColumn(0,"wardcddeptengabbr", ds_grd.getColumn(row_idx,"prcpgenrflag"));
- ds_rexbarcode.setColumn(0,"excupartcd", "");
- ds_rexbarcode.setColumn(0,"roomcd",ds_grd.getColumn(row_idx,"roomcd"));
- ds_rexbarcode.setColumn(0,"examroomnm", ds_grd.getColumn(row_idx,"orddrnm"));
- ds_rexbarcode.setColumn(0,"wardcdnm", ds_grd.getColumn(row_idx,"orddepthngnm"));
- ds_rexbarcode.setColumn(0,"prcphopedd", ds_grd.getColumn(row_idx,"prcpdd"));
-
-
- rptf_printRexbar("RPAEA01502","","/root/rexsend/rexbarcode",ds_rexbarcode);
- }
- //=====================================================================================================================================================================================
- // @ 팝업메뉴 - 처방내역 출력
- //=====================================================================================================================================================================================
- function fPrcpRexList() {
- if (grp_body.group2.switch1.tabindex == 2 ) {
- var check = "";
- var pid = "";
- var prcpdd = "";
- var pidold = "";
- var prcpddold = "";
- var prcpno = "";
- var prcpnoreal = "";
-
-
- for( var i = 0 ; i < ds_grd_ordlist6.rowcount ; i++ ) {
- check = ds_grd_ordlist6.getColumn(i,"check");
- pid = ds_grd_ordlist6.getColumn(i,"pid");
- prcpdd = ds_grd_ordlist6.getColumn(i,"prcpdd");
- prcpno = ds_grd_ordlist6.getColumn(i,"prcpno");
-
- if ( check == "1" ) {
- if(utlf_isNull(pidold)){
- pidold = pid;
- prcpddold = prcpdd;
- prcpnoreal = prcpnoreal + prcpno;
- }else {
- if(pid == pidold && prcpdd == prcpddold){
- pidold = pid;
- prcpddold = prcpdd;
- prcpnoreal = prcpnoreal + " " + prcpno;
- }else {
- dsf_createDsRow("ds_req",
- [{col:"pid", val:pidold}
- ,{col:"prcpdd", val:prcpddold}
- ,{col:"prcpno", val:prcpnoreal}
- ]);
-
- ds_send_data.setColumn(0,"rexpid",pidold);
- ds_send_data.setColumn(0,"rexprcpdd",prcpddold);
- ds_send_data.setColumn(0,"rexprcpno",prcpnoreal);
-
- var oParam = {};
- oParam.id = "TRAEA01134";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpRexList";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_datagrid2=item";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01134";
- tranf_submit(oParam);
-
- //exeReportPreview("RPAEA01105","XMLSTR");
- prcpnoreal = "";
- pidold ="";
- prcpddold = "";
-
- pidold = pid;
- prcpddold = prcpdd;
- prcpnoreal = prcpnoreal + "" + prcpno
- }
-
- }
- }
-
-
- }
-
- dsf_createDsRow("ds_req",
- [{col:"pid", val:pidold}
- ,{col:"prcpdd", val:prcpddold}
- ,{col:"prcpno", val:prcpnoreal}
- ]);
- ds_send_data.setColumn(0,"rexpid",pidold);
- ds_send_data.setColumn(0,"rexprcpdd",prcpddold);
- ds_send_data.setColumn(0,"rexprcpno",prcpnoreal);
-
- var oParam = {};
- oParam.id = "TRAEA01134";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpRexList";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_datagrid2=item";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01134";
- tranf_submit(oParam);
- }
- }
- function cf_TRAEA01134(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "root/main/rexlist/prcpdetllist", ds_datagrid2);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
- rptf_exeReportPreview30(["RPAEA01105"],[objParam], option);
-
- }
- function grp_body_group2_switch1_datagrid_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row < 0) return;
-
- var selectedRows = grdf_getSelectedRows(obj);
-
- if(selectedRows.length < 2) return;
-
- appf_delPatientInfos();
-
- for (var i = 0; i < obj.rowcount; i++){
- objects[obj.binddataset].setColumn(i, "check", "0");
- }
-
- for (var i = 0; i < selectedRows.length; i++){
- objects[obj.binddataset].setColumn(selectedRows[i], "check", "1");
- }
- }
- function grp_body_group5_grd_rsrvlist_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- obj.updateToDataset(); //변경된 사항을 바로 적용받도록함. 2018.01.24 kya
-
- if(e.row < 0 || e.col < 0) return;
-
- obj.setFocus();
- grdf_setSelectedCell(obj, e);
-
- this.PopupMenu02.trackPopup(e.screenX,e.screenY);
-
- return true;
- }
- function grp_body_group2_switch1_case1_grd_ordlist1_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- obj.updateToDataset(); //변경된 사항을 바로 적용받도록함. 2018.01.24 kya
- if(e.row < 0 || e.col < 0) return;
-
- obj.setFocus();
- grdf_setSelectedCell(obj, e);
-
-
- PopupMenu00.trackPopup(e.screenX,e.screenY);
-
- return true;
- }
- function grp_body_group2_switch1_grid_onmousemove(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row > -1 && (e.col == obj.getBindCellIndex("body","specdrid") || e.col == obj.getBindCellIndex("body","excuroomcd"))) obj.autoenter = "select";
- else obj.autoenter = "key";
- }
- function grp_body_group2_btn_inpt_onclick(obj:Button, e:ClickEventInfo)
- {
- //var topPamInfo = sysf_getGlobalVariable("paminfo");
- //if(!utlf_isNull(topPamInfo) && topPamInfo.length != 0) {
- // dsf_setCSVToDs("ds_temp_paminfo", topPamInfo);
- // sTopPid = ds_temp_paminfo.getColumn(0, "pid");
- //}
-
- //20180813 추가
- var srchpid = ds_send_data.getColumn(0,"srchpid");
- if (ds_send_data.rowcount < 0 || utlf_isNull(srchpid)) {
- sysf_messageBox("처방 선택 후 작업하시기 바랍니다.", "I000");
- return; // 외래환자일경우만
- }
-
- var statcd = ds_send_data.getColumn(0,"execprcpstatcd");
- if ( statcd < "610") {
- sysf_messageBox("처방실시 후 작업하시기 바랍니다.", "I000");
- return;
- }
-
-
-
- var genrflag = ds_send_data.getColumn(0,"genrflag");
- if ( utlf_isNull(genrflag) || genrflag != "O" ) {
- sysf_messageBox("입퇴실관리는 수면다원검사 외래환자만 가능합니다.", "I000");
- return; // 외래환자일경우만
- }
- frmf_setParameter('SMPMI00101_PID', appf_getPatientId() ); // 등록번호
- frmf_setParameter('SMPMI00101_FLAG', "T"); // 검사실은 ‘T’로 보내주세요
- // 입실퇴실관리화면 연동
- frmf_modal("SMPMI00101", "SMPMI00101", '', "", '', '', '', "", "", "", "", "", "M");
- }
- function div_directsms_btn_closesms_onclick(obj:Button, e:ClickEventInfo)
- {
- div_directsms.visible = false;
- }
- function div_directsms_btn_sendsms_onclick(obj:Button, e:ClickEventInfo)
- {
- if (sysf_messageBox("문자를 전송하시겠습니까?", "Q999") != 6) {
- return;
- }
-
- var pid = ds_patrem_selectpat.getColumn(0, "pid");
- trace("pid = " + pid);
-
- var hngnm = ds_patrem_selectpat.getColumn(0, "hngnm");
- var tel = ds_patrem_selectpat.getColumn(0, "mpphontel");
-
- for (var i = 0; i < ds_hidden_sms.rowcount; i++) {
- var msg = ds_hidden_sms.getColumn(i, "msgcnts");
- var deptcd = ds_hidden_sms.getColumn(i, "orddeptcd");
- fSmsSend(msg, pid, hngnm, tel, deptcd, "03");
- }
-
- sysf_messageBox("문자를 전송하였습니다.", "I999");
- }
- function grp_body_group2_btn_directsms_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_hidden_sms.clearData();
-
- var pid = ds_patrem_selectpat.getColumn(0, "pid");
- var hngnm = ds_patrem_selectpat.getColumn(0,"hngnm");
- var hosp = "";
-
- if (sysf_getUserInfo("dutplceinstcd") == "031") {
- hosp = "경북대병원";
- } else if (sysf_getUserInfo("dutplceinstcd") == "032") {
- hosp = "칠곡경북대병원";
- } else if (sysf_getUserInfo("dutplceinstcd") == "033") {
- hosp = "경북대치과병원";
- }
-
- var ds_ordlist ;
-
-
- if ( grp_body.group2.switch1.tabindex == 0 ) { // 전체처방
- ds_ordlist = ds_grd_ordlist1;
- idx = ds_grd_ordlist1.rowposition;
- }
- if (grp_body.group2.switch1.tabindex == 3 ) { // 대상자조회
- ds_ordlist = ds_grd_ordlist3;
- idx = ds_grd_ordlist3.rowposition;
- }
- if (grp_body.group2.switch1.tabindex == 2 ) { // 미예약
- ds_ordlist = ds_grd_ordlist6;
- idx = ds_grd_ordlist6.rowposition;
- }
-
-
- var idx = 0;
- for (var i = 0; i < ds_ordlist.rowcount; i++) {
-
- if (ds_ordlist.getColumn(i, "check") != 1 ) {
- continue;
- }
-
- if (ds_ordlist.getColumn(i, "statcd") != "예약" ) {
- sysf_messageBox("예약인 경우에만 문자전송이 가능합니다.", "E999");
- return;
- }
-
- idx++;
-
- var idx = ds_hidden_sms.addRow();
-
- ds_hidden_sms.setColumn(idx, "orddeptcd", ds_ordlist.getColumn(i, "orddeptcd"));
-
- var rsrvdt = ds_ordlist.getColumn(i, "srchrsrvdt");
- var aftrcptinfo = ds_ordlist.getColumn(i, "aftrcptinfo");
- var roomnm = ds_ordlist.getColumn(i, "examroomnm").trim();
- var deptcd = ds_ordlist.getColumn(i, "orddeptcd");
-
- var msg = hosp + " "
- + hngnm
- + "(" + pid + ")님 "
- + rsrvdt.substr(4, 2) + "/" + rsrvdt.substr(6, 2)
- + ( aftrcptinfo == "A" ? " 수납후 방문 " : " 방문 " )
- + rsrvdt.substr(8, 2) + ":" + rsrvdt.substr(10, 2) + " "
- + roomnm;
-
- ds_hidden_sms.setColumn(idx, "msgcnts", msg);
- ds_hidden_sms.setColumn(idx, "orddeptcd", deptcd);
- }
-
- if (ds_hidden_sms.rowcount < 1) {
- sysf_messageBox("선택된 내역이 없습니다.", "E999");
- return;
- }
-
- div_directsms.visible = true;
- }
- function grp_body_group2_switch1_case1_chk_ordall_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
- {
- if(e.postvalue == true)
- {
- for (var i = 0; i < ds_grd_ordlist1.rowcount; i ++){
- ds_grd_ordlist1.setColumn(i,"check", "1");
- }
- }
- else
- {
- for (var i = 0; i < ds_grd_ordlist1.rowcount; i ++){
- ds_grd_ordlist1.setColumn(i,"check", "0");
- }
- }
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : grp_sea.ipt_pid
- * Event : onkeyup
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 20200123 코로나바이러스 알림 호출 pid= '2199411'
- ****************************************************************************************/
- function fc_check_coronavirus()
- { //20200123 코로나바이러스 알림 호출 pid= '2199411'
-
- //select * from ast.aebmcode where instcd = '031' and suppdeptcd = '0000000000' and grupcdid = 'A100' ;
- lf_getAstCodeList([{dsNm: "ds_init_A1000", cdGrpId:"A1000", sortField: "dispseq", sortMehotd: "asc"}], true);
-
- var curddyn = ds_init_A1000.getColumn(1, "cdid"); //2번째 row 여서...
- //trace("curddyn = " + curddyn);
-
- if ( curddyn == 'Y') {
- var sPid = ds_send_data.getColumn(0, "srchpid");
- if (sPid == "" || utlf_isNull(sPid) ) return;
- frmf_setParameter("SPMMD00100_ifyn", "Y");
- frmf_setParameter("SPMMD00100_pid", sPid);
- var argxpt = system.clientToScreenX(this, 0) + 300;
- var argypt = system.clientToScreenY(this, 0) + 100;
-
- frmf_modal("SPMMO51000", "SPMMO51000", null, false, null, argxpt, argypt, null, null, null, null, null, "M");
- }
- }
- function grp_top_caption9_onclick(obj:Static, e:ClickEventInfo)
- {
- frmf_open("SMAER00010","SMAER00010", "", "", "" , "", "", "", "", "" , "", "","M");
- }
- ]]></Script>
- </Form>
- </FDL>
|