SMMNP00700_회복실간호기록.xfdl 510 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNP00700" position="absolute 0 0 1200 760" titletext="회복실간호기록" onload="SMMNP00700_onload" ontimer="SMMNP00700_ontimer">
  5. <Layouts>
  6. <Layout>
  7. <Tab id="switch1" anchor="all" taborder="17" onchanged="switch1_onchanged" tabindex="1" position="absolute 0 226 1200 746">
  8. <Tabpages>
  9. <Tabpage id="case2" text="회복간호기록Ⅱ">
  10. <Layouts>
  11. <Layout>
  12. <TextArea id="textarea3" taborder="122" wordwrap="both" enable="false" position="absolute 940 344 1200 407" anchor="left top right"/>
  13. <TextArea id="textarea2" taborder="123" wordwrap="both" position="absolute 940 408 1200 466" anchor="left top right"/>
  14. <Grid id="datagrid7" taborder="124" binddataset="ds_main_MnphrecoData_MnphrecoList_pataddtool_pataddlists_pataddlist" useinputpanel="false" autofittype="col" visible="false" position="absolute 885 218 1200 272" anchor="all">
  15. <Formats>
  16. <Format id="default">
  17. <Columns>
  18. <Column size="0"/>
  19. <Column size="348"/>
  20. <Column size="0"/>
  21. <Column size="115"/>
  22. <Column size="115"/>
  23. <Column size="0"/>
  24. <Column size="0"/>
  25. </Columns>
  26. <Rows>
  27. <Row size="24" band="head"/>
  28. <Row size="24"/>
  29. </Rows>
  30. <Band id="head">
  31. <Cell/>
  32. <Cell col="1" text="장비명"/>
  33. <Cell col="2" text="No."/>
  34. <Cell col="3" text="사용시작일시"/>
  35. <Cell col="4" text="사용종료일시"/>
  36. <Cell col="5" text="goodmodel"/>
  37. <Cell col="6" text="goodspec"/>
  38. </Band>
  39. <Band id="body">
  40. <Cell text="bind:fixasetcd"/>
  41. <Cell col="1" displaytype="none" edittype="none" text="bind:toolnm"/>
  42. <Cell col="2" displaytype="text" edittype="text" text="bind:bedno"/>
  43. <Cell col="3" displaytype="text" edittype="mask" text="bind:usesrttm" mask="####-##-## ##:##" maskchar=" " edittrimtype="both" editautoselect="true" calendardisplaynulltype="nulltext"/>
  44. <Cell col="4" displaytype="text" edittype="mask" text="bind:useendtm" mask="####-##-## ##:##" maskchar=" " edittrimtype="both" editautoselect="true" calendardisplaynulltype="nulltext"/>
  45. <Cell col="5" text="bind:goodmodel"/>
  46. <Cell col="6" text="bind:goodspec"/>
  47. </Band>
  48. </Format>
  49. </Formats>
  50. </Grid>
  51. <Grid id="grd_resafe" taborder="125" binddataset="ds_main_MnphrecoData_MnphresmList" scrollpixel="all" useinputpanel="false" selecttype="multirow" extendsizetype="row" cellsizingtype="col" autofittype="col" autosizingtype="row" position="absolute 885 27 1200 180" anchor="left top right">
  52. <Formats>
  53. <Format id="default">
  54. <Columns>
  55. <Column size="35"/>
  56. <Column size="85"/>
  57. <Column size="164"/>
  58. <Column size="0"/>
  59. <Column size="0"/>
  60. <Column size="0"/>
  61. <Column size="0"/>
  62. <Column size="0"/>
  63. </Columns>
  64. <Rows>
  65. <Row size="24" band="head"/>
  66. <Row size="24"/>
  67. </Rows>
  68. <Band id="head">
  69. <Cell text="선택"/>
  70. <Cell col="1" text="안전관리"/>
  71. <Cell col="2" text="안전관리상세"/>
  72. <Cell col="3" text="회복실연계코드"/>
  73. <Cell col="4" text="status"/>
  74. <Cell col="5" text="resafeuptid"/>
  75. <Cell col="6" text="resafeuptnm"/>
  76. <Cell col="7"/>
  77. </Band>
  78. <Band id="body">
  79. <Cell displaytype="checkbox" edittype="checkbox" text="bind:resafecheck"/>
  80. <Cell col="1" displaytype="normal" edittype="none" text="bind:resafenm"/>
  81. <Cell col="2" displaytype="normal" edittype="none" style="align:left top;padding:4 2 2 2;" text="bind:resafedetlnm" wordwrap="word" autosizerow="limitmin"/>
  82. <Cell col="3" displaytype="none" edittype="none" text="bind:resafecd"/>
  83. <Cell col="4" displaytype="none" edittype="none" text="bind:recovseqno"/>
  84. <Cell col="5" displaytype="none" edittype="none" text="bind:status"/>
  85. <Cell col="6" text="bind:resafeuptid"/>
  86. <Cell col="7" text="bind:resafeuptnm"/>
  87. </Band>
  88. </Format>
  89. </Formats>
  90. </Grid>
  91. <Static id="caption35" text="입실 기록일시" class="cell_1" position="absolute 0 77 105 101"/>
  92. <Static id="caption36" text="입실 기록부서" class="cell_1" position="absolute 0 102 105 126"/>
  93. <Static id="caption37" text="입실 기록자" class="cell_1" position="absolute 0 127 105 151"/>
  94. <Static id="caption5" text="퇴실일시" class="cell_1" position="absolute 295 52 400 76"/>
  95. <Static id="caption7" text="퇴실장소" class="cell_1" position="absolute 295 27 400 51"/>
  96. <Static id="caption76" text="총 회복시간" class="cell_1" position="absolute 0 156 105 180"/>
  97. <Static id="caption3" text="입실일시" class="cell_1" position="absolute 0 52 105 76"/>
  98. <Static id="caption48" text="회복장소" class="cell_1" position="absolute 0 27 105 51"/>
  99. <Radio id="radio2" taborder="126" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" enable="false" position="absolute 88 470 179 490" style="align:left middle;">
  100. <Dataset id="innerdataset">
  101. <ColumnInfo>
  102. <Column id="codecolumn"/>
  103. <Column id="datacolumn"/>
  104. </ColumnInfo>
  105. <Rows>
  106. <Row>
  107. <Col id="codecolumn">Y</Col>
  108. <Col id="datacolumn">유</Col>
  109. </Row>
  110. <Row>
  111. <Col id="codecolumn">N</Col>
  112. <Col id="datacolumn">무</Col>
  113. </Row>
  114. </Rows>
  115. </Dataset>
  116. </Radio>
  117. <Button id="button29" taborder="127" text="이상 내용" onclick="switch1_case2_button29_onclick" class="btn3" position="absolute 186 469 290 489" style="align:left middle;"/>
  118. <Static id="caption87" text="환자이상" class="tit_2" position="absolute 0 472 95 492" style="align:left top;"/>
  119. <Edit id="opt_blodrecord" taborder="128" readonly="true" class="output" visible="false" position="absolute 199 2 214 22"/>
  120. <Button id="btn_reintubexpend" taborder="129" text="확대하기" onclick="switch1_case2_btn_reintubexpend_onclick" class="btn2" position="absolute 1070 193 1134 213" anchor="top right"/>
  121. <Button id="button3" taborder="130" text="항목관리" onclick="switch1_case2_button3_onclick" class="btn2" position="absolute 1136 193 1200 213" anchor="top right"/>
  122. <Shape id="line15" class="line_3" position="absolute 884 312 1200 318" anchor="left top right"/>
  123. <Static id="caption85" text="삽관류 항목 List" class="tit_2" position="absolute 886 196 1012 213"/>
  124. <Button id="btn_safelist" taborder="131" text="엑셀" onclick="switch1_case2_btn_safelist_onclick" class="btn2" position="absolute 1045 2 1087 22" anchor="top right"/>
  125. <Button id="btn_getanst" taborder="132" text="마취기록" onclick="switch1_case2_btn_getanst_onclick" class="btn2" position="absolute 516 467 580 488"/>
  126. <Shape id="line28" class="line_3" position="absolute 295 179 579 185"/>
  127. <Shape id="line27" class="line_3" position="absolute 0 179 290 185"/>
  128. <Shape id="line18" class="line_3" position="absolute 296 487 581 493"/>
  129. <Button id="btn_grid6expand" taborder="133" text="확대하기" onclick="switch1_case2_btn_grid6expand_onclick" class="btn2" position="absolute 817 2 881 22"/>
  130. <Button id="button2" taborder="134" class="icon_search" visible="false" position="absolute 863 3 879 19"/>
  131. <Button id="button8" taborder="135" text="삭제" onclick="switch1_case2_button8_onclick" class="btn2" visible="false" position="absolute 818 2 860 22"/>
  132. <Shape id="line30" class="line_3" position="absolute 585 179 881 185"/>
  133. <Grid id="datagrid3" taborder="136" binddataset="ds_main_MnphrecoData_MnphrecoList_drgecdspec_lists_drgecdlist" useinputpanel="false" visible="false" position="absolute 716 2 782 24">
  134. <Formats>
  135. <Format id="default">
  136. <Columns>
  137. <Column size="0"/>
  138. <Column size="126"/>
  139. <Column size="0"/>
  140. <Column size="49"/>
  141. <Column size="45"/>
  142. <Column size="42"/>
  143. </Columns>
  144. <Rows>
  145. <Row size="24" band="head"/>
  146. <Row size="24"/>
  147. </Rows>
  148. <Band id="head">
  149. <Cell text="goodname"/>
  150. <Cell col="1" text="배액관"/>
  151. <Cell col="2" text="규격"/>
  152. <Cell col="3" text="output"/>
  153. <Cell col="4" text="개수"/>
  154. <Cell col="5" text="부위"/>
  155. </Band>
  156. <Band id="body">
  157. <Cell text="bind:goodname"/>
  158. <Cell col="1" displaytype="combo" edittype="combo" text="bind:goodcd" combodataset="ds_init_drgecdlist_list" combocodecol="code" combodatacol="codename" enable="false"/>
  159. <Cell col="2" displaytype="none" edittype="none" text="bind:allsizespecid"/>
  160. <Cell col="3" displaytype="text" edittype="text" text="bind:output"/>
  161. <Cell col="4" text="bind:drgeqty"/>
  162. <Cell col="5" text="bind:partinfo"/>
  163. </Band>
  164. </Format>
  165. </Formats>
  166. </Grid>
  167. <Static id="caption75" text="회복환자 합병증" class="tit_2" position="absolute 585 5 708 21"/>
  168. <Div id="group5" taborder="137" position="absolute 295 211 580 473">
  169. <Layouts>
  170. <Layout>
  171. <Calendar id="inp_prtcairwayadddt" taborder="50" autoselect="true" dateformat="yyyy-MM-dd" class="input_default" position="absolute 107 7 202 28"/>
  172. <Shape id="line21" class="line_2" position="absolute 0 27 283 33"/>
  173. <Shape id="line22" class="line_2" position="absolute 0 177 283 183"/>
  174. <Button id="button4" taborder="51" onclick="switch1_case2_group5_button4_onclick" class="icon_clock" position="absolute 265 159 281 175"/>
  175. <Static id="caption20" text="Extubation Time" class="cell_1" visible="false" position="absolute 0 157 105 180"/>
  176. <MaskEdit id="inp_prtctairwaytm" taborder="52" displaynulltext=" " type="string" mask="##:##" maskchar=" " trimtype="both" autoselect="true" ontextchange="switch1_case2_group5_inp_prtctairwaytm_ontextchange" class="input_default" position="absolute 203 157 263 178" style="align:center middle;"/>
  177. <Static id="caption26" text="Intubation Time" class="cell_1" visible="false" position="absolute 0 7 96 30"/>
  178. <Shape id="line17" class="line_1" position="absolute 0 2 285 8" style="strokepen:3 solid #33bbbbff;"/>
  179. <Edit id="inp_prtctairwaynm" taborder="53" onkeyup="switch1_case2_group5_inp_prtctairwaynm_onkeyup" class="input_default" visible="false" position="absolute 266 33 281 52"/>
  180. <Calendar id="inp_prtctairwaydt" taborder="54" autoselect="true" dateformat="yyyy-MM-dd" class="input_default" position="absolute 107 157 202 178"/>
  181. <MaskEdit id="inp_prtcairwayaddtm" taborder="55" displaynulltext=" " type="string" mask="##:##" maskchar=" " trimtype="both" autoselect="true" ontextchange="switch1_case2_group5_inp_prtcairwayaddtm_ontextchange" class="input_default" position="absolute 203 7 263 28" style="align:center middle;"/>
  182. <Button id="button13" taborder="56" onclick="switch1_case2_group5_button13_onclick" class="icon_clock" position="absolute 265 10 281 26"/>
  183. <Shape id="line13" class="line_2" position="absolute 0 51 283 57"/>
  184. <Edit id="output1" taborder="57" readonly="true" class="output" position="absolute 107 181 184 202" style="align:center middle;"/>
  185. <Combo id="combo1" taborder="58" autoselect="true" innerdataset="@ds_main_MnphrecoData_AnstDoctList" codecolumn="userid" datacolumn="usernm" type="filter" onitemchanged="switch1_case2_group5_combo1_onitemchanged" onkeydown="switch1_case2_group5_combo1_onkeydown" class="combo_search" position="absolute 185 181 284 202" style="align:center middle;"/>
  186. <Static id="caption64" text="Extubation 시&#13;&#10; Vital Sign." class="cell_1" position="absolute 0 205 105 255"/>
  187. <Static id="caption65" text=" B.P&#13;&#10; (mmHg)" class="cell_1" position="absolute 107 205 176 235"/>
  188. <Static id="caption66" text=" P&#13;&#10; (회)" class="cell_1" position="absolute 177 205 230 235"/>
  189. <Static id="caption67" text=" SpO2&#13;&#10; (%)" class="cell_1" position="absolute 231 205 285 235"/>
  190. <Edit id="input2" taborder="59" autoselect="true" position="absolute 107 236 176 255" style="align:center middle;"/>
  191. <Edit id="input3" taborder="60" autoselect="true" position="absolute 177 236 230 255" style="align:center middle;"/>
  192. <Edit id="input4" taborder="61" autoselect="true" position="absolute 231 236 285 255" style="align:center middle;"/>
  193. <Edit id="output14" taborder="62" readonly="true" class="output" position="absolute 107 31 176 52" style="align:center middle;"/>
  194. <Combo id="combo4" taborder="63" autoselect="true" innerdataset="@ds_main_MnphrecoData_AnstDoctList" codecolumn="userid" datacolumn="usernm" type="filter" onitemchanged="switch1_case2_group5_combo4_onitemchanged" position="absolute 177 31 284 52" style="align:center middle;"/>
  195. <Edit id="output16" taborder="64" readonly="true" visible="false" position="absolute 260 181 285 202"/>
  196. <Shape id="line12" class="line_2" position="absolute 0 153 284 159"/>
  197. <Shape id="line33" class="line_2" position="absolute 0 201 283 207"/>
  198. <Static id="caption83" text="마취 시작 시간" class="cell_1" position="absolute 0 7 105 30"/>
  199. <Static id="caption84" text="마취 종료 시간" class="cell_1" position="absolute 0 157 105 180"/>
  200. <cp_checkboxList id="checkbox6" titletext="CheckBox List" taborder="65" scrollbars="none" position="absolute 107 55 284 145" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  201. <Static id="caption38" text="Extubation Dr." class="cell_1" position="absolute 0 181 105 204"/>
  202. <Static id="caption21" text="기도유지" class="cell_1" position="absolute 0 55 105 156"/>
  203. <Static id="caption22" text="Intubation Dr." class="cell_1" position="absolute 0 31 105 54"/>
  204. </Layout>
  205. </Layouts>
  206. </Div>
  207. <Shape id="line6" class="line_1" position="absolute 295 151 580 157" style="strokepen:3 solid #33bbbbff;"/>
  208. <Static id="caption16" text="기도유지정보" class="tit_2" position="absolute 295 196 395 212"/>
  209. <Static id="caption32" text="점" position="absolute 260 371 280 385"/>
  210. <Static id="caption27" text="점 /" position="absolute 153 371 181 385"/>
  211. <Shape id="line5" class="line_1" position="absolute 0 213 290 219" style="strokepen:3 solid #33bbbbff;"/>
  212. <Static id="caption11" text="회복상태 평가표" class="tit_2" position="absolute 0 196 119 212"/>
  213. <CheckBox id="checkbox5" taborder="138" text="방사선실 경유" value="N" truevalue="Y" falsevalue="N" position="absolute 486 2 582 22"/>
  214. <Shape id="line23" class="line_2" position="absolute 295 48 580 54"/>
  215. <Shape id="line16" class="line_2" position="absolute 0 123 290 129"/>
  216. <Combo id="combo3" taborder="139" innerdataset="@ds_main_MnphrecoData_AnstDoctList" codecolumn="userid" datacolumn="usernm" type="search" onitemchanged="switch1_case2_combo3_onitemchanged" position="absolute 475 156 551 180"/>
  217. <Radio id="radio1" taborder="140" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" enable="false" position="absolute 88 435 179 455" style="align:left middle;">
  218. <Dataset id="innerdataset">
  219. <ColumnInfo>
  220. <Column id="codecolumn"/>
  221. <Column id="datacolumn"/>
  222. </ColumnInfo>
  223. <Rows>
  224. <Row>
  225. <Col id="codecolumn">Y</Col>
  226. <Col id="datacolumn">유</Col>
  227. </Row>
  228. <Row>
  229. <Col id="codecolumn">N</Col>
  230. <Col id="datacolumn">무</Col>
  231. </Row>
  232. </Rows>
  233. </Dataset>
  234. </Radio>
  235. <Button id="button16" taborder="141" text="PCA 기록" onclick="switch1_case2_button16_onclick" class="btn3" position="absolute 186 435 290 455" style="align:left middle;"/>
  236. <Static id="caption79" text="PCA" class="tit_2" position="absolute 0 437 85 457" style="align:left top;"/>
  237. <Edit id="output15" taborder="142" readonly="true" class="output" position="absolute 107 156 290 180" style="align:center middle;"/>
  238. <Edit id="output13" taborder="143" readonly="true" class="output" visible="true" position="absolute 96 2 179 22"/>
  239. <Button id="btn_tnsrec" taborder="144" text="수혈간호기록" onclick="switch1_case2_btn_tnsrec_onclick" class="btn3" position="absolute 186 400 290 420" style="align:left middle;"/>
  240. <CheckBox id="checkbox1" taborder="145" text="발관하지 않고 퇴실장소로 퇴실" value="N" truevalue="Y" falsevalue="N" position="absolute 295 468 496 487"/>
  241. <Static id="caption68" text="입실기록" class="tit_2" position="absolute 0 5 113 21"/>
  242. <Radio id="radio6" taborder="146" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 459 193 578 214">
  243. <Dataset id="innerdataset">
  244. <ColumnInfo>
  245. <Column id="codecolumn"/>
  246. <Column id="datacolumn"/>
  247. </ColumnInfo>
  248. <Rows>
  249. <Row>
  250. <Col id="codecolumn">O</Col>
  251. <Col id="datacolumn">수술실</Col>
  252. </Row>
  253. <Row>
  254. <Col id="codecolumn">R</Col>
  255. <Col id="datacolumn">회복실</Col>
  256. </Row>
  257. </Rows>
  258. </Dataset>
  259. </Radio>
  260. <Radio id="radio5" taborder="147" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" enable="false" position="absolute 88 400 179 420" style="align:left middle;">
  261. <Dataset id="innerdataset">
  262. <ColumnInfo>
  263. <Column id="codecolumn"/>
  264. <Column id="datacolumn"/>
  265. </ColumnInfo>
  266. <Rows>
  267. <Row>
  268. <Col id="codecolumn">Y</Col>
  269. <Col id="datacolumn">유</Col>
  270. </Row>
  271. <Row>
  272. <Col id="codecolumn">N</Col>
  273. <Col id="datacolumn">무</Col>
  274. </Row>
  275. </Rows>
  276. </Dataset>
  277. </Radio>
  278. <Static id="caption34" text="수혈여부" class="tit_2" position="absolute 0 401 85 421" style="align:left top;"/>
  279. <Shape id="line10" class="line_3" position="absolute 585 487 936 493"/>
  280. <Shape id="line46" class="line_3" position="absolute 940 487 1200 493" anchor="left top right"/>
  281. <Shape id="line45" class="line_1" position="absolute 885 22 1200 28" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
  282. <Edit id="opt_resafecertid" taborder="148" readonly="true" class="output" position="absolute 1156 2 1200 22" anchor="top right"/>
  283. <Static id="caption9" text="확인자:" position="absolute 1111 1 1156 21" anchor="top right"/>
  284. <Static id="caption4" text="회복환자 안전점검" class="tit_2" position="absolute 885 5 1015 21"/>
  285. <Edit id="inp_totalio" taborder="149" autoselect="true" class="input_default" enable="false" position="absolute 1032 467 1200 488" anchor="left top right"/>
  286. <Static id="caption70" text="마취 Total I/O" class="cell_1" position="absolute 940 467 1030 488"/>
  287. <Shape id="line11" class="line_1" position="absolute 940 339 1200 345" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
  288. <Static id="caption10" text="부서 전달사항" class="tit_2" position="absolute 940 322 1061 338"/>
  289. <Button id="btn_eqmtinfo" taborder="150" text="장비정보" onclick="switch1_case2_btn_eqmtinfo_onclick" class="btn3" visible="false" position="absolute 987 193 1067 213" anchor="top right"/>
  290. <Button id="button11" taborder="151" text="사용시작 / 사용종료" onclick="switch1_case2_button11_onclick" class="btn2" visible="false" position="absolute 856 193 983 213" anchor="top right"/>
  291. <Button id="button10" taborder="152" text="Type II" onclick="switch1_case2_button10_onclick" class="btn2" position="absolute 872 320 936 339"/>
  292. <Grid id="datagrid8" taborder="153" binddataset="ds_init_CareRecLists_carereclist" scrollpixel="all" useinputpanel="false" selecttype="multirow" extendsizetype="row" cellsizingtype="col" autofittype="col" autosizingtype="row" position="absolute 585 345 936 488" oncellclick="switch1_case2_datagrid8_oncellclick" oncloseup="switch1_case2_datagrid8_oncloseup" onlbuttonup="switch1_case2_datagrid8_onlbuttonup" autoenter="key">
  293. <Formats>
  294. <Format id="default">
  295. <Columns>
  296. <Column size="71"/>
  297. <Column size="42"/>
  298. <Column size="24"/>
  299. <Column size="136"/>
  300. <Column size="52"/>
  301. <Column size="0"/>
  302. </Columns>
  303. <Rows>
  304. <Row size="29" band="head"/>
  305. <Row size="24"/>
  306. </Rows>
  307. <Band id="head">
  308. <Cell text="기록일자"/>
  309. <Cell col="1" text="시간"/>
  310. <Cell col="2" text="DN&#13;&#10;AR"/>
  311. <Cell col="3" text="간호기록"/>
  312. <Cell col="4" text="작성자"/>
  313. <Cell col="5" text="stmtcd"/>
  314. </Band>
  315. <Band id="body">
  316. <Cell displaytype="date" text="bind:recdd" mask="yyyy-MM-dd" suppress="1" suppressalign="middle,over" calendardisplaynulltype="nulltext"/>
  317. <Cell col="1" displaytype="date" text="bind:rectm" mask="HH:mm" suppress="2" suppressalign="middle,over" calendardisplaynulltype="nulltext"/>
  318. <Cell col="2" displaytype="combo" edittype="combo" style="align:center;" text="bind:dnarflag" suppress="3" suppressalign="middle,over" combodataset="ds_init_M0260list_M0260" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  319. <Cell col="3" style="align:left middle;padding:4 2 2 2;" text="bind:stmtspec" wordwrap="char" autosizerow="limitmin"/>
  320. <Cell col="4" text="bind:fstrgstrnm" wordwrap="char"/>
  321. <Cell col="5" text="bind:stmtcd"/>
  322. </Band>
  323. </Format>
  324. </Formats>
  325. </Grid>
  326. <Static id="caption31" text="장비사용기록" class="tit_2" visible="false" position="absolute 886 196 995 213"/>
  327. <Static id="caption42" text="간호기록" class="tit_2" position="absolute 585 322 755 338"/>
  328. <Shape id="line31" class="line_1" position="absolute 885 213 1200 219" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
  329. <Shape id="line42" class="line_1" position="absolute 585 339 936 345" style="strokepen:3 solid #33bbbbff;"/>
  330. <MaskEdit id="opt_recindttm" taborder="154" displaynulltext=" " readonly="true" type="string" mask="####-##-## ##:##" maskchar=" " trimtype="both" enable="false" position="absolute 107 77 290 99" style="align:left middle;"/>
  331. <Static id="caption39" text="퇴실 기록일시" class="cell_1" position="absolute 295 77 400 101"/>
  332. <Shape id="line39" class="line_2" position="absolute 295 98 578 104"/>
  333. <MaskEdit id="optrecoutdttm" taborder="155" displaynulltext=" " readonly="true" type="string" mask="####-##-## ##:##" maskchar=" " trimtype="both" enable="false" position="absolute 402 77 580 99" style="align:left middle;"/>
  334. <Shape id="line36" class="line_2" position="absolute 0 98 290 104"/>
  335. <Static id="caption41" text="퇴실 기록자" class="cell_1" position="absolute 295 127 400 151"/>
  336. <Edit id="output8" taborder="156" readonly="true" class="output" position="absolute 402 127 580 151"/>
  337. <Shape id="line32" class="line_1" position="absolute 0 151 290 157" style="strokepen:3 solid #33bbbbff;"/>
  338. <Static id="caption40" text="퇴실 기록부서" class="cell_1" position="absolute 295 102 400 126"/>
  339. <Edit id="output7" taborder="157" readonly="true" class="output" position="absolute 402 102 580 124"/>
  340. <Edit id="output5" taborder="158" readonly="true" class="output" position="absolute 107 127 290 151"/>
  341. <Shape id="line40" class="line_2" position="absolute 295 123 578 129"/>
  342. <Edit id="output4" taborder="159" readonly="true" class="output" position="absolute 107 102 290 124"/>
  343. <TextArea id="textarea1" taborder="160" enable="false" visible="false" position="absolute 3 488 287 491"/>
  344. <Shape id="line7" class="line_1" position="absolute 295 22 580 28" style="strokepen:3 solid #33bbbbff;"/>
  345. <Edit id="opt_leav" taborder="161" readonly="true" class="output" position="absolute 223 368 255 387" style="align:center middle;font:Dotum,9,bold;"/>
  346. <Static id="caption8" text="퇴실기록" class="tit_2" position="absolute 295 5 376 21"/>
  347. <Static id="caption25" text="퇴실시" position="absolute 180 371 220 385"/>
  348. <Static id="caption24" text="입실시" position="absolute 73 371 112 385"/>
  349. <Static id="caption23" text="회복점수" class="cell_1" position="absolute 0 366 65 389"/>
  350. <Shape id="line26" class="line_1" position="absolute 584 22 881 28" style="strokepen:3 solid #33bbbbff;"/>
  351. <Shape id="line25" class="line_3" position="absolute 0 388 290 394"/>
  352. <Grid id="grd_valueitem" taborder="162" binddataset="ds_main_MnphrecoData_MnphrecoList_recovstatvalutable_valuitemlists_valuitem" scrollpixel="all" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" autofittype="col" position="absolute 0 218 289 365">
  353. <Formats>
  354. <Format id="default">
  355. <Columns>
  356. <Column size="20" band="left"/>
  357. <Column size="153"/>
  358. <Column size="42"/>
  359. <Column size="45"/>
  360. </Columns>
  361. <Rows>
  362. <Row size="24" band="head"/>
  363. <Row size="24"/>
  364. </Rows>
  365. <Band id="head">
  366. <Cell/>
  367. <Cell col="1" text="평가내역"/>
  368. <Cell col="2" text="입실시"/>
  369. <Cell col="3" text="퇴실시"/>
  370. </Band>
  371. <Band id="body">
  372. <Cell celltype="head" expr="currow + 1"/>
  373. <Cell col="1" style="align:left;" text="bind:valuitemnm"/>
  374. <Cell col="2" style="align:center;" text="bind:valuitemarrv"/>
  375. <Cell col="3" style="align:center;" text="bind:valuitemleav"/>
  376. </Band>
  377. </Format>
  378. </Formats>
  379. </Grid>
  380. <Button id="button5" taborder="163" text="평가도구" onclick="switch1_case2_button5_onclick" class="btn2" position="absolute 226 194 290 213"/>
  381. <Edit id="opt_arrv" taborder="164" readonly="true" class="output" position="absolute 117 368 149 387" style="align:center middle;font:Dotum,9,bold;"/>
  382. <Edit id="inp_prtctairway" taborder="165" class="input_default" visible="false" position="absolute 725 409 760 428"/>
  383. <Shape id="line14" class="line_3" position="absolute 885 179 1200 185" anchor="left top right"/>
  384. <Shape id="line19" class="line_1" visible="false" position="absolute 767 98 876 104"/>
  385. <Static id="caption18" text="배액관정보" class="tit_2" visible="false" position="absolute 767 86 867 99"/>
  386. <Edit id="inp_outdrnm" taborder="166" autoselect="true" class="input_default" enable="false" visible="false" position="absolute 552 156 562 180"/>
  387. <Button id="button6" taborder="167" onclick="switch1_case2_button6_onclick" class="icon_search" position="absolute 564 158 580 174"/>
  388. <Edit id="inp_outdrid" taborder="168" readonly="true" class="output" position="absolute 402 156 474 180"/>
  389. <Static id="caption19" text="퇴실결정의사" class="cell_1" position="absolute 295 156 400 180"/>
  390. <Shape id="line24" class="line_2" position="absolute 294 73 580 79"/>
  391. <Combo id="cmb_outplcecode" taborder="169" innerdataset="@ds_filter_code_codeinfo_codelist_outplcecode" codecolumn="cdid" datacolumn="cdnm" class="combo_default" position="absolute 402 27 580 49" style="itemfont:arial,9,bold;font:Dotum,9,bold;"/>
  392. <Button id="button14" taborder="170" onclick="switch1_case2_button14_onclick" class="icon_clock" position="absolute 564 54 580 70"/>
  393. <MaskEdit id="inp_outrmtm" taborder="171" displaynulltext=" " type="string" mask="##:##" maskchar=" " trimtype="both" autoselect="true" ontextchange="switch1_case2_inp_outrmtm_ontextchange" class="input_default" position="absolute 498 52 562 74" style="align:center middle;"/>
  394. <Calendar id="inp_outrmdt" taborder="172" autoselect="true" dateformat="yyyy-MM-dd" class="input_default" position="absolute 402 52 497 74" mask="yyyy-mm-dd"/>
  395. <Button id="button12" taborder="173" onclick="switch1_case2_button12_onclick" class="icon_clock" position="absolute 270 53 290 73"/>
  396. <Shape id="line4" class="line_2" position="absolute 0 73 290 79"/>
  397. <MaskEdit id="inp_inrmtm" taborder="174" displaynulltext=" " type="string" mask="##:##" maskchar=" " trimtype="both" autoselect="true" ontextchange="switch1_case2_inp_inrmtm_ontextchange" class="input_default" position="absolute 210 52 270 74" style="align:center middle;"/>
  398. <Calendar id="inp_inrmdt" taborder="175" autoselect="true" dateformat="yyyy-MM-dd" class="input_default" position="absolute 107 52 209 74" mask="yyyy-mm-dd"/>
  399. <Shape id="line44" class="line_2" position="absolute 0 48 290 54"/>
  400. <Combo id="cmb_recovroom" taborder="176" innerdataset="@ds_filter_code_codeinfo_codelist_recovroom" codecolumn="cdid" datacolumn="cdnm" class="combo_default" position="absolute 107 27 290 49" style="itemfont:arial,9,bold;font:Dotum,9,bold;"/>
  401. <Shape id="line3" class="line_1" position="absolute 0 22 290 28" style="strokepen:3 solid #33bbbbff;"/>
  402. <Edit id="inp_outplcenm" taborder="177" class="input_default" visible="false" position="absolute 379 2 477 22"/>
  403. <Div id="grp_memoview" taborder="178" style="background:white;shadow:drop 3,3 3 gray;" visible="false" position="absolute 295 303 567 489">
  404. <Layouts>
  405. <Layout>
  406. <Button id="button30" taborder="17" text="닫기" onclick="switch1_case2_grp_memoview_button30_onclick" class="btn2" position="absolute 228 165 270 183"/>
  407. <Button id="btn_prtlabel" taborder="18" text="확인" onclick="switch1_case2_grp_memoview_btn_prtlabel_onclick" class="btn5" position="absolute 181 165 223 184"/>
  408. <TextArea id="tar_detail" taborder="19" wordwrap="both" position="absolute 0 2 270 162"/>
  409. </Layout>
  410. </Layouts>
  411. </Div>
  412. <Grid id="grd_reintub" taborder="179" binddataset="ds_main_MnphrecoData_MnphreIntubchkList" scrollpixel="all" useinputpanel="false" selecttype="multirow" cellsizingtype="col" autofittype="col" position="absolute 885 218 1200 313" anchor="left top right">
  413. <Formats>
  414. <Format id="default">
  415. <Columns>
  416. <Column size="35"/>
  417. <Column size="275"/>
  418. <Column size="0"/>
  419. <Column size="0"/>
  420. <Column size="0"/>
  421. <Column size="0"/>
  422. <Column size="0"/>
  423. <Column size="0"/>
  424. </Columns>
  425. <Rows>
  426. <Row size="24" band="head"/>
  427. <Row size="20"/>
  428. </Rows>
  429. <Band id="head">
  430. <Cell text="선택"/>
  431. <Cell col="1" text="삽관류명"/>
  432. <Cell col="2" text="삽관류상세"/>
  433. <Cell col="3" text="회복실연계코드"/>
  434. <Cell col="4" text="status"/>
  435. <Cell col="5" text="reintubuptid"/>
  436. <Cell col="6" text="reintubuptnm"/>
  437. <Cell col="7"/>
  438. </Band>
  439. <Band id="body">
  440. <Cell displaytype="checkbox" edittype="checkbox" text="bind:reintubcheck"/>
  441. <Cell col="1" edittype="none" style="align:left;" text="bind:reintubnm"/>
  442. <Cell col="2" displaytype="none" edittype="none" text="bind:reintubdetlnm"/>
  443. <Cell col="3" displaytype="none" edittype="none" text="bind:reintubcd"/>
  444. <Cell col="4" displaytype="none" edittype="none" text="bind:recovseqno"/>
  445. <Cell col="5" displaytype="none" edittype="none" text="bind:status"/>
  446. <Cell col="6" text="bind:reintubuptid"/>
  447. <Cell col="7" text="bind:reintubuptnm"/>
  448. </Band>
  449. </Format>
  450. </Formats>
  451. </Grid>
  452. <Button id="bbt_inroom" taborder="181" text="저장" onclick="switch1_case2_bbt_inroom_onclick" class="btn2" position="absolute 61 54 103 74"/>
  453. <Button id="bbt_outroom" taborder="182" text="저장" onclick="switch1_case2_bbt_outroom_onclick" class="btn2" position="absolute 356 54 398 74"/>
  454. <Edit id="output00" taborder="183" readonly="true" class="output" position="absolute 200 2 283 22"/>
  455. <Static id="caption00" text="통증사정도구" class="tit_2" visible="true" position="absolute 584 196 708 213"/>
  456. <Shape id="line00" class="line_1" position="absolute 584 213 746 219" anchor="left top" style="strokepen:3 solid #33bbbbff;"/>
  457. <Shape id="line01" class="line_1" position="absolute 750 213 881 219" anchor="left top" style="strokepen:3 solid #33bbbbff;"/>
  458. <Static id="caption02" text="PONV" class="tit_2" position="absolute 750 196 830 213"/>
  459. <Static id="caption01" text="입실" class="cell_1" position="absolute 585 218 624 241"/>
  460. <Static id="caption06" text="퇴실" class="cell_1" position="absolute 585 243 624 266"/>
  461. <Combo id="combo_pca_in_type" taborder="188" autoselect="true" innerdataset="@ds_init_combo_pca_type" codecolumn="cdid" datacolumn="cdval" type="filter" position="absolute 625 219 693 240" style="align:center middle;" onitemclick="switch1_case2_combo_pca_in_type_onitemclick"/>
  462. <Combo id="combo_pca_in_grade" taborder="189" autoselect="true" innerdataset="@ds_init_combo_pca_grade" codecolumn="cdid" datacolumn="cdval" type="filter" position="absolute 694 219 747 240" style="align:center middle;"/>
  463. <Shape id="line02" class="line_2" position="absolute 586 239 747 245"/>
  464. <Combo id="combo_pca_out_type" taborder="190" autoselect="true" innerdataset="@ds_init_combo_pca_type" codecolumn="cdid" datacolumn="cdval" type="filter" position="absolute 625 244 693 265" style="align:center middle;" onitemclick="switch1_case2_combo_pca_out_type_onitemclick"/>
  465. <Combo id="combo_pca_out_grade" taborder="191" autoselect="true" innerdataset="@ds_init_combo_pca_grade" codecolumn="cdid" datacolumn="cdval" type="filter" position="absolute 694 244 747 265" style="align:center middle;"/>
  466. <Combo id="combo_ponv_in_grade" taborder="192" autoselect="true" innerdataset="@ds_init_combo_ponv_grade" codecolumn="cdid" datacolumn="cdval" type="filter" position="absolute 790 219 881 240" style="align:center middle;"/>
  467. <Static id="caption12" text="입실" class="cell_1" position="absolute 750 218 789 241"/>
  468. <Static id="caption13" text="퇴실" class="cell_1" position="absolute 750 243 789 266"/>
  469. <Combo id="combo_ponv_out_grade" taborder="193" autoselect="true" innerdataset="@ds_init_combo_ponv_grade" codecolumn="cdid" datacolumn="cdval" type="filter" position="absolute 790 244 881 265" style="align:center middle;"/>
  470. <Shape id="line08" class="line_3" position="absolute 585 265 881 271"/>
  471. <Shape id="line09" class="line_2" position="absolute 750 239 882 245"/>
  472. <Grid id="datagrid6" taborder="194" binddataset="ds_main_MnphrecoData_MnphrepmList" scrollpixel="all" useinputpanel="false" selecttype="multirow" cellsizingtype="col" autofittype="col" position="absolute 585 27 881 180">
  473. <Formats>
  474. <Format id="default">
  475. <Columns>
  476. <Column size="35"/>
  477. <Column size="232"/>
  478. <Column size="0"/>
  479. <Column size="0"/>
  480. <Column size="0"/>
  481. </Columns>
  482. <Rows>
  483. <Row size="24" band="head"/>
  484. <Row size="24"/>
  485. </Rows>
  486. <Band id="head">
  487. <Cell text="선택"/>
  488. <Cell col="1" text="합병증"/>
  489. <Cell col="2" text="병증코드"/>
  490. <Cell col="3" text="회복실연계코드"/>
  491. <Cell col="4" text="status"/>
  492. </Band>
  493. <Band id="body">
  494. <Cell displaytype="checkbox" edittype="checkbox" text="bind:complcheck"/>
  495. <Cell col="1" displaytype="normal" edittype="none" style="align:left;" text="bind:complname"/>
  496. <Cell col="2" displaytype="none" edittype="none" text="bind:complcode"/>
  497. <Cell col="3" displaytype="none" edittype="none" text="bind:recovseqno"/>
  498. <Cell col="4" displaytype="none" edittype="none" text="bind:status"/>
  499. </Band>
  500. </Format>
  501. </Formats>
  502. </Grid>
  503. <Static id="Static00" text="낙상주의" position="absolute 374 2 474 22" style="background:#ff0000ff;color:yellow;align:center middle;font:Dotum,12;"/>
  504. </Layout>
  505. </Layouts>
  506. </Tabpage>
  507. <Tabpage id="case1" text="회복간호기록 I">
  508. <Layouts>
  509. <Layout>
  510. <Div id="case3" anchor="all" taborder="4" visible="false" position="absolute 0 0 1200 492">
  511. <Layouts>
  512. <Layout>
  513. <Div id="group3" anchor="all" taborder="0" enable="false" position="absolute 0 0 1001 460">
  514. <Layouts>
  515. <Layout>
  516. <CheckBox id="chk_cnstopflag" taborder="137" text="협진수술여부" value="N" truevalue="Y" falsevalue="N" position="absolute 286 130 386 150" style=":disabled {color:black;}"/>
  517. <Combo id="cmb_anstmthdcd" taborder="138" innerdataset="@ds_init_M0270_M0270" codecolumn="cdid" datacolumn="cdnm" class="combo_search" position="absolute 607 11 745 30"/>
  518. <Combo id="cmb_anstadd" taborder="139" innerdataset="ds_init_M0008_M0008[cdid != '-']" codecolumn="cdid" datacolumn="cdnm" class="combo_search" position="absolute 607 36 990 55"/>
  519. <Calendar id="ipt_meetingdd" taborder="140" autoselect="true" position="absolute 607 61 700 80"/>
  520. <Edit id="ipt_orddept" taborder="141" autoselect="true" position="absolute 77 9 283 28"/>
  521. <Radio id="rdo_oppatflag" taborder="142" columncount="3" rowcount="1" innerdataset="@ds_init_M0020_M0020" codecolumn="cdid" datacolumn="cdnm" class="radio_search" enable="false" position="absolute 78 153 480 173"/>
  522. <Static id="caption50" text="마취 가산" class="cell_1" position="absolute 495 34 605 57"/>
  523. <Calendar id="ipt_optodd" taborder="143" autoselect="true" position="absolute 859 111 952 130" mask="yyyy-mm-dd"/>
  524. <Combo id="cmb_physstat" taborder="144" innerdataset="@ds_init_M0269_M0269" codecolumn="cdid" datacolumn="cdnm" class="combo_search" position="absolute 608 159 988 178"/>
  525. <Static id="caption51" text="마취방법 (부마취)" class="cell_1" position="absolute 748 10 858 33"/>
  526. <Static id="caption30" text="마취의 3" class="cell_1" position="absolute 250 79 325 102"/>
  527. <Static id="caption52" text="분" position="absolute 718 135 736 155"/>
  528. <MaskEdit id="ipt_tmoutchktm" taborder="145" displaynulltext=" " type="string" mask="##:##" maskchar=" " trimtype="both" autoselect="true" ontextchange="switch1_case1_case3_group3_ipt_tmoutchktm_ontextchange" position="absolute 954 61 989 80"/>
  529. <MaskEdit id="ipt_anstfromtm" taborder="146" displaynulltext=" " type="string" mask="##:##" maskchar=" " trimtype="both" autoselect="true" ontextchange="switch1_case1_case3_group3_ipt_anstfromtm_ontextchange" position="absolute 703 86 738 105"/>
  530. <Edit id="ipt_anstmnt" taborder="147" autoselect="true" class="input_search" enable="false" position="absolute 678 135 714 154"/>
  531. <Static id="caption53" text="시간" position="absolute 647 135 673 155"/>
  532. <Static id="caption43" text="Meeting Time" class="cell_1" position="absolute 495 59 605 82"/>
  533. <Static id="caption54" text="마취 시작" class="cell_1" position="absolute 495 84 605 107"/>
  534. <Radio id="rdo_opflag" taborder="148" columncount="3" rowcount="1" innerdataset="@ds_init_M0013_M0013" codecolumn="cdid" datacolumn="cdnm" class="radio_search" position="absolute 78 105 480 125"/>
  535. <CheckBox id="chk_anstregflag" taborder="149" text="마취 예약만" value="N" truevalue="Y" falsevalue="N" position="absolute 182 130 282 150" style=":disabled {color:black;}"/>
  536. <Static id="caption55" text="수술 시작" class="cell_1" position="absolute 495 109 605 132"/>
  537. <Edit id="ipt__perfdr2" taborder="150" autoselect="true" position="absolute 285 33 480 52"/>
  538. <Static id="caption12" text="집 도 의" class="cell_1" position="absolute 0 31 75 54"/>
  539. <Static id="caption56" text="수술 종료" class="cell_1" position="absolute 751 109 857 132"/>
  540. <MaskEdit id="ipt_opfromtm" taborder="151" displaynulltext=" " type="string" mask="##:##" maskchar=" " trimtype="both" autoselect="true" ontextchange="switch1_case1_case3_group3_ipt_opfromtm_ontextchange" position="absolute 703 111 738 130"/>
  541. <Combo id="cmb_oproom" taborder="152" innerdataset="@ds_init_oproomlist_item" codecolumn="oproomcd" datacolumn="oproomnm" class="combo_s_essential" position="absolute 77 57 248 76"/>
  542. <Static id="caption13" text="수술 구분" class="cell_1" position="absolute 0 103 75 149"/>
  543. <Static id="caption57" text="마취 종료" class="cell_1" position="absolute 751 84 857 107"/>
  544. <MaskEdit id="ipt_ansttotm" taborder="153" displaynulltext=" " type="string" mask="##:##" maskchar=" " trimtype="both" autoselect="true" ontextchange="switch1_case1_case3_group3_ipt_ansttotm_ontextchange" position="absolute 954 86 989 105"/>
  545. <Static id="caption46" text="총 마취 시간" class="cell_1" position="absolute 495 134 605 157"/>
  546. <Static id="caption14" text="수 술 방" class="cell_1" position="absolute 0 55 75 78"/>
  547. <Grid id="grd_opinfo1" class="datagrid_sms" taborder="154" binddataset="ds_hidden_anstaddinfo_addinfo_item[cdflag == '1']" scrollpixel="all" useinputpanel="false" cellsizingtype="col" autofittype="col" position="absolute 0 178 480 240">
  548. <Formats>
  549. <Format id="default">
  550. <Columns>
  551. <Column size="0"/>
  552. <Column size="425"/>
  553. </Columns>
  554. <Rows>
  555. <Row size="24" band="head"/>
  556. <Row size="24"/>
  557. </Rows>
  558. <Band id="head">
  559. <Cell text="진단코드"/>
  560. <Cell col="1" text="진단명"/>
  561. </Band>
  562. <Band id="body">
  563. <Cell text="bind:code"/>
  564. <Cell col="1" text="bind:engnm"/>
  565. </Band>
  566. </Format>
  567. </Formats>
  568. </Grid>
  569. <Static id="caption58" text="Time Out Check" class="cell_1" position="absolute 751 59 857 82"/>
  570. <MaskEdit id="ipt_meetingtm" taborder="155" displaynulltext=" " type="string" mask="##:##" maskchar=" " trimtype="both" autoselect="true" ontextchange="switch1_case1_case3_group3_ipt_meetingtm_ontextchange" position="absolute 703 61 738 80"/>
  571. <Static id="caption15" text="집 도 과" class="cell_1" position="absolute 0 7 75 30"/>
  572. <Grid id="grd_opinfo2" class="datagrid_sms" taborder="156" binddataset="ds_hidden_anstaddinfo_addinfo_item[cdflag == '2']" scrollpixel="all" useinputpanel="false" cellsizingtype="col" autofittype="col" position="absolute 0 241 480 303">
  573. <Formats>
  574. <Format id="default">
  575. <Columns>
  576. <Column size="105"/>
  577. <Column size="320"/>
  578. </Columns>
  579. <Rows>
  580. <Row size="24" band="head"/>
  581. <Row size="24"/>
  582. </Rows>
  583. <Band id="head">
  584. <Cell text="수술 (전)"/>
  585. <Cell col="1" text="수술명"/>
  586. </Band>
  587. <Band id="body">
  588. <Cell text="bind:code"/>
  589. <Cell col="1" text="bind:engnm"/>
  590. </Band>
  591. </Format>
  592. </Formats>
  593. </Grid>
  594. <Static id="caption59" text="마취방법 (주마취)" class="cell_1" position="absolute 495 9 605 32"/>
  595. <Calendar id="ipt_tmoutchkdd" taborder="157" autoselect="true" position="absolute 859 61 952 80"/>
  596. <Calendar id="ipt_anstfromdd" taborder="158" autoselect="true" position="absolute 607 86 700 105"/>
  597. <MaskEdit id="ipt_optotm" taborder="159" displaynulltext=" " type="string" mask="##:##" maskchar=" " trimtype="both" autoselect="true" ontextchange="switch1_case1__case3_group3_ipt_optotm_ontextchange" position="absolute 954 111 989 130"/>
  598. <Static id="caption49" text="Physical Status" class="cell_1" position="absolute 495 159 605 182"/>
  599. <Static id="caption28" text="마취의 1" class="cell_1" position="absolute 250 54 325 77"/>
  600. <Static id="caption17" text="마취의 2" class="cell_1" position="absolute 0 79 75 102"/>
  601. <Edit id="ipt_ansttm" taborder="160" autoselect="true" class="input_search" enable="false" position="absolute 607 135 642 154"/>
  602. <Edit id="ipt_perfdr" taborder="161" autoselect="true" position="absolute 77 33 283 52"/>
  603. <Edit id="ipt__orddept2" taborder="162" autoselect="true" position="absolute 285 9 480 28"/>
  604. <Static id="caption29" text="환자 구분" class="cell_1" position="absolute 0 150 75 173"/>
  605. <Edit id="ipt__anstdrid1" taborder="163" autoselect="true" position="absolute 327 57 480 76"/>
  606. <Edit id="ipt_anstdrid2" taborder="164" autoselect="true" position="absolute 77 81 248 100"/>
  607. <Combo id="cmb_anstmthdcdsub" taborder="165" innerdataset="@ds_init_M0271_M0271" codecolumn="cdid" datacolumn="cdnm" class="combo_search" position="absolute 860 11 989 30"/>
  608. <Calendar id="ipt_opfromdd" taborder="166" autoselect="true" position="absolute 607 111 700 130"/>
  609. <Edit id="ipt_anstdrid3" taborder="167" autoselect="true" position="absolute 327 81 480 100"/>
  610. <CheckBox id="chk_reopflag" taborder="168" text="금일 재수술" value="N" truevalue="Y" falsevalue="N" position="absolute 78 130 179 150" style=":disabled {color:black;}"/>
  611. <Grid id="grd_opinfo7" class="datagrid_sms" taborder="169" binddataset="ds_hidden_opinfo_item" scrollpixel="all" useinputpanel="false" cellsizingtype="col" autofittype="col" position="absolute 0 304 480 366">
  612. <Formats>
  613. <Format id="default">
  614. <Columns>
  615. <Column size="0"/>
  616. <Column size="320"/>
  617. <Column size="105"/>
  618. </Columns>
  619. <Rows>
  620. <Row size="24" band="head"/>
  621. <Row size="24"/>
  622. </Rows>
  623. <Band id="head">
  624. <Cell text="코드"/>
  625. <Cell col="1" text="수술 (후) - 수술명"/>
  626. <Cell col="2" text="Comments"/>
  627. </Band>
  628. <Band id="body">
  629. <Cell text="bind:code"/>
  630. <Cell col="1" text="bind:engnm"/>
  631. <Cell col="2" text="bind:remfact"/>
  632. </Band>
  633. </Format>
  634. </Formats>
  635. </Grid>
  636. <Calendar id="ipt_ansttodd" taborder="170" autoselect="true" position="absolute 859 86 952 105"/>
  637. <Shape id="line20" class="line_10" position="absolute 0 2 478 8" style=":disabled {strokepen:3 solid #33bbbbff;}"/>
  638. <Shape id="line2" class="line_10" position="absolute 495 3 989 9" style=":disabled {strokepen:3 solid #33bbbbff;}"/>
  639. <Shape id="line8" class="line_3" position="absolute 495 181 986 187" style=":disabled {strokepen:1 solid #33bbbbff;}"/>
  640. <Shape id="line9" class="line_3" position="absolute 0 172 478 178" style=":disabled {strokepen:1 solid #33bbbbff;}"/>
  641. </Layout>
  642. </Layouts>
  643. </Div>
  644. </Layout>
  645. </Layouts>
  646. </Div>
  647. <Div id="case5" anchor="all" taborder="5" visible="false" position="absolute 0 0 1200 492">
  648. <Layouts>
  649. <Layout>
  650. <Grid id="grd_anstprcp" class="datagrid_sms" taborder="0" binddataset="ds_hidden_anstorderinfo_orderlist" scrollpixel="all" useinputpanel="false" cellsizingtype="col" position="absolute 5 5 480 440">
  651. <Formats>
  652. <Format id="default">
  653. <Columns>
  654. <Column size="0"/>
  655. <Column size="50"/>
  656. <Column size="217"/>
  657. <Column size="0"/>
  658. <Column size="45"/>
  659. <Column size="30"/>
  660. <Column size="45"/>
  661. <Column size="30"/>
  662. <Column size="55"/>
  663. <Column size="0"/>
  664. <Column size="0"/>
  665. <Column size="0"/>
  666. <Column size="0"/>
  667. <Column size="0"/>
  668. <Column size="0"/>
  669. <Column size="0"/>
  670. </Columns>
  671. <Rows>
  672. <Row size="24" band="head"/>
  673. <Row size="24"/>
  674. </Rows>
  675. <Band id="head">
  676. <Cell text="√"/>
  677. <Cell col="1" text="구분"/>
  678. <Cell col="2" text="처방명"/>
  679. <Cell col="3" text="처방코드"/>
  680. <Cell col="4" colspan="2" text="기록총용량" taborder="undefined"/>
  681. <Cell col="6" colspan="2" text="처방총용량" taborder="undefined"/>
  682. <Cell col="8" text="투여방법"/>
  683. <Cell col="9" text="약어명"/>
  684. <Cell col="10" text="소분류"/>
  685. <Cell col="11" text="처방적용유무"/>
  686. <Cell col="12" text="총용량기록여부"/>
  687. <Cell col="13" text="remark"/>
  688. <Cell col="14" text="sortno"/>
  689. <Cell col="15" text="pcaflag"/>
  690. </Band>
  691. <Band id="body">
  692. <Cell displaytype="checkbox" edittype="checkbox" text="bind:checked" enable="false"/>
  693. <Cell col="1" displaytype="combo" edittype="combo" text="bind:prcptype" combodataset="ds_init_prcptype" combocodecol="value" combodatacol="label" enable="false"/>
  694. <Cell col="2" displaytype="none" edittype="none" text="bind:prcpnm"/>
  695. <Cell col="3" text="bind:prcpcd"/>
  696. <Cell col="4" displaytype="none" edittype="none" text="bind:recvol" mask="#,###.999"/>
  697. <Cell col="5" displaytype="none" edittype="none" text="bind:prcpvolunitnm"/>
  698. <Cell col="6" displaytype="none" edittype="none" text="bind:prcpvol" mask="#,###.999"/>
  699. <Cell col="7" displaytype="none" edittype="none" text="bind:prcpvolunitnm2"/>
  700. <Cell col="8" displaytype="none" edittype="none" text="bind:mthdcnts1" enable="false"/>
  701. <Cell col="9" text="bind:abbrnm"/>
  702. <Cell col="10" text="bind:clscd"/>
  703. <Cell col="11" text="bind:prcpappyn"/>
  704. <Cell col="12" text="bind:totvolyn"/>
  705. <Cell col="13" text="bind:remark"/>
  706. <Cell col="14" text="bind:sortno"/>
  707. <Cell col="15" text="bind:pcaflag"/>
  708. </Band>
  709. </Format>
  710. </Formats>
  711. </Grid>
  712. </Layout>
  713. </Layouts>
  714. </Div>
  715. <Div id="case4" anchor="all" taborder="6" position="absolute 0 0 1200 492">
  716. <Layouts>
  717. <Layout>
  718. <Button id="button24" taborder="64" text="인증저장" class="btn5" visible="false" position="absolute 1083 37 1147 56" anchor="top right"/>
  719. <Button id="button23" taborder="65" text="임시저장" class="btn5" visible="false" position="absolute 1018 37 1082 56" anchor="top right"/>
  720. <Div id="group1" anchor="left top bottom" taborder="66" position="absolute 0 2 490 489">
  721. <Layouts>
  722. <Layout>
  723. <Static id="caption60" text="PRN 처방내역(수술중/후)" class="tit_2" position="absolute 0 2 180 19"/>
  724. <Grid id="datagrid1" taborder="13" binddataset="ds_main_revrInfo_prnorderlist" scrollpixel="all" useinputpanel="false" selecttype="multirow" cellsizingtype="col" autofittype="col" oncelldblclick="switch1_case1_case4_group1_datagrid1_oncelldblclick" position="absolute 0 21 490 194">
  725. <Formats>
  726. <Format id="default">
  727. <Columns>
  728. <Column size="0"/>
  729. <Column size="55"/>
  730. <Column size="0"/>
  731. <Column size="173"/>
  732. <Column size="28"/>
  733. <Column size="28"/>
  734. <Column size="28"/>
  735. <Column size="28"/>
  736. <Column size="28"/>
  737. <Column size="32"/>
  738. <Column size="57"/>
  739. <Column size="0"/>
  740. </Columns>
  741. <Rows>
  742. <Row size="24" band="head"/>
  743. <Row size="24"/>
  744. </Rows>
  745. <Band id="head">
  746. <Cell text="recovseqno"/>
  747. <Cell col="1" text="구분"/>
  748. <Cell col="2" text="prcpcd"/>
  749. <Cell col="3" text="처방명"/>
  750. <Cell col="4" colspan="6" text="1일용량/단위/1일횟수" taborder="undefined"/>
  751. <Cell col="10" text="처방종류"/>
  752. <Cell col="11" text="prcpclscd"/>
  753. </Band>
  754. <Band id="body">
  755. <Cell displaytype="none" edittype="none" text="bind:recovseqno"/>
  756. <Cell col="1" style="align:center;" text="bind:flag"/>
  757. <Cell col="2" text="bind:prcpcd"/>
  758. <Cell col="3" style="align:left top;padding:4 2 2 2;" text="bind:prcpnm" wordwrap="word" tooltiptype="mouse" tooltiptext="bind:prcpnm"/>
  759. <Cell col="4" style="align:left;padding:2 2 2 2;" text="bind:drugvol"/>
  760. <Cell col="5" style="align:left;padding:2 2 2 2;" text="bind:drugvolunit"/>
  761. <Cell col="6" style="align:left;padding:2 2 2 2;" text="bind:drugqty"/>
  762. <Cell col="7" style="align:left top;padding:4 2 2 2;" text="bind:drugqtyunit" wordwrap="word"/>
  763. <Cell col="8" style="align:left;padding:2 2 2 2;" text="bind:drugtime"/>
  764. <Cell col="9" style="align:left;padding:2 2 2 2;" text="bind:drugday"/>
  765. <Cell col="10" style="align:center;" text="bind:flag2"/>
  766. <Cell col="11" text="bind:prcpclscd"/>
  767. </Band>
  768. </Format>
  769. </Formats>
  770. </Grid>
  771. <Static id="caption62" text="참고 사항" class="tit_2" position="absolute 0 394 126 412"/>
  772. <Static id="caption82" text="조회구분" class="search_name" position="absolute 232 0 308 20"/>
  773. <Radio id="radio4" taborder="14" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" direction="vertical" onitemchanged="switch1_case1_case4_group1_radio4_onitemchanged" position="absolute 300 0 421 20" style="textpadding:0 2 0 3;">
  774. <Dataset id="innerdataset">
  775. <ColumnInfo>
  776. <Column id="codecolumn"/>
  777. <Column id="datacolumn"/>
  778. </ColumnInfo>
  779. <Rows>
  780. <Row>
  781. <Col id="codecolumn">T</Col>
  782. <Col id="datacolumn">임시</Col>
  783. </Row>
  784. <Row>
  785. <Col id="codecolumn">A</Col>
  786. <Col id="datacolumn">실시완료</Col>
  787. </Row>
  788. </Rows>
  789. </Dataset>
  790. </Radio>
  791. <TextArea id="tar_remfact" taborder="15" wordwrap="char" position="absolute 0 413 490 487" anchor="left top bottom"/>
  792. </Layout>
  793. </Layouts>
  794. </Div>
  795. <Static id="caption63" text="입력주기설정" class="search_name" position="absolute 762 2 857 22" anchor="top right"/>
  796. <Radio id="radio3" taborder="67" columncount="0" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" direction="vertical" onitemchanged="switch1_case1_case4_radio3_onitemchanged" position="absolute 854 2 950 22" anchor="top right" style="textpadding:0 6 0 3;">
  797. <Dataset id="innerdataset">
  798. <ColumnInfo>
  799. <Column id="codecolumn"/>
  800. <Column id="datacolumn"/>
  801. </ColumnInfo>
  802. <Rows>
  803. <Row>
  804. <Col id="codecolumn">5</Col>
  805. <Col id="datacolumn">5분</Col>
  806. </Row>
  807. <Row>
  808. <Col id="codecolumn">10</Col>
  809. <Col id="datacolumn">10분</Col>
  810. </Row>
  811. </Rows>
  812. </Dataset>
  813. </Radio>
  814. <Button id="button17" taborder="68" onclick="switch1_case1_case4_button17_onclick" position="absolute 495 2 515 22" style="background:@gradation URL('theme://images\btn_calPrev_N.png') stretch;border:0 none #33bbbbff #effcfbff;"/>
  815. <Button id="button18" taborder="69" text="다음" onclick="switch1_case1_case4_button18_onclick" class="btn2" position="absolute 999 2 1042 22" anchor="top right"/>
  816. <Button id="button19" taborder="70" text="새로고침" class="btn2" position="absolute 426 2 490 22"/>
  817. <Button id="button21" taborder="71" text="항목 추가" onclick="switch1_case1_case4_button21_onclick" class="btn2" position="absolute 535 2 610 22"/>
  818. <Button id="button22" taborder="72" text="이전" onclick="switch1_case1_case4_button22_onclick" class="btn2" position="absolute 954 2 997 22" anchor="top right"/>
  819. <Button id="button25" taborder="73" onclick="switch1_case1_case4_button25_onclick" position="absolute 514 2 534 22" style="background:@gradation URL('theme://images\btn_calNext_N.png') stretch;border:0 none #33bbbbff #effcfbff;"/>
  820. <Button id="button27" taborder="74" text="삭제" onclick="switch1_case1_case4_button27_onclick" class="btn2" position="absolute 1158 2 1200 22" anchor="top right"/>
  821. <Div id="group8" taborder="75" position="absolute 0 205 490 384">
  822. <Layouts>
  823. <Layout>
  824. <Grid id="datagrid4" taborder="13" binddataset="ds_main_revrInfo_actingorderlist" scrollpixel="all" useinputpanel="false" selecttype="multirow" cellsizingtype="col" autofittype="col" position="absolute 0 21 490 179">
  825. <Formats>
  826. <Format id="default">
  827. <Columns>
  828. <Column size="0"/>
  829. <Column size="53"/>
  830. <Column size="0"/>
  831. <Column size="173"/>
  832. <Column size="28"/>
  833. <Column size="28"/>
  834. <Column size="28"/>
  835. <Column size="28"/>
  836. <Column size="28"/>
  837. <Column size="32"/>
  838. <Column size="65"/>
  839. <Column size="0"/>
  840. </Columns>
  841. <Rows>
  842. <Row size="24" band="head"/>
  843. <Row size="24"/>
  844. </Rows>
  845. <Band id="head">
  846. <Cell text="recovseqno"/>
  847. <Cell col="1" text="구분"/>
  848. <Cell col="2" text="prcpcd"/>
  849. <Cell col="3" text="처방명"/>
  850. <Cell col="4" colspan="6" text="1일용량/단위/1일횟수" taborder="undefined"/>
  851. <Cell col="10" text="처방종류"/>
  852. <Cell col="11" text="prcpclscd"/>
  853. </Band>
  854. <Band id="body">
  855. <Cell text="bind:recovseqno"/>
  856. <Cell col="1" displaytype="normal" edittype="none" style="align:center;" text="bind:flag"/>
  857. <Cell col="2" text="bind:prcpcd"/>
  858. <Cell col="3" style="align:left top;padding:4 2 2 2;" text="bind:prcpnm" wordwrap="word" tooltiptype="mouse" tooltiptext="bind:prcpnm"/>
  859. <Cell col="4" style="align:left;" text="bind:drugvol"/>
  860. <Cell col="5" style="align:left;" text="bind:drugvolunit"/>
  861. <Cell col="6" style="align:left;" text="bind:drugqty"/>
  862. <Cell col="7" style="align:left top;padding:4 2 2 2;" text="bind:drugqtyunit" wordwrap="word"/>
  863. <Cell col="8" style="align:left;" text="bind:drugtime"/>
  864. <Cell col="9" style="align:left;padding:2 2 2 2;" text="bind:drugday"/>
  865. <Cell col="10" style="align:center;" text="bind:flag2"/>
  866. <Cell col="11" text="bind:prcpclscd"/>
  867. </Band>
  868. </Format>
  869. </Formats>
  870. </Grid>
  871. <Static id="caption61" text="시행부서 처방내역" class="tit_2" position="absolute 0 2 132 19"/>
  872. <Button id="button20" taborder="14" text="새로고침" class="btn2" position="absolute 426 0 490 20"/>
  873. <Button id="button28" taborder="15" text="펼치기" onclick="switch1_case1_case4_group8_button28_onclick" class="btn2" position="absolute 371 0 424 20"/>
  874. </Layout>
  875. </Layouts>
  876. </Div>
  877. <Grid id="datagrid9" taborder="76" binddataset="ds_main_revrInfo_mnphrevr" scrollpixel="all" autoenter="key" useinputpanel="false" selecttype="multiarea" extendsizetype="row" cellsizingtype="both" cellsizebandtype="allband" autosizingtype="row" autosizebandtype="allband" autosizemergetype="bothmerge" onlbuttondown="switch1_case1_case4_datagrid9_onlbuttondown" onlbuttonup="switch1_case1_case4_datagrid9_onlbuttonup" onrbuttondown="switch1_case1_case4_datagrid9_onrbuttondown" onrbuttonup="switch1_case1_case4_datagrid9_onrbuttonup" onenteredit="switch1_case1_case4_datagrid9_onenteredit" position="absolute 495 23 1041 489" anchor="all">
  878. <Formats>
  879. <Format id="default">
  880. <Columns>
  881. <Column size="0" band="left"/>
  882. <Column size="0" band="left"/>
  883. <Column size="0" band="left"/>
  884. <Column size="74" band="left"/>
  885. <Column size="86" band="left"/>
  886. <Column size="35"/>
  887. <Column size="35"/>
  888. <Column size="46"/>
  889. <Column size="46"/>
  890. <Column size="46"/>
  891. <Column size="46"/>
  892. <Column size="46"/>
  893. <Column size="46"/>
  894. <Column size="40"/>
  895. <Column size="46"/>
  896. <Column size="46"/>
  897. <Column size="46"/>
  898. <Column size="46"/>
  899. <Column size="46"/>
  900. <Column size="46"/>
  901. <Column size="46"/>
  902. <Column size="46"/>
  903. <Column size="46"/>
  904. <Column size="46"/>
  905. <Column size="46"/>
  906. <Column size="46"/>
  907. <Column size="46"/>
  908. <Column size="46"/>
  909. <Column size="46"/>
  910. <Column size="46"/>
  911. <Column size="46"/>
  912. <Column size="0"/>
  913. </Columns>
  914. <Rows>
  915. <Row size="24" band="head"/>
  916. <Row size="24" band="head"/>
  917. <Row size="24" band="head"/>
  918. <Row size="24"/>
  919. </Rows>
  920. <Band id="head">
  921. <Cell text="분류코드"/>
  922. <Cell col="1" text="아이템코드"/>
  923. <Cell col="2" text="recovseqno"/>
  924. <Cell col="3" rowspan="3" taborder="undefined" autosizerow="limitmin"/>
  925. <Cell col="4" text="날짜" autosizerow="limitmin"/>
  926. <Cell col="5" colspan="2" text="Total I/O" taborder="undefined" autosizerow="limitmin"/>
  927. <Cell col="7" autosizerow="limitmin"/>
  928. <Cell col="8" style="linetype:nocross;" autosizerow="limitmin"/>
  929. <Cell col="9" style="linetype:nocross;" autosizerow="limitmin"/>
  930. <Cell col="10" style="linetype:nocross;" autosizerow="limitmin"/>
  931. <Cell col="11" style="linetype:nocross;" autosizerow="limitmin"/>
  932. <Cell col="12" style="linetype:nocross;" autosizerow="limitmin"/>
  933. <Cell col="13" style="linetype:nocross;" autosizerow="limitmin"/>
  934. <Cell col="14" style="linetype:nocross;" autosizerow="limitmin"/>
  935. <Cell col="15" style="linetype:nocross;" autosizerow="limitmin"/>
  936. <Cell col="16" style="linetype:nocross;" autosizerow="limitmin"/>
  937. <Cell col="17" style="linetype:nocross;" autosizerow="limitmin"/>
  938. <Cell col="18" style="linetype:nocross;" autosizerow="limitmin"/>
  939. <Cell col="19" style="linetype:nocross;" autosizerow="limitmin"/>
  940. <Cell col="20" style="linetype:nocross;" autosizerow="limitmin"/>
  941. <Cell col="21" style="linetype:nocross;" autosizerow="limitmin"/>
  942. <Cell col="22" style="linetype:nocross;" autosizerow="limitmin"/>
  943. <Cell col="23" style="linetype:nocross;" autosizerow="limitmin"/>
  944. <Cell col="24" style="linetype:nocross;" autosizerow="limitmin"/>
  945. <Cell col="25" style="linetype:nocross;" autosizerow="limitmin"/>
  946. <Cell col="26" style="linetype:nocross;" autosizerow="limitmin"/>
  947. <Cell col="27" style="linetype:nocross;" autosizerow="limitmin"/>
  948. <Cell col="28" style="linetype:nocross;" autosizerow="limitmin"/>
  949. <Cell col="29" style="linetype:nocross;" autosizerow="limitmin"/>
  950. <Cell col="30" style="linetype:nocross;" autosizerow="limitmin"/>
  951. <Cell col="31" text="recflag"/>
  952. <Cell row="1" text="분류코드"/>
  953. <Cell row="1" col="1" text="아이템코드"/>
  954. <Cell row="1" col="2" text="recovseqno"/>
  955. <Cell row="1" col="4" text="시" autosizerow="limitmin"/>
  956. <Cell row="1" col="5" rowspan="2" colspan="2" text="I/O" taborder="undefined" autosizerow="limitmin"/>
  957. <Cell row="1" col="7" autosizerow="limitmin"/>
  958. <Cell row="1" col="8" style="linetype:nocross;" autosizerow="limitmin"/>
  959. <Cell row="1" col="9" style="linetype:nocross;" autosizerow="limitmin"/>
  960. <Cell row="1" col="10" style="linetype:nocross;" autosizerow="limitmin"/>
  961. <Cell row="1" col="11" style="linetype:nocross;" autosizerow="limitmin"/>
  962. <Cell row="1" col="12" style="linetype:nocross;" autosizerow="limitmin"/>
  963. <Cell row="1" col="13" style="linetype:nocross;" autosizerow="limitmin"/>
  964. <Cell row="1" col="14" style="linetype:nocross;" autosizerow="limitmin"/>
  965. <Cell row="1" col="15" style="linetype:nocross;" autosizerow="limitmin"/>
  966. <Cell row="1" col="16" style="linetype:nocross;" autosizerow="limitmin"/>
  967. <Cell row="1" col="17" style="linetype:nocross;" autosizerow="limitmin"/>
  968. <Cell row="1" col="18" style="linetype:nocross;" autosizerow="limitmin"/>
  969. <Cell row="1" col="19" style="linetype:nocross;" autosizerow="limitmin"/>
  970. <Cell row="1" col="20" style="linetype:nocross;" autosizerow="limitmin"/>
  971. <Cell row="1" col="21" style="linetype:nocross;" autosizerow="limitmin"/>
  972. <Cell row="1" col="22" style="linetype:nocross;" autosizerow="limitmin"/>
  973. <Cell row="1" col="23" style="linetype:nocross;" autosizerow="limitmin"/>
  974. <Cell row="1" col="24" style="linetype:nocross;" autosizerow="limitmin"/>
  975. <Cell row="1" col="25" style="linetype:nocross;" autosizerow="limitmin"/>
  976. <Cell row="1" col="26" style="linetype:nocross;" autosizerow="limitmin"/>
  977. <Cell row="1" col="27" style="linetype:nocross;" autosizerow="limitmin"/>
  978. <Cell row="1" col="28" style="linetype:nocross;" autosizerow="limitmin"/>
  979. <Cell row="1" col="29" style="linetype:nocross;" autosizerow="limitmin"/>
  980. <Cell row="1" col="30" style="linetype:nocross;" autosizerow="limitmin"/>
  981. <Cell row="1" col="31" text="recflag"/>
  982. <Cell row="2" text="분류코드"/>
  983. <Cell row="2" col="1" text="아이템코드"/>
  984. <Cell row="2" col="2" text="recovseqno"/>
  985. <Cell row="2" col="4" text="분" autosizerow="limitmin"/>
  986. <Cell row="2" col="7" autosizerow="limitmin"/>
  987. <Cell row="2" col="8" style="linetype:nocross;" autosizerow="limitmin"/>
  988. <Cell row="2" col="9" style="linetype:nocross;" autosizerow="limitmin"/>
  989. <Cell row="2" col="10" style="linetype:nocross;" autosizerow="limitmin"/>
  990. <Cell row="2" col="11" style="linetype:nocross;" autosizerow="limitmin"/>
  991. <Cell row="2" col="12" style="linetype:nocross;" autosizerow="limitmin"/>
  992. <Cell row="2" col="13" style="linetype:nocross;" autosizerow="limitmin"/>
  993. <Cell row="2" col="14" style="linetype:nocross;" autosizerow="limitmin"/>
  994. <Cell row="2" col="15" style="linetype:nocross;" autosizerow="limitmin"/>
  995. <Cell row="2" col="16" style="linetype:nocross;" autosizerow="limitmin"/>
  996. <Cell row="2" col="17" style="linetype:nocross;" autosizerow="limitmin"/>
  997. <Cell row="2" col="18" style="linetype:nocross;" autosizerow="limitmin"/>
  998. <Cell row="2" col="19" style="linetype:nocross;" autosizerow="limitmin"/>
  999. <Cell row="2" col="20" style="linetype:nocross;" autosizerow="limitmin"/>
  1000. <Cell row="2" col="21" style="linetype:nocross;" autosizerow="limitmin"/>
  1001. <Cell row="2" col="22" style="linetype:nocross;" autosizerow="limitmin"/>
  1002. <Cell row="2" col="23" style="linetype:nocross;" autosizerow="limitmin"/>
  1003. <Cell row="2" col="24" style="linetype:nocross;" autosizerow="limitmin"/>
  1004. <Cell row="2" col="25" style="linetype:nocross;" autosizerow="limitmin"/>
  1005. <Cell row="2" col="26" style="linetype:nocross;" autosizerow="limitmin"/>
  1006. <Cell row="2" col="27" style="linetype:nocross;" autosizerow="limitmin"/>
  1007. <Cell row="2" col="28" style="linetype:nocross;" autosizerow="limitmin"/>
  1008. <Cell row="2" col="29" style="linetype:nocross;" autosizerow="limitmin"/>
  1009. <Cell row="2" col="30" style="linetype:nocross;" autosizerow="limitmin"/>
  1010. <Cell row="2" col="31" text="recflag"/>
  1011. </Band>
  1012. <Band id="body">
  1013. <Cell text="bind:lrgcd"/>
  1014. <Cell col="1" text="bind:vsitemcd"/>
  1015. <Cell col="2" text="bind:recovseqno"/>
  1016. <Cell col="3" style="align:left;linetype:EXPR(lrgnm == vsitemnm ? 'onlyhorz' : '');background:bind:colBack3;background2:bind:colBack3;font:arial,9,bold;" text="bind:lrgnm" suppress="1" suppressalign="middle,over" autosizerow="limitmin"/>
  1017. <Cell col="4" style="align:left top;padding:4 2 2 2;background:bind:colBack4;background2:bind:colBack4;font:arial,9,bold;" text="bind:vsitemnm" expr="expr:lrgnm == vsitemnm ? '' : vsitemnm" wordwrap="word" autosizerow="limitmin"/>
  1018. <Cell col="5" displaytype="text" style="background:bind:colBack5;background2:bind:colBack5;" text="bind:itotal" editautoselect="true" autosizerow="limitmin"/>
  1019. <Cell col="6" displaytype="text" style="background:bind:colBack5;background2:bind:colBack5;" text="bind:ototal" editautoselect="true" autosizerow="limitmin"/>
  1020. <Cell col="7" displaytype="text" edittype="text" text="bind:data1" editautoselect="true"/>
  1021. <Cell col="8" displaytype="text" edittype="text" text="bind:data2" editautoselect="true"/>
  1022. <Cell col="9" displaytype="text" edittype="text" text="bind:data3" editautoselect="true"/>
  1023. <Cell col="10" displaytype="text" edittype="text" text="bind:data4" editautoselect="true"/>
  1024. <Cell col="11" displaytype="text" edittype="text" text="bind:data5" editautoselect="true"/>
  1025. <Cell col="12" displaytype="text" edittype="text" text="bind:data6" editautoselect="true"/>
  1026. <Cell col="13" displaytype="text" edittype="text" text="bind:data7" editautoselect="true"/>
  1027. <Cell col="14" displaytype="text" edittype="text" text="bind:data8" editautoselect="true"/>
  1028. <Cell col="15" displaytype="text" edittype="text" text="bind:data9" editautoselect="true"/>
  1029. <Cell col="16" displaytype="text" edittype="text" text="bind:data10" editautoselect="true"/>
  1030. <Cell col="17" displaytype="text" edittype="text" text="bind:data11" editautoselect="true"/>
  1031. <Cell col="18" displaytype="text" edittype="text" text="bind:data12" editautoselect="true"/>
  1032. <Cell col="19" displaytype="text" edittype="text" text="bind:data13" editautoselect="true"/>
  1033. <Cell col="20" displaytype="text" edittype="text" text="bind:data14" editautoselect="true"/>
  1034. <Cell col="21" displaytype="text" edittype="text" text="bind:data15" editautoselect="true"/>
  1035. <Cell col="22" displaytype="text" edittype="text" text="bind:data16" editautoselect="true"/>
  1036. <Cell col="23" displaytype="text" edittype="text" text="bind:data17" editautoselect="true"/>
  1037. <Cell col="24" displaytype="text" edittype="text" text="bind:data18" editautoselect="true"/>
  1038. <Cell col="25" displaytype="text" edittype="text" text="bind:data19" editautoselect="true"/>
  1039. <Cell col="26" displaytype="text" edittype="text" text="bind:data20" editautoselect="true"/>
  1040. <Cell col="27" displaytype="text" edittype="text" text="bind:data21" editautoselect="true"/>
  1041. <Cell col="28" displaytype="text" edittype="text" text="bind:data22" editautoselect="true"/>
  1042. <Cell col="29" displaytype="text" edittype="text" text="bind:data23" editautoselect="true"/>
  1043. <Cell col="30" displaytype="text" edittype="text" text="bind:data24" editautoselect="true"/>
  1044. <Cell col="31" text="bind:recflag"/>
  1045. </Band>
  1046. </Format>
  1047. </Formats>
  1048. </Grid>
  1049. <Grid id="datagrid2" taborder="77" binddataset="ds_main_revrInfo_mnphrepg" scrollpixel="all" autoenter="key" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" autofittype="col" onenterdown="switch1_case1_case4_datagrid2_onenterdown" position="absolute 1042 23 1193 489" anchor="top right bottom">
  1050. <Formats>
  1051. <Format id="default">
  1052. <Columns>
  1053. <Column size="21" band="left"/>
  1054. <Column size="31"/>
  1055. <Column size="91"/>
  1056. <Column size="0"/>
  1057. </Columns>
  1058. <Rows>
  1059. <Row size="24" band="head"/>
  1060. <Row size="24"/>
  1061. </Rows>
  1062. <Band id="head">
  1063. <Cell/>
  1064. <Cell col="1" text="No."/>
  1065. <Cell col="2" text="Progress Note"/>
  1066. <Cell col="3" text="recovseqno"/>
  1067. </Band>
  1068. <Band id="body">
  1069. <Cell celltype="head" displaytype="image"/>
  1070. <Cell col="1" displaytype="number" edittype="masknumber" style="align:center;" text="bind:progressno" mask="##" editautoselect="true" editlimitbymask="integer"/>
  1071. <Cell col="2" displaytype="text" edittype="text" text="bind:reccmt"/>
  1072. <Cell col="3" text="bind:recovseqno"/>
  1073. </Band>
  1074. </Format>
  1075. </Formats>
  1076. </Grid>
  1077. <Button id="button26" taborder="78" onclick="switch1_case1_case4_button26_onclick" position="absolute 1045 28 1059 42" anchor="top right" style="image:URL('theme://images\icon_plus_N.png');"/>
  1078. </Layout>
  1079. </Layouts>
  1080. </Div>
  1081. </Layout>
  1082. </Layouts>
  1083. </Tabpage>
  1084. </Tabpages>
  1085. </Tab>
  1086. <Div position="absolute 0 0 1191 25" id="grp_query" anchor="left top right">
  1087. <Layouts>
  1088. <Layout>
  1089. <Static text="회복간호기록" position="absolute 0 0 114 23" id="caption6" class="tit_1" anchor="default"/>
  1090. </Layout>
  1091. </Layouts>
  1092. </Div>
  1093. <Div position="absolute 0 22 1200 51" align="align:center top;" id="group6" class="div_SA" anchor="left top right">
  1094. <Layouts>
  1095. <Layout>
  1096. <Static text="수술일자 :" position="absolute 8 5 98 25" align="align:center middle;" id="caption1" class="search_name" style="align:left middle;" anchor="default"/>
  1097. <Static text="수술방 :" position="absolute 225 5 303 25" align="align:center middle;" id="caption2" class="search_name" style="align:left middle;" anchor="default"/>
  1098. <Calendar position="absolute 85 5 185 25" id="input7" dateformat="yyyy-MM-dd" value="null" autoselect="true" style="align:left middle;" anchor="default"/>
  1099. <Combo position="absolute 289 5 389 25" id="combo2" class="combo_default" innerdataset="@ds_init_drgecdlist_OpRoomInfo" datacolumn="oproomnm" codecolumn="oproomcd" style="align:left middle;" anchor="default"/>
  1100. <Static text="마취구분 :" position="absolute 425 5 515 25" align="align:center middle;" id="caption47" class="search_name" style="align:left middle;" anchor="top right"/>
  1101. <cp_checkboxList id="checkbox3" taborder="7" scrollbars="none" position="absolute 502 5 654 25" style="background:transparent;align:middle;" col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible" anchor="top right"/>
  1102. <cp_checkboxList id="checkbox4" anchor="top right" titletext="CheckBox List" taborder="8" scrollbars="none" position="absolute 812 5 1091 25" style="background:transparent;align:middle;" col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  1103. <Shape id="line34" linetype="vertical" position="absolute 662 8 668 23" anchor="top right"/>
  1104. <Button id="button9" taborder="9" text="조회" onclick="group6_button9_onclick" class="btn1" position="absolute 1125 5 1181 25" anchor="top right" style="align:left middle;"/>
  1105. <Edit id="ipt_hngnm" taborder="10" enable="false" visible="false" position="absolute 1184 6 1194 25" anchor="top right"/>
  1106. <Edit id="ipt_pid" taborder="11" class="input_default" visible="false" position="absolute 1130 5 1135 24"/>
  1107. <Static id="caption69" text="진행상태 :" class="search_name" position="absolute 726 5 799 25" anchor="top right" style="align:left middle;" align="align:center middle;"/>
  1108. <CheckBox id="checkbox2" taborder="12" text="진정" value="N" truevalue="Y" falsevalue="N" position="absolute 668 5 713 25" anchor="top right" style="align:left middle;"/>
  1109. <Button id="button15" taborder="13" class="icon_search" visible="false" position="absolute 1159 7 1175 23"/>
  1110. <Shape id="line1" linetype="vertical" class="line_4" position="absolute 1107 6 1113 25" anchor="top right"/>
  1111. </Layout>
  1112. </Layouts>
  1113. </Div>
  1114. <Static text="수술스케쥴" position="absolute 0 55 108 72" align="align:center middle;" id="caption44" class="tit_2"/>
  1115. <Static text="총마취건수" position="absolute 382 53 443 73" id="caption45" style="align:left middle;" anchor="top right"/>
  1116. <Static text="전신마취건수" position="absolute 527 53 600 73" id="caption72" style="align:left middle;" anchor="top right"/>
  1117. <Edit position="absolute 445 52 490 72" align="align:center middle;" id="output2" class="output" style="align:center middle;font:Dotum,9,bold;" readonly="true" anchor="top right"/>
  1118. <Static text="회복기록작성" position="absolute 153 53 238 73" id="caption33" style="align:left middle;"/>
  1119. <Static position="absolute 134 54 150 70" id="caption71" class="color_6" style="background:#2d2dd2ff;"/>
  1120. <Static position="absolute 250 54 266 70" id="caption77" class="color_6" style="background:#ff0000ff;"/>
  1121. <Static text="미인증" position="absolute 270 53 315 73" id="caption78" style="align:left middle;"/>
  1122. <Div id="group4" taborder="4" position="absolute 0 757 839 758">
  1123. <Layouts>
  1124. <Layout width="839" height="27"/>
  1125. </Layouts>
  1126. </Div>
  1127. <Static id="caption86" text="[표]" position="absolute 1175 740 1200 760" anchor="right bottom" style="align:right bottom;"/>
  1128. <Grid id="datagrid5" taborder="5" binddataset="ds_HideData_opschelists_schelist" scrollpixel="all" useinputpanel="false" selecttype="multirow" cellsizingtype="both" cellsizebandtype="allband" autofittype="col" onrbuttondown="datagrid5_onrbuttondown" onrbuttonup="datagrid5_onrbuttonup" onkillfocus="datagrid5_onkillfocus" oncellclick="datagrid5_oncellclick" position="absolute 0 73 1200 224" anchor="left top right" extendsizetype="row" tooltiptype="hover">
  1129. <Formats>
  1130. <Format id="default">
  1131. <Columns>
  1132. <Column size="22" band="left"/>
  1133. <Column size="55"/>
  1134. <Column size="60"/>
  1135. <Column size="60"/>
  1136. <Column size="58"/>
  1137. <Column size="27"/>
  1138. <Column size="62"/>
  1139. <Column size="71"/>
  1140. <Column size="49"/>
  1141. <Column size="200"/>
  1142. <Column size="277"/>
  1143. <Column size="60"/>
  1144. <Column size="90"/>
  1145. <Column size="63"/>
  1146. <Column size="63"/>
  1147. <Column size="50"/>
  1148. <Column size="0"/>
  1149. <Column size="0"/>
  1150. <Column size="0"/>
  1151. <Column size="0"/>
  1152. <Column size="0"/>
  1153. <Column size="0"/>
  1154. <Column size="0"/>
  1155. <Column size="0"/>
  1156. <Column size="0"/>
  1157. <Column size="0"/>
  1158. <Column size="0"/>
  1159. <Column size="0"/>
  1160. <Column size="0"/>
  1161. <Column size="0"/>
  1162. <Column size="0"/>
  1163. <Column size="0"/>
  1164. <Column size="0"/>
  1165. <Column size="0"/>
  1166. <Column size="0"/>
  1167. <Column size="0"/>
  1168. <Column size="0"/>
  1169. <Column size="0"/>
  1170. </Columns>
  1171. <Rows>
  1172. <Row size="20" band="head"/>
  1173. <Row size="24"/>
  1174. </Rows>
  1175. <Band id="head">
  1176. <Cell/>
  1177. <Cell col="1" text="진행상태"/>
  1178. <Cell col="2" text="집도과"/>
  1179. <Cell col="3" text="수술방"/>
  1180. <Cell col="4" text="환자구분"/>
  1181. <Cell col="5" text="PCA"/>
  1182. <Cell col="6" text="환자명"/>
  1183. <Cell col="7" text="등록번호"/>
  1184. <Cell col="8" text="S/A"/>
  1185. <Cell col="9" text="진단명"/>
  1186. <Cell col="10" text="수술명"/>
  1187. <Cell col="11" text="집도의"/>
  1188. <Cell col="12" text="수술체위"/>
  1189. <Cell col="13" text="마취방법"/>
  1190. <Cell col="14" style="align:left;" text="마취방법(상세)"/>
  1191. <Cell col="15" style="align:center;" text="특이사항"/>
  1192. <Cell col="16" text="opoutrmplcecd"/>
  1193. <Cell col="17" text="caption1"/>
  1194. <Cell col="18" text="caption2"/>
  1195. <Cell col="19" text="caption3"/>
  1196. <Cell col="20" text="caption4"/>
  1197. <Cell col="21" text="caption5"/>
  1198. <Cell col="22" text="caption6"/>
  1199. <Cell col="23" text="caption7"/>
  1200. <Cell col="24" text="caption8"/>
  1201. <Cell col="25" text="caption9"/>
  1202. <Cell col="26" text="caption10"/>
  1203. <Cell col="27" text="caption11"/>
  1204. <Cell col="28" text="caption12"/>
  1205. <Cell col="29" text="caption13"/>
  1206. <Cell col="30" text="caption14"/>
  1207. <Cell col="31" text="recendflag"/>
  1208. <Cell col="32" text="oppatflagcd"/>
  1209. <Cell col="33" text="pkidatetimems"/>
  1210. <Cell col="34"/>
  1211. <Cell col="35"/>
  1212. <Cell col="36"/>
  1213. <Cell col="37"/>
  1214. </Band>
  1215. <Band id="body">
  1216. <Cell celltype="head" expr="currow + 1"/>
  1217. <Cell col="1" style="color:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );color2:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );" text="bind:opstatnm"/>
  1218. <Cell col="2" style="color:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );color2:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );" text="bind:perfdeptnm"/>
  1219. <Cell col="3" style="color:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );color2:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );" text="bind:oproomnm"/>
  1220. <Cell col="4" style="color:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );color2:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );" text="bind:oppatflagnm"/>
  1221. <Cell col="5" style="color:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );color2:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );" text="bind:pca"/>
  1222. <Cell col="6" style="color:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );color2:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );" text="bind:hngnm"/>
  1223. <Cell col="7" style="align:center middle;padding:2 3 3 2;color:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );color2:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );" text="bind:pid"/>
  1224. <Cell col="8" style="color:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );color2:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );" text="bind:sa"/>
  1225. <Cell col="9" style="align:left top;padding:3 3 3 3;color:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );color2:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );" text="bind:diagcdnm" wordwrap="char" tooltiptext="bind:diagcdnm"/>
  1226. <Cell col="10" style="align:left top;padding:3 3 3 3;color:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );color2:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );" text="bind:opcdnm" wordwrap="char" tooltiptext="bind:opcdnm" autosizerow="limitmin"/>
  1227. <Cell col="11" style="color:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );color2:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );" text="bind:perfdrnm"/>
  1228. <Cell col="12" style="align:left top;padding:3 3 3 3;color:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );color2:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );" text="bind:opposition" wordwrap="char" tooltiptext="bind:opposition"/>
  1229. <Cell col="13" style="align:left middle;padding:3 3 3 3;color:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );color2:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );" text="bind:anstmthdcdnm" wordwrap="char"/>
  1230. <Cell col="14" style="align:left top;color:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );color2:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );" text="bind:anstmthd" wordwrap="char" tooltiptext="bind:anstmthd"/>
  1231. <Cell col="15" style="align:left top;padding:3 3 3 3;color:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );color2:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) &amp;&amp; getColumn(currow, 'recovseqno') != '-') &amp;&amp; (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );" text="bind:anstkindinfo" wordwrap="char" tooltiptext="bind:anstkindinfo"/>
  1232. <Cell col="16" text="bind:opcnfmdate"/>
  1233. <Cell col="17" text="bind:opstatcd"/>
  1234. <Cell col="18" text="bind:perfdeptcd"/>
  1235. <Cell col="19" text="bind:perfdrid"/>
  1236. <Cell col="20" text="bind:gcnt"/>
  1237. <Cell col="21" text="bind:pcnt"/>
  1238. <Cell col="22" text="bind:recovcnt"/>
  1239. <Cell col="23" text="bind:opflagcd"/>
  1240. <Cell col="24" text="bind:oproomcd"/>
  1241. <Cell col="25" text="bind:anstrecno"/>
  1242. <Cell col="26" text="bind:oprsrvno"/>
  1243. <Cell col="27" text="bind:ophistno"/>
  1244. <Cell col="28" text="bind:recovseqno"/>
  1245. <Cell col="29" text="bind:instcd"/>
  1246. <Cell col="30" text="bind:recendflag"/>
  1247. <Cell col="31" text="bind:oppatflagcd"/>
  1248. <Cell col="32" text="bind:pkidatetimems"/>
  1249. <Cell col="33" text="bind:indd"/>
  1250. <Cell col="34" text="bind:cretno"/>
  1251. <Cell col="35" text="bind:inrmdt"/>
  1252. <Cell col="36" text="bind:inrmtm"/>
  1253. <Cell col="37" text="bind:opoutrmplcecd"/>
  1254. </Band>
  1255. </Format>
  1256. </Formats>
  1257. </Grid>
  1258. <Div id="group7" taborder="6" style="background:white;" visible="false" position="absolute 408 109 728 208">
  1259. <Layouts>
  1260. <Layout>
  1261. <Static id="caption81" text=" 상단정보 설정 및 기록조회 중 ..." position="absolute 7 -2 315 98" style="background:transparent URL('theme://images\loadingBar.png');align:left middle;" anchor="default"/>
  1262. </Layout>
  1263. </Layouts>
  1264. </Div>
  1265. <Button id="btn_gridctrl" taborder="7" text="펼치기" onclick="btn_gridctrl_onclick" class="btn2" position="absolute 1148 52 1200 72" anchor="top right" style="align:left middle;"/>
  1266. <Edit id="output17" taborder="8" readonly="true" class="output" position="absolute 1037 52 1082 72" anchor="top right" style="align:center middle;font:Dotum,9,bold;" align="align:center middle;"/>
  1267. <Static id="caption80" text="미인증" position="absolute 998 53 1035 73" anchor="top right" style="align:left middle;"/>
  1268. <Static id="caption74" text="회복간호기록" position="absolute 841 53 914 73" anchor="top right" style="align:left middle;"/>
  1269. <Edit id="output9" taborder="9" readonly="true" class="output" position="absolute 916 52 961 72" anchor="top right" style="align:center middle;font:Dotum,9,bold;" align="align:center middle;"/>
  1270. <Edit id="output6" taborder="10" readonly="true" class="output" position="absolute 759 52 804 72" style="align:center middle;font:Dotum,9,bold;" align="align:center middle;" anchor="top right"/>
  1271. <Edit id="output3" taborder="11" readonly="true" class="output" position="absolute 602 52 647 72" style="align:center middle;font:Dotum,9,bold;" align="align:center middle;" anchor="top right"/>
  1272. <Static id="caption73" text="부위마취건수" position="absolute 684 53 757 73" style="align:left middle;" anchor="top right"/>
  1273. <Edit id="output12" taborder="12" readonly="true" class="output" position="absolute 550 227 1068 247" anchor="left top right" style="font:Dotum,8,bold;"/>
  1274. <Edit id="output11" taborder="13" readonly="true" class="output" position="absolute 337 227 548 247" style="align:center middle;font:Dotum,8,bold;"/>
  1275. <Edit id="output10" taborder="14" readonly="true" class="output" position="absolute 255 227 335 247" style="align:center middle;font:Dotum,8,bold;"/>
  1276. <Button id="bbt_save" taborder="15" text="임시저장" onclick="bbt_save_onclick" class="btn5" enable="false" position="absolute 1070 227 1134 247" anchor="top right"/>
  1277. <Button id="btn_rgst_sct" taborder="16" text="인증저장" onclick="btn_rgst_sct_onclick" class="btn5" position="absolute 1136 227 1200 247" anchor="top right"/>
  1278. </Layout>
  1279. </Layouts>
  1280. <Objects>
  1281. <Dataset id="ds_init_combo2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1282. <ColumnInfo>
  1283. <Column id="oproomnm" type="STRING"/>
  1284. <Column id="oproomcd" type="STRING"/>
  1285. </ColumnInfo>
  1286. </Dataset>
  1287. <Dataset id="ds_init_cmb_anstmthdcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1288. <ColumnInfo>
  1289. <Column id="cdnm" type="STRING"/>
  1290. <Column id="cdid" type="STRING"/>
  1291. </ColumnInfo>
  1292. </Dataset>
  1293. <Dataset id="ds_init_cmb_anstadd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1294. <ColumnInfo>
  1295. <Column id="cdnm" type="STRING"/>
  1296. <Column id="cdid" type="STRING"/>
  1297. </ColumnInfo>
  1298. </Dataset>
  1299. <Dataset id="ds_init_rdo_oppatflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1300. <ColumnInfo>
  1301. <Column id="cdnm" type="STRING"/>
  1302. <Column id="cdid" type="STRING"/>
  1303. </ColumnInfo>
  1304. </Dataset>
  1305. <Dataset id="ds_init_cmb_physstat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1306. <ColumnInfo>
  1307. <Column id="cdnm" type="STRING"/>
  1308. <Column id="cdid" type="STRING"/>
  1309. </ColumnInfo>
  1310. </Dataset>
  1311. <Dataset id="ds_init_rdo_opflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1312. <ColumnInfo>
  1313. <Column id="cdnm" type="STRING"/>
  1314. <Column id="cdid" type="STRING"/>
  1315. </ColumnInfo>
  1316. </Dataset>
  1317. <Dataset id="ds_init_cmb_oproom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1318. <ColumnInfo>
  1319. <Column id="oproomnm" type="STRING"/>
  1320. <Column id="oproomcd" type="STRING"/>
  1321. </ColumnInfo>
  1322. </Dataset>
  1323. <Dataset id="ds_grd_opinfo1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1324. <ColumnInfo>
  1325. <Column id="code" type="STRING"/>
  1326. <Column id="engnm" type="STRING"/>
  1327. </ColumnInfo>
  1328. </Dataset>
  1329. <Dataset id="ds_grd_opinfo2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1330. <ColumnInfo>
  1331. <Column id="code" type="STRING"/>
  1332. <Column id="engnm" type="STRING"/>
  1333. </ColumnInfo>
  1334. </Dataset>
  1335. <Dataset id="ds_init_cmb_anstmthdcdsub" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1336. <ColumnInfo>
  1337. <Column id="cdnm" type="STRING"/>
  1338. <Column id="cdid" type="STRING"/>
  1339. </ColumnInfo>
  1340. </Dataset>
  1341. <Dataset id="ds_grd_opinfo7" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1342. <ColumnInfo>
  1343. <Column id="code" type="STRING"/>
  1344. <Column id="engnm" type="STRING"/>
  1345. <Column id="remfact" type="STRING"/>
  1346. </ColumnInfo>
  1347. </Dataset>
  1348. <Dataset id="ds_datagrid1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1349. <ColumnInfo>
  1350. <Column id="recovseqno" type="STRING"/>
  1351. <Column id="flag" type="STRING"/>
  1352. <Column id="prcpcd" type="STRING"/>
  1353. <Column id="prcpnm" type="STRING"/>
  1354. <Column id="drugvol" type="STRING"/>
  1355. <Column id="drugvolunit" type="STRING"/>
  1356. <Column id="drugqty" type="STRING"/>
  1357. <Column id="drugqtyunit" type="STRING"/>
  1358. <Column id="drugtime" type="STRING"/>
  1359. <Column id="drugday" type="STRING"/>
  1360. <Column id="flag2" type="STRING"/>
  1361. <Column id="prcpclscd" type="STRING"/>
  1362. </ColumnInfo>
  1363. </Dataset>
  1364. <Dataset id="ds_datagrid2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1365. <ColumnInfo>
  1366. <Column id="progressno" type="STRING"/>
  1367. <Column id="reccmt" type="STRING"/>
  1368. <Column id="recovseqno" type="STRING"/>
  1369. </ColumnInfo>
  1370. </Dataset>
  1371. <Dataset id="ds_datagrid4" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1372. <ColumnInfo>
  1373. <Column id="recovseqno" type="STRING"/>
  1374. <Column id="flag" type="STRING"/>
  1375. <Column id="prcpcd" type="STRING"/>
  1376. <Column id="prcpnm" type="STRING"/>
  1377. <Column id="drugvol" type="STRING"/>
  1378. <Column id="drugvolunit" type="STRING"/>
  1379. <Column id="drugqty" type="STRING"/>
  1380. <Column id="drugqtyunit" type="STRING"/>
  1381. <Column id="drugtime" type="STRING"/>
  1382. <Column id="drugday" type="STRING"/>
  1383. <Column id="flag2" type="STRING"/>
  1384. <Column id="prcpclscd" type="STRING"/>
  1385. </ColumnInfo>
  1386. </Dataset>
  1387. <Dataset id="ds_datagrid9" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1388. <ColumnInfo>
  1389. <Column id="lrgcd" type="STRING"/>
  1390. <Column id="vsitemcd" type="STRING"/>
  1391. <Column id="recovseqno" type="STRING"/>
  1392. <Column id="lrgnm" type="STRING"/>
  1393. <Column id="vsitemnm" type="STRING"/>
  1394. <Column id="itotal" type="STRING"/>
  1395. <Column id="ototal" type="STRING"/>
  1396. <Column id="data1" type="STRING"/>
  1397. <Column id="data2" type="STRING"/>
  1398. <Column id="data3" type="STRING"/>
  1399. <Column id="data4" type="STRING"/>
  1400. <Column id="data5" type="STRING"/>
  1401. <Column id="data6" type="STRING"/>
  1402. <Column id="data7" type="STRING"/>
  1403. <Column id="data8" type="STRING"/>
  1404. <Column id="data9" type="STRING"/>
  1405. <Column id="data10" type="STRING"/>
  1406. <Column id="data11" type="STRING"/>
  1407. <Column id="data12" type="STRING"/>
  1408. <Column id="data13" type="STRING"/>
  1409. <Column id="data14" type="STRING"/>
  1410. <Column id="data15" type="STRING"/>
  1411. <Column id="data16" type="STRING"/>
  1412. <Column id="data17" type="STRING"/>
  1413. <Column id="data18" type="STRING"/>
  1414. <Column id="data19" type="STRING"/>
  1415. <Column id="data20" type="STRING"/>
  1416. <Column id="data21" type="STRING"/>
  1417. <Column id="data22" type="STRING"/>
  1418. <Column id="data23" type="STRING"/>
  1419. <Column id="data24" type="STRING"/>
  1420. <Column id="recflag" type="STRING"/>
  1421. </ColumnInfo>
  1422. </Dataset>
  1423. <Dataset id="ds_grd_anstprcp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1424. <ColumnInfo>
  1425. <Column id="checked" type="STRING"/>
  1426. <Column id="prcptype" type="STRING"/>
  1427. <Column id="prcpnm" type="STRING"/>
  1428. <Column id="prcpcd" type="STRING"/>
  1429. <Column id="recvol" type="STRING"/>
  1430. <Column id="prcpvolunitnm" type="STRING"/>
  1431. <Column id="prcpvol" type="STRING"/>
  1432. <Column id="prcpvolunitnm2" type="STRING"/>
  1433. <Column id="mthdcnts1" type="STRING"/>
  1434. <Column id="abbrnm" type="STRING"/>
  1435. <Column id="clscd" type="STRING"/>
  1436. <Column id="prcpappyn" type="STRING"/>
  1437. <Column id="totvolyn" type="STRING"/>
  1438. <Column id="remark" type="STRING"/>
  1439. <Column id="sortno" type="STRING"/>
  1440. <Column id="pcaflag" type="STRING"/>
  1441. </ColumnInfo>
  1442. </Dataset>
  1443. <Dataset id="ds_init_cmb_recovroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1444. <ColumnInfo>
  1445. <Column id="cdnm" type="STRING"/>
  1446. <Column id="cdid" type="STRING"/>
  1447. </ColumnInfo>
  1448. </Dataset>
  1449. <Dataset id="ds_init_cmb_outplcecode" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1450. <ColumnInfo>
  1451. <Column id="cdnm" type="STRING"/>
  1452. <Column id="cdid" type="STRING"/>
  1453. </ColumnInfo>
  1454. </Dataset>
  1455. <Dataset id="ds_grd_valueitem" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1456. <ColumnInfo>
  1457. <Column id="valuitemnm" type="STRING"/>
  1458. <Column id="valuitemarrv" type="STRING"/>
  1459. <Column id="valuitemleav" type="STRING"/>
  1460. </ColumnInfo>
  1461. </Dataset>
  1462. <Dataset id="ds_datagrid7" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1463. <ColumnInfo>
  1464. <Column id="fixasetcd" type="STRING"/>
  1465. <Column id="toolnm" type="STRING"/>
  1466. <Column id="bedno" type="STRING"/>
  1467. <Column id="usesrttm" type="STRING"/>
  1468. <Column id="useendtm" type="STRING"/>
  1469. <Column id="goodmodel" type="STRING"/>
  1470. <Column id="goodspec" type="STRING"/>
  1471. </ColumnInfo>
  1472. </Dataset>
  1473. <Dataset id="ds_datagrid8" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1474. <ColumnInfo>
  1475. <Column id="recdd" type="STRING"/>
  1476. <Column id="rectm" type="STRING"/>
  1477. <Column id="dnarflag" type="STRING"/>
  1478. <Column id="stmtspec" type="STRING"/>
  1479. <Column id="fstrgstrnm" type="STRING"/>
  1480. <Column id="stmtcd" type="STRING"/>
  1481. </ColumnInfo>
  1482. </Dataset>
  1483. <Dataset id="ds_grd_resafe" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1484. <ColumnInfo>
  1485. <Column id="resafecheck" type="STRING"/>
  1486. <Column id="resafenm" type="STRING"/>
  1487. <Column id="resafedetlnm" type="STRING"/>
  1488. <Column id="resafecd" type="STRING"/>
  1489. <Column id="recovseqno" type="STRING"/>
  1490. <Column id="status" type="STRING"/>
  1491. <Column id="resafeuptid" type="STRING"/>
  1492. <Column id="resafeuptnm" type="STRING"/>
  1493. </ColumnInfo>
  1494. </Dataset>
  1495. <Dataset id="ds_init_combo3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1496. <ColumnInfo>
  1497. <Column id="usernm" type="STRING"/>
  1498. <Column id="userid" type="STRING"/>
  1499. </ColumnInfo>
  1500. </Dataset>
  1501. <Dataset id="ds_init_combo1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1502. <ColumnInfo>
  1503. <Column id="usernm" type="STRING"/>
  1504. <Column id="userid" type="STRING"/>
  1505. </ColumnInfo>
  1506. </Dataset>
  1507. <Dataset id="ds_init_combo4" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1508. <ColumnInfo>
  1509. <Column id="usernm" type="STRING"/>
  1510. <Column id="userid" type="STRING"/>
  1511. </ColumnInfo>
  1512. </Dataset>
  1513. <Dataset id="ds_datagrid3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1514. <ColumnInfo>
  1515. <Column id="goodname" type="STRING"/>
  1516. <Column id="goodcd" type="STRING"/>
  1517. <Column id="allsizespecid" type="STRING"/>
  1518. <Column id="output" type="STRING"/>
  1519. <Column id="drgeqty" type="STRING"/>
  1520. <Column id="partinfo" type="STRING"/>
  1521. </ColumnInfo>
  1522. </Dataset>
  1523. <Dataset id="ds_grd_reintub" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1524. <ColumnInfo>
  1525. <Column id="reintubcheck" type="STRING"/>
  1526. <Column id="reintubnm" type="STRING"/>
  1527. <Column id="reintubdetlnm" type="STRING"/>
  1528. <Column id="reintubcd" type="STRING"/>
  1529. <Column id="recovseqno" type="STRING"/>
  1530. <Column id="status" type="STRING"/>
  1531. <Column id="reintubuptid" type="STRING"/>
  1532. <Column id="reintubuptnm" type="STRING"/>
  1533. </ColumnInfo>
  1534. </Dataset>
  1535. <Dataset id="ds_datagrid6" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1536. <ColumnInfo>
  1537. <Column id="complcheck" type="STRING"/>
  1538. <Column id="complname" type="STRING"/>
  1539. <Column id="complcode" type="STRING"/>
  1540. <Column id="recovseqno" type="STRING"/>
  1541. <Column id="status" type="STRING"/>
  1542. </ColumnInfo>
  1543. </Dataset>
  1544. <Dataset id="ds_datagrid5" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1545. <ColumnInfo>
  1546. <Column id="opstatnm" type="STRING"/>
  1547. <Column id="perfdeptnm" type="STRING"/>
  1548. <Column id="oproomnm" type="STRING"/>
  1549. <Column id="oppatflagnm" type="STRING"/>
  1550. <Column id="hngnm" type="STRING"/>
  1551. <Column id="pid" type="STRING"/>
  1552. <Column id="sa" type="STRING"/>
  1553. <Column id="diagcdnm" type="STRING"/>
  1554. <Column id="opcdnm" type="STRING"/>
  1555. <Column id="perfdrnm" type="STRING"/>
  1556. <Column id="opposition" type="STRING"/>
  1557. <Column id="anstmthdcdnm" type="STRING"/>
  1558. <Column id="anstkindinfo" type="STRING"/>
  1559. <Column id="opcnfmdate" type="STRING"/>
  1560. <Column id="opstatcd" type="STRING"/>
  1561. <Column id="perfdeptcd" type="STRING"/>
  1562. <Column id="perfdrid" type="STRING"/>
  1563. <Column id="gcnt" type="STRING"/>
  1564. <Column id="pcnt" type="STRING"/>
  1565. <Column id="recovcnt" type="STRING"/>
  1566. <Column id="opflagcd" type="STRING"/>
  1567. <Column id="oproomcd" type="STRING"/>
  1568. <Column id="anstrecno" type="STRING"/>
  1569. <Column id="oprsrvno" type="STRING"/>
  1570. <Column id="ophistno" type="STRING"/>
  1571. <Column id="recovseqno" type="STRING"/>
  1572. <Column id="instcd" type="STRING"/>
  1573. <Column id="recendflag" type="STRING"/>
  1574. <Column id="oppatflagcd" type="STRING"/>
  1575. <Column id="pkidatetimems" type="STRING"/>
  1576. <Column id="indd" type="STRING"/>
  1577. <Column id="cretno" type="STRING"/>
  1578. <Column id="inrmdt" type="STRING"/>
  1579. <Column id="inrmtm" type="STRING"/>
  1580. <Column id="opoutrmplcecd" type="STRING"/>
  1581. </ColumnInfo>
  1582. </Dataset>
  1583. <Dataset id="ds_main_MnphrecoData_MnphrecoList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1584. <ColumnInfo>
  1585. <column id="pid" type="string"/>
  1586. <column id="oprsrvno" type="string"/>
  1587. <column id="ophistno" type="string"/>
  1588. <column id="instcd" type="string"/>
  1589. <column id="cretno" type="string"/>
  1590. <column id="operdttm" type="string"/>
  1591. <column id="ioflag" type="string"/>
  1592. <column id="orddd" type="string"/>
  1593. <column id="orddeptcd" type="string"/>
  1594. <column id="indt" type="string"/>
  1595. <column id="inrmdt" type="string"/>
  1596. <column id="inrmtm" type="string"/>
  1597. <column id="outrmdt" type="string"/>
  1598. <column id="outrmtm" type="string"/>
  1599. <column id="outplcecode" type="string"/>
  1600. <column id="outplcenm" type="string"/>
  1601. <column id="outconfirmdoctorid" type="string"/>
  1602. <column id="outconfirmdoctor" type="string"/>
  1603. <column id="recovroom" type="string"/>
  1604. <column id="prtctairwayspec"/>
  1605. <column id="oxgendosespec"/>
  1606. <column id="recovstatvalutable"/>
  1607. <column id="pataddtool"/>
  1608. <column id="drgecdspec"/>
  1609. <column id="pregoodlist" type="string"/>
  1610. <column id="deptremark" type="cdata"/>
  1611. <column id="anstremark" type="cdata"/>
  1612. <column id="recinuserid" type="string"/>
  1613. <column id="recinusernm" type="string"/>
  1614. <column id="recinuserdeptcd" type="string"/>
  1615. <column id="recinuserdeptnm" type="string"/>
  1616. <column id="recindttm" type="string"/>
  1617. <column id="saveindttm" type="string"/>
  1618. <column id="recoutuserid" type="string"/>
  1619. <column id="recoutusernm" type="string"/>
  1620. <column id="recoutuserdeptcd" type="string"/>
  1621. <column id="recoutuserdeptnm" type="string"/>
  1622. <column id="recoutdttm" type="string"/>
  1623. <column id="saveoutdttm" type="string"/>
  1624. <column id="pkidatetimems" type="string"/>
  1625. <column id="opflagcd" type="string"/>
  1626. <column id="recovseqno" type="string"/>
  1627. <column id="recstat" type="string"/>
  1628. <column id="anstdrid1" type="string"/>
  1629. <column id="anstdrid2" type="string"/>
  1630. <column id="anstdrid3" type="string"/>
  1631. <column id="tnsyn" type="string"/>
  1632. <column id="anstio" type="string"/>
  1633. <Column id="patrminsndsmsid" type="STRING" size="256" sumtext="입실 sms 전송 ID"/>
  1634. <column id="patrmoutsndsmsid" type="string"/>
  1635. <column id="indata" type="string"/>
  1636. <column id="extdata" type="string"/>
  1637. <column id="outconfirmdoctorid_tmp"/>
  1638. <column id="opstatcd" type="string"/>
  1639. <column id="recendflag" type="string"/>
  1640. <column id="anstrecno" type="string"/>
  1641. <column id="sndoutsmsflag" type="string"/>
  1642. <column id="pcarecyn" type="string"/>
  1643. <column id="opcnfmdd" type="string"/>
  1644. <column id="sa" type="string"/>
  1645. <column id="patage" type="string"/>
  1646. <column id="oproomnm" type="string"/>
  1647. <column id="patname"/>
  1648. <column id="roomcd" type="string"/>
  1649. <column id="depthngnm" type="string"/>
  1650. <column id="opcdnm" type="cdata"/>
  1651. <column id="recodeptcd" type="string"/>
  1652. <column id="blodrecord" type="string"/>
  1653. <column id="patmemoyn" type="string"/>
  1654. <column id="patmemo" type="string"/>
  1655. <column id="patmemohis" type="string"/>
  1656. <Column id="inpcatype" type="STRING" size="256" sumtext="입실 통증사정도구 TYPE(0 : NRS, 1 : FPRS, , 2 : FLACC)"/>
  1657. <Column id="inpcagrade" type="STRING" size="256" sumtext="입실 통증사정도구 등급"/>
  1658. <Column id="outpcatype" type="STRING" size="256" sumtext="퇴실 통증사정도구 TYPE(0 : NRS, 1 : FPRS, 2 : FLACC)"/>
  1659. <Column id="outpcagrade" type="STRING" size="256" sumtext="퇴실 통증사정도구 등급"/>
  1660. <Column id="inponvgrade" type="STRING" size="256" sumtext="입실 PONV 등급"/>
  1661. <Column id="outponvgrade" type="STRING" size="256" sumtext="입실 PONV 등급"/>
  1662. <Column id="inflaccdetailgrade" type="STRING" size="256" sumtext="입실 flacc 상세 등급"/>
  1663. <Column id="outflaccdetailgrade" type="STRING" size="256" sumtext="퇴실 flacc 상세 등급"/>
  1664. </ColumnInfo>
  1665. <Rows>
  1666. <Row/>
  1667. </Rows>
  1668. </Dataset>
  1669. <Dataset id="ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1670. <ColumnInfo>
  1671. <Column id="prtctplacecd" type="STRING" size="256"/>
  1672. <Column id="prtctairwayadddt" type="STRING" size="256"/>
  1673. <Column id="prtctairwayaddtm" type="STRING" size="256"/>
  1674. <Column id="prtctairwayid" type="STRING" size="256"/>
  1675. <Column id="prtctairwayid_tmp" type="STRING" size="256"/>
  1676. <Column id="prtctairwaynm" type="STRING" size="256"/>
  1677. <Column id="prtctairwayur" type="STRING" size="256"/>
  1678. <Column id="prtctairway" type="STRING" size="256"/>
  1679. <Column id="prtctairwaydt" type="STRING" size="256"/>
  1680. <Column id="prtctairwaytm" type="STRING" size="256"/>
  1681. <Column id="prtctcairwayextid" type="STRING" size="256"/>
  1682. <Column id="prtctcairwayextid_tmp" type="STRING" size="256"/>
  1683. <Column id="prtctairwayextnm" type="STRING" size="256"/>
  1684. <Column id="prtctairwayextbp" type="STRING" size="256"/>
  1685. <Column id="prtctairwayextp" type="STRING" size="256"/>
  1686. <Column id="prtctairwayextspo" type="STRING" size="256"/>
  1687. <Column id="notprtctairway" type="STRING" size="256"/>
  1688. <Column id="outsmsmsgflag" type="STRING" size="256"/>
  1689. </ColumnInfo>
  1690. <Rows>
  1691. <Row>
  1692. <Col id="prtctplacecd"/>
  1693. <Col id="prtctairwayadddt"/>
  1694. <Col id="prtctairwayaddtm"/>
  1695. <Col id="prtctairwayid"/>
  1696. <Col id="prtctairwayid_tmp"/>
  1697. <Col id="prtctairwaynm"/>
  1698. <Col id="prtctairwayur"/>
  1699. <Col id="prtctairway"/>
  1700. <Col id="prtctairwaydt"/>
  1701. <Col id="prtctairwaytm"/>
  1702. <Col id="prtctcairwayextid"/>
  1703. <Col id="prtctcairwayextid_tmp"/>
  1704. <Col id="prtctairwayextnm"/>
  1705. <Col id="prtctairwayextbp"/>
  1706. <Col id="prtctairwayextp"/>
  1707. <Col id="prtctairwayextspo"/>
  1708. <Col id="notprtctairway"/>
  1709. <Col id="outsmsmsgflag"/>
  1710. </Row>
  1711. </Rows>
  1712. </Dataset>
  1713. <Dataset id="ds_main_MnphrecoData_MnphrecoList_oxgendosespec_oxgendoselists_oxgendoselist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1714. <Dataset id="ds_main_MnphrecoData_MnphrecoList_recovstatvalutable_valuitemlists_valuitem" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1715. <ColumnInfo>
  1716. <Column id="valuitemnm" type="STRING" size="256"/>
  1717. <Column id="valuitemarrv" type="STRING" size="256"/>
  1718. <Column id="valuitemleav" type="STRING" size="256"/>
  1719. <Column id="valuitemcd" type="STRING" size="256"/>
  1720. </ColumnInfo>
  1721. <Rows>
  1722. <Row>
  1723. <Col id="valuitemnm"/>
  1724. <Col id="valuitemarrv"/>
  1725. <Col id="valuitemleav"/>
  1726. <Col id="valuitemcd"/>
  1727. </Row>
  1728. </Rows>
  1729. </Dataset>
  1730. <Dataset id="ds_main_MnphrecoData_MnphrecoList_recovstatvalutable_valuitemlists" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1731. <ColumnInfo>
  1732. <Column id="valuitemarrvtot" type="STRING" size="256"/>
  1733. <Column id="valuitemleavtot" type="STRING" size="256"/>
  1734. </ColumnInfo>
  1735. <Rows>
  1736. <Row>
  1737. <Col id="valuitemarrvtot">0</Col>
  1738. <Col id="valuitemleavtot">0</Col>
  1739. </Row>
  1740. </Rows>
  1741. </Dataset>
  1742. <Dataset id="ds_main_MnphrecoData_MnphrecoList_recovstatvalutableChild_valuitemlists_valuitem" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1743. <ColumnInfo>
  1744. <Column id="valuitemnm" type="STRING" size="256"/>
  1745. <Column id="valuitemarrv" type="STRING" size="256"/>
  1746. <Column id="valuitemleav" type="STRING" size="256"/>
  1747. <Column id="valuitemcd" type="STRING" size="256"/>
  1748. </ColumnInfo>
  1749. <Rows>
  1750. <Row>
  1751. <Col id="valuitemnm"/>
  1752. <Col id="valuitemarrv"/>
  1753. <Col id="valuitemleav"/>
  1754. <Col id="valuitemcd"/>
  1755. </Row>
  1756. </Rows>
  1757. </Dataset>
  1758. <Dataset id="ds_main_MnphrecoData_MnphrecoList_recovstatvalutableChild_valuitemlists" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1759. <ColumnInfo>
  1760. <Column id="valuitemarrvtot" type="STRING" size="256"/>
  1761. <Column id="valuitemleavtot" type="STRING" size="256"/>
  1762. </ColumnInfo>
  1763. <Rows>
  1764. <Row>
  1765. <Col id="valuitemarrvtot">0</Col>
  1766. <Col id="valuitemleavtot">0</Col>
  1767. </Row>
  1768. </Rows>
  1769. </Dataset>
  1770. <Dataset id="ds_main_MnphrecoData_MnphrecoList_pataddtool_pataddlists_pataddlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1771. <ColumnInfo>
  1772. <Column id="fixasetcd" type="STRING" size="256"/>
  1773. <Column id="toolnm" type="STRING" size="256"/>
  1774. <Column id="bedno" type="STRING" size="256"/>
  1775. <Column id="usesrttm" type="STRING" size="256"/>
  1776. <Column id="useendtm" type="STRING" size="256"/>
  1777. <Column id="goodmodel" type="STRING" size="256"/>
  1778. <Column id="goodspec" type="STRING" size="256"/>
  1779. </ColumnInfo>
  1780. <Rows>
  1781. <Row>
  1782. <Col id="fixasetcd"/>
  1783. <Col id="toolnm"/>
  1784. <Col id="bedno"/>
  1785. <Col id="usesrttm"/>
  1786. <Col id="useendtm"/>
  1787. <Col id="goodmodel"/>
  1788. <Col id="goodspec"/>
  1789. </Row>
  1790. </Rows>
  1791. </Dataset>
  1792. <Dataset id="ds_main_MnphrecoData_MnphrecoList_drgecdspec_lists_drgecdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1793. <ColumnInfo>
  1794. <Column id="goodname" type="STRING" size="256"/>
  1795. <Column id="goodcd" type="STRING" size="256"/>
  1796. <Column id="allsizespecid" type="STRING" size="256"/>
  1797. <Column id="drgeqty" type="STRING" size="256"/>
  1798. <Column id="partinfo" type="STRING" size="256"/>
  1799. <Column id="output" type="STRING" size="256"/>
  1800. </ColumnInfo>
  1801. <Rows>
  1802. <Row>
  1803. <Col id="goodname"/>
  1804. <Col id="goodcd"/>
  1805. <Col id="allsizespecid"/>
  1806. <Col id="drgeqty"/>
  1807. <Col id="partinfo"/>
  1808. <Col id="output"/>
  1809. </Row>
  1810. </Rows>
  1811. </Dataset>
  1812. <Dataset id="ds_main_MnphrecoData_MnphrepmList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_MnphrecoData_MnphrepmList_oncolumnchanged">
  1813. <ColumnInfo>
  1814. <Column id="complcheck" type="STRING" size="256"/>
  1815. <Column id="complname" type="STRING" size="256"/>
  1816. <Column id="complcode" type="STRING" size="256"/>
  1817. <Column id="recovseqno" type="STRING" size="256"/>
  1818. <Column id="status" type="STRING" size="256"/>
  1819. </ColumnInfo>
  1820. <Rows>
  1821. <Row>
  1822. <Col id="complcheck"/>
  1823. <Col id="complname"/>
  1824. <Col id="complcode"/>
  1825. <Col id="recovseqno"/>
  1826. <Col id="status"/>
  1827. </Row>
  1828. </Rows>
  1829. </Dataset>
  1830. <Dataset id="ds_main_MnphrecoData_AnstDoctList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1831. <ColumnInfo>
  1832. <Column id="userid" type="STRING" size="256"/>
  1833. <Column id="usernm" type="STRING" size="256"/>
  1834. </ColumnInfo>
  1835. </Dataset>
  1836. <Dataset id="ds_main_MnphrecoData_MnphresmList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_MnphrecoData_MnphresmList_oncolumnchanged">
  1837. <ColumnInfo>
  1838. <Column id="resafecheck" type="STRING" size="256"/>
  1839. <Column id="resafenm" type="STRING" size="256"/>
  1840. <Column id="resafedetlnm" type="STRING" size="256"/>
  1841. <Column id="resafecd" type="STRING" size="256"/>
  1842. <Column id="recovseqno" type="STRING" size="256"/>
  1843. <Column id="status" type="STRING" size="256"/>
  1844. <Column id="resafeuptid" type="STRING" size="256"/>
  1845. <Column id="resafeuptnm" type="STRING" size="256"/>
  1846. </ColumnInfo>
  1847. <Rows>
  1848. <Row>
  1849. <Col id="resafecheck"/>
  1850. <Col id="resafenm"/>
  1851. <Col id="resafedetlnm"/>
  1852. <Col id="resafecd"/>
  1853. <Col id="recovseqno"/>
  1854. <Col id="status"/>
  1855. <Col id="resafeuptid"/>
  1856. <Col id="resafeuptnm"/>
  1857. </Row>
  1858. </Rows>
  1859. </Dataset>
  1860. <Dataset id="ds_main_MnphrecoData_MnphreIntubchkList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_MnphrecoData_MnphreIntubchkList_oncolumnchanged">
  1861. <ColumnInfo>
  1862. <Column id="reintubcheck" type="STRING" size="256"/>
  1863. <Column id="reintubnm" type="STRING" size="256"/>
  1864. <Column id="reintubdetlnm" type="STRING" size="256"/>
  1865. <Column id="reintubcd" type="STRING" size="256"/>
  1866. <Column id="recovseqno" type="STRING" size="256"/>
  1867. <Column id="status" type="STRING" size="256"/>
  1868. <Column id="reintubuptid" type="STRING" size="256"/>
  1869. <Column id="reintubuptnm" type="STRING" size="256"/>
  1870. </ColumnInfo>
  1871. <Rows>
  1872. <Row>
  1873. <Col id="reintubcheck"/>
  1874. <Col id="reintubnm"/>
  1875. <Col id="reintubdetlnm"/>
  1876. <Col id="reintubcd"/>
  1877. <Col id="recovseqno"/>
  1878. <Col id="status"/>
  1879. <Col id="reintubuptid"/>
  1880. <Col id="reintubuptnm"/>
  1881. </Row>
  1882. </Rows>
  1883. </Dataset>
  1884. <Dataset id="ds_main_operation" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1885. <Dataset id="ds_main_opPatLists_opPatList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1886. <ColumnInfo>
  1887. <Column id="piddata" type="STRING" size="256"/>
  1888. <Column id="pid" type="STRING" size="256"/>
  1889. <Column id="hngnm" type="STRING" size="256"/>
  1890. <Column id="oprsrvno" type="STRING" size="256"/>
  1891. <Column id="ophistno" type="STRING" size="256"/>
  1892. <Column id="instcd" type="STRING" size="256"/>
  1893. <Column id="opstatcd" type="STRING" size="256"/>
  1894. <Column id="oppatflagcd" type="STRING" size="256"/>
  1895. <Column id="opflagcd" type="STRING" size="256"/>
  1896. <Column id="oproomcd" type="STRING" size="256"/>
  1897. <Column id="oproomnm" type="STRING" size="256"/>
  1898. <Column id="recovseqno" type="STRING" size="256"/>
  1899. <Column id="anstfromdt" type="STRING" size="256"/>
  1900. <Column id="ansttodt" type="STRING" size="256"/>
  1901. <Column id="anstmthdcd" type="STRING" size="256"/>
  1902. <Column id="anstmthdcdsub" type="STRING" size="256"/>
  1903. <Column id="anstrecno" type="STRING" size="256"/>
  1904. <Column id="recendflag" type="STRING" size="256"/>
  1905. <Column id="reopflag" type="STRING" size="256"/>
  1906. <Column id="anstreqflag" type="STRING" size="256"/>
  1907. <Column id="cnstopflag" type="STRING" size="256"/>
  1908. </ColumnInfo>
  1909. <Rows>
  1910. <Row>
  1911. <Col id="piddata"/>
  1912. <Col id="pid"/>
  1913. <Col id="hngnm"/>
  1914. <Col id="oprsrvno"/>
  1915. <Col id="ophistno"/>
  1916. <Col id="instcd"/>
  1917. <Col id="opstatcd"/>
  1918. <Col id="oppatflagcd"/>
  1919. <Col id="opflagcd"/>
  1920. <Col id="oproomcd"/>
  1921. <Col id="oproomnm"/>
  1922. <Col id="recovseqno"/>
  1923. <Col id="anstfromdt"/>
  1924. <Col id="ansttodt"/>
  1925. <Col id="anstmthdcd"/>
  1926. <Col id="anstmthdcdsub"/>
  1927. <Col id="anstrecno"/>
  1928. <Col id="recendflag"/>
  1929. <Col id="reopflag"/>
  1930. <Col id="anstreqflag"/>
  1931. <Col id="cnstopflag"/>
  1932. </Row>
  1933. </Rows>
  1934. </Dataset>
  1935. <Dataset id="ds_main_paminfo_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1936. <Dataset id="ds_main_anstinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1937. <Dataset id="ds_main_revrInfo_recopkinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1938. <ColumnInfo>
  1939. <Column id="remfact" type="STRING" size="256"/>
  1940. </ColumnInfo>
  1941. </Dataset>
  1942. <Dataset id="ds_main_revrInfo_mnphrevrtitle" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1943. <ColumnInfo>
  1944. <Column id="data1" type="STRING" size="256"/>
  1945. <Column id="data2" type="STRING" size="256"/>
  1946. <Column id="data3" type="STRING" size="256"/>
  1947. <Column id="data4" type="STRING" size="256"/>
  1948. <Column id="data5" type="STRING" size="256"/>
  1949. <Column id="data6" type="STRING" size="256"/>
  1950. <Column id="data7" type="STRING" size="256"/>
  1951. <Column id="data8" type="STRING" size="256"/>
  1952. <Column id="data9" type="STRING" size="256"/>
  1953. <Column id="data10" type="STRING" size="256"/>
  1954. <Column id="data11" type="STRING" size="256"/>
  1955. <Column id="data12" type="STRING" size="256"/>
  1956. <Column id="data13" type="STRING" size="256"/>
  1957. <Column id="data14" type="STRING" size="256"/>
  1958. <Column id="data15" type="STRING" size="256"/>
  1959. <Column id="data16" type="STRING" size="256"/>
  1960. <Column id="data17" type="STRING" size="256"/>
  1961. <Column id="data18" type="STRING" size="256"/>
  1962. <Column id="data19" type="STRING" size="256"/>
  1963. <Column id="data20" type="STRING" size="256"/>
  1964. <Column id="data21" type="STRING" size="256"/>
  1965. <Column id="data22" type="STRING" size="256"/>
  1966. <Column id="data23" type="STRING" size="256"/>
  1967. <Column id="data24" type="STRING" size="256"/>
  1968. </ColumnInfo>
  1969. <Rows>
  1970. <Row>
  1971. <Col id="data1"/>
  1972. <Col id="data2"/>
  1973. <Col id="data3"/>
  1974. <Col id="data4"/>
  1975. <Col id="data5"/>
  1976. <Col id="data6"/>
  1977. <Col id="data7"/>
  1978. <Col id="data8"/>
  1979. <Col id="data9"/>
  1980. <Col id="data10"/>
  1981. <Col id="data11"/>
  1982. <Col id="data12"/>
  1983. <Col id="data13"/>
  1984. <Col id="data14"/>
  1985. <Col id="data15"/>
  1986. <Col id="data16"/>
  1987. <Col id="data17"/>
  1988. <Col id="data18"/>
  1989. <Col id="data19"/>
  1990. <Col id="data20"/>
  1991. <Col id="data21"/>
  1992. <Col id="data22"/>
  1993. <Col id="data23"/>
  1994. <Col id="data24"/>
  1995. </Row>
  1996. </Rows>
  1997. </Dataset>
  1998. <Dataset id="ds_main_revrInfo_mnphrevr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_revrInfo_mnphrevr_oncolumnchanged">
  1999. <ColumnInfo>
  2000. <Column id="lrgcd" type="STRING" size="256"/>
  2001. <Column id="vsitemcd" type="STRING" size="256"/>
  2002. <Column id="recovseqno" type="STRING" size="256"/>
  2003. <Column id="lrgnm" type="STRING" size="256"/>
  2004. <Column id="vsitemnm" type="STRING" size="256"/>
  2005. <Column id="itotal" type="STRING" size="256"/>
  2006. <Column id="ototal" type="STRING" size="256"/>
  2007. <Column id="data1" type="STRING" size="256"/>
  2008. <Column id="data2" type="STRING" size="256"/>
  2009. <Column id="data3" type="STRING" size="256"/>
  2010. <Column id="data4" type="STRING" size="256"/>
  2011. <Column id="data5" type="STRING" size="256"/>
  2012. <Column id="data6" type="STRING" size="256"/>
  2013. <Column id="data7" type="STRING" size="256"/>
  2014. <Column id="data8" type="STRING" size="256"/>
  2015. <Column id="data9" type="STRING" size="256"/>
  2016. <Column id="data10" type="STRING" size="256"/>
  2017. <Column id="data11" type="STRING" size="256"/>
  2018. <Column id="data12" type="STRING" size="256"/>
  2019. <Column id="data13" type="STRING" size="256"/>
  2020. <Column id="data14" type="STRING" size="256"/>
  2021. <Column id="data15" type="STRING" size="256"/>
  2022. <Column id="data16" type="STRING" size="256"/>
  2023. <Column id="data17" type="STRING" size="256"/>
  2024. <Column id="data18" type="STRING" size="256"/>
  2025. <Column id="data19" type="STRING" size="256"/>
  2026. <Column id="data20" type="STRING" size="256"/>
  2027. <Column id="data21" type="STRING" size="256"/>
  2028. <Column id="data22" type="STRING" size="256"/>
  2029. <Column id="data23" type="STRING" size="256"/>
  2030. <Column id="data24" type="STRING" size="256"/>
  2031. <Column id="recflag" type="STRING" size="256"/>
  2032. <Column id="colBack3" type="STRING" size="256"/>
  2033. <Column id="colBack4" type="STRING" size="256"/>
  2034. <Column id="colBack5" type="STRING" size="256"/>
  2035. </ColumnInfo>
  2036. <Rows>
  2037. <Row/>
  2038. </Rows>
  2039. </Dataset>
  2040. <Dataset id="ds_main_revrInfo_mnphrepg" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2041. <ColumnInfo>
  2042. <Column id="dispno" type="STRING" size="256"/>
  2043. <Column id="reccmt" type="STRING" size="256"/>
  2044. <Column id="progressno" type="STRING" size="256"/>
  2045. <Column id="recovseqno" type="STRING" size="256"/>
  2046. </ColumnInfo>
  2047. <Rows>
  2048. <Row>
  2049. <Col id="dispno"/>
  2050. <Col id="reccmt"/>
  2051. <Col id="progressno"/>
  2052. <Col id="recovseqno"/>
  2053. </Row>
  2054. </Rows>
  2055. </Dataset>
  2056. <Dataset id="ds_main_revrInfo_prnorderlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2057. <ColumnInfo>
  2058. <Column id="recovseqno" type="STRING" size="256"/>
  2059. <Column id="flag" type="STRING" size="256"/>
  2060. <Column id="prcpcd" type="STRING" size="256"/>
  2061. <Column id="prcpnm" type="STRING" size="256"/>
  2062. <Column id="drugvol" type="STRING" size="256"/>
  2063. <Column id="drugvolunitflag" type="STRING" size="256"/>
  2064. <Column id="drugvolunit" type="STRING" size="256"/>
  2065. <Column id="drugqty" type="STRING" size="256"/>
  2066. <Column id="drugqtyunit" type="STRING" size="256"/>
  2067. <Column id="drugqtyunitflag" type="STRING" size="256"/>
  2068. <Column id="drugtime" type="STRING" size="256"/>
  2069. <Column id="drugday" type="STRING" size="256"/>
  2070. <Column id="drugdayno" type="STRING" size="256"/>
  2071. <Column id="drugtims" type="STRING" size="256"/>
  2072. <Column id="flag2" type="STRING" size="256"/>
  2073. </ColumnInfo>
  2074. <Rows>
  2075. <Row>
  2076. <Col id="recovseqno"/>
  2077. <Col id="flag"/>
  2078. <Col id="prcpcd"/>
  2079. <Col id="prcpnm"/>
  2080. <Col id="drugvol"/>
  2081. <Col id="drugvolunitflag"/>
  2082. <Col id="drugvolunit"/>
  2083. <Col id="drugqty"/>
  2084. <Col id="drugqtyunit"/>
  2085. <Col id="drugqtyunitflag"/>
  2086. <Col id="drugtime"/>
  2087. <Col id="drugday"/>
  2088. <Col id="drugdayno"/>
  2089. <Col id="drugtims"/>
  2090. <Col id="flag2"/>
  2091. </Row>
  2092. </Rows>
  2093. </Dataset>
  2094. <Dataset id="ds_main_revrInfo_actingorderlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2095. <ColumnInfo>
  2096. <Column id="recovseqno" type="STRING" size="256"/>
  2097. <Column id="flag" type="STRING" size="256"/>
  2098. <Column id="prcpcd" type="STRING" size="256"/>
  2099. <Column id="prcpnm" type="STRING" size="256"/>
  2100. <Column id="drugvol" type="STRING" size="256"/>
  2101. <Column id="drugvolunitflag" type="STRING" size="256"/>
  2102. <Column id="drugvolunit" type="STRING" size="256"/>
  2103. <Column id="drugqty" type="STRING" size="256"/>
  2104. <Column id="drugqtyunit" type="STRING" size="256"/>
  2105. <Column id="drugqtyunitflag" type="STRING" size="256"/>
  2106. <Column id="drugtime" type="STRING" size="256"/>
  2107. <Column id="drugday" type="STRING" size="256"/>
  2108. <Column id="drugdayno" type="STRING" size="256"/>
  2109. <Column id="drugtims" type="STRING" size="256"/>
  2110. <Column id="flag2" type="STRING" size="256"/>
  2111. </ColumnInfo>
  2112. <Rows>
  2113. <Row>
  2114. <Col id="recovseqno"/>
  2115. <Col id="flag"/>
  2116. <Col id="prcpcd"/>
  2117. <Col id="prcpnm"/>
  2118. <Col id="drugvol"/>
  2119. <Col id="drugvolunitflag"/>
  2120. <Col id="drugvolunit"/>
  2121. <Col id="drugqty"/>
  2122. <Col id="drugqtyunit"/>
  2123. <Col id="drugqtyunitflag"/>
  2124. <Col id="drugtime"/>
  2125. <Col id="drugday"/>
  2126. <Col id="drugdayno"/>
  2127. <Col id="drugtims"/>
  2128. <Col id="flag2"/>
  2129. </Row>
  2130. </Rows>
  2131. </Dataset>
  2132. <Dataset id="ds_init_XmlFormat_prtctairwayspec_prtctairwaylists_prtctairwaylist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2133. <ColumnInfo>
  2134. <Column id="prtctplacecd" type="STRING" size="256"/>
  2135. <Column id="prtctairwayadddt" type="STRING" size="256"/>
  2136. <Column id="prtctairwayaddtm" type="STRING" size="256"/>
  2137. <Column id="prtctairwayid" type="STRING" size="256"/>
  2138. <Column id="prtctairwayid_tmp" type="STRING" size="256"/>
  2139. <Column id="prtctairwaynm" type="STRING" size="256"/>
  2140. <Column id="prtctairwayur" type="STRING" size="256"/>
  2141. <Column id="prtctairway" type="STRING" size="256"/>
  2142. <Column id="prtctairwaydt" type="STRING" size="256"/>
  2143. <Column id="prtctairwaytm" type="STRING" size="256"/>
  2144. <Column id="prtctcairwayextid" type="STRING" size="256"/>
  2145. <Column id="prtctcairwayextid_tmp" type="STRING" size="256"/>
  2146. <Column id="prtctairwayextnm" type="STRING" size="256"/>
  2147. <Column id="prtctairwayextbp" type="STRING" size="256"/>
  2148. <Column id="prtctairwayextp" type="STRING" size="256"/>
  2149. <Column id="prtctairwayextspo" type="STRING" size="256"/>
  2150. <Column id="notprtctairway" type="STRING" size="256"/>
  2151. <Column id="outsmsmsgflag" type="STRING" size="256"/>
  2152. </ColumnInfo>
  2153. <Rows>
  2154. <Row>
  2155. <Col id="prtctplacecd"/>
  2156. <Col id="prtctairwayadddt"/>
  2157. <Col id="prtctairwayaddtm"/>
  2158. <Col id="prtctairwayid"/>
  2159. <Col id="prtctairwayid_tmp"/>
  2160. <Col id="prtctairwaynm"/>
  2161. <Col id="prtctairwayur"/>
  2162. <Col id="prtctairway"/>
  2163. <Col id="prtctairwaydt"/>
  2164. <Col id="prtctairwaytm"/>
  2165. <Col id="prtctcairwayextid"/>
  2166. <Col id="prtctcairwayextid_tmp"/>
  2167. <Col id="prtctairwayextnm"/>
  2168. <Col id="prtctairwayextbp"/>
  2169. <Col id="prtctairwayextp"/>
  2170. <Col id="prtctairwayextspo"/>
  2171. <Col id="notprtctairway"/>
  2172. <Col id="outsmsmsgflag"/>
  2173. </Row>
  2174. </Rows>
  2175. </Dataset>
  2176. <Dataset id="ds_init_XmlFormat_oxgendosespec_oxgendoselists_oxgendoselist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  2177. <Dataset id="ds_init_XmlFormat_recovstatvalutable_valuitemlists_valuitem" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2178. <ColumnInfo>
  2179. <Column id="valuitemnm" type="STRING" size="256"/>
  2180. <Column id="valuitemarrv" type="STRING" size="256"/>
  2181. <Column id="valuitemleav" type="STRING" size="256"/>
  2182. <Column id="valuitemcd" type="STRING" size="256"/>
  2183. </ColumnInfo>
  2184. <Rows>
  2185. <Row>
  2186. <Col id="valuitemnm">반사능력</Col>
  2187. <Col id="valuitemarrv">0</Col>
  2188. <Col id="valuitemleav">0</Col>
  2189. <Col id="valuitemcd">1</Col>
  2190. </Row>
  2191. <Row>
  2192. <Col id="valuitemnm">호흡</Col>
  2193. <Col id="valuitemarrv">0</Col>
  2194. <Col id="valuitemleav">0</Col>
  2195. <Col id="valuitemcd">2</Col>
  2196. </Row>
  2197. <Row>
  2198. <Col id="valuitemnm">순환</Col>
  2199. <Col id="valuitemarrv">0</Col>
  2200. <Col id="valuitemleav">0</Col>
  2201. <Col id="valuitemcd">3</Col>
  2202. </Row>
  2203. <Row>
  2204. <Col id="valuitemnm">의식상태</Col>
  2205. <Col id="valuitemarrv">0</Col>
  2206. <Col id="valuitemleav">0</Col>
  2207. <Col id="valuitemcd">4</Col>
  2208. </Row>
  2209. <Row>
  2210. <Col id="valuitemnm">피부색깔</Col>
  2211. <Col id="valuitemarrv">0</Col>
  2212. <Col id="valuitemleav">0</Col>
  2213. <Col id="valuitemcd">5</Col>
  2214. </Row>
  2215. </Rows>
  2216. </Dataset>
  2217. <Dataset id="ds_init_XmlFormat_recovstatvalutableChild_valuitemlists_valuitem" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2218. <ColumnInfo>
  2219. <Column id="valuitemnm" type="STRING" size="256"/>
  2220. <Column id="valuitemarrv" type="STRING" size="256"/>
  2221. <Column id="valuitemleav" type="STRING" size="256"/>
  2222. <Column id="valuitemcd" type="STRING" size="256"/>
  2223. </ColumnInfo>
  2224. <Rows>
  2225. <Row>
  2226. <Col id="valuitemnm">활동성</Col>
  2227. <Col id="valuitemarrv">0</Col>
  2228. <Col id="valuitemleav">0</Col>
  2229. <Col id="valuitemcd">1</Col>
  2230. </Row>
  2231. <Row>
  2232. <Col id="valuitemnm">호흡</Col>
  2233. <Col id="valuitemarrv">0</Col>
  2234. <Col id="valuitemleav">0</Col>
  2235. <Col id="valuitemcd">2</Col>
  2236. </Row>
  2237. <Row>
  2238. <Col id="valuitemnm">순환</Col>
  2239. <Col id="valuitemarrv">0</Col>
  2240. <Col id="valuitemleav">0</Col>
  2241. <Col id="valuitemcd">3</Col>
  2242. </Row>
  2243. <Row>
  2244. <Col id="valuitemnm">의식상태</Col>
  2245. <Col id="valuitemarrv">0</Col>
  2246. <Col id="valuitemleav">0</Col>
  2247. <Col id="valuitemcd">4</Col>
  2248. </Row>
  2249. </Rows>
  2250. </Dataset>
  2251. <Dataset id="ds_init_XmlFormat_recovstatvalutable_valuitemlists" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2252. <ColumnInfo>
  2253. <Column id="valuitemarrvtot" type="STRING" size="256"/>
  2254. <Column id="valuitemleavtot" type="STRING" size="256"/>
  2255. </ColumnInfo>
  2256. <Rows>
  2257. <Row>
  2258. <Col id="valuitemarrvtot">0</Col>
  2259. <Col id="valuitemleavtot">0</Col>
  2260. </Row>
  2261. </Rows>
  2262. </Dataset>
  2263. <Dataset id="ds_init_XmlFormat_recovstatvalutableChild_valuitemlists" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2264. <ColumnInfo>
  2265. <Column id="valuitemarrvtot" type="STRING" size="256"/>
  2266. <Column id="valuitemleavtot" type="STRING" size="256"/>
  2267. </ColumnInfo>
  2268. <Rows>
  2269. <Row>
  2270. <Col id="valuitemarrvtot">0</Col>
  2271. <Col id="valuitemleavtot">0</Col>
  2272. </Row>
  2273. </Rows>
  2274. </Dataset>
  2275. <Dataset id="ds_init_XmlFormat_pataddtool_pataddlists_pataddlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2276. <ColumnInfo>
  2277. <Column id="toolnm" type="STRING" size="256"/>
  2278. <Column id="bedno" type="STRING" size="256"/>
  2279. <Column id="usesrttm" type="STRING" size="256"/>
  2280. <Column id="useendtm" type="STRING" size="256"/>
  2281. <Column id="toolcd" type="STRING" size="256"/>
  2282. </ColumnInfo>
  2283. <Rows>
  2284. <Row>
  2285. <Col id="toolnm"/>
  2286. <Col id="bedno"/>
  2287. <Col id="usesrttm"/>
  2288. <Col id="useendtm"/>
  2289. <Col id="toolcd"/>
  2290. </Row>
  2291. </Rows>
  2292. </Dataset>
  2293. <Dataset id="ds_init_XmlFormat_recovpatcmplspec_complications_complication" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2294. <ColumnInfo>
  2295. <Column id="compcheck" type="STRING" size="256"/>
  2296. <Column id="compname" type="STRING" size="256"/>
  2297. </ColumnInfo>
  2298. <Rows>
  2299. <Row>
  2300. <Col id="compcheck">false</Col>
  2301. <Col id="compname">Airway obstuction </Col>
  2302. </Row>
  2303. <Row>
  2304. <Col id="compcheck">false</Col>
  2305. <Col id="compname">Aspiration </Col>
  2306. </Row>
  2307. <Row>
  2308. <Col id="compcheck">false</Col>
  2309. <Col id="compname">Bladder distension </Col>
  2310. </Row>
  2311. <Row>
  2312. <Col id="compcheck">false</Col>
  2313. <Col id="compname">Dizziness </Col>
  2314. </Row>
  2315. <Row>
  2316. <Col id="compcheck">false</Col>
  2317. <Col id="compname">Dysrhythmia </Col>
  2318. </Row>
  2319. <Row>
  2320. <Col id="compcheck">false</Col>
  2321. <Col id="compname">Heart failure </Col>
  2322. </Row>
  2323. <Row>
  2324. <Col id="compcheck">false</Col>
  2325. <Col id="compname">Hematuria </Col>
  2326. </Row>
  2327. <Row>
  2328. <Col id="compcheck">false</Col>
  2329. <Col id="compname">Hyoptension </Col>
  2330. </Row>
  2331. <Row>
  2332. <Col id="compcheck">false</Col>
  2333. <Col id="compname">Hypertension </Col>
  2334. </Row>
  2335. <Row>
  2336. <Col id="compcheck">false</Col>
  2337. <Col id="compname">Hypoventilation </Col>
  2338. </Row>
  2339. <Row>
  2340. <Col id="compcheck">false</Col>
  2341. <Col id="compname">Hypoxemia </Col>
  2342. </Row>
  2343. <Row>
  2344. <Col id="compcheck">false</Col>
  2345. <Col id="compname">Nausea </Col>
  2346. </Row>
  2347. <Row>
  2348. <Col id="compcheck">false</Col>
  2349. <Col id="compname">Ologuria </Col>
  2350. </Row>
  2351. <Row>
  2352. <Col id="compcheck">false</Col>
  2353. <Col id="compname">Pain </Col>
  2354. </Row>
  2355. <Row>
  2356. <Col id="compcheck">false</Col>
  2357. <Col id="compname">Renal failure </Col>
  2358. </Row>
  2359. <Row>
  2360. <Col id="compcheck">false</Col>
  2361. <Col id="compname">Restlessness </Col>
  2362. </Row>
  2363. <Row>
  2364. <Col id="compcheck">false</Col>
  2365. <Col id="compname">Trauma </Col>
  2366. </Row>
  2367. <Row>
  2368. <Col id="compcheck">false</Col>
  2369. <Col id="compname">Vomiting </Col>
  2370. </Row>
  2371. <Row>
  2372. <Col id="compcheck">false</Col>
  2373. <Col id="compname">Others </Col>
  2374. </Row>
  2375. </Rows>
  2376. </Dataset>
  2377. <Dataset id="ds_init_XmlFormat_drgecdspec_lists_drgecdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2378. <ColumnInfo>
  2379. <Column id="goodname" type="STRING" size="256"/>
  2380. <Column id="goodcd" type="STRING" size="256"/>
  2381. <Column id="allsizespecid" type="STRING" size="256"/>
  2382. <Column id="drgeqty" type="STRING" size="256"/>
  2383. <Column id="partinfo" type="STRING" size="256"/>
  2384. <Column id="output" type="STRING" size="256"/>
  2385. </ColumnInfo>
  2386. <Rows>
  2387. <Row>
  2388. <Col id="goodname"/>
  2389. <Col id="goodcd"/>
  2390. <Col id="allsizespecid"/>
  2391. <Col id="drgeqty"/>
  2392. <Col id="partinfo"/>
  2393. <Col id="output"/>
  2394. </Row>
  2395. </Rows>
  2396. </Dataset>
  2397. <Dataset id="ds_init_CareRecLists_carereclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2398. <ColumnInfo>
  2399. <Column id="recdd" type="STRING" size="256"/>
  2400. <Column id="rectm" type="STRING" size="256"/>
  2401. <Column id="dnarflag" type="STRING" size="256"/>
  2402. <Column id="stmtspec" type="STRING" size="256"/>
  2403. <Column id="fstrgstrnm" type="STRING" size="256"/>
  2404. <Column id="stmtcd" type="STRING" size="256"/>
  2405. </ColumnInfo>
  2406. <Rows>
  2407. <Row>
  2408. <Col id="recdd"/>
  2409. <Col id="rectm"/>
  2410. <Col id="dnarflag"/>
  2411. <Col id="stmtspec"/>
  2412. <Col id="fstrgstrnm"/>
  2413. <Col id="stmtcd"/>
  2414. </Row>
  2415. </Rows>
  2416. </Dataset>
  2417. <Dataset id="ds_init_recovrec_grid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2418. <ColumnInfo>
  2419. <Column id="item" type="STRING" size="256"/>
  2420. <Column id="dept" type="STRING" size="256"/>
  2421. </ColumnInfo>
  2422. <Rows>
  2423. <Row>
  2424. <Col id="item">Vital Sign</Col>
  2425. <Col id="dept">1</Col>
  2426. </Row>
  2427. <Row>
  2428. <Col id="item">맥박</Col>
  2429. <Col id="dept">2</Col>
  2430. </Row>
  2431. <Row>
  2432. <Col id="item">호흡</Col>
  2433. <Col id="dept">2</Col>
  2434. </Row>
  2435. <Row>
  2436. <Col id="item">체온</Col>
  2437. <Col id="dept">2</Col>
  2438. </Row>
  2439. </Rows>
  2440. </Dataset>
  2441. <Dataset id="ds_init_recovrec2_grid2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2442. <ColumnInfo>
  2443. <Column id="item" type="STRING" size="256"/>
  2444. </ColumnInfo>
  2445. <Rows>
  2446. <Row>
  2447. <Col id="item">SpO2</Col>
  2448. </Row>
  2449. <Row>
  2450. <Col id="item">Ventilator</Col>
  2451. </Row>
  2452. <Row>
  2453. <Col id="item">O2 4L/min</Col>
  2454. </Row>
  2455. <Row>
  2456. <Col id="item">Ambubagging</Col>
  2457. </Row>
  2458. <Row>
  2459. <Col id="item">검사</Col>
  2460. </Row>
  2461. <Row>
  2462. <Col id="item">Kit검사</Col>
  2463. </Row>
  2464. <Row>
  2465. <Col id="item">간호기록</Col>
  2466. </Row>
  2467. </Rows>
  2468. </Dataset>
  2469. <Dataset id="ds_init_example" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2470. <ColumnInfo>
  2471. <Column id="example" type="STRING" size="256"/>
  2472. </ColumnInfo>
  2473. <Rows>
  2474. <Row>
  2475. <Col id="example">Sample</Col>
  2476. </Row>
  2477. </Rows>
  2478. </Dataset>
  2479. <Dataset id="ds_init_ValuItemLists_valuitem" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2480. <ColumnInfo>
  2481. <Column id="valuitemnm" type="STRING" size="256"/>
  2482. <Column id="valuitemarrv" type="STRING" size="256"/>
  2483. <Column id="valuitemleav" type="STRING" size="256"/>
  2484. <Column id="valuitemcd" type="STRING" size="256"/>
  2485. </ColumnInfo>
  2486. <Rows>
  2487. <Row>
  2488. <Col id="valuitemnm">반사능력</Col>
  2489. <Col id="valuitemarrv">0</Col>
  2490. <Col id="valuitemleav">0</Col>
  2491. <Col id="valuitemcd">1</Col>
  2492. </Row>
  2493. <Row>
  2494. <Col id="valuitemnm">호흡</Col>
  2495. <Col id="valuitemarrv">0</Col>
  2496. <Col id="valuitemleav">0</Col>
  2497. <Col id="valuitemcd">2</Col>
  2498. </Row>
  2499. <Row>
  2500. <Col id="valuitemnm">의식상태</Col>
  2501. <Col id="valuitemarrv">0</Col>
  2502. <Col id="valuitemleav">0</Col>
  2503. <Col id="valuitemcd">3</Col>
  2504. </Row>
  2505. <Row>
  2506. <Col id="valuitemnm">피부색깔</Col>
  2507. <Col id="valuitemarrv">0</Col>
  2508. <Col id="valuitemleav">0</Col>
  2509. <Col id="valuitemcd">4</Col>
  2510. </Row>
  2511. <Row>
  2512. <Col id="valuitemnm">순환</Col>
  2513. <Col id="valuitemarrv">0</Col>
  2514. <Col id="valuitemleav">0</Col>
  2515. <Col id="valuitemcd">5</Col>
  2516. </Row>
  2517. </Rows>
  2518. </Dataset>
  2519. <Dataset id="ds_init_ValuItemLists" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2520. <ColumnInfo>
  2521. <Column id="valuitemarrvtot" type="STRING" size="256"/>
  2522. <Column id="valuitemleavtot" type="STRING" size="256"/>
  2523. </ColumnInfo>
  2524. <Rows>
  2525. <Row>
  2526. <Col id="valuitemarrvtot">0</Col>
  2527. <Col id="valuitemleavtot">0</Col>
  2528. </Row>
  2529. </Rows>
  2530. </Dataset>
  2531. <Dataset id="ds_init_recovcompspec_complications_complication" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2532. <ColumnInfo>
  2533. <Column id="compcheck" type="STRING" size="256"/>
  2534. <Column id="compname" type="STRING" size="256"/>
  2535. </ColumnInfo>
  2536. <Rows>
  2537. <Row>
  2538. <Col id="compcheck">false</Col>
  2539. <Col id="compname">Airway obstuction </Col>
  2540. </Row>
  2541. <Row>
  2542. <Col id="compcheck">false</Col>
  2543. <Col id="compname">Aspiration </Col>
  2544. </Row>
  2545. <Row>
  2546. <Col id="compcheck">false</Col>
  2547. <Col id="compname">Bladder distension </Col>
  2548. </Row>
  2549. <Row>
  2550. <Col id="compcheck">false</Col>
  2551. <Col id="compname">Dizziness </Col>
  2552. </Row>
  2553. <Row>
  2554. <Col id="compcheck">false</Col>
  2555. <Col id="compname">Dysrhythmia </Col>
  2556. </Row>
  2557. <Row>
  2558. <Col id="compcheck">false</Col>
  2559. <Col id="compname">Heart failure </Col>
  2560. </Row>
  2561. <Row>
  2562. <Col id="compcheck">false</Col>
  2563. <Col id="compname">Hematuria </Col>
  2564. </Row>
  2565. <Row>
  2566. <Col id="compcheck">false</Col>
  2567. <Col id="compname">Hyoptension </Col>
  2568. </Row>
  2569. <Row>
  2570. <Col id="compcheck">false</Col>
  2571. <Col id="compname">Hypertension </Col>
  2572. </Row>
  2573. <Row>
  2574. <Col id="compcheck">false</Col>
  2575. <Col id="compname">Hypoventilation </Col>
  2576. </Row>
  2577. <Row>
  2578. <Col id="compcheck">false</Col>
  2579. <Col id="compname">Hypoxemia </Col>
  2580. </Row>
  2581. <Row>
  2582. <Col id="compcheck">false</Col>
  2583. <Col id="compname">Nausea </Col>
  2584. </Row>
  2585. <Row>
  2586. <Col id="compcheck">false</Col>
  2587. <Col id="compname">Ologuria </Col>
  2588. </Row>
  2589. <Row>
  2590. <Col id="compcheck">false</Col>
  2591. <Col id="compname">Pain </Col>
  2592. </Row>
  2593. <Row>
  2594. <Col id="compcheck">false</Col>
  2595. <Col id="compname">Renal failure </Col>
  2596. </Row>
  2597. <Row>
  2598. <Col id="compcheck">false</Col>
  2599. <Col id="compname">Restlessness </Col>
  2600. </Row>
  2601. <Row>
  2602. <Col id="compcheck">false</Col>
  2603. <Col id="compname">Trauma </Col>
  2604. </Row>
  2605. <Row>
  2606. <Col id="compcheck">false</Col>
  2607. <Col id="compname">Vomiting </Col>
  2608. </Row>
  2609. <Row>
  2610. <Col id="compcheck">false</Col>
  2611. <Col id="compname">Others </Col>
  2612. </Row>
  2613. </Rows>
  2614. </Dataset>
  2615. <Dataset id="ds_init_WorkData" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2616. <ColumnInfo>
  2617. <Column id="pid" type="STRING" size="256"/>
  2618. <Column id="instcd" type="STRING" size="256"/>
  2619. <Column id="ophistno" type="STRING" size="256"/>
  2620. <Column id="oprsrvno" type="STRING" size="256"/>
  2621. <Column id="recmode" type="STRING" size="256"/>
  2622. <Column id="oproomcd" type="STRING" size="256"/>
  2623. <Column id="oproomnm" type="STRING" size="256"/>
  2624. <Column id="pidname" type="STRING" size="256"/>
  2625. <Column id="patdata" type="STRING" size="256"/>
  2626. <Column id="recovseqno" type="STRING" size="256"/>
  2627. <Column id="ioflag" type="STRING" size="256"/>
  2628. </ColumnInfo>
  2629. <Rows>
  2630. <Row>
  2631. <Col id="pid"/>
  2632. <Col id="instcd"/>
  2633. <Col id="ophistno"/>
  2634. <Col id="oprsrvno"/>
  2635. <Col id="recmode"/>
  2636. <Col id="oproomcd"/>
  2637. <Col id="oproomnm"/>
  2638. <Col id="pidname"/>
  2639. <Col id="patdata"/>
  2640. <Col id="recovseqno"/>
  2641. <Col id="ioflag"/>
  2642. </Row>
  2643. </Rows>
  2644. </Dataset>
  2645. <Dataset id="ds_init_WorkData_PopupInfo_PopupUser_userpopupinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2646. <ColumnInfo>
  2647. <Column id="param" type="STRING" size="256"/>
  2648. <Column id="flag" type="STRING" size="256"/>
  2649. <Column id="searchitem" type="STRING" size="256"/>
  2650. </ColumnInfo>
  2651. <Rows>
  2652. <Row>
  2653. <Col id="param"/>
  2654. <Col id="flag"/>
  2655. <Col id="searchitem"/>
  2656. </Row>
  2657. </Rows>
  2658. </Dataset>
  2659. <Dataset id="ds_init_WorkData_PopupInfo_PopupUser_tempuserinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2660. <ColumnInfo>
  2661. <Column id="param" type="STRING" size="256"/>
  2662. <Column id="flag" type="STRING" size="256"/>
  2663. <Column id="searchitem" type="STRING" size="256"/>
  2664. </ColumnInfo>
  2665. <Rows>
  2666. <Row>
  2667. <Col id="param"/>
  2668. <Col id="flag"/>
  2669. <Col id="searchitem"/>
  2670. </Row>
  2671. </Rows>
  2672. </Dataset>
  2673. <Dataset id="ds_init_M0016list_M0016" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2674. <ColumnInfo>
  2675. <Column id="cdnm" type="STRING" size="256"/>
  2676. <Column id="cdid" type="STRING" size="256"/>
  2677. </ColumnInfo>
  2678. <Rows>
  2679. <Row>
  2680. <Col id="cdnm">-</Col>
  2681. <Col id="cdid">-</Col>
  2682. </Row>
  2683. </Rows>
  2684. </Dataset>
  2685. <Dataset id="ds_init_M0260list_M0260" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2686. <ColumnInfo>
  2687. <Column id="cdnm" type="STRING" size="256"/>
  2688. <Column id="cdid" type="STRING" size="256"/>
  2689. </ColumnInfo>
  2690. <Rows>
  2691. <Row>
  2692. <Col id="cdnm">-</Col>
  2693. <Col id="cdid">-</Col>
  2694. </Row>
  2695. </Rows>
  2696. </Dataset>
  2697. <Dataset id="ds_init_M0021_M0021" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2698. <ColumnInfo>
  2699. <Column id="cdnm" type="STRING" size="256"/>
  2700. <Column id="cdid" type="STRING" size="256"/>
  2701. </ColumnInfo>
  2702. <Rows>
  2703. <Row>
  2704. <Col id="cdnm">-</Col>
  2705. <Col id="cdid">-</Col>
  2706. </Row>
  2707. </Rows>
  2708. </Dataset>
  2709. <Dataset id="ds_init_drgecdlist_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2710. <ColumnInfo>
  2711. <Column id="code" type="STRING" size="256"/>
  2712. <Column id="codename" type="STRING" size="256"/>
  2713. <Column id="codedesc1" type="STRING" size="256"/>
  2714. <Column id="codedesc2" type="STRING" size="256"/>
  2715. <Column id="codedesc3" type="STRING" size="256"/>
  2716. <Column id="codedesc4" type="STRING" size="256"/>
  2717. </ColumnInfo>
  2718. <Rows>
  2719. <Row>
  2720. <Col id="code"/>
  2721. <Col id="codename"/>
  2722. <Col id="codedesc1"/>
  2723. <Col id="codedesc2"/>
  2724. <Col id="codedesc3"/>
  2725. <Col id="codedesc4"/>
  2726. </Row>
  2727. </Rows>
  2728. </Dataset>
  2729. <Dataset id="ds_init_orddept_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2730. <ColumnInfo>
  2731. <Column id="deptcd" type="STRING" size="256"/>
  2732. <Column id="depthngnm" type="STRING" size="256"/>
  2733. </ColumnInfo>
  2734. <Rows>
  2735. <Row>
  2736. <Col id="deptcd"/>
  2737. <Col id="depthngnm"/>
  2738. </Row>
  2739. </Rows>
  2740. </Dataset>
  2741. <Dataset id="ds_init_userlist_userlist_usercombo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2742. <ColumnInfo>
  2743. <Column id="userid" type="STRING" size="256"/>
  2744. <Column id="usernm" type="STRING" size="256"/>
  2745. </ColumnInfo>
  2746. <Rows>
  2747. <Row>
  2748. <Col id="userid"/>
  2749. <Col id="usernm"/>
  2750. </Row>
  2751. </Rows>
  2752. </Dataset>
  2753. <Dataset id="ds_init_oproomlist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2754. <ColumnInfo>
  2755. <Column id="oproomnm" type="STRING" size="256"/>
  2756. <Column id="oproomcd" type="STRING" size="256"/>
  2757. </ColumnInfo>
  2758. <Rows>
  2759. <Row>
  2760. <Col id="oproomnm"/>
  2761. <Col id="oproomcd"/>
  2762. </Row>
  2763. </Rows>
  2764. </Dataset>
  2765. <Dataset id="ds_init_anstdrlist_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2766. <ColumnInfo>
  2767. <Column id="drid" type="STRING" size="256"/>
  2768. <Column id="drnm" type="STRING" size="256"/>
  2769. </ColumnInfo>
  2770. <Rows>
  2771. <Row>
  2772. <Col id="drid"/>
  2773. <Col id="drnm"/>
  2774. </Row>
  2775. </Rows>
  2776. </Dataset>
  2777. <Dataset id="ds_init_M0013_M0013" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2778. <ColumnInfo>
  2779. <Column id="cdnm" type="STRING" size="256"/>
  2780. <Column id="cdid" type="STRING" size="256"/>
  2781. </ColumnInfo>
  2782. <Rows>
  2783. <Row>
  2784. <Col id="cdnm">-</Col>
  2785. <Col id="cdid">-</Col>
  2786. </Row>
  2787. </Rows>
  2788. </Dataset>
  2789. <Dataset id="ds_init_M0020_M0020" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2790. <ColumnInfo>
  2791. <Column id="cdnm" type="STRING" size="256"/>
  2792. <Column id="cdid" type="STRING" size="256"/>
  2793. </ColumnInfo>
  2794. <Rows>
  2795. <Row>
  2796. <Col id="cdnm">-</Col>
  2797. <Col id="cdid">-</Col>
  2798. </Row>
  2799. </Rows>
  2800. </Dataset>
  2801. <Dataset id="ds_init_M0270_M0270" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2802. <ColumnInfo>
  2803. <Column id="cdnm" type="STRING" size="256"/>
  2804. <Column id="cdid" type="STRING" size="256"/>
  2805. </ColumnInfo>
  2806. <Rows>
  2807. <Row>
  2808. <Col id="cdnm">-</Col>
  2809. <Col id="cdid">-</Col>
  2810. </Row>
  2811. </Rows>
  2812. </Dataset>
  2813. <Dataset id="ds_init_M0271_M0271" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2814. <ColumnInfo>
  2815. <Column id="cdnm" type="STRING" size="256"/>
  2816. <Column id="cdid" type="STRING" size="256"/>
  2817. </ColumnInfo>
  2818. <Rows>
  2819. <Row>
  2820. <Col id="cdnm">-</Col>
  2821. <Col id="cdid">-</Col>
  2822. </Row>
  2823. </Rows>
  2824. </Dataset>
  2825. <Dataset id="ds_init_M0008_M0008" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2826. <ColumnInfo>
  2827. <Column id="cdnm" type="STRING" size="256"/>
  2828. <Column id="cdid" type="STRING" size="256"/>
  2829. </ColumnInfo>
  2830. <Rows>
  2831. <Row>
  2832. <Col id="cdnm">-</Col>
  2833. <Col id="cdid">-</Col>
  2834. </Row>
  2835. </Rows>
  2836. </Dataset>
  2837. <Dataset id="ds_init_M0269_M0269" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2838. <ColumnInfo>
  2839. <Column id="cdnm" type="STRING" size="256"/>
  2840. <Column id="cdid" type="STRING" size="256"/>
  2841. </ColumnInfo>
  2842. <Rows>
  2843. <Row>
  2844. <Col id="cdnm">-</Col>
  2845. <Col id="cdid">-</Col>
  2846. </Row>
  2847. </Rows>
  2848. </Dataset>
  2849. <Dataset id="ds_init_M0005_M0005" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2850. <ColumnInfo>
  2851. <Column id="cdnm" type="STRING" size="256"/>
  2852. <Column id="cdid" type="STRING" size="256"/>
  2853. </ColumnInfo>
  2854. <Rows>
  2855. <Row>
  2856. <Col id="cdnm">-</Col>
  2857. <Col id="cdid">-</Col>
  2858. </Row>
  2859. </Rows>
  2860. </Dataset>
  2861. <Dataset id="ds_init_revrterm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2862. <ColumnInfo>
  2863. <Column id="term" type="STRING" size="256"/>
  2864. <Column id="prnorderflag" type="STRING" size="256"/>
  2865. <Column id="actionoderflag" type="STRING" size="256"/>
  2866. </ColumnInfo>
  2867. <Rows>
  2868. <Row>
  2869. <Col id="term">5</Col>
  2870. <Col id="prnorderflag">A</Col>
  2871. <Col id="actionoderflag"/>
  2872. </Row>
  2873. </Rows>
  2874. </Dataset>
  2875. <Dataset id="ds_init_lrgdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2876. <ColumnInfo>
  2877. <Column id="cdid" type="STRING" size="256"/>
  2878. <Column id="supcdid" type="STRING" size="256"/>
  2879. </ColumnInfo>
  2880. <Rows>
  2881. <Row>
  2882. <Col id="cdid"/>
  2883. <Col id="supcdid"/>
  2884. </Row>
  2885. </Rows>
  2886. </Dataset>
  2887. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  2888. <Dataset id="ds_hidden_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  2889. <Dataset id="ds_hidden_anstinfoList_anstinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2890. <ColumnInfo>
  2891. <Column id="instcd" type="STRING" size="256"/>
  2892. <Column id="anstrecno" type="STRING" size="256"/>
  2893. <Column id="oprsrvno" type="STRING" size="256"/>
  2894. <Column id="pid" type="STRING" size="256"/>
  2895. <Column id="phngnm" type="STRING" size="256"/>
  2896. <Column id="anstmthdcd" type="STRING" size="256"/>
  2897. <Column id="anstmthdcdsub" type="STRING" size="256"/>
  2898. <Column id="anstaddcd" type="STRING" size="256"/>
  2899. <Column id="physstat" type="STRING" size="256"/>
  2900. <Column id="oproomcd" type="STRING" size="256"/>
  2901. <Column id="oproomnm" type="STRING" size="256"/>
  2902. <Column id="opflagcd" type="STRING" size="256"/>
  2903. <Column id="opposturecd" type="STRING" size="256"/>
  2904. <Column id="meetingdt" type="STRING" size="256"/>
  2905. <Column id="tmoutchkdt" type="STRING" size="256"/>
  2906. <Column id="anstfromdt" type="STRING" size="256"/>
  2907. <Column id="ansttodt" type="STRING" size="256"/>
  2908. <Column id="opfromdt" type="STRING" size="256"/>
  2909. <Column id="optodt" type="STRING" size="256"/>
  2910. <Column id="meetingdd" type="STRING" size="256"/>
  2911. <Column id="tmoutchkdd" type="STRING" size="256"/>
  2912. <Column id="anstfromdd" type="STRING" size="256"/>
  2913. <Column id="ansttodd" type="STRING" size="256"/>
  2914. <Column id="opfromdd" type="STRING" size="256"/>
  2915. <Column id="optodd" type="STRING" size="256"/>
  2916. <Column id="meetingtm" type="STRING" size="256"/>
  2917. <Column id="tmoutchktm" type="STRING" size="256"/>
  2918. <Column id="anstfromtm" type="STRING" size="256"/>
  2919. <Column id="ansttotm" type="STRING" size="256"/>
  2920. <Column id="opfromtm" type="STRING" size="256"/>
  2921. <Column id="optotm" type="STRING" size="256"/>
  2922. <Column id="urine" type="STRING" size="256"/>
  2923. <Column id="blod" type="STRING" size="256"/>
  2924. <Column id="other" type="STRING" size="256"/>
  2925. <Column id="blodinput" type="STRING" size="256"/>
  2926. <Column id="crystalloid" type="STRING" size="256"/>
  2927. <Column id="colloid" type="STRING" size="256"/>
  2928. <Column id="opposturerem" type="STRING" size="256"/>
  2929. <Column id="remark" type="STRING" size="256"/>
  2930. <Column id="anstdrid1" type="STRING" size="256"/>
  2931. <Column id="anstdrid2" type="STRING" size="256"/>
  2932. <Column id="anstdrid3" type="STRING" size="256"/>
  2933. <Column id="perfdeptcd" type="STRING" size="256"/>
  2934. <Column id="perfdrid" type="STRING" size="256"/>
  2935. <Column id="perfdeptcd2" type="STRING" size="256"/>
  2936. <Column id="perfdrid2" type="STRING" size="256"/>
  2937. <Column id="orddd" type="STRING" size="256"/>
  2938. <Column id="cretno" type="STRING" size="256"/>
  2939. <Column id="lastespiyn" type="STRING" size="256"/>
  2940. <Column id="anstmthdnm" type="STRING" size="256"/>
  2941. <Column id="anstmthdnmsub" type="STRING" size="256"/>
  2942. <Column id="anstaddnm" type="STRING" size="256"/>
  2943. <Column id="physstatnm" type="STRING" size="256"/>
  2944. <Column id="opposturenm" type="STRING" size="256"/>
  2945. <Column id="opflagnm" type="STRING" size="256"/>
  2946. <Column id="anstdrnm1" type="STRING" size="256"/>
  2947. <Column id="anstdrnm2" type="STRING" size="256"/>
  2948. <Column id="anstdrnm3" type="STRING" size="256"/>
  2949. <Column id="perfdeptnm" type="STRING" size="256"/>
  2950. <Column id="perfdrnm" type="STRING" size="256"/>
  2951. <Column id="perfdeptnm2" type="STRING" size="256"/>
  2952. <Column id="perfdrnm2" type="STRING" size="256"/>
  2953. <Column id="intervaltm" type="STRING" size="256"/>
  2954. <Column id="anstdd" type="STRING" size="256"/>
  2955. <Column id="espiseq" type="STRING" size="256"/>
  2956. </ColumnInfo>
  2957. <Rows>
  2958. <Row>
  2959. <Col id="instcd"/>
  2960. <Col id="anstrecno"/>
  2961. <Col id="oprsrvno"/>
  2962. <Col id="pid"/>
  2963. <Col id="phngnm"/>
  2964. <Col id="anstmthdcd"/>
  2965. <Col id="anstmthdcdsub"/>
  2966. <Col id="anstaddcd"/>
  2967. <Col id="physstat"/>
  2968. <Col id="oproomcd"/>
  2969. <Col id="oproomnm"/>
  2970. <Col id="opflagcd"/>
  2971. <Col id="opposturecd"/>
  2972. <Col id="meetingdt"/>
  2973. <Col id="tmoutchkdt"/>
  2974. <Col id="anstfromdt"/>
  2975. <Col id="ansttodt"/>
  2976. <Col id="opfromdt"/>
  2977. <Col id="optodt"/>
  2978. <Col id="meetingdd"/>
  2979. <Col id="tmoutchkdd"/>
  2980. <Col id="anstfromdd"/>
  2981. <Col id="ansttodd"/>
  2982. <Col id="opfromdd"/>
  2983. <Col id="optodd"/>
  2984. <Col id="meetingtm"/>
  2985. <Col id="tmoutchktm"/>
  2986. <Col id="anstfromtm"/>
  2987. <Col id="ansttotm"/>
  2988. <Col id="opfromtm"/>
  2989. <Col id="optotm"/>
  2990. <Col id="urine"/>
  2991. <Col id="blod"/>
  2992. <Col id="other"/>
  2993. <Col id="blodinput"/>
  2994. <Col id="crystalloid"/>
  2995. <Col id="colloid"/>
  2996. <Col id="opposturerem"/>
  2997. <Col id="remark"/>
  2998. <Col id="anstdrid1"/>
  2999. <Col id="anstdrid2"/>
  3000. <Col id="anstdrid3"/>
  3001. <Col id="perfdeptcd"/>
  3002. <Col id="perfdrid"/>
  3003. <Col id="perfdeptcd2"/>
  3004. <Col id="perfdrid2"/>
  3005. <Col id="orddd"/>
  3006. <Col id="cretno"/>
  3007. <Col id="lastespiyn"/>
  3008. <Col id="anstmthdnm"/>
  3009. <Col id="anstmthdnmsub"/>
  3010. <Col id="anstaddnm"/>
  3011. <Col id="physstatnm"/>
  3012. <Col id="opposturenm"/>
  3013. <Col id="opflagnm"/>
  3014. <Col id="anstdrnm1"/>
  3015. <Col id="anstdrnm2"/>
  3016. <Col id="anstdrnm3"/>
  3017. <Col id="perfdeptnm"/>
  3018. <Col id="perfdrnm"/>
  3019. <Col id="perfdeptnm2"/>
  3020. <Col id="perfdrnm2"/>
  3021. <Col id="intervaltm"/>
  3022. <Col id="anstdd"/>
  3023. <Col id="espiseq"/>
  3024. </Row>
  3025. </Rows>
  3026. </Dataset>
  3027. <Dataset id="ds_hidden_anstinfoList_oprsrvinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3028. <ColumnInfo>
  3029. <Column id="reopflag" type="STRING" size="256"/>
  3030. <Column id="oppatflagcd" type="STRING" size="256"/>
  3031. </ColumnInfo>
  3032. <Rows>
  3033. <Row>
  3034. <Col id="reopflag"/>
  3035. <Col id="oppatflagcd"/>
  3036. </Row>
  3037. </Rows>
  3038. </Dataset>
  3039. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3040. <ColumnInfo>
  3041. <Column id="ansttm" type="STRING" size="256"/>
  3042. <Column id="anstmnt" type="STRING" size="256"/>
  3043. <Column id="resultmsg" type="STRING" size="256"/>
  3044. <Column id="patmemo" type="STRING" size="256"/>
  3045. </ColumnInfo>
  3046. <Rows>
  3047. <Row/>
  3048. </Rows>
  3049. </Dataset>
  3050. <Dataset id="ds_hidden_opinfo_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3051. <Dataset id="ds_hidden_anstaddinfo_addinfo_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3052. <Dataset id="ds_hidden_anstorderinfo_orderlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3053. <ColumnInfo>
  3054. <Column id="prcptype" type="STRING" size="256"/>
  3055. <Column id="prcpnm" type="STRING" size="256"/>
  3056. <Column id="recvol" type="STRING" size="256"/>
  3057. <Column id="prcpvolunitnm" type="STRING" size="256"/>
  3058. <Column id="prcpvol" type="STRING" size="256"/>
  3059. <Column id="prcpvolunitnm2" type="STRING" size="256"/>
  3060. <Column id="drugmthdnm" type="STRING" size="256"/>
  3061. </ColumnInfo>
  3062. <Rows>
  3063. <Row>
  3064. <Col id="prcptype"/>
  3065. <Col id="prcpnm"/>
  3066. <Col id="recvol"/>
  3067. <Col id="prcpvolunitnm"/>
  3068. <Col id="prcpvol"/>
  3069. <Col id="prcpvolunitnm2"/>
  3070. <Col id="drugmthdnm"/>
  3071. </Row>
  3072. </Rows>
  3073. </Dataset>
  3074. <Dataset id="ds_hidden_hiddendata_anstinfospec" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3075. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3076. <ColumnInfo>
  3077. <Column id="recvdata" type="STRING" size="256"/>
  3078. <Column id="signflag" type="STRING" size="256"/>
  3079. <Column id="inexinfo" type="STRING" size="256"/>
  3080. </ColumnInfo>
  3081. <Rows>
  3082. <Row>
  3083. <Col id="recvdata"/>
  3084. <Col id="signflag"/>
  3085. <Col id="inexinfo"/>
  3086. </Row>
  3087. </Rows>
  3088. </Dataset>
  3089. <Dataset id="ds_UserData_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3090. <Dataset id="ds_HideData_condition" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3091. <ColumnInfo>
  3092. <Column id="opcnfmdd" type="STRING" size="256"/>
  3093. <Column id="oproomcd" type="STRING" size="256"/>
  3094. <Column id="anstmthdcd" type="STRING" size="256"/>
  3095. <Column id="opstatcd" type="STRING" size="256"/>
  3096. <Column id="pid" type="STRING" size="256"/>
  3097. <Column id="kornm" type="STRING" size="256"/>
  3098. <Column id="calmflag" type="STRING" size="256"/>
  3099. </ColumnInfo>
  3100. <Rows>
  3101. <Row>
  3102. <Col id="opcnfmdd"/>
  3103. <Col id="oproomcd"/>
  3104. <Col id="anstmthdcd"/>
  3105. <Col id="opstatcd">60</Col>
  3106. <Col id="pid"/>
  3107. <Col id="kornm"/>
  3108. <Col id="calmflag"/>
  3109. </Row>
  3110. </Rows>
  3111. </Dataset>
  3112. <Dataset id="ds_HideData_opschelists_schelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3113. <ColumnInfo>
  3114. <Column id="opstatnm" type="STRING" size="256"/>
  3115. <Column id="perfdeptnm" type="STRING" size="256"/>
  3116. <Column id="oproomnm" type="STRING" size="256"/>
  3117. <Column id="oppatflagnm" type="STRING" size="256"/>
  3118. <Column id="hngnm" type="STRING" size="256"/>
  3119. <Column id="pid" type="STRING" size="256"/>
  3120. <Column id="sa" type="STRING" size="256"/>
  3121. <Column id="diagcdnm" type="STRING" size="256"/>
  3122. <Column id="opcdnm" type="STRING" size="256"/>
  3123. <Column id="perfdrnm" type="STRING" size="256"/>
  3124. <Column id="opposition" type="STRING" size="256"/>
  3125. <Column id="anstmthdcdnm" type="STRING" size="256"/>
  3126. <Column id="opcnfmdate" type="STRING" size="256"/>
  3127. <Column id="opstatcd" type="STRING" size="256"/>
  3128. <Column id="perfdeptcd" type="STRING" size="256"/>
  3129. <Column id="perfdrid" type="STRING" size="256"/>
  3130. <Column id="gcnt" type="STRING" size="256"/>
  3131. <Column id="pcnt" type="STRING" size="256"/>
  3132. <Column id="recovcnt" type="STRING" size="256"/>
  3133. <Column id="opflagcd" type="STRING" size="256"/>
  3134. <Column id="oproomcd" type="STRING" size="256"/>
  3135. <Column id="anstrecno" type="STRING" size="256"/>
  3136. <Column id="oprsrvno" type="STRING" size="256"/>
  3137. <Column id="ophistno" type="STRING" size="256"/>
  3138. <Column id="recovseqno" type="STRING" size="256"/>
  3139. <Column id="instcd" type="STRING" size="256"/>
  3140. <Column id="recendflag" type="STRING" size="256"/>
  3141. <Column id="oppatflagcd" type="STRING" size="256"/>
  3142. <Column id="pkidatetimems" type="STRING" size="256"/>
  3143. <Column id="opcnfmdd" type="STRING" size="256"/>
  3144. <Column id="indd" type="STRING" size="256"/>
  3145. <Column id="cretno" type="STRING" size="256"/>
  3146. <Column id="inrmdt" type="STRING" size="256"/>
  3147. <Column id="inrmtm" type="STRING" size="256"/>
  3148. <Column id="opoutrmplcecd" type="STRING" size="256"/>
  3149. <Column id="calmflag" type="STRING" size="256"/>
  3150. <Column id="anstkindinfo" type="STRING" size="256"/>
  3151. <Column id="anstmthd" type="STRING" size="256"/>
  3152. <Column id="pca" type="STRING" size="256"/>
  3153. </ColumnInfo>
  3154. </Dataset>
  3155. <Dataset id="ds_HideData_schelisttotalinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3156. <ColumnInfo>
  3157. <Column id="totalanstcnt" type="STRING" size="256"/>
  3158. <Column id="totalganstcnt" type="STRING" size="256"/>
  3159. <Column id="totalpanstcnt" type="STRING" size="256"/>
  3160. <Column id="totalrecocnt" type="STRING" size="256"/>
  3161. <Column id="totalnosigncnt" type="STRING" size="256"/>
  3162. </ColumnInfo>
  3163. <Rows>
  3164. <Row>
  3165. <Col id="totalanstcnt"/>
  3166. <Col id="totalganstcnt"/>
  3167. <Col id="totalpanstcnt"/>
  3168. <Col id="totalrecocnt"/>
  3169. <Col id="totalnosigncnt"/>
  3170. </Row>
  3171. </Rows>
  3172. </Dataset>
  3173. <Dataset id="ds_HideData_displaypinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3174. <ColumnInfo>
  3175. <Column id="pinfo1" type="STRING" size="256"/>
  3176. <Column id="pinfo2" type="STRING" size="256"/>
  3177. <Column id="pinfo3" type="STRING" size="256"/>
  3178. </ColumnInfo>
  3179. <Rows>
  3180. <Row>
  3181. <Col id="pinfo1"/>
  3182. <Col id="pinfo2"/>
  3183. <Col id="pinfo3"/>
  3184. </Row>
  3185. </Rows>
  3186. </Dataset>
  3187. <Dataset id="ds_HideData_recoinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3188. <ColumnInfo>
  3189. <Column id="recototaltime" type="STRING" size="256"/>
  3190. </ColumnInfo>
  3191. </Dataset>
  3192. <Dataset id="ds_HideData_menuitems_gridmenu_menulist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3193. <ColumnInfo>
  3194. <Column id="hardcd" type="STRING" size="256"/>
  3195. <Column id="hardcdnm" type="STRING" size="256"/>
  3196. </ColumnInfo>
  3197. <Rows>
  3198. <Row>
  3199. <Col id="hardcd">1</Col>
  3200. <Col id="hardcdnm">임상관찰기록</Col>
  3201. </Row>
  3202. <Row>
  3203. <Col id="hardcd">2</Col>
  3204. <Col id="hardcdnm">이송요원호출</Col>
  3205. </Row>
  3206. <Row>
  3207. <Col id="hardcd">16</Col>
  3208. <Col id="hardcdnm">입 실 취 소</Col>
  3209. </Row>
  3210. </Rows>
  3211. </Dataset>
  3212. <Dataset id="ds_HideData_menuitems_vnrlmenu_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3213. <ColumnInfo>
  3214. <Column id="hardcdnm" type="STRING" size="256"/>
  3215. <Column id="hardcd" type="STRING" size="256"/>
  3216. </ColumnInfo>
  3217. <Rows>
  3218. <Row>
  3219. <Col id="hardcdnm">수술준비확인</Col>
  3220. <Col id="hardcd">3</Col>
  3221. </Row>
  3222. <Row>
  3223. <Col id="hardcdnm">마취간호처방</Col>
  3224. <Col id="hardcd">4</Col>
  3225. </Row>
  3226. <Row>
  3227. <Col id="hardcdnm">마약처방관리</Col>
  3228. <Col id="hardcd">5</Col>
  3229. </Row>
  3230. <Row>
  3231. <Col id="hardcdnm">PRN처방관리</Col>
  3232. <Col id="hardcd">6</Col>
  3233. </Row>
  3234. <Row>
  3235. <Col id="hardcdnm">혈액불출관리</Col>
  3236. <Col id="hardcd">7</Col>
  3237. </Row>
  3238. <Row>
  3239. <Col id="hardcdnm">마취기록지</Col>
  3240. <Col id="hardcd">15</Col>
  3241. </Row>
  3242. <Row>
  3243. <Col id="hardcdnm">현장검사입력</Col>
  3244. <Col id="hardcd">8</Col>
  3245. </Row>
  3246. <Row>
  3247. <Col id="hardcdnm">-</Col>
  3248. <Col id="hardcd"/>
  3249. </Row>
  3250. <Row>
  3251. <Col id="hardcdnm">바코드출력</Col>
  3252. <Col id="hardcd">9</Col>
  3253. </Row>
  3254. <Row>
  3255. <Col id="hardcdnm">NAME LABEL 출력</Col>
  3256. <Col id="hardcd">10</Col>
  3257. </Row>
  3258. <Row>
  3259. <Col id="hardcdnm">수술전광판관리</Col>
  3260. <Col id="hardcd">11</Col>
  3261. </Row>
  3262. <Row>
  3263. <Col id="hardcdnm">수술진행현황</Col>
  3264. <Col id="hardcd">12</Col>
  3265. </Row>
  3266. <Row>
  3267. <Col id="hardcdnm">보호자호출</Col>
  3268. <Col id="hardcd">13</Col>
  3269. </Row>
  3270. <Row>
  3271. <Col id="hardcdnm">보호자호출 취소</Col>
  3272. <Col id="hardcd">14</Col>
  3273. </Row>
  3274. </Rows>
  3275. </Dataset>
  3276. <Dataset id="ds_HideData_menuitems_vsgridmenu_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3277. <ColumnInfo>
  3278. <Column id="hardcdnm" type="STRING" size="256"/>
  3279. <Column id="hardcd" type="STRING" size="256"/>
  3280. </ColumnInfo>
  3281. <Rows>
  3282. <Row>
  3283. <Col id="hardcdnm">컬럼삭제</Col>
  3284. <Col id="hardcd">fDelVsCurCol</Col>
  3285. </Row>
  3286. </Rows>
  3287. </Dataset>
  3288. <Dataset id="ds_HideData_rsrvcopy_org_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3289. <Dataset id="ds_HideData_itemaddlist_mnphrevr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3290. <ColumnInfo>
  3291. <Column id="lrgcd" type="STRING" size="256"/>
  3292. <Column id="vsitemcd" type="STRING" size="256"/>
  3293. <Column id="recovseqno" type="STRING" size="256"/>
  3294. <Column id="lrgnm" type="STRING" size="256"/>
  3295. <Column id="vsitemnm" type="STRING" size="256"/>
  3296. <Column id="itotal" type="STRING" size="256"/>
  3297. <Column id="ototal" type="STRING" size="256"/>
  3298. <Column id="data1" type="STRING" size="256"/>
  3299. <Column id="data2" type="STRING" size="256"/>
  3300. <Column id="data3" type="STRING" size="256"/>
  3301. <Column id="data4" type="STRING" size="256"/>
  3302. <Column id="data5" type="STRING" size="256"/>
  3303. <Column id="data6" type="STRING" size="256"/>
  3304. <Column id="data7" type="STRING" size="256"/>
  3305. <Column id="data8" type="STRING" size="256"/>
  3306. <Column id="data9" type="STRING" size="256"/>
  3307. <Column id="data10" type="STRING" size="256"/>
  3308. <Column id="data11" type="STRING" size="256"/>
  3309. <Column id="data12" type="STRING" size="256"/>
  3310. <Column id="data13" type="STRING" size="256"/>
  3311. <Column id="data14" type="STRING" size="256"/>
  3312. <Column id="data15" type="STRING" size="256"/>
  3313. <Column id="data16" type="STRING" size="256"/>
  3314. <Column id="data17" type="STRING" size="256"/>
  3315. <Column id="data18" type="STRING" size="256"/>
  3316. <Column id="data19" type="STRING" size="256"/>
  3317. <Column id="data20" type="STRING" size="256"/>
  3318. <Column id="data21" type="STRING" size="256"/>
  3319. <Column id="data22" type="STRING" size="256"/>
  3320. <Column id="data23" type="STRING" size="256"/>
  3321. <Column id="data24" type="STRING" size="256"/>
  3322. </ColumnInfo>
  3323. <Rows>
  3324. <Row>
  3325. <Col id="lrgcd"/>
  3326. <Col id="vsitemcd"/>
  3327. <Col id="recovseqno"/>
  3328. <Col id="lrgnm"/>
  3329. <Col id="vsitemnm"/>
  3330. <Col id="itotal"/>
  3331. <Col id="ototal"/>
  3332. <Col id="data1"/>
  3333. <Col id="data2"/>
  3334. <Col id="data3"/>
  3335. <Col id="data4"/>
  3336. <Col id="data5"/>
  3337. <Col id="data6"/>
  3338. <Col id="data7"/>
  3339. <Col id="data8"/>
  3340. <Col id="data9"/>
  3341. <Col id="data10"/>
  3342. <Col id="data11"/>
  3343. <Col id="data12"/>
  3344. <Col id="data13"/>
  3345. <Col id="data14"/>
  3346. <Col id="data15"/>
  3347. <Col id="data16"/>
  3348. <Col id="data17"/>
  3349. <Col id="data18"/>
  3350. <Col id="data19"/>
  3351. <Col id="data20"/>
  3352. <Col id="data21"/>
  3353. <Col id="data22"/>
  3354. <Col id="data23"/>
  3355. <Col id="data24"/>
  3356. </Row>
  3357. </Rows>
  3358. </Dataset>
  3359. <Dataset id="ds_HideData_orderlist_prnorderlists" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3360. <Dataset id="ds_HideData_orderlist_actingorderlists" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3361. <Dataset id="ds_HideData_allsigndatas_signdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3362. <Dataset id="ds_viewtemp_viewinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3363. <Dataset id="ds_displaysigninfo_signdatalist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3364. <Dataset id="ds_init_drgecdlist_OpRoomInfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3365. <ColumnInfo>
  3366. <Column id="oproomcd" type="STRING" size="256"/>
  3367. <Column id="oproomnm" type="STRING" size="256"/>
  3368. </ColumnInfo>
  3369. </Dataset>
  3370. <Dataset id="ds_chk_anesclass" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3371. <ColumnInfo>
  3372. <Column id="label" type="STRING" size="256"/>
  3373. <Column id="value" type="STRING" size="256"/>
  3374. </ColumnInfo>
  3375. <Rows>
  3376. <Row>
  3377. <Col id="label">전신</Col>
  3378. <Col id="value">01</Col>
  3379. </Row>
  3380. <Row>
  3381. <Col id="label">부위</Col>
  3382. <Col id="value">02</Col>
  3383. </Row>
  3384. <Row>
  3385. <Col id="label">국소</Col>
  3386. <Col id="value">03</Col>
  3387. </Row>
  3388. </Rows>
  3389. </Dataset>
  3390. <Dataset id="ds_chk_opstat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3391. <choices>
  3392. <item>
  3393. <label>예정</label>
  3394. <value>20</value>
  3395. </item>
  3396. <item>
  3397. <label>대기</label>
  3398. <value>30</value>
  3399. </item>
  3400. <item>
  3401. <label>수술</label>
  3402. <value>40</value>
  3403. </item>
  3404. <item>
  3405. <label>회복</label>
  3406. <value>60</value>
  3407. </item>
  3408. <item>
  3409. <label>종료</label>
  3410. <value>50</value>
  3411. </item>
  3412. </choices>
  3413. <ColumnInfo>
  3414. <Column id="label" type="STRING" size="256"/>
  3415. <Column id="value" type="STRING" size="256"/>
  3416. </ColumnInfo>
  3417. <Rows>
  3418. <Row>
  3419. <Col id="label">예정</Col>
  3420. <Col id="value">20</Col>
  3421. </Row>
  3422. <Row>
  3423. <Col id="label">대기</Col>
  3424. <Col id="value">30</Col>
  3425. </Row>
  3426. <Row>
  3427. <Col id="label">수술</Col>
  3428. <Col id="value">40</Col>
  3429. </Row>
  3430. <Row>
  3431. <Col id="label">회복</Col>
  3432. <Col id="value">60</Col>
  3433. </Row>
  3434. <Row>
  3435. <Col id="label">종료</Col>
  3436. <Col id="value">50</Col>
  3437. </Row>
  3438. </Rows>
  3439. </Dataset>
  3440. <Dataset id="ds_code_codeinfo_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3441. <ColumnInfo>
  3442. <Column id="cdid" type="STRING" size="256"/>
  3443. <Column id="cdnm" type="STRING" size="256"/>
  3444. </ColumnInfo>
  3445. </Dataset>
  3446. <Dataset id="ds_chk_prtctairway" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3447. <ColumnInfo>
  3448. <Column id="label" type="STRING" size="256"/>
  3449. <Column id="value" type="STRING" size="256"/>
  3450. </ColumnInfo>
  3451. <Rows>
  3452. <Row>
  3453. <Col id="label">Endotracheal</Col>
  3454. <Col id="value">1</Col>
  3455. </Row>
  3456. <Row>
  3457. <Col id="label">Oral airway</Col>
  3458. <Col id="value">2</Col>
  3459. </Row>
  3460. <Row>
  3461. <Col id="label">Nasal airway</Col>
  3462. <Col id="value">3</Col>
  3463. </Row>
  3464. <Row>
  3465. <Col id="label">Tracheostomy</Col>
  3466. <Col id="value">4</Col>
  3467. </Row>
  3468. <Row>
  3469. <Col id="label">None</Col>
  3470. <Col id="value">5</Col>
  3471. </Row>
  3472. </Rows>
  3473. </Dataset>
  3474. <Dataset id="ds_init_prcptype" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3475. <ColumnInfo>
  3476. <Column id="label" type="STRING" size="256"/>
  3477. <Column id="value" type="STRING" size="256"/>
  3478. </ColumnInfo>
  3479. <Rows>
  3480. <Row>
  3481. <Col id="label">Agent</Col>
  3482. <Col id="value">A</Col>
  3483. </Row>
  3484. <Row>
  3485. <Col id="label">Drug</Col>
  3486. <Col id="value">D</Col>
  3487. </Row>
  3488. <Row>
  3489. <Col id="label">Fluid</Col>
  3490. <Col id="value">F</Col>
  3491. </Row>
  3492. <Row>
  3493. <Col id="label">Blood</Col>
  3494. <Col id="value">H</Col>
  3495. </Row>
  3496. <Row>
  3497. <Col id="label">Proc</Col>
  3498. <Col id="value">P</Col>
  3499. </Row>
  3500. </Rows>
  3501. </Dataset>
  3502. <Dataset id="ds_hidden_anstaddinfo_addinfo_anstopuserlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3503. <Dataset id="ds_hidden_anstaddinfo_addinfo_item_cdflag_4" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3504. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3505. <ColumnInfo>
  3506. <Column id="valueitem" type="STRING" size="256"/>
  3507. </ColumnInfo>
  3508. <Rows>
  3509. <Row/>
  3510. </Rows>
  3511. </Dataset>
  3512. <Dataset id="ds_ValuItemLists" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3513. <ColumnInfo>
  3514. <Column id="valuitem" type="STRING" size="256"/>
  3515. </ColumnInfo>
  3516. <Rows>
  3517. <Row/>
  3518. </Rows>
  3519. </Dataset>
  3520. <Dataset id="ds_temp_reccnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3521. <Dataset id="ds_send_MnphrecoList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3522. <ColumnInfo>
  3523. <column id="pid" type="string"/>
  3524. <column id="oprsrvno" type="string"/>
  3525. <column id="instcd" type="string"/>
  3526. <column id="cretno" type="string"/>
  3527. <column id="operdttm" type="string"/>
  3528. <column id="ioflag" type="string"/>
  3529. <column id="orddd" type="string"/>
  3530. <column id="orddeptcd" type="string"/>
  3531. <column id="indt" type="string"/>
  3532. <column id="inrmdt" type="string"/>
  3533. <column id="inrmtm" type="string"/>
  3534. <column id="outrmdt" type="string"/>
  3535. <column id="outrmtm" type="string"/>
  3536. <column id="outplcecode" type="string"/>
  3537. <column id="outplcenm" type="string"/>
  3538. <column id="outconfirmdoctorid" type="string"/>
  3539. <column id="outconfirmdoctor" type="string"/>
  3540. <column id="recovroom" type="string"/>
  3541. <!-- 2008-06-04 오전 8:52:49 taebum 수정함. -->
  3542. <!-- column id="anstspec" type="cdata" desc="19 마취내역" -->
  3543. <column id="prtctairwayspec"/>
  3544. <column id="oxgendosespec"/>
  3545. <column id="recovstatvalutable"/>
  3546. <column id="pataddtool"/>
  3547. <!-- column id="pcaspec" type="cdata" desc="24 PCA내역" -->
  3548. <!-- 2008-06-04 오전 8:52:49 taebum 수정함. -->
  3549. <!-- column id="recovpatcmplspec" type="cdata" desc="25 회복환자합병증내역" -->
  3550. <column id="recinuserid" type="string"/>
  3551. <column id="recindttm" type="string"/>
  3552. <column id="saveindttm" type="string"/>
  3553. <column id="recoutuserid" type="string"/>
  3554. <column id="recoutdttm" type="string"/>
  3555. <column id="saveoutdttm" type="string"/>
  3556. <column id="pkidatetimems" type="string"/>
  3557. <column id="fstrgstrid" type="string"/>
  3558. <column id="lastupdtid" type="string"/>
  3559. <column id="recstat" type="string"/>
  3560. <column id="recovseqno" type="string"/>
  3561. <column id="recmode" type="string"/>
  3562. <column id="opstatcd" type="string"/>
  3563. <column id="opstatcdnew" type="string"/>
  3564. <column id="ophistno" type="string"/>
  3565. <!-- 2008-06-04 오전 9:10:26 taebum add -->
  3566. <column id="complinfo"/>
  3567. <column id="pregoodlist"/>
  3568. <column id="deptremark"/>
  3569. <column id="drgecdspec" type="string"/>
  3570. <column id="patposplcecd" type="string"/>
  3571. <column id="certflag" type="string"/>
  3572. <column id="smsoutplcenm" type="string"/>
  3573. <Column id="patrminsndsmsid" type="STRING" size="256" sumtext="입실 sms 전송 ID"/>
  3574. <column id="patrmoutsndsmsid" type="string"/>
  3575. <column id="sndoutsmsflag" type="string"/>
  3576. <column id="recodeptcd" type="string"/>
  3577. <column id="resafeinfo"/>
  3578. <column id="patname"/>
  3579. <column id="reintubinfo"/>
  3580. <column id="patmemo"/>
  3581. </ColumnInfo>
  3582. </Dataset>
  3583. <Dataset id="ds_hidden_temp_recovrecinfo_signdatas" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3584. <Dataset id="ds_hidden_temp_recovrecinfo_repgdatas" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3585. <Dataset id="ds_hidden_temp_recovrecinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3586. <Dataset id="ds_hidden_temp_MnphrepmLists_MnphrepmList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3587. <Dataset id="ds_hidden_temp_MnphresmLists_MnphresmList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3588. <Dataset id="ds_hidden_temp_MnphresmLists_MnphreIntubchkList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3589. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3590. <Dataset id="ds_send_recoverec_itemdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3591. <Dataset id="ds_send_recoverec_progressdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3592. <Dataset id="ds_send_recoverec_remfact" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3593. <Dataset id="ds_hidden_resultmsg" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3594. <Dataset id="ds_hidden_seqno" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3595. <Dataset id="ds_temp_inexinfo_inexlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3596. <Dataset id="ds_send_rmcncl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3597. <Dataset id="ds_data_prtctairwaylists" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3598. <Dataset id="ds_data_oxgendoselists" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3599. <Dataset id="ds_data_pataddlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3600. <Dataset id="ds_data_lists" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3601. <Dataset id="ds_data_valuitem" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3602. <Dataset id="ds_data_valuitemlists" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3603. <FilteredDataset id="ds_filter_code_codeinfo_codelist_recovroom" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" binddataset="@ds_code_codeinfo_codelist" filterstr="cdgrupid == '041' &amp;&amp; supcdid == '-'"/>
  3604. <FilteredDataset id="ds_filter_code_codeinfo_codelist_outplcecode" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" binddataset="@ds_code_codeinfo_codelist" filterstr="cdgrupid == '080' &amp;&amp; supcdid == '-'"/>
  3605. <Dataset id="ds_temp_seqno" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3606. <Dataset id="ds_temp_pataddlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3607. <Dataset id="ds_HideData_rsrvcopy_org_list_mnphrevr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3608. <Dataset id="ds_HideData_rsrvcopy_org_list_recopkinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3609. <Dataset id="ds_HideData_rsrvcopy_org_list_prnorderlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3610. <Dataset id="ds_HideData_rsrvcopy_org_list_mnphrepg" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3611. <Dataset id="ds_HideData_rsrvcopy_org_list_actingorderlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3612. <Dataset id="ds_HideData_rsrvcopy_org_list_mnphrevrtitle" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3613. <Dataset id="ds_send_signdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3614. <Dataset id="ds_Hidedata_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3615. <Dataset id="ds_hidden_temp_recovrecinfo_signdatas_signdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3616. <Dataset id="ds_hidden_temp_recovrecinfo_repgdatas_repgdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3617. <Dataset id="ds_HideData_allsigndatas_repgdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3618. <Dataset id="ds_main_reclist_recinfo_recinfolists" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  3619. <Dataset id="ds_HideData_orderlist_prnorderlists_prnorderlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3620. <ColumnInfo>
  3621. <Column id="recovseqno" type="STRING" size="255"/>
  3622. <Column id="flag" type="STRING" size="255"/>
  3623. <Column id="prcpcd" type="STRING" size="255"/>
  3624. <Column id="prcpnm" type="STRING" size="255"/>
  3625. <Column id="drugvol" type="STRING" size="255"/>
  3626. <Column id="drugvolunit" type="STRING" size="255"/>
  3627. <Column id="drugqty" type="STRING" size="255"/>
  3628. <Column id="drugqtyunit" type="STRING" size="255"/>
  3629. <Column id="drugtime" type="STRING" size="255"/>
  3630. <Column id="drugday" type="STRING" size="255"/>
  3631. <Column id="flag2" type="STRING" size="255"/>
  3632. <Column id="prcpclscd" type="STRING" size="255"/>
  3633. </ColumnInfo>
  3634. </Dataset>
  3635. <Dataset id="ds_init_XmlFormat_recovstatvalutable_valuitemlists_valuitem_032" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3636. <ColumnInfo>
  3637. <Column id="valuitemnm" type="STRING" size="256"/>
  3638. <Column id="valuitemarrv" type="STRING" size="256"/>
  3639. <Column id="valuitemleav" type="STRING" size="256"/>
  3640. <Column id="valuitemcd" type="STRING" size="256"/>
  3641. </ColumnInfo>
  3642. <Rows>
  3643. <Row>
  3644. <Col id="valuitemnm">반사능력</Col>
  3645. <Col id="valuitemarrv">0</Col>
  3646. <Col id="valuitemleav">0</Col>
  3647. <Col id="valuitemcd">1</Col>
  3648. </Row>
  3649. <Row>
  3650. <Col id="valuitemnm">호흡</Col>
  3651. <Col id="valuitemarrv">0</Col>
  3652. <Col id="valuitemleav">0</Col>
  3653. <Col id="valuitemcd">2</Col>
  3654. </Row>
  3655. <Row>
  3656. <Col id="valuitemnm">순환</Col>
  3657. <Col id="valuitemarrv">0</Col>
  3658. <Col id="valuitemleav">0</Col>
  3659. <Col id="valuitemcd">3</Col>
  3660. </Row>
  3661. <Row>
  3662. <Col id="valuitemnm">의식상태</Col>
  3663. <Col id="valuitemarrv">0</Col>
  3664. <Col id="valuitemleav">0</Col>
  3665. <Col id="valuitemcd">4</Col>
  3666. </Row>
  3667. <Row>
  3668. <Col id="valuitemnm">산소포화도</Col>
  3669. <Col id="valuitemarrv">0</Col>
  3670. <Col id="valuitemleav">0</Col>
  3671. <Col id="valuitemcd">5</Col>
  3672. </Row>
  3673. </Rows>
  3674. </Dataset>
  3675. <Dataset id="ds_init_combo_pca_type" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3676. <ColumnInfo>
  3677. <Column id="cdid" type="STRING" size="256"/>
  3678. <Column id="cdval" type="STRING" size="256"/>
  3679. </ColumnInfo>
  3680. <Rows>
  3681. <Row>
  3682. <Col id="cdval">-</Col>
  3683. <Col id="cdid">-</Col>
  3684. </Row>
  3685. <Row>
  3686. <Col id="cdid">0</Col>
  3687. <Col id="cdval">NRS</Col>
  3688. </Row>
  3689. <Row>
  3690. <Col id="cdval">FPRS</Col>
  3691. <Col id="cdid">1</Col>
  3692. </Row>
  3693. <Row>
  3694. <Col id="cdid">2</Col>
  3695. <Col id="cdval">FLACC</Col>
  3696. </Row>
  3697. </Rows>
  3698. </Dataset>
  3699. <Dataset id="ds_init_combo_pca_grade" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3700. <ColumnInfo>
  3701. <Column id="cdid" type="STRING" size="256"/>
  3702. <Column id="cdval" type="STRING" size="256"/>
  3703. </ColumnInfo>
  3704. <Rows>
  3705. <Row>
  3706. <Col id="cdval">-</Col>
  3707. <Col id="cdid">-</Col>
  3708. </Row>
  3709. <Row>
  3710. <Col id="cdid">0</Col>
  3711. <Col id="cdval">0점</Col>
  3712. </Row>
  3713. <Row>
  3714. <Col id="cdid">1</Col>
  3715. <Col id="cdval">1점</Col>
  3716. </Row>
  3717. <Row>
  3718. <Col id="cdid">2</Col>
  3719. <Col id="cdval">2점</Col>
  3720. </Row>
  3721. <Row>
  3722. <Col id="cdid">3</Col>
  3723. <Col id="cdval">3점</Col>
  3724. </Row>
  3725. <Row>
  3726. <Col id="cdid">4</Col>
  3727. <Col id="cdval">4점</Col>
  3728. </Row>
  3729. <Row>
  3730. <Col id="cdid">5</Col>
  3731. <Col id="cdval">5점</Col>
  3732. </Row>
  3733. <Row>
  3734. <Col id="cdid">6</Col>
  3735. <Col id="cdval">6점</Col>
  3736. </Row>
  3737. <Row>
  3738. <Col id="cdid">7</Col>
  3739. <Col id="cdval">7점</Col>
  3740. </Row>
  3741. <Row>
  3742. <Col id="cdid">8</Col>
  3743. <Col id="cdval">8점</Col>
  3744. </Row>
  3745. <Row>
  3746. <Col id="cdid">9</Col>
  3747. <Col id="cdval">9점</Col>
  3748. </Row>
  3749. <Row>
  3750. <Col id="cdid">10</Col>
  3751. <Col id="cdval">10점</Col>
  3752. </Row>
  3753. </Rows>
  3754. </Dataset>
  3755. <Dataset id="ds_init_combo_ponv_grade" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  3756. <ColumnInfo>
  3757. <Column id="cdid" type="STRING" size="256"/>
  3758. <Column id="cdval" type="STRING" size="256"/>
  3759. </ColumnInfo>
  3760. <Rows>
  3761. <Row>
  3762. <Col id="cdval">-</Col>
  3763. <Col id="cdid">-</Col>
  3764. </Row>
  3765. <Row>
  3766. <Col id="cdid">0</Col>
  3767. <Col id="cdval">0(None)</Col>
  3768. </Row>
  3769. <Row>
  3770. <Col id="cdid">1</Col>
  3771. <Col id="cdval">1(Nausea)</Col>
  3772. </Row>
  3773. <Row>
  3774. <Col id="cdid">2</Col>
  3775. <Col id="cdval">2(Retching)</Col>
  3776. </Row>
  3777. <Row>
  3778. <Col id="cdid">3</Col>
  3779. <Col id="cdval">3(Vomiting)</Col>
  3780. </Row>
  3781. </Rows>
  3782. </Dataset>
  3783. </Objects>
  3784. <Bind>
  3785. <BindItem id="item2" compid="group6.checkbox2" propid="value" datasetid="ds_HideData_condition" columnid="calmflag"/>
  3786. <BindItem id="item8" compid="group6.ipt_hngnm" propid="value" datasetid="ds_HideData_condition" columnid="kornm"/>
  3787. <BindItem id="item4" compid="output3" propid="value" datasetid="ds_HideData_schelisttotalinfo" columnid="totalganstcnt"/>
  3788. <BindItem id="item5" compid="output6" propid="value" datasetid="ds_HideData_schelisttotalinfo" columnid="totalpanstcnt"/>
  3789. <BindItem id="item6" compid="output9" propid="value" datasetid="ds_HideData_schelisttotalinfo" columnid="totalrecocnt"/>
  3790. <BindItem id="item7" compid="output17" propid="value" datasetid="ds_HideData_schelisttotalinfo" columnid="totalnosigncnt"/>
  3791. <BindItem id="item21" compid="switch1.case2.inp_outplcenm" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="outplcecode"/>
  3792. <BindItem id="item14" compid="switch1.case2.cmb_recovroom" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="recovroom"/>
  3793. <BindItem id="item15" compid="switch1.case2.inp_inrmdt" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="inrmdt"/>
  3794. <BindItem id="item16" compid="switch1.case2.inp_inrmtm" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="inrmtm"/>
  3795. <BindItem id="item24" compid="switch1.case2.inp_outrmdt" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="outrmdt"/>
  3796. <BindItem id="item25" compid="switch1.case2.inp_outrmtm" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="outrmtm"/>
  3797. <BindItem id="item23" compid="switch1.case2.cmb_outplcecode" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="outplcenm"/>
  3798. <BindItem id="item29" compid="switch1.case2.inp_outdrid" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="outconfirmdoctorid"/>
  3799. <BindItem id="item31" compid="switch1.case2.inp_outdrnm" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="outconfirmdoctor"/>
  3800. <BindItem id="item32" compid="switch1.case2.opt_arrv" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList_recovstatvalutable_valuitemlists" columnid="valuitemarrvtot"/>
  3801. <BindItem id="item33" compid="switch1.case2.opt_leav" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList_recovstatvalutable_valuitemlists" columnid="valuitemleavtot"/>
  3802. <BindItem id="item18" compid="switch1.case2.output4" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="recinuserdeptnm"/>
  3803. <BindItem id="item19" compid="switch1.case2.output5" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="recinusernm"/>
  3804. <BindItem id="item27" compid="switch1.case2.output7" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="recoutuserdeptnm"/>
  3805. <BindItem id="item28" compid="switch1.case2.output8" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="recoutusernm"/>
  3806. <BindItem id="item26" compid="switch1.case2.optrecoutdttm" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="recoutdttm"/>
  3807. <BindItem id="item17" compid="switch1.case2.opt_recindttm" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="recindttm"/>
  3808. <BindItem id="item54" compid="switch1.case2.inp_totalio" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="anstio"/>
  3809. <BindItem id="item34" compid="switch1.case2.radio5" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="tnsyn"/>
  3810. <BindItem id="item38" compid="switch1.case2.radio6" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist" columnid="prtctplacecd"/>
  3811. <BindItem id="item51" compid="switch1.case2.checkbox1" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist" columnid="notprtctairway"/>
  3812. <BindItem id="item12" compid="switch1.case2.output13" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="patrmoutsndsmsid"/>
  3813. <BindItem id="item20" compid="switch1.case2.output15" propid="value" datasetid="ds_HideData_recoinfo" columnid="recototaltime"/>
  3814. <BindItem id="item35" compid="switch1.case2.radio1" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="pcarecyn"/>
  3815. <BindItem id="item30" compid="switch1.case2.combo3" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="outconfirmdoctorid_tmp"/>
  3816. <BindItem id="item22" compid="switch1.case2.checkbox5" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists" columnid="outsmsmsgflag"/>
  3817. <BindItem id="item39" compid="switch1.case2.group5.inp_prtcairwayadddt" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist" columnid="prtctairwayadddt"/>
  3818. <BindItem id="item40" compid="switch1.case2.group5.inp_prtcairwayaddtm" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist" columnid="prtctairwayaddtm"/>
  3819. <BindItem id="item41" compid="switch1.case2.group5.output14" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist" columnid="prtctairwayid"/>
  3820. <BindItem id="item42" compid="switch1.case2.group5.combo4" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist" columnid="prtctairwayid_tmp"/>
  3821. <BindItem id="item43" compid="switch1.case2.group5.inp_prtctairwaydt" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist" columnid="prtctairwaydt"/>
  3822. <BindItem id="item44" compid="switch1.case2.group5.inp_prtctairwaytm" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist" columnid="prtctairwaytm"/>
  3823. <BindItem id="item45" compid="switch1.case2.group5.output1" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist" columnid="prtctcairwayextid"/>
  3824. <BindItem id="item46" compid="switch1.case2.group5.combo1" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist" columnid="prtctcairwayextid_tmp"/>
  3825. <BindItem id="item47" compid="switch1.case2.group5.output16" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist" columnid="prtctairwayextnm"/>
  3826. <BindItem id="item48" compid="switch1.case2.group5.input2" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist" columnid="prtctairwayextbp"/>
  3827. <BindItem id="item49" compid="switch1.case2.group5.input3" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist" columnid="prtctairwayextp"/>
  3828. <BindItem id="item50" compid="switch1.case2.group5.input4" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist" columnid="prtctairwayextspo"/>
  3829. <BindItem id="item55" compid="switch1.case2.group5.inp_prtctairwaynm" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist" columnid="prtctairwaynm"/>
  3830. <BindItem id="item13" compid="switch1.case2.opt_blodrecord" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="blodrecord"/>
  3831. <BindItem id="item36" compid="switch1.case2.radio2" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="patmemoyn"/>
  3832. <BindItem id="item53" compid="switch1.case2.textarea2" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="deptremark"/>
  3833. <BindItem id="item52" compid="switch1.case2.textarea3" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="anstremark"/>
  3834. <BindItem id="item56" compid="switch1.case1.switch2.case4.group1.radio4" propid="value" datasetid="ds_init_revrterm" columnid="prnorderflag"/>
  3835. <BindItem id="item57" compid="switch1.case1.switch2.case4.radio3" propid="value" datasetid="ds_init_revrterm" columnid="term"/>
  3836. <BindItem id="item9" compid="output10" propid="value" datasetid="ds_HideData_displaypinfo" columnid="pinfo1"/>
  3837. <BindItem id="item10" compid="output11" propid="value" datasetid="ds_HideData_displaypinfo" columnid="pinfo2"/>
  3838. <BindItem id="item11" compid="output12" propid="value" datasetid="ds_HideData_displaypinfo" columnid="pinfo3"/>
  3839. <BindItem id="item0" compid="group6.input7" propid="value" datasetid="ds_HideData_condition" columnid="opcnfmdd"/>
  3840. <BindItem id="item1" compid="group6.checkbox3" propid="text" datasetid="ds_HideData_condition" columnid="anstmthdcd"/>
  3841. <BindItem id="item3" compid="output2" propid="value" datasetid="ds_HideData_schelisttotalinfo" columnid="totalanstcnt"/>
  3842. <BindItem id="item58" compid="group6.combo2" propid="value" datasetid="ds_HideData_condition" columnid="oproomcd"/>
  3843. <BindItem id="item37" compid="switch1.case1.case4.radio3" propid="value" datasetid="ds_init_revrterm" columnid="term"/>
  3844. <BindItem id="item59" compid="switch1.case1.case4.group1.radio4" propid="value" datasetid="ds_init_revrterm" columnid="prnorderflag"/>
  3845. <BindItem id="item60" compid="switch1.case1.case4.group1.tar_remfact" propid="value" datasetid="ds_main_revrInfo_recopkinfo" columnid="remfact"/>
  3846. <BindItem id="item61" compid="switch1.case2.output00" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="patrminsndsmsid"/>
  3847. <BindItem id="item62" compid="switch1.case2.combo_pca_in_type" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="inpcatype"/>
  3848. <BindItem id="item63" compid="switch1.case2.combo_pca_in_grade" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="inpcagrade"/>
  3849. <BindItem id="item64" compid="switch1.case2.combo_pca_out_type" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="outpcatype"/>
  3850. <BindItem id="item65" compid="switch1.case2.combo_pca_out_grade" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="outpcagrade"/>
  3851. <BindItem id="item66" compid="switch1.case2.combo_ponv_in_grade" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="inponvgrade"/>
  3852. <BindItem id="item67" compid="switch1.case2.combo_ponv_out_grade" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="outponvgrade"/>
  3853. </Bind>
  3854. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  3855. * System Name :
  3856. * Job Name :
  3857. * Creator :
  3858. * Make Date : 2016-10-12
  3859. * Description :
  3860. *---------------------------------------------------------------------------------------
  3861. * Modify Date Modifier Modify Description
  3862. *---------------------------------------------------------------------------------------
  3863. * 2016-10-12 Live Converter TF->XP
  3864. *
  3865. *---------------------------------------------------------------------------------------
  3866. ****************************************************************************************/
  3867. include "com_commonxp::comm_main.xjs";
  3868. //include "emr_opanstxp::SMMNP00700.xjs";
  3869. //include "emr_opanstxp::SMMNP00900.xjs";
  3870. include "emr_carecomxp::SPMNZ001.xjs";
  3871. include "emr_carecomxp::CareCom.xjs";
  3872. include "com_basiccodexp::ZBC001.xjs";
  3873. include "emr_carecomxp::ENRSignEngine.xjs";
  3874. include "com_commodulexp::SSZFM00701.xjs";
  3875. include "com_commodulexp::SSZFM00901.xjs";
  3876. include "emr_prcpmngtxp::MMO001.xjs";
  3877. include "com_commodulexp::SSZFM01001.xjs";
  3878. var arErrorCode = new HashArray();
  3879. var lgv_sXML_recovstatvalutable = '<valuitemlists><valuitem><valuitemnm/><valuitemarrv/><etcarrv/><valuitemleav/><etcleav/><valuitemcd/></valuitem><valuitemarrvtot/><valuitemleavtot/></valuitemlists>';
  3880. var lgv_sXML_pataddtool = '<pataddlists><pataddlist><chk/><fixasetcd/><toolnm/><bedno/><usesrttm/><usesttime/><useendtm/><useendtime/><goodmodel/><goodspec/></pataddlist></pataddlists>';
  3881. var lgv_sXML_wardtranspec = '<wardtranspeclist><warddrtranspec1m/><warddrtranspec1hr/><warddrtranspec1/><warddrtranspec2/><warddrtranspec2etc/><wrtanstdrid/></wardtranspeclist>';
  3882. var lgv_sXML_prtctairwayspec = '<prtctairwaylists><prtctplacecd/><prtctairwayadddt/><prtctairwayaddtm/><prtctairwayid/><prtctairwayid_tmp/><prtctairwaynm/><prtctairwayur/><prtctairway/><prtctairwaydt/><prtctairwaytm/><prtctcairwayextid/><prtctcairwayextid_tmp/><prtctairwayextnm/><prtctairwayextbp/><prtctairwayextp/><prtctairwayextspo/><notprtctairway/><outsmsmsgflag/></prtctairwaylists>';
  3883. // 인증 데이터
  3884. var lgv_sSignXML_MnphrecoList = '<MnphrecoList><pid/><oprsrvno/><ophistno/><instcd/><cretno/><operdttm/><ioflag/><orddd/><orddeptcd/><indt/><inrmdt/><inrmtm/><outrmdt/><outrmtm/><outplcecode/><outplcenm/><outacptdeptcd/><outacptnursid/><notspcfyn/><outconfirmdoctorid/><outconfirmdoctor/><recovroom/><prtctairwayspec/><oxgendosespec/><recovstatvalutable/><pataddtool/><drgecdspec/><pregoodlist/><deptremark/><anstremark/><recinuserid/><recinusernm/><recinuserdeptcd/><recinuserdeptnm/><recindttm/><saveindttm/><recoutuserid/><recoutusernm/><recoutuserdeptcd/><recoutuserdeptnm/><recoutdttm/><saveoutdttm/><pkidatetimems/><opflagcd/><recovseqno/><recstat/><anstdrid1/><anstdrid2/><anstdrid3/><tnsyn/><anstio/><patrmoutsndsmsid/><indata/><extdata/><opstatcd/><recendflag/><anstrecno/><nodedata/><pcarecyn/><opcnfmdd/><sa/><oproomnm/><patname/><roomcd/><depthngnm/><opcdnm/><recodeptcd/><anstdrtranspec/><wardtranspec/><wardcaretranspec/><wrtanstdrid/><wrtanstdr/><anstmthdcdmain/><anstmthdcdsub/><anstfromdd/><ansttodd/><anstfromtm/><ansttotm/><anst_tmoutchktm/><anst_pcarem/><ancr2writechk/><preansttemp/><postansttemp/><hypothermia/><keepwarmth/><keepwarmthdtl/><keepwarmthdtletc/><ciyn/><ciexcept/><outconfirmdoctorid_tmp/><wrtanstdrid_tmp/><recmode/><anstmthdcdmainnm/><anstmthdcdsubnm/><anstdrid1nm/><anstdrid2nm/><anstdrid3nm/><recototaltime/><ancr_hypothermia/><ancr_keepwarmth/><ancr_keepwarmthdtl/><ancr_keepwarmthdtletc/><diagcdnm/></MnphrecoList>';
  3885. var lgv_sSignXML_wardtranspec = '<wardtranspeclist><warddrtranspec1m/><warddrtranspec1hr/><warddrtranspec1/><warddrtranspec2/><warddrtranspec2etc/><wrtanstdrid/><warddrtranspec1mthdnm/></wardtranspeclist>';
  3886. var lgv_sSignXML_MnphresmLists = '<MnphresmLists><MnphresmList><resafenm/><resafecheck/><resafecd/><recovseqno/><status/><resafeuptid/><resafeuptnm/><resafedetlnm/></MnphresmList></MnphresmLists>';
  3887. var lgv_sSignXML_recovrecinfo = '<recovrecinfo><remfact/><AnthInputTotal/><AnthOutputTotal/><signdatas><signdata><lrgnm/><vsitemnm/><data1/><data2/><data3/><data4/><data5/><data6/><data7/><data8/></signdata></signdatas><repgdatas><repgdata><time/><prginfo/></repgdata></repgdatas><totaliolist><totalio><io/></totalio></totaliolist></recovrecinfo>';
  3888. var lgv_sSignXML_keepwarmthdtl = '<keepwarmthdtls><keepwarmthdtl><keepwarmthdtl/></keepwarmthdtl></keepwarmthdtls>';
  3889. /**
  3890. * @group :
  3891. * @ver : 0.20160630(dbs227)
  3892. * @---------------------------------------------------
  3893. * @type : function
  3894. * @access : public
  3895. * @desc : 간호 하드코딩 정보조회
  3896. * @param : pCode : 조회할 CdGrupID 코드정보, 여러개 조회할 경우 ,(콤마)로 구분한다.
  3897. 예) '001', '002', '003'
  3898. pDate : 조회기준일자(형식:YYYYMMDD)
  3899. * @return : ds_init_codelist:Dataset
  3900. 트랜잭션 이후 수신받은 하드코딩 정보
  3901. * @---------------------------------------------------
  3902. */
  3903. var lgv_datagrid9Formats; // 그리드 foramt (datagrid9)
  3904. function fGetNursHardCdInfo(pCode, pDate){
  3905. dsf_createDsRow('ds_req', [
  3906. { col: 'cdgrupid', type: 'string', size: 256, val: pCode }, // 코드그룹ID
  3907. { col: 'srchdd', type: 'string', size: 256, val: pDate }, // 조회기준일자
  3908. { col: 'flag', type: 'string', size: 256, val: '' }, // 조회기준일자
  3909. { col: 'allflag', type: 'string', size: 256, val: '' } // 모두조회여부
  3910. ],
  3911. false);
  3912. var ds_code_codeinfo_codelist = dsf_createDsRow('ds_code_codeinfo_codelist', [
  3913. { col: 'cdgrupid', type: 'string', size: 256, val: '' }, // 코드그룹ID
  3914. { col: 'cdid', type: 'string', size: 256, val: '' }, // 코드ID
  3915. { col: 'cdnm', type: 'string', size: 256, val: '' }, // 코드명
  3916. { col: 'grupdetldesc', type: 'string', size: 256, val: '' }, // 코드그룹상세설명
  3917. { col: 'supcdid', type: 'string', size: 256, val: '' }, // 상위코드ID
  3918. { col: 'sortseq', type: 'string', size: 256, val: '' }, // 상위코드ID
  3919. { col: 'valifromdd', type: 'string', size: 256, val: '' }, // 시작일자
  3920. { col: 'valitodd', type: 'string', size: 256, val: '' } // 시작일자
  3921. ],
  3922. false);
  3923. var oParam = {};
  3924. oParam.id = "TRMNW00001";
  3925. oParam.service = "wardcareapp.WardCareMngt";
  3926. oParam.method = "reqGetNursHardCdInfo";
  3927. oParam.inds = "req=ds_req";
  3928. oParam.outds = "ds_code_codeinfo_codelist=codelist";
  3929. oParam.async = false;
  3930. //oParam.callback = "cf_TRMNW00001";
  3931. tranf_submit(oParam);
  3932. return ds_code_codeinfo_codelist;
  3933. }
  3934. // <![CDATA[ 처리 로직 추가딘 lf_convertDsToXML
  3935. /***********************************************************************************************
  3936. * 함수명 : lf_convertDsToXml(pDsArr, pXmlStr)
  3937. * 설 명 : DataSet을 XML로 변환한다.
  3938. 예) var sParamObjArr = [{ds: "ds_data_b", path:"f/b", filter: "test == 1"}
  3939. ,{ds: "ds_data_a", path:"", filter: ""}];
  3940. var sReturn = lf_convertDsToXml(sParamObjArr, gXmlFormat);
  3941. path는 'f/b'와 같이 상대경로나 '/a/f/b' 와 같이 절대 경로로 사용 가능. 공백이면 dataset id로 노드 검색
  3942. dataset 명칭은 '_' 이후에 node 명칭과 일치 해야 함.
  3943. * argument : pDsArr : [{ds : Dataset id, path : xml 경로(상대경로, 절대경로)}]
  3944. pXmlStr : XML(string type)
  3945. pParam : option 용 parameter Object
  3946. pParam.nullNodeYN = 'Y' / 'N' : 공백 node를 생성할지 여부
  3947. * return Type : XML string : 성공시
  3948. 'error' : 실패시
  3949. * 작성자 : KKM
  3950. ************************************************************************************************/
  3951. function lf_convertDsToXml(pDsArr, pXmlStr, pParam)
  3952. {
  3953. if(utlf_isNull(pDsArr)) return "error";
  3954. try{
  3955. var domParser = new DomParser;
  3956. var domDoc = domParser.parseFromString(pXmlStr);
  3957. var sTmpDocelement = domDoc.documentElement;
  3958. if(domDoc == null){
  3959. sysf_messageBox("XML 형식이 잘못 되었습니다.", "E");
  3960. return "error";
  3961. }
  3962. var sTmpCreateNode;
  3963. var sTmpCreateValue;
  3964. var sTmpParentNode;
  3965. var sDsNode = "";
  3966. var sDsPath = "";
  3967. var sNodeList;
  3968. var sParentList;
  3969. var sDsObj;
  3970. var sFilter;
  3971. var sDsColumnId = "";
  3972. var sDsColumnValue = "";
  3973. var sNullUseYN;
  3974. var sTmpChkXmlType;
  3975. if(!utlf_isNull(pParam)){ //Option용 parameter 세팅
  3976. sNullUseYN = utlf_isNull(pParam.nullNodeYN) ? 'Y' : pParam.nullNodeYN;
  3977. }else{
  3978. sNullUseYN = 'Y';
  3979. }
  3980. for(var i = pDsArr.length-1; i >= 0; i--){
  3981. sDsNode = pDsArr[i].ds.slice(pDsArr[i].ds.lastIndexOf("_")+1);
  3982. sDsPath = pDsArr[i].path;
  3983. sDsObj = this.objects[pDsArr[i].ds];
  3984. if(utlf_isNull(sDsObj)){
  3985. sysf_messageBox(pDsArr[i].ds + " 데이터셋은 존재하지 않습니다.", "E");
  3986. return "error";
  3987. }
  3988. if(!utlf_isNull(pDsArr[i].filter)) sDsObj.filter(pDsArr[i].filter); //filter 값이 세팅된 경우 dataset 필터링
  3989. for(var iRow = sDsObj.rowcount - 1; iRow >= 0 ; iRow--){
  3990. if(iRow < sDsObj.rowcount -1){
  3991. sTmpParentNode = domDoc.createElement(sDsNode);
  3992. sParentList = domDoc.getElementsByPath(utlf_isNull(sDsPath) ? sDsNode : sDsPath);
  3993. if(utlf_isNull(sParentList)){
  3994. sysf_messageBox(sDsPath + " path가 올바르지 않습니다.", "E");
  3995. return "error";
  3996. }
  3997. sTmpDocelement.insertBefore(sTmpParentNode, sParentList[0]);
  3998. }
  3999. for(var j = 0; j < sDsObj.colcount; j++){ //dataset에서 컬럼 값 추출
  4000. var sCurrentPath = "";
  4001. sDsColumnId = utlf_transNullToEmpty(sDsObj.getColID(j));
  4002. sDsColumnValue = utlf_transNullToEmpty(sDsObj.getColumn(iRow, j));
  4003. if(!utlf_isNull(sDsPath)){ //path 값이 있는 경우
  4004. sCurrentPath = sDsPath;
  4005. }else{
  4006. sCurrentPath = sDsNode;
  4007. }
  4008. if(iRow == sDsObj.rowcount - 1){ //depth가 1인 경우
  4009. if(sNullUseYN == 'N' && utlf_isNull(sDsColumnValue)){
  4010. var sTmpParentNodes = domDoc.getElementsByPath(sCurrentPath);
  4011. var sDeleteNodeList = domDoc.getElementsByPath(sCurrentPath + "/" + sDsColumnId);
  4012. sTmpParentNodes.get_item(0).removeChild(sDeleteNodeList[0]);
  4013. continue;
  4014. }
  4015. sCurrentPath = sCurrentPath + "/" + sDsColumnId;
  4016. sNodeList = domDoc.getElementsByPath(sCurrentPath);
  4017. if(utlf_isNull(sNodeList)){
  4018. sysf_messageBox(sCurrentPath + " path가 올바르지 않습니다.", "E");
  4019. return "error";
  4020. }
  4021. sTmpChkXmlType = domParser.parseFromString(sDsColumnValue);
  4022. if(lf_checkSpecialChar(sDsColumnValue) && sTmpChkXmlType == null && (-1 == String(sDsColumnValue).indexOf("<![CDATA[")) && !utlf_isNull(sDsColumnValue)){ // ( + 이미 XML 형태로 cdata 처리가 되 있는 경우 제외 - 2015.06.08)
  4023. //if(lf_checkSpecialChar(sDsColumnValue) && sTmpChkXmlType == null && sDsColumnValue != ""){ //특수문자가 있으면 컬럼 데이터가 XML TYPE 아닌 경우
  4024. sTmpCreateValue = domDoc.createCDATASection(sDsColumnValue); //cdata 처리
  4025. }else{
  4026. sTmpCreateValue = domDoc.createTextNode(sDsColumnValue);
  4027. }
  4028. sNodeList[0].appendChild(sTmpCreateValue);
  4029. }else if(iRow < sDsObj.rowcount - 1){ //depth가 2이상인 경우
  4030. if(sNullUseYN == 'N' && utlf_isNull(sDsColumnValue)) continue; //빈 값을 노드로 만들지 않을 경우(option이 'N'일 경우)
  4031. sCurrentPath = sCurrentPath + "[1]";
  4032. sNodeList = domDoc.getElementsByPath(sCurrentPath);
  4033. if(utlf_isNull(sNodeList)){
  4034. sysf_messageBox(sCurrentPath + " path가 올바르지 않습니다.", "E");
  4035. return "error";
  4036. }
  4037. if(lf_checkSpecialChar(sDsColumnValue) && sTmpChkXmlType == null && (-1 == String(sDsColumnValue).indexOf("<![CDATA[")) && !utlf_isNull(sDsColumnValue)){ // ( + 이미 XML 형태로 cdata 처리가 되 있는 경우 제외 - 2015.06.08)
  4038. //if(lf_checkSpecialChar(sDsColumnValue) && sTmpChkXmlType == null && sDsColumnValue != ""){ //특수문자가 있는경우
  4039. sTmpCreateValue = domDoc.createCDATASection(sDsColumnValue); //cdata 처리
  4040. }else{
  4041. sTmpCreateValue = domDoc.createTextNode(sDsColumnValue);
  4042. }
  4043. sTmpCreateNode = domDoc.createElement(sDsColumnId);
  4044. sTmpCreateNode.appendChild(sTmpCreateValue);
  4045. sNodeList[0].appendChild(sTmpCreateNode);
  4046. }
  4047. }
  4048. }
  4049. }
  4050. }catch(e){
  4051. return "error";
  4052. }
  4053. return domDoc.source.slice(domDoc.source.lastIndexOf("?>")+3);
  4054. }
  4055. // Dataset -> XmlStr 변환
  4056. function lf_convertDsToXml_All(){
  4057. var sParamObjArr = new Array(); // lf_convertDsToXml() parameter
  4058. var sTempObjArr = new Array();
  4059. var sValuitemlists = "ds_main_MnphrecoData_MnphrecoList_recovstatvalutable_valuitemlists";
  4060. var sValuitem = "ds_main_MnphrecoData_MnphrecoList_recovstatvalutable_valuitemlists_valuitem";
  4061. eval(sValuitemlists).updatecontrol = false;
  4062. eval(sValuitem).updatecontrol = false;
  4063. eval(sValuitemlists).enableevent = false;
  4064. eval(sValuitem).enableevent = false;
  4065. if(!utlf_isNull(eval(sValuitemlists).getColumnInfo("dsvaluepath")))
  4066. {
  4067. eval(sValuitemlists).deleteColumn("dsvaluepath");
  4068. }
  4069. if(!utlf_isNull(eval(sValuitem).getColumnInfo("dsvaluepath")))
  4070. {
  4071. eval(sValuitem).deleteColumn("dsvaluepath");
  4072. }
  4073. eval(sValuitemlists).updatecontrol = true;
  4074. eval(sValuitem).updatecontrol = true;
  4075. eval(sValuitemlists).enableevent = true;
  4076. eval(sValuitem).enableevent = true;
  4077. sParamObjArr[0] = [{ds: 'ds_main_MnphrecoData_MnphrecoList_recovstatvalutable_valuitemlists', path:'/valuitemlists'}
  4078. ,{ds: 'ds_main_MnphrecoData_MnphrecoList_recovstatvalutable_valuitemlists_valuitem', path:'valuitemlists/valuitem'}];
  4079. //-----------------------------------
  4080. // 장비사용기록에서 삭제항목은 제외
  4081. ds_temp_pataddlist.clear();
  4082. ds_temp_pataddlist.copyData(ds_main_MnphrecoData_MnphrecoList_pataddtool_pataddlists_pataddlist);
  4083. ds_temp_pataddlist.filter("chk!='true'");
  4084. //-----------------------------------
  4085. sParamObjArr[1] = [{ds: 'ds_temp_pataddlist', path:'/pataddlists/pataddlist'}];
  4086. sParamObjArr[2] = [{ds: 'ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist', path:'/prtctairwaylists'}];
  4087. sXMLObjArr = [ {sMainXML:lgv_sXML_recovstatvalutable, sXML:""} // 회복상태평가표
  4088. ,{sMainXML:lgv_sXML_pataddtool, sXML:""} // 장비사용기록
  4089. ,{sMainXML:lgv_sXML_prtctairwayspec, sXML:""} // 기도유지정보
  4090. ];
  4091. for(var i in sParamObjArr){
  4092. sXMLObjArr[i].sXML = lf_convertDsToXml(sParamObjArr[i], sXMLObjArr[i].sMainXML);
  4093. if('error' == sXMLObjArr[i].sXML) sXMLObjArr[i].sXML == "";
  4094. }
  4095. ds_send_MnphrecoList.enableevent = false;
  4096. ds_send_MnphrecoList.setColumn(0, "recovstatvalutable", sXMLObjArr[0].sXML); // 회복상태평가표
  4097. ds_send_MnphrecoList.setColumn(0, "pataddtool", sXMLObjArr[1].sXML); // 장비사용기록
  4098. ds_send_MnphrecoList.setColumn(0, "prtctairwayspec", sXMLObjArr[2].sXML); // 기도유지정보
  4099. ds_send_MnphrecoList.enableevent = true;
  4100. }
  4101. // ds-> XML 변환
  4102. function lf_convertDsToXml_Each(sParamObjArr, lgv_sXML){
  4103. var retVal = lf_convertDsToXml(sParamObjArr, lgv_sXML);
  4104. if('error' == retVal) retVal == "";
  4105. return retVal;
  4106. }
  4107. //***************
  4108. //SMMNP00700.xjs
  4109. //***************
  4110. /* ---------------------------------------------------------------------
  4111. 회복기록 사항(SMMNP00300.xfm - JScript )
  4112. - Version :
  4113. 1) : Ver.1.00.01
  4114. : Create By Francis Choi
  4115. : 2007.05.02
  4116. ---------------------------------------------------------------------- */
  4117. var xPathFormat = "ds_init_XmlFormat" ; //
  4118. var xPathData = "ds_main_MnphrecoData_MnphrecoList" ; //
  4119. var XmlInstName = "prtctairwayspec" + " " // 1 기도유지내역
  4120. + "oxgendosespec" + " " // 2 산소투여내역
  4121. + "pataddtool" + " " // 4 환자부착기구
  4122. + "drgecdspec"; // 5 배액관 정보
  4123. var XmlInstTableName = "prtctairwaylists" + " " // 1 기도유지내역
  4124. + "oxgendoselists" + " " // 2 산소투여내역
  4125. + "pataddlist" + " " // 4 환자부착기구 //pataddlists/pataddlist --> ds_data_pataddlists, ds_data_pataddlist로 변경됨 이중에서 ds_data_pataddlist에 Column 및 데이타가 저장되어 이 이름으로 처리함.
  4126. + "lists"; // 5 배액관 정보
  4127. var XmlDestTableName = "prtctairwayspec_prtctairwaylists_prtctairwaylist" + " " // 1 기도유지내역
  4128. + "oxgendosespec_oxgendoselists_oxgendoselist" + " " // 2 산소투여내역
  4129. + "pataddtool_pataddlists_pataddlist" + " " // 4 환자부착기구
  4130. + "drgecdspec_lists_drgecdlist"; // 5 배액관 정보
  4131. var XmlInstNm = XmlInstName.split(" ");
  4132. var XmlInstTableNm = XmlInstTableName.split(" ");
  4133. var XmlDestTableNm = XmlDestTableName.split(" ");
  4134. // var XmlInstName = "prtctairwayspec" + " " // 1 기도유지내역
  4135. // + "oxgendosespec" + " " // 2 산소투여내역
  4136. // + "recovstatvalutable" + " " // 3 회복상태평가표
  4137. // + "pataddtool" + " " // 4 환자부착기구
  4138. // + "drgecdspec" // 5 배액관 정보
  4139. // + "recovstatvalutableChild"; // 6 회복상태평가표(14세미만) 141013 추가
  4140. // ---------------------------------------------------------------------------------
  4141. // 회복기록 - 회복실간호기록정보 XML
  4142. // ---------------------------------------------------------------------------------
  4143. var sPrtctairwayspec = ""; // 21 기도유지내역
  4144. var sOxgendosespec = ""; // 22 산소투여내역
  4145. var sRecovstatvalutable = ""; // 23 회복상태평가표
  4146. var sPataddtool = ""; // 24 환자부착기구
  4147. var sDrgecdspec = ""; // 25 배액관정보
  4148. //전자인증 구분 G : 회복간호기록-입_퇴실저장 기록, V : 회복기록 V_S기록
  4149. var sSignFlag = "";
  4150. //여의도, 빈센트 기관코드
  4151. var yuidoinstcd = "";
  4152. var vincentinstcd = "";
  4153. //안전관리 점검 구분 코드 by 박영우 20100316
  4154. var resafegrupcd = "";
  4155. var iocd = "";
  4156. var IFYN = "N"; //마취기록 자동 인터페이스 여부(20160907 이윤주)
  4157. /* ------------------------------------------------- */
  4158. /* SMMNP00700_회복기록 */
  4159. /* On Load 시 Call */
  4160. /* ------------------------------------------------- */
  4161. /* group : EMR 간호 */
  4162. /* ver : 2007.05.03 */
  4163. /* by : 최학록 */
  4164. /* --------------------------------------------------*/
  4165. /* type : function */
  4166. /* access : public */
  4167. /* desc : xforms-ready시 수행한다 */
  4168. /* return : */
  4169. /* --------------------------------------------------*/
  4170. function fFormInit() {
  4171. sSignFlag = "";
  4172. group7.visible = false; // 상단정보 설정 및 기록조회 중 DIV임.
  4173. switch1.tabindex = 0; //model.toggle("case2");
  4174. // 2008-08-09 오후 12:05:50 taebum 수술스케줄 추가 관련 주석처리
  4175. //** 수술환자 설정 **
  4176. // var node = sysf_getGlobalVariable("operation");
  4177. // setCSVToNode("_root_main_operation", node);
  4178. //
  4179. // //** 상단환자 설정 **//
  4180. // node = sysf_getGlobalVariable("paminfo");
  4181. // setCSVToNode("_root_main_paminfo", node);
  4182. //
  4183. // var wPath = "_root_init_WorkData" ; //
  4184. // var sPath = "_root_main_operation_list"; //
  4185. //
  4186. // var sPid = model.getValue(sPath+"_pid");
  4187. //
  4188. // //----------환자번호 입력으로 없어짐---------------------------------------
  4189. // // if (sPid == "") {
  4190. // // var mainObj = getMainViewer();
  4191. // // sysf_messageBox("수술 예약 환자를 ", "C002");
  4192. // // mainObj.javascript.navigate("SMMNP00100"); // 수술마취메인
  4193. // // return;
  4194. // // }
  4195. // //------------------------------------------------------------------------
  4196. //
  4197. // if (sPid != "") {
  4198. // model.setValue(wPath+"_pid" , model.getValue(sPath+"_pid" ));
  4199. // model.setValue(wPath+"_instcd" , model.getValue(sPath+"_instcd" ));
  4200. // model.setValue(wPath+"_oprsrvno" , model.getValue(sPath+"_oprsrvno"));
  4201. // model.setValue(wPath+"_ophistno" , model.getValue(sPath+"_ophistno"));
  4202. // //ipt_pid.refresh();
  4203. //
  4204. // // } else {
  4205. // // //ipt_pid.value = "2003";
  4206. // // model.setValue(wPath+"_pid" , "20003");
  4207. // }
  4208. //
  4209. //combox 빈 노드 제거
  4210. ds_init_M0013_M0013.clearData();
  4211. ds_init_M0020_M0020.clearData();
  4212. ds_init_M0021_M0021.clearData();
  4213. // zbcfGetCodeList( new Array( "M0016","M0260",//회복실 관련 공통코드
  4214. // "M0013","M0016","M0020","M0008","M0270","M0271","M0269","M0287", "M0005"), //마취기록관련 공통코드
  4215. // new Array( "ds_init_M0016list", "ds_init_M0260list",
  4216. // "ds_init_M0013", "ds_init_M0016",
  4217. // "ds_init_M0020", "ds_init_M0008",
  4218. // "ds_init_M0270", "ds_init_M0271",
  4219. // "ds_init_M0269", "ds_init_M0287",
  4220. // "ds_init_M0005"));
  4221. var arrParam = [
  4222. {dsNm: "ds_init_M0016list_M0016", cdGrpId: "M0016"}
  4223. ,{dsNm: "ds_init_M0260list_M0260", cdGrpId: "M0260"}
  4224. ,{dsNm: "ds_init_M0013_M0013", cdGrpId: "M0013"}
  4225. ,{dsNm: "ds_init_M0016_M0016", cdGrpId: "M0016"}
  4226. ,{dsNm: "ds_init_M0020_M0020", cdGrpId: "M0020"}
  4227. ,{dsNm: "ds_init_M0008_M0008", cdGrpId: "M0008"}
  4228. ,{dsNm: "ds_init_M0270_M0270", cdGrpId: "M0270"}
  4229. ,{dsNm: "ds_init_M0271_M0271", cdGrpId: "M0271"}
  4230. ,{dsNm: "ds_init_M0269_M0269", cdGrpId: "M0269"}
  4231. ,{dsNm: "ds_init_M0287_M0287", cdGrpId: "M0287"}
  4232. ,{dsNm: "ds_init_M0005_M0005", cdGrpId: "M0005"}
  4233. ];
  4234. appf_getCodeList(arrParam, false, false);
  4235. //퇴실장소에 불필요한 노드 제거
  4236. //model.removeNodeSet("_root_init_M0021_M0021[cdid='00']");
  4237. //model.removeNodeSet("_root_init_M0021_M0021[cdid='01']");
  4238. //model.removeNodeSet("_root_init_M0021_M0021[cdid='41']");
  4239. //model.removeNodeSet("_root_init_M0021_M0021[cdid='42']");
  4240. //model.removeNodeSet("_root_init_M0021_M0021[cdid='43']");
  4241. //기관코드('077') 추가 - by 박영우
  4242. //수술실 마취('016'), 수술실회복실(''017), 중환자실 코드('095') 추가 - by 박영우 20100228
  4243. //안전관리 점검 구분코드 ('190') 추가 by 박영우 20100324
  4244. fGetNursHardCdInfo("'T94','016', '017', '041', '077', '080', '095', '100', '190','090'", utlf_getCurrentDate());
  4245. for (var i = 0; i < ds_code_codeinfo_codelist.rowcount; i++) {
  4246. switch (ds_code_codeinfo_codelist.getColumn(i, "cdgrupid")){
  4247. case "077": // 병원별 기관코드
  4248. switch(ds_code_codeinfo_codelist.getColumn(i, "supcdid")){
  4249. case "04":
  4250. vincentinstcd = ds_code_codeinfo_codelist.getColumn(i, "cdid");
  4251. break;
  4252. case "05":
  4253. yuidoinstcd = ds_code_codeinfo_codelist.getColumn(i, "cdid");
  4254. break;
  4255. }
  4256. case "190":
  4257. resafegrupcd = ds_code_codeinfo_codelist.getColumn(i, "cdid");
  4258. break;
  4259. case "T94":
  4260. iocd = ds_code_codeinfo_codelist.getColumn(i, "cdid");
  4261. break;
  4262. }
  4263. }
  4264. //OpPatState_Read();
  4265. fGetDrgecdlist(); //배액관 리스트 및 수술방 코드 및 마취의사 리스트 조회
  4266. ds_HideData_condition.setColumn( 0, "opcnfmdd",utlf_getCurrentDate());
  4267. frmf_addComboItem( "group6.combo2", "전체", "A");
  4268. group6.combo2.index = 0;
  4269. //병원별 회복간호기록 I 세팅 여부 확인
  4270. if(ds_code_codeinfo_codelist.lookupExpr("cdgrupid == '100'", "cdid") == "O" ){
  4271. lf_setTabPageVisble(this.switch1, 'case1', true); // button1.visible = true; // 회복간호기록1의 TabPage Head를 의미함., button7은 회복간호기록II의 TabPage Head를 의미함.
  4272. }
  4273. ds_HideData_condition.setColumn( 0, "oproomcd", "A");
  4274. var dutplcecd = sysf_getUserInfo("dutplcecd"); // 로그인한 부서코드
  4275. //ICU 부서에서 로그인 할 경우 종료 조회조건 추가 by 박영우 2010-02-28
  4276. for(var i = 0; i < ds_code_codeinfo_codelist.rowcount; i++) { // 부서가 중환자실일 경우
  4277. if(ds_code_codeinfo_codelist.getColumn(i, "cdgrupid") == "095") {
  4278. if(dutplcecd == ds_code_codeinfo_codelist.getColumn(i, "cdid")) {
  4279. ds_HideData_condition.setColumn( 0, "opstatcd", "60 50");
  4280. break;
  4281. } else {
  4282. ds_HideData_condition.setColumn( 0, "opstatcd", "60");
  4283. }
  4284. }
  4285. }
  4286. //checkbox4.refresh();
  4287. //combo2.refresh();
  4288. //input7.refresh();
  4289. ds_HideData_opschelists_schelist.clearData();
  4290. //datagrid5.refresh();
  4291. bbt_save.enable = false;
  4292. btn_rgst_sct.enable = false;
  4293. //2008-08-11 오후 10:15:34 taebum 자동 현재일자 스케줄 조회
  4294. fGetOpScheList();
  4295. //combobox 빈 행 추가
  4296. lgv_datagrid9Formats = switch1.case1.case4.datagrid9.formats;
  4297. ds_main_revrInfo_recopkinfo.clearData();
  4298. ds_main_revrInfo_mnphrevrtitle.clearData();
  4299. ds_main_revrInfo_mnphrevr.clearData();
  4300. ds_main_revrInfo_mnphrepg.clearData();
  4301. ds_main_revrInfo_prnorderlist.clearData();
  4302. ds_main_revrInfo_actingorderlist.clearData();
  4303. }
  4304. function fDataDisplay(row) {
  4305. /*
  4306. //2008-08-09 오후 3:54:33 taebum 수술스케줄 연동 관련 주석처리
  4307. var opIdx = cmb_opdd.selectedIndex + 1;
  4308. var cPath = "_root_main_opPatLists_opPatList["+opIdx+"]";
  4309. ds_init_WorkData.setColumn( 0, "oproomcd" , model.getValue(cPath+ "_oproomcd" )); // 수술방
  4310. ds_init_WorkData.setColumn( 0, "oproomnm" , model.getValue(cPath+ "_oproomnm" )); // 수술방명
  4311. ds_main_MnphrecoData_MnphrecoList.setColumn( 0, "ioflag" , model.getValue(cPath+ "_oppatflagcd")); // 환자구분
  4312. ds_main_MnphrecoData_MnphrecoList.setColumn( 0, "opflagcd", model.getValue(cPath+ "_opflagcd" )); // 수술구분
  4313. */
  4314. var iCurrentRow = -1;
  4315. if(row < 0)
  4316. iCurrentRow = datagrid5.currentrow;
  4317. else
  4318. iCurrentRow = row;
  4319. if(iCurrentRow < 0){
  4320. return;
  4321. }
  4322. var cPath = "ds_HideData_opschelists_schelist"; //["+iCurrentRow+"]";
  4323. var wPath = "ds_init_WorkData" ; //
  4324. dsf_makeValue( eval(wPath), "pid" ,"string", eval(cPath).getColumn( iCurrentRow, "pid" )); // 환자번호
  4325. dsf_makeValue( eval(wPath), "instcd" ,"string", eval(cPath).getColumn( iCurrentRow, "instcd" )); // 기관코드
  4326. dsf_makeValue( eval(wPath), "oprsrvno" ,"string", eval(cPath).getColumn( iCurrentRow, "oprsrvno" )); // 의뢰번호
  4327. dsf_makeValue( eval(wPath), "ophistno" ,"string", eval(cPath).getColumn( iCurrentRow, "ophistno" )); // 이력번호
  4328. dsf_makeValue( eval(wPath), "recovseqno" ,"string", eval(cPath).getColumn( iCurrentRow, "recovseqno" )); // 회복기록연계코드
  4329. dsf_makeValue( eval(wPath), "cretno" ,"string", eval(cPath).getColumn( iCurrentRow, "cretno" )); // 회복기록연계코드
  4330. var recovseqno = eval(cPath).getColumn( iCurrentRow, "recovseqno");
  4331. //마취회복간호기록 존재하지 않으면 연동한다(20160920)
  4332. if(utlf_isNull(recovseqno) || recovseqno == "-"){
  4333. IFYN = "Y";
  4334. }
  4335. // 2008-06-03 오전 8:52:58 taebum 회복기록정보 조회시 합병증정보를 추가로 조회하여 가져오도록 수정함.
  4336. MnphrecoList_Read(); // 회복기록 정보 가져오기
  4337. CareRecList_Read() ; // 간호특이사항 기록 조회
  4338. //model.setValue(xPathData+"_anstspec_anstlist_anstsrtdt", model.getValue(cPath+ "_anstfromdt").substr(0,8)); // 마취시작일자
  4339. //model.setValue(xPathData+"_anstspec_anstlist_anstsrttm", model.getValue(cPath+ "_anstfromdt").substr(8,4)); // 마취시작시간
  4340. //model.setValue(xPathData+"_anstspec_anstlist_anstenddt", model.getValue(cPath+ "_ansttodt").substr(0,8)); // 마취종료일자
  4341. //model.setValue(xPathData+"_anstspec_anstlist_anstendtm", model.getValue(cPath+ "_ansttodt").substr(8,4)); // 마취종료시간
  4342. ////model.refresh();
  4343. }
  4344. /**
  4345. * 회복환자 스케줄 조회
  4346. *
  4347. */
  4348. function fGetOpScheList(){
  4349. var sOpcnfmdd = ds_HideData_condition.getColumn(0, "opcnfmdd");
  4350. var sOproomcd = ds_HideData_condition.getColumn(0, "oproomcd");
  4351. var sOnstmthdcd = ds_HideData_condition.getColumn(0, "anstmthdcd");
  4352. var sOpstatcd = ds_HideData_condition.getColumn(0, "opstatcd");
  4353. var sPid = ds_HideData_condition.getColumn(0, "pid");
  4354. var sCalmflag = ds_HideData_condition.getColumn(0, "calmflag");
  4355. ds_send.clearData();
  4356. ds_send.addRow();
  4357. dsf_makeValue( ds_send, "opcnfmdd", "string" , sOpcnfmdd );
  4358. dsf_makeValue( ds_send, "oproomcd", "string" , sOproomcd );
  4359. dsf_makeValue( ds_send, "anstmthdcd", "string", sOnstmthdcd );
  4360. dsf_makeValue( ds_send, "opstatcd", "string" , sOpstatcd );
  4361. dsf_makeValue( ds_send, "pid", "string" , sPid );
  4362. dsf_makeValue( ds_send, "calmflag", "string" , sCalmflag );
  4363. ds_HideData_opschelists_schelist.clearData();
  4364. //datagrid5.refresh();
  4365. //if(submit("TRMNP00706")){
  4366. var oParam = {};
  4367. oParam.id = "TRMNP00705";
  4368. oParam.service = "opanstapp.OpAnstRef";
  4369. oParam.method = "reqGetOpScheRecoList";
  4370. oParam.inds = "reqdata=ds_send";
  4371. oParam.outds = "ds_HideData_opschelists_schelist=schelist";
  4372. oParam.async = false;
  4373. oParam.callback = "cf_TRMNP00705";
  4374. tranf_submit(oParam);
  4375. ds_HideData_opschelists_schelist.rowposition = -1;
  4376. if(arErrorCode.pop("TRMNP00705") > -1){
  4377. //건수 정보 setting
  4378. var iTotalRows = ds_HideData_opschelists_schelist.rowcount; //datagrid5.rows - datagrid5.fixedrows;
  4379. var iTotalAnstCnt = 0;
  4380. var iTotalGAnstCnt = 0;
  4381. var iTotalPAnstCnt = 0;
  4382. var iTotalRecoCnt = 0;
  4383. var iTotalNoSignCnt = 0;
  4384. var sTmpGcnt = "";
  4385. var sTmpPcnt = "";
  4386. var sTmpAnstmthdcdnm = "";
  4387. var sTmpRecovseqno = "";
  4388. var sTmpPkidatetimes = "";//인증일시
  4389. if(iTotalRows > 0){
  4390. for(var i = 0; i < iTotalRows; i++){
  4391. sTmpGcnt = ds_HideData_opschelists_schelist.getColumn(i, "gcnt");
  4392. sTmpPcnt = ds_HideData_opschelists_schelist.getColumn(i, "pcnt");
  4393. sTmpAnstmthdcdnm = ds_HideData_opschelists_schelist.getColumn(i, "anstmthdcdnm");
  4394. sTmpRecovseqno = ds_HideData_opschelists_schelist.getColumn(i, "recovseqno");
  4395. sTmpPkidatetimes = ds_HideData_opschelists_schelist.getColumn(i, "pkidatetimems");
  4396. if(sTmpGcnt == "1"){
  4397. iTotalGAnstCnt++;
  4398. }
  4399. if(sTmpPcnt == "1"){
  4400. iTotalPAnstCnt++;
  4401. }
  4402. if(!utlf_isNull(sTmpAnstmthdcdnm) && sTmpAnstmthdcdnm != "-"){
  4403. iTotalAnstCnt++;
  4404. }
  4405. //Expr로 작업함. //kimdo3
  4406. //if((sTmpRecovseqno != "" && sTmpRecovseqno != "undeinfed" && sTmpRecovseqno != null && sTmpRecovseqno != "-")
  4407. // && ((sTmpPkidatetimes != "" && sTmpPkidatetimes != "undeinfed" && sTmpPkidatetimes != null))){
  4408. // datagrid5.cellstyle("color", i, 0, i, 27) = "#0078FF";
  4409. //}
  4410. if(!utlf_isNull(sTmpRecovseqno) && sTmpRecovseqno != "-"){
  4411. iTotalRecoCnt++;
  4412. }
  4413. //Expr로 작업함. //kimdo3
  4414. if( (!utlf_isNull(sTmpRecovseqno) && sTmpRecovseqno != "-")
  4415. && utlf_isNull(sTmpPkidatetimes) ){
  4416. // datagrid5.cellstyle("color", i, 0, i, 27) = "#ff0000";
  4417. // //datagrid5.cellstyle("font", i, 0, i, 27) = "weight";
  4418. iTotalNoSignCnt++;
  4419. }
  4420. }
  4421. ds_HideData_schelisttotalinfo.setColumn( 0, "totalanstcnt" , iTotalAnstCnt);
  4422. ds_HideData_schelisttotalinfo.setColumn( 0, "totalganstcnt", iTotalGAnstCnt);
  4423. ds_HideData_schelisttotalinfo.setColumn( 0, "totalpanstcnt", iTotalPAnstCnt);
  4424. ds_HideData_schelisttotalinfo.setColumn( 0, "totalrecocnt" , iTotalRecoCnt);
  4425. ds_HideData_schelisttotalinfo.setColumn( 0, "totalnosigncnt" , iTotalNoSignCnt);
  4426. //output2.refresh();
  4427. //output3.refresh();
  4428. //output6.refresh();
  4429. //output9.refresh();
  4430. //output17.refresh();
  4431. }
  4432. }
  4433. }
  4434. function cf_TRMNP00705(sSvcId, nErrorCode, sErrorMsg) {
  4435. arErrorCode.push(sSvcId, nErrorCode);
  4436. }
  4437. /* ------------------------------------------------- */
  4438. /* SMMNP00700_회복기록 */
  4439. /* On Load 시 Call */
  4440. /* ------------------------------------------------- */
  4441. /* group : EMR 간호 수술마취 */
  4442. /* ver : 2007.05.15 */
  4443. /* by : 최학록 */
  4444. /* --------------------------------------------------*/
  4445. /* type : function */
  4446. /* access : public */
  4447. /* desc : 수술방정보 가져오기 */
  4448. /* param : 기관코드 */
  4449. /* return : */
  4450. /* --------------------------------------------------*/
  4451. function OpRoomCode_Read() {
  4452. ds_send.clearData();
  4453. ds_send.addRow();
  4454. dsf_makeValue( ds_send, "flag", "string", "userid" );
  4455. dsf_makeValue( ds_send, "searchitem", "string" , "00009006" );
  4456. //submit("TRMNP00301"); // 수술실의 코드와 명칭을 가져온다.
  4457. var oParam = {};
  4458. oParam.id = "TRMNP00301";
  4459. oParam.service = "opanstapp.OpAnstRec";
  4460. oParam.method = "reqGetOpRoomInfo";
  4461. oParam.inds = "req=ds_send";
  4462. oParam.outds = "ds_init_drgecdlist_OpRoomInfo=OpRoomInfo";
  4463. oParam.async = false;
  4464. tranf_submit(oParam);
  4465. }
  4466. /* --------------------------------------------------*/
  4467. /* desc : 수술예약정보 가져오기 */
  4468. /* param : 기관코드 */
  4469. /* return : */
  4470. /* --------------------------------------------------*/
  4471. function OpPatState_Read() {
  4472. var sPatData = "";
  4473. if (utlf_isNull(ds_init_WorkData.getColumn(0, "pid"))) {
  4474. sysf_messageBox("등록번호를 ", "C002");
  4475. return;
  4476. }
  4477. //배액관List 조회(combobox용도)
  4478. fGetDrgecdlist();
  4479. ds_send.clearData();
  4480. dsf_makeValue( ds_send, "pid", "string", ds_init_WorkData.getColumn(0, "pid") );
  4481. //if (submit("TRMNP00703")){ // 수술예약정보 가져오기
  4482. var oParam = {};
  4483. oParam.id = "TRMNP00703";
  4484. oParam.service = "opanstapp.OpAnstRef";
  4485. oParam.method = "reqGetOpPatStat";
  4486. oParam.inds = "req=ds_";
  4487. oParam.outds = "ds_=opPatList";
  4488. oParam.async = false;
  4489. oParam.callback = "cf_TRMNP00703";
  4490. tranf_submit(oParam);
  4491. if (arErrorCode.pop("TRMNP00703") > -1){ // 수술예약정보 가져오기
  4492. xNode = "ds_main_opPatLists_opPatList";
  4493. if (xNode == null) {
  4494. nLen = 0;
  4495. }else {
  4496. nLen = eval(xNode).rowcount;
  4497. }
  4498. if (nLen < 1) {
  4499. group6.ipt_hngnm.value = "";
  4500. //bbt_query.disabled = "true";
  4501. bbt_save.enable = false;
  4502. sysf_messageBox("환자 정보가 ", "I004");
  4503. return;
  4504. }
  4505. ds_init_WorkData.setColumn( 0, "pidname",ds_main_opPatLists_opPatList.getColumn(1, "hngnm"));
  4506. //ipt_hngnm.refresh();
  4507. //cmb_opdd.selectedIndex = 0; 사용되지 않아서 kimdo3 삭제함.
  4508. fDataDisplay(0);
  4509. //bbt_query.disabled = "false"; 사용되지 않아서 kimdo3 삭제함.
  4510. bbt_save.enable = true; //.disabled = "false";
  4511. }else {
  4512. sysf_messageBox("환자 정보가 ", "I004");
  4513. }
  4514. }
  4515. function cf_TRMNP00703(sSvcId, nErrorCode, sErrorMsg) {
  4516. arErrorCode.push(sSvcId, nErrorCode);
  4517. }
  4518. /**
  4519. * 회복실 스케줄조회 내역 클릭시 이벤트
  4520. * 2008-08-09 오후 3:42:17 taebum
  4521. */
  4522. function fOnDoulbeClickScheList(row){
  4523. var iCurrentRow = -1 ;
  4524. if(row < 0)
  4525. iCurrentRow = ds_HideData_opschelists_schelist.rowposition;
  4526. else
  4527. iCurrentRow = row;
  4528. if(iCurrentRow < 0){
  4529. return false;
  4530. }
  4531. var iOpStat = ds_HideData_opschelists_schelist.getColumn(iCurrentRow, "opstatnm");
  4532. var sRecovseqno = ds_HideData_opschelists_schelist.getColumn(iCurrentRow, "recovseqno");
  4533. if(iOpStat != "회복" && iOpStat != "종료" ){
  4534. sysf_messageBox("기록을 작성할 수 없는 환자 입니다. 진행상태를 확인하시기 바랍니다.","");
  4535. return false;
  4536. }else{
  4537. if((iOpStat == "종료" && utlf_isNull(sRecovseqno))){
  4538. sysf_messageBox("기록을 작성할 수 없는 환자 입니다. 진행상태를 확인하시기 바랍니다.","");
  4539. return false;
  4540. }
  4541. }
  4542. //마감관련
  4543. //회복간호기록 마감됐는데도 기록지에서 마감체크가 안됐던 부분 오류 수정 by 박영우 2010-02-11
  4544. var recendflag = ds_HideData_opschelists_schelist.getColumn(iCurrentRow, "recendflag");
  4545. if( ( recendflag == "2" )||( recendflag == "3" )) {//회복실이 마감에 포함되어 있으면
  4546. switch1.enable = false;
  4547. }else {
  4548. switch1.enable = true;
  4549. }
  4550. //2009-06-02 오전 9:11:22 강지훈 수정 : 회복간호기록1은 외래일때만 선택가능하다
  4551. var ioflag = ds_HideData_opschelists_schelist.getColumn(iCurrentRow, "oppatflagcd");
  4552. var selectedTab = switch1.tabindex; //selectedIndex;
  4553. /*
  4554. if(selectedTab == 1){ //회복간호기록 2선택
  4555. if(ioflag != "O"){
  4556. button1.visible = false;
  4557. }
  4558. else if(ioflag == "O"){
  4559. button1.visible = true;
  4560. }
  4561. }
  4562. else if(selectedTab == 0){ // 회복간호기록 1선택
  4563. if(ioflag != "O"){
  4564. sysf_messageBox("회복간호기록1은 외래만 작성", "I006");
  4565. return false;
  4566. }
  4567. }
  4568. */
  4569. group7.visible = true;
  4570. //=================================================
  4571. //상단 정보 올리기
  4572. var sPath = "ds_HideData_opschelists_schelist";
  4573. var sPatFlag = utlf_transNullToEmpty(eval(sPath).getColumn( iCurrentRow, "oppatflagcd"));
  4574. if (utlf_isNull(sPatFlag)) {
  4575. sPatFlag = "I";
  4576. }
  4577. var param = "T▦" // 01 O:외래, I:입원구분, T:수술예약
  4578. + utlf_transNullToEmpty(eval(sPath).getColumn( iCurrentRow, "pid" )) + "▦" // 02 등록번호
  4579. + utlf_transNullToEmpty(eval(sPath).getColumn( iCurrentRow, "opcnfmdd" )) + "▦" // 03 수술시작일자
  4580. + utlf_transNullToEmpty(eval(sPath).getColumn( iCurrentRow, "cretno" )) + "▦" // 04 cretno(없는 경우 ""로 처리)
  4581. + utlf_transNullToEmpty(eval(sPath).getColumn( iCurrentRow, "instcd" )) + "▦" // 05 기관코드
  4582. + utlf_transNullToEmpty(eval(sPath).getColumn( iCurrentRow, "perfdeptcd" )) + "▦" // 06 집도과부서
  4583. + utlf_transNullToEmpty(eval(sPath).getColumn( iCurrentRow, "perfdrid" )) + "▦" // 07 집도의ID
  4584. + sPatFlag + "▦" // 08 환자구분
  4585. + "F" + "▦" // 09 F -처리구분 무조건 F로 설정
  4586. + utlf_transNullToEmpty(eval(sPath).getColumn( iCurrentRow, "oprsrvno" )) + "▦" // 10 수술예약번호
  4587. + utlf_transNullToEmpty(eval(sPath).getColumn( iCurrentRow, "ophistno" )) + "▦" // 11 수술이력번호
  4588. + utlf_transNullToEmpty(eval(sPath).getColumn( iCurrentRow, "opcnfmdd" )) + "▦"; // 12 조회일자 2007-09-13 오지훈 추가...
  4589. //frmf_setParameter("condparam", param);
  4590. //frmf_modal("SPMMO08900", "", ""-"", "", "", "", "", "", "", "$16", "", "", "M");
  4591. //frmf_modal("SPMMO08900", "", ""-"", "", "1", "5", "25", "", "", "$16", "", "", "M");
  4592. //modal("SPMMO08900", 1, "", "", "", "SPMMO08900", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
  4593. //frmf_modal("SPMMO08900", "SPMMO08900", "", "", "1", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;", "", "", "M");
  4594. appf_initPatientInfo(param); //상단정보 셋팅
  4595. //=================================================
  4596. savePid = eval(sPath).getColumn( iCurrentRow, "pid");
  4597. saveName = eval(sPath).getColumn( iCurrentRow, "hngnm");
  4598. //환자 정보 setting
  4599. ds_HideData_displaypinfo.setColumn( 0, "pinfo1", eval(sPath).getColumn( iCurrentRow, "opcnfmdate"));
  4600. ds_HideData_displaypinfo.setColumn( 0, "pinfo2", eval(sPath).getColumn( iCurrentRow, "oppatflagnm")+ " " +
  4601. eval(sPath).getColumn( iCurrentRow, "hngnm") + " " +
  4602. eval(sPath).getColumn( iCurrentRow, "sa") + " " +
  4603. eval(sPath).getColumn( iCurrentRow, "pid") );
  4604. ds_HideData_displaypinfo.setColumn( 0, "pinfo3", eval(sPath).getColumn( iCurrentRow, "oproomnm") + " " +
  4605. eval(sPath).getColumn( iCurrentRow, "perfdeptnm") + " " +
  4606. eval(sPath).getColumn( iCurrentRow, "perfdrnm") + " " +
  4607. eval(sPath).getColumn( iCurrentRow, "opcdnm") );
  4608. //output10.refresh();
  4609. //output11.refresh();
  4610. //output12.refresh();
  4611. fDataDisplay(iCurrentRow);
  4612. //20180525 이돈희 : 신규 입력시 Defalt값으로 통증사정도구는 FPRS 0점, PONV는 0점으로 함
  4613. var sRecovseqno = ds_HideData_opschelists_schelist.getColumn(datagrid5.currentrow, "recovseqno");
  4614. var sGcnt = ds_HideData_opschelists_schelist.getColumn(datagrid5.currentrow, "gcnt") // 전신마취여부(1 : 전신마취)
  4615. var sPcnt = ds_HideData_opschelists_schelist.getColumn(datagrid5.currentrow, "pcnt") // 부위마취여부(1 : 부위마취)
  4616. if(utlf_isNull(sRecovseqno) || sRecovseqno == "-"){
  4617. if((sGcnt == 1) || (sPcnt == 1)){
  4618. ds_main_MnphrecoData_MnphrecoList.setColumn(0, "inpcatype", "1");
  4619. ds_main_MnphrecoData_MnphrecoList.setColumn(0, "inpcagrade", "0");
  4620. ds_main_MnphrecoData_MnphrecoList.setColumn(0, "outpcatype", "1");
  4621. ds_main_MnphrecoData_MnphrecoList.setColumn(0, "outpcagrade", "0");
  4622. ds_main_MnphrecoData_MnphrecoList.setColumn(0, "inponvgrade", "0");
  4623. ds_main_MnphrecoData_MnphrecoList.setColumn(0, "outponvgrade", "0");
  4624. }
  4625. }
  4626. //if (ioflag == "O"){
  4627. var sPinfoPath = "ds_init_WorkData";
  4628. var sOprsrvno = eval(sPinfoPath).getColumn(0, "oprsrvno");
  4629. var sPid = eval(sPinfoPath).getColumn(0, "pid");
  4630. var sRecovseqno = eval(sPinfoPath).getColumn(0, "recovseqno");
  4631. if( !(utlf_isNull(sOprsrvno) || utlf_isNull(sPid) || utlf_isNull(sRecovseqno)) ){
  4632. //ds_send.clearData();
  4633. //ds_send.addRow();
  4634. dsf_makeValue( ds_send, "recovseqno", "string", sRecovseqno);
  4635. //if(submit("TRMNP00715")){
  4636. var oParam = {};
  4637. oParam.id = "TRMNP00715";
  4638. oParam.service = "opanstapp.OpAnstRef";
  4639. oParam.method = "reqGetSavedRecovRecCnt";
  4640. oParam.inds = "req=ds_send";
  4641. oParam.outds = "ds_temp_reccnt=reccnt";
  4642. oParam.async = false;
  4643. oParam.callback = "cf_TRMNP00715";
  4644. tranf_submit(oParam);
  4645. if(arErrorCode.pop("TRMNP00715") > -1){
  4646. var reccnt = ds_temp_reccnt.getColumn(0, "reccnt");
  4647. if(reccnt > 0){
  4648. fGetGiRok1Data("RELOAD", ds_main_revrInfo_mnphrevrtitle.getColumn(0, "data1"));
  4649. }
  4650. }
  4651. }
  4652. //}
  4653. if(selectedTab == 1){
  4654. //model.toggle("case2");
  4655. //button7.selected = true;
  4656. //button1.selected = false;
  4657. switch1.tabindex = 0; // 회복간호기록 II를 선택하는 것을 의미.
  4658. }
  4659. return true;
  4660. }
  4661. function cf_TRMNP00715(sSvcId, nErrorCode, sErrorMsg) {
  4662. arErrorCode.push(sSvcId, nErrorCode);
  4663. }
  4664. /* --------------------------------------------------*/
  4665. /* desc : 간호특이사항 기록 조회 */
  4666. /* --------------------------------------------------*/
  4667. function CareRecList_Read() {
  4668. var wPath = "ds_init_WorkData" ;
  4669. var opPath = "ds_HideData_opschelists_schelist";
  4670. var curRow = eval(opPath).currentRow;
  4671. ds_send.clearData();
  4672. ds_send.addRow();
  4673. dsf_makeValue( ds_send, "pid", "string", eval(wPath).getColumn(0, "pid" )); // 환자번호
  4674. dsf_makeValue( ds_send, "instcd", "string", eval(wPath).getColumn(0, "instcd" )); // 기관코드
  4675. //외래환자 추가되면서 외래_입원 구분으로 orddd, indd를 send로 보낸다 by 박영우 2010-03-03
  4676. var oppatflagcd = eval(opPath).getColumn( curRow, "oppatflagcd");
  4677. if(oppatflagcd != "O") {
  4678. dsf_makeValue( ds_send, "indd", "string", ds_main_MnphrecoData_MnphrecoList.getColumn(0, "indt")); // 입원일자
  4679. dsf_makeValue( ds_send, "cretno", "string", eval(wPath).getColumn(0, "cretno" )); // 생성번호
  4680. }
  4681. else {
  4682. dsf_makeValue( ds_send, "orddd", "string", ds_main_MnphrecoData_MnphrecoList.getColumn(0, "indt")); // 입원일자
  4683. dsf_makeValue( ds_send, "cretno", "string", eval(opPath).getColumn( curRow, "cretno" )); // 생성번호
  4684. }
  4685. dsf_makeValue( ds_send, "ioflag", "string", eval(wPath).getColumn(0, "ioflag" )); // I_O 구분
  4686. dsf_makeValue( ds_send, "dnarflag", "string", "%"); // dnar 구분
  4687. dsf_makeValue( ds_send, "sortseq", "string", "A"); // 정렬순서(A:오름차순, D:내림차순)
  4688. dsf_makeValue( ds_send, "recflag", "string", "R");
  4689. dsf_makeValue( ds_send, "reclnkkey", "string", eval(wPath).getColumn(0, "pid") +
  4690. "," + eval(wPath).getColumn(0, "instcd") +
  4691. "," + eval(wPath).getColumn(0, "oprsrvno") +
  4692. "," + eval(wPath).getColumn(0, "ophistno")); // 기록연계키
  4693. dsf_makeValue( ds_send, "prestdt", "string", utlf_getCurrentDate() + utlf_getCurrentTime()); // 현재일시
  4694. //submit("TRMNP00702"); // 간호특이사항 기록 조회
  4695. var oParam = {};
  4696. oParam.id = "TRMNP00702";
  4697. oParam.service = "opanstapp.OpAnstRef";
  4698. oParam.method = "reqGetMnrmnsrcList";
  4699. oParam.inds = "req=ds_send";
  4700. oParam.outds = "ds_init_CareRecLists_carereclist=carereclist";
  4701. oParam.async = false;
  4702. tranf_submit(oParam);
  4703. ds_init_CareRecLists_carereclist.rowposition = -1;
  4704. //datagrid8 의 Binding Dataset : ds_init_CareRecLists_carereclist
  4705. group7.visible = false;
  4706. }
  4707. /* ------------------------------------------------- */
  4708. /* SMMNP00700_회복기록 */
  4709. /* On Load 시 Call */
  4710. /* desc :회복기록 정보 가져오기 */
  4711. /* --------------------------------------------------*/
  4712. function MnphrecoList_Read() {
  4713. var xPathOpCd = "ds_init_workinst_OpcdData_opcdlist" ; // 수술전 수술명
  4714. var wPath = "ds_init_WorkData" ;
  4715. ds_send.clearData();
  4716. ds_send.addRow();
  4717. dsf_makeValue( ds_send, "pid", "string", eval(wPath).getColumn(0, "pid" )); // 환자번호
  4718. dsf_makeValue( ds_send, "instcd", "string", eval(wPath).getColumn(0, "instcd" )); // 기관코드
  4719. dsf_makeValue( ds_send, "oprsrvno", "string", eval(wPath).getColumn(0, "oprsrvno" )); // 의뢰번호
  4720. dsf_makeValue( ds_send, "ophistno", "string", eval(wPath).getColumn(0, "ophistno" )); // 이력번호
  4721. dsf_makeValue( ds_send, "recovseqno", "string", eval(wPath).getColumn(0, "recovseqno")); // 회복기록연계코드
  4722. dsf_makeValue( ds_send, "resafegrupcd", "string", resafegrupcd); // 안전관리점검 구분코드
  4723. dsf_makeValue( ds_send, "reintubgrupcd", "string", "250"); // 삽관류체크리스트 구분코드
  4724. // ds_main_MnphrecoData_MnphrecoList.clearData();
  4725. //ds_main_MnphrecoData_MnphrecoList.clearData(); ds_main_MnphrecoData_MnphrecoList.addRow();
  4726. ds_main_MnphrecoData_MnphrecoList.clearData();
  4727. ds_main_MnphrecoData_MnphrepmList.clearData();
  4728. ds_main_MnphrecoData_AnstDoctList.clearData();
  4729. ds_main_MnphrecoData_MnphresmList.clearData();
  4730. ds_main_MnphrecoData_MnphreIntubchkList.clearData();
  4731. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.clearData();
  4732. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.addRow();
  4733. //총 회복시간 정보 clear
  4734. ds_HideData_recoinfo.clearData();
  4735. ds_HideData_recoinfo.addRow();
  4736. ds_HideData_recoinfo.setColumn( 0, "recototaltime","");
  4737. //output15.refresh();
  4738. bbt_save.enable = false; //.disabled = "true";
  4739. // 안전관리 datagrid all check by 박영우
  4740. //switch1.case2.grd_resafe.caption = "^안전관리^안전관리상세^회복실연계코드^status^resafeuptid^resafeuptnm";
  4741. switch1.case2.grd_resafe.setCellProperty("head", 0, "displaytype", "checkbox");
  4742. switch1.case2.grd_resafe.setCellProperty("head", 0, "edittype", "checkbox");
  4743. switch1.case2.grd_resafe.setCellProperty("head", 0, "text", "expr:0");
  4744. switch1.case2.grd_resafe.setCellProperty("head", 1, "text", "안전관리");
  4745. switch1.case2.grd_resafe.setCellProperty("head", 2, "text", "안전관리상세");
  4746. switch1.case2.grd_resafe.setCellProperty("head", 3, "text", "회복실연계코드");
  4747. switch1.case2.grd_resafe.setCellProperty("head", 4, "text", "status");
  4748. switch1.case2.grd_resafe.setCellProperty("head", 5, "text", "resafeuptid");
  4749. switch1.case2.grd_resafe.setCellProperty("head", 6, "text", "resafeuptnm");
  4750. //switch1.case2.grd_resafe.fixedcellcheckbox(0, 0) = true;
  4751. //switch1.case2.grd_resafe.fixedcellischeck(0, 0) = false;
  4752. // 삽관류 항목 datagrid all check by 손성훈.
  4753. //switch1.case2.grd_reintub.caption = "^삽관류명^삽관류상세^회복실연계코드^status^reintubuptid^reintubuptnm";
  4754. switch1.case2.grd_reintub.setCellProperty("head", 0, "displaytype", "checkbox");
  4755. switch1.case2.grd_reintub.setCellProperty("head", 0, "edittype", "checkbox");
  4756. switch1.case2.grd_reintub.setCellProperty("head", 0, "text", "expr:0");
  4757. switch1.case2.grd_reintub.setCellProperty("head", 1, "text", "삽관류명");
  4758. switch1.case2.grd_reintub.setCellProperty("head", 2, "text", "삽관류상세");
  4759. switch1.case2.grd_reintub.setCellProperty("head", 3, "text", "회복실연계코드");
  4760. switch1.case2.grd_reintub.setCellProperty("head", 4, "text", "status");
  4761. switch1.case2.grd_reintub.setCellProperty("head", 5, "text", "reintubuptid");
  4762. switch1.case2.grd_reintub.setCellProperty("head", 6, "text", "reintubuptnm");
  4763. //grd_reintub.fixedcellcheckbox(0, 0) = true;
  4764. //grd_reintub.fixedcellischeck(0, 0) = false;
  4765. //if (!submit("TRMNP00701")) { // 회복기록을 가져온다.
  4766. var oParam = {};
  4767. oParam.id = "TRMNP00701";
  4768. oParam.service = "opanstapp.OpAnstRef";
  4769. oParam.method = "reqGetMnphrecoList";
  4770. oParam.inds = "req=ds_send";
  4771. oParam.outds = "ds_main_MnphrecoData_MnphrecoList=MnphrecoList " +
  4772. "ds_main_MnphrecoData_MnphrepmList=MnphrepmList " +
  4773. "ds_main_MnphrecoData_AnstDoctList=AnstDoctList " +
  4774. "ds_main_MnphrecoData_MnphresmList=MnphresmList " +
  4775. "ds_main_MnphrecoData_MnphreIntubchkList=MnphreIntubchkList ";
  4776. oParam.async = false;
  4777. oParam.callback = "cf_TRMNP00701";
  4778. tranf_submit(oParam);
  4779. if( utlf_isNull(ds_main_MnphrecoData_MnphrecoList.getColumnInfo("pregoodlist")) ){
  4780. ds_main_MnphrecoData_MnphrecoList.addColumn("pregoodlist", "string");
  4781. }
  4782. ds_main_MnphrecoData_MnphrepmList.rowposition = -1;
  4783. ds_main_MnphrecoData_MnphresmList.rowposition = -1;
  4784. ds_main_MnphrecoData_MnphreIntubchkList.rowposition = -1;
  4785. if (arErrorCode.pop("TRMNP00701") < 0) { // 회복기록을 가져온다.
  4786. return;
  4787. }
  4788. dsf_makeValue(ds_main_MnphrecoData_MnphrecoList, "outconfirmdoctorid_tmp", "string", ds_main_MnphrecoData_MnphrecoList.getColumn(0, "outconfirmdoctorid") );
  4789. // dsf_makeValue(ds_main_MnphrecoData_MnphrecoList, "prtctairwayid_tmp", "string", ds_main_MnphrecoData_MnphrecoList.getColumn(0, "prtctairwayid") );
  4790. // dsf_makeValue(ds_main_MnphrecoData_MnphrecoList, "prtctcairwayextid_tmp", "string", ds_main_MnphrecoData_MnphrecoList.getColumn(0, "prtctcairwayextid") );
  4791. var sSingnno = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "pkidatetimems");
  4792. //인증저장 번호가 있으면 안전점검관리 최종 확인한 간호사 이름 표시
  4793. if(!utlf_isNull(sSingnno)) {
  4794. switch1.case2.opt_resafecertid.value = ds_main_MnphrecoData_MnphresmList.lookupExpr("resafeuptid != ''", "resafeuptnm");
  4795. } else {
  4796. switch1.case2.opt_resafecertid.value = "";
  4797. }
  4798. //수술실 마취, 수술실 회복실이 아닌 경우 저장버튼 비활성화
  4799. //ICU부서인 경우 수술간호기록에서 퇴실장소가 회복실을 제외한 환자들 저장 가능하게.. by 박영우 2010-02-28
  4800. var dutplcecd = sysf_getUserInfo("dutplcecd"); // 로그인한 부서코드
  4801. var iCurrentRow = datagrid5.currentrow;
  4802. var sOpPatoutrmplcecd = "";
  4803. var sInstcd = "";
  4804. if(!(dutplcecd == ds_code_codeinfo_codelist.lookupExpr("cdgrupid == '016'", "cdid") || // 수술실 마취
  4805. dutplcecd == ds_code_codeinfo_codelist.lookupExpr("cdgrupid == '017'", "cdid"))) { // 수술실 회복실 이 아닌 경우..
  4806. for(var i = 0; i < ds_code_codeinfo_codelist.rowcount; i++) { // 부서가 중환자실일 경우
  4807. if(ds_code_codeinfo_codelist.getColumn(i, "cdgrupid") == "095") {
  4808. if(dutplcecd == ds_code_codeinfo_codelist.getColumn(i, "cdid")) {
  4809. sOpPatoutrmplcecd = ds_HideData_opschelists_schelist.getColumn(iCurrentRow, "opoutrmplcecd"); //해당환자의 수술실 퇴실장소
  4810. if(sysf_getUserInfo("dutplceinstcd") == vincentinstcd) { // 빈센트 병원의 경우 퇴실장소코드 "25"번이 주사실이라 분기
  4811. if(sOpPatoutrmplcecd == "01" || sOpPatoutrmplcecd == "26" || utlf_isNull(sOpPatoutrmplcecd)) { // 회복실 혹은 수술실, 분만실이면 제외
  4812. bbt_save.enable = false; //.disabled = true;
  4813. btn_rgst_sct.enable = false;
  4814. switch1.case2.bbt_inroom.enable = false; //.disabled = true;
  4815. switch1.case2.bbt_outroom.enable = false;
  4816. } else {
  4817. if(!utlf_isNull(sSingnno)){
  4818. switch1.case2.bbt_inroom.enable = true; //.disabled = false;
  4819. switch1.case2.bbt_outroom.enable = true;
  4820. btn_rgst_sct.enable = true;
  4821. } else {
  4822. switch1.case2.bbt_inroom.enable = true; //.disabled = false;
  4823. switch1.case2.bbt_outroom.enable = true;
  4824. bbt_save.enable = true; //.disabled = false;
  4825. btn_rgst_sct.enable = true;
  4826. }
  4827. }
  4828. } else {
  4829. if(sOpPatoutrmplcecd == "01" || sOpPatoutrmplcecd == "26" || sOpPatoutrmplcecd == "25" || utlf_isNull(sOpPatoutrmplcecd)) { // 회복실 혹은 수술실, 분만실이면 제외
  4830. bbt_save.enable = false; //.disabled = true;
  4831. btn_rgst_sct.enable = false;
  4832. switch1.case2.bbt_inroom.enable = false; //.disabled = true;
  4833. switch1.case2.bbt_outroom.enable = false;
  4834. } else {
  4835. if(!utlf_isNull(sSingnno)){
  4836. switch1.case2.bbt_inroom.enable = true; //.disabled = false;
  4837. switch1.case2.bbt_outroom.enable = true;
  4838. btn_rgst_sct.enable = true;
  4839. } else {
  4840. switch1.case2.bbt_inroom.enable = true; //.disabled = false;
  4841. switch1.case2.bbt_outroom.enable = true;
  4842. bbt_save.enable = true; //.disabled = false;
  4843. btn_rgst_sct.enable = true;
  4844. }
  4845. }
  4846. }
  4847. break;
  4848. } else { // 해당사항이 없을 경우..
  4849. bbt_save.enable = false; //.disabled = true;
  4850. btn_rgst_sct.enable = false; //.disabled = true;
  4851. switch1.case2.bbt_inroom.enable = false; //.disabled = true;
  4852. switch1.case2.bbt_outroom.enable = false; //.disabled = true;
  4853. }
  4854. }
  4855. }
  4856. } else { // 수술실 회복실, 수술실 마취일 경우
  4857. if(!utlf_isNull(sSingnno)){
  4858. switch1.case2.bbt_inroom.enable = true; //disabled = false;
  4859. switch1.case2.bbt_outroom.enable = true;
  4860. btn_rgst_sct.enable = true;
  4861. } else {
  4862. switch1.case2.bbt_inroom.enable = true; //.disabled = false;
  4863. switch1.case2.bbt_outroom.enable = true;
  4864. bbt_save.enable = true; //.disabled = false;
  4865. btn_rgst_sct.enable = true;
  4866. }
  4867. }
  4868. //회복기록 가능한 근무지를 가진 사람들 열어줌(20150515 이윤주 추가)
  4869. var cnt = ds_code_codeinfo_codelist.getCaseCount("cdgrupid == '090' && cdid == '" + dutplcecd + "'"); //getNodeSetCnt("
  4870. if(cnt > 0) {
  4871. if(!utlf_isNull(sSingnno)){
  4872. switch1.case2.bbt_inroom.enable = true; //.disabled = false;
  4873. switch1.case2.bbt_outroom.enable = true;
  4874. btn_rgst_sct.enable = true;
  4875. } else {
  4876. switch1.case2.bbt_inroom.enable = true; //.disabled = false;
  4877. switch1.case2.bbt_outroom.enable = true;
  4878. bbt_save.enable = true; //.disabled = false;
  4879. btn_rgst_sct.enable = true;
  4880. }
  4881. }
  4882. //2008-09-19 오후 4:29:24 taebum 입실 및 퇴실저장을 하였을 경우 색표시
  4883. var sTmpStat = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recstat");
  4884. if(sTmpStat == "U"){
  4885. if( !utlf_isNull(ds_main_MnphrecoData_MnphrecoList.getColumn(0, "inrmdt")) &&
  4886. !utlf_isNull(ds_main_MnphrecoData_MnphrecoList.getColumn(0, "inrmtm")) &&
  4887. !utlf_isNull(ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recinusernm")) ){
  4888. switch1.case2.inp_inrmdt.style.color = "#0000ff";
  4889. switch1.case2.inp_inrmtm.style.color = "#0000ff";
  4890. }
  4891. if( !utlf_isNull(ds_main_MnphrecoData_MnphrecoList.getColumn(0, "outrmdt")) &&
  4892. !utlf_isNull(ds_main_MnphrecoData_MnphrecoList.getColumn(0, "outrmtm")) &&
  4893. !utlf_isNull(ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recoutusernm")) ){
  4894. switch1.case2.inp_outrmdt.style.color = "#0000ff";
  4895. switch1.case2.inp_outrmtm.style.color = "#0000ff";
  4896. }
  4897. }else{
  4898. switch1.case2.inp_inrmdt.style.color = "#000000";
  4899. switch1.case2.inp_inrmtm.style.color = "#000000";
  4900. switch1.case2.inp_outrmdt.style.color = "#000000";
  4901. switch1.case2.inp_outrmtm.style.color = "#000000";
  4902. }
  4903. XmlDataCheck();
  4904. fn_clearChkPrtctairway();
  4905. dsf_setDefaultVal(ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist, "all");
  4906. // 초기화값 이상 겨우 처리를 위해 kimdo3 2016/10/22
  4907. var _tmp_prtctairwaydt = ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.getColumn(0, "prtctairwaydt");
  4908. if( _tmp_prtctairwaydt == "/") {
  4909. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn(0, "prtctairwaydt", "");
  4910. }
  4911. dsf_setDefaultVal(ds_main_MnphrecoData_MnphrecoList_drgecdspec_lists_drgecdlist, "all");
  4912. dsf_setDefaultVal(ds_main_MnphrecoData_MnphrecoList_pataddtool_pataddlists_pataddlist, "all");
  4913. // Xml Data가 없는 경우 구조를 Copy한다.
  4914. if(utlf_isNull(ds_main_MnphrecoData_MnphrecoList_drgecdspec_lists_drgecdlist.getColumn(0, "goodcd"))){
  4915. ds_main_MnphrecoData_MnphrecoList_drgecdspec_lists_drgecdlist.clearData();
  4916. //datagrid3.rebuild();
  4917. }
  4918. if(utlf_isNull(ds_main_MnphrecoData_MnphrecoList_pataddtool_pataddlists_pataddlist.getColumn(0, "toolnm"))){
  4919. ds_main_MnphrecoData_MnphrecoList_pataddtool_pataddlists_pataddlist.clearData();
  4920. //datagrid7.rebuild();
  4921. }
  4922. //2008-08-12 오후 1:02:09 taebum 마취기록 발관, 삽관정보 연동 관련 추가
  4923. var sInData = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "indata");
  4924. var sRecstat = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recstat");
  4925. if(sRecstat == "I" && !utlf_isNull(sInData) && sInData != "▥▥"){
  4926. var sInDataArr = sInData.split("▥");
  4927. var sIndt = sInDataArr[0];
  4928. var sInDoctId = sInDataArr[1];
  4929. var sInDoctNm = sInDataArr[2];
  4930. //수술실 회복실 구분
  4931. if(sRecstat == "I" && !utlf_isNull(sIndt) ){
  4932. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctplacecd", "O");
  4933. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayadddt",sIndt.substr(0,8));
  4934. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayaddtm",sIndt.substr(8,4));
  4935. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayid", sInDoctId);
  4936. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayid_tmp", sInDoctId);
  4937. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwaynm", sInDoctNm);
  4938. }
  4939. }
  4940. var sOutData = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "extdata");
  4941. if(sRecstat == "I" && !utlf_isNull(sOutData) && sOutData != "▥▥"){
  4942. var sOutDataArr = sOutData.split("▥");
  4943. var sOutdt = sOutDataArr[0];
  4944. var sOutDoctId = sOutDataArr[1];
  4945. var sOutDoctNm = sOutDataArr[2];
  4946. var sOutBP = sOutDataArr[3];
  4947. var sOutP = sOutDataArr[4];
  4948. var sOutSPO = sOutDataArr[5];
  4949. }
  4950. if(sRecstat == "I" && !utlf_isNull(sOutdt) ){
  4951. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctplacecd", "O");
  4952. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwaydt", sOutdt.substr(0,8));
  4953. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwaytm", sOutdt.substr(8,4));
  4954. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctcairwayextid",sOutDoctId);
  4955. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctcairwayextid_tmp",sOutDoctId);
  4956. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayextnm" ,sOutDoctNm);
  4957. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "notprtctairway", "");
  4958. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayextbp" , sOutBP);
  4959. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayextp" , sOutP);
  4960. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayextspo" , sOutSPO);
  4961. }
  4962. //radio6.refresh();
  4963. //group5.refresh();
  4964. //checkbox2.refresh();
  4965. fMakeRecoTotalTime(); //총 회복 소요시간 setting
  4966. //2008-09-01 오후 8:08:54 taebum 콤보박스 빈 값 추가
  4967. frmf_addComboItem( "switch1.case2.group5.combo4", " ", "", "above" );
  4968. //=================== 조회 후 마감 처리 =========================
  4969. var recendflag = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recendflag");
  4970. //회복간호기록 마감됐는데도 기록지에서 마감체크가 안됐던 부분 오류 수정 by 박영우 2010-02-11
  4971. if( ( recendflag == "2" )||( recendflag == "3" )) {//회복실이 마감에 포함되어 있으면
  4972. switch1.enable = false;
  4973. bbt_save.enable = false;
  4974. btn_rgst_sct.enable = false;
  4975. }else {
  4976. switch1.enable = true;
  4977. }
  4978. //================================================================
  4979. //2008-09-25 오후 9:20:06 수술실에서 넘어온 기도유지 정보가 있을 경우 임시node에 저장
  4980. if(ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.getColumn(0, "prtctplacecd") == "O"){
  4981. ds_hidden_hiddendata_anstinfospec.clearData();
  4982. ds_hidden_hiddendata_anstinfospec.copyData(ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist);
  4983. }
  4984. fn_setChkPrtctairway();
  4985. //20180817 이돈희 : 조회결과 통증사정도구가 FLACC인 경우 점수를 비활성화, 아니면 활성화함
  4986. if(ds_main_MnphrecoData_MnphrecoList.getColumn(0, "inpcatype") == "2"){
  4987. switch1.case2.combo_pca_in_grade.enable = false;
  4988. }
  4989. else{
  4990. switch1.case2.combo_pca_in_grade.enable = true;
  4991. }
  4992. if(ds_main_MnphrecoData_MnphrecoList.getColumn(0, "outpcatype") == "2"){
  4993. switch1.case2.combo_pca_out_grade.enable = false;
  4994. }
  4995. else{
  4996. switch1.case2.combo_pca_out_grade.enable = true;
  4997. }
  4998. }
  4999. function cf_TRMNP00701(sSvcId, nErrorCode, sErrorMsg) {
  5000. arErrorCode.push(sSvcId, nErrorCode);
  5001. }
  5002. /* ------------------------------------------------- */
  5003. /* desc : 회복기록 자료저장하기 */
  5004. /* param : pModel - Model */
  5005. /* tNode - Target Node */
  5006. /* sNode - Source Node */
  5007. /* return : */
  5008. /* -------------------------------------------------- */
  5009. function fSave(pFlag){
  5010. //ds_main_MnphrecoData_MnphrecoList
  5011. var sTempOprsrvno = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "oprsrvno");
  5012. if(utlf_isNull(sTempOprsrvno)){
  5013. return;
  5014. }
  5015. xNode = xPathData;
  5016. nLen = eval(xNode).rowcount; //.childNodes.length;
  5017. var iCurrentRow = ds_HideData_opschelists_schelist.rowposition; //datagrid5.row;
  5018. var sData = "";
  5019. var nName = "";
  5020. var sPath = "";
  5021. var tNode = "ds_send_MnphrecoList";
  5022. dsf_setDefaultVal(ds_main_MnphrecoData_MnphrecoList, "all");
  5023. var sOutplcenm = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "outplcenm");
  5024. //2008-08-11 오전 9:54:29 taebum 주석처리
  5025. //var sOpstatcdnew = ds_main_opPatLists_opPatList.getColumn(0, "opstatcd");
  5026. //var sOpstatcd = ds_main_opPatLists_opPatList.getColumn(0, "opstatcd");
  5027. //스케줄 정보 이용 주석처리
  5028. //var sOpstatcdnew = ds_HideData_opschelists_schelist.getColumn(iCurrentRow, "opstatcd");
  5029. //var sOpstatcd = ds_HideData_opschelists_schelist.getColumn(iCurrentRow, "opstatcd");
  5030. var sOpstatcdnew = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "opstatcd");
  5031. var sOpstatcd = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "opstatcd");
  5032. sInrmdt = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "inrmdt")
  5033. + ds_main_MnphrecoData_MnphrecoList.getColumn(0, "inrmtm");
  5034. outrmdt = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "outrmdt")
  5035. + ds_main_MnphrecoData_MnphrecoList.getColumn(0, "outrmtm");
  5036. if(pFlag == "1"){
  5037. if(utlf_isNull(sInrmdt) || String(sInrmdt).replace(' ', '').length < 12){
  5038. sysf_messageBox("입실일시를 입력하십시오.","I000");
  5039. return;
  5040. }
  5041. if(ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recstat") != "U"){
  5042. //button5.dispatch("DOMActivate");
  5043. switch1_case2_button5_onclick(null, null);
  5044. }
  5045. }
  5046. if( pFlag == "C" ) {
  5047. fChkPatAddTool();
  5048. }
  5049. eval(tNode).clearData();
  5050. eval(tNode).copyData(eval(xNode));
  5051. dsf_setDefaultVal(eval(tNode), "all");
  5052. lf_convertDsToXml_All();
  5053. // 필수 확인.
  5054. //
  5055. // for (var i = 0; i < nLen; i++){
  5056. // nName = xNode.childNodes(i).nodeName;
  5057. // sPath = xPathData + "/" + nName;
  5058. // cNode = instance1.selectSingleNode(sPath);
  5059. //
  5060. // if (cNode.childNodes.length > 0 ) {
  5061. // sData = instance1.selectSingleNode(sPath+"/"+cNode.childNodes(0).nodeName).xml;
  5062. // } else {
  5063. // sData = xNode.childNodes(i).nodeValue;
  5064. // }
  5065. //
  5066. // //alert(sPath+"===>>"+sData);
  5067. // //alert(tNode+ " , " + nName+ " : " +sData);
  5068. // model.makeValue(tNode+ "/" + nName, sData);
  5069. // }
  5070. var sTempRecMode = pFlag;
  5071. if(sTempRecMode != "1" && sTempRecMode != "2"){
  5072. sTempRecMode = "";
  5073. }
  5074. dsf_makeValue( eval(tNode), "recmode", "string", sTempRecMode); // 기록모드
  5075. // model.setValue(tNode+ "_recovroom",ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recovroom").substr(2,2));
  5076. dsf_makeValue( eval(tNode), "inrmdt", "string" ,sInrmdt); // 입실일시
  5077. dsf_makeValue( eval(tNode), "outrmdt", "string" ,outrmdt); // 퇴실일시
  5078. var sInRoomRecDt = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recindttm");
  5079. var sOutRoomRecDt = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recoutdttm");
  5080. var sInScore = ds_main_MnphrecoData_MnphrecoList_recovstatvalutable_valuitemlists.getColumn(0, "valuitemarrvtot");
  5081. var sOutScore = ds_main_MnphrecoData_MnphrecoList_recovstatvalutable_valuitemlists.getColumn(0, "valuitemleavtot");
  5082. var blodrecord = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "blodrecord");
  5083. //2008-09-01 오후 3:40:53 taebum 인증저장일 경우 Blocking 추가
  5084. if(pFlag == "C" || pFlag == "2"){
  5085. if(pFlag == "2"){
  5086. var sTmpRecIndttm = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recindttm");
  5087. if(utlf_isNull(sInRoomRecDt) || String(sInRoomRecDt).replace(' ', '').length < 12 || utlf_isNull(sTmpRecIndttm)){
  5088. sysf_messageBox("입실저장을 하십시오.","I000");
  5089. return;
  5090. }
  5091. if(sInScore < "1"){
  5092. sysf_messageBox("입실시 회복상태 평가표를 입력하십시오.","I000");
  5093. return;
  5094. }
  5095. if(ds_main_MnphrecoData_MnphrecoList_recovstatvalutable_valuitemlists.getColumn(0, "valuitemleavtot") == "0"){
  5096. sysf_messageBox("퇴실시 회복상태 평가표를 입력하십시오.","I000");
  5097. return;
  5098. }
  5099. if(blodrecord > 0){
  5100. sysf_messageBox("종료되지 않은 수혈간호업무가 있습니다. 수혈간호기록 종료 여부를 확인하시기 바랍니다.","I000");
  5101. }
  5102. }else{
  5103. if(utlf_isNull(sOutRoomRecDt)){
  5104. sysf_messageBox("퇴실저장을 하십시오.","I000");
  5105. return;
  5106. }
  5107. }
  5108. if(pFlag == "2" && (utlf_isNull(outrmdt) || String(outrmdt).replace(' ', '').length < 12)){
  5109. sysf_messageBox("퇴실일시를 입력하십시오.","I000");
  5110. return;
  5111. }
  5112. if(utlf_isNull(sInrmdt) && !utlf_isNull(outrmdt)){
  5113. sysf_messageBox("퇴실일시가 입력되었으므로 입실일시도 입력하십시오.","I000");
  5114. return;
  5115. }
  5116. if(!utlf_isNull(sInrmdt) && !utlf_isNull(outrmdt) && sInrmdt >= outrmdt){
  5117. sysf_messageBox("퇴실일시가 입력일시보다 시간이 이릅니다. 다시 입력하십시오.","I000");
  5118. return;
  5119. }
  5120. if((!utlf_isNull(outrmdt) && utlf_isNull(sOutplcenm)) || utlf_isNull(sOutplcenm)){
  5121. sysf_messageBox("퇴실장소를 입력하십시오.","I000");
  5122. return;
  5123. }
  5124. if((utlf_isNull(outrmdt) && !utlf_isNull(sOutplcenm)) || utlf_isNull(outrmdt)){
  5125. sysf_messageBox("퇴실일시를 입력하십시오.","I000");
  5126. return;
  5127. }
  5128. if(pFlag == "C"){
  5129. if(sInScore < "1"){
  5130. sysf_messageBox("입실시 회복상태 평가표를 입력하십시오.","I000");
  5131. return;
  5132. }
  5133. if(sOutScore < "1"){
  5134. sysf_messageBox("퇴실시 회복상태 평가표를 입력하십시오.","I000");
  5135. return;
  5136. }
  5137. if(blodrecord > 0){
  5138. sysf_messageBox("종료되지 않은 수혈간호업무가 있습니다. 수혈간호기록 종료 여부를 확인하시기 바랍니다.","I000");
  5139. }
  5140. }
  5141. }
  5142. //2008-06-04 오후 2:49:52 taebum
  5143. //수술예약정보 테이블의 환자위치정보 저장을 위한 변수 선언
  5144. var sPatposplcecd = "";
  5145. var sSmsPlaenm = ""; //SMS전송시 퇴실 장소명
  5146. //2008-08-12 오전 10:59:40 taebum 70 회복종료 정보를 쓰지 않고 50 종료를 쓰기로 함.
  5147. //2008-09-01 오후 4:51:07 퇴실시간이 있을 경우 무조건 수술예약정보 수정
  5148. //if (sOpstatcd == "60" && sOpstatcd != "99" && outrmdt != "") {//회복일 경우
  5149. if (!utlf_isNull(outrmdt))
  5150. {//회복일 경우
  5151. sOpstatcdnew = "50" ; // 진행상태:회복퇴실
  5152. sPatposplcecd = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "outplcenm");//퇴실장소정보
  5153. sSmsPlaenm = ds_init_M0021_M0021.lookupExpr("cdid == '" + sPatposplcecd + "'", "cdnm");
  5154. dsf_makeValue( eval(tNode), "smsoutplcenm", "string" , sSmsPlaenm);
  5155. }
  5156. else
  5157. {
  5158. sPatposplcecd = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recovroom");//회복장소정보
  5159. }
  5160. dsf_makeValue( eval(tNode), "sndoutsmsflag" , "string", ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.getColumn(0, "outsmsmsgflag"));
  5161. dsf_makeValue( eval(tNode), "opstatcd" , "string", sOpstatcd); // 수술상태
  5162. dsf_makeValue( eval(tNode), "opstatcdnew", "string", sOpstatcdnew); // 수술상태
  5163. //model.makeValue(tNode+ "_ophistno", ds_main_opPatLists_opPatList.getColumn(0, "ophistno")); //2008-08-11 오후 3:01:51
  5164. dsf_makeValue( eval(tNode), "ophistno", "string", ds_main_MnphrecoData_MnphrecoList.getColumn(0, "ophistno"));
  5165. dsf_makeValue( eval(tNode), "patposplcecd", "string", sPatposplcecd); // 환자위치정보
  5166. //2008-06-04 오전 9:03:20 taebum add
  5167. //**********************************************************************
  5168. //합병증정보 생성
  5169. fMakeComplInfo();
  5170. //안전관리 점검 정보 생성 by 박영우 20100316
  5171. fMakeResafeInfo();
  5172. //삽관류 리스트 정보 생성 by 손성훈. 2012.05.16
  5173. fMakeReintubInfo();
  5174. var sPreGoodList = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "pregoodlist");
  5175. var sDeptRemark = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "deptremark");
  5176. dsf_makeValue( eval(tNode), "pregoodlist", "string" , sPreGoodList); //부서준비물품내역
  5177. dsf_makeValue( eval(tNode), "deptremark", "string" , sDeptRemark); //부서전달사항
  5178. //**********************************************************************
  5179. //인증관련
  5180. var CertFlag = true;
  5181. if (pFlag == "C") {
  5182. //*****************************
  5183. //인증저장 구분 setting
  5184. sSignFlag = "G";
  5185. //*****************************
  5186. CertFlag = fSignProcessSet();
  5187. }
  5188. if (CertFlag == false) return; // 인증실패
  5189. if(pFlag != "C"){
  5190. pFlag = "T";
  5191. }
  5192. dsf_makeValue( eval(tNode), "certflag", "string",pFlag);
  5193. dsf_makeValue( eval(tNode), "recodeptcd", "string", ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recodeptcd"));
  5194. //progress 체크
  5195. // datagrid2 --> ds_main_revrInfo_mnphrepg로 대체함.
  5196. for(var i = 0 ; i < ds_main_revrInfo_mnphrepg.rowcount; i++){
  5197. if(utlf_isNull(ds_main_revrInfo_mnphrepg.getColumn(i, "progressno"))){
  5198. sysf_messageBox("Progressno 누락 정보가 존재합니다. 수정 후 저장하십시요.", "E");
  5199. return;
  5200. }else{
  5201. for(var j = i + 1 ; j < ds_main_revrInfo_mnphrepg.rowcount ; j++){
  5202. if(ds_main_revrInfo_mnphrepg.getColumn(i,"progressno") == ds_main_revrInfo_mnphrepg.getColumn(j,"progressno")) {
  5203. sysf_messageBox("동일한 Progressno가 존재합니다. 수정 후 저장하십시요.", "E");
  5204. return;
  5205. }
  5206. }
  5207. }
  5208. }
  5209. //장비 사용 정보 시작_종료 시간 자동 입력 처리
  5210. /*
  5211. for( var i = 1 ; i <= getNodesetCount(sTempGridXpath) ; i++ ){
  5212. alert(model.getValue(sTempGridXpath + "[" + i + "]_usesrttm") + " " + sInrmdt);
  5213. if(model.getValue(sTempGridXpath + "[" + i + "]_usesrttm") == ""){
  5214. model.setValue(sTempGridXpath + "[" + i + "]_usesrttm", sInrmdt);
  5215. }
  5216. if(model.getValue(sTempGridXpath + "[" + i + "]_useendtm") == ""){
  5217. model.setValue(sTempGridXpath + "[" + i + "]_useendtm", outrmdt);
  5218. }
  5219. }*/
  5220. //model.resetInstanceNode(tNode);
  5221. //LiveException 위한 환자 이름 추가 by 박영우 20100323
  5222. dsf_makeValue( eval(tNode), "patname", "string", ds_main_MnphrecoData_MnphrecoList.getColumn(0, "patname"));
  5223. //if(submit("TXMNP00701", false)){
  5224. var oParam = {};
  5225. oParam.id = "TXMNP00701";
  5226. oParam.service = "opanstapp.OpAnstRef";
  5227. oParam.method = "reqExeMnphrecoInfo";
  5228. oParam.inds = "MnphrecoList=ds_send_MnphrecoList signinfo=ds_send_signdata";
  5229. oParam.outds = "ds_temp_seqno=seqno";
  5230. oParam.async = false;
  5231. oParam.callback = "cf_TXMNP00701";
  5232. tranf_submit(oParam);
  5233. if(arErrorCode.pop("TXMNP00701") > -1){ // 회복실간호기록정보 저장
  5234. //2009-06-03 오전 9:35:51 강지훈 수정 : 인증저장 버튼 merge
  5235. ds_main_paminfo_list.clearData();
  5236. node = sysf_getGlobalVariable("paminfo");
  5237. dsf_setCSVToDs("ds_main_paminfo_list", node);
  5238. var sIOFlag = ds_main_paminfo_list.getColumn(0, "ioflag"); // I_O 구분
  5239. dsf_makeValue(ds_main_revrInfo_recopkinfo, "recovseqno", "string", ds_temp_seqno.getColumn(0, "recovseqno"));
  5240. var sRecovseqno = ds_main_revrInfo_recopkinfo.getColumn(0, "recovseqno");
  5241. //if(sIOFlag == "O"){
  5242. if(!utlf_isNull(sRecovseqno)){
  5243. if (pFlag == "C" || pFlag == "1" ) {
  5244. fSaveGirok1("C");
  5245. }
  5246. if(pFlag != "C"){
  5247. fSaveGirok1("U");
  5248. }
  5249. }
  5250. //}
  5251. if(pFlag == "C"){
  5252. if(ds_temp.rowcount <= 0) {
  5253. ds_temp.addRow();
  5254. }
  5255. ds_temp.setColumn(0, "signflag", "");
  5256. dsf_makeValue( ds_temp, "signflag", "string", "Y");
  5257. fSignProcessSet(); //인증 로직
  5258. ds_temp.setColumn( 0, "signflag", "");
  5259. }
  5260. //submit("TXMNP00703", false); //인증저장
  5261. var oParam = {};
  5262. oParam.id = "TXMNP00703";
  5263. oParam.service = "opanstapp.OpAnstRef";
  5264. oParam.method = "reqExeSignInfo";
  5265. oParam.inds = "signinfo=ds_send_signdata MnphrecoList=ds_send_MnphrecoList";
  5266. oParam.outds = "ds_temp_seqno=seqno";
  5267. oParam.async = false;
  5268. tranf_submit(oParam);
  5269. }
  5270. else{
  5271. alert("저장에 실패하였습니다.");
  5272. }
  5273. //sysf_messageBox("자료 저장이", "I002" );
  5274. eval(xPathData).setColumn( 0, "recstat" ,"U"); // Record 상태정보 I:신규,U:수정
  5275. eval(xPathData).setColumn( 0, "recovseqno", ds_temp_seqno.getColumn(0, "recovseqno")); // 진행상태
  5276. //2008-09-19 오후 4:29:24 taebum 입실 및 퇴실저장을 하였을 경우 색표시
  5277. var sTmpStat = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recstat");
  5278. if(sTmpStat == "U"){
  5279. if(pFlag == "1"){
  5280. if( !utlf_isNull(ds_main_MnphrecoData_MnphrecoList.getColumn(0, "inrmdt")) &&
  5281. !utlf_isNull(ds_main_MnphrecoData_MnphrecoList.getColumn(0, "inrmtm")) &&
  5282. !utlf_isNull(ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recinusernm")) ){
  5283. switch1.case2.inp_inrmdt.style.color = "#0000ff";
  5284. switch1.case2.inp_inrmtm.style.color = "#0000ff";
  5285. }
  5286. }else if(pFlag == "2"){
  5287. if( !utlf_isNull(ds_main_MnphrecoData_MnphrecoList.getColumn(0, "outrmdt")) &&
  5288. !utlf_isNull(ds_main_MnphrecoData_MnphrecoList.getColumn(0, "outrmtm")) &&
  5289. !utlf_isNull(ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recoutusernm")) ){
  5290. switch1.case2.inp_outrmdt.style.color = "#0000ff";
  5291. switch1.case2.inp_outrmtm.style.color = "#0000ff";
  5292. }
  5293. }
  5294. }
  5295. //2008-09-06 오후 3:50:25 taebum 저장 후 재조회하는 패턴 변경.
  5296. var cPath = "ds_HideData_opschelists_schelist"; //["+iCurrentRow+"]";
  5297. var wPath = "ds_init_WorkData" ; //
  5298. eval(wPath).setColumn( 0, "pid" , eval(xPathData).getColumn(0, "pid" )); // 환자번호
  5299. eval(wPath).setColumn( 0, "instcd" , eval(xPathData).getColumn(0, "instcd" )); // 기관코드
  5300. eval(wPath).setColumn( 0, "oprsrvno" , eval(xPathData).getColumn(0, "oprsrvno" )); // 의뢰번호
  5301. eval(wPath).setColumn( 0, "ophistno" , eval(xPathData).getColumn(0, "ophistno" )); // 이력번호
  5302. eval(wPath).setColumn( 0, "recovseqno" , eval(xPathData).getColumn(0, "recovseqno")); // 회복기록연계코드
  5303. // 2008-06-03 오전 8:52:58 taebum 회복기록정보 조회시 합병증정보를 추가로 조회하여 가져오도록 수정함.
  5304. MnphrecoList_Read(); // 회복기록 정보 가져오기
  5305. CareRecList_Read() ; // 간호특이사항 기록 조회
  5306. fGetOpScheList();
  5307. // 2009-06-03 오전 10:00:38 강지훈 : 회복간호기록 1선택되어있을경우 회복간호기록1내용을 조회한다.
  5308. var selectedTab = switch1.tabindex; //.selectedIndex;
  5309. if(selectedTab == 1){ //회복간호기록 1선택
  5310. fGetGiRok1Data("RELOAD", ds_main_revrInfo_mnphrevrtitle.getColumn(0, "data1"));
  5311. }
  5312. var sOprsrvno = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "oprsrvno");
  5313. // var iTotalGridRows = ds_HideData_opschelists_schelist.rowcount; //datagrid5.rows - datagrid5.fixedrows+1;
  5314. // for(var i = 0; i < iTotalGridRows; i++){
  5315. // if(sOprsrvno == ds_HideData_opschelists_schelist.getColumn(i, "oprsrvno")){
  5316. // datagrid5.select(i,0,i,10) = true;
  5317. // datagrid5.select
  5318. // return;
  5319. // }
  5320. // }
  5321. var sTarIdx = ds_main_MnphrecoData_MnphrecoList.findRow("oprsrvno", sOprsrvno);
  5322. if(-1 < sTarIdx)
  5323. ds_main_MnphrecoData_MnphrecoList.rowposition = sTarIdx;
  5324. ds_HideData_opschelists_schelist.selectRow(iCurrentRow);
  5325. ds_HideData_opschelists_schelist.rowposition = iCurrentRow;
  5326. }
  5327. function cf_TXMNP00701(sSvcId, nErrorCode, sErrorMsg) {
  5328. arErrorCode.push(sSvcId, nErrorCode);
  5329. }
  5330. function cf_TXMNP00703(sSvcId, nErrorCode, sErrorMsg) {
  5331. arErrorCode.push(sSvcId, nErrorCode);
  5332. }
  5333. // --- End ---
  5334. //합병증 정보 저장 데이터 생성
  5335. function fMakeComplInfo(){
  5336. var sComplXpath = "_root_main_MnphrecoData_MnphrepmList";
  5337. //var sColSplit = "▦"; //열구분자
  5338. //var sRowSplit = "▩"; //행구분자
  5339. var sColSplit = "▥"; //열구분자
  5340. var sRowSplit = "▤"; //행구분자
  5341. var sRowData = ""; //행정보
  5342. //var sHeader = "complcheck▦complname▦complcode▦recovseqno▦status▩";//헤더정보
  5343. var sHeader = "complcheck▥complname▥complcode▥recovseqno▥status▤";//헤더정보
  5344. var iRowCnt = ds_main_MnphrecoData_MnphrepmList.rowcount; //datagrid6.rows - datagrid6.fixedRows;
  5345. //grid의 정보를 String으로 생성하여 send node에 copy한다.
  5346. /* 주의!! recovseqno 데이터가 없을 경우에는 서버에서 생성하여 준다. */
  5347. for(var i = 0; i < iRowCnt; i++){
  5348. sRowData += utlf_transNullToEmpty(ds_main_MnphrecoData_MnphrepmList.getColumn(i, 0)) + sColSplit +
  5349. utlf_transNullToEmpty(ds_main_MnphrecoData_MnphrepmList.getColumn(i, 1)) + sColSplit +
  5350. utlf_transNullToEmpty(ds_main_MnphrecoData_MnphrepmList.getColumn(i, 2)) + sColSplit +
  5351. utlf_transNullToEmpty(ds_main_MnphrecoData_MnphrepmList.getColumn(i, 3)) + sColSplit +
  5352. utlf_transNullToEmpty(ds_main_MnphrecoData_MnphrepmList.getColumn(i, 4)) + sRowSplit;
  5353. }
  5354. dsf_makeValue( ds_send_MnphrecoList, "complinfo", "string", sHeader+sRowData);
  5355. }
  5356. //안전관리항목 정보 저장 데이터 생성 by 박영우 20100317
  5357. function fMakeResafeInfo(){
  5358. var sReSafeXpath = "ds_main_MnphrecoData_MnphresmList";
  5359. var sColSplit = "▥"; //열구분자
  5360. var sRowSplit = "▤"; //행구분자
  5361. var sRowData = ""; //행정보
  5362. //var sHeader = "resafecheck▦resafecd▦recovseqno▦status";//헤더정보
  5363. var sHeader = "resafecheck▥resafecd▥recovseqno▥status▤";//헤더정보
  5364. var iRowCnt = ds_main_MnphrecoData_MnphresmList.rowcount; //grd_resafe.rows - grd_resafe.fixedRows;
  5365. //grid의 정보를 String으로 생성하여 send node에 copy한다.
  5366. /* 주의!! recovseqno 데이터가 없을 경우에는 서버에서 생성하여 준다. */
  5367. for(var i = 0; i < iRowCnt; i++){
  5368. sRowData += utlf_transNullToEmpty(eval(sReSafeXpath).getColumn( i, "resafecheck")) + sColSplit +
  5369. utlf_transNullToEmpty(eval(sReSafeXpath).getColumn( i, "resafecd")) + sColSplit +
  5370. utlf_transNullToEmpty(eval(sReSafeXpath).getColumn( i, "recovseqno")) + sColSplit +
  5371. utlf_transNullToEmpty(eval(sReSafeXpath).getColumn( i, "status")) + sRowSplit;
  5372. }
  5373. dsf_makeValue( ds_send_MnphrecoList, "resafeinfo", "string", sHeader+sRowData);
  5374. }
  5375. //삽관류항목 정보 저장 데이터 생성 by 손성훈.2012.05.16
  5376. function fMakeReintubInfo(){
  5377. var sReIntubXpath = "ds_main_MnphrecoData_MnphreIntubchkList";
  5378. var sColSplit = "▥"; //열구분자
  5379. var sRowSplit = "▤"; //행구분자
  5380. var sRowData = ""; //행정보
  5381. //var sHeader = "resafecheck▦resafecd▦recovseqno▦status▩";//헤더정보
  5382. var sHeader = "reintubcheck▥reintubcd▥recovseqno▥status▤";//헤더정보
  5383. var iRowCnt = ds_main_MnphrecoData_MnphreIntubchkList.rowcount; //grd_reintub.rows - grd_reintub.fixedRows;
  5384. //grid의 정보를 String으로 생성하여 send node에 copy한다.
  5385. /* 주의!! recovseqno 데이터가 없을 경우에는 서버에서 생성하여 준다. */
  5386. for(var i = 0; i < iRowCnt; i++){
  5387. sRowData += utlf_transNullToEmpty(eval(sReIntubXpath).getColumn( i, "reintubcheck")) + sColSplit +
  5388. utlf_transNullToEmpty(eval(sReIntubXpath).getColumn( i, "reintubcd")) + sColSplit +
  5389. utlf_transNullToEmpty(eval(sReIntubXpath).getColumn( i, "recovseqno")) + sColSplit +
  5390. utlf_transNullToEmpty(eval(sReIntubXpath).getColumn( i, "status")) + sRowSplit;
  5391. }
  5392. dsf_makeValue( ds_send_MnphrecoList, "reintubinfo", "string", sHeader+sRowData);
  5393. }
  5394. // ※ 전자서명 호출
  5395. function fSignProcessSet(pIdx){
  5396. if(Sign.signprocess() == true){
  5397. if(ds_temp.getColumn(0, "signflag") == "Y"){
  5398. //** 상단환자 설정 정보 조회 **//
  5399. ds_main_paminfo_list.clearData();
  5400. node = sysf_getGlobalVariable("paminfo");
  5401. dsf_setCSVToDs("ds_main_paminfo_list", node);
  5402. //ds_send_savedata.setColumn(0, "signinfo", ""); //사용되지 않음. kimdo3 2016.10.22 삭제함.
  5403. var sIOFlag = ds_main_paminfo_list.getColumn(0, "ioflag"); // I_O 구분
  5404. dsf_makeValue( ds_send_signdata, "pid", "string", ds_main_paminfo_list.getColumn(0, "pid")); // 등록번호
  5405. if(sIOFlag == "I" || sIOFlag == "E"){ // 진료일자
  5406. dsf_makeValue( ds_send_signdata,"orddd", "string", ds_main_paminfo_list.getColumn(0, "indd"));
  5407. }else if(sIOFlag == "O"){
  5408. dsf_makeValue( ds_send_signdata,"orddd", "string", ds_main_paminfo_list.getColumn(0, "orddd"));
  5409. }
  5410. //if(!utlf_isNull(ds_main_reclist_recinfo_recinfolists.getColumn(0, "signno")) {
  5411. // dsf_makeValue( ds_send_signdata, "signno", "string", ds_main_reclist_recinfo_recinfolists.getColumn(0, "signno")); // 서명번호
  5412. //}
  5413. dsf_makeValue( ds_send_signdata, "cretno", "string", ds_main_paminfo_list.getColumn(0, "cretno")); // 생성번호
  5414. //2008-06-09 오전 11:14:10 김하영 선생님 요청으로 통합기록 검색에서 조회될 때는 수술일자 수술시간이 보여지도록 요청사항 반영
  5415. //서버단에서 해당 등록번호, 수술에약일시에 해당하는 수술일시를 조회한다. 없을 경우 현재일자, 현재시간으로 등록한다.
  5416. var sRecdd = utlf_getCurrentDate();
  5417. if(!utlf_isNull(ds_main_MnphrecoData_MnphrecoList.getColumn(0, "opcnfmdd"))
  5418. && ds_main_MnphrecoData_MnphrecoList.getColumn(0, "opcnfmdd") != sRecdd){
  5419. sRecdd = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "opcnfmdd"); // 기록일자 - 수술일 기준으로 변경 (2015.05.20 의료정보팀 요청)
  5420. }
  5421. //==========================================================================================================================================================================================
  5422. dsf_makeValue( ds_send_signdata, "recdd", "string", sRecdd); // 실제 기록이 이루어진 기록일자(통합기록에서 보여짐)
  5423. dsf_makeValue( ds_send_signdata, "rectm", "string", utlf_getCurrentTime()); // 실제 기록이 이루어진 기록시간(통합기록에서 보여짐)
  5424. //==========================================================================================================================================================================================
  5425. dsf_makeValue( ds_send_signdata, "recsaveflag", "string", "N"); // 전자서명 인적정보 변경여부(기록일시 변경되는 경우 : Y, 그외 : N)
  5426. dsf_makeValue( ds_send_signdata, "signflag", "string", "02"); // 서명자료구분(01 : 진료, 02 : 간호)
  5427. dsf_makeValue( ds_send_signdata, "signgenrflag","string", sIOFlag); // 서명발생구분 (코드정의서 M0010 참조)
  5428. dsf_makeValue( ds_send_signdata, "formcd", "string", "0000002474"); // 각 기록지별 서식코드
  5429. dsf_makeValue( ds_send_signdata, "signno", "string", ds_main_MnphrecoData_MnphrecoList.getColumn(0, "pkidatetimems")); //인증번호를 리턴하면 한건만 조회한다.
  5430. dsf_makeValue( ds_send_signdata, "orddeptcd", "string", ds_main_paminfo_list.getColumn(0, "orddeptcd")); // 진료부서코드
  5431. dsf_makeValue( ds_send_signdata, "orddrid", "string", ds_main_paminfo_list.getColumn(0, "medispclid")); // 진료의사ID
  5432. dsf_makeValue( ds_send_signdata, "signbfcnts", "string", Sign.signedInfos[1]); // 인증할 데이터 정보(미기록 노드 제거된 정보)
  5433. dsf_makeValue( ds_send_signdata, "signaftcnts", "string", Sign.signedInfos[2]); // 공인인증 처리후 데이터
  5434. }
  5435. return true;
  5436. }else{
  5437. return false;
  5438. }
  5439. }
  5440. /* ------------------------------------------------- */
  5441. /* desc : 인증데이터 만들기 */
  5442. /* param : pModel - Model */
  5443. /* tNode - Target Node */
  5444. /* sNode - Source Node */
  5445. /* return : */
  5446. /* -------------------------------------------------- */
  5447. function fMake_SignData(){
  5448. //************************************************
  5449. // 인증시 코드로 들어간 데이터는 명칭으로 바꾸어서 저장한다.
  5450. //************************************************
  5451. //인증할 데이터를 copyNode한다.
  5452. var arrSignPath = new Array();
  5453. var arrSignDs = new Array();
  5454. //ok
  5455. //Sign.addnode("/MnphrecoList", ds_main_MnphrecoData_MnphrecoList.saveXML() ); //회복실기록II
  5456. var iMnphrepmCnt = 0;
  5457. var tempNodeInfo = ds_main_MnphrecoData_MnphrepmList;
  5458. var sCheckFlag = "false";
  5459. var sStatus = "";
  5460. var iTempIcnt = 0;
  5461. ds_hidden_temp_MnphrepmLists_MnphrepmList.clearData();
  5462. dsf_copyColInfo(ds_hidden_temp_MnphrepmLists_MnphrepmList, ds_main_MnphrecoData_MnphrepmList);
  5463. for(var i = 0; i < ds_main_MnphrecoData_MnphrepmList.rowcount; i++){
  5464. sCheckFlag = ds_main_MnphrecoData_MnphrepmList.getColumn(i, "complcheck");
  5465. sStatus = ds_main_MnphrecoData_MnphrepmList.getColumn(i, "status");
  5466. if( (sCheckFlag == "true" && sStatus == "U" )
  5467. || (sCheckFlag == "true" && sStatus == "I" ) ){
  5468. iTempIcnt = ds_hidden_temp_MnphrepmLists_MnphrepmList.addRow();
  5469. ds_hidden_temp_MnphrepmLists_MnphrepmList.copyRow( iTempIcnt, ds_main_MnphrecoData_MnphrepmList, i);
  5470. }
  5471. }
  5472. //불필요한 상태정보는 삭제함.
  5473. //============================================================================
  5474. ds_hidden_temp_MnphrepmLists_MnphrepmList.deleteColumn("status");
  5475. ds_hidden_temp_MnphrepmLists_MnphrepmList.deleteColumn("complcheck");
  5476. //============================================================================
  5477. if(ds_hidden_temp_MnphrepmLists_MnphrepmList.rowcount > 0){
  5478. //합병증리스트
  5479. //Sign.addnode("ds_hidden_temp_MnphrepmLists");
  5480. //Sign.addnode("/MnphrepmLists/MnphrepmList", ds_hidden_temp_MnphrepmLists_MnphrepmList.saveXML());
  5481. arrSignPath = new Array();
  5482. arrSignDs = new Array();
  5483. arrSignPath[0] = "/MnphrepmLists/MnphrepmList";
  5484. arrSignDs[0] = ds_hidden_temp_MnphrepmLists_MnphrepmList.saveXML();
  5485. Sign.addnodeset(arrSignPath, arrSignDs);
  5486. }
  5487. //안전항목관리 리스트 추가 by 박영우 20100316
  5488. var iMnphresrCnt = 0;
  5489. var tempNodeResrInfo = ds_main_MnphrecoData_MnphresmList;
  5490. var sResrCheckFlag = "false";
  5491. var sResrStatus = "";
  5492. var iResrTempIcnt = 0;
  5493. ds_hidden_temp_MnphresmLists_MnphresmList.clearData();
  5494. dsf_copyColInfo(ds_hidden_temp_MnphresmLists_MnphresmList, ds_main_MnphrecoData_MnphresmList);
  5495. if(!utlf_isNull(tempNodeResrInfo)) {
  5496. for(var i = 0; i < ds_main_MnphrecoData_MnphresmList.rowcount; i++){
  5497. sResrCheckFlag = ds_main_MnphrecoData_MnphresmList.getColumn(i, "resafecheck");
  5498. sResrStatus = ds_main_MnphrecoData_MnphresmList.getColumn(i, "status");
  5499. if(((sResrCheckFlag == "true" || sResrCheckFlag == "1") && sResrStatus == "U" )||
  5500. ((sResrCheckFlag == "true" || sResrCheckFlag == "1") && sResrStatus == "I" ) ){
  5501. iResrTempIcnt = ds_hidden_temp_MnphresmLists_MnphresmList.addRow();
  5502. ds_hidden_temp_MnphresmLists_MnphresmList.copyRow( iResrTempIcnt, ds_main_MnphrecoData_MnphresmList, i);
  5503. }
  5504. }
  5505. }
  5506. //불필요한 상태정보는 삭제함.
  5507. //============================================================================
  5508. ds_hidden_temp_MnphresmLists_MnphresmList.enableevent = false;
  5509. ds_hidden_temp_MnphresmLists_MnphresmList.updatecontrol = false;
  5510. ds_hidden_temp_MnphresmLists_MnphresmList.deleteColumn("status");
  5511. ds_hidden_temp_MnphresmLists_MnphresmList.deleteColumn("resafecheck");
  5512. ds_hidden_temp_MnphresmLists_MnphresmList.updatecontrol = true;
  5513. ds_hidden_temp_MnphresmLists_MnphresmList.enableevent = true;
  5514. //============================================================================
  5515. if(ds_hidden_temp_MnphresmLists_MnphresmList.rowcount > 0){
  5516. //안전항목관리 리스트
  5517. //Sign.addnode("/MnphresmLists/MnphrepmList", ds_hidden_temp_MnphresmLists_MnphresmList.saveXML());
  5518. arrSignPath = new Array();
  5519. arrSignDs = new Array();
  5520. arrSignPath[0] = "/MnphresmLists/MnphresmList";
  5521. arrSignDs[0] = ds_hidden_temp_MnphresmLists_MnphresmList.saveXML();
  5522. Sign.addnodeset(arrSignPath, arrSignDs);
  5523. }
  5524. //삽관류항목 관리 리스트 추가 by 손성훈 2012.05.16
  5525. var iMnphresrCnt = 0;
  5526. var tempNodeReintubInfo = ds_main_MnphrecoData_MnphreIntubchkList;
  5527. var sReintubCheckFlag = "false";
  5528. var sReintubStatus = "";
  5529. var iReintubTempIcnt = 0;
  5530. ds_hidden_temp_MnphresmLists_MnphreIntubchkList.clearData();
  5531. dsf_copyColInfo(ds_hidden_temp_MnphresmLists_MnphreIntubchkList, ds_main_MnphrecoData_MnphreIntubchkList);
  5532. if(!utlf_isNull(tempNodeReintubInfo)) {
  5533. for(var i = 0; i< ds_main_MnphrecoData_MnphreIntubchkList.rowcount; i++){
  5534. sReintubCheckFlag = ds_main_MnphrecoData_MnphreIntubchkList.getColumn(i, "reintubcheck");
  5535. sReintubStatus = ds_main_MnphrecoData_MnphreIntubchkList.getColumn(i, "status");
  5536. if(((sReintubCheckFlag == "true" || sReintubCheckFlag == "1") && sReintubStatus == "U" )||
  5537. ((sReintubCheckFlag == "true" || sReintubCheckFlag == "1") && sReintubStatus == "I" ) ){
  5538. iReintubTempIcnt = ds_hidden_temp_MnphresmLists_MnphreIntubchkList.addRow();
  5539. ds_hidden_temp_MnphresmLists_MnphreIntubchkList.copyRow( iReintubTempIcnt, ds_main_MnphrecoData_MnphreIntubchkList, i);
  5540. }
  5541. }
  5542. }
  5543. //불필요한 상태정보는 삭제함.
  5544. //============================================================================
  5545. ds_hidden_temp_MnphresmLists_MnphreIntubchkList.enableevent = false;
  5546. ds_hidden_temp_MnphresmLists_MnphreIntubchkList.updatecontrol = false;
  5547. ds_hidden_temp_MnphresmLists_MnphreIntubchkList.deleteColumn("status");
  5548. ds_hidden_temp_MnphresmLists_MnphreIntubchkList.deleteColumn("reintubcheck");
  5549. ds_hidden_temp_MnphresmLists_MnphreIntubchkList.updatecontrol = true;
  5550. ds_hidden_temp_MnphresmLists_MnphreIntubchkList.enableevent = true;
  5551. //============================================================================
  5552. if(ds_hidden_temp_MnphresmLists_MnphreIntubchkList.rowcount > 0){
  5553. //안전항목관리 리스트
  5554. //Sign.addnode("_root_hidden_temp_MnphreIntubchkList");
  5555. //Sign.addnode("/MnphreIntubchkList", ds_hidden_temp_MnphresmLists_MnphreIntubchkList.saveXML());
  5556. arrSignPath = new Array();
  5557. arrSignDs = new Array();
  5558. arrSignPath[0] = "/MnphresmLists/MnphreIntubchkList";
  5559. arrSignDs[0] = ds_hidden_temp_MnphresmLists_MnphreIntubchkList.saveXML();
  5560. Sign.addnodeset(arrSignPath, arrSignDs);
  5561. }
  5562. var sPrtctairway = ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.getColumn(0, "prtctairway");
  5563. if(utlf_isNull(sPrtctairway)){
  5564. ds_Hidedata_temp.clearData();
  5565. }else{
  5566. ds_Hidedata_temp.copyData(ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist);
  5567. var sPrtctairwayArr = sPrtctairway.split(" ");
  5568. if(sPrtctairwayArr.length > 0){
  5569. var sPrtctairwaymthdnm = "";
  5570. for(var i = 0; i < sPrtctairwayArr.length; i++){
  5571. var sTmpPrtctairway = sPrtctairwayArr[i];
  5572. switch(sTmpPrtctairway){
  5573. case "1" :
  5574. if(utlf_isNull(sPrtctairwaymthdnm)){
  5575. sPrtctairwaymthdnm = "Endotracheal";
  5576. }else{
  5577. sPrtctairwaymthdnm = sPrtctairwaymthdnm + ", " + "Endotracheal";
  5578. }
  5579. break;
  5580. case "2" :
  5581. if(utlf_isNull(sPrtctairwaymthdnm)){
  5582. sPrtctairwaymthdnm = "Oral airway";
  5583. }else{
  5584. sPrtctairwaymthdnm = sPrtctairwaymthdnm + ", " + "Oral airway";
  5585. }
  5586. break;
  5587. case "3" :
  5588. if(utlf_isNull(sPrtctairwaymthdnm)){
  5589. sPrtctairwaymthdnm = "Nasal airway";
  5590. }else{
  5591. sPrtctairwaymthdnm = sPrtctairwaymthdnm + ", " + "Nasal airway";
  5592. }
  5593. break;
  5594. case "4" :
  5595. if(utlf_isNull(sPrtctairwaymthdnm)){
  5596. sPrtctairwaymthdnm = "Tracheostomy";
  5597. }else{
  5598. sPrtctairwaymthdnm = sPrtctairwaymthdnm + ", " + "Tracheostomy";
  5599. }
  5600. break;
  5601. case "5" :
  5602. if(utlf_isNull(sPrtctairwaymthdnm)){
  5603. sPrtctairwaymthdnm = "None";
  5604. }else{
  5605. sPrtctairwaymthdnm = sPrtctairwaymthdnm + ", " + "None";
  5606. }
  5607. break;
  5608. }
  5609. }
  5610. //var wOprsPath = Sign.XPATH_SIGNINFO + "/MnphrecoList/prtctairwayspec/prtctairwaylists";
  5611. //dsf_makeValue( eval(wOprsPath), "prtctairwaymthdnm", "string", sPrtctairwaymthdnm);
  5612. dsf_makeValue(ds_Hidedata_temp, "prtctairwaymthdnm", "string", sPrtctairwaymthdnm);
  5613. //Sign.addnode(Sign.XPATH_SIGNINFO + "/MnphrecoList/prtctairwayspec/prtctairwaylists/prtctairwaymthdnm", ds_Hidedata_temp.saveXML());
  5614. //arrSignPath = new Array();
  5615. //arrSignDs = new Array();
  5616. // arrSignPath[2] = "/MnphrecoList/prtctairwayspec/prtctairwaylists";
  5617. // arrSignDs[2] = ds_Hidedata_temp.saveXML();
  5618. // Sign.addnodeset(arrSignPath, arrSignDs);
  5619. var pParam = new Object();
  5620. pParam.cDataYN = "N";
  5621. pParam.nullNodeYN = "N";
  5622. var XMLGUJO = '<prtctairwaylists><prtctplacecd/><prtctairwayadddt/><prtctairwaymthdnm/><prtctairwayaddtm/><prtctairwayid/><prtctairwayid_tmp/><prtctairwaynm/><prtctairwayur/><prtctairway/><prtctairwaydt/><prtctairwaytm/><prtctcairwayextid/><prtctcairwayextid_tmp/><prtctairwayextnm/><prtctairwayextbp/><prtctairwayextp/><prtctairwayextspo/><notprtctairway/><outsmsmsgflag/></prtctairwaylists>';
  5623. sParamObjArr = [{ds: "ds_Hidedata_temp", path:"/prtctairwaylists", filter: ""}];
  5624. ds_infectspec_XML_RSLT= lf_convertDsToXml(sParamObjArr,XMLGUJO, pParam);
  5625. ds_main_MnphrecoData_MnphrecoList.enableevent = false;
  5626. ds_main_MnphrecoData_MnphrecoList.updatecontrol = false;
  5627. ds_main_MnphrecoData_MnphrecoList.setColumn(0, "prtctairwayspec", ds_infectspec_XML_RSLT);
  5628. ds_main_MnphrecoData_MnphrecoList.updatecontrol = true;
  5629. ds_main_MnphrecoData_MnphrecoList.enableevent = true;
  5630. }
  5631. }
  5632. //20181203 이돈희 : 회복상태 평가표가 한번에 반영 안되는 현상 발생
  5633. // : 인증데이터에는 ds_main_MnphrecoData_MnphrecoList 값을 반영하는데, 회복상태 평가표 변경시에는
  5634. // : ds_send_MnphrecoList 데이터만 변경함. 한번 저장하고 불러와야만 main에 값이 들어감
  5635. if(ds_send_MnphrecoList.rowcount > 0){
  5636. ds_main_MnphrecoData_MnphrecoList.setColumn(0, "recovstatvalutable", ds_send_MnphrecoList.getColumn(0, "recovstatvalutable"));
  5637. }
  5638. arrSignPath = new Array();
  5639. arrSignDs = new Array();
  5640. arrSignPath[0] = "/MnphrecoList";
  5641. arrSignDs[0] = ds_main_MnphrecoData_MnphrecoList.saveXML();
  5642. //trace(ds_main_MnphrecoData_MnphrecoList.saveXML());
  5643. Sign.addnodeset(arrSignPath, arrSignDs);
  5644. node = sysf_getGlobalVariable("paminfo");
  5645. dsf_setCSVToDs("ds_main_paminfo_list",node); //setCSVToNode("ds_main_paminfo", node);
  5646. var sIOFlag = ds_main_paminfo_list.getColumn(0, "ioflag"); // I_O 구분
  5647. //debugger;
  5648. //if(sIOFlag == "O"){
  5649. ds_HideData_allsigndatas_signdata.clearData();
  5650. ds_send.clearData();
  5651. ds_send.addRow();
  5652. dsf_makeValue( ds_send, "recovseqno", "string", ds_main_revrInfo_recopkinfo.getColumn(0, "recovseqno"));
  5653. //if(submit("TRMNP00714")){
  5654. var oParam = {};
  5655. oParam.id = "TRMNP00714";
  5656. oParam.service = "opanstapp.OpAnstRef";
  5657. oParam.method = "reqGetRecoAllInfoForSign";
  5658. oParam.inds = "req=ds_send";
  5659. oParam.outds = "ds_HideData_allsigndatas_signdata=signdata ds_HideData_allsigndatas_repgdata=repgdata";
  5660. oParam.async = false;
  5661. oParam.callback = "cf_TRMNP00714";
  5662. tranf_submit(oParam);
  5663. if(arErrorCode.pop("TRMNP00714") > -1){
  5664. ds_hidden_temp_recovrecinfo.clearData();
  5665. ds_hidden_temp_recovrecinfo_signdatas_signdata.clearData();
  5666. ds_hidden_temp_recovrecinfo_repgdatas_repgdata.clearData();
  5667. ds_hidden_temp_recovrecinfo_signdatas_signdata.copyData(ds_HideData_allsigndatas_signdata);
  5668. ds_hidden_temp_recovrecinfo_repgdatas_repgdata.copyData(ds_HideData_allsigndatas_repgdata);
  5669. ds_hidden_temp_recovrecinfo_signdatas_signdata.updateColID("col1", "data1");
  5670. ds_hidden_temp_recovrecinfo_signdatas_signdata.updateColID("col2", "data2");
  5671. ds_hidden_temp_recovrecinfo_signdatas_signdata.updateColID("col3", "data3");
  5672. ds_hidden_temp_recovrecinfo_signdatas_signdata.updateColID("col4", "data4");
  5673. ds_hidden_temp_recovrecinfo_signdatas_signdata.updateColID("col5", "data5");
  5674. ds_hidden_temp_recovrecinfo_signdatas_signdata.updateColID("col6", "data6");
  5675. ds_hidden_temp_recovrecinfo_signdatas_signdata.updateColID("col7", "data7");
  5676. ds_hidden_temp_recovrecinfo_signdatas_signdata.updateColID("col8", "data8");
  5677. ds_hidden_temp_recovrecinfo_signdatas_signdata.updateColID("col9", "data9");
  5678. var DataSet_XMLChangeName = "";
  5679. var pParam = new Object();
  5680. pParam.cDataYN = "N";
  5681. pParam.nullNodeYN = "N";
  5682. pParam.cDataYN = "N";
  5683. //Sign.addnode("/recovrecinfo/signdatas/signdata", ds_hidden_temp_recovrecinfo_signdatas_signdata.saveXML());
  5684. sParamObjArr = [{ds: "ds_hidden_temp_recovrecinfo_signdatas_signdata", path:"/signdata", filter: ""}];
  5685. DataSet_XMLChangeName = lf_convertDsToXml(sParamObjArr,"<signdata><lrgnm/><vsitemnm/><data1/><data2/><data3/><data4/><data5/><data6/><data7/><data8/><data9/></signdata>", pParam);
  5686. DataSet_XMLChangeName = DataSet_XMLChangeName.replace("<![CDATA[<signdata>", "<signdata>");
  5687. DataSet_XMLChangeName = DataSet_XMLChangeName.replace("]]]]><![CDATA[></signdatas> ", "</signdata>");
  5688. dsf_makeValue( ds_hidden_temp_recovrecinfo, "signdatas", "string", DataSet_XMLChangeName);
  5689. sParamObjArr = [{ds: "ds_hidden_temp_recovrecinfo_repgdatas_repgdata", path:"/repgdata", filter: ""}];
  5690. DataSet_XMLChangeName = lf_convertDsToXml(sParamObjArr,"<repgdata><progressno/><recovseqno/><reccmt/><dispno/></repgdata>", pParam);
  5691. dsf_makeValue( ds_hidden_temp_recovrecinfo, "repgdatas", "string", DataSet_XMLChangeName);
  5692. dsf_makeValue( ds_hidden_temp_recovrecinfo, "remfact", "string", ds_main_revrInfo_recopkinfo.getColumn(0, "remfact")); //참고사항을 저장한다.
  5693. arrSignPath = new Array();
  5694. arrSignDs = new Array();
  5695. arrSignPath[0] = "/recovrecinfo";
  5696. arrSignDs[0] = ds_hidden_temp_recovrecinfo.saveXML();
  5697. Sign.addnodeset(arrSignPath, arrSignDs, false);
  5698. }
  5699. }
  5700. function cf_TRMNP00714(sSvcId, nErrorCode, sErrorMsg) {
  5701. arErrorCode.push(sSvcId, nErrorCode);
  5702. }
  5703. /* ------------------------------------------------- */
  5704. /* desc : 장비사용 체크 */
  5705. /* param :
  5706. /* return : */
  5707. /* -------------------------------------------------- */
  5708. function fChkPatAddTool() {
  5709. var usesrttm, useendtm;
  5710. var nodeCnt = ds_main_MnphrecoData_MnphrecoList_pataddtool_pataddlists_pataddlist.rowcount;
  5711. var cnt = 0, row = 0;
  5712. for(var i = 0; i < nodeCnt; i++ ) {
  5713. usesrttm = ds_main_MnphrecoData_MnphrecoList_pataddtool_pataddlists_pataddlist.getColumn( i - cnt, "usesrttm");
  5714. useendtm = ds_main_MnphrecoData_MnphrecoList_pataddtool_pataddlists_pataddlist.getColumn( i - cnt, "useendtm");
  5715. if( utlf_isNull(usesrttm) || utlf_isNull(useendtm) ) {//장비사용시간이 없으면 자동 삭제
  5716. ds_main_MnphrecoData_MnphrecoList_pataddtool_pataddlists_pataddlist.deleteRow( i - cnt );
  5717. cnt++;
  5718. }
  5719. }
  5720. }
  5721. /* ------------------------------------------------- */
  5722. /* desc : Instance NodeCopy 하기 */
  5723. /* param : pModel - Model */
  5724. /* tNode - Target Node */
  5725. /* sNode - Source Node */
  5726. /* return : */
  5727. /* -------------------------------------------------- */
  5728. // function InstanceNodeCopy(pModel, tNode, sNode) {
  5729. //
  5730. // pModel.copyNode(tNode, sNode );
  5731. // }
  5732. /* ------------------------------------------------- */
  5733. /* desc : Instance NodeCopy 하기 */
  5734. /* param : pModel - Model */
  5735. /* tNode - Target Node */
  5736. /* sNode - Source Node */
  5737. /* return : */
  5738. /* -------------------------------------------------- */
  5739. function XmlDataCheck() {
  5740. var tNode = "";
  5741. var tNodeXML = "";
  5742. var tNode_parent = "";
  5743. var sNode = "";
  5744. var sNode_parent = "";
  5745. var patage = parseInt(ds_main_MnphrecoData_MnphrecoList.getColumn(0, "patage")); // 141014 - AYS
  5746. var sInstcd = sysf_getUserInfo("dutplceinstcd");
  5747. var sOpcnfmdd = ds_HideData_condition.getColumn(0, "opcnfmdd");
  5748. //trace("XmlDataCheck : " + sOpcnfmdd + ",Todaydd : " + sDate);
  5749. var sParamObj = new Object();
  5750. sParamObj.pathYN = 'N'; //dsvaluepath 컬럼 사용여부
  5751. for (var i=0; i < XmlInstNm.length; i++){
  5752. tNodeXML = eval(xPathData).getColumn(0, XmlInstNm[i]);
  5753. if(!utlf_isNull(tNodeXML)) {
  5754. var succYn = lf_convertXmlToDs(tNodeXML, sParamObj);
  5755. if(eval("ds_data_" + XmlInstTableNm[i]).rowcount < 1) {
  5756. eval("ds_data_" + XmlInstTableNm[i]).copyData(eval(xPathFormat + "_" + XmlDestTableNm[i]));
  5757. }
  5758. eval(xPathData + "_" + XmlDestTableNm[i]).copyData(eval("ds_data_" + XmlInstTableNm[i]));
  5759. }
  5760. // if (tNode.rowcount < 1) {
  5761. // sNode = eval(xPathFormat + "_" + XmlInstTabNm[i]);
  5762. // //InstanceNodeCopy(model, tNode, sNode);
  5763. // tNode.copyData(sNode);
  5764. // }
  5765. }
  5766. tNode = "ds_data_valuitem";
  5767. tNode_parent = "ds_data_valuitemlists";
  5768. eval(tNode).clearData();
  5769. eval(tNode_parent).clearData();
  5770. tNodeXML = eval(xPathData).getColumn(0, "recovstatvalutable");
  5771. if(!utlf_isNull(tNodeXML)) {
  5772. lf_convertXmlToDs(tNodeXML);
  5773. }
  5774. if (eval("ds_data_valuitemlists").rowcount <= 0 || eval("ds_data_valuitem").rowcount <= 0 ) {
  5775. //trace("XmlDataCheck Logic Start!!");
  5776. if(eval(patage) >= 12){ // 150309 - AYS(기준 나이 수정)
  5777. if(sInstcd == '032' && sOpcnfmdd > '20171015'){ // 171016_AYS_칠곡 적용일자가 2017.10.16
  5778. //trace("instcd : 032, 만12세 이상 진입");
  5779. sNode = xPathFormat + "_" + "recovstatvalutable_valuitemlists_valuitem_032"; // recovstatvalutable --> recovstatvalutable_valuitemlists_valuitem
  5780. sNode_parent = xPathFormat + "_" + "recovstatvalutable_valuitemlists";
  5781. } else{
  5782. //trace("만12세 이상 진입");
  5783. sNode = xPathFormat + "_" + "recovstatvalutable_valuitemlists_valuitem"; // recovstatvalutable --> recovstatvalutable_valuitemlists_valuitem
  5784. sNode_parent = xPathFormat + "_" + "recovstatvalutable_valuitemlists";
  5785. }
  5786. } else if(eval(patage) < 12){
  5787. if(sInstcd == '032' && sOpcnfmdd > '20171129'){ //171129_AYS_칠곡_마취 후 회복상태표(소아) 수정
  5788. //trace("칠곡 && 12세 미만");
  5789. sNode = xPathFormat + "_" + "recovstatvalutable_valuitemlists_valuitem_032"; // recovstatvalutable --> recovstatvalutable_valuitemlists_valuitem
  5790. sNode_parent = xPathFormat + "_" + "recovstatvalutable_valuitemlists";
  5791. } else{
  5792. //alert("만12세 미만 진입");
  5793. sNode = xPathFormat + "_" + "recovstatvalutableChild_valuitemlists_valuitem"; //recovstatvalutableChild --> recovstatvalutableChild_valuitemlists_valuitem
  5794. sNode_parent = xPathFormat + "_" + "recovstatvalutableChild_valuitemlists";
  5795. } //171129_AYS_칠곡_마취 후 회복상태표(소아) 수정
  5796. }
  5797. //InstanceNodeCopy(model, tNode, sNode);
  5798. eval(tNode).copyData(eval(sNode));
  5799. eval(tNode_parent).copyData(eval(sNode_parent));
  5800. }
  5801. eval("ds_data_valuitem").deleteColumn("dsvaluepath");
  5802. eval("ds_data_valuitemlists").deleteColumn("dsvaluepath");
  5803. eval(xPathData + "_recovstatvalutable_valuitemlists_valuitem").copyData(eval("ds_data_valuitem"));
  5804. eval(xPathData + "_recovstatvalutable_valuitemlists").copyData(eval("ds_data_valuitemlists"));
  5805. //var xPathFormat = "_root_init_XmlFormat" ; //
  5806. //var xPathData = "_root_main_MnphrecoData_MnphrecoList" ; //
  5807. //var XmlInstName = "prtctairwayspec" + " " // 1 기도유지내역
  5808. // + "oxgendosespec" + " " // 2 산소투여내역
  5809. // + "recovstatvalutable" + " " // 3 회복상태평가표
  5810. // + "pataddtool" + " " // 4 환자부착기구
  5811. // + "drgecdspec" + " " // 5 배액관 정보
  5812. // + "recovstatvalutableChild"; // 6 회복상태평가표(14세미만) 141013 추가
  5813. //var XmlInstNm = XmlInstName.split(" ");
  5814. //trace("end of XmlDataCheck");
  5815. }
  5816. //-----------------------------------------------------------------
  5817. // 간호일지타입II 화면 호출 : 양천덕씨 완료후 처리되는 사항임.. 9_28
  5818. //-----------------------------------------------------------------
  5819. function fSMMNR03400Call() {
  5820. // 간호일지 호출시 기본 작업 내역
  5821. // - 기록 구분 정보
  5822. // SMMNR03400_ParamBase : recflag▦dutplaccd▦reclnkkey => 기록구분▦부서코드▦기록연계키
  5823. // SMMNR03400_ParamPrcp : prcpflag▦prcpnm => 처방구분▦처방정보
  5824. // - 기록구분(recflag) :
  5825. // O : 외래 F : 기능검사 I : 주사실
  5826. // D : DSC S : 전문간호 H : 가정간호
  5827. // E : 응급실 A : 마취과 R : 회복실
  5828. // L : 투석실 B : 혈당기록
  5829. // - 부서코드(dutplaccd) :
  5830. // 12611 : 외래 33100 : 기능검사 31900 : 주사실
  5831. // 34100 : DSC 미정 : 전문간호 50112 : 가정간호
  5832. // 82015 : 응급실 10900 : 마취과 31170 : 회복실
  5833. // 31400 : 투석실 00001 : 혈당기록
  5834. var wPath = "ds_init_WorkData" ; //
  5835. dsf_makeValue( eval(wPath), "pid", "string", eval(xPathData).getColumn( 0, "pid" )); // 환자번호
  5836. dsf_makeValue( eval(wPath), "instcd", "string", eval(xPathData).getColumn( 0, "instcd" )); // 기관코드
  5837. dsf_makeValue( eval(wPath), "oprsrvno", "string", eval(xPathData).getColumn( 0, "oprsrvno" )); // 의뢰번호
  5838. dsf_makeValue( eval(wPath), "ophistno", "string", eval(xPathData).getColumn( 0, "ophistno" )); // 이력번호
  5839. if(utlf_isNull(eval(wPath).getColumn(0, "pid"))){
  5840. return;
  5841. }
  5842. var parammsg = "recflag▦dutplaccd▦reclnkkey▩"
  5843. + "R" + "▦"
  5844. //+ "31170" + "▦" //2008-08-11 오후 5:22:30 taebum 주석처리
  5845. + "900" + "▦"
  5846. + utlf_transNullToEmpty(eval(wPath).getColumn(0, "pid" )) + "," // 환자번호
  5847. + utlf_transNullToEmpty(eval(wPath).getColumn(0, "instcd" )) + "," // 기관코드
  5848. + utlf_transNullToEmpty(eval(wPath).getColumn(0, "oprsrvno" )) + "," // 의뢰번호
  5849. + utlf_transNullToEmpty(eval(wPath).getColumn(0, "ophistno" )) + "▩" ; // 이력번호
  5850. frmf_setParameter("SMMNR03400_ParamBase", parammsg );
  5851. sysf_setModelProperty("inrmdd", switch1.case2.inp_inrmdt.value);
  5852. sysf_setModelProperty("inrmtm", switch1.case2.inp_inrmtm.value);
  5853. frmf_modal("SMMNR03400", "SMMNR03400", "", "", "", "", "", "", "", "", "", "", "M");
  5854. CareRecList_Read();
  5855. sysf_setModelProperty("inrmdd", "");
  5856. sysf_setModelProperty("inrmtm", "");
  5857. }
  5858. function fPatCodePopup() {
  5859. var xpos = system.clientToScreenX(this, this.position.left) ; //event.screenX
  5860. var ypos = system.clientToScreenY(this, this.position.top) - 300; //event.screenY - 200;
  5861. var xpos = 1;
  5862. var ypos = 1;
  5863. var argObj = new Object();
  5864. argObj.arg_ds_init_example = ds_init_example;
  5865. frmf_open("SPMNP06100", "SPMNP06100", argObj, "", "1", xpos, ypos, "", "", "", "", "", "M");
  5866. var iProperties = frmf_getParameter("SendData");
  5867. var iSplit_Value = iProperties.split("|");
  5868. if (iSplit_Value.length > 0) {
  5869. ds_HideData_condition.setColumn( 0, "pid" , iSplit_Value[0]); // CODE
  5870. ds_HideData_condition.setColumn( 0, "kornm", iSplit_Value[1]); // NAME
  5871. }
  5872. //ipt_pid.refresh();
  5873. //ipt_hngnm.refresh();
  5874. }
  5875. //-----------------------------------------------------------------
  5876. // 배액관 정보 조회 버튼 클릭시 이벤트
  5877. //-----------------------------------------------------------------
  5878. function fOnClickDrqecdList(){
  5879. var sTempXpath = "ds_main_MnphrecoData_MnphrecoList_drgecdspec_lists_drgecdlist";//배액관 정보 xPath
  5880. var sSearchFlag = "01"; //01 : 배액관 , 02: 합병증
  5881. frmf_setParameter("DrqecdList_search_data", sSearchFlag);
  5882. var xpos = 1;
  5883. var ypos = 1;
  5884. var sGridRefreshFlag = "false";
  5885. //modal("SMMNP00701", 1, xpos, ypos,"SMMNP00701", "", "");
  5886. frmf_open("SMMNP00701", "SMMNP00701", argObj, "", "1", xpos, ypos, "", "", "", "", "", "M");
  5887. var sResult = frmf_getParameter("DrqecdList_result_data");
  5888. //var sResult = ds_temp.getColumn(0, "recvdata");
  5889. if(utlf_isNull(eval(sTempXpath).getColumnInfo("goodname"))) eval(sTempXpath).addColumn("goodname", "string");
  5890. if(utlf_isNull(eval(sTempXpath).getColumnInfo("goodcd"))) eval(sTempXpath).addColumn("goodcd", "string");
  5891. if(utlf_isNull(eval(sTempXpath).getColumnInfo("allsizespecid"))) eval(sTempXpath).addColumn("allsizespecid", "string");
  5892. if(utlf_isNull(eval(sTempXpath).getColumnInfo("drgeqty"))) eval(sTempXpath).addColumn("drgeqty", "string");
  5893. if(utlf_isNull(eval(sTempXpath).getColumnInfo("partinfo"))) eval(sTempXpath).addColumn("partinfo", "string");
  5894. if(utlf_isNull(eval(sTempXpath).getColumnInfo("output"))) eval(sTempXpath).addColumn("output", "string");
  5895. if(!utlf_isNull(sResult)){
  5896. frmf_setParameter("DrqecdList_result_data", "");
  5897. var sResultArr = sResult.split("▩");
  5898. if(sResultArr.length > 0){
  5899. var sGoodcd = ""; //배액관 종류
  5900. var sAllsizespecid = ""; //규격
  5901. var sDrgeqty = ""; //개수
  5902. var sPartinfo = ""; //부위
  5903. var sOutput = ""; //output
  5904. var sGoodName = ""; //장비명
  5905. var iAddRowCnt= ds_main_MnphrecoData_MnphrecoList_drgecdspec_lists_drgecdlist.rowcount; //switch1.case2.datagrid3.rowcount - datagrid3.fixedRows;
  5906. for(var i = 0; i < sResultArr.length; i++){
  5907. var sResultDetailArr = sResultArr[i].split("▦");
  5908. if(sResultDetailArr.length > 0){
  5909. //팝업에서 넘어온 정보중 겹치는 정보는 제외하고 데이터를 insert한다.
  5910. sGoodcd = sResultDetailArr[0]; //code
  5911. sGoodName = sResultDetailArr[1]; //codename 장비명
  5912. sAllsizespecid = sResultDetailArr[2]; //codedesc1 규격
  5913. sDrgeqty = sResultDetailArr[3]; //codedesc2 개수
  5914. sPartinfo = sResultDetailArr[4]; //codedesc3 부위
  5915. //sOutput = sResultDetailArr[5]; //codedesc4 output
  5916. var sExsist = "false";
  5917. var iTempGridCnt = eval(sTempXpath).rowcount;//배액관 정보 입력된 건수
  5918. var sTempCode = ""; //기존 배액관 정보에 등록된 장비코드
  5919. for(var k = 0; k < iTempGridCnt; k++){
  5920. sTempCode = ds_main_MnphrecoData_MnphrecoList_drgecdspec_lists_drgecdlist.getColCount(k, 0); //datagrid3.TextMatrix(k, 1);//현재 등록된 장비코드
  5921. //alert("sTempCode : " + sTempCode);
  5922. if(sTempCode == sGoodcd){
  5923. sExsist = "true";
  5924. break;
  5925. }
  5926. }
  5927. if(sExsist == "false"){
  5928. //datagrid3.addRow(true, true);
  5929. iAddRowCnt++;
  5930. sGridRefreshFlag = "true";
  5931. eval(sTempXpath).setColumn( iAddRowCnt, "goodname", sGoodName);
  5932. eval(sTempXpath).setColumn( iAddRowCnt, "goodcd" , sGoodcd);
  5933. eval(sTempXpath).setColumn( iAddRowCnt, "allsizespecid", sAllsizespecid);
  5934. eval(sTempXpath).setColumn( iAddRowCnt, "drgeqty" , sDrgeqty);
  5935. eval(sTempXpath).setColumn( iAddRowCnt, "partinfo", sPartinfo);
  5936. eval(sTempXpath).setColumn( iAddRowCnt, "output", "");
  5937. }
  5938. }
  5939. }
  5940. //datagrid3.rebuild();
  5941. }
  5942. }
  5943. }
  5944. //배액관 리스트 및 수술방코드 정보 조회
  5945. function fGetDrgecdlist(){
  5946. ds_send.clearData();
  5947. dsf_makeValue( ds_send, "temp", "string", "temp Data");//req temp Data
  5948. bbt_save.enable = false; //.disabled = "true";
  5949. //if (!submit("TRMNP00704")) { // 배액관 정보 , 수술방정보 조회
  5950. var oParam = {};
  5951. oParam.id = "TRMNP00704";
  5952. oParam.service = "opanstapp.OpAnstRef";
  5953. oParam.method = "reqGetDrgecdlist";
  5954. oParam.inds = "req=ds_send";
  5955. oParam.outds = "ds_init_drgecdlist_list=Drgecdlist ds_init_drgecdlist_OpRoomInfo=OpRoomInfo";
  5956. oParam.async = false;
  5957. oParam.callback = "cf_TRMNP00704";
  5958. tranf_submit(oParam);
  5959. if (arErrorCode.pop("TRMNP00704") < 0) { // 배액관 정보 , 수술방정보 조회
  5960. return false;
  5961. }
  5962. return true;
  5963. }
  5964. function cf_TRMNP00704(sSvcId, nErrorCode, sErrorMsg) {
  5965. arErrorCode.push(sSvcId, nErrorCode);
  5966. }
  5967. //배액관 정보 삭제버튼 클릭 시 이벤트
  5968. function fClickRemoveDrgecdlist(){
  5969. var cur_row = ds_main_MnphrecoData_MnphrecoList_drgecdspec_lists_drgecdlist.rowposition; //datagrid3.row; // 행 번호 가져오기
  5970. if(cur_row < 1){
  5971. sysf_messageBox("삭제할 배액관정보를 선택하시기 바랍니다...", "");
  5972. return;
  5973. }
  5974. ds_main_MnphrecoData_MnphrecoList_drgecdspec_lists_drgecdlist.deleteRow(cur_row); //datagrid3.deleteitem(cur_row);
  5975. }
  5976. // 수술장비조회 팝업 호출
  5977. function fOpEqmtPopup(){
  5978. var sTempOprsrvno = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "oprsrvno");
  5979. if(utlf_isNull(sTempOprsrvno)){
  5980. return;
  5981. }
  5982. var sMsg = "";
  5983. var sOPEqmtCD = "";
  5984. frmf_setParameter("SPMNP00300_searchFlag","RECO");
  5985. frmf_modal("SPMNP00301", "SPMNP00301", "", "", "", "", "", "", "", "", "", "", "M");
  5986. frmf_getParameter("SPMNP00300_Return");
  5987. sMsg = frmf_getParameter("SPMNP00300_Return");
  5988. if(utlf_isNull(sMsg)) return;
  5989. var iRow = ds_main_MnphrecoData_MnphrecoList_pataddtool_pataddlists_pataddlist.rowcount; //datagrid7.rows-datagrid7.fixedrows;
  5990. var sTempGridXpath = "ds_main_MnphrecoData_MnphrecoList_pataddtool_pataddlists_pataddlist";
  5991. for(var i = 0; i < sMsg.split("▩").length - 1; i++){
  5992. sOPEqmtCD = getArrayData(sMsg, i, 0);
  5993. if(!utlf_isNull(eval(sTempGridXpath).lookupExpr("fixasetcd == '"+sOPEqmtCD+"'", "fixasetcd"))) continue;
  5994. //
  5995. if ((iRow == 0) || !utlf_isNull(eval(sTempGridXpath).getColumn(iRow, "fixasetcd"))) {
  5996. iRow = eval(sTempGridXpath).addRow(); //datagrid7.addRow(false);
  5997. }
  5998. eval(sTempGridXpath).setColumn( iRow, "fixasetcd", getArrayData(sMsg, i,0));
  5999. eval(sTempGridXpath).setColumn( iRow, "toolnm", getArrayData(sMsg, i,1));
  6000. eval(sTempGridXpath).setColumn( iRow, "goodmodel", getArrayData(sMsg, i,1));
  6001. eval(sTempGridXpath).setColumn( iRow, "goodspec", getArrayData(sMsg, i,1));
  6002. }
  6003. //datagrid7.rebuild();
  6004. }
  6005. //회복시작_사용종료 버튼 클릭시 이벤트
  6006. function fClickRecoTimeBtn(){
  6007. var iCurrentCur = ds_main_MnphrecoData_MnphrecoList_pataddtool_pataddlists_pataddlist.rowposition; //datagrid7.row;
  6008. var sTempXpath = "ds_main_MnphrecoData_MnphrecoList_pataddtool_pataddlists_pataddlist";
  6009. //회복시작_사용종료 시간 세팅 by 김진명 2010-02-03
  6010. var startDt, endDt;
  6011. var inrmdd = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "inrmdt");
  6012. var inrmtm = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "inrmtm");
  6013. var outdd = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "outrmdt");
  6014. var outtm = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "outrmtm");
  6015. if(iCurrentCur < 0){
  6016. sysf_messageBox("시간정보를 입력할 장비를 선택하시기 바랍니다...", "");
  6017. return;
  6018. }
  6019. if( utlf_isNull(inrmdd) || utlf_isNull(inrmtm) ) {//입실시간이 없으면 현재시간셋팅
  6020. startDt = utlf_getCurrentDate()+""+ utlf_getCurrentTime().substr(0,4);
  6021. }else {
  6022. startDt = inrmdd + inrmtm;
  6023. }
  6024. if( utlf_isNull(outdd) || utlf_isNull(outtm) ) {//퇴실시간이 없으면 현재시간셋팅
  6025. endDt = utlf_getCurrentDate()+""+ utlf_getCurrentTime().substr(0,4);
  6026. }else {
  6027. endDt = outdd + outtm;
  6028. }
  6029. var iStartTm = eval(sTempXpath).getColumn(iCurrentCur, 3);
  6030. var iEndTm = eval(sTempXpath).getColumn(iCurrentCur, 4);
  6031. if( utlf_isNull(iStartTm) ){
  6032. eval(sTempXpath).setColumn(iCurrentCur, 3, startDt);
  6033. }else if( utlf_isNull(iEndTm) ){
  6034. eval(sTempXpath).setColumn(iCurrentCur, 4, endDt );
  6035. }else{
  6036. sysf_messageBox("사용시작_종료시간 모두 입력되어있습니다. 확인하시기 바랍니다.", "");
  6037. return;
  6038. }
  6039. //datagrid7.refresh();
  6040. }
  6041. //회복간호기록I 버튼 클릭 시 마취일반정보 조회 + v_S정보 조회
  6042. function fGetAsntInfo(){
  6043. //btn_anstinfo.selected = true;
  6044. //model.toggle("case3");
  6045. //case3.enable = false; //운영시 막아야 함.
  6046. //진료-마취일반정보(진료 source 공유)를 조회한다.
  6047. var sOprsrvno = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "oprsrvno");
  6048. if( utlf_isNull(sOprsrvno) ){
  6049. sysf_messageBox("환자의 수술예약정보가 존재하지 않습니다.", "");
  6050. return;
  6051. }
  6052. ds_send_reqdata.clearData();
  6053. ds_send_reqdata.addRow();
  6054. dsf_makeValue( ds_send_reqdata, "oprsrvno", "string", sOprsrvno);//req temp Data
  6055. dsf_makeValue( ds_send_reqdata, "instcd", "string", sysf_getUserInfo("dutplceinstcd"));//req temp Data
  6056. //if (!submit("TRMMR03702")) {
  6057. var oParam = {};
  6058. oParam.id = "TRMMR03702";
  6059. oParam.service = "anstrecapp.AnstRec";
  6060. oParam.method = "reqGetAnstInfo";
  6061. oParam.inds = "reqdata=ds_send_reqdata";
  6062. oParam.outds = "ds_hidden_anstinfoList_anstinfo=anstinfo";
  6063. oParam.async = false;
  6064. oParam.callback = "cf_TRMMR03702";
  6065. tranf_submit(oParam);
  6066. if (arErrorCode.pop("TRMMR03702") < 0) {
  6067. return false;
  6068. }
  6069. //**********************************
  6070. //마취기록을 정보 공유관련 데이터 조회
  6071. //**********************************
  6072. // 수술방 콤보조회
  6073. ds_send_reqdata.clearData();
  6074. ds_send_reqdata.addRow();
  6075. dsf_makeValue( ds_send_reqdata, "currentdate", "string", utlf_getCurrentDate());
  6076. dsf_makeValue( ds_send_reqdata, "instcd", "string", sysf_getUserInfo("dutplceinstcd"));
  6077. //submit("TRMMR03712");
  6078. var oParam = {};
  6079. oParam.id = "TRMMR03712";
  6080. oParam.service = "anstrecapp.AnstRec";
  6081. oParam.method = "reqGetOpRoomList";
  6082. oParam.inds = "reqdata=ds_send_reqdata";
  6083. oParam.outds = "ds_init_oproomlist_item=item";
  6084. oParam.async = false;
  6085. tranf_submit(oParam);
  6086. //마취기록 - 진단명 리스트, 수술명(전)- case cart (주+부), 수술명(후) 및 수술참가자 정보 조회
  6087. if(!utlf_isNull(ds_hidden_anstinfoList_anstinfo.getColumn(0, "perfdrid")) ||
  6088. !utlf_isNull(ds_hidden_anstinfoList_anstinfo.getColumn(0, "perfdrid2")) ||
  6089. !utlf_isNull(ds_hidden_anstinfoList_anstinfo.getColumn(0, "anstdrid2")) ||
  6090. !utlf_isNull(ds_hidden_anstinfoList_anstinfo.getColumn(0, "anstdrid3")) ){
  6091. ds_send_reqdata.clearData();
  6092. ds_send_reqdata.addRow();
  6093. dsf_makeValue( ds_send_reqdata, "oprsrvno", "string", sOprsrvno);
  6094. dsf_makeValue( ds_send_reqdata, "instcd", "string", sysf_getUserInfo("dutplceinstcd"));
  6095. dsf_makeValue( ds_send_reqdata, "dept1", "string", ds_hidden_anstinfoList_anstinfo.getColumn(0, "perfdeptcd"));
  6096. dsf_makeValue( ds_send_reqdata, "dept2", "string", ds_hidden_anstinfoList_anstinfo.getColumn(0, "perfdeptcd2"));
  6097. dsf_makeValue( ds_send_reqdata, "doct1", "string", ds_hidden_anstinfoList_anstinfo.getColumn(0, "perfdrid"));
  6098. dsf_makeValue( ds_send_reqdata, "doct2", "string", ds_hidden_anstinfoList_anstinfo.getColumn(0, "perfdrid2"));
  6099. dsf_makeValue( ds_send_reqdata, "anstdoct1", "string",ds_hidden_anstinfoList_anstinfo.getColumn(0, "anstdrid1"));
  6100. dsf_makeValue( ds_send_reqdata, "anstdoct2", "string",ds_hidden_anstinfoList_anstinfo.getColumn(0, "anstdrid2"));
  6101. dsf_makeValue( ds_send_reqdata, "anstdoct3", "string",ds_hidden_anstinfoList_anstinfo.getColumn(0, "anstdrid3"));
  6102. dsf_makeValue( ds_send_reqdata, "opschedd", "string", ds_main_operation_list.getColumn(0, "opschedd"));
  6103. //submit("TRMNP00705");
  6104. var oParam = {};
  6105. oParam.id = "TRMNP00705";
  6106. oParam.service = "opanstapp.OpAnstRef";
  6107. oParam.method = "reqGetAnstAddInfo";
  6108. oParam.inds = "reqdata=ds_send_reqdata";
  6109. oParam.outds = "ds_hidden_anstaddinfo_addinfo_item=item ds_hidden_anstaddinfo_addinfo_anstopuserlist=anstopuserlist";
  6110. oParam.async = false;
  6111. tranf_submit(oParam);
  6112. //submit("TRMMR03709");
  6113. // 조회된 집도과_집도의, 마취의 정보 refresh
  6114. var iTempNodeCnt = ds_hidden_anstaddinfo_addinfo_anstopuserlist.rowcount; //").length;
  6115. var sGb = "";
  6116. var sDeptcd = "";
  6117. var sDeptnm = "";
  6118. var sUserid = "";
  6119. var sUsernm = "";
  6120. for(var i = 0; i < iTempNodeCnt; i++){
  6121. sGb = ds_hidden_anstaddinfo_addinfo_anstopuserlist.getColumn(i, "gb");
  6122. switch(sGb){
  6123. case "doct1" :
  6124. ds_hidden_anstinfoList_anstinfo.setColumn( 0, "perfdeptcd",ds_hidden_anstaddinfo_addinfo_anstopuserlist.getColumn(i, "posdeptnm"));
  6125. ds_hidden_anstinfoList_anstinfo.setColumn( 0, "perfdrid" ,ds_hidden_anstaddinfo_addinfo_anstopuserlist.getColumn(i, "usernm"));
  6126. break;
  6127. case "doct2" :
  6128. ds_hidden_anstinfoList_anstinfo.setColumn( 0, "perfdeptcd2",ds_hidden_anstaddinfo_addinfo_anstopuserlist.getColumn(i, "posdeptnm"));
  6129. ds_hidden_anstinfoList_anstinfo.setColumn( 0, "perfdrid2" ,ds_hidden_anstaddinfo_addinfo_anstopuserlist.getColumn(i, "usernm"));
  6130. break;
  6131. case "anst1" :
  6132. ds_hidden_anstinfoList_anstinfo.setColumn( 0, "anstdrid1" ,ds_hidden_anstaddinfo_addinfo_anstopuserlist.getColumn(i, "usernm"));
  6133. break;
  6134. case "anst2" :
  6135. ds_hidden_anstinfoList_anstinfo.setColumn( 0, "anstdrid2" ,ds_hidden_anstaddinfo_addinfo_anstopuserlist.getColumn(i, "usernm"));
  6136. break;
  6137. case "anst3" :
  6138. ds_hidden_anstinfoList_anstinfo.setColumn( 0, "anstdrid3" ,ds_hidden_anstaddinfo_addinfo_anstopuserlist.getColumn(i, "usernm"));
  6139. break;
  6140. default :
  6141. break;
  6142. }
  6143. }
  6144. }
  6145. // 마취 수술후명 카피 노드셋
  6146. //model.copyNode("ds_hidden_anstaddinfo_addinfo_item[cdflag = '4']", "_root_hidden_anstaddinfo_addinfo_item");
  6147. ds_hidden_anstaddinfo_addinfo_item_cdflag_4.copyData(ds_hidden_anstaddinfo_addinfo_item);
  6148. var anstfromdd = ds_hidden_anstinfoList_anstinfo.getColumn(0, "anstfromdd");
  6149. var anstfromtm = ds_hidden_anstinfoList_anstinfo.getColumn(0, "anstfromtm");
  6150. var ansttodd = ds_hidden_anstinfoList_anstinfo.getColumn(0, "ansttodd");
  6151. var ansttotm = ds_hidden_anstinfoList_anstinfo.getColumn(0, "ansttotm");
  6152. //fGetHours(anstfromdd, anstfromtm, ansttodd, ansttotm, "ds_hidden_ansttm", "ds_hidden_anstmnt");
  6153. fGetHours(anstfromdd, anstfromtm, ansttodd, ansttotm, "ansttm", "anstmnt");
  6154. //총 마취 시간 계산
  6155. if(iTempNodeCnt > 0){
  6156. //model.refresh();
  6157. }
  6158. }
  6159. function cf_TRMMR03702(sSvcId, nErrorCode, sErrorMsg) {
  6160. arErrorCode.push(sSvcId, nErrorCode);
  6161. }
  6162. /**
  6163. * _desc : 종료시간에서 시작시간을 뺀 시간 계산 //model.refresh(); 하지 않음!! 주의
  6164. * _param :
  6165. * _ fromtmPath : 시작시간 (시분)
  6166. * _ totmPath : 종료시간 (시분)
  6167. * _return :
  6168. * _author :
  6169. * _---------------------------------------------------
  6170. */
  6171. function fGetHours(anstfromdd, anstfromtm, ansttodd, ansttotm, hrPath, minPath)
  6172. {
  6173. if( utlf_isNull(anstfromdd) ||
  6174. utlf_isNull(anstfromtm) ||
  6175. utlf_isNull(ansttodd) ||
  6176. utlf_isNull(ansttotm) ){
  6177. return;
  6178. }
  6179. if (anstfromtm >= "2400") { anstfromtm = "0000" }
  6180. if (ansttotm >= "2400") { ansttotm = "0000" }
  6181. var fromdt = anstfromdd+""+anstfromtm;
  6182. var todt = ansttodd +""+ansttotm;
  6183. var getHours = "0000";
  6184. if (fromdt <= todt)
  6185. {
  6186. var date1 = fromdt.toDate("YYYYMMDDhhmm"); //YYYYMMDDhhmm --> YYYYMMDDHHmm으로 변경함. kimdo3 확인 필요.
  6187. var date2 = todt.toDate("YYYYMMDDhhmm");
  6188. //alert("date1 : "+date1 + ", date2 : "+date2);
  6189. getHours= fGetHourInterval(fTimeString(date1),fTimeString(date2));
  6190. }
  6191. var hr = getHours.substr(0,2);
  6192. var min = getHours.substr(2,2);
  6193. ds_hidden.setColumn( 0, hrPath, hr);
  6194. ds_hidden.setColumn( 0, minPath,min);
  6195. }
  6196. /**
  6197. * Time 스트링을 자바스크립트 Date 객체로 변환
  6198. * parameter time: Time 형식의 String
  6199. */
  6200. function fTimeObject(time) { //parseTime(time)
  6201. var year = time.substr(0,4);
  6202. var month = time.substr(4,2) - 1; // 1월=0,12월=11
  6203. var day = time.substr(6,2);
  6204. var hour = time.substr(8,2);
  6205. var min = time.substr(10,2);
  6206. return new Date(year,month,day,hour,min);
  6207. }
  6208. /**
  6209. * 두 Time이 몇 시간 차이나는지 구함
  6210. * time1이 time2보다 크면(미래면) minus(-)
  6211. */
  6212. function fGetHourInterval(time1,time2) {
  6213. var date1 = fTimeObject(time1);
  6214. var date2 = fTimeObject(time2);
  6215. var hour = 1000 * 3600; //1시간
  6216. var min = 1000 * 60; //1분
  6217. var origin = parseInt((date2 - date1) / min, 10);
  6218. var deferhour = parseInt(origin / 60,10);
  6219. var defermin = origin % 60;
  6220. var hour = deferhour;
  6221. var min = defermin;
  6222. if (("" + hour).length == 1) { hour = "0" + hour; }
  6223. if (("" + min).length == 1) { min = "0" + min; }
  6224. return ("" + hour + min);
  6225. }
  6226. /**
  6227. * 자바스크립트 Date 객체를 Time 스트링으로 변환
  6228. * parameter date: JavaScript Date Object
  6229. */
  6230. function fTimeString(date) { //formatTime(date)
  6231. var year = date.getFullYear();
  6232. var month = date.getMonth() + 1; // 1월=0,12월=11이므로 1 더함
  6233. var day = date.getDate();
  6234. var hour = date.getHours();
  6235. var min = date.getMinutes();
  6236. if (("" + month).length == 1) { month = "0" + month; }
  6237. if (("" + day).length == 1) { day = "0" + day; }
  6238. if (("" + hour).length == 1) { hour = "0" + hour; }
  6239. if (("" + min).length == 1) { min = "0" + min; }
  6240. return ("" + year + month + day + hour + min)
  6241. }
  6242. //수혈기록 조회 버튼 클릭 시 이벤트
  6243. function fClickBloodBtn(){
  6244. var sPath = "ds_main_MnphrecoData_MnphrecoList"; //_pid";
  6245. var sPid = eval(sPath).getColumn(0, "pid");
  6246. if(!utlf_isNull(sPid)){
  6247. frmf_setParameter("ioflag", "IPRC2");
  6248. frmf_setParameter("pid", sPid);
  6249. frmf_open("SMMNR01000", "SMMNR01000", "", "", "", "", "", "", "", "", "", "", "M");
  6250. }
  6251. }
  6252. /**
  6253. * 처방내역 버튼을 클릭하였을 경우 이벤트
  6254. *
  6255. */
  6256. function switch2TabIndex(tabindex){
  6257. if(tabindex == 0){
  6258. switch1.case1.case3.visible = true;
  6259. switch1.case1.case4.visible = false;
  6260. switch1.case1.case5.visible = false;
  6261. }else if(tabindex == 1){
  6262. switch1.case1.case3.visible = false;
  6263. switch1.case1.case4.visible = true;
  6264. switch1.case1.case5.visible = false;
  6265. }else if(tabindex == 2){
  6266. switch1.case1.case3.visible = false;
  6267. switch1.case1.case4.visible = false;
  6268. switch1.case1.case5.visible = true;
  6269. }
  6270. }
  6271. function fOnClickOrderListTab(){
  6272. //model.toggle("case5");
  6273. switch2TabIndex(2);
  6274. ds_hidden_anstorderinfo_orderlist.clearData();
  6275. //grd_anstprcp.refresh();
  6276. var iCurrentRow = ds_HideData_opschelists_schelist.rowposition; //datagrid5.row;
  6277. if(iCurrentRow < 0){
  6278. return;
  6279. }
  6280. var sOprsrvno = ds_HideData_opschelists_schelist.getColumn(iCurrentRow, "oprsrvno");
  6281. var sAnstrecno = ds_HideData_opschelists_schelist.getColumn(iCurrentRow, "anstrecno");
  6282. if(!utlf_isNull(sAnstrecno)){
  6283. ds_send.clearData();
  6284. ds_send.addRow();
  6285. dsf_makeValue( ds_send, "oprsrvno", "string", sOprsrvno);
  6286. dsf_makeValue( ds_send, "anstrecno", "string", sAnstrecno);
  6287. //submit("TRMNP00707");
  6288. var oParam = {};
  6289. oParam.id = "TRMNP00707";
  6290. oParam.service = "opanstapp.OpAnstRef";
  6291. oParam.method = "reqGetAnstorderinfo";
  6292. oParam.inds = "reqdata=ds_send";
  6293. oParam.outds = "ds_hidden_anstorderinfo_orderlist=orderlist";
  6294. oParam.async = false;
  6295. tranf_submit(oParam);
  6296. }
  6297. }
  6298. /**
  6299. * 마취의사 콤보 선택시 id, name setting event
  6300. *
  6301. */
  6302. function fOnClickAnstDoctCombo(pFlag){
  6303. var sUserid = "";
  6304. var sUsernm = "";
  6305. var Xpath = "";
  6306. var sUsernmXpath = "";
  6307. switch(pFlag){
  6308. case "A" :
  6309. sUserid = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "outconfirmdoctorid_tmp");
  6310. sUsernm = ds_main_MnphrecoData_AnstDoctList.lookupExpr("userid == '" + sUserid + "'", "usernm");
  6311. Xpath = "ds_main_MnphrecoData_MnphrecoList"; //_outconfirmdoctorid"; , _outconfirmdoctor";
  6312. eval(Xpath).setColumn(0, "outconfirmdoctorid", sUserid);
  6313. eval(Xpath).setColumn(0, "outconfirmdoctor", sUsernm);
  6314. break;
  6315. case "B" :
  6316. sUserid = ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.getColumn(0, "prtctairwayid_tmp");
  6317. sUsernm = ds_main_MnphrecoData_AnstDoctList.lookupExpr("userid == '" + sUserid + "'", "usernm");
  6318. Xpath = "ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist"; //prtctairwayid; , prtctairwaynm
  6319. eval(Xpath).setColumn(0, "prtctairwayid", sUserid);
  6320. eval(Xpath).setColumn(0, "prtctairwaynm", sUsernm);
  6321. break;
  6322. case "C" :
  6323. sUserid = ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.getColumn(0, "prtctcairwayextid_tmp");
  6324. sUsernm = ds_main_MnphrecoData_AnstDoctList.lookupExpr("userid == '" + sUserid + "'", "usernm");
  6325. Xpath = "ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist"; //prtctcairwayextid";, prtctairwayextnm
  6326. eval(Xpath).setColumn(0, "prtctcairwayextid", sUserid);
  6327. eval(Xpath).setColumn(0, "prtctairwayextnm", sUsernm);
  6328. break;
  6329. }
  6330. //model.setValue(sUseridXpath, sUserid);
  6331. //model.setValue(sUsernmXpath, sUsernm);
  6332. switch(pFlag){
  6333. case "A" :
  6334. //inp_outdrid.refresh();
  6335. break;
  6336. case "B" :
  6337. //output14.refresh();
  6338. break;
  6339. case "C" :
  6340. //output1.refresh();
  6341. break;
  6342. }
  6343. }
  6344. //총 회복 소요시간 setting
  6345. function fMakeRecoTotalTime(){
  6346. var pFrDate = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "inrmdt");
  6347. var pFrTime = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "inrmtm");
  6348. var pToDate = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "outrmdt");
  6349. var pToTime = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "outrmtm");
  6350. if(!utlf_isNull(pFrDate) &&
  6351. !utlf_isNull(pFrTime) &&
  6352. !utlf_isNull(pToDate) &&
  6353. !utlf_isNull(pToTime) ){
  6354. var rTime = fTimeInterval(pFrDate, pToDate, pFrTime, pToTime);
  6355. ds_HideData_recoinfo.setColumn( 0, "recototaltime", rTime);
  6356. //output15.refresh();
  6357. }
  6358. }
  6359. // 소요시간계산
  6360. function fTimeInterval(pFrDate, pToDate, pFrTime, pToTime, pFlag){
  6361. var HH=0, MM=0, tHH=0;
  6362. var sInHospTMs, sInHospTM;
  6363. var rTime = "";
  6364. //
  6365. if (utlf_isNull(pFrDate)){
  6366. //sysf_messageBox("시작 일자를", "C001");
  6367. return rTime;
  6368. }
  6369. //
  6370. if (utlf_isNull(pToDate)){
  6371. //sysf_messageBox("종료 일자를", "C001");
  6372. return rTime;
  6373. }
  6374. //
  6375. if (utlf_isNull(pFrTime)){
  6376. //sysf_messageBox("시작 시간을", "C001");
  6377. return rTime;
  6378. }
  6379. //
  6380. if (utlf_isNull(pToTime)){
  6381. // sysf_messageBox("종료 시간을", "C001");
  6382. return rTime;
  6383. }
  6384. //
  6385. if (pFrDate > pToDate){
  6386. sysf_messageBox("시작 일자가 종료일자보다 크므로 처리할 수 ", "I004");
  6387. return rTime;
  6388. }
  6389. //
  6390. if (pFrDate == pToDate){
  6391. if (pFrTime > pToTime){
  6392. sysf_messageBox("시작시간("+ pFrTime +") 이 종료시간("+pToTime +") 보다 크므로 처리할 수 ", "I004");
  6393. return rTime;
  6394. }
  6395. }
  6396. var sDateInterval = utlf_getDateInterval(pFrDate , pToDate ); // 두 일자사이의 차(일단위)
  6397. // alert("sTimeInterval = getTimeInterval("+pFrTime+"00, "+pToTime+"00 )" ); // 두 시간사이의 차(초단위)
  6398. var sTimeInterval = utlf_getTimeInterval(pFrTime+"00", pToTime+"00" ); // 두 시간사이의 차(초단위)
  6399. tHH = Number(sDateInterval * 24 )
  6400. + Number(sTimeInterval / 3600);
  6401. HH = Math.floor(tHH);
  6402. MM = (HH == 0) ? Math.round(tHH * 60) : Math.round((tHH % HH) * 60);
  6403. HH = lpad(HH, 2, "0");
  6404. MM = lpad(MM, 2, "0");
  6405. if (pFlag =="1") {
  6406. rTime = HH+":"+MM;
  6407. } else {
  6408. rTime = HH+"시간 "+MM+"분";
  6409. }
  6410. // alert(rTime);
  6411. return rTime;
  6412. }
  6413. //Menu 오른쪽 클릭시 이벤트
  6414. function fShowMenu(pData){
  6415. /*
  6416. if(!fOnDoulbeClickScheList(0)){
  6417. return;
  6418. }
  6419. */
  6420. var Idx = Number(pData);
  6421. var iCurrentRow = datagrid5.currentrow; //.row;
  6422. if(iCurrentRow < 0){
  6423. return;
  6424. }
  6425. var sPath = "ds_HideData_opschelists_schelist";
  6426. /*
  6427. //상단 정보 올리기
  6428. var sPath = "_root_HideData_opschelists_schelist";
  6429. var sPatFlag = model.getValue(sPath+"["+iCurrentRow+"]_oppatflagcd");
  6430. if (sPatFlag == "") {
  6431. sPatFlag = "I";
  6432. }
  6433. var param = "T▦" // 01 O:외래, I:입원구분, T:수술예약
  6434. + model.getValue(sPath+"["+iCurrentRow+"]_pid" ) + "▦" // 02 등록번호
  6435. + model.getValue(sPath+"["+iCurrentRow+"]_opcnfmdd" ) + "▦" // 03 수술시작일자
  6436. + "▦" // 04 cretno(없는 경우 ""로 처리)
  6437. + model.getValue(sPath+"["+iCurrentRow+"]_instcd" ) + "▦" // 05 기관코드
  6438. + model.getValue(sPath+"["+iCurrentRow+"]_perfdeptcd" ) + "▦" // 06 집도과부서
  6439. + model.getValue(sPath+"["+iCurrentRow+"]_perfdrid" ) + "▦" // 07 집도의ID
  6440. + sPatFlag + "▦" // 08 환자구분
  6441. + "F▦" // 09 F -처리구분 무조건 F로 설정
  6442. + model.getValue(sPath+"["+iCurrentRow+"]_oprsrvno" ) + "▦" // 10 수술예약번호
  6443. + model.getValue(sPath+"["+iCurrentRow+"]_ophistno" ) + "▦" // 11 수술이력번호
  6444. + model.getValue(sPath+"["+iCurrentRow+"]_opcnfmdd" ) + "▦"; // 12 조회일자 2007-09-13 오지훈 추가...
  6445. frmf_setParameter("condparam", param);
  6446. modal("SPMMO08900", 1, "", "", "", "SPMMO08900", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
  6447. */
  6448. switch(Idx) {
  6449. case 1 :
  6450. /*
  6451. SMMNR00900_Param
  6452. pid▦indd▦cretno▦instcd▦openflag▩ ==> 등록번호▦입원일자▦생성번호▦기관코드▦화면호출구분▩
  6453. //sParamInfo = "pid▦indd▦cretno▦instcd▩31263▦20080822▦1▦012▩"
  6454. */
  6455. var iCurrentRow = ds_HideData_opschelists_schelist.rowposition;
  6456. var sTmpPid = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "pid"); //model.getValue("ds_main_MnphrecoData_MnphrecoList_pid" );
  6457. //var sTmpIndd = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "orddd");
  6458. //var sTmpCretno = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "cretno");
  6459. //var sTmpInrmdd = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "inrmdt");
  6460. //var sTmpInrmtm = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "inrmtm")+"00";
  6461. var sTmpIndd = ds_HideData_opschelists_schelist.getColumn(iCurrentRow, "indd");
  6462. var sTmpCretno = ds_HideData_opschelists_schelist.getColumn(iCurrentRow, "cretno");
  6463. var sTmpInrmdd = ds_HideData_opschelists_schelist.getColumn(iCurrentRow, "inrmdt");
  6464. var sTmpInrmtm = ds_HideData_opschelists_schelist.getColumn(iCurrentRow, "inrmtm")+"00";
  6465. //입실 시간이 없을 경우 현재일자를 넘기기 위한 메세지 추가
  6466. if(utlf_isNull(sTmpInrmdd) || sTmpInrmtm == "00"){
  6467. if (alert("입실일시 정보가 잘못 입력되었습니다. 현재시간으로 설정하시겠습니까?" ,"시간 Setting 확인", 1 | 32) != 1){
  6468. return;
  6469. }
  6470. sTmpInrmdd = utlf_getCurrentDate();
  6471. sTmpInrmtm = utlf_getCurrentTime().substr(0, 4);
  6472. }
  6473. var sTmpRecodeptcd = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recodeptcd");
  6474. var sTmpInstcd = sysf_getUserInfo("dutplceinstcd");
  6475. //2008-09-30 오전 2:56:49 taebum 회복실관련 임상관찰 연동 추가사항
  6476. //frmf_setParameter("SMMNR00900_Param", "pid▦indd▦cretno▦instcd▩"+sTmpPid+"▦"+sTmpIndd+"▦"+sTmpCretno+"▦"+sTmpInstcd+"▩");
  6477. frmf_setParameter("SMMNR00900_SpParam", "pid▦indd▦cretno▦instcd▦inrmdd▦dutplcecd▩"+sTmpPid+"▦"+sTmpIndd+"▦"+sTmpCretno+"▦"+sTmpInstcd+"▦"+sTmpInrmdd+sTmpInrmtm+"▦"+sTmpRecodeptcd+"▩");
  6478. //frmf_modal("SMMNR00900", "", ""-"", "", "", "", "", "", "", "$16", "", "", "M");
  6479. //open("SMMNR00900", "", "100", "100", "SMMNR00900", "", "");
  6480. frmf_open("SMMNR00900", "SMMNR00900", "", "", "", "100", "100", "", "", "", "", "", "M");
  6481. //frmf_setParameter("SMMNR00900_Param", "");
  6482. break;
  6483. case 2 :
  6484. var pid = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "pid");
  6485. var prcpnm = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "opcdnm");
  6486. var kind = "5";//기타
  6487. var arvposcd = appf_getPatientInfoDetail("wardcd");//병동코드
  6488. var rsrvdt = "";
  6489. //var startposcd = "3073300000";//회복실 부서코드
  6490. var startposcd = sysf_getUserInfo("dutplcecd");
  6491. fInsTranCallOP(pid, prcpnm, kind, rsrvdt, arvposcd, startposcd);
  6492. break;
  6493. case 3://수술준비확인
  6494. frmf_setParameter("OpMenu", "O");
  6495. //open("SMMNP00200", "", "100", "100", "SMMNP00200", "", "");
  6496. frmf_open("SMMNP00200", "SPMNP06100", "", "", "", 100, 100, "", "", "", "", "", "M");
  6497. break;
  6498. case 4://마취간호처방
  6499. //open("SMMNP01800", "", "100", "100", "SMMNP01800", "", "");
  6500. frmf_open("SMMNP01800", "SMMNP01800", "", "", "", 100, 100, "", "", "", "", "", "M");
  6501. break;
  6502. case 5://마약처방관리
  6503. //open("SMADT30400", "", "100", "100", "SMADT30400", "", "");
  6504. frmf_open("SMADT30400", "SMADT30400", "", "", "", 100, 100, "", "", "", "", "", "M");
  6505. break;
  6506. case 6://PRN처방관리
  6507. dsf_makeValue( ds_dsch_hidden_dsch_cond, "prestimportid", "string", "om");
  6508. //modal("SMMNW00100","1","1","1", "SMMNW00100", "_root_dsch_hidden_dsch_cond", "_root_dsch_hidden_dsch_cond");
  6509. var objArg = new Object();
  6510. objArg.arg_ds_dsch_hidden_dsch_cond = ds_dsch_hidden_dsch_cond;
  6511. frmf_open("SMMNW00100", "SMMNW00100", objArg, "", "1", 1, 1, "", "", "", "", "", "M");
  6512. break;
  6513. case 7://혈액불출관리
  6514. if(ds_main_MnphrecoData_MnphrecoList.getColumn(0, "ioflag")!="O"){
  6515. frmf_setParameter("SMMNR010_Param", "IPRC1");
  6516. } else {
  6517. frmf_setParameter("SMMNR010_Param", "OPRC1");
  6518. }
  6519. //frmf_setParameter("SMMNR010_Param", "O");
  6520. //open("SMMNR01000", "", "100", "100", "SMMNR01000", "", "");
  6521. frmf_open("SMMNR01000", "SMMNR01000", "", "", "", 100, 100, "", "", "", "", "", "M");
  6522. break;
  6523. case 8://현장검사입력
  6524. //open("SMLLR91100", "", "100", "100", "SMLLR91100", "", "");
  6525. frmf_open("SMLLR91100", "SMLLR91100", "", "", "", 100, 100, "", "", "", "", "", "M");
  6526. break;
  6527. case 9://바코드 출력
  6528. //open("SMLLC00200", "", "100", "100", "SMLLC00200", "", "");
  6529. frmf_open("SMLLC00200", "SMLLC00200", "", "", "", 100, 100, "", "", "", "", "", "M");
  6530. break;
  6531. case 10://NAME LABEL 정리
  6532. group5.visible = true;//출력장수 선택
  6533. break;
  6534. case 11://수술전광판관리
  6535. //open("SMMNP06100", "", "100", "100", "SMMNP06100", "", "");
  6536. frmf_open("SMMNP06100", "SMMNP06100", "", "", "", 100, 100, "", "", "", "", "", "M");
  6537. break;
  6538. case 12://수술진행현황
  6539. //open("SMMNP06200", "", "100", "100", "SMMNP06200", "", "");
  6540. frmf_open("SMMNP06200", "SMMNP06200", "", "", "", 100, 100, "", "", "", "", "", "M");
  6541. break;
  6542. case 13://보호자호출
  6543. //open("SPMNP00101", "", "100", "100", "SPMNP00101", "", "");
  6544. frmf_open("SPMNP00101", "SPMNP00101", "", "", "", 100, 100, "", "", "", "", "", "M");
  6545. // var iRow = -1;
  6546. // var message = "";
  6547. //
  6548. // iRow = datagrid5.row;
  6549. // var pid = model.getValue("_root_main_opPatlist_opPatInfo[" + iRow + "]_pid" );
  6550. // var patnm = model.getValue("_root_main_opPatlist_opPatInfo[" + iRow + "]_hngnm" );
  6551. // var oproomcd = ds_main_opPatlist_opPatInfo.getColumn(iRow, "oproomcd");
  6552. // var oprsrvno = ds_main_opPatlist_opPatInfo.getColumn(iRow, "oprsrvno");
  6553. // var sa = model.getValue("_root_main_opPatlist_opPatInfo[" + iRow + "]_sa" );
  6554. // var opdd = ds_main_opPatlist_opPatInfo.getColumn(iRow, "opcnfmdd");
  6555. // var callyn = ds_main_opPatlist_opPatInfo.getColumn(iRow, "callyn");
  6556. // var calltel = ds_main_opPatlist_opPatInfo.getColumn(iRow, "calltel");
  6557. // var opstatcd = ds_main_opPatlist_opPatInfo.getColumn(iRow, "opstatcd");
  6558. // var curtDate = utlf_getCurrentDate();
  6559. // curtDate = curtDate.substr(0, 8);
  6560. // oproomcd = oproomcd.setReplaceWord("0", ""); //'0'을 공백으로 대체
  6561. //
  6562. // // 2009-03-02 ycd 호출 Message 선택 기능 추가로 인하여 삭제 처리
  6563. // //message = patnm + "(" + sa + ") 보호자분은 수술실 입구로 오시기 바랍니다.";
  6564. //
  6565. // if( (opstatcd == "10")||(opstatcd == "19")||(opstatcd == "20")||(opstatcd == "29")||(opstatcd == "39")||(opstatcd == "49")||(opstatcd == "50")||(opstatcd == "70") ){
  6566. // sysf_messageBox("수술 예정, 취소, 종료 환자는 보호자 호출을", "E001");
  6567. // return;
  6568. // }
  6569. //
  6570. // if( opdd == curtDate ) {
  6571. // if( oprsrvno != "" ) {
  6572. // if( callyn == "Y" ) {
  6573. // sysf_messageBox("이미 호출 중 ", "E008");
  6574. // }else {
  6575. // if( calltel == "" ) {//호출 전화번호가 없으면 N으로 셋팅
  6576. // //calltel = "N";
  6577. // sysf_messageBox("호출 전화번호가 ", "I004");
  6578. // return;
  6579. // }
  6580. //
  6581. // //2009-03-02 YCD Message 선택 화면 Parameter 설정 및 호출 추가
  6582. // frmf_setParameter("SPMNP00101_Param", "patnm▦oproomcd▩" + patnm + "▦" + oproomcd + "▩");
  6583. // frmf_setParameter("SPMNP00101_RtnData", "");
  6584. // frmf_modal("SPMNP00101", "", ""-"", "", "", "", "", "", "", "$16", "", "", "M");
  6585. // message = frmf_getParameter("SPMNP00101_RtnData");
  6586. //
  6587. // if(message == ""){
  6588. // return;
  6589. // }
  6590. //
  6591. // ds_send.clearData();
  6592. // dsf_makeValue( ds_send_savedata, "oprsrvno", "string", oprsrvno);
  6593. // dsf_makeValue( ds_send_savedata, "message", "string", message);
  6594. // dsf_makeValue( ds_send_savedata, "calltel", "string", calltel);
  6595. // dsf_makeValue( ds_send_savedata, "patnm", "string", patnm);
  6596. // dsf_makeValue( ds_send_savedata, "callyn", "string", callyn);
  6597. // dsf_makeValue( ds_send_savedata, "stat", "string", "I");
  6598. // submit("TXMNP00101");
  6599. //
  6600. // sysf_messageBox("호출 ", "I002");
  6601. // }
  6602. // }else {
  6603. // sysf_messageBox("수술예약번호가 ", "I004");
  6604. // }
  6605. // }else {
  6606. // sysf_messageBox("현재 날짜 이외의 환자는 호출 ", "E001");
  6607. // }
  6608. //
  6609. // fSelectPos();
  6610. break;
  6611. //case 14://보호자호출 취소
  6612. // var iRow = -1;
  6613. // iRow = datagrid5.row;
  6614. // var oprsrvno = ds_main_opPatlist_opPatInfo.getColumn(iRow, "oprsrvno");
  6615. // var callyn = ds_main_opPatlist_opPatInfo.getColumn(iRow, "callyn");
  6616. // var opdd = ds_main_opPatlist_opPatInfo.getColumn(iRow, "opcnfmdd");
  6617. // var curtDate = utlf_getCurrentDate();
  6618. // curtDate = curtDate.substr(0, 8);
  6619. //
  6620. // if( opdd == curtDate ) {
  6621. // if( oprsrvno != "" ) {
  6622. // if( callyn != "Y" ) {
  6623. // sysf_messageBox("미호출 상태 ", "E008");
  6624. // }else {
  6625. // ds_send.clearData();
  6626. // dsf_makeValue( ds_send_savedata, "oprsrvno", "string", oprsrvno);
  6627. // dsf_makeValue( ds_send_savedata, "stat", "string", "C");
  6628. // submit("TXMNP00101");
  6629. //
  6630. // sysf_messageBox("호출 취소를 ", "I002");
  6631. // }
  6632. // }else {
  6633. // sysf_messageBox("수술예약번호가 ", "I004");
  6634. // }
  6635. // }else {
  6636. // sysf_messageBox("현재 날짜 이외의 환자는 호출 취소", "E001");
  6637. // }
  6638. //
  6639. // fSelectPos();
  6640. // break;
  6641. case 15://마취기록지
  6642. //open("SMMMR03700", "", "100", "100", "SMMMR03700", "", "");
  6643. frmf_open("SMMMR03700", "SMMMR03700", "", "", "", 100, 100, "", "", "", "", "", "M");
  6644. break;
  6645. case 16: //입실취소 by 박영우 20100121
  6646. fInOutRoomCancel(); // 회복간호기록 입실취소
  6647. break;
  6648. default :
  6649. alert("등록된 메뉴정보가 존재하지 않습니다.");
  6650. break;
  6651. }
  6652. }
  6653. /**
  6654. * _group :
  6655. * _ver : 2008.08.26
  6656. * _by : 김 진 명
  6657. * _---------------------------------------------------
  6658. * _type : function
  6659. * _access : public
  6660. * _desc : 수술실 이송요원 호출 함수
  6661. * _param :
  6662. * _return :
  6663. * _---------------------------------------------------
  6664. */
  6665. function fInsTranCallOP(pid, prcpnm, kind, rsrvdt, arvposcd, startposcd){
  6666. frmf_setParameter("status", "OP");
  6667. frmf_setParameter("pid", pid);
  6668. frmf_setParameter("prcpnm", prcpnm);
  6669. frmf_setParameter("kind", kind);
  6670. frmf_setParameter("rsrvdt", rsrvdt);
  6671. frmf_setParameter("arvposcd", arvposcd);
  6672. frmf_setParameter("startposcd", startposcd);
  6673. //modal("SMMNB01810" ,"", "300", "150", "SMMNB01810", "", "");
  6674. frmf_modal("SMMNW14100", "SMMNW14100", "", "", "", 300, 150, "", "", "", "", "", "M");
  6675. }
  6676. /**
  6677. * PCA기록 조회 버튼 클릭 시 이벤트
  6678. *
  6679. */
  6680. function fOnClickPCABtn(){
  6681. var sAnstRecNo = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "anstrecno");
  6682. if(!utlf_isNull(sAnstRecNo)){
  6683. frmf_setParameter("SMMNP00700_anstrecno", sAnstRecNo); //마취기록번호
  6684. //open("SPMNP00701", "", "100", "100", "SPMNP00701", "", "");
  6685. frmf_modal("SPMNP00701", "SPMNP00701", "", "", "", 100, 100, "", "", "", "", "", "M");
  6686. }
  6687. }
  6688. function fOnClickAnstInfoCombo(){
  6689. var sPlace = ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.getColumn(0, "prtctplacecd");
  6690. var sOutSmsFlag = ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.getColumn(0, "outsmsmsgflag");
  6691. if(sPlace == "R"){
  6692. //ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayadddt","");
  6693. //ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayaddtm","");
  6694. //ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayid","");
  6695. //ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayid_tmp","");
  6696. //ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwaynm","");
  6697. //ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayur","");
  6698. //ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairway","");
  6699. //ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwaydt","");
  6700. //ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwaytm","");
  6701. //ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctcairwayextid","");
  6702. //ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctcairwayextid_tmp","");
  6703. //ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayextnm","");
  6704. //ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayextbp","");
  6705. //ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayextp","");
  6706. //ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayextspo","");
  6707. //checkbox5.refresh();
  6708. //radio6.refresh();
  6709. //group5.refresh();
  6710. //checkbox2.refresh();
  6711. }if(sPlace == "O"){
  6712. if(ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recstat") == "I"){
  6713. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec.clearData();
  6714. dsf_makeValue( ds_main_MnphrecoData_MnphrecoList, "prtctairwayspec", "string", "" );
  6715. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec.copyData(ds_hidden_hiddendata_anstinfospec);
  6716. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "outsmsmsgflag", sOutSmsFlag);
  6717. }
  6718. //checkbox5.refresh();
  6719. //radio6.refresh();
  6720. //group5.refresh();
  6721. //checkbox2.refresh();
  6722. }
  6723. }
  6724. //회복기록1 정보조회
  6725. function fGetGiRok1Data(pFlag, pSearchDt){
  6726. ds_main_revrInfo_mnphrepg.clearData();
  6727. var sPinfoPath = "ds_init_WorkData";
  6728. var sTitleXpath = "ds_main_revrInfo_mnphrevrtitle";
  6729. var sRecovseqno = eval(sPinfoPath).getColumn(0, "recovseqno");
  6730. var sPid = eval(sPinfoPath).getColumn(0, "pid");
  6731. var sOprsrvno = eval(sPinfoPath).getColumn(0, "oprsrvno");
  6732. var sSearchDt = "";
  6733. if(utlf_isNull(sOprsrvno) || utlf_isNull(sPid) || utlf_isNull(sRecovseqno) ){
  6734. sysf_messageBox("기록할 환자를 선택하시기 바랍니다.", "I000");
  6735. return;
  6736. }
  6737. var sTerm = ds_init_revrterm.getColumn(0, "term");
  6738. if(utlf_isNull(sTerm)){
  6739. sTerm = "5";
  6740. }
  6741. var sPrnorderflag = ds_init_revrterm.getColumn(0, "prnorderflag");
  6742. if(utlf_isNull(sPrnorderflag)){
  6743. ds_init_revrterm.setColumn( 0, "prnorderflag", "A");
  6744. //radio4.refresh();
  6745. sPrnorderflag = "A";
  6746. }
  6747. //var sActingOrderFlag = ds_init_revrterm.getColumn(0, "actionoderflag");
  6748. //if(sActingOrderFlag == ""){
  6749. // ds_init_revrterm.setColumn( 0, "actionoderflag", "R");
  6750. // //radio2.refresh();
  6751. // sActingOrderFlag = "R";
  6752. //}
  6753. ds_send.clearData();
  6754. if(pFlag == "NEXT"){
  6755. var dateObj = (eval(sTitleXpath).getColumn(0, "data24")).toDate("YYYYMMDDhhmm");
  6756. var sNextData = dateObj.getAddDate(eval(ds_init_revrterm.getColumn(0, "term")), "m");
  6757. sSearchDt = utlf_getDateTime(sNextData,"기본").substr(0,12);
  6758. }else if(pFlag == "PRE"){
  6759. var dateObj = (eval(sTitleXpath).getColumn(0, "data1")).toDate("YYYYMMDDhhmm");
  6760. var sNextData = dateObj.getAddDate((-parseInt(ds_init_revrterm.getColumn(0, "term"))*24), "m");
  6761. sSearchDt = utlf_getDateTime(sNextData,"기본").substr(0,12);
  6762. }else if(pFlag == "RELOAD"){
  6763. sSearchDt = pSearchDt;
  6764. }
  6765. ds_main_paminfo_list.clearData();
  6766. var node = sysf_getGlobalVariable("paminfo");
  6767. //setCSVToNode("_root_main_paminfo", node);
  6768. dsf_setCSVToDs("ds_main_paminfo_list",node);
  6769. dsf_makeValue( ds_send, "recovseqno", "string", sRecovseqno);
  6770. dsf_makeValue( ds_send, "oprsrvno", "string", sOprsrvno );
  6771. dsf_makeValue( ds_send, "pid", "string", sPid );
  6772. dsf_makeValue( ds_send, "searchdt", "string", sSearchDt );
  6773. dsf_makeValue( ds_send, "term", "string", sTerm );
  6774. dsf_makeValue( ds_send, "indd", "string", ds_main_paminfo_list.getColumn(0, "indd"));
  6775. dsf_makeValue( ds_send, "prnorderflag", "string", sPrnorderflag);
  6776. dsf_makeValue( ds_send, "actingorderflag", "string", "");
  6777. var nVScrollPos = switch1.case1.case4.datagrid9.vscrollbar.pos;
  6778. var nHScrollPos = switch1.case1.case4.datagrid9.hscrollbar.pos;
  6779. //if(submit("TRMNP00708")){
  6780. var oParam = {};
  6781. oParam.id = "TRMNP00708";
  6782. oParam.service = "opanstapp.OpAnstRef";
  6783. oParam.method = "reqGetMnphrevrInfo";
  6784. oParam.inds = "req=ds_send";
  6785. oParam.outds = "ds_main_revrInfo_recopkinfo=recopkinfo " +
  6786. "ds_main_revrInfo_mnphrevrtitle=mnphrevrtitle " +
  6787. "ds_main_revrInfo_mnphrevr=mnphrevr " +
  6788. "ds_main_revrInfo_mnphrepg=mnphrepg " +
  6789. "ds_main_revrInfo_prnorderlist=prnorderlist " +
  6790. "ds_main_revrInfo_actingorderlist=actingorderlist";
  6791. oParam.async = false;
  6792. oParam.callback = "cf_TRMNP00708";
  6793. tranf_submit(oParam);
  6794. if( utlf_isNull(ds_main_revrInfo_mnphrevr.getColumnInfo("recovseqno")) ){
  6795. ds_main_revrInfo_mnphrevr.addColumn("recovseqno", "string");
  6796. }
  6797. ds_main_revrInfo_mnphrevr.addColumn("colBack3", "string");
  6798. ds_main_revrInfo_mnphrevr.addColumn("colBack4", "string");
  6799. ds_main_revrInfo_mnphrevr.addColumn("colBack5", "string");
  6800. //ds_main_revrInfo_mnphrevr.setColumn(0, "vsitemnm", "asdfasdfasdf"+ds_main_revrInfo_mnphrevr.getColumn(0, "vsitemnm")); //yjh1
  6801. ds_main_revrInfo_mnphrevr.setColumn(0, "vsitemnm", ds_main_revrInfo_mnphrevr.getColumn(0, "vsitemnm"));
  6802. ds_main_revrInfo_actingorderlist.rowposition = -1;
  6803. ds_main_revrInfo_mnphrevr.rowposition = -1;
  6804. ds_main_revrInfo_prnorderlist.rowposition = -1;
  6805. switch1.case1.case4.datagrid9.vscrollbar.pos = nVScrollPos;
  6806. switch1.case1.case4.datagrid9.hscrollbar.pos = nHScrollPos;
  6807. if(arErrorCode.pop("TRMNP00708") > -1){
  6808. var iTitleCnt = ds_main_revrInfo_mnphrevrtitle.rowcount;
  6809. if(iTitleCnt == 1){
  6810. //grid의 title 정보를 caption에 뿌려준다.
  6811. lf_mergeHeadTitle();
  6812. // var sTitle = "분류코드^아이템코드^recovseqno^^날짜^Total I_O^Total I_O^"
  6813. //
  6814. // +String(eval(sTitleXpath).getColumn(0, "data1" )).substr(0,4)+"년"+String(eval(sTitleXpath).getColumn(0, "data1" )).substr(4,2)+"월"+String(eval(sTitleXpath).getColumn(0, "data1" )).substr(6,2)+"일^"
  6815. // +String(eval(sTitleXpath).getColumn(0, "data2" )).substr(0,4)+"년"+String(eval(sTitleXpath).getColumn(0, "data2" )).substr(4,2)+"월"+String(eval(sTitleXpath).getColumn(0, "data2" )).substr(6,2)+"일^"
  6816. // +String(eval(sTitleXpath).getColumn(0, "data3" )).substr(0,4)+"년"+String(eval(sTitleXpath).getColumn(0, "data3" )).substr(4,2)+"월"+String(eval(sTitleXpath).getColumn(0, "data3" )).substr(6,2)+"일^"
  6817. // +String(eval(sTitleXpath).getColumn(0, "data4" )).substr(0,4)+"년"+String(eval(sTitleXpath).getColumn(0, "data4" )).substr(4,2)+"월"+String(eval(sTitleXpath).getColumn(0, "data4" )).substr(6,2)+"일^"
  6818. // +String(eval(sTitleXpath).getColumn(0, "data5" )).substr(0,4)+"년"+String(eval(sTitleXpath).getColumn(0, "data5" )).substr(4,2)+"월"+String(eval(sTitleXpath).getColumn(0, "data5" )).substr(6,2)+"일^"
  6819. // +String(eval(sTitleXpath).getColumn(0, "data6" )).substr(0,4)+"년"+String(eval(sTitleXpath).getColumn(0, "data6" )).substr(4,2)+"월"+String(eval(sTitleXpath).getColumn(0, "data6" )).substr(6,2)+"일^"
  6820. // +String(eval(sTitleXpath).getColumn(0, "data7" )).substr(0,4)+"년"+String(eval(sTitleXpath).getColumn(0, "data7" )).substr(4,2)+"월"+String(eval(sTitleXpath).getColumn(0, "data7" )).substr(6,2)+"일^"
  6821. // +String(eval(sTitleXpath).getColumn(0, "data8" )).substr(0,4)+"년"+String(eval(sTitleXpath).getColumn(0, "data8" )).substr(4,2)+"월"+String(eval(sTitleXpath).getColumn(0, "data8" )).substr(6,2)+"일^"
  6822. // +String(eval(sTitleXpath).getColumn(0, "data9" )).substr(0,4)+"년"+String(eval(sTitleXpath).getColumn(0, "data9" )).substr(4,2)+"월"+String(eval(sTitleXpath).getColumn(0, "data9" )).substr(6,2)+"일^"
  6823. // +String(eval(sTitleXpath).getColumn(0, "data10")).substr(0,4)+"년"+String(eval(sTitleXpath).getColumn(0, "data10")).substr(4,2)+"월"+String(eval(sTitleXpath).getColumn(0, "data10")).substr(6,2)+"일^"
  6824. // +String(eval(sTitleXpath).getColumn(0, "data11")).substr(0,4)+"년"+String(eval(sTitleXpath).getColumn(0, "data11")).substr(4,2)+"월"+String(eval(sTitleXpath).getColumn(0, "data11")).substr(6,2)+"일^"
  6825. // +String(eval(sTitleXpath).getColumn(0, "data12")).substr(0,4)+"년"+String(eval(sTitleXpath).getColumn(0, "data12")).substr(4,2)+"월"+String(eval(sTitleXpath).getColumn(0, "data12")).substr(6,2)+"일^"
  6826. // +String(eval(sTitleXpath).getColumn(0, "data13")).substr(0,4)+"년"+String(eval(sTitleXpath).getColumn(0, "data13")).substr(4,2)+"월"+String(eval(sTitleXpath).getColumn(0, "data13")).substr(6,2)+"일^"
  6827. // +String(eval(sTitleXpath).getColumn(0, "data14")).substr(0,4)+"년"+String(eval(sTitleXpath).getColumn(0, "data14")).substr(4,2)+"월"+String(eval(sTitleXpath).getColumn(0, "data14")).substr(6,2)+"일^"
  6828. // +String(eval(sTitleXpath).getColumn(0, "data15")).substr(0,4)+"년"+String(eval(sTitleXpath).getColumn(0, "data15")).substr(4,2)+"월"+String(eval(sTitleXpath).getColumn(0, "data15")).substr(6,2)+"일^"
  6829. // +String(eval(sTitleXpath).getColumn(0, "data16")).substr(0,4)+"년"+String(eval(sTitleXpath).getColumn(0, "data16")).substr(4,2)+"월"+String(eval(sTitleXpath).getColumn(0, "data16")).substr(6,2)+"일^"
  6830. // +String(eval(sTitleXpath).getColumn(0, "data17")).substr(0,4)+"년"+String(eval(sTitleXpath).getColumn(0, "data17")).substr(4,2)+"월"+String(eval(sTitleXpath).getColumn(0, "data17")).substr(6,2)+"일^"
  6831. // +String(eval(sTitleXpath).getColumn(0, "data18")).substr(0,4)+"년"+String(eval(sTitleXpath).getColumn(0, "data18")).substr(4,2)+"월"+String(eval(sTitleXpath).getColumn(0, "data18")).substr(6,2)+"일^"
  6832. // +String(eval(sTitleXpath).getColumn(0, "data19")).substr(0,4)+"년"+String(eval(sTitleXpath).getColumn(0, "data19")).substr(4,2)+"월"+String(eval(sTitleXpath).getColumn(0, "data19")).substr(6,2)+"일^"
  6833. // +String(eval(sTitleXpath).getColumn(0, "data20")).substr(0,4)+"년"+String(eval(sTitleXpath).getColumn(0, "data20")).substr(4,2)+"월"+String(eval(sTitleXpath).getColumn(0, "data20")).substr(6,2)+"일^"
  6834. // +String(eval(sTitleXpath).getColumn(0, "data21")).substr(0,4)+"년"+String(eval(sTitleXpath).getColumn(0, "data21")).substr(4,2)+"월"+String(eval(sTitleXpath).getColumn(0, "data21")).substr(6,2)+"일^"
  6835. // +String(eval(sTitleXpath).getColumn(0, "data22")).substr(0,4)+"년"+String(eval(sTitleXpath).getColumn(0, "data22")).substr(4,2)+"월"+String(eval(sTitleXpath).getColumn(0, "data22")).substr(6,2)+"일^"
  6836. // +String(eval(sTitleXpath).getColumn(0, "data23")).substr(0,4)+"년"+String(eval(sTitleXpath).getColumn(0, "data23")).substr(4,2)+"월"+String(eval(sTitleXpath).getColumn(0, "data23")).substr(6,2)+"일^"
  6837. // +String(eval(sTitleXpath).getColumn(0, "data24")).substr(0,4)+"년"+String(eval(sTitleXpath).getColumn(0, "data24")).substr(4,2)+"월"+String(eval(sTitleXpath).getColumn(0, "data24")).substr(6,2)+"일|"
  6838. // +"분류코드^아이템코드^recovseqno^^시^I_O^I_O^"
  6839. // +String(eval(sTitleXpath).getColumn(0, "data1" )).substr(8,2)+"시^"
  6840. // +String(eval(sTitleXpath).getColumn(0, "data2" )).substr(8,2)+"시^"
  6841. // +String(eval(sTitleXpath).getColumn(0, "data3" )).substr(8,2)+"시^"
  6842. // +String(eval(sTitleXpath).getColumn(0, "data4" )).substr(8,2)+"시^"
  6843. // +String(eval(sTitleXpath).getColumn(0, "data5" )).substr(8,2)+"시^"
  6844. // +String(eval(sTitleXpath).getColumn(0, "data6" )).substr(8,2)+"시^"
  6845. // +String(eval(sTitleXpath).getColumn(0, "data7" )).substr(8,2)+"시^"
  6846. // +String(eval(sTitleXpath).getColumn(0, "data8" )).substr(8,2)+"시^"
  6847. // +String(eval(sTitleXpath).getColumn(0, "data9" )).substr(8,2)+"시^"
  6848. // +String(eval(sTitleXpath).getColumn(0, "data10")).substr(8,2)+"시^"
  6849. // +String(eval(sTitleXpath).getColumn(0, "data11")).substr(8,2)+"시^"
  6850. // +String(eval(sTitleXpath).getColumn(0, "data12")).substr(8,2)+"시^"
  6851. // +String(eval(sTitleXpath).getColumn(0, "data13")).substr(8,2)+"시^"
  6852. // +String(eval(sTitleXpath).getColumn(0, "data14")).substr(8,2)+"시^"
  6853. // +String(eval(sTitleXpath).getColumn(0, "data15")).substr(8,2)+"시^"
  6854. // +String(eval(sTitleXpath).getColumn(0, "data16")).substr(8,2)+"시^"
  6855. // +String(eval(sTitleXpath).getColumn(0, "data17")).substr(8,2)+"시^"
  6856. // +String(eval(sTitleXpath).getColumn(0, "data18")).substr(8,2)+"시^"
  6857. // +String(eval(sTitleXpath).getColumn(0, "data19")).substr(8,2)+"시^"
  6858. // +String(eval(sTitleXpath).getColumn(0, "data20")).substr(8,2)+"시^"
  6859. // +String(eval(sTitleXpath).getColumn(0, "data21")).substr(8,2)+"시^"
  6860. // +String(eval(sTitleXpath).getColumn(0, "data22")).substr(8,2)+"시^"
  6861. // +String(eval(sTitleXpath).getColumn(0, "data23")).substr(8,2)+"시^"
  6862. // +String(eval(sTitleXpath).getColumn(0, "data24")).substr(8,2)+"시|"
  6863. // +"분류코드^아이템코드^recovseqno^^분^I_O^I_O^"
  6864. // +String(eval(sTitleXpath).getColumn(0, "data1" )).substr(10,2)+"분^"
  6865. // +String(eval(sTitleXpath).getColumn(0, "data2" )).substr(10,2)+"분^"
  6866. // +String(eval(sTitleXpath).getColumn(0, "data3" )).substr(10,2)+"분^"
  6867. // +String(eval(sTitleXpath).getColumn(0, "data4" )).substr(10,2)+"분^"
  6868. // +String(eval(sTitleXpath).getColumn(0, "data5" )).substr(10,2)+"분^"
  6869. // +String(eval(sTitleXpath).getColumn(0, "data6" )).substr(10,2)+"분^"
  6870. // +String(eval(sTitleXpath).getColumn(0, "data7" )).substr(10,2)+"분^"
  6871. // +String(eval(sTitleXpath).getColumn(0, "data8" )).substr(10,2)+"분^"
  6872. // +String(eval(sTitleXpath).getColumn(0, "data9" )).substr(10,2)+"분^"
  6873. // +String(eval(sTitleXpath).getColumn(0, "data10")).substr(10,2)+"분^"
  6874. // +String(eval(sTitleXpath).getColumn(0, "data11")).substr(10,2)+"분^"
  6875. // +String(eval(sTitleXpath).getColumn(0, "data12")).substr(10,2)+"분^"
  6876. // +String(eval(sTitleXpath).getColumn(0, "data13")).substr(10,2)+"분^"
  6877. // +String(eval(sTitleXpath).getColumn(0, "data14")).substr(10,2)+"분^"
  6878. // +String(eval(sTitleXpath).getColumn(0, "data15")).substr(10,2)+"분^"
  6879. // +String(eval(sTitleXpath).getColumn(0, "data16")).substr(10,2)+"분^"
  6880. // +String(eval(sTitleXpath).getColumn(0, "data17")).substr(10,2)+"분^"
  6881. // +String(eval(sTitleXpath).getColumn(0, "data18")).substr(10,2)+"분^"
  6882. // +String(eval(sTitleXpath).getColumn(0, "data19")).substr(10,2)+"분^"
  6883. // +String(eval(sTitleXpath).getColumn(0, "data20")).substr(10,2)+"분^"
  6884. // +String(eval(sTitleXpath).getColumn(0, "data21")).substr(10,2)+"분^"
  6885. // +String(eval(sTitleXpath).getColumn(0, "data22")).substr(10,2)+"분^"
  6886. // +String(eval(sTitleXpath).getColumn(0, "data23")).substr(10,2)+"분^"
  6887. // +String(eval(sTitleXpath).getColumn(0, "data24")).substr(10,2)+"분";
  6888. //
  6889. // //switch1.case1.case4.datagrid9.caption = sTitle;
  6890. // switch1.case1.case4.datagrid9.setCellProperty("head", "text", sTitle);
  6891. //switch1.case1.case4.datagrid9.mergeCells = "bycolrec";
  6892. //switch1.case1.case4.datagrid9.mergeCol(0) = true ;
  6893. //switch1.case1.case4.datagrid9.mergeCol(1) = true;
  6894. //switch1.case1.case4.datagrid9.mergeCol(2) = true;
  6895. //switch1.case1.case4.datagrid9.mergeCol(3) = true;
  6896. //switch1.case1.case4.datagrid9.mergeCol(4) = true;
  6897. //switch1.case1.case4.datagrid9.mergeCol(5) = false;
  6898. //switch1.case1.case4.datagrid9.mergeCol(6) = false;
  6899. //switch1.case1.case4.datagrid9.mergeCol(7) = false;
  6900. //switch1.case1.case4.datagrid9.mergeCol(8) = false;
  6901. //switch1.case1.case4.datagrid9.mergeCol(9) = false;
  6902. //switch1.case1.case4.datagrid9.mergeCol(10) = false;
  6903. //switch1.case1.case4.datagrid9.mergeCol(11) = false;
  6904. //switch1.case1.case4.datagrid9.mergeCol(12) = false;
  6905. //switch1.case1.case4.datagrid9.mergeCol(13) = false;
  6906. //switch1.case1.case4.datagrid9.mergeCol(14) = false;
  6907. //switch1.case1.case4.datagrid9.mergeCol(15) = false;
  6908. //switch1.case1.case4.datagrid9.mergeCol(16) = false;
  6909. //switch1.case1.case4.datagrid9.mergeCol(17) = false;
  6910. //switch1.case1.case4.datagrid9.mergeCol(18) = false;
  6911. //switch1.case1.case4.datagrid9.mergeCol(19) = false;
  6912. //switch1.case1.case4.datagrid9.mergeCol(20) = false;
  6913. //switch1.case1.case4.datagrid9.mergeCol(21) = false;
  6914. //switch1.case1.case4.datagrid9.mergeCol(22) = false;
  6915. //switch1.case1.case4.datagrid9.mergeCol(23) = false;
  6916. //switch1.case1.case4.datagrid9.mergeCol(24) = false;
  6917. //switch1.case1.case4.datagrid9.mergeCol(25) = false;
  6918. //switch1.case1.case4.datagrid9.mergeCol(26) = false;
  6919. //switch1.case1.case4.datagrid9.mergeCol(27) = false;
  6920. //switch1.case1.case4.datagrid9.mergeCol(28) = false;
  6921. //switch1.case1.case4.datagrid9.mergeCol(29) = false;
  6922. //switch1.case1.case4.datagrid9.mergeCol(30) = false;
  6923. //switch1.case1.case4.datagrid9.mergeCol(31) = false;
  6924. //원본 파일을 임시 노드에 저장
  6925. ds_HideData_rsrvcopy_org_list_mnphrevr.copyData(ds_main_revrInfo_mnphrevr); // 이후에 초기화 값 체크하는 것 보고 이것으로 판단함. kimdo3
  6926. ds_HideData_rsrvcopy_org_list_recopkinfo.copyData(ds_main_revrInfo_recopkinfo); // 이후에 초기화 값 체크하는 것 보고 이것으로 판단함. kimdo3
  6927. ds_HideData_rsrvcopy_org_list_prnorderlist.copyData(ds_main_revrInfo_prnorderlist); // 이후에 초기화 값 체크하는 것 보고 이것으로 판단함. kimdo3
  6928. ds_HideData_rsrvcopy_org_list_mnphrepg.copyData(ds_main_revrInfo_mnphrepg);
  6929. ds_HideData_rsrvcopy_org_list_actingorderlist.copyData(ds_main_revrInfo_actingorderlist);
  6930. ds_HideData_rsrvcopy_org_list_mnphrevrtitle.copyData(ds_main_revrInfo_mnphrevrtitle);
  6931. }
  6932. //switch1.case1.case4.datagrid9.colstyle(3, "data", "background-color") = "#ccccff";
  6933. //switch1.case1.case4.datagrid9.colstyle(4, "data", "background-color") = "#ccccff";
  6934. //switch1.case1.case4.datagrid9.colstyle(3, "data", "color") = "#ffffff";
  6935. //switch1.case1.case4.datagrid9.colstyle(4, "data", "color") = "#ffffff";
  6936. ds_main_revrInfo_mnphrevr.enableevent = false;
  6937. ds_main_revrInfo_mnphrevr.updatecontrol = false;
  6938. for( var i=0 ; i<ds_main_revrInfo_mnphrevr.rowcount ; i++ ){
  6939. ds_main_revrInfo_mnphrevr.setColumn(i, "colBack3", "#d5f4f5");
  6940. ds_main_revrInfo_mnphrevr.setColumn(i, "colBack4", "#d5f4f5");
  6941. ds_main_revrInfo_mnphrevr.setColumn(i, "colBack5", "#eaeaea");
  6942. }
  6943. ds_main_revrInfo_mnphrevr.updatecontrol = true;
  6944. ds_main_revrInfo_mnphrevr.enableevent = true;
  6945. // switch1.case1.case4.datagrid9.setCellProperty("body", 3, "background", "#d5f4f5");//.colstyle(3, "data", "background-color") = "#d5f4f5";
  6946. // switch1.case1.case4.datagrid9.setCellProperty("body", 3, "background2", "#d5f4f5");
  6947. // switch1.case1.case4.datagrid9.setCellProperty("body", 4, "background", "#d5f4f5"); //.colstyle(4, "data", "background-color") = "#d5f4f5";
  6948. // switch1.case1.case4.datagrid9.setCellProperty("body", 4, "background2", "#d5f4f5");
  6949. // switch1.case1.case4.datagrid9.setCellProperty("body", 5, "background", "#eaeaea"); //.colstyle(5, "data", "background-color") = "#eaeaea";
  6950. // switch1.case1.case4.datagrid9.setCellProperty("body", 5, "background2", "#eaeaea");
  6951. // switch1.case1.case4.datagrid9.setCellProperty("body", 6, "background", "#eaeaea"); //colstyle(6, "data", "background-color") = "#eaeaea";
  6952. // switch1.case1.case4.datagrid9.setCellProperty("body", 6, "background2", "#eaeaea");
  6953. //switch1.case1.case4.datagrid9.colstyle(3, "data", "color") = "#ffffff";
  6954. //switch1.case1.case4.datagrid9.colstyle(4, "data", "color") = "#ffffff";
  6955. if(sysf_getUserInfo("dutplceinstcd") == yuidoinstcd) { //성모병원만 적용
  6956. //V_S항목 포맷형식 지정 by 박영우 2010-02-22
  6957. var lrgcd = "";
  6958. var vsitemcd = "";
  6959. for(var i = 0; i < ds_main_revrInfo_mnphrevr.rowcount; i++) {
  6960. lrgcd = ds_main_revrInfo_mnphrevr.getColumn(i, "lrgcd");
  6961. vsitemcd = ds_main_revrInfo_mnphrevr.getColumn(i, "vsitemcd");
  6962. if( (lrgcd == "00001" && vsitemcd == "00001") || // lrgcd: PROGRESS, vsitemcd: PROGRESS
  6963. (lrgcd == "00002" && vsitemcd == "00007") || // lrgcd: V_S, vsitemcd: ECG(적용)
  6964. (lrgcd == "00003" && !(vsitemcd == "00001" || vsitemcd == "00006")) || // lrgcd: 호흡관리, vsitemcd: O₂양(L_min), Suction 양 제외!
  6965. (lrgcd == "00008" && (vsitemcd == "00003" || vsitemcd == "00004")) || // lrgcd: 분만관리, vsitemcd: Contraction, Lochia
  6966. // lrgcd: 사정도구, 기본관리, 간호수행, Ventilator, 삽관
  6967. (lrgcd == "00007") || (lrgcd == "00009") || (lrgcd == "00010") || (lrgcd == "00011") || (lrgcd == "00012")
  6968. ) {
  6969. //for(var j = 5; j < ds_main_revrInfo_mnphrevr.colcount ; j++) {
  6970. // switch1.case1.case4.datagrid9.cellformat((i+switch1.case1.case4.datagrid9.fixedRows-1), j) = "";
  6971. //}
  6972. for(var j = 5; j < ds_main_revrInfo_mnphrevr.getColCount; j++) {
  6973. switch1.case1.case4.datagrid9.setCellProperty("body", j, "mask", "");
  6974. }
  6975. } else {
  6976. //for(var j = 5; j<switch1.case1.case4.datagrid9.cols ; j++) {
  6977. // switch1.case1.case4.datagrid9.cellformat((i+switch1.case1.case4.datagrid9.fixedRows-1), j) = "999999";
  6978. //}
  6979. for(var j = 5; j < ds_main_revrInfo_mnphrevr.getColCount; j++) {
  6980. switch1.case1.case4.datagrid9.setCellProperty("body", j, "mask", "999999");
  6981. }
  6982. }
  6983. if( lrgcd == "00002" && vsitemcd == "00005") {
  6984. //for(var j = 5; j<switch1.case1.case4.datagrid9.cols ; j++) {
  6985. // switch1.case1.case4.datagrid9.cellformat((i+switch1.case1.case4.datagrid9.fixedRows-1), j) = "#.9";
  6986. //}
  6987. for(var j = 5; j < ds_main_revrInfo_mnphrevr.getColCount; j++) {
  6988. switch1.case1.case4.datagrid9.setCellProperty("body", j, "mask", "#.9");
  6989. }
  6990. }
  6991. }
  6992. }
  6993. //switch1.case1.case4.datagrid9.refresh();
  6994. switch1.case1.case4.datagrid2.setCellProperty("body", 0, "background", "#d5f4f5");//.colstyle(0, "data", "background-color") = "#d5f4f5";
  6995. switch1.case1.case4.datagrid2.setCellProperty("body", 0, "background2", "#d5f4f5");
  6996. //datagrid2.refresh();
  6997. } else {
  6998. //ds_main_revrInfo.clearData();
  6999. //dsf_makeValue( ds_main, "revrInfo", "string", "" );
  7000. ds_main_revrInfo_recopkinfo.clearData();
  7001. ds_main_revrInfo_mnphrevrtitle.clearData();
  7002. ds_main_revrInfo_mnphrevr.clearData();
  7003. ds_main_revrInfo_mnphrepg.clearData();
  7004. ds_main_revrInfo_prnorderlist.clearData();
  7005. ds_main_revrInfo_actingorderlist.clearData();
  7006. //model.refresh();
  7007. }
  7008. }
  7009. function cf_TRMNP00708(sSvcId, nErrorCode, sErrorMsg) {
  7010. arErrorCode.push(sSvcId, nErrorCode);
  7011. }
  7012. // grid head column title set & merge
  7013. function lf_mergeHeadTitle(){
  7014. var objGrid = switch1.case1.case4.datagrid9;
  7015. var sTitleXpath = "ds_main_revrInfo_mnphrevrtitle";
  7016. // init
  7017. objGrid.enableredraw = false;
  7018. objGrid.enableevent = false;
  7019. objGrid.formats = lgv_datagrid9Formats;
  7020. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  7021. // head column title setting
  7022. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  7023. var sVal = "";
  7024. var sCurColIdx, sCurRowIdx, sNextRowIdx;
  7025. var format = objGrid.formats;
  7026. var fromatCount = 0;
  7027. //format = format.split(String.fromCharCode(13));
  7028. format = format.split("\n");
  7029. //format = String.fromCharCode(13)
  7030. //for (var i = objGrid.getCellCount("Head")-1; i > 0 ; i--){
  7031. for(var j = 0; j < format.length; j++){
  7032. var bolformat = utlf_isSearchString(format[j], '<Band id="head">');
  7033. if(bolformat == true){
  7034. fromatCount = j + 1;
  7035. }
  7036. }
  7037. for (var i = objGrid.getCellCount("Head")- 1; i > 0 ; i--){
  7038. sCurColIdx = objGrid.getCellProperty("Head", i, "col");
  7039. if(utlf_isNull(sCurColIdx) || sCurColIdx < 7 ) {
  7040. continue;
  7041. }
  7042. if(utlf_isNull(sCurColIdx) || sCurColIdx > 30 ) {
  7043. continue;
  7044. }
  7045. sCurRowIdx = objGrid.getCellProperty("Head", i, "row");
  7046. if(sCurRowIdx == 0){
  7047. sVal = sVal + eval(sTitleXpath).getColumn(0, "data"+(sCurColIdx-6)).substr(0,4) + "년"
  7048. + eval(sTitleXpath).getColumn(0, "data"+(sCurColIdx-6)).substr(4,2) + "월"
  7049. + eval(sTitleXpath).getColumn(0, "data"+(sCurColIdx-6)).substr(6,2) + "일";
  7050. }
  7051. else if(sCurRowIdx == 1){
  7052. sVal = eval(sTitleXpath).getColumn(0, "data"+(sCurColIdx-6)).substr(8,2) + "시";
  7053. }
  7054. else if(sCurRowIdx == 2){
  7055. sVal = eval(sTitleXpath).getColumn(0, "data"+(sCurColIdx-6)).substr(10,2) + "분";
  7056. }
  7057. //objGrid.setCellProperty("Head", i, "text", sVal);
  7058. format[i + eval(fromatCount)] = format[i + eval(fromatCount)].replace("/>", ' text="' + sVal + '"/>');
  7059. sVal = "";
  7060. }
  7061. var formatTotal = "";
  7062. for(var j = 0; j < format.length ; j++){
  7063. formatTotal += format[j] + '\r\n';
  7064. }
  7065. objGrid.formats = formatTotal;
  7066. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  7067. // head column mergeinfo get
  7068. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  7069. // [0] : day, [1] : hour, [2] : min
  7070. var arrMergeIdx = new Array();
  7071. var sCurCellIdx = 6; // 고정 cell idx (merge 전)
  7072. var sMergCellIdx = 6; // megre 후 cell idx
  7073. var sCurArr;
  7074. var bMergFlag = false;
  7075. var sArrIdx = 0;
  7076. var sNextVal = "";
  7077. for (var i = 0; i < 3; i++){ // 일자, 시간, 분
  7078. sArrIdx = 0;
  7079. bMergFlag = false;
  7080. arrMergeIdx[i] = new Array();
  7081. for(var j = 0; j < 25; j++){ // 24개 컬럼 // flag Column 추가로 24 -> 25로 변경
  7082. // col, row index
  7083. sCurColIdx = objGrid.getCellProperty("Head", sCurCellIdx, "col");
  7084. sCurRowIdx = objGrid.getCellProperty("Head", sCurCellIdx, "row");
  7085. sNextRowIdx = "";
  7086. if(j < 24) sNextRowIdx = objGrid.getCellProperty("Head", sCurCellIdx+1, "row"); // 23 -> 24로 변경
  7087. // cur val
  7088. sVal = objGrid.getCellText(-1, sCurCellIdx);
  7089. sNextVal = "";
  7090. if(j < 24) sNextVal = objGrid.getCellText(-1, sCurCellIdx+1); // 23 -> 24로 변경
  7091. // merge 대상 체크
  7092. if( (j == 0) || ( !bMergFlag && (sCurRowIdx == sNextRowIdx) && (sVal == sNextVal) ) ){
  7093. arrMergeIdx[i][sArrIdx] = {strCol: sCurColIdx, endCol: "", cellIdx: sMergCellIdx};
  7094. bMergFlag = true;
  7095. }
  7096. if( (j == 24) || ( bMergFlag && (sCurRowIdx == sNextRowIdx) && (sVal != sNextVal) ) ){ // 23 -> 24로 변경
  7097. if(!utlf_isNull(arrMergeIdx[i][sArrIdx])) arrMergeIdx[i][sArrIdx].endCol = sCurColIdx;
  7098. bMergFlag = false;
  7099. sArrIdx++; // merge 정보 array index
  7100. sMergCellIdx++; // merge 후 cell index
  7101. }
  7102. sCurCellIdx++; // merge 전 cell index
  7103. }
  7104. /* cell index의 경우 row span된 cell은 indexing에서 제외됨. */
  7105. if(i==0 || i==1){
  7106. sCurCellIdx += (5-i); // 시간 row - 기본 셀 (고정) : 5
  7107. sMergCellIdx += (5-i); // 분 row - 기본 셀 (고정) : 4
  7108. }
  7109. }
  7110. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  7111. // merge
  7112. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  7113. for (var i = 0; i < 3; i++){
  7114. for(var k in arrMergeIdx[i]){
  7115. if( i != 2 || arrMergeIdx[i][k].strCol < 7 ){
  7116. objGrid.mergeContentsCell("head", i, arrMergeIdx[i][k].strCol, i, arrMergeIdx[i][k].endCol, arrMergeIdx[i][k].cellIdx, false);
  7117. }
  7118. }
  7119. }
  7120. objGrid.enableredraw = true;
  7121. objGrid.enableevent = true;
  7122. }
  7123. //회복기록1 저장
  7124. function fSaveGirok1(pSignFlag){
  7125. //항목별 변경된 값 확인
  7126. //debugger;
  7127. var sSaveItemXpath = ds_main_revrInfo_mnphrevr;
  7128. var sOrg_searchXpath = ds_HideData_rsrvcopy_org_list_mnphrevr;
  7129. var sTitle_recdtXpath = ds_main_revrInfo_mnphrevrtitle;
  7130. var sSingleSignXpath = ds_displaysigninfo_signdatalist;
  7131. var iGirokGridCnt = sSaveItemXpath.rowcount;
  7132. var sItemcd = "";
  7133. var iSameRowno = 0;
  7134. //서버로 전송할 값 비교
  7135. var sSaveValue = "";
  7136. var sOrgValue = "";
  7137. //서버로 전송할 데이터 초기화
  7138. var sLrgcd = "";
  7139. var sVsitemcd = "";
  7140. var sRecovseqno = utlf_transNullToEmpty(ds_main_revrInfo_recopkinfo.getColumn(0, "recovseqno"));
  7141. var sLrgnm = "";
  7142. var sVsitmnm = "";
  7143. var sRecdt = "";
  7144. var sRecflag = "";
  7145. var iChangeCnt = 0;
  7146. //저장시 Grid형태로 보내기 위한 Header 정보 setting
  7147. var sSaveHearder = "status▦lrgcd▦vsitemcd▦recovseqno▦recdt▦reccnt▦lrgnm▦vsitemnm▦recdeptcd▦recflag▩";
  7148. //var sSaveProgressHeader = "status▦recovseqno▦progressno▦reccmt▩";
  7149. var sSaveData = "";
  7150. var sSaveProgressData = "";
  7151. if(utlf_isNull(sRecovseqno)){
  7152. sysf_messageBox("회복환자 정보가 존재하지 않습니다.", "I000");
  7153. return false;
  7154. }
  7155. //인증저장했던 노드 정보 제거
  7156. //ds_displaysigninfo_signdatalist.clearData();
  7157. //progress note 저장
  7158. var sProgressXpath = ds_main_revrInfo_mnphrepg;
  7159. var iProgressGridCnt = ds_main_revrInfo_mnphrepg.rowcount; //getNodesetCount(sProgressXpath);
  7160. if(iGirokGridCnt >0){
  7161. for(var i = 0; i < iGirokGridCnt; i++){
  7162. var rowChngCnt = 0;
  7163. sLrgcd = utlf_transNullToEmpty(sSaveItemXpath.getColumn( i, "lrgcd")); //switch1.case1.case4.datagrid9.valuematrix(i, 0);
  7164. sItemcd = utlf_transNullToEmpty(sSaveItemXpath.getColumn( i, "vsitemcd"));//switch1.case1.case4.datagrid9.valuematrix(i, 1);
  7165. iSameRowno = fFindSameRow(sLrgcd, sItemcd);
  7166. if(iSameRowno != 0){
  7167. //초기화 설정을 했거나, 기존에 저장한 항목일 경우
  7168. delrowcnt = 0 ;
  7169. for(var iCol = 1; iCol <= 24; iCol++){
  7170. sSaveValue = utlf_transNullToEmpty(sSaveItemXpath.getColumn( i, "data"+iCol));
  7171. sOrgValue = utlf_transNullToEmpty(sOrg_searchXpath.getColumn( iSameRowno, "data"+iCol));
  7172. /*
  7173. if(sLrgcd = "00001" && sItemcd == "00001" ){
  7174. for(var procrow = 0 ; procrow < iProgressGridCnt ; procrow ++){
  7175. if(switch1.case1.case4.datagrid2.rowStatus(procrow) == "4" && sSaveValue == switch1.case1.case4.datagrid2.valueMatrix(procrow, switch1.case1.case4.datagrid2.colRef("progressno"))){
  7176. delrowcnt++ ;
  7177. }
  7178. if( switch1.case1.case4.datagrid2.rowStatus(procrow) != "4" ){
  7179. if(switch1.case1.case4.datagrid2.valueMatrix(procrow, switch1.case1.case4.datagrid2.colRef("progressno")) == sSaveValue.replace(" ", "")){
  7180. switch1.case1.case4.datagrid2.valueMatrix(procrow, switch1.case1.case4.datagrid2.colRef("progressno")) = eval(switch1.case1.case4.datagrid2.valueMatrix(procrow, switch1.case1.case4.datagrid2.colRef("progressno"))) - (delrowcnt);
  7181. sSaveValue = switch1.case1.case4.datagrid2.valueMatrix(procrow, switch1.case1.case4.datagrid2.colRef("progressno"));
  7182. }
  7183. }
  7184. if(switch1.case1.case4.datagrid2.rowStatus(procrow) == "4" && sSaveValue == switch1.case1.case4.datagrid2.valueMatrix(procrow, switch1.case1.case4.datagrid2.colRef("progressno"))){
  7185. sSaveValue = "";
  7186. }
  7187. }
  7188. }
  7189. */
  7190. if(sSaveValue != sOrgValue){
  7191. //서버로 전송할 데이터 생성
  7192. sLrgcd = utlf_transNullToEmpty(sSaveItemXpath.getColumn( i, "lrgcd"));
  7193. sVsitemcd = utlf_transNullToEmpty(sSaveItemXpath.getColumn( i, "vsitemcd"));
  7194. sLrgnm = utlf_transNullToEmpty(sSaveItemXpath.getColumn( i, "lrgnm"));
  7195. sVsitmnm = utlf_transNullToEmpty(sSaveItemXpath.getColumn( i, "vsitemnm"));
  7196. sRecdt = utlf_transNullToEmpty(sTitle_recdtXpath.getColumn(0, "data"+iCol));
  7197. sRecflag = utlf_transNullToEmpty(sSaveItemXpath.getColumn( i, "recflag"));
  7198. sSaveData += "u▦"
  7199. +sLrgcd +"▦"
  7200. +sVsitemcd +"▦"
  7201. +sRecovseqno +"▦"
  7202. +sRecdt +"▦"
  7203. +sSaveValue +"▦"
  7204. +sLrgnm +"▦"
  7205. +sVsitmnm +"▦"
  7206. +sysf_getUserInfo("dutplcecd")+"▦"
  7207. +sRecflag +"▩";
  7208. iChangeCnt++;
  7209. }
  7210. }
  7211. }else{
  7212. sLrgcd = utlf_transNullToEmpty(sSaveItemXpath.getColumn( i, "lrgcd"));
  7213. sVsitemcd = utlf_transNullToEmpty(sSaveItemXpath.getColumn( i, "vsitemcd"));
  7214. sLrgnm = utlf_transNullToEmpty(sSaveItemXpath.getColumn( i, "lrgnm"));
  7215. sVsitmnm = utlf_transNullToEmpty(sSaveItemXpath.getColumn( i, "vsitemnm"));
  7216. sNullData = utlf_transNullToEmpty(sTitle_recdtXpath.getColumn(0, "data1")); // 항목이 모두비었을경우 빈값을 넣어준다.
  7217. sRecflag = utlf_transNullToEmpty(sSaveItemXpath.getColumn( i, "recflag"));
  7218. //신규로 추가한 항목일 경우.
  7219. for(var iCol=1; iCol<= 24; iCol++){
  7220. //서버로 전송할 데이터 생성
  7221. sRecdt = utlf_transNullToEmpty(sTitle_recdtXpath.getColumn(0, "data"+iCol));
  7222. sSaveValue = utlf_transNullToEmpty(sSaveItemXpath.getColumn( i, "data"+iCol));
  7223. if(utlf_isNull(sSaveValue)){
  7224. continue;
  7225. }
  7226. sSaveData += "u▦"
  7227. +sLrgcd +"▦"
  7228. +sVsitemcd +"▦"
  7229. +sRecovseqno +"▦"
  7230. +sRecdt +"▦"
  7231. +sSaveValue +"▦"
  7232. +sLrgnm +"▦"
  7233. +sVsitmnm +"▦"
  7234. +sysf_getUserInfo("dutplcecd")+"▦"
  7235. +sRecflag +"▩";
  7236. iChangeCnt++;
  7237. rowChngCnt++;
  7238. }
  7239. //2009-05-29 오후 3:43:06 강지훈 수정
  7240. //Default값이 아닌 추가된 항목의 경우 저장된 값이 하나도 없으면 Null Data Insert
  7241. if(rowChngCnt == 0){
  7242. sFstRecdt = utlf_transNullToEmpty(sTitle_recdtXpath.getColumn(0, "data1"));
  7243. sFstSaveValue = utlf_transNullToEmpty(sSaveItemXpath.getColumn( i, "data1"));
  7244. var sSaveData = "u▦"
  7245. +sLrgcd +"▦"
  7246. +sVsitemcd +"▦"
  7247. +sRecovseqno +"▦"
  7248. +sFstRecdt +"▦"
  7249. +sFstSaveValue +"▦"
  7250. +sLrgnm +"▦"
  7251. +sVsitmnm +"▦"
  7252. +sysf_getUserInfo("dutplcecd") +"▦"
  7253. +sRecflag +"▩";
  7254. }
  7255. }
  7256. }
  7257. /*
  7258. for(var procrow = 0 ; procrow < iProgressGridCnt ; procrow ++){
  7259. if(switch1.case1.case4.datagrid2.rowStatus(procrow) != "4" ){
  7260. switch1.case1.case4.datagrid2.rowStatus(procrow) = "1";
  7261. }
  7262. }
  7263. */
  7264. var sProgressno = "";
  7265. var sReccmt = "";
  7266. NewRemFact = ds_main_revrInfo_recopkinfo.getColumn(0, "remfact");
  7267. OrgRemFact = ds_HideData_rsrvcopy_org_list_recopkinfo.getColumn(0, "remfact");
  7268. for(var i = 0 ; i < ds_main_revrInfo_mnphrepg.rowcount ; i++){
  7269. ds_main_revrInfo_mnphrepg.setRowType(i, 2); //rowstatus 를 '1'로 설정.
  7270. }
  7271. ds_send_recoverec_itemdata.clearData();
  7272. //setCSVToNode("ds_main_paminfo_list", node);
  7273. dsf_setCSVToDs("ds_send_recoverec_itemdata",sSaveHearder+sSaveData);
  7274. ds_send_recoverec_progressdata.clearData();
  7275. //dsf_makeValue( ds_send_recoverec_progressdata, "progressdata", "string", switch1.case1.case4.datagrid2.getUpdateData());
  7276. var oDsUpdate = grdf_getGridUpdateData(switch1.case1.case4.datagrid2);
  7277. grdf_setStatusColumn(oDsUpdate, "status");
  7278. ds_send_recoverec_progressdata.copyData(oDsUpdate, true);
  7279. ds_send_recoverec_remfact.clearData();
  7280. //dsf_makeValue( ds_send_recoverec_itemdata, "itemdata", "string", sSaveHearder+sSaveData);
  7281. dsf_makeValue( ds_send_recoverec_remfact, "remfact", "string", NewRemFact);
  7282. dsf_makeValue( ds_send_recoverec_remfact, "recovseqno", "string", sRecovseqno);
  7283. dsf_makeValue( ds_send_recoverec_remfact, "certflag", "string", pSignFlag);
  7284. //if(submit("TXMNP00702", false)){
  7285. var oParam = {};
  7286. oParam.id = "TXMNP00702";
  7287. oParam.service = "opanstapp.OpAnstRef";
  7288. oParam.method = "reqExeMnphrevrInfo";
  7289. oParam.inds = "itemdata=ds_send_recoverec_itemdata progressdata=ds_send_recoverec_progressdata remfact=ds_send_recoverec_remfact";
  7290. oParam.outds = "ds_hidden_resultmsg=resultmsg";
  7291. oParam.async = false;
  7292. oParam.callback = "cf_TXMNP00702";
  7293. tranf_submit(oParam);
  7294. if(arErrorCode.pop("TXMNP00702") > -1){
  7295. return true;
  7296. }
  7297. else{
  7298. return false;
  7299. }
  7300. }
  7301. }
  7302. function cf_TXMNP00702(sSvcId, nErrorCode, sErrorMsg) {
  7303. arErrorCode.push(sSvcId, nErrorCode);
  7304. }
  7305. //해당 아이템 항목이 초기화 상태에 존재했는지 여부 확인
  7306. function fFindSameRow(pLrgcd, pItemcd){
  7307. var sOrg_searchXpath = "ds_HideData_rsrvcopy_org_list_mnphrevr";
  7308. var iGirokGridCnt = eval(sOrg_searchXpath).rowcount; //getNodesetCount(sOrg_searchXpath);
  7309. var sLrgcd = "";
  7310. var sItemcd = "";
  7311. for(var i = 0; i < iGirokGridCnt; i++){
  7312. sLrgcd = eval(sOrg_searchXpath).getColumn( i, "lrgcd");
  7313. sItemcd = eval(sOrg_searchXpath).getColumn( i, "vsitemcd");
  7314. if(pLrgcd == sLrgcd && pItemcd == sItemcd){
  7315. return i;
  7316. }
  7317. }
  7318. return 0;
  7319. }
  7320. function fOnClickSizeBtn(pFlag){
  7321. switch(pFlag){
  7322. case "Large" :
  7323. switch1.case1.case4.button19.visible = false;
  7324. switch1.case1.case4.group1.caption82.visible = false;
  7325. switch1.case1.case4.group1.radio4.visible = false;
  7326. switch1.case1.case4.datagrid9.position.left = 0;
  7327. //20170322 이돈희 수정 : 창 크기 조정에 따라 확대 크기 조정
  7328. switch1.case1.case4.datagrid9.position.right = switch1.case1.position.width - switch1.case1.case4.datagrid2.position.width -1;
  7329. //switch1.case1.case4.datagrid9.position.width = 1041;
  7330. switch1.case1.case4.group8.visible = false;
  7331. //switch1.case1.case4.datagrid9.refresh();
  7332. break;
  7333. case "Short" :
  7334. switch1.case1.case4.button19.visible = true;
  7335. switch1.case1.case4.group1.caption82.visible = true;
  7336. switch1.case1.case4.group1.radio4.visible = true;
  7337. switch1.case1.case4.datagrid9.position.left = 495;
  7338. //20170322 이돈희 수정 : 창 크기 조정에 따라 확대 크기 조정
  7339. switch1.case1.case4.datagrid9.position.right = switch1.case1.position.width - switch1.case1.case4.datagrid2.position.width -1;
  7340. //switch1.case1.case4.datagrid9.position.width =546;
  7341. switch1.case1.case4.group8.visible = true;
  7342. //switch1.case1.case4.datagrid9.refresh();
  7343. break;
  7344. }
  7345. }
  7346. //Item 항목 추가 버튼 클릭시 이벤트
  7347. function fOnClickItemAddHelpBtn(){
  7348. //modal("SPMNP00702", 1, "", "", "", "SPMNP00702", "", "left:100; right:100; width:0; height:0; sysmenu:hidden; min:hidden, max:hidden;");
  7349. frmf_modal("SPMNP00702", "SPMNP00702", "", "", "1", "", "", "", "", "left:100; right:100; width:0; height:0; sysmenu:hidden; min:hidden, max:hidden;", "", "", "M");
  7350. }
  7351. //Item 항목 추가 버튼 클릭시 현재 기록항목 Grid Add 이벤트
  7352. function fGirokItemAdd(pSendData){
  7353. if(utlf_isNull(pSendData)){
  7354. return;
  7355. }
  7356. var sRowArr = pSendData.split("▩");
  7357. if(sRowArr.length > 0){
  7358. var sLrgcd = "";
  7359. var sItemcd = "";
  7360. var sLrgnm = "";
  7361. var sItemnm = "";
  7362. var sRecflag = "";
  7363. var sRecovseqno = ds_main_revrInfo_recopkinfo.getColumn(0, "recovseqno");
  7364. if(utlf_isNull(sRecovseqno)){
  7365. sysf_messageBox("기록할 환자 정보가 존재하지 않습니다.", "I000");
  7366. return;
  7367. }
  7368. var iInsertRow = -1;
  7369. for(var i = 0; i < sRowArr.length; i++){
  7370. var sColArr = sRowArr[i].split("▦");
  7371. if(utlf_isNull(sColArr)){
  7372. continue;
  7373. }
  7374. sLrgcd = sColArr[0];
  7375. sItemcd = sColArr[1];
  7376. sLrgnm = sColArr[2];
  7377. sItemnm = sColArr[3];
  7378. sRecflag = sColArr[4];
  7379. var bExistFlag = fExistItem(sLrgcd, sItemcd);
  7380. if(bExistFlag == false || bExistFlag == "false"){
  7381. //항목 추가
  7382. ds_HideData_itemaddlist_mnphrevr.setColumn( 0, "lrgcd" , sLrgcd);
  7383. ds_HideData_itemaddlist_mnphrevr.setColumn( 0, "vsitemcd" , sItemcd);
  7384. ds_HideData_itemaddlist_mnphrevr.setColumn( 0, "recovseqno", sRecovseqno);
  7385. ds_HideData_itemaddlist_mnphrevr.setColumn( 0, "lrgnm" , sLrgnm);
  7386. ds_HideData_itemaddlist_mnphrevr.setColumn( 0, "vsitemnm" , sItemnm);
  7387. iInsertRow = fSearchSameLrgcd(sLrgcd);
  7388. if(iInsertRow == -1){
  7389. var cur_row = ds_main_revrInfo_mnphrevr.addRow(); // 입력할 행 추가.
  7390. //var cur_row = switch1.case1.case4.datagrid9.row - switch1.case1.case4.datagrid9.fixedrows+1; // 추가된 행 번호 가져오기
  7391. ds_main_revrInfo_mnphrevr.setColumn( cur_row , "lrgcd" , sLrgcd);
  7392. ds_main_revrInfo_mnphrevr.setColumn( cur_row , "vsitemcd" , sItemcd);
  7393. ds_main_revrInfo_mnphrevr.setColumn( cur_row , "recovseqno", sRecovseqno);
  7394. ds_main_revrInfo_mnphrevr.setColumn( cur_row , "lrgnm" , sLrgnm);
  7395. ds_main_revrInfo_mnphrevr.setColumn( cur_row , "vsitemnm" , sItemnm);
  7396. ds_main_revrInfo_mnphrevr.setColumn( cur_row , "recflag" , sRecflag);
  7397. }else{
  7398. //debugger;
  7399. ds_main_revrInfo_mnphrevr.insertRow(parseInt(iInsertRow, 10)+1);
  7400. var cur_row = parseInt(iInsertRow, 10) +1;
  7401. ds_main_revrInfo_mnphrevr.setColumn( cur_row , "lrgcd" , sLrgcd);
  7402. ds_main_revrInfo_mnphrevr.setColumn( cur_row , "vsitemcd" , sItemcd);
  7403. ds_main_revrInfo_mnphrevr.setColumn( cur_row , "recovseqno", sRecovseqno);
  7404. ds_main_revrInfo_mnphrevr.setColumn( cur_row , "lrgnm" , sLrgnm);
  7405. ds_main_revrInfo_mnphrevr.setColumn( cur_row , "vsitemnm" , sItemnm);
  7406. ds_main_revrInfo_mnphrevr.setColumn( cur_row , "recflag" , sRecflag);
  7407. ds_main_revrInfo_mnphrevr.enableevent = false;
  7408. ds_main_revrInfo_mnphrevr.updatecontrol = false;
  7409. ds_main_revrInfo_mnphrevr.setColumn(cur_row, "colBack3", "#d5f4f5");
  7410. ds_main_revrInfo_mnphrevr.updatecontrol = true;
  7411. ds_main_revrInfo_mnphrevr.enableevent = true;
  7412. }
  7413. }
  7414. }
  7415. //switch1.case1.case4.datagrid9.rebuild();
  7416. if(sysf_getUserInfo("dutplceinstcd") == yuidoinstcd) { //성모병원만 적용
  7417. //V_S항목 포맷형식 지정 by 박영우 2010-02-22
  7418. var lrgcd = "";
  7419. var vsitemcd = "";
  7420. for(var i = 0; i < ds_main_revrInfo_mnphrevr.rowcount; i++) {
  7421. lrgcd = ds_main_revrInfo_mnphrevr.getColumn(i, "lrgcd");
  7422. vsitemcd = ds_main_revrInfo_mnphrevr.getColumn(i, "vsitemcd");
  7423. if( (lrgcd == "00001" && vsitemcd == "00001") || // lrgcd: PROGRESS, vsitemcd: PROGRESS
  7424. (lrgcd == "00002" && vsitemcd == "00007") || // lrgcd: V_S, vsitemcd: ECG(적용)
  7425. (lrgcd == "00003" && !(vsitemcd == "00001" || vsitemcd == "00006")) || // lrgcd: 호흡관리, vsitemcd: O₂양(L_min), Suction 양 제외!
  7426. (lrgcd == "00008" && (vsitemcd == "00003" || vsitemcd == "00004")) || // lrgcd: 분만관리, vsitemcd: Contraction, Lochia
  7427. // lrgcd: 사정도구, 기본관리, 간호수행, Ventilator, 삽관
  7428. (lrgcd == "00007") || (lrgcd == "00009") || (lrgcd == "00010") || (lrgcd == "00011") || (lrgcd == "00012")
  7429. ) {
  7430. //for(var j = 5; j<datagrid9.cols ; j++) {
  7431. // switch1.case1.case4.datagrid9.cellformat((i+switch1.case1.case4.datagrid9.fixedRows-1), j) = "";
  7432. //}
  7433. for(var j = 5; j < ds_main_revrInfo_mnphrevr.getColCount; j++) {
  7434. switch1.case1.case4.datagrid9.setCellProperty("body", j, "mask", "");
  7435. }
  7436. } else {
  7437. //for(var j = 5; j<switch1.case1.case4.datagrid9.cols ; j++) {
  7438. // switch1.case1.case4.datagrid9.cellformat((i+switch1.case1.case4.datagrid9.fixedRows-1), j) = "999999";
  7439. //}
  7440. for(var j = 5; j < ds_main_revrInfo_mnphrevr.getColCount; j++) {
  7441. switch1.case1.case4.datagrid9.setCellProperty("body", j, "mask", "999999");
  7442. }
  7443. }
  7444. if( lrgcd == "00002" && vsitemcd == "00005") {
  7445. //for(var j = 5; j < switch1.case1.case4.datagrid9.cols ; j++) {
  7446. // switch1.case1.case4.datagrid9.cellformat((i+switch1.case1.case4.datagrid9.fixedRows-1), j) = "#.9";
  7447. //}
  7448. for(var j = 5; j < ds_main_revrInfo_mnphrevr.getColCount; j++) {
  7449. switch1.case1.case4.datagrid9.setCellProperty("body", j, "mask", "#.9");
  7450. }
  7451. }
  7452. }
  7453. }
  7454. }
  7455. }
  7456. //현재 리스트에 같은 아이템 항목이 존재하는지 체크
  7457. function fExistItem(pLrgcd, pItemcd){
  7458. var sGirokXpath = "ds_main_revrInfo_mnphrevr";
  7459. var iGirokGridCnt = eval(sGirokXpath).rowcount; //getNodesetCount(sGirokXpath);
  7460. var sLrgcd = "";
  7461. var sItemcd = "";
  7462. for(var i = 0; i < iGirokGridCnt; i++){
  7463. sLrgcd = eval(sGirokXpath).getColumn( i, "lrgcd");
  7464. sItemcd = eval(sGirokXpath).getColumn( i, "vsitemcd");
  7465. if(pLrgcd == sLrgcd && pItemcd == sItemcd){
  7466. return true;
  7467. }
  7468. }
  7469. return false;
  7470. }
  7471. // prameter 분류코드와 동일한 분류의 가장 마지막행의 정보 return
  7472. function fSearchSameLrgcd(pLrgcd){
  7473. var sGirokXpath = "ds_main_revrInfo_mnphrevr";
  7474. var iGirokGridCnt = eval(sGirokXpath).rowcount; //getNodesetCount(sGirokXpath);
  7475. var sLrgcd = "";
  7476. var sItemcd = "";
  7477. for(var i = iGirokGridCnt - 1; i >= 0; i--){
  7478. sLrgcd = eval(sGirokXpath).getColumn( i, "lrgcd");
  7479. sItemcd = eval(sGirokXpath).getColumn( i, "vsitemcd");
  7480. //alert("i :"+i+" , sLrgcd : "+sLrgcd + " , pLrgcd : "+pLrgcd);
  7481. if(pLrgcd == sLrgcd){
  7482. return i;
  7483. }
  7484. }
  7485. return -1;
  7486. }
  7487. var fv_bSetRow = false;
  7488. ///드래그 값 복사 기능
  7489. function fSelectedCells(pGrid){
  7490. if (pGrid.currentrow < 0 || pGrid.currentcol < 7 ) return;
  7491. for( var i=0 ; i<pGrid.selectcount ; i++ ){
  7492. var sPosId = gPosId - 6;//(pGrid.selectstartcol[0]-6);
  7493. if(sPosId < 1) return;
  7494. var sCopyValue = ds_main_revrInfo_mnphrevr.getColumn(gPosColId, "data"+sPosId);
  7495. // ds_main_revrInfo_mnphrevr.enableevent = false;
  7496. // ds_main_revrInfo_mnphrevr.updatecontrol = false;
  7497. for( var j=pGrid.selectstartrow[i] ; j<=pGrid.selectendrow[i] ; j++ ){
  7498. for( var k=pGrid.selectstartcol[i] ; k<=pGrid.selectendcol[i] ; k++ ){
  7499. fv_bSetRow = true;
  7500. ds_main_revrInfo_mnphrevr.setColumn(j, "data"+(k-6), sCopyValue);
  7501. }
  7502. }
  7503. fv_bSetRow = false;
  7504. // ds_main_revrInfo_mnphrevr.updatecontrol = true;
  7505. // ds_main_revrInfo_mnphrevr.enableevent = true;
  7506. }
  7507. }
  7508. //Prn처방 항목추가
  7509. function fAddOrderToGirok(pGrid, pGridXpath){
  7510. var sPrnCur = eval(pGrid).currentrow;
  7511. if(sPrnCur < 0){
  7512. return;
  7513. }
  7514. var sRecovseqno = eval(pGridXpath).getColumn( sPrnCur, "recovseqno");
  7515. var sPrcpclscd = eval(pGridXpath).getColumn( sPrnCur, "prcpclscd");
  7516. var sPrcpclsnm = eval(pGridXpath).getColumn( sPrnCur, "flag2");
  7517. var sPrcpcd = eval(pGridXpath).getColumn( sPrnCur, "prcpcd");
  7518. var sPrcpnm = eval(pGridXpath).getColumn( sPrnCur, "prcpnm");
  7519. //약_주사(A2 A4 A6)를 제외하고는 return
  7520. if(sPrcpclscd != "A2" && sPrcpclscd != "A4" && sPrcpclscd != "A6"){
  7521. return;
  7522. }
  7523. var sGirokXpath = "ds_main_revrInfo_mnphrevr";
  7524. var iGirokGridCnt = eval(sGirokXpath).rowcount; // getNodesetCount(sGirokXpath);
  7525. var sLrgcd = "";
  7526. var sItemcd = "";
  7527. var bExistFlag = false;
  7528. for(var i = 0; i < iGirokGridCnt; i++){
  7529. sLrgcd = eval(sGirokXpath).getColumn( i, "lrgcd");
  7530. sItemcd = eval(sGirokXpath).getColumn( i, "vsitemcd");
  7531. if(sPrcpclscd == sLrgcd && sPrcpcd == sItemcd){
  7532. bExistFlag = true;
  7533. }
  7534. }
  7535. if(!bExistFlag){
  7536. var cur_row = ds_main_revrInfo_mnphrevr.addRow(); // 입력할 행 추가.
  7537. //var cur_row = switch1.case1.case4.datagrid9.row - switch1.case1.case4.datagrid9.fixedrows+1;
  7538. ds_main_revrInfo_mnphrevr.setColumn( cur_row , "lrgcd" , sPrcpclscd);
  7539. ds_main_revrInfo_mnphrevr.setColumn( cur_row , "vsitemcd" , sPrcpcd);
  7540. ds_main_revrInfo_mnphrevr.setColumn( cur_row , "recovseqno", sRecovseqno);
  7541. ds_main_revrInfo_mnphrevr.setColumn( cur_row , "lrgnm" , sPrcpclsnm);
  7542. ds_main_revrInfo_mnphrevr.setColumn( cur_row , "vsitemnm" , sPrcpnm);
  7543. ds_main_revrInfo_mnphrevr.setColumn( cur_row , "recflag" , "2"); //기록구분 2:처방
  7544. //switch1.case1.case4.datagrid9.colstyle(3, "data", "background-color") = "#d5f4f5";
  7545. //switch1.case1.case4.datagrid9.colstyle(4, "data", "background-color") = "#d5f4f5";
  7546. //switch1.case1.case4.datagrid9.colstyle(5, "data", "background-color") = "#eaeaea";
  7547. //switch1.case1.case4.datagrid9.colstyle(6, "data", "background-color") = "#eaeaea";
  7548. ds_main_revrInfo_mnphrevr.enableevent = false;
  7549. ds_main_revrInfo_mnphrevr.updatecontrol = false;
  7550. ds_main_revrInfo_mnphrevr.setColumn(cur_row, "colBack3", "#d5f4f5");
  7551. ds_main_revrInfo_mnphrevr.setColumn(cur_row, "colBack4", "#d5f4f5");
  7552. ds_main_revrInfo_mnphrevr.setColumn(cur_row, "colBack5", "#eaeaea");
  7553. ds_main_revrInfo_mnphrevr.updatecontrol = true;
  7554. ds_main_revrInfo_mnphrevr.enableevent = true;
  7555. // switch1.case1.case4.datagrid9.setCellProperty("body", 3, "background", "#d5f4f5");//.colstyle(3, "data", "background-color") = "#d5f4f5";
  7556. // switch1.case1.case4.datagrid9.setCellProperty("body", 3, "background2", "#d5f4f5");
  7557. // switch1.case1.case4.datagrid9.setCellProperty("body", 4, "background", "#d5f4f5"); //.colstyle(4, "data", "background-color") = "#d5f4f5";
  7558. // switch1.case1.case4.datagrid9.setCellProperty("body", 4, "background2", "#d5f4f5");
  7559. // switch1.case1.case4.datagrid9.setCellProperty("body", 5, "background", "#eaeaea"); //.colstyle(5, "data", "background-color") = "#eaeaea";
  7560. // switch1.case1.case4.datagrid9.setCellProperty("body", 5, "background2", "#eaeaea");
  7561. // switch1.case1.case4.datagrid9.setCellProperty("body", 6, "background", "#eaeaea"); //colstyle(6, "data", "background-color") = "#eaeaea";
  7562. // switch1.case1.case4.datagrid9.setCellProperty("body", 6, "background2", "#eaeaea");
  7563. //switch1.case1.case4.datagrid9.rebuild();
  7564. }
  7565. }
  7566. //프로그레스 항목 추가
  7567. function fAddProgress(){
  7568. //2009-06-04 오전 9:48:09 강지훈 수정 : max값을 no로 설정한다.
  7569. var maxVal = 1;
  7570. if(ds_main_revrInfo_mnphrepg.rowcount > 0){
  7571. //var tempNodeInfo = instance1.selectSingleNode("_root_main_revrInfo_mnphrepg");
  7572. //var repgLen = tempNodeInfo.length;
  7573. var repgLen = ds_main_revrInfo_mnphrepg.rowcount;
  7574. if(repgLen > 0 ){
  7575. for(var i = 0; i < repgLen; i++){
  7576. var targetVal = ds_main_revrInfo_mnphrepg.getColumn(i, "progressno");
  7577. maxVal = Math.max(maxVal, targetVal);
  7578. maxVal++;
  7579. }
  7580. }
  7581. }
  7582. var cur_row = ds_main_revrInfo_mnphrepg.addRow(); // 입력할 행 추가.
  7583. //var cur_row = switch1.case1.case4.datagrid2.row - switch1.case1.case4.datagrid2.fixedrows+1;
  7584. ds_main_revrInfo_mnphrepg.setColumn( cur_row , "progressno" , maxVal);
  7585. ds_main_revrInfo_mnphrepg.setColumn( cur_row , "recovseqno" , ds_main_revrInfo_recopkinfo.getColumn(0, "recovseqno"));
  7586. //switch1.case1.case4.datagrid2.refresh();
  7587. }
  7588. //Prn 처방내역(수술중_후) 내역 조회
  7589. function fSearchPrnOrderInfo(){
  7590. var sPinfoPath = "ds_init_WorkData";
  7591. var sTitleXpath = "ds_main_revrInfo_mnphrevrtitle";
  7592. var sRecovseqno = eval(sPinfoPath).getColumn(0, "recovseqno");
  7593. var sPid = eval(sPinfoPath).getColumn(0, "pid");
  7594. var sOprsrvno = eval(sPinfoPath).getColumn(0, "oprsrvno");
  7595. var sSearchDt = "";
  7596. if(utlf_isNull(sOprsrvno) || utlf_isNull(sPid) || utlf_isNull(sRecovseqno) ){
  7597. sysf_messageBox("기록할 환자를 선택하시기 바랍니다.", "I000");
  7598. return;
  7599. }
  7600. var sPrnorderflag = ds_init_revrterm.getColumn(0, "prnorderflag");
  7601. if(utlf_isNull(sPrnorderflag)){
  7602. ds_init_revrterm.setColumn( 0, "prnorderflag", "A");
  7603. //radio4.refresh();
  7604. sPrnorderflag = "A";
  7605. }
  7606. ds_send.clearData();
  7607. dsf_makeValue( ds_send, "recovseqno", "string", sRecovseqno);
  7608. dsf_makeValue( ds_send, "oprsrvno", "string",sOprsrvno );
  7609. dsf_makeValue( ds_send, "pid", "string", sPid );
  7610. dsf_makeValue( ds_send, "indd", "string", ds_main_paminfo_list.getColumn(0, "indd"));
  7611. dsf_makeValue( ds_send, "prnorderflag", "string", sPrnorderflag);
  7612. //if(submit("TRMNP00712")){
  7613. var oParam = {};
  7614. oParam.id = "TRMNP00712";
  7615. oParam.service = "opanstapp.OpAnstRef";
  7616. oParam.method = "reqGetRecoPrnOrderInfo";
  7617. oParam.inds = "req=ds_send";
  7618. oParam.outds = "ds_HideData_orderlist_prnorderlists_prnorderlist=prnorderlist";
  7619. oParam.async = false;
  7620. oParam.callback = "cf_TRMNP00712";
  7621. tranf_submit(oParam);
  7622. if(arErrorCode.pop("TRMNP00712") > -1){
  7623. var sPrnXpath = "ds_HideData_orderlist_prnorderlists_prnorderlist";
  7624. var iPrnOrderCnt = eval(sPrnXpath).rowcount; //getNodesetCount(sPrnXpath);
  7625. ds_main_revrInfo_prnorderlist.clearData();
  7626. if(iPrnOrderCnt > 0){
  7627. ds_main_revrInfo_prnorderlist.copyData(ds_HideData_orderlist_prnorderlists_prnorderlist);
  7628. }
  7629. //datagrid1.rebuild();
  7630. }
  7631. }
  7632. function cf_TRMNP00712(sSvcId, nErrorCode, sErrorMsg) {
  7633. arErrorCode.push(sSvcId, nErrorCode);
  7634. }
  7635. //시행부서 처방내역(수술중_후) 내역 조회
  7636. function fSearchActingOrderInfo(){
  7637. var sPinfoPath = "ds_init_WorkData";
  7638. var sTitleXpath = "ds_main_revrInfo_mnphrevrtitle";
  7639. var sRecovseqno = eval(sPinfoPath).getColumn(0, "recovseqno");
  7640. var sPid = eval(sPinfoPath).getColumn(0, "pid");
  7641. var sOprsrvno = eval(sPinfoPath).getColumn(0, "oprsrvno");
  7642. var sSearchDt = "";
  7643. if(utlf_isNull(sOprsrvno) || utlf_isNull(sPid) || utlf_isNull(sRecovseqno) ){
  7644. sysf_messageBox("기록할 환자를 선택하시기 바랍니다.", "I000");
  7645. return;
  7646. }
  7647. //var sActingOrderFlag = ds_init_revrterm.getColumn(0, "actionoderflag");
  7648. //if(sActingOrderFlag == ""){
  7649. // ds_init_revrterm.setColumn( 0, "actionoderflag", "R");
  7650. // //radio2.refresh();
  7651. // sActingOrderFlag = "R";
  7652. //}
  7653. ds_send.clearData();
  7654. dsf_makeValue( ds_send, "recovseqno", "string", sRecovseqno);
  7655. dsf_makeValue( ds_send, "oprsrvno", "string", sOprsrvno );
  7656. dsf_makeValue( ds_send, "pid", "string", sPid );
  7657. dsf_makeValue( ds_send, "indd", "string", ds_main_paminfo_list.getColumn(0, "indd"));
  7658. dsf_makeValue( ds_send, "actingorderflag", "string", "");
  7659. // if(submit("TRMNP00713")){
  7660. var oParam = {};
  7661. oParam.id = "TRMNP00713";
  7662. oParam.service = "opanstapp.OpAnstRef";
  7663. oParam.method = "reqGetRecoActingOrderInfo";
  7664. oParam.inds = "req=ds_send";
  7665. oParam.outds = "ds_HideData_orderlist_actingorderlists_actingorderlist=actingorderlist";
  7666. oParam.async = false;
  7667. oParam.callback = "cf_TRMNP00713";
  7668. tranf_submit(oParam);
  7669. if(arErrorCode.pop("TRMNP00713") > -1){
  7670. var sAcingXpath = "ds_HideData_orderlist_actingorderlists_actingorderlist";
  7671. var iActingOrderCnt = eval(sAcingXpath).rowcount; //getNodesetCount(sAcingXpath);
  7672. ds_main_revrInfo_actingorderlist.clearData();
  7673. if(iActingOrderCnt > 0){
  7674. ds_main_revrInfo_actingorderlist.copyData(ds_HideData_orderlist_actingorderlists);
  7675. }
  7676. //datagrid4.rebuild();
  7677. }
  7678. }
  7679. function cf_TRMNP00713(sSvcId, nErrorCode, sErrorMsg) {
  7680. arErrorCode.push(sSvcId, nErrorCode);
  7681. }
  7682. //2010-03-10 오후 9:55:38 taebum PRN처방을 추가하여 기록할 경우 문자값 Blocking 용 function
  7683. function fCheckIOFormat(curRow, curCol){
  7684. //2010-03-10 오후 8:28:09 taebum add PRN처방내역을 copy하여 값입력시 문자일 경우 입력안되도록 막음.
  7685. ds_main_revrInfo_mnphrevr.enableevent = false;
  7686. var wPath = "ds_main_revrInfo_mnphrevr";
  7687. var _currow = curRow;
  7688. var _curcol = curCol;
  7689. var sLrgcd = eval(wPath).getColumn( _currow , "lrgcd"); //(switch1.case1.case4.datagrid9.row-switch1.case1.case4.datagrid9.fixedRows+1) 의 의미는 ?
  7690. var sPrcpClscd = ds_init_M0005_M0005.lookupExpr("cdid == '"+ sLrgcd + "'", "cdid");
  7691. var idxItotal = switch1.case1.case4.datagrid9.getBindCellIndex("body", "itotal");
  7692. var idxOtotal = switch1.case1.case4.datagrid9.getBindCellIndex("body", "ototal");
  7693. //if(_curcol == idxOtotal || _curcol == idxItotal ) {
  7694. if(sLrgcd == iocd) {
  7695. var InptValue = eval(wPath).getColumn( _currow, _curcol);
  7696. if(!isNumber(InptValue)){
  7697. sysf_messageBox("I_O에는 수치만 입력가능합니다.", "E000");
  7698. eval(wPath).setColumn(_currow, _curcol, "" );
  7699. //switch1.case1.case4.datagrid9.rebuild();
  7700. }
  7701. }
  7702. // }
  7703. //대분류코드와 처방마스터의 prcpclscd #M0005와 동일할 경우 입력값 문자일경우 blocking 처리.
  7704. if(utlf_isNull(sPrcpClscd)){
  7705. ds_main_revrInfo_mnphrevr.enableevent = true;
  7706. return;
  7707. }
  7708. var InptValue = eval(wPath).getColumn( _currow, _curcol);
  7709. if(!isNumber(InptValue)){
  7710. sysf_messageBox("문자를 입력할 수 없습니다.", "E000");
  7711. eval(wPath).setColumn(_currow, _curcol, "" );
  7712. //switch1.case1.case4.datagrid9.rebuild();
  7713. }
  7714. ds_main_revrInfo_mnphrevr.enableevent = true;
  7715. }
  7716. //숫자형 포맷check
  7717. function isNumber(str) {
  7718. str += ''; // 문자열로 변환
  7719. str = str.replace('/^\s*|\s*$_g', ''); // 좌우 공백 제거
  7720. if (str == '' || isNaN(str)) return false;
  7721. return true;
  7722. }
  7723. function fDelVsCurCol() {
  7724. var currow = parseInt(switch1.case1.case4.datagrid9.currentrow);
  7725. var lrgcd = ds_main_revrInfo_mnphrevr.getColumn(currow, "lrgcd");
  7726. var recovseqno = ds_main_revrInfo_recopkinfo.getColumn(0, "recovseqno");
  7727. var vsitemcd = ds_main_revrInfo_mnphrevr.getColumn(currow, "vsitemcd");
  7728. dsf_makeValue( ds_send, "lrgcd", "string", lrgcd);
  7729. dsf_makeValue( ds_send, "recovseqno", "string", recovseqno);
  7730. dsf_makeValue( ds_send, "vsitemcd", "string", vsitemcd);
  7731. //if (submit("TXMNP00704")== true) {
  7732. var oParam = {};
  7733. oParam.id = "TXMNP00704";
  7734. oParam.service = "opanstapp.OpAnstRef";
  7735. oParam.method = "reqDelVSCurCol";
  7736. oParam.inds = "req=ds_send";
  7737. oParam.outds = "ds_hidden_seqno=seqno";
  7738. oParam.async = false;
  7739. oParam.callback = "cf_TXMNP00704";
  7740. tranf_submit(oParam);
  7741. if (arErrorCode.pop("TXMNP00704") > -1) {
  7742. fSave("C");
  7743. //fGetGiRok1Data("RELOAD", ds_main_revrInfo_mnphrevrtitle.getColumn(0, "data1"));
  7744. }
  7745. }
  7746. function cf_TXMNP00704(sSvcId, nErrorCode, sErrorMsg) {
  7747. arErrorCode.push(sSvcId, nErrorCode);
  7748. }
  7749. function fGetAnstRecoverInExRec(flag) {
  7750. var sPinfoPath = "ds_init_WorkData";
  7751. var sPid = eval(sPinfoPath).getColumn(0, "pid");
  7752. var sOprsrvno = eval(sPinfoPath).getColumn(0, "oprsrvno");
  7753. if(!utlf_isNull(sOprsrvno) && !utlf_isNull(sPid)) {
  7754. dsf_makeValue( ds_send, "oprsrvno", "string",sOprsrvno );
  7755. dsf_makeValue( ds_send, "pid", "string", sPid );
  7756. //if(submit("TRMNP00716")){
  7757. var oParam = {};
  7758. oParam.id = "TRMNP00716";
  7759. oParam.service = "opanstapp.OpAnstRef";
  7760. oParam.method = "reqGetAnstRecoverInExRec";
  7761. oParam.inds = "req=ds_send";
  7762. oParam.outds = "ds_temp_inexinfo_inexlist=inexlist";
  7763. oParam.async = false;
  7764. oParam.callback = "cf_TRMNP00716";
  7765. tranf_submit(oParam);
  7766. if(arErrorCode.pop("TRMNP00716") > -1){
  7767. var sInData = ds_temp_inexinfo_inexlist.getColumn(0, "indata");
  7768. var sOutData = ds_temp_inexinfo_inexlist.getColumn(0, "extdata");
  7769. if (utlf_isNull(sInData)) {
  7770. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctplacecd" , "");
  7771. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayadddt" ,"");
  7772. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayaddtm" ,"");
  7773. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayid" , "");
  7774. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayid_tmp" , "");
  7775. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwaynm" , "");
  7776. } else {
  7777. var sInDataArr = sInData.split("▥");
  7778. var sIndt = sInDataArr[0];
  7779. var sInDoctId = sInDataArr[1];
  7780. var sInDoctNm = sInDataArr[2];
  7781. //수술실 회복실 구분
  7782. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctplacecd" , "O");
  7783. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayadddt" ,sIndt.substr(0,8));
  7784. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayaddtm" ,sIndt.substr(8,4));
  7785. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayid" , sInDoctId);
  7786. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayid_tmp" , sInDoctId);
  7787. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwaynm" , sInDoctNm);
  7788. }
  7789. if (utlf_isNull(sOutData)) {
  7790. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctplacecd" , "");
  7791. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwaydt" , "");
  7792. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwaytm" , "");
  7793. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctcairwayextid" ,"");
  7794. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctcairwayextid_tmp","");
  7795. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayextnm" ,"");
  7796. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "notprtctairway" , "");
  7797. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayextbp" , "");
  7798. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayextp" , "");
  7799. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayextspo" , "");
  7800. } else {
  7801. var sOutDataArr = sOutData.split("▥");
  7802. var sOutdt = sOutDataArr[0];
  7803. var sOutDoctId = sOutDataArr[1];
  7804. var sOutDoctNm = sOutDataArr[2];
  7805. var sOutBP = sOutDataArr[3];
  7806. var sOutP = sOutDataArr[4];
  7807. var sOutSPO = sOutDataArr[5];
  7808. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctplacecd" , "O");
  7809. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwaydt" , sOutdt.substr(0,8));
  7810. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwaytm" , sOutdt.substr(8,4));
  7811. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctcairwayextid" , sOutDoctId);
  7812. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctcairwayextid_tmp" , sOutDoctId);
  7813. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayextnm" , sOutDoctNm);
  7814. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "notprtctairway" , "");
  7815. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayextbp" , sOutBP);
  7816. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayextp" , sOutP);
  7817. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayextspo" , sOutSPO);
  7818. }
  7819. //model.refresh();
  7820. }
  7821. } else {
  7822. sysf_messageBox("환자가 선택되지 않았습니다.", "I");
  7823. return;
  7824. }
  7825. //modal("SMMMR03700", "", "event.screenX-100", "event.screenY-100", "SMMMR03700");
  7826. if (flag != "N") {
  7827. frmf_open("SMMMR03700", "SMMMR03700", "", "", "", "", "", "", "", "", "", "", "M");
  7828. }
  7829. }
  7830. function cf_TRMNP00716(sSvcId, nErrorCode, sErrorMsg) {
  7831. arErrorCode.push(sSvcId, nErrorCode);
  7832. }
  7833. //[설 명]
  7834. // nodeName : 현재 노드의 노드 명을 얻거나 변경한다.
  7835. // nodeType : 현재 노드의 노드 타입을 얻거나 변경한다.
  7836. // nodeTypedValue : 저장은 없음 -> text 를 이용해야한다.
  7837. // nodeValue : 현재 노드의 노드 값을 얻거나 변경한다.
  7838. // text : 현재 노드와 그 자식 노드에서 텍스트 노드의 컨텐츠를 얻거나 변경한다.
  7839. //
  7840. //[구현]
  7841. // var ins = document.models( 0 ).instances( 0 );
  7842. // var node = ins.selectSingleNode( "_root_init_example" );
  7843. // input1.text= node.nodeName ;
  7844. // input2.text= node.nodeType;
  7845. // input3.text= node.nodeValue;
  7846. // input4.text= node.nodeTypedValue;
  7847. // input5.text= node.text ;
  7848. /* ------------------------------------------------- */
  7849. /* ------End Of List ------------------------------- */
  7850. /* -------------------------------------------------- */
  7851. /**
  7852. * _group :
  7853. * _ver : 2010-01-21
  7854. * _by : 박영우
  7855. * _---------------------------------------------------
  7856. * _type : function
  7857. * _access : public
  7858. * _desc : 회복간호기록 등록_수정_삭제 요청을 처리한다.
  7859. * _param :
  7860. * _return :
  7861. * _---------------------------------------------------
  7862. */
  7863. function fInOutRoomCancel(){
  7864. var iCurrentRow = datagrid5.currentrow;
  7865. if(iCurrentRow < 0){
  7866. return false;
  7867. }
  7868. //수술실 마취, 수술실 회복실이 아닌 경우 입실취소 제한
  7869. //ICU부서인 경우 수술간호기록에서 퇴실장소가 회복실을 제외한 환자들 저장 가능하게.. by 박영우 2010-02-28
  7870. var dutplceflag = false; // 입실취소 여부
  7871. var dutplcecd = sysf_getUserInfo("dutplcecd"); // 로그인한 부서코드
  7872. var iCurrentRow = datagrid5.currentrow;
  7873. var sOpPatoutrmplcecd = "";
  7874. if(!(dutplcecd == ds_code_codeinfo_codelist.lookupExpr("cdgrupid == '016'", "cdid") || // 수술실 마취
  7875. dutplcecd == ds_code_codeinfo_codelist.lookupExpr("cdgrupid == '017'", "cdid"))) { // 수술실 회복실 이 아닌 경우..
  7876. for(var i = 0; i < ds_code_codeinfo_codelist.rowcount; i++) { // 부서가 중환자실일 경우
  7877. if(ds_code_codeinfo_codelist.getColumn(i, "cdgrupid") == "095") {
  7878. if(dutplcecd == ds_code_codeinfo_codelist.getColumn(i, "cdid")) {
  7879. sOpPatoutrmplcecd = ds_HideData_opschelists_schelist.getColumn(iCurrentRow, "opoutrmplcecd"); //해당환자의 수술실 퇴실장소
  7880. if(sysf_getUserInfo("dutplceinstcd") == vincentinstcd) { // 빈센트 병원의 경우 퇴실장소코드 "25"번이 주사실이라 분기
  7881. if(sOpPatoutrmplcecd == "01" || sOpPatoutrmplcecd == "26" || utlf_isNull(sOpPatoutrmplcecd)) { // 회복실 혹은 수술실, 분만실이면 제외
  7882. dutplceflag = false;
  7883. } else {
  7884. dutplceflag = true;
  7885. }
  7886. } else {
  7887. if(sOpPatoutrmplcecd == "01" || sOpPatoutrmplcecd == "26" || sOpPatoutrmplcecd == "25" || utlf_isNull(sOpPatoutrmplcecd)) { // 회복실 혹은 수술실, 분만실이면 제외
  7888. dutplceflag = false;
  7889. } else {
  7890. dutplceflag = true;
  7891. }
  7892. }
  7893. break;
  7894. } else { // 해당사항이 없을 경우..
  7895. dutplceflag = false;
  7896. }
  7897. }
  7898. }
  7899. } else { // 수술실 회복실, 수술실 마취일 경우
  7900. dutplceflag = true;
  7901. }
  7902. //환자 pid, 이름으로 입실취소 여부 확인
  7903. var patname = ds_HideData_opschelists_schelist.getColumn(iCurrentRow, "hngnm");
  7904. var pid = ds_HideData_opschelists_schelist.getColumn(iCurrentRow, "pid");
  7905. if(dutplceflag) {
  7906. var msg = sysf_messageBox("["+pid+", "+patname+"]님의 입실취소를", "Q004");
  7907. if(Number(msg) == 6) {
  7908. var opStat = ds_HideData_opschelists_schelist.getColumn(iCurrentRow, "opstatnm");
  7909. var recovseqno = ds_HideData_opschelists_schelist.getColumn(iCurrentRow, "recovseqno");
  7910. var pkidatetimems = ds_HideData_opschelists_schelist.getColumn(iCurrentRow, "pkidatetimems");
  7911. if(opStat != "회복" && opStat != "종료" ){
  7912. sysf_messageBox("입실취소를 할 수 없는 환자입니다. 진행상태를 확인하시기 바랍니다.","");
  7913. return false;
  7914. }else{
  7915. if(utlf_isNull(recovseqno)){
  7916. sysf_messageBox("입실취소를 할 수 없는 환자입니다. 진행상태를 확인하시기 바랍니다.","");
  7917. return false;
  7918. } else if(!utlf_isNull(pkidatetimems)) {
  7919. sysf_messageBox("입실취소를 할 수 없는 환자입니다. 진행상태를 확인하시기 바랍니다.","");
  7920. return false;
  7921. }
  7922. }
  7923. var oprsrvno = ds_HideData_opschelists_schelist.getColumn(iCurrentRow, "oprsrvno");
  7924. ds_send_rmcncl.clearData();
  7925. ds_send_rmcncl.addRow();
  7926. dsf_makeValue( ds_send_rmcncl, "oprsrvno", "string", oprsrvno);
  7927. dsf_makeValue( ds_send_rmcncl, "recovseqno", "string", recovseqno);
  7928. dsf_makeValue( ds_send_rmcncl, "pid", "string", pid);
  7929. dsf_makeValue( ds_send_rmcncl, "patname", "string", patname);
  7930. //if(submit("TXMNP00705", false)) {
  7931. var oParam = {};
  7932. oParam.id = "TXMNP00705";
  7933. oParam.service = "opanstapp.OpAnstRef";
  7934. oParam.method = "reqExeRecovRoomCancel";
  7935. oParam.inds = "req=ds_send_rmcncl";
  7936. oParam.outds = "";
  7937. oParam.async = false;
  7938. oParam.callback = "cf_TXMNP00705";
  7939. tranf_submit(oParam);
  7940. if(arErrorCode.pop("TXMNP00705") > -1) {
  7941. sysf_messageBox("입실취소가 ", "I001");
  7942. }
  7943. fGetOpScheList();
  7944. fOnDoulbeClickScheList(iCurrentRow);
  7945. } else return;
  7946. } else sysf_messageBox("권한이 없습니다. 입실취소를 할 수 없습니다.", "");
  7947. //model.refresh();
  7948. }
  7949. function cf_TXMNP00705(sSvcId, nErrorCode, sErrorMsg) {
  7950. arErrorCode.push(sSvcId, nErrorCode);
  7951. }
  7952. /**
  7953. * 환자이상내용 버튼 클릭 시 이벤트
  7954. *
  7955. */
  7956. function fOnClickPatMemoBtn(){
  7957. var sAnstRecNo = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "anstrecno");
  7958. var sPatMemoYN = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "patmemoyn");
  7959. if(!utlf_isNull(sAnstRecNo)){
  7960. switch1.case2.grp_memoview.visible= true; //환자이상유무
  7961. switch1.case2.grp_memoview.tar_detail.value = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "patmemo");
  7962. /*
  7963. if(sPatMemoYN =='Y'){
  7964. switch1.case2.grp_memoview.tar_detail.value = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "patmemo");
  7965. }else{
  7966. switch1.case2.grp_memoview.tar_detail.value = "";
  7967. }
  7968. */
  7969. }
  7970. /*
  7971. var irow = grd_oppatlist.row -1;
  7972. switch1.case2.grp_memoview.tar_detail.value = ds_main_opdayworkinfo_oppatlist.getColumn(irow, "bigo");
  7973. */
  7974. }
  7975. /**
  7976. * 환자이상유무 확인 버튼 클릭 시 이벤트
  7977. *
  7978. */
  7979. function fOnClickPatMemoSetBtn(){
  7980. switch1.case2.grp_memoview.visible = false;
  7981. var sPatMemo= switch1.case2.grp_memoview.tar_detail.value
  7982. ds_main_MnphrecoData_MnphrecoList.setColumn( 0, "patmemo",sPatMemo);
  7983. }
  7984. /**
  7985. * 환자이상유무 닫기 버튼 클릭 시 이벤트
  7986. *
  7987. */
  7988. function fOnClickPatMemoClsBtn(){
  7989. switch1.case2.grp_memoview.visible = false;
  7990. var sPatMemoHis = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "patmemohis");
  7991. ds_main_MnphrecoData_MnphrecoList.setColumn( 0, "patmemo",sPatMemoHis);
  7992. }
  7993. //******************
  7994. //SMMNP00700.xjs 끝
  7995. //******************
  7996. //******************
  7997. //SMMNP00900.xjs 시작
  7998. //******************
  7999. //******************
  8000. //SMMNP00900.xjs 끝
  8001. //******************
  8002. var flag = "1";
  8003. var retInstcd=""; // 의정부성모병원, 부천성가병원, 수원빈센트병원 기관코드
  8004. function fReturnInstcd() {
  8005. //박영우 만든 로직
  8006. //var uijungbuinstcd="", sunggainstcd="", vincentinstcd=""; // 의정부성모병원, 부천성가병원, 수원빈센트병원 기관코드
  8007. for(var i= 0; i < ds_code_codeinfo_codelist.rowcount; i++){
  8008. switch (ds_code_codeinfo_codelist.getColumn(i, "cdgrupid")){
  8009. case "077": // 병원별 기관코드
  8010. switch(ds_code_codeinfo_codelist.getColumn(i, "supcdid")){
  8011. case "02": // 의정부성모병원 기관코드
  8012. //uijungbuinstcd = ds_code_codeinfo_codelist.getColumn(i, "cdid");
  8013. retInstcd = ds_code_codeinfo_codelist.getColumn(i, "cdid");
  8014. return retInstcd;
  8015. break;
  8016. case "03": // 부천성가병원 기관코드
  8017. //sunggainstcd = ds_code_codeinfo_codelist.getColumn(i, "cdid");
  8018. retInstcd = ds_code_codeinfo_codelist.getColumn(i, "cdid");
  8019. return retInstcd;
  8020. break;
  8021. case "04": // 수원빈센트병원 기관코드
  8022. //vincentinstcd = ds_code_codeinfo_codelist.getColumn(i, "cdid");
  8023. retInstcd = ds_code_codeinfo_codelist.getColumn(i, "cdid");
  8024. return retInstcd;
  8025. break;
  8026. }
  8027. }
  8028. }
  8029. }
  8030. function fShowPopupMenu(gridID, menuPath)
  8031. {
  8032. // var gridObj = document.controls.item(gridID);
  8033. //
  8034. // if(e.button == 3) {
  8035. // if(gridObj.isCell(event.target) && gridObj.mouseRow >= gridObj.fixedrows){
  8036. // window.setPopupMenu(true, menuPath, "name", "func", false);
  8037. // }else{
  8038. // window.setPopupMenu(false);
  8039. // }
  8040. // }
  8041. }
  8042. // 마취구분 checkbox3, 값 읽어서 DB에 반영하기
  8043. function fn_chk_anesclass(){
  8044. var getData = String(group6.checkbox3.getData()).replace(","," ");
  8045. this.ds_HideData_condition.setColumn(0, "anstmthdcd",getData );
  8046. fn_check_ChkAnesClass();
  8047. }
  8048. // 마취구분 checkbox3, DB에서 값 읽어서 Control에 반영하기
  8049. function fn_setChkAnesClass(){
  8050. var getData = String(this.ds_HideData_condition.getColumn(0, "anstmthdcd")).split(" ");
  8051. if( !utlf_isNull(getData) ){
  8052. group6.checkbox3.setData(getData);
  8053. }
  8054. fn_check_ChkAnesClass();
  8055. }
  8056. // 마취구분 checkbox3, Control 값읽어서 제어하기
  8057. function fn_check_ChkAnesClass() {
  8058. var arr = String(group6.checkbox3.getData()).split(",")
  8059. /* 제어하고픈 코드 등록 */
  8060. // for(var i = 0; i < arr.length; i++) {
  8061. // if(arr[i] == '11') {
  8062. // //grp_biz.ipt_healmngtnm.enable = true;
  8063. // }
  8064. // if(arr[i] == "13") {
  8065. // //grp_biz.ipt_healmngtsymp.enable = true;
  8066. // }
  8067. // }
  8068. }
  8069. // 진행상태 checkbox4, 값 읽어서 DB에 반영하기
  8070. function fn_chk_opstat(){
  8071. var getData = String(group6.checkbox4.getData()).replace(","," ");
  8072. this.ds_HideData_condition.setColumn(0, "opstatcd",getData );
  8073. fn_check_ChkAnesClass();
  8074. }
  8075. // 진행상태 checkbox4, DB에서 값 읽어서 Control에 반영하기
  8076. function fn_setChkOpStat(){
  8077. var getData = String(this.ds_HideData_condition.getColumn(0, "opstatcd")).split(" ");
  8078. if( !utlf_isNull(getData) ){
  8079. group6.checkbox4.setData(getData);
  8080. }
  8081. fn_check_ChkAnesClass();
  8082. }
  8083. // 진행상태 checkbox4, Control 값읽어서 제어하기
  8084. function fn_check_ChkOpStat() {
  8085. var arr = String(group6.checkbox4.getData()).split(",")
  8086. /* 제어하고픈 코드 등록 */
  8087. // for(var i = 0; i < arr.length; i++) {
  8088. // if(arr[i] == '11') {
  8089. // //grp_biz.ipt_healmngtnm.enable = true;
  8090. // }
  8091. // if(arr[i] == "13") {
  8092. // //grp_biz.ipt_healmngtsymp.enable = true;
  8093. // }
  8094. // }
  8095. }
  8096. // 기도유지 checkbox6, 값 읽어서 DB에 반영하기
  8097. function fn_chk_prtctairway(){
  8098. var getData = String(switch1.case2.group5.checkbox6.getData()).replace(","," ");
  8099. this.ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn(0, "prtctairway",getData );
  8100. fn_check_ChkPrtctairway();
  8101. }
  8102. // 기도유지 checkbox6, DB에서 값 읽어서 Control에 반영하기
  8103. function fn_setChkPrtctairway(){
  8104. var getData = String(this.ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.getColumn(0, "prtctairway")).split(" ");
  8105. if( !utlf_isNull(getData) ){
  8106. switch1.case2.group5.checkbox6.setData(getData);
  8107. }
  8108. fn_check_ChkPrtctairway();
  8109. }
  8110. function fn_clearChkPrtctairway(){
  8111. var getData = String(switch1.case2.group5.checkbox6.getData()).split(',');
  8112. if( !utlf_isNull(getData) ){
  8113. switch1.case2.group5.checkbox6.setData(null, getData, false);
  8114. }
  8115. }
  8116. // 기도유지 checkbox6, Control 값읽어서 제어하기
  8117. function fn_check_ChkPrtctairway() {
  8118. var arr = String(switch1.case2.group5.checkbox6.getData()).split(",")
  8119. /* 제어하고픈 코드 등록 */
  8120. // for(var i = 0; i < arr.length; i++) {
  8121. // if(arr[i] == '11') {
  8122. // //grp_biz.ipt_healmngtnm.enable = true;
  8123. // }
  8124. // if(arr[i] == "13") {
  8125. // //grp_biz.ipt_healmngtsymp.enable = true;
  8126. // }
  8127. // }
  8128. }
  8129. function cp_CheckBoxInit()
  8130. {
  8131. // 마취구분 checkbox3, 초기화.
  8132. var sProp1="col=3,row=1,cellspacing=5,vcellspacing=0,itemWidth=50,itemHeight=20,overflow=''";
  8133. group6.checkbox3.setInitComp(sProp1, ds_chk_anesclass, "value", "label", "fn_chk_anesclass");
  8134. fn_setChkAnesClass();
  8135. // 진행상태 checkbox4, 초기화.
  8136. var sProp2="col=5,row=1,cellspacing=5,vcellspacing=0,itemWidth=50,itemHeight=20,overflow=''";
  8137. group6.checkbox4.setInitComp(sProp2, ds_chk_opstat, "value", "label", "fn_chk_opstat");
  8138. fn_setChkOpStat();
  8139. //기도유지 checkbox6 초기화
  8140. var sProp3="col=1,row=5,cellspacing=5,vcellspacing=0,itemWidth=100,itemHeight=20,overflow=''";
  8141. switch1.case2.group5.checkbox6.setInitComp(sProp3, ds_chk_prtctairway, "value", "label", "fn_chk_prtctairway");
  8142. fn_setChkPrtctairway();
  8143. }
  8144. function SMMNP00700_onload(obj:Form, e:LoadEventInfo)
  8145. {
  8146. frmf_initForm(obj); //폼 초기화
  8147. grdf_setRowTypeIcon(switch1.case1.case4.datagrid2, 0);
  8148. grdf_initGrid(this.datagrid5);
  8149. grdf_initGrid(this.switch1.case1.case3.group3.grd_opinfo1);
  8150. grdf_initGrid(this.switch1.case1.case3.group3.grd_opinfo2);
  8151. grdf_initGrid(this.switch1.case1.case3.group3.grd_opinfo7);
  8152. grdf_initGrid(this.switch1.case1.case4.group1.datagrid1);
  8153. grdf_initGrid(this.switch1.case1.case4.group8.datagrid4);
  8154. grdf_initGrid(this.switch1.case1.case4.datagrid2);
  8155. grdf_initGrid(this.switch1.case1.case4.datagrid9);
  8156. grdf_initGrid(this.switch1.case1.case5.grd_anstprcp);
  8157. grdf_initGrid(this.switch1.case2.datagrid3);
  8158. grdf_initGrid(this.switch1.case2.datagrid6);
  8159. grdf_initGrid(this.switch1.case2.datagrid7);
  8160. grdf_initGrid(this.switch1.case2.datagrid8);
  8161. grdf_initGrid(this.switch1.case2.grd_reintub);
  8162. grdf_initGrid(this.switch1.case2.grd_resafe);
  8163. grdf_initGrid(this.switch1.case2.grd_valueitem);
  8164. cp_CheckBoxInit();
  8165. zesf_InitSign();
  8166. //fFormInit();
  8167. this.setTimer(0, 100);
  8168. Sign.init();
  8169. frmf_createPopupMenuDs("pmn_popupMenu1", "pmn_popupMenu1_onmenuclick", ds_HideData_menuitems_vsgridmenu_item);
  8170. frmf_createPopupMenuDs("pmn_popupMenu2", "pmn_popupMenu_onmenuclick", ds_HideData_menuitems_vnrlmenu_item);
  8171. frmf_createPopupMenuDs("pmn_popupMenu3", "pmn_popupMenu_onmenuclick", ds_HideData_menuitems_gridmenu_menulist);
  8172. ds_main_MnphrecoData_MnphrecoList_recovstatvalutable_valuitemlists_valuitem.rowposition = -1;
  8173. ds_main_MnphrecoData_MnphrepmList.rowposition = -1;
  8174. ds_main_MnphrecoData_MnphresmList.rowposition = -1;
  8175. ds_main_MnphrecoData_MnphreIntubchkList.rowposition = -1;
  8176. ds_init_CareRecLists_carereclist.rowposition = -1;
  8177. //alert(fReturnInstcd());
  8178. //20180817 이돈희 : 통증사정도구 점수 항목 활성화(초기값)
  8179. switch1.case2.combo_pca_in_grade.enable = true;
  8180. switch1.case2.combo_pca_out_grade.enable = true;
  8181. }
  8182. function group6_button9_onclick(obj:Button, e:ClickEventInfo)
  8183. {
  8184. fGetOpScheList();
  8185. //fDataDisplay();
  8186. }
  8187. function btn_gridctrl_onclick(obj:Button, e:ClickEventInfo)
  8188. {
  8189. if(datagrid5.position.height == "151"){
  8190. btn_gridctrl.text = "접기";
  8191. //20170322 이돈희 수정 : 다이얼로그 높이가 변경되는 경우 그에 맞도록 커지도록 수정
  8192. var varHeight = this.position.height - 37 - datagrid5.position.top;
  8193. datagrid5.position.height = varHeight;
  8194. }else{
  8195. btn_gridctrl.text = "펼치기";
  8196. datagrid5.position.height = "151";
  8197. }
  8198. }
  8199. function datagrid5_oncellclick(obj:Grid, e:GridClickEventInfo)
  8200. {
  8201. if( e.row >= 0 && e.col >= 0 ) {
  8202. fOnDoulbeClickScheList(-1); // fOnDoulbeClickScheList(0)
  8203. //이윤주수정 20160907
  8204. if ( IFYN == "Y" ) {
  8205. fGetAnstRecoverInExRec("N"); //마취기록 연동
  8206. IFYN = "N" // 초기화
  8207. }
  8208. }
  8209. }
  8210. function pmn_popupMenu_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
  8211. {
  8212. eval("fShowMenu" + "("+e.id+")");
  8213. }
  8214. function datagrid5_onkillfocus(obj:Grid, e:KillFocusEventInfo)
  8215. {
  8216. //박영우 만든 로직
  8217. //window.setPopupMenu(false);
  8218. }
  8219. function bbt_save_onclick(obj:Button, e:ClickEventInfo)
  8220. {
  8221. fSave("U");
  8222. }
  8223. var savePid = "";
  8224. var saveName = "";
  8225. function btn_rgst_sct_onclick(obj:Button, e:ClickEventInfo)
  8226. {
  8227. //2017-11-16 상단정보환자와 기록중인 환자가 다를경우 return
  8228. if(appf_getPatientId() != ds_init_WorkData.getColumn(0, "pid")){
  8229. var error = "기록중인 환자[" + savePid + "_" + saveName + "]와" + "\r\n";
  8230. error += "상단정보환자[" + appf_getPatientId() + "_" + appf_getPatientName() + "]가 다릅니다.";
  8231. sysf_messageBox(error,"I000");
  8232. return;
  8233. }
  8234. fSave("C"); // 회복실 정보 저장하기 (TXMNP00702) 인증저장
  8235. }
  8236. function switch1_case2_bbt_inroom_onclick(obj:Button, e:ClickEventInfo)
  8237. {
  8238. fSave("1");
  8239. }
  8240. function switch1_case2_button12_onclick(obj:Button, e:ClickEventInfo)
  8241. {
  8242. switch1.case2.inp_inrmdt.value = utlf_getCurrentDate();
  8243. switch1.case2.inp_inrmtm.value = utlf_getCurrentTime().substr(0,4);
  8244. }
  8245. function switch1_case2_bbt_outroom_onclick(obj:Button, e:ClickEventInfo)
  8246. {
  8247. fSave("2");
  8248. }
  8249. function switch1_case2_button14_onclick(obj:Button, e:ClickEventInfo)
  8250. {
  8251. switch1.case2.inp_outrmdt.value = utlf_getCurrentDate();
  8252. switch1.case2.inp_outrmtm.value = utlf_getCurrentTime().substr(0,4);
  8253. }
  8254. function switch1_case2_combo3_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  8255. {
  8256. fOnClickAnstDoctCombo("A");
  8257. }
  8258. function switch1_case2_button6_onclick(obj:Button, e:ClickEventInfo)
  8259. {
  8260. var nPath = ds_main_MnphrecoData_MnphrecoList;
  8261. var sSearchdd = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "inrmdt");
  8262. if(utlf_isNull(sSearchdd)){
  8263. sSearchdd = utlf_getCurrentDate();
  8264. }
  8265. fUseridPopup(nPath, "outconfirmdoctorid", "outconfirmdoctor" ,"", "", switch1.case2.inp_outdrnm, sSearchdd);
  8266. //ds_main_MnphrecoData_MnphrecoList.setColumn( 0, "outconfirmdoctorid_tmp", ds_main_MnphrecoData_MnphrecoList.getColumn(0, "outconfirmdoctorid"));
  8267. dsf_makeValue(ds_main_MnphrecoData_MnphrecoList, "outconfirmdoctorid_tmp", "string", ds_main_MnphrecoData_MnphrecoList.getColumn(0, "outconfirmdoctorid") );
  8268. //combo3.refresh();
  8269. //inp_outdrid.refresh();
  8270. }
  8271. function switch1_case2_button5_onclick(obj:Button, e:ClickEventInfo)
  8272. {
  8273. var patage = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "patage");
  8274. var sInstcd = sysf_getUserInfo("dutplceinstcd");
  8275. var sDate = utlf_getCurrentDate();
  8276. var sOpcnfmdd = ds_HideData_condition.getColumn(0, "opcnfmdd");
  8277. if(patage.length == 0) {
  8278. sysf_messageBox("환자가 선택되지", "E005");
  8279. return;
  8280. }
  8281. var nodeslength = ds_main_MnphrecoData_MnphrecoList_recovstatvalutable_valuitemlists.rowcount;
  8282. var recovstatflag = 0;
  8283. if(nodeslength >= 1) {
  8284. var nodeslength2 = ds_main_MnphrecoData_MnphrecoList_recovstatvalutable_valuitemlists_valuitem.rowcount;
  8285. if(nodeslength2 > 6) {
  8286. recovstatflag = 1;
  8287. //alert("예전 자료입니다.");
  8288. } else {
  8289. recovstatflag = 0;
  8290. }
  8291. }
  8292. var sTempOprsrvno = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "oprsrvno");
  8293. if(utlf_isNull(sTempOprsrvno)){ // 수술예약(의뢰) 번호(년도+일련번호)
  8294. return;
  8295. }
  8296. var xpos = system.clientToScreenX(this, this.position.left) -100 ; //event.screenX - 100;
  8297. var ypos = system.clientToScreenY(this, this.position.top) - 100; //event.screenY - 100;
  8298. ds_init_ValuItemLists_valuitem.clearData();
  8299. //입실저장, 퇴실저장에 따라서 회복상태 평가표 팝업 기본값 세팅 by 박영우 2010-02-17
  8300. var recindttm = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recindttm"); // 회복실간호기록 기록 일자
  8301. var recinuserdeptnm = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recinuserdeptnm"); // 회복실간호기록 기록 부서 명
  8302. var recinusernm = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recinusernm"); // 회복실간호기록 기록자 명
  8303. var recoutdttm = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recoutdttm"); // 퇴실 기록 일시
  8304. var recoutuserdeptnm= ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recoutuserdeptnm"); // 퇴실 기록자 부서
  8305. var recoutusernm = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recoutusernm"); // 퇴실 기록자 명
  8306. if(utlf_isNull(recindttm) || utlf_isNull(recinuserdeptnm) || utlf_isNull(recinusernm)) { //입실저장이 되지 않았을 경우
  8307. frmf_setParameter("SMMNP00700_00901", "IN");
  8308. } else if(utlf_isNull(recoutdttm) || utlf_isNull(recoutuserdeptnm) || utlf_isNull(recoutusernm)) { //퇴실저장이 되지 않았을 경우
  8309. frmf_setParameter("SMMNP00700_00901", "OUT");
  8310. } else { //둘다 되었을 경우
  8311. frmf_setParameter("SMMNP00700_00901", "ALL");
  8312. }
  8313. if(ds_main_MnphrecoData_MnphrecoList_recovstatvalutable_valuitemlists.getColumn(0, "valuitemarrvtot") == "0" || utlf_isNull(ds_main_MnphrecoData_MnphrecoList_recovstatvalutable_valuitemlists.getColumn(0, "valuitemarrvtot")) ){
  8314. frmf_setParameter("SMMNP00700_00900", "IN");
  8315. }else{
  8316. frmf_setParameter("SMMNP00700_00900", "OUT");
  8317. }
  8318. /*
  8319. if(ds_main_MnphrecoData_MnphrecoList.getColumn(0, "inrmdt") != "" &&
  8320. ds_main_MnphrecoData_MnphrecoList.getColumn(0, "inrmtm") != null &&
  8321. ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recstat") == "U" ){
  8322. frmf_setParameter("SMMNP00700_00900", "OUT");
  8323. }else{
  8324. frmf_setParameter("SMMNP00700_00900", "IN");
  8325. }
  8326. */
  8327. if(eval(patage) < 12 && recovstatflag == 1){
  8328. var objArg = new Object();
  8329. objArg.arg_ds_init_example = ds_init_example;
  8330. frmf_modal("SMMNP00900", "SMMNP00900", objArg, "", "1", xpos, ypos, "", "", "", "", "", "M");
  8331. } else if(eval(patage) < 12){
  8332. if(sInstcd == '032' && sOpcnfmdd > '20171129'){ //171129_AYS_칠곡_마취 후 회복상태표(소아) 수정
  8333. //trace("평가도구 && 칠곡 && 12세 미만");
  8334. var objArg = new Object();
  8335. objArg.arg_ds_init_example = ds_init_example;
  8336. frmf_modal("SMMNP00920", "SMMNP00920", objArg, "", "1", xpos, ypos, "", "", "", "", "", "M");
  8337. } else{
  8338. var objArg = new Object();
  8339. objArg.arg_ds_init_example = ds_init_example;
  8340. frmf_modal("SMMNP00910", "SMMNP00910", objArg, "", "1", xpos, ypos, "", "", "", "", "", "M");
  8341. } //171129_AYS_칠곡_마취 후 회복상태표(소아) 수정
  8342. } else{
  8343. if(sInstcd == '032' && sOpcnfmdd > '20171015'){
  8344. var objArg = new Object();
  8345. objArg.arg_ds_init_example = ds_init_example;
  8346. frmf_modal("SMMNP00920", "SMMNP00920", objArg, "", "1", xpos, ypos, "", "", "", "", "", "M");
  8347. } else{
  8348. if(eval(patage) >= 12){
  8349. var objArg = new Object();
  8350. objArg.arg_ds_init_example = ds_init_example;
  8351. frmf_modal("SMMNP00900", "SMMNP00900", objArg, "", "1", xpos, ypos, "", "", "", "", "", "M");
  8352. }
  8353. }
  8354. }
  8355. //model.refresh();
  8356. ////grd_valueitem.refresh();
  8357. ////opt_arrv.refresh();
  8358. ////opt_leav.refresh();
  8359. // var iProperties = frmf_getParameter("SendData");
  8360. // model.copyNode("_root_init_ValuItemListsot", iProperties);
  8361. }
  8362. function switch1_case2_btn_tnsrec_onclick(obj:Button, e:ClickEventInfo)
  8363. {
  8364. fClickBloodBtn();
  8365. }
  8366. function switch1_case2_button16_onclick(obj:Button, e:ClickEventInfo)
  8367. {
  8368. fOnClickPCABtn();
  8369. }
  8370. function switch1_case2_button29_onclick(obj:Button, e:ClickEventInfo)
  8371. {
  8372. fOnClickPatMemoBtn();
  8373. }
  8374. function switch1_case2_grp_memoview_btn_prtlabel_onclick(obj:Button, e:ClickEventInfo)
  8375. {
  8376. fOnClickPatMemoSetBtn();
  8377. }
  8378. function switch1_case2_grp_memoview_button30_onclick(obj:Button, e:ClickEventInfo)
  8379. {
  8380. fOnClickPatMemoClsBtn();
  8381. }
  8382. function switch1_case2_group5_button13_onclick(obj:Button, e:ClickEventInfo)
  8383. {
  8384. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayadddt", utlf_getCurrentDate());
  8385. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayaddtm", utlf_getCurrentTime().substr(0,4));
  8386. //inp_prtcairwayadddt.refresh();
  8387. //inp_prtcairwayaddtm.refresh();
  8388. }
  8389. function switch1_case2_group5_button4_onclick(obj:Button, e:ClickEventInfo)
  8390. {
  8391. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwaydt", utlf_getCurrentDate());
  8392. ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwaytm",utlf_getCurrentTime().substr(0,4));
  8393. //inp_prtctairwaydt.refresh();
  8394. //inp_prtctairwaytm.refresh();
  8395. }
  8396. function switch1_case2_btn_getanst_onclick(obj:Button, e:ClickEventInfo)
  8397. {
  8398. fGetAnstRecoverInExRec();
  8399. }
  8400. function switch1_case2_button8_onclick(obj:Button, e:ClickEventInfo)
  8401. {
  8402. fClickRemoveDrgecdlist();
  8403. }
  8404. function switch1_case2_btn_grid6expand_onclick(obj:Button, e:ClickEventInfo)
  8405. {
  8406. if(switch1.case2.datagrid6.position.height == "153"){
  8407. switch1.case2.btn_grid6expand.text = "축소하기";
  8408. switch1.case2.datagrid6.position.height = "461";
  8409. // switch1.case2.line30.position.top = "504";
  8410. // switch1.case2.line30.position.y = "504";
  8411. }else{
  8412. switch1.case2.btn_grid6expand.text = "확대하기";
  8413. switch1.case2.datagrid6.position.height = "153";
  8414. // switch1.case2.line30.position.top = "184";
  8415. // switch1.case2.line30.position.y = "184";
  8416. }
  8417. }
  8418. function switch1_case2_btn_safelist_onclick(obj:Button, e:ClickEventInfo)
  8419. {
  8420. // 회복간호 안전전검 기준 코드 넘김 (20100414 by 안도영)
  8421. frmf_setParameter("openerFlag", "R");
  8422. //modal("SMMNP07200","","","","SMMNP07200","","");
  8423. frmf_modal("SMMNP07200", "SMMNP07200", "", "", "", "", "", "", "", "", "", "", "M");
  8424. //model.refresh();
  8425. }
  8426. function switch1_case2_btn_reintubexpend_onclick(obj:Button, e:ClickEventInfo)
  8427. {
  8428. if(switch1.case2.grd_reintub.position.height == "95"){
  8429. switch1.case2.btn_reintubexpend.text = "축소하기";
  8430. switch1.case2.grd_reintub.position.height = "270";
  8431. //line30.attribute("y1") = "507px";
  8432. //line30.attribute("y2") = "507px";
  8433. }else{
  8434. switch1.case2.btn_reintubexpend.text = "확대하기";
  8435. switch1.case2.grd_reintub.position.height = "95";
  8436. //line30.attribute("y1") = "187px";
  8437. //line30.attribute("y2") = "187px";
  8438. }
  8439. }
  8440. function switch1_case2_button3_onclick(obj:Button, e:ClickEventInfo)
  8441. {
  8442. frmf_modal("SMMNP00750", "SMMNP00750", "", "", "", "", "", "", "", "", "", "", "M");
  8443. fOnDoulbeClickScheList(-1); // fOnDoulbeClickScheList(0)
  8444. }
  8445. function switch1_case2_button10_onclick(obj:Button, e:ClickEventInfo)
  8446. {
  8447. fSMMNR03400Call(); // 간호기록
  8448. }
  8449. function switch1_case2_group5_inp_prtctairwaynm_onkeyup(obj:Edit, e:KeyEventInfo)
  8450. {
  8451. if (e.keycode == 13) {
  8452. var nPath = "ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist";
  8453. obj.updateToDataset(); // 현재 인풋값 노드 반영
  8454. fUserEnter(nPath, "prtctairwayur", "prtctairwaynm" ,"", "", switch1.case2.group5.inp_prtctairwaynm.text, switch1.case2.group5.inp_prtctairwaynm);
  8455. //inp_prtctairway.refresh();
  8456. }
  8457. }
  8458. function switch1_case1_case4_group1_radio4_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  8459. {
  8460. fSearchPrnOrderInfo();
  8461. }
  8462. function switch1_case1_case4_group1_datagrid1_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  8463. {
  8464. fAddOrderToGirok("switch1.case1.case4.group1.datagrid1", "ds_main_revrInfo_prnorderlist");
  8465. }
  8466. var cnt = 0;
  8467. function switch1_case1_case4_group8_button28_onclick(obj:Button, e:ClickEventInfo)
  8468. {
  8469. cnt++;
  8470. if(switch1.case1.case4.group8.position.top == "205"){
  8471. switch1.case1.case4.group8.position.top = "2";
  8472. switch1.case1.case4.group8.position.height= "500";
  8473. switch1.case1.case4.group8.datagrid4.position.top = "21"; //.attribute("height") = "122px";
  8474. switch1.case1.case4.group8.datagrid4.position.height = "466"; //.attribute("height") = "450";
  8475. switch1.case1.case4.group1.visible = false;
  8476. }
  8477. else{
  8478. switch1.case1.case4.group8.datagrid4.position.left = "0"; //.attribute("height") = "122px";
  8479. switch1.case1.case4.group8.datagrid4.position.top = "21"; //.attribute("height") = "122px";
  8480. switch1.case1.case4.group8.datagrid4.position.width= "490"; //.attribute("height") = "122px";
  8481. switch1.case1.case4.group8.datagrid4.position.height = "158"; //.attribute("height") = "122px";
  8482. switch1.case1.case4.group8.position.left = "0";
  8483. switch1.case1.case4.group8.position.top = "205";
  8484. switch1.case1.case4.group8.position.width= "490";
  8485. switch1.case1.case4.group8.position.height = "179";
  8486. switch1.case1.case4.group1.visible = true;
  8487. }
  8488. }
  8489. function switch1_case1_case4_button17_onclick(obj:Button, e:ClickEventInfo)
  8490. {
  8491. fOnClickSizeBtn("Large");
  8492. }
  8493. function switch1_case1_case4_button25_onclick(obj:Button, e:ClickEventInfo)
  8494. {
  8495. fOnClickSizeBtn("Short");
  8496. }
  8497. function switch1_case1_case4_button21_onclick(obj:Button, e:ClickEventInfo)
  8498. {
  8499. fOnClickItemAddHelpBtn();
  8500. }
  8501. function switch1_case1_case4_radio3_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  8502. {
  8503. fGetGiRok1Data("RELOAD", ds_main_revrInfo_mnphrevrtitle.getColumn(0, "data1"));
  8504. }
  8505. function switch1_case1_case4_button22_onclick(obj:Button, e:ClickEventInfo)
  8506. {
  8507. fGetGiRok1Data("PRE");
  8508. }
  8509. function switch1_case1_case4_button18_onclick(obj:Button, e:ClickEventInfo)
  8510. {
  8511. fGetGiRok1Data("NEXT");
  8512. }
  8513. function switch1_case1_case4_button27_onclick(obj:Button, e:ClickEventInfo)
  8514. {
  8515. ds_main_revrInfo_mnphrepg.deleteRow(ds_main_revrInfo_mnphrepg.rowposition);//switch1.case1.case4.datagrid2.currentRow);
  8516. //deleteSelectedRows(switch1.case1.case4.datagrid2, true);
  8517. //switch1.case1.case4.datagrid2.refresh();
  8518. }
  8519. function pmn_popupMenu1_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
  8520. {
  8521. eval(e.id + "()");
  8522. }
  8523. function switch1_case1_case4_datagrid9_onenteredit(obj:Grid, e:GridEditEventInfo)
  8524. {
  8525. flag ="1";
  8526. }
  8527. function switch1_case2_button11_onclick(obj:Button, e:ClickEventInfo)
  8528. {
  8529. fClickRecoTimeBtn();
  8530. }
  8531. function switch1_case2_btn_eqmtinfo_onclick(obj:Button, e:ClickEventInfo)
  8532. {
  8533. fOpEqmtPopup();
  8534. }
  8535. function switch1_case1_case4_button26_onclick(obj:Button, e:ClickEventInfo)
  8536. {
  8537. fAddProgress();
  8538. }
  8539. function switch1_case1_case4_datagrid2_onenterdown(obj:Grid, e:GridEditEventInfo)
  8540. {
  8541. if(e.row + 1 <= ds_main_revrInfo_mnphrepg.rowcount - 1) {
  8542. ds_main_revrInfo_mnphrepg.rowposition = e.row + 1;
  8543. }
  8544. }
  8545. function switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  8546. {
  8547. if(e.postindex == 1) { //model.toggle("case1");
  8548. //switch1.case1.tabindex = 1; //model.toggle("case4");
  8549. switch2TabIndex(1);
  8550. fGetGiRok1Data();
  8551. }
  8552. }
  8553. function switch1_case2_group5_combo4_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  8554. {
  8555. fOnClickAnstDoctCombo("B");
  8556. }
  8557. function switch1_case2_group5_combo1_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  8558. {
  8559. fOnClickAnstDoctCombo("C");
  8560. }
  8561. function ds_main_MnphrecoData_MnphresmList_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  8562. {
  8563. if(e.col == 0)
  8564. {
  8565. var _chkValue = ds_main_MnphrecoData_MnphresmList.getColumn( e.row, e.col);
  8566. if(_chkValue == "1") {
  8567. ds_main_MnphrecoData_MnphresmList.setColumn( e.row, e.col, "true");
  8568. }
  8569. else {
  8570. ds_main_MnphrecoData_MnphresmList.setColumn( e.row, e.col, "false");
  8571. }
  8572. }
  8573. }
  8574. function ds_main_MnphrecoData_MnphrepmList_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  8575. {
  8576. if(e.col == 0)
  8577. {
  8578. var _chkValue = ds_main_MnphrecoData_MnphrepmList.getColumn( e.row, e.col);
  8579. if(_chkValue == "1") {
  8580. ds_main_MnphrecoData_MnphrepmList.setColumn( e.row, e.col, "true");
  8581. }
  8582. else {
  8583. ds_main_MnphrecoData_MnphrepmList.setColumn( e.row, e.col, "false");
  8584. }
  8585. }
  8586. }
  8587. function SMMNP00700_ontimer(obj:Form, e:TimerEventInfo)
  8588. {
  8589. if( e.timerid == 0 ){
  8590. this.killTimer(0);
  8591. fFormInit();
  8592. }
  8593. }
  8594. function switch1_case1_case3_group3_ipt_tmoutchktm_ontextchange(obj:MaskEdit, e:TextChangeEventInfo)
  8595. {
  8596. utlf_validMaskEditTime(obj, e);
  8597. }
  8598. function switch1_case1_case3_group3_ipt_anstfromtm_ontextchange(obj:MaskEdit, e:TextChangeEventInfo)
  8599. {
  8600. utlf_validMaskEditTime(obj, e);
  8601. }
  8602. function switch1_case1_case3_group3_ipt_opfromtm_ontextchange(obj:MaskEdit, e:TextChangeEventInfo)
  8603. {
  8604. utlf_validMaskEditTime(obj, e);
  8605. }
  8606. function switch1_case1_case3_group3_ipt_ansttotm_ontextchange(obj:MaskEdit, e:TextChangeEventInfo)
  8607. {
  8608. utlf_validMaskEditTime(obj, e);
  8609. }
  8610. function switch1_case1_case3_group3_ipt_meetingtm_ontextchange(obj:MaskEdit, e:TextChangeEventInfo)
  8611. {
  8612. utlf_validMaskEditTime(obj, e);
  8613. }
  8614. function switch1_case1_case3_group3_ipt_optotm_ontextchange(obj:MaskEdit, e:TextChangeEventInfo)
  8615. {
  8616. utlf_validMaskEditTime(obj, e);
  8617. }
  8618. function switch1_case2_inp_inrmtm_ontextchange(obj:MaskEdit, e:TextChangeEventInfo)
  8619. {
  8620. utlf_validMaskEditTime(obj, e);
  8621. }
  8622. function switch1_case2_inp_outrmtm_ontextchange(obj:MaskEdit, e:TextChangeEventInfo)
  8623. {
  8624. utlf_validMaskEditTime(obj, e);
  8625. }
  8626. function switch1_case2_group5_inp_prtcairwayaddtm_ontextchange(obj:MaskEdit, e:TextChangeEventInfo)
  8627. {
  8628. utlf_validMaskEditTime(obj, e);
  8629. }
  8630. function switch1_case2_group5_inp_prtctairwaytm_ontextchange(obj:MaskEdit, e:TextChangeEventInfo)
  8631. {
  8632. utlf_validMaskEditTime(obj, e);
  8633. }
  8634. function switch1_case1_case4_datagrid9_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
  8635. {
  8636. if (e.row >= 0 && e.col >= 0){
  8637. obj.setCellPos(e.col);
  8638. grdf_setSelectedCell(obj, e);
  8639. //window.setPopupMenu( true, "_root_HideData_menuitems_vsgridmenu_item", "name", "func", true);
  8640. //window.setPopupMenu( true, "_root_HideData_menuitems_gridmenu_menulist", "name", "func", true);
  8641. //setPopupMenu("datagrid9", false, "_root_HideData_menuitems_vsgridmenu_item", "name", "func");
  8642. // frmf_createPopupMenuDs("pmn_popupMenu1", "pmn_popupMenu1_onmenuclick", ds_HideData_menuitems_vsgridmenu_item);
  8643. // pmn_popupMenu1.trackPopup(e.screenX, e.screenY);
  8644. }
  8645. }
  8646. function switch1_case1_case4_datagrid9_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
  8647. {
  8648. if (e.row >= 0 && e.col >= 0){
  8649. obj.setCellPos(e.col);
  8650. grdf_setSelectedCell(obj, e);
  8651. //window.setPopupMenu( true, "_root_HideData_menuitems_vsgridmenu_item", "name", "func", true);
  8652. //window.setPopupMenu( true, "_root_HideData_menuitems_gridmenu_menulist", "name", "func", true);
  8653. //setPopupMenu("datagrid9", false, "_root_HideData_menuitems_vsgridmenu_item", "name", "func");
  8654. pmn_popupMenu1.trackPopup(e.screenX, e.screenY);
  8655. }
  8656. }
  8657. function switch1_case1_case4_datagrid9_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
  8658. {
  8659. fSelectedCells(switch1.case1.case4.datagrid9);
  8660. }
  8661. function ds_main_revrInfo_mnphrevr_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  8662. {
  8663. if( fv_bSetRow == false && e.columnid.substr(0, 4) == "data" ){
  8664. flag = "2";
  8665. fCheckIOFormat(e.row, e.columnid);
  8666. if(e.row + 1 <= ds_main_revrInfo_mnphrevr.rowcount - 1) {
  8667. ds_main_revrInfo_mnphrevr.rowposition = e.row + 1;
  8668. switch1.case1.case4.datagrid9.setCellPos(switch1.case1.case4.datagrid9.getBindCellIndex("body", e.columnid));
  8669. switch1.case1.case4.datagrid9.setFocus();
  8670. }else if( e.row == ds_main_revrInfo_mnphrevr.rowcount - 1 ){
  8671. switch1.case1.case4.datagrid9.showEditor(false);
  8672. }
  8673. }
  8674. }
  8675. function datagrid5_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
  8676. {
  8677. if(e.row < 0 || e.col < 0) return;
  8678. //grd_detlgrup.autoenter = "key";
  8679. grdf_setSelectedCell(obj, e);
  8680. }
  8681. function datagrid5_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
  8682. {
  8683. if(e.row < 0 || e.col < 0) return;
  8684. //grd_detlgrup.autoenter = "key";
  8685. grdf_setSelectedCell(obj, e);
  8686. //박영우 만든 로직
  8687. var uijungbuinstcd="", sunggainstcd="", vincentinstcd=""; // 의정부성모병원, 부천성가병원, 수원빈센트병원 기관코드
  8688. for(var i = 0; i < ds_code_codeinfo_codelist.rowcount; i++){
  8689. switch (ds_code_codeinfo_codelist.getColumn(i, "cdgrupid")){
  8690. case "077": // 병원별 기관코드
  8691. switch(ds_code_codeinfo_codelist.getColumn(i, "supcdid")){
  8692. case "02": // 의정부성모병원 기관코드
  8693. uijungbuinstcd = ds_code_codeinfo_codelist.getColumn(i, "cdid");
  8694. break;
  8695. case "03": // 부천성가병원 기관코드
  8696. sunggainstcd = ds_code_codeinfo_codelist.getColumn(i, "cdid");
  8697. break;
  8698. case "04": // 수원빈센트병원 기관코드
  8699. vincentinstcd = ds_code_codeinfo_codelist.getColumn(i, "cdid");
  8700. break;
  8701. }
  8702. }
  8703. }
  8704. //if (e.button == 3 ){
  8705. //박영우 만든 로직
  8706. //빈센트 병원일 경우 오른쪽 팝업메뉴
  8707. if(sysf_getUserInfo("dutplceinstcd")==vincentinstcd) {
  8708. //fShowPopupMenu("datagrid5","_root_HideData_menuitems_vnrlmenu_item");
  8709. //window.setPopupMenu( true, "_root_HideData_menuitems_vnrlmenu_item", "name", "func", true);
  8710. //frmf_createPopupMenuDs("pmn_popupMenu", "pmn_popupMenu_onmenuclick", ds_HideData_menuitems_vnrlmenu_item);
  8711. pmn_popupMenu2.trackPopup(e.screenX, e.screenY);
  8712. }
  8713. else
  8714. //window.setPopupMenu( true, "_root_HideData_menuitems_gridmenu_menulist", "curretnText", "value", true);
  8715. //frmf_createPopupMenuDs("pmn_popupMenu", "pmn_popupMenu_onmenuclick", ds_HideData_menuitems_gridmenu_menulist);
  8716. pmn_popupMenu3.trackPopup(e.screenX, e.screenY);
  8717. //}
  8718. }
  8719. function ds_main_MnphrecoData_MnphreIntubchkList_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  8720. {
  8721. if(e.col == 0)
  8722. {
  8723. var _chkValue = ds_main_MnphrecoData_MnphreIntubchkList.getColumn( e.row, e.col);
  8724. if(_chkValue == "1") {
  8725. ds_main_MnphrecoData_MnphreIntubchkList.setColumn( e.row, e.col, "true");
  8726. }
  8727. else {
  8728. ds_main_MnphrecoData_MnphreIntubchkList.setColumn( e.row, e.col, "false");
  8729. }
  8730. }
  8731. }
  8732. var gPosId = -1;
  8733. var gPosColId = -1;
  8734. function switch1_case1_case4_datagrid9_onlbuttondown(obj:Grid, e:GridMouseEventInfo)
  8735. {
  8736. gPosId = e.col;
  8737. gPosColId = e.row;
  8738. }
  8739. function switch1_case2_group5_combo1_onkeydown(obj:Combo, e:KeyEventInfo)
  8740. {
  8741. // if(e.keycode == 13){
  8742. // obj.show
  8743. // }
  8744. }
  8745. var lastrow1 = -1;
  8746. var lastcol1 = -1;
  8747. var bDrop1 = false;
  8748. function switch1_case2_datagrid8_oncellclick(obj:Grid, e:GridClickEventInfo)
  8749. {
  8750. lastrow1 = -1;
  8751. lastcol1 = -1;
  8752. }
  8753. function switch1_case2_datagrid8_oncloseup(obj:Grid, e:GridEditEventInfo)
  8754. {
  8755. var dsGridBind = eval(obj.binddataset);
  8756. var preVal = utlf_transNullToEmpty(dsGridBind.getColumn(e.row, e.col));
  8757. var posVal = utlf_transNullToEmpty(e.value);
  8758. if( bDrop1 == true && (!utlf_isNull(posVal) || preVal != posVal) ){
  8759. obj.showEditor(false);
  8760. }
  8761. bDrop1 = false;
  8762. lastrow1 = e.row;
  8763. lastcol1 = e.col;
  8764. }
  8765. function switch1_case2_datagrid8_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
  8766. {
  8767. grdf_setSelectedCell(obj, e);
  8768. var dsGridBind = eval(obj.binddataset);
  8769. // Combo DropDown Click 처리
  8770. obj.autoenter = "key";
  8771. if( e.fromreferenceobject.name == "dropbutton" ){
  8772. bDrop1 = true;
  8773. }
  8774. if( e.row > -1 && obj.getCellProperty("body", e.col, "edittype") == "combo" ){
  8775. // Combo 선택시 활성화 및 combodatacol 변경
  8776. if( grdf_getSelectedCols(obj).length == 0 && grdf_getSelectedRows(obj).length == 0 && obj.getEditText() == undefined ){
  8777. obj.showEditor(true);
  8778. }else{
  8779. if(!obj.isDropdownCombo() && (lastrow1 != e.row || lastcol1 != e.col)) {
  8780. obj.setCellPos(e.col);
  8781. dsGridBind.rowposition = e.row;
  8782. obj.showEditor(true);
  8783. if(bDrop1) {
  8784. obj.dropdownCombo();
  8785. }
  8786. }
  8787. }
  8788. }else{
  8789. obj.autoenter = "key";
  8790. }
  8791. }
  8792. function fFLACCDetailOpen(type)
  8793. {
  8794. var patage = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "patage");
  8795. if(patage.length == 0) {
  8796. sysf_messageBox("환자가 선택되지", "E005");
  8797. return;
  8798. }
  8799. frmf_setParameter("SMMNP00700_type", type);
  8800. if(type == "IN"){
  8801. frmf_setParameter("SMMNP00700_grade", ds_main_MnphrecoData_MnphrecoList.getColumn(0, "inflaccdetailgrade"));
  8802. }
  8803. else {
  8804. frmf_setParameter("SMMNP00700_grade", ds_main_MnphrecoData_MnphrecoList.getColumn(0, "outflaccdetailgrade"));
  8805. }
  8806. var xpos = system.clientToScreenX(this, this.position.left) -100 ; //event.screenX - 100;
  8807. var ypos = system.clientToScreenY(this, this.position.top) - 100; //event.screenY - 100;
  8808. var objArg = new Object();
  8809. frmf_modal("SMMNP00930", "SMMNP00930", objArg, "", "1", xpos, ypos, "", "", "", "", "", "M");
  8810. }
  8811. function switch1_case2_combo_pca_in_type_onitemclick(obj:Combo, e:ListBoxClickEventInfo)
  8812. {
  8813. switch1.case2.combo_pca_in_grade.enable = true;
  8814. //20180531 이돈희 : type을 '-'으로 변경시 점수도 '-'으로 자동 셋팅
  8815. if(e.index == 0){
  8816. ds_main_MnphrecoData_MnphrecoList.setColumn(0, "inpcagrade", '-');
  8817. }
  8818. //20180809 이돈희 : FLACC 선택 시 FLACC 각 항목 별 선택 화면 표시
  8819. else if(e.index == 3){
  8820. //20180820 이돈희 : 다른 기법 선택 후 FLACC 선택시 점수 0점으로 초기화
  8821. var strInflaccdetailgrade = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "inflaccdetailgrade");
  8822. if((utlf_isNull(strInflaccdetailgrade)) || (strInflaccdetailgrade == "-")){
  8823. ds_main_MnphrecoData_MnphrecoList.setColumn(0, "inpcagrade", '0');
  8824. }
  8825. //FLACC인 경우 콤보에서 총점 점수 조작 불가능
  8826. switch1.case2.combo_pca_in_grade.enable = false;
  8827. fFLACCDetailOpen("IN");
  8828. }
  8829. //20180820 이돈희 : FLACC에서 다른 기법 선택시 FLACC 관련 점수 초기화
  8830. if(e.index != 3){
  8831. ds_main_MnphrecoData_MnphrecoList.setColumn(0, "inflaccdetailgrade", '-');
  8832. }
  8833. }
  8834. function switch1_case2_combo_pca_out_type_onitemclick(obj:Combo, e:ListBoxClickEventInfo)
  8835. {
  8836. switch1.case2.combo_pca_out_grade.enable = true;
  8837. //20180531 이돈희 : type을 '-'으로 변경시 점수도 '-'으로 자동 셋팅
  8838. if(e.index == 0){
  8839. ds_main_MnphrecoData_MnphrecoList.setColumn(0, "outpcagrade", '-');
  8840. }
  8841. //20180809 이돈희 : FLACC 선택 시 FLACC 각 항목 별 선택 화면 표시
  8842. else if(e.index == 3){
  8843. //20180820 이돈희 : 다른 기법 선택 후 FLACC 선택시 점수 0점으로 초기화
  8844. var strOutflaccdetailgrade = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "outflaccdetailgrade");
  8845. if((utlf_isNull(strOutflaccdetailgrade)) || (strOutflaccdetailgrade == "-")){
  8846. ds_main_MnphrecoData_MnphrecoList.setColumn(0, "outpcagrade", '0');
  8847. }
  8848. //FLACC인 경우 콤보에서 총점 점수 조작 불가능
  8849. switch1.case2.combo_pca_out_grade.enable = false;
  8850. fFLACCDetailOpen("OUT");
  8851. }
  8852. //20180820 이돈희 : FLACC에서 다른 기법 선택시 FLACC 관련 점수 초기화
  8853. if(e.index != 3){
  8854. ds_main_MnphrecoData_MnphrecoList.setColumn(0, "outflaccdetailgrade", '-');
  8855. }
  8856. }
  8857. ]]></Script>
  8858. </Form>
  8859. </FDL>