123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNP00700" position="absolute 0 0 1200 760" titletext="회복실간호기록" onload="SMMNP00700_onload" ontimer="SMMNP00700_ontimer">
- <Layouts>
- <Layout>
- <Tab id="switch1" anchor="all" taborder="17" onchanged="switch1_onchanged" tabindex="1" position="absolute 0 226 1200 746">
- <Tabpages>
- <Tabpage id="case2" text="회복간호기록Ⅱ">
- <Layouts>
- <Layout>
- <TextArea id="textarea3" taborder="122" wordwrap="both" enable="false" position="absolute 940 344 1200 407" anchor="left top right"/>
- <TextArea id="textarea2" taborder="123" wordwrap="both" position="absolute 940 408 1200 466" anchor="left top right"/>
- <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">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="348"/>
- <Column size="0"/>
- <Column size="115"/>
- <Column size="115"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="장비명"/>
- <Cell col="2" text="No."/>
- <Cell col="3" text="사용시작일시"/>
- <Cell col="4" text="사용종료일시"/>
- <Cell col="5" text="goodmodel"/>
- <Cell col="6" text="goodspec"/>
- </Band>
- <Band id="body">
- <Cell text="bind:fixasetcd"/>
- <Cell col="1" displaytype="none" edittype="none" text="bind:toolnm"/>
- <Cell col="2" displaytype="text" edittype="text" text="bind:bedno"/>
- <Cell col="3" displaytype="text" edittype="mask" text="bind:usesrttm" mask="####-##-## ##:##" maskchar=" " edittrimtype="both" editautoselect="true" calendardisplaynulltype="nulltext"/>
- <Cell col="4" displaytype="text" edittype="mask" text="bind:useendtm" mask="####-##-## ##:##" maskchar=" " edittrimtype="both" editautoselect="true" calendardisplaynulltype="nulltext"/>
- <Cell col="5" text="bind:goodmodel"/>
- <Cell col="6" text="bind:goodspec"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <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">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="35"/>
- <Column size="85"/>
- <Column size="164"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="선택"/>
- <Cell col="1" text="안전관리"/>
- <Cell col="2" text="안전관리상세"/>
- <Cell col="3" text="회복실연계코드"/>
- <Cell col="4" text="status"/>
- <Cell col="5" text="resafeuptid"/>
- <Cell col="6" text="resafeuptnm"/>
- <Cell col="7"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:resafecheck"/>
- <Cell col="1" displaytype="normal" edittype="none" text="bind:resafenm"/>
- <Cell col="2" displaytype="normal" edittype="none" style="align:left top;padding:4 2 2 2;" text="bind:resafedetlnm" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="3" displaytype="none" edittype="none" text="bind:resafecd"/>
- <Cell col="4" displaytype="none" edittype="none" text="bind:recovseqno"/>
- <Cell col="5" displaytype="none" edittype="none" text="bind:status"/>
- <Cell col="6" text="bind:resafeuptid"/>
- <Cell col="7" text="bind:resafeuptnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption35" text="입실 기록일시" class="cell_1" position="absolute 0 77 105 101"/>
- <Static id="caption36" text="입실 기록부서" class="cell_1" position="absolute 0 102 105 126"/>
- <Static id="caption37" text="입실 기록자" class="cell_1" position="absolute 0 127 105 151"/>
- <Static id="caption5" text="퇴실일시" class="cell_1" position="absolute 295 52 400 76"/>
- <Static id="caption7" text="퇴실장소" class="cell_1" position="absolute 295 27 400 51"/>
- <Static id="caption76" text="총 회복시간" class="cell_1" position="absolute 0 156 105 180"/>
- <Static id="caption3" text="입실일시" class="cell_1" position="absolute 0 52 105 76"/>
- <Static id="caption48" text="회복장소" class="cell_1" position="absolute 0 27 105 51"/>
- <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;">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">유</Col>
- </Row>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">무</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Button id="button29" taborder="127" text="이상 내용" onclick="switch1_case2_button29_onclick" class="btn3" position="absolute 186 469 290 489" style="align:left middle;"/>
- <Static id="caption87" text="환자이상" class="tit_2" position="absolute 0 472 95 492" style="align:left top;"/>
- <Edit id="opt_blodrecord" taborder="128" readonly="true" class="output" visible="false" position="absolute 199 2 214 22"/>
- <Button id="btn_reintubexpend" taborder="129" text="확대하기" onclick="switch1_case2_btn_reintubexpend_onclick" class="btn2" position="absolute 1070 193 1134 213" anchor="top right"/>
- <Button id="button3" taborder="130" text="항목관리" onclick="switch1_case2_button3_onclick" class="btn2" position="absolute 1136 193 1200 213" anchor="top right"/>
- <Shape id="line15" class="line_3" position="absolute 884 312 1200 318" anchor="left top right"/>
- <Static id="caption85" text="삽관류 항목 List" class="tit_2" position="absolute 886 196 1012 213"/>
- <Button id="btn_safelist" taborder="131" text="엑셀" onclick="switch1_case2_btn_safelist_onclick" class="btn2" position="absolute 1045 2 1087 22" anchor="top right"/>
- <Button id="btn_getanst" taborder="132" text="마취기록" onclick="switch1_case2_btn_getanst_onclick" class="btn2" position="absolute 516 467 580 488"/>
- <Shape id="line28" class="line_3" position="absolute 295 179 579 185"/>
- <Shape id="line27" class="line_3" position="absolute 0 179 290 185"/>
- <Shape id="line18" class="line_3" position="absolute 296 487 581 493"/>
- <Button id="btn_grid6expand" taborder="133" text="확대하기" onclick="switch1_case2_btn_grid6expand_onclick" class="btn2" position="absolute 817 2 881 22"/>
- <Button id="button2" taborder="134" class="icon_search" visible="false" position="absolute 863 3 879 19"/>
- <Button id="button8" taborder="135" text="삭제" onclick="switch1_case2_button8_onclick" class="btn2" visible="false" position="absolute 818 2 860 22"/>
- <Shape id="line30" class="line_3" position="absolute 585 179 881 185"/>
- <Grid id="datagrid3" taborder="136" binddataset="ds_main_MnphrecoData_MnphrecoList_drgecdspec_lists_drgecdlist" useinputpanel="false" visible="false" position="absolute 716 2 782 24">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="126"/>
- <Column size="0"/>
- <Column size="49"/>
- <Column size="45"/>
- <Column size="42"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="goodname"/>
- <Cell col="1" text="배액관"/>
- <Cell col="2" text="규격"/>
- <Cell col="3" text="output"/>
- <Cell col="4" text="개수"/>
- <Cell col="5" text="부위"/>
- </Band>
- <Band id="body">
- <Cell text="bind:goodname"/>
- <Cell col="1" displaytype="combo" edittype="combo" text="bind:goodcd" combodataset="ds_init_drgecdlist_list" combocodecol="code" combodatacol="codename" enable="false"/>
- <Cell col="2" displaytype="none" edittype="none" text="bind:allsizespecid"/>
- <Cell col="3" displaytype="text" edittype="text" text="bind:output"/>
- <Cell col="4" text="bind:drgeqty"/>
- <Cell col="5" text="bind:partinfo"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption75" text="회복환자 합병증" class="tit_2" position="absolute 585 5 708 21"/>
- <Div id="group5" taborder="137" position="absolute 295 211 580 473">
- <Layouts>
- <Layout>
- <Calendar id="inp_prtcairwayadddt" taborder="50" autoselect="true" dateformat="yyyy-MM-dd" class="input_default" position="absolute 107 7 202 28"/>
- <Shape id="line21" class="line_2" position="absolute 0 27 283 33"/>
- <Shape id="line22" class="line_2" position="absolute 0 177 283 183"/>
- <Button id="button4" taborder="51" onclick="switch1_case2_group5_button4_onclick" class="icon_clock" position="absolute 265 159 281 175"/>
- <Static id="caption20" text="Extubation Time" class="cell_1" visible="false" position="absolute 0 157 105 180"/>
- <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;"/>
- <Static id="caption26" text="Intubation Time" class="cell_1" visible="false" position="absolute 0 7 96 30"/>
- <Shape id="line17" class="line_1" position="absolute 0 2 285 8" style="strokepen:3 solid #33bbbbff;"/>
- <Edit id="inp_prtctairwaynm" taborder="53" onkeyup="switch1_case2_group5_inp_prtctairwaynm_onkeyup" class="input_default" visible="false" position="absolute 266 33 281 52"/>
- <Calendar id="inp_prtctairwaydt" taborder="54" autoselect="true" dateformat="yyyy-MM-dd" class="input_default" position="absolute 107 157 202 178"/>
- <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;"/>
- <Button id="button13" taborder="56" onclick="switch1_case2_group5_button13_onclick" class="icon_clock" position="absolute 265 10 281 26"/>
- <Shape id="line13" class="line_2" position="absolute 0 51 283 57"/>
- <Edit id="output1" taborder="57" readonly="true" class="output" position="absolute 107 181 184 202" style="align:center middle;"/>
- <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;"/>
- <Static id="caption64" text="Extubation 시 Vital Sign." class="cell_1" position="absolute 0 205 105 255"/>
- <Static id="caption65" text=" B.P (mmHg)" class="cell_1" position="absolute 107 205 176 235"/>
- <Static id="caption66" text=" P (회)" class="cell_1" position="absolute 177 205 230 235"/>
- <Static id="caption67" text=" SpO2 (%)" class="cell_1" position="absolute 231 205 285 235"/>
- <Edit id="input2" taborder="59" autoselect="true" position="absolute 107 236 176 255" style="align:center middle;"/>
- <Edit id="input3" taborder="60" autoselect="true" position="absolute 177 236 230 255" style="align:center middle;"/>
- <Edit id="input4" taborder="61" autoselect="true" position="absolute 231 236 285 255" style="align:center middle;"/>
- <Edit id="output14" taborder="62" readonly="true" class="output" position="absolute 107 31 176 52" style="align:center middle;"/>
- <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;"/>
- <Edit id="output16" taborder="64" readonly="true" visible="false" position="absolute 260 181 285 202"/>
- <Shape id="line12" class="line_2" position="absolute 0 153 284 159"/>
- <Shape id="line33" class="line_2" position="absolute 0 201 283 207"/>
- <Static id="caption83" text="마취 시작 시간" class="cell_1" position="absolute 0 7 105 30"/>
- <Static id="caption84" text="마취 종료 시간" class="cell_1" position="absolute 0 157 105 180"/>
- <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"/>
- <Static id="caption38" text="Extubation Dr." class="cell_1" position="absolute 0 181 105 204"/>
- <Static id="caption21" text="기도유지" class="cell_1" position="absolute 0 55 105 156"/>
- <Static id="caption22" text="Intubation Dr." class="cell_1" position="absolute 0 31 105 54"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape id="line6" class="line_1" position="absolute 295 151 580 157" style="strokepen:3 solid #33bbbbff;"/>
- <Static id="caption16" text="기도유지정보" class="tit_2" position="absolute 295 196 395 212"/>
- <Static id="caption32" text="점" position="absolute 260 371 280 385"/>
- <Static id="caption27" text="점 /" position="absolute 153 371 181 385"/>
- <Shape id="line5" class="line_1" position="absolute 0 213 290 219" style="strokepen:3 solid #33bbbbff;"/>
- <Static id="caption11" text="회복상태 평가표" class="tit_2" position="absolute 0 196 119 212"/>
- <CheckBox id="checkbox5" taborder="138" text="방사선실 경유" value="N" truevalue="Y" falsevalue="N" position="absolute 486 2 582 22"/>
- <Shape id="line23" class="line_2" position="absolute 295 48 580 54"/>
- <Shape id="line16" class="line_2" position="absolute 0 123 290 129"/>
- <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"/>
- <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;">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">유</Col>
- </Row>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">무</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Button id="button16" taborder="141" text="PCA 기록" onclick="switch1_case2_button16_onclick" class="btn3" position="absolute 186 435 290 455" style="align:left middle;"/>
- <Static id="caption79" text="PCA" class="tit_2" position="absolute 0 437 85 457" style="align:left top;"/>
- <Edit id="output15" taborder="142" readonly="true" class="output" position="absolute 107 156 290 180" style="align:center middle;"/>
- <Edit id="output13" taborder="143" readonly="true" class="output" visible="true" position="absolute 96 2 179 22"/>
- <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;"/>
- <CheckBox id="checkbox1" taborder="145" text="발관하지 않고 퇴실장소로 퇴실" value="N" truevalue="Y" falsevalue="N" position="absolute 295 468 496 487"/>
- <Static id="caption68" text="입실기록" class="tit_2" position="absolute 0 5 113 21"/>
- <Radio id="radio6" taborder="146" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 459 193 578 214">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">O</Col>
- <Col id="datacolumn">수술실</Col>
- </Row>
- <Row>
- <Col id="codecolumn">R</Col>
- <Col id="datacolumn">회복실</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <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;">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">유</Col>
- </Row>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">무</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="caption34" text="수혈여부" class="tit_2" position="absolute 0 401 85 421" style="align:left top;"/>
- <Shape id="line10" class="line_3" position="absolute 585 487 936 493"/>
- <Shape id="line46" class="line_3" position="absolute 940 487 1200 493" anchor="left top right"/>
- <Shape id="line45" class="line_1" position="absolute 885 22 1200 28" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
- <Edit id="opt_resafecertid" taborder="148" readonly="true" class="output" position="absolute 1156 2 1200 22" anchor="top right"/>
- <Static id="caption9" text="확인자:" position="absolute 1111 1 1156 21" anchor="top right"/>
- <Static id="caption4" text="회복환자 안전점검" class="tit_2" position="absolute 885 5 1015 21"/>
- <Edit id="inp_totalio" taborder="149" autoselect="true" class="input_default" enable="false" position="absolute 1032 467 1200 488" anchor="left top right"/>
- <Static id="caption70" text="마취 Total I/O" class="cell_1" position="absolute 940 467 1030 488"/>
- <Shape id="line11" class="line_1" position="absolute 940 339 1200 345" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
- <Static id="caption10" text="부서 전달사항" class="tit_2" position="absolute 940 322 1061 338"/>
- <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"/>
- <Button id="button11" taborder="151" text="사용시작 / 사용종료" onclick="switch1_case2_button11_onclick" class="btn2" visible="false" position="absolute 856 193 983 213" anchor="top right"/>
- <Button id="button10" taborder="152" text="Type II" onclick="switch1_case2_button10_onclick" class="btn2" position="absolute 872 320 936 339"/>
- <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">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="71"/>
- <Column size="42"/>
- <Column size="24"/>
- <Column size="136"/>
- <Column size="52"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="29" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="기록일자"/>
- <Cell col="1" text="시간"/>
- <Cell col="2" text="DN AR"/>
- <Cell col="3" text="간호기록"/>
- <Cell col="4" text="작성자"/>
- <Cell col="5" text="stmtcd"/>
- </Band>
- <Band id="body">
- <Cell displaytype="date" text="bind:recdd" mask="yyyy-MM-dd" suppress="1" suppressalign="middle,over" calendardisplaynulltype="nulltext"/>
- <Cell col="1" displaytype="date" text="bind:rectm" mask="HH:mm" suppress="2" suppressalign="middle,over" calendardisplaynulltype="nulltext"/>
- <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"/>
- <Cell col="3" style="align:left middle;padding:4 2 2 2;" text="bind:stmtspec" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="4" text="bind:fstrgstrnm" wordwrap="char"/>
- <Cell col="5" text="bind:stmtcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption31" text="장비사용기록" class="tit_2" visible="false" position="absolute 886 196 995 213"/>
- <Static id="caption42" text="간호기록" class="tit_2" position="absolute 585 322 755 338"/>
- <Shape id="line31" class="line_1" position="absolute 885 213 1200 219" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
- <Shape id="line42" class="line_1" position="absolute 585 339 936 345" style="strokepen:3 solid #33bbbbff;"/>
- <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;"/>
- <Static id="caption39" text="퇴실 기록일시" class="cell_1" position="absolute 295 77 400 101"/>
- <Shape id="line39" class="line_2" position="absolute 295 98 578 104"/>
- <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;"/>
- <Shape id="line36" class="line_2" position="absolute 0 98 290 104"/>
- <Static id="caption41" text="퇴실 기록자" class="cell_1" position="absolute 295 127 400 151"/>
- <Edit id="output8" taborder="156" readonly="true" class="output" position="absolute 402 127 580 151"/>
- <Shape id="line32" class="line_1" position="absolute 0 151 290 157" style="strokepen:3 solid #33bbbbff;"/>
- <Static id="caption40" text="퇴실 기록부서" class="cell_1" position="absolute 295 102 400 126"/>
- <Edit id="output7" taborder="157" readonly="true" class="output" position="absolute 402 102 580 124"/>
- <Edit id="output5" taborder="158" readonly="true" class="output" position="absolute 107 127 290 151"/>
- <Shape id="line40" class="line_2" position="absolute 295 123 578 129"/>
- <Edit id="output4" taborder="159" readonly="true" class="output" position="absolute 107 102 290 124"/>
- <TextArea id="textarea1" taborder="160" enable="false" visible="false" position="absolute 3 488 287 491"/>
- <Shape id="line7" class="line_1" position="absolute 295 22 580 28" style="strokepen:3 solid #33bbbbff;"/>
- <Edit id="opt_leav" taborder="161" readonly="true" class="output" position="absolute 223 368 255 387" style="align:center middle;font:Dotum,9,bold;"/>
- <Static id="caption8" text="퇴실기록" class="tit_2" position="absolute 295 5 376 21"/>
- <Static id="caption25" text="퇴실시" position="absolute 180 371 220 385"/>
- <Static id="caption24" text="입실시" position="absolute 73 371 112 385"/>
- <Static id="caption23" text="회복점수" class="cell_1" position="absolute 0 366 65 389"/>
- <Shape id="line26" class="line_1" position="absolute 584 22 881 28" style="strokepen:3 solid #33bbbbff;"/>
- <Shape id="line25" class="line_3" position="absolute 0 388 290 394"/>
- <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">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20" band="left"/>
- <Column size="153"/>
- <Column size="42"/>
- <Column size="45"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="평가내역"/>
- <Cell col="2" text="입실시"/>
- <Cell col="3" text="퇴실시"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow + 1"/>
- <Cell col="1" style="align:left;" text="bind:valuitemnm"/>
- <Cell col="2" style="align:center;" text="bind:valuitemarrv"/>
- <Cell col="3" style="align:center;" text="bind:valuitemleav"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="button5" taborder="163" text="평가도구" onclick="switch1_case2_button5_onclick" class="btn2" position="absolute 226 194 290 213"/>
- <Edit id="opt_arrv" taborder="164" readonly="true" class="output" position="absolute 117 368 149 387" style="align:center middle;font:Dotum,9,bold;"/>
- <Edit id="inp_prtctairway" taborder="165" class="input_default" visible="false" position="absolute 725 409 760 428"/>
- <Shape id="line14" class="line_3" position="absolute 885 179 1200 185" anchor="left top right"/>
- <Shape id="line19" class="line_1" visible="false" position="absolute 767 98 876 104"/>
- <Static id="caption18" text="배액관정보" class="tit_2" visible="false" position="absolute 767 86 867 99"/>
- <Edit id="inp_outdrnm" taborder="166" autoselect="true" class="input_default" enable="false" visible="false" position="absolute 552 156 562 180"/>
- <Button id="button6" taborder="167" onclick="switch1_case2_button6_onclick" class="icon_search" position="absolute 564 158 580 174"/>
- <Edit id="inp_outdrid" taborder="168" readonly="true" class="output" position="absolute 402 156 474 180"/>
- <Static id="caption19" text="퇴실결정의사" class="cell_1" position="absolute 295 156 400 180"/>
- <Shape id="line24" class="line_2" position="absolute 294 73 580 79"/>
- <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;"/>
- <Button id="button14" taborder="170" onclick="switch1_case2_button14_onclick" class="icon_clock" position="absolute 564 54 580 70"/>
- <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;"/>
- <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"/>
- <Button id="button12" taborder="173" onclick="switch1_case2_button12_onclick" class="icon_clock" position="absolute 270 53 290 73"/>
- <Shape id="line4" class="line_2" position="absolute 0 73 290 79"/>
- <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;"/>
- <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"/>
- <Shape id="line44" class="line_2" position="absolute 0 48 290 54"/>
- <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;"/>
- <Shape id="line3" class="line_1" position="absolute 0 22 290 28" style="strokepen:3 solid #33bbbbff;"/>
- <Edit id="inp_outplcenm" taborder="177" class="input_default" visible="false" position="absolute 379 2 477 22"/>
- <Div id="grp_memoview" taborder="178" style="background:white;shadow:drop 3,3 3 gray;" visible="false" position="absolute 295 303 567 489">
- <Layouts>
- <Layout>
- <Button id="button30" taborder="17" text="닫기" onclick="switch1_case2_grp_memoview_button30_onclick" class="btn2" position="absolute 228 165 270 183"/>
- <Button id="btn_prtlabel" taborder="18" text="확인" onclick="switch1_case2_grp_memoview_btn_prtlabel_onclick" class="btn5" position="absolute 181 165 223 184"/>
- <TextArea id="tar_detail" taborder="19" wordwrap="both" position="absolute 0 2 270 162"/>
- </Layout>
- </Layouts>
- </Div>
- <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">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="35"/>
- <Column size="275"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="20"/>
- </Rows>
- <Band id="head">
- <Cell text="선택"/>
- <Cell col="1" text="삽관류명"/>
- <Cell col="2" text="삽관류상세"/>
- <Cell col="3" text="회복실연계코드"/>
- <Cell col="4" text="status"/>
- <Cell col="5" text="reintubuptid"/>
- <Cell col="6" text="reintubuptnm"/>
- <Cell col="7"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:reintubcheck"/>
- <Cell col="1" edittype="none" style="align:left;" text="bind:reintubnm"/>
- <Cell col="2" displaytype="none" edittype="none" text="bind:reintubdetlnm"/>
- <Cell col="3" displaytype="none" edittype="none" text="bind:reintubcd"/>
- <Cell col="4" displaytype="none" edittype="none" text="bind:recovseqno"/>
- <Cell col="5" displaytype="none" edittype="none" text="bind:status"/>
- <Cell col="6" text="bind:reintubuptid"/>
- <Cell col="7" text="bind:reintubuptnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="bbt_inroom" taborder="181" text="저장" onclick="switch1_case2_bbt_inroom_onclick" class="btn2" position="absolute 61 54 103 74"/>
- <Button id="bbt_outroom" taborder="182" text="저장" onclick="switch1_case2_bbt_outroom_onclick" class="btn2" position="absolute 356 54 398 74"/>
- <Edit id="output00" taborder="183" readonly="true" class="output" position="absolute 200 2 283 22"/>
- <Static id="caption00" text="통증사정도구" class="tit_2" visible="true" position="absolute 584 196 708 213"/>
- <Shape id="line00" class="line_1" position="absolute 584 213 746 219" anchor="left top" style="strokepen:3 solid #33bbbbff;"/>
- <Shape id="line01" class="line_1" position="absolute 750 213 881 219" anchor="left top" style="strokepen:3 solid #33bbbbff;"/>
- <Static id="caption02" text="PONV" class="tit_2" position="absolute 750 196 830 213"/>
- <Static id="caption01" text="입실" class="cell_1" position="absolute 585 218 624 241"/>
- <Static id="caption06" text="퇴실" class="cell_1" position="absolute 585 243 624 266"/>
- <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"/>
- <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;"/>
- <Shape id="line02" class="line_2" position="absolute 586 239 747 245"/>
- <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"/>
- <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;"/>
- <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;"/>
- <Static id="caption12" text="입실" class="cell_1" position="absolute 750 218 789 241"/>
- <Static id="caption13" text="퇴실" class="cell_1" position="absolute 750 243 789 266"/>
- <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;"/>
- <Shape id="line08" class="line_3" position="absolute 585 265 881 271"/>
- <Shape id="line09" class="line_2" position="absolute 750 239 882 245"/>
- <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">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="35"/>
- <Column size="232"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="선택"/>
- <Cell col="1" text="합병증"/>
- <Cell col="2" text="병증코드"/>
- <Cell col="3" text="회복실연계코드"/>
- <Cell col="4" text="status"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:complcheck"/>
- <Cell col="1" displaytype="normal" edittype="none" style="align:left;" text="bind:complname"/>
- <Cell col="2" displaytype="none" edittype="none" text="bind:complcode"/>
- <Cell col="3" displaytype="none" edittype="none" text="bind:recovseqno"/>
- <Cell col="4" displaytype="none" edittype="none" text="bind:status"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="Static00" text="낙상주의" position="absolute 374 2 474 22" style="background:#ff0000ff;color:yellow;align:center middle;font:Dotum,12;"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case1" text="회복간호기록 I">
- <Layouts>
- <Layout>
- <Div id="case3" anchor="all" taborder="4" visible="false" position="absolute 0 0 1200 492">
- <Layouts>
- <Layout>
- <Div id="group3" anchor="all" taborder="0" enable="false" position="absolute 0 0 1001 460">
- <Layouts>
- <Layout>
- <CheckBox id="chk_cnstopflag" taborder="137" text="협진수술여부" value="N" truevalue="Y" falsevalue="N" position="absolute 286 130 386 150" style=":disabled {color:black;}"/>
- <Combo id="cmb_anstmthdcd" taborder="138" innerdataset="@ds_init_M0270_M0270" codecolumn="cdid" datacolumn="cdnm" class="combo_search" position="absolute 607 11 745 30"/>
- <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"/>
- <Calendar id="ipt_meetingdd" taborder="140" autoselect="true" position="absolute 607 61 700 80"/>
- <Edit id="ipt_orddept" taborder="141" autoselect="true" position="absolute 77 9 283 28"/>
- <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"/>
- <Static id="caption50" text="마취 가산" class="cell_1" position="absolute 495 34 605 57"/>
- <Calendar id="ipt_optodd" taborder="143" autoselect="true" position="absolute 859 111 952 130" mask="yyyy-mm-dd"/>
- <Combo id="cmb_physstat" taborder="144" innerdataset="@ds_init_M0269_M0269" codecolumn="cdid" datacolumn="cdnm" class="combo_search" position="absolute 608 159 988 178"/>
- <Static id="caption51" text="마취방법 (부마취)" class="cell_1" position="absolute 748 10 858 33"/>
- <Static id="caption30" text="마취의 3" class="cell_1" position="absolute 250 79 325 102"/>
- <Static id="caption52" text="분" position="absolute 718 135 736 155"/>
- <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"/>
- <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"/>
- <Edit id="ipt_anstmnt" taborder="147" autoselect="true" class="input_search" enable="false" position="absolute 678 135 714 154"/>
- <Static id="caption53" text="시간" position="absolute 647 135 673 155"/>
- <Static id="caption43" text="Meeting Time" class="cell_1" position="absolute 495 59 605 82"/>
- <Static id="caption54" text="마취 시작" class="cell_1" position="absolute 495 84 605 107"/>
- <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"/>
- <CheckBox id="chk_anstregflag" taborder="149" text="마취 예약만" value="N" truevalue="Y" falsevalue="N" position="absolute 182 130 282 150" style=":disabled {color:black;}"/>
- <Static id="caption55" text="수술 시작" class="cell_1" position="absolute 495 109 605 132"/>
- <Edit id="ipt__perfdr2" taborder="150" autoselect="true" position="absolute 285 33 480 52"/>
- <Static id="caption12" text="집 도 의" class="cell_1" position="absolute 0 31 75 54"/>
- <Static id="caption56" text="수술 종료" class="cell_1" position="absolute 751 109 857 132"/>
- <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"/>
- <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"/>
- <Static id="caption13" text="수술 구분" class="cell_1" position="absolute 0 103 75 149"/>
- <Static id="caption57" text="마취 종료" class="cell_1" position="absolute 751 84 857 107"/>
- <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"/>
- <Static id="caption46" text="총 마취 시간" class="cell_1" position="absolute 495 134 605 157"/>
- <Static id="caption14" text="수 술 방" class="cell_1" position="absolute 0 55 75 78"/>
- <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">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="425"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="진단코드"/>
- <Cell col="1" text="진단명"/>
- </Band>
- <Band id="body">
- <Cell text="bind:code"/>
- <Cell col="1" text="bind:engnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption58" text="Time Out Check" class="cell_1" position="absolute 751 59 857 82"/>
- <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"/>
- <Static id="caption15" text="집 도 과" class="cell_1" position="absolute 0 7 75 30"/>
- <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">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="105"/>
- <Column size="320"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="수술 (전)"/>
- <Cell col="1" text="수술명"/>
- </Band>
- <Band id="body">
- <Cell text="bind:code"/>
- <Cell col="1" text="bind:engnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption59" text="마취방법 (주마취)" class="cell_1" position="absolute 495 9 605 32"/>
- <Calendar id="ipt_tmoutchkdd" taborder="157" autoselect="true" position="absolute 859 61 952 80"/>
- <Calendar id="ipt_anstfromdd" taborder="158" autoselect="true" position="absolute 607 86 700 105"/>
- <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"/>
- <Static id="caption49" text="Physical Status" class="cell_1" position="absolute 495 159 605 182"/>
- <Static id="caption28" text="마취의 1" class="cell_1" position="absolute 250 54 325 77"/>
- <Static id="caption17" text="마취의 2" class="cell_1" position="absolute 0 79 75 102"/>
- <Edit id="ipt_ansttm" taborder="160" autoselect="true" class="input_search" enable="false" position="absolute 607 135 642 154"/>
- <Edit id="ipt_perfdr" taborder="161" autoselect="true" position="absolute 77 33 283 52"/>
- <Edit id="ipt__orddept2" taborder="162" autoselect="true" position="absolute 285 9 480 28"/>
- <Static id="caption29" text="환자 구분" class="cell_1" position="absolute 0 150 75 173"/>
- <Edit id="ipt__anstdrid1" taborder="163" autoselect="true" position="absolute 327 57 480 76"/>
- <Edit id="ipt_anstdrid2" taborder="164" autoselect="true" position="absolute 77 81 248 100"/>
- <Combo id="cmb_anstmthdcdsub" taborder="165" innerdataset="@ds_init_M0271_M0271" codecolumn="cdid" datacolumn="cdnm" class="combo_search" position="absolute 860 11 989 30"/>
- <Calendar id="ipt_opfromdd" taborder="166" autoselect="true" position="absolute 607 111 700 130"/>
- <Edit id="ipt_anstdrid3" taborder="167" autoselect="true" position="absolute 327 81 480 100"/>
- <CheckBox id="chk_reopflag" taborder="168" text="금일 재수술" value="N" truevalue="Y" falsevalue="N" position="absolute 78 130 179 150" style=":disabled {color:black;}"/>
- <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">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="320"/>
- <Column size="105"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="코드"/>
- <Cell col="1" text="수술 (후) - 수술명"/>
- <Cell col="2" text="Comments"/>
- </Band>
- <Band id="body">
- <Cell text="bind:code"/>
- <Cell col="1" text="bind:engnm"/>
- <Cell col="2" text="bind:remfact"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Calendar id="ipt_ansttodd" taborder="170" autoselect="true" position="absolute 859 86 952 105"/>
- <Shape id="line20" class="line_10" position="absolute 0 2 478 8" style=":disabled {strokepen:3 solid #33bbbbff;}"/>
- <Shape id="line2" class="line_10" position="absolute 495 3 989 9" style=":disabled {strokepen:3 solid #33bbbbff;}"/>
- <Shape id="line8" class="line_3" position="absolute 495 181 986 187" style=":disabled {strokepen:1 solid #33bbbbff;}"/>
- <Shape id="line9" class="line_3" position="absolute 0 172 478 178" style=":disabled {strokepen:1 solid #33bbbbff;}"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- </Div>
- <Div id="case5" anchor="all" taborder="5" visible="false" position="absolute 0 0 1200 492">
- <Layouts>
- <Layout>
- <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">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="50"/>
- <Column size="217"/>
- <Column size="0"/>
- <Column size="45"/>
- <Column size="30"/>
- <Column size="45"/>
- <Column size="30"/>
- <Column size="55"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="√"/>
- <Cell col="1" text="구분"/>
- <Cell col="2" text="처방명"/>
- <Cell col="3" text="처방코드"/>
- <Cell col="4" colspan="2" text="기록총용량" taborder="undefined"/>
- <Cell col="6" colspan="2" text="처방총용량" taborder="undefined"/>
- <Cell col="8" text="투여방법"/>
- <Cell col="9" text="약어명"/>
- <Cell col="10" text="소분류"/>
- <Cell col="11" text="처방적용유무"/>
- <Cell col="12" text="총용량기록여부"/>
- <Cell col="13" text="remark"/>
- <Cell col="14" text="sortno"/>
- <Cell col="15" text="pcaflag"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:checked" enable="false"/>
- <Cell col="1" displaytype="combo" edittype="combo" text="bind:prcptype" combodataset="ds_init_prcptype" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="2" displaytype="none" edittype="none" text="bind:prcpnm"/>
- <Cell col="3" text="bind:prcpcd"/>
- <Cell col="4" displaytype="none" edittype="none" text="bind:recvol" mask="#,###.999"/>
- <Cell col="5" displaytype="none" edittype="none" text="bind:prcpvolunitnm"/>
- <Cell col="6" displaytype="none" edittype="none" text="bind:prcpvol" mask="#,###.999"/>
- <Cell col="7" displaytype="none" edittype="none" text="bind:prcpvolunitnm2"/>
- <Cell col="8" displaytype="none" edittype="none" text="bind:mthdcnts1" enable="false"/>
- <Cell col="9" text="bind:abbrnm"/>
- <Cell col="10" text="bind:clscd"/>
- <Cell col="11" text="bind:prcpappyn"/>
- <Cell col="12" text="bind:totvolyn"/>
- <Cell col="13" text="bind:remark"/>
- <Cell col="14" text="bind:sortno"/>
- <Cell col="15" text="bind:pcaflag"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Div>
- <Div id="case4" anchor="all" taborder="6" position="absolute 0 0 1200 492">
- <Layouts>
- <Layout>
- <Button id="button24" taborder="64" text="인증저장" class="btn5" visible="false" position="absolute 1083 37 1147 56" anchor="top right"/>
- <Button id="button23" taborder="65" text="임시저장" class="btn5" visible="false" position="absolute 1018 37 1082 56" anchor="top right"/>
- <Div id="group1" anchor="left top bottom" taborder="66" position="absolute 0 2 490 489">
- <Layouts>
- <Layout>
- <Static id="caption60" text="PRN 처방내역(수술중/후)" class="tit_2" position="absolute 0 2 180 19"/>
- <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">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="55"/>
- <Column size="0"/>
- <Column size="173"/>
- <Column size="28"/>
- <Column size="28"/>
- <Column size="28"/>
- <Column size="28"/>
- <Column size="28"/>
- <Column size="32"/>
- <Column size="57"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="recovseqno"/>
- <Cell col="1" text="구분"/>
- <Cell col="2" text="prcpcd"/>
- <Cell col="3" text="처방명"/>
- <Cell col="4" colspan="6" text="1일용량/단위/1일횟수" taborder="undefined"/>
- <Cell col="10" text="처방종류"/>
- <Cell col="11" text="prcpclscd"/>
- </Band>
- <Band id="body">
- <Cell displaytype="none" edittype="none" text="bind:recovseqno"/>
- <Cell col="1" style="align:center;" text="bind:flag"/>
- <Cell col="2" text="bind:prcpcd"/>
- <Cell col="3" style="align:left top;padding:4 2 2 2;" text="bind:prcpnm" wordwrap="word" tooltiptype="mouse" tooltiptext="bind:prcpnm"/>
- <Cell col="4" style="align:left;padding:2 2 2 2;" text="bind:drugvol"/>
- <Cell col="5" style="align:left;padding:2 2 2 2;" text="bind:drugvolunit"/>
- <Cell col="6" style="align:left;padding:2 2 2 2;" text="bind:drugqty"/>
- <Cell col="7" style="align:left top;padding:4 2 2 2;" text="bind:drugqtyunit" wordwrap="word"/>
- <Cell col="8" style="align:left;padding:2 2 2 2;" text="bind:drugtime"/>
- <Cell col="9" style="align:left;padding:2 2 2 2;" text="bind:drugday"/>
- <Cell col="10" style="align:center;" text="bind:flag2"/>
- <Cell col="11" text="bind:prcpclscd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption62" text="참고 사항" class="tit_2" position="absolute 0 394 126 412"/>
- <Static id="caption82" text="조회구분" class="search_name" position="absolute 232 0 308 20"/>
- <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;">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">T</Col>
- <Col id="datacolumn">임시</Col>
- </Row>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">실시완료</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <TextArea id="tar_remfact" taborder="15" wordwrap="char" position="absolute 0 413 490 487" anchor="left top bottom"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption63" text="입력주기설정" class="search_name" position="absolute 762 2 857 22" anchor="top right"/>
- <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;">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">5</Col>
- <Col id="datacolumn">5분</Col>
- </Row>
- <Row>
- <Col id="codecolumn">10</Col>
- <Col id="datacolumn">10분</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <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;"/>
- <Button id="button18" taborder="69" text="다음" onclick="switch1_case1_case4_button18_onclick" class="btn2" position="absolute 999 2 1042 22" anchor="top right"/>
- <Button id="button19" taborder="70" text="새로고침" class="btn2" position="absolute 426 2 490 22"/>
- <Button id="button21" taborder="71" text="항목 추가" onclick="switch1_case1_case4_button21_onclick" class="btn2" position="absolute 535 2 610 22"/>
- <Button id="button22" taborder="72" text="이전" onclick="switch1_case1_case4_button22_onclick" class="btn2" position="absolute 954 2 997 22" anchor="top right"/>
- <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;"/>
- <Button id="button27" taborder="74" text="삭제" onclick="switch1_case1_case4_button27_onclick" class="btn2" position="absolute 1158 2 1200 22" anchor="top right"/>
- <Div id="group8" taborder="75" position="absolute 0 205 490 384">
- <Layouts>
- <Layout>
- <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">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="53"/>
- <Column size="0"/>
- <Column size="173"/>
- <Column size="28"/>
- <Column size="28"/>
- <Column size="28"/>
- <Column size="28"/>
- <Column size="28"/>
- <Column size="32"/>
- <Column size="65"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="recovseqno"/>
- <Cell col="1" text="구분"/>
- <Cell col="2" text="prcpcd"/>
- <Cell col="3" text="처방명"/>
- <Cell col="4" colspan="6" text="1일용량/단위/1일횟수" taborder="undefined"/>
- <Cell col="10" text="처방종류"/>
- <Cell col="11" text="prcpclscd"/>
- </Band>
- <Band id="body">
- <Cell text="bind:recovseqno"/>
- <Cell col="1" displaytype="normal" edittype="none" style="align:center;" text="bind:flag"/>
- <Cell col="2" text="bind:prcpcd"/>
- <Cell col="3" style="align:left top;padding:4 2 2 2;" text="bind:prcpnm" wordwrap="word" tooltiptype="mouse" tooltiptext="bind:prcpnm"/>
- <Cell col="4" style="align:left;" text="bind:drugvol"/>
- <Cell col="5" style="align:left;" text="bind:drugvolunit"/>
- <Cell col="6" style="align:left;" text="bind:drugqty"/>
- <Cell col="7" style="align:left top;padding:4 2 2 2;" text="bind:drugqtyunit" wordwrap="word"/>
- <Cell col="8" style="align:left;" text="bind:drugtime"/>
- <Cell col="9" style="align:left;padding:2 2 2 2;" text="bind:drugday"/>
- <Cell col="10" style="align:center;" text="bind:flag2"/>
- <Cell col="11" text="bind:prcpclscd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption61" text="시행부서 처방내역" class="tit_2" position="absolute 0 2 132 19"/>
- <Button id="button20" taborder="14" text="새로고침" class="btn2" position="absolute 426 0 490 20"/>
- <Button id="button28" taborder="15" text="펼치기" onclick="switch1_case1_case4_group8_button28_onclick" class="btn2" position="absolute 371 0 424 20"/>
- </Layout>
- </Layouts>
- </Div>
- <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">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0" band="left"/>
- <Column size="0" band="left"/>
- <Column size="0" band="left"/>
- <Column size="74" band="left"/>
- <Column size="86" band="left"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="46"/>
- <Column size="46"/>
- <Column size="46"/>
- <Column size="46"/>
- <Column size="46"/>
- <Column size="46"/>
- <Column size="40"/>
- <Column size="46"/>
- <Column size="46"/>
- <Column size="46"/>
- <Column size="46"/>
- <Column size="46"/>
- <Column size="46"/>
- <Column size="46"/>
- <Column size="46"/>
- <Column size="46"/>
- <Column size="46"/>
- <Column size="46"/>
- <Column size="46"/>
- <Column size="46"/>
- <Column size="46"/>
- <Column size="46"/>
- <Column size="46"/>
- <Column size="46"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="분류코드"/>
- <Cell col="1" text="아이템코드"/>
- <Cell col="2" text="recovseqno"/>
- <Cell col="3" rowspan="3" taborder="undefined" autosizerow="limitmin"/>
- <Cell col="4" text="날짜" autosizerow="limitmin"/>
- <Cell col="5" colspan="2" text="Total I/O" taborder="undefined" autosizerow="limitmin"/>
- <Cell col="7" autosizerow="limitmin"/>
- <Cell col="8" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell col="9" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell col="10" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell col="11" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell col="12" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell col="13" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell col="14" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell col="15" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell col="16" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell col="17" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell col="18" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell col="19" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell col="20" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell col="21" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell col="22" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell col="23" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell col="24" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell col="25" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell col="26" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell col="27" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell col="28" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell col="29" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell col="30" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell col="31" text="recflag"/>
- <Cell row="1" text="분류코드"/>
- <Cell row="1" col="1" text="아이템코드"/>
- <Cell row="1" col="2" text="recovseqno"/>
- <Cell row="1" col="4" text="시" autosizerow="limitmin"/>
- <Cell row="1" col="5" rowspan="2" colspan="2" text="I/O" taborder="undefined" autosizerow="limitmin"/>
- <Cell row="1" col="7" autosizerow="limitmin"/>
- <Cell row="1" col="8" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="1" col="9" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="1" col="10" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="1" col="11" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="1" col="12" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="1" col="13" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="1" col="14" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="1" col="15" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="1" col="16" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="1" col="17" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="1" col="18" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="1" col="19" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="1" col="20" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="1" col="21" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="1" col="22" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="1" col="23" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="1" col="24" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="1" col="25" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="1" col="26" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="1" col="27" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="1" col="28" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="1" col="29" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="1" col="30" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="1" col="31" text="recflag"/>
- <Cell row="2" text="분류코드"/>
- <Cell row="2" col="1" text="아이템코드"/>
- <Cell row="2" col="2" text="recovseqno"/>
- <Cell row="2" col="4" text="분" autosizerow="limitmin"/>
- <Cell row="2" col="7" autosizerow="limitmin"/>
- <Cell row="2" col="8" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="2" col="9" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="2" col="10" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="2" col="11" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="2" col="12" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="2" col="13" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="2" col="14" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="2" col="15" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="2" col="16" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="2" col="17" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="2" col="18" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="2" col="19" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="2" col="20" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="2" col="21" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="2" col="22" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="2" col="23" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="2" col="24" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="2" col="25" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="2" col="26" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="2" col="27" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="2" col="28" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="2" col="29" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="2" col="30" style="linetype:nocross;" autosizerow="limitmin"/>
- <Cell row="2" col="31" text="recflag"/>
- </Band>
- <Band id="body">
- <Cell text="bind:lrgcd"/>
- <Cell col="1" text="bind:vsitemcd"/>
- <Cell col="2" text="bind:recovseqno"/>
- <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"/>
- <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"/>
- <Cell col="5" displaytype="text" style="background:bind:colBack5;background2:bind:colBack5;" text="bind:itotal" editautoselect="true" autosizerow="limitmin"/>
- <Cell col="6" displaytype="text" style="background:bind:colBack5;background2:bind:colBack5;" text="bind:ototal" editautoselect="true" autosizerow="limitmin"/>
- <Cell col="7" displaytype="text" edittype="text" text="bind:data1" editautoselect="true"/>
- <Cell col="8" displaytype="text" edittype="text" text="bind:data2" editautoselect="true"/>
- <Cell col="9" displaytype="text" edittype="text" text="bind:data3" editautoselect="true"/>
- <Cell col="10" displaytype="text" edittype="text" text="bind:data4" editautoselect="true"/>
- <Cell col="11" displaytype="text" edittype="text" text="bind:data5" editautoselect="true"/>
- <Cell col="12" displaytype="text" edittype="text" text="bind:data6" editautoselect="true"/>
- <Cell col="13" displaytype="text" edittype="text" text="bind:data7" editautoselect="true"/>
- <Cell col="14" displaytype="text" edittype="text" text="bind:data8" editautoselect="true"/>
- <Cell col="15" displaytype="text" edittype="text" text="bind:data9" editautoselect="true"/>
- <Cell col="16" displaytype="text" edittype="text" text="bind:data10" editautoselect="true"/>
- <Cell col="17" displaytype="text" edittype="text" text="bind:data11" editautoselect="true"/>
- <Cell col="18" displaytype="text" edittype="text" text="bind:data12" editautoselect="true"/>
- <Cell col="19" displaytype="text" edittype="text" text="bind:data13" editautoselect="true"/>
- <Cell col="20" displaytype="text" edittype="text" text="bind:data14" editautoselect="true"/>
- <Cell col="21" displaytype="text" edittype="text" text="bind:data15" editautoselect="true"/>
- <Cell col="22" displaytype="text" edittype="text" text="bind:data16" editautoselect="true"/>
- <Cell col="23" displaytype="text" edittype="text" text="bind:data17" editautoselect="true"/>
- <Cell col="24" displaytype="text" edittype="text" text="bind:data18" editautoselect="true"/>
- <Cell col="25" displaytype="text" edittype="text" text="bind:data19" editautoselect="true"/>
- <Cell col="26" displaytype="text" edittype="text" text="bind:data20" editautoselect="true"/>
- <Cell col="27" displaytype="text" edittype="text" text="bind:data21" editautoselect="true"/>
- <Cell col="28" displaytype="text" edittype="text" text="bind:data22" editautoselect="true"/>
- <Cell col="29" displaytype="text" edittype="text" text="bind:data23" editautoselect="true"/>
- <Cell col="30" displaytype="text" edittype="text" text="bind:data24" editautoselect="true"/>
- <Cell col="31" text="bind:recflag"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <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">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="21" band="left"/>
- <Column size="31"/>
- <Column size="91"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="No."/>
- <Cell col="2" text="Progress Note"/>
- <Cell col="3" text="recovseqno"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" displaytype="image"/>
- <Cell col="1" displaytype="number" edittype="masknumber" style="align:center;" text="bind:progressno" mask="##" editautoselect="true" editlimitbymask="integer"/>
- <Cell col="2" displaytype="text" edittype="text" text="bind:reccmt"/>
- <Cell col="3" text="bind:recovseqno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <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');"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Div position="absolute 0 0 1191 25" id="grp_query" anchor="left top right">
- <Layouts>
- <Layout>
- <Static text="회복간호기록" position="absolute 0 0 114 23" id="caption6" class="tit_1" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 22 1200 51" align="align:center top;" id="group6" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Static text="수술일자 :" position="absolute 8 5 98 25" align="align:center middle;" id="caption1" class="search_name" style="align:left middle;" anchor="default"/>
- <Static text="수술방 :" position="absolute 225 5 303 25" align="align:center middle;" id="caption2" class="search_name" style="align:left middle;" anchor="default"/>
- <Calendar position="absolute 85 5 185 25" id="input7" dateformat="yyyy-MM-dd" value="null" autoselect="true" style="align:left middle;" anchor="default"/>
- <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"/>
- <Static text="마취구분 :" position="absolute 425 5 515 25" align="align:center middle;" id="caption47" class="search_name" style="align:left middle;" anchor="top right"/>
- <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"/>
- <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"/>
- <Shape id="line34" linetype="vertical" position="absolute 662 8 668 23" anchor="top right"/>
- <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;"/>
- <Edit id="ipt_hngnm" taborder="10" enable="false" visible="false" position="absolute 1184 6 1194 25" anchor="top right"/>
- <Edit id="ipt_pid" taborder="11" class="input_default" visible="false" position="absolute 1130 5 1135 24"/>
- <Static id="caption69" text="진행상태 :" class="search_name" position="absolute 726 5 799 25" anchor="top right" style="align:left middle;" align="align:center middle;"/>
- <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;"/>
- <Button id="button15" taborder="13" class="icon_search" visible="false" position="absolute 1159 7 1175 23"/>
- <Shape id="line1" linetype="vertical" class="line_4" position="absolute 1107 6 1113 25" anchor="top right"/>
- </Layout>
- </Layouts>
- </Div>
- <Static text="수술스케쥴" position="absolute 0 55 108 72" align="align:center middle;" id="caption44" class="tit_2"/>
- <Static text="총마취건수" position="absolute 382 53 443 73" id="caption45" style="align:left middle;" anchor="top right"/>
- <Static text="전신마취건수" position="absolute 527 53 600 73" id="caption72" style="align:left middle;" anchor="top right"/>
- <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"/>
- <Static text="회복기록작성" position="absolute 153 53 238 73" id="caption33" style="align:left middle;"/>
- <Static position="absolute 134 54 150 70" id="caption71" class="color_6" style="background:#2d2dd2ff;"/>
- <Static position="absolute 250 54 266 70" id="caption77" class="color_6" style="background:#ff0000ff;"/>
- <Static text="미인증" position="absolute 270 53 315 73" id="caption78" style="align:left middle;"/>
- <Div id="group4" taborder="4" position="absolute 0 757 839 758">
- <Layouts>
- <Layout width="839" height="27"/>
- </Layouts>
- </Div>
- <Static id="caption86" text="[표]" position="absolute 1175 740 1200 760" anchor="right bottom" style="align:right bottom;"/>
- <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">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22" band="left"/>
- <Column size="55"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="58"/>
- <Column size="27"/>
- <Column size="62"/>
- <Column size="71"/>
- <Column size="49"/>
- <Column size="200"/>
- <Column size="277"/>
- <Column size="60"/>
- <Column size="90"/>
- <Column size="63"/>
- <Column size="63"/>
- <Column size="50"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="20" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="진행상태"/>
- <Cell col="2" text="집도과"/>
- <Cell col="3" text="수술방"/>
- <Cell col="4" text="환자구분"/>
- <Cell col="5" text="PCA"/>
- <Cell col="6" text="환자명"/>
- <Cell col="7" text="등록번호"/>
- <Cell col="8" text="S/A"/>
- <Cell col="9" text="진단명"/>
- <Cell col="10" text="수술명"/>
- <Cell col="11" text="집도의"/>
- <Cell col="12" text="수술체위"/>
- <Cell col="13" text="마취방법"/>
- <Cell col="14" style="align:left;" text="마취방법(상세)"/>
- <Cell col="15" style="align:center;" text="특이사항"/>
- <Cell col="16" text="opoutrmplcecd"/>
- <Cell col="17" text="caption1"/>
- <Cell col="18" text="caption2"/>
- <Cell col="19" text="caption3"/>
- <Cell col="20" text="caption4"/>
- <Cell col="21" text="caption5"/>
- <Cell col="22" text="caption6"/>
- <Cell col="23" text="caption7"/>
- <Cell col="24" text="caption8"/>
- <Cell col="25" text="caption9"/>
- <Cell col="26" text="caption10"/>
- <Cell col="27" text="caption11"/>
- <Cell col="28" text="caption12"/>
- <Cell col="29" text="caption13"/>
- <Cell col="30" text="caption14"/>
- <Cell col="31" text="recendflag"/>
- <Cell col="32" text="oppatflagcd"/>
- <Cell col="33" text="pkidatetimems"/>
- <Cell col="34"/>
- <Cell col="35"/>
- <Cell col="36"/>
- <Cell col="37"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow + 1"/>
- <Cell col="1" style="color:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );color2:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );" text="bind:opstatnm"/>
- <Cell col="2" style="color:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );color2:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );" text="bind:perfdeptnm"/>
- <Cell col="3" style="color:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );color2:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );" text="bind:oproomnm"/>
- <Cell col="4" style="color:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );color2:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );" text="bind:oppatflagnm"/>
- <Cell col="5" style="color:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );color2:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );" text="bind:pca"/>
- <Cell col="6" style="color:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );color2:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );" text="bind:hngnm"/>
- <Cell col="7" style="align:center middle;padding:2 3 3 2;color:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );color2:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );" text="bind:pid"/>
- <Cell col="8" style="color:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );color2:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );" text="bind:sa"/>
- <Cell col="9" style="align:left top;padding:3 3 3 3;color:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );color2:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );" text="bind:diagcdnm" wordwrap="char" tooltiptext="bind:diagcdnm"/>
- <Cell col="10" style="align:left top;padding:3 3 3 3;color:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );color2:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );" text="bind:opcdnm" wordwrap="char" tooltiptext="bind:opcdnm" autosizerow="limitmin"/>
- <Cell col="11" style="color:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );color2:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );" text="bind:perfdrnm"/>
- <Cell col="12" style="align:left top;padding:3 3 3 3;color:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );color2:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );" text="bind:opposition" wordwrap="char" tooltiptext="bind:opposition"/>
- <Cell col="13" style="align:left middle;padding:3 3 3 3;color:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );color2:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );" text="bind:anstmthdcdnm" wordwrap="char"/>
- <Cell col="14" style="align:left top;color:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );color2:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );" text="bind:anstmthd" wordwrap="char" tooltiptext="bind:anstmthd"/>
- <Cell col="15" style="align:left top;padding:3 3 3 3;color:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );color2:EXPR(((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (!utlf_isNull(getColumn(currow, 'pkidatetimems')))) ? '#0078FF' : (((!utlf_isNull(getColumn(currow, 'recovseqno')) && getColumn(currow, 'recovseqno') != '-') && (utlf_isNull(getColumn(currow, 'pkidatetimems')) )) ? '#ff0000' : '#000000ff') );" text="bind:anstkindinfo" wordwrap="char" tooltiptext="bind:anstkindinfo"/>
- <Cell col="16" text="bind:opcnfmdate"/>
- <Cell col="17" text="bind:opstatcd"/>
- <Cell col="18" text="bind:perfdeptcd"/>
- <Cell col="19" text="bind:perfdrid"/>
- <Cell col="20" text="bind:gcnt"/>
- <Cell col="21" text="bind:pcnt"/>
- <Cell col="22" text="bind:recovcnt"/>
- <Cell col="23" text="bind:opflagcd"/>
- <Cell col="24" text="bind:oproomcd"/>
- <Cell col="25" text="bind:anstrecno"/>
- <Cell col="26" text="bind:oprsrvno"/>
- <Cell col="27" text="bind:ophistno"/>
- <Cell col="28" text="bind:recovseqno"/>
- <Cell col="29" text="bind:instcd"/>
- <Cell col="30" text="bind:recendflag"/>
- <Cell col="31" text="bind:oppatflagcd"/>
- <Cell col="32" text="bind:pkidatetimems"/>
- <Cell col="33" text="bind:indd"/>
- <Cell col="34" text="bind:cretno"/>
- <Cell col="35" text="bind:inrmdt"/>
- <Cell col="36" text="bind:inrmtm"/>
- <Cell col="37" text="bind:opoutrmplcecd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="group7" taborder="6" style="background:white;" visible="false" position="absolute 408 109 728 208">
- <Layouts>
- <Layout>
- <Static id="caption81" text=" 상단정보 설정 및 기록조회 중 ..." position="absolute 7 -2 315 98" style="background:transparent URL('theme://images\loadingBar.png');align:left middle;" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <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;"/>
- <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;"/>
- <Static id="caption80" text="미인증" position="absolute 998 53 1035 73" anchor="top right" style="align:left middle;"/>
- <Static id="caption74" text="회복간호기록" position="absolute 841 53 914 73" anchor="top right" style="align:left middle;"/>
- <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;"/>
- <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"/>
- <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"/>
- <Static id="caption73" text="부위마취건수" position="absolute 684 53 757 73" style="align:left middle;" anchor="top right"/>
- <Edit id="output12" taborder="12" readonly="true" class="output" position="absolute 550 227 1068 247" anchor="left top right" style="font:Dotum,8,bold;"/>
- <Edit id="output11" taborder="13" readonly="true" class="output" position="absolute 337 227 548 247" style="align:center middle;font:Dotum,8,bold;"/>
- <Edit id="output10" taborder="14" readonly="true" class="output" position="absolute 255 227 335 247" style="align:center middle;font:Dotum,8,bold;"/>
- <Button id="bbt_save" taborder="15" text="임시저장" onclick="bbt_save_onclick" class="btn5" enable="false" position="absolute 1070 227 1134 247" anchor="top right"/>
- <Button id="btn_rgst_sct" taborder="16" text="인증저장" onclick="btn_rgst_sct_onclick" class="btn5" position="absolute 1136 227 1200 247" anchor="top right"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_combo2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="oproomnm" type="STRING"/>
- <Column id="oproomcd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_anstmthdcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_anstadd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_rdo_oppatflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_physstat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_rdo_opflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_oproom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="oproomnm" type="STRING"/>
- <Column id="oproomcd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_opinfo1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="code" type="STRING"/>
- <Column id="engnm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_opinfo2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="code" type="STRING"/>
- <Column id="engnm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_anstmthdcdsub" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_opinfo7" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="code" type="STRING"/>
- <Column id="engnm" type="STRING"/>
- <Column id="remfact" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_datagrid1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="recovseqno" type="STRING"/>
- <Column id="flag" type="STRING"/>
- <Column id="prcpcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="drugvol" type="STRING"/>
- <Column id="drugvolunit" type="STRING"/>
- <Column id="drugqty" type="STRING"/>
- <Column id="drugqtyunit" type="STRING"/>
- <Column id="drugtime" type="STRING"/>
- <Column id="drugday" type="STRING"/>
- <Column id="flag2" type="STRING"/>
- <Column id="prcpclscd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_datagrid2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="progressno" type="STRING"/>
- <Column id="reccmt" type="STRING"/>
- <Column id="recovseqno" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_datagrid4" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="recovseqno" type="STRING"/>
- <Column id="flag" type="STRING"/>
- <Column id="prcpcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="drugvol" type="STRING"/>
- <Column id="drugvolunit" type="STRING"/>
- <Column id="drugqty" type="STRING"/>
- <Column id="drugqtyunit" type="STRING"/>
- <Column id="drugtime" type="STRING"/>
- <Column id="drugday" type="STRING"/>
- <Column id="flag2" type="STRING"/>
- <Column id="prcpclscd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_datagrid9" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="lrgcd" type="STRING"/>
- <Column id="vsitemcd" type="STRING"/>
- <Column id="recovseqno" type="STRING"/>
- <Column id="lrgnm" type="STRING"/>
- <Column id="vsitemnm" type="STRING"/>
- <Column id="itotal" type="STRING"/>
- <Column id="ototal" type="STRING"/>
- <Column id="data1" type="STRING"/>
- <Column id="data2" type="STRING"/>
- <Column id="data3" type="STRING"/>
- <Column id="data4" type="STRING"/>
- <Column id="data5" type="STRING"/>
- <Column id="data6" type="STRING"/>
- <Column id="data7" type="STRING"/>
- <Column id="data8" type="STRING"/>
- <Column id="data9" type="STRING"/>
- <Column id="data10" type="STRING"/>
- <Column id="data11" type="STRING"/>
- <Column id="data12" type="STRING"/>
- <Column id="data13" type="STRING"/>
- <Column id="data14" type="STRING"/>
- <Column id="data15" type="STRING"/>
- <Column id="data16" type="STRING"/>
- <Column id="data17" type="STRING"/>
- <Column id="data18" type="STRING"/>
- <Column id="data19" type="STRING"/>
- <Column id="data20" type="STRING"/>
- <Column id="data21" type="STRING"/>
- <Column id="data22" type="STRING"/>
- <Column id="data23" type="STRING"/>
- <Column id="data24" type="STRING"/>
- <Column id="recflag" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_anstprcp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="checked" type="STRING"/>
- <Column id="prcptype" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="prcpcd" type="STRING"/>
- <Column id="recvol" type="STRING"/>
- <Column id="prcpvolunitnm" type="STRING"/>
- <Column id="prcpvol" type="STRING"/>
- <Column id="prcpvolunitnm2" type="STRING"/>
- <Column id="mthdcnts1" type="STRING"/>
- <Column id="abbrnm" type="STRING"/>
- <Column id="clscd" type="STRING"/>
- <Column id="prcpappyn" type="STRING"/>
- <Column id="totvolyn" type="STRING"/>
- <Column id="remark" type="STRING"/>
- <Column id="sortno" type="STRING"/>
- <Column id="pcaflag" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_recovroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_outplcecode" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_valueitem" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="valuitemnm" type="STRING"/>
- <Column id="valuitemarrv" type="STRING"/>
- <Column id="valuitemleav" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_datagrid7" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fixasetcd" type="STRING"/>
- <Column id="toolnm" type="STRING"/>
- <Column id="bedno" type="STRING"/>
- <Column id="usesrttm" type="STRING"/>
- <Column id="useendtm" type="STRING"/>
- <Column id="goodmodel" type="STRING"/>
- <Column id="goodspec" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_datagrid8" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="recdd" type="STRING"/>
- <Column id="rectm" type="STRING"/>
- <Column id="dnarflag" type="STRING"/>
- <Column id="stmtspec" type="STRING"/>
- <Column id="fstrgstrnm" type="STRING"/>
- <Column id="stmtcd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_resafe" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="resafecheck" type="STRING"/>
- <Column id="resafenm" type="STRING"/>
- <Column id="resafedetlnm" type="STRING"/>
- <Column id="resafecd" type="STRING"/>
- <Column id="recovseqno" type="STRING"/>
- <Column id="status" type="STRING"/>
- <Column id="resafeuptid" type="STRING"/>
- <Column id="resafeuptnm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_combo3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="usernm" type="STRING"/>
- <Column id="userid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_combo1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="usernm" type="STRING"/>
- <Column id="userid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_combo4" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="usernm" type="STRING"/>
- <Column id="userid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_datagrid3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="goodname" type="STRING"/>
- <Column id="goodcd" type="STRING"/>
- <Column id="allsizespecid" type="STRING"/>
- <Column id="output" type="STRING"/>
- <Column id="drgeqty" type="STRING"/>
- <Column id="partinfo" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_reintub" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="reintubcheck" type="STRING"/>
- <Column id="reintubnm" type="STRING"/>
- <Column id="reintubdetlnm" type="STRING"/>
- <Column id="reintubcd" type="STRING"/>
- <Column id="recovseqno" type="STRING"/>
- <Column id="status" type="STRING"/>
- <Column id="reintubuptid" type="STRING"/>
- <Column id="reintubuptnm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_datagrid6" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="complcheck" type="STRING"/>
- <Column id="complname" type="STRING"/>
- <Column id="complcode" type="STRING"/>
- <Column id="recovseqno" type="STRING"/>
- <Column id="status" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_datagrid5" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="opstatnm" type="STRING"/>
- <Column id="perfdeptnm" type="STRING"/>
- <Column id="oproomnm" type="STRING"/>
- <Column id="oppatflagnm" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="sa" type="STRING"/>
- <Column id="diagcdnm" type="STRING"/>
- <Column id="opcdnm" type="STRING"/>
- <Column id="perfdrnm" type="STRING"/>
- <Column id="opposition" type="STRING"/>
- <Column id="anstmthdcdnm" type="STRING"/>
- <Column id="anstkindinfo" type="STRING"/>
- <Column id="opcnfmdate" type="STRING"/>
- <Column id="opstatcd" type="STRING"/>
- <Column id="perfdeptcd" type="STRING"/>
- <Column id="perfdrid" type="STRING"/>
- <Column id="gcnt" type="STRING"/>
- <Column id="pcnt" type="STRING"/>
- <Column id="recovcnt" type="STRING"/>
- <Column id="opflagcd" type="STRING"/>
- <Column id="oproomcd" type="STRING"/>
- <Column id="anstrecno" type="STRING"/>
- <Column id="oprsrvno" type="STRING"/>
- <Column id="ophistno" type="STRING"/>
- <Column id="recovseqno" type="STRING"/>
- <Column id="instcd" type="STRING"/>
- <Column id="recendflag" type="STRING"/>
- <Column id="oppatflagcd" type="STRING"/>
- <Column id="pkidatetimems" type="STRING"/>
- <Column id="indd" type="STRING"/>
- <Column id="cretno" type="STRING"/>
- <Column id="inrmdt" type="STRING"/>
- <Column id="inrmtm" type="STRING"/>
- <Column id="opoutrmplcecd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_MnphrecoData_MnphrecoList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <column id="pid" type="string"/>
- <column id="oprsrvno" type="string"/>
- <column id="ophistno" type="string"/>
- <column id="instcd" type="string"/>
- <column id="cretno" type="string"/>
- <column id="operdttm" type="string"/>
- <column id="ioflag" type="string"/>
- <column id="orddd" type="string"/>
- <column id="orddeptcd" type="string"/>
- <column id="indt" type="string"/>
- <column id="inrmdt" type="string"/>
- <column id="inrmtm" type="string"/>
- <column id="outrmdt" type="string"/>
- <column id="outrmtm" type="string"/>
- <column id="outplcecode" type="string"/>
- <column id="outplcenm" type="string"/>
- <column id="outconfirmdoctorid" type="string"/>
- <column id="outconfirmdoctor" type="string"/>
- <column id="recovroom" type="string"/>
- <column id="prtctairwayspec"/>
- <column id="oxgendosespec"/>
- <column id="recovstatvalutable"/>
- <column id="pataddtool"/>
- <column id="drgecdspec"/>
- <column id="pregoodlist" type="string"/>
- <column id="deptremark" type="cdata"/>
- <column id="anstremark" type="cdata"/>
- <column id="recinuserid" type="string"/>
- <column id="recinusernm" type="string"/>
- <column id="recinuserdeptcd" type="string"/>
- <column id="recinuserdeptnm" type="string"/>
- <column id="recindttm" type="string"/>
- <column id="saveindttm" type="string"/>
- <column id="recoutuserid" type="string"/>
- <column id="recoutusernm" type="string"/>
- <column id="recoutuserdeptcd" type="string"/>
- <column id="recoutuserdeptnm" type="string"/>
- <column id="recoutdttm" type="string"/>
- <column id="saveoutdttm" type="string"/>
- <column id="pkidatetimems" type="string"/>
- <column id="opflagcd" type="string"/>
- <column id="recovseqno" type="string"/>
- <column id="recstat" type="string"/>
- <column id="anstdrid1" type="string"/>
- <column id="anstdrid2" type="string"/>
- <column id="anstdrid3" type="string"/>
- <column id="tnsyn" type="string"/>
- <column id="anstio" type="string"/>
- <Column id="patrminsndsmsid" type="STRING" size="256" sumtext="입실 sms 전송 ID"/>
- <column id="patrmoutsndsmsid" type="string"/>
- <column id="indata" type="string"/>
- <column id="extdata" type="string"/>
- <column id="outconfirmdoctorid_tmp"/>
- <column id="opstatcd" type="string"/>
- <column id="recendflag" type="string"/>
- <column id="anstrecno" type="string"/>
- <column id="sndoutsmsflag" type="string"/>
- <column id="pcarecyn" type="string"/>
- <column id="opcnfmdd" type="string"/>
- <column id="sa" type="string"/>
- <column id="patage" type="string"/>
- <column id="oproomnm" type="string"/>
- <column id="patname"/>
- <column id="roomcd" type="string"/>
- <column id="depthngnm" type="string"/>
- <column id="opcdnm" type="cdata"/>
- <column id="recodeptcd" type="string"/>
- <column id="blodrecord" type="string"/>
- <column id="patmemoyn" type="string"/>
- <column id="patmemo" type="string"/>
- <column id="patmemohis" type="string"/>
- <Column id="inpcatype" type="STRING" size="256" sumtext="입실 통증사정도구 TYPE(0 : NRS, 1 : FPRS, , 2 : FLACC)"/>
- <Column id="inpcagrade" type="STRING" size="256" sumtext="입실 통증사정도구 등급"/>
- <Column id="outpcatype" type="STRING" size="256" sumtext="퇴실 통증사정도구 TYPE(0 : NRS, 1 : FPRS, 2 : FLACC)"/>
- <Column id="outpcagrade" type="STRING" size="256" sumtext="퇴실 통증사정도구 등급"/>
- <Column id="inponvgrade" type="STRING" size="256" sumtext="입실 PONV 등급"/>
- <Column id="outponvgrade" type="STRING" size="256" sumtext="입실 PONV 등급"/>
- <Column id="inflaccdetailgrade" type="STRING" size="256" sumtext="입실 flacc 상세 등급"/>
- <Column id="outflaccdetailgrade" type="STRING" size="256" sumtext="퇴실 flacc 상세 등급"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <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">
- <ColumnInfo>
- <Column id="prtctplacecd" type="STRING" size="256"/>
- <Column id="prtctairwayadddt" type="STRING" size="256"/>
- <Column id="prtctairwayaddtm" type="STRING" size="256"/>
- <Column id="prtctairwayid" type="STRING" size="256"/>
- <Column id="prtctairwayid_tmp" type="STRING" size="256"/>
- <Column id="prtctairwaynm" type="STRING" size="256"/>
- <Column id="prtctairwayur" type="STRING" size="256"/>
- <Column id="prtctairway" type="STRING" size="256"/>
- <Column id="prtctairwaydt" type="STRING" size="256"/>
- <Column id="prtctairwaytm" type="STRING" size="256"/>
- <Column id="prtctcairwayextid" type="STRING" size="256"/>
- <Column id="prtctcairwayextid_tmp" type="STRING" size="256"/>
- <Column id="prtctairwayextnm" type="STRING" size="256"/>
- <Column id="prtctairwayextbp" type="STRING" size="256"/>
- <Column id="prtctairwayextp" type="STRING" size="256"/>
- <Column id="prtctairwayextspo" type="STRING" size="256"/>
- <Column id="notprtctairway" type="STRING" size="256"/>
- <Column id="outsmsmsgflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="prtctplacecd"/>
- <Col id="prtctairwayadddt"/>
- <Col id="prtctairwayaddtm"/>
- <Col id="prtctairwayid"/>
- <Col id="prtctairwayid_tmp"/>
- <Col id="prtctairwaynm"/>
- <Col id="prtctairwayur"/>
- <Col id="prtctairway"/>
- <Col id="prtctairwaydt"/>
- <Col id="prtctairwaytm"/>
- <Col id="prtctcairwayextid"/>
- <Col id="prtctcairwayextid_tmp"/>
- <Col id="prtctairwayextnm"/>
- <Col id="prtctairwayextbp"/>
- <Col id="prtctairwayextp"/>
- <Col id="prtctairwayextspo"/>
- <Col id="notprtctairway"/>
- <Col id="outsmsmsgflag"/>
- </Row>
- </Rows>
- </Dataset>
- <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"/>
- <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">
- <ColumnInfo>
- <Column id="valuitemnm" type="STRING" size="256"/>
- <Column id="valuitemarrv" type="STRING" size="256"/>
- <Column id="valuitemleav" type="STRING" size="256"/>
- <Column id="valuitemcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="valuitemnm"/>
- <Col id="valuitemarrv"/>
- <Col id="valuitemleav"/>
- <Col id="valuitemcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_MnphrecoData_MnphrecoList_recovstatvalutable_valuitemlists" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="valuitemarrvtot" type="STRING" size="256"/>
- <Column id="valuitemleavtot" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="valuitemarrvtot">0</Col>
- <Col id="valuitemleavtot">0</Col>
- </Row>
- </Rows>
- </Dataset>
- <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">
- <ColumnInfo>
- <Column id="valuitemnm" type="STRING" size="256"/>
- <Column id="valuitemarrv" type="STRING" size="256"/>
- <Column id="valuitemleav" type="STRING" size="256"/>
- <Column id="valuitemcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="valuitemnm"/>
- <Col id="valuitemarrv"/>
- <Col id="valuitemleav"/>
- <Col id="valuitemcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_MnphrecoData_MnphrecoList_recovstatvalutableChild_valuitemlists" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="valuitemarrvtot" type="STRING" size="256"/>
- <Column id="valuitemleavtot" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="valuitemarrvtot">0</Col>
- <Col id="valuitemleavtot">0</Col>
- </Row>
- </Rows>
- </Dataset>
- <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">
- <ColumnInfo>
- <Column id="fixasetcd" type="STRING" size="256"/>
- <Column id="toolnm" type="STRING" size="256"/>
- <Column id="bedno" type="STRING" size="256"/>
- <Column id="usesrttm" type="STRING" size="256"/>
- <Column id="useendtm" type="STRING" size="256"/>
- <Column id="goodmodel" type="STRING" size="256"/>
- <Column id="goodspec" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="fixasetcd"/>
- <Col id="toolnm"/>
- <Col id="bedno"/>
- <Col id="usesrttm"/>
- <Col id="useendtm"/>
- <Col id="goodmodel"/>
- <Col id="goodspec"/>
- </Row>
- </Rows>
- </Dataset>
- <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">
- <ColumnInfo>
- <Column id="goodname" type="STRING" size="256"/>
- <Column id="goodcd" type="STRING" size="256"/>
- <Column id="allsizespecid" type="STRING" size="256"/>
- <Column id="drgeqty" type="STRING" size="256"/>
- <Column id="partinfo" type="STRING" size="256"/>
- <Column id="output" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="goodname"/>
- <Col id="goodcd"/>
- <Col id="allsizespecid"/>
- <Col id="drgeqty"/>
- <Col id="partinfo"/>
- <Col id="output"/>
- </Row>
- </Rows>
- </Dataset>
- <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">
- <ColumnInfo>
- <Column id="complcheck" type="STRING" size="256"/>
- <Column id="complname" type="STRING" size="256"/>
- <Column id="complcode" type="STRING" size="256"/>
- <Column id="recovseqno" type="STRING" size="256"/>
- <Column id="status" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="complcheck"/>
- <Col id="complname"/>
- <Col id="complcode"/>
- <Col id="recovseqno"/>
- <Col id="status"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_MnphrecoData_AnstDoctList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="userid" type="STRING" size="256"/>
- <Column id="usernm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_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">
- <ColumnInfo>
- <Column id="resafecheck" type="STRING" size="256"/>
- <Column id="resafenm" type="STRING" size="256"/>
- <Column id="resafedetlnm" type="STRING" size="256"/>
- <Column id="resafecd" type="STRING" size="256"/>
- <Column id="recovseqno" type="STRING" size="256"/>
- <Column id="status" type="STRING" size="256"/>
- <Column id="resafeuptid" type="STRING" size="256"/>
- <Column id="resafeuptnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="resafecheck"/>
- <Col id="resafenm"/>
- <Col id="resafedetlnm"/>
- <Col id="resafecd"/>
- <Col id="recovseqno"/>
- <Col id="status"/>
- <Col id="resafeuptid"/>
- <Col id="resafeuptnm"/>
- </Row>
- </Rows>
- </Dataset>
- <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">
- <ColumnInfo>
- <Column id="reintubcheck" type="STRING" size="256"/>
- <Column id="reintubnm" type="STRING" size="256"/>
- <Column id="reintubdetlnm" type="STRING" size="256"/>
- <Column id="reintubcd" type="STRING" size="256"/>
- <Column id="recovseqno" type="STRING" size="256"/>
- <Column id="status" type="STRING" size="256"/>
- <Column id="reintubuptid" type="STRING" size="256"/>
- <Column id="reintubuptnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="reintubcheck"/>
- <Col id="reintubnm"/>
- <Col id="reintubdetlnm"/>
- <Col id="reintubcd"/>
- <Col id="recovseqno"/>
- <Col id="status"/>
- <Col id="reintubuptid"/>
- <Col id="reintubuptnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_operation" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_opPatLists_opPatList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="piddata" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="oprsrvno" type="STRING" size="256"/>
- <Column id="ophistno" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="opstatcd" type="STRING" size="256"/>
- <Column id="oppatflagcd" type="STRING" size="256"/>
- <Column id="opflagcd" type="STRING" size="256"/>
- <Column id="oproomcd" type="STRING" size="256"/>
- <Column id="oproomnm" type="STRING" size="256"/>
- <Column id="recovseqno" type="STRING" size="256"/>
- <Column id="anstfromdt" type="STRING" size="256"/>
- <Column id="ansttodt" type="STRING" size="256"/>
- <Column id="anstmthdcd" type="STRING" size="256"/>
- <Column id="anstmthdcdsub" type="STRING" size="256"/>
- <Column id="anstrecno" type="STRING" size="256"/>
- <Column id="recendflag" type="STRING" size="256"/>
- <Column id="reopflag" type="STRING" size="256"/>
- <Column id="anstreqflag" type="STRING" size="256"/>
- <Column id="cnstopflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="piddata"/>
- <Col id="pid"/>
- <Col id="hngnm"/>
- <Col id="oprsrvno"/>
- <Col id="ophistno"/>
- <Col id="instcd"/>
- <Col id="opstatcd"/>
- <Col id="oppatflagcd"/>
- <Col id="opflagcd"/>
- <Col id="oproomcd"/>
- <Col id="oproomnm"/>
- <Col id="recovseqno"/>
- <Col id="anstfromdt"/>
- <Col id="ansttodt"/>
- <Col id="anstmthdcd"/>
- <Col id="anstmthdcdsub"/>
- <Col id="anstrecno"/>
- <Col id="recendflag"/>
- <Col id="reopflag"/>
- <Col id="anstreqflag"/>
- <Col id="cnstopflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_paminfo_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_anstinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_revrInfo_recopkinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="remfact" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_revrInfo_mnphrevrtitle" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="data1" type="STRING" size="256"/>
- <Column id="data2" type="STRING" size="256"/>
- <Column id="data3" type="STRING" size="256"/>
- <Column id="data4" type="STRING" size="256"/>
- <Column id="data5" type="STRING" size="256"/>
- <Column id="data6" type="STRING" size="256"/>
- <Column id="data7" type="STRING" size="256"/>
- <Column id="data8" type="STRING" size="256"/>
- <Column id="data9" type="STRING" size="256"/>
- <Column id="data10" type="STRING" size="256"/>
- <Column id="data11" type="STRING" size="256"/>
- <Column id="data12" type="STRING" size="256"/>
- <Column id="data13" type="STRING" size="256"/>
- <Column id="data14" type="STRING" size="256"/>
- <Column id="data15" type="STRING" size="256"/>
- <Column id="data16" type="STRING" size="256"/>
- <Column id="data17" type="STRING" size="256"/>
- <Column id="data18" type="STRING" size="256"/>
- <Column id="data19" type="STRING" size="256"/>
- <Column id="data20" type="STRING" size="256"/>
- <Column id="data21" type="STRING" size="256"/>
- <Column id="data22" type="STRING" size="256"/>
- <Column id="data23" type="STRING" size="256"/>
- <Column id="data24" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="data1"/>
- <Col id="data2"/>
- <Col id="data3"/>
- <Col id="data4"/>
- <Col id="data5"/>
- <Col id="data6"/>
- <Col id="data7"/>
- <Col id="data8"/>
- <Col id="data9"/>
- <Col id="data10"/>
- <Col id="data11"/>
- <Col id="data12"/>
- <Col id="data13"/>
- <Col id="data14"/>
- <Col id="data15"/>
- <Col id="data16"/>
- <Col id="data17"/>
- <Col id="data18"/>
- <Col id="data19"/>
- <Col id="data20"/>
- <Col id="data21"/>
- <Col id="data22"/>
- <Col id="data23"/>
- <Col id="data24"/>
- </Row>
- </Rows>
- </Dataset>
- <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">
- <ColumnInfo>
- <Column id="lrgcd" type="STRING" size="256"/>
- <Column id="vsitemcd" type="STRING" size="256"/>
- <Column id="recovseqno" type="STRING" size="256"/>
- <Column id="lrgnm" type="STRING" size="256"/>
- <Column id="vsitemnm" type="STRING" size="256"/>
- <Column id="itotal" type="STRING" size="256"/>
- <Column id="ototal" type="STRING" size="256"/>
- <Column id="data1" type="STRING" size="256"/>
- <Column id="data2" type="STRING" size="256"/>
- <Column id="data3" type="STRING" size="256"/>
- <Column id="data4" type="STRING" size="256"/>
- <Column id="data5" type="STRING" size="256"/>
- <Column id="data6" type="STRING" size="256"/>
- <Column id="data7" type="STRING" size="256"/>
- <Column id="data8" type="STRING" size="256"/>
- <Column id="data9" type="STRING" size="256"/>
- <Column id="data10" type="STRING" size="256"/>
- <Column id="data11" type="STRING" size="256"/>
- <Column id="data12" type="STRING" size="256"/>
- <Column id="data13" type="STRING" size="256"/>
- <Column id="data14" type="STRING" size="256"/>
- <Column id="data15" type="STRING" size="256"/>
- <Column id="data16" type="STRING" size="256"/>
- <Column id="data17" type="STRING" size="256"/>
- <Column id="data18" type="STRING" size="256"/>
- <Column id="data19" type="STRING" size="256"/>
- <Column id="data20" type="STRING" size="256"/>
- <Column id="data21" type="STRING" size="256"/>
- <Column id="data22" type="STRING" size="256"/>
- <Column id="data23" type="STRING" size="256"/>
- <Column id="data24" type="STRING" size="256"/>
- <Column id="recflag" type="STRING" size="256"/>
- <Column id="colBack3" type="STRING" size="256"/>
- <Column id="colBack4" type="STRING" size="256"/>
- <Column id="colBack5" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_revrInfo_mnphrepg" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="dispno" type="STRING" size="256"/>
- <Column id="reccmt" type="STRING" size="256"/>
- <Column id="progressno" type="STRING" size="256"/>
- <Column id="recovseqno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="dispno"/>
- <Col id="reccmt"/>
- <Col id="progressno"/>
- <Col id="recovseqno"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_revrInfo_prnorderlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="recovseqno" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="prcpcd" type="STRING" size="256"/>
- <Column id="prcpnm" type="STRING" size="256"/>
- <Column id="drugvol" type="STRING" size="256"/>
- <Column id="drugvolunitflag" type="STRING" size="256"/>
- <Column id="drugvolunit" type="STRING" size="256"/>
- <Column id="drugqty" type="STRING" size="256"/>
- <Column id="drugqtyunit" type="STRING" size="256"/>
- <Column id="drugqtyunitflag" type="STRING" size="256"/>
- <Column id="drugtime" type="STRING" size="256"/>
- <Column id="drugday" type="STRING" size="256"/>
- <Column id="drugdayno" type="STRING" size="256"/>
- <Column id="drugtims" type="STRING" size="256"/>
- <Column id="flag2" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="recovseqno"/>
- <Col id="flag"/>
- <Col id="prcpcd"/>
- <Col id="prcpnm"/>
- <Col id="drugvol"/>
- <Col id="drugvolunitflag"/>
- <Col id="drugvolunit"/>
- <Col id="drugqty"/>
- <Col id="drugqtyunit"/>
- <Col id="drugqtyunitflag"/>
- <Col id="drugtime"/>
- <Col id="drugday"/>
- <Col id="drugdayno"/>
- <Col id="drugtims"/>
- <Col id="flag2"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_revrInfo_actingorderlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="recovseqno" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="prcpcd" type="STRING" size="256"/>
- <Column id="prcpnm" type="STRING" size="256"/>
- <Column id="drugvol" type="STRING" size="256"/>
- <Column id="drugvolunitflag" type="STRING" size="256"/>
- <Column id="drugvolunit" type="STRING" size="256"/>
- <Column id="drugqty" type="STRING" size="256"/>
- <Column id="drugqtyunit" type="STRING" size="256"/>
- <Column id="drugqtyunitflag" type="STRING" size="256"/>
- <Column id="drugtime" type="STRING" size="256"/>
- <Column id="drugday" type="STRING" size="256"/>
- <Column id="drugdayno" type="STRING" size="256"/>
- <Column id="drugtims" type="STRING" size="256"/>
- <Column id="flag2" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="recovseqno"/>
- <Col id="flag"/>
- <Col id="prcpcd"/>
- <Col id="prcpnm"/>
- <Col id="drugvol"/>
- <Col id="drugvolunitflag"/>
- <Col id="drugvolunit"/>
- <Col id="drugqty"/>
- <Col id="drugqtyunit"/>
- <Col id="drugqtyunitflag"/>
- <Col id="drugtime"/>
- <Col id="drugday"/>
- <Col id="drugdayno"/>
- <Col id="drugtims"/>
- <Col id="flag2"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_XmlFormat_prtctairwayspec_prtctairwaylists_prtctairwaylist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prtctplacecd" type="STRING" size="256"/>
- <Column id="prtctairwayadddt" type="STRING" size="256"/>
- <Column id="prtctairwayaddtm" type="STRING" size="256"/>
- <Column id="prtctairwayid" type="STRING" size="256"/>
- <Column id="prtctairwayid_tmp" type="STRING" size="256"/>
- <Column id="prtctairwaynm" type="STRING" size="256"/>
- <Column id="prtctairwayur" type="STRING" size="256"/>
- <Column id="prtctairway" type="STRING" size="256"/>
- <Column id="prtctairwaydt" type="STRING" size="256"/>
- <Column id="prtctairwaytm" type="STRING" size="256"/>
- <Column id="prtctcairwayextid" type="STRING" size="256"/>
- <Column id="prtctcairwayextid_tmp" type="STRING" size="256"/>
- <Column id="prtctairwayextnm" type="STRING" size="256"/>
- <Column id="prtctairwayextbp" type="STRING" size="256"/>
- <Column id="prtctairwayextp" type="STRING" size="256"/>
- <Column id="prtctairwayextspo" type="STRING" size="256"/>
- <Column id="notprtctairway" type="STRING" size="256"/>
- <Column id="outsmsmsgflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="prtctplacecd"/>
- <Col id="prtctairwayadddt"/>
- <Col id="prtctairwayaddtm"/>
- <Col id="prtctairwayid"/>
- <Col id="prtctairwayid_tmp"/>
- <Col id="prtctairwaynm"/>
- <Col id="prtctairwayur"/>
- <Col id="prtctairway"/>
- <Col id="prtctairwaydt"/>
- <Col id="prtctairwaytm"/>
- <Col id="prtctcairwayextid"/>
- <Col id="prtctcairwayextid_tmp"/>
- <Col id="prtctairwayextnm"/>
- <Col id="prtctairwayextbp"/>
- <Col id="prtctairwayextp"/>
- <Col id="prtctairwayextspo"/>
- <Col id="notprtctairway"/>
- <Col id="outsmsmsgflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_XmlFormat_oxgendosespec_oxgendoselists_oxgendoselist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_XmlFormat_recovstatvalutable_valuitemlists_valuitem" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="valuitemnm" type="STRING" size="256"/>
- <Column id="valuitemarrv" type="STRING" size="256"/>
- <Column id="valuitemleav" type="STRING" size="256"/>
- <Column id="valuitemcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="valuitemnm">반사능력</Col>
- <Col id="valuitemarrv">0</Col>
- <Col id="valuitemleav">0</Col>
- <Col id="valuitemcd">1</Col>
- </Row>
- <Row>
- <Col id="valuitemnm">호흡</Col>
- <Col id="valuitemarrv">0</Col>
- <Col id="valuitemleav">0</Col>
- <Col id="valuitemcd">2</Col>
- </Row>
- <Row>
- <Col id="valuitemnm">순환</Col>
- <Col id="valuitemarrv">0</Col>
- <Col id="valuitemleav">0</Col>
- <Col id="valuitemcd">3</Col>
- </Row>
- <Row>
- <Col id="valuitemnm">의식상태</Col>
- <Col id="valuitemarrv">0</Col>
- <Col id="valuitemleav">0</Col>
- <Col id="valuitemcd">4</Col>
- </Row>
- <Row>
- <Col id="valuitemnm">피부색깔</Col>
- <Col id="valuitemarrv">0</Col>
- <Col id="valuitemleav">0</Col>
- <Col id="valuitemcd">5</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_XmlFormat_recovstatvalutableChild_valuitemlists_valuitem" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="valuitemnm" type="STRING" size="256"/>
- <Column id="valuitemarrv" type="STRING" size="256"/>
- <Column id="valuitemleav" type="STRING" size="256"/>
- <Column id="valuitemcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="valuitemnm">활동성</Col>
- <Col id="valuitemarrv">0</Col>
- <Col id="valuitemleav">0</Col>
- <Col id="valuitemcd">1</Col>
- </Row>
- <Row>
- <Col id="valuitemnm">호흡</Col>
- <Col id="valuitemarrv">0</Col>
- <Col id="valuitemleav">0</Col>
- <Col id="valuitemcd">2</Col>
- </Row>
- <Row>
- <Col id="valuitemnm">순환</Col>
- <Col id="valuitemarrv">0</Col>
- <Col id="valuitemleav">0</Col>
- <Col id="valuitemcd">3</Col>
- </Row>
- <Row>
- <Col id="valuitemnm">의식상태</Col>
- <Col id="valuitemarrv">0</Col>
- <Col id="valuitemleav">0</Col>
- <Col id="valuitemcd">4</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_XmlFormat_recovstatvalutable_valuitemlists" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="valuitemarrvtot" type="STRING" size="256"/>
- <Column id="valuitemleavtot" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="valuitemarrvtot">0</Col>
- <Col id="valuitemleavtot">0</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_XmlFormat_recovstatvalutableChild_valuitemlists" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="valuitemarrvtot" type="STRING" size="256"/>
- <Column id="valuitemleavtot" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="valuitemarrvtot">0</Col>
- <Col id="valuitemleavtot">0</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_XmlFormat_pataddtool_pataddlists_pataddlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="toolnm" type="STRING" size="256"/>
- <Column id="bedno" type="STRING" size="256"/>
- <Column id="usesrttm" type="STRING" size="256"/>
- <Column id="useendtm" type="STRING" size="256"/>
- <Column id="toolcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="toolnm"/>
- <Col id="bedno"/>
- <Col id="usesrttm"/>
- <Col id="useendtm"/>
- <Col id="toolcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_XmlFormat_recovpatcmplspec_complications_complication" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="compcheck" type="STRING" size="256"/>
- <Column id="compname" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="compcheck">false</Col>
- <Col id="compname">Airway obstuction </Col>
- </Row>
- <Row>
- <Col id="compcheck">false</Col>
- <Col id="compname">Aspiration </Col>
- </Row>
- <Row>
- <Col id="compcheck">false</Col>
- <Col id="compname">Bladder distension </Col>
- </Row>
- <Row>
- <Col id="compcheck">false</Col>
- <Col id="compname">Dizziness </Col>
- </Row>
- <Row>
- <Col id="compcheck">false</Col>
- <Col id="compname">Dysrhythmia </Col>
- </Row>
- <Row>
- <Col id="compcheck">false</Col>
- <Col id="compname">Heart failure </Col>
- </Row>
- <Row>
- <Col id="compcheck">false</Col>
- <Col id="compname">Hematuria </Col>
- </Row>
- <Row>
- <Col id="compcheck">false</Col>
- <Col id="compname">Hyoptension </Col>
- </Row>
- <Row>
- <Col id="compcheck">false</Col>
- <Col id="compname">Hypertension </Col>
- </Row>
- <Row>
- <Col id="compcheck">false</Col>
- <Col id="compname">Hypoventilation </Col>
- </Row>
- <Row>
- <Col id="compcheck">false</Col>
- <Col id="compname">Hypoxemia </Col>
- </Row>
- <Row>
- <Col id="compcheck">false</Col>
- <Col id="compname">Nausea </Col>
- </Row>
- <Row>
- <Col id="compcheck">false</Col>
- <Col id="compname">Ologuria </Col>
- </Row>
- <Row>
- <Col id="compcheck">false</Col>
- <Col id="compname">Pain </Col>
- </Row>
- <Row>
- <Col id="compcheck">false</Col>
- <Col id="compname">Renal failure </Col>
- </Row>
- <Row>
- <Col id="compcheck">false</Col>
- <Col id="compname">Restlessness </Col>
- </Row>
- <Row>
- <Col id="compcheck">false</Col>
- <Col id="compname">Trauma </Col>
- </Row>
- <Row>
- <Col id="compcheck">false</Col>
- <Col id="compname">Vomiting </Col>
- </Row>
- <Row>
- <Col id="compcheck">false</Col>
- <Col id="compname">Others </Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_XmlFormat_drgecdspec_lists_drgecdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="goodname" type="STRING" size="256"/>
- <Column id="goodcd" type="STRING" size="256"/>
- <Column id="allsizespecid" type="STRING" size="256"/>
- <Column id="drgeqty" type="STRING" size="256"/>
- <Column id="partinfo" type="STRING" size="256"/>
- <Column id="output" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="goodname"/>
- <Col id="goodcd"/>
- <Col id="allsizespecid"/>
- <Col id="drgeqty"/>
- <Col id="partinfo"/>
- <Col id="output"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_CareRecLists_carereclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="recdd" type="STRING" size="256"/>
- <Column id="rectm" type="STRING" size="256"/>
- <Column id="dnarflag" type="STRING" size="256"/>
- <Column id="stmtspec" type="STRING" size="256"/>
- <Column id="fstrgstrnm" type="STRING" size="256"/>
- <Column id="stmtcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="recdd"/>
- <Col id="rectm"/>
- <Col id="dnarflag"/>
- <Col id="stmtspec"/>
- <Col id="fstrgstrnm"/>
- <Col id="stmtcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_recovrec_grid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="item" type="STRING" size="256"/>
- <Column id="dept" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="item">Vital Sign</Col>
- <Col id="dept">1</Col>
- </Row>
- <Row>
- <Col id="item">맥박</Col>
- <Col id="dept">2</Col>
- </Row>
- <Row>
- <Col id="item">호흡</Col>
- <Col id="dept">2</Col>
- </Row>
- <Row>
- <Col id="item">체온</Col>
- <Col id="dept">2</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_recovrec2_grid2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="item" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="item">SpO2</Col>
- </Row>
- <Row>
- <Col id="item">Ventilator</Col>
- </Row>
- <Row>
- <Col id="item">O2 4L/min</Col>
- </Row>
- <Row>
- <Col id="item">Ambubagging</Col>
- </Row>
- <Row>
- <Col id="item">검사</Col>
- </Row>
- <Row>
- <Col id="item">Kit검사</Col>
- </Row>
- <Row>
- <Col id="item">간호기록</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_example" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="example" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="example">Sample</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_ValuItemLists_valuitem" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="valuitemnm" type="STRING" size="256"/>
- <Column id="valuitemarrv" type="STRING" size="256"/>
- <Column id="valuitemleav" type="STRING" size="256"/>
- <Column id="valuitemcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="valuitemnm">반사능력</Col>
- <Col id="valuitemarrv">0</Col>
- <Col id="valuitemleav">0</Col>
- <Col id="valuitemcd">1</Col>
- </Row>
- <Row>
- <Col id="valuitemnm">호흡</Col>
- <Col id="valuitemarrv">0</Col>
- <Col id="valuitemleav">0</Col>
- <Col id="valuitemcd">2</Col>
- </Row>
- <Row>
- <Col id="valuitemnm">의식상태</Col>
- <Col id="valuitemarrv">0</Col>
- <Col id="valuitemleav">0</Col>
- <Col id="valuitemcd">3</Col>
- </Row>
- <Row>
- <Col id="valuitemnm">피부색깔</Col>
- <Col id="valuitemarrv">0</Col>
- <Col id="valuitemleav">0</Col>
- <Col id="valuitemcd">4</Col>
- </Row>
- <Row>
- <Col id="valuitemnm">순환</Col>
- <Col id="valuitemarrv">0</Col>
- <Col id="valuitemleav">0</Col>
- <Col id="valuitemcd">5</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_ValuItemLists" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="valuitemarrvtot" type="STRING" size="256"/>
- <Column id="valuitemleavtot" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="valuitemarrvtot">0</Col>
- <Col id="valuitemleavtot">0</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_recovcompspec_complications_complication" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="compcheck" type="STRING" size="256"/>
- <Column id="compname" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="compcheck">false</Col>
- <Col id="compname">Airway obstuction </Col>
- </Row>
- <Row>
- <Col id="compcheck">false</Col>
- <Col id="compname">Aspiration </Col>
- </Row>
- <Row>
- <Col id="compcheck">false</Col>
- <Col id="compname">Bladder distension </Col>
- </Row>
- <Row>
- <Col id="compcheck">false</Col>
- <Col id="compname">Dizziness </Col>
- </Row>
- <Row>
- <Col id="compcheck">false</Col>
- <Col id="compname">Dysrhythmia </Col>
- </Row>
- <Row>
- <Col id="compcheck">false</Col>
- <Col id="compname">Heart failure </Col>
- </Row>
- <Row>
- <Col id="compcheck">false</Col>
- <Col id="compname">Hematuria </Col>
- </Row>
- <Row>
- <Col id="compcheck">false</Col>
- <Col id="compname">Hyoptension </Col>
- </Row>
- <Row>
- <Col id="compcheck">false</Col>
- <Col id="compname">Hypertension </Col>
- </Row>
- <Row>
- <Col id="compcheck">false</Col>
- <Col id="compname">Hypoventilation </Col>
- </Row>
- <Row>
- <Col id="compcheck">false</Col>
- <Col id="compname">Hypoxemia </Col>
- </Row>
- <Row>
- <Col id="compcheck">false</Col>
- <Col id="compname">Nausea </Col>
- </Row>
- <Row>
- <Col id="compcheck">false</Col>
- <Col id="compname">Ologuria </Col>
- </Row>
- <Row>
- <Col id="compcheck">false</Col>
- <Col id="compname">Pain </Col>
- </Row>
- <Row>
- <Col id="compcheck">false</Col>
- <Col id="compname">Renal failure </Col>
- </Row>
- <Row>
- <Col id="compcheck">false</Col>
- <Col id="compname">Restlessness </Col>
- </Row>
- <Row>
- <Col id="compcheck">false</Col>
- <Col id="compname">Trauma </Col>
- </Row>
- <Row>
- <Col id="compcheck">false</Col>
- <Col id="compname">Vomiting </Col>
- </Row>
- <Row>
- <Col id="compcheck">false</Col>
- <Col id="compname">Others </Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_WorkData" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="ophistno" type="STRING" size="256"/>
- <Column id="oprsrvno" type="STRING" size="256"/>
- <Column id="recmode" type="STRING" size="256"/>
- <Column id="oproomcd" type="STRING" size="256"/>
- <Column id="oproomnm" type="STRING" size="256"/>
- <Column id="pidname" type="STRING" size="256"/>
- <Column id="patdata" type="STRING" size="256"/>
- <Column id="recovseqno" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="instcd"/>
- <Col id="ophistno"/>
- <Col id="oprsrvno"/>
- <Col id="recmode"/>
- <Col id="oproomcd"/>
- <Col id="oproomnm"/>
- <Col id="pidname"/>
- <Col id="patdata"/>
- <Col id="recovseqno"/>
- <Col id="ioflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_WorkData_PopupInfo_PopupUser_userpopupinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="param" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="searchitem" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="param"/>
- <Col id="flag"/>
- <Col id="searchitem"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_WorkData_PopupInfo_PopupUser_tempuserinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="param" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="searchitem" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="param"/>
- <Col id="flag"/>
- <Col id="searchitem"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_M0016list_M0016" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdnm">-</Col>
- <Col id="cdid">-</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_M0260list_M0260" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdnm">-</Col>
- <Col id="cdid">-</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_M0021_M0021" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdnm">-</Col>
- <Col id="cdid">-</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_drgecdlist_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="code" type="STRING" size="256"/>
- <Column id="codename" type="STRING" size="256"/>
- <Column id="codedesc1" type="STRING" size="256"/>
- <Column id="codedesc2" type="STRING" size="256"/>
- <Column id="codedesc3" type="STRING" size="256"/>
- <Column id="codedesc4" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="code"/>
- <Col id="codename"/>
- <Col id="codedesc1"/>
- <Col id="codedesc2"/>
- <Col id="codedesc3"/>
- <Col id="codedesc4"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_orddept_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="depthngnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="deptcd"/>
- <Col id="depthngnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_userlist_userlist_usercombo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="userid" type="STRING" size="256"/>
- <Column id="usernm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="userid"/>
- <Col id="usernm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_oproomlist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="oproomnm" type="STRING" size="256"/>
- <Column id="oproomcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="oproomnm"/>
- <Col id="oproomcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_anstdrlist_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="drid" type="STRING" size="256"/>
- <Column id="drnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="drid"/>
- <Col id="drnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_M0013_M0013" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdnm">-</Col>
- <Col id="cdid">-</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_M0020_M0020" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdnm">-</Col>
- <Col id="cdid">-</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_M0270_M0270" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdnm">-</Col>
- <Col id="cdid">-</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_M0271_M0271" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdnm">-</Col>
- <Col id="cdid">-</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_M0008_M0008" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdnm">-</Col>
- <Col id="cdid">-</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_M0269_M0269" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdnm">-</Col>
- <Col id="cdid">-</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_M0005_M0005" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdnm">-</Col>
- <Col id="cdid">-</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_revrterm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="term" type="STRING" size="256"/>
- <Column id="prnorderflag" type="STRING" size="256"/>
- <Column id="actionoderflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="term">5</Col>
- <Col id="prnorderflag">A</Col>
- <Col id="actionoderflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_lrgdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="supcdid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdid"/>
- <Col id="supcdid"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_anstinfoList_anstinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="anstrecno" type="STRING" size="256"/>
- <Column id="oprsrvno" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="phngnm" type="STRING" size="256"/>
- <Column id="anstmthdcd" type="STRING" size="256"/>
- <Column id="anstmthdcdsub" type="STRING" size="256"/>
- <Column id="anstaddcd" type="STRING" size="256"/>
- <Column id="physstat" type="STRING" size="256"/>
- <Column id="oproomcd" type="STRING" size="256"/>
- <Column id="oproomnm" type="STRING" size="256"/>
- <Column id="opflagcd" type="STRING" size="256"/>
- <Column id="opposturecd" type="STRING" size="256"/>
- <Column id="meetingdt" type="STRING" size="256"/>
- <Column id="tmoutchkdt" type="STRING" size="256"/>
- <Column id="anstfromdt" type="STRING" size="256"/>
- <Column id="ansttodt" type="STRING" size="256"/>
- <Column id="opfromdt" type="STRING" size="256"/>
- <Column id="optodt" type="STRING" size="256"/>
- <Column id="meetingdd" type="STRING" size="256"/>
- <Column id="tmoutchkdd" type="STRING" size="256"/>
- <Column id="anstfromdd" type="STRING" size="256"/>
- <Column id="ansttodd" type="STRING" size="256"/>
- <Column id="opfromdd" type="STRING" size="256"/>
- <Column id="optodd" type="STRING" size="256"/>
- <Column id="meetingtm" type="STRING" size="256"/>
- <Column id="tmoutchktm" type="STRING" size="256"/>
- <Column id="anstfromtm" type="STRING" size="256"/>
- <Column id="ansttotm" type="STRING" size="256"/>
- <Column id="opfromtm" type="STRING" size="256"/>
- <Column id="optotm" type="STRING" size="256"/>
- <Column id="urine" type="STRING" size="256"/>
- <Column id="blod" type="STRING" size="256"/>
- <Column id="other" type="STRING" size="256"/>
- <Column id="blodinput" type="STRING" size="256"/>
- <Column id="crystalloid" type="STRING" size="256"/>
- <Column id="colloid" type="STRING" size="256"/>
- <Column id="opposturerem" type="STRING" size="256"/>
- <Column id="remark" type="STRING" size="256"/>
- <Column id="anstdrid1" type="STRING" size="256"/>
- <Column id="anstdrid2" type="STRING" size="256"/>
- <Column id="anstdrid3" type="STRING" size="256"/>
- <Column id="perfdeptcd" type="STRING" size="256"/>
- <Column id="perfdrid" type="STRING" size="256"/>
- <Column id="perfdeptcd2" type="STRING" size="256"/>
- <Column id="perfdrid2" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="lastespiyn" type="STRING" size="256"/>
- <Column id="anstmthdnm" type="STRING" size="256"/>
- <Column id="anstmthdnmsub" type="STRING" size="256"/>
- <Column id="anstaddnm" type="STRING" size="256"/>
- <Column id="physstatnm" type="STRING" size="256"/>
- <Column id="opposturenm" type="STRING" size="256"/>
- <Column id="opflagnm" type="STRING" size="256"/>
- <Column id="anstdrnm1" type="STRING" size="256"/>
- <Column id="anstdrnm2" type="STRING" size="256"/>
- <Column id="anstdrnm3" type="STRING" size="256"/>
- <Column id="perfdeptnm" type="STRING" size="256"/>
- <Column id="perfdrnm" type="STRING" size="256"/>
- <Column id="perfdeptnm2" type="STRING" size="256"/>
- <Column id="perfdrnm2" type="STRING" size="256"/>
- <Column id="intervaltm" type="STRING" size="256"/>
- <Column id="anstdd" type="STRING" size="256"/>
- <Column id="espiseq" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instcd"/>
- <Col id="anstrecno"/>
- <Col id="oprsrvno"/>
- <Col id="pid"/>
- <Col id="phngnm"/>
- <Col id="anstmthdcd"/>
- <Col id="anstmthdcdsub"/>
- <Col id="anstaddcd"/>
- <Col id="physstat"/>
- <Col id="oproomcd"/>
- <Col id="oproomnm"/>
- <Col id="opflagcd"/>
- <Col id="opposturecd"/>
- <Col id="meetingdt"/>
- <Col id="tmoutchkdt"/>
- <Col id="anstfromdt"/>
- <Col id="ansttodt"/>
- <Col id="opfromdt"/>
- <Col id="optodt"/>
- <Col id="meetingdd"/>
- <Col id="tmoutchkdd"/>
- <Col id="anstfromdd"/>
- <Col id="ansttodd"/>
- <Col id="opfromdd"/>
- <Col id="optodd"/>
- <Col id="meetingtm"/>
- <Col id="tmoutchktm"/>
- <Col id="anstfromtm"/>
- <Col id="ansttotm"/>
- <Col id="opfromtm"/>
- <Col id="optotm"/>
- <Col id="urine"/>
- <Col id="blod"/>
- <Col id="other"/>
- <Col id="blodinput"/>
- <Col id="crystalloid"/>
- <Col id="colloid"/>
- <Col id="opposturerem"/>
- <Col id="remark"/>
- <Col id="anstdrid1"/>
- <Col id="anstdrid2"/>
- <Col id="anstdrid3"/>
- <Col id="perfdeptcd"/>
- <Col id="perfdrid"/>
- <Col id="perfdeptcd2"/>
- <Col id="perfdrid2"/>
- <Col id="orddd"/>
- <Col id="cretno"/>
- <Col id="lastespiyn"/>
- <Col id="anstmthdnm"/>
- <Col id="anstmthdnmsub"/>
- <Col id="anstaddnm"/>
- <Col id="physstatnm"/>
- <Col id="opposturenm"/>
- <Col id="opflagnm"/>
- <Col id="anstdrnm1"/>
- <Col id="anstdrnm2"/>
- <Col id="anstdrnm3"/>
- <Col id="perfdeptnm"/>
- <Col id="perfdrnm"/>
- <Col id="perfdeptnm2"/>
- <Col id="perfdrnm2"/>
- <Col id="intervaltm"/>
- <Col id="anstdd"/>
- <Col id="espiseq"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_anstinfoList_oprsrvinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="reopflag" type="STRING" size="256"/>
- <Column id="oppatflagcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="reopflag"/>
- <Col id="oppatflagcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ansttm" type="STRING" size="256"/>
- <Column id="anstmnt" type="STRING" size="256"/>
- <Column id="resultmsg" type="STRING" size="256"/>
- <Column id="patmemo" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_opinfo_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_anstaddinfo_addinfo_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_anstorderinfo_orderlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcptype" type="STRING" size="256"/>
- <Column id="prcpnm" type="STRING" size="256"/>
- <Column id="recvol" type="STRING" size="256"/>
- <Column id="prcpvolunitnm" type="STRING" size="256"/>
- <Column id="prcpvol" type="STRING" size="256"/>
- <Column id="prcpvolunitnm2" type="STRING" size="256"/>
- <Column id="drugmthdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="prcptype"/>
- <Col id="prcpnm"/>
- <Col id="recvol"/>
- <Col id="prcpvolunitnm"/>
- <Col id="prcpvol"/>
- <Col id="prcpvolunitnm2"/>
- <Col id="drugmthdnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_hiddendata_anstinfospec" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="recvdata" type="STRING" size="256"/>
- <Column id="signflag" type="STRING" size="256"/>
- <Column id="inexinfo" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="recvdata"/>
- <Col id="signflag"/>
- <Col id="inexinfo"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_UserData_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_HideData_condition" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="opcnfmdd" type="STRING" size="256"/>
- <Column id="oproomcd" type="STRING" size="256"/>
- <Column id="anstmthdcd" type="STRING" size="256"/>
- <Column id="opstatcd" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="kornm" type="STRING" size="256"/>
- <Column id="calmflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="opcnfmdd"/>
- <Col id="oproomcd"/>
- <Col id="anstmthdcd"/>
- <Col id="opstatcd">60</Col>
- <Col id="pid"/>
- <Col id="kornm"/>
- <Col id="calmflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_HideData_opschelists_schelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="opstatnm" type="STRING" size="256"/>
- <Column id="perfdeptnm" type="STRING" size="256"/>
- <Column id="oproomnm" type="STRING" size="256"/>
- <Column id="oppatflagnm" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="sa" type="STRING" size="256"/>
- <Column id="diagcdnm" type="STRING" size="256"/>
- <Column id="opcdnm" type="STRING" size="256"/>
- <Column id="perfdrnm" type="STRING" size="256"/>
- <Column id="opposition" type="STRING" size="256"/>
- <Column id="anstmthdcdnm" type="STRING" size="256"/>
- <Column id="opcnfmdate" type="STRING" size="256"/>
- <Column id="opstatcd" type="STRING" size="256"/>
- <Column id="perfdeptcd" type="STRING" size="256"/>
- <Column id="perfdrid" type="STRING" size="256"/>
- <Column id="gcnt" type="STRING" size="256"/>
- <Column id="pcnt" type="STRING" size="256"/>
- <Column id="recovcnt" type="STRING" size="256"/>
- <Column id="opflagcd" type="STRING" size="256"/>
- <Column id="oproomcd" type="STRING" size="256"/>
- <Column id="anstrecno" type="STRING" size="256"/>
- <Column id="oprsrvno" type="STRING" size="256"/>
- <Column id="ophistno" type="STRING" size="256"/>
- <Column id="recovseqno" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="recendflag" type="STRING" size="256"/>
- <Column id="oppatflagcd" type="STRING" size="256"/>
- <Column id="pkidatetimems" type="STRING" size="256"/>
- <Column id="opcnfmdd" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="inrmdt" type="STRING" size="256"/>
- <Column id="inrmtm" type="STRING" size="256"/>
- <Column id="opoutrmplcecd" type="STRING" size="256"/>
- <Column id="calmflag" type="STRING" size="256"/>
- <Column id="anstkindinfo" type="STRING" size="256"/>
- <Column id="anstmthd" type="STRING" size="256"/>
- <Column id="pca" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_HideData_schelisttotalinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="totalanstcnt" type="STRING" size="256"/>
- <Column id="totalganstcnt" type="STRING" size="256"/>
- <Column id="totalpanstcnt" type="STRING" size="256"/>
- <Column id="totalrecocnt" type="STRING" size="256"/>
- <Column id="totalnosigncnt" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="totalanstcnt"/>
- <Col id="totalganstcnt"/>
- <Col id="totalpanstcnt"/>
- <Col id="totalrecocnt"/>
- <Col id="totalnosigncnt"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_HideData_displaypinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pinfo1" type="STRING" size="256"/>
- <Column id="pinfo2" type="STRING" size="256"/>
- <Column id="pinfo3" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pinfo1"/>
- <Col id="pinfo2"/>
- <Col id="pinfo3"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_HideData_recoinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="recototaltime" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_HideData_menuitems_gridmenu_menulist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hardcd" type="STRING" size="256"/>
- <Column id="hardcdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="hardcd">1</Col>
- <Col id="hardcdnm">임상관찰기록</Col>
- </Row>
- <Row>
- <Col id="hardcd">2</Col>
- <Col id="hardcdnm">이송요원호출</Col>
- </Row>
- <Row>
- <Col id="hardcd">16</Col>
- <Col id="hardcdnm">입 실 취 소</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_HideData_menuitems_vnrlmenu_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hardcdnm" type="STRING" size="256"/>
- <Column id="hardcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="hardcdnm">수술준비확인</Col>
- <Col id="hardcd">3</Col>
- </Row>
- <Row>
- <Col id="hardcdnm">마취간호처방</Col>
- <Col id="hardcd">4</Col>
- </Row>
- <Row>
- <Col id="hardcdnm">마약처방관리</Col>
- <Col id="hardcd">5</Col>
- </Row>
- <Row>
- <Col id="hardcdnm">PRN처방관리</Col>
- <Col id="hardcd">6</Col>
- </Row>
- <Row>
- <Col id="hardcdnm">혈액불출관리</Col>
- <Col id="hardcd">7</Col>
- </Row>
- <Row>
- <Col id="hardcdnm">마취기록지</Col>
- <Col id="hardcd">15</Col>
- </Row>
- <Row>
- <Col id="hardcdnm">현장검사입력</Col>
- <Col id="hardcd">8</Col>
- </Row>
- <Row>
- <Col id="hardcdnm">-</Col>
- <Col id="hardcd"/>
- </Row>
- <Row>
- <Col id="hardcdnm">바코드출력</Col>
- <Col id="hardcd">9</Col>
- </Row>
- <Row>
- <Col id="hardcdnm">NAME LABEL 출력</Col>
- <Col id="hardcd">10</Col>
- </Row>
- <Row>
- <Col id="hardcdnm">수술전광판관리</Col>
- <Col id="hardcd">11</Col>
- </Row>
- <Row>
- <Col id="hardcdnm">수술진행현황</Col>
- <Col id="hardcd">12</Col>
- </Row>
- <Row>
- <Col id="hardcdnm">보호자호출</Col>
- <Col id="hardcd">13</Col>
- </Row>
- <Row>
- <Col id="hardcdnm">보호자호출 취소</Col>
- <Col id="hardcd">14</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_HideData_menuitems_vsgridmenu_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hardcdnm" type="STRING" size="256"/>
- <Column id="hardcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="hardcdnm">컬럼삭제</Col>
- <Col id="hardcd">fDelVsCurCol</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_HideData_rsrvcopy_org_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_HideData_itemaddlist_mnphrevr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="lrgcd" type="STRING" size="256"/>
- <Column id="vsitemcd" type="STRING" size="256"/>
- <Column id="recovseqno" type="STRING" size="256"/>
- <Column id="lrgnm" type="STRING" size="256"/>
- <Column id="vsitemnm" type="STRING" size="256"/>
- <Column id="itotal" type="STRING" size="256"/>
- <Column id="ototal" type="STRING" size="256"/>
- <Column id="data1" type="STRING" size="256"/>
- <Column id="data2" type="STRING" size="256"/>
- <Column id="data3" type="STRING" size="256"/>
- <Column id="data4" type="STRING" size="256"/>
- <Column id="data5" type="STRING" size="256"/>
- <Column id="data6" type="STRING" size="256"/>
- <Column id="data7" type="STRING" size="256"/>
- <Column id="data8" type="STRING" size="256"/>
- <Column id="data9" type="STRING" size="256"/>
- <Column id="data10" type="STRING" size="256"/>
- <Column id="data11" type="STRING" size="256"/>
- <Column id="data12" type="STRING" size="256"/>
- <Column id="data13" type="STRING" size="256"/>
- <Column id="data14" type="STRING" size="256"/>
- <Column id="data15" type="STRING" size="256"/>
- <Column id="data16" type="STRING" size="256"/>
- <Column id="data17" type="STRING" size="256"/>
- <Column id="data18" type="STRING" size="256"/>
- <Column id="data19" type="STRING" size="256"/>
- <Column id="data20" type="STRING" size="256"/>
- <Column id="data21" type="STRING" size="256"/>
- <Column id="data22" type="STRING" size="256"/>
- <Column id="data23" type="STRING" size="256"/>
- <Column id="data24" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="lrgcd"/>
- <Col id="vsitemcd"/>
- <Col id="recovseqno"/>
- <Col id="lrgnm"/>
- <Col id="vsitemnm"/>
- <Col id="itotal"/>
- <Col id="ototal"/>
- <Col id="data1"/>
- <Col id="data2"/>
- <Col id="data3"/>
- <Col id="data4"/>
- <Col id="data5"/>
- <Col id="data6"/>
- <Col id="data7"/>
- <Col id="data8"/>
- <Col id="data9"/>
- <Col id="data10"/>
- <Col id="data11"/>
- <Col id="data12"/>
- <Col id="data13"/>
- <Col id="data14"/>
- <Col id="data15"/>
- <Col id="data16"/>
- <Col id="data17"/>
- <Col id="data18"/>
- <Col id="data19"/>
- <Col id="data20"/>
- <Col id="data21"/>
- <Col id="data22"/>
- <Col id="data23"/>
- <Col id="data24"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_HideData_orderlist_prnorderlists" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_HideData_orderlist_actingorderlists" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_HideData_allsigndatas_signdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_viewtemp_viewinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_displaysigninfo_signdatalist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_drgecdlist_OpRoomInfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="oproomcd" type="STRING" size="256"/>
- <Column id="oproomnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_chk_anesclass" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">전신</Col>
- <Col id="value">01</Col>
- </Row>
- <Row>
- <Col id="label">부위</Col>
- <Col id="value">02</Col>
- </Row>
- <Row>
- <Col id="label">국소</Col>
- <Col id="value">03</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_chk_opstat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <choices>
- <item>
- <label>예정</label>
- <value>20</value>
- </item>
- <item>
- <label>대기</label>
- <value>30</value>
- </item>
- <item>
- <label>수술</label>
- <value>40</value>
- </item>
- <item>
- <label>회복</label>
- <value>60</value>
- </item>
- <item>
- <label>종료</label>
- <value>50</value>
- </item>
- </choices>
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">예정</Col>
- <Col id="value">20</Col>
- </Row>
- <Row>
- <Col id="label">대기</Col>
- <Col id="value">30</Col>
- </Row>
- <Row>
- <Col id="label">수술</Col>
- <Col id="value">40</Col>
- </Row>
- <Row>
- <Col id="label">회복</Col>
- <Col id="value">60</Col>
- </Row>
- <Row>
- <Col id="label">종료</Col>
- <Col id="value">50</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_code_codeinfo_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_chk_prtctairway" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">Endotracheal</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">Oral airway</Col>
- <Col id="value">2</Col>
- </Row>
- <Row>
- <Col id="label">Nasal airway</Col>
- <Col id="value">3</Col>
- </Row>
- <Row>
- <Col id="label">Tracheostomy</Col>
- <Col id="value">4</Col>
- </Row>
- <Row>
- <Col id="label">None</Col>
- <Col id="value">5</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_prcptype" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">Agent</Col>
- <Col id="value">A</Col>
- </Row>
- <Row>
- <Col id="label">Drug</Col>
- <Col id="value">D</Col>
- </Row>
- <Row>
- <Col id="label">Fluid</Col>
- <Col id="value">F</Col>
- </Row>
- <Row>
- <Col id="label">Blood</Col>
- <Col id="value">H</Col>
- </Row>
- <Row>
- <Col id="label">Proc</Col>
- <Col id="value">P</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_anstaddinfo_addinfo_anstopuserlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <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"/>
- <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="valueitem" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_ValuItemLists" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="valuitem" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_reccnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_MnphrecoList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <column id="pid" type="string"/>
- <column id="oprsrvno" type="string"/>
- <column id="instcd" type="string"/>
- <column id="cretno" type="string"/>
- <column id="operdttm" type="string"/>
- <column id="ioflag" type="string"/>
- <column id="orddd" type="string"/>
- <column id="orddeptcd" type="string"/>
- <column id="indt" type="string"/>
- <column id="inrmdt" type="string"/>
- <column id="inrmtm" type="string"/>
- <column id="outrmdt" type="string"/>
- <column id="outrmtm" type="string"/>
- <column id="outplcecode" type="string"/>
- <column id="outplcenm" type="string"/>
- <column id="outconfirmdoctorid" type="string"/>
- <column id="outconfirmdoctor" type="string"/>
- <column id="recovroom" type="string"/>
- <!-- 2008-06-04 오전 8:52:49 taebum 수정함. -->
- <!-- column id="anstspec" type="cdata" desc="19 마취내역" -->
- <column id="prtctairwayspec"/>
- <column id="oxgendosespec"/>
- <column id="recovstatvalutable"/>
- <column id="pataddtool"/>
- <!-- column id="pcaspec" type="cdata" desc="24 PCA내역" -->
- <!-- 2008-06-04 오전 8:52:49 taebum 수정함. -->
- <!-- column id="recovpatcmplspec" type="cdata" desc="25 회복환자합병증내역" -->
- <column id="recinuserid" type="string"/>
- <column id="recindttm" type="string"/>
- <column id="saveindttm" type="string"/>
- <column id="recoutuserid" type="string"/>
- <column id="recoutdttm" type="string"/>
- <column id="saveoutdttm" type="string"/>
- <column id="pkidatetimems" type="string"/>
- <column id="fstrgstrid" type="string"/>
- <column id="lastupdtid" type="string"/>
- <column id="recstat" type="string"/>
- <column id="recovseqno" type="string"/>
- <column id="recmode" type="string"/>
- <column id="opstatcd" type="string"/>
- <column id="opstatcdnew" type="string"/>
- <column id="ophistno" type="string"/>
- <!-- 2008-06-04 오전 9:10:26 taebum add -->
- <column id="complinfo"/>
- <column id="pregoodlist"/>
- <column id="deptremark"/>
- <column id="drgecdspec" type="string"/>
- <column id="patposplcecd" type="string"/>
- <column id="certflag" type="string"/>
- <column id="smsoutplcenm" type="string"/>
- <Column id="patrminsndsmsid" type="STRING" size="256" sumtext="입실 sms 전송 ID"/>
- <column id="patrmoutsndsmsid" type="string"/>
- <column id="sndoutsmsflag" type="string"/>
- <column id="recodeptcd" type="string"/>
- <column id="resafeinfo"/>
- <column id="patname"/>
- <column id="reintubinfo"/>
- <column id="patmemo"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_temp_recovrecinfo_signdatas" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_temp_recovrecinfo_repgdatas" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_temp_recovrecinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_temp_MnphrepmLists_MnphrepmList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_temp_MnphresmLists_MnphresmList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_temp_MnphresmLists_MnphreIntubchkList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_recoverec_itemdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_recoverec_progressdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_recoverec_remfact" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_resultmsg" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_seqno" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_inexinfo_inexlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_rmcncl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_data_prtctairwaylists" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_data_oxgendoselists" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_data_pataddlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_data_lists" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_data_valuitem" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_data_valuitemlists" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <FilteredDataset id="ds_filter_code_codeinfo_codelist_recovroom" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" binddataset="@ds_code_codeinfo_codelist" filterstr="cdgrupid == '041' && supcdid == '-'"/>
- <FilteredDataset id="ds_filter_code_codeinfo_codelist_outplcecode" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" binddataset="@ds_code_codeinfo_codelist" filterstr="cdgrupid == '080' && supcdid == '-'"/>
- <Dataset id="ds_temp_seqno" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_pataddlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_HideData_rsrvcopy_org_list_mnphrevr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_HideData_rsrvcopy_org_list_recopkinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_HideData_rsrvcopy_org_list_prnorderlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_HideData_rsrvcopy_org_list_mnphrepg" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_HideData_rsrvcopy_org_list_actingorderlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_HideData_rsrvcopy_org_list_mnphrevrtitle" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_signdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_Hidedata_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_temp_recovrecinfo_signdatas_signdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_temp_recovrecinfo_repgdatas_repgdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_HideData_allsigndatas_repgdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_reclist_recinfo_recinfolists" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_HideData_orderlist_prnorderlists_prnorderlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="recovseqno" type="STRING" size="255"/>
- <Column id="flag" type="STRING" size="255"/>
- <Column id="prcpcd" type="STRING" size="255"/>
- <Column id="prcpnm" type="STRING" size="255"/>
- <Column id="drugvol" type="STRING" size="255"/>
- <Column id="drugvolunit" type="STRING" size="255"/>
- <Column id="drugqty" type="STRING" size="255"/>
- <Column id="drugqtyunit" type="STRING" size="255"/>
- <Column id="drugtime" type="STRING" size="255"/>
- <Column id="drugday" type="STRING" size="255"/>
- <Column id="flag2" type="STRING" size="255"/>
- <Column id="prcpclscd" type="STRING" size="255"/>
- </ColumnInfo>
- </Dataset>
- <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">
- <ColumnInfo>
- <Column id="valuitemnm" type="STRING" size="256"/>
- <Column id="valuitemarrv" type="STRING" size="256"/>
- <Column id="valuitemleav" type="STRING" size="256"/>
- <Column id="valuitemcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="valuitemnm">반사능력</Col>
- <Col id="valuitemarrv">0</Col>
- <Col id="valuitemleav">0</Col>
- <Col id="valuitemcd">1</Col>
- </Row>
- <Row>
- <Col id="valuitemnm">호흡</Col>
- <Col id="valuitemarrv">0</Col>
- <Col id="valuitemleav">0</Col>
- <Col id="valuitemcd">2</Col>
- </Row>
- <Row>
- <Col id="valuitemnm">순환</Col>
- <Col id="valuitemarrv">0</Col>
- <Col id="valuitemleav">0</Col>
- <Col id="valuitemcd">3</Col>
- </Row>
- <Row>
- <Col id="valuitemnm">의식상태</Col>
- <Col id="valuitemarrv">0</Col>
- <Col id="valuitemleav">0</Col>
- <Col id="valuitemcd">4</Col>
- </Row>
- <Row>
- <Col id="valuitemnm">산소포화도</Col>
- <Col id="valuitemarrv">0</Col>
- <Col id="valuitemleav">0</Col>
- <Col id="valuitemcd">5</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_combo_pca_type" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdval" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdval">-</Col>
- <Col id="cdid">-</Col>
- </Row>
- <Row>
- <Col id="cdid">0</Col>
- <Col id="cdval">NRS</Col>
- </Row>
- <Row>
- <Col id="cdval">FPRS</Col>
- <Col id="cdid">1</Col>
- </Row>
- <Row>
- <Col id="cdid">2</Col>
- <Col id="cdval">FLACC</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_combo_pca_grade" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdval" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdval">-</Col>
- <Col id="cdid">-</Col>
- </Row>
- <Row>
- <Col id="cdid">0</Col>
- <Col id="cdval">0점</Col>
- </Row>
- <Row>
- <Col id="cdid">1</Col>
- <Col id="cdval">1점</Col>
- </Row>
- <Row>
- <Col id="cdid">2</Col>
- <Col id="cdval">2점</Col>
- </Row>
- <Row>
- <Col id="cdid">3</Col>
- <Col id="cdval">3점</Col>
- </Row>
- <Row>
- <Col id="cdid">4</Col>
- <Col id="cdval">4점</Col>
- </Row>
- <Row>
- <Col id="cdid">5</Col>
- <Col id="cdval">5점</Col>
- </Row>
- <Row>
- <Col id="cdid">6</Col>
- <Col id="cdval">6점</Col>
- </Row>
- <Row>
- <Col id="cdid">7</Col>
- <Col id="cdval">7점</Col>
- </Row>
- <Row>
- <Col id="cdid">8</Col>
- <Col id="cdval">8점</Col>
- </Row>
- <Row>
- <Col id="cdid">9</Col>
- <Col id="cdval">9점</Col>
- </Row>
- <Row>
- <Col id="cdid">10</Col>
- <Col id="cdval">10점</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_combo_ponv_grade" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdval" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdval">-</Col>
- <Col id="cdid">-</Col>
- </Row>
- <Row>
- <Col id="cdid">0</Col>
- <Col id="cdval">0(None)</Col>
- </Row>
- <Row>
- <Col id="cdid">1</Col>
- <Col id="cdval">1(Nausea)</Col>
- </Row>
- <Row>
- <Col id="cdid">2</Col>
- <Col id="cdval">2(Retching)</Col>
- </Row>
- <Row>
- <Col id="cdid">3</Col>
- <Col id="cdval">3(Vomiting)</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item2" compid="group6.checkbox2" propid="value" datasetid="ds_HideData_condition" columnid="calmflag"/>
- <BindItem id="item8" compid="group6.ipt_hngnm" propid="value" datasetid="ds_HideData_condition" columnid="kornm"/>
- <BindItem id="item4" compid="output3" propid="value" datasetid="ds_HideData_schelisttotalinfo" columnid="totalganstcnt"/>
- <BindItem id="item5" compid="output6" propid="value" datasetid="ds_HideData_schelisttotalinfo" columnid="totalpanstcnt"/>
- <BindItem id="item6" compid="output9" propid="value" datasetid="ds_HideData_schelisttotalinfo" columnid="totalrecocnt"/>
- <BindItem id="item7" compid="output17" propid="value" datasetid="ds_HideData_schelisttotalinfo" columnid="totalnosigncnt"/>
- <BindItem id="item21" compid="switch1.case2.inp_outplcenm" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="outplcecode"/>
- <BindItem id="item14" compid="switch1.case2.cmb_recovroom" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="recovroom"/>
- <BindItem id="item15" compid="switch1.case2.inp_inrmdt" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="inrmdt"/>
- <BindItem id="item16" compid="switch1.case2.inp_inrmtm" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="inrmtm"/>
- <BindItem id="item24" compid="switch1.case2.inp_outrmdt" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="outrmdt"/>
- <BindItem id="item25" compid="switch1.case2.inp_outrmtm" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="outrmtm"/>
- <BindItem id="item23" compid="switch1.case2.cmb_outplcecode" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="outplcenm"/>
- <BindItem id="item29" compid="switch1.case2.inp_outdrid" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="outconfirmdoctorid"/>
- <BindItem id="item31" compid="switch1.case2.inp_outdrnm" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="outconfirmdoctor"/>
- <BindItem id="item32" compid="switch1.case2.opt_arrv" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList_recovstatvalutable_valuitemlists" columnid="valuitemarrvtot"/>
- <BindItem id="item33" compid="switch1.case2.opt_leav" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList_recovstatvalutable_valuitemlists" columnid="valuitemleavtot"/>
- <BindItem id="item18" compid="switch1.case2.output4" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="recinuserdeptnm"/>
- <BindItem id="item19" compid="switch1.case2.output5" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="recinusernm"/>
- <BindItem id="item27" compid="switch1.case2.output7" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="recoutuserdeptnm"/>
- <BindItem id="item28" compid="switch1.case2.output8" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="recoutusernm"/>
- <BindItem id="item26" compid="switch1.case2.optrecoutdttm" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="recoutdttm"/>
- <BindItem id="item17" compid="switch1.case2.opt_recindttm" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="recindttm"/>
- <BindItem id="item54" compid="switch1.case2.inp_totalio" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="anstio"/>
- <BindItem id="item34" compid="switch1.case2.radio5" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="tnsyn"/>
- <BindItem id="item38" compid="switch1.case2.radio6" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist" columnid="prtctplacecd"/>
- <BindItem id="item51" compid="switch1.case2.checkbox1" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist" columnid="notprtctairway"/>
- <BindItem id="item12" compid="switch1.case2.output13" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="patrmoutsndsmsid"/>
- <BindItem id="item20" compid="switch1.case2.output15" propid="value" datasetid="ds_HideData_recoinfo" columnid="recototaltime"/>
- <BindItem id="item35" compid="switch1.case2.radio1" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="pcarecyn"/>
- <BindItem id="item30" compid="switch1.case2.combo3" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="outconfirmdoctorid_tmp"/>
- <BindItem id="item22" compid="switch1.case2.checkbox5" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists" columnid="outsmsmsgflag"/>
- <BindItem id="item39" compid="switch1.case2.group5.inp_prtcairwayadddt" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist" columnid="prtctairwayadddt"/>
- <BindItem id="item40" compid="switch1.case2.group5.inp_prtcairwayaddtm" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist" columnid="prtctairwayaddtm"/>
- <BindItem id="item41" compid="switch1.case2.group5.output14" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist" columnid="prtctairwayid"/>
- <BindItem id="item42" compid="switch1.case2.group5.combo4" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist" columnid="prtctairwayid_tmp"/>
- <BindItem id="item43" compid="switch1.case2.group5.inp_prtctairwaydt" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist" columnid="prtctairwaydt"/>
- <BindItem id="item44" compid="switch1.case2.group5.inp_prtctairwaytm" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist" columnid="prtctairwaytm"/>
- <BindItem id="item45" compid="switch1.case2.group5.output1" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist" columnid="prtctcairwayextid"/>
- <BindItem id="item46" compid="switch1.case2.group5.combo1" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist" columnid="prtctcairwayextid_tmp"/>
- <BindItem id="item47" compid="switch1.case2.group5.output16" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist" columnid="prtctairwayextnm"/>
- <BindItem id="item48" compid="switch1.case2.group5.input2" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist" columnid="prtctairwayextbp"/>
- <BindItem id="item49" compid="switch1.case2.group5.input3" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist" columnid="prtctairwayextp"/>
- <BindItem id="item50" compid="switch1.case2.group5.input4" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist" columnid="prtctairwayextspo"/>
- <BindItem id="item55" compid="switch1.case2.group5.inp_prtctairwaynm" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist" columnid="prtctairwaynm"/>
- <BindItem id="item13" compid="switch1.case2.opt_blodrecord" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="blodrecord"/>
- <BindItem id="item36" compid="switch1.case2.radio2" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="patmemoyn"/>
- <BindItem id="item53" compid="switch1.case2.textarea2" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="deptremark"/>
- <BindItem id="item52" compid="switch1.case2.textarea3" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="anstremark"/>
- <BindItem id="item56" compid="switch1.case1.switch2.case4.group1.radio4" propid="value" datasetid="ds_init_revrterm" columnid="prnorderflag"/>
- <BindItem id="item57" compid="switch1.case1.switch2.case4.radio3" propid="value" datasetid="ds_init_revrterm" columnid="term"/>
- <BindItem id="item9" compid="output10" propid="value" datasetid="ds_HideData_displaypinfo" columnid="pinfo1"/>
- <BindItem id="item10" compid="output11" propid="value" datasetid="ds_HideData_displaypinfo" columnid="pinfo2"/>
- <BindItem id="item11" compid="output12" propid="value" datasetid="ds_HideData_displaypinfo" columnid="pinfo3"/>
- <BindItem id="item0" compid="group6.input7" propid="value" datasetid="ds_HideData_condition" columnid="opcnfmdd"/>
- <BindItem id="item1" compid="group6.checkbox3" propid="text" datasetid="ds_HideData_condition" columnid="anstmthdcd"/>
- <BindItem id="item3" compid="output2" propid="value" datasetid="ds_HideData_schelisttotalinfo" columnid="totalanstcnt"/>
- <BindItem id="item58" compid="group6.combo2" propid="value" datasetid="ds_HideData_condition" columnid="oproomcd"/>
- <BindItem id="item37" compid="switch1.case1.case4.radio3" propid="value" datasetid="ds_init_revrterm" columnid="term"/>
- <BindItem id="item59" compid="switch1.case1.case4.group1.radio4" propid="value" datasetid="ds_init_revrterm" columnid="prnorderflag"/>
- <BindItem id="item60" compid="switch1.case1.case4.group1.tar_remfact" propid="value" datasetid="ds_main_revrInfo_recopkinfo" columnid="remfact"/>
- <BindItem id="item61" compid="switch1.case2.output00" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="patrminsndsmsid"/>
- <BindItem id="item62" compid="switch1.case2.combo_pca_in_type" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="inpcatype"/>
- <BindItem id="item63" compid="switch1.case2.combo_pca_in_grade" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="inpcagrade"/>
- <BindItem id="item64" compid="switch1.case2.combo_pca_out_type" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="outpcatype"/>
- <BindItem id="item65" compid="switch1.case2.combo_pca_out_grade" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="outpcagrade"/>
- <BindItem id="item66" compid="switch1.case2.combo_ponv_in_grade" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="inponvgrade"/>
- <BindItem id="item67" compid="switch1.case2.combo_ponv_out_grade" propid="value" datasetid="ds_main_MnphrecoData_MnphrecoList" columnid="outponvgrade"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-10-12
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-10-12 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- //include "emr_opanstxp::SMMNP00700.xjs";
- //include "emr_opanstxp::SMMNP00900.xjs";
- include "emr_carecomxp::SPMNZ001.xjs";
- include "emr_carecomxp::CareCom.xjs";
- include "com_basiccodexp::ZBC001.xjs";
- include "emr_carecomxp::ENRSignEngine.xjs";
- include "com_commodulexp::SSZFM00701.xjs";
- include "com_commodulexp::SSZFM00901.xjs";
- include "emr_prcpmngtxp::MMO001.xjs";
- include "com_commodulexp::SSZFM01001.xjs";
- var arErrorCode = new HashArray();
- var lgv_sXML_recovstatvalutable = '<valuitemlists><valuitem><valuitemnm/><valuitemarrv/><etcarrv/><valuitemleav/><etcleav/><valuitemcd/></valuitem><valuitemarrvtot/><valuitemleavtot/></valuitemlists>';
- var lgv_sXML_pataddtool = '<pataddlists><pataddlist><chk/><fixasetcd/><toolnm/><bedno/><usesrttm/><usesttime/><useendtm/><useendtime/><goodmodel/><goodspec/></pataddlist></pataddlists>';
- var lgv_sXML_wardtranspec = '<wardtranspeclist><warddrtranspec1m/><warddrtranspec1hr/><warddrtranspec1/><warddrtranspec2/><warddrtranspec2etc/><wrtanstdrid/></wardtranspeclist>';
- 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>';
- // 인증 데이터
- 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>';
- var lgv_sSignXML_wardtranspec = '<wardtranspeclist><warddrtranspec1m/><warddrtranspec1hr/><warddrtranspec1/><warddrtranspec2/><warddrtranspec2etc/><wrtanstdrid/><warddrtranspec1mthdnm/></wardtranspeclist>';
- var lgv_sSignXML_MnphresmLists = '<MnphresmLists><MnphresmList><resafenm/><resafecheck/><resafecd/><recovseqno/><status/><resafeuptid/><resafeuptnm/><resafedetlnm/></MnphresmList></MnphresmLists>';
- 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>';
- var lgv_sSignXML_keepwarmthdtl = '<keepwarmthdtls><keepwarmthdtl><keepwarmthdtl/></keepwarmthdtl></keepwarmthdtls>';
- /**
- * @group :
- * @ver : 0.20160630(dbs227)
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 간호 하드코딩 정보조회
- * @param : pCode : 조회할 CdGrupID 코드정보, 여러개 조회할 경우 ,(콤마)로 구분한다.
- 예) '001', '002', '003'
- pDate : 조회기준일자(형식:YYYYMMDD)
- * @return : ds_init_codelist:Dataset
- 트랜잭션 이후 수신받은 하드코딩 정보
- * @---------------------------------------------------
- */
-
-
- var lgv_datagrid9Formats; // 그리드 foramt (datagrid9)
-
- function fGetNursHardCdInfo(pCode, pDate){
- dsf_createDsRow('ds_req', [
- { col: 'cdgrupid', type: 'string', size: 256, val: pCode }, // 코드그룹ID
- { col: 'srchdd', type: 'string', size: 256, val: pDate }, // 조회기준일자
- { col: 'flag', type: 'string', size: 256, val: '' }, // 조회기준일자
- { col: 'allflag', type: 'string', size: 256, val: '' } // 모두조회여부
- ],
- false);
-
- var ds_code_codeinfo_codelist = dsf_createDsRow('ds_code_codeinfo_codelist', [
- { col: 'cdgrupid', type: 'string', size: 256, val: '' }, // 코드그룹ID
- { col: 'cdid', type: 'string', size: 256, val: '' }, // 코드ID
- { col: 'cdnm', type: 'string', size: 256, val: '' }, // 코드명
- { col: 'grupdetldesc', type: 'string', size: 256, val: '' }, // 코드그룹상세설명
- { col: 'supcdid', type: 'string', size: 256, val: '' }, // 상위코드ID
- { col: 'sortseq', type: 'string', size: 256, val: '' }, // 상위코드ID
- { col: 'valifromdd', type: 'string', size: 256, val: '' }, // 시작일자
- { col: 'valitodd', type: 'string', size: 256, val: '' } // 시작일자
- ],
- false);
-
- var oParam = {};
- oParam.id = "TRMNW00001";
- oParam.service = "wardcareapp.WardCareMngt";
- oParam.method = "reqGetNursHardCdInfo";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_code_codeinfo_codelist=codelist";
- oParam.async = false;
- //oParam.callback = "cf_TRMNW00001";
- tranf_submit(oParam);
-
- return ds_code_codeinfo_codelist;
- }
- // <![CDATA[ 처리 로직 추가딘 lf_convertDsToXML
- /***********************************************************************************************
- * 함수명 : lf_convertDsToXml(pDsArr, pXmlStr)
- * 설 명 : DataSet을 XML로 변환한다.
- 예) var sParamObjArr = [{ds: "ds_data_b", path:"f/b", filter: "test == 1"}
- ,{ds: "ds_data_a", path:"", filter: ""}];
- var sReturn = lf_convertDsToXml(sParamObjArr, gXmlFormat);
- path는 'f/b'와 같이 상대경로나 '/a/f/b' 와 같이 절대 경로로 사용 가능. 공백이면 dataset id로 노드 검색
- dataset 명칭은 '_' 이후에 node 명칭과 일치 해야 함.
-
- * argument : pDsArr : [{ds : Dataset id, path : xml 경로(상대경로, 절대경로)}]
- pXmlStr : XML(string type)
- pParam : option 용 parameter Object
- pParam.nullNodeYN = 'Y' / 'N' : 공백 node를 생성할지 여부
- * return Type : XML string : 성공시
- 'error' : 실패시
- * 작성자 : KKM
- ************************************************************************************************/
- function lf_convertDsToXml(pDsArr, pXmlStr, pParam)
- {
- if(utlf_isNull(pDsArr)) return "error";
-
- try{
- var domParser = new DomParser;
- var domDoc = domParser.parseFromString(pXmlStr);
- var sTmpDocelement = domDoc.documentElement;
-
- if(domDoc == null){
- sysf_messageBox("XML 형식이 잘못 되었습니다.", "E");
- return "error";
- }
- var sTmpCreateNode;
- var sTmpCreateValue;
- var sTmpParentNode;
- var sDsNode = "";
- var sDsPath = "";
- var sNodeList;
- var sParentList;
- var sDsObj;
- var sFilter;
- var sDsColumnId = "";
- var sDsColumnValue = "";
- var sNullUseYN;
- var sTmpChkXmlType;
-
- if(!utlf_isNull(pParam)){ //Option용 parameter 세팅
- sNullUseYN = utlf_isNull(pParam.nullNodeYN) ? 'Y' : pParam.nullNodeYN;
- }else{
- sNullUseYN = 'Y';
- }
-
- for(var i = pDsArr.length-1; i >= 0; i--){
- sDsNode = pDsArr[i].ds.slice(pDsArr[i].ds.lastIndexOf("_")+1);
- sDsPath = pDsArr[i].path;
- sDsObj = this.objects[pDsArr[i].ds];
-
- if(utlf_isNull(sDsObj)){
- sysf_messageBox(pDsArr[i].ds + " 데이터셋은 존재하지 않습니다.", "E");
- return "error";
- }
-
- if(!utlf_isNull(pDsArr[i].filter)) sDsObj.filter(pDsArr[i].filter); //filter 값이 세팅된 경우 dataset 필터링
-
- for(var iRow = sDsObj.rowcount - 1; iRow >= 0 ; iRow--){
- if(iRow < sDsObj.rowcount -1){
- sTmpParentNode = domDoc.createElement(sDsNode);
- sParentList = domDoc.getElementsByPath(utlf_isNull(sDsPath) ? sDsNode : sDsPath);
-
- if(utlf_isNull(sParentList)){
- sysf_messageBox(sDsPath + " path가 올바르지 않습니다.", "E");
- return "error";
- }
-
- sTmpDocelement.insertBefore(sTmpParentNode, sParentList[0]);
- }
-
- for(var j = 0; j < sDsObj.colcount; j++){ //dataset에서 컬럼 값 추출
- var sCurrentPath = "";
- sDsColumnId = utlf_transNullToEmpty(sDsObj.getColID(j));
- sDsColumnValue = utlf_transNullToEmpty(sDsObj.getColumn(iRow, j));
-
- if(!utlf_isNull(sDsPath)){ //path 값이 있는 경우
- sCurrentPath = sDsPath;
- }else{
- sCurrentPath = sDsNode;
- }
-
- if(iRow == sDsObj.rowcount - 1){ //depth가 1인 경우
- if(sNullUseYN == 'N' && utlf_isNull(sDsColumnValue)){
- var sTmpParentNodes = domDoc.getElementsByPath(sCurrentPath);
- var sDeleteNodeList = domDoc.getElementsByPath(sCurrentPath + "/" + sDsColumnId);
- sTmpParentNodes.get_item(0).removeChild(sDeleteNodeList[0]);
- continue;
- }
-
- sCurrentPath = sCurrentPath + "/" + sDsColumnId;
- sNodeList = domDoc.getElementsByPath(sCurrentPath);
-
- if(utlf_isNull(sNodeList)){
- sysf_messageBox(sCurrentPath + " path가 올바르지 않습니다.", "E");
- return "error";
- }
-
- sTmpChkXmlType = domParser.parseFromString(sDsColumnValue);
-
- if(lf_checkSpecialChar(sDsColumnValue) && sTmpChkXmlType == null && (-1 == String(sDsColumnValue).indexOf("<![CDATA[")) && !utlf_isNull(sDsColumnValue)){ // ( + 이미 XML 형태로 cdata 처리가 되 있는 경우 제외 - 2015.06.08)
- //if(lf_checkSpecialChar(sDsColumnValue) && sTmpChkXmlType == null && sDsColumnValue != ""){ //특수문자가 있으면 컬럼 데이터가 XML TYPE 아닌 경우
- sTmpCreateValue = domDoc.createCDATASection(sDsColumnValue); //cdata 처리
- }else{
- sTmpCreateValue = domDoc.createTextNode(sDsColumnValue);
- }
-
- sNodeList[0].appendChild(sTmpCreateValue);
- }else if(iRow < sDsObj.rowcount - 1){ //depth가 2이상인 경우
-
- if(sNullUseYN == 'N' && utlf_isNull(sDsColumnValue)) continue; //빈 값을 노드로 만들지 않을 경우(option이 'N'일 경우)
-
- sCurrentPath = sCurrentPath + "[1]";
- sNodeList = domDoc.getElementsByPath(sCurrentPath);
-
- if(utlf_isNull(sNodeList)){
- sysf_messageBox(sCurrentPath + " path가 올바르지 않습니다.", "E");
- return "error";
- }
-
- if(lf_checkSpecialChar(sDsColumnValue) && sTmpChkXmlType == null && (-1 == String(sDsColumnValue).indexOf("<![CDATA[")) && !utlf_isNull(sDsColumnValue)){ // ( + 이미 XML 형태로 cdata 처리가 되 있는 경우 제외 - 2015.06.08)
- //if(lf_checkSpecialChar(sDsColumnValue) && sTmpChkXmlType == null && sDsColumnValue != ""){ //특수문자가 있는경우
- sTmpCreateValue = domDoc.createCDATASection(sDsColumnValue); //cdata 처리
- }else{
- sTmpCreateValue = domDoc.createTextNode(sDsColumnValue);
- }
-
- sTmpCreateNode = domDoc.createElement(sDsColumnId);
-
- sTmpCreateNode.appendChild(sTmpCreateValue);
- sNodeList[0].appendChild(sTmpCreateNode);
- }
- }
- }
- }
- }catch(e){
- return "error";
- }
-
- return domDoc.source.slice(domDoc.source.lastIndexOf("?>")+3);
- }
- // Dataset -> XmlStr 변환
- function lf_convertDsToXml_All(){
- var sParamObjArr = new Array(); // lf_convertDsToXml() parameter
- var sTempObjArr = new Array();
- var sValuitemlists = "ds_main_MnphrecoData_MnphrecoList_recovstatvalutable_valuitemlists";
- var sValuitem = "ds_main_MnphrecoData_MnphrecoList_recovstatvalutable_valuitemlists_valuitem";
-
-
- eval(sValuitemlists).updatecontrol = false;
- eval(sValuitem).updatecontrol = false;
- eval(sValuitemlists).enableevent = false;
- eval(sValuitem).enableevent = false;
-
-
- if(!utlf_isNull(eval(sValuitemlists).getColumnInfo("dsvaluepath")))
- {
- eval(sValuitemlists).deleteColumn("dsvaluepath");
- }
-
- if(!utlf_isNull(eval(sValuitem).getColumnInfo("dsvaluepath")))
- {
- eval(sValuitem).deleteColumn("dsvaluepath");
- }
-
- eval(sValuitemlists).updatecontrol = true;
- eval(sValuitem).updatecontrol = true;
- eval(sValuitemlists).enableevent = true;
- eval(sValuitem).enableevent = true;
- sParamObjArr[0] = [{ds: 'ds_main_MnphrecoData_MnphrecoList_recovstatvalutable_valuitemlists', path:'/valuitemlists'}
- ,{ds: 'ds_main_MnphrecoData_MnphrecoList_recovstatvalutable_valuitemlists_valuitem', path:'valuitemlists/valuitem'}];
-
- //-----------------------------------
- // 장비사용기록에서 삭제항목은 제외
- ds_temp_pataddlist.clear();
- ds_temp_pataddlist.copyData(ds_main_MnphrecoData_MnphrecoList_pataddtool_pataddlists_pataddlist);
- ds_temp_pataddlist.filter("chk!='true'");
- //-----------------------------------
- sParamObjArr[1] = [{ds: 'ds_temp_pataddlist', path:'/pataddlists/pataddlist'}];
-
- sParamObjArr[2] = [{ds: 'ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist', path:'/prtctairwaylists'}];
-
-
-
- sXMLObjArr = [ {sMainXML:lgv_sXML_recovstatvalutable, sXML:""} // 회복상태평가표
- ,{sMainXML:lgv_sXML_pataddtool, sXML:""} // 장비사용기록
- ,{sMainXML:lgv_sXML_prtctairwayspec, sXML:""} // 기도유지정보
- ];
-
- for(var i in sParamObjArr){
- sXMLObjArr[i].sXML = lf_convertDsToXml(sParamObjArr[i], sXMLObjArr[i].sMainXML);
- if('error' == sXMLObjArr[i].sXML) sXMLObjArr[i].sXML == "";
- }
-
- ds_send_MnphrecoList.enableevent = false;
- ds_send_MnphrecoList.setColumn(0, "recovstatvalutable", sXMLObjArr[0].sXML); // 회복상태평가표
- ds_send_MnphrecoList.setColumn(0, "pataddtool", sXMLObjArr[1].sXML); // 장비사용기록
- ds_send_MnphrecoList.setColumn(0, "prtctairwayspec", sXMLObjArr[2].sXML); // 기도유지정보
-
-
- ds_send_MnphrecoList.enableevent = true;
- }
- // ds-> XML 변환
- function lf_convertDsToXml_Each(sParamObjArr, lgv_sXML){
-
- var retVal = lf_convertDsToXml(sParamObjArr, lgv_sXML);
- if('error' == retVal) retVal == "";
-
- return retVal;
-
- }
- //***************
- //SMMNP00700.xjs
- //***************
- /* ---------------------------------------------------------------------
- 회복기록 사항(SMMNP00300.xfm - JScript )
- - Version :
- 1) : Ver.1.00.01
- : Create By Francis Choi
- : 2007.05.02
- ---------------------------------------------------------------------- */
- var xPathFormat = "ds_init_XmlFormat" ; //
- var xPathData = "ds_main_MnphrecoData_MnphrecoList" ; //
- var XmlInstName = "prtctairwayspec" + " " // 1 기도유지내역
- + "oxgendosespec" + " " // 2 산소투여내역
- + "pataddtool" + " " // 4 환자부착기구
- + "drgecdspec"; // 5 배액관 정보
- var XmlInstTableName = "prtctairwaylists" + " " // 1 기도유지내역
- + "oxgendoselists" + " " // 2 산소투여내역
- + "pataddlist" + " " // 4 환자부착기구 //pataddlists/pataddlist --> ds_data_pataddlists, ds_data_pataddlist로 변경됨 이중에서 ds_data_pataddlist에 Column 및 데이타가 저장되어 이 이름으로 처리함.
- + "lists"; // 5 배액관 정보
- var XmlDestTableName = "prtctairwayspec_prtctairwaylists_prtctairwaylist" + " " // 1 기도유지내역
- + "oxgendosespec_oxgendoselists_oxgendoselist" + " " // 2 산소투여내역
- + "pataddtool_pataddlists_pataddlist" + " " // 4 환자부착기구
- + "drgecdspec_lists_drgecdlist"; // 5 배액관 정보
-
-
-
- var XmlInstNm = XmlInstName.split(" ");
- var XmlInstTableNm = XmlInstTableName.split(" ");
- var XmlDestTableNm = XmlDestTableName.split(" ");
-
- // var XmlInstName = "prtctairwayspec" + " " // 1 기도유지내역
- // + "oxgendosespec" + " " // 2 산소투여내역
- // + "recovstatvalutable" + " " // 3 회복상태평가표
- // + "pataddtool" + " " // 4 환자부착기구
- // + "drgecdspec" // 5 배액관 정보
- // + "recovstatvalutableChild"; // 6 회복상태평가표(14세미만) 141013 추가
-
- // ---------------------------------------------------------------------------------
- // 회복기록 - 회복실간호기록정보 XML
- // ---------------------------------------------------------------------------------
- var sPrtctairwayspec = ""; // 21 기도유지내역
- var sOxgendosespec = ""; // 22 산소투여내역
- var sRecovstatvalutable = ""; // 23 회복상태평가표
- var sPataddtool = ""; // 24 환자부착기구
- var sDrgecdspec = ""; // 25 배액관정보
- //전자인증 구분 G : 회복간호기록-입_퇴실저장 기록, V : 회복기록 V_S기록
- var sSignFlag = "";
- //여의도, 빈센트 기관코드
- var yuidoinstcd = "";
- var vincentinstcd = "";
-
- //안전관리 점검 구분 코드 by 박영우 20100316
- var resafegrupcd = "";
- var iocd = "";
-
- var IFYN = "N"; //마취기록 자동 인터페이스 여부(20160907 이윤주)
- /* ------------------------------------------------- */
- /* SMMNP00700_회복기록 */
- /* On Load 시 Call */
- /* ------------------------------------------------- */
- /* group : EMR 간호 */
- /* ver : 2007.05.03 */
- /* by : 최학록 */
- /* --------------------------------------------------*/
- /* type : function */
- /* access : public */
- /* desc : xforms-ready시 수행한다 */
- /* return : */
- /* --------------------------------------------------*/
- function fFormInit() {
- sSignFlag = "";
-
- group7.visible = false; // 상단정보 설정 및 기록조회 중 DIV임.
-
- switch1.tabindex = 0; //model.toggle("case2");
- // 2008-08-09 오후 12:05:50 taebum 수술스케줄 추가 관련 주석처리
- //** 수술환자 설정 **
- // var node = sysf_getGlobalVariable("operation");
- // setCSVToNode("_root_main_operation", node);
- //
- // //** 상단환자 설정 **//
- // node = sysf_getGlobalVariable("paminfo");
- // setCSVToNode("_root_main_paminfo", node);
- //
- // var wPath = "_root_init_WorkData" ; //
- // var sPath = "_root_main_operation_list"; //
- //
- // var sPid = model.getValue(sPath+"_pid");
- //
- // //----------환자번호 입력으로 없어짐---------------------------------------
- // // if (sPid == "") {
- // // var mainObj = getMainViewer();
- // // sysf_messageBox("수술 예약 환자를 ", "C002");
- // // mainObj.javascript.navigate("SMMNP00100"); // 수술마취메인
- // // return;
- // // }
- // //------------------------------------------------------------------------
- //
- // if (sPid != "") {
- // model.setValue(wPath+"_pid" , model.getValue(sPath+"_pid" ));
- // model.setValue(wPath+"_instcd" , model.getValue(sPath+"_instcd" ));
- // model.setValue(wPath+"_oprsrvno" , model.getValue(sPath+"_oprsrvno"));
- // model.setValue(wPath+"_ophistno" , model.getValue(sPath+"_ophistno"));
- // //ipt_pid.refresh();
- //
- // // } else {
- // // //ipt_pid.value = "2003";
- // // model.setValue(wPath+"_pid" , "20003");
- // }
- //
- //combox 빈 노드 제거
- ds_init_M0013_M0013.clearData();
- ds_init_M0020_M0020.clearData();
- ds_init_M0021_M0021.clearData();
-
- // zbcfGetCodeList( new Array( "M0016","M0260",//회복실 관련 공통코드
- // "M0013","M0016","M0020","M0008","M0270","M0271","M0269","M0287", "M0005"), //마취기록관련 공통코드
- // new Array( "ds_init_M0016list", "ds_init_M0260list",
- // "ds_init_M0013", "ds_init_M0016",
- // "ds_init_M0020", "ds_init_M0008",
- // "ds_init_M0270", "ds_init_M0271",
- // "ds_init_M0269", "ds_init_M0287",
- // "ds_init_M0005"));
-
- var arrParam = [
- {dsNm: "ds_init_M0016list_M0016", cdGrpId: "M0016"}
- ,{dsNm: "ds_init_M0260list_M0260", cdGrpId: "M0260"}
- ,{dsNm: "ds_init_M0013_M0013", cdGrpId: "M0013"}
- ,{dsNm: "ds_init_M0016_M0016", cdGrpId: "M0016"}
- ,{dsNm: "ds_init_M0020_M0020", cdGrpId: "M0020"}
- ,{dsNm: "ds_init_M0008_M0008", cdGrpId: "M0008"}
- ,{dsNm: "ds_init_M0270_M0270", cdGrpId: "M0270"}
- ,{dsNm: "ds_init_M0271_M0271", cdGrpId: "M0271"}
- ,{dsNm: "ds_init_M0269_M0269", cdGrpId: "M0269"}
- ,{dsNm: "ds_init_M0287_M0287", cdGrpId: "M0287"}
- ,{dsNm: "ds_init_M0005_M0005", cdGrpId: "M0005"}
- ];
- appf_getCodeList(arrParam, false, false);
-
- //퇴실장소에 불필요한 노드 제거
- //model.removeNodeSet("_root_init_M0021_M0021[cdid='00']");
- //model.removeNodeSet("_root_init_M0021_M0021[cdid='01']");
- //model.removeNodeSet("_root_init_M0021_M0021[cdid='41']");
- //model.removeNodeSet("_root_init_M0021_M0021[cdid='42']");
- //model.removeNodeSet("_root_init_M0021_M0021[cdid='43']");
- //기관코드('077') 추가 - by 박영우
- //수술실 마취('016'), 수술실회복실(''017), 중환자실 코드('095') 추가 - by 박영우 20100228
- //안전관리 점검 구분코드 ('190') 추가 by 박영우 20100324
- fGetNursHardCdInfo("'T94','016', '017', '041', '077', '080', '095', '100', '190','090'", utlf_getCurrentDate());
- for (var i = 0; i < ds_code_codeinfo_codelist.rowcount; i++) {
- switch (ds_code_codeinfo_codelist.getColumn(i, "cdgrupid")){
- case "077": // 병원별 기관코드
- switch(ds_code_codeinfo_codelist.getColumn(i, "supcdid")){
- case "04":
- vincentinstcd = ds_code_codeinfo_codelist.getColumn(i, "cdid");
- break;
- case "05":
- yuidoinstcd = ds_code_codeinfo_codelist.getColumn(i, "cdid");
- break;
- }
- case "190":
- resafegrupcd = ds_code_codeinfo_codelist.getColumn(i, "cdid");
- break;
- case "T94":
- iocd = ds_code_codeinfo_codelist.getColumn(i, "cdid");
- break;
- }
- }
-
- //OpPatState_Read();
- fGetDrgecdlist(); //배액관 리스트 및 수술방 코드 및 마취의사 리스트 조회
- ds_HideData_condition.setColumn( 0, "opcnfmdd",utlf_getCurrentDate());
- frmf_addComboItem( "group6.combo2", "전체", "A");
- group6.combo2.index = 0;
- //병원별 회복간호기록 I 세팅 여부 확인
- if(ds_code_codeinfo_codelist.lookupExpr("cdgrupid == '100'", "cdid") == "O" ){
- lf_setTabPageVisble(this.switch1, 'case1', true); // button1.visible = true; // 회복간호기록1의 TabPage Head를 의미함., button7은 회복간호기록II의 TabPage Head를 의미함.
- }
- ds_HideData_condition.setColumn( 0, "oproomcd", "A");
- var dutplcecd = sysf_getUserInfo("dutplcecd"); // 로그인한 부서코드
- //ICU 부서에서 로그인 할 경우 종료 조회조건 추가 by 박영우 2010-02-28
- for(var i = 0; i < ds_code_codeinfo_codelist.rowcount; i++) { // 부서가 중환자실일 경우
- if(ds_code_codeinfo_codelist.getColumn(i, "cdgrupid") == "095") {
- if(dutplcecd == ds_code_codeinfo_codelist.getColumn(i, "cdid")) {
- ds_HideData_condition.setColumn( 0, "opstatcd", "60 50");
- break;
- } else {
- ds_HideData_condition.setColumn( 0, "opstatcd", "60");
- }
- }
- }
- //checkbox4.refresh();
- //combo2.refresh();
- //input7.refresh();
- ds_HideData_opschelists_schelist.clearData();
- //datagrid5.refresh();
- bbt_save.enable = false;
- btn_rgst_sct.enable = false;
- //2008-08-11 오후 10:15:34 taebum 자동 현재일자 스케줄 조회
- fGetOpScheList();
- //combobox 빈 행 추가
-
- lgv_datagrid9Formats = switch1.case1.case4.datagrid9.formats;
-
- ds_main_revrInfo_recopkinfo.clearData();
- ds_main_revrInfo_mnphrevrtitle.clearData();
- ds_main_revrInfo_mnphrevr.clearData();
- ds_main_revrInfo_mnphrepg.clearData();
- ds_main_revrInfo_prnorderlist.clearData();
- ds_main_revrInfo_actingorderlist.clearData();
-
- }
- function fDataDisplay(row) {
- /*
- //2008-08-09 오후 3:54:33 taebum 수술스케줄 연동 관련 주석처리
- var opIdx = cmb_opdd.selectedIndex + 1;
- var cPath = "_root_main_opPatLists_opPatList["+opIdx+"]";
- ds_init_WorkData.setColumn( 0, "oproomcd" , model.getValue(cPath+ "_oproomcd" )); // 수술방
- ds_init_WorkData.setColumn( 0, "oproomnm" , model.getValue(cPath+ "_oproomnm" )); // 수술방명
- ds_main_MnphrecoData_MnphrecoList.setColumn( 0, "ioflag" , model.getValue(cPath+ "_oppatflagcd")); // 환자구분
- ds_main_MnphrecoData_MnphrecoList.setColumn( 0, "opflagcd", model.getValue(cPath+ "_opflagcd" )); // 수술구분
- */
- var iCurrentRow = -1;
- if(row < 0)
- iCurrentRow = datagrid5.currentrow;
- else
- iCurrentRow = row;
- if(iCurrentRow < 0){
- return;
- }
- var cPath = "ds_HideData_opschelists_schelist"; //["+iCurrentRow+"]";
- var wPath = "ds_init_WorkData" ; //
- dsf_makeValue( eval(wPath), "pid" ,"string", eval(cPath).getColumn( iCurrentRow, "pid" )); // 환자번호
- dsf_makeValue( eval(wPath), "instcd" ,"string", eval(cPath).getColumn( iCurrentRow, "instcd" )); // 기관코드
- dsf_makeValue( eval(wPath), "oprsrvno" ,"string", eval(cPath).getColumn( iCurrentRow, "oprsrvno" )); // 의뢰번호
- dsf_makeValue( eval(wPath), "ophistno" ,"string", eval(cPath).getColumn( iCurrentRow, "ophistno" )); // 이력번호
- dsf_makeValue( eval(wPath), "recovseqno" ,"string", eval(cPath).getColumn( iCurrentRow, "recovseqno" )); // 회복기록연계코드
- dsf_makeValue( eval(wPath), "cretno" ,"string", eval(cPath).getColumn( iCurrentRow, "cretno" )); // 회복기록연계코드
-
- var recovseqno = eval(cPath).getColumn( iCurrentRow, "recovseqno");
-
- //마취회복간호기록 존재하지 않으면 연동한다(20160920)
- if(utlf_isNull(recovseqno) || recovseqno == "-"){
- IFYN = "Y";
- }
-
- // 2008-06-03 오전 8:52:58 taebum 회복기록정보 조회시 합병증정보를 추가로 조회하여 가져오도록 수정함.
- MnphrecoList_Read(); // 회복기록 정보 가져오기
- CareRecList_Read() ; // 간호특이사항 기록 조회
- //model.setValue(xPathData+"_anstspec_anstlist_anstsrtdt", model.getValue(cPath+ "_anstfromdt").substr(0,8)); // 마취시작일자
- //model.setValue(xPathData+"_anstspec_anstlist_anstsrttm", model.getValue(cPath+ "_anstfromdt").substr(8,4)); // 마취시작시간
- //model.setValue(xPathData+"_anstspec_anstlist_anstenddt", model.getValue(cPath+ "_ansttodt").substr(0,8)); // 마취종료일자
- //model.setValue(xPathData+"_anstspec_anstlist_anstendtm", model.getValue(cPath+ "_ansttodt").substr(8,4)); // 마취종료시간
- ////model.refresh();
- }
- /**
- * 회복환자 스케줄 조회
- *
- */
- function fGetOpScheList(){
-
- var sOpcnfmdd = ds_HideData_condition.getColumn(0, "opcnfmdd");
- var sOproomcd = ds_HideData_condition.getColumn(0, "oproomcd");
- var sOnstmthdcd = ds_HideData_condition.getColumn(0, "anstmthdcd");
- var sOpstatcd = ds_HideData_condition.getColumn(0, "opstatcd");
- var sPid = ds_HideData_condition.getColumn(0, "pid");
- var sCalmflag = ds_HideData_condition.getColumn(0, "calmflag");
- ds_send.clearData();
- ds_send.addRow();
- dsf_makeValue( ds_send, "opcnfmdd", "string" , sOpcnfmdd );
- dsf_makeValue( ds_send, "oproomcd", "string" , sOproomcd );
- dsf_makeValue( ds_send, "anstmthdcd", "string", sOnstmthdcd );
- dsf_makeValue( ds_send, "opstatcd", "string" , sOpstatcd );
- dsf_makeValue( ds_send, "pid", "string" , sPid );
- dsf_makeValue( ds_send, "calmflag", "string" , sCalmflag );
- ds_HideData_opschelists_schelist.clearData();
- //datagrid5.refresh();
-
- //if(submit("TRMNP00706")){
- var oParam = {};
- oParam.id = "TRMNP00705";
- oParam.service = "opanstapp.OpAnstRef";
- oParam.method = "reqGetOpScheRecoList";
- oParam.inds = "reqdata=ds_send";
- oParam.outds = "ds_HideData_opschelists_schelist=schelist";
- oParam.async = false;
- oParam.callback = "cf_TRMNP00705";
- tranf_submit(oParam);
-
- ds_HideData_opschelists_schelist.rowposition = -1;
- if(arErrorCode.pop("TRMNP00705") > -1){
- //건수 정보 setting
- var iTotalRows = ds_HideData_opschelists_schelist.rowcount; //datagrid5.rows - datagrid5.fixedrows;
- var iTotalAnstCnt = 0;
- var iTotalGAnstCnt = 0;
- var iTotalPAnstCnt = 0;
- var iTotalRecoCnt = 0;
- var iTotalNoSignCnt = 0;
- var sTmpGcnt = "";
- var sTmpPcnt = "";
- var sTmpAnstmthdcdnm = "";
- var sTmpRecovseqno = "";
- var sTmpPkidatetimes = "";//인증일시
- if(iTotalRows > 0){
- for(var i = 0; i < iTotalRows; i++){
- sTmpGcnt = ds_HideData_opschelists_schelist.getColumn(i, "gcnt");
- sTmpPcnt = ds_HideData_opschelists_schelist.getColumn(i, "pcnt");
- sTmpAnstmthdcdnm = ds_HideData_opschelists_schelist.getColumn(i, "anstmthdcdnm");
- sTmpRecovseqno = ds_HideData_opschelists_schelist.getColumn(i, "recovseqno");
- sTmpPkidatetimes = ds_HideData_opschelists_schelist.getColumn(i, "pkidatetimems");
- if(sTmpGcnt == "1"){
- iTotalGAnstCnt++;
- }
- if(sTmpPcnt == "1"){
- iTotalPAnstCnt++;
- }
- if(!utlf_isNull(sTmpAnstmthdcdnm) && sTmpAnstmthdcdnm != "-"){
- iTotalAnstCnt++;
- }
- //Expr로 작업함. //kimdo3
- //if((sTmpRecovseqno != "" && sTmpRecovseqno != "undeinfed" && sTmpRecovseqno != null && sTmpRecovseqno != "-")
- // && ((sTmpPkidatetimes != "" && sTmpPkidatetimes != "undeinfed" && sTmpPkidatetimes != null))){
- // datagrid5.cellstyle("color", i, 0, i, 27) = "#0078FF";
- //}
-
- if(!utlf_isNull(sTmpRecovseqno) && sTmpRecovseqno != "-"){
- iTotalRecoCnt++;
- }
-
- //Expr로 작업함. //kimdo3
- if( (!utlf_isNull(sTmpRecovseqno) && sTmpRecovseqno != "-")
- && utlf_isNull(sTmpPkidatetimes) ){
- // datagrid5.cellstyle("color", i, 0, i, 27) = "#ff0000";
- // //datagrid5.cellstyle("font", i, 0, i, 27) = "weight";
- iTotalNoSignCnt++;
- }
- }
- ds_HideData_schelisttotalinfo.setColumn( 0, "totalanstcnt" , iTotalAnstCnt);
- ds_HideData_schelisttotalinfo.setColumn( 0, "totalganstcnt", iTotalGAnstCnt);
- ds_HideData_schelisttotalinfo.setColumn( 0, "totalpanstcnt", iTotalPAnstCnt);
- ds_HideData_schelisttotalinfo.setColumn( 0, "totalrecocnt" , iTotalRecoCnt);
- ds_HideData_schelisttotalinfo.setColumn( 0, "totalnosigncnt" , iTotalNoSignCnt);
- //output2.refresh();
- //output3.refresh();
- //output6.refresh();
- //output9.refresh();
- //output17.refresh();
- }
- }
- }
- function cf_TRMNP00705(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- /* ------------------------------------------------- */
- /* SMMNP00700_회복기록 */
- /* On Load 시 Call */
- /* ------------------------------------------------- */
- /* group : EMR 간호 수술마취 */
- /* ver : 2007.05.15 */
- /* by : 최학록 */
- /* --------------------------------------------------*/
- /* type : function */
- /* access : public */
- /* desc : 수술방정보 가져오기 */
- /* param : 기관코드 */
- /* return : */
- /* --------------------------------------------------*/
- function OpRoomCode_Read() {
- ds_send.clearData();
- ds_send.addRow();
-
- dsf_makeValue( ds_send, "flag", "string", "userid" );
- dsf_makeValue( ds_send, "searchitem", "string" , "00009006" );
- //submit("TRMNP00301"); // 수술실의 코드와 명칭을 가져온다.
- var oParam = {};
- oParam.id = "TRMNP00301";
- oParam.service = "opanstapp.OpAnstRec";
- oParam.method = "reqGetOpRoomInfo";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_init_drgecdlist_OpRoomInfo=OpRoomInfo";
- oParam.async = false;
- tranf_submit(oParam);
- }
- /* --------------------------------------------------*/
- /* desc : 수술예약정보 가져오기 */
- /* param : 기관코드 */
- /* return : */
- /* --------------------------------------------------*/
- function OpPatState_Read() {
- var sPatData = "";
- if (utlf_isNull(ds_init_WorkData.getColumn(0, "pid"))) {
- sysf_messageBox("등록번호를 ", "C002");
- return;
- }
- //배액관List 조회(combobox용도)
- fGetDrgecdlist();
- ds_send.clearData();
- dsf_makeValue( ds_send, "pid", "string", ds_init_WorkData.getColumn(0, "pid") );
- //if (submit("TRMNP00703")){ // 수술예약정보 가져오기
- var oParam = {};
- oParam.id = "TRMNP00703";
- oParam.service = "opanstapp.OpAnstRef";
- oParam.method = "reqGetOpPatStat";
- oParam.inds = "req=ds_";
- oParam.outds = "ds_=opPatList";
- oParam.async = false;
- oParam.callback = "cf_TRMNP00703";
- tranf_submit(oParam);
- if (arErrorCode.pop("TRMNP00703") > -1){ // 수술예약정보 가져오기
- xNode = "ds_main_opPatLists_opPatList";
- if (xNode == null) {
- nLen = 0;
- }else {
- nLen = eval(xNode).rowcount;
- }
- if (nLen < 1) {
- group6.ipt_hngnm.value = "";
- //bbt_query.disabled = "true";
- bbt_save.enable = false;
- sysf_messageBox("환자 정보가 ", "I004");
- return;
- }
- ds_init_WorkData.setColumn( 0, "pidname",ds_main_opPatLists_opPatList.getColumn(1, "hngnm"));
- //ipt_hngnm.refresh();
- //cmb_opdd.selectedIndex = 0; 사용되지 않아서 kimdo3 삭제함.
- fDataDisplay(0);
- //bbt_query.disabled = "false"; 사용되지 않아서 kimdo3 삭제함.
- bbt_save.enable = true; //.disabled = "false";
- }else {
- sysf_messageBox("환자 정보가 ", "I004");
- }
- }
-
- function cf_TRMNP00703(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- /**
- * 회복실 스케줄조회 내역 클릭시 이벤트
- * 2008-08-09 오후 3:42:17 taebum
- */
-
- function fOnDoulbeClickScheList(row){
- var iCurrentRow = -1 ;
- if(row < 0)
- iCurrentRow = ds_HideData_opschelists_schelist.rowposition;
- else
- iCurrentRow = row;
- if(iCurrentRow < 0){
- return false;
- }
- var iOpStat = ds_HideData_opschelists_schelist.getColumn(iCurrentRow, "opstatnm");
- var sRecovseqno = ds_HideData_opschelists_schelist.getColumn(iCurrentRow, "recovseqno");
- if(iOpStat != "회복" && iOpStat != "종료" ){
- sysf_messageBox("기록을 작성할 수 없는 환자 입니다. 진행상태를 확인하시기 바랍니다.","");
- return false;
- }else{
- if((iOpStat == "종료" && utlf_isNull(sRecovseqno))){
- sysf_messageBox("기록을 작성할 수 없는 환자 입니다. 진행상태를 확인하시기 바랍니다.","");
- return false;
- }
- }
- //마감관련
- //회복간호기록 마감됐는데도 기록지에서 마감체크가 안됐던 부분 오류 수정 by 박영우 2010-02-11
- var recendflag = ds_HideData_opschelists_schelist.getColumn(iCurrentRow, "recendflag");
- if( ( recendflag == "2" )||( recendflag == "3" )) {//회복실이 마감에 포함되어 있으면
- switch1.enable = false;
- }else {
- switch1.enable = true;
- }
- //2009-06-02 오전 9:11:22 강지훈 수정 : 회복간호기록1은 외래일때만 선택가능하다
- var ioflag = ds_HideData_opschelists_schelist.getColumn(iCurrentRow, "oppatflagcd");
- var selectedTab = switch1.tabindex; //selectedIndex;
- /*
- if(selectedTab == 1){ //회복간호기록 2선택
- if(ioflag != "O"){
- button1.visible = false;
- }
- else if(ioflag == "O"){
- button1.visible = true;
- }
- }
- else if(selectedTab == 0){ // 회복간호기록 1선택
- if(ioflag != "O"){
- sysf_messageBox("회복간호기록1은 외래만 작성", "I006");
- return false;
- }
- }
- */
- group7.visible = true;
- //=================================================
- //상단 정보 올리기
- var sPath = "ds_HideData_opschelists_schelist";
- var sPatFlag = utlf_transNullToEmpty(eval(sPath).getColumn( iCurrentRow, "oppatflagcd"));
- if (utlf_isNull(sPatFlag)) {
- sPatFlag = "I";
- }
- var param = "T▦" // 01 O:외래, I:입원구분, T:수술예약
- + utlf_transNullToEmpty(eval(sPath).getColumn( iCurrentRow, "pid" )) + "▦" // 02 등록번호
- + utlf_transNullToEmpty(eval(sPath).getColumn( iCurrentRow, "opcnfmdd" )) + "▦" // 03 수술시작일자
- + utlf_transNullToEmpty(eval(sPath).getColumn( iCurrentRow, "cretno" )) + "▦" // 04 cretno(없는 경우 ""로 처리)
- + utlf_transNullToEmpty(eval(sPath).getColumn( iCurrentRow, "instcd" )) + "▦" // 05 기관코드
- + utlf_transNullToEmpty(eval(sPath).getColumn( iCurrentRow, "perfdeptcd" )) + "▦" // 06 집도과부서
- + utlf_transNullToEmpty(eval(sPath).getColumn( iCurrentRow, "perfdrid" )) + "▦" // 07 집도의ID
- + sPatFlag + "▦" // 08 환자구분
- + "F" + "▦" // 09 F -처리구분 무조건 F로 설정
- + utlf_transNullToEmpty(eval(sPath).getColumn( iCurrentRow, "oprsrvno" )) + "▦" // 10 수술예약번호
- + utlf_transNullToEmpty(eval(sPath).getColumn( iCurrentRow, "ophistno" )) + "▦" // 11 수술이력번호
- + utlf_transNullToEmpty(eval(sPath).getColumn( iCurrentRow, "opcnfmdd" )) + "▦"; // 12 조회일자 2007-09-13 오지훈 추가...
- //frmf_setParameter("condparam", param);
- //frmf_modal("SPMMO08900", "", ""-"", "", "", "", "", "", "", "$16", "", "", "M");
- //frmf_modal("SPMMO08900", "", ""-"", "", "1", "5", "25", "", "", "$16", "", "", "M");
- //modal("SPMMO08900", 1, "", "", "", "SPMMO08900", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
- //frmf_modal("SPMMO08900", "SPMMO08900", "", "", "1", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;", "", "", "M");
- appf_initPatientInfo(param); //상단정보 셋팅
- //=================================================
- savePid = eval(sPath).getColumn( iCurrentRow, "pid");
- saveName = eval(sPath).getColumn( iCurrentRow, "hngnm");
-
- //환자 정보 setting
- ds_HideData_displaypinfo.setColumn( 0, "pinfo1", eval(sPath).getColumn( iCurrentRow, "opcnfmdate"));
- ds_HideData_displaypinfo.setColumn( 0, "pinfo2", eval(sPath).getColumn( iCurrentRow, "oppatflagnm")+ " " +
- eval(sPath).getColumn( iCurrentRow, "hngnm") + " " +
- eval(sPath).getColumn( iCurrentRow, "sa") + " " +
- eval(sPath).getColumn( iCurrentRow, "pid") );
- ds_HideData_displaypinfo.setColumn( 0, "pinfo3", eval(sPath).getColumn( iCurrentRow, "oproomnm") + " " +
- eval(sPath).getColumn( iCurrentRow, "perfdeptnm") + " " +
- eval(sPath).getColumn( iCurrentRow, "perfdrnm") + " " +
- eval(sPath).getColumn( iCurrentRow, "opcdnm") );
- //output10.refresh();
- //output11.refresh();
- //output12.refresh();
- fDataDisplay(iCurrentRow);
-
- //20180525 이돈희 : 신규 입력시 Defalt값으로 통증사정도구는 FPRS 0점, PONV는 0점으로 함
- var sRecovseqno = ds_HideData_opschelists_schelist.getColumn(datagrid5.currentrow, "recovseqno");
- var sGcnt = ds_HideData_opschelists_schelist.getColumn(datagrid5.currentrow, "gcnt") // 전신마취여부(1 : 전신마취)
- var sPcnt = ds_HideData_opschelists_schelist.getColumn(datagrid5.currentrow, "pcnt") // 부위마취여부(1 : 부위마취)
- if(utlf_isNull(sRecovseqno) || sRecovseqno == "-"){
- if((sGcnt == 1) || (sPcnt == 1)){
- ds_main_MnphrecoData_MnphrecoList.setColumn(0, "inpcatype", "1");
- ds_main_MnphrecoData_MnphrecoList.setColumn(0, "inpcagrade", "0");
- ds_main_MnphrecoData_MnphrecoList.setColumn(0, "outpcatype", "1");
- ds_main_MnphrecoData_MnphrecoList.setColumn(0, "outpcagrade", "0");
- ds_main_MnphrecoData_MnphrecoList.setColumn(0, "inponvgrade", "0");
- ds_main_MnphrecoData_MnphrecoList.setColumn(0, "outponvgrade", "0");
- }
- }
-
- //if (ioflag == "O"){
- var sPinfoPath = "ds_init_WorkData";
- var sOprsrvno = eval(sPinfoPath).getColumn(0, "oprsrvno");
- var sPid = eval(sPinfoPath).getColumn(0, "pid");
- var sRecovseqno = eval(sPinfoPath).getColumn(0, "recovseqno");
- if( !(utlf_isNull(sOprsrvno) || utlf_isNull(sPid) || utlf_isNull(sRecovseqno)) ){
-
- //ds_send.clearData();
- //ds_send.addRow();
-
- dsf_makeValue( ds_send, "recovseqno", "string", sRecovseqno);
-
- //if(submit("TRMNP00715")){
- var oParam = {};
- oParam.id = "TRMNP00715";
- oParam.service = "opanstapp.OpAnstRef";
- oParam.method = "reqGetSavedRecovRecCnt";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_temp_reccnt=reccnt";
- oParam.async = false;
- oParam.callback = "cf_TRMNP00715";
- tranf_submit(oParam);
- if(arErrorCode.pop("TRMNP00715") > -1){
- var reccnt = ds_temp_reccnt.getColumn(0, "reccnt");
- if(reccnt > 0){
- fGetGiRok1Data("RELOAD", ds_main_revrInfo_mnphrevrtitle.getColumn(0, "data1"));
- }
- }
- }
- //}
- if(selectedTab == 1){
- //model.toggle("case2");
- //button7.selected = true;
- //button1.selected = false;
- switch1.tabindex = 0; // 회복간호기록 II를 선택하는 것을 의미.
- }
- return true;
- }
- function cf_TRMNP00715(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- /* --------------------------------------------------*/
- /* desc : 간호특이사항 기록 조회 */
- /* --------------------------------------------------*/
- function CareRecList_Read() {
- var wPath = "ds_init_WorkData" ;
- var opPath = "ds_HideData_opschelists_schelist";
- var curRow = eval(opPath).currentRow;
-
- ds_send.clearData();
- ds_send.addRow();
- dsf_makeValue( ds_send, "pid", "string", eval(wPath).getColumn(0, "pid" )); // 환자번호
- dsf_makeValue( ds_send, "instcd", "string", eval(wPath).getColumn(0, "instcd" )); // 기관코드
- //외래환자 추가되면서 외래_입원 구분으로 orddd, indd를 send로 보낸다 by 박영우 2010-03-03
- var oppatflagcd = eval(opPath).getColumn( curRow, "oppatflagcd");
- if(oppatflagcd != "O") {
- dsf_makeValue( ds_send, "indd", "string", ds_main_MnphrecoData_MnphrecoList.getColumn(0, "indt")); // 입원일자
- dsf_makeValue( ds_send, "cretno", "string", eval(wPath).getColumn(0, "cretno" )); // 생성번호
- }
- else {
- dsf_makeValue( ds_send, "orddd", "string", ds_main_MnphrecoData_MnphrecoList.getColumn(0, "indt")); // 입원일자
- dsf_makeValue( ds_send, "cretno", "string", eval(opPath).getColumn( curRow, "cretno" )); // 생성번호
- }
- dsf_makeValue( ds_send, "ioflag", "string", eval(wPath).getColumn(0, "ioflag" )); // I_O 구분
- dsf_makeValue( ds_send, "dnarflag", "string", "%"); // dnar 구분
- dsf_makeValue( ds_send, "sortseq", "string", "A"); // 정렬순서(A:오름차순, D:내림차순)
- dsf_makeValue( ds_send, "recflag", "string", "R");
- dsf_makeValue( ds_send, "reclnkkey", "string", eval(wPath).getColumn(0, "pid") +
- "," + eval(wPath).getColumn(0, "instcd") +
- "," + eval(wPath).getColumn(0, "oprsrvno") +
- "," + eval(wPath).getColumn(0, "ophistno")); // 기록연계키
- dsf_makeValue( ds_send, "prestdt", "string", utlf_getCurrentDate() + utlf_getCurrentTime()); // 현재일시
- //submit("TRMNP00702"); // 간호특이사항 기록 조회
- var oParam = {};
- oParam.id = "TRMNP00702";
- oParam.service = "opanstapp.OpAnstRef";
- oParam.method = "reqGetMnrmnsrcList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_init_CareRecLists_carereclist=carereclist";
- oParam.async = false;
- tranf_submit(oParam);
-
- ds_init_CareRecLists_carereclist.rowposition = -1;
-
- //datagrid8 의 Binding Dataset : ds_init_CareRecLists_carereclist
-
- group7.visible = false;
- }
- /* ------------------------------------------------- */
- /* SMMNP00700_회복기록 */
- /* On Load 시 Call */
- /* desc :회복기록 정보 가져오기 */
- /* --------------------------------------------------*/
- function MnphrecoList_Read() {
- var xPathOpCd = "ds_init_workinst_OpcdData_opcdlist" ; // 수술전 수술명
- var wPath = "ds_init_WorkData" ;
-
- ds_send.clearData();
- ds_send.addRow();
-
- dsf_makeValue( ds_send, "pid", "string", eval(wPath).getColumn(0, "pid" )); // 환자번호
- dsf_makeValue( ds_send, "instcd", "string", eval(wPath).getColumn(0, "instcd" )); // 기관코드
- dsf_makeValue( ds_send, "oprsrvno", "string", eval(wPath).getColumn(0, "oprsrvno" )); // 의뢰번호
- dsf_makeValue( ds_send, "ophistno", "string", eval(wPath).getColumn(0, "ophistno" )); // 이력번호
- dsf_makeValue( ds_send, "recovseqno", "string", eval(wPath).getColumn(0, "recovseqno")); // 회복기록연계코드
- dsf_makeValue( ds_send, "resafegrupcd", "string", resafegrupcd); // 안전관리점검 구분코드
- dsf_makeValue( ds_send, "reintubgrupcd", "string", "250"); // 삽관류체크리스트 구분코드
- // ds_main_MnphrecoData_MnphrecoList.clearData();
- //ds_main_MnphrecoData_MnphrecoList.clearData(); ds_main_MnphrecoData_MnphrecoList.addRow();
-
- ds_main_MnphrecoData_MnphrecoList.clearData();
- ds_main_MnphrecoData_MnphrepmList.clearData();
- ds_main_MnphrecoData_AnstDoctList.clearData();
- ds_main_MnphrecoData_MnphresmList.clearData();
- ds_main_MnphrecoData_MnphreIntubchkList.clearData();
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.clearData();
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.addRow();
-
- //총 회복시간 정보 clear
- ds_HideData_recoinfo.clearData();
- ds_HideData_recoinfo.addRow();
-
- ds_HideData_recoinfo.setColumn( 0, "recototaltime","");
- //output15.refresh();
- bbt_save.enable = false; //.disabled = "true";
- // 안전관리 datagrid all check by 박영우
- //switch1.case2.grd_resafe.caption = "^안전관리^안전관리상세^회복실연계코드^status^resafeuptid^resafeuptnm";
- switch1.case2.grd_resafe.setCellProperty("head", 0, "displaytype", "checkbox");
- switch1.case2.grd_resafe.setCellProperty("head", 0, "edittype", "checkbox");
- switch1.case2.grd_resafe.setCellProperty("head", 0, "text", "expr:0");
- switch1.case2.grd_resafe.setCellProperty("head", 1, "text", "안전관리");
- switch1.case2.grd_resafe.setCellProperty("head", 2, "text", "안전관리상세");
- switch1.case2.grd_resafe.setCellProperty("head", 3, "text", "회복실연계코드");
- switch1.case2.grd_resafe.setCellProperty("head", 4, "text", "status");
- switch1.case2.grd_resafe.setCellProperty("head", 5, "text", "resafeuptid");
- switch1.case2.grd_resafe.setCellProperty("head", 6, "text", "resafeuptnm");
- //switch1.case2.grd_resafe.fixedcellcheckbox(0, 0) = true;
- //switch1.case2.grd_resafe.fixedcellischeck(0, 0) = false;
- // 삽관류 항목 datagrid all check by 손성훈.
- //switch1.case2.grd_reintub.caption = "^삽관류명^삽관류상세^회복실연계코드^status^reintubuptid^reintubuptnm";
- switch1.case2.grd_reintub.setCellProperty("head", 0, "displaytype", "checkbox");
- switch1.case2.grd_reintub.setCellProperty("head", 0, "edittype", "checkbox");
- switch1.case2.grd_reintub.setCellProperty("head", 0, "text", "expr:0");
- switch1.case2.grd_reintub.setCellProperty("head", 1, "text", "삽관류명");
- switch1.case2.grd_reintub.setCellProperty("head", 2, "text", "삽관류상세");
- switch1.case2.grd_reintub.setCellProperty("head", 3, "text", "회복실연계코드");
- switch1.case2.grd_reintub.setCellProperty("head", 4, "text", "status");
- switch1.case2.grd_reintub.setCellProperty("head", 5, "text", "reintubuptid");
- switch1.case2.grd_reintub.setCellProperty("head", 6, "text", "reintubuptnm");
- //grd_reintub.fixedcellcheckbox(0, 0) = true;
- //grd_reintub.fixedcellischeck(0, 0) = false;
-
- //if (!submit("TRMNP00701")) { // 회복기록을 가져온다.
-
- var oParam = {};
- oParam.id = "TRMNP00701";
- oParam.service = "opanstapp.OpAnstRef";
- oParam.method = "reqGetMnphrecoList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_MnphrecoData_MnphrecoList=MnphrecoList " +
- "ds_main_MnphrecoData_MnphrepmList=MnphrepmList " +
- "ds_main_MnphrecoData_AnstDoctList=AnstDoctList " +
- "ds_main_MnphrecoData_MnphresmList=MnphresmList " +
- "ds_main_MnphrecoData_MnphreIntubchkList=MnphreIntubchkList ";
- oParam.async = false;
- oParam.callback = "cf_TRMNP00701";
- tranf_submit(oParam);
-
- if( utlf_isNull(ds_main_MnphrecoData_MnphrecoList.getColumnInfo("pregoodlist")) ){
- ds_main_MnphrecoData_MnphrecoList.addColumn("pregoodlist", "string");
- }
-
- ds_main_MnphrecoData_MnphrepmList.rowposition = -1;
- ds_main_MnphrecoData_MnphresmList.rowposition = -1;
- ds_main_MnphrecoData_MnphreIntubchkList.rowposition = -1;
- if (arErrorCode.pop("TRMNP00701") < 0) { // 회복기록을 가져온다.
- return;
- }
-
- dsf_makeValue(ds_main_MnphrecoData_MnphrecoList, "outconfirmdoctorid_tmp", "string", ds_main_MnphrecoData_MnphrecoList.getColumn(0, "outconfirmdoctorid") );
- // dsf_makeValue(ds_main_MnphrecoData_MnphrecoList, "prtctairwayid_tmp", "string", ds_main_MnphrecoData_MnphrecoList.getColumn(0, "prtctairwayid") );
- // dsf_makeValue(ds_main_MnphrecoData_MnphrecoList, "prtctcairwayextid_tmp", "string", ds_main_MnphrecoData_MnphrecoList.getColumn(0, "prtctcairwayextid") );
-
-
- var sSingnno = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "pkidatetimems");
- //인증저장 번호가 있으면 안전점검관리 최종 확인한 간호사 이름 표시
- if(!utlf_isNull(sSingnno)) {
- switch1.case2.opt_resafecertid.value = ds_main_MnphrecoData_MnphresmList.lookupExpr("resafeuptid != ''", "resafeuptnm");
- } else {
- switch1.case2.opt_resafecertid.value = "";
- }
- //수술실 마취, 수술실 회복실이 아닌 경우 저장버튼 비활성화
- //ICU부서인 경우 수술간호기록에서 퇴실장소가 회복실을 제외한 환자들 저장 가능하게.. by 박영우 2010-02-28
- var dutplcecd = sysf_getUserInfo("dutplcecd"); // 로그인한 부서코드
- var iCurrentRow = datagrid5.currentrow;
- var sOpPatoutrmplcecd = "";
- var sInstcd = "";
- if(!(dutplcecd == ds_code_codeinfo_codelist.lookupExpr("cdgrupid == '016'", "cdid") || // 수술실 마취
- dutplcecd == ds_code_codeinfo_codelist.lookupExpr("cdgrupid == '017'", "cdid"))) { // 수술실 회복실 이 아닌 경우..
- for(var i = 0; i < ds_code_codeinfo_codelist.rowcount; i++) { // 부서가 중환자실일 경우
- if(ds_code_codeinfo_codelist.getColumn(i, "cdgrupid") == "095") {
- if(dutplcecd == ds_code_codeinfo_codelist.getColumn(i, "cdid")) {
- sOpPatoutrmplcecd = ds_HideData_opschelists_schelist.getColumn(iCurrentRow, "opoutrmplcecd"); //해당환자의 수술실 퇴실장소
- if(sysf_getUserInfo("dutplceinstcd") == vincentinstcd) { // 빈센트 병원의 경우 퇴실장소코드 "25"번이 주사실이라 분기
- if(sOpPatoutrmplcecd == "01" || sOpPatoutrmplcecd == "26" || utlf_isNull(sOpPatoutrmplcecd)) { // 회복실 혹은 수술실, 분만실이면 제외
- bbt_save.enable = false; //.disabled = true;
- btn_rgst_sct.enable = false;
- switch1.case2.bbt_inroom.enable = false; //.disabled = true;
- switch1.case2.bbt_outroom.enable = false;
- } else {
- if(!utlf_isNull(sSingnno)){
- switch1.case2.bbt_inroom.enable = true; //.disabled = false;
- switch1.case2.bbt_outroom.enable = true;
- btn_rgst_sct.enable = true;
- } else {
- switch1.case2.bbt_inroom.enable = true; //.disabled = false;
- switch1.case2.bbt_outroom.enable = true;
- bbt_save.enable = true; //.disabled = false;
- btn_rgst_sct.enable = true;
- }
- }
- } else {
- if(sOpPatoutrmplcecd == "01" || sOpPatoutrmplcecd == "26" || sOpPatoutrmplcecd == "25" || utlf_isNull(sOpPatoutrmplcecd)) { // 회복실 혹은 수술실, 분만실이면 제외
- bbt_save.enable = false; //.disabled = true;
- btn_rgst_sct.enable = false;
- switch1.case2.bbt_inroom.enable = false; //.disabled = true;
- switch1.case2.bbt_outroom.enable = false;
- } else {
- if(!utlf_isNull(sSingnno)){
- switch1.case2.bbt_inroom.enable = true; //.disabled = false;
- switch1.case2.bbt_outroom.enable = true;
- btn_rgst_sct.enable = true;
- } else {
- switch1.case2.bbt_inroom.enable = true; //.disabled = false;
- switch1.case2.bbt_outroom.enable = true;
- bbt_save.enable = true; //.disabled = false;
- btn_rgst_sct.enable = true;
- }
- }
- }
- break;
- } else { // 해당사항이 없을 경우..
- bbt_save.enable = false; //.disabled = true;
- btn_rgst_sct.enable = false; //.disabled = true;
- switch1.case2.bbt_inroom.enable = false; //.disabled = true;
- switch1.case2.bbt_outroom.enable = false; //.disabled = true;
- }
- }
- }
- } else { // 수술실 회복실, 수술실 마취일 경우
- if(!utlf_isNull(sSingnno)){
- switch1.case2.bbt_inroom.enable = true; //disabled = false;
- switch1.case2.bbt_outroom.enable = true;
- btn_rgst_sct.enable = true;
- } else {
- switch1.case2.bbt_inroom.enable = true; //.disabled = false;
- switch1.case2.bbt_outroom.enable = true;
- bbt_save.enable = true; //.disabled = false;
- btn_rgst_sct.enable = true;
- }
- }
- //회복기록 가능한 근무지를 가진 사람들 열어줌(20150515 이윤주 추가)
- var cnt = ds_code_codeinfo_codelist.getCaseCount("cdgrupid == '090' && cdid == '" + dutplcecd + "'"); //getNodeSetCnt("
- if(cnt > 0) {
-
- if(!utlf_isNull(sSingnno)){
- switch1.case2.bbt_inroom.enable = true; //.disabled = false;
- switch1.case2.bbt_outroom.enable = true;
- btn_rgst_sct.enable = true;
- } else {
- switch1.case2.bbt_inroom.enable = true; //.disabled = false;
- switch1.case2.bbt_outroom.enable = true;
- bbt_save.enable = true; //.disabled = false;
- btn_rgst_sct.enable = true;
- }
-
- }
- //2008-09-19 오후 4:29:24 taebum 입실 및 퇴실저장을 하였을 경우 색표시
- var sTmpStat = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recstat");
- if(sTmpStat == "U"){
- if( !utlf_isNull(ds_main_MnphrecoData_MnphrecoList.getColumn(0, "inrmdt")) &&
- !utlf_isNull(ds_main_MnphrecoData_MnphrecoList.getColumn(0, "inrmtm")) &&
- !utlf_isNull(ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recinusernm")) ){
- switch1.case2.inp_inrmdt.style.color = "#0000ff";
- switch1.case2.inp_inrmtm.style.color = "#0000ff";
- }
- if( !utlf_isNull(ds_main_MnphrecoData_MnphrecoList.getColumn(0, "outrmdt")) &&
- !utlf_isNull(ds_main_MnphrecoData_MnphrecoList.getColumn(0, "outrmtm")) &&
- !utlf_isNull(ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recoutusernm")) ){
- switch1.case2.inp_outrmdt.style.color = "#0000ff";
- switch1.case2.inp_outrmtm.style.color = "#0000ff";
- }
- }else{
- switch1.case2.inp_inrmdt.style.color = "#000000";
- switch1.case2.inp_inrmtm.style.color = "#000000";
- switch1.case2.inp_outrmdt.style.color = "#000000";
- switch1.case2.inp_outrmtm.style.color = "#000000";
- }
- XmlDataCheck();
-
-
- fn_clearChkPrtctairway();
-
- dsf_setDefaultVal(ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist, "all");
-
- // 초기화값 이상 겨우 처리를 위해 kimdo3 2016/10/22
- var _tmp_prtctairwaydt = ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.getColumn(0, "prtctairwaydt");
- if( _tmp_prtctairwaydt == "/") {
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn(0, "prtctairwaydt", "");
- }
-
- dsf_setDefaultVal(ds_main_MnphrecoData_MnphrecoList_drgecdspec_lists_drgecdlist, "all");
- dsf_setDefaultVal(ds_main_MnphrecoData_MnphrecoList_pataddtool_pataddlists_pataddlist, "all");
-
- // Xml Data가 없는 경우 구조를 Copy한다.
- if(utlf_isNull(ds_main_MnphrecoData_MnphrecoList_drgecdspec_lists_drgecdlist.getColumn(0, "goodcd"))){
- ds_main_MnphrecoData_MnphrecoList_drgecdspec_lists_drgecdlist.clearData();
- //datagrid3.rebuild();
- }
- if(utlf_isNull(ds_main_MnphrecoData_MnphrecoList_pataddtool_pataddlists_pataddlist.getColumn(0, "toolnm"))){
- ds_main_MnphrecoData_MnphrecoList_pataddtool_pataddlists_pataddlist.clearData();
- //datagrid7.rebuild();
- }
- //2008-08-12 오후 1:02:09 taebum 마취기록 발관, 삽관정보 연동 관련 추가
- var sInData = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "indata");
- var sRecstat = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recstat");
- if(sRecstat == "I" && !utlf_isNull(sInData) && sInData != "▥▥"){
- var sInDataArr = sInData.split("▥");
- var sIndt = sInDataArr[0];
- var sInDoctId = sInDataArr[1];
- var sInDoctNm = sInDataArr[2];
- //수술실 회복실 구분
- if(sRecstat == "I" && !utlf_isNull(sIndt) ){
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctplacecd", "O");
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayadddt",sIndt.substr(0,8));
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayaddtm",sIndt.substr(8,4));
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayid", sInDoctId);
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayid_tmp", sInDoctId);
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwaynm", sInDoctNm);
- }
- }
- var sOutData = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "extdata");
- if(sRecstat == "I" && !utlf_isNull(sOutData) && sOutData != "▥▥"){
- var sOutDataArr = sOutData.split("▥");
- var sOutdt = sOutDataArr[0];
- var sOutDoctId = sOutDataArr[1];
- var sOutDoctNm = sOutDataArr[2];
- var sOutBP = sOutDataArr[3];
- var sOutP = sOutDataArr[4];
- var sOutSPO = sOutDataArr[5];
- }
- if(sRecstat == "I" && !utlf_isNull(sOutdt) ){
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctplacecd", "O");
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwaydt", sOutdt.substr(0,8));
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwaytm", sOutdt.substr(8,4));
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctcairwayextid",sOutDoctId);
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctcairwayextid_tmp",sOutDoctId);
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayextnm" ,sOutDoctNm);
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "notprtctairway", "");
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayextbp" , sOutBP);
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayextp" , sOutP);
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayextspo" , sOutSPO);
- }
- //radio6.refresh();
- //group5.refresh();
- //checkbox2.refresh();
- fMakeRecoTotalTime(); //총 회복 소요시간 setting
- //2008-09-01 오후 8:08:54 taebum 콤보박스 빈 값 추가
- frmf_addComboItem( "switch1.case2.group5.combo4", " ", "", "above" );
- //=================== 조회 후 마감 처리 =========================
- var recendflag = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recendflag");
- //회복간호기록 마감됐는데도 기록지에서 마감체크가 안됐던 부분 오류 수정 by 박영우 2010-02-11
- if( ( recendflag == "2" )||( recendflag == "3" )) {//회복실이 마감에 포함되어 있으면
- switch1.enable = false;
- bbt_save.enable = false;
- btn_rgst_sct.enable = false;
- }else {
- switch1.enable = true;
- }
- //================================================================
- //2008-09-25 오후 9:20:06 수술실에서 넘어온 기도유지 정보가 있을 경우 임시node에 저장
- if(ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.getColumn(0, "prtctplacecd") == "O"){
- ds_hidden_hiddendata_anstinfospec.clearData();
- ds_hidden_hiddendata_anstinfospec.copyData(ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist);
- }
-
-
- fn_setChkPrtctairway();
-
- //20180817 이돈희 : 조회결과 통증사정도구가 FLACC인 경우 점수를 비활성화, 아니면 활성화함
- if(ds_main_MnphrecoData_MnphrecoList.getColumn(0, "inpcatype") == "2"){
- switch1.case2.combo_pca_in_grade.enable = false;
- }
- else{
- switch1.case2.combo_pca_in_grade.enable = true;
- }
- if(ds_main_MnphrecoData_MnphrecoList.getColumn(0, "outpcatype") == "2"){
- switch1.case2.combo_pca_out_grade.enable = false;
- }
- else{
- switch1.case2.combo_pca_out_grade.enable = true;
- }
- }
- function cf_TRMNP00701(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- /* ------------------------------------------------- */
- /* desc : 회복기록 자료저장하기 */
- /* param : pModel - Model */
- /* tNode - Target Node */
- /* sNode - Source Node */
- /* return : */
- /* -------------------------------------------------- */
- function fSave(pFlag){
- //ds_main_MnphrecoData_MnphrecoList
- var sTempOprsrvno = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "oprsrvno");
- if(utlf_isNull(sTempOprsrvno)){
- return;
- }
-
- xNode = xPathData;
- nLen = eval(xNode).rowcount; //.childNodes.length;
- var iCurrentRow = ds_HideData_opschelists_schelist.rowposition; //datagrid5.row;
- var sData = "";
- var nName = "";
- var sPath = "";
- var tNode = "ds_send_MnphrecoList";
- dsf_setDefaultVal(ds_main_MnphrecoData_MnphrecoList, "all");
-
- var sOutplcenm = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "outplcenm");
- //2008-08-11 오전 9:54:29 taebum 주석처리
- //var sOpstatcdnew = ds_main_opPatLists_opPatList.getColumn(0, "opstatcd");
- //var sOpstatcd = ds_main_opPatLists_opPatList.getColumn(0, "opstatcd");
- //스케줄 정보 이용 주석처리
- //var sOpstatcdnew = ds_HideData_opschelists_schelist.getColumn(iCurrentRow, "opstatcd");
- //var sOpstatcd = ds_HideData_opschelists_schelist.getColumn(iCurrentRow, "opstatcd");
- var sOpstatcdnew = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "opstatcd");
- var sOpstatcd = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "opstatcd");
- sInrmdt = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "inrmdt")
- + ds_main_MnphrecoData_MnphrecoList.getColumn(0, "inrmtm");
- outrmdt = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "outrmdt")
- + ds_main_MnphrecoData_MnphrecoList.getColumn(0, "outrmtm");
-
- if(pFlag == "1"){
- if(utlf_isNull(sInrmdt) || String(sInrmdt).replace(' ', '').length < 12){
- sysf_messageBox("입실일시를 입력하십시오.","I000");
- return;
- }
- if(ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recstat") != "U"){
- //button5.dispatch("DOMActivate");
- switch1_case2_button5_onclick(null, null);
- }
- }
- if( pFlag == "C" ) {
- fChkPatAddTool();
- }
- eval(tNode).clearData();
- eval(tNode).copyData(eval(xNode));
-
- dsf_setDefaultVal(eval(tNode), "all");
-
- lf_convertDsToXml_All();
-
- // 필수 확인.
- //
- // for (var i = 0; i < nLen; i++){
- // nName = xNode.childNodes(i).nodeName;
- // sPath = xPathData + "/" + nName;
- // cNode = instance1.selectSingleNode(sPath);
- //
- // if (cNode.childNodes.length > 0 ) {
- // sData = instance1.selectSingleNode(sPath+"/"+cNode.childNodes(0).nodeName).xml;
- // } else {
- // sData = xNode.childNodes(i).nodeValue;
- // }
- //
- // //alert(sPath+"===>>"+sData);
- // //alert(tNode+ " , " + nName+ " : " +sData);
- // model.makeValue(tNode+ "/" + nName, sData);
- // }
- var sTempRecMode = pFlag;
- if(sTempRecMode != "1" && sTempRecMode != "2"){
- sTempRecMode = "";
- }
- dsf_makeValue( eval(tNode), "recmode", "string", sTempRecMode); // 기록모드
- // model.setValue(tNode+ "_recovroom",ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recovroom").substr(2,2));
- dsf_makeValue( eval(tNode), "inrmdt", "string" ,sInrmdt); // 입실일시
- dsf_makeValue( eval(tNode), "outrmdt", "string" ,outrmdt); // 퇴실일시
-
- var sInRoomRecDt = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recindttm");
- var sOutRoomRecDt = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recoutdttm");
- var sInScore = ds_main_MnphrecoData_MnphrecoList_recovstatvalutable_valuitemlists.getColumn(0, "valuitemarrvtot");
- var sOutScore = ds_main_MnphrecoData_MnphrecoList_recovstatvalutable_valuitemlists.getColumn(0, "valuitemleavtot");
- var blodrecord = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "blodrecord");
- //2008-09-01 오후 3:40:53 taebum 인증저장일 경우 Blocking 추가
- if(pFlag == "C" || pFlag == "2"){
- if(pFlag == "2"){
- var sTmpRecIndttm = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recindttm");
- if(utlf_isNull(sInRoomRecDt) || String(sInRoomRecDt).replace(' ', '').length < 12 || utlf_isNull(sTmpRecIndttm)){
- sysf_messageBox("입실저장을 하십시오.","I000");
- return;
- }
- if(sInScore < "1"){
- sysf_messageBox("입실시 회복상태 평가표를 입력하십시오.","I000");
- return;
- }
- if(ds_main_MnphrecoData_MnphrecoList_recovstatvalutable_valuitemlists.getColumn(0, "valuitemleavtot") == "0"){
- sysf_messageBox("퇴실시 회복상태 평가표를 입력하십시오.","I000");
- return;
- }
-
- if(blodrecord > 0){
- sysf_messageBox("종료되지 않은 수혈간호업무가 있습니다. 수혈간호기록 종료 여부를 확인하시기 바랍니다.","I000");
- }
-
- }else{
- if(utlf_isNull(sOutRoomRecDt)){
- sysf_messageBox("퇴실저장을 하십시오.","I000");
- return;
- }
- }
- if(pFlag == "2" && (utlf_isNull(outrmdt) || String(outrmdt).replace(' ', '').length < 12)){
- sysf_messageBox("퇴실일시를 입력하십시오.","I000");
- return;
- }
- if(utlf_isNull(sInrmdt) && !utlf_isNull(outrmdt)){
- sysf_messageBox("퇴실일시가 입력되었으므로 입실일시도 입력하십시오.","I000");
- return;
- }
- if(!utlf_isNull(sInrmdt) && !utlf_isNull(outrmdt) && sInrmdt >= outrmdt){
- sysf_messageBox("퇴실일시가 입력일시보다 시간이 이릅니다. 다시 입력하십시오.","I000");
- return;
- }
- if((!utlf_isNull(outrmdt) && utlf_isNull(sOutplcenm)) || utlf_isNull(sOutplcenm)){
- sysf_messageBox("퇴실장소를 입력하십시오.","I000");
- return;
- }
- if((utlf_isNull(outrmdt) && !utlf_isNull(sOutplcenm)) || utlf_isNull(outrmdt)){
- sysf_messageBox("퇴실일시를 입력하십시오.","I000");
- return;
- }
- if(pFlag == "C"){
- if(sInScore < "1"){
- sysf_messageBox("입실시 회복상태 평가표를 입력하십시오.","I000");
- return;
- }
- if(sOutScore < "1"){
- sysf_messageBox("퇴실시 회복상태 평가표를 입력하십시오.","I000");
- return;
- }
- if(blodrecord > 0){
- sysf_messageBox("종료되지 않은 수혈간호업무가 있습니다. 수혈간호기록 종료 여부를 확인하시기 바랍니다.","I000");
- }
- }
- }
-
- //2008-06-04 오후 2:49:52 taebum
- //수술예약정보 테이블의 환자위치정보 저장을 위한 변수 선언
- var sPatposplcecd = "";
- var sSmsPlaenm = ""; //SMS전송시 퇴실 장소명
- //2008-08-12 오전 10:59:40 taebum 70 회복종료 정보를 쓰지 않고 50 종료를 쓰기로 함.
- //2008-09-01 오후 4:51:07 퇴실시간이 있을 경우 무조건 수술예약정보 수정
- //if (sOpstatcd == "60" && sOpstatcd != "99" && outrmdt != "") {//회복일 경우
- if (!utlf_isNull(outrmdt))
- {//회복일 경우
- sOpstatcdnew = "50" ; // 진행상태:회복퇴실
- sPatposplcecd = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "outplcenm");//퇴실장소정보
- sSmsPlaenm = ds_init_M0021_M0021.lookupExpr("cdid == '" + sPatposplcecd + "'", "cdnm");
- dsf_makeValue( eval(tNode), "smsoutplcenm", "string" , sSmsPlaenm);
- }
- else
- {
- sPatposplcecd = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recovroom");//회복장소정보
- }
- dsf_makeValue( eval(tNode), "sndoutsmsflag" , "string", ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.getColumn(0, "outsmsmsgflag"));
- dsf_makeValue( eval(tNode), "opstatcd" , "string", sOpstatcd); // 수술상태
- dsf_makeValue( eval(tNode), "opstatcdnew", "string", sOpstatcdnew); // 수술상태
- //model.makeValue(tNode+ "_ophistno", ds_main_opPatLists_opPatList.getColumn(0, "ophistno")); //2008-08-11 오후 3:01:51
- dsf_makeValue( eval(tNode), "ophistno", "string", ds_main_MnphrecoData_MnphrecoList.getColumn(0, "ophistno"));
- dsf_makeValue( eval(tNode), "patposplcecd", "string", sPatposplcecd); // 환자위치정보
- //2008-06-04 오전 9:03:20 taebum add
- //**********************************************************************
- //합병증정보 생성
- fMakeComplInfo();
- //안전관리 점검 정보 생성 by 박영우 20100316
- fMakeResafeInfo();
- //삽관류 리스트 정보 생성 by 손성훈. 2012.05.16
- fMakeReintubInfo();
-
- var sPreGoodList = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "pregoodlist");
- var sDeptRemark = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "deptremark");
- dsf_makeValue( eval(tNode), "pregoodlist", "string" , sPreGoodList); //부서준비물품내역
- dsf_makeValue( eval(tNode), "deptremark", "string" , sDeptRemark); //부서전달사항
- //**********************************************************************
- //인증관련
- var CertFlag = true;
- if (pFlag == "C") {
- //*****************************
- //인증저장 구분 setting
- sSignFlag = "G";
- //*****************************
- CertFlag = fSignProcessSet();
- }
- if (CertFlag == false) return; // 인증실패
- if(pFlag != "C"){
- pFlag = "T";
- }
-
- dsf_makeValue( eval(tNode), "certflag", "string",pFlag);
- dsf_makeValue( eval(tNode), "recodeptcd", "string", ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recodeptcd"));
- //progress 체크
- // datagrid2 --> ds_main_revrInfo_mnphrepg로 대체함.
- for(var i = 0 ; i < ds_main_revrInfo_mnphrepg.rowcount; i++){
- if(utlf_isNull(ds_main_revrInfo_mnphrepg.getColumn(i, "progressno"))){
- sysf_messageBox("Progressno 누락 정보가 존재합니다. 수정 후 저장하십시요.", "E");
- return;
- }else{
- for(var j = i + 1 ; j < ds_main_revrInfo_mnphrepg.rowcount ; j++){
- if(ds_main_revrInfo_mnphrepg.getColumn(i,"progressno") == ds_main_revrInfo_mnphrepg.getColumn(j,"progressno")) {
- sysf_messageBox("동일한 Progressno가 존재합니다. 수정 후 저장하십시요.", "E");
- return;
- }
- }
- }
- }
- //장비 사용 정보 시작_종료 시간 자동 입력 처리
- /*
- for( var i = 1 ; i <= getNodesetCount(sTempGridXpath) ; i++ ){
- alert(model.getValue(sTempGridXpath + "[" + i + "]_usesrttm") + " " + sInrmdt);
- if(model.getValue(sTempGridXpath + "[" + i + "]_usesrttm") == ""){
- model.setValue(sTempGridXpath + "[" + i + "]_usesrttm", sInrmdt);
- }
- if(model.getValue(sTempGridXpath + "[" + i + "]_useendtm") == ""){
- model.setValue(sTempGridXpath + "[" + i + "]_useendtm", outrmdt);
- }
- }*/
- //model.resetInstanceNode(tNode);
- //LiveException 위한 환자 이름 추가 by 박영우 20100323
- dsf_makeValue( eval(tNode), "patname", "string", ds_main_MnphrecoData_MnphrecoList.getColumn(0, "patname"));
- //if(submit("TXMNP00701", false)){
- var oParam = {};
- oParam.id = "TXMNP00701";
- oParam.service = "opanstapp.OpAnstRef";
- oParam.method = "reqExeMnphrecoInfo";
- oParam.inds = "MnphrecoList=ds_send_MnphrecoList signinfo=ds_send_signdata";
- oParam.outds = "ds_temp_seqno=seqno";
- oParam.async = false;
- oParam.callback = "cf_TXMNP00701";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TXMNP00701") > -1){ // 회복실간호기록정보 저장
- //2009-06-03 오전 9:35:51 강지훈 수정 : 인증저장 버튼 merge
- ds_main_paminfo_list.clearData();
- node = sysf_getGlobalVariable("paminfo");
- dsf_setCSVToDs("ds_main_paminfo_list", node);
-
- var sIOFlag = ds_main_paminfo_list.getColumn(0, "ioflag"); // I_O 구분
-
- dsf_makeValue(ds_main_revrInfo_recopkinfo, "recovseqno", "string", ds_temp_seqno.getColumn(0, "recovseqno"));
- var sRecovseqno = ds_main_revrInfo_recopkinfo.getColumn(0, "recovseqno");
-
- //if(sIOFlag == "O"){
- if(!utlf_isNull(sRecovseqno)){
- if (pFlag == "C" || pFlag == "1" ) {
- fSaveGirok1("C");
- }
- if(pFlag != "C"){
- fSaveGirok1("U");
- }
- }
- //}
- if(pFlag == "C"){
- if(ds_temp.rowcount <= 0) {
- ds_temp.addRow();
- }
- ds_temp.setColumn(0, "signflag", "");
- dsf_makeValue( ds_temp, "signflag", "string", "Y");
- fSignProcessSet(); //인증 로직
- ds_temp.setColumn( 0, "signflag", "");
- }
-
- //submit("TXMNP00703", false); //인증저장
-
- var oParam = {};
- oParam.id = "TXMNP00703";
- oParam.service = "opanstapp.OpAnstRef";
- oParam.method = "reqExeSignInfo";
- oParam.inds = "signinfo=ds_send_signdata MnphrecoList=ds_send_MnphrecoList";
- oParam.outds = "ds_temp_seqno=seqno";
- oParam.async = false;
-
- tranf_submit(oParam);
-
- }
- else{
- alert("저장에 실패하였습니다.");
- }
- //sysf_messageBox("자료 저장이", "I002" );
- eval(xPathData).setColumn( 0, "recstat" ,"U"); // Record 상태정보 I:신규,U:수정
- eval(xPathData).setColumn( 0, "recovseqno", ds_temp_seqno.getColumn(0, "recovseqno")); // 진행상태
- //2008-09-19 오후 4:29:24 taebum 입실 및 퇴실저장을 하였을 경우 색표시
- var sTmpStat = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recstat");
- if(sTmpStat == "U"){
- if(pFlag == "1"){
- if( !utlf_isNull(ds_main_MnphrecoData_MnphrecoList.getColumn(0, "inrmdt")) &&
- !utlf_isNull(ds_main_MnphrecoData_MnphrecoList.getColumn(0, "inrmtm")) &&
- !utlf_isNull(ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recinusernm")) ){
- switch1.case2.inp_inrmdt.style.color = "#0000ff";
- switch1.case2.inp_inrmtm.style.color = "#0000ff";
- }
- }else if(pFlag == "2"){
- if( !utlf_isNull(ds_main_MnphrecoData_MnphrecoList.getColumn(0, "outrmdt")) &&
- !utlf_isNull(ds_main_MnphrecoData_MnphrecoList.getColumn(0, "outrmtm")) &&
- !utlf_isNull(ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recoutusernm")) ){
- switch1.case2.inp_outrmdt.style.color = "#0000ff";
- switch1.case2.inp_outrmtm.style.color = "#0000ff";
- }
- }
- }
- //2008-09-06 오후 3:50:25 taebum 저장 후 재조회하는 패턴 변경.
- var cPath = "ds_HideData_opschelists_schelist"; //["+iCurrentRow+"]";
- var wPath = "ds_init_WorkData" ; //
- eval(wPath).setColumn( 0, "pid" , eval(xPathData).getColumn(0, "pid" )); // 환자번호
- eval(wPath).setColumn( 0, "instcd" , eval(xPathData).getColumn(0, "instcd" )); // 기관코드
- eval(wPath).setColumn( 0, "oprsrvno" , eval(xPathData).getColumn(0, "oprsrvno" )); // 의뢰번호
- eval(wPath).setColumn( 0, "ophistno" , eval(xPathData).getColumn(0, "ophistno" )); // 이력번호
- eval(wPath).setColumn( 0, "recovseqno" , eval(xPathData).getColumn(0, "recovseqno")); // 회복기록연계코드
- // 2008-06-03 오전 8:52:58 taebum 회복기록정보 조회시 합병증정보를 추가로 조회하여 가져오도록 수정함.
-
- MnphrecoList_Read(); // 회복기록 정보 가져오기
- CareRecList_Read() ; // 간호특이사항 기록 조회
- fGetOpScheList();
- // 2009-06-03 오전 10:00:38 강지훈 : 회복간호기록 1선택되어있을경우 회복간호기록1내용을 조회한다.
- var selectedTab = switch1.tabindex; //.selectedIndex;
- if(selectedTab == 1){ //회복간호기록 1선택
- fGetGiRok1Data("RELOAD", ds_main_revrInfo_mnphrevrtitle.getColumn(0, "data1"));
- }
-
- var sOprsrvno = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "oprsrvno");
- // var iTotalGridRows = ds_HideData_opschelists_schelist.rowcount; //datagrid5.rows - datagrid5.fixedrows+1;
- // for(var i = 0; i < iTotalGridRows; i++){
- // if(sOprsrvno == ds_HideData_opschelists_schelist.getColumn(i, "oprsrvno")){
- // datagrid5.select(i,0,i,10) = true;
- // datagrid5.select
- // return;
- // }
- // }
- var sTarIdx = ds_main_MnphrecoData_MnphrecoList.findRow("oprsrvno", sOprsrvno);
- if(-1 < sTarIdx)
- ds_main_MnphrecoData_MnphrecoList.rowposition = sTarIdx;
-
- ds_HideData_opschelists_schelist.selectRow(iCurrentRow);
- ds_HideData_opschelists_schelist.rowposition = iCurrentRow;
- }
- function cf_TXMNP00701(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function cf_TXMNP00703(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- // --- End ---
- //합병증 정보 저장 데이터 생성
- function fMakeComplInfo(){
- var sComplXpath = "_root_main_MnphrecoData_MnphrepmList";
- //var sColSplit = "▦"; //열구분자
- //var sRowSplit = "▩"; //행구분자
- var sColSplit = "▥"; //열구분자
- var sRowSplit = "▤"; //행구분자
- var sRowData = ""; //행정보
- //var sHeader = "complcheck▦complname▦complcode▦recovseqno▦status▩";//헤더정보
- var sHeader = "complcheck▥complname▥complcode▥recovseqno▥status▤";//헤더정보
- var iRowCnt = ds_main_MnphrecoData_MnphrepmList.rowcount; //datagrid6.rows - datagrid6.fixedRows;
- //grid의 정보를 String으로 생성하여 send node에 copy한다.
- /* 주의!! recovseqno 데이터가 없을 경우에는 서버에서 생성하여 준다. */
- for(var i = 0; i < iRowCnt; i++){
- sRowData += utlf_transNullToEmpty(ds_main_MnphrecoData_MnphrepmList.getColumn(i, 0)) + sColSplit +
- utlf_transNullToEmpty(ds_main_MnphrecoData_MnphrepmList.getColumn(i, 1)) + sColSplit +
- utlf_transNullToEmpty(ds_main_MnphrecoData_MnphrepmList.getColumn(i, 2)) + sColSplit +
- utlf_transNullToEmpty(ds_main_MnphrecoData_MnphrepmList.getColumn(i, 3)) + sColSplit +
- utlf_transNullToEmpty(ds_main_MnphrecoData_MnphrepmList.getColumn(i, 4)) + sRowSplit;
- }
- dsf_makeValue( ds_send_MnphrecoList, "complinfo", "string", sHeader+sRowData);
- }
- //안전관리항목 정보 저장 데이터 생성 by 박영우 20100317
- function fMakeResafeInfo(){
- var sReSafeXpath = "ds_main_MnphrecoData_MnphresmList";
- var sColSplit = "▥"; //열구분자
- var sRowSplit = "▤"; //행구분자
- var sRowData = ""; //행정보
- //var sHeader = "resafecheck▦resafecd▦recovseqno▦status";//헤더정보
- var sHeader = "resafecheck▥resafecd▥recovseqno▥status▤";//헤더정보
- var iRowCnt = ds_main_MnphrecoData_MnphresmList.rowcount; //grd_resafe.rows - grd_resafe.fixedRows;
- //grid의 정보를 String으로 생성하여 send node에 copy한다.
- /* 주의!! recovseqno 데이터가 없을 경우에는 서버에서 생성하여 준다. */
- for(var i = 0; i < iRowCnt; i++){
- sRowData += utlf_transNullToEmpty(eval(sReSafeXpath).getColumn( i, "resafecheck")) + sColSplit +
- utlf_transNullToEmpty(eval(sReSafeXpath).getColumn( i, "resafecd")) + sColSplit +
- utlf_transNullToEmpty(eval(sReSafeXpath).getColumn( i, "recovseqno")) + sColSplit +
- utlf_transNullToEmpty(eval(sReSafeXpath).getColumn( i, "status")) + sRowSplit;
- }
- dsf_makeValue( ds_send_MnphrecoList, "resafeinfo", "string", sHeader+sRowData);
- }
-
- //삽관류항목 정보 저장 데이터 생성 by 손성훈.2012.05.16
- function fMakeReintubInfo(){
- var sReIntubXpath = "ds_main_MnphrecoData_MnphreIntubchkList";
- var sColSplit = "▥"; //열구분자
- var sRowSplit = "▤"; //행구분자
- var sRowData = ""; //행정보
- //var sHeader = "resafecheck▦resafecd▦recovseqno▦status▩";//헤더정보
- var sHeader = "reintubcheck▥reintubcd▥recovseqno▥status▤";//헤더정보
- var iRowCnt = ds_main_MnphrecoData_MnphreIntubchkList.rowcount; //grd_reintub.rows - grd_reintub.fixedRows;
- //grid의 정보를 String으로 생성하여 send node에 copy한다.
- /* 주의!! recovseqno 데이터가 없을 경우에는 서버에서 생성하여 준다. */
- for(var i = 0; i < iRowCnt; i++){
- sRowData += utlf_transNullToEmpty(eval(sReIntubXpath).getColumn( i, "reintubcheck")) + sColSplit +
- utlf_transNullToEmpty(eval(sReIntubXpath).getColumn( i, "reintubcd")) + sColSplit +
- utlf_transNullToEmpty(eval(sReIntubXpath).getColumn( i, "recovseqno")) + sColSplit +
- utlf_transNullToEmpty(eval(sReIntubXpath).getColumn( i, "status")) + sRowSplit;
- }
- dsf_makeValue( ds_send_MnphrecoList, "reintubinfo", "string", sHeader+sRowData);
- }
-
-
- // ※ 전자서명 호출
- function fSignProcessSet(pIdx){
- if(Sign.signprocess() == true){
- if(ds_temp.getColumn(0, "signflag") == "Y"){
- //** 상단환자 설정 정보 조회 **//
- ds_main_paminfo_list.clearData();
- node = sysf_getGlobalVariable("paminfo");
- dsf_setCSVToDs("ds_main_paminfo_list", node);
- //ds_send_savedata.setColumn(0, "signinfo", ""); //사용되지 않음. kimdo3 2016.10.22 삭제함.
-
- var sIOFlag = ds_main_paminfo_list.getColumn(0, "ioflag"); // I_O 구분
- dsf_makeValue( ds_send_signdata, "pid", "string", ds_main_paminfo_list.getColumn(0, "pid")); // 등록번호
- if(sIOFlag == "I" || sIOFlag == "E"){ // 진료일자
- dsf_makeValue( ds_send_signdata,"orddd", "string", ds_main_paminfo_list.getColumn(0, "indd"));
- }else if(sIOFlag == "O"){
- dsf_makeValue( ds_send_signdata,"orddd", "string", ds_main_paminfo_list.getColumn(0, "orddd"));
- }
-
- //if(!utlf_isNull(ds_main_reclist_recinfo_recinfolists.getColumn(0, "signno")) {
- // dsf_makeValue( ds_send_signdata, "signno", "string", ds_main_reclist_recinfo_recinfolists.getColumn(0, "signno")); // 서명번호
- //}
- dsf_makeValue( ds_send_signdata, "cretno", "string", ds_main_paminfo_list.getColumn(0, "cretno")); // 생성번호
- //2008-06-09 오전 11:14:10 김하영 선생님 요청으로 통합기록 검색에서 조회될 때는 수술일자 수술시간이 보여지도록 요청사항 반영
- //서버단에서 해당 등록번호, 수술에약일시에 해당하는 수술일시를 조회한다. 없을 경우 현재일자, 현재시간으로 등록한다.
- var sRecdd = utlf_getCurrentDate();
- if(!utlf_isNull(ds_main_MnphrecoData_MnphrecoList.getColumn(0, "opcnfmdd"))
- && ds_main_MnphrecoData_MnphrecoList.getColumn(0, "opcnfmdd") != sRecdd){
- sRecdd = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "opcnfmdd"); // 기록일자 - 수술일 기준으로 변경 (2015.05.20 의료정보팀 요청)
- }
-
- //==========================================================================================================================================================================================
- dsf_makeValue( ds_send_signdata, "recdd", "string", sRecdd); // 실제 기록이 이루어진 기록일자(통합기록에서 보여짐)
- dsf_makeValue( ds_send_signdata, "rectm", "string", utlf_getCurrentTime()); // 실제 기록이 이루어진 기록시간(통합기록에서 보여짐)
- //==========================================================================================================================================================================================
- dsf_makeValue( ds_send_signdata, "recsaveflag", "string", "N"); // 전자서명 인적정보 변경여부(기록일시 변경되는 경우 : Y, 그외 : N)
- dsf_makeValue( ds_send_signdata, "signflag", "string", "02"); // 서명자료구분(01 : 진료, 02 : 간호)
- dsf_makeValue( ds_send_signdata, "signgenrflag","string", sIOFlag); // 서명발생구분 (코드정의서 M0010 참조)
- dsf_makeValue( ds_send_signdata, "formcd", "string", "0000002474"); // 각 기록지별 서식코드
- dsf_makeValue( ds_send_signdata, "signno", "string", ds_main_MnphrecoData_MnphrecoList.getColumn(0, "pkidatetimems")); //인증번호를 리턴하면 한건만 조회한다.
- dsf_makeValue( ds_send_signdata, "orddeptcd", "string", ds_main_paminfo_list.getColumn(0, "orddeptcd")); // 진료부서코드
- dsf_makeValue( ds_send_signdata, "orddrid", "string", ds_main_paminfo_list.getColumn(0, "medispclid")); // 진료의사ID
- dsf_makeValue( ds_send_signdata, "signbfcnts", "string", Sign.signedInfos[1]); // 인증할 데이터 정보(미기록 노드 제거된 정보)
- dsf_makeValue( ds_send_signdata, "signaftcnts", "string", Sign.signedInfos[2]); // 공인인증 처리후 데이터
- }
- return true;
- }else{
- return false;
- }
- }
- /* ------------------------------------------------- */
- /* desc : 인증데이터 만들기 */
- /* param : pModel - Model */
- /* tNode - Target Node */
- /* sNode - Source Node */
- /* return : */
- /* -------------------------------------------------- */
- function fMake_SignData(){
- //************************************************
- // 인증시 코드로 들어간 데이터는 명칭으로 바꾸어서 저장한다.
- //************************************************
- //인증할 데이터를 copyNode한다.
- var arrSignPath = new Array();
- var arrSignDs = new Array();
- //ok
- //Sign.addnode("/MnphrecoList", ds_main_MnphrecoData_MnphrecoList.saveXML() ); //회복실기록II
- var iMnphrepmCnt = 0;
- var tempNodeInfo = ds_main_MnphrecoData_MnphrepmList;
- var sCheckFlag = "false";
- var sStatus = "";
- var iTempIcnt = 0;
- ds_hidden_temp_MnphrepmLists_MnphrepmList.clearData();
- dsf_copyColInfo(ds_hidden_temp_MnphrepmLists_MnphrepmList, ds_main_MnphrecoData_MnphrepmList);
- for(var i = 0; i < ds_main_MnphrecoData_MnphrepmList.rowcount; i++){
- sCheckFlag = ds_main_MnphrecoData_MnphrepmList.getColumn(i, "complcheck");
- sStatus = ds_main_MnphrecoData_MnphrepmList.getColumn(i, "status");
- if( (sCheckFlag == "true" && sStatus == "U" )
- || (sCheckFlag == "true" && sStatus == "I" ) ){
- iTempIcnt = ds_hidden_temp_MnphrepmLists_MnphrepmList.addRow();
- ds_hidden_temp_MnphrepmLists_MnphrepmList.copyRow( iTempIcnt, ds_main_MnphrecoData_MnphrepmList, i);
- }
- }
- //불필요한 상태정보는 삭제함.
- //============================================================================
- ds_hidden_temp_MnphrepmLists_MnphrepmList.deleteColumn("status");
- ds_hidden_temp_MnphrepmLists_MnphrepmList.deleteColumn("complcheck");
- //============================================================================
- if(ds_hidden_temp_MnphrepmLists_MnphrepmList.rowcount > 0){
- //합병증리스트
- //Sign.addnode("ds_hidden_temp_MnphrepmLists");
- //Sign.addnode("/MnphrepmLists/MnphrepmList", ds_hidden_temp_MnphrepmLists_MnphrepmList.saveXML());
- arrSignPath = new Array();
- arrSignDs = new Array();
- arrSignPath[0] = "/MnphrepmLists/MnphrepmList";
- arrSignDs[0] = ds_hidden_temp_MnphrepmLists_MnphrepmList.saveXML();
- Sign.addnodeset(arrSignPath, arrSignDs);
- }
- //안전항목관리 리스트 추가 by 박영우 20100316
- var iMnphresrCnt = 0;
-
- var tempNodeResrInfo = ds_main_MnphrecoData_MnphresmList;
-
- var sResrCheckFlag = "false";
- var sResrStatus = "";
- var iResrTempIcnt = 0;
- ds_hidden_temp_MnphresmLists_MnphresmList.clearData();
- dsf_copyColInfo(ds_hidden_temp_MnphresmLists_MnphresmList, ds_main_MnphrecoData_MnphresmList);
-
- if(!utlf_isNull(tempNodeResrInfo)) {
- for(var i = 0; i < ds_main_MnphrecoData_MnphresmList.rowcount; i++){
- sResrCheckFlag = ds_main_MnphrecoData_MnphresmList.getColumn(i, "resafecheck");
- sResrStatus = ds_main_MnphrecoData_MnphresmList.getColumn(i, "status");
- if(((sResrCheckFlag == "true" || sResrCheckFlag == "1") && sResrStatus == "U" )||
- ((sResrCheckFlag == "true" || sResrCheckFlag == "1") && sResrStatus == "I" ) ){
- iResrTempIcnt = ds_hidden_temp_MnphresmLists_MnphresmList.addRow();
- ds_hidden_temp_MnphresmLists_MnphresmList.copyRow( iResrTempIcnt, ds_main_MnphrecoData_MnphresmList, i);
- }
- }
- }
- //불필요한 상태정보는 삭제함.
- //============================================================================
- ds_hidden_temp_MnphresmLists_MnphresmList.enableevent = false;
- ds_hidden_temp_MnphresmLists_MnphresmList.updatecontrol = false;
- ds_hidden_temp_MnphresmLists_MnphresmList.deleteColumn("status");
- ds_hidden_temp_MnphresmLists_MnphresmList.deleteColumn("resafecheck");
- ds_hidden_temp_MnphresmLists_MnphresmList.updatecontrol = true;
- ds_hidden_temp_MnphresmLists_MnphresmList.enableevent = true;
- //============================================================================
- if(ds_hidden_temp_MnphresmLists_MnphresmList.rowcount > 0){
- //안전항목관리 리스트
- //Sign.addnode("/MnphresmLists/MnphrepmList", ds_hidden_temp_MnphresmLists_MnphresmList.saveXML());
- arrSignPath = new Array();
- arrSignDs = new Array();
- arrSignPath[0] = "/MnphresmLists/MnphresmList";
- arrSignDs[0] = ds_hidden_temp_MnphresmLists_MnphresmList.saveXML();
- Sign.addnodeset(arrSignPath, arrSignDs);
- }
- //삽관류항목 관리 리스트 추가 by 손성훈 2012.05.16
- var iMnphresrCnt = 0;
-
- var tempNodeReintubInfo = ds_main_MnphrecoData_MnphreIntubchkList;
-
- var sReintubCheckFlag = "false";
- var sReintubStatus = "";
- var iReintubTempIcnt = 0;
- ds_hidden_temp_MnphresmLists_MnphreIntubchkList.clearData();
- dsf_copyColInfo(ds_hidden_temp_MnphresmLists_MnphreIntubchkList, ds_main_MnphrecoData_MnphreIntubchkList);
-
- if(!utlf_isNull(tempNodeReintubInfo)) {
- for(var i = 0; i< ds_main_MnphrecoData_MnphreIntubchkList.rowcount; i++){
- sReintubCheckFlag = ds_main_MnphrecoData_MnphreIntubchkList.getColumn(i, "reintubcheck");
- sReintubStatus = ds_main_MnphrecoData_MnphreIntubchkList.getColumn(i, "status");
- if(((sReintubCheckFlag == "true" || sReintubCheckFlag == "1") && sReintubStatus == "U" )||
- ((sReintubCheckFlag == "true" || sReintubCheckFlag == "1") && sReintubStatus == "I" ) ){
- iReintubTempIcnt = ds_hidden_temp_MnphresmLists_MnphreIntubchkList.addRow();
- ds_hidden_temp_MnphresmLists_MnphreIntubchkList.copyRow( iReintubTempIcnt, ds_main_MnphrecoData_MnphreIntubchkList, i);
- }
- }
- }
- //불필요한 상태정보는 삭제함.
- //============================================================================
- ds_hidden_temp_MnphresmLists_MnphreIntubchkList.enableevent = false;
- ds_hidden_temp_MnphresmLists_MnphreIntubchkList.updatecontrol = false;
- ds_hidden_temp_MnphresmLists_MnphreIntubchkList.deleteColumn("status");
- ds_hidden_temp_MnphresmLists_MnphreIntubchkList.deleteColumn("reintubcheck");
- ds_hidden_temp_MnphresmLists_MnphreIntubchkList.updatecontrol = true;
- ds_hidden_temp_MnphresmLists_MnphreIntubchkList.enableevent = true;
- //============================================================================
- if(ds_hidden_temp_MnphresmLists_MnphreIntubchkList.rowcount > 0){
- //안전항목관리 리스트
- //Sign.addnode("_root_hidden_temp_MnphreIntubchkList");
- //Sign.addnode("/MnphreIntubchkList", ds_hidden_temp_MnphresmLists_MnphreIntubchkList.saveXML());
- arrSignPath = new Array();
- arrSignDs = new Array();
- arrSignPath[0] = "/MnphresmLists/MnphreIntubchkList";
- arrSignDs[0] = ds_hidden_temp_MnphresmLists_MnphreIntubchkList.saveXML();
- Sign.addnodeset(arrSignPath, arrSignDs);
- }
-
-
-
- var sPrtctairway = ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.getColumn(0, "prtctairway");
- if(utlf_isNull(sPrtctairway)){
- ds_Hidedata_temp.clearData();
- }else{
- ds_Hidedata_temp.copyData(ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist);
- var sPrtctairwayArr = sPrtctairway.split(" ");
- if(sPrtctairwayArr.length > 0){
- var sPrtctairwaymthdnm = "";
- for(var i = 0; i < sPrtctairwayArr.length; i++){
- var sTmpPrtctairway = sPrtctairwayArr[i];
- switch(sTmpPrtctairway){
- case "1" :
- if(utlf_isNull(sPrtctairwaymthdnm)){
- sPrtctairwaymthdnm = "Endotracheal";
- }else{
- sPrtctairwaymthdnm = sPrtctairwaymthdnm + ", " + "Endotracheal";
- }
- break;
- case "2" :
- if(utlf_isNull(sPrtctairwaymthdnm)){
- sPrtctairwaymthdnm = "Oral airway";
- }else{
- sPrtctairwaymthdnm = sPrtctairwaymthdnm + ", " + "Oral airway";
- }
- break;
- case "3" :
- if(utlf_isNull(sPrtctairwaymthdnm)){
- sPrtctairwaymthdnm = "Nasal airway";
- }else{
- sPrtctairwaymthdnm = sPrtctairwaymthdnm + ", " + "Nasal airway";
- }
- break;
- case "4" :
- if(utlf_isNull(sPrtctairwaymthdnm)){
- sPrtctairwaymthdnm = "Tracheostomy";
- }else{
- sPrtctairwaymthdnm = sPrtctairwaymthdnm + ", " + "Tracheostomy";
- }
- break;
- case "5" :
- if(utlf_isNull(sPrtctairwaymthdnm)){
- sPrtctairwaymthdnm = "None";
- }else{
- sPrtctairwaymthdnm = sPrtctairwaymthdnm + ", " + "None";
- }
- break;
- }
- }
- //var wOprsPath = Sign.XPATH_SIGNINFO + "/MnphrecoList/prtctairwayspec/prtctairwaylists";
- //dsf_makeValue( eval(wOprsPath), "prtctairwaymthdnm", "string", sPrtctairwaymthdnm);
-
- dsf_makeValue(ds_Hidedata_temp, "prtctairwaymthdnm", "string", sPrtctairwaymthdnm);
- //Sign.addnode(Sign.XPATH_SIGNINFO + "/MnphrecoList/prtctairwayspec/prtctairwaylists/prtctairwaymthdnm", ds_Hidedata_temp.saveXML());
- //arrSignPath = new Array();
- //arrSignDs = new Array();
-
- // arrSignPath[2] = "/MnphrecoList/prtctairwayspec/prtctairwaylists";
- // arrSignDs[2] = ds_Hidedata_temp.saveXML();
- // Sign.addnodeset(arrSignPath, arrSignDs);
- var pParam = new Object();
- pParam.cDataYN = "N";
- pParam.nullNodeYN = "N";
- 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>';
- sParamObjArr = [{ds: "ds_Hidedata_temp", path:"/prtctairwaylists", filter: ""}];
- ds_infectspec_XML_RSLT= lf_convertDsToXml(sParamObjArr,XMLGUJO, pParam);
- ds_main_MnphrecoData_MnphrecoList.enableevent = false;
- ds_main_MnphrecoData_MnphrecoList.updatecontrol = false;
- ds_main_MnphrecoData_MnphrecoList.setColumn(0, "prtctairwayspec", ds_infectspec_XML_RSLT);
- ds_main_MnphrecoData_MnphrecoList.updatecontrol = true;
- ds_main_MnphrecoData_MnphrecoList.enableevent = true;
- }
- }
- //20181203 이돈희 : 회복상태 평가표가 한번에 반영 안되는 현상 발생
- // : 인증데이터에는 ds_main_MnphrecoData_MnphrecoList 값을 반영하는데, 회복상태 평가표 변경시에는
- // : ds_send_MnphrecoList 데이터만 변경함. 한번 저장하고 불러와야만 main에 값이 들어감
- if(ds_send_MnphrecoList.rowcount > 0){
- ds_main_MnphrecoData_MnphrecoList.setColumn(0, "recovstatvalutable", ds_send_MnphrecoList.getColumn(0, "recovstatvalutable"));
- }
-
-
- arrSignPath = new Array();
- arrSignDs = new Array();
- arrSignPath[0] = "/MnphrecoList";
- arrSignDs[0] = ds_main_MnphrecoData_MnphrecoList.saveXML();
- //trace(ds_main_MnphrecoData_MnphrecoList.saveXML());
- Sign.addnodeset(arrSignPath, arrSignDs);
- node = sysf_getGlobalVariable("paminfo");
- dsf_setCSVToDs("ds_main_paminfo_list",node); //setCSVToNode("ds_main_paminfo", node);
- var sIOFlag = ds_main_paminfo_list.getColumn(0, "ioflag"); // I_O 구분
- //debugger;
- //if(sIOFlag == "O"){
- ds_HideData_allsigndatas_signdata.clearData();
- ds_send.clearData();
- ds_send.addRow();
- dsf_makeValue( ds_send, "recovseqno", "string", ds_main_revrInfo_recopkinfo.getColumn(0, "recovseqno"));
- //if(submit("TRMNP00714")){
- var oParam = {};
- oParam.id = "TRMNP00714";
- oParam.service = "opanstapp.OpAnstRef";
- oParam.method = "reqGetRecoAllInfoForSign";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_HideData_allsigndatas_signdata=signdata ds_HideData_allsigndatas_repgdata=repgdata";
- oParam.async = false;
- oParam.callback = "cf_TRMNP00714";
- tranf_submit(oParam);
- if(arErrorCode.pop("TRMNP00714") > -1){
- ds_hidden_temp_recovrecinfo.clearData();
- ds_hidden_temp_recovrecinfo_signdatas_signdata.clearData();
- ds_hidden_temp_recovrecinfo_repgdatas_repgdata.clearData();
-
- ds_hidden_temp_recovrecinfo_signdatas_signdata.copyData(ds_HideData_allsigndatas_signdata);
- ds_hidden_temp_recovrecinfo_repgdatas_repgdata.copyData(ds_HideData_allsigndatas_repgdata);
-
- ds_hidden_temp_recovrecinfo_signdatas_signdata.updateColID("col1", "data1");
- ds_hidden_temp_recovrecinfo_signdatas_signdata.updateColID("col2", "data2");
- ds_hidden_temp_recovrecinfo_signdatas_signdata.updateColID("col3", "data3");
- ds_hidden_temp_recovrecinfo_signdatas_signdata.updateColID("col4", "data4");
- ds_hidden_temp_recovrecinfo_signdatas_signdata.updateColID("col5", "data5");
- ds_hidden_temp_recovrecinfo_signdatas_signdata.updateColID("col6", "data6");
- ds_hidden_temp_recovrecinfo_signdatas_signdata.updateColID("col7", "data7");
- ds_hidden_temp_recovrecinfo_signdatas_signdata.updateColID("col8", "data8");
- ds_hidden_temp_recovrecinfo_signdatas_signdata.updateColID("col9", "data9");
- var DataSet_XMLChangeName = "";
- var pParam = new Object();
- pParam.cDataYN = "N";
- pParam.nullNodeYN = "N";
- pParam.cDataYN = "N";
- //Sign.addnode("/recovrecinfo/signdatas/signdata", ds_hidden_temp_recovrecinfo_signdatas_signdata.saveXML());
- sParamObjArr = [{ds: "ds_hidden_temp_recovrecinfo_signdatas_signdata", path:"/signdata", filter: ""}];
- DataSet_XMLChangeName = lf_convertDsToXml(sParamObjArr,"<signdata><lrgnm/><vsitemnm/><data1/><data2/><data3/><data4/><data5/><data6/><data7/><data8/><data9/></signdata>", pParam);
- DataSet_XMLChangeName = DataSet_XMLChangeName.replace("<![CDATA[<signdata>", "<signdata>");
- DataSet_XMLChangeName = DataSet_XMLChangeName.replace("]]]]><![CDATA[></signdatas> ", "</signdata>");
- dsf_makeValue( ds_hidden_temp_recovrecinfo, "signdatas", "string", DataSet_XMLChangeName);
-
- sParamObjArr = [{ds: "ds_hidden_temp_recovrecinfo_repgdatas_repgdata", path:"/repgdata", filter: ""}];
- DataSet_XMLChangeName = lf_convertDsToXml(sParamObjArr,"<repgdata><progressno/><recovseqno/><reccmt/><dispno/></repgdata>", pParam);
- dsf_makeValue( ds_hidden_temp_recovrecinfo, "repgdatas", "string", DataSet_XMLChangeName);
- dsf_makeValue( ds_hidden_temp_recovrecinfo, "remfact", "string", ds_main_revrInfo_recopkinfo.getColumn(0, "remfact")); //참고사항을 저장한다.
-
- arrSignPath = new Array();
- arrSignDs = new Array();
- arrSignPath[0] = "/recovrecinfo";
- arrSignDs[0] = ds_hidden_temp_recovrecinfo.saveXML();
- Sign.addnodeset(arrSignPath, arrSignDs, false);
- }
- }
- function cf_TRMNP00714(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- /* ------------------------------------------------- */
- /* desc : 장비사용 체크 */
- /* param :
- /* return : */
- /* -------------------------------------------------- */
- function fChkPatAddTool() {
- var usesrttm, useendtm;
- var nodeCnt = ds_main_MnphrecoData_MnphrecoList_pataddtool_pataddlists_pataddlist.rowcount;
- var cnt = 0, row = 0;
- for(var i = 0; i < nodeCnt; i++ ) {
- usesrttm = ds_main_MnphrecoData_MnphrecoList_pataddtool_pataddlists_pataddlist.getColumn( i - cnt, "usesrttm");
- useendtm = ds_main_MnphrecoData_MnphrecoList_pataddtool_pataddlists_pataddlist.getColumn( i - cnt, "useendtm");
- if( utlf_isNull(usesrttm) || utlf_isNull(useendtm) ) {//장비사용시간이 없으면 자동 삭제
- ds_main_MnphrecoData_MnphrecoList_pataddtool_pataddlists_pataddlist.deleteRow( i - cnt );
- cnt++;
- }
- }
- }
- /* ------------------------------------------------- */
- /* desc : Instance NodeCopy 하기 */
- /* param : pModel - Model */
- /* tNode - Target Node */
- /* sNode - Source Node */
- /* return : */
- /* -------------------------------------------------- */
- // function InstanceNodeCopy(pModel, tNode, sNode) {
- //
- // pModel.copyNode(tNode, sNode );
- // }
- /* ------------------------------------------------- */
- /* desc : Instance NodeCopy 하기 */
- /* param : pModel - Model */
- /* tNode - Target Node */
- /* sNode - Source Node */
- /* return : */
- /* -------------------------------------------------- */
- function XmlDataCheck() {
- var tNode = "";
- var tNodeXML = "";
- var tNode_parent = "";
- var sNode = "";
- var sNode_parent = "";
- var patage = parseInt(ds_main_MnphrecoData_MnphrecoList.getColumn(0, "patage")); // 141014 - AYS
- var sInstcd = sysf_getUserInfo("dutplceinstcd");
- var sOpcnfmdd = ds_HideData_condition.getColumn(0, "opcnfmdd");
- //trace("XmlDataCheck : " + sOpcnfmdd + ",Todaydd : " + sDate);
-
- var sParamObj = new Object();
- sParamObj.pathYN = 'N'; //dsvaluepath 컬럼 사용여부
- for (var i=0; i < XmlInstNm.length; i++){
- tNodeXML = eval(xPathData).getColumn(0, XmlInstNm[i]);
- if(!utlf_isNull(tNodeXML)) {
- var succYn = lf_convertXmlToDs(tNodeXML, sParamObj);
- if(eval("ds_data_" + XmlInstTableNm[i]).rowcount < 1) {
- eval("ds_data_" + XmlInstTableNm[i]).copyData(eval(xPathFormat + "_" + XmlDestTableNm[i]));
- }
- eval(xPathData + "_" + XmlDestTableNm[i]).copyData(eval("ds_data_" + XmlInstTableNm[i]));
- }
- // if (tNode.rowcount < 1) {
- // sNode = eval(xPathFormat + "_" + XmlInstTabNm[i]);
- // //InstanceNodeCopy(model, tNode, sNode);
- // tNode.copyData(sNode);
- // }
- }
-
-
-
-
- tNode = "ds_data_valuitem";
- tNode_parent = "ds_data_valuitemlists";
- eval(tNode).clearData();
- eval(tNode_parent).clearData();
-
- tNodeXML = eval(xPathData).getColumn(0, "recovstatvalutable");
-
- if(!utlf_isNull(tNodeXML)) {
- lf_convertXmlToDs(tNodeXML);
- }
-
- if (eval("ds_data_valuitemlists").rowcount <= 0 || eval("ds_data_valuitem").rowcount <= 0 ) {
- //trace("XmlDataCheck Logic Start!!");
- if(eval(patage) >= 12){ // 150309 - AYS(기준 나이 수정)
- if(sInstcd == '032' && sOpcnfmdd > '20171015'){ // 171016_AYS_칠곡 적용일자가 2017.10.16
- //trace("instcd : 032, 만12세 이상 진입");
- sNode = xPathFormat + "_" + "recovstatvalutable_valuitemlists_valuitem_032"; // recovstatvalutable --> recovstatvalutable_valuitemlists_valuitem
- sNode_parent = xPathFormat + "_" + "recovstatvalutable_valuitemlists";
- } else{
- //trace("만12세 이상 진입");
- sNode = xPathFormat + "_" + "recovstatvalutable_valuitemlists_valuitem"; // recovstatvalutable --> recovstatvalutable_valuitemlists_valuitem
- sNode_parent = xPathFormat + "_" + "recovstatvalutable_valuitemlists";
- }
- } else if(eval(patage) < 12){
- if(sInstcd == '032' && sOpcnfmdd > '20171129'){ //171129_AYS_칠곡_마취 후 회복상태표(소아) 수정
- //trace("칠곡 && 12세 미만");
- sNode = xPathFormat + "_" + "recovstatvalutable_valuitemlists_valuitem_032"; // recovstatvalutable --> recovstatvalutable_valuitemlists_valuitem
- sNode_parent = xPathFormat + "_" + "recovstatvalutable_valuitemlists";
- } else{
- //alert("만12세 미만 진입");
- sNode = xPathFormat + "_" + "recovstatvalutableChild_valuitemlists_valuitem"; //recovstatvalutableChild --> recovstatvalutableChild_valuitemlists_valuitem
- sNode_parent = xPathFormat + "_" + "recovstatvalutableChild_valuitemlists";
- } //171129_AYS_칠곡_마취 후 회복상태표(소아) 수정
- }
- //InstanceNodeCopy(model, tNode, sNode);
- eval(tNode).copyData(eval(sNode));
- eval(tNode_parent).copyData(eval(sNode_parent));
- }
-
- eval("ds_data_valuitem").deleteColumn("dsvaluepath");
- eval("ds_data_valuitemlists").deleteColumn("dsvaluepath");
-
- eval(xPathData + "_recovstatvalutable_valuitemlists_valuitem").copyData(eval("ds_data_valuitem"));
- eval(xPathData + "_recovstatvalutable_valuitemlists").copyData(eval("ds_data_valuitemlists"));
-
- //var xPathFormat = "_root_init_XmlFormat" ; //
- //var xPathData = "_root_main_MnphrecoData_MnphrecoList" ; //
- //var XmlInstName = "prtctairwayspec" + " " // 1 기도유지내역
- // + "oxgendosespec" + " " // 2 산소투여내역
- // + "recovstatvalutable" + " " // 3 회복상태평가표
- // + "pataddtool" + " " // 4 환자부착기구
- // + "drgecdspec" + " " // 5 배액관 정보
- // + "recovstatvalutableChild"; // 6 회복상태평가표(14세미만) 141013 추가
- //var XmlInstNm = XmlInstName.split(" ");
- //trace("end of XmlDataCheck");
- }
- //-----------------------------------------------------------------
- // 간호일지타입II 화면 호출 : 양천덕씨 완료후 처리되는 사항임.. 9_28
- //-----------------------------------------------------------------
- function fSMMNR03400Call() {
- // 간호일지 호출시 기본 작업 내역
- // - 기록 구분 정보
- // SMMNR03400_ParamBase : recflag▦dutplaccd▦reclnkkey => 기록구분▦부서코드▦기록연계키
- // SMMNR03400_ParamPrcp : prcpflag▦prcpnm => 처방구분▦처방정보
- // - 기록구분(recflag) :
- // O : 외래 F : 기능검사 I : 주사실
- // D : DSC S : 전문간호 H : 가정간호
- // E : 응급실 A : 마취과 R : 회복실
- // L : 투석실 B : 혈당기록
- // - 부서코드(dutplaccd) :
- // 12611 : 외래 33100 : 기능검사 31900 : 주사실
- // 34100 : DSC 미정 : 전문간호 50112 : 가정간호
- // 82015 : 응급실 10900 : 마취과 31170 : 회복실
- // 31400 : 투석실 00001 : 혈당기록
- var wPath = "ds_init_WorkData" ; //
- dsf_makeValue( eval(wPath), "pid", "string", eval(xPathData).getColumn( 0, "pid" )); // 환자번호
- dsf_makeValue( eval(wPath), "instcd", "string", eval(xPathData).getColumn( 0, "instcd" )); // 기관코드
- dsf_makeValue( eval(wPath), "oprsrvno", "string", eval(xPathData).getColumn( 0, "oprsrvno" )); // 의뢰번호
- dsf_makeValue( eval(wPath), "ophistno", "string", eval(xPathData).getColumn( 0, "ophistno" )); // 이력번호
- if(utlf_isNull(eval(wPath).getColumn(0, "pid"))){
- return;
- }
- var parammsg = "recflag▦dutplaccd▦reclnkkey▩"
- + "R" + "▦"
- //+ "31170" + "▦" //2008-08-11 오후 5:22:30 taebum 주석처리
- + "900" + "▦"
- + utlf_transNullToEmpty(eval(wPath).getColumn(0, "pid" )) + "," // 환자번호
- + utlf_transNullToEmpty(eval(wPath).getColumn(0, "instcd" )) + "," // 기관코드
- + utlf_transNullToEmpty(eval(wPath).getColumn(0, "oprsrvno" )) + "," // 의뢰번호
- + utlf_transNullToEmpty(eval(wPath).getColumn(0, "ophistno" )) + "▩" ; // 이력번호
- frmf_setParameter("SMMNR03400_ParamBase", parammsg );
- sysf_setModelProperty("inrmdd", switch1.case2.inp_inrmdt.value);
- sysf_setModelProperty("inrmtm", switch1.case2.inp_inrmtm.value);
- frmf_modal("SMMNR03400", "SMMNR03400", "", "", "", "", "", "", "", "", "", "", "M");
-
- CareRecList_Read();
-
- sysf_setModelProperty("inrmdd", "");
- sysf_setModelProperty("inrmtm", "");
- }
- function fPatCodePopup() {
-
- var xpos = system.clientToScreenX(this, this.position.left) ; //event.screenX
- var ypos = system.clientToScreenY(this, this.position.top) - 300; //event.screenY - 200;
- var xpos = 1;
- var ypos = 1;
-
-
- var argObj = new Object();
- argObj.arg_ds_init_example = ds_init_example;
-
- frmf_open("SPMNP06100", "SPMNP06100", argObj, "", "1", xpos, ypos, "", "", "", "", "", "M");
- var iProperties = frmf_getParameter("SendData");
- var iSplit_Value = iProperties.split("|");
- if (iSplit_Value.length > 0) {
- ds_HideData_condition.setColumn( 0, "pid" , iSplit_Value[0]); // CODE
- ds_HideData_condition.setColumn( 0, "kornm", iSplit_Value[1]); // NAME
- }
- //ipt_pid.refresh();
- //ipt_hngnm.refresh();
- }
- //-----------------------------------------------------------------
- // 배액관 정보 조회 버튼 클릭시 이벤트
- //-----------------------------------------------------------------
- function fOnClickDrqecdList(){
- var sTempXpath = "ds_main_MnphrecoData_MnphrecoList_drgecdspec_lists_drgecdlist";//배액관 정보 xPath
- var sSearchFlag = "01"; //01 : 배액관 , 02: 합병증
- frmf_setParameter("DrqecdList_search_data", sSearchFlag);
- var xpos = 1;
- var ypos = 1;
- var sGridRefreshFlag = "false";
- //modal("SMMNP00701", 1, xpos, ypos,"SMMNP00701", "", "");
- frmf_open("SMMNP00701", "SMMNP00701", argObj, "", "1", xpos, ypos, "", "", "", "", "", "M");
-
- var sResult = frmf_getParameter("DrqecdList_result_data");
- //var sResult = ds_temp.getColumn(0, "recvdata");
-
- if(utlf_isNull(eval(sTempXpath).getColumnInfo("goodname"))) eval(sTempXpath).addColumn("goodname", "string");
- if(utlf_isNull(eval(sTempXpath).getColumnInfo("goodcd"))) eval(sTempXpath).addColumn("goodcd", "string");
- if(utlf_isNull(eval(sTempXpath).getColumnInfo("allsizespecid"))) eval(sTempXpath).addColumn("allsizespecid", "string");
- if(utlf_isNull(eval(sTempXpath).getColumnInfo("drgeqty"))) eval(sTempXpath).addColumn("drgeqty", "string");
- if(utlf_isNull(eval(sTempXpath).getColumnInfo("partinfo"))) eval(sTempXpath).addColumn("partinfo", "string");
- if(utlf_isNull(eval(sTempXpath).getColumnInfo("output"))) eval(sTempXpath).addColumn("output", "string");
-
- if(!utlf_isNull(sResult)){
- frmf_setParameter("DrqecdList_result_data", "");
- var sResultArr = sResult.split("▩");
- if(sResultArr.length > 0){
- var sGoodcd = ""; //배액관 종류
- var sAllsizespecid = ""; //규격
- var sDrgeqty = ""; //개수
- var sPartinfo = ""; //부위
- var sOutput = ""; //output
- var sGoodName = ""; //장비명
- var iAddRowCnt= ds_main_MnphrecoData_MnphrecoList_drgecdspec_lists_drgecdlist.rowcount; //switch1.case2.datagrid3.rowcount - datagrid3.fixedRows;
- for(var i = 0; i < sResultArr.length; i++){
- var sResultDetailArr = sResultArr[i].split("▦");
- if(sResultDetailArr.length > 0){
- //팝업에서 넘어온 정보중 겹치는 정보는 제외하고 데이터를 insert한다.
- sGoodcd = sResultDetailArr[0]; //code
- sGoodName = sResultDetailArr[1]; //codename 장비명
- sAllsizespecid = sResultDetailArr[2]; //codedesc1 규격
- sDrgeqty = sResultDetailArr[3]; //codedesc2 개수
- sPartinfo = sResultDetailArr[4]; //codedesc3 부위
- //sOutput = sResultDetailArr[5]; //codedesc4 output
- var sExsist = "false";
- var iTempGridCnt = eval(sTempXpath).rowcount;//배액관 정보 입력된 건수
- var sTempCode = ""; //기존 배액관 정보에 등록된 장비코드
- for(var k = 0; k < iTempGridCnt; k++){
- sTempCode = ds_main_MnphrecoData_MnphrecoList_drgecdspec_lists_drgecdlist.getColCount(k, 0); //datagrid3.TextMatrix(k, 1);//현재 등록된 장비코드
- //alert("sTempCode : " + sTempCode);
- if(sTempCode == sGoodcd){
- sExsist = "true";
- break;
- }
- }
- if(sExsist == "false"){
- //datagrid3.addRow(true, true);
- iAddRowCnt++;
- sGridRefreshFlag = "true";
- eval(sTempXpath).setColumn( iAddRowCnt, "goodname", sGoodName);
- eval(sTempXpath).setColumn( iAddRowCnt, "goodcd" , sGoodcd);
- eval(sTempXpath).setColumn( iAddRowCnt, "allsizespecid", sAllsizespecid);
- eval(sTempXpath).setColumn( iAddRowCnt, "drgeqty" , sDrgeqty);
- eval(sTempXpath).setColumn( iAddRowCnt, "partinfo", sPartinfo);
- eval(sTempXpath).setColumn( iAddRowCnt, "output", "");
- }
- }
- }
- //datagrid3.rebuild();
- }
- }
- }
- //배액관 리스트 및 수술방코드 정보 조회
- function fGetDrgecdlist(){
- ds_send.clearData();
- dsf_makeValue( ds_send, "temp", "string", "temp Data");//req temp Data
- bbt_save.enable = false; //.disabled = "true";
-
- //if (!submit("TRMNP00704")) { // 배액관 정보 , 수술방정보 조회
- var oParam = {};
- oParam.id = "TRMNP00704";
- oParam.service = "opanstapp.OpAnstRef";
- oParam.method = "reqGetDrgecdlist";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_init_drgecdlist_list=Drgecdlist ds_init_drgecdlist_OpRoomInfo=OpRoomInfo";
- oParam.async = false;
- oParam.callback = "cf_TRMNP00704";
- tranf_submit(oParam);
- if (arErrorCode.pop("TRMNP00704") < 0) { // 배액관 정보 , 수술방정보 조회
- return false;
- }
- return true;
- }
-
-
- function cf_TRMNP00704(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- //배액관 정보 삭제버튼 클릭 시 이벤트
- function fClickRemoveDrgecdlist(){
- var cur_row = ds_main_MnphrecoData_MnphrecoList_drgecdspec_lists_drgecdlist.rowposition; //datagrid3.row; // 행 번호 가져오기
- if(cur_row < 1){
- sysf_messageBox("삭제할 배액관정보를 선택하시기 바랍니다...", "");
- return;
- }
- ds_main_MnphrecoData_MnphrecoList_drgecdspec_lists_drgecdlist.deleteRow(cur_row); //datagrid3.deleteitem(cur_row);
- }
- // 수술장비조회 팝업 호출
- function fOpEqmtPopup(){
- var sTempOprsrvno = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "oprsrvno");
- if(utlf_isNull(sTempOprsrvno)){
- return;
- }
- var sMsg = "";
- var sOPEqmtCD = "";
- frmf_setParameter("SPMNP00300_searchFlag","RECO");
- frmf_modal("SPMNP00301", "SPMNP00301", "", "", "", "", "", "", "", "", "", "", "M");
- frmf_getParameter("SPMNP00300_Return");
- sMsg = frmf_getParameter("SPMNP00300_Return");
- if(utlf_isNull(sMsg)) return;
- var iRow = ds_main_MnphrecoData_MnphrecoList_pataddtool_pataddlists_pataddlist.rowcount; //datagrid7.rows-datagrid7.fixedrows;
- var sTempGridXpath = "ds_main_MnphrecoData_MnphrecoList_pataddtool_pataddlists_pataddlist";
- for(var i = 0; i < sMsg.split("▩").length - 1; i++){
- sOPEqmtCD = getArrayData(sMsg, i, 0);
- if(!utlf_isNull(eval(sTempGridXpath).lookupExpr("fixasetcd == '"+sOPEqmtCD+"'", "fixasetcd"))) continue;
- //
- if ((iRow == 0) || !utlf_isNull(eval(sTempGridXpath).getColumn(iRow, "fixasetcd"))) {
- iRow = eval(sTempGridXpath).addRow(); //datagrid7.addRow(false);
- }
- eval(sTempGridXpath).setColumn( iRow, "fixasetcd", getArrayData(sMsg, i,0));
- eval(sTempGridXpath).setColumn( iRow, "toolnm", getArrayData(sMsg, i,1));
- eval(sTempGridXpath).setColumn( iRow, "goodmodel", getArrayData(sMsg, i,1));
- eval(sTempGridXpath).setColumn( iRow, "goodspec", getArrayData(sMsg, i,1));
- }
- //datagrid7.rebuild();
- }
- //회복시작_사용종료 버튼 클릭시 이벤트
- function fClickRecoTimeBtn(){
- var iCurrentCur = ds_main_MnphrecoData_MnphrecoList_pataddtool_pataddlists_pataddlist.rowposition; //datagrid7.row;
- var sTempXpath = "ds_main_MnphrecoData_MnphrecoList_pataddtool_pataddlists_pataddlist";
- //회복시작_사용종료 시간 세팅 by 김진명 2010-02-03
- var startDt, endDt;
- var inrmdd = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "inrmdt");
- var inrmtm = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "inrmtm");
- var outdd = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "outrmdt");
- var outtm = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "outrmtm");
- if(iCurrentCur < 0){
- sysf_messageBox("시간정보를 입력할 장비를 선택하시기 바랍니다...", "");
- return;
- }
- if( utlf_isNull(inrmdd) || utlf_isNull(inrmtm) ) {//입실시간이 없으면 현재시간셋팅
- startDt = utlf_getCurrentDate()+""+ utlf_getCurrentTime().substr(0,4);
- }else {
- startDt = inrmdd + inrmtm;
- }
- if( utlf_isNull(outdd) || utlf_isNull(outtm) ) {//퇴실시간이 없으면 현재시간셋팅
- endDt = utlf_getCurrentDate()+""+ utlf_getCurrentTime().substr(0,4);
- }else {
- endDt = outdd + outtm;
- }
- var iStartTm = eval(sTempXpath).getColumn(iCurrentCur, 3);
- var iEndTm = eval(sTempXpath).getColumn(iCurrentCur, 4);
- if( utlf_isNull(iStartTm) ){
- eval(sTempXpath).setColumn(iCurrentCur, 3, startDt);
- }else if( utlf_isNull(iEndTm) ){
- eval(sTempXpath).setColumn(iCurrentCur, 4, endDt );
- }else{
- sysf_messageBox("사용시작_종료시간 모두 입력되어있습니다. 확인하시기 바랍니다.", "");
- return;
- }
- //datagrid7.refresh();
- }
- //회복간호기록I 버튼 클릭 시 마취일반정보 조회 + v_S정보 조회
- function fGetAsntInfo(){
- //btn_anstinfo.selected = true;
- //model.toggle("case3");
- //case3.enable = false; //운영시 막아야 함.
- //진료-마취일반정보(진료 source 공유)를 조회한다.
- var sOprsrvno = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "oprsrvno");
- if( utlf_isNull(sOprsrvno) ){
- sysf_messageBox("환자의 수술예약정보가 존재하지 않습니다.", "");
- return;
- }
- ds_send_reqdata.clearData();
- ds_send_reqdata.addRow();
- dsf_makeValue( ds_send_reqdata, "oprsrvno", "string", sOprsrvno);//req temp Data
- dsf_makeValue( ds_send_reqdata, "instcd", "string", sysf_getUserInfo("dutplceinstcd"));//req temp Data
-
- //if (!submit("TRMMR03702")) {
- var oParam = {};
- oParam.id = "TRMMR03702";
- oParam.service = "anstrecapp.AnstRec";
- oParam.method = "reqGetAnstInfo";
- oParam.inds = "reqdata=ds_send_reqdata";
- oParam.outds = "ds_hidden_anstinfoList_anstinfo=anstinfo";
- oParam.async = false;
- oParam.callback = "cf_TRMMR03702";
- tranf_submit(oParam);
- if (arErrorCode.pop("TRMMR03702") < 0) {
- return false;
- }
- //**********************************
- //마취기록을 정보 공유관련 데이터 조회
- //**********************************
- // 수술방 콤보조회
- ds_send_reqdata.clearData();
- ds_send_reqdata.addRow();
- dsf_makeValue( ds_send_reqdata, "currentdate", "string", utlf_getCurrentDate());
- dsf_makeValue( ds_send_reqdata, "instcd", "string", sysf_getUserInfo("dutplceinstcd"));
- //submit("TRMMR03712");
-
- var oParam = {};
- oParam.id = "TRMMR03712";
- oParam.service = "anstrecapp.AnstRec";
- oParam.method = "reqGetOpRoomList";
- oParam.inds = "reqdata=ds_send_reqdata";
- oParam.outds = "ds_init_oproomlist_item=item";
- oParam.async = false;
- tranf_submit(oParam);
- //마취기록 - 진단명 리스트, 수술명(전)- case cart (주+부), 수술명(후) 및 수술참가자 정보 조회
- if(!utlf_isNull(ds_hidden_anstinfoList_anstinfo.getColumn(0, "perfdrid")) ||
- !utlf_isNull(ds_hidden_anstinfoList_anstinfo.getColumn(0, "perfdrid2")) ||
- !utlf_isNull(ds_hidden_anstinfoList_anstinfo.getColumn(0, "anstdrid2")) ||
- !utlf_isNull(ds_hidden_anstinfoList_anstinfo.getColumn(0, "anstdrid3")) ){
- ds_send_reqdata.clearData();
- ds_send_reqdata.addRow();
- dsf_makeValue( ds_send_reqdata, "oprsrvno", "string", sOprsrvno);
- dsf_makeValue( ds_send_reqdata, "instcd", "string", sysf_getUserInfo("dutplceinstcd"));
- dsf_makeValue( ds_send_reqdata, "dept1", "string", ds_hidden_anstinfoList_anstinfo.getColumn(0, "perfdeptcd"));
- dsf_makeValue( ds_send_reqdata, "dept2", "string", ds_hidden_anstinfoList_anstinfo.getColumn(0, "perfdeptcd2"));
- dsf_makeValue( ds_send_reqdata, "doct1", "string", ds_hidden_anstinfoList_anstinfo.getColumn(0, "perfdrid"));
- dsf_makeValue( ds_send_reqdata, "doct2", "string", ds_hidden_anstinfoList_anstinfo.getColumn(0, "perfdrid2"));
- dsf_makeValue( ds_send_reqdata, "anstdoct1", "string",ds_hidden_anstinfoList_anstinfo.getColumn(0, "anstdrid1"));
- dsf_makeValue( ds_send_reqdata, "anstdoct2", "string",ds_hidden_anstinfoList_anstinfo.getColumn(0, "anstdrid2"));
- dsf_makeValue( ds_send_reqdata, "anstdoct3", "string",ds_hidden_anstinfoList_anstinfo.getColumn(0, "anstdrid3"));
- dsf_makeValue( ds_send_reqdata, "opschedd", "string", ds_main_operation_list.getColumn(0, "opschedd"));
- //submit("TRMNP00705");
-
- var oParam = {};
- oParam.id = "TRMNP00705";
- oParam.service = "opanstapp.OpAnstRef";
- oParam.method = "reqGetAnstAddInfo";
- oParam.inds = "reqdata=ds_send_reqdata";
- oParam.outds = "ds_hidden_anstaddinfo_addinfo_item=item ds_hidden_anstaddinfo_addinfo_anstopuserlist=anstopuserlist";
- oParam.async = false;
- tranf_submit(oParam);
- //submit("TRMMR03709");
- // 조회된 집도과_집도의, 마취의 정보 refresh
- var iTempNodeCnt = ds_hidden_anstaddinfo_addinfo_anstopuserlist.rowcount; //").length;
- var sGb = "";
- var sDeptcd = "";
- var sDeptnm = "";
- var sUserid = "";
- var sUsernm = "";
- for(var i = 0; i < iTempNodeCnt; i++){
- sGb = ds_hidden_anstaddinfo_addinfo_anstopuserlist.getColumn(i, "gb");
- switch(sGb){
- case "doct1" :
- ds_hidden_anstinfoList_anstinfo.setColumn( 0, "perfdeptcd",ds_hidden_anstaddinfo_addinfo_anstopuserlist.getColumn(i, "posdeptnm"));
- ds_hidden_anstinfoList_anstinfo.setColumn( 0, "perfdrid" ,ds_hidden_anstaddinfo_addinfo_anstopuserlist.getColumn(i, "usernm"));
- break;
- case "doct2" :
- ds_hidden_anstinfoList_anstinfo.setColumn( 0, "perfdeptcd2",ds_hidden_anstaddinfo_addinfo_anstopuserlist.getColumn(i, "posdeptnm"));
- ds_hidden_anstinfoList_anstinfo.setColumn( 0, "perfdrid2" ,ds_hidden_anstaddinfo_addinfo_anstopuserlist.getColumn(i, "usernm"));
- break;
- case "anst1" :
- ds_hidden_anstinfoList_anstinfo.setColumn( 0, "anstdrid1" ,ds_hidden_anstaddinfo_addinfo_anstopuserlist.getColumn(i, "usernm"));
- break;
- case "anst2" :
- ds_hidden_anstinfoList_anstinfo.setColumn( 0, "anstdrid2" ,ds_hidden_anstaddinfo_addinfo_anstopuserlist.getColumn(i, "usernm"));
- break;
- case "anst3" :
- ds_hidden_anstinfoList_anstinfo.setColumn( 0, "anstdrid3" ,ds_hidden_anstaddinfo_addinfo_anstopuserlist.getColumn(i, "usernm"));
- break;
- default :
- break;
- }
- }
- }
- // 마취 수술후명 카피 노드셋
- //model.copyNode("ds_hidden_anstaddinfo_addinfo_item[cdflag = '4']", "_root_hidden_anstaddinfo_addinfo_item");
- ds_hidden_anstaddinfo_addinfo_item_cdflag_4.copyData(ds_hidden_anstaddinfo_addinfo_item);
- var anstfromdd = ds_hidden_anstinfoList_anstinfo.getColumn(0, "anstfromdd");
- var anstfromtm = ds_hidden_anstinfoList_anstinfo.getColumn(0, "anstfromtm");
- var ansttodd = ds_hidden_anstinfoList_anstinfo.getColumn(0, "ansttodd");
- var ansttotm = ds_hidden_anstinfoList_anstinfo.getColumn(0, "ansttotm");
- //fGetHours(anstfromdd, anstfromtm, ansttodd, ansttotm, "ds_hidden_ansttm", "ds_hidden_anstmnt");
- fGetHours(anstfromdd, anstfromtm, ansttodd, ansttotm, "ansttm", "anstmnt");
- //총 마취 시간 계산
- if(iTempNodeCnt > 0){
- //model.refresh();
- }
- }
- function cf_TRMMR03702(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- /**
- * _desc : 종료시간에서 시작시간을 뺀 시간 계산 //model.refresh(); 하지 않음!! 주의
- * _param :
- * _ fromtmPath : 시작시간 (시분)
- * _ totmPath : 종료시간 (시분)
- * _return :
- * _author :
- * _---------------------------------------------------
- */
- function fGetHours(anstfromdd, anstfromtm, ansttodd, ansttotm, hrPath, minPath)
- {
- if( utlf_isNull(anstfromdd) ||
- utlf_isNull(anstfromtm) ||
- utlf_isNull(ansttodd) ||
- utlf_isNull(ansttotm) ){
- return;
- }
- if (anstfromtm >= "2400") { anstfromtm = "0000" }
- if (ansttotm >= "2400") { ansttotm = "0000" }
- var fromdt = anstfromdd+""+anstfromtm;
- var todt = ansttodd +""+ansttotm;
- var getHours = "0000";
- if (fromdt <= todt)
- {
- var date1 = fromdt.toDate("YYYYMMDDhhmm"); //YYYYMMDDhhmm --> YYYYMMDDHHmm으로 변경함. kimdo3 확인 필요.
- var date2 = todt.toDate("YYYYMMDDhhmm");
- //alert("date1 : "+date1 + ", date2 : "+date2);
- getHours= fGetHourInterval(fTimeString(date1),fTimeString(date2));
- }
- var hr = getHours.substr(0,2);
- var min = getHours.substr(2,2);
- ds_hidden.setColumn( 0, hrPath, hr);
- ds_hidden.setColumn( 0, minPath,min);
- }
- /**
- * Time 스트링을 자바스크립트 Date 객체로 변환
- * parameter time: Time 형식의 String
- */
- function fTimeObject(time) { //parseTime(time)
- var year = time.substr(0,4);
- var month = time.substr(4,2) - 1; // 1월=0,12월=11
- var day = time.substr(6,2);
- var hour = time.substr(8,2);
- var min = time.substr(10,2);
- return new Date(year,month,day,hour,min);
- }
- /**
- * 두 Time이 몇 시간 차이나는지 구함
- * time1이 time2보다 크면(미래면) minus(-)
- */
- function fGetHourInterval(time1,time2) {
- var date1 = fTimeObject(time1);
- var date2 = fTimeObject(time2);
- var hour = 1000 * 3600; //1시간
- var min = 1000 * 60; //1분
- var origin = parseInt((date2 - date1) / min, 10);
- var deferhour = parseInt(origin / 60,10);
- var defermin = origin % 60;
- var hour = deferhour;
- var min = defermin;
- if (("" + hour).length == 1) { hour = "0" + hour; }
- if (("" + min).length == 1) { min = "0" + min; }
- return ("" + hour + min);
- }
- /**
- * 자바스크립트 Date 객체를 Time 스트링으로 변환
- * parameter date: JavaScript Date Object
- */
- function fTimeString(date) { //formatTime(date)
- var year = date.getFullYear();
- var month = date.getMonth() + 1; // 1월=0,12월=11이므로 1 더함
- var day = date.getDate();
- var hour = date.getHours();
- var min = date.getMinutes();
- if (("" + month).length == 1) { month = "0" + month; }
- if (("" + day).length == 1) { day = "0" + day; }
- if (("" + hour).length == 1) { hour = "0" + hour; }
- if (("" + min).length == 1) { min = "0" + min; }
- return ("" + year + month + day + hour + min)
- }
- //수혈기록 조회 버튼 클릭 시 이벤트
- function fClickBloodBtn(){
- var sPath = "ds_main_MnphrecoData_MnphrecoList"; //_pid";
- var sPid = eval(sPath).getColumn(0, "pid");
- if(!utlf_isNull(sPid)){
- frmf_setParameter("ioflag", "IPRC2");
- frmf_setParameter("pid", sPid);
- frmf_open("SMMNR01000", "SMMNR01000", "", "", "", "", "", "", "", "", "", "", "M");
- }
- }
- /**
- * 처방내역 버튼을 클릭하였을 경우 이벤트
- *
- */
-
- function switch2TabIndex(tabindex){
- if(tabindex == 0){
- switch1.case1.case3.visible = true;
- switch1.case1.case4.visible = false;
- switch1.case1.case5.visible = false;
- }else if(tabindex == 1){
- switch1.case1.case3.visible = false;
- switch1.case1.case4.visible = true;
- switch1.case1.case5.visible = false;
- }else if(tabindex == 2){
- switch1.case1.case3.visible = false;
- switch1.case1.case4.visible = false;
- switch1.case1.case5.visible = true;
- }
- }
-
- function fOnClickOrderListTab(){
- //model.toggle("case5");
- switch2TabIndex(2);
- ds_hidden_anstorderinfo_orderlist.clearData();
- //grd_anstprcp.refresh();
- var iCurrentRow = ds_HideData_opschelists_schelist.rowposition; //datagrid5.row;
- if(iCurrentRow < 0){
- return;
- }
- var sOprsrvno = ds_HideData_opschelists_schelist.getColumn(iCurrentRow, "oprsrvno");
- var sAnstrecno = ds_HideData_opschelists_schelist.getColumn(iCurrentRow, "anstrecno");
- if(!utlf_isNull(sAnstrecno)){
- ds_send.clearData();
- ds_send.addRow();
- dsf_makeValue( ds_send, "oprsrvno", "string", sOprsrvno);
- dsf_makeValue( ds_send, "anstrecno", "string", sAnstrecno);
- //submit("TRMNP00707");
-
- var oParam = {};
- oParam.id = "TRMNP00707";
- oParam.service = "opanstapp.OpAnstRef";
- oParam.method = "reqGetAnstorderinfo";
- oParam.inds = "reqdata=ds_send";
- oParam.outds = "ds_hidden_anstorderinfo_orderlist=orderlist";
- oParam.async = false;
- tranf_submit(oParam);
- }
- }
- /**
- * 마취의사 콤보 선택시 id, name setting event
- *
- */
- function fOnClickAnstDoctCombo(pFlag){
- var sUserid = "";
- var sUsernm = "";
- var Xpath = "";
- var sUsernmXpath = "";
- switch(pFlag){
- case "A" :
- sUserid = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "outconfirmdoctorid_tmp");
- sUsernm = ds_main_MnphrecoData_AnstDoctList.lookupExpr("userid == '" + sUserid + "'", "usernm");
- Xpath = "ds_main_MnphrecoData_MnphrecoList"; //_outconfirmdoctorid"; , _outconfirmdoctor";
- eval(Xpath).setColumn(0, "outconfirmdoctorid", sUserid);
- eval(Xpath).setColumn(0, "outconfirmdoctor", sUsernm);
- break;
- case "B" :
- sUserid = ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.getColumn(0, "prtctairwayid_tmp");
- sUsernm = ds_main_MnphrecoData_AnstDoctList.lookupExpr("userid == '" + sUserid + "'", "usernm");
- Xpath = "ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist"; //prtctairwayid; , prtctairwaynm
- eval(Xpath).setColumn(0, "prtctairwayid", sUserid);
- eval(Xpath).setColumn(0, "prtctairwaynm", sUsernm);
- break;
- case "C" :
- sUserid = ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.getColumn(0, "prtctcairwayextid_tmp");
- sUsernm = ds_main_MnphrecoData_AnstDoctList.lookupExpr("userid == '" + sUserid + "'", "usernm");
- Xpath = "ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist"; //prtctcairwayextid";, prtctairwayextnm
- eval(Xpath).setColumn(0, "prtctcairwayextid", sUserid);
- eval(Xpath).setColumn(0, "prtctairwayextnm", sUsernm);
- break;
- }
- //model.setValue(sUseridXpath, sUserid);
- //model.setValue(sUsernmXpath, sUsernm);
- switch(pFlag){
- case "A" :
- //inp_outdrid.refresh();
- break;
- case "B" :
- //output14.refresh();
- break;
- case "C" :
- //output1.refresh();
- break;
- }
- }
- //총 회복 소요시간 setting
- function fMakeRecoTotalTime(){
- var pFrDate = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "inrmdt");
- var pFrTime = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "inrmtm");
- var pToDate = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "outrmdt");
- var pToTime = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "outrmtm");
- if(!utlf_isNull(pFrDate) &&
- !utlf_isNull(pFrTime) &&
- !utlf_isNull(pToDate) &&
- !utlf_isNull(pToTime) ){
- var rTime = fTimeInterval(pFrDate, pToDate, pFrTime, pToTime);
- ds_HideData_recoinfo.setColumn( 0, "recototaltime", rTime);
- //output15.refresh();
- }
- }
- // 소요시간계산
- function fTimeInterval(pFrDate, pToDate, pFrTime, pToTime, pFlag){
- var HH=0, MM=0, tHH=0;
- var sInHospTMs, sInHospTM;
- var rTime = "";
- //
- if (utlf_isNull(pFrDate)){
- //sysf_messageBox("시작 일자를", "C001");
- return rTime;
- }
- //
- if (utlf_isNull(pToDate)){
- //sysf_messageBox("종료 일자를", "C001");
- return rTime;
- }
- //
- if (utlf_isNull(pFrTime)){
- //sysf_messageBox("시작 시간을", "C001");
- return rTime;
- }
- //
- if (utlf_isNull(pToTime)){
- // sysf_messageBox("종료 시간을", "C001");
- return rTime;
- }
- //
- if (pFrDate > pToDate){
- sysf_messageBox("시작 일자가 종료일자보다 크므로 처리할 수 ", "I004");
- return rTime;
- }
- //
- if (pFrDate == pToDate){
- if (pFrTime > pToTime){
- sysf_messageBox("시작시간("+ pFrTime +") 이 종료시간("+pToTime +") 보다 크므로 처리할 수 ", "I004");
- return rTime;
- }
- }
- var sDateInterval = utlf_getDateInterval(pFrDate , pToDate ); // 두 일자사이의 차(일단위)
- // alert("sTimeInterval = getTimeInterval("+pFrTime+"00, "+pToTime+"00 )" ); // 두 시간사이의 차(초단위)
- var sTimeInterval = utlf_getTimeInterval(pFrTime+"00", pToTime+"00" ); // 두 시간사이의 차(초단위)
- tHH = Number(sDateInterval * 24 )
- + Number(sTimeInterval / 3600);
- HH = Math.floor(tHH);
- MM = (HH == 0) ? Math.round(tHH * 60) : Math.round((tHH % HH) * 60);
- HH = lpad(HH, 2, "0");
- MM = lpad(MM, 2, "0");
- if (pFlag =="1") {
- rTime = HH+":"+MM;
- } else {
- rTime = HH+"시간 "+MM+"분";
- }
- // alert(rTime);
- return rTime;
- }
- //Menu 오른쪽 클릭시 이벤트
- function fShowMenu(pData){
- /*
- if(!fOnDoulbeClickScheList(0)){
- return;
- }
- */
- var Idx = Number(pData);
- var iCurrentRow = datagrid5.currentrow; //.row;
- if(iCurrentRow < 0){
- return;
- }
- var sPath = "ds_HideData_opschelists_schelist";
- /*
- //상단 정보 올리기
- var sPath = "_root_HideData_opschelists_schelist";
- var sPatFlag = model.getValue(sPath+"["+iCurrentRow+"]_oppatflagcd");
- if (sPatFlag == "") {
- sPatFlag = "I";
- }
- var param = "T▦" // 01 O:외래, I:입원구분, T:수술예약
- + model.getValue(sPath+"["+iCurrentRow+"]_pid" ) + "▦" // 02 등록번호
- + model.getValue(sPath+"["+iCurrentRow+"]_opcnfmdd" ) + "▦" // 03 수술시작일자
- + "▦" // 04 cretno(없는 경우 ""로 처리)
- + model.getValue(sPath+"["+iCurrentRow+"]_instcd" ) + "▦" // 05 기관코드
- + model.getValue(sPath+"["+iCurrentRow+"]_perfdeptcd" ) + "▦" // 06 집도과부서
- + model.getValue(sPath+"["+iCurrentRow+"]_perfdrid" ) + "▦" // 07 집도의ID
- + sPatFlag + "▦" // 08 환자구분
- + "F▦" // 09 F -처리구분 무조건 F로 설정
- + model.getValue(sPath+"["+iCurrentRow+"]_oprsrvno" ) + "▦" // 10 수술예약번호
- + model.getValue(sPath+"["+iCurrentRow+"]_ophistno" ) + "▦" // 11 수술이력번호
- + model.getValue(sPath+"["+iCurrentRow+"]_opcnfmdd" ) + "▦"; // 12 조회일자 2007-09-13 오지훈 추가...
- frmf_setParameter("condparam", param);
- modal("SPMMO08900", 1, "", "", "", "SPMMO08900", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
- */
- switch(Idx) {
- case 1 :
- /*
- SMMNR00900_Param
- pid▦indd▦cretno▦instcd▦openflag▩ ==> 등록번호▦입원일자▦생성번호▦기관코드▦화면호출구분▩
- //sParamInfo = "pid▦indd▦cretno▦instcd▩31263▦20080822▦1▦012▩"
- */
- var iCurrentRow = ds_HideData_opschelists_schelist.rowposition;
- var sTmpPid = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "pid"); //model.getValue("ds_main_MnphrecoData_MnphrecoList_pid" );
- //var sTmpIndd = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "orddd");
- //var sTmpCretno = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "cretno");
- //var sTmpInrmdd = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "inrmdt");
- //var sTmpInrmtm = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "inrmtm")+"00";
- var sTmpIndd = ds_HideData_opschelists_schelist.getColumn(iCurrentRow, "indd");
- var sTmpCretno = ds_HideData_opschelists_schelist.getColumn(iCurrentRow, "cretno");
- var sTmpInrmdd = ds_HideData_opschelists_schelist.getColumn(iCurrentRow, "inrmdt");
- var sTmpInrmtm = ds_HideData_opschelists_schelist.getColumn(iCurrentRow, "inrmtm")+"00";
- //입실 시간이 없을 경우 현재일자를 넘기기 위한 메세지 추가
- if(utlf_isNull(sTmpInrmdd) || sTmpInrmtm == "00"){
- if (alert("입실일시 정보가 잘못 입력되었습니다. 현재시간으로 설정하시겠습니까?" ,"시간 Setting 확인", 1 | 32) != 1){
- return;
- }
- sTmpInrmdd = utlf_getCurrentDate();
- sTmpInrmtm = utlf_getCurrentTime().substr(0, 4);
- }
- var sTmpRecodeptcd = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recodeptcd");
- var sTmpInstcd = sysf_getUserInfo("dutplceinstcd");
- //2008-09-30 오전 2:56:49 taebum 회복실관련 임상관찰 연동 추가사항
- //frmf_setParameter("SMMNR00900_Param", "pid▦indd▦cretno▦instcd▩"+sTmpPid+"▦"+sTmpIndd+"▦"+sTmpCretno+"▦"+sTmpInstcd+"▩");
- frmf_setParameter("SMMNR00900_SpParam", "pid▦indd▦cretno▦instcd▦inrmdd▦dutplcecd▩"+sTmpPid+"▦"+sTmpIndd+"▦"+sTmpCretno+"▦"+sTmpInstcd+"▦"+sTmpInrmdd+sTmpInrmtm+"▦"+sTmpRecodeptcd+"▩");
- //frmf_modal("SMMNR00900", "", ""-"", "", "", "", "", "", "", "$16", "", "", "M");
- //open("SMMNR00900", "", "100", "100", "SMMNR00900", "", "");
- frmf_open("SMMNR00900", "SMMNR00900", "", "", "", "100", "100", "", "", "", "", "", "M");
- //frmf_setParameter("SMMNR00900_Param", "");
- break;
- case 2 :
- var pid = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "pid");
- var prcpnm = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "opcdnm");
- var kind = "5";//기타
- var arvposcd = appf_getPatientInfoDetail("wardcd");//병동코드
- var rsrvdt = "";
- //var startposcd = "3073300000";//회복실 부서코드
- var startposcd = sysf_getUserInfo("dutplcecd");
- fInsTranCallOP(pid, prcpnm, kind, rsrvdt, arvposcd, startposcd);
- break;
- case 3://수술준비확인
- frmf_setParameter("OpMenu", "O");
- //open("SMMNP00200", "", "100", "100", "SMMNP00200", "", "");
- frmf_open("SMMNP00200", "SPMNP06100", "", "", "", 100, 100, "", "", "", "", "", "M");
- break;
- case 4://마취간호처방
- //open("SMMNP01800", "", "100", "100", "SMMNP01800", "", "");
- frmf_open("SMMNP01800", "SMMNP01800", "", "", "", 100, 100, "", "", "", "", "", "M");
- break;
- case 5://마약처방관리
- //open("SMADT30400", "", "100", "100", "SMADT30400", "", "");
- frmf_open("SMADT30400", "SMADT30400", "", "", "", 100, 100, "", "", "", "", "", "M");
- break;
- case 6://PRN처방관리
- dsf_makeValue( ds_dsch_hidden_dsch_cond, "prestimportid", "string", "om");
- //modal("SMMNW00100","1","1","1", "SMMNW00100", "_root_dsch_hidden_dsch_cond", "_root_dsch_hidden_dsch_cond");
- var objArg = new Object();
- objArg.arg_ds_dsch_hidden_dsch_cond = ds_dsch_hidden_dsch_cond;
- frmf_open("SMMNW00100", "SMMNW00100", objArg, "", "1", 1, 1, "", "", "", "", "", "M");
- break;
- case 7://혈액불출관리
- if(ds_main_MnphrecoData_MnphrecoList.getColumn(0, "ioflag")!="O"){
- frmf_setParameter("SMMNR010_Param", "IPRC1");
- } else {
- frmf_setParameter("SMMNR010_Param", "OPRC1");
- }
- //frmf_setParameter("SMMNR010_Param", "O");
- //open("SMMNR01000", "", "100", "100", "SMMNR01000", "", "");
- frmf_open("SMMNR01000", "SMMNR01000", "", "", "", 100, 100, "", "", "", "", "", "M");
- break;
- case 8://현장검사입력
- //open("SMLLR91100", "", "100", "100", "SMLLR91100", "", "");
- frmf_open("SMLLR91100", "SMLLR91100", "", "", "", 100, 100, "", "", "", "", "", "M");
- break;
- case 9://바코드 출력
- //open("SMLLC00200", "", "100", "100", "SMLLC00200", "", "");
- frmf_open("SMLLC00200", "SMLLC00200", "", "", "", 100, 100, "", "", "", "", "", "M");
- break;
- case 10://NAME LABEL 정리
- group5.visible = true;//출력장수 선택
- break;
- case 11://수술전광판관리
- //open("SMMNP06100", "", "100", "100", "SMMNP06100", "", "");
- frmf_open("SMMNP06100", "SMMNP06100", "", "", "", 100, 100, "", "", "", "", "", "M");
- break;
- case 12://수술진행현황
- //open("SMMNP06200", "", "100", "100", "SMMNP06200", "", "");
- frmf_open("SMMNP06200", "SMMNP06200", "", "", "", 100, 100, "", "", "", "", "", "M");
- break;
- case 13://보호자호출
- //open("SPMNP00101", "", "100", "100", "SPMNP00101", "", "");
- frmf_open("SPMNP00101", "SPMNP00101", "", "", "", 100, 100, "", "", "", "", "", "M");
- // var iRow = -1;
- // var message = "";
- //
- // iRow = datagrid5.row;
- // var pid = model.getValue("_root_main_opPatlist_opPatInfo[" + iRow + "]_pid" );
- // var patnm = model.getValue("_root_main_opPatlist_opPatInfo[" + iRow + "]_hngnm" );
- // var oproomcd = ds_main_opPatlist_opPatInfo.getColumn(iRow, "oproomcd");
- // var oprsrvno = ds_main_opPatlist_opPatInfo.getColumn(iRow, "oprsrvno");
- // var sa = model.getValue("_root_main_opPatlist_opPatInfo[" + iRow + "]_sa" );
- // var opdd = ds_main_opPatlist_opPatInfo.getColumn(iRow, "opcnfmdd");
- // var callyn = ds_main_opPatlist_opPatInfo.getColumn(iRow, "callyn");
- // var calltel = ds_main_opPatlist_opPatInfo.getColumn(iRow, "calltel");
- // var opstatcd = ds_main_opPatlist_opPatInfo.getColumn(iRow, "opstatcd");
- // var curtDate = utlf_getCurrentDate();
- // curtDate = curtDate.substr(0, 8);
- // oproomcd = oproomcd.setReplaceWord("0", ""); //'0'을 공백으로 대체
- //
- // // 2009-03-02 ycd 호출 Message 선택 기능 추가로 인하여 삭제 처리
- // //message = patnm + "(" + sa + ") 보호자분은 수술실 입구로 오시기 바랍니다.";
- //
- // if( (opstatcd == "10")||(opstatcd == "19")||(opstatcd == "20")||(opstatcd == "29")||(opstatcd == "39")||(opstatcd == "49")||(opstatcd == "50")||(opstatcd == "70") ){
- // sysf_messageBox("수술 예정, 취소, 종료 환자는 보호자 호출을", "E001");
- // return;
- // }
- //
- // if( opdd == curtDate ) {
- // if( oprsrvno != "" ) {
- // if( callyn == "Y" ) {
- // sysf_messageBox("이미 호출 중 ", "E008");
- // }else {
- // if( calltel == "" ) {//호출 전화번호가 없으면 N으로 셋팅
- // //calltel = "N";
- // sysf_messageBox("호출 전화번호가 ", "I004");
- // return;
- // }
- //
- // //2009-03-02 YCD Message 선택 화면 Parameter 설정 및 호출 추가
- // frmf_setParameter("SPMNP00101_Param", "patnm▦oproomcd▩" + patnm + "▦" + oproomcd + "▩");
- // frmf_setParameter("SPMNP00101_RtnData", "");
- // frmf_modal("SPMNP00101", "", ""-"", "", "", "", "", "", "", "$16", "", "", "M");
- // message = frmf_getParameter("SPMNP00101_RtnData");
- //
- // if(message == ""){
- // return;
- // }
- //
- // ds_send.clearData();
- // dsf_makeValue( ds_send_savedata, "oprsrvno", "string", oprsrvno);
- // dsf_makeValue( ds_send_savedata, "message", "string", message);
- // dsf_makeValue( ds_send_savedata, "calltel", "string", calltel);
- // dsf_makeValue( ds_send_savedata, "patnm", "string", patnm);
- // dsf_makeValue( ds_send_savedata, "callyn", "string", callyn);
- // dsf_makeValue( ds_send_savedata, "stat", "string", "I");
- // submit("TXMNP00101");
- //
- // sysf_messageBox("호출 ", "I002");
- // }
- // }else {
- // sysf_messageBox("수술예약번호가 ", "I004");
- // }
- // }else {
- // sysf_messageBox("현재 날짜 이외의 환자는 호출 ", "E001");
- // }
- //
- // fSelectPos();
- break;
- //case 14://보호자호출 취소
- // var iRow = -1;
- // iRow = datagrid5.row;
- // var oprsrvno = ds_main_opPatlist_opPatInfo.getColumn(iRow, "oprsrvno");
- // var callyn = ds_main_opPatlist_opPatInfo.getColumn(iRow, "callyn");
- // var opdd = ds_main_opPatlist_opPatInfo.getColumn(iRow, "opcnfmdd");
- // var curtDate = utlf_getCurrentDate();
- // curtDate = curtDate.substr(0, 8);
- //
- // if( opdd == curtDate ) {
- // if( oprsrvno != "" ) {
- // if( callyn != "Y" ) {
- // sysf_messageBox("미호출 상태 ", "E008");
- // }else {
- // ds_send.clearData();
- // dsf_makeValue( ds_send_savedata, "oprsrvno", "string", oprsrvno);
- // dsf_makeValue( ds_send_savedata, "stat", "string", "C");
- // submit("TXMNP00101");
- //
- // sysf_messageBox("호출 취소를 ", "I002");
- // }
- // }else {
- // sysf_messageBox("수술예약번호가 ", "I004");
- // }
- // }else {
- // sysf_messageBox("현재 날짜 이외의 환자는 호출 취소", "E001");
- // }
- //
- // fSelectPos();
- // break;
- case 15://마취기록지
- //open("SMMMR03700", "", "100", "100", "SMMMR03700", "", "");
- frmf_open("SMMMR03700", "SMMMR03700", "", "", "", 100, 100, "", "", "", "", "", "M");
- break;
- case 16: //입실취소 by 박영우 20100121
- fInOutRoomCancel(); // 회복간호기록 입실취소
- break;
- default :
- alert("등록된 메뉴정보가 존재하지 않습니다.");
- break;
- }
- }
- /**
- * _group :
- * _ver : 2008.08.26
- * _by : 김 진 명
- * _---------------------------------------------------
- * _type : function
- * _access : public
- * _desc : 수술실 이송요원 호출 함수
- * _param :
- * _return :
- * _---------------------------------------------------
- */
- function fInsTranCallOP(pid, prcpnm, kind, rsrvdt, arvposcd, startposcd){
- frmf_setParameter("status", "OP");
- frmf_setParameter("pid", pid);
- frmf_setParameter("prcpnm", prcpnm);
- frmf_setParameter("kind", kind);
- frmf_setParameter("rsrvdt", rsrvdt);
- frmf_setParameter("arvposcd", arvposcd);
- frmf_setParameter("startposcd", startposcd);
- //modal("SMMNB01810" ,"", "300", "150", "SMMNB01810", "", "");
- frmf_modal("SMMNW14100", "SMMNW14100", "", "", "", 300, 150, "", "", "", "", "", "M");
- }
- /**
- * PCA기록 조회 버튼 클릭 시 이벤트
- *
- */
- function fOnClickPCABtn(){
- var sAnstRecNo = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "anstrecno");
- if(!utlf_isNull(sAnstRecNo)){
- frmf_setParameter("SMMNP00700_anstrecno", sAnstRecNo); //마취기록번호
- //open("SPMNP00701", "", "100", "100", "SPMNP00701", "", "");
- frmf_modal("SPMNP00701", "SPMNP00701", "", "", "", 100, 100, "", "", "", "", "", "M");
- }
- }
- function fOnClickAnstInfoCombo(){
- var sPlace = ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.getColumn(0, "prtctplacecd");
- var sOutSmsFlag = ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.getColumn(0, "outsmsmsgflag");
- if(sPlace == "R"){
- //ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayadddt","");
- //ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayaddtm","");
- //ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayid","");
- //ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayid_tmp","");
- //ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwaynm","");
- //ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayur","");
- //ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairway","");
- //ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwaydt","");
- //ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwaytm","");
- //ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctcairwayextid","");
- //ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctcairwayextid_tmp","");
- //ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayextnm","");
- //ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayextbp","");
- //ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayextp","");
- //ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayextspo","");
- //checkbox5.refresh();
- //radio6.refresh();
- //group5.refresh();
- //checkbox2.refresh();
- }if(sPlace == "O"){
- if(ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recstat") == "I"){
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec.clearData();
- dsf_makeValue( ds_main_MnphrecoData_MnphrecoList, "prtctairwayspec", "string", "" );
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec.copyData(ds_hidden_hiddendata_anstinfospec);
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "outsmsmsgflag", sOutSmsFlag);
- }
- //checkbox5.refresh();
- //radio6.refresh();
- //group5.refresh();
- //checkbox2.refresh();
- }
- }
- //회복기록1 정보조회
- function fGetGiRok1Data(pFlag, pSearchDt){
- ds_main_revrInfo_mnphrepg.clearData();
- var sPinfoPath = "ds_init_WorkData";
- var sTitleXpath = "ds_main_revrInfo_mnphrevrtitle";
- var sRecovseqno = eval(sPinfoPath).getColumn(0, "recovseqno");
- var sPid = eval(sPinfoPath).getColumn(0, "pid");
- var sOprsrvno = eval(sPinfoPath).getColumn(0, "oprsrvno");
- var sSearchDt = "";
- if(utlf_isNull(sOprsrvno) || utlf_isNull(sPid) || utlf_isNull(sRecovseqno) ){
- sysf_messageBox("기록할 환자를 선택하시기 바랍니다.", "I000");
- return;
- }
- var sTerm = ds_init_revrterm.getColumn(0, "term");
- if(utlf_isNull(sTerm)){
- sTerm = "5";
- }
- var sPrnorderflag = ds_init_revrterm.getColumn(0, "prnorderflag");
- if(utlf_isNull(sPrnorderflag)){
- ds_init_revrterm.setColumn( 0, "prnorderflag", "A");
- //radio4.refresh();
- sPrnorderflag = "A";
- }
- //var sActingOrderFlag = ds_init_revrterm.getColumn(0, "actionoderflag");
- //if(sActingOrderFlag == ""){
- // ds_init_revrterm.setColumn( 0, "actionoderflag", "R");
- // //radio2.refresh();
- // sActingOrderFlag = "R";
- //}
- ds_send.clearData();
- if(pFlag == "NEXT"){
- var dateObj = (eval(sTitleXpath).getColumn(0, "data24")).toDate("YYYYMMDDhhmm");
- var sNextData = dateObj.getAddDate(eval(ds_init_revrterm.getColumn(0, "term")), "m");
- sSearchDt = utlf_getDateTime(sNextData,"기본").substr(0,12);
- }else if(pFlag == "PRE"){
- var dateObj = (eval(sTitleXpath).getColumn(0, "data1")).toDate("YYYYMMDDhhmm");
- var sNextData = dateObj.getAddDate((-parseInt(ds_init_revrterm.getColumn(0, "term"))*24), "m");
- sSearchDt = utlf_getDateTime(sNextData,"기본").substr(0,12);
- }else if(pFlag == "RELOAD"){
- sSearchDt = pSearchDt;
- }
- ds_main_paminfo_list.clearData();
- var node = sysf_getGlobalVariable("paminfo");
- //setCSVToNode("_root_main_paminfo", node);
- dsf_setCSVToDs("ds_main_paminfo_list",node);
- dsf_makeValue( ds_send, "recovseqno", "string", sRecovseqno);
- dsf_makeValue( ds_send, "oprsrvno", "string", sOprsrvno );
- dsf_makeValue( ds_send, "pid", "string", sPid );
- dsf_makeValue( ds_send, "searchdt", "string", sSearchDt );
- dsf_makeValue( ds_send, "term", "string", sTerm );
- dsf_makeValue( ds_send, "indd", "string", ds_main_paminfo_list.getColumn(0, "indd"));
- dsf_makeValue( ds_send, "prnorderflag", "string", sPrnorderflag);
- dsf_makeValue( ds_send, "actingorderflag", "string", "");
-
- var nVScrollPos = switch1.case1.case4.datagrid9.vscrollbar.pos;
- var nHScrollPos = switch1.case1.case4.datagrid9.hscrollbar.pos;
-
- //if(submit("TRMNP00708")){
- var oParam = {};
- oParam.id = "TRMNP00708";
- oParam.service = "opanstapp.OpAnstRef";
- oParam.method = "reqGetMnphrevrInfo";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_revrInfo_recopkinfo=recopkinfo " +
- "ds_main_revrInfo_mnphrevrtitle=mnphrevrtitle " +
- "ds_main_revrInfo_mnphrevr=mnphrevr " +
- "ds_main_revrInfo_mnphrepg=mnphrepg " +
- "ds_main_revrInfo_prnorderlist=prnorderlist " +
- "ds_main_revrInfo_actingorderlist=actingorderlist";
- oParam.async = false;
- oParam.callback = "cf_TRMNP00708";
- tranf_submit(oParam);
-
- if( utlf_isNull(ds_main_revrInfo_mnphrevr.getColumnInfo("recovseqno")) ){
- ds_main_revrInfo_mnphrevr.addColumn("recovseqno", "string");
- }
-
- ds_main_revrInfo_mnphrevr.addColumn("colBack3", "string");
- ds_main_revrInfo_mnphrevr.addColumn("colBack4", "string");
- ds_main_revrInfo_mnphrevr.addColumn("colBack5", "string");
-
- //ds_main_revrInfo_mnphrevr.setColumn(0, "vsitemnm", "asdfasdfasdf"+ds_main_revrInfo_mnphrevr.getColumn(0, "vsitemnm")); //yjh1
- ds_main_revrInfo_mnphrevr.setColumn(0, "vsitemnm", ds_main_revrInfo_mnphrevr.getColumn(0, "vsitemnm"));
-
- ds_main_revrInfo_actingorderlist.rowposition = -1;
- ds_main_revrInfo_mnphrevr.rowposition = -1;
- ds_main_revrInfo_prnorderlist.rowposition = -1;
-
- switch1.case1.case4.datagrid9.vscrollbar.pos = nVScrollPos;
- switch1.case1.case4.datagrid9.hscrollbar.pos = nHScrollPos;
-
- if(arErrorCode.pop("TRMNP00708") > -1){
- var iTitleCnt = ds_main_revrInfo_mnphrevrtitle.rowcount;
- if(iTitleCnt == 1){
- //grid의 title 정보를 caption에 뿌려준다.
- lf_mergeHeadTitle();
-
- // var sTitle = "분류코드^아이템코드^recovseqno^^날짜^Total I_O^Total I_O^"
- //
- // +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)+"일^"
- // +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)+"일^"
- // +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)+"일^"
- // +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)+"일^"
- // +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)+"일^"
- // +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)+"일^"
- // +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)+"일^"
- // +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)+"일^"
- // +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)+"일^"
- // +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)+"일^"
- // +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)+"일^"
- // +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)+"일^"
- // +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)+"일^"
- // +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)+"일^"
- // +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)+"일^"
- // +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)+"일^"
- // +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)+"일^"
- // +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)+"일^"
- // +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)+"일^"
- // +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)+"일^"
- // +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)+"일^"
- // +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)+"일^"
- // +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)+"일^"
- // +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)+"일|"
- // +"분류코드^아이템코드^recovseqno^^시^I_O^I_O^"
- // +String(eval(sTitleXpath).getColumn(0, "data1" )).substr(8,2)+"시^"
- // +String(eval(sTitleXpath).getColumn(0, "data2" )).substr(8,2)+"시^"
- // +String(eval(sTitleXpath).getColumn(0, "data3" )).substr(8,2)+"시^"
- // +String(eval(sTitleXpath).getColumn(0, "data4" )).substr(8,2)+"시^"
- // +String(eval(sTitleXpath).getColumn(0, "data5" )).substr(8,2)+"시^"
- // +String(eval(sTitleXpath).getColumn(0, "data6" )).substr(8,2)+"시^"
- // +String(eval(sTitleXpath).getColumn(0, "data7" )).substr(8,2)+"시^"
- // +String(eval(sTitleXpath).getColumn(0, "data8" )).substr(8,2)+"시^"
- // +String(eval(sTitleXpath).getColumn(0, "data9" )).substr(8,2)+"시^"
- // +String(eval(sTitleXpath).getColumn(0, "data10")).substr(8,2)+"시^"
- // +String(eval(sTitleXpath).getColumn(0, "data11")).substr(8,2)+"시^"
- // +String(eval(sTitleXpath).getColumn(0, "data12")).substr(8,2)+"시^"
- // +String(eval(sTitleXpath).getColumn(0, "data13")).substr(8,2)+"시^"
- // +String(eval(sTitleXpath).getColumn(0, "data14")).substr(8,2)+"시^"
- // +String(eval(sTitleXpath).getColumn(0, "data15")).substr(8,2)+"시^"
- // +String(eval(sTitleXpath).getColumn(0, "data16")).substr(8,2)+"시^"
- // +String(eval(sTitleXpath).getColumn(0, "data17")).substr(8,2)+"시^"
- // +String(eval(sTitleXpath).getColumn(0, "data18")).substr(8,2)+"시^"
- // +String(eval(sTitleXpath).getColumn(0, "data19")).substr(8,2)+"시^"
- // +String(eval(sTitleXpath).getColumn(0, "data20")).substr(8,2)+"시^"
- // +String(eval(sTitleXpath).getColumn(0, "data21")).substr(8,2)+"시^"
- // +String(eval(sTitleXpath).getColumn(0, "data22")).substr(8,2)+"시^"
- // +String(eval(sTitleXpath).getColumn(0, "data23")).substr(8,2)+"시^"
- // +String(eval(sTitleXpath).getColumn(0, "data24")).substr(8,2)+"시|"
- // +"분류코드^아이템코드^recovseqno^^분^I_O^I_O^"
- // +String(eval(sTitleXpath).getColumn(0, "data1" )).substr(10,2)+"분^"
- // +String(eval(sTitleXpath).getColumn(0, "data2" )).substr(10,2)+"분^"
- // +String(eval(sTitleXpath).getColumn(0, "data3" )).substr(10,2)+"분^"
- // +String(eval(sTitleXpath).getColumn(0, "data4" )).substr(10,2)+"분^"
- // +String(eval(sTitleXpath).getColumn(0, "data5" )).substr(10,2)+"분^"
- // +String(eval(sTitleXpath).getColumn(0, "data6" )).substr(10,2)+"분^"
- // +String(eval(sTitleXpath).getColumn(0, "data7" )).substr(10,2)+"분^"
- // +String(eval(sTitleXpath).getColumn(0, "data8" )).substr(10,2)+"분^"
- // +String(eval(sTitleXpath).getColumn(0, "data9" )).substr(10,2)+"분^"
- // +String(eval(sTitleXpath).getColumn(0, "data10")).substr(10,2)+"분^"
- // +String(eval(sTitleXpath).getColumn(0, "data11")).substr(10,2)+"분^"
- // +String(eval(sTitleXpath).getColumn(0, "data12")).substr(10,2)+"분^"
- // +String(eval(sTitleXpath).getColumn(0, "data13")).substr(10,2)+"분^"
- // +String(eval(sTitleXpath).getColumn(0, "data14")).substr(10,2)+"분^"
- // +String(eval(sTitleXpath).getColumn(0, "data15")).substr(10,2)+"분^"
- // +String(eval(sTitleXpath).getColumn(0, "data16")).substr(10,2)+"분^"
- // +String(eval(sTitleXpath).getColumn(0, "data17")).substr(10,2)+"분^"
- // +String(eval(sTitleXpath).getColumn(0, "data18")).substr(10,2)+"분^"
- // +String(eval(sTitleXpath).getColumn(0, "data19")).substr(10,2)+"분^"
- // +String(eval(sTitleXpath).getColumn(0, "data20")).substr(10,2)+"분^"
- // +String(eval(sTitleXpath).getColumn(0, "data21")).substr(10,2)+"분^"
- // +String(eval(sTitleXpath).getColumn(0, "data22")).substr(10,2)+"분^"
- // +String(eval(sTitleXpath).getColumn(0, "data23")).substr(10,2)+"분^"
- // +String(eval(sTitleXpath).getColumn(0, "data24")).substr(10,2)+"분";
- //
- // //switch1.case1.case4.datagrid9.caption = sTitle;
- // switch1.case1.case4.datagrid9.setCellProperty("head", "text", sTitle);
-
-
-
- //switch1.case1.case4.datagrid9.mergeCells = "bycolrec";
- //switch1.case1.case4.datagrid9.mergeCol(0) = true ;
- //switch1.case1.case4.datagrid9.mergeCol(1) = true;
- //switch1.case1.case4.datagrid9.mergeCol(2) = true;
- //switch1.case1.case4.datagrid9.mergeCol(3) = true;
- //switch1.case1.case4.datagrid9.mergeCol(4) = true;
- //switch1.case1.case4.datagrid9.mergeCol(5) = false;
- //switch1.case1.case4.datagrid9.mergeCol(6) = false;
- //switch1.case1.case4.datagrid9.mergeCol(7) = false;
- //switch1.case1.case4.datagrid9.mergeCol(8) = false;
- //switch1.case1.case4.datagrid9.mergeCol(9) = false;
- //switch1.case1.case4.datagrid9.mergeCol(10) = false;
- //switch1.case1.case4.datagrid9.mergeCol(11) = false;
- //switch1.case1.case4.datagrid9.mergeCol(12) = false;
- //switch1.case1.case4.datagrid9.mergeCol(13) = false;
- //switch1.case1.case4.datagrid9.mergeCol(14) = false;
- //switch1.case1.case4.datagrid9.mergeCol(15) = false;
- //switch1.case1.case4.datagrid9.mergeCol(16) = false;
- //switch1.case1.case4.datagrid9.mergeCol(17) = false;
- //switch1.case1.case4.datagrid9.mergeCol(18) = false;
- //switch1.case1.case4.datagrid9.mergeCol(19) = false;
- //switch1.case1.case4.datagrid9.mergeCol(20) = false;
- //switch1.case1.case4.datagrid9.mergeCol(21) = false;
- //switch1.case1.case4.datagrid9.mergeCol(22) = false;
- //switch1.case1.case4.datagrid9.mergeCol(23) = false;
- //switch1.case1.case4.datagrid9.mergeCol(24) = false;
- //switch1.case1.case4.datagrid9.mergeCol(25) = false;
- //switch1.case1.case4.datagrid9.mergeCol(26) = false;
- //switch1.case1.case4.datagrid9.mergeCol(27) = false;
- //switch1.case1.case4.datagrid9.mergeCol(28) = false;
- //switch1.case1.case4.datagrid9.mergeCol(29) = false;
- //switch1.case1.case4.datagrid9.mergeCol(30) = false;
- //switch1.case1.case4.datagrid9.mergeCol(31) = false;
- //원본 파일을 임시 노드에 저장
- ds_HideData_rsrvcopy_org_list_mnphrevr.copyData(ds_main_revrInfo_mnphrevr); // 이후에 초기화 값 체크하는 것 보고 이것으로 판단함. kimdo3
- ds_HideData_rsrvcopy_org_list_recopkinfo.copyData(ds_main_revrInfo_recopkinfo); // 이후에 초기화 값 체크하는 것 보고 이것으로 판단함. kimdo3
- ds_HideData_rsrvcopy_org_list_prnorderlist.copyData(ds_main_revrInfo_prnorderlist); // 이후에 초기화 값 체크하는 것 보고 이것으로 판단함. kimdo3
- ds_HideData_rsrvcopy_org_list_mnphrepg.copyData(ds_main_revrInfo_mnphrepg);
- ds_HideData_rsrvcopy_org_list_actingorderlist.copyData(ds_main_revrInfo_actingorderlist);
- ds_HideData_rsrvcopy_org_list_mnphrevrtitle.copyData(ds_main_revrInfo_mnphrevrtitle);
-
- }
- //switch1.case1.case4.datagrid9.colstyle(3, "data", "background-color") = "#ccccff";
- //switch1.case1.case4.datagrid9.colstyle(4, "data", "background-color") = "#ccccff";
- //switch1.case1.case4.datagrid9.colstyle(3, "data", "color") = "#ffffff";
- //switch1.case1.case4.datagrid9.colstyle(4, "data", "color") = "#ffffff";
-
- ds_main_revrInfo_mnphrevr.enableevent = false;
- ds_main_revrInfo_mnphrevr.updatecontrol = false;
-
- for( var i=0 ; i<ds_main_revrInfo_mnphrevr.rowcount ; i++ ){
- ds_main_revrInfo_mnphrevr.setColumn(i, "colBack3", "#d5f4f5");
- ds_main_revrInfo_mnphrevr.setColumn(i, "colBack4", "#d5f4f5");
- ds_main_revrInfo_mnphrevr.setColumn(i, "colBack5", "#eaeaea");
- }
-
- ds_main_revrInfo_mnphrevr.updatecontrol = true;
- ds_main_revrInfo_mnphrevr.enableevent = true;
-
- // switch1.case1.case4.datagrid9.setCellProperty("body", 3, "background", "#d5f4f5");//.colstyle(3, "data", "background-color") = "#d5f4f5";
- // switch1.case1.case4.datagrid9.setCellProperty("body", 3, "background2", "#d5f4f5");
- // switch1.case1.case4.datagrid9.setCellProperty("body", 4, "background", "#d5f4f5"); //.colstyle(4, "data", "background-color") = "#d5f4f5";
- // switch1.case1.case4.datagrid9.setCellProperty("body", 4, "background2", "#d5f4f5");
- // switch1.case1.case4.datagrid9.setCellProperty("body", 5, "background", "#eaeaea"); //.colstyle(5, "data", "background-color") = "#eaeaea";
- // switch1.case1.case4.datagrid9.setCellProperty("body", 5, "background2", "#eaeaea");
- // switch1.case1.case4.datagrid9.setCellProperty("body", 6, "background", "#eaeaea"); //colstyle(6, "data", "background-color") = "#eaeaea";
- // switch1.case1.case4.datagrid9.setCellProperty("body", 6, "background2", "#eaeaea");
-
- //switch1.case1.case4.datagrid9.colstyle(3, "data", "color") = "#ffffff";
- //switch1.case1.case4.datagrid9.colstyle(4, "data", "color") = "#ffffff";
- if(sysf_getUserInfo("dutplceinstcd") == yuidoinstcd) { //성모병원만 적용
- //V_S항목 포맷형식 지정 by 박영우 2010-02-22
- var lrgcd = "";
- var vsitemcd = "";
- for(var i = 0; i < ds_main_revrInfo_mnphrevr.rowcount; i++) {
- lrgcd = ds_main_revrInfo_mnphrevr.getColumn(i, "lrgcd");
- vsitemcd = ds_main_revrInfo_mnphrevr.getColumn(i, "vsitemcd");
- if( (lrgcd == "00001" && vsitemcd == "00001") || // lrgcd: PROGRESS, vsitemcd: PROGRESS
- (lrgcd == "00002" && vsitemcd == "00007") || // lrgcd: V_S, vsitemcd: ECG(적용)
- (lrgcd == "00003" && !(vsitemcd == "00001" || vsitemcd == "00006")) || // lrgcd: 호흡관리, vsitemcd: O₂양(L_min), Suction 양 제외!
- (lrgcd == "00008" && (vsitemcd == "00003" || vsitemcd == "00004")) || // lrgcd: 분만관리, vsitemcd: Contraction, Lochia
- // lrgcd: 사정도구, 기본관리, 간호수행, Ventilator, 삽관
- (lrgcd == "00007") || (lrgcd == "00009") || (lrgcd == "00010") || (lrgcd == "00011") || (lrgcd == "00012")
- ) {
- //for(var j = 5; j < ds_main_revrInfo_mnphrevr.colcount ; j++) {
- // switch1.case1.case4.datagrid9.cellformat((i+switch1.case1.case4.datagrid9.fixedRows-1), j) = "";
- //}
- for(var j = 5; j < ds_main_revrInfo_mnphrevr.getColCount; j++) {
- switch1.case1.case4.datagrid9.setCellProperty("body", j, "mask", "");
- }
-
- } else {
- //for(var j = 5; j<switch1.case1.case4.datagrid9.cols ; j++) {
- // switch1.case1.case4.datagrid9.cellformat((i+switch1.case1.case4.datagrid9.fixedRows-1), j) = "999999";
- //}
- for(var j = 5; j < ds_main_revrInfo_mnphrevr.getColCount; j++) {
- switch1.case1.case4.datagrid9.setCellProperty("body", j, "mask", "999999");
- }
-
- }
- if( lrgcd == "00002" && vsitemcd == "00005") {
- //for(var j = 5; j<switch1.case1.case4.datagrid9.cols ; j++) {
- // switch1.case1.case4.datagrid9.cellformat((i+switch1.case1.case4.datagrid9.fixedRows-1), j) = "#.9";
- //}
- for(var j = 5; j < ds_main_revrInfo_mnphrevr.getColCount; j++) {
- switch1.case1.case4.datagrid9.setCellProperty("body", j, "mask", "#.9");
- }
-
- }
- }
- }
- //switch1.case1.case4.datagrid9.refresh();
- switch1.case1.case4.datagrid2.setCellProperty("body", 0, "background", "#d5f4f5");//.colstyle(0, "data", "background-color") = "#d5f4f5";
- switch1.case1.case4.datagrid2.setCellProperty("body", 0, "background2", "#d5f4f5");
-
-
-
- //datagrid2.refresh();
- } else {
- //ds_main_revrInfo.clearData();
- //dsf_makeValue( ds_main, "revrInfo", "string", "" );
-
- ds_main_revrInfo_recopkinfo.clearData();
- ds_main_revrInfo_mnphrevrtitle.clearData();
- ds_main_revrInfo_mnphrevr.clearData();
- ds_main_revrInfo_mnphrepg.clearData();
- ds_main_revrInfo_prnorderlist.clearData();
- ds_main_revrInfo_actingorderlist.clearData();
-
- //model.refresh();
- }
- }
- function cf_TRMNP00708(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- // grid head column title set & merge
- function lf_mergeHeadTitle(){
-
- var objGrid = switch1.case1.case4.datagrid9;
- var sTitleXpath = "ds_main_revrInfo_mnphrevrtitle";
-
- // init
- objGrid.enableredraw = false;
- objGrid.enableevent = false;
- objGrid.formats = lgv_datagrid9Formats;
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- // head column title setting
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- var sVal = "";
- var sCurColIdx, sCurRowIdx, sNextRowIdx;
- var format = objGrid.formats;
- var fromatCount = 0;
- //format = format.split(String.fromCharCode(13));
- format = format.split("\n");
- //format = String.fromCharCode(13)
- //for (var i = objGrid.getCellCount("Head")-1; i > 0 ; i--){
- for(var j = 0; j < format.length; j++){
- var bolformat = utlf_isSearchString(format[j], '<Band id="head">');
- if(bolformat == true){
- fromatCount = j + 1;
- }
- }
- for (var i = objGrid.getCellCount("Head")- 1; i > 0 ; i--){
- sCurColIdx = objGrid.getCellProperty("Head", i, "col");
-
- if(utlf_isNull(sCurColIdx) || sCurColIdx < 7 ) {
- continue;
- }
- if(utlf_isNull(sCurColIdx) || sCurColIdx > 30 ) {
- continue;
- }
-
- sCurRowIdx = objGrid.getCellProperty("Head", i, "row");
-
- if(sCurRowIdx == 0){
- sVal = sVal + eval(sTitleXpath).getColumn(0, "data"+(sCurColIdx-6)).substr(0,4) + "년"
- + eval(sTitleXpath).getColumn(0, "data"+(sCurColIdx-6)).substr(4,2) + "월"
- + eval(sTitleXpath).getColumn(0, "data"+(sCurColIdx-6)).substr(6,2) + "일";
- }
- else if(sCurRowIdx == 1){
- sVal = eval(sTitleXpath).getColumn(0, "data"+(sCurColIdx-6)).substr(8,2) + "시";
- }
- else if(sCurRowIdx == 2){
- sVal = eval(sTitleXpath).getColumn(0, "data"+(sCurColIdx-6)).substr(10,2) + "분";
- }
- //objGrid.setCellProperty("Head", i, "text", sVal);
-
- format[i + eval(fromatCount)] = format[i + eval(fromatCount)].replace("/>", ' text="' + sVal + '"/>');
- sVal = "";
- }
- var formatTotal = "";
- for(var j = 0; j < format.length ; j++){
- formatTotal += format[j] + '\r\n';
- }
- objGrid.formats = formatTotal;
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- // head column mergeinfo get
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- // [0] : day, [1] : hour, [2] : min
- var arrMergeIdx = new Array();
- var sCurCellIdx = 6; // 고정 cell idx (merge 전)
- var sMergCellIdx = 6; // megre 후 cell idx
-
- var sCurArr;
- var bMergFlag = false;
- var sArrIdx = 0;
-
- var sNextVal = "";
-
- for (var i = 0; i < 3; i++){ // 일자, 시간, 분
-
- sArrIdx = 0;
- bMergFlag = false;
- arrMergeIdx[i] = new Array();
- for(var j = 0; j < 25; j++){ // 24개 컬럼 // flag Column 추가로 24 -> 25로 변경
-
- // col, row index
- sCurColIdx = objGrid.getCellProperty("Head", sCurCellIdx, "col");
- sCurRowIdx = objGrid.getCellProperty("Head", sCurCellIdx, "row");
- sNextRowIdx = "";
- if(j < 24) sNextRowIdx = objGrid.getCellProperty("Head", sCurCellIdx+1, "row"); // 23 -> 24로 변경
-
- // cur val
- sVal = objGrid.getCellText(-1, sCurCellIdx);
- sNextVal = "";
- if(j < 24) sNextVal = objGrid.getCellText(-1, sCurCellIdx+1); // 23 -> 24로 변경
-
- // merge 대상 체크
- if( (j == 0) || ( !bMergFlag && (sCurRowIdx == sNextRowIdx) && (sVal == sNextVal) ) ){
- arrMergeIdx[i][sArrIdx] = {strCol: sCurColIdx, endCol: "", cellIdx: sMergCellIdx};
- bMergFlag = true;
- }
- if( (j == 24) || ( bMergFlag && (sCurRowIdx == sNextRowIdx) && (sVal != sNextVal) ) ){ // 23 -> 24로 변경
- if(!utlf_isNull(arrMergeIdx[i][sArrIdx])) arrMergeIdx[i][sArrIdx].endCol = sCurColIdx;
- bMergFlag = false;
- sArrIdx++; // merge 정보 array index
- sMergCellIdx++; // merge 후 cell index
- }
-
- sCurCellIdx++; // merge 전 cell index
- }
-
- /* cell index의 경우 row span된 cell은 indexing에서 제외됨. */
- if(i==0 || i==1){
- sCurCellIdx += (5-i); // 시간 row - 기본 셀 (고정) : 5
- sMergCellIdx += (5-i); // 분 row - 기본 셀 (고정) : 4
- }
-
- }
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- // merge
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- for (var i = 0; i < 3; i++){
- for(var k in arrMergeIdx[i]){
- if( i != 2 || arrMergeIdx[i][k].strCol < 7 ){
- objGrid.mergeContentsCell("head", i, arrMergeIdx[i][k].strCol, i, arrMergeIdx[i][k].endCol, arrMergeIdx[i][k].cellIdx, false);
- }
- }
- }
- objGrid.enableredraw = true;
- objGrid.enableevent = true;
-
- }
- //회복기록1 저장
- function fSaveGirok1(pSignFlag){
- //항목별 변경된 값 확인
- //debugger;
- var sSaveItemXpath = ds_main_revrInfo_mnphrevr;
- var sOrg_searchXpath = ds_HideData_rsrvcopy_org_list_mnphrevr;
- var sTitle_recdtXpath = ds_main_revrInfo_mnphrevrtitle;
- var sSingleSignXpath = ds_displaysigninfo_signdatalist;
- var iGirokGridCnt = sSaveItemXpath.rowcount;
- var sItemcd = "";
- var iSameRowno = 0;
- //서버로 전송할 값 비교
- var sSaveValue = "";
- var sOrgValue = "";
- //서버로 전송할 데이터 초기화
- var sLrgcd = "";
- var sVsitemcd = "";
- var sRecovseqno = utlf_transNullToEmpty(ds_main_revrInfo_recopkinfo.getColumn(0, "recovseqno"));
- var sLrgnm = "";
- var sVsitmnm = "";
- var sRecdt = "";
- var sRecflag = "";
- var iChangeCnt = 0;
- //저장시 Grid형태로 보내기 위한 Header 정보 setting
- var sSaveHearder = "status▦lrgcd▦vsitemcd▦recovseqno▦recdt▦reccnt▦lrgnm▦vsitemnm▦recdeptcd▦recflag▩";
- //var sSaveProgressHeader = "status▦recovseqno▦progressno▦reccmt▩";
- var sSaveData = "";
- var sSaveProgressData = "";
- if(utlf_isNull(sRecovseqno)){
- sysf_messageBox("회복환자 정보가 존재하지 않습니다.", "I000");
- return false;
- }
- //인증저장했던 노드 정보 제거
- //ds_displaysigninfo_signdatalist.clearData();
- //progress note 저장
- var sProgressXpath = ds_main_revrInfo_mnphrepg;
- var iProgressGridCnt = ds_main_revrInfo_mnphrepg.rowcount; //getNodesetCount(sProgressXpath);
- if(iGirokGridCnt >0){
- for(var i = 0; i < iGirokGridCnt; i++){
- var rowChngCnt = 0;
- sLrgcd = utlf_transNullToEmpty(sSaveItemXpath.getColumn( i, "lrgcd")); //switch1.case1.case4.datagrid9.valuematrix(i, 0);
- sItemcd = utlf_transNullToEmpty(sSaveItemXpath.getColumn( i, "vsitemcd"));//switch1.case1.case4.datagrid9.valuematrix(i, 1);
- iSameRowno = fFindSameRow(sLrgcd, sItemcd);
-
- if(iSameRowno != 0){
- //초기화 설정을 했거나, 기존에 저장한 항목일 경우
- delrowcnt = 0 ;
- for(var iCol = 1; iCol <= 24; iCol++){
- sSaveValue = utlf_transNullToEmpty(sSaveItemXpath.getColumn( i, "data"+iCol));
- sOrgValue = utlf_transNullToEmpty(sOrg_searchXpath.getColumn( iSameRowno, "data"+iCol));
- /*
- if(sLrgcd = "00001" && sItemcd == "00001" ){
- for(var procrow = 0 ; procrow < iProgressGridCnt ; procrow ++){
- if(switch1.case1.case4.datagrid2.rowStatus(procrow) == "4" && sSaveValue == switch1.case1.case4.datagrid2.valueMatrix(procrow, switch1.case1.case4.datagrid2.colRef("progressno"))){
- delrowcnt++ ;
- }
- if( switch1.case1.case4.datagrid2.rowStatus(procrow) != "4" ){
- if(switch1.case1.case4.datagrid2.valueMatrix(procrow, switch1.case1.case4.datagrid2.colRef("progressno")) == sSaveValue.replace(" ", "")){
- 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);
- sSaveValue = switch1.case1.case4.datagrid2.valueMatrix(procrow, switch1.case1.case4.datagrid2.colRef("progressno"));
- }
- }
- if(switch1.case1.case4.datagrid2.rowStatus(procrow) == "4" && sSaveValue == switch1.case1.case4.datagrid2.valueMatrix(procrow, switch1.case1.case4.datagrid2.colRef("progressno"))){
- sSaveValue = "";
- }
- }
- }
- */
- if(sSaveValue != sOrgValue){
- //서버로 전송할 데이터 생성
- sLrgcd = utlf_transNullToEmpty(sSaveItemXpath.getColumn( i, "lrgcd"));
- sVsitemcd = utlf_transNullToEmpty(sSaveItemXpath.getColumn( i, "vsitemcd"));
- sLrgnm = utlf_transNullToEmpty(sSaveItemXpath.getColumn( i, "lrgnm"));
- sVsitmnm = utlf_transNullToEmpty(sSaveItemXpath.getColumn( i, "vsitemnm"));
- sRecdt = utlf_transNullToEmpty(sTitle_recdtXpath.getColumn(0, "data"+iCol));
- sRecflag = utlf_transNullToEmpty(sSaveItemXpath.getColumn( i, "recflag"));
- sSaveData += "u▦"
- +sLrgcd +"▦"
- +sVsitemcd +"▦"
- +sRecovseqno +"▦"
- +sRecdt +"▦"
- +sSaveValue +"▦"
- +sLrgnm +"▦"
- +sVsitmnm +"▦"
- +sysf_getUserInfo("dutplcecd")+"▦"
- +sRecflag +"▩";
- iChangeCnt++;
- }
- }
- }else{
- sLrgcd = utlf_transNullToEmpty(sSaveItemXpath.getColumn( i, "lrgcd"));
- sVsitemcd = utlf_transNullToEmpty(sSaveItemXpath.getColumn( i, "vsitemcd"));
- sLrgnm = utlf_transNullToEmpty(sSaveItemXpath.getColumn( i, "lrgnm"));
- sVsitmnm = utlf_transNullToEmpty(sSaveItemXpath.getColumn( i, "vsitemnm"));
- sNullData = utlf_transNullToEmpty(sTitle_recdtXpath.getColumn(0, "data1")); // 항목이 모두비었을경우 빈값을 넣어준다.
- sRecflag = utlf_transNullToEmpty(sSaveItemXpath.getColumn( i, "recflag"));
- //신규로 추가한 항목일 경우.
- for(var iCol=1; iCol<= 24; iCol++){
- //서버로 전송할 데이터 생성
- sRecdt = utlf_transNullToEmpty(sTitle_recdtXpath.getColumn(0, "data"+iCol));
- sSaveValue = utlf_transNullToEmpty(sSaveItemXpath.getColumn( i, "data"+iCol));
- if(utlf_isNull(sSaveValue)){
- continue;
- }
- sSaveData += "u▦"
- +sLrgcd +"▦"
- +sVsitemcd +"▦"
- +sRecovseqno +"▦"
- +sRecdt +"▦"
- +sSaveValue +"▦"
- +sLrgnm +"▦"
- +sVsitmnm +"▦"
- +sysf_getUserInfo("dutplcecd")+"▦"
- +sRecflag +"▩";
- iChangeCnt++;
- rowChngCnt++;
- }
- //2009-05-29 오후 3:43:06 강지훈 수정
- //Default값이 아닌 추가된 항목의 경우 저장된 값이 하나도 없으면 Null Data Insert
- if(rowChngCnt == 0){
- sFstRecdt = utlf_transNullToEmpty(sTitle_recdtXpath.getColumn(0, "data1"));
- sFstSaveValue = utlf_transNullToEmpty(sSaveItemXpath.getColumn( i, "data1"));
- var sSaveData = "u▦"
- +sLrgcd +"▦"
- +sVsitemcd +"▦"
- +sRecovseqno +"▦"
- +sFstRecdt +"▦"
- +sFstSaveValue +"▦"
- +sLrgnm +"▦"
- +sVsitmnm +"▦"
- +sysf_getUserInfo("dutplcecd") +"▦"
- +sRecflag +"▩";
- }
- }
- }
- /*
- for(var procrow = 0 ; procrow < iProgressGridCnt ; procrow ++){
- if(switch1.case1.case4.datagrid2.rowStatus(procrow) != "4" ){
- switch1.case1.case4.datagrid2.rowStatus(procrow) = "1";
- }
- }
- */
- var sProgressno = "";
- var sReccmt = "";
- NewRemFact = ds_main_revrInfo_recopkinfo.getColumn(0, "remfact");
- OrgRemFact = ds_HideData_rsrvcopy_org_list_recopkinfo.getColumn(0, "remfact");
- for(var i = 0 ; i < ds_main_revrInfo_mnphrepg.rowcount ; i++){
- ds_main_revrInfo_mnphrepg.setRowType(i, 2); //rowstatus 를 '1'로 설정.
-
- }
- ds_send_recoverec_itemdata.clearData();
- //setCSVToNode("ds_main_paminfo_list", node);
- dsf_setCSVToDs("ds_send_recoverec_itemdata",sSaveHearder+sSaveData);
-
- ds_send_recoverec_progressdata.clearData();
- //dsf_makeValue( ds_send_recoverec_progressdata, "progressdata", "string", switch1.case1.case4.datagrid2.getUpdateData());
- var oDsUpdate = grdf_getGridUpdateData(switch1.case1.case4.datagrid2);
- grdf_setStatusColumn(oDsUpdate, "status");
- ds_send_recoverec_progressdata.copyData(oDsUpdate, true);
- ds_send_recoverec_remfact.clearData();
- //dsf_makeValue( ds_send_recoverec_itemdata, "itemdata", "string", sSaveHearder+sSaveData);
- dsf_makeValue( ds_send_recoverec_remfact, "remfact", "string", NewRemFact);
- dsf_makeValue( ds_send_recoverec_remfact, "recovseqno", "string", sRecovseqno);
- dsf_makeValue( ds_send_recoverec_remfact, "certflag", "string", pSignFlag);
-
- //if(submit("TXMNP00702", false)){
- var oParam = {};
- oParam.id = "TXMNP00702";
- oParam.service = "opanstapp.OpAnstRef";
- oParam.method = "reqExeMnphrevrInfo";
- oParam.inds = "itemdata=ds_send_recoverec_itemdata progressdata=ds_send_recoverec_progressdata remfact=ds_send_recoverec_remfact";
- oParam.outds = "ds_hidden_resultmsg=resultmsg";
- oParam.async = false;
- oParam.callback = "cf_TXMNP00702";
- tranf_submit(oParam);
- if(arErrorCode.pop("TXMNP00702") > -1){
- return true;
- }
- else{
- return false;
- }
- }
- }
- function cf_TXMNP00702(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- //해당 아이템 항목이 초기화 상태에 존재했는지 여부 확인
- function fFindSameRow(pLrgcd, pItemcd){
- var sOrg_searchXpath = "ds_HideData_rsrvcopy_org_list_mnphrevr";
- var iGirokGridCnt = eval(sOrg_searchXpath).rowcount; //getNodesetCount(sOrg_searchXpath);
- var sLrgcd = "";
- var sItemcd = "";
- for(var i = 0; i < iGirokGridCnt; i++){
- sLrgcd = eval(sOrg_searchXpath).getColumn( i, "lrgcd");
- sItemcd = eval(sOrg_searchXpath).getColumn( i, "vsitemcd");
- if(pLrgcd == sLrgcd && pItemcd == sItemcd){
- return i;
- }
- }
- return 0;
- }
- function fOnClickSizeBtn(pFlag){
- switch(pFlag){
- case "Large" :
- switch1.case1.case4.button19.visible = false;
- switch1.case1.case4.group1.caption82.visible = false;
- switch1.case1.case4.group1.radio4.visible = false;
- switch1.case1.case4.datagrid9.position.left = 0;
- //20170322 이돈희 수정 : 창 크기 조정에 따라 확대 크기 조정
- switch1.case1.case4.datagrid9.position.right = switch1.case1.position.width - switch1.case1.case4.datagrid2.position.width -1;
- //switch1.case1.case4.datagrid9.position.width = 1041;
- switch1.case1.case4.group8.visible = false;
- //switch1.case1.case4.datagrid9.refresh();
- break;
- case "Short" :
- switch1.case1.case4.button19.visible = true;
- switch1.case1.case4.group1.caption82.visible = true;
- switch1.case1.case4.group1.radio4.visible = true;
- switch1.case1.case4.datagrid9.position.left = 495;
- //20170322 이돈희 수정 : 창 크기 조정에 따라 확대 크기 조정
- switch1.case1.case4.datagrid9.position.right = switch1.case1.position.width - switch1.case1.case4.datagrid2.position.width -1;
- //switch1.case1.case4.datagrid9.position.width =546;
- switch1.case1.case4.group8.visible = true;
- //switch1.case1.case4.datagrid9.refresh();
- break;
- }
- }
- //Item 항목 추가 버튼 클릭시 이벤트
- function fOnClickItemAddHelpBtn(){
- //modal("SPMNP00702", 1, "", "", "", "SPMNP00702", "", "left:100; right:100; width:0; height:0; sysmenu:hidden; min:hidden, max:hidden;");
- frmf_modal("SPMNP00702", "SPMNP00702", "", "", "1", "", "", "", "", "left:100; right:100; width:0; height:0; sysmenu:hidden; min:hidden, max:hidden;", "", "", "M");
-
- }
- //Item 항목 추가 버튼 클릭시 현재 기록항목 Grid Add 이벤트
- function fGirokItemAdd(pSendData){
- if(utlf_isNull(pSendData)){
- return;
- }
- var sRowArr = pSendData.split("▩");
- if(sRowArr.length > 0){
- var sLrgcd = "";
- var sItemcd = "";
- var sLrgnm = "";
- var sItemnm = "";
- var sRecflag = "";
- var sRecovseqno = ds_main_revrInfo_recopkinfo.getColumn(0, "recovseqno");
- if(utlf_isNull(sRecovseqno)){
- sysf_messageBox("기록할 환자 정보가 존재하지 않습니다.", "I000");
- return;
- }
- var iInsertRow = -1;
- for(var i = 0; i < sRowArr.length; i++){
- var sColArr = sRowArr[i].split("▦");
- if(utlf_isNull(sColArr)){
- continue;
- }
- sLrgcd = sColArr[0];
- sItemcd = sColArr[1];
- sLrgnm = sColArr[2];
- sItemnm = sColArr[3];
- sRecflag = sColArr[4];
- var bExistFlag = fExistItem(sLrgcd, sItemcd);
- if(bExistFlag == false || bExistFlag == "false"){
- //항목 추가
- ds_HideData_itemaddlist_mnphrevr.setColumn( 0, "lrgcd" , sLrgcd);
- ds_HideData_itemaddlist_mnphrevr.setColumn( 0, "vsitemcd" , sItemcd);
- ds_HideData_itemaddlist_mnphrevr.setColumn( 0, "recovseqno", sRecovseqno);
- ds_HideData_itemaddlist_mnphrevr.setColumn( 0, "lrgnm" , sLrgnm);
- ds_HideData_itemaddlist_mnphrevr.setColumn( 0, "vsitemnm" , sItemnm);
- iInsertRow = fSearchSameLrgcd(sLrgcd);
- if(iInsertRow == -1){
- var cur_row = ds_main_revrInfo_mnphrevr.addRow(); // 입력할 행 추가.
- //var cur_row = switch1.case1.case4.datagrid9.row - switch1.case1.case4.datagrid9.fixedrows+1; // 추가된 행 번호 가져오기
- ds_main_revrInfo_mnphrevr.setColumn( cur_row , "lrgcd" , sLrgcd);
- ds_main_revrInfo_mnphrevr.setColumn( cur_row , "vsitemcd" , sItemcd);
- ds_main_revrInfo_mnphrevr.setColumn( cur_row , "recovseqno", sRecovseqno);
- ds_main_revrInfo_mnphrevr.setColumn( cur_row , "lrgnm" , sLrgnm);
- ds_main_revrInfo_mnphrevr.setColumn( cur_row , "vsitemnm" , sItemnm);
- ds_main_revrInfo_mnphrevr.setColumn( cur_row , "recflag" , sRecflag);
- }else{
- //debugger;
- ds_main_revrInfo_mnphrevr.insertRow(parseInt(iInsertRow, 10)+1);
- var cur_row = parseInt(iInsertRow, 10) +1;
- ds_main_revrInfo_mnphrevr.setColumn( cur_row , "lrgcd" , sLrgcd);
- ds_main_revrInfo_mnphrevr.setColumn( cur_row , "vsitemcd" , sItemcd);
- ds_main_revrInfo_mnphrevr.setColumn( cur_row , "recovseqno", sRecovseqno);
- ds_main_revrInfo_mnphrevr.setColumn( cur_row , "lrgnm" , sLrgnm);
- ds_main_revrInfo_mnphrevr.setColumn( cur_row , "vsitemnm" , sItemnm);
- ds_main_revrInfo_mnphrevr.setColumn( cur_row , "recflag" , sRecflag);
-
- ds_main_revrInfo_mnphrevr.enableevent = false;
- ds_main_revrInfo_mnphrevr.updatecontrol = false;
-
- ds_main_revrInfo_mnphrevr.setColumn(cur_row, "colBack3", "#d5f4f5");
-
- ds_main_revrInfo_mnphrevr.updatecontrol = true;
- ds_main_revrInfo_mnphrevr.enableevent = true;
- }
- }
- }
- //switch1.case1.case4.datagrid9.rebuild();
- if(sysf_getUserInfo("dutplceinstcd") == yuidoinstcd) { //성모병원만 적용
- //V_S항목 포맷형식 지정 by 박영우 2010-02-22
- var lrgcd = "";
- var vsitemcd = "";
- for(var i = 0; i < ds_main_revrInfo_mnphrevr.rowcount; i++) {
- lrgcd = ds_main_revrInfo_mnphrevr.getColumn(i, "lrgcd");
- vsitemcd = ds_main_revrInfo_mnphrevr.getColumn(i, "vsitemcd");
- if( (lrgcd == "00001" && vsitemcd == "00001") || // lrgcd: PROGRESS, vsitemcd: PROGRESS
- (lrgcd == "00002" && vsitemcd == "00007") || // lrgcd: V_S, vsitemcd: ECG(적용)
- (lrgcd == "00003" && !(vsitemcd == "00001" || vsitemcd == "00006")) || // lrgcd: 호흡관리, vsitemcd: O₂양(L_min), Suction 양 제외!
- (lrgcd == "00008" && (vsitemcd == "00003" || vsitemcd == "00004")) || // lrgcd: 분만관리, vsitemcd: Contraction, Lochia
- // lrgcd: 사정도구, 기본관리, 간호수행, Ventilator, 삽관
- (lrgcd == "00007") || (lrgcd == "00009") || (lrgcd == "00010") || (lrgcd == "00011") || (lrgcd == "00012")
- ) {
- //for(var j = 5; j<datagrid9.cols ; j++) {
- // switch1.case1.case4.datagrid9.cellformat((i+switch1.case1.case4.datagrid9.fixedRows-1), j) = "";
- //}
-
- for(var j = 5; j < ds_main_revrInfo_mnphrevr.getColCount; j++) {
- switch1.case1.case4.datagrid9.setCellProperty("body", j, "mask", "");
- }
- } else {
- //for(var j = 5; j<switch1.case1.case4.datagrid9.cols ; j++) {
- // switch1.case1.case4.datagrid9.cellformat((i+switch1.case1.case4.datagrid9.fixedRows-1), j) = "999999";
- //}
-
- for(var j = 5; j < ds_main_revrInfo_mnphrevr.getColCount; j++) {
- switch1.case1.case4.datagrid9.setCellProperty("body", j, "mask", "999999");
- }
-
- }
- if( lrgcd == "00002" && vsitemcd == "00005") {
- //for(var j = 5; j < switch1.case1.case4.datagrid9.cols ; j++) {
- // switch1.case1.case4.datagrid9.cellformat((i+switch1.case1.case4.datagrid9.fixedRows-1), j) = "#.9";
- //}
-
- for(var j = 5; j < ds_main_revrInfo_mnphrevr.getColCount; j++) {
- switch1.case1.case4.datagrid9.setCellProperty("body", j, "mask", "#.9");
- }
- }
- }
- }
- }
- }
- //현재 리스트에 같은 아이템 항목이 존재하는지 체크
- function fExistItem(pLrgcd, pItemcd){
- var sGirokXpath = "ds_main_revrInfo_mnphrevr";
- var iGirokGridCnt = eval(sGirokXpath).rowcount; //getNodesetCount(sGirokXpath);
- var sLrgcd = "";
- var sItemcd = "";
- for(var i = 0; i < iGirokGridCnt; i++){
- sLrgcd = eval(sGirokXpath).getColumn( i, "lrgcd");
- sItemcd = eval(sGirokXpath).getColumn( i, "vsitemcd");
- if(pLrgcd == sLrgcd && pItemcd == sItemcd){
- return true;
- }
- }
- return false;
- }
- // prameter 분류코드와 동일한 분류의 가장 마지막행의 정보 return
- function fSearchSameLrgcd(pLrgcd){
- var sGirokXpath = "ds_main_revrInfo_mnphrevr";
- var iGirokGridCnt = eval(sGirokXpath).rowcount; //getNodesetCount(sGirokXpath);
- var sLrgcd = "";
- var sItemcd = "";
- for(var i = iGirokGridCnt - 1; i >= 0; i--){
- sLrgcd = eval(sGirokXpath).getColumn( i, "lrgcd");
- sItemcd = eval(sGirokXpath).getColumn( i, "vsitemcd");
- //alert("i :"+i+" , sLrgcd : "+sLrgcd + " , pLrgcd : "+pLrgcd);
- if(pLrgcd == sLrgcd){
- return i;
- }
- }
- return -1;
- }
- var fv_bSetRow = false;
- ///드래그 값 복사 기능
- function fSelectedCells(pGrid){
- if (pGrid.currentrow < 0 || pGrid.currentcol < 7 ) return;
-
- for( var i=0 ; i<pGrid.selectcount ; i++ ){
- var sPosId = gPosId - 6;//(pGrid.selectstartcol[0]-6);
- if(sPosId < 1) return;
-
- var sCopyValue = ds_main_revrInfo_mnphrevr.getColumn(gPosColId, "data"+sPosId);
-
- // ds_main_revrInfo_mnphrevr.enableevent = false;
- // ds_main_revrInfo_mnphrevr.updatecontrol = false;
-
- for( var j=pGrid.selectstartrow[i] ; j<=pGrid.selectendrow[i] ; j++ ){
- for( var k=pGrid.selectstartcol[i] ; k<=pGrid.selectendcol[i] ; k++ ){
- fv_bSetRow = true;
- ds_main_revrInfo_mnphrevr.setColumn(j, "data"+(k-6), sCopyValue);
- }
- }
-
- fv_bSetRow = false;
-
- // ds_main_revrInfo_mnphrevr.updatecontrol = true;
- // ds_main_revrInfo_mnphrevr.enableevent = true;
- }
- }
- //Prn처방 항목추가
- function fAddOrderToGirok(pGrid, pGridXpath){
- var sPrnCur = eval(pGrid).currentrow;
- if(sPrnCur < 0){
- return;
- }
- var sRecovseqno = eval(pGridXpath).getColumn( sPrnCur, "recovseqno");
- var sPrcpclscd = eval(pGridXpath).getColumn( sPrnCur, "prcpclscd");
- var sPrcpclsnm = eval(pGridXpath).getColumn( sPrnCur, "flag2");
- var sPrcpcd = eval(pGridXpath).getColumn( sPrnCur, "prcpcd");
- var sPrcpnm = eval(pGridXpath).getColumn( sPrnCur, "prcpnm");
- //약_주사(A2 A4 A6)를 제외하고는 return
- if(sPrcpclscd != "A2" && sPrcpclscd != "A4" && sPrcpclscd != "A6"){
- return;
- }
- var sGirokXpath = "ds_main_revrInfo_mnphrevr";
- var iGirokGridCnt = eval(sGirokXpath).rowcount; // getNodesetCount(sGirokXpath);
- var sLrgcd = "";
- var sItemcd = "";
- var bExistFlag = false;
- for(var i = 0; i < iGirokGridCnt; i++){
- sLrgcd = eval(sGirokXpath).getColumn( i, "lrgcd");
- sItemcd = eval(sGirokXpath).getColumn( i, "vsitemcd");
- if(sPrcpclscd == sLrgcd && sPrcpcd == sItemcd){
- bExistFlag = true;
- }
- }
- if(!bExistFlag){
- var cur_row = ds_main_revrInfo_mnphrevr.addRow(); // 입력할 행 추가.
- //var cur_row = switch1.case1.case4.datagrid9.row - switch1.case1.case4.datagrid9.fixedrows+1;
- ds_main_revrInfo_mnphrevr.setColumn( cur_row , "lrgcd" , sPrcpclscd);
- ds_main_revrInfo_mnphrevr.setColumn( cur_row , "vsitemcd" , sPrcpcd);
- ds_main_revrInfo_mnphrevr.setColumn( cur_row , "recovseqno", sRecovseqno);
- ds_main_revrInfo_mnphrevr.setColumn( cur_row , "lrgnm" , sPrcpclsnm);
- ds_main_revrInfo_mnphrevr.setColumn( cur_row , "vsitemnm" , sPrcpnm);
- ds_main_revrInfo_mnphrevr.setColumn( cur_row , "recflag" , "2"); //기록구분 2:처방
- //switch1.case1.case4.datagrid9.colstyle(3, "data", "background-color") = "#d5f4f5";
- //switch1.case1.case4.datagrid9.colstyle(4, "data", "background-color") = "#d5f4f5";
- //switch1.case1.case4.datagrid9.colstyle(5, "data", "background-color") = "#eaeaea";
- //switch1.case1.case4.datagrid9.colstyle(6, "data", "background-color") = "#eaeaea";
-
- ds_main_revrInfo_mnphrevr.enableevent = false;
- ds_main_revrInfo_mnphrevr.updatecontrol = false;
-
- ds_main_revrInfo_mnphrevr.setColumn(cur_row, "colBack3", "#d5f4f5");
- ds_main_revrInfo_mnphrevr.setColumn(cur_row, "colBack4", "#d5f4f5");
- ds_main_revrInfo_mnphrevr.setColumn(cur_row, "colBack5", "#eaeaea");
-
- ds_main_revrInfo_mnphrevr.updatecontrol = true;
- ds_main_revrInfo_mnphrevr.enableevent = true;
-
- // switch1.case1.case4.datagrid9.setCellProperty("body", 3, "background", "#d5f4f5");//.colstyle(3, "data", "background-color") = "#d5f4f5";
- // switch1.case1.case4.datagrid9.setCellProperty("body", 3, "background2", "#d5f4f5");
- // switch1.case1.case4.datagrid9.setCellProperty("body", 4, "background", "#d5f4f5"); //.colstyle(4, "data", "background-color") = "#d5f4f5";
- // switch1.case1.case4.datagrid9.setCellProperty("body", 4, "background2", "#d5f4f5");
- // switch1.case1.case4.datagrid9.setCellProperty("body", 5, "background", "#eaeaea"); //.colstyle(5, "data", "background-color") = "#eaeaea";
- // switch1.case1.case4.datagrid9.setCellProperty("body", 5, "background2", "#eaeaea");
- // switch1.case1.case4.datagrid9.setCellProperty("body", 6, "background", "#eaeaea"); //colstyle(6, "data", "background-color") = "#eaeaea";
- // switch1.case1.case4.datagrid9.setCellProperty("body", 6, "background2", "#eaeaea");
-
-
- //switch1.case1.case4.datagrid9.rebuild();
- }
- }
- //프로그레스 항목 추가
- function fAddProgress(){
- //2009-06-04 오전 9:48:09 강지훈 수정 : max값을 no로 설정한다.
- var maxVal = 1;
- if(ds_main_revrInfo_mnphrepg.rowcount > 0){
- //var tempNodeInfo = instance1.selectSingleNode("_root_main_revrInfo_mnphrepg");
- //var repgLen = tempNodeInfo.length;
- var repgLen = ds_main_revrInfo_mnphrepg.rowcount;
- if(repgLen > 0 ){
- for(var i = 0; i < repgLen; i++){
- var targetVal = ds_main_revrInfo_mnphrepg.getColumn(i, "progressno");
- maxVal = Math.max(maxVal, targetVal);
- maxVal++;
- }
- }
- }
- var cur_row = ds_main_revrInfo_mnphrepg.addRow(); // 입력할 행 추가.
- //var cur_row = switch1.case1.case4.datagrid2.row - switch1.case1.case4.datagrid2.fixedrows+1;
- ds_main_revrInfo_mnphrepg.setColumn( cur_row , "progressno" , maxVal);
- ds_main_revrInfo_mnphrepg.setColumn( cur_row , "recovseqno" , ds_main_revrInfo_recopkinfo.getColumn(0, "recovseqno"));
- //switch1.case1.case4.datagrid2.refresh();
- }
- //Prn 처방내역(수술중_후) 내역 조회
- function fSearchPrnOrderInfo(){
- var sPinfoPath = "ds_init_WorkData";
- var sTitleXpath = "ds_main_revrInfo_mnphrevrtitle";
- var sRecovseqno = eval(sPinfoPath).getColumn(0, "recovseqno");
- var sPid = eval(sPinfoPath).getColumn(0, "pid");
- var sOprsrvno = eval(sPinfoPath).getColumn(0, "oprsrvno");
- var sSearchDt = "";
- if(utlf_isNull(sOprsrvno) || utlf_isNull(sPid) || utlf_isNull(sRecovseqno) ){
- sysf_messageBox("기록할 환자를 선택하시기 바랍니다.", "I000");
- return;
- }
- var sPrnorderflag = ds_init_revrterm.getColumn(0, "prnorderflag");
- if(utlf_isNull(sPrnorderflag)){
- ds_init_revrterm.setColumn( 0, "prnorderflag", "A");
- //radio4.refresh();
- sPrnorderflag = "A";
- }
- ds_send.clearData();
- dsf_makeValue( ds_send, "recovseqno", "string", sRecovseqno);
- dsf_makeValue( ds_send, "oprsrvno", "string",sOprsrvno );
- dsf_makeValue( ds_send, "pid", "string", sPid );
- dsf_makeValue( ds_send, "indd", "string", ds_main_paminfo_list.getColumn(0, "indd"));
- dsf_makeValue( ds_send, "prnorderflag", "string", sPrnorderflag);
-
- //if(submit("TRMNP00712")){
- var oParam = {};
- oParam.id = "TRMNP00712";
- oParam.service = "opanstapp.OpAnstRef";
- oParam.method = "reqGetRecoPrnOrderInfo";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_HideData_orderlist_prnorderlists_prnorderlist=prnorderlist";
- oParam.async = false;
- oParam.callback = "cf_TRMNP00712";
- tranf_submit(oParam);
- if(arErrorCode.pop("TRMNP00712") > -1){
- var sPrnXpath = "ds_HideData_orderlist_prnorderlists_prnorderlist";
- var iPrnOrderCnt = eval(sPrnXpath).rowcount; //getNodesetCount(sPrnXpath);
- ds_main_revrInfo_prnorderlist.clearData();
- if(iPrnOrderCnt > 0){
- ds_main_revrInfo_prnorderlist.copyData(ds_HideData_orderlist_prnorderlists_prnorderlist);
- }
- //datagrid1.rebuild();
- }
- }
- function cf_TRMNP00712(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- //시행부서 처방내역(수술중_후) 내역 조회
- function fSearchActingOrderInfo(){
- var sPinfoPath = "ds_init_WorkData";
- var sTitleXpath = "ds_main_revrInfo_mnphrevrtitle";
- var sRecovseqno = eval(sPinfoPath).getColumn(0, "recovseqno");
- var sPid = eval(sPinfoPath).getColumn(0, "pid");
- var sOprsrvno = eval(sPinfoPath).getColumn(0, "oprsrvno");
- var sSearchDt = "";
- if(utlf_isNull(sOprsrvno) || utlf_isNull(sPid) || utlf_isNull(sRecovseqno) ){
- sysf_messageBox("기록할 환자를 선택하시기 바랍니다.", "I000");
- return;
- }
- //var sActingOrderFlag = ds_init_revrterm.getColumn(0, "actionoderflag");
- //if(sActingOrderFlag == ""){
- // ds_init_revrterm.setColumn( 0, "actionoderflag", "R");
- // //radio2.refresh();
- // sActingOrderFlag = "R";
- //}
- ds_send.clearData();
- dsf_makeValue( ds_send, "recovseqno", "string", sRecovseqno);
- dsf_makeValue( ds_send, "oprsrvno", "string", sOprsrvno );
- dsf_makeValue( ds_send, "pid", "string", sPid );
- dsf_makeValue( ds_send, "indd", "string", ds_main_paminfo_list.getColumn(0, "indd"));
- dsf_makeValue( ds_send, "actingorderflag", "string", "");
- // if(submit("TRMNP00713")){
- var oParam = {};
- oParam.id = "TRMNP00713";
- oParam.service = "opanstapp.OpAnstRef";
- oParam.method = "reqGetRecoActingOrderInfo";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_HideData_orderlist_actingorderlists_actingorderlist=actingorderlist";
- oParam.async = false;
- oParam.callback = "cf_TRMNP00713";
- tranf_submit(oParam);
- if(arErrorCode.pop("TRMNP00713") > -1){
- var sAcingXpath = "ds_HideData_orderlist_actingorderlists_actingorderlist";
- var iActingOrderCnt = eval(sAcingXpath).rowcount; //getNodesetCount(sAcingXpath);
- ds_main_revrInfo_actingorderlist.clearData();
- if(iActingOrderCnt > 0){
- ds_main_revrInfo_actingorderlist.copyData(ds_HideData_orderlist_actingorderlists);
- }
- //datagrid4.rebuild();
- }
- }
- function cf_TRMNP00713(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- //2010-03-10 오후 9:55:38 taebum PRN처방을 추가하여 기록할 경우 문자값 Blocking 용 function
- function fCheckIOFormat(curRow, curCol){
- //2010-03-10 오후 8:28:09 taebum add PRN처방내역을 copy하여 값입력시 문자일 경우 입력안되도록 막음.
- ds_main_revrInfo_mnphrevr.enableevent = false;
- var wPath = "ds_main_revrInfo_mnphrevr";
- var _currow = curRow;
- var _curcol = curCol;
- var sLrgcd = eval(wPath).getColumn( _currow , "lrgcd"); //(switch1.case1.case4.datagrid9.row-switch1.case1.case4.datagrid9.fixedRows+1) 의 의미는 ?
- var sPrcpClscd = ds_init_M0005_M0005.lookupExpr("cdid == '"+ sLrgcd + "'", "cdid");
- var idxItotal = switch1.case1.case4.datagrid9.getBindCellIndex("body", "itotal");
- var idxOtotal = switch1.case1.case4.datagrid9.getBindCellIndex("body", "ototal");
-
- //if(_curcol == idxOtotal || _curcol == idxItotal ) {
- if(sLrgcd == iocd) {
- var InptValue = eval(wPath).getColumn( _currow, _curcol);
- if(!isNumber(InptValue)){
- sysf_messageBox("I_O에는 수치만 입력가능합니다.", "E000");
- eval(wPath).setColumn(_currow, _curcol, "" );
- //switch1.case1.case4.datagrid9.rebuild();
- }
- }
- // }
- //대분류코드와 처방마스터의 prcpclscd #M0005와 동일할 경우 입력값 문자일경우 blocking 처리.
- if(utlf_isNull(sPrcpClscd)){
- ds_main_revrInfo_mnphrevr.enableevent = true;
- return;
- }
- var InptValue = eval(wPath).getColumn( _currow, _curcol);
- if(!isNumber(InptValue)){
- sysf_messageBox("문자를 입력할 수 없습니다.", "E000");
- eval(wPath).setColumn(_currow, _curcol, "" );
- //switch1.case1.case4.datagrid9.rebuild();
- }
- ds_main_revrInfo_mnphrevr.enableevent = true;
- }
- //숫자형 포맷check
- function isNumber(str) {
- str += ''; // 문자열로 변환
- str = str.replace('/^\s*|\s*$_g', ''); // 좌우 공백 제거
- if (str == '' || isNaN(str)) return false;
- return true;
- }
- function fDelVsCurCol() {
- var currow = parseInt(switch1.case1.case4.datagrid9.currentrow);
- var lrgcd = ds_main_revrInfo_mnphrevr.getColumn(currow, "lrgcd");
- var recovseqno = ds_main_revrInfo_recopkinfo.getColumn(0, "recovseqno");
- var vsitemcd = ds_main_revrInfo_mnphrevr.getColumn(currow, "vsitemcd");
- dsf_makeValue( ds_send, "lrgcd", "string", lrgcd);
- dsf_makeValue( ds_send, "recovseqno", "string", recovseqno);
- dsf_makeValue( ds_send, "vsitemcd", "string", vsitemcd);
-
- //if (submit("TXMNP00704")== true) {
- var oParam = {};
- oParam.id = "TXMNP00704";
- oParam.service = "opanstapp.OpAnstRef";
- oParam.method = "reqDelVSCurCol";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_hidden_seqno=seqno";
- oParam.async = false;
- oParam.callback = "cf_TXMNP00704";
- tranf_submit(oParam);
- if (arErrorCode.pop("TXMNP00704") > -1) {
- fSave("C");
- //fGetGiRok1Data("RELOAD", ds_main_revrInfo_mnphrevrtitle.getColumn(0, "data1"));
- }
- }
- function cf_TXMNP00704(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function fGetAnstRecoverInExRec(flag) {
- var sPinfoPath = "ds_init_WorkData";
- var sPid = eval(sPinfoPath).getColumn(0, "pid");
- var sOprsrvno = eval(sPinfoPath).getColumn(0, "oprsrvno");
- if(!utlf_isNull(sOprsrvno) && !utlf_isNull(sPid)) {
- dsf_makeValue( ds_send, "oprsrvno", "string",sOprsrvno );
- dsf_makeValue( ds_send, "pid", "string", sPid );
-
- //if(submit("TRMNP00716")){
-
- var oParam = {};
- oParam.id = "TRMNP00716";
- oParam.service = "opanstapp.OpAnstRef";
- oParam.method = "reqGetAnstRecoverInExRec";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_temp_inexinfo_inexlist=inexlist";
- oParam.async = false;
- oParam.callback = "cf_TRMNP00716";
- tranf_submit(oParam);
- if(arErrorCode.pop("TRMNP00716") > -1){
- var sInData = ds_temp_inexinfo_inexlist.getColumn(0, "indata");
- var sOutData = ds_temp_inexinfo_inexlist.getColumn(0, "extdata");
- if (utlf_isNull(sInData)) {
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctplacecd" , "");
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayadddt" ,"");
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayaddtm" ,"");
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayid" , "");
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayid_tmp" , "");
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwaynm" , "");
- } else {
- var sInDataArr = sInData.split("▥");
- var sIndt = sInDataArr[0];
- var sInDoctId = sInDataArr[1];
- var sInDoctNm = sInDataArr[2];
- //수술실 회복실 구분
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctplacecd" , "O");
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayadddt" ,sIndt.substr(0,8));
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayaddtm" ,sIndt.substr(8,4));
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayid" , sInDoctId);
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayid_tmp" , sInDoctId);
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwaynm" , sInDoctNm);
- }
- if (utlf_isNull(sOutData)) {
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctplacecd" , "");
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwaydt" , "");
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwaytm" , "");
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctcairwayextid" ,"");
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctcairwayextid_tmp","");
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayextnm" ,"");
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "notprtctairway" , "");
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayextbp" , "");
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayextp" , "");
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayextspo" , "");
- } else {
- var sOutDataArr = sOutData.split("▥");
- var sOutdt = sOutDataArr[0];
- var sOutDoctId = sOutDataArr[1];
- var sOutDoctNm = sOutDataArr[2];
- var sOutBP = sOutDataArr[3];
- var sOutP = sOutDataArr[4];
- var sOutSPO = sOutDataArr[5];
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctplacecd" , "O");
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwaydt" , sOutdt.substr(0,8));
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwaytm" , sOutdt.substr(8,4));
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctcairwayextid" , sOutDoctId);
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctcairwayextid_tmp" , sOutDoctId);
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayextnm" , sOutDoctNm);
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "notprtctairway" , "");
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayextbp" , sOutBP);
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayextp" , sOutP);
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayextspo" , sOutSPO);
- }
- //model.refresh();
- }
- } else {
- sysf_messageBox("환자가 선택되지 않았습니다.", "I");
- return;
- }
- //modal("SMMMR03700", "", "event.screenX-100", "event.screenY-100", "SMMMR03700");
- if (flag != "N") {
- frmf_open("SMMMR03700", "SMMMR03700", "", "", "", "", "", "", "", "", "", "", "M");
- }
- }
- function cf_TRMNP00716(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- //[설 명]
- // nodeName : 현재 노드의 노드 명을 얻거나 변경한다.
- // nodeType : 현재 노드의 노드 타입을 얻거나 변경한다.
- // nodeTypedValue : 저장은 없음 -> text 를 이용해야한다.
- // nodeValue : 현재 노드의 노드 값을 얻거나 변경한다.
- // text : 현재 노드와 그 자식 노드에서 텍스트 노드의 컨텐츠를 얻거나 변경한다.
- //
- //[구현]
- // var ins = document.models( 0 ).instances( 0 );
- // var node = ins.selectSingleNode( "_root_init_example" );
- // input1.text= node.nodeName ;
- // input2.text= node.nodeType;
- // input3.text= node.nodeValue;
- // input4.text= node.nodeTypedValue;
- // input5.text= node.text ;
- /* ------------------------------------------------- */
- /* ------End Of List ------------------------------- */
- /* -------------------------------------------------- */
- /**
- * _group :
- * _ver : 2010-01-21
- * _by : 박영우
- * _---------------------------------------------------
- * _type : function
- * _access : public
- * _desc : 회복간호기록 등록_수정_삭제 요청을 처리한다.
- * _param :
- * _return :
- * _---------------------------------------------------
- */
- function fInOutRoomCancel(){
- var iCurrentRow = datagrid5.currentrow;
- if(iCurrentRow < 0){
- return false;
- }
- //수술실 마취, 수술실 회복실이 아닌 경우 입실취소 제한
- //ICU부서인 경우 수술간호기록에서 퇴실장소가 회복실을 제외한 환자들 저장 가능하게.. by 박영우 2010-02-28
- var dutplceflag = false; // 입실취소 여부
- var dutplcecd = sysf_getUserInfo("dutplcecd"); // 로그인한 부서코드
- var iCurrentRow = datagrid5.currentrow;
- var sOpPatoutrmplcecd = "";
- if(!(dutplcecd == ds_code_codeinfo_codelist.lookupExpr("cdgrupid == '016'", "cdid") || // 수술실 마취
- dutplcecd == ds_code_codeinfo_codelist.lookupExpr("cdgrupid == '017'", "cdid"))) { // 수술실 회복실 이 아닌 경우..
- for(var i = 0; i < ds_code_codeinfo_codelist.rowcount; i++) { // 부서가 중환자실일 경우
- if(ds_code_codeinfo_codelist.getColumn(i, "cdgrupid") == "095") {
- if(dutplcecd == ds_code_codeinfo_codelist.getColumn(i, "cdid")) {
- sOpPatoutrmplcecd = ds_HideData_opschelists_schelist.getColumn(iCurrentRow, "opoutrmplcecd"); //해당환자의 수술실 퇴실장소
- if(sysf_getUserInfo("dutplceinstcd") == vincentinstcd) { // 빈센트 병원의 경우 퇴실장소코드 "25"번이 주사실이라 분기
- if(sOpPatoutrmplcecd == "01" || sOpPatoutrmplcecd == "26" || utlf_isNull(sOpPatoutrmplcecd)) { // 회복실 혹은 수술실, 분만실이면 제외
- dutplceflag = false;
- } else {
- dutplceflag = true;
- }
- } else {
- if(sOpPatoutrmplcecd == "01" || sOpPatoutrmplcecd == "26" || sOpPatoutrmplcecd == "25" || utlf_isNull(sOpPatoutrmplcecd)) { // 회복실 혹은 수술실, 분만실이면 제외
- dutplceflag = false;
- } else {
- dutplceflag = true;
- }
- }
- break;
- } else { // 해당사항이 없을 경우..
- dutplceflag = false;
- }
- }
- }
- } else { // 수술실 회복실, 수술실 마취일 경우
- dutplceflag = true;
- }
- //환자 pid, 이름으로 입실취소 여부 확인
- var patname = ds_HideData_opschelists_schelist.getColumn(iCurrentRow, "hngnm");
- var pid = ds_HideData_opschelists_schelist.getColumn(iCurrentRow, "pid");
- if(dutplceflag) {
- var msg = sysf_messageBox("["+pid+", "+patname+"]님의 입실취소를", "Q004");
- if(Number(msg) == 6) {
- var opStat = ds_HideData_opschelists_schelist.getColumn(iCurrentRow, "opstatnm");
- var recovseqno = ds_HideData_opschelists_schelist.getColumn(iCurrentRow, "recovseqno");
- var pkidatetimems = ds_HideData_opschelists_schelist.getColumn(iCurrentRow, "pkidatetimems");
- if(opStat != "회복" && opStat != "종료" ){
- sysf_messageBox("입실취소를 할 수 없는 환자입니다. 진행상태를 확인하시기 바랍니다.","");
- return false;
- }else{
- if(utlf_isNull(recovseqno)){
- sysf_messageBox("입실취소를 할 수 없는 환자입니다. 진행상태를 확인하시기 바랍니다.","");
- return false;
- } else if(!utlf_isNull(pkidatetimems)) {
- sysf_messageBox("입실취소를 할 수 없는 환자입니다. 진행상태를 확인하시기 바랍니다.","");
- return false;
- }
- }
- var oprsrvno = ds_HideData_opschelists_schelist.getColumn(iCurrentRow, "oprsrvno");
- ds_send_rmcncl.clearData();
- ds_send_rmcncl.addRow();
-
- dsf_makeValue( ds_send_rmcncl, "oprsrvno", "string", oprsrvno);
- dsf_makeValue( ds_send_rmcncl, "recovseqno", "string", recovseqno);
- dsf_makeValue( ds_send_rmcncl, "pid", "string", pid);
- dsf_makeValue( ds_send_rmcncl, "patname", "string", patname);
- //if(submit("TXMNP00705", false)) {
- var oParam = {};
- oParam.id = "TXMNP00705";
- oParam.service = "opanstapp.OpAnstRef";
- oParam.method = "reqExeRecovRoomCancel";
- oParam.inds = "req=ds_send_rmcncl";
- oParam.outds = "";
- oParam.async = false;
- oParam.callback = "cf_TXMNP00705";
- tranf_submit(oParam);
- if(arErrorCode.pop("TXMNP00705") > -1) {
- sysf_messageBox("입실취소가 ", "I001");
- }
- fGetOpScheList();
- fOnDoulbeClickScheList(iCurrentRow);
- } else return;
- } else sysf_messageBox("권한이 없습니다. 입실취소를 할 수 없습니다.", "");
- //model.refresh();
- }
-
- function cf_TXMNP00705(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
-
- /**
- * 환자이상내용 버튼 클릭 시 이벤트
- *
- */
- function fOnClickPatMemoBtn(){
- var sAnstRecNo = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "anstrecno");
- var sPatMemoYN = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "patmemoyn");
- if(!utlf_isNull(sAnstRecNo)){
- switch1.case2.grp_memoview.visible= true; //환자이상유무
- switch1.case2.grp_memoview.tar_detail.value = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "patmemo");
- /*
- if(sPatMemoYN =='Y'){
- switch1.case2.grp_memoview.tar_detail.value = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "patmemo");
- }else{
- switch1.case2.grp_memoview.tar_detail.value = "";
- }
- */
- }
- /*
- var irow = grd_oppatlist.row -1;
- switch1.case2.grp_memoview.tar_detail.value = ds_main_opdayworkinfo_oppatlist.getColumn(irow, "bigo");
- */
- }
- /**
- * 환자이상유무 확인 버튼 클릭 시 이벤트
- *
- */
- function fOnClickPatMemoSetBtn(){
- switch1.case2.grp_memoview.visible = false;
- var sPatMemo= switch1.case2.grp_memoview.tar_detail.value
- ds_main_MnphrecoData_MnphrecoList.setColumn( 0, "patmemo",sPatMemo);
- }
-
- /**
- * 환자이상유무 닫기 버튼 클릭 시 이벤트
- *
- */
- function fOnClickPatMemoClsBtn(){
- switch1.case2.grp_memoview.visible = false;
- var sPatMemoHis = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "patmemohis");
- ds_main_MnphrecoData_MnphrecoList.setColumn( 0, "patmemo",sPatMemoHis);
- }
- //******************
- //SMMNP00700.xjs 끝
- //******************
-
-
- //******************
- //SMMNP00900.xjs 시작
- //******************
-
- //******************
- //SMMNP00900.xjs 끝
- //******************
- var flag = "1";
- var retInstcd=""; // 의정부성모병원, 부천성가병원, 수원빈센트병원 기관코드
- function fReturnInstcd() {
- //박영우 만든 로직
- //var uijungbuinstcd="", sunggainstcd="", vincentinstcd=""; // 의정부성모병원, 부천성가병원, 수원빈센트병원 기관코드
- for(var i= 0; i < ds_code_codeinfo_codelist.rowcount; i++){
- switch (ds_code_codeinfo_codelist.getColumn(i, "cdgrupid")){
- case "077": // 병원별 기관코드
- switch(ds_code_codeinfo_codelist.getColumn(i, "supcdid")){
- case "02": // 의정부성모병원 기관코드
- //uijungbuinstcd = ds_code_codeinfo_codelist.getColumn(i, "cdid");
- retInstcd = ds_code_codeinfo_codelist.getColumn(i, "cdid");
- return retInstcd;
- break;
- case "03": // 부천성가병원 기관코드
- //sunggainstcd = ds_code_codeinfo_codelist.getColumn(i, "cdid");
- retInstcd = ds_code_codeinfo_codelist.getColumn(i, "cdid");
- return retInstcd;
- break;
- case "04": // 수원빈센트병원 기관코드
- //vincentinstcd = ds_code_codeinfo_codelist.getColumn(i, "cdid");
- retInstcd = ds_code_codeinfo_codelist.getColumn(i, "cdid");
- return retInstcd;
- break;
- }
- }
- }
- }
- function fShowPopupMenu(gridID, menuPath)
- {
- // var gridObj = document.controls.item(gridID);
- //
- // if(e.button == 3) {
- // if(gridObj.isCell(event.target) && gridObj.mouseRow >= gridObj.fixedrows){
- // window.setPopupMenu(true, menuPath, "name", "func", false);
- // }else{
- // window.setPopupMenu(false);
- // }
- // }
- }
- // 마취구분 checkbox3, 값 읽어서 DB에 반영하기
- function fn_chk_anesclass(){
- var getData = String(group6.checkbox3.getData()).replace(","," ");
- this.ds_HideData_condition.setColumn(0, "anstmthdcd",getData );
-
- fn_check_ChkAnesClass();
- }
- // 마취구분 checkbox3, DB에서 값 읽어서 Control에 반영하기
- function fn_setChkAnesClass(){
- var getData = String(this.ds_HideData_condition.getColumn(0, "anstmthdcd")).split(" ");
- if( !utlf_isNull(getData) ){
- group6.checkbox3.setData(getData);
- }
- fn_check_ChkAnesClass();
-
- }
- // 마취구분 checkbox3, Control 값읽어서 제어하기
- function fn_check_ChkAnesClass() {
- var arr = String(group6.checkbox3.getData()).split(",")
-
- /* 제어하고픈 코드 등록 */
- // for(var i = 0; i < arr.length; i++) {
- // if(arr[i] == '11') {
- // //grp_biz.ipt_healmngtnm.enable = true;
- // }
- // if(arr[i] == "13") {
- // //grp_biz.ipt_healmngtsymp.enable = true;
- // }
- // }
- }
- // 진행상태 checkbox4, 값 읽어서 DB에 반영하기
- function fn_chk_opstat(){
- var getData = String(group6.checkbox4.getData()).replace(","," ");
- this.ds_HideData_condition.setColumn(0, "opstatcd",getData );
-
- fn_check_ChkAnesClass();
- }
- // 진행상태 checkbox4, DB에서 값 읽어서 Control에 반영하기
- function fn_setChkOpStat(){
- var getData = String(this.ds_HideData_condition.getColumn(0, "opstatcd")).split(" ");
- if( !utlf_isNull(getData) ){
- group6.checkbox4.setData(getData);
- }
- fn_check_ChkAnesClass();
-
- }
- // 진행상태 checkbox4, Control 값읽어서 제어하기
- function fn_check_ChkOpStat() {
- var arr = String(group6.checkbox4.getData()).split(",")
-
- /* 제어하고픈 코드 등록 */
- // for(var i = 0; i < arr.length; i++) {
- // if(arr[i] == '11') {
- // //grp_biz.ipt_healmngtnm.enable = true;
- // }
- // if(arr[i] == "13") {
- // //grp_biz.ipt_healmngtsymp.enable = true;
- // }
- // }
- }
- // 기도유지 checkbox6, 값 읽어서 DB에 반영하기
- function fn_chk_prtctairway(){
- var getData = String(switch1.case2.group5.checkbox6.getData()).replace(","," ");
- this.ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn(0, "prtctairway",getData );
-
- fn_check_ChkPrtctairway();
- }
- // 기도유지 checkbox6, DB에서 값 읽어서 Control에 반영하기
- function fn_setChkPrtctairway(){
- var getData = String(this.ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.getColumn(0, "prtctairway")).split(" ");
- if( !utlf_isNull(getData) ){
- switch1.case2.group5.checkbox6.setData(getData);
- }
- fn_check_ChkPrtctairway();
- }
- function fn_clearChkPrtctairway(){
- var getData = String(switch1.case2.group5.checkbox6.getData()).split(',');
- if( !utlf_isNull(getData) ){
- switch1.case2.group5.checkbox6.setData(null, getData, false);
- }
- }
- // 기도유지 checkbox6, Control 값읽어서 제어하기
- function fn_check_ChkPrtctairway() {
- var arr = String(switch1.case2.group5.checkbox6.getData()).split(",")
-
- /* 제어하고픈 코드 등록 */
- // for(var i = 0; i < arr.length; i++) {
- // if(arr[i] == '11') {
- // //grp_biz.ipt_healmngtnm.enable = true;
- // }
- // if(arr[i] == "13") {
- // //grp_biz.ipt_healmngtsymp.enable = true;
- // }
- // }
- }
-
-
- function cp_CheckBoxInit()
- {
- // 마취구분 checkbox3, 초기화.
- var sProp1="col=3,row=1,cellspacing=5,vcellspacing=0,itemWidth=50,itemHeight=20,overflow=''";
- group6.checkbox3.setInitComp(sProp1, ds_chk_anesclass, "value", "label", "fn_chk_anesclass");
- fn_setChkAnesClass();
-
- // 진행상태 checkbox4, 초기화.
- var sProp2="col=5,row=1,cellspacing=5,vcellspacing=0,itemWidth=50,itemHeight=20,overflow=''";
- group6.checkbox4.setInitComp(sProp2, ds_chk_opstat, "value", "label", "fn_chk_opstat");
- fn_setChkOpStat();
-
- //기도유지 checkbox6 초기화
- var sProp3="col=1,row=5,cellspacing=5,vcellspacing=0,itemWidth=100,itemHeight=20,overflow=''";
- switch1.case2.group5.checkbox6.setInitComp(sProp3, ds_chk_prtctairway, "value", "label", "fn_chk_prtctairway");
- fn_setChkPrtctairway();
-
- }
- function SMMNP00700_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
-
- grdf_setRowTypeIcon(switch1.case1.case4.datagrid2, 0);
-
- grdf_initGrid(this.datagrid5);
- grdf_initGrid(this.switch1.case1.case3.group3.grd_opinfo1);
- grdf_initGrid(this.switch1.case1.case3.group3.grd_opinfo2);
- grdf_initGrid(this.switch1.case1.case3.group3.grd_opinfo7);
- grdf_initGrid(this.switch1.case1.case4.group1.datagrid1);
- grdf_initGrid(this.switch1.case1.case4.group8.datagrid4);
- grdf_initGrid(this.switch1.case1.case4.datagrid2);
- grdf_initGrid(this.switch1.case1.case4.datagrid9);
- grdf_initGrid(this.switch1.case1.case5.grd_anstprcp);
- grdf_initGrid(this.switch1.case2.datagrid3);
- grdf_initGrid(this.switch1.case2.datagrid6);
- grdf_initGrid(this.switch1.case2.datagrid7);
- grdf_initGrid(this.switch1.case2.datagrid8);
- grdf_initGrid(this.switch1.case2.grd_reintub);
- grdf_initGrid(this.switch1.case2.grd_resafe);
- grdf_initGrid(this.switch1.case2.grd_valueitem);
-
- cp_CheckBoxInit();
-
- zesf_InitSign();
-
- //fFormInit();
- this.setTimer(0, 100);
- Sign.init();
-
- frmf_createPopupMenuDs("pmn_popupMenu1", "pmn_popupMenu1_onmenuclick", ds_HideData_menuitems_vsgridmenu_item);
- frmf_createPopupMenuDs("pmn_popupMenu2", "pmn_popupMenu_onmenuclick", ds_HideData_menuitems_vnrlmenu_item);
- frmf_createPopupMenuDs("pmn_popupMenu3", "pmn_popupMenu_onmenuclick", ds_HideData_menuitems_gridmenu_menulist);
-
- ds_main_MnphrecoData_MnphrecoList_recovstatvalutable_valuitemlists_valuitem.rowposition = -1;
- ds_main_MnphrecoData_MnphrepmList.rowposition = -1;
- ds_main_MnphrecoData_MnphresmList.rowposition = -1;
- ds_main_MnphrecoData_MnphreIntubchkList.rowposition = -1;
- ds_init_CareRecLists_carereclist.rowposition = -1;
- //alert(fReturnInstcd());
-
- //20180817 이돈희 : 통증사정도구 점수 항목 활성화(초기값)
- switch1.case2.combo_pca_in_grade.enable = true;
- switch1.case2.combo_pca_out_grade.enable = true;
- }
- function group6_button9_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetOpScheList();
- //fDataDisplay();
- }
- function btn_gridctrl_onclick(obj:Button, e:ClickEventInfo)
- {
-
- if(datagrid5.position.height == "151"){
- btn_gridctrl.text = "접기";
- //20170322 이돈희 수정 : 다이얼로그 높이가 변경되는 경우 그에 맞도록 커지도록 수정
- var varHeight = this.position.height - 37 - datagrid5.position.top;
- datagrid5.position.height = varHeight;
- }else{
- btn_gridctrl.text = "펼치기";
- datagrid5.position.height = "151";
- }
- }
- function datagrid5_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- if( e.row >= 0 && e.col >= 0 ) {
- fOnDoulbeClickScheList(-1); // fOnDoulbeClickScheList(0)
- //이윤주수정 20160907
- if ( IFYN == "Y" ) {
- fGetAnstRecoverInExRec("N"); //마취기록 연동
- IFYN = "N" // 초기화
- }
- }
- }
- function pmn_popupMenu_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- eval("fShowMenu" + "("+e.id+")");
- }
- function datagrid5_onkillfocus(obj:Grid, e:KillFocusEventInfo)
- {
- //박영우 만든 로직
- //window.setPopupMenu(false);
- }
- function bbt_save_onclick(obj:Button, e:ClickEventInfo)
- {
- fSave("U");
- }
- var savePid = "";
- var saveName = "";
- function btn_rgst_sct_onclick(obj:Button, e:ClickEventInfo)
- {
- //2017-11-16 상단정보환자와 기록중인 환자가 다를경우 return
- if(appf_getPatientId() != ds_init_WorkData.getColumn(0, "pid")){
- var error = "기록중인 환자[" + savePid + "_" + saveName + "]와" + "\r\n";
- error += "상단정보환자[" + appf_getPatientId() + "_" + appf_getPatientName() + "]가 다릅니다.";
- sysf_messageBox(error,"I000");
- return;
- }
- fSave("C"); // 회복실 정보 저장하기 (TXMNP00702) 인증저장
- }
- function switch1_case2_bbt_inroom_onclick(obj:Button, e:ClickEventInfo)
- {
- fSave("1");
- }
- function switch1_case2_button12_onclick(obj:Button, e:ClickEventInfo)
- {
- switch1.case2.inp_inrmdt.value = utlf_getCurrentDate();
- switch1.case2.inp_inrmtm.value = utlf_getCurrentTime().substr(0,4);
- }
- function switch1_case2_bbt_outroom_onclick(obj:Button, e:ClickEventInfo)
- {
- fSave("2");
- }
- function switch1_case2_button14_onclick(obj:Button, e:ClickEventInfo)
- {
- switch1.case2.inp_outrmdt.value = utlf_getCurrentDate();
- switch1.case2.inp_outrmtm.value = utlf_getCurrentTime().substr(0,4);
- }
- function switch1_case2_combo3_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fOnClickAnstDoctCombo("A");
- }
- function switch1_case2_button6_onclick(obj:Button, e:ClickEventInfo)
- {
- var nPath = ds_main_MnphrecoData_MnphrecoList;
- var sSearchdd = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "inrmdt");
- if(utlf_isNull(sSearchdd)){
- sSearchdd = utlf_getCurrentDate();
- }
- fUseridPopup(nPath, "outconfirmdoctorid", "outconfirmdoctor" ,"", "", switch1.case2.inp_outdrnm, sSearchdd);
- //ds_main_MnphrecoData_MnphrecoList.setColumn( 0, "outconfirmdoctorid_tmp", ds_main_MnphrecoData_MnphrecoList.getColumn(0, "outconfirmdoctorid"));
- dsf_makeValue(ds_main_MnphrecoData_MnphrecoList, "outconfirmdoctorid_tmp", "string", ds_main_MnphrecoData_MnphrecoList.getColumn(0, "outconfirmdoctorid") );
-
- //combo3.refresh();
- //inp_outdrid.refresh();
- }
- function switch1_case2_button5_onclick(obj:Button, e:ClickEventInfo)
- {
- var patage = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "patage");
- var sInstcd = sysf_getUserInfo("dutplceinstcd");
- var sDate = utlf_getCurrentDate();
- var sOpcnfmdd = ds_HideData_condition.getColumn(0, "opcnfmdd");
-
- if(patage.length == 0) {
- sysf_messageBox("환자가 선택되지", "E005");
- return;
- }
-
- var nodeslength = ds_main_MnphrecoData_MnphrecoList_recovstatvalutable_valuitemlists.rowcount;
- var recovstatflag = 0;
-
- if(nodeslength >= 1) {
- var nodeslength2 = ds_main_MnphrecoData_MnphrecoList_recovstatvalutable_valuitemlists_valuitem.rowcount;
-
- if(nodeslength2 > 6) {
- recovstatflag = 1;
- //alert("예전 자료입니다.");
- } else {
- recovstatflag = 0;
- }
-
- }
-
- var sTempOprsrvno = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "oprsrvno");
- if(utlf_isNull(sTempOprsrvno)){ // 수술예약(의뢰) 번호(년도+일련번호)
- return;
- }
-
- var xpos = system.clientToScreenX(this, this.position.left) -100 ; //event.screenX - 100;
- var ypos = system.clientToScreenY(this, this.position.top) - 100; //event.screenY - 100;
-
-
- ds_init_ValuItemLists_valuitem.clearData();
-
- //입실저장, 퇴실저장에 따라서 회복상태 평가표 팝업 기본값 세팅 by 박영우 2010-02-17
- var recindttm = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recindttm"); // 회복실간호기록 기록 일자
- var recinuserdeptnm = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recinuserdeptnm"); // 회복실간호기록 기록 부서 명
- var recinusernm = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recinusernm"); // 회복실간호기록 기록자 명
-
- var recoutdttm = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recoutdttm"); // 퇴실 기록 일시
- var recoutuserdeptnm= ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recoutuserdeptnm"); // 퇴실 기록자 부서
- var recoutusernm = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recoutusernm"); // 퇴실 기록자 명
-
- if(utlf_isNull(recindttm) || utlf_isNull(recinuserdeptnm) || utlf_isNull(recinusernm)) { //입실저장이 되지 않았을 경우
- frmf_setParameter("SMMNP00700_00901", "IN");
- } else if(utlf_isNull(recoutdttm) || utlf_isNull(recoutuserdeptnm) || utlf_isNull(recoutusernm)) { //퇴실저장이 되지 않았을 경우
- frmf_setParameter("SMMNP00700_00901", "OUT");
- } else { //둘다 되었을 경우
- frmf_setParameter("SMMNP00700_00901", "ALL");
- }
-
- if(ds_main_MnphrecoData_MnphrecoList_recovstatvalutable_valuitemlists.getColumn(0, "valuitemarrvtot") == "0" || utlf_isNull(ds_main_MnphrecoData_MnphrecoList_recovstatvalutable_valuitemlists.getColumn(0, "valuitemarrvtot")) ){
- frmf_setParameter("SMMNP00700_00900", "IN");
- }else{
- frmf_setParameter("SMMNP00700_00900", "OUT");
- }
- /*
- if(ds_main_MnphrecoData_MnphrecoList.getColumn(0, "inrmdt") != "" &&
- ds_main_MnphrecoData_MnphrecoList.getColumn(0, "inrmtm") != null &&
- ds_main_MnphrecoData_MnphrecoList.getColumn(0, "recstat") == "U" ){
- frmf_setParameter("SMMNP00700_00900", "OUT");
- }else{
- frmf_setParameter("SMMNP00700_00900", "IN");
- }
- */
- if(eval(patage) < 12 && recovstatflag == 1){
- var objArg = new Object();
- objArg.arg_ds_init_example = ds_init_example;
- frmf_modal("SMMNP00900", "SMMNP00900", objArg, "", "1", xpos, ypos, "", "", "", "", "", "M");
- } else if(eval(patage) < 12){
- if(sInstcd == '032' && sOpcnfmdd > '20171129'){ //171129_AYS_칠곡_마취 후 회복상태표(소아) 수정
- //trace("평가도구 && 칠곡 && 12세 미만");
- var objArg = new Object();
- objArg.arg_ds_init_example = ds_init_example;
- frmf_modal("SMMNP00920", "SMMNP00920", objArg, "", "1", xpos, ypos, "", "", "", "", "", "M");
- } else{
- var objArg = new Object();
- objArg.arg_ds_init_example = ds_init_example;
- frmf_modal("SMMNP00910", "SMMNP00910", objArg, "", "1", xpos, ypos, "", "", "", "", "", "M");
- } //171129_AYS_칠곡_마취 후 회복상태표(소아) 수정
- } else{
- if(sInstcd == '032' && sOpcnfmdd > '20171015'){
- var objArg = new Object();
- objArg.arg_ds_init_example = ds_init_example;
- frmf_modal("SMMNP00920", "SMMNP00920", objArg, "", "1", xpos, ypos, "", "", "", "", "", "M");
- } else{
- if(eval(patage) >= 12){
- var objArg = new Object();
- objArg.arg_ds_init_example = ds_init_example;
- frmf_modal("SMMNP00900", "SMMNP00900", objArg, "", "1", xpos, ypos, "", "", "", "", "", "M");
- }
- }
-
- }
- //model.refresh();
- ////grd_valueitem.refresh();
- ////opt_arrv.refresh();
- ////opt_leav.refresh();
- // var iProperties = frmf_getParameter("SendData");
- // model.copyNode("_root_init_ValuItemListsot", iProperties);
- }
- function switch1_case2_btn_tnsrec_onclick(obj:Button, e:ClickEventInfo)
- {
- fClickBloodBtn();
- }
- function switch1_case2_button16_onclick(obj:Button, e:ClickEventInfo)
- {
- fOnClickPCABtn();
- }
- function switch1_case2_button29_onclick(obj:Button, e:ClickEventInfo)
- {
- fOnClickPatMemoBtn();
- }
- function switch1_case2_grp_memoview_btn_prtlabel_onclick(obj:Button, e:ClickEventInfo)
- {
- fOnClickPatMemoSetBtn();
- }
- function switch1_case2_grp_memoview_button30_onclick(obj:Button, e:ClickEventInfo)
- {
- fOnClickPatMemoClsBtn();
- }
- function switch1_case2_group5_button13_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayadddt", utlf_getCurrentDate());
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwayaddtm", utlf_getCurrentTime().substr(0,4));
- //inp_prtcairwayadddt.refresh();
- //inp_prtcairwayaddtm.refresh();
- }
- function switch1_case2_group5_button4_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwaydt", utlf_getCurrentDate());
- ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist.setColumn( 0, "prtctairwaytm",utlf_getCurrentTime().substr(0,4));
- //inp_prtctairwaydt.refresh();
- //inp_prtctairwaytm.refresh();
- }
- function switch1_case2_btn_getanst_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetAnstRecoverInExRec();
- }
- function switch1_case2_button8_onclick(obj:Button, e:ClickEventInfo)
- {
- fClickRemoveDrgecdlist();
- }
- function switch1_case2_btn_grid6expand_onclick(obj:Button, e:ClickEventInfo)
- {
- if(switch1.case2.datagrid6.position.height == "153"){
- switch1.case2.btn_grid6expand.text = "축소하기";
- switch1.case2.datagrid6.position.height = "461";
- // switch1.case2.line30.position.top = "504";
- // switch1.case2.line30.position.y = "504";
- }else{
- switch1.case2.btn_grid6expand.text = "확대하기";
- switch1.case2.datagrid6.position.height = "153";
- // switch1.case2.line30.position.top = "184";
- // switch1.case2.line30.position.y = "184";
- }
- }
- function switch1_case2_btn_safelist_onclick(obj:Button, e:ClickEventInfo)
- {
- // 회복간호 안전전검 기준 코드 넘김 (20100414 by 안도영)
- frmf_setParameter("openerFlag", "R");
- //modal("SMMNP07200","","","","SMMNP07200","","");
- frmf_modal("SMMNP07200", "SMMNP07200", "", "", "", "", "", "", "", "", "", "", "M");
-
- //model.refresh();
- }
- function switch1_case2_btn_reintubexpend_onclick(obj:Button, e:ClickEventInfo)
- {
- if(switch1.case2.grd_reintub.position.height == "95"){
- switch1.case2.btn_reintubexpend.text = "축소하기";
- switch1.case2.grd_reintub.position.height = "270";
- //line30.attribute("y1") = "507px";
- //line30.attribute("y2") = "507px";
- }else{
- switch1.case2.btn_reintubexpend.text = "확대하기";
- switch1.case2.grd_reintub.position.height = "95";
- //line30.attribute("y1") = "187px";
- //line30.attribute("y2") = "187px";
- }
- }
- function switch1_case2_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SMMNP00750", "SMMNP00750", "", "", "", "", "", "", "", "", "", "", "M");
- fOnDoulbeClickScheList(-1); // fOnDoulbeClickScheList(0)
- }
- function switch1_case2_button10_onclick(obj:Button, e:ClickEventInfo)
- {
- fSMMNR03400Call(); // 간호기록
- }
- function switch1_case2_group5_inp_prtctairwaynm_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if (e.keycode == 13) {
-
- var nPath = "ds_main_MnphrecoData_MnphrecoList_prtctairwayspec_prtctairwaylists_prtctairwaylist";
- obj.updateToDataset(); // 현재 인풋값 노드 반영
- fUserEnter(nPath, "prtctairwayur", "prtctairwaynm" ,"", "", switch1.case2.group5.inp_prtctairwaynm.text, switch1.case2.group5.inp_prtctairwaynm);
- //inp_prtctairway.refresh();
- }
- }
- function switch1_case1_case4_group1_radio4_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- fSearchPrnOrderInfo();
- }
- function switch1_case1_case4_group1_datagrid1_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- fAddOrderToGirok("switch1.case1.case4.group1.datagrid1", "ds_main_revrInfo_prnorderlist");
- }
- var cnt = 0;
- function switch1_case1_case4_group8_button28_onclick(obj:Button, e:ClickEventInfo)
- {
- cnt++;
-
- if(switch1.case1.case4.group8.position.top == "205"){
- switch1.case1.case4.group8.position.top = "2";
- switch1.case1.case4.group8.position.height= "500";
- switch1.case1.case4.group8.datagrid4.position.top = "21"; //.attribute("height") = "122px";
- switch1.case1.case4.group8.datagrid4.position.height = "466"; //.attribute("height") = "450";
- switch1.case1.case4.group1.visible = false;
- }
- else{
- switch1.case1.case4.group8.datagrid4.position.left = "0"; //.attribute("height") = "122px";
- switch1.case1.case4.group8.datagrid4.position.top = "21"; //.attribute("height") = "122px";
- switch1.case1.case4.group8.datagrid4.position.width= "490"; //.attribute("height") = "122px";
- switch1.case1.case4.group8.datagrid4.position.height = "158"; //.attribute("height") = "122px";
-
- switch1.case1.case4.group8.position.left = "0";
- switch1.case1.case4.group8.position.top = "205";
- switch1.case1.case4.group8.position.width= "490";
- switch1.case1.case4.group8.position.height = "179";
-
-
- switch1.case1.case4.group1.visible = true;
- }
- }
- function switch1_case1_case4_button17_onclick(obj:Button, e:ClickEventInfo)
- {
- fOnClickSizeBtn("Large");
- }
- function switch1_case1_case4_button25_onclick(obj:Button, e:ClickEventInfo)
- {
- fOnClickSizeBtn("Short");
- }
- function switch1_case1_case4_button21_onclick(obj:Button, e:ClickEventInfo)
- {
- fOnClickItemAddHelpBtn();
- }
- function switch1_case1_case4_radio3_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- fGetGiRok1Data("RELOAD", ds_main_revrInfo_mnphrevrtitle.getColumn(0, "data1"));
- }
- function switch1_case1_case4_button22_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetGiRok1Data("PRE");
- }
- function switch1_case1_case4_button18_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetGiRok1Data("NEXT");
- }
- function switch1_case1_case4_button27_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_revrInfo_mnphrepg.deleteRow(ds_main_revrInfo_mnphrepg.rowposition);//switch1.case1.case4.datagrid2.currentRow);
- //deleteSelectedRows(switch1.case1.case4.datagrid2, true);
- //switch1.case1.case4.datagrid2.refresh();
- }
- function pmn_popupMenu1_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- eval(e.id + "()");
- }
- function switch1_case1_case4_datagrid9_onenteredit(obj:Grid, e:GridEditEventInfo)
- {
- flag ="1";
-
- }
- function switch1_case2_button11_onclick(obj:Button, e:ClickEventInfo)
- {
- fClickRecoTimeBtn();
- }
- function switch1_case2_btn_eqmtinfo_onclick(obj:Button, e:ClickEventInfo)
- {
- fOpEqmtPopup();
- }
- function switch1_case1_case4_button26_onclick(obj:Button, e:ClickEventInfo)
- {
- fAddProgress();
- }
- function switch1_case1_case4_datagrid2_onenterdown(obj:Grid, e:GridEditEventInfo)
- {
- if(e.row + 1 <= ds_main_revrInfo_mnphrepg.rowcount - 1) {
- ds_main_revrInfo_mnphrepg.rowposition = e.row + 1;
- }
- }
- function switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- if(e.postindex == 1) { //model.toggle("case1");
- //switch1.case1.tabindex = 1; //model.toggle("case4");
- switch2TabIndex(1);
- fGetGiRok1Data();
- }
- }
- function switch1_case2_group5_combo4_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fOnClickAnstDoctCombo("B");
- }
- function switch1_case2_group5_combo1_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fOnClickAnstDoctCombo("C");
- }
- function ds_main_MnphrecoData_MnphresmList_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.col == 0)
- {
- var _chkValue = ds_main_MnphrecoData_MnphresmList.getColumn( e.row, e.col);
- if(_chkValue == "1") {
- ds_main_MnphrecoData_MnphresmList.setColumn( e.row, e.col, "true");
- }
- else {
- ds_main_MnphrecoData_MnphresmList.setColumn( e.row, e.col, "false");
- }
- }
- }
- function ds_main_MnphrecoData_MnphrepmList_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.col == 0)
- {
- var _chkValue = ds_main_MnphrecoData_MnphrepmList.getColumn( e.row, e.col);
- if(_chkValue == "1") {
- ds_main_MnphrecoData_MnphrepmList.setColumn( e.row, e.col, "true");
- }
- else {
- ds_main_MnphrecoData_MnphrepmList.setColumn( e.row, e.col, "false");
- }
- }
- }
- function SMMNP00700_ontimer(obj:Form, e:TimerEventInfo)
- {
- if( e.timerid == 0 ){
- this.killTimer(0);
- fFormInit();
- }
- }
- function switch1_case1_case3_group3_ipt_tmoutchktm_ontextchange(obj:MaskEdit, e:TextChangeEventInfo)
- {
- utlf_validMaskEditTime(obj, e);
- }
- function switch1_case1_case3_group3_ipt_anstfromtm_ontextchange(obj:MaskEdit, e:TextChangeEventInfo)
- {
- utlf_validMaskEditTime(obj, e);
- }
- function switch1_case1_case3_group3_ipt_opfromtm_ontextchange(obj:MaskEdit, e:TextChangeEventInfo)
- {
- utlf_validMaskEditTime(obj, e);
- }
- function switch1_case1_case3_group3_ipt_ansttotm_ontextchange(obj:MaskEdit, e:TextChangeEventInfo)
- {
- utlf_validMaskEditTime(obj, e);
- }
- function switch1_case1_case3_group3_ipt_meetingtm_ontextchange(obj:MaskEdit, e:TextChangeEventInfo)
- {
- utlf_validMaskEditTime(obj, e);
- }
- function switch1_case1_case3_group3_ipt_optotm_ontextchange(obj:MaskEdit, e:TextChangeEventInfo)
- {
- utlf_validMaskEditTime(obj, e);
- }
- function switch1_case2_inp_inrmtm_ontextchange(obj:MaskEdit, e:TextChangeEventInfo)
- {
- utlf_validMaskEditTime(obj, e);
- }
- function switch1_case2_inp_outrmtm_ontextchange(obj:MaskEdit, e:TextChangeEventInfo)
- {
- utlf_validMaskEditTime(obj, e);
- }
- function switch1_case2_group5_inp_prtcairwayaddtm_ontextchange(obj:MaskEdit, e:TextChangeEventInfo)
- {
- utlf_validMaskEditTime(obj, e);
- }
- function switch1_case2_group5_inp_prtctairwaytm_ontextchange(obj:MaskEdit, e:TextChangeEventInfo)
- {
- utlf_validMaskEditTime(obj, e);
- }
- function switch1_case1_case4_datagrid9_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- if (e.row >= 0 && e.col >= 0){
- obj.setCellPos(e.col);
- grdf_setSelectedCell(obj, e);
-
- //window.setPopupMenu( true, "_root_HideData_menuitems_vsgridmenu_item", "name", "func", true);
- //window.setPopupMenu( true, "_root_HideData_menuitems_gridmenu_menulist", "name", "func", true);
- //setPopupMenu("datagrid9", false, "_root_HideData_menuitems_vsgridmenu_item", "name", "func");
- // frmf_createPopupMenuDs("pmn_popupMenu1", "pmn_popupMenu1_onmenuclick", ds_HideData_menuitems_vsgridmenu_item);
- // pmn_popupMenu1.trackPopup(e.screenX, e.screenY);
- }
- }
- function switch1_case1_case4_datagrid9_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- if (e.row >= 0 && e.col >= 0){
- obj.setCellPos(e.col);
- grdf_setSelectedCell(obj, e);
-
- //window.setPopupMenu( true, "_root_HideData_menuitems_vsgridmenu_item", "name", "func", true);
- //window.setPopupMenu( true, "_root_HideData_menuitems_gridmenu_menulist", "name", "func", true);
- //setPopupMenu("datagrid9", false, "_root_HideData_menuitems_vsgridmenu_item", "name", "func");
- pmn_popupMenu1.trackPopup(e.screenX, e.screenY);
- }
- }
- function switch1_case1_case4_datagrid9_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- fSelectedCells(switch1.case1.case4.datagrid9);
- }
- function ds_main_revrInfo_mnphrevr_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if( fv_bSetRow == false && e.columnid.substr(0, 4) == "data" ){
- flag = "2";
-
- fCheckIOFormat(e.row, e.columnid);
-
- if(e.row + 1 <= ds_main_revrInfo_mnphrevr.rowcount - 1) {
- ds_main_revrInfo_mnphrevr.rowposition = e.row + 1;
- switch1.case1.case4.datagrid9.setCellPos(switch1.case1.case4.datagrid9.getBindCellIndex("body", e.columnid));
- switch1.case1.case4.datagrid9.setFocus();
- }else if( e.row == ds_main_revrInfo_mnphrevr.rowcount - 1 ){
- switch1.case1.case4.datagrid9.showEditor(false);
- }
- }
- }
- function datagrid5_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row < 0 || e.col < 0) return;
- //grd_detlgrup.autoenter = "key";
-
- grdf_setSelectedCell(obj, e);
- }
- function datagrid5_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row < 0 || e.col < 0) return;
- //grd_detlgrup.autoenter = "key";
-
- grdf_setSelectedCell(obj, e);
-
- //박영우 만든 로직
- var uijungbuinstcd="", sunggainstcd="", vincentinstcd=""; // 의정부성모병원, 부천성가병원, 수원빈센트병원 기관코드
- for(var i = 0; i < ds_code_codeinfo_codelist.rowcount; i++){
- switch (ds_code_codeinfo_codelist.getColumn(i, "cdgrupid")){
- case "077": // 병원별 기관코드
- switch(ds_code_codeinfo_codelist.getColumn(i, "supcdid")){
- case "02": // 의정부성모병원 기관코드
- uijungbuinstcd = ds_code_codeinfo_codelist.getColumn(i, "cdid");
- break;
- case "03": // 부천성가병원 기관코드
- sunggainstcd = ds_code_codeinfo_codelist.getColumn(i, "cdid");
- break;
- case "04": // 수원빈센트병원 기관코드
- vincentinstcd = ds_code_codeinfo_codelist.getColumn(i, "cdid");
- break;
- }
- }
- }
-
- //if (e.button == 3 ){
- //박영우 만든 로직
- //빈센트 병원일 경우 오른쪽 팝업메뉴
- if(sysf_getUserInfo("dutplceinstcd")==vincentinstcd) {
- //fShowPopupMenu("datagrid5","_root_HideData_menuitems_vnrlmenu_item");
- //window.setPopupMenu( true, "_root_HideData_menuitems_vnrlmenu_item", "name", "func", true);
-
- //frmf_createPopupMenuDs("pmn_popupMenu", "pmn_popupMenu_onmenuclick", ds_HideData_menuitems_vnrlmenu_item);
- pmn_popupMenu2.trackPopup(e.screenX, e.screenY);
- }
- else
- //window.setPopupMenu( true, "_root_HideData_menuitems_gridmenu_menulist", "curretnText", "value", true);
- //frmf_createPopupMenuDs("pmn_popupMenu", "pmn_popupMenu_onmenuclick", ds_HideData_menuitems_gridmenu_menulist);
- pmn_popupMenu3.trackPopup(e.screenX, e.screenY);
- //}
- }
- function ds_main_MnphrecoData_MnphreIntubchkList_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.col == 0)
- {
- var _chkValue = ds_main_MnphrecoData_MnphreIntubchkList.getColumn( e.row, e.col);
- if(_chkValue == "1") {
- ds_main_MnphrecoData_MnphreIntubchkList.setColumn( e.row, e.col, "true");
- }
- else {
- ds_main_MnphrecoData_MnphreIntubchkList.setColumn( e.row, e.col, "false");
- }
- }
- }
- var gPosId = -1;
- var gPosColId = -1;
- function switch1_case1_case4_datagrid9_onlbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- gPosId = e.col;
- gPosColId = e.row;
- }
- function switch1_case2_group5_combo1_onkeydown(obj:Combo, e:KeyEventInfo)
- {
- // if(e.keycode == 13){
- // obj.show
- // }
- }
- var lastrow1 = -1;
- var lastcol1 = -1;
- var bDrop1 = false;
- function switch1_case2_datagrid8_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- lastrow1 = -1;
- lastcol1 = -1;
- }
- function switch1_case2_datagrid8_oncloseup(obj:Grid, e:GridEditEventInfo)
- {
- var dsGridBind = eval(obj.binddataset);
- var preVal = utlf_transNullToEmpty(dsGridBind.getColumn(e.row, e.col));
- var posVal = utlf_transNullToEmpty(e.value);
-
- if( bDrop1 == true && (!utlf_isNull(posVal) || preVal != posVal) ){
- obj.showEditor(false);
- }
-
- bDrop1 = false;
- lastrow1 = e.row;
- lastcol1 = e.col;
- }
- function switch1_case2_datagrid8_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- grdf_setSelectedCell(obj, e);
-
- var dsGridBind = eval(obj.binddataset);
-
- // Combo DropDown Click 처리
- obj.autoenter = "key";
-
- if( e.fromreferenceobject.name == "dropbutton" ){
- bDrop1 = true;
- }
- if( e.row > -1 && obj.getCellProperty("body", e.col, "edittype") == "combo" ){
- // Combo 선택시 활성화 및 combodatacol 변경
- if( grdf_getSelectedCols(obj).length == 0 && grdf_getSelectedRows(obj).length == 0 && obj.getEditText() == undefined ){
- obj.showEditor(true);
- }else{
- if(!obj.isDropdownCombo() && (lastrow1 != e.row || lastcol1 != e.col)) {
- obj.setCellPos(e.col);
- dsGridBind.rowposition = e.row;
- obj.showEditor(true);
- if(bDrop1) {
- obj.dropdownCombo();
- }
- }
- }
- }else{
- obj.autoenter = "key";
- }
- }
- function fFLACCDetailOpen(type)
- {
- var patage = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "patage");
- if(patage.length == 0) {
- sysf_messageBox("환자가 선택되지", "E005");
- return;
- }
-
- frmf_setParameter("SMMNP00700_type", type);
-
- if(type == "IN"){
- frmf_setParameter("SMMNP00700_grade", ds_main_MnphrecoData_MnphrecoList.getColumn(0, "inflaccdetailgrade"));
- }
- else {
- frmf_setParameter("SMMNP00700_grade", ds_main_MnphrecoData_MnphrecoList.getColumn(0, "outflaccdetailgrade"));
- }
-
- var xpos = system.clientToScreenX(this, this.position.left) -100 ; //event.screenX - 100;
- var ypos = system.clientToScreenY(this, this.position.top) - 100; //event.screenY - 100;
- var objArg = new Object();
- frmf_modal("SMMNP00930", "SMMNP00930", objArg, "", "1", xpos, ypos, "", "", "", "", "", "M");
- }
- function switch1_case2_combo_pca_in_type_onitemclick(obj:Combo, e:ListBoxClickEventInfo)
- {
- switch1.case2.combo_pca_in_grade.enable = true;
- //20180531 이돈희 : type을 '-'으로 변경시 점수도 '-'으로 자동 셋팅
- if(e.index == 0){
- ds_main_MnphrecoData_MnphrecoList.setColumn(0, "inpcagrade", '-');
- }
- //20180809 이돈희 : FLACC 선택 시 FLACC 각 항목 별 선택 화면 표시
- else if(e.index == 3){
- //20180820 이돈희 : 다른 기법 선택 후 FLACC 선택시 점수 0점으로 초기화
- var strInflaccdetailgrade = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "inflaccdetailgrade");
- if((utlf_isNull(strInflaccdetailgrade)) || (strInflaccdetailgrade == "-")){
- ds_main_MnphrecoData_MnphrecoList.setColumn(0, "inpcagrade", '0');
- }
-
- //FLACC인 경우 콤보에서 총점 점수 조작 불가능
- switch1.case2.combo_pca_in_grade.enable = false;
- fFLACCDetailOpen("IN");
- }
-
- //20180820 이돈희 : FLACC에서 다른 기법 선택시 FLACC 관련 점수 초기화
- if(e.index != 3){
- ds_main_MnphrecoData_MnphrecoList.setColumn(0, "inflaccdetailgrade", '-');
- }
- }
- function switch1_case2_combo_pca_out_type_onitemclick(obj:Combo, e:ListBoxClickEventInfo)
- {
- switch1.case2.combo_pca_out_grade.enable = true;
- //20180531 이돈희 : type을 '-'으로 변경시 점수도 '-'으로 자동 셋팅
- if(e.index == 0){
- ds_main_MnphrecoData_MnphrecoList.setColumn(0, "outpcagrade", '-');
- }
- //20180809 이돈희 : FLACC 선택 시 FLACC 각 항목 별 선택 화면 표시
- else if(e.index == 3){
- //20180820 이돈희 : 다른 기법 선택 후 FLACC 선택시 점수 0점으로 초기화
- var strOutflaccdetailgrade = ds_main_MnphrecoData_MnphrecoList.getColumn(0, "outflaccdetailgrade");
- if((utlf_isNull(strOutflaccdetailgrade)) || (strOutflaccdetailgrade == "-")){
- ds_main_MnphrecoData_MnphrecoList.setColumn(0, "outpcagrade", '0');
- }
-
- //FLACC인 경우 콤보에서 총점 점수 조작 불가능
- switch1.case2.combo_pca_out_grade.enable = false;
- fFLACCDetailOpen("OUT");
- }
-
- //20180820 이돈희 : FLACC에서 다른 기법 선택시 FLACC 관련 점수 초기화
- if(e.index != 3){
- ds_main_MnphrecoData_MnphrecoList.setColumn(0, "outflaccdetailgrade", '-');
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|