1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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>
- <hospinfcinfolist>
- </hospinfcinfolist>
- <hospinfcinfo>
- <hospinfc>
- <info>
- <psnflag>I</psnflag>
- <pid/>
- <patnm/>
- <indd/>
- <orddeptcd/>
- <wardcd/>
- <roomcd/>
- <infccaswardcd/>
- <infccasroomcd/>
- <chngroomdd/>
- <chngroomtm/>
- <sexflag/>
- <age/>
- <intm/>
- <atdrtcd/>
- <atdrtnm/>
- <diagcd/>
- <diagnm/>
- <outrmdd/>
- <outrmrslt/>
- <severityclssflag/>
- <icuinrmdd/>
- <icuinrmtm/>
- <icuoutrmdd/>
- <icuoutrmtm/>
- <icuinhospdayno/>
- <opinfcyn>N</opinfcyn>
- <opdd/>
- <opstarttm/>
- <opendtm/>
- <opusetm/>
- <opstartdate/>
- <opstarttime/>
- <openddate/>
- <opendtime/>
- <opcd/>
- <opnm/>
- <opflagcd>F</opflagcd>
- <perfdrcd/>
- <perfdrnm/>
- <woundclssflag/>
- <asaclssflag/>
- <generalanesthesiayn/>
- <endoscopicopyn/>
- <riskindxpnt/>
- <anstkind/>
- <rgstdt/>
- <rgstdd/>
- <rgsttm/>
- <cnfmyn/>
- <infcdd/>
- <infcbfinhospdayno/>
- <infckindlrg>-</infckindlrg>
- <infckindsml/>
- <catecd/>
- <cateusdt/>
- <cateuedt/>
- <cateusedayno/>
- <tpnyn/>
- <steroidyn/>
- <anticncryn/>
- <fstrgstrid/>
- <hbtestdt1/>
- <hbtestrslt1/>
- <wbctestdt1/>
- <wbctestrslt1/>
- <neutrophilstestdt1/>
- <neutrophilstestrslt1/>
- <esrtestdt1/>
- <esrtestrslt1/>
- <crptestdt1/>
- <crptestrslt1/>
- <bdtptestdt1/>
- <bdtptestrslt1/>
- <bdtptestdate1/>
- <bdtptesttime1/>
- <hbtestdt2/>
- <hbtestrslt2/>
- <wbctestdt2/>
- <wbctestrslt2/>
- <neutrophilstestdt2/>
- <neutrophilstestrslt2/>
- <esrtestdt2/>
- <esrtestrslt2/>
- <crptestdt2/>
- <crptestrslt2/>
- <bdtptestdt2/>
- <bdtptestrslt2/>
- <bdtptestdate2/>
- <bdtptesttime2/>
- <brethdate2/>
- <brethtime2/>
- <pulsedate2/>
- <pulsetime2/>
- <etc1/>
- <etc2/>
- <rem/>
- <scndbfinfcyn/>
- <nnopcd/>
- <opwundkind/>
- <infcyn/>
- <warddd/>
- </info>
- </hospinfc>
- <basalsicklist>
- </basalsicklist>
- <mirotestrslt>
- </mirotestrslt>
- <druginfo>
- </druginfo>
- <oprecinfo>
- </oprecinfo>
- </hospinfcinfo>
- <copyset>
- </copyset>
- <paminfo/>
- <diaglist/>
- </main>
- <hidden>
- <condition>
- <state>-</state>
- <pid/>
- <indd/>
- <fromdd/>
- <todd/>
- <refcond/>
- <psnflag/>
- <cretno/>
- <orddeptcd/>
- </condition>
- <getdata/>
- <selectedrowcnt/>
- </hidden>
- <send>
- </send>
- <init>
- <paminfo/>
- <current>
- <today/>
- <time/>
- </current>
- <warddeptlist>
- <dept>
- <deptcd/>
- <depthngnm>-</depthngnm>
- </dept>
- </warddeptlist>
- <A0358list>
- <A0358>
- <cdid/>
- <cdnm/>
- </A0358>
- </A0358list>
- <A0124list>
- </A0124list>
- <deptlist>
- <dept>
- <deptcd/>
- <depthngnm>-</depthngnm>
- </dept>
- </deptlist>
- <M0013list>
- <M0013>
- <cdid/>
- <cdnm/>
- </M0013>
- </M0013list>
- <M0015list>
- <M0015>
- <cdid/>
- <cdnm/>
- </M0015>
- </M0015list>
- <M0271list>
- <M0271>
- <cdid/>
- <cdnm/>
- </M0271>
- </M0271list>
- <P0064list>
- <P0064>
- <cdid/>
- <cdnm/>
- </P0064>
- </P0064list>
- <A0006list>
- <A0006>
- <cdid/>
- <cdnm/>
- </A0006>
- </A0006list>
- <A0144list>
- <A0144>
- <cdid/>
- <cdnm/>
- </A0144>
- </A0144list>
- <A0145list>
- <A0145>
- <cdid/>
- <cdnm/>
- </A0145>
- </A0145list>
- <M0157list/>
- <M0067list/>
- <M0341list>
- <M0341>
- <cdid/>
- <cdnm/>
- </M0341>
- </M0341list>
- <patinddlist>
- <patindd/>
- </patinddlist>
- <firstyn/>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //공통코드를 조회한다.
- fInitialize();
-
- var pamInfoCvs = getGlobalVariable("paminfo"); //상단정보가 있을 경우는 검색
- var pid = "";
- if(pamInfoCvs != "" ){ //cvs가 ""이 아닌 경우에만 처리함.
- model.removeNodeSet("/root/main/paminfo/list");
- setCSVToNode("/root/main/paminfo", pamInfoCvs);
- var ioflag = model.getValue("/root/main/paminfo/list/ioflag");
-
- model.setValue("/root/hidden/condition/psnflag", ioflag);
-
- if(ioflag == "I" || ioflag == "E"|| ioflag == "D"){
- model.setValue("/root/hidden/condition/pid", model.getValue("/root/main/paminfo/list/pid") );
- model.setValue("/root/hidden/condition/indd", model.getValue("/root/main/paminfo/list/indd"));
- model.refresh();
- }else if(ioflag == "O"){
- model.setValue("/root/hidden/condition/pid", model.getValue("/root/main/paminfo/list/pid") );
- model.setValue("/root/hidden/condition/indd", model.getValue("/root/main/paminfo/list/orddd"));
- model.refresh();
- }
- model.makeValue("/root/send/reqdata/pid", model.getValue("/root/hidden/condition/pid"));
- submit("TRASI00108", true);
- }
-
- if( isPopup() && opener.javascript.getParameter("SMASI00500_param") == "Y"){//병원감염대상자에서 파라미터 노드를 보낸다.
- model.setValue("/root/hidden/condition/pid", model.getValue("/root/hidden/getdata/pid") );
- model.setValue("/root/hidden/condition/indd", model.getValue("/root/hidden/getdata/indd") );
- model.setValue("/root/hidden/condition/psnflag", model.getValue("/root/hidden/getdata/psnflag") );
- }
- if(model.getValue("/root/hidden/condition/pid") != "") {
- model.makeValue("/root/send/reqdata/pid", model.getValue("/root/hidden/condition/pid"));
- submit("TRASI00108", true);
- fGetPtnInfo("I");
- }
-
-
- if(isPopup()){
- // model.removeNodeset("/root/main/hospinfcinfo/oprecinfo");
- // grd_opinfo.rebuild();
-
- btn_getpatinfo.disabled = true;
- rdo_psnflag.disabled = true;
- ipt_pid.disabled = true;
- // ipt_indd.disabled = true;
-
- var getPara = opener.window.javascript.getParameter("setVal1");//수술환자관련
- var getPara1 = opener.window.javascript.getParameter("setVal9");//발열1
- var getPara2 = opener.window.javascript.getParameter("setVal10");//발열2
- var getPara3 = opener.window.javascript.getParameter("setVal11");//유행발생검사
- var getPara4 = opener.window.javascript.getParameter("setVal12");//항생제내성균
- var getPara5 = opener.window.javascript.getParameter("setVal13");//미생물배양양성자
- var cnt = getPara.split("▩").length;
- var data = "";
-
- var currRow = 0;
- if(getPara != null && getPara != "" ){
-
- for(var i= 1; i<cnt-1; i++){
- grd_opinfo.addRow(false);
- currRow = grd_opinfo.rows - grd_opinfo.fixedRows ;
- data = getPara.split("▩")[i];
- model.makeValue("/root/main/hospinfcinfo/oprecinfo/info["+ currRow +"]/infcyn", data.split("▦")[0]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ currRow +"]/opcd", data.split("▦")[1]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ currRow +"]/opnm", data.split("▦")[2]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ currRow +"]/opmskind", data.split("▦")[3]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ currRow +"]/opflagcd", data.split("▦")[4]);
- model.makeValue("/root/main/hospinfcinfo/oprecinfo/info["+ currRow +"]/opstatcd", data.split("▦")[5]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ currRow +"]/perfdrnm", data.split("▦")[6]);
- model.makeValue("/root/main/hospinfcinfo/oprecinfo/info["+ currRow +"]/perfdrcd", data.split("▦")[7]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ currRow +"]/anstkind", data.split("▦")[8]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ currRow +"]/opdd", data.split("▦")[9]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ currRow +"]/opstarttm", data.split("▦")[10]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ currRow +"]/opendtm", data.split("▦")[11]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ currRow +"]/opusetm", data.split("▦")[12]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ currRow +"]/opwundkind", data.split("▦")[13]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ currRow +"]/asascore", data.split("▦")[14]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ currRow +"]/riskindex", data.split("▦")[15]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ currRow +"]/gnrlanst", data.split("▦")[16]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ currRow +"]/nnopcd", data.split("▦")[17]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ currRow +"]/escopeopyn", data.split("▦")[18]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ currRow +"]/opdiagcd", data.split("▦")[19]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ currRow +"]/opdiagnm", data.split("▦")[20]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ currRow +"]/subopcd", data.split("▦")[21]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ currRow +"]/subopnm", data.split("▦")[22]);
- }
-
- model.makeValue("/root/main/hospinfcinfo/hospinfc/info/woundclssflag", opener.window.javascript.getParameter("setVal2"));
- model.makeValue("/root/main/hospinfcinfo/hospinfc/info/asaclssflag", opener.window.javascript.getParameter("setVal3"));
- model.makeValue("/root/main/hospinfcinfo/hospinfc/info/riskindxpnt", opener.window.javascript.getParameter("setVal4"));
- model.makeValue("/root/main/hospinfcinfo/hospinfc/info/generalanesthesiayn", opener.window.javascript.getParameter("setVal5"));
- model.makeValue("/root/main/hospinfcinfo/hospinfc/info/endoscopicopyn", opener.window.javascript.getParameter("setVal6"));
- model.makeValue("/root/main/hospinfcinfo/hospinfc/info/anstkind", opener.window.javascript.getParameter("setVal7"));
-
- model.refresh();
- }else if(getPara1 != null && getPara1 != ""){
- model.setValue("/root/main/hospinfcinfo/hospinfc/info/bdtptestdate1", getPara1);
- model.setValue("/root/main/hospinfcinfo/hospinfc/info/bdtptesttime1", getPara2);
- model.refresh();
-
- }else if(getPara3 != null && getPara3 != ""){
- cnt = getPara3.split("▩").length;
- for(var i=1; i<cnt-1; i++){
- grd_mirotestrslt.addRow(false);
- currRow = grd_mirotestrslt.rows - grd_mirotestrslt.fixedRows;
- data = getPara3.split("▩")[i];
- model.makeValue("/root/main/hospinfcinfo/mirotestrslt/info["+ currRow +"]/culturedt", data.split("▦")[0]);
- model.makeValue("/root/main/hospinfcinfo/mirotestrslt/info["+ currRow +"]/spccd", data.split("▦")[1]);
- model.makeValue("/root/main/hospinfcinfo/mirotestrslt/info["+ currRow +"]/spcnm", data.split("▦")[2]);
- model.makeValue("/root/main/hospinfcinfo/mirotestrslt/info["+ currRow +"]/baccd", data.split("▦")[3]);
- model.makeValue("/root/main/hospinfcinfo/mirotestrslt/info["+ currRow +"]/bacnm", data.split("▦")[4]);
- model.makeValue("/root/main/hospinfcinfo/mirotestrslt/info["+ currRow +"]/nsgbrcdnm", data.split("▦")[5]);
- model.makeValue("/root/main/hospinfcinfo/mirotestrslt/info["+ currRow +"]/antibtrstbtrflag", data.split("▦")[6]);
- model.makeValue("/root/main/hospinfcinfo/mirotestrslt/info["+ currRow +"]/prcpdd", data.split("▦")[7]);
- model.makeValue("/root/main/hospinfcinfo/mirotestrslt/info["+ currRow +"]/bcoldt", data.split("▦")[8]);
- model.makeValue("/root/main/hospinfcinfo/mirotestrslt/info["+ currRow +"]/tclscd", data.split("▦")[9]);
- model.makeValue("/root/main/hospinfcinfo/mirotestrslt/info["+ currRow +"]/testcd", data.split("▦")[10]);
- model.makeValue("/root/main/hospinfcinfo/mirotestrslt/info["+ currRow +"]/bcno", data.split("▦")[11]);
- }
- grd_mirotestrslt.refresh();
-
- }else if(getPara4 != null && getPara4 != ""){
- cnt = getPara4.split("▩").length;
- for(var i=1; i<cnt-1; i++){
- grd_mirotestrslt.addRow(false);
- currRow = grd_mirotestrslt.rows - grd_mirotestrslt.fixedRows;
- data = getPara4.split("▩")[i];
- model.makeValue("/root/main/hospinfcinfo/mirotestrslt/info["+ currRow +"]/culturedt", data.split("▦")[0]);
- model.makeValue("/root/main/hospinfcinfo/mirotestrslt/info["+ currRow +"]/spccd", data.split("▦")[1]);
- model.makeValue("/root/main/hospinfcinfo/mirotestrslt/info["+ currRow +"]/spcnm", data.split("▦")[2]);
- model.makeValue("/root/main/hospinfcinfo/mirotestrslt/info["+ currRow +"]/baccd", data.split("▦")[3]);
- model.makeValue("/root/main/hospinfcinfo/mirotestrslt/info["+ currRow +"]/bacnm", data.split("▦")[4]);
- model.makeValue("/root/main/hospinfcinfo/mirotestrslt/info["+ currRow +"]/antibtrstbtrflagnm", data.split("▦")[5]);
- model.makeValue("/root/main/hospinfcinfo/mirotestrslt/info["+ currRow +"]/antibtrstbtrflag", data.split("▦")[6]);
- model.makeValue("/root/main/hospinfcinfo/mirotestrslt/info["+ currRow +"]/prcpdd", data.split("▦")[7]);
- model.makeValue("/root/main/hospinfcinfo/mirotestrslt/info["+ currRow +"]/bcoldt", data.split("▦")[8]);
- model.makeValue("/root/main/hospinfcinfo/mirotestrslt/info["+ currRow +"]/tclscd", data.split("▦")[9]);
- model.makeValue("/root/main/hospinfcinfo/mirotestrslt/info["+ currRow +"]/testcd", data.split("▦")[10]);
- model.makeValue("/root/main/hospinfcinfo/mirotestrslt/info["+ currRow +"]/bcno", data.split("▦")[11]);
- }
- grd_mirotestrslt.refresh();
-
- }else if(getPara5 != null && getPara5 != ""){
- cnt = getPara5.split("▩").length;
- for(var i=1; i<cnt-1; i++){
- grd_mirotestrslt.addRow(false);
- currRow = grd_mirotestrslt.rows - grd_mirotestrslt.fixedRows;
- data = getPara5.split("▩")[i];
- model.makeValue("/root/main/hospinfcinfo/mirotestrslt/info["+ currRow +"]/culturedt", data.split("▦")[0]);
- model.makeValue("/root/main/hospinfcinfo/mirotestrslt/info["+ currRow +"]/spccd", data.split("▦")[1]);
- model.makeValue("/root/main/hospinfcinfo/mirotestrslt/info["+ currRow +"]/spcnm", data.split("▦")[2]);
- model.makeValue("/root/main/hospinfcinfo/mirotestrslt/info["+currRow +"]/baccd", data.split("▦")[3]);
- model.makeValue("/root/main/hospinfcinfo/mirotestrslt/info["+ currRow +"]/bacnm", data.split("▦")[4]);
- model.makeValue("/root/main/hospinfcinfo/mirotestrslt/info["+currRow +"]/antibtrstbtrflagnm", data.split("▦")[5]);
- model.makeValue("/root/main/hospinfcinfo/mirotestrslt/info["+ currRow+"]/antibtrstbtrflag", data.split("▦")[6]);
- model.makeValue("/root/main/hospinfcinfo/mirotestrslt/info["+ currRow +"]/prcpdd", data.split("▦")[7]);
- model.makeValue("/root/main/hospinfcinfo/mirotestrslt/info["+ currRow+"]/bcoldt", data.split("▦")[8]);
- model.makeValue("/root/main/hospinfcinfo/mirotestrslt/info["+currRow +"]/tclscd", data.split("▦")[9]);
- model.makeValue("/root/main/hospinfcinfo/mirotestrslt/info["+ currRow +"]/testcd", data.split("▦")[10]);
- model.makeValue("/root/main/hospinfcinfo/mirotestrslt/info["+currRow +"]/bcno", data.split("▦")[11]);
- }
- grd_mirotestrslt.refresh();
-
- }
- } else{
- button72.selected = true;
- }
-
-
- ]]>
- </script>
- <submission id="TRASI00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/hospinfcinfolist"/>
- <submission id="TRASI00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/hospinfcinfo/oprecinfo"/>
- <submission id="TRASI00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/hospinfcinfo/basalsicklist"/>
- <submission id="TRASI00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/hospinfcinfo/druginfo"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TXASI00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/hospinfcinfolist"/>
- <submission id="TRASI00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/hospinfcinfo/mirotestrslt"/>
- <submission id="TRASI00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/patbaseinfo"/>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- ]]>
- </script>
- <submission id="TRASI00108" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/patinddlist"/>
- </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/dateHelper.js"/>
- <script type="javascript" src="../../../ast/infcmngtweb/js/SMTRASI001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript">
- <![CDATA[
- function fInitialize() {
- // 진료과
- var instcd = getUserInfo("dutplceinstcd");
- var standard_yn = "orduseyn";
- var ord_deptflag = 'D';
- var rslt_ref = "/root/init/deptlist";
- sort_field = "deptcd";
- sort_method = "asc";
- zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref, sort_method);
-
- //벙동
- standard_yn = "orduseyn";
- ord_deptflag = "W";
- rslt_ref = "/root/init/warddeptlist";
- sort_field = "deptcd";
- sort_method = "asc";
- zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref, sort_field, sort_method);
-
- // 공통코드를 조회한다.
- zbcfGetCodeList( new Array("A0124", "A0358", "P0149", "M0013", "M0015", "M0271","P0064", "A0144", "A0145", "M0157","A0006", "M0067", "M0341"), new Array( "/root/init/A0124list", "/root/init/A0358list", "/root/init/P0149list", "/root/init/M0013list", "/root/init/M0015list", "/root/init/M0271list", "/root/init/P0064list", "/root/init/A0144list", "/root/init/A0145list", "/root/init/M0157list", "/root/init/A0006list", "/root/init/M0067list", "/root/init/M0341list") );
-
-
- switch1.selectedIndex = 0;
- }
-
- function fChkDup(pGridNm, pChkCd, pDestNode){
- if( pGridNm.rows - pGridNm.fixedRows >0 ) {
- var nodeList1 = instance1.selectNodes(pDestNode+ pChkCd +"']" );//dest
- if( nodeList1 != null && nodeList1.length > 0 ){
- return false;
- }
- }
- return true;
- }
-
- function fCalcuDayno(strParam){
- var InterDay;
- if( strParam == "device" ){
- if( !isNull(model.getValue("/root/main/hospinfcinfo/hospinfc/info/cateusdt")) ){
- if( !isNull(model.getValue("/root/main/hospinfcinfo/hospinfc/info/cateuedt")) ){
- InterDay = getDateInterval(model.getValue("/root/main/hospinfcinfo/hospinfc/info/cateusdt"), model.getValue("/root/main/hospinfcinfo/hospinfc/info/cateuedt"));
- } else {
- InterDay = getDateInterval(model.getValue("/root/main/hospinfcinfo/hospinfc/info/cateusdt"), getCurrentDate());
- }
- }
- model.setValue("/root/main/hospinfcinfo/hospinfc/info/cateusedayno", InterDay);
-
- } else if (strParam == "infcdd" ){
- if( !isNull(model.getValue("/root/main/hospinfcinfo/hospinfc/info/indd")) ){
- if( !isNull(model.getValue("/root/main/hospinfcinfo/hospinfc/info/infcdd")) ){
- InterDay = getDateInterval(model.getValue("/root/main/hospinfcinfo/hospinfc/info/indd"), model.getValue("/root/main/hospinfcinfo/hospinfc/info/infcdd"));
- model.setValue("/root/main/hospinfcinfo/hospinfc/info/infcbfinhospdayno", InterDay);
- } else {
- //InterDay = getDateInterval(model.getValue("/root/main/hospinfcinfo/hospinfc/info/indd"), getCurrentDate());
- InterDay = null;
- }
- }
- } else {
- if( !isNull(model.getValue("/root/main/hospinfcinfo/hospinfc/info/icuinrmdd")) ){
- if( !isNull(model.getValue("/root/main/hospinfcinfo/hospinfc/info/icuoutrmdd")) ){
- InterDay = getDateInterval(model.getValue("/root/main/hospinfcinfo/hospinfc/info/icuinrmdd"), model.getValue("/root/main/hospinfcinfo/hospinfc/info/icuoutrmdd"));
- } else {
- InterDay = getDateInterval(model.getValue("/root/main/hospinfcinfo/hospinfc/info/icuinrmdd"), getCurrentDate());
- }
- }
- model.setValue("/root/main/hospinfcinfo/hospinfc/info/icuinhospdayno", InterDay);
-
- }
- model.refresh();
- }
-
- function fChgPsnFlag(){
- if(model.getValue("/root/main/hospinfcinfo/hospinfc/info/psnflag") =="I" || model.getValue("/root/main/hospinfcinfo/hospinfc/info/psnflag") =="E"){
- cap_indd.text = "입원일";
- grd_hospinfclist.colHidden(9) = false;
- grd_hospinfclist.colHidden(10) = true;
-
- }else{
- cap_indd.text = "진료일";
- grd_hospinfclist.colHidden(9) = true;
- grd_hospinfclist.colHidden(10) = false;
- }
- if( model.getValue("/root/main/hospinfcinfo/hospinfc/info/psnflag") == "I" || model.getValue("/root/main/hospinfcinfo/hospinfc/info/psnflag") == "E"){
- // group1.disabled = false;
- // combo6.disabled = false;
- // input20.disabled = false;
- // combo23.disabled = false;
- // input2.disabled = false;
- // input53.disabled = false;
- button5.disabled = false;
- // input1.disabled = false;
- // combo1.disabled = false;
-
- }else{
- group1.disabled = true;
- //combo6.disabled = true;
- //input20.disabled = true;
- combo23.disabled = true;
- input2.disabled = true;
- input53.disabled = true;
- button5.disabled = true;
- input1.disabled = true;
- combo1.disabled = true;
-
- model.makeValue("/root/main/hospinfcinfo/hospinfc/info/wardcd", "");
- model.makeValue("/root/main/hospinfcinfo/hospinfc/info/roomcd", "");
- model.makeValue("/root/main/hospinfcinfo/hospinfc/info/infccaswardcd", "");
- model.makeValue("/root/main/hospinfcinfo/hospinfc/info/infccasroomcd", "");
- model.makeValue("/root/main/hospinfcinfo/hospinfc/info/chngroomdd", "");
- model.makeValue("/root/main/hospinfcinfo/hospinfc/info/outrmdd", "");
- model.makeValue("/root/main/hospinfcinfo/hospinfc/info/outrmrslt", "");
- model.makeValue("/root/main/hospinfcinfo/hospinfc/info/severityclssflag", "");
- model.makeValue("/root/main/hospinfcinfo/hospinfc/info/icuinrmdd", "");
- model.makeValue("/root/main/hospinfcinfo/hospinfc/info/icuoutrmdd", "");
- model.makeValue("/root/main/hospinfcinfo/hospinfc/info/icuinhospdayno", "");
-
- }
- model.refresh();
- }
- function fpamCompareNodes(originalNode, copyNode){
- var ins = instance1;
- var original = ins.selectSingleNode(originalNode);
- var copy = ins.selectSingleNode(copyNode);
- if(original == null || copy == null){
- return false;
- }else if (original.xml == copy.xml){
- return true;
- }else{
- return false;
- }
- }
-
- function fRowDelete( grdName, grdPath ){
- var iRow = grdName.row - grdName.fixedRows + 1;
- if(iRow < 1){
- return;
- }
- var status = grdName.rowStatus(iRow);
- if(status == 1){
- grdName.deleteRow(iRow, false);
- }else{
- grdName.rowStatus(iRow)= 4;
- }
- model.makeValue(grdPath, "D");
- if(grdName.row - grdName.fixedRows <= 0 ){
- model.setValue("/root/main/hospinfcinfo/hospinfc/info/woundclssflag", "");
- model.setValue("/root/main/hospinfcinfo/hospinfc/info/asaclssflag", "");
- model.setValue("/root/main/hospinfcinfo/hospinfc/info/riskindxpnt", "");
- model.setValue("/root/main/hospinfcinfo/hospinfc/info/generalanesthesiayn", "");
- model.setValue("/root/main/hospinfcinfo/hospinfc/info/endoscopicopyn", "");
- model.setValue("/root/main/hospinfcinfo/hospinfc/info/anstkind", "");
-
- }
- model.refresh();
- }
-
- function fSetParameter(){
- var idate = new Date();
- var jdate = new Date();
- if(model.getValue("/root/main/hospinfcinfo/hospinfc/info/infcdd") == "" || model.getValue("/root/main/hospinfcinfo/hospinfc/info/infcdd") == null) {
- var todd = getCurrentDate();
- jdate = idate.getAddDate(-14, "D");
- var fromdd = jdate.getDateFormat();
- } else {
- idate= model.getValue("/root/main/hospinfcinfo/hospinfc/info/infcdd").toDate();
- var todd = idate.getDateFormat();
- jdate = idate.getAddDate(-14, "D");
- var fromdd = jdate.getDateFormat();
- }
-
- model.setValue("/root/hidden/condition/fromdd", fromdd);
- model.setValue("/root/hidden/condition/todd", todd);
- model.setValue("/root/hidden/condition/refcond", "3");
- model.setValue("/root/hidden/condition/pid", model.getValue("/root/main/hospinfcinfo/hospinfc/info/pid"));
- }
-
- function fGetPtnInfo(activeFlag){
- model.removeNodeset("/root/send");
- model.makeValue("/root/send/reqdata/pid", model.getValue("/root/hidden/condition/pid"));
- model.makeValue("/root/send/reqdata/indd", model.getValue("/root/hidden/condition/indd"));
- model.makeValue("/root/send/reqdata/cretno", model.getValue("/root/hidden/condition/cretno"));
- model.makeValue("/root/send/reqdata/orddeptcd", model.getValue("/root/hidden/condition/orddeptcd"));
-
- model.makeValue("/root/send/reqdata/psnflag", model.getValue("/root/hidden/condition/psnflag"));
-
- // if( activeFlag == "C" && ipt_pid.disabled == false){
- // if( isRequiredControls("ipt_pid", "ipt_indd") == false ){
- // return;
- // }
- // }
-
- if( activeFlag != "I" ){
- model.resetInstanceNode("/root/main/hospinfcinfo");
- model.removeNodeset("/root/main/hospinfcinfo/basalsicklist");
- model.removeNodeset("/root/main/hospinfcinfo/mirotestrslt");
- model.removeNodeset("/root/main/hospinfcinfo/druginfo");
- model.removeNodeset("/root/main/hospinfcinfo/oprecinfo");
- }
-
- if( activeFlag == "I" || activeFlag == "C" ){//처음열릴때 또는 등록번호입력했을때
- //대상자기록리스트조회(병원감염대상기록데이터)
- submit("TRASI00101");
- }
-
- submit("TRASI00102", true);
-
- model.copyNode("/root/main/diaglist", "/root/hidden/patbaseinfo");
- if( grd_hospinfclist.rows-grd_hospinfclist.fixedRows <= 0 || activeFlag == "I" ){
- //병원감염대상자 기본정보조회
- model.makeValue("/root/main/hospinfcinfo/hospinfc/info/psnflag", model.getValue("/root/hidden/condition/psnflag"));
- fChgPsnFlag();
- model.makeValue("/root/main/hospinfcinfo/hospinfc/info/pid", model.getValue("/root/hidden/condition/pid"));
- model.makeValue("/root/main/hospinfcinfo/hospinfc/info/indd", model.getValue("/root/hidden/patbaseinfo/info/indd"));
- model.makeValue("/root/main/hospinfcinfo/hospinfc/info/intm", model.getValue("/root/hidden/patbaseinfo/info/intm"));
- model.makeValue("/root/main/hospinfcinfo/hospinfc/info/patnm", model.getValue("/root/hidden/patbaseinfo/info/patnm"));
- model.makeValue("/root/main/hospinfcinfo/hospinfc/info/sexflag", model.getValue("/root/hidden/patbaseinfo/info/sexflag"));
- model.makeValue("/root/main/hospinfcinfo/hospinfc/info/atdrtcd", model.getValue("/root/hidden/patbaseinfo/info/atdrtcd"));
- model.makeValue("/root/main/hospinfcinfo/hospinfc/info/atdrtnm", model.getValue("/root/hidden/patbaseinfo/info/atdrtnm"));
- model.makeValue("/root/main/hospinfcinfo/hospinfc/info/wardcd", model.getValue("/root/hidden/patbaseinfo/info/wardcd"));
- model.makeValue("/root/main/hospinfcinfo/hospinfc/info/roomcd", model.getValue("/root/hidden/patbaseinfo/info/roomcd"));
- model.makeValue("/root/main/hospinfcinfo/hospinfc/info/orddeptcd", model.getValue("/root/hidden/patbaseinfo/info/orddeptcd"));
- model.makeValue("/root/main/hospinfcinfo/hospinfc/info/age", model.getValue("/root/hidden/patbaseinfo/info/age"));
- model.makeValue("/root/main/hospinfcinfo/hospinfc/info/diagcd", model.getValue("/root/hidden/patbaseinfo/info/diagcd"));
- model.makeValue("/root/main/hospinfcinfo/hospinfc/info/diagnm", model.getValue("/root/hidden/patbaseinfo/info/diagnm"));
- model.makeValue("/root/main/hospinfcinfo/hospinfc/info/outrmdd", model.getValue("/root/hidden/patbaseinfo/info/dschdd"));
- model.makeValue("/root/main/hospinfcinfo/hospinfc/info/outrmrslt", model.getValue("/root/hidden/patbaseinfo/info/dschtype"));
- model.makeValue("/root/main/hospinfcinfo/hospinfc/info/warddd", model.getValue("/root/hidden/patbaseinfo/info/warddd"));
-
- // 감염병동병실 정보를 입원병동병실 정보로 default 설정함
- model.makeValue("/root/main/hospinfcinfo/hospinfc/info/infccaswardcd", model.getValue("/root/hidden/patbaseinfo/info/wardcd"));
- model.makeValue("/root/main/hospinfcinfo/hospinfc/info/infccasroomcd", model.getValue("/root/hidden/patbaseinfo/info/roomcd"));
- model.makeValue("/root/main/hospinfcinfo/hospinfc/info/chngroomdd", model.getValue("/root/hidden/patbaseinfo/info/indd"));
-
- model.refresh();
- }
-
- fDblClickAllSearch(activeFlag);
- // if(activeFlag =="I" ||activeFlag =="C"){
- // fDblClickAllSearch(activeFlag);
- // }
- }
-
- function fDblClickAllSearch(flag){
- //선택한 값을 컨트롤에 setting해준다.
- //state를 ""으로 setting해준다.
- var rowcnt = grd_hospinfclist.row;
- var lastrow = grd_hospinfclist.rows-grd_hospinfclist.fixedRows;
- if( (lastrow > 0 && flag == "I") || (lastrow > 0 && flag == "D") || (lastrow > 0 && flag == "S") || (lastrow > 0 && flag == "C") ){
- rowcnt = 1;
- }
- var k = 0;
-
- if( lastrow > 0 && rowcnt > 0) {
- model.setValue("/root/hidden/selectedrowcnt", rowcnt);
- var selinfo = model.getValue("/root/main/hospinfcinfolist/info[" + rowcnt + "]/pid");
- //model.resetInstanceNode("/root/main/hospinfcinfo");
- model.setValue("/root/hidden/condition/state", "-");
-
- //기저질환, 항생제 투약 정보를 가지고 온다.
- model.removeNodeset("/root/send");
-
- model.makeValue("/root/send/reqdata/pid", model.getValue("/root/hidden/condition/pid"));
-
-
- if ( model.getValue("/root/hidden/condition/indd") != "" ) {
- model.makeValue("/root/send/reqdata/indd", model.getValue("/root/hidden/condition/indd"));
- } else {
- model.makeValue("/root/send/reqdata/indd", model.getValue("/root/main/hospinfcinfo/hospinfc/info/indd"));
- }
- model.makeValue("/root/send/reqdata/psnflag", model.getValue("/root/hidden/condition/psnflag"));
- model.makeValue("/root/send/reqdata/diagcd", model.getValue("/root/main/hospinfcinfolist/info[" + rowcnt + "]/diagcd"));
- model.makeValue("/root/send/reqdata/opcd", model.getValue("/root/main/hospinfcinfolist/info[" + rowcnt + "]/opcd"));
- model.makeValue("/root/send/reqdata/atdrtcd", model.getValue("/root/main/hospinfcinfolist/info[" + rowcnt + "]/atdrtcd"));
- model.makeValue("/root/send/reqdata/perfdrid", model.getValue("/root/main/hospinfcinfolist/info[" + rowcnt + "]/perfdrid"));
- model.makeValue("/root/send/reqdata/rgstdt", model.getValue("/root/main/hospinfcinfolist/info[" + rowcnt + "]/rgstdt"));
-
- // 병원감염대상자기록리스트에서 더블클릭했을 때에만 조회한다.
- if ( flag != "I" ) {
-
- //주치의, 집도의 성명, 진단명, 마취종류 등을 조회는 그리드 조회때 함께 함
- grd_hospinfclist.select(rowcnt,1) = true;
- fMapping(rowcnt);fCalcuDayno();
- fChgPsnFlag();
-
- if(!submit("TRASI00103")) {
- model.resetInstanceNode("/root/main/hospinfcinfo/oprecinfo");
- } //수술정보 조회
- if(!submit("TRASI00104")) {
- model.resetInstanceNode("/root/main/hospinfcinfo/basalsicklist");
- } //기저질환을 조회
-
- if(!submit("TRASI00105")) {
- model.resetInstanceNode("/root/main/hospinfcinfo/druginfo");
- } // 항생제 투약정보를 조회
- if(!submit("TRASI00106")){
- model.resetInstanceNode("/root/main/hospinfcinfo/mirotestrslt");
- } // 미생물 검사결과를 조회
-
- //나중에 수정이 일어났는지 여부를 알기 위해 COPY본을 만든다.
- model.makeNode("/root/main/copyset/hospinfcinfo/info");
- model.makeNode("/root/main/copyset/basalsicklist");
- model.makeNode("/root/main/copyset/mirotestrslt");
- model.makeNode("/root/main/copyset/druginfo");
- model.makeNode("/root/main/copyset/oprecinfo");
- model.copyNode("/root/main/copyset/hospinfcinfo/info", "/root/main/hospinfcinfo/hospinfc/info");
- model.copyNode("/root/main/copyset/basalsicklist", "/root/main/hospinfcinfo/basalsicklist");
- model.copyNode("/root/main/copyset/mirotestrslt", "/root/main/hospinfcinfo/mirotestrslt");
- model.copyNode("/root/main/copyset/druginfo", "/root/main/hospinfcinfo/druginfo");
- model.copyNode("/root/main/copyset/oprecinfo", "/root/main/hospinfcinfo/oprecinfo");
- }
-
-
- model.refresh();
- }
-
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1211" pageheight="785" guideline="1,1193;2,737;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:1195px; height:759px; ">
- <group id="group2" style="left:0px; top:13px; width:1195px; height:734px; vertical-align:top; ">
- <switch id="switch1" style="left:0px; top:467px; width:476px; height:265px; border-color:#c7a3cf; border-style:solid; ">
- <case id="case1" selected="true">
- <caption id="caption1" class="tit_2" style="left:5px; top:10px; width:170px; height:13px; ">미생물배양결과</caption>
- <button id="button23" class="btn2_letter2" navindex="53" style="left:374px; top:4px; width:64px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var iRow = grd_mirotestrslt.row - grd_mirotestrslt.fixedRows + 1;
- fRowDelete(grd_mirotestrslt, "/root/main/hospinfcinfo/mirotestrslt/info[" + iRow + "]/status");
- ]]>
- </script>
- </button>
- <button id="button1" class="btn2_letter3" navindex="53" style="left:419px; top:4px; width:53px; height:19px; ">
- <caption>미생물</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //model.removeNodeset("/root/main/hospinfcinfo/mirotestrslt");
- model.removenode("/root/properties/parameters/setVal/setValvalue");
- grd_mirotestrslt.refresh();
- model.makeValue("/root/hidden/condition/pid", model.getValue("/root/main/hospinfcinfo/hospinfc/info/pid"));
- model.makeValue("/root/hidden/condition/psnflag", model.getValue("/root/main/hospinfcinfo/hospinfc/info/psnflag"));
-
- modal("SPASI00300",0,0,0,"SPASI00300","/root/hidden/condition", "/root/main/cond");
-
- var lastRow = 0;
- var bChkDup = true;
- var getPara = model.getValue("/root/properties/parameters/setVal/setValvalue");
- var cnt = getPara.split("▩").length;
- var data = "";
- for(var i=1; i<cnt-1; i++){
-
- data = getPara.split("▩")[i];
- var culturedt = data.split("▦")[0];
- var spccd = data.split("▦")[1];
- var baccd = data.split("▦")[3];
- var nsgbrcdnm = data.split("▦")[11];
- var nodeList1 = instance1.selectNodes("/root/main/hospinfcinfo/mirotestrslt/info[culturedt='"+ culturedt +"' and spccd='"+spccd+"' and baccd='"+baccd+"']" );//dest
- if( nodeList1 != null && nodeList1.length > 0 ){
- continue;
- }
-
- grd_mirotestrslt.addRow(false);
- lastRow = grd_mirotestrslt.rows - grd_mirotestrslt.fixedRows;
- model.setValue("/root/main/hospinfcinfo/mirotestrslt/info["+ lastRow +"]/culturedt", data.split("▦")[0]);
- model.setValue("/root/main/hospinfcinfo/mirotestrslt/info["+ lastRow +"]/spccd", data.split("▦")[1]);
- model.setValue("/root/main/hospinfcinfo/mirotestrslt/info["+ lastRow +"]/spcnm", data.split("▦")[2]);
- model.setValue("/root/main/hospinfcinfo/mirotestrslt/info["+ lastRow +"]/baccd", data.split("▦")[3]);
- model.setValue("/root/main/hospinfcinfo/mirotestrslt/info["+ lastRow +"]/bacnm", data.split("▦")[4]);
- model.setValue("/root/main/hospinfcinfo/mirotestrslt/info["+ lastRow +"]/antibtrstbtrflag", data.split("▦")[5]);
- model.setValue("/root/main/hospinfcinfo/mirotestrslt/info["+ lastRow +"]/bcno", data.split("▦")[6]);
- model.setValue("/root/main/hospinfcinfo/mirotestrslt/info["+ lastRow +"]/tclscd", data.split("▦")[7]);
- model.setValue("/root/main/hospinfcinfo/mirotestrslt/info["+ lastRow +"]/testcd", data.split("▦")[8]);
- model.setValue("/root/main/hospinfcinfo/mirotestrslt/info["+ lastRow +"]/prcpdd", data.split("▦")[9]);
- model.setValue("/root/main/hospinfcinfo/mirotestrslt/info["+ lastRow +"]/bcoldt", data.split("▦")[10]);
- model.setValue("/root/main/hospinfcinfo/mirotestrslt/info["+ lastRow +"]/antibtrstbtrflagnm", data.split("▦")[11]);
- }
- grd_mirotestrslt.refresh();
- ]]>
- </script>
- </button>
- <line id="line4" class="line_1" style="x1:0px; y1:25px; x2:472; y2:25px; "/>
- <datagrid id="grd_mirotestrslt" nodeset="/root/main/hospinfcinfo/mirotestrslt/info" class="datagrid2" caption="원인균
 여부^채혈일시^검사일^cd^검체^cd^원인균^내성균
구분코드^항생제내성균구분^caption1^caption2^caption3^caption4" colsep="^" colwidth="49, 105, 105, 18, 68, 17, 145, 100, 124, 30, 30, 30, 30" dataheight="25" defaultrows="0" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="32" rowsep="|" tooltip="true" style="left:0px; top:28px; width:472px; height:228px; text-align:center; vertical-align:middle; ">
- <col checkvalue="Y,N" ref="casbaccdyn" type="checkbox"/>
- <col ref="bcoldt" format="yyyy-mm-dd hh:nn" style="text-align:center; vertical-align:middle; "/>
- <col ref="culturedt" format="yyyy-mm-dd hh:nn" style="text-align:center; vertical-align:middle; word-wrap:none; "/>
- <col ref="spccd" visibility="hidden"/>
- <col ref="spcnm"/>
- <col ref="baccd" visibility="hidden"/>
- <col ref="bacnm"/>
- <col ref="antibtrstbtrflagnm" type="combo">
- <choices>
- <item>
- <label/>
- <value>-</value>
- </item>
- <item>
- <label>MR</label>
- <value>MR</value>
- </item>
- <item>
- <label>VR</label>
- <value>VR</value>
- </item>
- <item>
- <label>ESBL</label>
- <value>ESBL</value>
- </item>
- <item>
- <label>IR/MR</label>
- <value>IRMR</value>
- </item>
- </choices>
- </col>
- <col ref="antibtrstbtrflag" visibility="hidden"/>
- <col ref="bcno" visibility="hidden"/>
- <col ref="tclscd" visibility="hidden"/>
- <col ref="testcd" visibility="hidden"/>
- <col ref="prcpdd" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 내성균 구분코드값을 설정한다.
- var row = grd_mirotestrslt.row;
- grd_mirotestrslt.valueMatrix(row, grd_mirotestrslt.colRef("antibtrstbtrflag")) =
- grd_mirotestrslt.valueMatrix(row, grd_mirotestrslt.colRef("antibtrstbtrflagnm"));
- ]]>
- </script>
- </datagrid>
- <line id="line18" class="line_3" style="x1:0px; y1:259px; x2:472px; y2:259px; "/>
- </case>
- <case id="case2">
- <caption id="caption5" class="tit_2" style="left:10px; top:9px; width:170px; height:14px; ">투약 정보</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:24px; x2:472; y2:24px; "/>
- <button id="button10" class="btn2_letter2" navindex="37" style="left:364px; top:4px; width:64px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var iRow = grd_druginfo.row - grd_druginfo.fixedRows + 1;
- fRowDelete(grd_druginfo, "/root/main/hospinfcinfo/druginfo/info[" + iRow + "]/status");
- ]]>
- </script>
- </button>
- <button id="button4" class="btn2_letter4" navindex="54" style="left:408px; top:4px; width:64px; height:19px; ">
- <caption>약품조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //model.removeNodeset("/root/main/hospinfcinfo/druginfo/info");
- model.removenode("/root/properties/parameters/setVal/setValvalue");
- grd_druginfo.refresh();
-
- fSetParameter();
- model.makeNode("/root/hidden/condition/drugcd");
- modal("SPASB00800",1,10,10,"SPASB00800", "/root/hidden/condition", "/root/main/cond");
-
- var lastRow = grd_druginfo.rows;
- var bChkDup = true;
- var getPara = model.getValue("/root/properties/parameters/setVal/setValvalue");
- var cnt = getPara.split("▩").length;
- var data;
- for(var i=1; i<cnt-1; i++){
- data = getPara.split("▩")[i];
-
- bChkDup = fChkDup(grd_druginfo, data.split("▦")[8], "/root/main/hospinfcinfo/druginfo/info[drugcd='");
- if(bChkDup == false){
- continue;
- }
- //alert("data.split[9] : " + data.split("▦")[9]);
- grd_druginfo.addRow(false);
- lastRow = grd_druginfo.rows - grd_druginfo.fixedRows;
- model.setValue("/root/main/hospinfcinfo/druginfo/info["+ lastRow +"]/drugflag", data.split("▦")[0]);
- model.setValue("/root/main/hospinfcinfo/druginfo/info["+ lastRow +"]/spcldrug", data.split("▦")[1]);
- model.setValue("/root/main/hospinfcinfo/druginfo/info["+ lastRow +"]/drughngnm", data.split("▦")[2]);
- model.setValue("/root/main/hospinfcinfo/druginfo/info["+ lastRow +"]/drugusdt", data.split("▦")[3]);
- model.setValue("/root/main/hospinfcinfo/druginfo/info["+ lastRow +"]/druguedt", data.split("▦")[4]);
- model.setValue("/root/main/hospinfcinfo/druginfo/info["+ lastRow +"]/drugcd", data.split("▦")[8]);
- model.setValue("/root/main/hospinfcinfo/druginfo/info["+ lastRow +"]/etc", data.split("▦")[9]);
- // 20070828 감염관리 리뷰에서 삭제요청
- // model.setValue("/root/main/hospinfcinfo/druginfo/info["+ i +"]/tpnyn", data.split("▦")[5]);
- // model.setValue("/root/main/hospinfcinfo/druginfo/info["+ i +"]/anticncryn", data.split("▦")[6]);
- // model.setValue("/root/main/hospinfcinfo/druginfo/info["+ i +"]/steroidyn", data.split("▦")[7]);
- }
- grd_druginfo.refresh();
- ]]>
- </script>
- </button>
- <line id="line5" class="line_3" style="x1:0px; y1:259px; x2:472; y2:259px; "/>
- <datagrid id="grd_druginfo" nodeset="/root/main/hospinfcinfo/druginfo/info" caption="분류^특별약품구분^약품코드^약품명^투여시작일^투여종료일" colsep="^" colwidth="84, 90, 100, 201, 90, 90, 100" dataheight="25" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:30px; width:472px; height:226px; vertical-align:middle; ">
- <col disabled="true" ref="drugflag" type="combo">
- <choices>
- <item>
- <label>항암제</label>
- <value>C</value>
- </item>
- <item>
- <label>항바이러스제</label>
- <value>V</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="spcldrug" type="combo">
- <choices>
- <itemset nodeset="/root/init/A0006list/A0006">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="drugcd"/>
- <col ref="drughngnm" style="left:194px; top:23px; width:201px; height:23px; "/>
- <col ref="drugusdt" format="yyyy-mm-dd" style="left:395px; top:23px; width:90px; height:23px; "/>
- <col ref="druguedt" format="yyyy-mm-dd"/>
- <col ref="etc" visibility="hidden"/>
- </datagrid>
- </case>
- <case id="case3">
- <caption id="caption4" class="tit_2" style="left:5px; top:9px; width:148px; height:13px; ">검사결과</caption>
- <line id="line13" class="line_1" style="x1:0px; y1:25px; x2:471; y2:25px; "/>
- <caption id="caption40" class="tit_2" style="left:4px; top:194px; width:122px; height:13px; ">V/S 정보</caption>
- <caption id="caption41" class="cell_1" style="left:0px; top:30px; width:75px; height:23px; vertical-align:middle; ">Hb1</caption>
- <caption id="caption47" class="cell_1" style="left:0px; top:54px; width:75px; height:23px; vertical-align:middle; ">WBC1</caption>
- <caption id="caption57" class="cell_1" style="left:0px; top:78px; width:76px; height:23px; vertical-align:middle; ">Neutrophils1</caption>
- <caption id="caption60" class="cell_1" style="left:0px; top:102px; width:75px; height:23px; vertical-align:middle; ">ESR1</caption>
- <caption id="caption61" class="cell_1" style="left:0px; top:126px; width:75px; height:23px; vertical-align:middle; ">CRP1</caption>
- <caption id="caption69" class="cell_1" style="left:0px; top:150px; width:75px; height:23px; vertical-align:middle; ">기타1</caption>
- <line id="line27" class="line_2" style="x1:0px; y1:52px; x2:471; y2:52px; "/>
- <line id="line29" class="line_2" style="x1:0px; y1:76px; x2:471; y2:76px; "/>
- <line id="line30" class="line_2" style="x1:0px; y1:99px; x2:471; y2:99px; "/>
- <line id="line31" class="line_2" style="x1:0px; y1:124px; x2:471; y2:124px; "/>
- <line id="line32" class="line_2" style="x1:0px; y1:148px; x2:471; y2:148px; "/>
- <line id="line33" class="line_3" style="x1:0px; y1:259px; x2:471px; y2:259px; "/>
- <input id="input11" ref="/root/main/hospinfcinfo/hospinfc/info/hbtestrslt1" class="input_search" navindex="57" maxlength="9" style="left:151px; top:31px; width:55px; height:19px; "/>
- <caption id="caption72" class="cell_1" style="left:236px; top:30px; width:75px; height:23px; vertical-align:middle; ">Hb2</caption>
- <input id="input12" ref="/root/main/hospinfcinfo/hospinfc/info/hbtestrslt2" class="input_search" navindex="72" maxlength="9" style="left:387px; top:31px; width:55px; height:19px; "/>
- <caption id="caption73" class="cell_1" style="left:236px; top:54px; width:75px; height:23px; vertical-align:middle; ">WBC2</caption>
- <input id="input13" ref="/root/main/hospinfcinfo/hospinfc/info/wbctestrslt1" class="input_search" navindex="59" maxlength="9" style="left:151px; top:55px; width:55px; height:19px; "/>
- <input id="input14" ref="/root/main/hospinfcinfo/hospinfc/info/wbctestrslt2" class="input_search" navindex="74" maxlength="9" style="left:387px; top:55px; width:55px; height:19px; "/>
- <caption id="caption74" class="cell_1" style="left:236px; top:78px; width:76px; height:23px; vertical-align:middle; ">Neutrophils2</caption>
- <input id="input15" ref="/root/main/hospinfcinfo/hospinfc/info/neutrophilstestrslt1" class="input_search" navindex="61" maxlength="9" style="left:151px; top:79px; width:55px; height:19px; "/>
- <input id="input17" ref="/root/main/hospinfcinfo/hospinfc/info/neutrophilstestrslt2" class="input_search" navindex="76" maxlength="9" style="left:387px; top:79px; width:55px; height:19px; "/>
- <caption id="caption75" class="cell_1" style="left:236px; top:102px; width:75px; height:23px; vertical-align:middle; ">ESR2</caption>
- <input id="input23" ref="/root/main/hospinfcinfo/hospinfc/info/esrtestrslt1" class="input_search" navindex="64" maxlength="9" style="left:151px; top:103px; width:55px; height:19px; "/>
- <input id="input24" ref="/root/main/hospinfcinfo/hospinfc/info/esrtestrslt2" class="input_search" navindex="79" maxlength="9" style="left:387px; top:103px; width:55px; height:19px; "/>
- <caption id="caption76" class="cell_1" style="left:236px; top:126px; width:75px; height:23px; vertical-align:middle; ">CRP2</caption>
- <input id="input29" ref="/root/main/hospinfcinfo/hospinfc/info/crptestrslt1" class="input_search" navindex="67" maxlength="9" style="left:151px; top:127px; width:55px; height:19px; "/>
- <input id="input31" ref="/root/main/hospinfcinfo/hospinfc/info/crptestrslt2" class="input_search" navindex="82" maxlength="9" style="left:387px; top:127px; width:55px; height:19px; "/>
- <input id="input32" class="input_search" navindex="84" maxlength="9" style="left:387px; top:151px; width:55px; height:19px; "/>
- <caption id="caption77" class="cell_1" style="left:236px; top:150px; width:75px; height:23px; vertical-align:middle; ">기타2</caption>
- <input id="input37" class="input_search" navindex="69" maxlength="9" style="left:151px; top:151px; width:55px; height:19px; "/>
- <caption id="caption78" class="cell_1" visibility="hidden" style="left:0px; top:237px; width:75px; height:23px; vertical-align:middle; ">체온</caption>
- <caption id="caption79" class="cell_1" style="left:0px; top:213px; width:75px; height:23px; vertical-align:middle; ">체온1</caption>
- <line id="line34" class="line_1" style="x1:0px; y1:208px; x2:471px; y2:208px; "/>
- <line id="line3" class="line_3" style="x1:0px; y1:172px; x2:471; y2:172px; "/>
- <input id="input54" ref="/root/main/hospinfcinfo/hospinfc/info/hbtestdt1" class="input_search" navindex="56" format="yyyy-mm-dd" style="left:78px; top:31px; width:70px; height:19px; "/>
- <input id="input55" ref="/root/main/hospinfcinfo/hospinfc/info/esrtestdt1" class="input_search" navindex="63" format="yyyy-mm-dd" style="left:78px; top:103px; width:70px; height:19px; "/>
- <input id="input56" ref="/root/main/hospinfcinfo/hospinfc/info/wbctestdt1" class="input_search" navindex="58" format="yyyy-mm-dd" style="left:78px; top:55px; width:70px; height:19px; "/>
- <input id="input57" ref="/root/main/hospinfcinfo/hospinfc/info/etc1" class="input_search" navindex="68" format="yyyy-mm-dd" style="left:78px; top:151px; width:70px; height:19px; "/>
- <input id="input58" ref="/root/main/hospinfcinfo/hospinfc/info/neutrophilstestdt1" class="input_search" navindex="60" format="yyyy-mm-dd" style="left:78px; top:79px; width:70px; height:19px; "/>
- <input id="input59" ref="/root/main/hospinfcinfo/hospinfc/info/crptestdt1" class="input_search" navindex="66" format="yyyy-mm-dd" style="left:78px; top:127px; width:70px; height:19px; "/>
- <input id="input60" ref="/root/main/hospinfcinfo/hospinfc/info/hbtestdt2" class="input_search" navindex="71" format="yyyy-mm-dd" style="left:314px; top:31px; width:70px; height:19px; "/>
- <input id="input61" ref="/root/main/hospinfcinfo/hospinfc/info/esrtestdt2" class="input_search" navindex="78" format="yyyy-mm-dd" style="left:314px; top:103px; width:70px; height:19px; "/>
- <input id="input62" ref="/root/main/hospinfcinfo/hospinfc/info/wbctestdt2" class="input_search" navindex="73" format="yyyy-mm-dd" style="left:314px; top:55px; width:70px; height:19px; "/>
- <input id="input63" ref="/root/main/hospinfcinfo/hospinfc/info/etc2" class="input_search" navindex="83" format="yyyy-mm-dd" style="left:314px; top:151px; width:70px; height:19px; "/>
- <input id="input64" ref="/root/main/hospinfcinfo/hospinfc/info/neutrophilstestdt2" class="input_search" navindex="75" format="yyyy-mm-dd" style="left:314px; top:79px; width:70px; height:19px; "/>
- <input id="input65" ref="/root/main/hospinfcinfo/hospinfc/info/crptestdt2" class="input_search" navindex="81" format="yyyy-mm-dd" style="left:314px; top:127px; width:70px; height:19px; "/>
- <input id="input9" ref="/root/main/hospinfcinfo/hospinfc/info/bdtptestdt1" class="input_search" navindex="86" format="yyyy-mm-dd hh:nn" style="left:78px; top:214px; width:70px; height:19px; "/>
- <line id="line8" class="line_2" style="x1:0px; y1:235px; x2:471px; y2:235px; "/>
- <input id="input66" ref="/root/main/hospinfcinfo/hospinfc/info/bdtptestrslt1" class="input_search" navindex="87" maxlength="9" style="left:151px; top:214px; width:59px; height:19px; "/>
- <button id="button12" class="icon_search" navindex="85" style="left:214px; top:217px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/hidden/condition/flag", "BT1");
- modal("SPASB02000",1,10,10,"SPASB02000", "/root/hidden/condition", "/root/main/cond");
- ]]>
- </script>
- </button>
- <button id="button13" class="icon_search" navindex="89" visibility="hidden" style="left:215px; top:240px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/hidden/condition/flag", "BT");
- modal("SPASB02000",1,10,10,"SPASB02000", "/root/hidden/condition", "/root/main/cond");
- ]]>
- </script>
- </button>
- <input id="input67" ref="/root/main/hospinfcinfo/hospinfc/info/bdtptestdate2" class="input_search" navindex="92" visibility="hidden" format="yyyy-mm-dd" style="left:78px; top:238px; width:70px; height:19px; "/>
- <input id="input68" ref="/root/main/hospinfcinfo/hospinfc/info/bdtptesttime2" class="input_search" navindex="91" visibility="hidden" maxlength="9" style="left:151px; top:238px; width:59px; height:19px; "/>
- <button id="button14" class="icon_search" navindex="55" style="left:211px; top:34px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/hidden/condition/flag", "H1");
- modal("SPASB00900",1,10,10,"SPASB00900", "/root/hidden/condition", "/root/main/cond");
- ]]>
- </script>
- </button>
- <button id="button15" class="icon_search" navindex="70" style="left:447px; top:34px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/hidden/condition/flag", "H2");
- modal("SPASB00900",1,10,10,"SPASB00900", "/root/hidden/condition", "/root/main/cond");
- ]]>
- </script>
- </button>
- <button id="button18" class="icon_search" navindex="62" style="left:214px; top:105px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetParameter();
- model.makeValue("/root/hidden/condition/flag", "E1");
- modal("SPASB00900",1,10,10,"SPASB00900", "/root/hidden/condition", "/root/main/cond");
- ]]>
- </script>
- </button>
- <button id="button19" class="icon_search" navindex="77" style="left:450px; top:105px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetParameter();
- model.makeValue("/root/hidden/condition/flag", "E2");
- modal("SPASB00900",1,10,10,"SPASB00900", "/root/hidden/condition", "/root/main/cond");
- ]]>
- </script>
- </button>
- <button id="button21" class="icon_search" navindex="80" style="left:450px; top:128px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetParameter();
- model.makeValue("/root/hidden/condition/flag", "C2");
- modal("SPASB00900",1,10,10,"SPASB00900", "/root/hidden/condition", "/root/main/cond");
- ]]>
- </script>
- </button>
- <button id="button24" class="icon_search" navindex="65" style="left:214px; top:128px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetParameter();
- model.makeValue("/root/hidden/condition/flag", "C1");
- modal("SPASB00900",1,10,10,"SPASB00900", "/root/hidden/condition", "/root/main/cond");
- ]]>
- </script>
- </button>
- <caption id="caption19" class="cell_1" style="left:236px; top:213px; width:75px; height:23px; vertical-align:middle; ">체온2</caption>
- <caption id="caption20" class="cell_1" visibility="hidden" style="left:236px; top:237px; width:75px; height:23px; vertical-align:middle; ">맥박</caption>
- <input id="input5" ref="/root/main/hospinfcinfo/hospinfc/info/bdtptestdt2" class="input_search" navindex="84" format="yyyy-mm-dd hh:nn" style="left:314px; top:214px; width:70px; height:19px; "/>
- <input id="input6" ref="/root/main/hospinfcinfo/hospinfc/info/pulsedate2" class="input_search" navindex="84" visibility="hidden" format="yyyy-mm-dd" style="left:314px; top:237px; width:70px; height:19px; "/>
- <input id="input7" ref="/root/main/hospinfcinfo/hospinfc/info/bdtptestrslt2" class="input_search" navindex="84" maxlength="9" style="left:387px; top:215px; width:55px; height:19px; "/>
- <input id="input19" ref="/root/main/hospinfcinfo/hospinfc/info/pulsetime2" class="input_search" navindex="84" visibility="hidden" maxlength="9" style="left:387px; top:237px; width:55px; height:19px; "/>
- <button id="button7" class="icon_search" navindex="85" style="left:445px; top:215px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/hidden/condition/flag", "BT2");
- modal("SPASB02000",1,10,10,"SPASB02000", "/root/hidden/condition", "/root/main/cond");
- ]]>
- </script>
- </button>
- <button id="button9" class="icon_search" navindex="85" visibility="hidden" style="left:445px; top:240px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/hidden/condition/flag", "PU");
- modal("SPASB02000",1,10,10,"SPASB02000", "/root/hidden/condition", "/root/main/cond");
- ]]>
- </script>
- </button>
- </case>
- </switch>
- <group id="group5" style="left:479px; top:626px; width:715px; height:103px; ">
- <line id="line23" class="line_1" style="x1:0px; y1:0px; x2:714px; y2:0px; "/>
- <caption id="caption59" class="cell_1" style="left:0px; top:29px; width:85; height:23px; vertical-align:middle; ">감염종류</caption>
- <caption id="caption62" class="cell_1" style="left:547px; top:5px; width:95px; height:23px; text-align:left; vertical-align:middle; ">감염전재원일수</caption>
- <caption id="cap_rgstdd" class="cell_1" style="left:0; top:5px; width:85; height:23px; vertical-align:middle; ">등록일</caption>
- <line id="line25" class="line_2" style="x1:85px; y1:51; x2:715px; y2:51px; "/>
- <line id="line26" class="line_2" style="x1:1px; y1:27px; x2:715px; y2:27px; "/>
- <caption id="caption65" class="cell_1" style="left:191px; top:53px; width:105px; height:23px; vertical-align:middle; ">Device 삽입일</caption>
- <input id="ipt_rgstdd" ref="/root/main/hospinfcinfo/hospinfc/info/rgstdd" class="input_essential" navindex="38" inputtype="date" style="left:88px; top:6px; width:100px; height:19px; "/>
- <input id="input47" ref="/root/main/hospinfcinfo/hospinfc/info/infcbfinhospdayno" class="input_search" navindex="41" style="left:645px; top:6px; width:45px; height:19px; "/>
- <caption id="caption70" class="cell_1" style="left:0px; top:53px; width:85px; height:23px; vertical-align:middle; ">Device</caption>
- <select1 id="combo21" ref="/root/main/hospinfcinfo/hospinfc/info/catecd" class="combo_search" navindex="45" appearance="minimal" style="left:88px; top:54px; width:100; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/A0358list/A0358">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="input39" ref="/root/main/hospinfcinfo/hospinfc/info/cateusdt" class="input_default" navindex="46" inputtype="date" style="left:299px; top:54px; width:90px; height:19px; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- // Device 삽입일자가 년월일 8자리 모두 제대로 입력되고 포커스 아웃 인 경우, 자동으로 Device 제거일을 세팅한다.
- var cateusdt = model.getValue("/root/main/hospinfcinfo/hospinfc/info/cateusdt");
- var cateuedt = model.getValue("/root/main/hospinfcinfo/hospinfc/info/cateuedt");
- if ( cateusdt.length == 8 && ( cateuedt != null || cateuedt != "" ) ) {
- model.setValue("/root/main/hospinfcinfo/hospinfc/info/cateuedt",
- model.getValue("/root/main/hospinfcinfo/hospinfc/info/outrmdd"));
- model.refresh();
- }
- fCalcuDayno("device");
- ]]>
- </script>
- </input>
- <input id="input51" ref="/root/main/hospinfcinfo/hospinfc/info/cateuedt" class="input_default" navindex="47" inputtype="date" style="left:500px; top:54px; width:90px; height:19px; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- fCalcuDayno("device");
- ]]>
- </script>
- </input>
- <caption id="caption71" class="cell_1" style="left:191px; top:5px; width:85px; height:23px; text-align:left; vertical-align:middle; ">확정여부</caption>
- <line id="line28" class="line_3" style="x1:1px; y1:99px; x2:715px; y2:99px; "/>
- <caption id="caption31" class="cell_1" style="left:390px; top:5px; width:55px; height:23px; text-align:left; vertical-align:middle; ">감염일</caption>
- <input id="input10" ref="/root/main/hospinfcinfo/hospinfc/info/cateusedayno" class="input_search" navindex="48" maxlength="4" style="left:651px; top:55px; width:39px; height:19px; "/>
- <caption id="caption13" class="cell_1" style="left:692px; top:53px; width:19px; height:23px; text-align:left; vertical-align:middle; ">일</caption>
- <caption id="caption32" class="cell_1" style="left:0px; top:77px; width:85; height:23px; vertical-align:middle; ">TPN</caption>
- <line id="line14" class="line_2" style="width:84; x1:0px; y1:75px; x2:714px; y2:75px; "/>
- <caption id="caption38" class="cell_1" style="left:593px; top:53px; width:57px; height:23px; vertical-align:middle; ">삽입일수</caption>
- <select1 id="radio1" ref="/root/main/hospinfcinfo/hospinfc/info/tpnyn" navindex="49" appearance="full" cellspacing="30" cols="2" overflow="visible" style="left:88px; top:80px; width:98px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <select1 id="radio2" ref="/root/main/hospinfcinfo/hospinfc/info/cnfmyn" navindex="39" appearance="full" cellspacing="8" cols="2" overflow="visible" style="left:278px; top:6px; width:110; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>확정</label>
- <value>Y</value>
- </item>
- <item>
- <label>미확정</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- ]]>
- </script>
- </select1>
- <caption id="caption15" class="cell_1" style="left:191px; top:77px; width:105; height:23px; vertical-align:middle; ">항암제</caption>
- <select1 id="radio3" ref="/root/main/hospinfcinfo/hospinfc/info/anticncryn" navindex="50" appearance="full" cellspacing="30" cols="2" overflow="visible" style="left:298px; top:79px; width:87px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="caption16" class="cell_1" style="left:392px; top:76px; width:105; height:23px; text-align:left; ">스테로이드</caption>
- <select1 id="radio4" ref="/root/main/hospinfcinfo/hospinfc/info/steroidyn" navindex="51" appearance="full" cellspacing="30" cols="2" overflow="visible" style="left:500px; top:78px; width:88px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <input id="input41" ref="/root/main/hospinfcinfo/hospinfc/info/fstrgstrid" class="input_search" navindex="52" visibility="hidden" style="left:641px; top:78px; width:73px; height:19px; "/>
- <caption id="caption64" class="cell_1" visibility="hidden" style="left:593px; top:77px; width:45px; height:23px; vertical-align:middle; ">등록자</caption>
- <caption id="caption42" class="cell_1" style="left:191px; top:29px; width:105px; height:23px; vertical-align:middle; ">감염종류(소분류)</caption>
- <caption id="caption9" class="cell_1" style="left:392px; top:51px; width:105px; height:23px; vertical-align:middle; ">Device 제거일</caption>
- <caption id="caption22" class="cell_1" style="left:508px; top:29px; width:110px; height:23px; vertical-align:middle; ">2차 혈류감염 여부</caption>
- <select1 id="radio5" ref="/root/main/hospinfcinfo/hospinfc/info/scndbfinfcyn" navindex="44" appearance="full" cellspacing="30" cols="2" overflow="visible" style="left:620px; top:30px; width:88px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_infckindlrg" ref="/root/main/hospinfcinfo/hospinfc/info/infckindlrg" class="combo_essential" navindex="42" appearance="minimal" style="left:88px; top:30px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/A0144list/A0144">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var cmb_infckindsml = document.controls("cmb_infckindsml");
- cmb_infckindsml.choices.itemset.attribute("nodeset") = "/root/init/A0145list/A0145[contains(cdid, '"+model.getValue("/root/main/hospinfcinfo/hospinfc/info/infckindlrg") +"')]"
- cmb_infckindsml.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_infckindsml" ref="/root/main/hospinfcinfo/hospinfc/info/infckindsml" class="combo_search" navindex="43" appearance="minimal" style="left:299px; top:30px; width:206px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/A0145list/A0145">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_infcdd" ref="/root/main/hospinfcinfo/hospinfc/info/infcdd" class="input_essential" navindex="40" inputtype="date" style="left:446px; top:6px; width:100px; height:19px; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- fCalcuDayno("infcdd");
- ]]>
- </script>
- </input>
- <caption id="caption12" class="cell_1" style="left:693px; top:5px; width:19px; height:23px; text-align:left; vertical-align:middle; ">일</caption>
- </group>
- <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:475px; y2:25px; "/>
- <caption id="caption24" class="tit_2" visibility="visible" style="left:479px; top:9px; width:178px; height:13px; ">병원감염대상자 기본정보</caption>
- <caption id="caption25" class="tit_2" style="left:0px; top:10px; width:173px; height:13px; ">병원감염대상자기록리스트</caption>
- <group id="group10" style="left:479px; top:24px; width:715px; height:221px; ">
- <caption id="caption29" class="cell_1" style="left:300px; top:5px; width:62px; height:23px; text-align:center; vertical-align:middle; ">성명</caption>
- <line id="line9" class="line_1" style="x1:0px; y1:0px; x2:714px; y2:0px; "/>
- <input id="input20" ref="/root/main/hospinfcinfo/hospinfc/info/roomcd" class="input_search" disabled="false" navindex="9" style="left:207px; top:30px; width:71px; height:19px; "/>
- <caption id="caption23" class="cell_1" style="left:0px; top:78px; width:68px; height:142px; vertical-align:middle; ">기저질환</caption>
- <caption id="caption26" class="cell_1" style="left:0px; top:29px; width:68px; height:23px; vertical-align:middle; ">병동/병실</caption>
- <input id="input21" ref="/root/main/hospinfcinfo/hospinfc/info/atdrtnm" class="input_search" disabled="true" navindex="7" style="left:647px; top:6px; width:66px; height:19px; "/>
- <caption id="caption28" class="cell_1" style="left:281px; top:29px; width:81px; height:23px; vertical-align:middle; ">감염병동병실</caption>
- <select1 id="combo3" ref="/root/main/hospinfcinfo/hospinfc/info/orddeptcd" class="combo_search" disabled="false" navindex="14" appearance="minimal" style="left:71px; top:55px; width:207px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/deptlist/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_pid" class="cell_1" style="left:0px; top:5px; width:68px; height:23px; vertical-align:middle; ">등록번호</caption>
- <select1 id="combo6" ref="/root/main/hospinfcinfo/hospinfc/info/wardcd" class="combo_search" disabled="false" navindex="8" appearance="minimal" style="left:71px; top:30px; width:133px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/warddeptlist/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </select1>
- <line id="line10" class="line_2" style="x1:1px; y1:52px; x2:715px; y2:52px; "/>
- <line id="line11" class="line_2" style="x1:1px; y1:27px; x2:715px; y2:27px; "/>
- <caption id="cap_indd" class="cell_1" style="left:145px; top:5px; width:60px; height:23px; vertical-align:middle; ">입원일</caption>
- <caption id="caption34" class="cell_1" style="left:0px; top:54px; width:68px; height:23px; vertical-align:middle; ">진료과</caption>
- <input id="ipt_pid" ref="/root/main/hospinfcinfo/hospinfc/info/pid" class="input_essential" navindex="1" style="left:71px; top:6px; width:71px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_getpatinfo", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption35" class="cell_1" style="left:583px; top:5px; width:61px; height:23px; vertical-align:middle; ">전문의</caption>
- <select1 id="cmb_isoldiagcd" ref="/root/main/hospinfcinfo/hospinfc/info/diagcd" appearance="minimal" style="left:365px; top:55px; width:349px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/diaglist/diaginfo">
- <label ref="diagengnm"/>
- <value ref="diagcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onmouseover">
- <![CDATA[
- if( isNull(model.getValue("/root/main/hospinfcinfo/hospinfc/info/diagcd")) == false ){
- var cd = model.getValue("/root/main/hospinfcinfo/hospinfc/info/diagcd");
- var node = instance1.selectSingleNode("/root/main/diaglist/diaginfo[diagcd = '" + cd + "']/diaghngnm");
- if ( node != null ){
- cmb_isoldiagcd.hint = node.value;
- }
- }
- ]]>
- </script>
- </select1>
- <caption id="caption36" class="cell_1" style="left:281px; top:54px; width:81px; height:23px; vertical-align:middle; ">진단명</caption>
- <line id="line15" class="line_3" style="x1:1px; y1:220px; x2:715px; y2:220px; "/>
- <line id="line12" class="line_2" style="x1:1px; y1:76px; x2:715px; y2:76px; "/>
- <input id="input2" ref="/root/main/hospinfcinfo/hospinfc/info/infccasroomcd" class="input_search" navindex="11" style="left:495px; top:30px; width:66; height:19px; "/>
- <select1 id="combo23" ref="/root/main/hospinfcinfo/hospinfc/info/infccaswardcd" class="combo_search" navindex="10" appearance="minimal" style="left:365px; top:30px; width:127px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/warddeptlist/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </select1>
- <button id="button5" class="btn2_letter4" navindex="13" style="left:650px; top:31px; width:64px; height:19px; ">
- <caption>전과전동</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/hidden/condition/pid", model.getValue("/root/main/hospinfcinfo/hospinfc/info/pid"));
- model.setValue("/root/hidden/condition/fromdd", model.getValue("/root/main/hospinfcinfo/hospinfc/info/indd"));
- model.setValue("/root/hidden/condition/todd", getCurrentDate());
- modal("SPASI00400",1,10,10,"SPASI00400", "/root/hidden/condition", "/root/main/cond");
- ]]>
- </script>
- </button>
- <input id="input1" ref="/root/main/hospinfcinfo/hospinfc/info/outrmdd" class="input_search" disabled="true" navindex="18" inputtype="date" format="yyyy-mm-dd" style="left:627px; top:104px; width:86px; height:19px; text-align:left; "/>
- <caption id="caption11" class="cell_1" style="left:554px; top:103px; width:72px; height:23px; vertical-align:middle; ">퇴원일</caption>
- <input id="input53" ref="/root/main/hospinfcinfo/hospinfc/info/chngroomdd" class="input_search" navindex="12" inputtype="date" format="yyyy-mm-dd" style="left:564px; top:30px; width:83; height:19px; "/>
- <line id="line37" class="line_2" style="x1:555px; y1:125px; x2:714px; y2:125px; "/>
- <button id="button17" class="btn2_letter2" style="left:597px; top:199px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var iRow = grd_basalsicklist.row - grd_basalsicklist.fixedRows + 1;
- fRowDelete(grd_basalsicklist, "/root/main/copyset/basalsicklist/info[" + iRow + "]/status");
- ]]>
- </script>
- </button>
- <button id="button20" class="btn2_letter2" style="left:553px; top:199px; width:42px; height:19px; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_basalsicklist.addItem();
- ]]>
- </script>
- </button>
- <datagrid id="grd_basalsicklist" nodeset="/root/main/hospinfcinfo/basalsicklist/info" caption="질환명" colsep="^" colwidth="439" dataheight="25" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:70px; top:79px; width:480px; height:140px; ">
- <col disabled="true" ref="basalsickcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/A0124list/A0124">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if( grd_basalsicklist.row > 0 ){
- if( grd_basalsicklist.rowStatus(grd_basalsicklist.row) == 2 ){
- grd_basalsicklist.editCell();
- }
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_getpatinfo" class="icon_search" navindex="3" visibility="hidden" style="left:301px; top:7px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- // 초기화후 조회 처리/root/main/hospinfcinfo/hospinfc/info/pid
- var pid = model.getValue("/root/main/hospinfcinfo/hospinfc/info/pid");
- var patnm = model.getValue("/root/main/hospinfcinfo/hospinfc/info/patnm");
- ///root/main/hospinfcinfo/hospinfc/info/sexflag
- ///root/main/hospinfcinfo/hospinfc/info/age
- ///root/main/hospinfcinfo/hospinfc/info/atdrtnm
- ///root/main/hospinfcinfo/hospinfc/info/atdrtcd
- ///root/main/hospinfcinfo/hospinfc/info/orddeptcd
- ///root/main/hospinfcinfo/hospinfc/info/wardcd
- ///root/main/hospinfcinfo/hospinfc/info/roomcd
-
-
-
- model.resetInstanceNode("/root/main/hospinfcinfo");
- model.removeNodeset("/root/main/hospinfcinfo/basalsicklist");
- model.removeNodeset("/root/main/hospinfcinfo/mirotestrslt");
- model.removeNodeset("/root/main/hospinfcinfo/druginfo");
- model.removeNodeset("/root/main/hospinfcinfo/oprecinfo");
-
- model.resetInstanceNode("/root/main/hospinfcinfolist");
- model.removenodeset("/root/main/hospinfcinfolist/info");
-
- model.refresh();
-
- // 기본값으로 진료유형을 입원으로 설정함.
- model.setValue("/root/main/hospinfcinfo/hospinfc/info/pid", pid);
- model.setValue("/root/main/hospinfcinfo/hospinfc/info/psnflag", "I");
- model.setValue("/root/hidden/condition/state", "I");
- model.makeValue("/root/hidden/condition/pid", model.getValue("/root/main/hospinfcinfo/hospinfc/info/pid"));
- model.makeValue("/root/send/reqdata/pid", model.getValue("/root/main/hospinfcinfo/hospinfc/info/pid"));
- submit("TRASI00108", true);
-
- cbo_indd.select(0);
- /*
- model.makeValue("/root/hidden/condition/indd", model.getValue("/root/main/hospinfcinfo/hospinfc/info/indd"));
- model.makeValue("/root/hidden/condition/psnflag", model.getValue("/root/main/hospinfcinfo/hospinfc/info/psnflag"));
-
- fGetPtnInfo("C");//click event 발생시
- */
- ]]>
- </script>
- </button>
- <input id="input16" ref="/root/main/hospinfcinfo/hospinfc/info/sexflag" class="input_search" disabled="true" navindex="5" style="left:517px; top:6px; width:27px; height:19px; "/>
- <input id="input27" ref="/root/main/hospinfcinfo/hospinfc/info/patnm" class="input_search" disabled="true" navindex="4" style="left:365px; top:6px; width:70px; height:19px; "/>
- <caption id="caption27" class="cell_1" style="left:438px; top:5px; width:76px; height:23px; vertical-align:middle; ">성별/나이</caption>
- <input id="input18" ref="/root/main/hospinfcinfo/hospinfc/info/age" class="input_search" disabled="true" navindex="6" style="left:547px; top:6px; width:33px; height:19px; "/>
- <caption id="caption7" class="cell_1" style="left:554px; top:127px; width:72px; height:23px; vertical-align:middle; ">퇴원사유</caption>
- <select1 id="combo1" ref="/root/main/hospinfcinfo/hospinfc/info/outrmrslt" class="combo_search" disabled="true" navindex="20" appearance="minimal" style="left:627px; top:128px; width:85px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/M0067list/M0067">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onmouseover">
- <![CDATA[
- var idx = combo1.focusIndex+ 1 ;
- combo1.hint = model.getValue("/root/init/M0157list/M0157[" + idx + "]/cdnm");
- model.refresh();
- ]]>
- </script>
- </select1>
- <line id="line7" class="line_3" style="x1:555px; y1:150px; x2:714px; y2:150px; "/>
- <select1 id="cbo_indd" ref="/root/main/hospinfcinfo/hospinfc/info/indd" appearance="minimal" style="left:207px; top:5px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/patinddlist/patindd">
- <label ref="indd"/>
- <value ref="indd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- model.makeValue("/root/hidden/condition/pid", model.getValue("/root/main/hospinfcinfo/hospinfc/info/pid"));
- model.makeValue("/root/hidden/condition/indd", model.getValue("/root/main/hospinfcinfo/hospinfc/info/indd"));
- model.makeValue("/root/hidden/condition/psnflag", model.getValue("/root/main/hospinfcinfo/hospinfc/info/psnflag"));
- fGetPtnInfo("I");//click event 발생시
- ]]>
- </script>
- </select1>
- <caption id="caption21" class="cell_1" style="left:554px; top:78px; width:72px; height:23px; font-size:10pt; vertical-align:middle; ">병동입원일</caption>
- <line id="line24" class="line_2" style="x1:555px; y1:101px; x2:714px; y2:101px; "/>
- <input id="input22" ref="/root/main/hospinfcinfo/hospinfc/info/warddd" class="input_search" disabled="true" navindex="18" inputtype="date" format="yyyy-mm-dd" style="left:628px; top:80px; width:86px; height:19px; text-align:left; "/>
- </group>
- <group id="group1" style="left:479px; top:284px; width:715px; height:31px; ">
- <line id="line16" class="line_1" style="x1:0px; y1:0px; x2:714px; y2:0px; "/>
- <caption id="caption44" class="cell_1" style="left:0px; top:5px; width:67px; height:23px; text-align:left; vertical-align:middle; ">중증도</caption>
- <caption id="caption45" class="cell_1" style="left:186px; top:5px; width:91px; height:23px; text-align:left; vertical-align:middle; ">입실일자</caption>
- <input id="input28" ref="/root/main/hospinfcinfo/hospinfc/info/icuinrmdd" class="input_search" navindex="22" inputtype="date" style="left:280px; top:6px; width:90px; height:19px; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- // 입실일자가 년월일 8자리 모두 제대로 입력되고 포커스 아웃 인 경우, 자동으로 퇴실일을 세팅한다.
- var icuinrmdd = model.getValue("/root/main/hospinfcinfo/hospinfc/info/icuinrmdd");
- var icuoutrmdd = model.getValue("/root/main/hospinfcinfo/hospinfc/info/icuoutrmdd");
- if ( icuinrmdd.length == 8 && ( icuoutrmdd != null || icuoutrmdd != "" ) ) {
- model.setValue("/root/main/hospinfcinfo/hospinfc/info/icuoutrmdd",
- model.getValue("/root/main/hospinfcinfo/hospinfc/info/outrmdd"));
- model.refresh();
- }
-
- fCalcuDayno();
- ]]>
- </script>
- </input>
- <caption id="caption39" class="cell_1" style="left:560px; top:5px; width:65px; height:23px; text-align:left; vertical-align:middle; ">재원기간</caption>
- <input id="input30" ref="/root/main/hospinfcinfo/hospinfc/info/icuinhospdayno" class="input_search" navindex="24" maxlength="4" style="left:628px; top:6px; width:64px; height:19px; "/>
- <line id="line21" class="line_3" style="x1:1px; y1:27px; x2:715px; y2:27px; "/>
- <input id="input3" ref="/root/main/hospinfcinfo/hospinfc/info/severityclssflag" class="input_search" navindex="21" maxlength="2" style="left:70px; top:6px; width:113px; height:19px; "/>
- <caption id="caption18" class="cell_1" style="left:373px; top:5px; width:91px; height:23px; text-align:left; vertical-align:middle; ">퇴실일자</caption>
- <input id="input4" ref="/root/main/hospinfcinfo/hospinfc/info/icuoutrmdd" class="input_search" navindex="23" inputtype="date" style="left:467px; top:6px; width:90px; height:19px; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- fCalcuDayno();
- ]]>
- </script>
- </input>
- <caption id="caption8" class="cell_1" style="left:695px; top:5px; width:19px; height:23px; text-align:left; vertical-align:middle; ">일</caption>
- </group>
- <group id="group4" style="left:479px; top:356px; width:715px; height:229px; ">
- <line id="line17" class="line_1" style="x1:0px; y1:0px; x2:714px; y2:0px; "/>
- <input id="input40" ref="/root/main/hospinfcinfo/hospinfc/info/asaclssflag" class="input_search" disabled="true" navindex="31" style="left:414px; top:5px; width:69px; height:19px; "/>
- <caption id="caption51" class="cell_1" style="left:245px; top:4px; width:166px; height:23px; text-align:right; vertical-align:middle; ">ASA Class</caption>
- <caption id="caption54" class="cell_1" style="left:0px; top:4px; width:169px; height:23px; text-align:right; vertical-align:middle; ">Wound Class</caption>
- <caption id="caption56" class="cell_1" style="left:246px; top:28px; width:166px; height:23px; text-align:right; vertical-align:middle; ">Endoscopic Approach 유무</caption>
- <caption id="caption52" class="cell_1" style="left:0px; top:28px; width:169px; height:23px; text-align:right; vertical-align:middle; ">General Anesthesia 유무</caption>
- <select1 id="combo11" ref="/root/main/hospinfcinfo/hospinfc/info/generalanesthesiayn" class="combo_search" disabled="true" navindex="34" appearance="minimal" style="left:173px; top:29px; width:69px; height:19px; ">
- <choices>
- <item>
- <label>-</label>
- <value>-</value>
- </item>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <select1 id="combo12" ref="/root/main/hospinfcinfo/hospinfc/info/endoscopicopyn" class="combo_search" disabled="true" navindex="35" appearance="minimal" style="left:414px; top:29px; width:69px; height:19px; ">
- <choices>
- <item>
- <label>-</label>
- <value>-</value>
- </item>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <line id="line20" class="line_2" style="x1:1px; y1:26px; x2:715px; y2:26px; "/>
- <line id="line19" class="line_2" style="x1:1px; y1:51px; x2:715px; y2:51px; "/>
- <line id="line22" class="line_3" style="x1:1px; y1:50px; x2:715px; y2:50px; "/>
- <input id="input8" ref="/root/main/hospinfcinfo/hospinfc/info/woundclssflag" class="input_search" disabled="true" navindex="30" style="left:172px; top:5px; width:70px; height:19px; "/>
- <caption id="caption14" class="cell_1" style="left:486px; top:4px; width:70px; height:23px; text-align:left; vertical-align:middle; ">Risk Index</caption>
- <input id="input35" ref="/root/main/hospinfcinfo/hospinfc/info/riskindxpnt" class="input_search" disabled="true" navindex="32" style="left:559px; top:5px; width:153px; height:19px; "/>
- <caption id="caption17" class="cell_1" style="left:486px; top:28px; width:70px; height:23px; text-align:left; vertical-align:middle; ">마취종류</caption>
- <datagrid id="grd_opinfo" nodeset="/root/main/hospinfcinfo/oprecinfo/info" class="datagrid2" caption="감염관리
자체코드^수술코드^수술명^부수술코드^부수술명^수술진단코드^수술진단명^주/부^수술구분^진행상태^집도의^집도의cd^마취종류^수술일^시작시간^종료시간^수술소요시간^Wound Class^ASA Class^Risk Index^General Anesthesia 유무^Endoscopic Approach 유무^감염여부" colsep="^" colwidth="77, 44, 209, 31, 161, 57, 169, 74, 60, 61, 70, 67, 100, 72, 66, 64, 80, 100, 100, 100, 160, 170, 100" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:50px; width:670px; height:177px; ">
- <col disabled="true" ref="infcopcd" type="input" visibility="visible"/>
- <col ref="opcd" visibility="hidden"/>
- <col ref="opnm"/>
- <col ref="subopcd" visibility="hidden"/>
- <col ref="subopnm"/>
- <col ref="opdiagcd" visibility="hidden"/>
- <col ref="opdiagnm" visibility="hidden"/>
- <col ref="opmskind" type="combo" visibility="hidden">
- <choices>
- <itemset nodeset="/root/init/P0064list/P0064">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="opflagcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0013list/M0013">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="opstatcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0015list/M0015">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="perfdrnm"/>
- <col ref="perfdrid" visibility="hidden"/>
- <col disabled="true" ref="anstkind" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0271list/M0271">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="opdd" format="yyyy-mm-dd"/>
- <col ref="opstarttm" format="hh:nn"/>
- <col ref="opendtm" format="hh:nn"/>
- <col ref="opusetm"/>
- <col ref="opwundkind" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0341list/M0341">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="asascore"/>
- <col ref="riskindex"/>
- <col ref="gnrlanst"/>
- <col ref="escopeopyn"/>
- <col ref="infcyn" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var iRow = grd_opinfo.mouseRow;
- var lastRow = grd_opinfo.rows - grd_opinfo.fixedRows;
- if( iRow > 0 && iRow <= lastRow){
- model.setValue("/root/main/hospinfcinfo/hospinfc/info/woundclssflag", model.getValue("/root/main/hospinfcinfo/oprecinfo/info[" + iRow + "]/opwundkind"));
- model.setValue("/root/main/hospinfcinfo/hospinfc/info/asaclssflag", model.getValue("/root/main/hospinfcinfo/oprecinfo/info[" + iRow + "]/asascore"));
- model.setValue("/root/main/hospinfcinfo/hospinfc/info/riskindxpnt", model.getValue("/root/main/hospinfcinfo/oprecinfo/info[" + iRow + "]/riskindex"));
- model.setValue("/root/main/hospinfcinfo/hospinfc/info/generalanesthesiayn", model.getValue("/root/main/hospinfcinfo/oprecinfo/info[" + iRow + "]/gnrlanst"));
- model.setValue("/root/main/hospinfcinfo/hospinfc/info/endoscopicopyn", model.getValue("/root/main/hospinfcinfo/oprecinfo/info[" + iRow + "]/escopeopyn"));
- model.setValue("/root/main/hospinfcinfo/hospinfc/info/anstkind", model.getValue("/root/main/hospinfcinfo/oprecinfo/info[" + iRow + "]/anstkind"));
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <button id="button3" class="btn2_letter2" navindex="37" style="left:672px; top:52px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var iRow = grd_opinfo.row - grd_opinfo.fixedRows + 1;
- fRowDelete(grd_opinfo, "/root/main/hospinfcinfo/oprecinfo/info[" + iRow + "]/status");
- ]]>
- </script>
- </button>
- <line id="line6" class="line_3" style="x1:1px; y1:228px; x2:715px; y2:228px; "/>
- <select1 id="cmb_anstkind" ref="/root/main/hospinfcinfo/hospinfc/info/anstkind" class="combo_search" disabled="true" navindex="35" appearance="minimal" style="left:559px; top:30px; width:154px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/M0271list/M0271">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <button id="button2" class="btn2_letter2" navindex="37" style="left:672px; top:50px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var iRow = grd_opinfo.row - grd_opinfo.fixedRows + 1;
- fRowDelete(grd_opinfo, "/root/main/hospinfcinfo/oprecinfo/info[" + iRow + "]/status");
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption2" class="tit_2" style="left:484px; top:269px; width:105px; height:13px; ">중환자실 정보</caption>
- <caption id="caption3" class="tit_2" style="left:484px; top:610px; width:170px; height:13px; ">감염정보 및 감염위험요인</caption>
- <button id="button72" class="btn_sw" group="tab" style="left:0px; top:444px; width:172px; height:22px; ">
- <caption>미생물배양결과및검사진단</caption>
- <toggle case="case1" ev:event="onclick"/>
- </button>
- <button id="button70" class="btn_sw" group="tab" style="left:172px; top:444px; width:108px; height:22px; ">
- <caption>투약정보및결과</caption>
- <toggle case="case2" ev:event="onclick"/>
- </button>
- <button id="button68" class="btn_sw" group="tab" style="left:281px; top:444px; width:84px; height:22px; ">
- <caption>검사및V/S</caption>
- <toggle case="case3" ev:event="onclick"/>
- </button>
- <caption id="caption10" class="tit_2" style="left:484px; top:341px; width:82px; height:13px; ">수술정보</caption>
- <select1 id="combo20" ref="/root/hidden/condition/state" class="combo_default" visibility="hidden" appearance="minimal" style="left:1090px; top:3px; width:60px; height:19px; ">
- <choices>
- <item>
- <label>-</label>
- <value>-</value>
- </item>
- <item>
- <label>신규</label>
- <value>I</value>
- </item>
- <item>
- <label>수정</label>
- <value>U</value>
- </item>
- <item>
- <label>삭제</label>
- <value>D</value>
- </item>
- </choices>
- </select1>
- <button id="button6" class="btn2_letter4" style="left:1130px; top:334px; width:64px; height:19px; ">
- <caption>수술조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //model.removeNodeset("/root/main/hospinfcinfo/oprecinfo");
- //model.makeNode("/root/main/hospinfcinfo/oprecinfo");
- model.removenode("/root/properties/parameters/setVal/setValvalue");
- grd_opinfo.refresh();
-
- fSetParameter();
- modal("SPASI00200",1,10,10,"SPASI00200", "/root/hidden/condition", "/root/main/cond");
- var lastRow = 0;
- var bChkDup = true;
-
- var getPara = model.getValue("/root/properties/parameters/setVal/setValvalue");
- var cnt = getPara.split("▩").length;
- var data = "";
- for(var i=1; i<cnt-1; i++){
- data = getPara.split("▩")[i];
-
- // 2010-05-24 수술팝업창에서 전달되는 수술정보에 대해서는 중복으로 허용을 하되,
- // 감염정보 등록시에는 수술정보 그리드 row 에 대해서 중복체크 로직을 추가하도록 한다.
- //bChkDup = fChkDup(grd_opinfo, data.split("▦")[1], "/root/main/hospinfcinfo/oprecinfo/info[opcd='");
- //if(bChkDup == false){
- // continue;
- //}
-
- grd_opinfo.addRow(false);
- lastRow = grd_opinfo.rows - grd_opinfo.fixedRows;
- //alert("감염관리자체코드 : " + data.split("▦")[0]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ lastRow +"]/infcopcd", data.split("▦")[0]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ lastRow +"]/opcd", data.split("▦")[1]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ lastRow +"]/opnm", data.split("▦")[2]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ lastRow +"]/opmskind", data.split("▦")[3]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ lastRow +"]/opflagcd", data.split("▦")[4]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ lastRow +"]/opstatcd", data.split("▦")[5]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ lastRow +"]/perfdrnm", data.split("▦")[6]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ lastRow +"]/perfdrid", data.split("▦")[7]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ lastRow +"]/anstkind", data.split("▦")[8]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ lastRow +"]/opdd", data.split("▦")[9]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ lastRow +"]/opstarttm", data.split("▦")[10]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ lastRow +"]/opendtm", data.split("▦")[11]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ lastRow +"]/opusetm", data.split("▦")[12]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ lastRow +"]/opwundkind", data.split("▦")[13]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ lastRow +"]/asascore", data.split("▦")[14]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ lastRow +"]/riskindex", data.split("▦")[15]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ lastRow +"]/gnrlanst", data.split("▦")[16]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ lastRow +"]/escopeopyn", data.split("▦")[17]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ lastRow +"]/opdiagcd", data.split("▦")[18]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ lastRow +"]/opdiagnm", data.split("▦")[19]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ lastRow +"]/subopcd", data.split("▦")[20]);
- model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ lastRow +"]/subopnm", data.split("▦")[21]);
- //model.setValue("/root/main/hospinfcinfo/oprecinfo/info["+ lastRow +"]/nnopcd", "");
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button11" class="btn2_letter4" visibility="visible" style="left:1130px; top:605px; width:64px; height:19px; ">
- <caption>부착기구
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var pid = model.getValue("/root/main/hospinfcinfo/hospinfc/info/pid");
-
- if ( pid == null || pid == "" ) {
- messageBox("환자 정보가", "I004");
- return;
- }
-
- modal("SPASI03000");
- ]]>
- </script>
- </caption>
- <!-- <load resource="부착기구.xrw" ev:event="onclick" show="modal"/> -->
- </button>
- <datagrid id="grd_hospinfclist" nodeset="/root/main/hospinfcinfolist/info" class="datagrid2" caption="확정
여부^등록번호^성명^감염일^감염종류1^감염종류2^원인균^항생제
내성균구분^입원일^진료일^진료과^병동^등록일" colsep="^" colwidth="32, 59, 53, 67, 82, 84, 94, 75, 86, 100, 90, 70, 80" dataheight="25" defaultrows="0" ellipsis="true" mergecells="never" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:30px; width:475px; height:400; ">
- <col ref="cnfmyn"/>
- <col ref="pid"/>
- <col ref="patnm"/>
- <col ref="infcdd" format="yyyy-mm-dd"/>
- <col disabled="true" ref="infckindlrg" type="combo">
- <choices>
- <itemset nodeset="/root/init/A0144list/A0144">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="infckindsml" type="combo">
- <choices>
- <itemset nodeset="/root/init/A0145list/A0145">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="bacnm"/>
- <col ref="antibtrstbtrflagnm"/>
- <col ref="indd" format="yyyy-mm-dd"/>
- <col ref="indd" visibility="hidden" format="yyyy-mm-dd"/>
- <col disabled="true" ref="orddeptcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/deptlist/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="wardcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/warddeptlist/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </col>
- <col ref="rgstdt"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var iRow = grd_hospinfclist.mouseRow;
- var lastRow = grd_hospinfclist.rows - grd_hospinfclist.fixedRows;
- if( iRow > 0 && iRow <= lastRow){
-
- fDblClickAllSearch("L");
-
- }
- ]]>
- </script>
- </datagrid>
- <select1 id="rdo_psnflag" ref="/root/main/hospinfcinfo/hospinfc/info/psnflag" visibility="hidden" appearance="full" cellspacing="2" cols="3" overflow="visible" style="left:649px; top:7px; width:135px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- <item>
- <label>응급</label>
- <value>E</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChgPsnFlag();
- ]]>
- </script>
- </select1>
- </group>
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:145px; height:14px; ">병원감염보고서관리</caption>
- </group>
- </group>
- <group id="grp_btn" style="left:0px; top:748px; width:1194px; height:27px; ">
- <button id="button42" class="btn4_letter2" style="left:1135px; top:3px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var rowcnt = grd_hospinfclist.selectedRow(0);
- if(rowcnt < 1) {
- var msg = messageBox("삭제할 정보를 ", "C002");
- return;
- } else {
- //등록이나 수정을 수행해야 하는 경우
- model.setValue("/root/hidden/condition/state", "D");
- if( isRequiredControls("ipt_rgstdd","rdo_psnflag","ipt_pid") == false ){
- return;
- }
- model.makeNode("/root/send/hospinfc");
- model.makeValue("/root/send/hospinfc/rgstdt", model.getValue("/root/main/hospinfcinfolist/info[" + rowcnt + "]/rgstdt"));
- model.makeValue("/root/send/hospinfc/pid", model.getValue("/root/main/hospinfcinfolist/info[" + rowcnt + "]/pid"));
- model.makeValue("/root/send/hospinfc/indd", model.getValue("/root/main/hospinfcinfolist/info[" + rowcnt + "]/indd"));
- model.makeValue("/root/send/hospinfc/state", model.getValue("/root/hidden/condition/state"));
- model.makeValue("/root/send/hospinfc/psnflag", model.getValue("/root/main/hospinfcinfolist/info[" + rowcnt + "]/psnflag"));
- model.makeValue("/root/hidden/condition/pid", model.getValue("/root/main/hospinfcinfolist/info[" + rowcnt + "]/pid"));
- model.makeValue("/root/hidden/condition/indd", model.getValue("/root/main/hospinfcinfolist/info[" + rowcnt + "]/indd"));
- model.makeValue("/root/hidden/condition/psnflag", model.getValue("/root/main/hospinfcinfolist/info[" + rowcnt + "]/psnflag"));
- if(submit("TXASI00101")){
- fGetPtnInfo("D");
- }
- }
- ]]>
- </script>
- </button>
- <button id="button8" class="btn4_letter2" style="left:1074px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var basalsick = grd_basalsicklist.rows;
- var microtest = grd_mirotestrslt.rows;
- var drug = grd_druginfo.rows;
- var oprec = grd_opinfo.rows;
-
- // 감염일, 감염종류 입력 유무 체크
- var infcdd = model.getValue("/root/main/hospinfcinfo/hospinfc/info/infcdd");
- if ( infcdd == null || infcdd == "" ) {
- messageBox("[감염정보 마스터] 감염일은", "I003");
- return;l
- }
-
- var infckindlrg = model.getValue("/root/main/hospinfcinfo/hospinfc/info/infckindlrg");
- if ( infckindlrg == null || infckindlrg == "" ) {
- messageBox("[감염정보 마스터] 감염종류를", "C002");
- return;l
- }
-
- // 수술정보 등록항목이 있는 경우 감염관리자체코드 입력 유무를 체크 한다.
- for (var i=1 ; i<oprec ; i++ ) {
- var status = grd_opinfo.rowStatus(i); // status 값. 신규등록(3), 신규등록삭제처리(4)
- if ( status == "4" || status_comp == "5" || status_comp == "6" ) {
- // 조회시 수술코드로 복원처리 해야함.
- grd_opinfo.valueMatrix(i, grd_opinfo.colRef("infcopcd")) = model.getValue("/root/main/copyset/oprecinfo/info["+i+"]/infcopcd");
- model.refresh();
- continue;
- }
- var infcopcd = grd_opinfo.valueMatrix(i, grd_opinfo.colRef("infcopcd"));
- grd_opinfo.valueMatrix(i, grd_opinfo.colRef("infcopcd")) = infcopcd.toUpperCase();
- if ( infcopcd == null || infcopcd == "" ) {
- messageBox("[수술정보] " + i + " 번째 열의 감염관리 자체코드는", "I003");
- return;
- }
- }
-
- // 수술정보 데이터 그리드 상에서 중복 데이터가 존재하는지 체크 한다.
- for (var i=1 ; i<oprec ; i++ ) {
- var status = grd_opinfo.rowStatus(i); // status 값. 신규등록(3), 신규등록삭제처리(4)
- if ( status == "4" || status == "5" || status == "6" ) continue;
- var infcopcd = grd_opinfo.valueMatrix(i, grd_opinfo.colRef("infcopcd"));
- for ( var j=1 ; j<oprec ; j++ ) {
- if ( i == j ) continue;
- var infcopcd_comp = grd_opinfo.valueMatrix(j, grd_opinfo.colRef("infcopcd"));
- var status_comp = grd_opinfo.rowStatus(j);
- if ( infcopcd.toUpperCase() == infcopcd_comp.toUpperCase() &&
- status_comp != "4" && status_comp != "5" && status_comp != "6" ) { // 삭제처리된 row는 비교조건에서 제외 한다.
- messageBox("감염관리 자체코드가", "E006");
- return;
- }
- }
- }
-
- //return;
-
- // 기저질환 등록항목이 있는 경우 기저질환 코드가 선택되었는지 유무를 체크 한다.
- for ( var i=1; i<basalsick ; i++ ) {
- var basalsickcd = model.getValue("/root/main/hospinfcinfo/basalsicklist/info["+i+"]/basalsickcd");
- if ( basalsickcd == null || basalsickcd == "" ) {
- messageBox("[기저질환] " + i + " 번째 열의 기절질환명은", "I003");
- return;
- }
-
- }
- // 기저질환 데이터 그리드 상에서 중복 데이터가 존재하는지 체크 한다.
- for (var i=1 ; i<basalsick ; i++ ) {
- var status = grd_basalsicklist.rowStatus(i); // status 값. 신규등록(3), 신규등록삭제처리(4)
- if ( status == "4" || status == "5" || status == "6" ) continue;
- var basalsickcd = grd_basalsicklist.valueMatrix(i, grd_basalsicklist.colRef("basalsickcd"));
- for ( var j=1 ; j<basalsick ; j++ ) {
- if ( i == j ) continue;
- var basalsickcd_comp = grd_basalsicklist.valueMatrix(j, grd_basalsicklist.colRef("basalsickcd"));
- var status_comp = grd_basalsicklist.rowStatus(j);
- if ( basalsickcd.toUpperCase() == basalsickcd_comp.toUpperCase() &&
- status_comp != "4" && status_comp != "5" && status_comp != "6" ) { // 삭제처리된 row는 비교조건에서 제외 한다.
- messageBox("기저질환명이", "E006");
- return;
- }
- }
- }
-
- // 투약정보 등록항목이 있는 경우 약품코드값 유무를 체크 한다.
- for (var i=1 ; i<drug ; i++ ) {
- var drugcd = grd_druginfo.valueMatrix(i, grd_druginfo.colRef("drugcd"));
- if ( drugcd == null || drugcd == "" ) {
- messageBox("[투약정보] " + i + " 번째 열의 약품코드는", "I003");
- return;
- }
- }
- // 투약정보 데이터 그리드 상에서 중복 데이터가 존재하는지 체크 한다.
- for (var i=1 ; i<drug ; i++ ) {
- var status = grd_druginfo.rowStatus(i); // status 값. 신규등록(3), 신규등록삭제처리(4)
- if ( status == "4" || status == "5" || status == "6" ) continue;
- var drugcd = grd_druginfo.valueMatrix(i, grd_druginfo.colRef("drugcd"));
- for ( var j=1 ; j<drug ; j++ ) {
- if ( i == j ) continue;
- var drugcd_comp = grd_druginfo.valueMatrix(j, grd_druginfo.colRef("drugcd"));
- var status_comp = grd_opinfo.rowStatus(j);
- if ( drugcd.toUpperCase() == drugcd_comp.toUpperCase() &&
- status_comp != "4" && status_comp != "5" && status_comp != "6" ) { // 삭제처리된 row는 비교조건에서 제외 한다.
- messageBox("약품코드가", "E006");
- return;
- }
- }
- }
-
- model.setValue("/root/hidden/condition/state", "-" );//초기화
-
- if( isRequiredControls("ipt_rgstdd", "ipt_infcdd","cmb_infckindlrg","rdo_psnflag","ipt_pid") == false ){
- return;
- }
- if(fpamCompareNodes("/root/main/hospinfcinfo/hospinfc/info", "/root/main/copyset/hospinfcinfo/info") &&
- fpamCompareNodes("/root/main/hospinfcinfo/basalsicklist", "/root/main/copyset/basalsicklist") &&
- fpamCompareNodes("/root/main/hospinfcinfo/mirotestrslt", "/root/main/copyset/mirotestrslt") &&
- fpamCompareNodes("/root/main/hospinfcinfo/druginfo", "/root/main/copyset/druginfo") &&
- fpamCompareNodes("/root/main/hospinfcinfo/oprecinfo", "/root/main/copyset/oprecinfo") ) {
- var msg = messageBox("등록/수정된 내용이 없으므로 저장", "E001");
- } else {
- model.removeNodeset("/root/send");
- //원본 데이터와 복사값을 비교해서 수정된 사항만 INPUT 에 담는다
- //기본 마스터 정보
- if(!fpamCompareNodes("/root/main/hospinfcinfo/hospinfc/info", "/root/main/copyset/hospinfcinfo/info")) {
- //등록이나 수정을 수행해야 하는 경우
- if( model.getValue("/root/main/hospinfcinfo/hospinfc/info/pid") != model.getValue("/root/main/copyset/hospinfcinfo/info/pid")
- || model.getValue("/root/main/hospinfcinfo/hospinfc/info/indd") != model.getValue("/root/main/copyset/hospinfcinfo/info/indd")
- || model.getValue("/root/main/hospinfcinfo/hospinfc/info/psnflag") != model.getValue("/root/main/copyset/hospinfcinfo/info/psnflag")
- || model.getValue("/root/main/hospinfcinfo/hospinfc/info/rgstdd") != model.getValue("/root/main/copyset/hospinfcinfo/info/rgstdd")
- || model.getValue("/root/hidden/condition/state") == "I" ){
- model.setValue("/root/hidden/condition/state", "I");
- model.setValue("/root/main/hospinfcinfo/hospinfc/info/rgstdt", model.getValue("/root/main/hospinfcinfo/hospinfc/info/rgstdd")+ getCurrentTime());
- }
-
- if(model.getValue("/root/hidden/condition/state") != "I") {
- model.setValue("/root/hidden/condition/state", "U");
- model.setValue("/root/main/hospinfcinfo/hospinfc/info/rgstdt", model.getValue("/root/main/hospinfcinfo/hospinfc/info/rgstdd")+""+model.getValue("/root/main/hospinfcinfo/hospinfc/info/rgsttm"));
- }
- model.makeValue("/root/main/hospinfcinfo/hospinfc/info/state", model.getValue("/root/hidden/condition/state"));
- }
- model.makeNode("/root/send/hospinfc");
- model.copyNode("/root/send/hospinfc","/root/main/hospinfcinfo/hospinfc/info");
-
- //기저질환 디테일
- //if(!pamCompareNodes("/root/main/copyset/basalsicklist", "/root/main/hospinfcinfo/basalsicklist")) {
- if(!fpamCompareNodes("/root/main/hospinfcinfo/basalsicklist", "/root/main/copyset/basalsicklist")) {
- model.makeNode("/root/send/basalsicklist");
- model.setValue("/root/send/basalsicklist", grd_basalsicklist.getUpdateData());
- }
- //수술내역 디테일
- if(!fpamCompareNodes("/root/main/copyset/oprecinfo", "/root/main/hospinfcinfo/oprecinfo")) {
- model.makeNode("/root/send/oprecinfo");
- model.setValue("/root/send/oprecinfo", grd_opinfo.getUpdateData());
- }
- //미생물배양결과 디테일
- if(!fpamCompareNodes("/root/main/hospinfcinfo/mirotestrslt", "/root/main/copyset/mirotestrslt")) {
- model.makeNode("/root/send/mirotestrslt");
- model.setValue("/root/send/mirotestrslt", grd_mirotestrslt.getUpdateData());
- }
- //항생제 투약사항 디테일fGetPtnInfo
- if(!fpamCompareNodes("/root/main/hospinfcinfo/druginfo", "/root/main/copyset/druginfo")) {
- model.makeNode("/root/send/druginfo");
- model.setValue("/root/send/druginfo", grd_druginfo.getUpdateData());
- }
- if(submit("TXASI00101")){
- fGetPtnInfo("S");
- }
- //model.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="button22" class="btn4_letter2" visibility="visible" style="left:1013px; top:3px; width:56px; height:22px; ">
- <caption>복사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var rowcnt = model.getValue("/root/hidden/selectedrowcnt");
- if(rowcnt == "" || rowcnt == null ) {
- var msg = messageBox("복사할 데이터를 그리드에서 ", "C002");
- return;
- }
- else{
- fMapping(rowcnt);
- fClear("N");
- model.removeNodeset("/root/main/hospinfcinfo/oprecinfo");
- model.removeNodeset("/root/main/hospinfcinfo/mirotestrslt");
- model.removeNodeset("/root/main/hospinfcinfo/druginfo");
- model.setValue("/root/hidden/condition/state", "I");
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="button25" class="btn4_letter3" style="left:940px; top:3px; width:56px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- button72.attribute("class") = "btn_sw_bottom";
-
- // 2010-05-25 환자기본정보를 포함한 포함 항목을 reset 설정 요청(문서파일명:병원감염보고서 오류(20100525).ppt)에 의해 수정.
- // 수정인 : 허권주
- //var vPid = model.getValue("/root/main/hospinfcinfo/hospinfc/info/pid");
- //var vIndd = model.getValue("/root/main/hospinfcinfo/hospinfc/info/indd");
- //var vPsnflag= model.getValue("/root/main/hospinfcinfo/hospinfc/info/psnflag");
- //model.resetInstanceNode("/root/main/hospinfcinfo");
-
- //model.setValue("/root/main/hospinfcinfo/hospinfc/info/pid", vPid);
- //model.makeValue("/root/hidden/condition/pid", vPid);
- //model.makeValue("/root/send/reqdata/pid", vPid);
- //model.setValue("/root/main/hospinfcinfo/hospinfc/info/psnflag", vPsnflag);
- //submit("TRASI00108");
- //model.setValue("/root/main/hospinfcinfo/hospinfc/info/indd", vIndd);
- //model.setValue("/root/hidden/condition/state", "I");
-
- //cbo_indd.dispatch("xforms-value-changed");
- //model.refresh();
- model.resetInstanceNode("/root/main/hospinfcinfo");
- model.removeNodeset("/root/main/hospinfcinfo/basalsicklist");
- model.removeNodeset("/root/main/hospinfcinfo/mirotestrslt");
- model.removeNodeset("/root/main/hospinfcinfo/druginfo");
- model.removeNodeset("/root/main/hospinfcinfo/oprecinfo");
-
- model.resetInstanceNode("/root/main/hospinfcinfolist");
- model.removenodeset("/root/main/hospinfcinfolist/info");
-
- // 기본값으로 진료유형을 입원으로 설정함.
- model.setValue("/root/main/hospinfcinfo/hospinfc/info/psnflag", "I");
- model.setValue("/root/hidden/condition/state", "I");
-
- model.refresh();
-
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|