123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLBD01900_업무내역등록.xrw
- * 설 명 : 업무내역등록
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 - 박정은
- * 작 성 일 : 2007.10.16
- * 수정이력 : 2008.03.05 박정은
- * 기 타 :
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>업무내역등록</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root>
- <main>
- <ptinfo>
- <patinfo>
- <patnm/>
- <rrgstno/>
- <sexage/>
- <ord/>
- <wardroom/>
- <orddept/>
- <orddrnm/>
- <ht/>
- <kg/>
- <jindan/>
- <btype/>
- <tnsrpid/>
- <orddd/>
- <cretno/>
- <prcpgenrflag/>
- <natno/>
- <orddeptcd/>
- <acptseqno/>
- <instcd/>
- <orgorddd/>
- <wardcd/>
- <wardnm/>
- <roomcd/>
- </patinfo>
- <dnorinfo>
- <chk/>
- <prcpdd/>
- <dnornm/>
- <rrgstno/>
- <sexage/>
- <bdht/>
- <bdwt/>
- <btype/>
- <panjung/>
- <rectdondd/>
- <homeaddr/>
- <hometel/>
- <dnorno/>
- <dnorseqno/>
- </dnorinfo>
- <history>
- <execdd/>
- <exectm/>
- <recrid/>
- <usernm/>
- <kind/>
- <hist/>
- <bizlrgkind/>
- <bizmdlkind/>
- <signno/>
- <tnsrpid/>
- <uh/>
- <dnorno/>
- </history>
- <kind>
- <kind1/>
- <kind2/>
- </kind>
- </ptinfo>
- <chkdnor>
- <chkdnorrslt>
- <dnornm/>
- <rrgstno/>
- <sexage/>
- <bdht/>
- <bdwt/>
- <btype/>
- <panjung/>
- <homeaddr/>
- <hometel/>
- <dnorno/>
- <dnorseqno/>
- </chkdnorrslt>
- </chkdnor>
- <bcnorslt>
- <rsltlist>
- </rsltlist>
- </bcnorslt>
- <rsltview>
- <rslt>
- <rsltdd/>
- <rslt01/>
- <rslt02/>
- <rslt03/>
- <rslt04/>
- <rslt05/>
- <rslt06/>
- <rslt07/>
- <rslt08/>
- <rslt09/>
- <rslt10/>
- <rslt11/>
- </rslt>
- </rsltview>
- <rsltview2>
- <rslt>
- <rsltdd/>
- <rslt01/>
- <rslt02/>
- <rslt03/>
- <rslt04/>
- <rslt05/>
- <rslt06/>
- <rslt07/>
- <rslt08/>
- <rslt09/>
- <rslt10/>
- <rslt11/>
- </rslt>
- <rslt>
- <rsltdd/>
- <rslt01/>
- <rslt02/>
- <rslt03/>
- <rslt04/>
- <rslt05/>
- <rslt06/>
- <rslt07/>
- <rslt08/>
- <rslt09/>
- <rslt10/>
- <rslt11/>
- </rslt>
- </rsltview2>
- <bizlist>
- <u1list>
- <execdt/>
- <tnsrpid/>
- <dnorno/>
- <dnorseqno/>
- <bizlrgkind/>
- <bizmdlkind/>
- <bizstartdd/>
- <bizstarttm/>
- <bizenddd/>
- <bizendtm/>
- <recrid/>
- <eqmtcd/>
- <antdkindcd/>
- <antduseqty/>
- <veslptnccd/>
- <seffcyn/>
- <seffccd/>
- <seffccnts/>
- <seffctretcnts/>
- <btype/>
- <donvol/>
- <fitnyn/>
- <brgstno/>
- <rplabfld/>
- <coll/>
- <elmn/>
- <curegoal/>
- <movewardyn/>
- <ngdtyn/>
- <uvadex/>
- <ecv/>
- <cycle/>
- <remain_lamp_life/>
- <uvar_xts_sn/>
- <photoactiveation_time/>
- <rc_tm/>
- <rc_frdd/>
- <rc_tvol/>
- <rc_acvolused/>
- <rc_vitalsign/>
- <cmplt01/>
- <cmplt02/>
- <cmplt03/>
- <cmplt04/>
- <apuoutdd/>
- <apuouttm/>
- <apuoutid/>
- <confdd/>
- <conftm/>
- <confid/>
- <bcollkit1/>
- <bcollkit2/>
- <bcollkit3/>
- <uhapp/>
- </u1list>
- <u2list>
- <execdt/>
- <tnsrpid/>
- <dnorno/>
- <dnorseqno/>
- <bizlrgkind/>
- <bizmdlkind/>
- <bizstartdd/>
- <bizstarttm/>
- <bizenddd/>
- <bizendtm/>
- <recrid/>
- <eqmtcd/>
- <antdkindcd/>
- <antduseqty/>
- <veslptnccd/>
- <seffcyn/>
- <seffccd/>
- <seffccnts/>
- <seffctretcnts/>
- <btype/>
- <donvol/>
- <fitnyn/>
- <brgstno/>
- <rplabfld/>
- <coll/>
- <elmn/>
- <curegoal/>
- <movewardyn/>
- <ngdtyn/>
- <uvadex/>
- <ecv/>
- <cycle/>
- <remain_lamp_life/>
- <uvar_xts_sn/>
- <photoactiveation_time/>
- <rc_tm/>
- <rc_frdd/>
- <rc_tvol/>
- <rc_acvolused/>
- <rc_vitalsign/>
- <cmplt01/>
- <cmplt02/>
- <cmplt03/>
- <cmplt04/>
- <apuoutdd/>
- <apuouttm/>
- <apuoutid/>
- <confdd/>
- <conftm/>
- <confid/>
- <bcollkit1/>
- <bcollkit2/>
- <bcollkit3/>
- <uhapp/>
- </u2list>
- <u3list>
- <execdt/>
- <tnsrpid/>
- <dnorno/>
- <dnorseqno/>
- <bizlrgkind/>
- <bizmdlkind/>
- <bizstartdd/>
- <bizstarttm/>
- <bizenddd/>
- <bizendtm/>
- <recrid/>
- <eqmtcd/>
- <antdkindcd/>
- <antduseqty/>
- <veslptnccd/>
- <seffcyn/>
- <seffccd/>
- <seffccnts/>
- <seffctretcnts/>
- <btype/>
- <donvol/>
- <fitnyn/>
- <brgstno/>
- <rplabfld/>
- <coll/>
- <elmn/>
- <curegoal/>
- <movewardyn/>
- <ngdtyn/>
- <uvadex/>
- <ecv/>
- <cycle/>
- <remain_lamp_life/>
- <uvar_xts_sn/>
- <photoactiveation_time/>
- <rc_tm/>
- <rc_frdd/>
- <rc_tvol/>
- <rc_acvolused/>
- <rc_vitalsign/>
- <cmplt01/>
- <cmplt02/>
- <cmplt03/>
- <cmplt04/>
- <apuoutdd/>
- <apuouttm/>
- <apuoutid/>
- <confdd/>
- <conftm/>
- <confid/>
- <bcollkit1/>
- <bcollkit2/>
- <bcollkit3/>
- <uhapp/>
- </u3list>
- <u4list>
- <execdt/>
- <tnsrpid/>
- <dnorno/>
- <dnorseqno/>
- <bizlrgkind/>
- <bizmdlkind/>
- <bizstartdd/>
- <bizstarttm/>
- <bizenddd/>
- <bizendtm/>
- <recrid/>
- <eqmtcd/>
- <antdkindcd/>
- <antduseqty/>
- <veslptnccd/>
- <seffcyn/>
- <seffccd/>
- <seffccnts/>
- <seffctretcnts/>
- <btype/>
- <donvol/>
- <fitnyn/>
- <brgstno/>
- <rplabfld/>
- <coll/>
- <elmn/>
- <curegoal/>
- <movewardyn/>
- <ngdtyn/>
- <uvadex/>
- <ecv/>
- <cycle/>
- <remain_lamp_life/>
- <uvar_xts_sn/>
- <photoactiveation_time/>
- <rc_tm/>
- <rc_frdd/>
- <rc_tvol/>
- <rc_acvolused/>
- <rc_vitalsign/>
- <cmplt01/>
- <cmplt02/>
- <cmplt03/>
- <cmplt04/>
- <apuoutdd/>
- <apuouttm/>
- <apuoutid/>
- <confdd/>
- <conftm/>
- <confid/>
- <bcollkit1/>
- <bcollkit2/>
- <bcollkit3/>
- <uhapp/>
- </u4list>
- <vital1>
- <insptm/>
- <bp1/>
- <bp2/>
- <pluse/>
- <breth/>
- <bdtp/>
- <seq/>
- </vital1>
- <nurrec>
- <recdt/>
- <recrid/>
- <recrnm/>
- <reccnts/>
- <seq/>
- </nurrec>
- <cycle>
- <cycle1>
- <title>시간</title>
- <cnt1/>
- <cnt2/>
- <cnt3/>
- <cnt4/>
- <cnt5/>
- <cnt6/>
- </cycle1>
- <cycle1>
- <title>Flow rate During Draw</title>
- <cnt1/>
- <cnt2/>
- <cnt3/>
- <cnt4/>
- <cnt5/>
- <cnt6/>
- </cycle1>
- <cycle1>
- <title>Treatment volume</title>
- <cnt1/>
- <cnt2/>
- <cnt3/>
- <cnt4/>
- <cnt5/>
- <cnt6/>
- </cycle1>
- <cycle1>
- <title>AC volume used (10,000 heparin + 500ml NS)</title>
- <cnt1/>
- <cnt2/>
- <cnt3/>
- <cnt4/>
- <cnt5/>
- <cnt6/>
- </cycle1>
- <cycle1>
- <title>Vital sign</title>
- <cnt1/>
- <cnt2/>
- <cnt3/>
- <cnt4/>
- <cnt5/>
- <cnt6/>
- </cycle1>
- </cycle>
- </bizlist>
- <rec>
- <vital1>
- <insptm/>
- <bp1/>
- <bp2/>
- <pluse/>
- <breth/>
- <bdtp/>
- <seq/>
- </vital1>
- <nurrec>
- <recdt/>
- <recrid/>
- <recrnm/>
- <reccnts/>
- <seq/>
- </nurrec>
- </rec>
- <history>
- <execdd/>
- <exectm/>
- <recrid/>
- <usernm/>
- <kind/>
- </history>
- <brgstno>
- <brgstnoseq/>
- </brgstno>
- <natno1>
- <natno/>
- </natno1>
- <barcdprntsetup>
- <prntsetupinfo>
- <setupinfo/>
- </prntsetupinfo>
- </barcdprntsetup>
- <return>
- <return>
- <execdt/>
- </return>
- </return>
- <barcodeinfo>
- <blodno/>
- <tnsrpid/>
- <tnsrnm/>
- <tnssexage/>
- <tnsrbtype/>
- <dnornm/>
- <dnsexage/>
- <dnbtype/>
- <panjung/>
- <bcolldt/>
- </barcodeinfo>
- <nurinfo>
- <nurnm/>
- </nurinfo>
- </main>
- <send>
- <codeflag/>
- <pid/>
- <senddata/>
- <uh/>
- <histdd/>
- <scrnid/>
- <ddkind/>
- <noflag1/>
- <blodlabel/>
- <iud/>
- <dnorno/>
- <vital/>
- <nurrec/>
- <bizcntshistcd/>
- <orddeptcd/>
- <orddeptnm/>
- <wardcd/>
- <wardnm/>
- <roomcd/>
- <comboselect/>
- <iudgbn/>
- <signno/>
- <signdata/>
- <execdt2/>
- <histgbn/>
- <nurid/>
- </send>
- <init>
- </init>
- <hidden>
- <prcpgbn>
- <prcp/>
- <kind/>
- </prcpgbn>
- <pid/>
- <workgbn/>
- <dongbn/>
- <caregbn/>
- <bmtgbn/>
- <uhyung/>
- <transmdlcd/>
- <histdd/>
- <tmprslt1/>
- <tmprslt2/>
- <tmprsdd1/>
- <tmprsdd2/>
- <patnm/>
- <sexage/>
- <brgstno>
- <brgstno1/>
- <brgstno2/>
- <brgstno3/>
- </brgstno>
- <barcode>
- <barcodeinfo>
- <blodno/>
- <tnsrpid/>
- <tnsrnm/>
- <tnssexage/>
- <tnsrbtype/>
- <dnornm/>
- <dnsexage/>
- <dnbtype/>
- <panjung/>
- <bcolldt/>
- <prtdd/>
- <prttm/>
- <abocd/>
- <blodbarcd/>
- <blodbarnm/>
- </barcodeinfo>
- </barcode>
- <tnsrpid/>
- <viewgbn>
- <view>up</view>
- </viewgbn>
- <patinfolist/>
- <iudgbn/>
- </hidden>
- <signdata/>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LZZ001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/ENRSignEngine.js"/>
- <!--<script type="javascript" src="../../../com/signweb/js/ZES001.js"/>-->
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //초기화
- fSetInit("init");
-
- ]]>
- </script>
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/LB0119"/>
- <submission id="TRLBD01901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/ptinfo"/>
- <submission id="TXLBD01901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/return"/>
- <submission id="TRLBD01902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/history"/>
- <submission id="TRLBD01903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/bizlist"/>
- <submission id="TRLLC90101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/barcdprntsetup"/>
- <submission id="TRLBD01904" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/brgstno"/>
- <submission id="TRLBD01905" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/bcnorslt/rsltlist"/>
- <submission id="TRLBD01906" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/rec"/>
- <submission id="TXLRR00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/signdata"/>
- <submission id="TRLBD01907" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/natno1"/>
- <submission id="TRLBD01908" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/nurinfo"/>
- <submission id="TRLBD01910" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/ptinfo/history"/>
- <submission id="TRLBD01909" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/ptinfo/patinfo"/>
- </model>
- <script type="javascript">
- <![CDATA[
- //초기화
- function fSetInit(ref){
-
- //공통코드
- model.setValue("/root/send/codeflag", "0119|"); // 0119 헌혈구분 // 0120| 혈액형
- submit("TRLZZ00101");
- cmb_care.choices.itemset.attribute("nodeset") = "/root/init/LB0119[cd='L0090']"; //치료콤보
-
- model.removeNodeset("/root/main/rec/vital1");
- model.removeNodeset("/root/main/rec/nurrec");
-
- // 기록조회 기록일자 setting
- model.setValue("/root/hidden/histdd", getCurrentDate());
-
- //if(getPatientInfo("pid") == ""){
- // 초기값 유형2 TPE
- model.setValue("/root/hidden/workgbn", "2"); // 2치료
- model.setValue("/root/hidden/uhyung", "3");
- cmb_care.value = "L00901"; // TPE
- cmb_don.disabled = true;
- cmb_bmt.disabled = true;
- grp_3.visible = true;
- btn_save.disabled = true; // 유형1일때만 활성화
- btn_ij.disabled = false; //인증저장버튼
-
- //}
-
-
- if(ref=="init"){
-
- if(getPatientInfo("pid") != ""){ // 상단정보 있을때
- model.setValue("/root/hidden/pid", getPatientInfo("pid"));
- ipt_pid.refresh();
- //환자정보조회
- //fGetPatInfo();
- //fGetPatInfo2("top");
-
- //fGetBizPatInfo(); // 환자정보 + 공여자리스트(유형1일때)
- }
-
-
- }else if(ref=="btn"){
- delPatientInfos(); //환자정보 전체 삭제
- model.setValue("/root/hidden/pid", "");
- fSetResetInstance("ready");
- }
-
- model.setFocus("ipt_pid");
-
- // 바코드 기본설정
- fGetBarcdInfo();
- //바코드 OCX
- //lzzfMakeBrcdPrntObj("CommAX");
- lzzfMakeBrcdPrntObjHanDo("CommAX");
-
- }
-
- // 초기값 설정
- function fSetResetInstance(gbn){
- model.removeNodeset("/root/main/ptinfo/history");
- datagrid2.refresh();
-
- // vital 지우기
- model.removeNodeset("/root/main/rec/vital1");
- grd_vital1.refresh();
- grd_vital2.refresh();
- grd_vital3.refresh();
-
- // 간호기록 지우기
- model.removeNodeset("/root/main/rec/nurrec");
- grd_nur1.refresh();
- grd_nur2.refresh();
- grd_nur3.refresh();
- grd_nur4.refresh();
-
- if(gbn =="ready"){
- if(getPatientInfo("pid")== ""){
- //model.setValue("/root/hidden/pid","");
- model.resetInstanceNode("/root/main/ptinfo/patinfo");
- model.resetInstanceNode("/root/main/ptinfo/dnorinfo");
- model.resetInstanceNode("/root/main/chkdnor/chkdnorrslt");
- model.resetInstanceNode("/root/main/rsltview/rslt");
- model.resetInstanceNode("/root/main/rsltview2/rslt");
- model.resetInstanceNode("/root/main/bizlist/u1list");
- model.resetInstanceNode("/root/main/bizlist/u2list");
- model.resetInstanceNode("/root/main/bizlist/u3list");
- model.resetInstanceNode("/root/main/bizlist/u4list");
- //model.resetInstanceNode("/root/main/history");
- model.setValue("/root/hidden/patnm","");
- model.setValue("/root/hidden/sexage","");
-
- model.removeNodeset("/root/main/ptinfo/history");
- datagrid2.refresh();
-
- }
- }else{
- //var uh = model.getValue("/root/hidden/uhyung");
- model.resetInstanceNode("/root/main/ptinfo/patinfo");
- model.resetInstanceNode("/root/main/ptinfo/dnorinfo");
- model.resetInstanceNode("/root/main/chkdnor/chkdnorrslt");
- model.resetInstanceNode("/root/main/rsltview/rslt");
- model.resetInstanceNode("/root/main/rsltview2/rslt");
- model.resetInstanceNode("/root/main/bizlist/u1list");
- model.resetInstanceNode("/root/main/bizlist/u2list");
- model.resetInstanceNode("/root/main/bizlist/u3list");
- model.resetInstanceNode("/root/main/bizlist/u4list");
- //model.resetInstanceNode("/root/main/history");
- model.setValue("/root/hidden/patnm","");
- model.setValue("/root/hidden/sexage","");
-
- model.removeNodeset("/root/main/ptinfo/history");
- datagrid2.refresh();
-
- }
- model.setValue("/root/hidden/brgstno/brgstno1", "");
- model.setValue("/root/hidden/brgstno/brgstno2", "");
- model.setValue("/root/main/brgstno/brgstnoseq", "");
- model.refresh();
- }
-
-
- function fGetBarcdInfo(){
- model.setValue("/root/send/scrnid", getScreenID());
- submit("TRLLC90101");
-
- }
-
-
- // 환자정보 + 공여자리스트(유형1일때)
- function fGetBizPatInfo(){
-
- if(datagrid2.rows> 1){ // 기록있을때만
- model.removeNodeset("/root/main/ptinfo/dnorinfo");
- model.setValue("/root/send/pid", model.getValue("/root/main/ptinfo/history/tnsrpid"));
- model.setValue("/root/send/uh", model.getValue("/root/main/ptinfo/history/uh"));
- model.setValue("/root/send/execdt2", model.getValue("/root/main/ptinfo/history/execdd")+model.getValue("/root/main/ptinfo/history/exectm"));
-
- submit("TRLBD01909");
- model.setValue("/root/hidden/uhyung", model.getValue("/root/main/ptinfo/history/uh"));
- if(model.getValue("/root/hidden/uhyung")=="1"){
-
- for(i=1; i<grd_dnor.rows; i++){
- if(model.getValue("/root/main/ptinfo/dnorinfo["+i+"]/dnorno")==model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/dnorno")){
- model.setValue("/root/main/ptinfo/dnorinfo["+i+"]/chk", "Y");
- grd_dnor.row= i;
- }
- }
-
- }
- model.setValue("/root/hidden/uhyung", model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/uh"));
- fSetGroupView();
-
-
- //검사결과조회
- model.setValue("/root/hidden/pid", model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/tnsrpid"));
- fGetBcnoRslt();
-
- //업무내역등록 조회
- fGetBizListRgst();
- //유형4는
- if(model.getValue("/root/hidden/uhyung")=="4"){
- fGetRturnCycle();
- fSetGrdCycle();
- fSetReturnCycle();
- }
-
- if(model.getValue("/root/hidden/uhyung")=="1"){
- model.setValue("/root/main/bizlist/u1list/brgstno", model.getValue("/root/main/bizlist/u1list/brgstno"));
- model.setValue("/root/hidden/brgstno/brgstno1", model.getValue("/root/main/bizlist/u1list/brgstno").substr(0,2));
- model.setValue("/root/hidden/brgstno/brgstno2", model.getValue("/root/main/bizlist/u1list/brgstno").substr(2,2));
- model.setValue("/root/main/brgstno/brgstnoseq", model.getValue("/root/main/bizlist/u1list/brgstno").substr(4,6));
- }else if(model.getValue("/root/hidden/uhyung")=="2"){
- model.setValue("/root/main/bizlist/u2list/brgstno", model.getValue("/root/main/bizlist/u2list/brgstno"));
- model.setValue("/root/hidden/brgstno/brgstno1", model.getValue("/root/main/bizlist/u2list/brgstno").substr(0,2));
- model.setValue("/root/hidden/brgstno/brgstno2", model.getValue("/root/main/bizlist/u2list/brgstno").substr(2,2));
- model.setValue("/root/main/brgstno/brgstnoseq", model.getValue("/root/main/bizlist/u2list/brgstno").substr(4,6));
-
- }
- model.refresh();
- }
- }
-
- // 업무내역 등록 조회
- function fGetBizListRgst(){
- model.setValue("/root/send/execdt2", model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/execdd") + model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/exectm"));
- submit("TRLBD01903");
-
- fGetVitalNurrec();
- }
- // 업무종류 선택
- function fSetWorkGbn(){
-
- if(model.getValue("/root/hidden/workgbn")=="1"){ // 헌혈
- cmb_don.disabled = false;
- cmb_care.disabled = true;
- cmb_bmt.disabled = true;
- cmb_don.choices.itemset.attribute("nodeset") = "/root/init/LB0119[cd='L0091']"; // 헌혈콤보
- model.setValue("/root/hidden/caregbn", "");
- model.setValue("/root/hidden/bmtgbn", "");
-
- }else if(model.getValue("/root/hidden/workgbn")=="2"){ // 치료
- cmb_don.disabled = true;
- cmb_care.disabled = false;
- cmb_bmt.disabled = true;
- cmb_care.choices.itemset.attribute("nodeset") = "/root/init/LB0119[cd='L0090']"; //치료콤보
- model.setValue("/root/hidden/bmtgbn", "");
- model.setValue("/root/hidden/dongbn", "");
-
- }else if(model.getValue("/root/hidden/workgbn")=="3"){ // 헌혈
- cmb_don.disabled = true;
- cmb_care.disabled = true;
- cmb_bmt.disabled = false;
- cmb_bmt.choices.itemset.attribute("nodeset") = "/root/init/LB0119[cd='L0092']"; //bmt콤보
- model.setValue("/root/hidden/caregbn", "");
- model.setValue("/root/hidden/dongbn", "");
-
- }
-
- cmb_don.refresh();
- cmb_care.refresh();
- cmb_bmt.refresh();
-
- }
-
- // 업무유형 구분
- function fSetWorkUhung(cmbgbn, ref){
- // 업무바뀔때 초기화
- //fSetSelectReset();
- fSetResetInstance();
-
- if ( cmbgbn == "don"){
- if ( (model.getValue("/root/hidden/dongbn")=="L00911") ||
- (model.getValue("/root/hidden/dongbn")=="L00912") ||
- (model.getValue("/root/hidden/dongbn")=="L00915") ){
- model.setValue("/root/hidden/uhyung", "1");
- }else if( (model.getValue("/root/hidden/dongbn")=="L00913") ||
- (model.getValue("/root/hidden/dongbn")=="L00914") ){
- model.setValue("/root/hidden/uhyung", "2");
- }
- }else if(cmbgbn == "care"){
- if( (model.getValue("/root/hidden/caregbn")=="L00901") ||
- (model.getValue("/root/hidden/caregbn")=="L00902") ||
- (model.getValue("/root/hidden/caregbn")=="L00903") ||
- (model.getValue("/root/hidden/caregbn")=="L00905") ){
- model.setValue("/root/hidden/uhyung", "3");
- }else if(model.getValue("/root/hidden/caregbn")=="L00904"){
- model.setValue("/root/hidden/uhyung", "4");
- }
- }else if ( cmbgbn == "bmt"){
- model.setValue("/root/hidden/uhyung", "3");
-
- }else{
- model.setValue("/root/hidden/uhyung", "1");
- }
-
- fSetGroupView();
-
- if(ref=="C"){
- datagrid2.isSelected(datagrid2.row) = false;
- model.setValue("/root/hidden/iudgbn", "i");
- }
- //환자정보조회
- if(model.getValue("/root/hidden/pid")!= ""){
- if(ref == "C"){
- //fGetPatInfo("C");
- fGetPatInfo2("C");
- }else{
- //fGetPatInfo();
- fGetPatInfo2();
- }
- }
-
- // 유형1일때
- if(model.getValue("/root/hidden/uhyung")=="1"){
- fSetBtypepanjung();
-
- //헌혈증번호 조회
- if(grd_dnor.row > 0){
- fGetBrgstno();
- }
- }else if(model.getValue("/root/hidden/uhyung")=="2"){
- fSetBtypepanjung();
- fGetBrgstno();
- }
-
- if(model.getValue("/root/hidden/uhyung")=="1"){
- btn_save.disabled = false;
- btn_ij.disabled = true;
-
- if(grd_dnor.rows < 2){
- alert("매핑된 공여자가 없습니다. ");
- return;
- }
- }else{
- btn_save.disabled = true;
- btn_ij.disabled = false;
- }
- }
-
- // 업무종류바꿀때 초기화
- function fSetSelectReset(){
-
- model.resetInstanceNode("/root/main/ptinfo/patinfo");
- model.resetInstanceNode("/root/main/ptinfo/dnorinfo");
- model.resetInstanceNode("/root/main/chkdnor/chkdnorrslt");
- model.resetInstanceNode("/root/main/rsltview/rslt");
- model.resetInstanceNode("/root/main/rsltview2/rslt");
- model.resetInstanceNode("/root/main/bizlist/u1list");
- model.resetInstanceNode("/root/main/bizlist/u2list");
- model.resetInstanceNode("/root/main/bizlist/u3list");
- model.resetInstanceNode("/root/main/bizlist/u4list");
- model.resetInstanceNode("/root/main/rec/vital1");
- model.resetInstanceNode("/root/main/rec/nurrec");
-
- model.resetInstanceNode("/root/main/brgstno/brgstnoseq");
- model.resetInstanceNode("/root/hidden/brgstno/brgstno1");
- model.resetInstanceNode("/root/hidden/brgstno/brgstno2");
-
- model.refresh();
- }
-
- // 적합여부 set
- function fSetBtypepanjung(){
-
- // 유형1일때
- if(model.getValue("/root/hidden/uhyung")=="1"){
- //혈액형
- //model.makeValue("/root/main/bizlist/u1list/btype", model.getValue("/root/main/rsltview/rslt/rslt06"));
- model.makeValue("/root/main/bizlist/u1list/btype", model.getValue("/root/main/chkdnor/chkdnorrslt/btype"));
- //적합여부
- if(model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/panjung")=="적합"){
- model.makeValue("/root/main/bizlist/u1list/fitnyn", "Y");
- }else{
- model.makeValue("/root/main/bizlist/u1list/fitnyn", "N");
- }
-
- //model.makeValue("/root/main/bizlist/u1list/fitnyn", model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/panjung"));
- }else if(model.getValue("/root/hidden/uhyung")=="2"){
-
- //혈액형
- model.makeValue("/root/main/bizlist/u2list/btype", model.getValue("/root/main/ptinfo/patinfo/btype"));
- //적합여부
- model.makeValue("/root/main/bizlist/u2list/fitnyn", "Y");
-
- }
-
- if(model.getValue("/root/hidden/uhyung") =="1"){
- if(grd_dnor.row > 0){
- fGetBrgstno();
- }
- }
- }
-
- // 헌혈증 번호 조회
- function fGetBrgstno(){
- /*
- if(model.getValue("/root/main/ptinfo/patinfo/natno") != ""){
- if(model.getValue("/root/hidden/uhyung")=="1"){
- model.setValue("/root/main/bizlist/u1list/brgstno", model.getValue("/root/main/ptinfo/patinfo/natno"));
- model.setValue("/root/hidden/brgstno/brgstno1", model.getValue("/root/main/ptinfo/patinfo/natno").substr(0,2));
- model.setValue("/root/hidden/brgstno/brgstno2", model.getValue("/root/main/ptinfo/patinfo/natno").substr(2,2));
- model.setValue("/root/main/brgstno/brgstnoseq", model.getValue("/root/main/ptinfo/patinfo/natno").substr(4,10));
-
- }else if(model.getValue("/root/hidden/uhyung")=="2"){
- model.setValue("/root/main/bizlist/u2list/brgstno", model.getValue("/root/main/ptinfo/patinfo/natno"));
- model.setValue("/root/hidden/brgstno/brgstno1", model.getValue("/root/main/ptinfo/patinfo/natno").substr(0,2));
- model.setValue("/root/hidden/brgstno/brgstno2", model.getValue("/root/main/ptinfo/patinfo/natno").substr(2,2));
- model.setValue("/root/main/brgstno/brgstnoseq", model.getValue("/root/main/ptinfo/patinfo/natno").substr(4,10));
-
- }
- }else{ */
- /*
- var blodcomgbn = "";
- var today = getCurrentDate();
-
- if(model.getValue("/root/hidden/workgbn")=="1"){
- if(model.getValue("/root/hidden/dongbn")=="L00911"){ // 혈소판
- blodcomgbn = "A3";
- }else if(model.getValue("/root/hidden/dongbn")=="L00912"){ // DGI
- blodcomgbn = "A4";
- }else if(model.getValue("/root/hidden/dongbn")=="L00913"){ // 자가
- blodcomgbn = "A0"; //숫자0
- }else if(model.getValue("/root/hidden/dongbn")=="L00914"){ // 사혈 헌혈증번호 없음
- blodcomgbn = "00";
- }else if(model.getValue("/root/hidden/dongbn")=="L00915"){ // 전혈
- blodcomgbn = "02";
- }else{
- blodcomgbn = "00";
- }
-
- }else if(model.getValue("/root/hidden/workgbn")=="3"){
- if(model.getValue("/root/hidden/bmtgbn")=="L00924"){
- blodcomgbn = "A5";
- }else{
- blodcomgbn = "00";
- }
- }else{
- blodcomgbn = "00";
- }
-
- model.setValue("/root/hidden/brgstno/brgstno1", blodcomgbn);
- model.setValue("/root/hidden/brgstno/brgstno2", today.substring(2,4));
-
- model.setValue("/root/send/ddkind" , getCurrentDate());
- model.setValue("/root/send/noflag1", blodcomgbn);
- */
- //model.setValue("/root/send/pid", model.getValue("/root/hidden/pid"));
- //model.setValue("/root/send/dnorno", model.getValue("/root/main/ptinfo/dnorinfo["++"]/dnorno"));
- //submit("TRLBD01904");
- //}
-
- model.setValue("/root/send/pid", model.getValue("/root/hidden/pid"));
- if(model.getValue("/root/hidden/uhyung")=="1"){
- for(q=1; q<=grd_dnor.rows; q++){
- if(model.getValue("/root/main/ptinfo/dnorinfo["+q+"]/chk")=="Y"){
- model.setValue("/root/send/dnorno", model.getValue("/root/main/ptinfo/dnorinfo["+q+"]/dnorno"));
- model.makeValue("/root/send/dnorseqno", model.getValue("/root/main/ptinfo/dnorinfo["+q+"]/dnorseqno"));
- }
- }
- }else{
- model.setValue("/root/send/dnorno", "-");
- model.makeValue("/root/send/dnorseqno", "-");
- }
-
- model.setValue("/root/send/ddkind" , getCurrentDate());
- if(model.getValue("/root/hidden/workgbn")=="1"){
- if((cmb_don.value =="L00911") || (cmb_don.value =="L00912")){
- model.setValue("/root/send/noflag1", "nat");
- }else{
- model.setValue("/root/send/noflag1", "seq");
- }
- }
-
- submit("TRLBD01907");
-
- if(model.getValue("/root/hidden/uhyung")=="1"){
- model.setValue("/root/main/bizlist/u1list/brgstno", model.getValue("/root/main/natno1/natno"));
- model.setValue("/root/hidden/brgstno/brgstno1", model.getValue("/root/main/natno1/natno").substr(0,2));
- model.setValue("/root/hidden/brgstno/brgstno2", model.getValue("/root/main/natno1/natno").substr(2,2));
- model.setValue("/root/main/brgstno/brgstnoseq", model.getValue("/root/main/natno1/natno").substr(4,6));
- }else if(model.getValue("/root/hidden/uhyung")=="2"){
- model.setValue("/root/main/bizlist/u2list/brgstno", model.getValue("/root/main/natno1/natno"));
- model.setValue("/root/hidden/brgstno/brgstno1", model.getValue("/root/main/natno1/natno").substr(0,2));
- model.setValue("/root/hidden/brgstno/brgstno2", model.getValue("/root/main/natno1/natno").substr(2,2));
- model.setValue("/root/main/brgstno/brgstnoseq", model.getValue("/root/main/natno1/natno").substr(4,6));
-
- }
-
- model.refresh();
-
- }
-
- // 공통코드 중분류로 바꾸기
- function fGetworkmdlkind(){
-
- if(model.getValue("/root/hidden/workgbn")=="1"){
- model.setValue("/root/hidden/transmdlcd", cmb_don.value.substring(5,6));
- }else if(model.getValue("/root/hidden/workgbn")=="2"){
- model.setValue("/root/hidden/transmdlcd", cmb_care.value.substring(5,6));
- }else if(model.getValue("/root/hidden/workgbn")=="3"){
- model.setValue("/root/hidden/transmdlcd", cmb_bmt.value.substring(5,6));
- }
-
- }
-
- //중분류 공통코드로
- function fGetUhmdlkind(){
- if(model.getValue("/root/hidden/workgbn")=="1"){
- model.setValue("/root/hidden/dongbn", "L0091" + model.getValue("/root/main/bizlist/ugbn/bizmdlkind"));
- }else if(model.getValue("/root/hidden/workgbn")=="2"){
- model.setValue("/root/hidden/caregbn", "L0090" + model.getValue("/root/main/bizlist/ugbn/bizmdlkind"));
- }else if(model.getValue("/root/hidden/workgbn")=="3"){
- model.setValue("/root/hidden/bmtgbn", "L0092" + model.getValue("/root/main/bizlist/ugbn/bizmdlkind"));
- }
-
- cmb_don.refresh();
- cmb_care.refresh();
- cmb_bmt.refresh();
-
- }
-
-
- //유형별로 그룹 보이기
- function fSetGroupView(){
- var uh = model.getValue("/root/hidden/uhyung");
- if(uh ==""){
- uh = "1";
- }
-
- if(uh =="1"){
- grp_1.visible = true;
- grp_2.visible = false;
- grp_3.visible = false;
- grp_4.visible = false;
-
- }else if(uh == "2"){
- grp_1.visible = false;
- grp_2.visible = true;
- grp_3.visible = false;
- grp_4.visible = false;
- if(grd_self_rslt.rows <= 2){
- grd_self_rslt.addRow();
- }
- }else if(uh == "3"){
- grp_1.visible = false;
- grp_2.visible = false;
- grp_3.visible = true;
- grp_4.visible = false;
- if(grd_cure_rslt.rows <= 2){
- grd_cure_rslt.addRow();
- }
- }else if(uh == "4"){
- grp_1.visible = false;
- grp_2.visible = false;
- grp_3.visible = false;
- grp_4.visible = true;
- if(datagrid1.rows <= 2){
- datagrid1.addRow();
- }
-
- model.removeNodeset("/root/main/bizlist/cycle/cycle1");
-
- model.makeNode("/root/main/bizlist/cycle");
- for(i=1; i<6; i++){
- grd_cycle.addRow(0);
-
- }
-
- var cycle = model.getValue("/root/main/bizlist/u4list/cycle");
- if(cycle !=""){
- for(i=1; i<cycle; i++){
- grd_cycle.colHidden(i) = false;
- }
- }else{
- for(i=1; i<7; i++){
- grd_cycle.colHidden(i) = true;
- }
- }
- model.makeValue("/root/main/bizlist/cycle/cycle1[1]/title", "시간");
- model.makeValue("/root/main/bizlist/cycle/cycle1[2]/title", "Flow rate During Draw");
- model.makeValue("/root/main/bizlist/cycle/cycle1[3]/title", "Treatment volume");
- model.makeValue("/root/main/bizlist/cycle/cycle1[4]/title", "AC volume used (10,000 heparin + 500ml NS)");
- model.makeValue("/root/main/bizlist/cycle/cycle1[5]/title", "Vital sign");
- grd_cycle.refresh();
- }
- model.refresh();
- }
-
- // 유형4 return cycle 그리드 셋팅하기
- function fGetRturnCycle(){
-
- if(grd_cycle.rows <6){
- model.removeNodeset("/root/main/bizlist/cycle/cycle1");
-
- model.makeNode("/root/main/bizlist/cycle");
- for(i=1; i<=5; i++){
- grd_cycle.addRow(0);
-
- }
- grd_cycle.refresh();
- }
-
- //for(i=1; i<7; i++){
- // grd_cycle.colHidden(i) = true;
- //}
-
-
- model.makeValue("/root/main/bizlist/cycle/cycle1[1]/title", "시간");
- model.makeValue("/root/main/bizlist/cycle/cycle1[2]/title", "Flow rate During Draw");
- model.makeValue("/root/main/bizlist/cycle/cycle1[3]/title", "Treatment volume");
- model.makeValue("/root/main/bizlist/cycle/cycle1[4]/title", "AC volume used (10,000 heparin + 500ml NS)");
- model.makeValue("/root/main/bizlist/cycle/cycle1[5]/title", "Vital sign");
- }
-
-
- function fGetPatInfo2(gbn){
- fSetResetInstance();
-
- model.setValue("/root/send/pid", model.getValue("/root/hidden/pid"));
- model.setValue("/root/send/histdd", model.getValue("/root/hidden/histdd"));
- model.setValue("/root/send/histgbn", gbn);
- if(gbn=="C"){ // 업무종류 클릭
- if(model.getValue("/root/hidden/uhyung")=="1"){
- model.setValue("/root/send/comboselect","Y");
- }
- }
-
- submit("TRLBD01901");
-
- model.makeValue("/root/hidden/patnm", model.getValue("/root/main/ptinfo/patinfo/patnm"));
- model.makeValue("/root/hidden/sexage", model.getValue("/root/main/ptinfo/patinfo/sexage"));
-
- var pid = model.getValue("/root/hidden/pid");
-
-
-
- if(gbn=="C"){ //콤보선택
- datagrid2.isSelected(datagrid2.row) = false;
-
- if(datagrid2.row > 0){
- model.setValue("/root/hidden/iudgbn", "u"); // 기록 없으면 insert 해야함
- }else{
- model.setValue("/root/hidden/iudgbn", "i"); // 기록 없으면 insert 해야함
- }
- }else{ //자동
-
- if(datagrid2.rows > 1){
- datagrid2.row = (datagrid2.rows-1);
-
- if(datagrid2.row > 0){
- model.setValue("/root/hidden/iudgbn", "u"); // 이미 기록 있으면 update 해야함
- }else{
- model.setValue("/root/hidden/iudgbn", "i"); // 이미 기록 있으면 update 해야함
- }
- var lrgkind = model.getValue("/root/main/ptinfo/history["+(datagrid2.rows-1)+"]/bizlrgkind");
- var mdlkind = model.getValue("/root/main/ptinfo/history["+(datagrid2.rows-1)+"]/bizmdlkind");
-
- if(lrgkind =="1"){ //헌혈
- model.setValue("/root/hidden/workgbn","1");
- if(mdlkind=="1"){
- model.setValue("/root/hidden/dongbn", "L00911");
- model.setValue("/root/hidden/uhyung","1");
- }else if(mdlkind=="2"){
- model.setValue("/root/hidden/dongbn", "L00912");
- model.setValue("/root/hidden/uhyung","1");
- }else if(mdlkind=="3"){
- model.setValue("/root/hidden/dongbn", "L00913");
- model.setValue("/root/hidden/uhyung","2");
- }else if(mdlkind=="4"){
- model.setValue("/root/hidden/dongbn", "L00914");
- model.setValue("/root/hidden/uhyung","2");
- }else if(mdlkind=="5"){
- model.setValue("/root/hidden/dongbn", "L00915");
- model.setValue("/root/hidden/uhyung","1");
- }
- }else if(lrgkind =="2"){ //치료
- model.setValue("/root/hidden/workgbn","2");
- if(mdlkind =="1"){
- model.setValue("root/hidden/caregbn","L00901");
- model.setValue("/root/hidden/uhyung","3");
- }else if(mdlkind =="2"){
- model.setValue("root/hidden/caregbn","L00902");
- model.setValue("/root/hidden/uhyung","3");
- }else if(mdlkind =="3"){
- model.setValue("root/hidden/caregbn","L00903");
- model.setValue("/root/hidden/uhyung","3");
- }else if(mdlkind =="4"){
- model.setValue("root/hidden/caregbn","L00904");
- model.setValue("/root/hidden/uhyung","4");
- }else if(mdlkind =="5"){
- model.setValue("root/hidden/caregbn","L00905");
- model.setValue("/root/hidden/uhyung","3");
- }
-
- }else if(lrgkind =="3"){ //BMT
- model.setValue("/root/hidden/workgbn","3");
- model.setValue("/root/hidden/uhyung","3");
- if(mdlkind =="1"){
- model.setValue("/root/hidden/bmtgbn", "L00921");
- }else if(mdlkind =="2"){
- model.setValue("/root/hidden/bmtgbn", "L00922");
- }else if(mdlkind =="3"){
- model.setValue("/root/hidden/bmtgbn", "L00923");
- }else if(mdlkind =="4"){
- model.setValue("/root/hidden/bmtgbn", "L00924");
- }
-
- }
-
- }else{
- model.setValue("/root/hidden/iudgbn", "i"); // 이미 기록 있으면 update 해야함
- //btn_save.disabled = false;
- /*
- if(model.getValue("/root/main/ptinfo/kind/kind1")=="1"){
- model.setValue("/root/hidden/workgbn","1");
- if(model.getValue("/root/main/ptinfo/kind/kind2")=="1"){
- model.setValue("/root/hidden/dongbn", "L00911");
- model.setValue("/root/hidden/uhyung","1");
- }else if(model.getValue("/root/main/ptinfo/kind/kind2")=="2"){
- model.setValue("/root/hidden/dongbn", "L00912");
- model.setValue("/root/hidden/uhyung","1");
- }else if(model.getValue("/root/main/ptinfo/kind/kind2")=="3"){
- model.setValue("/root/hidden/dongbn", "L00913");
- model.setValue("/root/hidden/uhyung","2");
- }else if(model.getValue("/root/main/ptinfo/kind/kind2")=="4"){
- model.setValue("/root/hidden/dongbn", "L00914");
- model.setValue("/root/hidden/uhyung","2");
- }else if(model.getValue("/root/main/ptinfo/kind/kind2")=="5"){
- model.setValue("/root/hidden/dongbn", "L00915");
- model.setValue("/root/hidden/uhyung","1");
- }
- }else if(model.getValue("/root/main/ptinfo/kind/kind1")=="2"){
- model.setValue("/root/hidden/workgbn","3");
- model.setValue("/root/hidden/uhyung","3");
- if(model.getValue("/root/main/ptinfo/kind/kind2")=="1"){
- model.setValue("/root/hidden/bmtgbn", "L00921");
- }else if(model.getValue("/root/main/ptinfo/kind/kind2")=="2"){
- model.setValue("/root/hidden/bmtgbn", "L00922");
- }else if(model.getValue("/root/main/ptinfo/kind/kind2")=="3"){
- model.setValue("/root/hidden/bmtgbn", "L00923");
- }else if(model.getValue("/root/main/ptinfo/kind/kind2")=="4"){
- model.setValue("/root/hidden/bmtgbn", "L00924");
- }
- }else{
- //model.setValue("/root/hidden/workgbn","1");
- //model.setValue("/root/hidden/dongbn", "L00911");
- //model.setValue("/root/hidden/uhyung","1");
- }
- */
- }
-
- //model.setValue("/root/hidden/iudgbn", "i"); // 이미 기록 있으면 update 해야함
-
- }
-
-
- fSetWorkGbn();
- fSetGroupView();
-
-
-
- if((model.getValue("/root/hidden/uhyung")=="2") || (model.getValue("/root/hidden/uhyung")=="3") || (model.getValue("/root/hidden/uhyung")=="4")){
-
- fGetBcnoRslt("234");
- }
-
- if(gbn != "C"){
- if(datagrid2.rows > 1){
- //datagrid2.row = (datagrid2.rows-1);
- model.makeValue("/root/send/execdt2", model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/execdd") + model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/exectm"));
- submit("TRLBD01903");
-
-
- if(model.getValue("/root/hidden/uhyung")=="1"){
-
- for(i=1; i< grd_dnor.rows; i++){
-
- if(model.getValue("/root/main/ptinfo/dnorinfo["+i+"]/dnorno")==model.getValue("/root/main/bizlist/u1list/dnorno")){
- grd_dnor.row = i;
- }
- }
- fDnorSelect("auto", grd_dnor.row );
- // vital + 간호기록 조회
- fGetVitalNurrec("1");
- }else{
- // vital + 간호기록 조회
- fGetVitalNurrec("2");
- }
-
- //유형4는
- if(model.getValue("/root/hidden/uhyung")=="4"){
- fGetRturnCycle();
- fSetGrdCycle();
- fSetReturnCycle();
- }
- // vital + 간호기록 조회
- //fGetVitalNurrec("2");
- }
- }else{
- fGetVitalNurrec("2");
- }
-
-
- if(model.getValue("/root/hidden/uhyung")=="1"){
- model.setValue("/root/main/bizlist/u1list/brgstno", model.getValue("/root/main/bizlist/u1list/brgstno"));
- model.setValue("/root/hidden/brgstno/brgstno1", model.getValue("/root/main/bizlist/u1list/brgstno").substr(0,2));
- model.setValue("/root/hidden/brgstno/brgstno2", model.getValue("/root/main/bizlist/u1list/brgstno").substr(2,2));
- model.setValue("/root/main/brgstno/brgstnoseq", model.getValue("/root/main/bizlist/u1list/brgstno").substr(4,6));
- }else if(model.getValue("/root/hidden/uhyung")=="2"){
- model.setValue("/root/main/bizlist/u2list/brgstno", model.getValue("/root/main/bizlist/u2list/brgstno"));
- model.setValue("/root/hidden/brgstno/brgstno1", model.getValue("/root/main/bizlist/u2list/brgstno").substr(0,2));
- model.setValue("/root/hidden/brgstno/brgstno2", model.getValue("/root/main/bizlist/u2list/brgstno").substr(2,2));
- model.setValue("/root/main/brgstno/brgstnoseq", model.getValue("/root/main/bizlist/u2list/brgstno").substr(4,6));
-
- }
- model.refresh();
- }
-
-
- // 환자정보조회
- function fGetPatInfo(combo){
- model.resetInstanceNode("/root/main/ptinfo/patinfo");
- model.resetInstanceNode("/root/main/ptinfo/dnorinfo");
- model.resetInstanceNode("/root/main/ptinfo/history");
- model.resetInstanceNode("/root/main/chkdnor/chkdnorrslt");
- model.resetInstanceNode("/root/main/bizlist/u1list");
- model.resetInstanceNode("/root/main/bizlist/u2list");
- model.resetInstanceNode("/root/main/bizlist/u3list");
- model.resetInstanceNode("/root/main/bizlist/u4list");
- model.removeNodeset("/root/main/rec/vital1");
- model.removeNodeset("/root/main/rec/nurrec");
- model.resetInstanceNode("/root/main/rsltview/rslt");
- model.resetInstanceNode("/root/main/rsltview2/rslt");
-
- model.setValue("/root/send/pid", model.getValue("/root/hidden/pid"));
- model.setValue("/root/send/histdd", model.getValue("/root/hidden/histdd"));
-
- submit("TRLBD01901");
-
- model.makeValue("/root/hidden/patnm", model.getValue("/root/main/ptinfo/patinfo/patnm"));
- model.makeValue("/root/hidden/sexage", model.getValue("/root/main/ptinfo/patinfo/sexage"));
-
- var pid = model.getValue("/root/hidden/pid");
-
-
-
-
- if(datagrid2.rows > 1){
-
- if(combo != "C"){
-
- datagrid2.row = (datagrid2.rows-1);
- model.setValue("/root/hidden/iudgbn", "u"); // 이미 기록 있으면 update 해야함
- var lrgkind = model.getValue("/root/main/ptinfo/history["+(datagrid2.rows-1)+"]/bizlrgkind");
- var mdlkind = model.getValue("/root/main/ptinfo/history["+(datagrid2.rows-1)+"]/bizmdlkind");
-
-
- /*
- setRowStyle("datagrid2", "9", "O", "hist", "equal"); // 0 - 붉으죽죽한색
- setRowStyle("datagrid2", "7", "L", "hist", "equal"); // 0 - 붉으죽죽한색
- setRowStyle("datagrid2", "6", "C", "hist", "equal"); // 0 - 붉으죽죽한색
-
- if(model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/hist")=="C"){
- datagrid2.focusColor = "#fec33D";
- }else if(model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/hist")=="O"){
- datagrid2.focusColor = "#43c8f7";
- }else if(model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/hist")=="L"){
- datagrid2.focusColor = "#dec6a6";
- }
- */
- if(lrgkind =="1"){ //헌혈
- model.setValue("/root/hidden/workgbn","1");
- if(mdlkind=="1"){
- model.setValue("/root/hidden/dongbn", "L00911");
- model.setValue("/root/hidden/uhyung","1");
- }else if(mdlkind=="2"){
- model.setValue("/root/hidden/dongbn", "L00912");
- model.setValue("/root/hidden/uhyung","1");
- }else if(mdlkind=="3"){
- model.setValue("/root/hidden/dongbn", "L00913");
- model.setValue("/root/hidden/uhyung","2");
- }else if(mdlkind=="4"){
- model.setValue("/root/hidden/dongbn", "L00914");
- model.setValue("/root/hidden/uhyung","2");
- }else if(mdlkind=="5"){
- model.setValue("/root/hidden/dongbn", "L00915");
- model.setValue("/root/hidden/uhyung","1");
- }
- }else if(lrgkind =="2"){ //치료
- model.setValue("/root/hidden/workgbn","2");
- if(mdlkind =="1"){
- model.setValue("root/hidden/caregbn","L00901");
- model.setValue("/root/hidden/uhyung","3");
- }else if(mdlkind =="2"){
- model.setValue("root/hidden/caregbn","L00902");
- model.setValue("/root/hidden/uhyung","3");
- }else if(mdlkind =="3"){
- model.setValue("root/hidden/caregbn","L00903");
- model.setValue("/root/hidden/uhyung","3");
- }else if(mdlkind =="4"){
- model.setValue("root/hidden/caregbn","L00904");
- model.setValue("/root/hidden/uhyung","4");
- }else if(mdlkind =="5"){
- model.setValue("root/hidden/caregbn","L00905");
- model.setValue("/root/hidden/uhyung","3");
- }
-
- }else if(lrgkind =="3"){ //BMT
- model.setValue("/root/hidden/workgbn","3");
- model.setValue("/root/hidden/uhyung","3");
- if(mdlkind =="1"){
- model.setValue("/root/hidden/bmtgbn", "L00921");
- }else if(mdlkind =="2"){
- model.setValue("/root/hidden/bmtgbn", "L00922");
- }else if(mdlkind =="3"){
- model.setValue("/root/hidden/bmtgbn", "L00923");
- }else if(mdlkind =="4"){
- model.setValue("/root/hidden/bmtgbn", "L00924");
- }
- }
- }else if(combo=="C"){
- model.setValue("/root/hidden/iudgbn", "i"); // 기록 없으면 insert 해야함
- }
-
-
- fSetWorkGbn();
- fSetGroupView();
-
-
- if((model.getValue("/root/hidden/uhyung")=="2") || (model.getValue("/root/hidden/uhyung")=="3") || (model.getValue("/root/hidden/uhyung")=="4")){
- fGetBcnoRslt("234");
- }
-
- if(combo != "C"){
- datagrid2.row = (datagrid2.rows-1);
- model.makeValue("/root/send/execdt2", model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/execdd") + model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/exectm"));
- submit("TRLBD01903");
-
- // vital + 간호기록 조회
- fGetVitalNurrec("2");
- }
- return;
- }
-
-
- if(model.getValue("/root/main/ptinfo/kind/kind1")=="1"){
- model.setValue("/root/hidden/workgbn","1");
- if(model.getValue("/root/main/ptinfo/kind/kind2")=="1"){
- model.setValue("/root/hidden/dongbn", "L00911");
- model.setValue("/root/hidden/uhyung","1");
- }else if(model.getValue("/root/main/ptinfo/kind/kind2")=="2"){
- model.setValue("/root/hidden/dongbn", "L00912");
- model.setValue("/root/hidden/uhyung","1");
- }else if(model.getValue("/root/main/ptinfo/kind/kind2")=="3"){
- model.setValue("/root/hidden/dongbn", "L00913");
- model.setValue("/root/hidden/uhyung","2");
- }else if(model.getValue("/root/main/ptinfo/kind/kind2")=="4"){
- model.setValue("/root/hidden/dongbn", "L00914");
- model.setValue("/root/hidden/uhyung","2");
- }else if(model.getValue("/root/main/ptinfo/kind/kind2")=="5"){
- model.setValue("/root/hidden/dongbn", "L00915");
- model.setValue("/root/hidden/uhyung","1");
- }
- }else if(model.getValue("/root/main/ptinfo/kind/kind1")=="2"){
- model.setValue("/root/hidden/workgbn","3");
- model.setValue("/root/hidden/uhyung","3");
- if(model.getValue("/root/main/ptinfo/kind/kind2")=="1"){
- model.setValue("/root/hidden/bmtgbn", "L00921");
- }else if(model.getValue("/root/main/ptinfo/kind/kind2")=="2"){
- model.setValue("/root/hidden/bmtgbn", "L00922");
- }else if(model.getValue("/root/main/ptinfo/kind/kind2")=="3"){
- model.setValue("/root/hidden/bmtgbn", "L00923");
- }else if(model.getValue("/root/main/ptinfo/kind/kind2")=="4"){
- model.setValue("/root/hidden/bmtgbn", "L00924");
- }
- }else{
- model.setValue("/root/hidden/workgbn","1");
- model.setValue("/root/hidden/dongbn", "L00911");
- model.setValue("/root/hidden/uhyung","1");
- }
-
- //업무종류선택
- fSetWorkGbn();
- fSetGroupView();
-
- // vital + 간호기록 조회
- //fGetVitalNurrec("2");
-
- if((model.getValue("/root/hidden/uhyung")=="2") || (model.getValue("/root/hidden/uhyung")=="3") || (model.getValue("/root/hidden/uhyung")=="4")){
- fGetBcnoRslt("234");
- // fSetBtypepanjung();
-
- }
-
- // 탑정보
- fSetTopInfo();
-
-
- }
-
- // vital + 간호기록 조회
- function fGetVitalNurrec(ref){
- model.setValue("/root/send/pid",model.getValue("/root/hidden/pid"));
- if(ref=="1"){
- model.setValue("/root/send/dnorno", model.getValue("/root/main/chkdnor/chkdnorrslt/dnorno"));
- model.makeValue("/root/send/dnorseqno", model.getValue("/root/main/chkdnor/chkdnorrslt/dnorseqno"));
- model.makeValue("/root/send/dnoruh", "1");
- }else{
- model.makeValue("/root/send/dnoruh", "2");
- }
- submit("TRLBD01906");
-
- model.makeNode("/root/main/bizlist");
- model.makeNode("/root/main/bizlist");
- model.copyNode("/root/main/bizlist/vital1", "/root/main/rec/vital1");
- model.copyNode("/root/main/bizlist/nurrec", "/root/main/rec/nurrec");
- }
-
-
- // 저장
- function fInsWorkList(ref, injeng){
- var lrgkind = model.getValue("/root/hidden/workgbn");
- var blodbarcd = "-";
- fGetworkmdlkind();
- //var injeng = injeng;
-
- if(injeng != "X"){
- if(model.getValue("/root/hidden/iudgbn")=="u"){
- if(model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/signno") > 0){
- var rtn = messageBox("이미 인증저장 되어있습니다. 인증내용도 수정하시겠습니까? \n", "S001" );
- if(rtn == "6" ){//인증
- injeng = "X";
- }else if(rtn=="7"){//안함
- injeng = "";
- }
- }
-
- }
- }
-
- if(ref=="I"){
- if(injeng=="X"){ //인증저장
- model.setValue("/root/send/bizcntshistcd", "C");
- }else{ //저장
- model.setValue("/root/send/bizcntshistcd", "O");
- }
-
- if(datagrid2.row > 0){
- ref = "U";
- }else{
- ref = "I";
- }
-
- }else if(ref=="D"){ //삭제
- model.setValue("/root/send/bizcntshistcd", "L");
- }else if(ref =="U"){ //수정
- model.setValue("/root/send/bizcntshistcd", "O");
- }
-
- if(model.getValue("/root/hidden/uhyung")=="1"){
- //if(model.getValue("")== ""){
- // messageBox("공여자를 ", "C002"); // 선택하십시오.
- // return;
- //}
- model.setValue("/root/main/bizlist/u1list/brgstno", model.getValue("/root/hidden/brgstno/brgstno1") + model.getValue("/root/hidden/brgstno/brgstno2") + model.getValue("/root/main/brgstno/brgstnoseq"));
- if(model.getValue("/root/main/bizlist/u1list/bizenddd")==""){
- model.setValue("/root/main/bizlist/u1list/bizenddd", "00000000");
- model.setValue("/root/main/bizlist/u1list/bizendtm", "0000");
- }
- model.copyNode("/root/send/senddata", "/root/main/bizlist/u1list");
- //var vital1 = grd_vital1.getUpdateData();
- var vital1 = getGridUpdateData(grd_vital1);
- model.setValue("/root/send/vital", vital1);
- var nur1 = getGridUpdateData(grd_nur1);
- model.setValue("/root/send/nurrec", nur1);
- if(cmb_don.value == "L00911"){
- blodbarcd = "A0003";
- }else if(cmb_don.value == "L00912"){
- blodbarcd = "A0004"
- }else if(cmb_don.value == "L00913"){
- blodbarcd = "A0001";
- }else if(cmb_don.value == "L00914"){
- blodbarcd = "-";
- }else if(cmb_don.value == "L00915"){
- blodbarcd = "04064";
- }
- }else if(model.getValue("/root/hidden/uhyung")=="2"){
- model.setValue("/root/main/bizlist/u2list/brgstno", model.getValue("/root/hidden/brgstno/brgstno1") + model.getValue("/root/hidden/brgstno/brgstno2") + model.getValue("/root/main/brgstno/brgstnoseq"));
- if(model.getValue("/root/main/bizlist/u2list/bizenddd")==""){
- model.setValue("/root/main/bizlist/u2list/bizenddd", "00000000");
- model.setValue("/root/main/bizlist/u2list/bizendtm", "0000");
- }
- model.copyNode("/root/send/senddata", "/root/main/bizlist/u2list");
- var vital2 = grd_vital2.getUpdateData();
- model.setValue("/root/send/vital", vital2);
- var nur2 = getGridUpdateData(grd_nur2);
- model.setValue("/root/send/nurrec", nur2);
- if(cmb_don.value == "L00911"){
- blodbarcd = "A0003";
- }else if(cmb_don.value == "L00912"){
- blodbarcd = "A0004"
- }else if(cmb_don.value == "L00913"){
- blodbarcd = "A0001";
- }else if(cmb_don.value == "L00914"){
- blodbarcd = "-";
- }else if(cmb_don.value == "L00915"){
- blodbarcd = "04064";
- }
- }else if(model.getValue("/root/hidden/uhyung")=="3"){
- if(model.getValue("/root/main/bizlist/u3list/bizenddd")==""){
- model.setValue("/root/main/bizlist/u3list/bizenddd", "00000000");
- model.setValue("/root/main/bizlist/u3list/bizendtm", "0000");
- }
- model.copyNode("/root/send/senddata", "/root/main/bizlist/u3list");
- var vital3 = grd_vital3.getUpdateData();
- model.setValue("/root/send/vital", vital3);
- var nur3 = getGridUpdateData(grd_nur3);
- model.setValue("/root/send/nurrec", nur3);
-
- }else if(model.getValue("/root/hidden/uhyung")=="4"){
- var ttime = "";
- var during = "";
- var treatment = "";
- var used = "";
- var vital = "";
- var cnt = model.getValue("/root/main/bizlist/u4list/cycle");
- // return cycle
- for(i=1; i<=cnt; i++){
- ttime += model.getValue("/root/main/bizlist/cycle/cycle1[1]/cnt"+i) + "▦";
- during += model.getValue("/root/main/bizlist/cycle/cycle1[2]/cnt"+i) + "▦";
- treatment += model.getValue("/root/main/bizlist/cycle/cycle1[3]/cnt"+i) + "▦";
- used += model.getValue("/root/main/bizlist/cycle/cycle1[4]/cnt"+i) + "▦";
- vital += model.getValue("/root/main/bizlist/cycle/cycle1[5]/cnt"+i) + "▦";
- }
-
-
- model.setValue("/root/main/bizlist/u4list/rc_tm", ttime);
- model.setValue("/root/main/bizlist/u4list/rc_frdd", during);
- model.setValue("/root/main/bizlist/u4list/rc_tvol", treatment);
- model.setValue("/root/main/bizlist/u4list/rc_acvolused", used);
- model.setValue("/root/main/bizlist/u4list/rc_vitalsign", vital);
- model.copyNode("/root/send/senddata", "/root/main/bizlist/u4list");
- var nur4 = getGridUpdateData(grd_nur4);
- model.setValue("/root/send/nurrec", nur4);
- }
-
- model.setValue("/root/send/pid", model.getValue("/root/hidden/pid"));
- model.setValue("/root/send/uh", model.getValue("/root/hidden/uhyung"));
- model.setValue("/root/send/iud", ref);
- model.setValue("/root/send/senddata/bizlrgkind", lrgkind);
- model.setValue("/root/send/senddata/bizmdlkind", model.getValue("/root/hidden/transmdlcd"));
- model.setValue("/root/send/senddata/btype", model.getValue("/root/main/ptinfo/patinfo/btype"));
- model.makeValue("/root/send/barcd", blodbarcd);
- model.setValue("/root/send/orddeptcd", model.getValue("/root/main/ptinfo/patinfo/orddeptcd"));
- model.setValue("/root/send/orddeptnm", model.getValue("/root/main/ptinfo/patinfo/orddept"));
-
- model.setValue("/root/send/wardcd", model.getValue("/root/main/ptinfo/patinfo/wardcd"));
- model.setValue("/root/send/wardnm", model.getValue("/root/main/ptinfo/patinfo/wardnm"));
- model.setValue("/root/send/roomcd", model.getValue("/root/main/ptinfo/patinfo/roomcd"));
- model.setValue("/root/send/iudgbn", model.getValue("/root/hidden/iudgbn"));
-
- fSetBcdInstance();
-
- if(model.getValue("/root/send/senddata/fitnyn")=="적합"){
- model.setValue("/root/send/senddata/fitnyn", "Y");
- }else{
- model.setValue("/root/send/senddata/fitnyn", "N");
- }
-
-
- if(injeng =="X"){
-
- //인증
- model.makenode("/root/main/bizlist/etcinfo");
-
- model.makeValue("/root/main/bizlist/etcinfo/eqmt2", cmb_self_eqmt.label); //2
- model.makeValue("/root/main/bizlist/etcinfo/vesl2", cmb_self_vesl.label); //2
- model.makeValue("/root/main/bizlist/etcinfo/antkind2", cmb_self_acs.label); //2
- model.makeValue("/root/main/bizlist/etcinfo/sefyn2", rdo_self_seffc.label); //2
- model.makeValue("/root/main/bizlist/etcinfo/sefcnts2", cmb_bu2.label); //2
-
-
- model.makeValue("/root/main/bizlist/etcinfo/eqmt3", combo3.label); //3
- model.makeValue("/root/main/bizlist/etcinfo/vesl3", combo1.label); //3
- model.makeValue("/root/main/bizlist/etcinfo/antkind3", combo4.label); //3
- model.makeValue("/root/main/bizlist/etcinfo/sefyn3", rdo_seffc.label); //3
- model.makeValue("/root/main/bizlist/etcinfo/sefcnts3", cmb_bu3.label); //3
- model.makeValue("/root/main/bizlist/etcinfo/rplab3", combo5.label); //3
- model.makeValue("/root/main/bizlist/etcinfo/curegoal3", cmb_cure_goal.label); // 3
-
- model.makeNode("/root/main/bizlist/etcrsltlist");
-
- if(model.getValue("/root/hidden/uhyung")=="1"){
- model.makeValue("/root/main/bizlist/etcrsltlist/rslt01", model.getValue("/root/main/rsltview/rslt/rslt01"));
- model.makeValue("/root/main/bizlist/etcrsltlist/rslt02", model.getValue("/root/main/rsltview/rslt/rslt02"));
- model.makeValue("/root/main/bizlist/etcrsltlist/rslt03", model.getValue("/root/main/rsltview/rslt/rslt03"));
- model.makeValue("/root/main/bizlist/etcrsltlist/rslt04", model.getValue("/root/main/rsltview/rslt/rslt04"));
- model.makeValue("/root/main/bizlist/etcrsltlist/rslt05", model.getValue("/root/main/rsltview/rslt/rslt05"));
- model.makeValue("/root/main/bizlist/etcrsltlist/rslt06", model.getValue("/root/main/rsltview/rslt/rslt06"));
- model.makeValue("/root/main/bizlist/etcrsltlist/rslt07", model.getValue("/root/main/rsltview/rslt/rslt07"));
- model.makeValue("/root/main/bizlist/etcrsltlist/rslt08", model.getValue("/root/main/rsltview/rslt/rslt08"));
- model.makeValue("/root/main/bizlist/etcrsltlist/rslt09", model.getValue("/root/main/rsltview/rslt/rslt09"));
- model.makeValue("/root/main/bizlist/etcrsltlist/rslt10", model.getValue("/root/main/rsltview/rslt/rslt10"));
- model.makeValue("/root/main/bizlist/etcrsltlist/rslt11", model.getValue("/root/main/rsltview/rslt/rslt11"));
-
- }else{
- model.makeValue("/root/main/bizlist/etcrsltlist/rslt01", model.getValue("/root/main/rsltview2/rslt/rslt01"));
- //alert("1= " + model.getValue("/root/main/bizlist/etcrsltlist/rslt01") + " 2= "+ model.getValue("/root/main/rsltview2/rslt/rslt01") + " 3= " + model.getValue("/root/main/rsltview2/rslt[1]/rslt01"));
- model.makeValue("/root/main/bizlist/etcrsltlist/rslt02", model.getValue("/root/main/rsltview2/rslt/rslt02"));
- model.makeValue("/root/main/bizlist/etcrsltlist/rslt03", model.getValue("/root/main/rsltview2/rslt/rslt03"));
- model.makeValue("/root/main/bizlist/etcrsltlist/rslt04", model.getValue("/root/main/rsltview2/rslt/rslt04"));
- model.makeValue("/root/main/bizlist/etcrsltlist/rslt05", model.getValue("/root/main/rsltview2/rslt/rslt05"));
- model.makeValue("/root/main/bizlist/etcrsltlist/rslt06", model.getValue("/root/main/rsltview2/rslt/rslt06"));
- model.makeValue("/root/main/bizlist/etcrsltlist/rslt07", model.getValue("/root/main/rsltview2/rslt/rslt07"));
- model.makeValue("/root/main/bizlist/etcrsltlist/rslt08", model.getValue("/root/main/rsltview2/rslt/rslt08"));
- model.makeValue("/root/main/bizlist/etcrsltlist/rslt09", model.getValue("/root/main/rsltview2/rslt/rslt09"));
- model.makeValue("/root/main/bizlist/etcrsltlist/rslt10", model.getValue("/root/main/rsltview2/rslt/rslt10"));
- model.makeValue("/root/main/bizlist/etcrsltlist/rslt11", model.getValue("/root/main/rsltview2/rslt/rslt11"));
- }
-
- if(model.getValue("/root/hidden/workgbn")=="1"){
- //model.makeValue("/root/main/bizlist/etcinfo/title", cmb_don.label);
- if("L00911" == cmb_don.value){
- model.makeValue("/root/main/bizlist/etcinfo/title", "H.PC Flow sheet");
- }else if("L00912" ==cmb_don.value){
- model.makeValue("/root/main/bizlist/etcinfo/title", "DGI Flow sheet");
- }else if("L00913" ==cmb_don.value){
- model.makeValue("/root/main/bizlist/etcinfo/title", "자가헌혈기록");
- }else if("L00914" ==cmb_don.value){
- model.makeValue("/root/main/bizlist/etcinfo/title", "사혈기록");
- }else if("L00915" ==cmb_don.value){
- model.makeValue("/root/main/bizlist/etcinfo/title", "전혈기록");
- }
- }else if(model.getValue("/root/hidden/workgbn")=="2"){
- if("L00901" == cmb_care.value){
- model.makeValue("/root/main/bizlist/etcinfo/title", "TPE Flow sheet");
- }else if("L00902" == cmb_care.value){
- model.makeValue("/root/main/bizlist/etcinfo/title", "Tx. L-P Flow sheet");
- }else if("L00903" == cmb_care.value){
- model.makeValue("/root/main/bizlist/etcinfo/title", "Tx. P-P Flow sheet");
- }else if("L00904" == cmb_care.value){
- model.makeValue("/root/main/bizlist/etcinfo/title", "Photopheresis Flow sheet");
- }else if("L00905" == cmb_care.value){
- model.makeValue("/root/main/bizlist/etcinfo/title", "PCPP Flow sheet");
- }
- //model.makeNode("/root/main/bizlist/etcinfo/title", cmb_care.label);
- }else if(model.getValue("/root/hidden/workgbn")=="3"){
- if("L00921" == cmb_bmt.value){
- model.makeValue("/root/main/bizlist/etcinfo/title", "기타업무기록");
- }else if("L00922" == cmb_bmt.value){
- model.makeValue("/root/main/bizlist/etcinfo/title", "Donor PBSC Flow sheet");
- }else if("L00923" == cmb_bmt.value){
- model.makeValue("/root/main/bizlist/etcinfo/title", "Auto PBSC Flow sheet");
- }else if("L00924" == cmb_bmt.value){
- model.makeValue("/root/main/bizlist/etcinfo/title", "DLI Flow sheet");
- }
- //model.makeNode("/root/main/bizlist/etcinfo/title", cmb_bmt.label);
- }
-
-
- //인증
- if(Sign.signprocess()){
- var signno = 0;
- var recsaveflag = "N";
- if(model.getValue("/root/hidden/iudgbn")=="u"){
-
- signno = model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/signno");
- recsaveflag = "Y";
- }else{
-
- signno = 0;
- }
-
- //model.makeNode("/root/send/signdata");
- model.makeValue("/root/send/signdata/pid", model.getValue("/root/main/ptinfo/patinfo/tnsrpid")); //등록번호
- model.makeValue("/root/send/signdata/orddd", model.getValue("/root/main/ptinfo/patinfo/orddd")); //입원, 응급 : 입원일자, 외래 : 진료일자
- //model.makeValue("/root/send/signdata/signno", signno); //서명번호
- model.makeNode("/root/send/signdata/signno");
- model.setValue("/root/send/signdata/signno", signno); //서명번호
-
- model.makeValue("/root/send/signdata/cretno", model.getValue("/root/main/ptinfo/patinfo/cretno")); //생성번호
- model.makeValue("/root/send/signdata/recdd", getCurrentDate()); // 실제기록이 이루어진 기록일자
- model.makeValue("/root/send/signdata/rectm", getCurrentTime()); //실제기록이 이루어진 기록시간
- model.makeValue("/root/send/signdata/recsaveflag", recsaveflag); // 전자서명 인적정보 변경여부(기록일시 변경되는 경우 : Y, 그외 : N)
- model.makeValue("/root/send/signdata/signflag", "02"); // 서명자료구분(01 : 진료, 02 : 간호)
- model.makeValue("/root/send/signdata/signgenrflag", model.getValue("/root/main/ptinfo/patinfo/prcpgenrflag")); //입원, 외래구분
- //model.makeValue("/root/send/signdata/formcd", ""); //각 기록지별 서식코드 0000002916 : BM
-
- if(model.getValue("/root/hidden/workgbn")=="1"){
- var donV = cmb_don.value;
-
- if( (donV =="L00911") || (donV =="L00912") || (donV =="L00915") ){
- model.makeValue("/root/send/signdata/formcd", "0000002485"); // 혈소판 // DGI // 전혈
- }else if((donV =="L00913") || (donV =="L00914")){
- model.makeValue("/root/send/signdata/formcd", "0000002492"); //자가 // 사혈
- }
-
- }else if(model.getValue("/root/hidden/workgbn")=="2"){
- var careV = cmb_care.value;
-
- if(careV =="L00904"){
- model.makeValue("/root/send/signdata/formcd", "0000002491"); //Photopheresis
- }else{
- model.makeValue("/root/send/signdata/formcd", "0000002487"); //TPE //L-P //P-P //PCPP
- }
-
- }else if(model.getValue("/root/hidden/workgbn")=="3"){
- var bmtV = cmb_bmt.value;
-
- if(bmtV == "L00921"){
- model.makeValue("/root/send/signdata/formcd", "0000002491"); //기타
- }else{
- model.makeValue("/root/send/signdata/formcd", "0000002487"); //Donor //Auto //DLI
- }
-
- }
-
- model.makeValue("/root/send/signdata/orddeptcd", model.getValue("/root/main/ptinfo/patinfo/orddeptcd")); //진료과
- model.makeValue("/root/send/signdata/orddrid", model.getValue("/root/main/ptinfo/patinfo/orddrnm")); //진료의ID
- model.makeValue("/root/send/signdata/signbfcnts", Sign.signedInfos[1]); // 인증할 데이터 정보(미기록 노드 제거된 정보), 미기록 노드 제거전 원본 노드 정보 : Sign.signedInfos[3]
- model.makeValue("/root/send/signdata/signaftcnts", Sign.signedInfos[2]); //공인인증 처리후 데이터
- }else{
- alert("인증실패");
- return false;
- }
-
- submit("TXLRR00401");
- } // 인증 끝
-
- //인증됐으면 인증번호 ★ ★ ★
- if(injeng =="X"){
- model.setValue("/root/send/signno", model.getValue("/root/signdata/signno"));
-
- }else{
- model.setValue("/root/send/signno", 0);
-
- }
-
- if(submit("TXLBD01901")){
-
- if(ref == "I"){
- //바코드출력
- //fLisSpcBarcodePrint("/root/main/barcodeinfo");
- //if(cmb_don.value != "L00914"){
- if(model.getValue("/root/hidden/uhyung")=="1"){
- copyNodeType("/root/hidden/barcode/barcodeinfo", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo", "after");
- fLisTnsrBarcodePrintG("/root/hidden/barcode/barcodeinfo");
- }
-
- }
-
- // 저장후 기록조회
- fGetHistory("R");
-
- }
- }
-
- // 바코드 출력용 인스턴스 생성
- function fSetBcdInstance(){
- //if(model.getValue("/root/hidden/uhyung")=="1"){
- //var abocd =
-
- model.setValue("/root/hidden/barcode/barcodeinfo/tnsrpid", model.getValue("/root/main/ptinfo/patinfo/tnsrpid")); //환자등록번호
- model.setValue("/root/hidden/barcode/barcodeinfo/tnsrnm", model.getValue("/root/main/ptinfo/patinfo/patnm")); // 환자명
- model.setValue("/root/hidden/barcode/barcodeinfo/tnssexage", model.getValue("/root/main/ptinfo/patinfo/sexage")); //환자성별나이
- model.setValue("/root/hidden/barcode/barcodeinfo/tnsrbtype", model.getValue("/root/main/ptinfo/patinfo/btype")); //수혈자혈액형
-
- if(model.getValue("/root/hidden/uhyung")=="1"){
- model.setValue("/root/hidden/barcode/barcodeinfo/blodno", model.getValue("/root/main/bizlist/u1list/brgstno")); //혈액번호
- //model.setValue("/root/hidden/barcode/barcodeinfo/dnornm", model.getValue("/root/main/chkdnor/chkdnorrslt/dnornm")); //공여자성명
- //model.setValue("/root/hidden/barcode/barcodeinfo/dnsexage", model.getValue("/root/main/chkdnor/chkdnorrslt/sexage")); //공여자성별나이
- //model.setValue("/root/hidden/barcode/barcodeinfo/dnbtype", model.getValue("/root/main/chkdnor/chkdnorrslt/btype")); //공여자혈액형
- model.setValue("/root/hidden/barcode/barcodeinfo/dnornm", model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/dnornm")); //공여자성명
- model.setValue("/root/hidden/barcode/barcodeinfo/dnsexage", model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/sexage")); //공여자성별나이
- model.setValue("/root/hidden/barcode/barcodeinfo/dnbtype", model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/btype")); //공여자혈액형
-
- model.setValue("/root/hidden/barcode/barcodeinfo/panjung", model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/panjung")); //교차시험
- model.makeValue("/root/hidden/barcode/barcodeinfo/blodvol", model.getValue("/root/main/bizlist/u1list/donvol"));
-
- var btype = model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/btype");
- if(btype =="A+"){
- model.setValue("/root/hidden/barcode/barcodeinfo/abocd", "6200");
- }else if(btype =="B+"){
- model.setValue("/root/hidden/barcode/barcodeinfo/abocd", "7300");
- }else if(btype =="O+"){
- model.setValue("/root/hidden/barcode/barcodeinfo/abocd", "5100");
- }else if(btype=="AB+"){
- model.setValue("/root/hidden/barcode/barcodeinfo/abocd", "8400");
- }
- if("L00911" == cmb_don.value){
- model.setValue("/root/hidden/barcode/barcodeinfo/blodbarcd", "A0003");
- model.setValue("/root/hidden/barcode/barcodeinfo/blodbarnm", "Haemonetic Platelet Concentrate");
-
- }else if("L00912" == cmb_don.value){
- model.setValue("/root/hidden/barcode/barcodeinfo/blodbarcd", "A0004");
- model.setValue("/root/hidden/barcode/barcodeinfo/blodbarnm", "Donor Granulocyte Infusion");
-
- }else if("L00915" == cmb_don.value){
- model.setValue("/root/hidden/barcode/barcodeinfo/blodbarcd", "00163");
- model.setValue("/root/hidden/barcode/barcodeinfo/blodbarnm", "Whole Blood");
-
- }else{
- model.setValue("/root/hidden/barcode/barcodeinfo/blodbarcd", "");
- model.setValue("/root/hidden/barcode/barcodeinfo/blodbarnm", "");
-
- }
- }else if(model.getValue("/root/hidden/uhyung")=="2"){
- model.setValue("/root/hidden/barcode/barcodeinfo/blodno", model.getValue("/root/main/bizlist/u2list/brgstno")); //혈액번호
- model.makeValue("/root/hidden/barcode/barcodeinfo/blodvol", model.getValue("/root/main/bizlist/u2list/donvol"));
- //model.setValue("/root/hidden/barcode/barcodeinfo/panjung", "적합");
- if(model.getValue("/root/main/ptinfo/patinfo/btype")=="A+"){
- model.setValue("/root/hidden/barcode/barcodeinfo/abocd", "6200");
- }else if(model.getValue("/root/main/ptinfo/patinfo/btype")=="B+"){
- model.setValue("/root/hidden/barcode/barcodeinfo/abocd", "7300");
- }else if(model.getValue("/root/main/ptinfo/patinfo/btype")=="O+"){
- model.setValue("/root/hidden/barcode/barcodeinfo/abocd", "5100");
- }else if(model.getValue("/root/main/ptinfo/patinfo/btype")=="AB+"){
- model.setValue("/root/hidden/barcode/barcodeinfo/abocd", "8400");
- }
-
- if("L00913" == cmb_don.value){
- model.setValue("/root/hidden/barcode/barcodeinfo/blodbarcd", "A0001");
- model.setValue("/root/hidden/barcode/barcodeinfo/blodbarnm", "Autologous Blood Transfusion");
- }else{
- model.setValue("/root/hidden/barcode/barcodeinfo/blodbarcd", "");
- model.setValue("/root/hidden/barcode/barcodeinfo/blodbarnm", "");
-
- }
- }
- model.setValue("/root/hidden/barcode/barcodeinfo/bcolldt", model.getValue("/root/main/rsltview/rslt/rsltdd")); //채혈일시
- model.setValue("/root/hidden/barcode/barcodeinfo/prtdd", model.getValue("/root/main/bizlist/u1list/execdt").substr(0,8));
- model.setValue("/root/hidden/barcode/barcodeinfo/prttm", model.getValue("/root/main/bizlist/u1list/execdt").substr(8,14));
- model.makeValue("/root/hidden/barcode/barcodeinfo/bcolldd", getCurrentDate());
- if(model.getValue("/root/hidden/workgbn")=="1"){
- if(cmb_don.value=="L00911"){
- model.makeValue("/root/hidden/barcode/barcodeinfo/title", "HPC");
- }else{
- model.makeValue("/root/hidden/barcode/barcodeinfo/title", cmb_don.label);
- }
- }else if(model.getValue("/root/hidden/workgbn")=="3"){
- model.makeValue("/root/hidden/barcode/barcodeinfo/title", cmb_bmt.label);
- }
- //}
-
-
-
- }
-
- function fKeyEvent(){
-
- if(event.keyCode == "13"){
- if(event.target == "ipt_pid"){
- model.setvalue("/root/hidden/pid", ipt_pid.currentText.substring(0,10));
-
- //fGetPatInfo();
- fGetPatInfo2("pid");
-
- ipt_pid.selBegin = 0;
- ipt_pid.selEnd = ipt_pid.currentText.length;
- }
- }
-
- }
-
- //기록조회
- function fGetHistory(ref){
- model.removeNodeset("/root/main/ptinfo/history");
- //datagrid2.rebuild();
- datagrid2.refresh();
-
- model.setValue("/root/send/histdd", model.getValue("/root/hidden/histdd"));
- model.setValue("/root/send/execdt2", model.getValue("/root/main/return/execdt"));
- model.setValue("/root/send/histgbn", ref);
-
- submit("TRLBD01902");
-
- datagrid2.rebuildStyle();
- if(datagrid2.rows > 1){
- datagrid2.row = (datagrid2.rows-1);
-
- /*
- setRowStyle("datagrid2", "9", "O", "hist", "equal"); // 0 - 붉으죽죽한색
- setRowStyle("datagrid2", "7", "L", "hist", "equal"); // 0 - 붉으죽죽한색
- setRowStyle("datagrid2", "6", "C", "hist", "equal"); // 0 - 붉으죽죽한색
-
- if(model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/hist")=="C"){
- datagrid2.focusColor = "#fec33D";
- }else if(model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/hist")=="O"){
- datagrid2.focusColor = "#43c8f7";
- }else if(model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/hist")=="L"){
- datagrid2.focusColor = "#dec6a6";
- }
- */
- }else{
- fSetResetInstance("init");
- model.setValue("/root/hidden/pid", "");
- model.setFocus("ipt_pid");
- }
-
- //돋보기클릭시 맨밑에 row 선택되고 결과조회됨
- if(datagrid2.rows >1){
-
- if(ref=="R"){
- fGetHistBiz("R");
- }else{
- fGetHistBiz("C");
- }
-
- }
- }
-
- // 기록 업무 조회
- function fGetHistBiz(ref){
- if(datagrid2.rows > 1){
-
- if(ref=="C"){ // 기록에서 선택 조회
- //model.makeValue("/root/send/execdt2", model.getValue("/root/main/history["+grd_rec.row+"]/execdd") + model.getValue("/root/main/history["+grd_rec.row+"]/exectm"));
- model.makeValue("/root/send/execdt2", model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/execdd") + model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/exectm"));
- }else if(ref=="R"){ //저장후 재조회
- model.makeValue("/root/send/execdt2", model.getValue("/root/main/return/execdt"));
-
- /*if(model.getValue("/root/hidden/uhyung")=="1"){
- for(i=1; i< grd_dnor.rows; i++){
- if(model.getValue("/root/main/ptinfo/dnorinfo["+i+"]/dnorno")==model.getValue("/root/send/dnorno")){
- grd_dnor.row = i;
- }
- }
-
- fDnorSelect("auto", grd_dnor.row );
- }*/
-
- }
-
- if(model.getValue("/root/hidden/uhyung")=="1"){
-
- }
-
- submit("TRLBD01903");
- model.setValue("/root/hidden/uhyung", model.getValue("/root/main/bizlist/ugbn/ugbn"));
- model.setValue("/root/hidden/workgbn", model.getValue("/root/main/bizlist/ugbn/bizlrgkind"));
- var pid = model.getValue("/root/main/bizlist/u1list/tnsrpid");
- model.setValue("/root/hidden/pid", pid);
- // 헌혈증번호 나눠서 표시
- if(model.getValue("/root/hidden/uhyung")=="1"){
- model.setValue("/root/hidden/brgstno/brgstno1", model.getValue("/root/main/bizlist/u1list/brgstno").substr(0,2));
- model.setValue("/root/hidden/brgstno/brgstno2", model.getValue("/root/main/bizlist/u1list/brgstno").substr(2,2));
- model.setValue("/root/main/brgstno/brgstnoseq", model.getValue("/root/main/bizlist/u1list/brgstno").substr(4,6));
- }else if(model.getValue("/root/hidden/uhyung")=="2"){
- model.setValue("/root/hidden/brgstno/brgstno1", model.getValue("/root/main/bizlist/u2list/brgstno").substr(0,2));
- model.setValue("/root/hidden/brgstno/brgstno2", model.getValue("/root/main/bizlist/u2list/brgstno").substr(2,2));
- model.setValue("/root/main/brgstno/brgstnoseq", model.getValue("/root/main/bizlist/u2list/brgstno").substr(4,6));
-
- }
-
- //fSetWorkGbn();
- fGetUhmdlkind();
- fSetGroupView();
-
- if(model.getValue("/root/hidden/uhyung")=="1"){
- model.setValue("/root/hidden/pid", model.getValue("/root/main/bizlist/u1list/tnsrpid"));
- }else if(model.getValue("/root/hidden/uhyung")=="2"){
- model.setValue("/root/hidden/pid", model.getValue("/root/main/bizlist/u2list/tnsrpid"));
- }else if(model.getValue("/root/hidden/uhyung")=="3"){
- model.setValue("/root/hidden/pid", model.getValue("/root/main/bizlist/u3list/tnsrpid"));
- }else if(model.getValue("/root/hidden/uhyung")=="4"){
- model.setValue("/root/hidden/pid", model.getValue("/root/main/bizlist/u4list/tnsrpid"));
- fGetRturnCycle();
- fSetReturnCycle();
- }
- model.setValue("/root/hidden/pid", pid);
- //fGetPatInfo();
- //fGetPatInfo2();
-
- model.refresh();
- }
-
- /*if(ref=="R"){
- if(model.getValue("/root/hidden/uhyung")=="1"){
- for(i=1; i< grd_dnor.rows; i++){
- if(model.getValue("/root/main/ptinfo/dnorinfo["+i+"]/dnorno")==model.getValue("/root/main/bizlist/u1list/dnorno")){
- grd_dnor.row = i;
- }
- }
- fDnorSelect("auto", grd_dnor.row );
- }
- }*/
-
-
- if(model.getValue("/root/hidden/uhyung")=="1"){
- for(i=1; i< grd_dnor.rows; i++){
- if(model.getValue("/root/main/ptinfo/dnorinfo["+i+"]/dnorno")==model.getValue("/root/main/bizlist/u1list/dnorno")){
-
- grd_dnor.row = i;
- }
- }
- fDnorSelect("auto", grd_dnor.row );
-
- }
-
- //else{
- // fGetBcnoRslt("234");
- //}
-
- // vital + 간호기록 조회
- fGetVitalNurrec("2");
- model.setValue("/root/hidden/iudgbn", "u"); // 이미 기록 있으면 update 해야함
-
- }
-
- //return cycle 그리드 표시
- function fSetReturnCycle(){
- var rc_tm = model.getValue("/root/main/bizlist/u4list/rc_tm");
- var rc_frdd = model.getValue("/root/main/bizlist/u4list/rc_frdd");
- var rc_tvol = model.getValue("/root/main/bizlist/u4list/rc_tvol");
- var rc_acvolused = model.getValue("/root/main/bizlist/u4list/rc_acvolused");
- var rc_vitalsign = model.getValue("/root/main/bizlist/u4list/rc_vitalsign");
- var cnt = model.getValue("/root/main/bizlist/u4list/cycle");
- var rc_tm2 = rc_tm.split("▦");
- var rc_frdd2 = rc_frdd.split("▦");
- var rc_tvol2 = rc_tvol.split("▦");
- var rc_acvolused2 = rc_acvolused.split("▦");
- var rc_vitalsign2 = rc_vitalsign.split("▦");
-
- for(var i=0; i<=cnt; i++){
-
- model.setValue("/root/main/bizlist/cycle/cycle1[1]/cnt"+(i+1), rc_tm2[i]);
- model.setValue("/root/main/bizlist/cycle/cycle1[2]/cnt"+(i+1), rc_frdd2[i]);
- model.setValue("/root/main/bizlist/cycle/cycle1[3]/cnt"+(i+1), rc_tvol2[i]);
- model.setValue("/root/main/bizlist/cycle/cycle1[4]/cnt"+(i+1), rc_acvolused2[i]);
- model.setValue("/root/main/bizlist/cycle/cycle1[5]/cnt"+(i+1), rc_vitalsign2[i]);
- }
- grd_cycle.refresh();
- }
-
- //프린터 설정
- function fSetPrint() {
- var count = getNodesetCount("/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
-
- if(count == 0) {
- model.makeNode("/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
- }
-
- open("SPLLC90100_바코드프린터설정.xrw", "", "", "", "", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
- }
-
- // 공여자선택 -> 선택공여자결과조회
- function fDnorSelect(ref, row){
- if(ref=="select"){
-
- for(i=1; i< grd_dnor.rows; i++){
- model.setValue("/root/main/ptinfo/dnorinfo["+i+"]/chk", "N");
- }
-
- if(grd_dnor.row > 0){
- if(model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/chk")=="Y"){
- model.setValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/chk", "N");
- }else{
- model.setValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/chk", "Y");
- model.resetInstanceNode("/root/main/chkdnor/chkdnorrslt");
- model.resetInstanceNode("/root/main/rsltview/rslt");
- //grd_dnor_choi.rebuild();
- //grd_dnor_rslt.rebuild();
- //grd_dnor_choi.refresh();
- grd_dnor_rslt.refresh();
- }
- }
-
-
- if(grd_dnor.row > 0){
- model.setValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/chk", "Y");
- }
-
- }else{
- model.setValue("/root/main/ptinfo/dnorinfo["+row+"]/chk", "Y");
- }
-
- if(model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/chk")=="Y"){ // 선택된 공여자만
-
- model.setValue("/root/main/chkdnor/chkdnorrslt/dnornm", model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/dnornm"));
- model.setValue("/root/main/chkdnor/chkdnorrslt/rrgstno", model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/rrgstno"));
- model.setValue("/root/main/chkdnor/chkdnorrslt/sexage", model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/sexage"));
- model.setValue("/root/main/chkdnor/chkdnorrslt/bdht", model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/bdht"));
- model.setValue("/root/main/chkdnor/chkdnorrslt/bdwt", model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/bdwt"));
- model.setValue("/root/main/chkdnor/chkdnorrslt/btype", model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/btype"));
- model.setValue("/root/main/chkdnor/chkdnorrslt/panjung", model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/panjung"));
- model.setValue("/root/main/chkdnor/chkdnorrslt/homeaddr", model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/homeaddr"));
- model.setValue("/root/main/chkdnor/chkdnorrslt/hometel", model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/hometel"));
- model.setValue("/root/main/chkdnor/chkdnorrslt/dnorno", model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/dnorno"));
- model.setValue("/root/main/chkdnor/chkdnorrslt/dnorseqno", model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/dnorseqno"));
- model.makeValue("/root/main/bizlist/u1list/dnorno", model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/dnorno"));
- model.makeValue("/root/main/bizlist/u1list/dnorseqno", model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/dnorseqno"));
-
- //grd_dnor_choi.rebuild();
- //grd_dnor_choi.refresh();
- fGetBcnoRslt("1");
- }else{
- model.resetInstanceNode("/root/main/rsltview/rslt");
- //grd_dnor_rslt.rebuild();
- grd_dnor_rslt.refresh();
- }
-
- //fGetBcnoRslt("1");
- fSetBtypepanjung();
- model.setValue("/root/hidden/uhyung", "1");
-
-
- }
-
- // 검체별 결과
- function fGetBcnoRslt(ref){
-
- model.setValue("/root/send/pid", model.getValue("/root/hidden/pid"));
- model.setValue("/root/send/uh", model.getValue("/root/hidden/uhyung"));
-
- //if(model.getValue("/root/hidden/uhyung")=="1"){ //유형1일때는 공여자 선택해야함
- if((ref =="1") || (model.getValue("/root/hidden/uhyung")=="1")){
- model.makeValue("/root/send/dnorno2", model.getValue("/root/main/ptinfo/dnorinfo["+grd_dnor.row+"]/dnorno"));
- }else{
- model.makeValue("/root/send/dnorno2", "");
- }
-
- submit("TRLBD01905");
-
- var count = getNodesetCount("/root/main/bcnorslt/rsltlist");
-
- if(model.getValue("/root/hidden/uhyung")=="1"){
- model.resetInstanceNode("/root/main/rsltview/rslt");
-
- for(i=1; i<=count ; i++){
- if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd") == "LHR102"){
- //model.setValue("/root/main/rsltview/rslt/rslt01", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
- model.setValue("/root/hidden/tmprslt1", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
- }
-
- if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LHR103"){
- //model.setValue("/root/main/rsltview/rslt/rslt01", (model.getValue("/root/main/rsltview/rslt/rslt01") + " / " + model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt")));
- model.setValue("/root/hidden/tmprslt2", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
- }
-
- if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LHR100"){
- model.setValue("/root/main/rsltview/rslt/rslt02", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
- }else if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LHR104"){
- model.setValue("/root/main/rsltview/rslt/rslt03", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
- }else if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LCR118"){
- model.setValue("/root/main/rsltview/rslt/rslt04", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
- }else if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LCR119"){
- model.setValue("/root/main/rsltview/rslt/rslt05", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
- }else if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LBR100"){
- model.setValue("/root/main/rsltview/rslt/rslt06", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
- }else if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LIR107"){
- model.setValue("/root/main/rsltview/rslt/rslt07", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
- }else if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LIR125"){
- model.setValue("/root/main/rsltview/rslt/rslt08", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
- }else if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LIR123"){
- model.setValue("/root/main/rsltview/rslt/rslt09", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
- }else if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LIR122"){
- model.setValue("/root/main/rsltview/rslt/rslt10", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
- }else if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LHR117"){
- model.setValue("/root/main/rsltview/rslt/rslt11", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
- }
-
- model.setValue("/root/main/rsltview/rslt/rslt01", (model.getValue("/root/hidden/tmprslt1") + " / " + model.getValue("/root/hidden/tmprslt2")));
- model.setValue("/root/main/rsltview/rslt/rsltdd", model.getValue("/root/main/bcnorslt/rsltlist[1]/lastreptdt2"));
-
-
- }
- }else if((model.getValue("/root/hidden/uhyung")=="2") || (model.getValue("/root/hidden/uhyung")=="3") || (model.getValue("/root/hidden/uhyung")=="4")){
- //model.resetInstanceNode("/root/main/rsltview2/rslt");
- for(k=1; k<3; k++){
- model.makeValue("/root/main/rsltview2/rslt["+k+"]/rsltdd", "");
- model.makeValue("/root/main/rsltview2/rslt["+k+"]/rslt01", "");
- model.makeValue("/root/main/rsltview2/rslt["+k+"]/rslt02", "");
- model.makeValue("/root/main/rsltview2/rslt["+k+"]/rslt03", "");
- model.makeValue("/root/main/rsltview2/rslt["+k+"]/rslt04", "");
- model.makeValue("/root/main/rsltview2/rslt["+k+"]/rslt05", "");
- model.makeValue("/root/main/rsltview2/rslt["+k+"]/rslt06", "");
- model.makeValue("/root/main/rsltview2/rslt["+k+"]/rslt07", "");
- model.makeValue("/root/main/rsltview2/rslt["+k+"]/rslt08", "");
- model.makeValue("/root/main/rsltview2/rslt["+k+"]/rslt09", "");
- model.makeValue("/root/main/rsltview2/rslt["+k+"]/rslt10", "");
- model.makeValue("/root/main/rsltview2/rslt["+k+"]/rslt11", "");
- model.setValue("/root/hidden/tmprslt1", "");
- model.setValue("/root/hidden/tmprslt2", "");
- model.setValue("/root/hidden/tmprsdd1", "");
-
- }
-
- var tp = "";
- var tb = "";
- var alb = "";
- var db = "";
- for(i=1; i<=count ; i++){
-
- model.setValue("/root/main/rsltview2/rslt[1]/rsltdd", "결과");
- model.setValue("/root/main/rsltview2/rslt[2]/rsltdd", "검사일자");
-
- if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LHR102"){ //Hb
- //model.setValue("/root/main/rsltview2/rslt[1]/rslt01", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
- //model.setValue("/root/main/rsltview2/rslt[2]/rslt01", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/lastreptdt"));
- model.setValue("/root/hidden/tmprslt1", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
- model.setValue("/root/hidden/tmprsdd1", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/lastreptdt2"));
- }
-
- if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LHR103"){
- //model.setValue("/root/main/rsltview2/rslt[1]/rslt01", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
- //model.setValue("/root/main/rsltview2/rslt[2]/rslt01", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/lastreptdt"));
- model.setValue("/root/hidden/tmprslt2", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
- model.setValue("/root/hidden/tmprsdd2", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/lastreptdt2"));
-
- }
-
- if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LHR100"){ //WBC
- model.setValue("/root/main/rsltview2/rslt[1]/rslt02", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
- model.setValue("/root/main/rsltview2/rslt[2]/rslt02", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/lastreptdt2"));
- }else if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LHR104"){ //PLT
- model.setValue("/root/main/rsltview2/rslt[1]/rslt03", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
- model.setValue("/root/main/rsltview2/rslt[2]/rslt03", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/lastreptdt2"));
- }else if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LCR118"){ //SGOT
- model.setValue("/root/main/rsltview2/rslt[1]/rslt04", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
- model.setValue("/root/main/rsltview2/rslt[2]/rslt04", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/lastreptdt2"));
- }else if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LCR119"){ //SGPT
- model.setValue("/root/main/rsltview2/rslt[1]/rslt05", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
- model.setValue("/root/main/rsltview2/rslt[2]/rslt05", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/lastreptdt2"));
- }else if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LCR109"){ //TP
- if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt") != ""){
- tp = model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt");
- }
- model.setValue("/root/main/rsltview2/rslt[2]/rslt06", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/lastreptdt2"));
- }else if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LHR114"){ //MAHA
- model.setValue("/root/main/rsltview2/rslt[1]/rslt07", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
- model.setValue("/root/main/rsltview2/rslt[2]/rslt07", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/lastreptdt2"));
- }else if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LCR116"){ //TB
- if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt") != ""){
- tb = model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt");
- }
- model.setValue("/root/main/rsltview2/rslt[2]/rslt08", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/lastreptdt2"));
- }else if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LCR125"){ //Ca
- model.setValue("/root/main/rsltview2/rslt[1]/rslt09", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt"));
- model.setValue("/root/main/rsltview2/rslt[2]/rslt09", model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/lastreptdt2"));
- }else if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LCR110"){ //Alb
-
- if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt") != ""){
- alb = model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt");
- }
- }else if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/tclscd")=="LCR117"){ //DB
-
- if(model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt") != ""){
- db = model.getValue("/root/main/bcnorslt/rsltlist["+i+"]/inptrslt");
- }
- }
- //TP-LCR109 / Alb-LCR110 / TB-LCR116 / DB-LCR117 / Ca-LCR125 / MAHA-LHR114 임다.
- }
- model.setValue("/root/main/rsltview2/rslt[1]/rslt01", (model.getValue("/root/hidden/tmprslt1") + " / " + model.getValue("/root/hidden/tmprslt2")));
- model.setValue("/root/main/rsltview2/rslt[2]/rslt01", model.getValue("/root/hidden/tmprsdd1"));
- model.setValue("/root/main/rsltview2/rslt[1]/rslt06", tp + " / " + alb);
- model.setValue("/root/main/rsltview2/rslt[1]/rslt08", tb + " / " + db);
-
- }
- //grd_dnor_rslt.rebuild();
- grd_dnor_rslt.refresh();
- }
-
-
- // 혈액바코드발행
- function fExeBlodBarcdPrint(){
- fSetBcdInstance();
- if(model.getValue("/root/hidden/workgbn")=="1"){
- if(cmb_don.value != "L00914"){
- copyNodeType("/root/hidden/barcode/barcodeinfo", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo", "after");
- fLisTnsrBarcodePrintG("/root/hidden/barcode/barcodeinfo");
- }
- }
-
- //copyNodeType("/root/hidden/barcode/barcodeinfo", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo", "after");
- //fLisTnsrBarcodePrintG("/root/hidden/barcode/barcodeinfo");
- }
-
- // vital sign 추가
- function fSetVital1(ref){
-
- if(ref=="1"){
- grd_vital1.addRow();
- grd_vital1.row = grd_vital1.rows;
- grd_vital1.rowStatus(grd_vital1.row) = 1;
- }else if(ref=="2"){
- grd_vital2.addRow();
- grd_vital2.row = grd_vital2.rows;
- grd_vital2.rowStatus(grd_vital2.row) = 1;
- }else if(ref=="3"){
- grd_vital3.addRow();
- grd_vital3.row = grd_vital3.rows;
- grd_vital3.rowStatus(grd_vital3.row) = 1;
- }
-
- }
-
- function fDelVital1(ref){
- if(ref=="1"){
- //grd_vital1.deleteRow(grd_vital1.row);
- grd_vital1.rowStatus(grd_vital1.row) = 4;
- }else if(ref=="2"){
- //grd_vital2.deleteRow(grd_vital2.row);
- grd_vital2.rowStatus(grd_vital2.row) = 4;
- }else if(ref=="3"){
- //grd_vital3.deleteRow(grd_vital3.row);
- grd_vital3.rowStatus(grd_vital3.row) = 4;
- }
-
- }
-
- //간호기록 추가
- function fSetNur1(ref){
- if(ref=="1"){
- grd_nur1.addRow();
- grd_nur1.row = grd_nur1.rows;
- grd_nur1.rowStatus(grd_nur1.row) = 1;
-
- }else if(ref == "2"){
- grd_nur2.addRow();
- grd_nur2.row = grd_nur2.rows;
- grd_nur2.rowStatus(grd_nur2.row) = 1;
- }else if(ref == "3"){
- grd_nur3.addRow();
- grd_nur3.row = grd_nur3.rows;
- grd_nur3.rowStatus(grd_nur3.row) = 1;
- }else if(ref == "4"){
- grd_nur4.addRow();
- grd_nur4.row = grd_nur4.rows;
- grd_nur4.rowStatus(grd_nur4.row) = 1;
- }
- }
-
- //간호기록 삭제
- function fDelNur1(ref){
- if(ref=="1"){
- grd_nur1.rowStatus(grd_nur1.row) = 4;
- }else if(ref=="2"){
- grd_nur2.rowStatus(grd_nur2.row) = 4;
- }else if(ref=="3"){
- grd_nur3.rowStatus(grd_nur3.row) = 4;
- }else if(ref=="4"){
- grd_nur4.rowStatus(grd_nur4.row) = 4;
- }
- }
-
- // 인증저장
- function fExeSignSave(){
- model.makenode("/root/main/bizlist/etcinfo");
-
- model.makeValue("/root/main/bizlist/etcinfo/eqmt2", cmb_self_eqmt.label); //2
- model.makeValue("/root/main/bizlist/etcinfo/vesl2", cmb_self_vesl.label); //2
- model.makeValue("/root/main/bizlist/etcinfo/antkind2", cmb_self_acs.label); //2
- model.makeValue("/root/main/bizlist/etcinfo/sefyn2", rdo_self_seffc.label); //2
- model.makeValue("/root/main/bizlist/etcinfo/sefcnts2", cmb_bu2.label); //2
-
-
- model.makeValue("/root/main/bizlist/etcinfo/eqmt3", combo3.label); //3
- model.makeValue("/root/main/bizlist/etcinfo/vesl3", combo1.label); //3
- model.makeValue("/root/main/bizlist/etcinfo/antkind3", combo4.label); //3
- model.makeValue("/root/main/bizlist/etcinfo/sefyn3", rdo_seffc.label); //3
- model.makeValue("/root/main/bizlist/etcinfo/sefcnts3", cmb_bu3.label); //3
- model.makeValue("/root/main/bizlist/etcinfo/rplab3", combo5.label); //3
- model.makeValue("/root/main/bizlist/etcinfo/curegoal3", cmb_cure_goal.label); // 3
-
- if(model.getValue("/root/hidden/workgbn")=="1"){
- //model.makeValue("/root/main/bizlist/etcinfo/title", cmb_don.label);
- if("L00911" == cmb_don.value){
- model.makeValue("/root/main/bizlist/etcinfo/title", "H.PC Flow sheet");
- }else if("L00912" ==cmb_don.value){
- model.makeValue("/root/main/bizlist/etcinfo/title", "DGI Flow sheet");
- }else if("L00913" ==cmb_don.value){
- model.makeValue("/root/main/bizlist/etcinfo/title", "자가헌혈기록");
- }else if("L00914" ==cmb_don.value){
- model.makeValue("/root/main/bizlist/etcinfo/title", "사혈기록");
- }else if("L00915" ==cmb_don.value){
- model.makeValue("/root/main/bizlist/etcinfo/title", "전혈기록");
- }
- }else if(model.getValue("/root/hidden/workgbn")=="2"){
- if("L00901" == cmb_care.value){
- model.makeValue("/root/main/bizlist/etcinfo/title", "TPE Flow sheet");
- }else if("L00902" == cmb_care.value){
- model.makeValue("/root/main/bizlist/etcinfo/title", "Tx. L-P Flow sheet");
- }else if("L00903" == cmb_care.value){
- model.makeValue("/root/main/bizlist/etcinfo/title", "Tx. P-P Flow sheet");
- }else if("L00904" == cmb_care.value){
- model.makeValue("/root/main/bizlist/etcinfo/title", "Photopheresis Flow sheet");
- }else if("L00905" == cmb_care.value){
- model.makeValue("/root/main/bizlist/etcinfo/title", "PCPP Flow sheet");
- }
- //model.makeNode("/root/main/bizlist/etcinfo/title", cmb_care.label);
- }else if(model.getValue("/root/hidden/workgbn")=="3"){
- if("L00921" == cmb_bmt.value){
- model.makeValue("/root/main/bizlist/etcinfo/title", "기타업무기록");
- }else if("L00922" == cmb_bmt.value){
- model.makeValue("/root/main/bizlist/etcinfo/title", "Donor PBSC Flow sheet");
- }else if("L00923" == cmb_bmt.value){
- model.makeValue("/root/main/bizlist/etcinfo/title", "Auto PBSC Flow sheet");
- }else if("L00924" == cmb_bmt.value){
- model.makeValue("/root/main/bizlist/etcinfo/title", "DLI Flow sheet");
- }
- //model.makeNode("/root/main/bizlist/etcinfo/title", cmb_bmt.label);
- }
-
-
- //인증
- if(Sign.signprocess()){
- model.makeNode("/root/send/signdata");
- model.makeValue("/root/send/signdata/pid", model.getValue("/root/main/ptinfo/patinfo/tnsrpid")); //등록번호
- model.makeValue("/root/send/signdata/orddd", model.getValue("/root/main/ptinfo/patinfo/orddd")); //입원, 응급 : 입원일자, 외래 : 진료일자
- model.makeValue("/root/send/signdata/signno", ""); //서명번호
- model.makeValue("/root/send/signdata/cretno", model.getValue("/root/main/ptinfo/patinfo/cretno")); //생성번호
- model.makeValue("/root/send/signdata/recdd", getCurrentDate()); // 실제기록이 이루어진 기록일자
- model.makeValue("/root/send/signdata/rectm", getCurrentTime()); //실제기록이 이루어진 기록시간
- model.makeValue("/root/send/signdata/recsaveflag", "N"); // 전자서명 인적정보 변경여부(기록일시 변경되는 경우 : Y, 그외 : N)
- model.makeValue("/root/send/signdata/signflag", "02"); // 서명자료구분(01 : 진료, 02 : 간호)
- model.makeValue("/root/send/signdata/signgenrflag", model.getValue("/root/main/ptinfo/patinfo/prcpgenrflag")); //입원, 외래구분
- //model.makeValue("/root/send/signdata/formcd", ""); //각 기록지별 서식코드 0000002916 : BM
-
- if(model.getValue("/root/hidden/workgbn")=="1"){
- if("L00911" == cmb_don.value){
- model.makeValue("/root/send/signdata/formcd", "0000002485"); //혈소판
- }else if("L00912" ==cmb_don.value){
- model.makeValue("/root/send/signdata/formcd", "0000002485"); //DGI
- }else if("L00913" ==cmb_don.value){
- model.makeValue("/root/send/signdata/formcd", "0000002492"); //자가
- }else if("L00914" ==cmb_don.value){
- model.makeValue("/root/send/signdata/formcd", "0000002492"); //사혈
- }else if("L00915" ==cmb_don.value){
- model.makeValue("/root/send/signdata/formcd", "0000002485"); //전혈
- }
- }else if(model.getValue("/root/hidden/workgbn")=="2"){
- if("L00901" == cmb_care.value){
- model.makeValue("/root/send/signdata/formcd", "0000002487"); //TPE
- }else if("L00902" == cmb_care.value){
- model.makeValue("/root/send/signdata/formcd", "0000002487"); //L-P
- }else if("L00903" == cmb_care.value){
- model.makeValue("/root/send/signdata/formcd", "0000002487"); //P-P
- }else if("L00904" == cmb_care.value){
- model.makeValue("/root/send/signdata/formcd", "0000002491"); //Photopheresis
- }else if("L00905" == cmb_care.value){
- model.makeValue("/root/send/signdata/formcd", "0000002487"); //PCPP
- }
- }else if(model.getValue("/root/hidden/workgbn")=="3"){
- if("L00921" == cmb_bmt.value){
- model.makeValue("/root/send/signdata/formcd", "0000002491"); //기타
- }else if("L00922" == cmb_bmt.value){
- model.makeValue("/root/send/signdata/formcd", "0000002487"); //Donor
- }else if("L00923" == cmb_bmt.value){
- model.makeValue("/root/send/signdata/formcd", "0000002487"); //Auto
- }else if("L00924" == cmb_bmt.value){
- model.makeValue("/root/send/signdata/formcd", "0000002487"); //DLI
- }
- }
- model.makeValue("/root/send/signdata/orddeptcd", model.getValue("/root/main/ptinfo/patinfo/orddeptcd")); //진료과
- model.makeValue("/root/send/signdata/orddrid", model.getValue("/root/main/ptinfo/patinfo/orddrnm")); //진료의ID
- model.makeValue("/root/send/signdata/signbfcnts", Sign.signedInfos[1]); // 인증할 데이터 정보(미기록 노드 제거된 정보), 미기록 노드 제거전 원본 노드 정보 : Sign.signedInfos[3]
- model.makeValue("/root/send/signdata/signaftcnts", Sign.signedInfos[2]); //공인인증 처리후 데이터
- }else{
- return false;
- }
-
- if(submit("TXLRR00401")){
- fGetHistory("R");
- }
- }
-
- function fMake_SignData(){
- Sign.addnode("/root/main");
- }
-
- // 오늘날짜 시간 박아주기
- function fSetToddtm(ref, gbn){
- if(gbn == "start"){
- model.makeValue("/root/main/bizlist/u" + ref + "list/bizstartdd", getCurrentDate());
- model.makeValue("/root/main/bizlist/u" + ref + "list/bizstarttm", getCurrentTime());
-
- }else if(gbn == "end"){
- model.makeValue("/root/main/bizlist/u" + ref + "list/bizenddd", getCurrentDate());
- model.makeValue("/root/main/bizlist/u" + ref + "list/bizendtm", getCurrentTime());
-
- }
- if(ref=="1"){
- ipt_dno_sdd.refresh();
- ipt_dno_stm.refresh();
- ipt_dno_edd.refresh();
- ipt_dno_etm.refresh();
- }else if(ref=="2"){
- ipt_self_sdd.refresh();
- ipt_self_stm.refresh();
- ipt_self_edd.refresh();
- ipt_self_etm.refresh();
- }else if(ref=="3"){
- ipt_cure_sdd.refresh();
- ipt_cure_stm.refresh();
- ipt_cure_edd.refresh();
- ipt_cure_etm.refresh();
- }
- }
-
- // 부작용유무 라디오버튼 선택시
- function fSetBuJakYongYN(ref){
- if(ref=="1"){
- if(model.getValue("/root/main/bizlist/u1list/seffcyn")=="1"){ // 부작용유
- cmb_bu1.disabled = false;
- model.setValue("/root/main/bizlist/u1list/seffccnts", cmb_bu1.label);
- }else{ //부작용무
- cmb_bu1.disabled = true;
- model.setValue("/root/main/bizlist/u1list/seffccnts", "");
- }
- }else if(ref=="2"){
- if(model.getValue("/root/main/bizlist/u2list/seffcyn")=="1"){ // 부작용유
- cmb_bu2.disabled = false;
- model.setValue("/root/main/bizlist/u2list/seffccnts", cmb_bu2.label);
- }else{ //부작용무
- cmb_bu2.disabled = true;
- model.setValue("/root/main/bizlist/u2list/seffccnts", "");
- }
- }else if(ref=="3"){
- if(model.getValue("/root/main/bizlist/u3list/seffcyn")=="1"){ // 부작용유
- cmb_bu3.disabled = false;
- model.setValue("/root/main/bizlist/u3list/seffccnts", cmb_bu3.label);
- }else{ //부작용무
- cmb_bu3.disabled = true;
- model.setValue("/root/main/bizlist/u3list/seffccnts", "");
- }
- }
-
-
- }
-
-
- function fSetBuCombo(ref){
-
- if(ref=="1"){
- model.setValue("/root/main/bizlist/u1list/seffccnts", cmb_bu1.label);
- }else if(ref=="2"){
- model.setValue("/root/main/bizlist/u2list/seffccnts", cmb_bu2.label);
- }else if(ref=="3"){
- model.setValue("/root/main/bizlist/u3list/seffccnts", cmb_bu3.label);
- }
- }
-
- // 널값 체크
- function fNullCheck(){
- var nullyn = "true";
- var msg = "";
-
- /// ///DB변경되면 요렇게 막은거 지우기
- if(model.getValue("/root/hidden/uhyung")=="1"){
- if(model.getValue("/root/main/bizlist/u1list/bizenddd")==""){
- model.setValue("/root/main/bizlist/u1list/bizenddd", "00000000");
- model.setValue("/root/main/bizlist/u1list/bizendtm", "0000");
- }else if(model.getValue("/root/main/bizlist/u1list/bizenddd")=="00000000"){
- // 아무것도 안함
- }else{
- // 종료일시 입력시에만 체크
- if(model.getValue("/root/main/bizlist/u1list/bizstartdd")==""){
- msg = "시작일시를 ";
- nullyn = "false";
- }
- if(model.getValue("/root/main/bizlist/u1list/bizstarttm")==""){
- msg = "시작일시를 ";
- nullyn = "false";
- }
- if(model.getValue("/root/main/bizlist/u1list/eqmtcd")==""){
- msg = "장비를 ";
- nullyn = "false";
- }
- if(model.getValue("/root/main/bizlist/u1list/veslptnccd")==""){
- msg = "혈관확보를 ";
- nullyn = "false";
- }
- if(model.getValue("/root/main/bizlist/u1list/antdkindcd")==""){
- msg = "항응고제 종류를 ";
- nullyn = "false";
- }
- if(model.getValue("/root/main/bizlist/u1list/antduseqty")==""){
- msg = "항응고제 사용량을 ";
- nullyn = "false";
- }
- if(model.getValue("/root/main/bizlist/u1list/seffcyn")==""){
- msg = "부작용여부를 ";
- nullyn = "false";
- }
- if(model.getValue("/root/main/bizlist/u1list/btype")==""){
- msg = "혈액형을 ";
- nullyn = "false";
- }
- if(model.getValue("/root/main/bizlist/u1list/fitnyn")==""){
- msg = "적합여부를 ";
- nullyn = "false";
- }
- if(model.getValue("/root/main/bizlist/u1list/donvol")==""){
- msg = "헌혈량을 ";
- nullyn = "false";
- }
-
- }
-
- }else if(model.getValue("/root/hidden/uhyung")=="2"){
- if(model.getValue("/root/main/bizlist/u2list/bizenddd")==""){
- model.setValue("/root/main/bizlist/u2list/bizenddd", "00000000");
- model.setValue("/root/main/bizlist/u2list/bizendtm", "0000");
- }else if(model.getValue("/root/main/bizlist/u2list/bizenddd")=="00000000"){
- // 아무것도 안함
- }else{
-
- if(model.getValue("/root/main/bizlist/u2list/bizstartdd")==""){
- msg = "시작일시를 ";
- nullyn = "false";
- }
- if(model.getValue("/root/main/bizlist/u2list/bizstarttm")==""){
- msg = "시작일시를 ";
- nullyn = "false";
- }
- if(model.getValue("/root/main/bizlist/u2list/eqmtcd")==""){
- msg = "장비를 ";
- nullyn = "false";
- }
- if(model.getValue("/root/main/bizlist/u2list/veslptnccd")==""){
- msg = "혈관확보를 ";
- nullyn = "false";
- }
- if(model.getValue("/root/main/bizlist/u2list/antdkindcd")==""){
- msg = "항응고제종류를 ";
- nullyn = "false";
- }
- if(model.getValue("/root/main/bizlist/u2list/antduseqty")==""){
- msg = "항응고제사용량을 ";
- nullyn = "false";
- }
- if(model.getValue("/root/main/bizlist/u2list/seffcyn")==""){
- msg = "부작용여부를 ";
- nullyn = "false";
- }
- if(model.getValue("/root/main/bizlist/u2list/donvol")==""){
- msg = "헌혈량을 ";
- nullyn = "false";
- }
- }
-
- }else if(model.getValue("/root/hidden/uhyung")=="3"){
-
- if(model.getValue("/root/main/bizlist/u3list/bizenddd")==""){
- model.setValue("/root/main/bizlist/u3list/bizenddd", "00000000");
- model.setValue("/root/main/bizlist/u3list/bizendtm", "0000");
- }else if(model.getValue("/root/main/bizlist/u3list/bizenddd")=="00000000"){
- // 아무것도 안함
- }else{
- if(model.getValue("/root/main/bizlist/u3list/bizstartdd")==""){
- msg = "시작일시를 ";
- nullyn = "false";
- }
- if(model.getValue("/root/main/bizlist/u3list/bizstarttm")==""){
- msg = "시작일시를 ";
- nullyn = "false";
- }
- if(model.getValue("/root/main/bizlist/u3list/eqmtcd")==""){
- msg = "장비를 ";
- nullyn = "false";
- }
- if(model.getValue("/root/main/bizlist/u3list/veslptnccd")==""){
- msg = "혈관확보를 ";
- nullyn = "false";
- }
- if(model.getValue("/root/main/bizlist/u3list/antdkindcd")==""){
- msg = "항응고제종류를 ";
- nullyn = "false";
- }
- if(model.getValue("/root/main/bizlist/u3list/antduseqty")==""){
- msg = "항응고제사용량을 ";
- nullyn = "false";
- }
- if(model.getValue("/root/main/bizlist/u3list/seffcyn")==""){
- msg = "부작용여부를 ";
- nullyn = "false";
- }
- if(model.getValue("/root/main/bizlist/u3list/rplabfld")==""){
- msg = "대체액을 ";
- nullyn = "false";
- }
- if(model.getValue("/root/main/bizlist/u3list/coll")==""){
- msg = "채집을 ";
- nullyn = "false";
- }
- if(model.getValue("/root/main/bizlist/u3list/elmn")==""){
- msg = "제거를 ";
- nullyn = "false";
- }
- if(model.getValue("/root/main/bizlist/u3list/curegoal")==""){
- msg = "치료목적을 ";
- nullyn = "false";
- }
- }
-
- }else if(model.getValue("/root/hidden/uhyung")=="4"){
- if(model.getValue("/root/main/bizlist/u4list/bizenddd")==""){
- model.setValue("/root/main/bizlist/u4list/bizenddd", "00000000");
- model.setValue("/root/main/bizlist/u4list/bizendtm", "0000");
- }else if(model.getValue("/root/main/bizlist/u4list/bizenddd")=="00000000"){
- // 아무것도 안함
- }else{
- if(model.getValue("/root/main/bizlist/u4list/uvadex")==""){
- msg = "uvadex를 ";
- nullyn = "false";
- }
- if(model.getValue("/root/main/bizlist/u4list/ecv")==""){
- msg = "ecv를 ";
- nullyn = "false";
- }
- if(model.getValue("/root/main/bizlist/u4list/cycle")==""){
- msg = "cycle를 ";
- nullyn = "false";
- }
- if(model.getValue("/root/main/bizlist/u4list/remain_lamp_life")==""){
- msg = "remain lamp life를 ";
- nullyn = "false";
- }
- if(model.getValue("/root/main/bizlist/u4list/uvar_xts_sn")==""){
- msg = "uvar xts sn를 ";
- nullyn = "false";
- }
- if(model.getValue("/root/main/bizlist/u4list/photoactiveation_time")==""){
- msg = "photoactiveation time를 ";
- nullyn = "false";
- }
- if(model.getValue("/root/main/bizlist/u4list/cmplt01")==""){
- msg = "항응고제를 ";
- nullyn = "false";
- }
- if(model.getValue("/root/main/bizlist/u4list/cmplt02")==""){
- msg = "치료용량를 ";
- nullyn = "false";
- }
- if(model.getValue("/root/main/bizlist/u4list/cmplt03")==""){
- msg = "saline을 ";
- nullyn = "false";
- }
- if(model.getValue("/root/main/bizlist/u4list/cmplt04")==""){
- msg = "total in을 ";
- nullyn = "false";
- }
-
- }
-
- }
-
- if(nullyn == "false"){
- messageBox(msg, "C001", ""); //입력하십시오
- }
- return nullyn;
-
- }
-
-
-
- // photo cycle 콤보 선택시 그리드 숨기고 보이기
- function fSetGrdCycle(){
- for(i=1; i<7; i++){
- grd_cycle.colHidden(i) = true;
- }
-
- var cols = cmb_cycle.value;
-
- for(i=1; i<=cols; i++){
- grd_cycle.colHidden(i) = false;
- }
- //grd_cycle.rebuild();
- grd_cycle.refresh();
- }
-
- //photo 일때 uvadex 는 return cycle Treatment volume 마지막칸 X 0.017
- function fSetPhotoUVADEX(){
-
- var cyclecol = cmb_cycle.value;
-
- var treatval = model.getValue("/root/main/bizlist/cycle/cycle1[3]/cnt" + cyclecol);
-
- if( treatval == ""){
- model.setValue("/root/main/bizlist/u4list/uvadex", "");
- }else{
- var uvadex = parseInt(treatval) * 0.017
- model.setValue("/root/main/bizlist/u4list/uvadex", uvadex);
- }
- ipt_uvadex.refresh();
-
-
-
- }
-
-
- // 환자정보검색 팝업 띄우기
- function fGetPatInfoPopUp(){
- modal("SPLBD91300", "", "", "","", "/root/hidden/viewgbn/view", "/root/hidden/viewgbn/view");
- model.setValue("/root/hidden/pid", model.getValue("/root/hidden/patinfolist/tnsrpid"));
- ipt_pid.refresh();
- fGetPatInfo("Y");
-
- }
-
-
- // vital 현재시간 넣기
- function fSetVitaltoTime(gbn, row){
-
- model.setValue("/root/main/rec/vital1["+row+"]/insptm", getCurrentTime().substring(0,4));
-
-
- }
-
- // nurrec 현재시간 넣기
- function fSetNurtoTime(gbn, row){
- model.setValue("/root/main/rec/nurrec["+row+"]/recdt", getCurrentTime().substring(0,4));
-
- }
-
- // 탑 정보
- function fSetTopInfo(){
- if(getPatientInfo("pid") != ""){
- delPatientInfos(); //환자정보 전체 삭제
- }
- var ordtype = "";
- var genrflag = model.getValue("/root/main/ptinfo/patinfo/prcpgenrflag");
- if((genrflag == "I") || (genrflag =="E") || (genrflag =="D")){
- ordtype = "I";
- }else if ((genrflag =="O") || (genrflag =="S")){
- ordtype = "O";
- }
-
- var today = getCurrentDate();
-
-
- if(ordtype == "I"){
- setParameter("condparam", genrflag + "▦" +
- model.getValue("/root/main/ptinfo/patinfo/tnsrpid") + "▦" +
- model.getValue("/root/main/ptinfo/patinfo/orddd") + "▦" +
- model.getValue("/root/main/ptinfo/patinfo/cretno") + "▦" +
- model.getValue("/root/main/ptinfo/patinfo/acptseqno") + "▦" + // seqno
- today + "▦" +
- model.getValue("/root/main/ptinfo/patinfo/instcd")); // 임시로
-
- }else if(ordtype == "O"){
- setParameter("condparam", genrflag + "▦" +
- model.getValue("/root/main/ptinfo/patinfo/tnsrpid") + "▦" +
- model.getValue("/root/main/ptinfo/patinfo/orddd") + "▦" +
- model.getValue("/root/main/ptinfo/patinfo/cretno") + "▦" +
- model.getValue("/root/main/ptinfo/patinfo/instcd") + "▦" +
- model.getValue("/root/main/ptinfo/patinfo/acptseqno") + "▦" +
- model.getValue("/root/main/ptinfo/patinfo/orgorddd") + "▦");
-
- }
- modal("SPMMO08900");
- }
-
-
- // 간호기록자명 조회
- function fGetNurNm(){
- var grdnm = "";
- var gRow = "";
-
- if(model.getValue("/root/hidden/uhyung")=="1"){
- gRow = grd_nur1.row;
- model.setvalue("/root/send/nurid", model.getValue("/root/main/rec/nurrec["+grd_nur1.row+"]/recrid"));
- }else if(model.getValue("/root/hidden/uhyung")=="2"){
- gRow = grd_nur2.row;
- model.setvalue("/root/send/nurid", model.getValue("/root/main/rec/nurrec["+grd_nur2.row+"]/recrid"));
- }else if(model.getValue("/root/hidden/uhyung")=="3"){
- gRow = grd_nur3.row;
- model.setvalue("/root/send/nurid", model.getValue("/root/main/rec/nurrec["+grd_nur3.row+"]/recrid"));
- }else if(model.getValue("/root/hidden/uhyung")=="4"){
- gRow = grd_nur4.row;
- model.setvalue("/root/send/nurid", model.getValue("/root/main/rec/nurrec["+grd_nur4.row+"]/recrid"));
- }
-
- if(submit("TRLBD01908")){
-
- model.setValue("/root/main/rec/nurrec["+gRow+"]/recrnm", model.getValue("/root/main/nurinfo/nurnm"));
-
- }
-
-
- }
-
-
- // 기록일자 돋보기버튼클릭 2008-06-23
- function fGetBizHistory(){
- model.setValue("/root/send/histdd", model.getValue("/root/hidden/histdd"));
- model.setValue("/root/send/pid", model.getValue("/root/hidden/pid"));
-
- submit("TRLBD01910");
-
- if(datagrid2.rows> 1){
- datagrid2.row = (datagrid2.rows-1);
-
- fGetBizPatInfo();
-
- // 업무종류선택 변경
- fSetBizKindSelect();
- }
- }
-
-
- //업무종류선택 변경 2008-06-23
- function fSetBizKindSelect(){
- if(model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/bizlrgkind")=="1"){
- model.setValue("/root/hidden/workgbn", "1");
- model.setValue("/root/hidden/dongbn", "L0091"+model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/bizmdlkind"));
- cmb_don.disabled = false;
- cmb_care.disabled = true;
- cmb_bmt.disabled = true;
-
- }else if (model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/bizlrgkind")=="2"){
- model.setValue("/root/hidden/workgbn", "2");
- model.setValue("/root/hidden/caregbn", "L0090"+model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/bizmdlkind"));
- cmb_don.disabled = true;
- cmb_care.disabled = false;
- cmb_bmt.disabled = true;
- }else if(model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/bizlrgkind")=="3"){
- model.setValue("/root/hidden/workgbn", "3");
- model.setValue("/root/hidden/bmtgbn", "L0092"+model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/bizmdlkind"));
- cmb_don.disabled = true;
- cmb_care.disabled = true;
- cmb_bmt.disabled = false;
- }
-
- rdo_work.refresh();
- cmb_don.refresh();
- cmb_care.refresh();
- cmb_bmt.refresh();
- //model.setValue("/root/hidden/uhyung", model.getValue("/root/main/ptinfo/history["+datagrid2.row+"]/uh"));
- //fSetGroupView();
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
- <group id="grp_4" style="left:255px; top:180px; width:939px; height:560px; ">
- <caption id="caption42" class="tit_2" style="left:460px; top:106px; width:104px; height:13px; ">간호기록</caption>
- <line id="line22" class="line_2" style="x1:1px; y1:196px; x2:452px; y2:196px; "/>
- <line id="line23" class="line_2" style="x1:1px; y1:172px; x2:452px; y2:172px; "/>
- <line id="line25" class="line_2" style="x1:1px; y1:148px; x2:452px; y2:148px; "/>
- <line id="line27" class="line_2" style="x1:1px; y1:220px; x2:452px; y2:220px; "/>
- <caption id="caption13" class="tit_2" style="left:6px; top:106px; width:104px; height:13px; ">업무내역등록</caption>
- <datagrid id="datagrid1" nodeset="/root/main/rsltview2/rslt" caption="항목^Hb(g/㎗)/Hct(%)^WBC(10~9/L)^PLT(10~9/L)^SGOT^GPT^TP/Alb^MAHA^TB/DB^Ca" colsep="^" colwidth="80, 120, 100, 90, 80, 80, 100, 80, 100, 80" dataheight="23" defaultrows="1" extendlastcol="scroll" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:20px; width:937px; height:71px; ">
- <col ref="rsltdd"/>
- <col ref="rslt01"/>
- <col ref="rslt02"/>
- <col ref="rslt03"/>
- <col ref="rslt04"/>
- <col ref="rslt05"/>
- <col ref="rslt06"/>
- <col ref="rslt07"/>
- <col ref="rslt08"/>
- <col ref="rslt09"/>
- </datagrid>
- <line id="line28" class="line_1" style="x1:0px; y1:15px; x2:937px; y2:15px; "/>
- <line id="line29" class="line_2" style="x1:1px; y1:453px; x2:452px; y2:453px; "/>
- <line id="line32" class="line_1" style="x1:1px; y1:121px; x2:452px; y2:121px; "/>
- <caption id="caption24" class="tit_2" style="left:5px; top:0px; width:118px; height:14px; ">결과</caption>
- <caption id="caption34" class="cell_1" style="left:1px; top:198px; width:100px; height:23px; vertical-align:middle; ">Remain lamp life</caption>
- <input id="input15" ref="/root/main/bizlist/u4list/photoactiveation_time" class="input_default" navindex="68" style="left:104px; top:432px; width:120px; height:19px; "/>
- <caption id="caption35" class="cell_1" style="left:1px; top:174px; width:100px; height:23px; vertical-align:middle; ">Cycle</caption>
- <input id="input23" ref="/root/main/bizlist/u4list/cmplt03" class="input_default" navindex="71" style="left:229px; top:504px; width:128px; height:19px; "/>
- <input id="input24" ref="/root/main/bizlist/u4list/cmplt04" class="input_default" navindex="72" style="left:229px; top:528px; width:128px; height:19px; "/>
- <line id="line33" class="line_2" style="x1:106px; y1:501px; x2:452px; y2:501px; "/>
- <line id="line34" class="line_2" style="x1:107px; y1:525px; x2:453px; y2:525px; "/>
- <caption id="caption38" class="cell_1" style="left:1px; top:455px; width:100px; height:95px; vertical-align:middle; ">Completion</caption>
- <input id="input25" ref="/root/main/bizlist/u4list/uvar_xts_sn" class="input_default" navindex="67" style="left:104px; top:223px; width:160px; height:19px; "/>
- <input id="input26" ref="/root/main/bizlist/u4list/cmplt02" class="input_default" navindex="70" style="left:229px; top:480px; width:128px; height:19px; "/>
- <caption id="caption39" class="cell_1" style="left:1px; top:222px; width:100px; height:23px; vertical-align:middle; ">UVAR XTS SN</caption>
- <caption id="caption40" class="cell_1" style="left:1px; top:431px; width:100px; height:23px; vertical-align:middle; ">Photoactivation</caption>
- <select id="checkbox2" ref="/root/main/bizlist/u4list/movewardyn" navindex="73" overflow="visible" appearance="full" style="left:330px; top:103px; width:75px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>이동병실</label>
- <value>1</value>
- </item>
- </choices>
- </select>
- <select id="checkbox3" ref="/root/main/bizlist/u4list/ngdtyn" navindex="74" overflow="visible" appearance="full" style="left:412px; top:103px; width:50px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>당직</label>
- <value>1</value>
- </item>
- </choices>
- </select>
- <caption id="caption15" class="cell_1" style="left:1px; top:126px; width:100px; height:23px; vertical-align:middle; ">UVADEX</caption>
- <caption id="caption26" class="cell_1" style="left:1px; top:150px; width:100px; height:23px; vertical-align:middle; ">ECV</caption>
- <caption id="caption32" style="left:270px; top:128px; width:165px; height:20px; ">ml add to photoavlivation bag</caption>
- <input id="input12" ref="/root/main/bizlist/u4list/ecv" class="input_default" navindex="64" style="left:104px; top:151px; width:160px; height:19px; "/>
- <caption id="caption14" style="left:270px; top:152px; width:165px; height:20px; ">ml</caption>
- <caption id="caption37" style="left:270px; top:176px; width:165px; height:20px; ">cycle</caption>
- <input id="input14" ref="/root/main/bizlist/u4list/remain_lamp_life" class="input_default" navindex="66" style="left:104px; top:199px; width:160px; height:19px; "/>
- <caption id="caption43" style="left:270px; top:200px; width:165px; height:20px; ">hrs</caption>
- <line id="line35" class="line_2" style="x1:1px; y1:244px; x2:452px; y2:244px; "/>
- <input id="input13" ref="/root/main/bizlist/u4list/cmplt01" class="input_default" navindex="69" style="left:229px; top:456px; width:128px; height:19px; "/>
- <caption id="caption36" class="cell_1" style="left:104px; top:479px; width:120px; height:23px; vertical-align:middle; ">치료용량</caption>
- <caption id="caption44" class="cell_1" style="left:104px; top:503px; width:120px; height:23px; vertical-align:middle; ">saline</caption>
- <caption id="caption45" class="cell_1" style="left:104px; top:527px; width:120px; height:23px; vertical-align:middle; ">total in</caption>
- <line id="line37" class="line_3" style="x1:1px; y1:549px; x2:452px; y2:549px; "/>
- <line id="line36" class="line_2" style="x1:104px; y1:477px; x2:450px; y2:477px; "/>
- <caption id="caption22" class="cell_1" style="left:104px; top:455px; width:120px; height:23px; vertical-align:middle; ">항응고제</caption>
- <caption id="caption41" style="left:231px; top:432px; width:100px; height:20px; ">minutes</caption>
- <caption id="caption46" style="left:360px; top:457px; width:75px; height:20px; ">ml</caption>
- <caption id="caption47" style="left:360px; top:481px; width:75px; height:20px; ">ml</caption>
- <caption id="caption48" style="left:360px; top:505px; width:75px; height:20px; ">ml</caption>
- <caption id="caption49" style="left:360px; top:529px; width:75px; height:20px; ">ml</caption>
- <caption id="caption86" visibility="hidden" style="left:115px; top:95px; width:90px; height:20px; color:#0000ff; ">유형4 (숨길꺼)</caption>
- <line id="line24" class="line_1" style="x1:455px; y1:121px; x2:936px; y2:121px; "/>
- <datagrid id="grd_nur4" nodeset="/root/main/rec/nurrec" class="datagrid_btype" caption="기록시간^기록자ID^기록자명^내용^seq" colsep="^" colwidth="82, 70, 60, 242, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:455px; top:126px; width:482px; height:432px; ">
- <col autonext="true" ref="recdt" type="inputbutton" format="hh:nn" style="text-align:center; "/>
- <col autonext="true" ref="recrid" type="input" style="text-align:center; "/>
- <col autonext="true" ref="recrnm" type="input" style="text-align:center; "/>
- <col autonext="true" ref="reccnts" type="input" style="text-align:left; "/>
- <col ref="seq"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- fSetNurtoTime("4", grd_nur4.row);
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
-
- if(grd_nur4.col = 2){
- if(event.keyCode == "13"){
- fGetNurNm();
- }
- }
-
- ]]>
- </script>
- </datagrid>
- <button id="button23" class="btn2_letter2" style="left:848px; top:101px; width:42px; height:19px; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetNur1("4");
- ]]>
- </script>
- </button>
- <button id="button24" class="btn2_letter2" style="left:894px; top:101px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelNur1("4");
- ]]>
- </script>
- </button>
- <datagrid id="grd_cycle" nodeset="/root/main/bizlist/cycle/cycle1" caption="return cycle^1st^2nd^3rd^4th^5th^6th" colsep="^" colwidth="150, 46, 46, 46, 46, 46, 46" ellipsis="true" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:250px; width:452px; height:180px; ">
- <col ref="title" type="input"/>
- <col autonext="true" ref="cnt1" type="input"/>
- <col autonext="true" ref="cnt2" type="input"/>
- <col autonext="true" ref="cnt3" type="input"/>
- <col autonext="true" ref="cnt4" type="input"/>
- <col autonext="true" ref="cnt5" type="input"/>
- <col autonext="true" ref="cnt6" type="input"/>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- if((grd_cycle.row == 3) && (grd_cycle.col == cmb_cycle.value)){
- fSetPhotoUVADEX();
- }
- ]]>
- </script>
- </datagrid>
- <select1 id="cmb_cycle" ref="/root/main/bizlist/u4list/cycle" class="combo_essential" navindex="65" appearance="minimal" style="left:104px; top:175px; width:160px; height:19px; ">
- <choices>
- <item>
- <label>1</label>
- <value>1</value>
- </item>
- <item>
- <label>2</label>
- <value>2</value>
- </item>
- <item>
- <label>3</label>
- <value>3</value>
- </item>
- <item>
- <label>4</label>
- <value>4</value>
- </item>
- <item>
- <label>5</label>
- <value>5</value>
- </item>
- <item>
- <label>6</label>
- <value>6</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fSetGrdCycle();
- ]]>
- </script>
- </select1>
- <input id="ipt_uvadex" ref="/root/main/bizlist/u4list/uvadex" class="input_default" navindex="63" style="left:104px; top:127px; width:160px; height:19px; "/>
- </group>
- <group id="grp_3" style="left:255px; top:180px; width:938px; height:560px; ">
- <caption id="caption89" class="cell_1" style="left:0px; top:394px; width:100px; height:164px; vertical-align:middle; ">Vital Sign</caption>
- <input id="ipt_cure_edd" ref="/root/main/bizlist/u3list/bizenddd" class="input_default" navindex="45" inputtype="date" style="left:302px; top:127px; width:85px; height:19px; "/>
- <line id="line49" class="line_1" style="x1:0px; y1:15px; x2:937px; y2:15px; "/>
- <line id="line50" class="line_2" style="x1:1px; y1:220px; x2:452px; y2:220px; "/>
- <input id="ipt_cure_etm" ref="/root/main/bizlist/u3list/bizendtm" class="input_default" navindex="46" format="hh:nn" style="left:390px; top:127px; width:40px; height:19px; "/>
- <line id="line51" class="line_2" style="x1:1px; y1:268px; x2:452px; y2:268px; "/>
- <caption id="caption75" class="cell_1" style="left:229px; top:150px; width:100px; height:23px; vertical-align:middle; ">혈관확보</caption>
- <line id="line52" class="line_1" style="x1:1px; y1:121px; x2:452px; y2:121px; "/>
- <datagrid id="grd_cure_rslt" nodeset="/root/main/rsltview2/rslt" caption="항목^Hb(g/㎗)/Hct(%)^WBC(10~9/L)^PLT(10~9/L)^SGOT^SGPT^TP/Alb^MAHA^TB/DB^Ca" colsep="^" colwidth="80, 120, 100, 90, 80, 80, 100, 80, 100, 80" dataheight="23" defaultrows="1" extendlastcol="scroll" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:20px; width:937px; height:71px; ">
- <col ref="rsltdd" format="yyyy-mm-dd"/>
- <col ref="rslt01" format="yyyy-mm-dd hh:nn"/>
- <col ref="rslt02" format="yyyy-mm-dd hh:nn"/>
- <col ref="rslt03"/>
- <col ref="rslt04"/>
- <col ref="rslt05"/>
- <col checkvalue="1,0" ref="rslt06"/>
- <col ref="rslt07" format="yyyy-mm-dd"/>
- <col ref="rslt08" format="yyyy-mm-dd"/>
- <col ref="rslt09"/>
- </datagrid>
- <line id="line53" class="line_2" style="x1:1px; y1:148px; x2:452px; y2:148px; "/>
- <input id="ipt_cure_sdd" ref="/root/main/bizlist/u3list/bizstartdd" class="input_default" navindex="43" inputtype="date" style="left:74px; top:127px; width:85px; height:19px; "/>
- <line id="line54" class="line_2" style="x1:1px; y1:172px; x2:452px; y2:172px; "/>
- <input id="ipt_cure_acs_vol" ref="/root/main/bizlist/u3list/antduseqty" class="input_default" navindex="50" style="left:332px; top:175px; width:120px; height:19px; "/>
- <caption id="caption78" class="cell_1" style="left:229px; top:246px; width:100px; height:23px; vertical-align:middle; ">채집/ 제거</caption>
- <line id="line55" class="line_2" style="x1:1px; y1:196px; x2:452px; y2:196px; "/>
- <select1 id="cmb_cure_goal" ref="/root/main/bizlist/u3list/curegoal" class="combo_essential" navindex="57" appearance="minimal" style="left:104px; top:271px; width:120px; height:19px; ">
- <choices>
- <item>
- <label>Pre BMT</label>
- <value>1</value>
- </item>
- <item>
- <label>Post BMT 합병증</label>
- <value>2</value>
- </item>
- <item>
- <label>세포공여</label>
- <value>3</value>
- </item>
- <item>
- <label>Depletion</label>
- <value>4</value>
- </item>
- <item>
- <label>기타</label>
- <value>5</value>
- </item>
- </choices>
- </select1>
- <caption id="caption80" class="tit_2" style="left:5px; top:0px; width:118px; height:14px; ">결과</caption>
- <caption id="caption81" class="cell_1" style="left:229px; top:126px; width:70px; height:23px; vertical-align:middle; ">종료일시</caption>
- <caption id="caption82" class="tit_2" style="left:6px; top:106px; width:104px; height:13px; ">업무내역등록</caption>
- <input id="ipt_cure2" ref="/root/main/bizlist/u3list/elmn" class="input_default" navindex="56" style="left:394px; top:247px; width:58px; height:19px; "/>
- <input id="ipt_cure_stm" ref="/root/main/bizlist/u3list/bizstarttm" class="input_default" navindex="44" format="hh:nn" style="left:162px; top:127px; width:40px; height:19px; "/>
- <input id="ipt_cure1" ref="/root/main/bizlist/u3list/coll" class="input_default" navindex="55" style="left:332px; top:247px; width:58px; height:19px; "/>
- <caption id="caption84" class="cell_1" style="left:229px; top:174px; width:100px; height:23px; vertical-align:middle; ">항응고제 사용량</caption>
- <select1 id="rdo_seffc" ref="/root/main/bizlist/u3list/seffcyn" navindex="51" appearance="full" cellspacing="30" cols="2" overflow="visible" style="left:106px; top:201px; width:105px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>유</label>
- <value>1</value>
- </item>
- <item>
- <label>무</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSetBuJakYongYN("3");
- ]]>
- </script>
- </select1>
- <select id="chk_cure_flag" ref="/root/main/bizlist/u3list/movewardyn" navindex="61" overflow="visible" appearance="full" cellspacing="25" cols="2" style="left:332px; top:104px; width:75px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>이동병실</label>
- <value>1</value>
- </item>
- </choices>
- </select>
- <select id="checkbox1" ref="/root/main/bizlist/u3list/ngdtyn" navindex="62" overflow="visible" appearance="full" cellspacing="25" cols="2" style="left:412px; top:104px; width:50px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>당직</label>
- <value>1</value>
- </item>
- </choices>
- </select>
- <caption id="caption9" visibility="hidden" style="left:125px; top:95px; width:100px; height:20px; ">유형3 (숨길꺼)</caption>
- <caption id="caption83" class="cell_1" style="left:1px; top:246px; width:100px; height:23px; vertical-align:middle; ">대체액</caption>
- <caption id="caption73" class="cell_1" style="left:1px; top:126px; width:70px; height:23px; vertical-align:middle; ">시작일시</caption>
- <caption id="caption74" class="cell_1" style="left:1px; top:150px; width:100px; height:23px; vertical-align:middle; ">장비</caption>
- <caption id="caption76" class="cell_1" style="left:1px; top:198px; width:100px; height:23px; vertical-align:middle; ">부작용</caption>
- <caption id="caption77" class="cell_1" style="left:1px; top:174px; width:100px; height:23px; vertical-align:middle; ">항응고제 종류</caption>
- <line id="line12" class="line_2" style="x1:1px; y1:244px; x2:452px; y2:244px; "/>
- <caption id="caption10" class="cell_1" style="left:1px; top:222px; width:100px; height:23px; vertical-align:middle; ">부작용 처리사항</caption>
- <input id="input5" ref="/root/main/bizlist/u3list/seffctretcnts" class="input_default" navindex="53" style="left:104px; top:223px; width:348px; height:19px; "/>
- <line id="line16" class="line_2" style="x1:1px; y1:292px; x2:452px; y2:292px; "/>
- <caption id="caption79" class="cell_1" style="left:1px; top:270px; width:100px; height:23px; vertical-align:middle; ">치료목적</caption>
- <caption id="caption11" class="cell_1" style="left:1px; top:294px; width:100px; height:71px; vertical-align:middle; ">채혈 Kit</caption>
- <line id="line56" class="line_3" style="x1:1px; y1:364px; x2:452px; y2:364px; "/>
- <select1 id="combo1" ref="/root/main/bizlist/u3list/veslptnccd" class="combo_essential" navindex="48" appearance="minimal" style="left:332px; top:151px; width:120px; height:19px; ">
- <choices>
- <item>
- <label>Peripheral Vein</label>
- <value>1</value>
- </item>
- <item>
- <label>Central Cath</label>
- <value>2</value>
- </item>
- <item>
- <label>Femoral Cath</label>
- <value>3</value>
- </item>
- <item>
- <label>Pheripheral + Central</label>
- <value>4</value>
- </item>
- </choices>
- </select1>
- <input id="textarea3" ref="/root/main/bizlist/u3list/bcollkit1" navindex="58" appearance="input" style="left:104px; top:295px; width:348px; height:19px; "/>
- <select1 id="combo3" ref="/root/main/bizlist/u3list/eqmtcd" class="combo_essential" navindex="47" appearance="minimal" style="left:104px; top:151px; width:120px; height:19px; ">
- <choices>
- <item>
- <label>Spectra</label>
- <value>1</value>
- </item>
- <item>
- <label>MCS-3P + KM8300</label>
- <value>2</value>
- </item>
- <item>
- <label>KM8800</label>
- <value>3</value>
- </item>
- <item>
- <label>UVAR XTS</label>
- <value>4</value>
- </item>
- </choices>
- </select1>
- <select1 id="combo4" ref="/root/main/bizlist/u3list/antdkindcd" class="combo_essential" navindex="49" appearance="minimal" style="left:104px; top:175px; width:120px; height:19px; ">
- <choices>
- <item>
- <label>ACD-A(㎖)</label>
- <value>1</value>
- </item>
- <item>
- <label>Heparin(u)</label>
- <value>2</value>
- </item>
- <item>
- <label>10PS5 + TSC</label>
- <value>3</value>
- </item>
- <item>
- <label>ACD-A+HPR</label>
- <value>4</value>
- </item>
- </choices>
- </select1>
- <select1 id="combo5" ref="/root/main/bizlist/u3list/rplabfld" class="combo_essential" navindex="54" appearance="minimal" style="left:104px; top:247px; width:120px; height:19px; ">
- <choices>
- <item>
- <label>5%albumin + FFP</label>
- <value>1</value>
- </item>
- <item>
- <label>5%albumin + FP</label>
- <value>2</value>
- </item>
- <item>
- <label>CRYO + FFP</label>
- <value>3</value>
- </item>
- <item>
- <label>Others</label>
- <value>4</value>
- </item>
- </choices>
- </select1>
- <line id="line21" class="line_1" style="x1:455px; y1:121px; x2:936px; y2:121px; "/>
- <caption id="caption87" class="tit_2" style="left:460px; top:106px; width:104px; height:13px; ">간호기록</caption>
- <button id="button4" class="btn2_letter2" navindex="-1" style="left:6px; top:395px; width:42px; height:19px; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetVital1("3");
- ]]>
- </script>
- </button>
- <button id="button6" class="btn2_letter2" navindex="-1" style="left:52px; top:395px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelVital1("3");
- ]]>
- </script>
- </button>
- <line id="line38" class="line_1" style="x1:0px; y1:389px; x2:451px; y2:389px; "/>
- <button id="button12" class="icon_clock" navindex="-1" style="left:207px; top:128px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetToddtm("3", "start");
- ]]>
- </script>
- </button>
- <button id="button13" class="icon_clock" navindex="-1" style="left:434px; top:128px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetToddtm("3", "end");
- ]]>
- </script>
- </button>
- <input id="input11" ref="/root/main/bizlist/u3list/bcollkit2" navindex="59" appearance="input" style="left:104px; top:319px; width:348px; height:19px; "/>
- <input id="input16" ref="/root/main/bizlist/u3list/bcollkit3" navindex="60" appearance="input" style="left:104px; top:343px; width:348px; height:19px; "/>
- <line id="line57" class="line_2" style="x1:105px; y1:316px; x2:452px; y2:316px; "/>
- <line id="line58" class="line_2" style="x1:105px; y1:340px; x2:452px; y2:340px; "/>
- <datagrid id="grd_vital3" nodeset="/root/main/rec/vital1" caption="측정시간^혈압^혈압^맥박^호흡^체온^seq" colsep="^" colwidth="70, 46, 46, 46, 46, 46, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:103px; top:395px; width:348px; height:163px; ">
- <col autonext="true" ref="insptm" type="inputbutton" format="hh:nn"/>
- <col autonext="true" ref="bp1" type="input"/>
- <col autonext="true" ref="bp2" type="input"/>
- <col autonext="true" ref="pluse" type="input"/>
- <col autonext="true" ref="breth" type="input"/>
- <col autonext="true" ref="bdtp" type="input"/>
- <col ref="seq"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- fSetVitaltoTime("3", grd_vital3.row);
- ]]>
- </script>
- </datagrid>
- <select1 id="cmb_bu3" ref="/root/main/bizlist/u3list/seffccd" navindex="52" appearance="minimal" style="left:229px; top:199px; width:223px; height:19px; ">
- <choices>
- <item>
- <label>혈관미주신경반응</label>
- <value>1</value>
- </item>
- <item>
- <label>피하출혈</label>
- <value>2</value>
- </item>
- <item>
- <label>구연산반응</label>
- <value>3</value>
- </item>
- <item>
- <label>접촉성피부염</label>
- <value>4</value>
- </item>
- <item>
- <label>혈전성정맥염(Thrombophlebitis)</label>
- <value>5</value>
- </item>
- <item>
- <label>과환기증후군</label>
- <value>6</value>
- </item>
- <item>
- <label>기타-free text 입력</label>
- <value>7</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fSetBuCombo("3");
- ]]>
- </script>
- </select1>
- <datagrid id="grd_nur3" nodeset="/root/main/rec/nurrec" class="datagrid_btype" caption="기록시간^기록자ID^기록자명^내용^seq" colsep="^" colwidth="80, 70, 70, 237, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:455px; top:126px; width:482px; height:432px; ">
- <col autonext="true" ref="recdt" type="inputbutton" format="hh:nn"/>
- <col autonext="true" ref="recrid" type="input"/>
- <col autonext="true" ref="recrnm" type="input"/>
- <col autonext="true" ref="reccnts" type="input"/>
- <col ref="seq"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- fSetNurtoTime("3", grd_nur3.row);
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(grd_nur3.col = 2){
- if(event.keyCode == "13"){
- fGetNurNm();
- }
- }
- ]]>
- </script>
- </datagrid>
- <button id="button21" class="btn2_letter2" navindex="-1" style="left:848px; top:101px; width:42px; height:19px; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetNur1("3");
- ]]>
- </script>
- </button>
- <button id="button22" class="btn2_letter2" navindex="-1" style="left:894px; top:101px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelNur1("3");
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_2" style="left:255px; top:180px; width:939px; height:560px; ">
- <caption id="caption90" class="cell_1" style="left:0px; top:399px; width:100px; height:156px; vertical-align:middle; ">Vital Sign</caption>
- <input id="textarea2" ref="/root/main/bizlist/u2list/bcollkit1" navindex="40" appearance="input" style="left:104px; top:295px; width:348px; height:19px; "/>
- <line id="line47" class="line_2" style="x1:1px; y1:196px; x2:452px; y2:196px; "/>
- <line id="line46" class="line_2" style="x1:1px; y1:172px; x2:452px; y2:172px; "/>
- <line id="line45" class="line_2" style="x1:1px; y1:148px; x2:452px; y2:148px; "/>
- <line id="line41" class="line_2" style="x1:1px; y1:220px; x2:452px; y2:220px; "/>
- <input id="ipt_self_sdd" ref="/root/main/bizlist/u2list/bizstartdd" class="input_default" navindex="22" inputtype="date" style="left:74px; top:127px; width:85px; height:19px; "/>
- <caption id="caption60" class="tit_2" style="left:6px; top:106px; width:104px; height:13px; ">업무내역등록</caption>
- <input id="ipt_self_acs_vol" ref="/root/main/bizlist/u2list/antduseqty" class="input_default" navindex="29" style="left:332px; top:175px; width:120px; height:19px; "/>
- <input id="ipt_self_no" ref="/root/main/bizlist/u2list/brgstno" class="input_default" visibility="hidden" style="left:455px; top:270px; width:120px; height:19px; "/>
- <datagrid id="grd_self_rslt" nodeset="/root/main/rsltview2/rslt" caption="항목^Hb(g/㎗)/Hct(%)^WBC(10~9/L)^PLT(10~9/L)^SGOT^GPT^TP/Alb^MAHA^TB/DB^Ca" colsep="^" colwidth="80, 120, 100, 90, 80, 80, 100, 80, 100, 80" dataheight="23" defaultrows="1" extendlastcol="scroll" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:20px; width:938px; height:71px; ">
- <col ref="rsltdd"/>
- <col ref="rslt01"/>
- <col ref="rslt02"/>
- <col ref="rslt03"/>
- <col ref="rslt04"/>
- <col ref="rslt05"/>
- <col ref="rslt06"/>
- <col ref="rslt07"/>
- <col ref="rslt08"/>
- <col ref="rslt09"/>
- </datagrid>
- <caption id="caption62" class="cell_1" style="left:229px; top:174px; width:100px; height:23px; vertical-align:middle; ">항응고제 사용량</caption>
- <line id="line42" class="line_1" style="x1:0px; y1:15px; x2:938px; y2:15px; "/>
- <caption id="caption63" class="cell_1" style="left:1px; top:126px; width:70px; height:23px; vertical-align:middle; ">시작일시</caption>
- <line id="line43" class="line_2" style="x1:1px; y1:268px; x2:452px; y2:268px; "/>
- <caption id="caption64" class="cell_1" style="left:229px; top:270px; width:100px; height:23px; vertical-align:middle; ">헌혈증번호</caption>
- <line id="line44" class="line_1" style="x1:1px; y1:121px; x2:452px; y2:121px; "/>
- <caption id="caption65" class="tit_2" style="left:5px; top:0px; width:118px; height:14px; ">결과</caption>
- <caption id="caption66" class="cell_1" style="left:1px; top:150px; width:100px; height:23px; vertical-align:middle; ">장비</caption>
- <caption id="caption67" class="cell_1" style="left:229px; top:150px; width:100px; height:23px; vertical-align:middle; ">혈관확보</caption>
- <caption id="caption68" class="cell_1" style="left:1px; top:198px; width:100px; height:23px; vertical-align:middle; ">부작용</caption>
- <caption id="caption69" class="cell_1" style="left:1px; top:174px; width:100px; height:23px; vertical-align:middle; ">항응고제 종류</caption>
- <input id="ipt_self_stm" ref="/root/main/bizlist/u2list/bizstarttm" class="input_default" navindex="23" format="hh:nn" style="left:162px; top:127px; width:40px; height:19px; "/>
- <caption id="caption70" class="cell_1" style="left:229px; top:246px; width:100px; height:23px; vertical-align:middle; ">헌혈량</caption>
- <input id="ipt_self_vol" ref="/root/main/bizlist/u2list/donvol" class="input_default" navindex="34" style="left:332px; top:247px; width:120px; height:19px; "/>
- <input id="ipt_self_edd" ref="/root/main/bizlist/u2list/bizenddd" class="input_default" navindex="24" inputtype="date" style="left:302px; top:127px; width:85px; height:19px; "/>
- <caption id="caption72" class="cell_1" style="left:229px; top:126px; width:70px; height:23px; vertical-align:middle; ">종료일시</caption>
- <input id="ipt_self_etm" ref="/root/main/bizlist/u2list/bizendtm" class="input_default" navindex="25" format="hh:nn" style="left:390px; top:127px; width:40px; height:19px; "/>
- <select1 id="rdo_self_seffc" ref="/root/main/bizlist/u2list/seffcyn" navindex="30" appearance="full" cellspacing="30" cols="2" overflow="visible" style="left:106px; top:201px; width:105px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>유</label>
- <value>1</value>
- </item>
- <item>
- <label>무</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSetBuJakYongYN("2");
- ]]>
- </script>
- </select1>
- <line id="line30" class="line_2" style="x1:1px; y1:244px; x2:452px; y2:244px; "/>
- <caption id="caption33" class="cell_1" style="left:1px; top:294px; width:100px; height:71px; vertical-align:middle; ">채혈 Kit</caption>
- <line id="line31" class="line_2" style="x1:1px; y1:292px; x2:452px; y2:292px; "/>
- <input id="input20" ref="/root/main/bizlist/u2list/seffctretcnts" class="input_default" navindex="32" style="left:104px; top:223px; width:348px; height:19px; "/>
- <caption id="caption28" class="cell_1" style="left:1px; top:222px; width:100px; height:23px; vertical-align:middle; ">부작용 처리사항</caption>
- <caption id="caption61" class="cell_1" style="left:1px; top:246px; width:100px; height:23px; vertical-align:middle; ">혈액형</caption>
- <caption id="caption71" class="cell_1" style="left:1px; top:270px; width:100px; height:23px; vertical-align:middle; ">적합여부</caption>
- <line id="line48" class="line_3" style="x1:1px; y1:364px; x2:452px; y2:364px; "/>
- <caption id="caption12" visibility="hidden" style="left:155px; top:100px; width:100px; height:20px; ">유형2 (숨길꺼)</caption>
- <output id="output1" ref="/root/main/bizlist/u2list/btype" class="output_fix" navindex="33" appearance="output" maxlength="24" style="left:105px; top:247px; width:120px; height:19px; "/>
- <output id="output2" ref="/root/main/bizlist/u2list/fitnyn" class="output_fix" navindex="35" appearance="output" maxlength="24" style="left:105px; top:271px; width:35px; height:19px; "/>
- <select1 id="cmb_self_eqmt" ref="/root/main/bizlist/u2list/eqmtcd" class="combo_essential" navindex="26" appearance="minimal" style="left:104px; top:151px; width:120px; height:19px; ">
- <choices>
- <item>
- <label>MCS-3P</label>
- <value>1</value>
- </item>
- <item>
- <label>MCS+</label>
- <value>2</value>
- </item>
- <item>
- <label>TRIMA</label>
- <value>3</value>
- </item>
- <item>
- <label>SPECTRA</label>
- <value>4</value>
- </item>
- <item>
- <label>혈액 믹서기</label>
- <value>5</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_self_vesl" ref="/root/main/bizlist/u2list/veslptnccd" class="combo_essential" navindex="27" appearance="minimal" style="left:332px; top:151px; width:120px; height:19px; ">
- <choices>
- <item>
- <label>Peripheral Vein</label>
- <value>1</value>
- </item>
- <item>
- <label>Central Cath</label>
- <value>2</value>
- </item>
- <item>
- <label>Femoral Cath</label>
- <value>3</value>
- </item>
- <item>
- <label>Pheripheral + Central</label>
- <value>4</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_self_acs" ref="/root/main/bizlist/u2list/antdkindcd" class="combo_essential" navindex="28" appearance="minimal" style="left:104px; top:175px; width:120px; height:19px; ">
- <choices>
- <item>
- <label>ACD-A(㎖)</label>
- <value>1</value>
- </item>
- <item>
- <label>Heparin(u)</label>
- <value>2</value>
- </item>
- <item>
- <label>10PS5 + TSC</label>
- <value>3</value>
- </item>
- <item>
- <label>ACD-A+HPR</label>
- <value>4</value>
- </item>
- </choices>
- </select1>
- <input id="input4" ref="/root/main/brgstno/brgstnoseq" navindex="39" style="left:405px; top:271px; width:47px; height:19px; "/>
- <input id="input8" ref="/root/hidden/brgstno/brgstno1" class="input_default" navindex="37" maxlength="10" style="left:332px; top:271px; width:25px; height:19px; "/>
- <caption id="caption55" style="left:358px; top:273px; width:10px; height:15px; ">-</caption>
- <caption id="caption56" style="left:394px; top:273px; width:10px; height:15px; ">-</caption>
- <caption id="caption57" visibility="hidden" style="left:455px; top:255px; width:100px; height:20px; ">숨길 헌혈증번호</caption>
- <input id="input9" ref="/root/hidden/brgstno/brgstno2" class="input_default" navindex="38" maxlength="10" style="left:368px; top:271px; width:25px; height:19px; "/>
- <caption id="caption88" class="tit_2" style="left:460px; top:106px; width:104px; height:13px; ">간호기록</caption>
- <line id="line26" class="line_1" style="x1:455px; y1:121px; x2:936px; y2:121px; "/>
- <button id="button7" class="btn2_letter2" navindex="-1" style="left:6px; top:400px; width:42px; height:19px; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetVital1("2");
- ]]>
- </script>
- </button>
- <button id="button8" class="btn2_letter2" navindex="-1" style="left:52px; top:400px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelVital1("2");
- ]]>
- </script>
- </button>
- <line id="line39" class="line_1" style="x1:0px; y1:394px; x2:451px; y2:394px; "/>
- <button id="button17" class="icon_clock" navindex="-1" style="left:207px; top:128px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetToddtm("2", "start");
- ]]>
- </script>
- </button>
- <button id="button18" class="icon_clock" navindex="-1" style="left:434px; top:128px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetToddtm("2", "end");
- ]]>
- </script>
- </button>
- <input id="input17" ref="/root/main/bizlist/u2list/bcollkit2" navindex="41" appearance="input" style="left:104px; top:319px; width:348px; height:19px; "/>
- <line id="line59" class="line_2" style="x1:105px; y1:316px; x2:452px; y2:316px; "/>
- <line id="line60" class="line_2" style="x1:105px; y1:340px; x2:452px; y2:340px; "/>
- <input id="input18" ref="/root/main/bizlist/u2list/bcollkit3" navindex="42" appearance="input" style="left:104px; top:343px; width:348px; height:19px; "/>
- <datagrid id="grd_vital2" nodeset="/root/main/rec/vital1" caption="측정시간^혈압^혈압^맥박^호흡^체온^seq" colsep="^" colwidth="74, 46, 46, 46, 46, 46, 0" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:103px; top:400px; width:348px; height:155px; ">
- <col autonext="true" ref="insptm" type="inputbutton" format="hh:nn"/>
- <col autonext="true" ref="bp1" type="input"/>
- <col autonext="true" ref="bp2" type="input"/>
- <col autonext="true" ref="pluse" type="input"/>
- <col autonext="true" ref="breth" type="input"/>
- <col autonext="true" ref="bdtp" type="input"/>
- <col ref="seq"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- fSetVitaltoTime("2", grd_vital2.row);
- ]]>
- </script>
- </datagrid>
- <select1 id="cmb_bu2" ref="/root/main/bizlist/u2list/seffccd" navindex="31" appearance="minimal" style="left:229px; top:199px; width:223px; height:19px; ">
- <choices>
- <item>
- <label>혈관미주신경반응</label>
- <value>1</value>
- </item>
- <item>
- <label>피하출혈</label>
- <value>2</value>
- </item>
- <item>
- <label>구연산반응</label>
- <value>3</value>
- </item>
- <item>
- <label>접촉성피부염</label>
- <value>4</value>
- </item>
- <item>
- <label>혈전성정맥염(Thrombophlebitis)</label>
- <value>5</value>
- </item>
- <item>
- <label>과환기증후군</label>
- <value>6</value>
- </item>
- <item>
- <label>기타-free text 입력</label>
- <value>7</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fSetBuCombo("2");
- ]]>
- </script>
- </select1>
- <datagrid id="grd_nur2" nodeset="/root/main/rec/nurrec" class="datagrid_btype" caption="기록시간^기록자ID^기록자명^내용^seq" colsep="^" colwidth="80, 70, 70, 237, 0" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:455px; top:126px; width:482px; height:429px; ">
- <col autonext="true" ref="recdt" type="inputbutton" format="hh:nn"/>
- <col autonext="true" ref="recrid" type="input"/>
- <col autonext="true" ref="recrnm" type="input"/>
- <col autonext="true" ref="reccnts" type="input"/>
- <col ref="seq"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- fSetNurtoTime("2", grd_nur2.row);
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(grd_nur2.col = 2){
- if(event.keyCode == "13"){
- fGetNurNm();
- }
- }
- ]]>
- </script>
- </datagrid>
- <button id="button25" class="btn2_letter2" navindex="-1" style="left:848px; top:101px; width:42px; height:19px; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetNur1("2");
- ]]>
- </script>
- </button>
- <button id="button26" class="btn2_letter2" navindex="-1" style="left:894px; top:101px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelNur1("2");
- ]]>
- </script>
- </button>
- <select1 id="combo6" ref="/root/main/bizlist/u2list/fitnyn" disabled="true" navindex="36" appearance="minimal" style="left:139px; top:271px; width:86px; height:19px; ">
- <choices>
- <item>
- <label>적합</label>
- <value>Y</value>
- </item>
- <item>
- <label>부적합</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- </group>
- <group id="grp_1" style="left:255px; top:180px; width:938px; height:560px; ">
- <caption id="caption85" class="tit_2" style="left:460px; top:186px; width:104px; height:14px; ">간호기록</caption>
- <line id="line3" class="line_2" style="x1:0px; y1:300px; x2:451px; y2:300px; "/>
- <output id="ipt_dno_btype" ref="/root/main/bizlist/u1list/btype" class="output_fix" navindex="12" appearance="output" maxlength="24" style="left:103px; top:327px; width:120px; height:19px; "/>
- <line id="line4" class="line_2" style="x1:0px; y1:348px; x2:451px; y2:348px; "/>
- <input id="ipt_dno_stm" ref="/root/main/bizlist/u1list/bizstarttm" class="input_default" navindex="2" format="hh:nn" style="left:161px; top:207px; width:40px; height:19px; "/>
- <line id="line6" class="line_1" style="x1:0px; y1:201px; x2:451px; y2:201px; "/>
- <line id="line7" class="line_2" style="x1:0px; y1:228px; x2:451px; y2:228px; "/>
- <input id="ipt_dno_vol" ref="/root/main/bizlist/u1list/donvol" class="input_default" navindex="13" imemode="alpha" style="left:331px; top:327px; width:120px; height:19px; "/>
- <line id="line10" class="line_2" style="x1:0px; y1:252px; x2:451px; y2:252px; "/>
- <datagrid id="grd_dnor_rslt" nodeset="/root/main/rsltview/rslt" caption="결과일자^Hb(g/㎗)/Hct(%)^WBC(10~9/L)^PLT(10~9/L)^SGOT^SGPT^혈액형^매독^B형감염항원^에이즈항체^C염간염항체^말라리아" colsep="^" colwidth="70, 105, 84, 80, 54, 54, 54, 60, 60, 60, 60, 60" dataheight="23" defaultrows="1" ellipsis="true" extendlastcol="scroll" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:101px; top:130px; width:836px; height:48px; ">
- <col ref="rsltdd"/>
- <col ref="rslt01"/>
- <col ref="rslt02"/>
- <col ref="rslt03"/>
- <col ref="rslt04"/>
- <col ref="rslt05"/>
- <col ref="rslt06"/>
- <col ref="rslt07"/>
- <col ref="rslt08"/>
- <col ref="rslt09"/>
- <col ref="rslt10"/>
- <col ref="rslt11"/>
- </datagrid>
- <line id="line11" class="line_2" style="x1:0px; y1:276px; x2:451px; y2:276px; "/>
- <input id="ipt_dno_edd" ref="/root/main/bizlist/u1list/bizenddd" class="input_default" navindex="3" inputtype="date" style="left:301px; top:207px; width:85px; height:19px; "/>
- <caption id="caption8" class="cell_1" style="left:228px; top:230px; width:100px; height:23px; vertical-align:middle; ">혈관확보</caption>
- <caption id="caption16" class="cell_1" style="left:0px; top:278px; width:100px; height:23px; vertical-align:middle; ">부작용</caption>
- <input id="ipt_dno_etm" ref="/root/main/bizlist/u1list/bizendtm" class="input_default" navindex="4" format="hh:nn" style="left:389px; top:207px; width:40px; height:19px; "/>
- <caption id="caption17" class="cell_1" style="left:0px; top:254px; width:100px; height:23px; vertical-align:middle; ">항응고제 종류</caption>
- <caption id="caption19" class="cell_1" style="left:228px; top:326px; width:100px; height:23px; vertical-align:middle; ">헌혈량</caption>
- <input id="ipt_dno_no" ref="/root/hidden/brgstno/brgstno1" class="input_default" navindex="16" maxlength="10" style="left:331px; top:351px; width:25px; height:19px; "/>
- <caption id="caption21" class="cell_1" style="left:228px; top:206px; width:70px; height:23px; vertical-align:middle; ">종료일시</caption>
- <caption id="caption23" class="tit_2" style="left:5px; top:186px; width:104px; height:13px; ">업무내역등록</caption>
- <caption id="caption25" class="cell_1" style="left:0px; top:326px; width:100px; height:23px; vertical-align:middle; ">혈액형</caption>
- <caption id="caption29" class="cell_1" style="left:228px; top:254px; width:100px; height:23px; vertical-align:middle; ">항응고제 사용량</caption>
- <caption id="caption30" class="cell_1" style="left:0px; top:206px; width:70px; height:23px; vertical-align:middle; ">시작일시</caption>
- <caption id="caption51" class="cell_1" style="left:228px; top:350px; width:100px; height:23px; vertical-align:middle; ">헌혈증번호</caption>
- <select1 id="cmb_dno_eqmt" ref="/root/main/bizlist/u1list/eqmtcd" class="combo_essential" navindex="5" appearance="minimal" style="left:103px; top:231px; width:120px; height:19px; ">
- <choices>
- <item>
- <label>MCS-3P</label>
- <value>1</value>
- </item>
- <item>
- <label>MCS+</label>
- <value>2</value>
- </item>
- <item>
- <label>TRIMA</label>
- <value>3</value>
- </item>
- <item>
- <label>SPECTRA</label>
- <value>4</value>
- </item>
- <item>
- <label>혈액 믹서기</label>
- <value>5</value>
- </item>
- </choices>
- </select1>
- <select1 id="rdo_dno_seffc" ref="/root/main/bizlist/u1list/seffcyn" navindex="9" appearance="full" cellspacing="30" cols="2" overflow="visible" style="left:105px; top:281px; width:105px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>유</label>
- <value>1</value>
- </item>
- <item>
- <label>무</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSetBuJakYongYN("1");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_dno_acs" ref="/root/main/bizlist/u1list/antdkindcd" class="combo_essential" navindex="7" appearance="minimal" style="left:103px; top:255px; width:120px; height:19px; ">
- <choices>
- <item>
- <label>ACD-A(㎖)</label>
- <value>1</value>
- </item>
- <item>
- <label>Heparin(u)</label>
- <value>2</value>
- </item>
- <item>
- <label>10PS5 + TSC</label>
- <value>3</value>
- </item>
- <item>
- <label>ACD-A+HPR</label>
- <value>4</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_dno_sdd" ref="/root/main/bizlist/u1list/bizstartdd" class="input_default" navindex="1" inputtype="date" appearance="input" style="left:73px; top:207px; width:85px; height:19px; "/>
- <caption id="caption59" class="cell_1" style="left:0px; top:230px; width:100px; height:23px; vertical-align:middle; ">장비</caption>
- <line id="line40" class="line_2" style="x1:0px; y1:324px; x2:451px; y2:324px; "/>
- <select1 id="cmb_dno_vesl" ref="/root/main/bizlist/u1list/veslptnccd" class="combo_essential" navindex="6" appearance="minimal" style="left:331px; top:231px; width:120px; height:19px; ">
- <choices>
- <item>
- <label>Peripheral Vein</label>
- <value>1</value>
- </item>
- <item>
- <label>Central Cath</label>
- <value>2</value>
- </item>
- <item>
- <label>Femoral Cath</label>
- <value>3</value>
- </item>
- <item>
- <label>Pheripheral + Central</label>
- <value>4</value>
- </item>
- </choices>
- </select1>
- <input id="cmb_dno_acs_vol" ref="/root/main/bizlist/u1list/antduseqty" class="input_default" navindex="8" imemode="alpha" style="left:331px; top:255px; width:120px; height:19px; "/>
- <datagrid id="grd_dnor" nodeset="/root/main/ptinfo/dnorinfo" caption="선택^검사일자^공여자명^주민번호^S/A^키^몸무게^혈액형^판정^헌혈일자^주소^연락처^dnorno^dnorseq" colsep="^" colwidth="40, 70, 70, 100, 45, 45, 50, 60, 60, 70, 80, 80, 0, 0" dataheight="23" defaultrows="1" ellipsis="true" extendlastcol="scroll" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:101px; top:6px; width:836px; height:117px; ">
- <col checkvalue="Y,N" ref="chk" type="checkbox"/>
- <col ref="prcpdd" format="yyyy-mm-dd"/>
- <col ref="dnornm"/>
- <col ref="rrgstno"/>
- <col ref="sexage"/>
- <col ref="bdht"/>
- <col ref="bdwt"/>
- <col ref="btype"/>
- <col ref="panjung"/>
- <col ref="rectdondd"/>
- <col ref="homeaddr"/>
- <col ref="hometel"/>
- <col ref="dnorno"/>
- <col ref="dnorseqno"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // 공여자선택
- if(grd_dnor.isCell(event.target) && grd_dnor.row >= grd_dnor.fixedRows){
- fDnorSelect("select", grd_dnor.row);
- }
-
- ]]>
- </script>
- </datagrid>
- <input id="input1" ref="/root/main/bizlist/u1list/seffctretcnts" class="input_default" navindex="11" style="left:103px; top:303px; width:348px; height:19px; "/>
- <caption id="caption5" class="cell_1" style="left:0px; top:302px; width:100px; height:23px; vertical-align:middle; ">부작용 처리사항</caption>
- <line id="line5" class="line_2" style="x1:0px; y1:372px; x2:451px; y2:372px; "/>
- <caption id="caption20" class="cell_1" style="left:0px; top:350px; width:100px; height:23px; vertical-align:middle; ">적합여부</caption>
- <caption id="caption7" class="cell_1" style="left:0px; top:374px; width:100px; height:68px; vertical-align:middle; ">채혈 Kit</caption>
- <line id="line17" class="line_3" style="x1:0px; y1:444px; x2:451px; y2:444px; "/>
- <caption id="caption50" visibility="hidden" style="left:105px; top:185px; width:100px; height:15px; color:#0000ff; ">유형1 (숨길꺼)</caption>
- <input id="textarea1" ref="/root/main/bizlist/u1list/bcollkit1" navindex="19" appearance="input" style="left:103px; top:375px; width:348px; height:67px; "/>
- <output id="input2" ref="/root/main/bizlist/u1list/fitnyn" class="output_fix" navindex="14" appearance="output" maxlength="24" style="left:103px; top:351px; width:35px; height:19px; "/>
- <input id="input3" ref="/root/hidden/brgstno/brgstno2" class="input_default" navindex="17" maxlength="10" style="left:367px; top:351px; width:25px; height:19px; "/>
- <caption id="caption52" style="left:357px; top:353px; width:10px; height:15px; ">-</caption>
- <caption id="caption53" style="left:393px; top:353px; width:10px; height:15px; ">-</caption>
- <input id="input6" ref="/root/main/bizlist/u1list/brgstno" class="input_default" visibility="hidden" maxlength="10" style="left:460px; top:360px; width:95px; height:19px; "/>
- <caption id="caption54" visibility="hidden" style="left:455px; top:345px; width:100px; height:20px; ">숨길 헌혈증번호</caption>
- <input id="input7" ref="/root/main/brgstno/brgstnoseq" navindex="18" style="left:404px; top:351px; width:47px; height:19px; "/>
- <caption id="caption58" class="cell_1" style="left:1px; top:6px; width:100px; height:117px; vertical-align:middle; ">공여자선택</caption>
- <caption id="caption27" class="cell_1" style="left:1px; top:130px; width:100px; height:48px; text-align:center; vertical-align:middle; ">
- <![CDATA[선택 공여자
- 결과]]>
- </caption>
- <line id="line8" class="line_1" style="x1:0px; y1:1px; x2:937px; y2:1px; "/>
- <line id="line9" class="line_1" style="x1:0px; y1:125px; x2:937px; y2:125px; "/>
- <line id="line19" class="line_1" style="x1:0px; y1:444px; x2:451px; y2:444px; "/>
- <caption id="caption31" class="cell_1" style="left:0px; top:449px; width:100px; height:106px; vertical-align:middle; ">Vital Sign</caption>
- <line id="line20" class="line_1" style="x1:455px; y1:201px; x2:936px; y2:201px; "/>
- <button id="button2" class="btn2_letter2" navindex="-1" style="left:6px; top:450px; width:42px; height:19px; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetVital1("1");
- ]]>
- </script>
- </button>
- <button id="button3" class="btn2_letter2" navindex="-1" style="left:52px; top:450px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelVital1("1");
- ]]>
- </script>
- </button>
- <button id="button129" class="icon_clock" navindex="-1" style="left:207px; top:208px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetToddtm("1", "start");
- ]]>
- </script>
- </button>
- <button id="button11" class="icon_clock" navindex="-1" style="left:433px; top:208px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetToddtm("1", "end");
- ]]>
- </script>
- </button>
- <line id="line61" class="line_2" style="x1:104px; y1:396px; x2:451px; y2:396px; "/>
- <input id="input19" ref="/root/main/bizlist/u1list/bcollkit2" navindex="20" appearance="input" style="left:103px; top:399px; width:348px; height:19px; "/>
- <input id="input21" ref="/root/main/bizlist/u1list/bcollkit3" navindex="21" appearance="input" style="left:103px; top:423px; width:348px; height:19px; "/>
- <line id="line62" class="line_2" style="x1:104px; y1:420px; x2:451px; y2:420px; "/>
- <datagrid id="grd_vital1" nodeset="/root/main/rec/vital1" caption="측정시간^혈압^혈압^맥박^호흡^체온^seq" colsep="^" colwidth="70, 46, 46, 46, 46, 46, 0" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:103px; top:450px; width:348px; height:105px; ">
- <col autonext="true" ref="insptm" type="inputbutton" format="hh:nn"/>
- <col autonext="true" ref="bp1" type="input"/>
- <col autonext="true" ref="bp2" type="input"/>
- <col autonext="true" ref="pluse" type="input"/>
- <col autonext="true" ref="breth" type="input"/>
- <col autonext="true" ref="bdtp" type="input"/>
- <col ref="seq"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- fSetVitaltoTime("1", grd_vital1.row);
- ]]>
- </script>
- </datagrid>
- <select1 id="cmb_bu1" ref="/root/main/bizlist/u1list/seffccd" navindex="10" appearance="minimal" style="left:228px; top:279px; width:223px; height:19px; ">
- <choices>
- <item>
- <label>혈관미주신경반응</label>
- <value>1</value>
- </item>
- <item>
- <label>피하출혈</label>
- <value>2</value>
- </item>
- <item>
- <label>구연산반응</label>
- <value>3</value>
- </item>
- <item>
- <label>접촉성피부염</label>
- <value>4</value>
- </item>
- <item>
- <label>혈전성정맥염(Thrombophlebitis)</label>
- <value>5</value>
- </item>
- <item>
- <label>과환기증후군</label>
- <value>6</value>
- </item>
- <item>
- <label>기타-free text 입력</label>
- <value>7</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fSetBuCombo("1");
- ]]>
- </script>
- </select1>
- <datagrid id="grd_nur1" nodeset="/root/main/rec/nurrec" class="datagrid_btype" caption="기록시간^기록자ID^기록자명^내용^seq" colsep="^" colwidth="80, 70, 70, 237, 0" dataheight="30" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:455px; top:206px; width:482px; height:349px; ">
- <col autonext="true" ref="recdt" type="inputbutton" format="hh:nn"/>
- <col autonext="true" ref="recrid" type="input"/>
- <col autonext="true" ref="recrnm" type="input"/>
- <col autonext="true" ref="reccnts" type="input"/>
- <col ref="seq"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- fSetNurtoTime("1", grd_nur1.row);
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(grd_nur1.col = 2){
- if(event.keyCode == "13"){
- fGetNurNm();
- }
- }
- ]]>
- </script>
- </datagrid>
- <button id="button19" class="btn2_letter2" navindex="-1" style="left:848px; top:181px; width:42px; height:19px; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetNur1("1");
- ]]>
- </script>
- </button>
- <button id="button20" class="btn2_letter2" navindex="-1" style="left:894px; top:181px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelNur1("1");
- ]]>
- </script>
- </button>
- <select1 id="combo2" ref="/root/main/bizlist/u1list/fitnyn" disabled="true" navindex="15" appearance="minimal" style="left:137px; top:351px; width:86px; height:19px; ">
- <choices>
- <item>
- <label>적합</label>
- <value>Y</value>
- </item>
- <item>
- <label>부적합</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <line id="line63" class="line_3" style="x1:0px; y1:177px; x2:937px; y2:177px; "/>
- </group>
- <group id="group2" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
- <caption id="caption2" class="search_name" style="left:16px; top:9px; width:92px; height:17px; ">등록번호 :</caption>
- <button id="button1" class="btn1_letter2" navindex="-1" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 등록번호 조회
- fGetPatInfo();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; "/>
- <input id="ipt_pid" ref="/root/hidden/pid" class="input_s_button" navindex="-1" inputtype="button" style="left:110px; top:8px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- // 등록번호 조회
- //fGetPatInfo();
- fGetPatInfo2("pid");
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fKeyEvent();
- ]]>
- </script>
- </input>
- <button id="button27" class="icon_search" navindex="-1" style="left:219px; top:9px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 환자정보검색 팝업 띄우기
- fGetPatInfoPopUp();
- ]]>
- </script>
- </button>
- <caption id="caption91" class="search_name" style="left:295px; top:9px; width:77px; height:17px; ">환자명 :</caption>
- <caption id="caption92" class="search_name" style="left:475px; top:9px; width:98px; height:17px; ">성별/나이 :</caption>
- <output id="output3" ref="/root/hidden/patnm" class="output_search" style="left:380px; top:8px; width:85px; height:19px; "/>
- <output id="output4" ref="/root/hidden/sexage" class="output_search" style="left:575px; top:8px; width:85px; height:19px; "/>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:89px; height:13px; ">기록 조회</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:250px; y2:70px; "/>
- <button id="button91" class="icon_search" navindex="-1" style="left:232px; top:78px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //기록조회
- //fGetHistory("C");
- fGetBizHistory();
-
- ]]>
- </script>
- </button>
- <caption id="caption3" class="tit_2" style="left:260px; top:55px; width:104px; height:14px; ">업무종류 선택</caption>
- <line id="line14" class="line_1" style="x1:255px; y1:70px; x2:810px; y2:70px; "/>
- <caption id="caption18" class="cell_1" style="left:0px; top:75px; width:100px; height:23px; vertical-align:middle; ">기록일자</caption>
- <input id="ipt_recdd" ref="/root/hidden/histdd" class="input_essential" navindex="-1" inputtype="date" style="left:103px; top:77px; width:125px; height:19px; "/>
- <line id="line18" class="line_3" style="x1:255px; y1:97px; x2:810px; y2:97px; "/>
- <datagrid id="grd_pat" nodeset="/root/main/ptinfo/patinfo" caption="환자명^주민번호^S/A^진료형태^병실^진료과^주치의^키^몸무게^진단명^혈액형^orddeptcd" colsep="^" colwidth="80, 100, 50, 100, 60, 80, 80, 50, 50, 200, 67, 0" dataheight="23" defaultrows="1" ellipsis="true" extendlastcol="scroll" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:255px; top:124px; width:940px; height:48px; ">
- <col ref="patnm"/>
- <col ref="rrgstno"/>
- <col ref="sexage"/>
- <col ref="ord"/>
- <col ref="wardroom"/>
- <col ref="orddept"/>
- <col ref="orddrnm"/>
- <col ref="ht"/>
- <col ref="kg"/>
- <col ref="jindan"/>
- <col ref="btype"/>
- <col ref="orddeptcd"/>
- </datagrid>
- <caption id="caption4" class="tit_2" style="left:260px; top:104px; width:104px; height:13px; ">환자 정보</caption>
- <line id="line2" class="line_1" style="x1:255px; y1:119px; x2:1195px; y2:119px; "/>
- <select1 id="rdo_work" ref="/root/hidden/workgbn" navindex="-1" appearance="full" cellspacing="140" cols="3" overflow="visible" style="left:257px; top:78px; width:505px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>헌혈</label>
- <value>1</value>
- </item>
- <item>
- <label>치료</label>
- <value>2</value>
- </item>
- <item>
- <label>BMT관련</label>
- <value>3</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 업무종류 선택
- fSetWorkGbn();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_don" ref="/root/hidden/dongbn" class="combo_search" navindex="-1" visibility="visible" appearance="minimal" style="left:315px; top:76px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0119">
- <label ref="nm"/>
- <value ref="etc01"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- // 업무유형 구분
- fSetWorkUhung("don", "C");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_care" ref="/root/hidden/caregbn" class="combo_search" navindex="-1" visibility="visible" appearance="minimal" style="left:500px; top:76px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0119">
- <label ref="nm"/>
- <value ref="etc01"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- // 업무유형 구분
- fSetWorkUhung("care", "C");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_bmt" ref="/root/hidden/bmtgbn" class="combo_search" navindex="-1" visibility="visible" appearance="minimal" style="left:710px; top:76px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0119">
- <label ref="nm"/>
- <value ref="etc01"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- // 업무유형 구분
- fSetWorkUhung("bmt", "C");
- ]]>
- </script>
- </select1>
- <object id="CommAX" clsid="{35cc9cfa-e6f8-4b22-b6d2-fe7cd108f943}" visibility="hidden" style="left:1040px; top:20px; width:55px; height:35px; border-color:#99ccff; border-style:solid; "/>
- <datagrid id="datagrid2" nodeset="/root/main/ptinfo/history" caption="수행일자^수행시간^recrid^기록자^유형^인증유무^caption1^signno" colsep="^" colwidth="74, 52, 0, 55, 50, 36, 0, 0" dataheight="23" ellipsis="true" extendlastcol="scroll" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:100px; width:250px; height:636px; text-align:center; ">
- <col ref="execdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="exectm" format="hh:nn:ss" style="text-align:center; "/>
- <col ref="recrid"/>
- <col ref="usernm"/>
- <col ref="kind"/>
- <col ref="hist"/>
- <col ref="dnorno"/>
- <col ref="signno"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // 기록 업무 조회
- if(datagrid2.isCell(event.target) && datagrid2.row >= datagrid2.fixedRows){
- //fGetHistBiz("C");
- fGetBizPatInfo();
-
- // 업무종류선택 변경
- fSetBizKindSelect();
-
- }
- ]]>
- </script>
- </datagrid>
- <button id="button10" class="btn2_letter4" navindex="-1" style="left:119px; top:50px; width:64px; height:19px; ">
- <caption>상세보기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- datagrid2.attribute("width") = 365;
- datagrid2.colWidth(1) = "80";
- datagrid2.colWidth(2) = "60";
- datagrid2.colWidth(3) = "0";
- datagrid2.colWidth(4) = "70";
- datagrid2.colWidth(5) = "60";
- datagrid2.colWidth(6) = "70";
- datagrid2.colWidth(7) = "0";
- //colwidth="68, 44, 0, 50, 44, 36, 0"
- ]]>
- </script>
- </button>
- <button id="button14" class="btn2_letter4" navindex="-1" style="left:186px; top:50px; width:64px; height:19px; ">
- <caption>상세닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- datagrid2.attribute("width") = 250;
- datagrid2.colWidth(1) = "70";
- datagrid2.colWidth(2) = "44";
- datagrid2.colWidth(3) = "0";
- datagrid2.colWidth(4) = "50";
- datagrid2.colWidth(5) = "44";
- datagrid2.colWidth(6) = "36";
- datagrid2.colWidth(7) = "0";
- //colwidth="68, 44, 0, 50, 44, 36, 0"
- ]]>
- </script>
- </button>
- </group>
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; "/>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <button id="button5" class="btn4_letter3" navindex="-1" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetInit("btn");
- ]]>
- </script>
- </button>
- <line id="line15" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <button id="button15" class="btn4_letter2" navindex="-1" visibility="hidden" style="left:790px; top:5px; width:56px; height:22px; ">
- <caption>수정</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(fNullCheck()=="true"){
- fInsWorkList("U", "");
- }
- ]]>
- </script>
- </button>
- <button id="button16" class="btn4_letter2" navindex="-1" visibility="hidden" style="left:845px; top:5px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(fNullCheck()=="true"){
- fInsWorkList("D", "");
- }
- ]]>
- </script>
- </button>
- <button id="button9" class="btn3_letter6" navindex="-1" style="left:95px; top:3px; width:104px; height:22px; ">
- <caption>혈액라벨출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeBlodBarcdPrint();
- ]]>
- </script>
- </button>
- <button id="btn_prnt" class="btn3_letter5" navindex="-1" style="left:0px; top:3px; width:92px; height:22px; ">
- <caption>프린터설정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 프린터 설정
- fSetPrint();
- ]]>
- </script>
- </button>
- <button id="btn_ij" class="btn4_letter4" navindex="-1" style="left:1044px; top:3px; width:80px; height:22px; ">
- <caption>인증저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(fNullCheck()=="true"){
- fInsWorkList("I", "X");
- //fExeSignSave();
- }
-
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" navindex="-1" style="left:985px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(fNullCheck()=="true"){
- fInsWorkList("I", "");
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="group5" navindex="-1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">업무내역등록</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|