123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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 xmlns="">
- <main>
- <ordlist1>
- <mainordlist1>
- <no/>
- <pid/>
- <patnm/>
- <prcpgenrflag/>
- <wardcd/>
- <depthngnm/>
- <execprcpuniqno/>
- <orddeptcd/>
- <rsrvdd/>
- <execprcpstatcd/>
- <prcpdd/>
- <roomcd/>
- <orddrid/>
- <rcptyn/>
- <aftrcptinfo/>
- </mainordlist1>
- <subordlist4/>
- <mainordlist3/>
- </ordlist1>
- <ordlist2>
- <mainordlist2>
- <no/>
- <calcscorcd/>
- <prcpnm/>
- <pid/>
- <patnm/>
- <execprcpuniqno/>
- <orddeptcd/>
- <rsrvdd/>
- <execprcpstatcd/>
- <prcpdd/>
- <roomcd/>
- <orddrid/>
- <rcptyn/>
- <prcpgenrflag/>
- <wardcd/>
- </mainordlist2>
- <mainordlist3/>
- </ordlist2>
- <ordlist3>
- <mainordlist>
- <mainordlist3/>
- </mainordlist>
- </ordlist3>
- <subordlist>
- <subordlist1>
- <check/>
- <pid/>
- <patnm/>
- <prcpdd/>
- <prcphopedd/>
- <prcpnm/>
- <execprcpstatcd/>
- <payflagcd/>
- <rsrvdt/>
- <prcpgenrflag/>
- <orddepthngnm/>
- <orddrnm/>
- <ivinputyn/>
- <cntctel/>
- <arvtm/>
- <excueqcd1/>
- <prcpkindcd/>
- <examroomnm/>
- <rgstdepthngnm/>
- <rgstridnm/>
- <basecd/>
- <rsrvdt/>
- <prcphopedt/>
- <execprcpuniqno/>
- <calcscorcd/>
- <prcpexecdeptcd/>
- <excuroomgrpcd/>
- <excuroomcd/>
- <rgstdeptcd/>
- <rgstrid/>
- <portprcpflag/>
- <inflag/>
- <rcptacptyn/>
- <execbaseflag/>
- <lrgcd/>
- <mdlcd/>
- <excupartcd/>
- <modality/>
- <rcptno/>
- <acptseqno/>
- <acptrem/>
- <execrem/>
- <prcpdelivefact/>
- <execrid1/>
- <execrid2/>
- <execrid3/>
- <execrid4/>
- <acptid/>
- <orddeptcd/>
- <excuexecfromdt1/>
- <basesuppdeptcd/>
- <orddd/>
- <cretno/>
- <orddrid/>
- <pacsnocretyn/>
- <rgsttm/>
- <eqmtifyn/>
- <eqcdyn/>
- <prcpexecdeptcd/>
- <prcpno/>
- <pacsnocretcdyn/>
- <choiordflag/>
- <specdrid/>
- <specdrnm/>
- <prcphistno/>
- </subordlist1>
- <subordlist3>
- <diagdd/>
- <diagengnm/>
- <diagcd/>
- <orddeptnm/>
- <orddrnm/>
- </subordlist3>
- <subordlist4>
- <memodd/>
- <memorem/>
- </subordlist4>
- </subordlist>
- <subordlist2>
- <subordlist3>
- <diagdd/>
- <diagengnm/>
- <diagcd/>
- <orddeptnm/>
- <orddrnm/>
- </subordlist3>
- </subordlist2>
- <patinfo>
- <patinfolist/>
- </patinfo>
- <popupendflag/>
- <eqcdlist>
- <eqcdlist1>
- <prcpdd/>
- <excueqcd/>
- <excuexecfromdt/>
- <execprcpuniqno/>
- </eqcdlist1>
- </eqcdlist>
- <exculist>
- <subordlist3>
- <rows/>
- </subordlist3>
- </exculist>
- <scrtlist>
- <scrtuselist>
- <pid/>
- <patnm/>
- <drugdt/>
- <progdt/>
- </scrtuselist>
- </scrtlist>
- <subpopordlist>
- <subordlist5/>
- </subpopordlist>
- <codelist>
- <item/>
- </codelist>
- <specdridlist/>
- </main>
- <send>
- <data>
- <cmb_info>
- <initexecroom>
- <excuroomcdid/>
- <excuroomcdid2/>
- </initexecroom>
- <initexecward>
- <execwardcdid/>
- </initexecward>
- <initexcueq>
- <excueqcdid/>
- </initexcueq>
- <initioflag>
- <ioflag/>
- </initioflag>
- <initexcuroomgrp>
- <excuroomgrpcdid/>
- </initexcuroomgrp>
- </cmb_info>
- <srchpid/>
- <srchdate1/>
- <srchdate2/>
- <acptlistflag>J</acptlistflag>
- <srchtotal/>
- <wardcd/>
- <grd_info>
- <grid_data>
- </grid_data>
- </grd_info>
- <tobeacptprcp>
- <tobeacptprcplist/>
- </tobeacptprcp>
- <tobeacptcnclprcp>
- <tobeacptcnclprcplist/>
- </tobeacptcnclprcp>
- <tobeholdprcp>
- <tobeholdprcplist/>
- </tobeholdprcp>
- <tobeholdcnclprcp>
- <tobeholdcnclprcplist/>
- </tobeholdcnclprcp>
- <nuclinput>
- <nuclinptlist/>
- </nuclinput>
- <execprcpuniq>
- <execprcpuniqlist/>
- </execprcpuniq>
- <setspecdrcd/>
- </data>
- <ivdata>
- <prcpdd/>
- <nuclcd/>
- <drugdd/>
- <drugtm/>
- <drugqty/>
- <cstqty/>
- <nuclrem/>
- <compdcd/>
- <drugmthdcd/>
- <phormcd/>
- <scrtrmcd/>
- <injpartcd/>
- <suplcustcd/>
- <ht/>
- <bdwt/>
- <bsugarqty/>
- <labbkg/>
- <patbkg/>
- <smplact/>
- <thyrmea/>
- <testrsltval/>
- <execrid/>
- <execprcpuniqno/>
- <srchphormcd/>
- <stndactqty/>
- <stndactinsptm/>
- <stndpostactqty/>
- <stndpostactinsptm/>
- <nuclinsptm/>
- <nucldrugrestqty/>
- <nucldruginsptm/>
- <smplnfstcnt/>
- <smplnfstbcolltm/>
- <smplnscndcnt/>
- <smplnscndbcolltm/>
- <smplnthirdcnt/>
- <smplnthirdcolltm/>
- <smplnfourthcnt/>
- <smplnfourthcolltm/>
- </ivdata>
- <globalinstance>
- <instance1/>
- </globalinstance>
- <windowloadinstance/>
- <eqdata>
- <eqprcpdd/>
- <eqexecprcpuniqno/>
- <excueqcd/>
- </eqdata>
- <data2>
- <srchcond/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <acptdd/>
- </data2>
- <temp>
- <pid/>
- <calcscorcd/>
- </temp>
- <savedata/>
- <grupcdid/>
- </send>
- <init>
- <cmb_info>
- <initexcuroomgrp>
- <excuroomgrpcdid/>
- <excuroomgrpcdnm/>
- </initexcuroomgrp>
- <excuroom>
- <initexecroom>
- <excuroomcdid/>
- <excuroomcdnm/>
- </initexecroom>
- </excuroom>
- <initexecward>
- <execwardcdid/>
- <execwardcdnm/>
- </initexecward>
- <initexcueq>
- <excueqcdid/>
- <excueqcdnm/>
- </initexcueq>
- <initexecrid>
- <execridnm/>
- <execridid/>
- </initexecrid>
- <initphoroom>
- <phoroomcdid/>
- <phoroomcdnm/>
- <phoroomgrpcdid/>
- </initphoroom>
- </cmb_info>
- <cmb_info2>
- <initexecroom>
- <excuroomcdid/>
- <excuroomcdnm/>
- </initexecroom>
- </cmb_info2>
- <cmb_info3>
- <phorm>
- <lable/>
- <value/>
- </phorm>
- <nuclcd>
- <lable/>
- <value/>
- </nuclcd>
- <compd>
- <lable/>
- <value/>
- </compd>
- <drugmthdcd>
- <lable/>
- <value/>
- </drugmthdcd>
- <injpartcd>
- <lable/>
- <value/>
- </injpartcd>
- </cmb_info3>
- <baseinfo>
- <initexecprcpstatcd/>
- <initpayflagcd/>
- <initprcpgenrflagcd/>
- </baseinfo>
- <popupmenu>
- <grid01>
- <item>
- <name>체외검사결과보기</name>
- <func>fBColl</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>부서별기록관리</name>
- <func>fDeptCaseRecMngt</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>대기환자등록</name>
- <func>fSetWaitExcuRoomPatList</func>
- </item>
- </grid01>
- <grid02>
- <item>
- <name>체외검사결과보기</name>
- <func>fBColl</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>부서별기록관리</name>
- <func>fDeptCaseRecMngt</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>대기환자등록</name>
- <func>fSetWaitExcuRoomPatList</func>
- </item>
- <item>
- <name>선택진료의변경</name>
- <func>fSpecdrChange</func>
- </item>
- </grid02>
- </popupmenu>
- <waitfoominfo>
- <waitroomcdval/>
- </waitfoominfo>
- </init>
- <hidden>
- <count/>
- <comcd/>
- </hidden>
- <temp1/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- // 부서 코드 조회
- aezfSetSuppDeptcd();
- model.setValue("/root/send/data/srchdate1", getCurrentDate().toDate().getAddDate(-7,"D").getDateFormat("YYYYMMDD"));
- model.setValue("/root/send/data/srchdate2", getCurrentDate());
-
- var excuroomgrpcdid = "영상검사실";
- // 투여대기
- btn_roomupdt.disabled = false; // 실변경
- btn_partexec.disabled = true; // 시작
- btn_contcure.disabled = true; // 연속검사
- btn_druginpt.disabled = false; // 투여입력
- btn_drugcncl.disabled = true; // 투여취소
- btn_acpt.disabled = true; // 실시완료
- btn_acptcncl.disabled = true; // 취소
- var excuroomgrp = model.property("exec_excuroomgrp");
- if (excuroomgrp != "") {
- excuroomgrpcdid = excuroomgrp;
- }
- var excuroom = model.property("exec_excuroom");
- if (excuroom != "") {
- model.setValue("/root/send/data/cmb_info/initexecroom/excuroomcdid", excuroom);
- }
-
- var srchdate1 = model.property("exec_srchdate1");
- if (srchdate1 != "") {
- model.setValue("/root/send/data/srchdate1", srchdate1);
- }
-
- var srchdate2 = model.property("exec_srchdate2");
- if (srchdate2 != "") {
- model.setValue("/root/send/data/srchdate2", srchdate2);
- }
-
- //20101012 NM002 각검사실별 해당 기술적기록 탭 선택 -박재영
- model.setValue("/root/send/grupcdid","NM002");
- submit("TRAEB00010", false);
-
- model.makeValue("/root/send/data/suppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
- model.makeValue("/root/send/data/basesuppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
- model.setValue("/root/send/data/cmb_info/initexcuroomgrp/excuroomgrpcdid", excuroomgrpcdid);
- // 기술적 기록 입력 화면 설정
- fSetToggle(excuroomgrpcdid);
-
- var acptlistflag = model.property("exec_acptlistflag");
- if (acptlistflag != "" ) {
- model.setValue("/root/send/data/acptlistflag", acptlistflag);
- // 버튼 활성화 기준
- fBtnDisabled(acptlistflag);
- } else if (excuroomgrp !="" ){
- // 버튼 활성화 기준
- fBtnDisabled(model.getValue("/root/send/data/acptlistflag"));
- }
-
- // 기본 정보 조회
- submit("TRAER00301", false);
- // 공통코드 조회
- zbcfGetCodeList( new Array("M0010", "M0011","M0029","A0608"), new Array("/root/init/baseinfo/initprcpgenrflagcd", "/root/init/baseinfo/initexecprcpstatcd", "/root/init/baseinfo/initpayflagcd","/root/init/waitfoominfo/waitroomcdval") );
- submit("TRZBC00101", false);
- aezfInsertInstance("M0010", "전체", "", "/root/init/baseinfo/initprcpgenrflagcd");
-
- var cnt = getNodesetCount("/root/init/baseinfo/initexecprcpstatcd/M0011");
- cnt++;
- model.makeValue("/root/init/baseinfo/initexecprcpstatcd/M0011[" + cnt + "]/cdnm","예약대기");
- model.makeValue("/root/init/baseinfo/initexecprcpstatcd/M0011[" + cnt + "]/cdid","340");
- cnt++;
- model.makeValue("/root/init/baseinfo/initexecprcpstatcd/M0011[" + cnt + "]/cdnm","예약보류");
- model.makeValue("/root/init/baseinfo/initexecprcpstatcd/M0011[" + cnt + "]/cdid","350");
- fInitGrid();
-
- grd_subordlist1.fixedcellcheckbox(0,1)=true;
-
- // 부서별 메모현황
- model.makeNode("/root/main/subordlist/subordlist4");
- copyNodeType("/root/main/subordlist/subordlist4","/root/init/cmb_info/subordlist4","replace");
-
- // 2011.02.14 cyw 선택진료의 가져오기
- submit("TRAEA01136");
-
- model.refresh();
- datagrid1.autoResize = true;
- ]]>
- </script>
- <bind id="bind_execprcpstatcd" ref="/root/main/subordlist/subordlist1/execprcpstatcd" readonly="../execprcpstatcd!=''"/>
- <bind id="bind_payflagcd" ref="/root/main/subordlist/subordlist1/payflagcd" readonly="../payflagcd!=''"/>
- <bind id="bind_wardcd" ref="/root/main/ordlist1/mainordlist1/wardcd" readonly="../wardcd!=''"/>
- <bind id="bind_wardcd2" ref="/root/main/ordlist1/mainordlist2/wardcd" readonly="../wardcd!=''"/>
- <bind id="bind_prcpgenrflagcd" ref="/root/main/subordlist/subordlist1/prcpgenrflag" readonly="../prcpgenrflag!=''"/>
- <bind id="bind_prcpgenrflagcd2" ref="/root/main/ordlist1/mainordlist1/prcpgenrflag" readonly="../prcpgenrflag!=''"/>
- <bind id="bind_excueqcd1" ref="/root/main/ordlist1/mainordlist1/excueqcd1" readonly="../excueqcd1!=''"/>
- <bind id="bind_excueqcd2" ref="/root/main/ordlist1/mainordlist1/excueqcd2" readonly="../excueqcd2!=''"/>
- <bind id="bind_excueqcd3" ref="/root/main/ordlist1/mainordlist1/excueqcd3" readonly="../excueqcd3!=''"/>
- <bind id="bind_excueqcd4" ref="/root/main/ordlist1/mainordlist1/excueqcd4" readonly="../excueqcd4!=''"/>
- <bind id="bind_excueqcd5" ref="/root/main/ordlist1/mainordlist1/excueqcd5" readonly="../excueqcd5!=''"/>
- <submission id="TRZBC00101"/>
- <submission id="TRAER00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_info"/>
- <submission id="TRAER00302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" replace="instance" resultref="/root/main/ordlist1"/>
- <submission id="TRAER00303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" replace="instance" resultref="/root/main/ordlist2"/>
- <submission id="TRAER00304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/ordlist1"/>
- <submission id="TRAER00305" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/ordlist2"/>
- <submission id="TRAER00306" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/ordlist1"/>
- <submission id="TRAER00307" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/ordlist2"/>
- <submission id="TRAER00308" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/subordlist"/>
- <submission id="TRAER00309" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/ivdata" replace="instance" resultref="/root/main/mainordlist2"/>
- <submission id="TRAER00314" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/eqdata" replace="instance" resultref="/root/main/eqcdlist"/>
- <submission id="TRAER00315" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/scrtlist"/>
- <submission id="TRAER00316" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/subpopordlist"/>
- <submission id="TXAER00211" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden"/>
- <submission id="TXAER00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden"/>
- <submission id="TXAER00302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden"/>
- <submission id="TXAER00303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden"/>
- <submission id="TXAER00304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden"/>
- <submission id="TXAER00305" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden"/>
- <submission id="TXAER00306" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden"/>
- <submission id="TXAER00307" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden"/>
- <submission id="TXAER00308" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden"/>
- <submission id="TRAEA01418" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/cmb_info"/>
- <submission id="TRAEA02009" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/patinfo" replace="instance" resultref="/root/reqdata1"/>
- <submission id="TRAEB02001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/matrcstcodelist"/>
- <submission id="TXAEA02002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/patinfo" replace="instance" resultref="/root/temp"/>
- <submission id="TXMNV07007" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/returnsts"/>
- <submission id="TRAEB00010" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/codelist"/>
- <submission id="TRAEA01136" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/main/specdridlist"/>
- <submission id="TXAEA01512" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data/setspecdrcd" resultref="/root/temp1"/>
- </model>
- <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/stringHelper.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../emr/waitguideweb/js/SMMNV12000.js"/>
- <script type="javascript">
- <![CDATA[
-
- /* @group : 접수관리(핵의학체내)
- * @ver : 2007.03.21
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : Grid 초기화를 위한 Function
- */
- function fInitGrid() {
-
- //chk_statecd.value = "";
- fInitTar();
-
- model.resetInstanceNode("/root/send/data/srchpid");
- model.resetInstanceNode("/root/send/ivdata");
-
- model.removenode("/root/main/ordlist1");
- model.removenode("/root/main/ordlist2");
- model.removenode("/root/main/ordlist3");
- model.removenode("/root/main/subordlist");
- model.removenode("/root/main/mainordlist2");
-
- model.removenode("/root/main/exculist");
- model.removenode("/root/main/eqcdlist");
- model.removenode("/root/main/scrtlist");
-
- }
- /* @group : 실시관리(핵의학체내)
- * @ver : 2007.03.21
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : TextArea 초기화 Function
- */
- function fInitTar() {
- tar_prcpremfact.value = "-";
- tar_acptrem.value = "-";
- tar_execrem.value = "-";
- }
-
- /* @group : 접수관리(진단방사선)
- * @ver : 2007.03.21
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : Toggle선택 조회를 위한 선택 Function
- */
- function fGetToggleAcptList() {
- // 실시관리 : 대기/실시/실시완료 조회
- fGetExamCureAcptList();
- }
-
- /* @group : 실시관리(핵의학체내)
- * @ver : 2007.03.21
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 대기/실시/실시완료 조회 Submission Function
- */
- function fGetExamCureAcptList() {
-
- var acptlistflag = model.getValue("/root/send/data/acptlistflag");
-
- if (acptlistflag == "") {
- messageBox("상태를 선택해 주십시오.","I999");
- return "0";
- }
-
- var excuroomgrpcdid = model.getValue("/root/send/data/cmb_info/initexcuroomgrp/excuroomgrpcdid");
- var excuroomcdid = model.getValue("/root/send/data/cmb_info/initexecroom/excuroomcdid");
-
- if (excuroomgrpcdid == "") {
- messageBox("검사실 그룹을 선택해 주십시오.","I999");
- return "0";
- }
-
- fInitGrid();
- // Top 정보 clear
- delPatientInfos();
- // flag Setting
- model.makeValue("/root/send/data1/acptlistflag", acptlistflag);
- model.makeValue("/root/send/data1/excuroomgrpcdid", excuroomgrpcdid);
- model.makeValue("/root/send/data1/excuroomcdid", excuroomcdid);
- model.makeValue("/root/send/data1/instance1", model.getValue("/root/send/globalinstance/instance1"));
- model.makeValue("/root/send/data1/srchdate1", model.getValue("/root/send/data/srchdate1"));
- model.makeValue("/root/send/data1/srchdate2", model.getValue("/root/send/data/srchdate2"));
- model.resetInstanceNode("/root/send/ivdata");
- model.resetInstanceNode("/root/send/ivdata1");
- model.resetInstanceNode("/root/send/ivdata2");
- model.resetInstanceNode("/root/send/ivdata3");
- model.resetInstanceNode("/root/send/ivdata4");
-
- if ( btn_case1.selected == true ) {
- model.makeValue("/root/send/data1/ioflag","O");
- model.makeValue("/root/send/data1/srchflag", 'P');
- model.toggle("case1");
-
- } else if ( btn_case2.selected == true ) {
- model.makeValue("/root/send/data1/ioflag","I");
- model.makeValue("/root/send/data1/srchflag", 'P');
- model.toggle("case1");
-
- } else if ( btn_case3.selected == true ) {
- model.makeValue("/root/send/data1/ioflag","");
- model.makeValue("/root/send/data1/srchflag", 'C');
- model.toggle("case2");
- }
- var temppid = model.getValue("/root/send/temp/pid");
- var tempcalcscorcd = model.getValue("/root/send/temp/calcscorcd");
-
- var flag = false;
-
- // 환자별
- if ( btn_case3.selected != true ) {
-
- submit("TRAER00302", false); // submit("TRAER00303");
- model.resetInstanceNode("/root/init/cmb_info/initexcuroom");
- model.copyNode("/root/init/cmb_info/excuroom","/root/main/ordlist1/excuroom");
-
- model.makeNode("/root/main/ordlist3/mainordlist");
- copyNodeType("/root/main/ordlist3/mainordlist", "/root/main/ordlist1/mainordlist", "replace");
- // 입원/외래 일 경우
- if (temppid != "") {
- for (i = 1; i< grd_mainordlist1.rows; i++) {
- var pid = model.getValue("/root/main/ordlist1/mainordlist1[" + i + "]/pid");
- if (temppid == pid) {
- flag = true;
- grd_mainordlist1.row = i;
- }
- }
-
- // 해당 등록번호가 있는 경우
- if (flag == true) {
- fGetExamCurePrcpList(grd_mainordlist1);
- }
- } else {
- delPatientInfos();
- }
-
- // 검사별
- } else {
- submit("TRAER00303", false); // submit("TRAER00307");
- model.resetInstanceNode("/root/init/cmb_info/initexcuroom");
- model.copyNode("/root/init/cmb_info/excuroom","/root/main/ordlist2/excuroom");
-
- model.makeNode("/root/main/ordlist3/mainordlist");
- copyNodeType("/root/main/ordlist3/mainordlist", "/root/main/ordlist2/mainordlist", "replace");
-
- // 검사별 일 경우
- if (tempcalcscorcd != "") {
- for (i = 1; i< grd_mainordlist2.rows; i++) {
- var calcscorcd= model.getValue("/root/main/ordlist2/mainordlist2[" + i + "]/calcscorcd");
- if (tempcalcscorcd == calcscorcd) {
- flag = true;
- grd_mainordlist2.row = i;
- }
- }
-
- // 해당 처방이 있는 경우
- if (flag == true) {
- fGetExamCurePrcpList(grd_mainordlist2);
- }
- }
- }
- model.makeValue("/root/send/data/cmb_info/initexecroom/excuroomcdid2", excuroomcdid);
- cmb_scrtcd.choices.itemset.attribute("nodeset") = "/root/init/cmb_info/initscrtroom[basecdcnts='"+ excuroomcdid + "']";
-
- model.makeValue("/root/send/ivdata/srchphormcd", excuroomcdid);
-
- // 대기실 현황
- fGetScrtRoomUseList();
-
- model.setValue("/root/send/data/srchpid","");
- model.setValue("/root/send/data/cmb_info/initexcueq/excueqcdid","");
- model.refresh();
-
- // 연속검사 구분
- fSetSubDetailGrid2();
-
- //2013.02.13 by kya 후불 수납
- for(var i = 1 ; i < grd_mainordlist1.rows ; i++ ){
- grd_mainordlist1.rowstyle(i, "data", "background-color") = "#ffffff";
- }
- aezfSetRowStyle("grd_mainordlist1" , "15^16^17" , "V^P^A" , "aftrcptinfo" ); //20101005 cell단위가 아닌 row단위로 표시 - 권영애
-
- }
-
- /* @group : 접수관리(핵의학체내)
- * @ver : 2007.03.21
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 상병 조회를 위한 선택 Function
- */
- function fGetExamCureDiagList(maingridlistid) {
-
- if ( maingridlistid.row == 0 ) return;
-
- var row = maingridlistid.row;
-
- var pid = maingridlistid.valueMatrix(row, maingridlistid.colRef("pid"));
- var prcpgenrflag = maingridlistid.valueMatrix(row, maingridlistid.colRef("prcpgenrflag")); // 상병조회에서 사용 pid, prcpgenrflag,orddeptcd,prcpdd
- var orddeptcd = maingridlistid.valueMatrix(row, maingridlistid.colRef("orddeptcd"));
- var prcpdd = maingridlistid.valueMatrix(row, maingridlistid.colRef("prcpdd"));
- model.makeValue("/root/send/data/grd_info/grid_data/pid", pid);
- model.makeValue("/root/send/data/grd_info/grid_data/prcpgenrflag", prcpgenrflag);
- model.makeValue("/root/send/data/grd_info/grid_data/orddeptcd", orddeptcd);
- model.makeValue("/root/send/data/grd_info/grid_data/prcpdd", prcpdd);
-
- submit("TRAER00310");
- }
- /* @group : 접수관리(핵의학체내)
- * @ver : 2007.03.21
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 처방내역/타과처방/상병/코멘트 조회를 위한 선택 Function
- */
- function fGetExamCurePrcpList(maingridlistid) {
- if ( maingridlistid.row == 0 ) return;
- var row = maingridlistid.row;
- fInitTar();
-
- grd_subordlist1.fixedcellcheckbox(0,1)=true;
- grd_subordlist1.fixedcellischeck(0,1)=false;
-
- cmb_excuroom2.disabled = true;
- var ioflag = model.getValue("/root/send/data/cmb_info/initioflag/ioflag");
-
- // 조회조건 초기화
- model.removenode("/root/send/patinfo");
- model.removenode("/root/send/data/grd_info");
-
- model.makeValue("/root/send/data/grd_info/grid_data/instance1", model.getValue("/root/send/globalinstance/instance1"));
- model.makeValue("/root/send/data/grd_info/grid_data/srchdate1", model.getValue("/root/send/data/srchdate1"));
- model.makeValue("/root/send/data/grd_info/grid_data/srchdate2", model.getValue("/root/send/data/srchdate2"));
- var excuroomgrpcdid = model.getValue("/root/send/data/cmb_info/initexcuroomgrp/excuroomgrpcdid");
- model.makeValue("/root/send/data/grd_info/grid_data/excuroomgrpcdid", excuroomgrpcdid);
-
- var excuroomcdid = model.getValue("/root/send/data/cmb_info/initexecroom/excuroomcdid");
- model.makeValue("/root/send/data/grd_info/grid_data/excuroomcdid", excuroomcdid);
-
- if ( btn_case3.selected != true ) {
-
- var pid = maingridlistid.valueMatrix(row, maingridlistid.colRef("pid"));
- var prcpgenrflag = maingridlistid.valueMatrix(row, maingridlistid.colRef("prcpgenrflag"));
- model.makeValue("/root/send/data/grd_info/grid_data/pid", pid);
- model.makeValue("/root/send/data/grd_info/grid_data/prcpgenrflag", prcpgenrflag);
-
- // 환자내역
- model.makeValue("/root/send/patinfo/srchpid", pid);
- model.makeValue("/root/send/patinfo/orddd", maingridlistid.valueMatrix(row, maingridlistid.colRef("orddd")));
- model.makeValue("/root/send/patinfo/orddeptcd", maingridlistid.valueMatrix(row, maingridlistid.colRef("orddeptcd")));
- model.makeValue("/root/send/patinfo/suppdeptcd1", model.getValue("/root/send/globalinstance/instance1"));
- model.makeValue("/root/send/patinfo/chkflag", "");
-
- if ( btn_case1.selected == true ) {
- model.makeValue("/root/send/data/cmb_info/initioflag/ioflag","O");
- } else if ( btn_case2.selected == true ) {
- model.makeValue("/root/send/data/cmb_info/initioflag/ioflag","I");
- }
- } else {
- var calcscorcd = maingridlistid.valueMatrix(row, maingridlistid.colRef("calcscorcd"));
-
- model.makeValue("/root/send/data/grd_info/grid_data/calcscorcd", calcscorcd);
- model.makeValue("/root/send/data/grd_info/grid_data/prcpgenrflag", "");
- model.makeValue("/root/send/data/grd_info/grid_data/ioflag", model.getValue("/root/send/data/cmb_info/initioflag/ioflag"));
- }
- var acptlistflag = model.getValue("/root/send/data/acptlistflag");
- if ( chk_statecd.value == "ALL" ) {
- acptlistflag = "L";
- }
- model.makeValue("/root/send/data/grd_info/grid_data/largeclass", "M3");
- model.makeValue("/root/send/data/grd_info/grid_data/acptlistflag", acptlistflag);
- model.resetInstanceNode("/root/send/ivdata");
- model.resetInstanceNode("/root/send/ivdata1");
- model.resetInstanceNode("/root/send/ivdata2");
- model.resetInstanceNode("/root/send/ivdata3");
- model.resetInstanceNode("/root/send/ivdata4");
- //model.removenode("/root/main/scrtlist");
- //model.removenode("/root/main/eqcdlist");
- model.removenode("/root/main/mainordlist2");
-
- if ( submit("TRAER00308",false) ) {
- // 그리드 세팅
- fSetSubDetailGrid();
-
- if ( btn_case3.selected != true ) { // 환자별 조회만 해당. 상병정보가져오기
- //fGetExamCureDiagList(grd_mainordlist1);
- // 환자 Comment 조회
- model.removenode("/root/main/exculist/subordlist3");
- if (submit("TRAEA02009",false)){
- model.makeNode("/root/main/exculist/subordlist3");
- copyNodeType("/root/main/exculist/subordlist3", "/root/reqdata1/subordlist3", "replace");
- grd_patcmtlist.refresh();
- patcmt();
- }
- } else {
- model.setValue("/root/send/data/cmb_info/initioflag/ioflag",ioflag);
- }
- maingridlistid.row = row;
-
- // 2011.05.02 cyw 외래환자이고 검사실이 PET이고 수납일자가 2011.05.02 이전일 경우 안내메시지 띄우기.
- var grpcnt = 0;
- var subcnt = getNodesetCount("/root/main/subordlist/subordlist1");
-
- for (var i = 1; i <= subcnt; i++) {
- if( model.getValue("/root/main/subordlist/subordlist1["+i+"]/prcpgenrflag") == "O" ){
- if( model.getValue("/root/main/subordlist/subordlist1["+i+"]/excuroomgrpcd") == "PET-CT실" && model.getValue("/root/main/subordlist/subordlist1["+i+"]/rcptdd") < "20110501" ){
- grpcnt++;
- }
- }
- }
-
- if( grpcnt > 0 ){
- messageBox("환급을 위해 원무 창구로 안내", "I008");
- }
- }
-
- model.refresh();
-
- aezfSetCellStyle("grd_subordlist1" , "0^1^2" , "V^P^A" , "aftrcptinfo", "pid", "F");
- }
- /* @group : 실시관리(핵의학체내)
- * @ver : 2007.03.21
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 처방내역에 대한 장비코드 리스트 Function
- */
- function fEqcdList(subgridlistid) {
-
- if ( subgridlistid.row == 0 ) return;
- //grp_eqcdlist.visible = true;
- model.resetInstanceNode("/root/main/eqcdlist/eqcdlist1");
- var prcpdd = subgridlistid.valueMatrix(subgridlistid.row, subgridlistid.colRef("prcpdd"));
- var execprcpuniqno = subgridlistid.valueMatrix(subgridlistid.row, subgridlistid.colRef("execprcpuniqno"));
-
- model.setValue("/root/send/eqdata/eqprcpdd", prcpdd);
- model.setValue("/root/send/eqdata/eqexecprcpuniqno", execprcpuniqno);
- model.setValue("/root/send/eqdata/excueqcd", model.getValue("/root/send/data/cmb_info/initexcueq/excueqcdid"));
-
- submit("TRAER00314");
- }
- /* @group : 접수관리(핵의학체내)
- * @ver : 2007.03.21
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 처방내역에 대한 장비코드 에 대한 부분 실시 Function
- */
- function fExePartExec() {
-
- model.resetInstanceNode("/root/send/data/execprcpuniq/execprcpuniqlist");
-
- var nodeList = instance1.selectNodes("/root/main/ordlist3/mainordlist/mainordlist3[check='Y']");
- var rCSV = getNodeListCSV(nodeList);
- if ( rCSV == "" ) {
- return;
- }
-
- model.makeValue("/root/send/data/execprcpuniq/execprcpuniqlist", rCSV);
-
- // 장비 시작 실시
- submit("TXAER00305", false);
- }
- /* @group : 접수관리(핵의학체내)
- * @ver : 2007.03.21
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 처방내역에 대한 실시완료 Function , gubn : 1:실시, 2:실시취소
- */
- function fExeExec(gubn) {
- var check = "";
- var loopcnt = 0;
- var loop = getNodesetCount("/root/main/subordlist/subordlist1");
- for( var i = 1 ; i <= loop ; i++ ) {
- check = model.getValue("/root/main/subordlist/subordlist1[" + i + "]/check");
- if ( check == "Y" ) {
- loopcnt++;
- // 검체검사는 접수/취소/보류/취소를 막는다.
- var chkprcpnm = model.getValue("/root/main/subordlist/subordlist1[" + i + "]/prcpnm");
- var execprcpstatcd = model.getValue("/root/main/subordlist/subordlist1[" + i + "]/execprcpstatcd");
- var excuroomcd = model.getValue("/root/main/subordlist/subordlist1[" + i + "]/excuroomcd");
- var pacsnocretyn = model.getValue("/root/main/subordlist/subordlist1[" + i + "]/pacsnocretyn");
- var pacsnocretcdyn = model.getValue("/root/main/subordlist/subordlist1[" + i + "]/pacsnocretcdyn");
- var baseroomflag = model.getValue("/root/main/subordlist/subordlist1[" + i + "]/baseroomflag");
- model.setValue("/root/main/subordlist/subordlist1[" + i + "]/pacsnocretyn", pacsnocretcdyn);
-
- if ( model.getValue("/root/main/subordlist/subordlist1[" + i + "]/basesuppdeptcd") == "B6" ) {
- messageBox("["+chkprcpnm+"] 검사는 검체검사입니다. [환자채혈] 기능을 이용하시기 바랍니다.", "I999");
- return "0";
- }
-
- if (gubn == 1) {
- //20101102 치료투약실일경우 - 박재영
- //if ( excuroomcd != "NMCU" ) {
- if ( excuroomcd != "NMR01" ) {
- if ( baseroomflag != "8" ) {
- messageBox("검사실 구분이 촬영실인 아닌 경우 실시완료", "E001");
- return "0";
- }
- }
-
- // if ( excuroomcd == "NM01" ) {
- // messageBox("촬영실이 핵의학 접수인 경우 실시완료", "E001");
- // return "0";
- // }
- //
- // if ( excuroomcd == "NMPT03" ) {
- // messageBox("촬영실이 PET-CT 접수인 경우 실시완료", "E001");
- // return "0";
- // }
-
- if ( execprcpstatcd != "600" ) {
- messageBox("["+chkprcpnm+"] 검사는 부분 실시 상태가 아니므로 실시완료", "E001");
- return "0";
- }
- }
- if (gubn == 2) {
- if ( execprcpstatcd != "610" && pacsnocretyn !="N") {
- messageBox("["+chkprcpnm+"] 검사는 실시완료 상태가 아니므로 실시완료 취소를", "E001");
- return "0";
- }
- }
- }
- }
- if ( loopcnt == 0 ) {
- messageBox("처방내역을 선택해 주십시오.","I999");
- return "0";
- }
- // 실시
- if(gubn == 1) {
- for( var i = 1 ; i <= loop ; i++ ) {
- check = model.getValue("/root/main/subordlist/subordlist1[" + i + "]/check");
- if ( check == "Y" ) {
- model.setValue("/root/main/subordlist/subordlist1[" + i + "]/execrem", tar_execrem.value);
- model.setValue("/root/main/subordlist/subordlist1[" + i + "]/excueqcd1", model.getValue("/root/send/data/cmb_info/initexcueq/excueqcdid") );
- }
- }
-
- var nodeList = instance1.selectNodes("/root/main/subordlist/subordlist1[check='Y']");
- var rCSV = getNodeListCSV(nodeList);
- if ( rCSV == "" ) {
- messageBox("처방내역을 선택해 주십시오.","I999");
- return "0";
- }
- model.setValue("/root/send/data/tobeacptprcp/tobeacptprcplist", rCSV);
- }
-
- // 실시취소
- if(gubn == 2) {
-
- //취소코드조회
- model.makeValue("/root/send/popup/basecdflag","C");
- model.makeNode("root/hidden/cnclcdlist/cnclcd");
- modal("SPAEA01500", 0,100,150,"SPAEA01500", "/root/send/popup/basecdflag", "/root/hidden/receivedata");
-
- if ( model.getValue("root/hidden/cnclcdlist/cnclcd") == "") {
- messageBox("취소코드를 선택해 주십시오.","I999");
- return "0";
- }
-
- for( var i = 1 ; i <= loop ; i++ ) {
- check = model.getValue("/root/main/subordlist/subordlist1[" + i + "]/check");
- if ( check == "Y" ) {
- // 취소코드 사유 Test 하기 위해, 20070705 ////
- model.setValue("/root/main/subordlist/subordlist1[" + i + "]/basecd", model.getValue("/root/hidden/cnclcdlist/cnclcd") );
- model.setValue("/root/main/subordlist/subordlist1[" + i + "]/execrem", "-" );
- if ( model.getValue("/root/main/subordlist/subordlist1[" + i + "]/execbaseflag") == "A" ) { // 실시기준여부가 접수인경우
- model.setValue("/root/main/subordlist/subordlist1[" + i + "]/acptrem", "-");
- }
- }
- }
-
- var nodeList = instance1.selectNodes("/root/main/subordlist/subordlist1[check='Y']");
- var rCSV = getNodeListCSV(nodeList);
- if ( rCSV == "" ) {
- messageBox("처방내역을 선택해 주십시오.","I999");
- return "0";
- }
- model.setValue("/root/send/data/tobeacptcnclprcp/tobeacptcnclprcplist", rCSV);
- }
- var pid = "";
- var calcscorcd = "";
-
- if ( btn_case3.selected == true ) {
- calcscorcd = model.getValue("/root/main/ordlist2/mainordlist2["+grd_mainordlist2.row+"]/calcscorcd");
- } else {
- pid = model.getValue("/root/main/ordlist1/mainordlist1["+grd_mainordlist1.row+"]/pid");
- }
- model.makeValue("/root/send/temp/pid",pid);
- model.makeValue("/root/send/temp/calcscorcd",calcscorcd);
- if ( gubn == 1 ) {
- if ( messageBox("실시내역을 ","Q002")==6 ) {
- if (submit("TXAER00301",false)) {
- var srchpid = model.getValue("/root/send/data/srchpid");
- if (srchpid == "") {
- fGetExamCureAcptList();
- } else {
- fGetExamCurePidPrcpList();
- }
- }
- }else {
- model.resetInstanceNode("/root/send/data/tobeacptprcp/tobeacptprcplist");
- return "0";
- }
-
- } else if ( gubn == 2 ) {
- if ( messageBox("실시취소내역을 ","Q002")==6 ) {
- if (submit("TXAER00302",false)) {
- var srchpid = model.getValue("/root/send/data/srchpid");
- if (srchpid == "") {
- fGetExamCureAcptList();
- } else {
- fGetExamCurePidPrcpList();
- }
- }
- } else {
- model.resetInstanceNode("/root/send/data/tobeacptcnclprcp/tobeacptcnclprcplist");
- return "0";
- }
- }
- }
- /* @group : 접수관리(핵의학체내)
- * @ver : 2007.03.21
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 접수내역에 대한 보류/보류취소를 위한 선택 Function
- */
- function fExeHold(gubn) {
-
- var check = "";
- var loopcnt = 0;
- var execprcpstatcd = ""; // 처방상태코드 구분
-
- //var loop = grd_subordlist1.rows - grd_subordlist1.fixedRows;
- var loop = getNodesetCount("/root/main/subordlist/subordlist1");
-
- if ( gubn == 1 ) {
-
- for ( var i = 1 ; i <= loop ; i++ ) {
- check = model.getValue("/root/main/subordlist/subordlist1[" + i + "]/check");
- execprcpstatcd = model.getValue("/root/main/subordlist/subordlist1[" + i + "]/execprcpstatcd");
- prcpnm = model.getValue("/root/main/subordlist/subordlist1[" + i + "]/prcpnm");
- if ( check == "Y" ) {
- if( execprcpstatcd == "450" ) {
- messageBox(prcpnm + "은 Hold된 처방이므로 보류 할 수 없습니다.","I999");
- return "0";
- }
- // 검체검사는 접수/취소/보류/취소를 막는다.
- var chkprcpnm = model.getValue("/root/main/subordlist/subordlist1[" + i + "]/prcpnm");
- if ( model.getValue("/root/main/subordlist/subordlist1[" + i + "]/basesuppdeptcd") == "B6" ) {
- messageBox("["+chkprcpnm+"] 검사는 검체검사입니다. [환자채혈] 기능을 이용하시기 바랍니다.", "I999");
- return "0";
- }
- loopcnt++;
- }
- }
- if ( loopcnt == 0 ) {
- messageBox("처방내역을 선택해 주십시오.","I999");
- return "0";
- }
- }
-
- if ( gubn == 2 ) {
- for( var i = 1 ; i <= loop ; i++ ) {
- check = model.getValue("/root/main/subordlist/subordlist1[" + i + "]/check");
- execprcpstatcd = model.getValue("/root/main/subordlist/subordlist1[" + i + "]/execprcpstatcd");
- prcpnm = model.getValue("/root/main/subordlist/subordlist1[" + i + "]/prcpnm");
- if ( check == "Y" ) {
- if ( execprcpstatcd == "440" ) {
- messageBox(prcpnm + "은 접수된 처방이므로 보류취소 할 수 없습니다.","I999");
- return "0";
- }
- // 검체검사는 접수/취소/보류/취소를 막는다.
- var chkprcpnm = model.getValue("/root/main/subordlist/subordlist1[" + i + "]/prcpnm");
- if ( model.getValue("/root/main/subordlist/subordlist1[" + i + "]/basesuppdeptcd") == "B6" ) {
- messageBox("["+chkprcpnm+"] 검사는 검체검사입니다. [환자채혈] 기능을 이용하시기 바랍니다.", "I999");
- return "0";
- }
- loopcnt++;
- }
- }
- if ( loopcnt == 0 ) {
- messageBox("처방내역을 선택해 주십시오.","I999");
- return "0";
- }
- }
- ////////////////////////////////
- // CopyNode 로직이 들어가야 함.
- ////////////////////////////////
- // 보류
- if(gubn == 1) {
- var nodeList = instance1.selectNodes("/root/main/subordlist/subordlist1[check='Y']");
- var rCSV = getNodeListCSV(nodeList);
- if ( rCSV == "" ) {
- messageBox("처방내역을 선택해 주십시오.","I999");
- return "0";
- }
- model.setValue("/root/send/data/tobeholdprcp/tobeholdprcplist", rCSV);
- }
-
- // 보류취소
- if(gubn == 2) {
- var nodeList = instance1.selectNodes("/root/main/subordlist/subordlist1[check='Y']");
- var rCSV = getNodeListCSV(nodeList);
- if ( rCSV == "" ) {
- messageBox("보류처방내역을 선택해 주십시오.","I999");
- return "0";
- }
- model.setValue("/root/send/data/tobeholdcnclprcp/tobeholdcnclprcplist", rCSV);
- }
- if ( gubn == 1 ) {
- if ( messageBox("보류내역을 ","Q002")==6 ) {
- if (submit("TXAER00303")) {
- var srchpid = model.getValue("/root/send/data/srchpid");
- if (srchpid == "") {
- if ( btn_case3.selected != true ) {
- fGetExamCurePrcpList(grd_mainordlist1);
- } else {
- fGetExamCurePrcpList(grd_mainordlist2);
- }
- } else {
- fGetExamCurePidPrcpList();
- }
- }
-
- } else {
- model.resetInstanceNode("/root/send/data/tobeholdprcp/tobeholdprcplist");
- return "0";
- }
- } else if ( gubn == 2 ) {
- if ( messageBox("보류취소내역을 ","Q002")==6 ) {
- if (submit("TXAER00304")) {
- var srchpid = model.getValue("/root/send/data/srchpid");
- if (srchpid == "") {
- if ( btn_case3.selected != true ) {
- fGetExamCurePrcpList(grd_mainordlist1);
- } else {
- fGetExamCurePrcpList(grd_mainordlist2);
- }
- } else {
- fGetExamCurePidPrcpList();
- }
- }
- } else {
- model.resetInstanceNode("/root/send/data/tobeholdcnclprcp/tobeholdcnclprcplist");
- return "0";
- }
- }
- }
-
-
- /* @group : 실시관리
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 처방 그리드 Setting Function
- */
- function fSetSubDetailGrid()
- {
- ////////////////////////////
- // 처방 그리드 세팅한다//
- ////////////////////////////
-
- // 색상 해제 ,
- var srchLength1 = model.instances(0).selectNodes( "/root/main/subordlist/subordlist1" ).length;
- for ( var i = 1; i <= srchLength1; i++ ) {
- grd_subordlist1.rowstyle( i , "data" , "background-color" ) = "#FFFFFF";
- grd_subordlist1.rowstyle( i , "data" , "color" ) = "#000000";
- }
- aezfSetRowStyle("grd_subordlist1" , "7" , "Y" , "eqcdyn" );
- aezfSetFontRowStyle("grd_subordlist1" , "9" , "B6" , "basesuppdeptcd" );
- }
-
- /* @group : 실시관리
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 처방 그리드 Setting Function
- */
- function fSetSubDetailGrid2()
- {
- ////////////////////////////
- // 처방 그리드 세팅한다//
- ////////////////////////////
-
- // 색상 해제 ,
- var srchLength1 = model.instances(0).selectNodes( "/root/main/ordlist3/mainordlist/mainordlist3" ).length;
- var conttestyn = "";
- for ( var i = 1; i <= srchLength1; i++ ) {
- grd_subpopordlist.rowstyle( i , "data" , "background-color" ) = "#FFFFFF";
- grd_subpopordlist.rowstyle( i , "data" , "color" ) = "#000000";
- grd_subpopordlist.isReadOnly(i, grd_subpopordlist.colRef("check"), i , grd_subpopordlist.colRef("check")) = false;
-
- conttestyn = grd_subpopordlist.valueMatrix(i, grd_subpopordlist.colRef("conttestyn"));
- conttestrsrvdd = grd_subpopordlist.valueMatrix(i, grd_subpopordlist.colRef("conttestrsrvdd"));
- if ( conttestyn == "Y" ) {
- grd_subpopordlist.rowstyle( i , "data" , "background-color" ) = "#FFCCCC";
- if (conttestrsrvdd > getCurrentDate() ) {
- grd_subpopordlist.isReadOnly(i, grd_subpopordlist.colRef("check"), i , grd_subpopordlist.colRef("check")) = true;
- }
- }
- }
- // aezfSetRowStyle("grd_subpopordlist" , "7" , "Y" , "conttestyn" );
- // aezfSetFontRowStyle("grd_subpopordlist" , "9" , "Y" , "conttestyn" );
- }
-
-
- /* @group : 접수관리(핵의학체내)
- * @ver : 2007.03.21
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 환자기준 전체 처방내역 조회를 위한 선택 Function
- */
- function fGetExamCurePidPrcpList() {
-
- fInitTar();
-
- var pid = model.getValue("/root/send/data/srchpid");
- model.makeValue("/root/send/data/grd_info/grid_data/pid", pid);
-
- model.makeValue("/root/send/data/grd_info/grid_data/largeclass", "M3");
- var flag = model.getValue("/root/send/data/acptlistflag");
- model.makeValue("/root/send/data/acptlistflag", "L");
- // 대상자 내역 Clear를 한다.
- model.resetInstanceNode("/root/main/ordlist1/mainordlist1");
- model.resetInstanceNode("/root/main/ordlist2/mainordlist2");
- model.resetInstanceNode("/root/send/ivdata");
- model.resetInstanceNode("/root/send/ivdata1");
- model.resetInstanceNode("/root/send/ivdata2");
- model.resetInstanceNode("/root/send/ivdata3");
- model.resetInstanceNode("/root/send/ivdata4");
- model.makeValue("/root/send/data/grd_info/grid_data/prcpgenrflag", "");
- if (submit("TRAER00308")) {
-
- // 그리드 세팅
- fSetSubDetailGrid();
- model.removenode("/root/main/exculist/subordlist3");
- if (submit("TRAEA02009",false)){
- model.makeNode("/root/main/exculist/subordlist3");
- copyNodeType("/root/main/exculist/subordlist3", "/root/reqdata1/subordlist3", "replace");
- grd_patcmtlist.refresh();
- patcmt();
- }
- btn_accept.disabled = true;
-
- }
-
- // 그리드 세팅
- fSetSubDetailGrid();
- aezfSetCellStyle("grd_subordlist1" , "0^1^2" , "V^P^A" , "aftrcptinfo", "pid", "F");
-
- model.makeValue("/root/send/data/acptlistflag", flag);
-
- cmb_acptlistflag.value = "";
- cmb_excuroomgrp.value ="";
- cmb_excuroom.value = "";
-
- model.refresh();
-
- var nodecnt = getNodesetCount("/root/main/subordlist/subordlist1");
-
- //TOP 정보 보여주기
- if (nodecnt >0 ) {
- model.makeValue("/root/main/ordlist1/mainordlist1[ " + 1 + "]/no", "1");
- model.makeValue("/root/main/ordlist1/mainordlist1[ " + 1 + "]/pid", model.getValue("/root/main/subordlist/subordlist1[" + 1 + "]/pid"));
- model.makeValue("/root/main/ordlist1/mainordlist1[ " + 1 + "]/patnm", model.getValue("/root/main/subordlist/subordlist1[" + 1 + "]/patnm"));
- model.makeValue("/root/main/ordlist1/mainordlist1[ " + 1 + "]/prcpgenrflag", model.getValue("/root/main/subordlist/subordlist1[" + 1 + "]/prcpgenrflag"));
- model.makeValue("/root/main/ordlist1/mainordlist1[ " + 1 + "]/wardcd", model.getValue("/root/main/subordlist/subordlist1[" + 1 + "]/wardcd"));
- model.makeValue("/root/main/ordlist1/mainordlist1[ " + 1 + "]/depthngnm", model.getValue("/root/main/subordlist/subordlist1[" + 1 + "]/depthngnm"));
- model.makeValue("/root/main/ordlist1/mainordlist1[ " + 1 + "]/execprcpuniqno", model.getValue("/root/main/subordlist/subordlist1[" + 1 + "]/execprcpuniqno"));
- model.makeValue("/root/main/ordlist1/mainordlist1[ " + 1 + "]/orddeptcd", model.getValue("/root/main/subordlist/subordlist1[" + 1 + "]/orddeptcd"));
- model.makeValue("/root/main/ordlist1/mainordlist1[ " + 1 + "]/rsrvdd", model.getValue("/root/main/subordlist/subordlist1[" + 1 + "]/rsrvdd"));
- model.makeValue("/root/main/ordlist1/mainordlist1[ " + 1 + "]/execprcpstatcd", model.getValue("/root/main/subordlist/subordlist1[" + 1 + "]/execprcpstatcd"));
- model.makeValue("/root/main/ordlist1/mainordlist1[ " + 1 + "]/prcpdd", model.getValue("/root/main/subordlist/subordlist1[" + 1 + "]/prcpdd"));
- model.makeValue("/root/main/ordlist1/mainordlist1[ " + 1 + "]/roomcd", model.getValue("/root/main/subordlist/subordlist1[" + 1 + "]/roomcd"));
- model.makeValue("/root/main/ordlist1/mainordlist1[ " + 1 + "]/orddrid", model.getValue("/root/main/subordlist/subordlist1[" + 1 + "]/orddrid"));
- model.makeValue("/root/main/ordlist1/mainordlist1[ " + 1 + "]/rcptyn", model.getValue("/root/main/subordlist/subordlist1[" + 1 + "]/rcptyn"));
- model.makeValue("/root/main/ordlist1/mainordlist1[ " + 1 + "]/orddd", model.getValue("/root/main/subordlist/subordlist1[" + 1 + "]/orddd"));
- model.makeValue("/root/main/ordlist1/mainordlist1[ " + 1 + "]/cretno", model.getValue("/root/main/subordlist/subordlist1[" + 1 + "]/cretno"));
- var prcpgenrflag = model.getValue("/root/main/subordlist/subordlist1[" + 1 + "]/prcpgenrflag");
- if ( prcpgenrflag =="I" || prcpgenrflag =="D" || prcpgenrflag =="E" ) {
- btn_case2.selected = true;
- } else if ( prcpgenrflag =="-" || prcpgenrflag =="O" || prcpgenrflag =="S" ) {
- btn_case1.selected = true;
- } else {
- btn_case1.selected = true;
- }
- model.toggle("case1");
- grd_mainordlist1.row = 1;
- model.refresh();
-
- delPatientInfos();
- fTopInfo();
- }
- }
- function fPatidInfo() {
- var child = getChildWindow("SMMMO02500");
- if (child != null ) {
- var pid = model.getValue("/root/main/ordlist1/mainordlist1["+grd_mainordlist1.row+"]/pid");
-
- if (pid == "") {
- pid = model.getValue("/root/main/subordlist/subordlist1["+grd_subordlist1.row+"]/pid");
- }
-
- child.model.makeValue("/root/main/patinfolist/pid" , pid);
- setParameter ( "SMMMO02500_cond" ,pid);
- child.javascript.fReqGetPatComnInfo("/root/send/reqdata", pid);
- child.button1.selected = true;
- child.model.toggle("case1");
-
- child.model.copyNode("/root/main/patinfolist", "/root/main/srchinfo/patinfolist");
- child.model.removeNodeset("/root/main/bfprcp/prcplist");
- child.model.removeNodeset("/root/main/bfprcpday/bfprcpday");
- child.grd_prcpdd.visible = false;
- child.grd_bfprcplist.attribute("left") = 2;
- child.grd_bfprcplist.attribute("width")= 1190;
- child.model.refresh();
-
- } else {
- open("SMMMO02500", "","","", "SMMMO02500", "", "/root/init/srchcond2");
- }
- }
- function fRsrvInfo() {
- if ( btn_case3.selected != true ) {
- open("SMAEA00300", "", "", "", "SMAEA00300","/root/main/ordlist1/mainordlist1["+ grd_subordlist1.row +"]/pid","/root/send/srchpid");
- }else {
- open("SMAEA00300", "", "", "", "SMAEA00300","/root/main/ordlist2/mainordlist2["+ grd_mainordlist1.row +"]/pid","/root/send/srchpid");
- }
- }
-
-
- function fNuclInput() {
-
- var row = grd_subordlist1.row;
- var ivinputyn = grd_subordlist1.valueMatrix(row, grd_subordlist1.colRef("ivinputyn"));
- var execprcpstatcd = grd_subordlist1.valueMatrix(row, grd_subordlist1.colRef("execprcpstatcd"));
- var prcpnm = grd_subordlist1.valueMatrix(row, grd_subordlist1.colRef("prcpnm"));
- if ( execprcpstatcd == "450" ) {
- messageBox(prcpnm + "은 Hold된 처방이므로 동위원소 투여입력을 할 수 없습니다.","I999");
- return;
- }
-
- if ( ivinputyn == "N" || ivinputyn == "Y") {
-
- var pid = grd_subordlist1.valueMatrix(row, grd_subordlist1.colRef("pid"));
- var srchdate1 = model.getValue("/root/send/data/srchdate1");
- var srchdate2 = model.getValue("/root/send/data/srchdate2");
- var excuroom = model.getValue("/root/send/data/cmb_info/initexecroom/excuroomcdid");
- var windowid = "SMAEA01400";
-
- model.makeValue("/root/send/windowloadinstance/srchpid", pid);
- model.makeValue("/root/send/windowloadinstance/srchdate1", srchdate1);
- model.makeValue("/root/send/windowloadinstance/srchdate2", srchdate2);
- model.makeValue("/root/send/windowloadinstance/excuroom", excuroom);
- model.makeValue("/root/send/windowloadinstance/windowid", windowid);
-
- model.refresh();
-
- //window.load( "SMAEA02300_IV입력관리.xrw","modal","code", "left:100px; top:150px; width:530px; height:380px;min:hidden;max:hidden;resize:false;" );
- open("SMAEA02300", "","","", "SMAEA02300", "/root/send/windowloadinstance","/root/init/windowloadinstance");
- model.resetInstanceNode("/root/send/windowloadinstance");
- model.refresh();
- }
- }
-
-
- function fAddPrcpMngt() {
- aezfAddPrcpMngt(grd_subordlist1, "/root/main/subordlist/subordlist1");
- }
- // 환자 Commnet 가 없을 경우 입력 row 생성
- function patcmt() {
- if (grd_patcmtlist.rows > 1){
- var irow = grd_patcmtlist.findRow(getCurrentDate(), 1, 1);
- if (irow < 1){
- grd_patcmtlist.insertRow(1, "above");
- model.makeValue("/root/main/exculist/subordlist3/rows[" + 1 + "]/iudgb", "I");
- }
- }else{
- grd_patcmtlist.insertRow(0);
- model.makeValue("/root/main/exculist/subordlist3/rows[" + 1 + "]/iudgb", "I");
- }
- model.makeValue("/root/main/exculist/subordlist3/rows[" + 1 + "]/pid", model.getValue("/root/send/patinfo/srchpid"));
- model.makeValue("/root/main/exculist/subordlist3/rows[" + 1 + "]/cmtdd", getCurrentDate());
- btn_patcmtsave.disabled = false;
- grd_patcmtlist.refresh();
- }
-
-
- /* @group : IV입력관리(핵의학체내)
- * @ver : 2007.03.21
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : IV입력을 위한 Function
- */
- function fExeNuclInpt() {
- var nuclcd = model.getValue("/root/send/ivdata/nuclcd");
- if (nuclcd == "") {
- var msg = messageBox("기술적 기록이 조회 되지 않았습니다. 조회 후 투여입력을", "Q002");
- if (msg == 6) {
- // 기술적 기록 조회
- fGetNuclInptList(grd_subordlist1);
- } else {
- messageBox("핵종코드를 선택해 주십시오.","I999");
- return "0";
- }
- }
-
- var execrid = model.getValue("/root/send/ivdata/execrid");
- if (execrid == "") {
- messageBox("실시자를 선택해 주십시오.","I999");
- return "0";
- }
- var nodeList = instance1.selectNodes("/root/main/subordlist/subordlist1[check='Y' ]");
- var rCSV = getNodeListCSV(nodeList);
- if ( rCSV == null ) {
- messageBox("동위원소 투여 입력 할 처방을","C002");
- return;
- }
-
- for (var i=1; i<grd_subordlist1.rows; i++) {
-
- var selChk = grd_subordlist1.valueMatrix(i, grd_subordlist1.colRef("check"));
-
- if (selChk == "Y") {
-
- var excuroomgrpcd = model.getValue("/root/main/subordlist/subordlist1[" + i + "]/excuroomgrpcd");
- var excuroomcd = model.getValue("/root/main/subordlist/subordlist1[" + i + "]/excuroomcd");
- var ivinputyn = model.getValue("/root/main/subordlist/subordlist1[" + i + "]/ivinputyn");
- model.makeValue("/root/send/ivdata/ivinputyn", ivinputyn);
-
- if ( ivinputyn == "Y" ) {
-
- // 영상인 경우만 적용
- if (btn_clear.visible == true) {
- var msg = messageBox("동위원소 투여 입력된 검사입니다. 재료소모 내역를 신규", "Q002");
- if (msg == 6) {
- // 기술적 기록 추가 입력
- model.setValue("/root/send/ivdata/ivinputyn","N");
- }
- }
- }
-
- // 핵종코드가 primarykey로 변경 되었기 때문에 값이 없을 경우 '-' 대체
- var nuclcd = model.getValue("/root/send/ivdata/nuclcd");
- if (nuclcd == "") {
- model.setValue("/root/send/ivdata/nuclcd","-");
- }
-
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/nuclcd", model.getValue("/root/send/ivdata/nuclcd"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/oldnuclcd", model.getValue("/root/send/ivdata/oldnuclcd"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/drugdd", model.getValue("/root/send/ivdata/drugdd"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/drugtm", model.getValue("/root/send/ivdata/drugtm"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/drugqty", model.getValue("/root/send/ivdata/drugqty"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/cstqty", model.getValue("/root/send/ivdata/cstqty"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/nuclrem", model.getValue("/root/send/ivdata/nuclrem"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/compdcd", model.getValue("/root/send/ivdata/compdcd"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/drugmthdcd", model.getValue("/root/send/ivdata/drugmthdcd"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/phormcd", model.getValue("/root/send/ivdata/phormcd"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/scrtroomcd", model.getValue("/root/send/ivdata/scrtrmcd"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/injpartcd", model.getValue("/root/send/ivdata/injpartcd"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/suplcustcd", model.getValue("/root/send/ivdata/suplcustcd"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/ht", model.getValue("/root/send/ivdata/ht"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/bdwt", model.getValue("/root/send/ivdata/bdwt"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/bsugarqty", model.getValue("/root/send/ivdata/bsugarqty"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/labbkg", model.getValue("/root/send/ivdata/labbkg"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/patbkg", model.getValue("/root/send/ivdata/patbkg"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/smplact", model.getValue("/root/send/ivdata/smplact"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/thyrmea", model.getValue("/root/send/ivdata/thyrmea"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/testrsltval", model.getValue("/root/send/ivdata/testrsltval"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/execrid", model.getValue("/root/send/ivdata/execrid"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/stndactqty", model.getValue("/root/send/ivdata/stndactqty"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/stndactinsptm", model.getValue("/root/send/ivdata/stndactinsptm"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/stndpostactqty", model.getValue("/root/send/ivdata/stndpostactqty"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/stndpostactinsptm", model.getValue("/root/send/ivdata/stndpostactinsptm"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/nuclinsptm", model.getValue("/root/send/ivdata/nuclinsptm"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/nucldrugrestqty", model.getValue("/root/send/ivdata/nucldrugrestqty"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/nucldruginsptm", model.getValue("/root/send/ivdata/nucldruginsptm"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/smplnfstcnt", model.getValue("/root/send/ivdata/smplnfstcnt"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/smplnfstbcolltm", model.getValue("/root/send/ivdata/smplnfstbcolltm"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/smplnscndcnt", model.getValue("/root/send/ivdata/smplnscndcnt"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/smplnscndbcolltm", model.getValue("/root/send/ivdata/smplnscndbcolltm"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/smplnthirdcnt", model.getValue("/root/send/ivdata/smplnthirdcnt"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/smplnthirdcolltm", model.getValue("/root/send/ivdata/smplnthirdcolltm"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/smplnfourthcnt", model.getValue("/root/send/ivdata/smplnfourthcnt"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/smplnfourthcolltm", model.getValue("/root/send/ivdata/smplnfourthcolltm"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/ordcd", model.getValue("/root/main/subordlist/subordlist1[" + i + "]/calcscorcd"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/ivinputyn", model.getValue("/root/send/ivdata/ivinputyn"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/examroomnm", cmb_excuroom2.label);
-
- }
- }
- var nodeList = instance1.selectNodes("/root/main/subordlist/subordlist1[check='Y' ]");
- var rCSV = getNodeListCSV(nodeList);
- model.setValue("/root/send/data/nuclinput/nuclinptlist", rCSV);
-
- if ( messageBox("동위원소투여 입력을 ","Q002") ==6 ) {
-
- // 기술적 기록 입력
- submit("TXAER00306");
- } else {
- return "0";
- }
- }
-
- /* @group : IV입력관리(핵의학체내)
- * @ver : 2007.03.21
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : IV입력 취소를 위한 Function
- */
- function fExeNuclCnclList() {
- var excuroomgrpcdid = model.getValue("/root/send/data/cmb_info/initexcuroomgrp/excuroomgrpcdid");
- var excuroomcdid = model.getValue("/root/send/data/cmb_info/initexecroom/excuroomcdid");
-
- for (var i=1; i<grd_subordlist1.rows; i++) {
-
- var selChk = grd_subordlist1.valueMatrix(i, grd_subordlist1.colRef("check"));
-
- if (selChk == "Y") {
-
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/nuclcd", model.getValue("/root/send/ivdata/nuclcd"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/oldnuclcd", model.getValue("/root/send/ivdata/oldnuclcd"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/drugdd", model.getValue("/root/send/ivdata/drugdd"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/drugtm", model.getValue("/root/send/ivdata/drugtm"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/drugqty", model.getValue("/root/send/ivdata/drugqty"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/cstqty", model.getValue("/root/send/ivdata/cstqty"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/nuclrem", model.getValue("/root/send/ivdata/nuclrem"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/compdcd", model.getValue("/root/send/ivdata/compdcd"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/drugmthdcd", model.getValue("/root/send/ivdata/drugmthdcd"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/phormcd", model.getValue("/root/send/ivdata/phormcd"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/scrtroomcd", model.getValue("/root/send/ivdata/scrtrmcd"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/injpartcd", model.getValue("/root/send/ivdata/injpartcd"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/suplcustcd", model.getValue("/root/send/ivdata/suplcustcd"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/ht", model.getValue("/root/send/ivdata/ht"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/bdwt", model.getValue("/root/send/ivdata/bdwt"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/bsugarqty", model.getValue("/root/send/ivdata/bsugarqty"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/labbkg", model.getValue("/root/send/ivdata/labbkg"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/patbkg", model.getValue("/root/send/ivdata/patbkg"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/smplact", model.getValue("/root/send/ivdata/smplact"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/thyrmea", model.getValue("/root/send/ivdata/thyrmea"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/testrsltval", model.getValue("/root/send/ivdata/testrsltval"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/execrid", model.getValue("/root/send/ivdata/execrid"));
- model.makeValue("/root/main/subordlist/subordlist1[" + i + "]/ordcd", model.getValue("/root/main/subordlist/subordlist1[" + i + "]/calcscorcd"));
-
- var ivinputyn = model.getValue("/root/main/subordlist/subordlist1[" + i + "]/ivinputyn");
- var prcpnm = model.getValue("/root/main/subordlist/subordlist1[" + i + "]/prcpnm");
- if ( ivinputyn == "N" ) {
- messageBox("["+ prcpnm + "] 처방은 동위원소투여 입력여부가 [N]입니다. 취소상태로 변경할 수 없습니다.","I999");
- return "0";
- }
- }
- }
- var nodeList = instance1.selectNodes("/root/main/subordlist/subordlist1[check='Y' ]");
- var rCSV = getNodeListCSV(nodeList);
-
- if ( rCSV == null ) {
- messageBox("동위원소 투여 취소 할 처방을","C002");
- return;
- }
-
- model.setValue("/root/send/data/nuclinput/nuclinptlist", rCSV);
-
- if ( messageBox("동위원소투여 입력 취소를 ","Q002")==6 ) {
- submit("TXAER00307");
- } else {
- return "0";
- }
- }
-
-
- /* @group : 화면 상단에 선택된 환자정보 조회(핵의학체내)
- * @ver : 2007.03.21
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : Function
- */
- function fTopInfo(){
-
- //TOP 정보 보여주기
- schk = "N";
-
- var pid = model.getValue("/root/main/ordlist1/mainordlist1["+grd_mainordlist1.row+"]/pid");
- var prcpgenrflag = model.getValue("/root/main/ordlist1/mainordlist1["+grd_mainordlist1.row+"]/prcpgenrflag");
- var dschdd = model.getValue("/root/main/ordlist1/mainordlist1["+grd_mainordlist1.row+"]/dschdd");
- var srchdd = "";
-
- if ( prcpgenrflag =="O" ) {
- var pat_info = prcpgenrflag
- + "▦"+ pid
- + "▦"+ model.getValue("/root/main/ordlist1/mainordlist1["+grd_mainordlist1.row+"]/orddd")
- + "▦"+ model.getValue("/root/main/ordlist1/mainordlist1["+grd_mainordlist1.row+"]/cretno")
- + "▦"+ getUserInfo("dutplceinstcd")
- + "▦1▦"+model.getValue("/root/main/ordlist1/mainordlist1["+grd_mainordlist1.row+"]/orddd");
- schk = "Y";
- } else if ( prcpgenrflag =="I" || prcpgenrflag =="D" || prcpgenrflag =="E" ) {
-
- if (dschdd == "" || dschdd == "99991231") {
- srchdd = getCurrentDate();
- } else {
- srchdd = dschdd;
- }
- var pat_info = prcpgenrflag
- + "▦"+ pid
- + "▦"+ model.getValue("/root/main/ordlist1/mainordlist1["+grd_mainordlist1.row+"]/orddd")
- + "▦"+ model.getValue("/root/main/ordlist1/mainordlist1["+grd_mainordlist1.row+"]/cretno")
- + "▦"+ getUserInfo("dutplceinstcd")
- + "▦"+ srchdd;
- schk = "Y";
- } else if ( prcpgenrflag =="S" || prcpgenrflag =="-" ) {
- var pat_info = prcpgenrflag
- + "▦"+ model.getValue("/root/main/ordlist1/mainordlist1["+grd_mainordlist1.row+"]/prcpdd")
- + "▦"+ model.getValue("/root/main/ordlist1/mainordlist1["+grd_mainordlist1.row+"]/execprcpuniqno")
- + "▦"+ getUserInfo("dutplceinstcd");
- schk = "Y";
- }
-
- if (schk == "Y"){
- setParameter("condparam", pat_info);
- modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
- }
-
- // Open 되어 있는 프로그램에서 선택 환자 변경 시 재조회
- fOpenPrgmReRef(pid);
-
- }
-
- // 처방으로 조회 한 경우 Top 정보 보여주기
- function fTopInfo2(){
-
- //TOP 정보 보여주기
- schk = "N";
-
- var pid = model.getValue("/root/main/subordlist/subordlist1["+grd_subordlist1.row+"]/pid");
- var prcpgenrflag = model.getValue("/root/main/subordlist/subordlist1["+grd_subordlist1.row+"]/prcpgenrflag");
- var dschdd = model.getValue("/root/main/subordlist/subordlist1["+grd_subordlist1.row+"]/dschdd");
- var srchdd = "";
-
- if ( prcpgenrflag =="O" ) {
- var pat_info = prcpgenrflag
- +"▦"+pid
- +"▦"+model.getValue("/root/main/subordlist/subordlist1["+grd_subordlist1.row+"]/orddd")
- +"▦"+model.getValue("/root/main/subordlist/subordlist1["+grd_subordlist1.row+"]/cretno")
- +"▦"+getUserInfo("dutplceinstcd")
- +"▦1▦"+model.getValue("/root/main/subordlist/subordlist1["+grd_subordlist1.row+"]/orddd");
- schk = "Y";
- } else if ( prcpgenrflag =="I" || prcpgenrflag =="D" || prcpgenrflag =="E" ) {
-
- if (dschdd == "" || dschdd == "99991231") {
- srchdd = getCurrentDate();
- } else {
- srchdd = dschdd;
- }
- var pat_info = prcpgenrflag
- +"▦"+ pid
- +"▦"+ model.getValue("/root/main/subordlist/subordlist1["+grd_subordlist1.row+"]/orddd")
- +"▦"+ model.getValue("/root/main/subordlist/subordlist1["+grd_subordlist1.row+"]/cretno")
- +"▦"+ getUserInfo("dutplceinstcd")
- +"▦"+ srchdd;
- schk = "Y";
- } else if ( prcpgenrflag =="S" || prcpgenrflag =="-" ) {
- var pat_info = prcpgenrflag + "▦"+ model.getValue("/root/main/subordlist/subordlist1["+grd_subordlist1.row+"]/prcpdd")
- +"▦"+model.getValue("/root/main/subordlist/subordlist1["+grd_subordlist1.row+"]/execprcpuniqno")
- +"▦"+getUserInfo("dutplceinstcd");
- schk = "Y";
- }
-
- if (schk == "Y"){
- setParameter("condparam", pat_info);
- modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
- }
-
- // Open 되어 있는 프로그램에서 선택 환자 변경 시 재조회
- fOpenPrgmReRef(pid);
- }
-
-
- /* @group :
- * @ver :
- * @by :
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : Open 되어 있는 프로그램에서 선택 환자 변경 시 재조회
- */
- function fOpenPrgmReRef(pid) {
- // 1. 예약조회
- var curRsrvRefObj = getOpenWindow("SMAEA00300"); //활성화된 검사결과 화면 object loading
- if(curRsrvRefObj != null){
- curRsrvRefObj.model.setvalue("/root/send/srchpid", pid );
- curRsrvRefObj.javascript.btn_sea.dispatch("DOMActivate");
- }
-
- // 2. 환자정보조회
- var curPatInfoRefObj = getOpenWindow("SMMMO02500"); //활성화된 검사결과 화면 object loading
- if(curPatInfoRefObj != null){
- fPatidInfo();
- }
-
- // 3. 환자진행조회
- var curPatPrcsRefObj = getOpenWindow("SMAEA04000"); //활성화된 검사결과 화면 object loading
- if(curPatPrcsRefObj != null){
- curPatPrcsRefObj.model.setvalue("/root/send/srchpid", pid );
- curPatPrcsRefObj.javascript.btn_sea.dispatch("DOMActivate");
- }
-
- // 4. 환자채혈관리
- var curPatBCollRefObj = getOpenWindow("SMLLC00300"); //활성화된 검사결과 화면 object loading
- if(curPatBCollRefObj != null){
- curPatBCollRefObj.model.setvalue("/root/hidden/JoHoiFlag/regnopatnm", pid );
- curPatBCollRefObj.javascript.iptSearch.dispatch("onbuttonclick");
- }
-
- // 5. 통합결과조회
- var curExamRsltObj = getOpenWindow("SMAER00800"); //활성화된 검사결과 화면 object loading
- if(curExamRsltObj != null){
- curExamRsltObj.model.setvalue("/root/send/data/singdata/srchpid", pid );
- curExamRsltObj.javascript.btn_srch.dispatch("DOMActivate");
- }
-
- // 6. 개인별 처방이력조회
- var curPatPrcpHistRefObj = getOpenWindow("SMAEA00400"); //활성화된 검사결과 화면 object loading
- if(curPatPrcpHistRefObj != null){
- curPatPrcpHistRefObj.model.setvalue("/root/send/pid", pid );
- curPatPrcpHistRefObj.javascript.btn_sea.dispatch("DOMActivate");
- }
- }
-
- /* @group : IV입력관리(핵의학체내)
- * @ver : 2007.03.21
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : IV입력내역 조회을 위한 Function
- */
- function fGetNuclInptList(subgridlistid) {
-
- var i = subgridlistid.row;
-
- model.resetInstanceNode("/root/send/ivdata/prcpdd");
- model.resetInstanceNode("/root/send/ivdata/execprcpuniqno");
- model.resetInstanceNode("/root/send/ivdata/pid");
- model.resetInstanceNode("/root/send/ivdata/ordcd");
- model.resetInstanceNode("/root/send/ivdata/ivinputyn");
- model.resetInstanceNode("/root/send/ivdata/execrid");
-
- model.makeValue("/root/send/ivdata/prcpdd", model.getValue("/root/main/subordlist/subordlist1["+ i +"]/prcpdd") );
- model.makeValue("/root/send/ivdata/execprcpuniqno",model.getValue("/root/main/subordlist/subordlist1["+ i +"]/execprcpuniqno") );
- model.makeValue("/root/send/ivdata/pid", model.getValue("/root/main/subordlist/subordlist1["+ i +"]/pid") );
- model.makeValue("/root/send/ivdata/ordcd", model.getValue("/root/main/subordlist/subordlist1["+ i +"]/calcscorcd") );
- model.makeValue("/root/send/ivdata/ivinputyn", model.getValue("/root/main/subordlist/subordlist1["+ i +"]/ivinputyn") );
- model.makeValue("/root/send/ivdata/execrid", model.getValue("/root/main/subordlist/subordlist1["+ i +"]/execrid"));
- // PACS 연동 항목
- //model.makeValue("/root/send/ivdata/pacsnocretyn", model.getValue("/root/main/subordlist/subordlist1["+i+"]/pacsnocretyn"));
- model.makeValue("/root/send/ivdata/orddd", model.getValue("/root/main/subordlist/subordlist1["+ i +"]/orddd"));
- model.makeValue("/root/send/ivdata/orddeptcdd", model.getValue("/root/main/subordlist/subordlist1["+ i +"]/orddeptcdd"));
- model.makeValue("/root/send/ivdata/prcpgenrflag", model.getValue("/root/main/subordlist/subordlist1["+ i +"]/prcpgenrflag"));
- model.makeValue("/root/send/ivdata/cretno", model.getValue("/root/main/subordlist/subordlist1["+ i +"]/cretno"));
- model.makeValue("/root/send/ivdata/examroomnm", model.getValue("/root/main/subordlist/subordlist1["+ i +"]/examroomnm"));
- model.makeValue("/root/send/ivdata/calcscorcd", model.getValue("/root/main/subordlist/subordlist1["+ i +"]/calcscorcd"));
- model.makeValue("/root/send/ivdata/rgstrid", model.getValue("/root/main/subordlist/subordlist1["+ i +"]/rgstrid"));
- model.makeValue("/root/send/ivdata/prcpdelivefact", model.getValue("/root/main/subordlist/subordlist1["+ i +"]/prcpdelivefact"));
- model.makeValue("/root/send/ivdata/prcpexecdeptcd",model.getValue("/root/main/subordlist/subordlist1["+ i +"]/prcpexecdeptcd"));
- model.makeValue("/root/send/ivdata/orddepthngnm", model.getValue("/root/main/subordlist/subordlist1["+ i +"]/orddepthngnm"));
- model.makeValue("/root/send/ivdata/pacsnocretyn", model.getValue("/root/main/subordlist/subordlist1["+ i +"]/pacsnocretcdyn"));
-
- var excuroomgrpcdid = model.getValue("/root/send/data/cmb_info/initexcuroomgrp/excuroomgrpcdid");
- var excuroomcdid = model.getValue("/root/main/subordlist/subordlist1["+i+"]/excuroomcd");
- model.makeValue("/root/send/ivdata/srchexcucd", model.getValue("/root/main/subordlist/subordlist1["+i+"]/calcscorcd") );
- model.makeValue("/root/send/ivdata/prcpdd", model.getValue("/root/main/subordlist/subordlist1["+i+"]/prcpdd") );
- model.makeValue("/root/send/ivdata/execprcpuniqno", model.getValue("/root/main/subordlist/subordlist1["+i+"]/execprcpuniqno") );
- model.makeValue("/root/send/ivdata/suppdeptcd", model.getValue("/root/send/globalinstance/instance1") );
-
- // 기술적 기록 입력 여부가 Y인 경우
- if ( model.getValue("/root/main/subordlist/subordlist1["+i+"]/ivinputyn") == "Y" ) {
-
- // 기술적 기록 조회
- submit("TRAER00309",false);
-
- copyNodesetType("/root/send/ivdata", "/root/main/mainordlist2/subordlist");
- model.makeValue("/root/send/ivdata/prcpdd", model.getValue("/root/main/subordlist/subordlist1["+i+"]/prcpdd"));
- if ( excuroomgrpcdid == "PET-CT실") {
- model.makeValue("/root/send/ivdata/srchphormcd", excuroomcdid);
- // 대기실 현황
- fGetScrtRoomUseList();
- }
-
- } else {
- /* */
- // 재료소모코드관리의 TRAEB02001을 호출하기 위해 calcscorcd를 srchexcucd로 대체함.
- submit("TRAEB02001",false)
-
- var cnt = getNodesetCount("/root/main/matrcstcodelist/item");
-
- copyNodesetType("/root/send/ivdata", "/root/main/matrcstcodelist/item");
-
- model.makeValue("/root/send/ivdata/drugdd", getCurrentDate());
- model.makeValue("/root/send/ivdata/drugtm", getCurrentTime());
-
- // 사용자 요구 사항에 의해서 기본값 설정(재료소모코드에 등록된 내역 없을 경우
- if (cnt == 0) {
-
- if ( excuroomgrpcdid == "치료,투약실") {
- model.makeValue("/root/send/ivdata/nuclcd", "RI12");
- model.makeValue("/root/send/ivdata/drugmthdcd", "IN05");
- model.makeValue("/root/send/ivdata/drugqty", "150");
-
- } else if ( excuroomgrpcdid == "기능적 검사") {
- // Thyroid uptake 일 경우
- if (excuroomcdid == "NMFUNC01") {
- model.makeValue("/root/send/ivdata/nuclcd", "RI12");
- model.makeValue("/root/send/ivdata/drugmthdcd", "TR15");
- }
- }
- }
-
- if ( excuroomgrpcdid == "PET-CT실") {
- model.makeValue("/root/send/ivdata/srchphormcd", excuroomcdid);
- // 대기실 현황
- fGetScrtRoomUseList();
- }
-
- }
- model.refresh();
- }
- /* @group :
- * @ver :
- * @by :
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : Function
- */
- function fGetScrtRoomUseList() {
-
- var srchphormcd = model.getValue("/root/send/ivdata/srchphormcd");
-
- if (srchphormcd != "") {
- if (submit("TRAER00315",false)) {
- var nodecnt = getNodesetCount("/root/main/scrtlist/scrtuselist");
- if (nodecnt > 0) {
- for (var i=1; i<=nodecnt;i++) {
- var drugdt = model.getValue("/root/main/scrtlist/scrtuselist[" + i + "]/drugdt");
- var diffTime = getTimeInterval(drugdt.substring(8,12), getCurrentTime().substring(0,4));
- diffTime = (diffTime*1) / 60;
- model.setValue("/root/main/scrtlist/scrtuselist[" + i + "]/progdt", diffTime + "분");
- }
- }
- }
- model.refresh();
- }
- }
-
-
- /* @group : 실시관리(핵체내)
- * @ver : 2007.03.21
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 환자받기를 위한 대상자 조회 Function
- */
- function fGetExamCurePrcpAceptList(maingridlistid) {
- var row = maingridlistid.row;
- var excuroomcd = maingridlistid.valueMatrix(row, maingridlistid.colRef("basecd"));
- model.makeValue("/root/send/data/grd_info/grid_data/excuroomcd", excuroomcd);
- model.makeValue("/root/send/data/grd_info/grid_data/largeclass", "M3");
- model.makeValue("/root/send/data/acptlistflag", "J");
- var success = submit("TRAER00316");
- //alert(success);
- }
-
-
- /* @group : 실시관리(핵체내)
- * @ver : 2007.03.21
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 마지막 채혈 정보 조회 (T3, T4, TSH, Anti-TG-Ab, Free T4)
- */
- function fBColl() {
- var pid = model.getValue("/root/main/subordlist/subordlist1["+grd_subordlist1.row+"]/pid");
- model.setValue("/root/send/data2/pid",pid);
- modal("SPAEA05200", "", "200", "200", "SPAEA05200","/root/send/data2/pid","/root/send/data/pid");
- }
-
- /* @group : 실시관리(핵체내)
- * @ver : 2007.03.21
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 부서별 기록관리
- */
- function fDeptCaseRecMngt() {
- open("SPMMR05400", "", "", "", "SPMMR05400","","");
- }
-
- //=====================================================================================================================================================================================
- // @ 검사실대기환자등록
- //=====================================================================================================================================================================================
- function fSetWaitExcuRoomPatList() {
-
- var dutplceinstcd = getUserInfo("dutplceinstcd");
- var waitroomcdinstcd = model.getValue("/root/init/waitfoominfo/waitroomcdval/A0608/cdid");
- var waitroomcdyn = model.getValue("/root/init/waitfoominfo/waitroomcdval/A0608/cdnm");
- if ( dutplceinstcd == waitroomcdinstcd && waitroomcdyn != 'Y') {
- messageBox("등록된 대기자시스템이", "I004");
- return;
- }
-
- var acptlistflag = model.getValue("/root/send/data/acptlistflag");
-
- if (acptlistflag != "E") {
- messageBox("부분실시 상태가 아닌 경우 대기자 등록을 ", "E001");
- return;
- }
- model.removenode("/root/main/temp/ordschelistinfo");
- var schelistcnt = grd_subordlist1.row;
- var instcd = getUserInfo("dutplceinstcd"); // 기관코드
- var pid = model.getValue("/root/main/subordlist/subordlist1["+ schelistcnt +"]/pid"); // 환자등록번호
- var orddd = getCurrentDate(); // 진료일자
- var orddeptcd = model.getValue("/root/send/globalinstance/instance1"); // 지원부서코드
- var ordroomcd = model.getValue("/root/main/subordlist/subordlist1["+ schelistcnt +"]/excuroomcd"); // 검사실코드
- var orddrid = model.getValue("/root/main/subordlist/subordlist1["+ schelistcnt +"]/orddrid"); // 진료의ID
- var ordrsrvtm = getCurrentTime().substring(0,4); // 진료예약시간
- var ordrsrvseqno = schelistcnt; // 진료예약순서
- var dayflag = "Y"; // 당일구분
-
- model.makeValue("/root/main/temp/ordschelistinfo[" + 1 + "]/chk","1");
- model.makeValue("/root/main/temp/ordschelistinfo[" + 1 + "]/instcd",instcd); // 기관코드
- model.makeValue("/root/main/temp/ordschelistinfo[" + 1 + "]/pid",pid); // 환자등록번호
- model.makeValue("/root/main/temp/ordschelistinfo[" + 1 + "]/orddd", orddd); // 진료일자
- model.makeValue("/root/main/temp/ordschelistinfo[" + 1 + "]/orddeptcd",orddeptcd); // 지원부서코드
- model.makeValue("/root/main/temp/ordschelistinfo[" + 1 + "]/ordroomcd",ordroomcd); // 검사실코드
- model.makeValue("/root/main/temp/ordschelistinfo[" + 1 + "]/orddrid",orddrid); // 진료의ID
- model.makeValue("/root/main/temp/ordschelistinfo[" + 1 + "]/ordrsrvtm",ordrsrvtm); // 진료예약시간
- model.makeValue("/root/main/temp/ordschelistinfo[" + 1 + "]/ordrsrvseqno",""); // 진료예약순서
- model.makeValue("/root/main/temp/ordschelistinfo[" + 1 + "]/dayflag",dayflag); // 당일구분
-
- // 검사실 전광판 대기 환자 등록 인터페이스 정보
- var sPath="/root/main/temp/ordschelistinfo";
- fSaveExcuRoomPatList(sPath);
-
- }
-
- /* @group : 실시관리(핵체내)
- * @ver :
- * @by : 김건기
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 상태 별 버튼 활성화 표시
- */
- function fBtnDisabled(acptlistflag) {
-
- var excuroomgrpcdid = model.getValue("/root/send/data/cmb_info/initexcuroomgrp/excuroomgrpcdid");
- switch (acptlistflag) {
-
- case "J": //투여대기
- btn_roomupdt.disabled = false; // 실변경
-
- btn_partexec.disabled = true; // 시작
- btn_contcure.disabled = true; // 연속검사
- btn_druginpt.disabled = false; // 투여입력
- btn_drugcncl.disabled = true; // 투여취소
- btn_acpt.disabled = true; // 실시완료
- btn_acptcncl.disabled = true; // 취소
- btn_hold.disabled = false; // 실시보류
- btn_holdcncl.disabled = false; // 실시보류 취소
- // cmb_eqcdlist.disabled = true;
-
- if (excuroomgrpcdid == "PET-CT실") {
- btn_accept.disabled = false; // 환자받기
- } else {
- btn_accept.disabled = true; // 환자받기
- }
- break;
- case "E": //실시
- btn_roomupdt.disabled = false; // 실변경
- btn_partexec.disabled = false; // 시작
- btn_contcure.disabled = false; // 연속검사
- btn_druginpt.disabled = false; // 투여입력
- btn_drugcncl.disabled = false; // 투여취소
- btn_acpt.disabled = false; // 실시완료
- btn_acptcncl.disabled = true; // 취소
- btn_hold.disabled = true; // 실시보류
- btn_holdcncl.disabled = true; // 실시보류 취소
- // cmb_eqcdlist.disabled = false;
- if (excuroomgrpcdid == "PET-CT실") {
- btn_accept.disabled = true; // 환자받기
- } else {
- btn_accept.disabled = false; // 환자받기
- }
- break;
-
- case "S": //실시완료
- btn_roomupdt.disabled = true; // 실변경
- btn_partexec.disabled = true; // 시작
- btn_contcure.disabled = true; // 연속검사
- btn_druginpt.disabled = true; // 투여입력
- btn_drugcncl.disabled = true; // 투여취소
- btn_acpt.disabled = true; // 실시완료
- btn_acptcncl.disabled = false; // 취소
- btn_hold.disabled = true; // 실시보류
- btn_holdcncl.disabled = true; // 실시보류 취소
- // cmb_eqcdlist.disabled = true;
- btn_accept.disabled = true; // 환자받기
-
- break;
-
- default:
- btn_roomupdt.disabled = true; // 실변경
- btn_partexec.disabled = true; // 시작
- btn_contcure.disabled = true; // 연속검사
- btn_druginpt.disabled = true; // 투여입력
- btn_drugcncl.disabled = true; // 투여취소
- btn_acpt.disabled = true; // 실시완료
- btn_acptcncl.disabled = true; // 취소
- btn_hold.disabled = true; // 실시보류
- btn_holdcncl.disabled = true; // 실시보류 취소
- // cmb_eqcdlist.disabled = true;
- btn_accept.disabled = true; // 환자받기
-
- break;
-
- }
- }
-
- /* @group : 실시관리(핵체내)
- * @ver :
- * @by : 김건기
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 검사실 그룹 변경 시 이벤트
- */
- function fExcuRoomGrpChoi(excuroomgrpcdid) {
-
- if (excuroomgrpcdid == "") {
- cmb_excuroom.disabled = true;
- } else {
- cmb_excuroom.disabled = false;
- }
- if (submit("TRAEA01418")) {
- copyNodeType("/root/init/cmb_info/excuroom","/root/hidden/cmb_info/excuroom","replace");
-
- model.removenode("/root/hidden/cmb_info/initexecrinfo/initexecrid[1]");
- copyNodeType("/root/init/cmb_info/initexecrinfo","/root/hidden/cmb_info/initexecrinfo","replace");
- model.setValue("/root/send/data/cmb_info/initexecroom/excuroomcdid","");
- }
- model.refresh();
-
- }
- /* @group : 실시관리(핵체내)
- * @ver :
- * @by : 김건기
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 기술적 기록 입력 화면 설정
- */
- function fSetToggle(excuroomcdid) {
-
- var excuroomgrpcdid = model.getValue("/root/send/data/cmb_info/initexcuroomgrp/excuroomgrpcdid");
- var excuroomcdid = model.getValue("/root/send/data/cmb_info/initexecroom/excuroomcdid");
-
- btn_clear.visible = false;
-
- //20101012 NM002 각검사실별 해당 기술적기록 탭 선택 -박재영
- var loop = getNodesetCount("/root/main/codelist/item");
- var cdnm = "";
- var cdid = "";
- var selectcase = "";
- for( var i = 1 ; i <= loop ; i++ ) {
- cdnm = model.getValue("/root/main/codelist/item[" + i + "]/cdnm");
- if(cdnm == excuroomgrpcdid){
- cdid = model.getValue("/root/main/codelist/item[" + i + "]/cdid");
- if(cdid == excuroomcdid){
- selectcase = model.getValue("/root/main/codelist/item[" + i + "]/cntlcd1");
- //alert(selectcase);
- i = loop;
-
- }else{
- selectcase = model.getValue("/root/main/codelist/item[" + i + "]/cntlcd1");
- }
- }
- }
- if( selectcase == ""){
- model.toggle("NM");
- }else{
- model.toggle(selectcase);
- if ( selectcase == "NM") {
- btn_clear.visible = true;
- }
- }
- /* 20101012 공통코드 등록으로 주석처리 - 박재영
- if ( excuroomgrpcdid == "영상검사실") {
- // Thyroid uptake 일 경우
- if (excuroomcdid == "NMFUNC01") {
- model.toggle("FUNC01");
- // GFR PLASMA 일 경우
- } else if (excuroomcdid == "NMFUNC02") {
- model.toggle("FUNC02");
- } else {
- model.toggle("NM");
- btn_clear.visible = true;
- }
- } else if ( excuroomgrpcdid == "PET-CT실") {
- model.toggle("PT");
- } else if ( excuroomgrpcdid == "치료,투약실") {
- model.toggle("CU");
- } else if ( excuroomgrpcdid == "기능적 검사") {
- // Thyroid uptake 일 경우
- if (excuroomcdid == "NMFUNC01") {
- model.toggle("FUNC01");
- // GFR PLASMA 일 경우
- } else if (excuroomcdid == "NMFUNC02") {
- model.toggle("FUNC02");
- } else {
- model.toggle("FUNC01");
- }
- } else {
- model.toggle("NM");
- }
- */
- }
-
- /* @group : 검사실 변경
- * @ver :
- * @by :
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 검사실 환자받기을 위한 선택 Function
- */
- function fSetExamCureAcceptRoomCodeList() {
-
- if ( grd_subpopordlist.row == 0 ) return;
- var check = "";
- var loopcnt = 0;
- var loop = grd_subpopordlist.rows - grd_subpopordlist.fixedRows;
- var excuroomcdid = model.getValue("/root/send/data/cmb_info/initexecroom/excuroomcdid");
-
- // 촬영실을 선택 여부 체크
- if (excuroomcdid == "") {
- messageBox("환자를 받기를 할 촬영실을", "C002");
- return;
- }
- var acptlistflag = model.getValue("/root/send/data/acptlistflag");
- var excuroomcdid = model.getValue("/root/send/data/cmb_info/initexecroom/excuroomcdid");
- var excuposseqcd = model.getValue("/root/init/cmb_info/excuroom/initexcuroom[excuroomcdid='" + excuroomcdid + "']/excuposseqcd");
- var schelistcnt = 1;
-
- model.removenode("/root/main/temp/ordschelistinfo");
-
- for( var i = 1 ; i <= loop ; i++ ) {
- check = model.getValue("/root/main/ordlist3/mainordlist/mainordlist3[" + i + "]/check");
- pacsnocretcdyn = model.getValue("/root/main/ordlist3/mainordlist/mainordlist3[" + i + "]/pacsnocretcdyn");
- if ( check == "Y" ) {
- model.setValue("/root/main/ordlist3/mainordlist/mainordlist3[" + i + "]/excuroomcd", excuroomcdid);
- model.makeValue("/root/main/ordlist3/mainordlist/mainordlist3[" + i + "]/excueqcdid", excuposseqcd);
- if (acptlistflag == "J") {
- model.makeValue("/root/main/ordlist3/mainordlist/mainordlist3[" + i + "]/pacsyn", "2");
- model.makeValue("/root/main/ordlist3/mainordlist/mainordlist3[" + i + "]/syncflag ", "2");
- } else if (acptlistflag == "E") {
- model.makeValue("/root/main/ordlist3/mainordlist/mainordlist3[" + i + "]/pacsyn", "3");
- model.makeValue("/root/main/ordlist3/mainordlist/mainordlist3[" + i + "]/syncflag ", "3");
-
- model.setValue("/root/main/ordlist3/mainordlist/mainordlist3[" + i + "]/pacsnocretyn", pacsnocretcdyn);
-
- // var instcd = getUserInfo("dutplceinstcd"); // 기관코드
- // var pid = model.getValue("/root/main/ordlist3/mainordlist/mainordlist3["+i+"]/pid"); // 환자등록번호
- // var orddd = getCurrentDate(); // 진료일자
- // var orddeptcd = model.getValue("/root/send/globalinstance/instance1"); // 지원부서코드
- // var ordroomcd = excuroomcdid; // 검사실코드
- // var orddrid = model.getValue("/root/main/ordlist3/mainordlist/mainordlist3["+i+"]/orddrid"); // 진료의ID
- // var ordrsrvtm = getCurrentTime().substring(0,4); // 진료예약시간
- // var ordrsrvseqno = schelistcnt; // 진료예약순서
- // var dayflag = "Y"; // 당일구분
- //
- // model.makeValue("/root/main/temp/ordschelistinfo[" + schelistcnt + "]/chk","1");
- // model.makeValue("/root/main/temp/ordschelistinfo[" + schelistcnt + "]/instcd",instcd); // 기관코드
- // model.makeValue("/root/main/temp/ordschelistinfo[" + schelistcnt + "]/pid",pid); // 환자등록번호
- // model.makeValue("/root/main/temp/ordschelistinfo[" + schelistcnt + "]/orddd", orddd); // 진료일자
- // model.makeValue("/root/main/temp/ordschelistinfo[" + schelistcnt + "]/orddeptcd",orddeptcd); // 지원부서코드
- // model.makeValue("/root/main/temp/ordschelistinfo[" + schelistcnt + "]/ordroomcd",ordroomcd); // 검사실코드
- // model.makeValue("/root/main/temp/ordschelistinfo[" + schelistcnt + "]/orddrid",orddrid); // 진료의ID
- // model.makeValue("/root/main/temp/ordschelistinfo[" + schelistcnt + "]/ordrsrvtm",ordrsrvtm); // 진료예약시간
- // model.makeValue("/root/main/temp/ordschelistinfo[" + schelistcnt + "]/ordrsrvseqno",""); // 진료예약순서
- // model.makeValue("/root/main/temp/ordschelistinfo[" + schelistcnt + "]/dayflag",dayflag); // 당일구분
- // schelistcnt++;
-
- }
-
- loopcnt++;
- }
- }
-
- if ( loopcnt == 0 ) {
- messageBox("처방내역을 선택해 주십시오.","I999");
- return;
- }
-
- model.resetInstanceNode("/root/send/data/tobesetexamcureacceptroomcode/tobesetexamcureacceptroomcodelist");
-
- var nodeList = instance1.selectNodes("/root/main/ordlist3/mainordlist/mainordlist3[check='Y']");
- var rCSV = getNodeListCSV(nodeList);
-
- if ( rCSV == "" ) {
- messageBox("처방내역을 선택해 주십시오.","I999");
- return;
- }
-
- model.makeValue("/root/send/data/tobesetexamcureacceptroomcode/tobesetexamcureacceptroomcodelist", rCSV);
- model.makeValue("/root/send/rsrvyn", acptlistflag);
- model.makeValue("/root/send/syncflag", "1");
-
- if ( messageBox("[환자받기]를 ","Q002")==6 ) {
-
- // if (acptlistflag == "E") {
- // // 검사실 전광판 대기 환자 등록 인터페이스 정보
- // var sPath="/root/main/temp/ordschelistinfo";
- // fSaveExcuRoomPatList(sPath);
- // }
-
- submit("TXAER00308");
-
- // 장비별 시작 실시
- fExePartExec();
-
- // 실별대기현황 조회
- fGetExamCureAcptList();
-
- }else {
- model.resetInstanceNode("/root/send/data/tobesetexamcureacceptroomcode/tobesetexamcureacceptroomcodelist");
- model.refresh();
- return;
- }
- model.refresh();
- }
-
- /* @group : 연속검사 예약 후 재조회
- * @ver :
- * @by :
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 연속검사 예약 후 재조회 Function
- */
- function fContExamCureAcpt() {
-
- var srchpid = model.getValue("/root/send/data/srchpid");
- if (srchpid == "") {
-
- var pid = "";
- var calcscorcd = "";
-
- if ( btn_case3.selected == true ) {
- calcscorcd = model.getValue("/root/main/ordlist2/mainordlist2["+grd_mainordlist2.row+"]/calcscorcd");
- } else {
- pid = model.getValue("/root/main/ordlist1/mainordlist1["+grd_mainordlist1.row+"]/pid");
- }
- model.makeValue("/root/send/temp/pid",pid);
- model.makeValue("/root/send/temp/calcscorcd",calcscorcd);
-
- fGetExamCureAcptList()
- } else {
- fGetExamCurePidPrcpList();
- }
- }
-
- /*******************************************************************************************************************************************************************/
- // 선택진료의 변경 2011.02.15 c y w
- /*******************************************************************************************************************************************************************/
-
- function fSpecdrChange() {
-
- var idx = grd_subordlist1.row;
- var nodeList = instance1.selectNodes("/root/main/subordlist/subordlist1[check='Y']");
- var rCSV = getNodeListCSV(nodeList);
-
- if ( rCSV == null ) {
- messageBox("처방내역을","C002");
- }else {
- if( model.getValue("/root/main/subordlist/subordlist1[" + idx + "]/choiordflag") == "Y" ) {
- if( model.getValue("/root/main/subordlist/subordlist1[" + idx + "]/execprcpstatcd") <= 440 ) {
- model.makeValue("/root/send/data/setspecdrcd/item/prcpdd" , model.getValue("/root/main/subordlist/subordlist1[" + idx + "]/prcpdd"));
- model.makeValue("/root/send/data/setspecdrcd/item/pid" , model.getValue("/root/main/subordlist/subordlist1[" + idx + "]/pid"));
- model.makeValue("/root/send/data/setspecdrcd/item/execprcpuniqno" , model.getValue("/root/main/subordlist/subordlist1[" + idx + "]/execprcpuniqno"));
- model.makeValue("/root/send/data/setspecdrcd/item/specdrid" , model.getValue("/root/main/subordlist/subordlist1[" + idx + "]/specdrid"));
- model.makeValue("/root/send/data/setspecdrcd/item/basesuppdeptcd" , model.getValue("/root/main/subordlist/subordlist1[" + idx + "]/basesuppdeptcd"));
- model.makeValue("/root/send/data/setspecdrcd/item/prcpno" , model.getValue("/root/main/subordlist/subordlist1[" + idx + "]/prcpno"));
- model.makeValue("/root/send/data/setspecdrcd/item/ioflag" , model.getValue("/root/main/subordlist/subordlist1[" + idx + "]/prcpgenrflag"));
- //2011.10.17 프로시저호출로 수정되어 추가됨
- model.makeValue("/root/send/data/setspecdrcd/item/prcphistno" , model.getValue("/root/main/subordlist/subordlist1[" + idx + "]/prcphistno"));
- model.makeValue("/root/send/data/setspecdrcd/item/cretno" , model.getValue("/root/main/subordlist/subordlist1[" + idx + "]/cretno"));
- //2011.09.22 선택진료동의서 체크
- model.makeValue("/root/send/data/setspecdrcd/item/orddd", model.getValue("/root/main/subordlist/subordlist1[" + idx + "]/orddd"));
- model.makeValue("/root/send/data/setspecdrcd/item/orddeptcd", model.getValue("/root/main/subordlist/subordlist1[" + idx + "]/orddeptcd"));
- model.makeValue("/root/send/data/setspecdrcd/item/orddrid", model.getValue("/root/main/subordlist/subordlist1[" + idx + "]/orddrid"));
- model.makeValue("/root/send/data/setspecdrcd/item/calcscorcd", model.getValue("/root/main/subordlist/subordlist1[" + idx + "]/calcscorcd"));
-
- submit("TXAEA01512");
-
- if ( btn_case1.selected == true || btn_case2.selected == true ) {
- fGetExamCurePrcpList(grd_mainordlist1);
- }else{
- fGetExamCurePrcpList(grd_mainordlist2);
- }
-
- }else{
- messageBox("선택진료의 변경은 투여대기 경우에만", "I006");
- return;
- }
- } else {
- messageBox("선택진료일 경우에만 변경이", "I006");
- return;
- }
- }
- model.refresh();
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1211" pageheight="784" guideline="1,1197;2,785;2,757;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:140px; height:15px; ">
- <![CDATA[실시관리(핵체내)]]>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- open("SMAER00010");
- ]]>
- </script>
- </caption>
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:16px; width:1192px; height:30px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption5" class="search_name" style="left:514px; top:22px; width:91px; height:17px; ">적용일자 :</caption>
- <caption id="caption1" class="search_name" style="left:790px; top:22px; width:91px; height:17px; ">등록번호 :</caption>
- <line id="line2" class="line_1" style="x1:330px; y1:79px; x2:1188px; y2:79px; "/>
- <textarea id="tar_prcpremfact" ref="/root/main/comment1/prcpdelivefact" style="left:623px; top:662px; width:282px; height:32px; "/>
- <textarea id="tar_acptrem" ref="/root/main/comment1/acptrem" style="left:909px; top:721px; width:282px; height:32px; "/>
- <textarea id="tar_execrem" ref="/root/main/comment1/execrem" style="left:909px; top:662px; width:282px; height:32px; "/>
- <line id="line3" class="line_1" style="x1:7px; y1:80px; x2:322px; y2:371px; "/>
- <select id="chk_statecd" ref="/root/send/data/srchtotal" overflow="visible" appearance="full" style="left:1057px; top:22px; width:68px; height:17px; border-style:none; ">
- <choices>
- <item>
- <label>전체조회</label>
- <value>ALL</value>
- </item>
- </choices>
- <hint>
- <![CDATA[환자별검색시만적용됩니다.]]>
- </hint>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if ( btn_case1.selected == false ) {
- btn_case1.selected = true;
- model.toggle("case1");
- }
- if ( chk_statecd.value == "" ) {
- model.setValue("/root/send/data/acptlistflag","M");
- model.refresh();
- }
- ]]>
- </script>
- </select>
- <caption id="caption2" class="tit_2" style="left:623px; top:642px; width:131px; height:13px; ">처방 Comment</caption>
- <line id="line6" class="line_1" style="x1:623px; y1:657px; x2:905px; y2:657px; "/>
- <caption id="caption3" class="tit_2" style="left:909px; top:701px; width:137px; height:14px; ">당일 접수 Comment</caption>
- <line id="line8" class="line_1" style="x1:909px; y1:716px; x2:1191px; y2:716px; "/>
- <line id="line9" class="line_1" style="x1:909px; y1:657px; x2:1191px; y2:657px; "/>
- <caption id="caption4" class="tit_2" style="left:909px; top:642px; width:123px; height:13px; ">실시 Comment</caption>
- <caption id="caption6" class="tit_2" style="left:330px; top:642px; width:126px; height:13px; ">핵의학과 메모현황</caption>
- <line id="line10" class="line_1" style="x1:330px; y1:657px; x2:620px; y2:657px; "/>
- <button id="button27" class="btn3_letter6" style="left:82px; top:760px; width:104px; height:22px; ">
- <caption>환자정보조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPatidInfo();
- ]]>
- </script>
- </button>
- <button id="button25" class="btn3_letter4" style="left:2px; top:760px; width:80px; height:22px; ">
- <caption>예약조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //var row = grd_subordlist1.row;
- //var pid = grd_subordlist1.valueMatrix(row, grd_subordlist1.colRef("pid"));
- fRsrvInfo();
- ]]>
- </script>
- </button>
- <input id="ipt_date1" ref="/root/send/data/srchdate1" class="input_default" inputtype="date" style="left:604px; top:22px; width:90px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 사용자 변경 정보 저장
- model.property("exec_srchdate1") = ipt_date1.value;
- ]]>
- </script>
- </input>
- <input id="ipt_date2" ref="/root/send/data/srchdate2" class="input_default" inputtype="date" style="left:695px; top:22px; width:90px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 사용자 변경 정보 저장
- model.property("exec_srchdate2") = ipt_date2.value;
- ]]>
- </script>
- </input>
- <input id="ipt_pid" ref="/root/send/data/srchpid" class="input_search" maxlength="10" style="left:884px; top:22px; width:80px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if ( event.keyCode == 13 ) {
- setInputNodeCurText();
- fGetExamCurePidPrcpList();
- }
- ]]>
- </script>
- </input>
- <button id="button61" class="icon_search" style="left:966px; top:23px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/send/data2/srchcond", "2");
- model.setValue("/root/send/data2/pid", model.getValue("/root/send/data/srchpid"));
-
- modal("SPPMC02500", "", "200", "200", "SPPMC02500","/root/send/data2","/root/send");
- model.setValue("/root/send/data/srchpid", model.getValue("/root/main/patinfo/patinfolist/pid") );
- model.refresh();
- ]]>
- </script>
- </button>
- <output id="ipt_patnm" ref="/root/main/patinfo/patinfolist/hngnm" class="output_fix" style="left:983px; top:22px; width:72px; height:19px; "/>
- <button id="btn_sea" class="btn1_letter2" style="left:1129px; top:20px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 실시관리 : 대기/실시/실시완료 조회
- fGetExamCureAcptList();
- ]]>
- </script>
- </button>
- <datagrid id="datagrid1" nodeset="/root/main/subordlist/subordlist4" class="datagrid0" autoresize="true" caption="일자^메모내용" colsep="^" colwidth="0, 286" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:330px; top:662px; width:290px; height:91px; ">
- <col ref="memodd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="memorem"/>
- </datagrid>
- <button id="btn_acpt" class="btn4_letter4" disabled="true" visibility="visible" style="left:1055px; top:760px; width:80px; height:22px; ">
- <caption>실시완료</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeExec(1);
- ]]>
- </script>
- </button>
- <button id="btn_acptcncl" class="btn4_letter2" visibility="visible" style="left:1136px; top:760px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeExec(2);
- ]]>
- </script>
- </button>
- <line id="line5" class="line_1" style="x1:623px; y1:716px; x2:905px; y2:716px; "/>
- <datagrid id="grd_patcmtlist" nodeset="/root/main/exculist/subordlist3/rows" class="datagrid0" autoresize="true" caption="환자번호^일자^Comment^caption1" colsep="^" colwidth="0, 0, 265, 0" mergecellsfixedrows="bycolrec" rowsep="|" style="left:623px; top:721px; width:282px; height:32px; ">
- <col ref="pid" visibility="hidden"/>
- <col ref="cmtdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="patcmt" type="input"/>
- <col ref="iudgb" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (model.getValue("/root/main/exculist/subordlist3/rows[" + grd_patcmtlist.row + "]/iudgb") != "I"){
- model.setValue("/root/main/exculist/subordlist3/rows[" + grd_patcmtlist.row + "]/iudgb", "U");
- }
- grd_patcmtlist.refresh();
- ]]>
- </script>
- </datagrid>
- <button id="btn_patcmtsave" class="btn2_letter2" disabled="true" style="left:863px; top:696px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var update = getGridUpdateData(grd_patcmtlist);
- if(update == ""){
- messageBox("업데이트 정보가 없습니다.", "I");
- return 0;
-
- } else {
- model.makeValue("/root/send/patinfo/data", update);
- if (submit("TXAEA02002", false)){
- model.removenode("/root/main/exculist/subordlist3");
- if (submit("TRAEA02009", false)){
- model.makeNode("/root/main/exculist/subordlist3");
- copyNodeType("/root/main/exculist/subordlist3", "/root/reqdata1/subordlist3", "replace");
- grd_patcmtlist.refresh();
- patcmt();
- }
- }
- }
- ]]>
- </script>
- </button>
- <caption id="caption7" class="tit_2" style="left:623px; top:701px; width:123px; height:13px; ">환자 Comment</caption>
- <button id="btn_partexec" class="btn2_letter2" disabled="true" visibility="hidden" style="left:335px; top:615px; width:42px; height:19px; ">
- <caption>시작</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // var rtn = fExePartExec();
- // if ( rtn != "0" ) {
- // // 장비 실시 리스트 조회
- // fEqcdList(grd_subordlist1);
- // }
-
- ]]>
- </script>
- </button>
- <line id="line33" class="line_3" style="x1:330px; y1:635px; x2:1188px; y2:635px; "/>
- <button id="btn_init" class="btn4_letter3" style="left:986px; top:760px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- // 초기화
- var acptlistflag = model.getValue("/root/send/data/acptlistflag");
- if (acptlistflag == "") {
- acptlistflag = "J";
- model.setValue("/root/send/data/acptlistflag", acptlistflag);
- }
- // 버튼 활성화 기준
- fBtnDisabled(acptlistflag);
- var excuroomgrpcdid = model.getValue("/root/send/data/cmb_info/initexcuroomgrp/excuroomgrpcdid");
- if (excuroomgrpcdid == "") {
- excuroomgrpcdid = "영상검사실";
- model.setValue("/root/send/data/cmb_info/initexcuroomgrp/excuroomgrpcdid", excuroomgrpcdid);
- // 검사실 그룹 변경 시 이벤트
- fExcuRoomGrpChoi(excuroomgrpcdid);
- }
- model.setValue("/root/send/data/srchpid", "");
- // 초기화
- fInitGrid();
-
- model.refresh();
-
- ]]>
- </script>
- </button>
- <switch id="switch3" style="left:330px; top:378px; width:858px; height:235px; ">
- <case id="FUNC02">
- <select1 id="combo1" ref="/root/send/ivdata/drugmthdcd" class="combo_search" navindex="3" appearance="minimal" style="left:508px; top:32px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initdrugmthdcd">
- <label ref="drugmthdcdnm"/>
- <value ref="drugmthdcdid"/>
- </itemset>
- </choices>
- </select1>
- <line id="line42" class="line_2" style="x1:5px; y1:53px; x2:847px; y2:53px; "/>
- <input id="input38" ref="/root/send/ivdata/drugqty" class="input_search" navindex="10" format="#,###.999" style="left:98px; top:85px; width:68px; height:19px; text-align:right; "/>
- <input id="input39" ref="/root/send/ivdata/drugdd" class="input_default" navindex="4" inputtype="date" format="yyyy-mm-dd" style="left:715px; top:32px; width:86px; height:19px; "/>
- <line id="line43" class="line_3" style="x1:5px; y1:107px; x2:847px; y2:107px; "/>
- <caption id="caption16" class="cell_1" style="left:415px; top:30px; width:89px; height:23px; text-align:right; vertical-align:middle; ">투여방법</caption>
- <caption id="caption89" class="cell_1" style="left:613px; top:30px; width:98px; height:23px; text-align:right; vertical-align:middle; ">투여시간</caption>
- <caption id="caption90" class="tit_2" style="left:5px; top:10px; width:170px; height:13px; ">기술적 기록</caption>
- <caption id="caption91" class="cell_1" style="left:5px; top:82px; width:89px; height:23px; text-align:right; vertical-align:middle; ">투여량</caption>
- <caption id="caption92" class="cell_1" style="left:613px; top:1px; width:98px; height:23px; text-align:right; vertical-align:middle; ">실시자</caption>
- <caption id="caption93" style="left:168px; top:85px; width:30px; height:20px; vertical-align:middle; ">mCi</caption>
- <select1 id="combo17" ref="/root/send/ivdata/execrid" class="combo_search" appearance="minimal" style="left:715px; top:3px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecrinfo/initexecrid">
- <label ref="execridnm"/>
- <value ref="execridid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo18" ref="/root/send/ivdata/nuclcd" class="combo_search" navindex="1" appearance="minimal" style="left:98px; top:32px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initnuclcd">
- <label ref="nuclcdnm"/>
- <value ref="nuclcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption94" class="cell_1" style="left:5px; top:30px; width:89px; height:23px; text-align:right; vertical-align:middle; ">핵종</caption>
- <input id="input41" ref="/root/send/ivdata/drugtm" class="input_default" navindex="5" format="hh:nn" appearance="input" style="left:805px; top:32px; width:45px; height:19px; "/>
- <line id="line44" class="line_1" style="x1:5px; y1:25px; x2:850px; y2:25px; "/>
- <select1 id="combo19" ref="/root/send/ivdata/compdcd" class="combo_search" navindex="2" appearance="minimal" style="left:295px; top:32px; width:117px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initcompdcd">
- <label ref="compdcdnm"/>
- <value ref="compdcdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption95" class="cell_1" style="left:202px; top:30px; width:89px; height:23px; text-align:right; vertical-align:middle; ">화합물</caption>
- <caption id="caption96" style="left:168px; top:60px; width:30px; height:20px; vertical-align:middle; ">mCi</caption>
- <input id="input42" ref="/root/send/ivdata/stndactqty" class="input_search" navindex="6" format="#,###.000" style="left:98px; top:58px; width:68px; height:19px; text-align:right; "/>
- <caption id="caption97" class="cell_1" style="left:5px; top:56px; width:89px; height:23px; text-align:right; vertical-align:middle; ">St Activity</caption>
- <input id="input43" ref="/root/send/ivdata/stndactinsptm" class="input_default" navindex="7" format="hh:nn" appearance="input" style="left:295px; top:58px; width:45px; height:19px; "/>
- <caption id="caption98" class="cell_1" style="left:202px; top:56px; width:89px; height:23px; text-align:right; vertical-align:middle; ">St 측정시간</caption>
- <caption id="caption99" style="left:577px; top:58px; width:30px; height:20px; vertical-align:middle; ">mCi</caption>
- <input id="input45" ref="/root/send/ivdata/stndpostactqty" class="input_search" navindex="8" format="#,###.000" style="left:508px; top:58px; width:68px; height:19px; text-align:right; "/>
- <input id="input46" ref="/root/send/ivdata/stndpostactinsptm" class="input_default" navindex="9" format="hh:nn" appearance="input" style="left:715px; top:58px; width:45px; height:19px; "/>
- <caption id="caption100" class="cell_1" style="left:415px; top:56px; width:89px; height:23px; text-align:right; vertical-align:middle; ">St post Activity</caption>
- <caption id="caption101" class="cell_1" style="left:613px; top:56px; width:98px; height:23px; text-align:right; vertical-align:middle; ">St post 측정시간</caption>
- <input id="input48" ref="/root/send/ivdata/nuclinsptm" class="input_default" navindex="11" format="hh:nn" appearance="input" style="left:295px; top:85px; width:45px; height:19px; "/>
- <caption id="caption102" class="cell_1" style="left:202px; top:82px; width:89px; height:23px; text-align:right; vertical-align:middle; ">투여측정시간</caption>
- <caption id="caption103" class="cell_1" style="left:613px; top:82px; width:98px; height:23px; text-align:right; vertical-align:middle; ">투여후 측정시간</caption>
- <caption id="caption104" style="left:577px; top:85px; width:30px; height:20px; vertical-align:middle; ">mCi</caption>
- <input id="input50" ref="/root/send/ivdata/nucldruginsptm" class="input_default" navindex="13" format="hh:nn" appearance="input" style="left:715px; top:85px; width:45px; height:19px; "/>
- <input id="input52" ref="/root/send/ivdata/nucldrugrestqty" class="input_search" navindex="12" format="#,###.000" style="left:508px; top:85px; width:68px; height:19px; text-align:right; "/>
- <caption id="caption105" class="cell_1" style="left:415px; top:82px; width:89px; height:23px; text-align:right; vertical-align:middle; ">투여후 잔량</caption>
- <input id="input53" ref="/root/send/ivdata/smplnfstcnt" class="input_search" navindex="14" format="#,###" style="left:88px; top:137px; width:80px; height:19px; text-align:right; "/>
- <caption id="caption106" class="cell_1" style="left:5px; top:110px; width:80px; height:23px; text-align:center; vertical-align:middle; ">Sample</caption>
- <caption id="caption107" class="cell_1" style="left:88px; top:110px; width:80px; height:23px; text-align:center; vertical-align:middle; ">count</caption>
- <caption id="caption108" class="cell_1" style="left:171px; top:110px; width:80px; height:23px; text-align:center; vertical-align:middle; ">채혈시간</caption>
- <caption id="caption109" class="cell_1" style="left:5px; top:135px; width:80px; height:23px; text-align:right; vertical-align:middle; ">1st</caption>
- <caption id="caption10" class="cell_1" style="left:5px; top:160px; width:80px; height:23px; text-align:right; vertical-align:middle; ">2nd</caption>
- <caption id="caption110" class="cell_1" style="left:5px; top:185px; width:80px; height:23px; text-align:right; vertical-align:middle; ">3rd</caption>
- <input id="input40" ref="/root/send/ivdata/smplnscndcnt" class="input_search" navindex="16" format="#,###" style="left:88px; top:162px; width:80px; height:19px; text-align:right; "/>
- <input id="input55" ref="/root/send/ivdata/smplnthirdcnt" class="input_search" navindex="18" format="#,###" style="left:88px; top:187px; width:80px; height:19px; text-align:right; "/>
- <input id="input54" ref="/root/send/ivdata/smplnscndbcolltm" class="input_search" navindex="17" format="hh:nn" style="left:171px; top:162px; width:80px; height:19px; text-align:right; "/>
- <input id="input56" ref="/root/send/ivdata/smplnfstbcolltm" class="input_search" navindex="15" format="hh:nn" style="left:171px; top:137px; width:80px; height:19px; text-align:right; "/>
- <input id="input57" ref="/root/send/ivdata/smplnthirdcolltm" class="input_search" navindex="19" format="hh:nn" style="left:171px; top:187px; width:80px; height:19px; text-align:right; "/>
- <line id="line45" class="line_2" style="x1:5px; y1:79px; x2:847px; y2:79px; "/>
- <input id="input49" ref="/root/send/ivdata/smplnfourthcnt" class="input_search" navindex="18" format="#,###" style="left:88px; top:212px; width:80px; height:19px; text-align:right; "/>
- <input id="input51" ref="/root/send/ivdata/smplnfourthcolltm" class="input_search" navindex="19" format="hh:nn" style="left:171px; top:212px; width:80px; height:19px; text-align:right; "/>
- <caption id="caption115" class="cell_1" style="left:5px; top:210px; width:80px; height:23px; text-align:right; vertical-align:middle; ">4th</caption>
- </case>
- <case id="FUNC01">
- <caption id="caption81" style="left:198px; top:116px; width:17px; height:20px; vertical-align:middle; ">%</caption>
- <line id="line40" class="line_3" style="x1:5px; y1:139px; x2:847px; y2:139px; "/>
- <caption id="caption70" class="cell_1" style="left:428px; top:89px; width:130px; height:23px; text-align:center; vertical-align:middle; ">Sample Activity</caption>
- <line id="line41" class="line_1" style="x1:5px; y1:25px; x2:847px; y2:25px; "/>
- <caption id="caption71" class="cell_1" style="left:5px; top:114px; width:130px; height:23px; text-align:center; vertical-align:middle; ">검사 결과치</caption>
- <input id="input8" ref="/root/send/ivdata/drugqty" class="input_search" format="#,###.000" style="left:720px; top:32px; width:100px; height:19px; text-align:right; "/>
- <caption id="caption72" class="cell_1" style="left:217px; top:89px; width:130px; height:23px; text-align:center; vertical-align:middle; ">Patient BKG</caption>
- <input id="input9" ref="/root/send/ivdata/drugdd" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:275px; top:32px; width:86px; height:19px; "/>
- <caption id="caption50" class="cell_1" style="left:5px; top:89px; width:130px; height:23px; text-align:center; vertical-align:middle; ">Laboratory BKG</caption>
- <caption id="caption73" class="cell_1" style="left:640px; top:89px; width:130px; height:23px; text-align:center; vertical-align:middle; ">Thyroid measurement</caption>
- <line id="line32" class="line_2" style="x1:5px; y1:53px; x2:847px; y2:53px; "/>
- <caption id="caption51" class="cell_1" style="left:428px; top:89px; width:130px; height:23px; text-align:right; vertical-align:middle; ">Sample Activity</caption>
- <caption id="caption74" class="cell_1" style="left:5px; top:56px; width:80px; height:23px; text-align:right; vertical-align:middle; ">비고</caption>
- <caption id="caption52" class="cell_1" style="left:5px; top:114px; width:130px; height:23px; text-align:right; vertical-align:middle; ">검사 결과치</caption>
- <caption id="caption75" class="cell_1" style="left:450px; top:30px; width:80px; height:23px; text-align:right; vertical-align:middle; ">투여방법</caption>
- <line id="line34" class="line_2" style="x1:5px; y1:53px; x2:847px; y2:53px; "/>
- <input id="input10" ref="/root/send/ivdata/drugqty" class="input_search" format="#,###.999" style="left:720px; top:32px; width:100px; height:19px; text-align:right; "/>
- <line id="line12" class="line_3" style="x1:5px; y1:81px; x2:847px; y2:81px; "/>
- <caption id="caption53" class="cell_1" style="left:217px; top:89px; width:130px; height:23px; text-align:right; vertical-align:middle; ">Patient BKG</caption>
- <caption id="caption76" class="cell_1" style="left:193px; top:30px; width:80px; height:23px; text-align:right; vertical-align:middle; ">투여시간</caption>
- <input id="input11" ref="/root/send/ivdata/drugdd" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:275px; top:32px; width:86px; height:19px; "/>
- <line id="line35" class="line_2" style="x1:5px; y1:113px; x2:847px; y2:113px; "/>
- <caption id="caption54" class="cell_1" style="left:640px; top:89px; width:130px; height:23px; text-align:right; vertical-align:middle; ">Thyroid measurement</caption>
- <input id="input12" ref="/root/send/ivdata/labbkg" class="input_search" style="left:138px; top:91px; width:75px; height:19px; "/>
- <caption id="caption77" class="tit_2" style="left:5px; top:10px; width:170px; height:13px; ">기술적 기록</caption>
- <line id="line36" class="line_3" style="x1:5px; y1:81px; x2:847px; y2:81px; "/>
- <caption id="caption44" class="cell_1" style="left:5px; top:56px; width:80px; height:23px; text-align:right; vertical-align:middle; ">비고</caption>
- <caption id="caption33" class="cell_1" style="left:450px; top:30px; width:80px; height:23px; text-align:right; vertical-align:middle; ">투여방법</caption>
- <input id="input24" ref="/root/send/ivdata/patbkg" class="input_search" style="left:350px; top:91px; width:75px; height:19px; "/>
- <input id="input13" ref="/root/send/ivdata/smplact" class="input_search" style="left:561px; top:91px; width:75px; height:19px; "/>
- <caption id="caption78" class="cell_1" style="left:638px; top:1px; width:80px; height:23px; text-align:right; vertical-align:middle; ">실시자</caption>
- <caption id="caption45" class="cell_1" style="left:193px; top:30px; width:80px; height:23px; text-align:right; vertical-align:middle; ">투여시간</caption>
- <caption id="caption34" class="tit_2" style="left:5px; top:10px; width:170px; height:13px; ">기술적 기록</caption>
- <line id="line37" class="line_3" style="x1:5px; y1:139px; x2:847px; y2:139px; "/>
- <input id="input25" ref="/root/send/ivdata/thyrmea" class="input_search" style="left:773px; top:91px; width:75px; height:19px; "/>
- <input id="input14" ref="/root/send/ivdata/testrsltval" class="input_search" style="left:138px; top:116px; width:57px; height:19px; "/>
- <caption id="caption79" class="cell_1" style="left:638px; top:30px; width:80px; height:23px; text-align:right; vertical-align:middle; ">투여량</caption>
- <caption id="caption68" class="cell_1" style="left:638px; top:1px; width:80px; height:23px; text-align:right; vertical-align:middle; ">실시자</caption>
- <caption id="caption46" class="cell_1" style="left:638px; top:30px; width:80px; height:23px; text-align:right; vertical-align:middle; ">투여량</caption>
- <caption id="caption35" class="cell_1" style="left:5px; top:30px; width:80px; height:23px; text-align:right; vertical-align:middle; ">핵종</caption>
- <input id="input26" ref="/root/send/ivdata/nuclrem" class="input_search" style="left:88px; top:58px; width:759px; height:19px; "/>
- <line id="line39" class="line_2" style="x1:5px; y1:113px; x2:847px; y2:113px; "/>
- <caption id="caption69" class="cell_1" style="left:5px; top:89px; width:130px; height:23px; text-align:right; vertical-align:middle; ">Laboratory BKG</caption>
- <select1 id="cmb_execrid4" ref="/root/send/ivdata/execrid" class="combo_search" appearance="minimal" style="left:720px; top:3px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecrinfo/initexecrid">
- <label ref="execridnm"/>
- <value ref="execridid"/>
- </itemset>
- </choices>
- </select1>
- <input id="input15" ref="/root/send/ivdata/labbkg" class="input_search" style="left:138px; top:91px; width:75px; height:19px; "/>
- <input id="input27" ref="/root/send/ivdata/drugtm" class="input_default" inputtype="date" format="hh:nn:ss" style="left:365px; top:32px; width:80px; height:19px; "/>
- <select1 id="combo6" ref="/root/send/ivdata/execrid" class="combo_search" appearance="minimal" style="left:720px; top:3px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecrinfo/initexecrid">
- <label ref="execridnm"/>
- <value ref="execridid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption48" style="left:823px; top:32px; width:30px; height:20px; vertical-align:middle; ">mCi</caption>
- <input id="input16" ref="/root/send/ivdata/smplact" class="input_search" style="left:561px; top:91px; width:75px; height:19px; "/>
- <select1 id="combo7" ref="/root/send/ivdata/nuclcd" class="combo_search" appearance="minimal" style="left:88px; top:32px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initnuclcd">
- <label ref="nuclcdnm"/>
- <value ref="nuclcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption49" style="left:198px; top:116px; width:17px; height:20px; vertical-align:middle; ">%</caption>
- <input id="input17" ref="/root/send/ivdata/testrsltval" class="input_search" style="left:138px; top:116px; width:57px; height:19px; "/>
- <select1 id="combo8" ref="/root/send/ivdata/drugmthdcd" class="combo_search" appearance="minimal" style="left:533px; top:32px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initdrugmthdcd">
- <label ref="drugmthdcdnm"/>
- <value ref="drugmthdcdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="input18" ref="/root/send/ivdata/patbkg" class="input_search" style="left:350px; top:91px; width:75px; height:19px; "/>
- <select1 id="combo13" ref="/root/send/ivdata/nuclcd" class="combo_search" appearance="minimal" style="left:88px; top:32px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initnuclcd">
- <label ref="nuclcdnm"/>
- <value ref="nuclcd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo16" ref="/root/send/ivdata/drugmthdcd" class="combo_search" appearance="minimal" style="left:533px; top:32px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initdrugmthdcd">
- <label ref="drugmthdcdnm"/>
- <value ref="drugmthdcdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="input19" ref="/root/send/ivdata/thyrmea" class="input_search" style="left:773px; top:91px; width:75px; height:19px; "/>
- <input id="input5" ref="/root/send/ivdata/nuclrem" class="input_search" style="left:88px; top:58px; width:759px; height:19px; "/>
- <caption id="caption80" class="cell_1" style="left:5px; top:30px; width:80px; height:23px; text-align:right; vertical-align:middle; ">핵종</caption>
- <input id="input6" ref="/root/send/ivdata/drugtm" class="input_default" format="hh:nn:ss" style="left:365px; top:32px; width:80px; height:19px; "/>
- <line id="line7" class="line_1" style="x1:5px; y1:25px; x2:847px; y2:25px; "/>
- </case>
- <case id="CU">
- <line id="line30" class="line_1" style="x1:5px; y1:25px; x2:847px; y2:25px; "/>
- <line id="line31" class="line_3" style="x1:5px; y1:81px; x2:847px; y2:81px; "/>
- <caption id="caption20" class="cell_1" style="left:450px; top:30px; width:80px; height:23px; text-align:right; vertical-align:middle; ">투여방법</caption>
- <caption id="caption32" class="tit_2" style="left:5px; top:10px; width:170px; height:13px; ">기술적 기록</caption>
- <caption id="caption21" class="cell_1" style="left:5px; top:30px; width:80px; height:23px; text-align:right; vertical-align:middle; ">핵종</caption>
- <caption id="caption22" class="cell_1" style="left:450px; top:55px; width:80px; height:23px; text-align:right; vertical-align:middle; ">비고</caption>
- <caption id="caption67" class="cell_1" style="left:638px; top:1px; width:80px; height:23px; text-align:right; vertical-align:middle; ">실시자</caption>
- <caption id="caption23" class="cell_1" style="left:193px; top:30px; width:80px; height:23px; text-align:right; vertical-align:middle; ">투여시간</caption>
- <select1 id="combo5" ref="/root/send/ivdata/drugmthdcd" class="combo_search" appearance="minimal" style="left:533px; top:32px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initdrugmthdcd">
- <label ref="drugmthdcdnm"/>
- <value ref="drugmthdcdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_execrid3" ref="/root/send/ivdata/execrid" class="combo_search" appearance="minimal" style="left:720px; top:3px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecrinfo/initexecrid">
- <label ref="execridnm"/>
- <value ref="execridid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption24" class="cell_1" style="left:638px; top:30px; width:80px; height:23px; text-align:right; vertical-align:middle; ">투여량</caption>
- <caption id="caption25" style="left:823px; top:32px; width:30px; height:20px; vertical-align:middle; ">mCi</caption>
- <line id="line29" class="line_2" style="x1:5px; y1:53px; x2:847px; y2:53px; "/>
- <input id="input1" ref="/root/send/ivdata/nuclrem" class="input_search" style="left:533px; top:55px; width:317px; height:19px; "/>
- <input id="input2" ref="/root/send/ivdata/drugtm" class="input_default" format="hh:nn:ss" style="left:365px; top:32px; width:80px; height:19px; "/>
- <input id="input3" ref="/root/send/ivdata/drugqty" class="input_search" format="#,###.999" style="left:720px; top:32px; width:100px; height:19px; text-align:right; "/>
- <input id="input4" ref="/root/send/ivdata/drugdd" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:275px; top:32px; width:86px; height:19px; "/>
- <select1 id="combo15" ref="/root/send/ivdata/nuclcd" class="combo_search" appearance="minimal" style="left:88px; top:32px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initnuclcd">
- <label ref="nuclcdnm"/>
- <value ref="nuclcd"/>
- </itemset>
- </choices>
- </select1>
- <button id="button1" class="btn2_letter4" style="left:447px; top:5px; width:64px; height:19px; ">
- <caption>대치처방</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var nodeList = instance1.selectNodes("/root/main/subordlist/subordlist1[check='Y']");
- var rCSV = getNodeListCSV(nodeList);
-
- if ( rCSV == null ) {
- messageBox("처방내역에서 처방을","C002");
- return "0";
- }
-
- if ( model.getValue("/root/main/subordlist/subordlist1["+grd_subordlist1.row+"]/rootgubn" ) == "Y" ) {
- messageBox("모코드는 대치처방","E001");
- return "0";
- }
-
- model.makeValue("/root/main/formdata/popdata2/pid", model.getValue("/root/main/subordlist/subordlist1["+grd_subordlist1.row+"]/pid" ));
- model.makeValue("/root/main/formdata/popdata2/prcpdd", model.getValue("/root/main/subordlist/subordlist1["+grd_subordlist1.row+"]/prcpdd") );
- model.makeValue("/root/main/formdata/popdata2/execprcpuniqno", model.getValue("/root/main/subordlist/subordlist1["+grd_subordlist1.row+"]/execprcpuniqno") );
- model.makeValue("/root/main/formdata/popdata2/prcpexecdeptcd", model.getValue("/root/main/subordlist/subordlist1["+grd_subordlist1.row+"]/prcpexecdeptcd") );
- model.makeValue("/root/main/formdata/popdata2/deptflag", "N" );
- modal("SPAER01800", "", "200", "200", "SPAER01800","/root/main/formdata/popdata2","/root/popdata");
-
-
- var pid = "";
- var calcscorcd = "";
-
- if ( btn_case3.selected == true ) {
- calcscorcd = model.getValue("/root/main/ordlist2/mainordlist2["+grd_mainordlist2.row+"]/calcscorcd");
- } else {
- pid = model.getValue("/root/main/ordlist1/mainordlist1["+grd_mainordlist1.row+"]/pid");
- }
- model.makeValue("/root/send/temp/pid",pid);
- model.makeValue("/root/send/temp/calcscorcd",calcscorcd);
-
- fGetExamCureAcptList()
-
-
- ]]>
- </script>
- </button>
- <caption id="caption111" class="cell_1" style="left:5px; top:55px; width:80px; height:23px; text-align:right; vertical-align:middle; ">키</caption>
- <caption id="caption112" style="left:158px; top:56px; width:30px; height:20px; vertical-align:middle; ">cm</caption>
- <input id="input44" ref="/root/send/ivdata/ht" class="input_search" navindex="37" style="left:88px; top:56px; width:65px; height:19px; text-align:right; "/>
- <caption id="caption113" class="cell_1" style="left:193px; top:55px; width:80px; height:23px; text-align:right; vertical-align:middle; ">몸무게</caption>
- <caption id="caption114" style="left:365px; top:57px; width:30px; height:20px; vertical-align:middle; ">kg</caption>
- <input id="input47" ref="/root/send/ivdata/bdwt" class="input_search" navindex="39" style="left:275px; top:57px; width:82px; height:19px; text-align:right; "/>
- </case>
- <case id="PT">
- <select1 id="cmb_scrtcd" ref="/root/send/ivdata/scrtrmcd" class="combo_search" navindex="20" appearance="minimal" style="left:88px; top:32px; width:117px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initscrtroom">
- <label ref="scrtroomcdnm"/>
- <value ref="scrtroomcdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="input7" ref="/root/send/ivdata/nuclrem" class="input_search" navindex="43" style="left:88px; top:210px; width:357px; height:19px; "/>
- <caption id="caption60" class="cell_1" style="left:5px; top:82px; width:80px; height:23px; text-align:right; vertical-align:middle; ">투여방법</caption>
- <line id="line20" class="line_2" style="x1:5px; y1:105px; x2:445px; y2:105px; "/>
- <caption id="caption61" class="cell_1" visibility="hidden" style="left:209px; top:108px; width:80px; height:23px; text-align:right; vertical-align:middle; ">소모량</caption>
- <button id="btn_autoexec" class="btn2_letter4" visibility="visible" style="left:720px; top:32px; width:64px; height:19px; ">
- <caption>자동실행</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- btn_autoexec.disabled = true;
- btn_autostop.disabled = false;
-
- clockTimer = window.setInterval("fGetScrtRoomUseList()", 20000);
- ]]>
- </script>
- </button>
- <line id="line21" class="line_2" style="x1:5px; y1:180px; x2:445px; y2:180px; "/>
- <caption id="caption62" style="left:417px; top:84px; width:28px; height:20px; vertical-align:middle; ">mCi</caption>
- <caption id="caption40" class="cell_1" style="left:209px; top:158px; width:80px; height:23px; text-align:right; vertical-align:middle; ">혈당</caption>
- <line id="line22" class="line_2" style="x1:5px; y1:154px; x2:445px; y2:154px; "/>
- <line id="line11" class="line_1" style="x1:5px; y1:25px; x2:445px; y2:25px; "/>
- <input id="input20" ref="/root/send/ivdata/drugtm" class="input_default" navindex="26" format="hh:nn:ss" style="left:379px; top:58px; width:66px; height:19px; "/>
- <caption id="caption41" class="cell_1" style="left:5px; top:183px; width:80px; height:23px; text-align:right; vertical-align:middle; ">공급처</caption>
- <button id="btn_autostop" class="btn2_letter4" disabled="true" visibility="visible" style="left:785px; top:32px; width:64px; height:19px; ">
- <caption>자동중지</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- btn_autoexec.disabled = false;
- btn_autostop.disabled = true;
-
- window.clearInterval(clockTimer);
- ]]>
- </script>
- </button>
- <caption id="caption64" class="tit_2" style="left:450px; top:10px; width:170px; height:13px; ">대기실 현황</caption>
- <line id="line23" class="line_2" style="x1:5px; y1:128px; x2:445px; y2:128px; "/>
- <datagrid id="grd_scrtlist" nodeset="/root/main/scrtlist/scrtuselist" caption="안정실^등록번호^환자명^투여시간^경과시간" colsep="^" colwidth="66, 63, 70, 115, 60" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:450px; top:55px; width:400px; height:175px; ">
- <col disabled="true" ref="scrtroomcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initscrtroom">
- <label ref="scrtroomcdnm"/>
- <value ref="scrtroomcdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="pid"/>
- <col ref="patnm"/>
- <col ref="drugdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="progdt" style="text-align:center; "/>
- </datagrid>
- <input id="input21" ref="/root/send/ivdata/drugqty" class="input_search" navindex="30" format="#,###.999" style="left:292px; top:84px; width:120px; height:19px; text-align:right; "/>
- <caption id="caption31" class="cell_1" style="left:5px; top:208px; width:80px; height:23px; text-align:right; vertical-align:middle; ">비고</caption>
- <line id="line24" class="line_2" style="x1:5px; y1:205px; x2:445px; y2:205px; "/>
- <input id="input22" ref="/root/send/ivdata/cstqty" class="input_search" navindex="34" visibility="hidden" format="#,###.000" style="left:292px; top:110px; width:120px; height:19px; text-align:right; "/>
- <caption id="caption43" class="cell_1" style="left:5px; top:30px; width:80px; height:23px; text-align:right; vertical-align:middle; ">안정실</caption>
- <caption id="caption66" class="cell_1" style="left:209px; top:30px; width:80px; height:23px; text-align:right; vertical-align:middle; ">실시자</caption>
- <input id="input23" ref="/root/send/ivdata/drugdd" class="input_default" navindex="24" inputtype="date" format="yyyy-mm-dd" style="left:292px; top:58px; width:86px; height:19px; "/>
- <caption id="caption55" class="cell_1" style="left:5px; top:108px; width:80px; height:23px; text-align:right; vertical-align:middle; ">화합물</caption>
- <select1 id="cmb_execrid2" ref="/root/send/ivdata/execrid" class="combo_search" appearance="minimal" style="left:292px; top:32px; width:117px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecrinfo/initexecrid">
- <label ref="execridnm"/>
- <value ref="execridid"/>
- </itemset>
- </choices>
- </select1>
- <line id="line26" class="line_1" style="x1:450px; y1:25px; x2:850px; y2:25px; "/>
- <caption id="caption56" class="cell_1" style="left:5px; top:56px; width:80px; height:23px; text-align:right; vertical-align:middle; ">핵종</caption>
- <select1 id="cmb_excuroom2" ref="/root/send/data/cmb_info/initexecroom/excuroomcdid2" class="combo_search" disabled="true" appearance="minimal" style="left:532px; top:32px; width:138px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/excuroom/initexcuroom">
- <label ref="excuroomcdnm"/>
- <value ref="excuroomcdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption57" class="cell_1" style="left:209px; top:56px; width:80px; height:23px; text-align:right; vertical-align:middle; ">투여시간</caption>
- <line id="line28" class="line_3" style="x1:450px; y1:53px; x2:850px; y2:53px; "/>
- <line id="line17" class="line_2" style="x1:5px; y1:79px; x2:445px; y2:79px; "/>
- <caption id="caption36" class="tit_2" style="left:5px; top:10px; width:170px; height:13px; ">기술적 기록</caption>
- <caption id="caption58" class="cell_1" style="left:209px; top:82px; width:80px; height:23px; text-align:right; vertical-align:middle; ">투여량</caption>
- <select1 id="cmb_injpartcd" ref="/root/send/ivdata/injpartcd" class="combo_search" navindex="36" appearance="minimal" style="left:88px; top:134px; width:117px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initinjpartcd">
- <label ref="injpartcdnm"/>
- <value ref="injpartcdid"/>
- </itemset>
- </choices>
- </select1>
- <line id="line18" class="line_2" style="x1:5px; y1:53px; x2:445px; y2:53px; "/>
- <caption id="caption59" visibility="hidden" style="left:417px; top:110px; width:28px; height:20px; vertical-align:middle; ">vial</caption>
- <select1 id="combo10" ref="/root/send/ivdata/compdcd" class="combo_search" navindex="32" appearance="minimal" style="left:88px; top:110px; width:117px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initcompdcd">
- <label ref="compdcdnm"/>
- <value ref="compdcdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption37" class="cell_1" style="left:209px; top:133px; width:80px; height:23px; text-align:right; vertical-align:middle; ">키</caption>
- <caption id="caption27" style="left:175px; top:160px; width:30px; height:20px; vertical-align:middle; ">kg</caption>
- <select1 id="combo11" ref="/root/send/ivdata/drugmthdcd" class="combo_search" navindex="27" appearance="minimal" style="left:88px; top:84px; width:117px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initdrugmthdcd">
- <label ref="drugmthdcdnm"/>
- <value ref="drugmthdcdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption38" class="cell_1" style="left:5px; top:158px; width:80px; height:23px; text-align:right; vertical-align:middle; ">몸무게</caption>
- <caption id="caption28" style="left:362px; top:134px; width:30px; height:20px; vertical-align:middle; ">cm</caption>
- <select1 id="combo12" ref="/root/send/ivdata/nuclcd" class="combo_search" navindex="21" appearance="minimal" style="left:88px; top:58px; width:117px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initnuclcd">
- <label ref="nuclcdnm"/>
- <value ref="nuclcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption39" class="cell_1" style="left:5px; top:133px; width:80px; height:23px; text-align:right; vertical-align:middle; ">IV.site</caption>
- <caption id="caption29" class="cell_1" style="left:450px; top:30px; width:80px; height:23px; text-align:right; vertical-align:middle; ">촬영실</caption>
- <input id="ipt_bdwt" ref="/root/send/ivdata/bdwt" class="input_search" navindex="40" style="left:88px; top:160px; width:82px; height:19px; text-align:right; "/>
- <input id="ipt_ht" ref="/root/send/ivdata/ht" class="input_search" navindex="38" style="left:292px; top:134px; width:65px; height:19px; text-align:right; "/>
- <input id="ipt_bsugarqty" ref="/root/send/ivdata/bsugarqty" class="input_search" navindex="42" style="left:292px; top:160px; width:65px; height:19px; text-align:right; "/>
- <select1 id="combo21" ref="/root/send/ivdata/suplcustcd" class="combo_search" disabled="true" navindex="35" appearance="minimal" style="left:89px; top:185px; width:117px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initsuplcustcd">
- <label ref="suplcustcdnm"/>
- <value ref="suplcustcdid"/>
- </itemset>
- </choices>
- </select1>
- </case>
- <case id="NM" selected="true">
- <caption id="caption63" class="tit_2" style="left:455px; top:10px; width:170px; height:13px; ">동위원소투여 상세내용</caption>
- <datagrid id="grd_druginpt" nodeset="/root/main/mainordlist2/subordlist" caption="등록번호^핵종^투여일자^투여시간^화합물^투여량^투여방법^소모량^IVSite코드^공급처^키^몸무게^혈당치^검사자^비고" colsep="^" colwidth="0, 90, 72, 65, 65, 65, 0, 0, 0, 0, 0, 0, 0, 0, 0" ellipsis="true" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:455px; top:30px; width:395px; height:200px; ">
- <col ref="pid"/>
- <col disabled="true" ref="nuclcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initnuclcd">
- <label ref="nuclcdnm"/>
- <value ref="nuclcd"/>
- </itemset>
- </choices>
- </col>
- <col ref="drugdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="drugtm" format="hh:nn:ss" style="text-align:center; "/>
- <col disabled="true" ref="compdcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initcompdcd">
- <label ref="compdcdnm"/>
- <value ref="compdcdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="drugqty" type="output" format="#,###.000" style="text-align:right; "/>
- <col disabled="true" ref="drugmthdcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initdrugmthdcd">
- <label ref="drugmthdcdnm"/>
- <value ref="drugmthdcdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="cstqty" type="output" format="#,###.000" style="text-align:right; "/>
- <col ref="injpartcd" style="text-align:center; "/>
- <col ref="suplcustcd"/>
- <col ref="ht" style="text-align:right; "/>
- <col ref="bdwt" style="text-align:right; "/>
- <col ref="bsugarqty" style="text-align:right; "/>
- <col ref="execrid"/>
- <col ref="nuclrem"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- if ( grd_druginpt.isCell(event.target) && grd_druginpt.row >= grd_druginpt.fixedRows ) {
- var i = grd_subordlist1.row;
- var row = grd_druginpt.row;
-
- var prcpdd = model.getValue("/root/main/subordlist/subordlist1["+ i +"]/prcpdd");
- var nuclcd = model.getValue("/root/main/mainordlist2/subordlist["+ row +"]/nuclcd");
- var drugdd = model.getValue("/root/main/mainordlist2/subordlist["+ row +"]/drugdd");
- var drugtm = model.getValue("/root/main/mainordlist2/subordlist["+ row +"]/drugtm");
- var drugqty = model.getValue("/root/main/mainordlist2/subordlist["+ row +"]/drugqty");
- var cstqty = model.getValue("/root/main/mainordlist2/subordlist["+ row +"]/cstqty");
- var nuclrem = model.getValue("/root/main/mainordlist2/subordlist["+ row +"]/nuclrem");
- var compdcd = model.getValue("/root/main/mainordlist2/subordlist["+ row +"]/compdcd");
- var drugmthdcd = model.getValue("/root/main/mainordlist2/subordlist["+ row +"]/drugmthdcd");
- var suplcustcd = model.getValue("/root/main/mainordlist2/subordlist["+ row +"]/suplcustcd");
- var ht = model.getValue("/root/main/mainordlist2/subordlist["+ row +"]/ht");
- var bdwt = model.getValue("/root/main/mainordlist2/subordlist["+ row +"]/bdwt");
- var bsugarqty = model.getValue("/root/main/mainordlist2/subordlist["+ row +"]/bsugarqty");
-
- model.makeValue("/root/send/ivdata/nuclcd", nuclcd);
- model.makeValue("/root/send/ivdata/drugdd", drugdd);
- model.makeValue("/root/send/ivdata/drugtm", drugtm);
- model.makeValue("/root/send/ivdata/drugqty", drugqty);
- model.makeValue("/root/send/ivdata/cstqty", cstqty);
- model.makeValue("/root/send/ivdata/nuclrem", nuclrem);
- model.makeValue("/root/send/ivdata/compdcd", compdcd);
- model.makeValue("/root/send/ivdata/drugmthdcd", drugmthdcd);
- model.makeValue("/root/send/ivdata/suplcustcd", suplcustcd);
- model.makeValue("/root/send/ivdata/ht", ht);
- model.makeValue("/root/send/ivdata/bdwt", bdwt);
- model.makeValue("/root/send/ivdata/bsugarqty", bsugarqty);
-
- model.refresh();
- }
-
- ]]>
- </script>
- </datagrid>
- <line id="line38" class="line_1" style="x1:455px; y1:25px; x2:850px; y2:25px; "/>
- <input id="input28" ref="/root/send/ivdata/nuclrem" class="input_search" navindex="44" style="left:88px; top:210px; width:357px; height:19px; "/>
- <caption id="caption8" class="cell_1" style="left:5px; top:56px; width:80px; height:23px; text-align:right; vertical-align:middle; ">투여방법</caption>
- <caption id="caption11" class="cell_1" visibility="hidden" style="left:209px; top:108px; width:80px; height:23px; text-align:right; vertical-align:middle; ">소모량</caption>
- <line id="line1" class="line_2" style="x1:5px; y1:105px; x2:445px; y2:105px; "/>
- <caption id="caption12" class="cell_1" style="left:209px; top:158px; width:80px; height:23px; text-align:right; vertical-align:middle; ">혈당</caption>
- <caption id="caption13" style="left:177px; top:84px; width:28px; height:20px; vertical-align:middle; ">mCi</caption>
- <line id="line4" class="line_2" style="x1:5px; y1:180px; x2:445px; y2:180px; "/>
- <caption id="caption14" class="cell_1" style="left:5px; top:183px; width:80px; height:23px; text-align:right; vertical-align:middle; ">공급처</caption>
- <input id="input31" ref="/root/send/ivdata/drugtm" class="input_default" navindex="25" format="hh:nn:ss" style="left:379px; top:58px; width:66px; height:19px; "/>
- <line id="line14" class="line_1" style="x1:5px; y1:25px; x2:445px; y2:25px; "/>
- <caption id="caption15" class="cell_1" style="left:5px; top:208px; width:80px; height:23px; text-align:right; vertical-align:middle; ">비고</caption>
- <input id="input32" ref="/root/send/ivdata/drugqty" class="input_search" navindex="29" format="#,###.999" style="left:88px; top:84px; width:82px; height:19px; text-align:right; "/>
- <line id="line16" class="line_2" style="x1:5px; y1:128px; x2:445px; y2:128px; "/>
- <input id="input33" ref="/root/send/ivdata/cstqty" class="input_search" navindex="33" visibility="hidden" format="#,###.999" style="left:292px; top:110px; width:120px; height:19px; text-align:right; "/>
- <line id="line19" class="line_2" style="x1:5px; y1:205px; x2:445px; y2:205px; "/>
- <caption id="caption17" class="cell_1" style="left:5px; top:108px; width:80px; height:23px; text-align:right; vertical-align:middle; ">화합물</caption>
- <input id="input34" ref="/root/send/ivdata/drugdd" class="input_default" navindex="23" inputtype="date" format="yyyy-mm-dd" style="left:292px; top:58px; width:86px; height:19px; "/>
- <caption id="caption18" class="cell_1" style="left:209px; top:30px; width:80px; height:23px; text-align:right; vertical-align:middle; ">실시자</caption>
- <caption id="caption26" class="cell_1" style="left:5px; top:30px; width:80px; height:23px; text-align:right; vertical-align:middle; ">핵종</caption>
- <select1 id="combo2" ref="/root/send/ivdata/execrid" class="combo_search" appearance="minimal" style="left:292px; top:32px; width:117px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecrinfo/initexecrid">
- <label ref="execridnm"/>
- <value ref="execridid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption30" class="cell_1" style="left:209px; top:56px; width:80px; height:23px; text-align:right; vertical-align:middle; ">투여시간</caption>
- <select1 id="combo3" ref="/root/send/ivdata/injpartcd" class="combo_search" navindex="35" appearance="minimal" style="left:88px; top:134px; width:117px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initinjpartcd">
- <label ref="injpartcdnm"/>
- <value ref="injpartcdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption42" class="cell_1" style="left:5px; top:82px; width:80px; height:23px; text-align:right; vertical-align:middle; ">투여량</caption>
- <caption id="caption47" class="tit_2" style="left:5px; top:10px; width:95px; height:13px; ">기술적 기록</caption>
- <line id="line25" class="line_2" style="x1:5px; y1:79px; x2:445px; y2:79px; "/>
- <caption id="caption65" class="cell_1" style="left:209px; top:133px; width:80px; height:23px; text-align:right; vertical-align:middle; ">키</caption>
- <select1 id="combo4" ref="/root/send/ivdata/compdcd" class="combo_search" navindex="31" appearance="minimal" style="left:88px; top:110px; width:117px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initcompdcd">
- <label ref="compdcdnm"/>
- <value ref="compdcdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption84" visibility="hidden" style="left:417px; top:110px; width:28px; height:20px; vertical-align:middle; ">vial</caption>
- <line id="line27" class="line_2" style="x1:5px; y1:53px; x2:445px; y2:53px; "/>
- <caption id="caption85" class="cell_1" style="left:5px; top:158px; width:80px; height:23px; text-align:right; vertical-align:middle; ">몸무게</caption>
- <select1 id="combo9" ref="/root/send/ivdata/drugmthdcd" class="combo_search" navindex="28" appearance="minimal" style="left:88px; top:58px; width:117px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initdrugmthdcd">
- <label ref="drugmthdcdnm"/>
- <value ref="drugmthdcdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption86" style="left:175px; top:160px; width:30px; height:20px; vertical-align:middle; ">kg</caption>
- <caption id="caption87" class="cell_1" style="left:5px; top:133px; width:80px; height:23px; text-align:right; vertical-align:middle; ">IV.site</caption>
- <select1 id="combo14" ref="/root/send/ivdata/nuclcd" class="combo_search" navindex="22" appearance="minimal" style="left:88px; top:32px; width:117px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initnuclcd">
- <label ref="nuclcdnm"/>
- <value ref="nuclcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption88" style="left:362px; top:134px; width:30px; height:20px; vertical-align:middle; ">cm</caption>
- <input id="input35" ref="/root/send/ivdata/bdwt" class="input_search" navindex="39" style="left:88px; top:160px; width:82px; height:19px; text-align:right; "/>
- <input id="input36" ref="/root/send/ivdata/bsugarqty" class="input_search" navindex="41" style="left:292px; top:160px; width:65px; height:19px; text-align:right; "/>
- <input id="input37" ref="/root/send/ivdata/ht" class="input_search" navindex="37" style="left:292px; top:134px; width:65px; height:19px; text-align:right; "/>
- <select1 id="combo20" ref="/root/send/ivdata/suplcustcd" class="combo_search" disabled="true" navindex="35" appearance="minimal" style="left:89px; top:185px; width:117px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initsuplcustcd">
- <label ref="suplcustcdnm"/>
- <value ref="suplcustcdid"/>
- </itemset>
- </choices>
- </select1>
- </case>
- </switch>
- <select1 id="cmb_acptlistflag" ref="/root/send/data/acptlistflag" appearance="minimal" style="left:70px; top:22px; width:105px; height:19px; ">
- <choices>
- <item>
- <label>투여대기</label>
- <value>J</value>
- </item>
- <item>
- <label>부분실시</label>
- <value>E</value>
- </item>
- <item>
- <label>실시완료</label>
- <value>S</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var acptlistflag = model.getValue("/root/send/data/acptlistflag");
-
- fInitGrid();
-
- // 버튼 활성화 기준
- fBtnDisabled(acptlistflag);
-
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 사용자 변경 정보 저장
- model.property("exec_acptlistflag") = cmb_acptlistflag.value;
- ]]>
- </script>
- </select1>
- <caption id="caption82" class="search_name" style="left:5px; top:22px; width:65px; height:17px; ">상태 :</caption>
- <select1 id="cmb_excuroomgrp" ref="/root/send/data/cmb_info/initexcuroomgrp/excuroomgrpcdid" class="combo_default" appearance="minimal" style="left:260px; top:22px; width:118px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexcuroomgrp">
- <label ref="excuroomgrpcdnm"/>
- <value ref="excuroomgrpcdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
-
- var acptlistflag = model.getValue("/root/send/data/acptlistflag");
- var excuroomgrpcdid = model.getValue("/root/send/data/cmb_info/initexcuroomgrp/excuroomgrpcdid");
- var excuroomcdid = model.getValue("/root/send/data/cmb_info/initexecroom/excuroomcdid");
-
- fInitGrid();
-
- // 버튼 활성화 기준
- fBtnDisabled(acptlistflag);
-
- // 검사실 변경 시 이벤트
- fExcuRoomGrpChoi(excuroomgrpcdid);
-
- // 기술적 기록 입력 화면 설정
- fSetToggle(excuroomcdid);
-
- model.refresh();
-
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 사용자 변경 정보 저장
- model.property("exec_excuroomgrp") = cmb_excuroomgrp.value;
- ]]>
- </script>
- </select1>
- <caption id="caption83" class="search_name" style="left:180px; top:22px; width:78px; height:17px; ">검사실 :</caption>
- <select1 id="cmb_excuroom" ref="/root/send/data/cmb_info/initexecroom/excuroomcdid" class="combo_default" appearance="minimal" style="left:380px; top:22px; width:130px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/excuroom/initexcuroom">
- <label ref="excuroomcdnm"/>
- <value ref="excuroomcdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var excuroomcdid = model.getValue("/root/send/data/cmb_info/initexecroom/excuroomcdid");
-
- // 기술적 기록 입력 화면 설정
- fSetToggle(excuroomcdid);
-
- model.resetInstanceNode("/root/main/ordlist2/mainordlist2");
- model.resetInstanceNode("/root/main/ordlist1/mainordlist1");
- model.refresh();
- // 실시관리 : 대기/실시/실시완료 조회
- //--fGetExamCureAcptList();
-
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 사용자 변경 정보 저장
- model.property("exec_excuroom") = cmb_excuroom.value;
- ]]>
- </script>
- </select1>
- <datagrid id="grd_subordlist1" nodeset="/root/main/subordlist/subordlist1" caption="^등록번호 ^성명^처방일자^검사명^총용량^검사실^상태^용량^예약일자^희망일자^급여^I/O^진료과^진료의^IV^Tel^aftrcptinfo^퇴원일자^도착^장비코드1^prcpkindcd^excuroomnm^rgstdepthngnm^rgstridnm^basecd^rsrvdt^prcphopedt^execprcpuniqno^calcscorcd^prcpexecdeptcd^excuroomgrpcd^excuroomcd^rgstdeptcd^rgstrid^portprcpflag^inflag^rcptacptyn^execbaseflag^lrgcd^mdlcd^excupartcd^modality^rcptno^acptseqno^acptrem^execrem^prcpdelivefact^execrid1^execrid2^execrid3^execrid4^acptid^orddeptcd^excuexecfromdt1^basesuppdeptcd^orddd^cretno^orddrid^pacsnocretyn^rgsttm^eqmtifyn^eqcdyn^prcpexecdeptcd^prcpno^선택진료의^선택진료의^prcphistno" colsep="^" colwidth="24, 60, 48, 68, 259, 0, 100, 54, 32, 100, 68, 42, 33, 73, 54, 27, 37, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 80, 100" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:330px; top:84px; width:858px; height:291px; text-align:center; ">
- <col checkvalue="Y,N" ref="check" type="checkbox"/>
- <col ref="pid" style="text-align:left; "/>
- <col ref="patnm"/>
- <col ref="prcpdd" format="yyyy-mm-dd"/>
- <col ref="prcpnm" style="font-weight:bold; text-align:left; "/>
- <col ref="prcpqty"/>
- <col disabled="true" ref="excuroomcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexcuroomall">
- <label ref="excuroomcdnm"/>
- <value ref="excuroomcdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="execprcpstatcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initexecprcpstatcd/M0011">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="prcpqty"/>
- <col ref="rsrvdt" format="yyyy-mm-dd hh:nn" style="text-align:left; "/>
- <col ref="prcphopedd" format="yyyy-mm-dd"/>
- <col disabled="true" ref="payflagcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initpayflagcd/M0029">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="prcpgenrflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initprcpgenrflagcd/M0010">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="orddepthngnm"/>
- <col ref="orddrnm"/>
- <col ref="ivinputyn" visibility="hidden"/>
- <col ref="cntctel" visibility="hidden"/>
- <col ref="aftrcptinfo" visibility="hidden"/>
- <col ref="dschdd" visibility="hidden"/>
- <col ref="arvtm"/>
- <col ref="excueqcd1" type="combo">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexcueq">
- <label ref="excueqcdnm"/>
- <value ref="excueqcdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="prcpkindcd"/>
- <col ref="examroomnm"/>
- <col ref="rgstdepthngnm"/>
- <col ref="rgstridnm"/>
- <col ref="basecd"/>
- <col ref="rsrvdt"/>
- <col ref="prcphopedt"/>
- <col ref="execprcpuniqno"/>
- <col ref="calcscorcd"/>
- <col ref="prcpexecdeptcd"/>
- <col ref="excuroomgrpcd"/>
- <col ref="excuroomcd"/>
- <col ref="rgstdeptcd"/>
- <col ref="rgstrid"/>
- <col ref="portprcpflag"/>
- <col ref="inflag"/>
- <col ref="rcptacptyn"/>
- <col ref="execbaseflag"/>
- <col ref="lrgcd"/>
- <col ref="mdlcd"/>
- <col ref="excupartcd"/>
- <col ref="modality"/>
- <col ref="rcptno"/>
- <col ref="acptseqno"/>
- <col ref="acptrem"/>
- <col ref="execrem"/>
- <col ref="prcpdelivefact"/>
- <col ref="execrid1"/>
- <col ref="execrid2"/>
- <col ref="execrid3"/>
- <col ref="execrid4"/>
- <col ref="acptid"/>
- <col ref="orddeptcd"/>
- <col ref="excuexecfromdt1"/>
- <col ref="basesuppdeptcd"/>
- <col ref="orddd"/>
- <col ref="cretno"/>
- <col ref="orddrid"/>
- <col ref="pacsnocretyn"/>
- <col ref="rgsttm"/>
- <col ref="eqmtifyn"/>
- <col ref="eqcdyn"/>
- <col ref="prcpexecdeptcd"/>
- <col ref="prcpno"/>
- <col ref="choiordflag" style="text-align:center; "/>
- <col disabled="false" ref="specdrid" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/main/specdridlist/item">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </col>
- <col ref="prcphistno" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if ( grd_subordlist1.row == 0 ) return;
-
- if ( grd_subordlist1.isCell(event.target) && grd_subordlist1.row >= grd_subordlist1.fixedRows ) {
-
- model.removenode("/root/main/mainordlist2");
-
- if ( btn_case3.selected == true) {
- fTopInfo2();
- }
-
- var rowidx = grd_subordlist1.row;
- var colidx = grd_subordlist1.col;
-
- var schk = model.getValue("/root/main/subordlist/subordlist1[" + rowidx + "]/check");
-
- if (grd_subordlist1.colRef("check") != colidx) {
- if (schk == "Y"){
- model.setValue("/root/main/subordlist/subordlist1[" + rowidx + "]/check", "N");
- } else if (schk == ""){
- model.setValue("/root/main/subordlist/subordlist1[" + rowidx + "]/check", "Y");
- } else {
- model.setValue("/root/main/subordlist/subordlist1[" + rowidx + "]/check", "Y");
- }
- }
-
- var chk = model.getValue("/root/main/subordlist/subordlist1["+ rowidx +"]/check");
- var selExecprcpstatcd = model.getValue("/root/main/subordlist/subordlist1["+ rowidx +"]/execprcpstatcd");
- var excuroomcd = model.getValue("/root/main/subordlist/subordlist1["+ rowidx +"]/excuroomcd");
- var excuroomgrpcd = model.getValue("/root/main/subordlist/subordlist1["+ rowidx +"]/excuroomgrpcd");
- var acptlistflag = model.getValue("/root/send/data/acptlistflag");
-
- for (var i=1; i<grd_subordlist1.rows; i++) {
- if (i != rowidx) {
-
- var selChk = model.getValue("/root/main/subordlist/subordlist1["+ i +"]/check");
- var newexecprcpstatcd = model.getValue("/root/main/subordlist/subordlist1["+ i +"]/execprcpstatcd");
- var newexcuroomcd = model.getValue("/root/main/subordlist/subordlist1["+ i +"]/excuroomcd");
- if (selChk == "Y") {
- // 다른 검사실 그룹을 선택하는 경우 체크
- if (newexcuroomcd != excuroomcd ) {
- model.setValue("/root/main/subordlist/subordlist1["+ i +"]/check","N");
- messageBox("기존에 선택된 검사실과 다른 검사실을 선택","E001");
-
- // 다른 처방 상태를 선택하는 경우 체크
- } else if (newexecprcpstatcd != selExecprcpstatcd ) {
- model.setValue("/root/main/subordlist/subordlist1["+ i +"]/check","N");
- messageBox("기존에 선택된 처방상태와 상태가 다른 처방을 선택","E001");
- }
- }
- }
- }
-
- if (chk == "Y") {
-
- var pid = model.getValue("/root/send/data/srchpid");
-
- // 환자 번호로 조회 한 경우
- if (pid != "") {
- if ( selExecprcpstatcd == "440" || selExecprcpstatcd == "450" ) {
- model.setValue("/root/send/data/acptlistflag","J");
- acptlistflag = "J";
- } else if ( selExecprcpstatcd == "600" ) {
- model.setValue("/root/send/data/acptlistflag","E");
- acptlistflag = "E";
- } else if ( selExecprcpstatcd == "610" || selExecprcpstatcd == "700" || selExecprcpstatcd == "730" ) {
- model.setValue("/root/send/data/acptlistflag","S");
- acptlistflag = "S";
- } else {
- acptlistflag = "";
- }
- // 검사실 변경 이벤트
- model.setValue("root/send/data/cmb_info/initexcuroomgrp/excuroomgrpcdid",excuroomgrpcd);
- // 버튼 활성화 기준
- fBtnDisabled(acptlistflag);
-
- // 검사실 그룹 변경 시 이벤트
- fExcuRoomGrpChoi(excuroomgrpcd);
-
- }
- // 기술적 기록 입력 화면 설정
- fSetToggle(excuroomcd);
-
- cmb_excuroom2.value = excuroomcd;
- cmb_scrtcd.disabled = false;
- cmb_scrtcd.choices.itemset.attribute("nodeset") = "/root/init/cmb_info/initscrtroom[basecdcnts='"+ excuroomcd + "']";
-
- model.makeValue("/root/send/data/cmb_info/initexecroom/excuroomcdid2", excuroomcd);
- model.makeValue("/root/main/comment1/acptrem", model.getValue("/root/main/subordlist/subordlist1["+ rowidx +"]/acptrem"));
- model.makeValue("/root/main/comment1/execrem", model.getValue("/root/main/subordlist/subordlist1["+ rowidx +"]/execrem"));
- model.makeValue("/root/main/comment1/prcpdelivefact", model.getValue("/root/main/subordlist/subordlist1["+ rowidx +"]/prcpdelivefact"));
- model.setValue("/root/send/data/cmb_info/initexcueq/excueqcdid", model.getValue("/root/main/subordlist/subordlist1["+ rowidx +"]/excuposseqcd"));
-
- if (acptlistflag != "") {
- // 기술적 기록 조회
- fGetNuclInptList(grd_subordlist1);
- } else {
- model.resetInstanceNode("/root/send/ivdata");
- }
-
- model.refresh();
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if( model.getValue("/root/send/data/acptlistflag") == "J" ){
- setPopupMenu("grd_subordlist1", false, "/root/init/popupmenu/grid02/item", "name", "func");
- }else{
- setPopupMenu("grd_subordlist1", false, "/root/init/popupmenu/grid01/item", "name", "func");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- initPopupMenu();
- ]]>
- </script>
- <script type="javascript" ev:event="onmouseover">
- <![CDATA[
- var col = grd_subordlist1.mouseCol;
- var row = grd_subordlist1.mouseRow;
- if (col == grd_subordlist1.colRef("prcpnm")) {
- grd_subordlist1.tooltipText(row, grd_subordlist1.colRef("prcpnm")) = "총용량 : " + grd_subordlist1.valueMatrix(row, grd_subordlist1.colRef("prcpqty")) ;
- grd_subordlist1.attribute("tooltip") = "true";
- } else {
- grd_subordlist1.attribute("tooltip") = "false";
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onmouseout">
- <![CDATA[
- grd_subordlist1.attribute("tooltip") = "false";
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_subordlist1.gridToInstance(); // 정렬기능 적용 후 인스턴스 재구성
- ]]>
- </script>
- </datagrid>
- <button id="btn_case1" class="btn_sw" group="tab2" style="left:7px; top:61px; width:60px; height:22px; ">
- <caption>외래</caption>
- <toggle case="case1" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 입원/외래 구분
- model.makeValue("/root/send/data/cmb_info/initioflag/ioflag","O");
-
- // 등록번호 초기화
- model.setValue("/root/send/data/srchpid","");
-
- // 실시관리 : 대기/실시/실시완료 조회
- fGetExamCureAcptList();
- ]]>
- </script>
- </button>
- <button id="btn_case2" class="btn_sw" group="tab2" style="left:67px; top:61px; width:60px; height:22px; ">
- <caption>병실</caption>
- <toggle case="case1" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 입원/외래 구분
- model.makeValue("/root/send/data/cmb_info/initioflag/ioflag","I");
-
- // 등록번호 초기화
- model.setValue("/root/send/data/srchpid","");
-
- // 실시관리 : 대기/실시/실시완료 조회
- fGetExamCureAcptList();
-
- ]]>
- </script>
- </button>
- <button id="btn_case3" class="btn_sw" group="tab2" selected="true" style="left:127px; top:61px; width:60px; height:22px; ">
- <caption>검사별</caption>
- <toggle case="case2" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- rdo_ioflag.value = "";
-
- // 등록번호 초기화
- model.setValue("/root/send/data/srchpid","");
-
- // 실시관리 : 대기/실시/실시완료 조회
- fGetExamCureAcptList();
- ]]>
- </script>
- </button>
- <switch id="switch2" style="left:7px; top:83px; width:320px; height:291px; ">
- <case id="case1">
- <datagrid id="grd_mainordlist1" nodeset="/root/main/ordlist1/mainordlist1" autoresize="true" caption="No^등록번호^환자명^구분^병동^퇴원일자^과^execprcpuniqno^orddeptcd^rsrvdd^execprcpstatcd^prcpdd^roomcd^orddrid^rcptyn^type^진료(입원)일자^환자일련번호" colsep="^" colwidth="0, 68, 73, 48, 86, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:1px; width:315px; height:284px; ">
- <col ref="no"/>
- <col ref="pid"/>
- <col ref="patnm"/>
- <col disabled="true" ref="prcpgenrflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initprcpgenrflagcd/M0010">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="wardcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecward">
- <label ref="execwardcdnm"/>
- <value ref="execwardcdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="dschdd" visibility="hidden"/>
- <col ref="depthngnm" style="left:230px; top:20px; width:32px; height:20px; "/>
- <col ref="execprcpuniqno"/>
- <col ref="orddeptcd"/>
- <col ref="rsrvdd"/>
- <col ref="execprcpstatcd"/>
- <col ref="prcpdd"/>
- <col ref="roomcd"/>
- <col ref="orddrid"/>
- <col ref="rcptyn"/>
- <col ref="type"/>
- <col ref="orddd"/>
- <col ref="cretno"/>
- <col ref="aftrcptinfo" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var acptlistflag = model.getValue("/root/send/data/acptlistflag");
- if (acptlistflag == "") {
- return "0";
- }
-
- var excuroomgrpcdid = model.getValue("/root/send/data/cmb_info/initexcuroomgrp/excuroomgrpcdid");
- if (excuroomgrpcdid == "") {
- return "0";
- }
-
- if ( (grd_mainordlist1.row >= grd_mainordlist1.fixedRows) && (grd_mainordlist1.isCell(event.target))) {;
- // Top 환자 정보
- if ( btn_case1.selected == true || btn_case2.selected == true) {
- delPatientInfos();
- fTopInfo();
- }
- fGetExamCurePrcpList(grd_mainordlist1);
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_mainordlist1.gridToInstance(); // 정렬기능 적용 후 인스턴스 재구성
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case2" selected="true">
- <datagrid id="grd_mainordlist2" nodeset="/root/main/ordlist2/mainordlist2" autoresize="true" caption="No^검사코드^검사명^pid^patnm^execprcpuniqno^orddeptcd^rsrvdd^execprcpstatcd^prcpdd^roomcd^orddrid^rcptyn^prcpgenrflag^wardcd^type" colsep="^" colwidth="0, 0, 266, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:25px; width:310px; height:260px; ">
- <col ref="no" visibility="hidden"/>
- <col ref="calcscorcd"/>
- <col ref="prcpnm"/>
- <col ref="pid"/>
- <col ref="patnm"/>
- <col ref="execprcpuniqno"/>
- <col ref="orddeptcd"/>
- <col ref="rsrvdd"/>
- <col ref="execprcpstatcd"/>
- <col ref="prcpdd"/>
- <col ref="roomcd"/>
- <col ref="orddrid"/>
- <col ref="rcptyn"/>
- <col ref="prcpgenrflag"/>
- <col ref="wardcd"/>
- <col ref="type"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- //fGetExamCurePrcpList(grd_mainordlist2);
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- var acptlistflag = model.getValue("/root/send/data/acptlistflag");
- if (acptlistflag == "") {
- return "0";
- }
-
- var excuroomgrpcdid = model.getValue("/root/send/data/cmb_info/initexcuroomgrp/excuroomgrpcdid");
- if (excuroomgrpcdid == "") {
- return "0";
- }
-
- if ( (grd_mainordlist2.row >= grd_mainordlist2.fixedRows) && (grd_mainordlist2.isCell(event.target))) {
- fGetExamCurePrcpList(grd_mainordlist2);
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_mainordlist2.gridToInstance(); // 정렬기능 적용 후 인스턴스 재구성
- ]]>
- </script>
- </datagrid>
- <select1 id="rdo_ioflag" ref="/root/send/data/cmb_info/initioflag/ioflag" class="radio_search" appearance="full" cols="3" rows="2" overflow="visible" style="left:5px; top:5px; width:145px; height:16px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- <item>
- <label>병실</label>
- <value>I</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- fGetToggleAcptList();
-
- ]]>
- </script>
- </select1>
- </case>
- </switch>
- <button id="btn_roomupdt" class="btn2_letter3" disabled="true" style="left:1135px; top:59px; width:53px; height:19px; ">
- <caption>실변경</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var excuroomcdid = model.getValue("/root/send/data/cmb_info/initexecroom/excuroomcdid");
- var excuroomgrpcdid = model.getValue("/root/send/data/cmb_info/initexcuroomgrp/excuroomgrpcdid");
-
- // 촬영실을 선택 여부 체크
- if (excuroomcdid != "") {
-
- var acptlistflag = model.getValue("/root/send/data/acptlistflag");
-
- model.makeValue("/root/hidden/popup/examroominfo/srchdate1", model.getValue("/root/send/data/srchdate1"));
- model.makeValue("/root/hidden/popup/examroominfo/srchdate2", model.getValue("/root/send/data/srchdate2"));
- model.makeValue("/root/hidden/popup/examroominfo/instance1", model.getValue("/root/send/globalinstance/instance1"));
- model.makeValue("/root/hidden/popup/examroominfo/srchflag", 'P');
- model.makeValue("/root/hidden/popup/examroominfo/acptlistflag", acptlistflag);
- model.makeValue("/root/hidden/popup/examroominfo/excuroomgrpcdid", excuroomgrpcdid);
- model.makeValue("/root/hidden/popup/examroominfo/excuroomcdid", excuroomcdid);
- model.makeValue("/root/hidden/popup/examroominfo/initexecroom", excuroomcdid);
- modal("SPAEA05100", "", "200", "200", "SPAEA05100","/root/hidden/popup/examroominfo","/root/send");
- } else {
- messageBox("환자를 받기를 할 촬영실을", "C002");
- model.setfocus("cmb_excuroom");
- }
-
- ]]>
- </script>
- </button>
- <button id="btn_holdcncl" class="btn4_letter2" visibility="hidden" style="left:767px; top:756px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeHold(2);
- ]]>
- </script>
- </button>
- <button id="btn_hold" class="btn4_letter2" visibility="hidden" style="left:710px; top:756px; width:56px; height:22px; ">
- <caption>보류</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeHold(1);
- ]]>
- </script>
- </button>
- <button id="btn_clear" class="btn2_letter3" style="left:525px; top:384px; width:53px; height:19px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("/root/send/ivdata1");
- copyNodesetType("/root/send/ivdata1", "/root/main/matrcstcodelist/item");
-
- model.makeValue("/root/send/ivdata/drugdd", getCurrentDate());
- model.makeValue("/root/send/ivdata/drugtm", getCurrentTime());
- model.makeValue("/root/send/ivdata/nuclrem", "");
- model.makeValue("/root/send/ivdata/phormcd", "");
- model.makeValue("/root/send/ivdata/scrtrmcd", "");
- model.makeValue("/root/send/ivdata/labbkg", "");
- model.makeValue("/root/send/ivdata/patbkg", "");
- model.makeValue("/root/send/ivdata/smplact", "");
- model.makeValue("/root/send/ivdata/thyrmea", "");
- model.makeValue("/root/send/ivdata/testrsltval", "");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_druginpt" class="btn2_letter4" disabled="true" style="left:646px; top:384px; width:64px; height:19px; ">
- <caption>투여입력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var rtn = fExeNuclInpt();
- if ( rtn != "0" ) {
-
- var srchpid = model.getValue("/root/send/data/srchpid");
- if (srchpid == "") {
-
- var pid = "";
- var calcscorcd = "";
-
- if ( btn_case3.selected == true ) {
- calcscorcd = model.getValue("/root/main/ordlist2/mainordlist2["+grd_mainordlist2.row+"]/calcscorcd");
- } else {
- pid = model.getValue("/root/main/ordlist1/mainordlist1["+grd_mainordlist1.row+"]/pid");
- }
- model.makeValue("/root/send/temp/pid",pid);
- model.makeValue("/root/send/temp/calcscorcd",calcscorcd);
-
- fGetExamCureAcptList()
- } else {
- fGetExamCurePidPrcpList();
- }
- }
- ]]>
- </script>
- </button>
- <button id="btn_contcure" class="btn2_letter4" disabled="true" style="left:580px; top:384px; width:64px; height:19px; ">
- <caption>연속검사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var excuroomgrpcdid = model.getValue("/root/send/data/cmb_info/initexcuroomgrp/excuroomgrpcdid");
- // if ( grd_subordlist1.row == 0 ) {
- // messageBox("처방내역을 선택해 주십시오.","I999");
- // return;
- //
- // } else {
- var check = "";
- var loopcnt = 0;
- var loop = grd_subordlist1.rows - grd_subordlist1.fixedRows;
-
- for( var i = 1 ; i <= loop ; i++ ) {
- check = model.getValue("/root/main/subordlist/subordlist1[" + i + "]/check");
- if ( check == "Y" ) {
-
- // 검체검사는 접수/취소/보류/취소를 막는다.
- var chkprcpnm = model.getValue("/root/main/subordlist/subordlist1[" + i + "]/prcpnm");
- if ( model.getValue("/root/main/subordlist/subordlist1[" + i + "]/basesuppdeptcd") == "B6" ) {
- messageBox("["+chkprcpnm+"] 검사는 검체검사입니다. [환자채혈] 기능을 이용하시기 바랍니다.", "I999");
- return "0";
- }
- loopcnt++;
-
- model.makeValue("/root/hidden/exculist/mainordlist5[" + loopcnt + "]/check", "Y");
- model.makeValue("/root/hidden/exculist/mainordlist5[" + loopcnt + "]/excuroomgrpcdid", excuroomgrpcdid);
- model.makeValue("/root/hidden/exculist/mainordlist5[" + loopcnt + "]/pid", model.getValue("/root/main/subordlist/subordlist1[" + i + "]/pid"));
- model.makeValue("/root/hidden/exculist/mainordlist5[" + loopcnt + "]/patnm", model.getValue("/root/main/subordlist/subordlist1[" + i + "]/patnm"));
- model.makeValue("/root/hidden/exculist/mainordlist5[" + loopcnt + "]/excuroomcd", model.getValue("/root/main/subordlist/subordlist1[" + i + "]/excuroomcd"));
- model.makeValue("/root/hidden/exculist/mainordlist5[" + loopcnt + "]/prcpdd", model.getValue("/root/main/subordlist/subordlist1[" + i + "]/prcpdd"));
- model.makeValue("/root/hidden/exculist/mainordlist5[" + loopcnt + "]/execprcpuniqno", model.getValue("/root/main/subordlist/subordlist1[" + i + "]/execprcpuniqno"));
- model.makeValue("/root/hidden/exculist/mainordlist5[" + loopcnt + "]/rsrvflag", model.getValue("/root/main/subordlist/subordlist1[" + i + "]/prcpgenrflag"));
- model.makeValue("/root/hidden/exculist/mainordlist5[" + loopcnt + "]/prcpkindcd", model.getValue("/root/main/subordlist/subordlist1[" + i + "]/prcpkindcd"));
- model.makeValue("/root/hidden/exculist/mainordlist5[" + loopcnt + "]/excupartcd", model.getValue("/root/main/subordlist/subordlist1[" + i + "]/excupartcd"));
- model.makeValue("/root/hidden/exculist/mainordlist5[" + loopcnt + "]/indd", model.getValue("/root/main/subordlist/subordlist1[" + i + "]/indd"));
- model.makeValue("/root/hidden/exculist/mainordlist5[" + loopcnt + "]/actorddd", model.getValue("/root/main/subordlist/subordlist1[" + i + "]/actorddd"));
- model.makeValue("/root/hidden/exculist/mainordlist5[" + loopcnt + "]/orddeptcd", model.getValue("/root/main/subordlist/subordlist1[" + i + "]/orddeptcd"));
- model.makeValue("/root/hidden/exculist/mainordlist5[" + loopcnt + "]/orddrid", model.getValue("/root/main/subordlist/subordlist1[" + i + "]/orddrid"));
- model.makeValue("/root/hidden/exculist/mainordlist5[" + loopcnt + "]/calcscorcd", model.getValue("/root/main/subordlist/subordlist1[" + i + "]/calcscorcd"));
- model.makeValue("/root/hidden/exculist/mainordlist5[" + loopcnt + "]/execrid", model.getValue("/root/send/ivdata/execrid"));
- model.makeValue("/root/hidden/exculist/mainordlist5[" + loopcnt + "]/rsrvrem", "영상연속검사");
- model.makeValue("/root/hidden/exculist/mainordlist5[" + loopcnt + "]/suppdeptcd", model.getValue("/root/main/subordlist/subordlist1[" + i + "]/basesuppdeptcd"));
- model.makeValue("/root/hidden/exculist/mainordlist5[" + loopcnt + "]/cnclresncd", model.getValue("/root/main/subordlist/subordlist1[" + i + "]/cnclresncd"));
- model.makeValue("/root/hidden/exculist/mainordlist5[" + loopcnt + "]/pacsnocretyn", model.getValue("/root/main/subordlist/subordlist1[" + i + "]/pacsnocretynm"));
- model.makeValue("/root/hidden/exculist/mainordlist5[" + loopcnt + "]/rgsttm", model.getValue("/root/main/subordlist/subordlist1[" + i + "]/rgsttm"));
- model.makeValue("/root/hidden/exculist/mainordlist5[" + loopcnt + "]/rgstrid", model.getValue("/root/main/subordlist/subordlist1[" + i + "]/rgstrid"));
- model.makeValue("/root/hidden/exculist/mainordlist5[" + loopcnt + "]/prcpdelivefact", model.getValue("/root/main/subordlist/subordlist1[" + i + "]/prcpdelivefact"));
- model.makeValue("/root/hidden/exculist/mainordlist5[" + loopcnt + "]/orddepthngnm", model.getValue("/root/main/subordlist/subordlist1[" + i + "]/orddepthngnm"));
- model.makeValue("/root/hidden/exculist/mainordlist5[" + loopcnt + "]/prcpnm", model.getValue("/root/main/subordlist/subordlist1[" + i + "]/prcpnm"));
- model.makeValue("/root/hidden/exculist/mainordlist5[" + loopcnt + "]/orddd", model.getValue("/root/main/subordlist/subordlist1[" + i + "]/orddd"));
- model.makeValue("/root/hidden/exculist/mainordlist5[" + loopcnt + "]/rgstdepthngnm", model.getValue("/root/main/subordlist/subordlist1[" + i + "]/rgstdepthngnm"));
- model.makeValue("/root/hidden/exculist/mainordlist5[" + loopcnt + "]/excuroomnm", model.getValue("/root/main/subordlist/subordlist1[" + i + "]/examroomnm"));
- model.makeValue("/root/hidden/exculist/mainordlist5[" + loopcnt + "]/rsrvpsnnocntlyn", model.getValue("/root/main/subordlist/subordlist1[" + i + "]/rsrvpsnnocntlyn"));
- model.makeValue("/root/hidden/exculist/mainordlist5[" + loopcnt + "]/rsrvstatcd", "Y");
- model.makeValue("/root/hidden/exculist/mainordlist5[" + loopcnt + "]/cnclresncd", model.getValue("/root/main/subordlist/subordlist1[" + i + "]/cnclresncd"));
- model.makeValue("/root/hidden/exculist/mainordlist5[" + loopcnt + "]/cnclflag", model.getValue("/root/main/subordlist/subordlist1[" + i + "]/cnclflag"));
- model.makeValue("/root/hidden/exculist/mainordlist5[" + loopcnt + "]/prcpexecdeptcd", model.getValue("/root/main/subordlist/subordlist1[" + i + "]/prcpexecdeptcd"));
- model.makeValue("/root/hidden/exculist/mainordlist5[" + loopcnt + "]/prcpexecdeptcd", model.getValue("/root/main/subordlist/subordlist1[" + i + "]/prcpexecdeptcd"));
- model.makeValue("/root/hidden/exculist/mainordlist5[" + loopcnt + "]/tmpldata", model.getValue("/root/main/subordlist/subordlist1[" + i + "]/tmpldata"));
- model.makeValue("/root/hidden/exculist/mainordlist5[" + loopcnt + "]/bf_srchrsrvtm", model.getValue("/root/main/subordlist/subordlist1[" + i + "]/conttestrsrvdd"));
- }
- }
-
- if ( loopcnt == 0 ) {
- messageBox("처방내역을 선택해 주십시오.","I999");
- return "0";
- }
- modal("SMAEA03600", "","","", "SMAEA03600", "/root/hidden/exculist","/root/main/exculist");
- model.refresh();
-
- // }
- ]]>
- </script>
- </button>
- <button id="btn_drugcncl" class="btn2_letter4" disabled="true" style="left:712px; top:384px; width:64px; height:19px; ">
- <caption>투여취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var rtn = fExeNuclCnclList();
-
- if ( rtn != "0" ) {
- // if ( btn_case1.selected == true ) {
- // fGetExamCurePrcpList(grd_mainordlist1);
- // } else {
- // fGetExamCurePrcpList(grd_mainordlist2);
- // }
- var srchpid = model.getValue("/root/send/data/srchpid");
- if (srchpid == "") {
- // if ( btn_case3.selected != true ) {
- // fGetExamCurePrcpList(grd_mainordlist1);
- // } else {
- // fGetExamCurePrcpList(grd_mainordlist2);
- // }
- var pid = "";
- var calcscorcd = "";
-
- if ( btn_case3.selected == true ) {
- calcscorcd = model.getValue("/root/main/ordlist2/mainordlist2["+grd_mainordlist2.row+"]/calcscorcd");
- } else {
- pid = model.getValue("/root/main/ordlist1/mainordlist1["+grd_mainordlist1.row+"]/pid");
- }
- model.makeValue("/root/send/temp/pid",pid);
- model.makeValue("/root/send/temp/calcscorcd",calcscorcd);
-
- fGetExamCureAcptList()
- } else {
- fGetExamCurePidPrcpList();
- }
- }
- ]]>
- </script>
- </button>
- <group id="group1" style="left:7px; top:378px; width:320px; height:375px; ">
- <caption id="caption9" class="tit_2" style="left:0px; top:10px; width:115px; height:13px; ">
- <![CDATA[대기자 현황]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var grd_width = grd_subpopordlist.attribute("width");
-
- if (grd_width == "315px") {
- group1.attribute("width") = "620px";
- grd_subpopordlist.attribute("width") = "615px";
- btn_accept.attribute("left") = "552px";
- line13.attribute("x2") = "616px";
- } else {
- group1.attribute("width") = "320px";
- grd_subpopordlist.attribute("width") = "315px";
- btn_accept.attribute("left") = "252px";
- line13.attribute("x2") = "316px";
- }
- ]]>
- </script>
- </caption>
- <line id="line13" class="line_1" style="x1:0px; y1:25px; x2:316px; y2:25px; "/>
- <datagrid id="grd_subpopordlist" nodeset="/root/main/ordlist3/mainordlist/mainordlist3" caption="^구분^등록번호^환자명^처방명^예약일자^접수일시^검사실코드^유일번호^처방일자^수행부서코드^PACS연동코드" colsep="^" colwidth="21, 37, 69, 66, 255, 90, 0, 0, 0, 0, 0, 0" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:30px; width:315px; height:342px; ">
- <col checkvalue="Y,N" ref="check" type="checkbox"/>
- <col disabled="true" ref="conttestyn" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>연속</label>
- <value>Y</value>
- </item>
- <item>
- <label>일반</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="pid"/>
- <col ref="patnm"/>
- <col ref="prcpnm"/>
- <col ref="conttestrsrvdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="rsrvdt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="excuroomcd"/>
- <col ref="execprcpuniqno"/>
- <col ref="prcpdd"/>
- <col ref="basesuppdeptcd"/>
- <col ref="pacsnocretyn"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if ( grd_subpopordlist.isCell(event.target) && grd_subpopordlist.row >= grd_subpopordlist.fixedRows ) {
- var rowidx = grd_subpopordlist.row;
- var colidx = grd_subpopordlist.col;
- var flag = grd_subpopordlist.isReadOnly(rowidx,colidx);
- if ( flag != false) {
- var schk = model.getValue("/root/main/ordlist3/mainordlist/mainordlist3[" + rowidx + "]/check");
-
- if (grd_subpopordlist.colRef("check") != colidx) {
- if (schk == "Y"){
- model.setValue("/root/main/ordlist3/mainordlist/mainordlist3[" + rowidx + "]/check", "N");
- } else if (schk == ""){
- model.setValue("/root/main/ordlist3/mainordlist/mainordlist3[" + rowidx + "]/check", "Y");
- } else {
- model.setValue("/root/main/ordlist3/mainordlist/mainordlist3[" + rowidx + "]/check", "Y");
- }
- }
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_subpopordlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="btn_accept" class="btn2_letter4" disabled="true" style="left:252px; top:5px; width:64px; height:19px; ">
- <caption>환자받기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- // 검사실 환자받기을 위한 선택
- fSetExamCureAcceptRoomCodeList();
- ]]>
- </script>
- </button>
- </group>
- <shape id="rectangle6" appearance="rectangle" style="left:332px; top:63px; width:20px; height:15px; background-color:#ffff00; "/>
- <shape id="rectangle7" appearance="rectangle" style="left:375px; top:63px; width:20px; height:15px; background-color:#ccffcc; "/>
- <shape id="rectangle8" appearance="rectangle" style="left:454px; top:63px; width:20px; height:15px; background-color:#FF9A00; "/>
- <caption id="caption116" style="left:477px; top:63px; width:38px; height:15px; ">미수납</caption>
- <caption id="caption117" style="left:357px; top:63px; width:18px; height:15px; ">V</caption>
- <caption id="caption118" style="left:398px; top:63px; width:50px; height:15px; ">오늘결과</caption>
- <button id="button2" class="btn3_letter6" style="left:320px; top:760px; width:104px; height:22px; ">
- <caption>판독결과관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open ( "SMAER00620" );
- ]]>
- </script>
- </button>
- <button id="button3" class="btn3_letter6" style="left:425px; top:760px; width:104px; height:22px; ">
- <caption>판독현황조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open ( "SMAER00630" );
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|