1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>혈액투석도관기록</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <condition>
- <pid/>
- <statusflag>Access Flow(ml/min) :</statusflag>
- <mypid/>
- <bvipvalue>Access Flow(ml/min) :</bvipvalue>
- <rsrvdd/>
- </condition>
- <hdmatnpatlist>
- <hdmatnpatinfo>
- <pid/>
- <hngnm/>
- <sexage/>
- <maintepatrgstdd/>
- <histstat/>
- <orddd/>
- <cretno/>
- <histstat/>
- <orddeptcd/>
- <orddrid/>
- </hdmatnpatinfo>
- </hdmatnpatlist>
- <coduitreclist>
- <coduitrecinfo>
- <recdd/>
- <rectm/>
- <recnm/>
- <pid/>
- <maintepatrgstdd/>
- </coduitrecinfo>
- </coduitreclist>
- <reclist>
- <recinfo>
- <hmdlspipeinfolist>
- <hmdlspipeinfo>
- <btdgseq/>
- <partflag/>
- <kindflag1/>
- <kindflag2/>
- <redness/>
- <bruise/>
- <fixsuture/>
- <hematoma/>
- <bfr/>
- <ap/>
- <vp/>
- <alh/>
- <vlh/>
- <remark/>
- <statusflag/>
- <srgopdd/>
- <elmnresnflag/>
- <btdgnm/>
- <btdgdd/>
- <stu/>
- <pid/>
- <maintepatrgstdd/>
- <seq/>
- <status/>
- </hmdlspipeinfo>
- </hmdlspipeinfolist>
- <avfinfolist>
- <avfinfo>
- <partflag/>
- <kindflag/>
- <useveslflag/>
- <shapeval/>
- <shapebtn/>
- <opdd/>
- <fstusedd/>
- <lastusedd/>
- <avfrecnm/>
- <avfrecdd/>
- <stu/>
- <pid/>
- <maintepatrgstdd/>
- <status/>
- <rownum/>
- <shapeimgedata/>
- <partdirection/>
- <remark/>
- <redness/>
- <bruise/>
- <thrill/>
- <bruit1/>
- <bruit2/>
- <cd/>
- <ap/>
- <vp/>
- <ndgage/>
- </avfinfo>
- </avfinfolist>
- <oprtinfolist>
- <oprtinfo>
- <oprtkindflag/>
- <oprtcasflag/>
- <oprthospnm/>
- <oprtdd/>
- <oprtrecnm/>
- <oprtrecdd/>
- <stu/>
- <pid/>
- <maintepatrgstdd/>
- <status/>
- <rownum/>
- <remark/>
- </oprtinfo>
- </oprtinfolist>
- <bvipinfolist>
- <bvipinfo>
- <stu/>
- <status/>
- <recdd/>
- <rectm/>
- <spcffact/>
- <pid/>
- <recid/>
- <seqno/>
- <itemflag/>
- </bvipinfo>
- </bvipinfolist>
- </recinfo>
- <recinfolists>
- <pid/>
- <recid/>
- <recnm/>
- <recdd/>
- <rectm/>
- <maintepatrgstdd/>
- <signno/>
- <orddd/>
- <cretno/>
- <histstat/>
- <orddeptcd/>
- <orddrid/>
- </recinfolists>
- </reclist>
- <chklist>
- <chkinfo>
- <pid/>
- <cretfalg/>
- </chkinfo>
- </chklist>
- </main>
- <init>
- <M0133list>
- <cdnm/>
- <cdid/>
- </M0133list>
- <M0134list>
- <cdnm/>
- <cdid/>
- </M0134list>
- <M0135list>
- <cdnm/>
- <cdid/>
- </M0135list>
- <M0136list>
- <cdnm/>
- <cdid/>
- </M0136list>
- <M0137list>
- <cdnm/>
- <cdid/>
- </M0137list>
- <M0138list>
- <cdnm/>
- <cdid/>
- </M0138list>
- <M0139list>
- <cdnm/>
- <cdid/>
- </M0139list>
- <M0140list>
- <cdnm/>
- <cdid/>
- </M0140list>
- <M0141list>
- <cdnm/>
- <cdid/>
- </M0141list>
- <settingrn>
- <settingrnnm/>
- <settingrnid/>
- </settingrn>
- <M0999list>
- <cdnm/>
- <cdid/>
- </M0999list>
- <M0628list>
- <cdnm/>
- <cdid/>
- </M0628list>
- <M0629list>
- <cdnm/>
- <cdid/>
- </M0629list>
- <M0630list>
- <cdnm/>
- <cdid/>
- </M0630list>
- <M0758list>
- <cdnm/>
- <cdid/>
- </M0758list>
- <M0759list>
- <cdnm/>
- <cdid/>
- </M0759list>
- </init>
- <send>
- <reqdata/>
- <savedata/>
- <signdata/>
- </send>
- <temp>
- <SMMMR03600_modalif>
- <openmode/>
- <imgecd/>
- <base64/>
- <shape/>
- </SMMMR03600_modalif>
- <gettoplist>
- <gettopinfo>
- <pid/>
- <cretno/>
- <seqno/>
- <instcd/>
- <indd/>
- <orddd/>
- <acptseqno/>
- <orgorddd/>
- </gettopinfo>
- </gettoplist>
- <paminfo/>
- </temp>
- <hidden/>
- </root>
- </instance>
- <script type="javascript">
- <![CDATA[
- var GiRow;
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //20090120 dhkim
- model.makeValue("/root/main/condition/rsrvdd", getCurrentDate());
- //내환자 setting 간호사 load
- fLoadMyPatSetting();
-
- setHelp(); // 온라인 도움말 화면이 있는 경우 ready 에서 실행.
- fDone();
-
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TXMND01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root"/>
- <submission id="TRMND01302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/coduitrecinfo"/>
- <submission id="TRMND01303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/reclist/recinfo"/>
- <submission id="TRMND01304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/reclist/recinfo/hmdlspipeinfolist"/>
- <submission id="TXMND01302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata"/>
- <submission id="TRMND01404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/chkinfo"/>
- <!-- 20090120 dhkim 내환자세팅-->
- <submission id="TRMND03402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/settingrn"/>
- <submission id="TRMND01305" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/hdmatnpatinfo"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../emr/dialroomweb/js/SMMND01300.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/ENRSignEngine.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,1208;1,1236;1,1212;1,1208;1,1206;1,1199;1,1198;1,1198;1,1198;2,759;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">혈관 접근로 점검표</caption>
- <caption id="caption4" class="patient_text_black" style="left:px; top:0px; width:272px; "/>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <line id="line1" class="line_1" style="x1:0px; y1:132px; x2:274px; y2:132px; "/>
- <caption id="caption1" class="tit_2" style="left:5px; top:116px; width:202px; height:13px; vertical-align:middle; ">혈액투석 당일예약 환자리스트</caption>
- <group id="group2" style="left:0px; top:10px; width:274px; height:100px; vertical-align:top; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:274px; height:95px; "/>
- <caption id="caption5" class="search_name" style="left:12px; top:9px; width:84px; height:17px; ">등록번호:</caption>
- <button id="btn_srchhdmatnpat" class="btn1_letter2" style="left:205px; top:22px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSrchHDPatList(); // 혈액투석 당일예약환자 리스트 조회
- ]]>
- </script>
- </button>
- <line id="line5" class="line_4" style="x1:194px; y1:6px; x2:194px; y2:88px; "/>
- <input id="input2" ref="/root/main/condition/pid" class="input_default" inputtype="9999999999" style="left:100px; top:8px; width:85px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_srchhdmatnpat", "DOMActivate");
- ]]>
- </script>
- </input>
- <select1 id="combo2" ref="/root/main/condition/mypid" class="combo_search" appearance="minimal" nodeset="/root/main/condition/ioflag" style="left:100px; top:38px; width:60px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/settingrn/settingrnlist">
- <label ref="settingrnnm"/>
- <value ref="settingrnid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSrchHDPatList(); // 혈액투석 유지환자 리스트 조회
- ]]>
- </script>
- </select1>
- <caption id="caption37" class="search_name" style="left:10px; top:40px; width:77px; height:17px; ">내환자 :</caption>
- <caption id="caption10" class="search_name" style="left:10px; top:65px; width:79px; height:17px; ">예약일자:</caption>
- <input id="idt_orddd" ref="/root/main/condition/rsrvdd" class="input_s_essential" inputtype="date" style="left:100px; top:65px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_srchhdmatnpat", "DOMActivate");
- ]]>
- </script>
- </input>
- </group>
- <caption id="caption8" class="tit_2" style="left:5px; top:422px; width:125px; height:13px; vertical-align:middle; ">도관기록 리스트</caption>
- <line id="line6" class="line_1" style="x1:0px; y1:437px; x2:270px; y2:437px; "/>
- <group id="grp_hdpipeinfo" disabled="true" style="left:275px; top:5px; width:920px; height:735px; ">
- <button id="btn_addavfinfo" class="btn2_letter3" style="left:805px; top:463px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if(grd_avfinfo.rows == 1){
- grd_avfinfo.addItem();
- }else{
- grd_avfinfo.insertItem(1);
- }
-
- var sCurrentDate = getCurrentDate();
- var iRow = 1;
-
- grd_avfinfo.cellStyle("background-image", + grd_avfinfo.row, grd_avfinfo.colRef("stu") ) = "../../../com/commonweb/images/icon_i.gif"; //insert 상태값이미지-방향추가로 10->11로 변경-20091016-kys
- model.setValue("/root/main/reclist/recinfo/avfinfolist/avfinfo[" + iRow + "]/status", "i" ); // 상태값 설정 (insert)
- model.setValue("/root/main/reclist/recinfo/avfinfolist/avfinfo[" + iRow + "]/opdd", sCurrentDate ); // 수술일자
- model.setValue("/root/main/reclist/recinfo/avfinfolist/avfinfo[" + iRow + "]/fstusedd", sCurrentDate ); // 최초사용일
- model.setValue("/root/main/reclist/recinfo/avfinfolist/avfinfo[" + iRow + "]/lastusedd", sCurrentDate ); // 최종사용일
- model.setValue("/root/main/reclist/recinfo/avfinfolist/avfinfo[" + iRow + "]/avfrecdd", sCurrentDate ); //기록일자
- model.setValue("/root/main/reclist/recinfo/avfinfolist/avfinfo[" + iRow + "]/avfrecnm", getUserName()); // 기록자
- model.setValue("/root/main/reclist/recinfo/avfinfolist/avfinfo[" + iRow + "]/pid", model.getValue("/root/main/reclist/recinfolists/pid")); // 등록번호
- model.setValue("/root/main/reclist/recinfo/avfinfolist/avfinfo[" + iRow + "]/maintepatrgstdd", model.getValue("/root/main/reclist/recinfolists/maintepatrgstdd")); // 유지환자등록일자
-
- ]]>
- </script>
- </button>
- <button id="btn_addhmdlspipeinfo" class="btn2_letter4" style="left:665px; top:32px; width:64px; height:19px; ">
- <caption>삽입추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var iRow
-
- grd_hmdlspipeinfo.addItem();
-
- iRow = grd_hmdlspipeinfo.rows - grd_hmdlspipeinfo.fixedRows; //혈액투석 도관관리 행추가
-
- //alert("iRow = " + iRow );
-
- grd_hmdlspipeinfo.automerge=false;
-
- var sCurrentDate = getCurrentDate();
-
-
- grd_hmdlspipeinfo.cellStyle("background-image", + grd_hmdlspipeinfo.row, grd_hmdlspipeinfo.colRef("stu")) = "../../../com/commonweb/images/icon_i.gif"; //insert 상태값이미지
-
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/status" , "i" ); // 상태값 설정 (insert)
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/statusflag" , "1" ); // 수행일자
-
- //grd_hmdlspipeinfo.isReadOnly(grd_hmdlspipeinfo.row, 4) = true;
- grd_hmdlspipeinfo.isReadOnly(grd_hmdlspipeinfo.row, grd_hmdlspipeinfo.colRef("stu") ) = true;
-
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/srgopdd" , sCurrentDate ); // 수행일자
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/btdgdd" , sCurrentDate ); // 기록일자
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/btdgnm" , getUserName()); // 기록자
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/pid" , model.getValue("/root/main/reclist/recinfolists/pid")); // 등록번호
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/maintepatrgstdd", model.getValue("/root/main/reclist/recinfolists/maintepatrgstdd")); // 유지환자등록일자
-
-
- ]]>
- </script>
- </button>
- <button id="btn_delhmdlspipeinfo" class="btn2_letter3" style="left:861px; top:32px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if(grd_hmdlspipeinfo.rows < 2){
- return;
- }
-
- var iRow = grd_hmdlspipeinfo.rows - grd_hmdlspipeinfo.fixedRows + 1
- if (iRow < 0 ) return;
-
- if (model.getValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/status") != "i") {
- if( model.getValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + grd_hmdlspipeinfo.row + "]/statusflag") == "2" ){ //제거일때
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/status" , "d" ); // 상태값 설정 (delete)
- grd_hmdlspipeinfo.rowStatus(iRow) = "4";
- grd_hmdlspipeinfo.cellStyle("background-image", grd_hmdlspipeinfo.row, grd_hmdlspipeinfo.colRef("stu")) = "../../../com/commonweb/images/icon_d.gif";
-
- }else{
- var btdgseq = grd_hmdlspipeinfo.valueMatrix(grd_hmdlspipeinfo.row , grd_hmdlspipeinfo.colRef("btdgseq"));
- //업무상 오류가 있어 수정함 20141117 by kya
- // for(i=grd_hmdlspipeinfo.fixedRows ; i<= grd_hmdlspipeinfo.rows ; i++){
- //
- // if( ( grd_hmdlspipeinfo.valueMatrix( i , grd_hmdlspipeinfo.colRef("statusflag")) == "2" ) &&
- // ( grd_hmdlspipeinfo.valueMatrix( i , grd_hmdlspipeinfo.colRef("btdgseq")) == btdgseq) ) {
- // messageBox("제거삭제후 삽입삭제를", "I008");
- // return;
- // }
- //
- // // if( (model.getValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + i + "]/statusflag") == "2" ) &&
- // // ( model.getValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + i + "]/btdgseq") == btdgseq)
- // // ){
- // // messageBox("제거삭제후 삽입삭제를", "I008");
- // // return;
- // // }
- //
- // }
- grd_hmdlspipeinfo.valueMatrix(grd_hmdlspipeinfo.row , grd_hmdlspipeinfo.colRef("status")) = "d";
- grd_hmdlspipeinfo.cellStyle("background-image", grd_hmdlspipeinfo.row, grd_hmdlspipeinfo.colRef("stu")) = "../../../com/commonweb/images/icon_d.gif";
- }
-
- }else { //행추가후 바로 삭제시
- grd_hmdlspipeinfo.deleteItem(iRow); // 혈액투석 관리 선택 행삭제
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_hmdlspipeinfo" nodeset="/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo" caption="btdgseq^부위^종류1^종류2^발적^멍^고정^혈종^BRF^AP^VP^Locking Heparin(unit)^Locking Heparin(unit)^비고^상태^수행일^제거이유^기록자^기록일^^등록번호^유지환자등록일자^recdd^rectm^status^rownum|btdgseq^부위^종류1^종류2^발적^멍^고정^혈종^ml/min^mmHg^mmHg^Artery^Vein^비고^상태^수행일^제거이유^기록자^기록일^^등록번호^유지환자등록일자^recdd^rectm^status^rownum" colsep="^" colwidth="0, 49, 76, 63, 41, 42, 47, 40, 44, 43, 43, 67, 65, 169, 33, 86, 132, 66, 89, 28, 0, 0, 0, 0" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:57px; width:915px; height:193px; ">
- <col ref="btdgseq"/>
- <col ref="partflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0133list/M0133">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="kindflag1" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0134list/M0134">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="kindflag2" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0135list/M0135">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="redness" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0628list/M0628">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="bruise" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0628list/M0628">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="fixsuture" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0629list/M0629">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="hematoma" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0628list/M0628">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="bfr" type="input"/>
- <col ref="ap" type="input"/>
- <col ref="vp" type="input"/>
- <col ref="alh" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0630list/M0630">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="vlh" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0630list/M0630">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="remark" type="input"/>
- <col disabled="true" ref="statusflag" type="combo">
- <choices>
- <item>
- <label>삽입</label>
- <value>1</value>
- </item>
- <item>
- <label>제거</label>
- <value>2</value>
- </item>
- <item>
- <label>유지</label>
- <value>3</value>
- </item>
- </choices>
- </col>
- <col ref="srgopdd" type="inputdate"/>
- <col ref="elmnresnflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0136list/M0136">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="btdgnm" type="input"/>
- <col ref="btdgdd" type="inputdate"/>
- <col class="update_n" ref="stu"/>
- <col ref="pid"/>
- <col ref="maintepatrgstdd"/>
- <col ref="seq"/>
- <col ref="status"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
-
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var iRow = grd_hmdlspipeinfo.row - 1;
-
- if(model.getValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo["+iRow+"]/status") == "") {
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo["+iRow+"]/status", "u"); // 상태값 설정 (update)
- grd_hmdlspipeinfo.cellStyle("background-image", + grd_hmdlspipeinfo.row, grd_hmdlspipeinfo.colRef("stu")) = "../../../com/commonweb/images/icon_u.gif";
- }
-
- ]]>
- </script>
- </datagrid>
- <button id="btn_delavfinfo" class="btn2_letter3" style="left:861px; top:463px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_avfinfo.rows < 1){
- return;
- }
- var iRow = grd_avfinfo.row;
-
- if (iRow < 0 ) return;
-
- if (model.getValue("/root/main/reclist/recinfo/avfinfolist/avfinfo[" + iRow + "]/status") != "i") {
- model.setValue("/root/main/reclist/recinfo/avfinfolist/avfinfo["+iRow+"]/status", "d"); // 상태값 설정 (delete)
- grd_avfinfo.rowstatus(iRow) = "4"; //삭제값
- grd_avfinfo.cellStyle("background-image", + grd_avfinfo.row, grd_avfinfo.colRef("stu")) = "../../../com/commonweb/images/icon_d.gif"; //방향컬럼추가로 인해 10->11로 변경-20091016-kys
- //fSaveHDPipeInfo(); // 혈액투석도관정보 저장
- // fDelPipeMasterInfo(); // 데이터 모두 삭제 되어 해당일시에 기록정보 없을 경우
- } else {
- grd_avfinfo.deleteItem(iRow); // 동정맥루 관리 선택 행삭제
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_oprtinfo" nodeset="/root/main/reclist/recinfo/oprtinfolist/oprtinfo" caption="시술종류^시술원인^시술병원^시술일^비고^기록자^기록일^^등록번호^유지환자등록일자^recdd^rectm^status^rownum" colsep="^" colwidth="236, 100, 150, 113, 278, 0, 0, 28, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:630px; width:915px; height:103px; ">
- <col ref="oprtkindflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0140list/M0140">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="oprtcasflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0141list/M0141">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="oprthospnm" type="input"/>
- <col ref="oprtdd" type="inputdate"/>
- <col ref="remark" type="input"/>
- <col ref="oprtrecnm" type="input"/>
- <col ref="oprtrecdd" type="inputdate"/>
- <col class="update_n" ref="stu"/>
- <col ref="pid"/>
- <col ref="maintepatrgstdd"/>
- <col ref="status"/>
- <col ref="rownum"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var iRow = grd_oprtinfo.row;
- if(model.getValue("/root/main/reclist/recinfo/oprtinfolist/oprtinfo["+iRow+"]/status") == "") {
- model.setValue("/root/main/reclist/recinfo/oprtinfolist/oprtinfo["+iRow+"]/status", "u"); // 상태값 설정 (update)
- grd_oprtinfo.cellStyle("background-image", + grd_oprtinfo.row, 7) = "../../../com/commonweb/images/icon_u.gif"; //비고추가로 6->7로변경-20091021-kys
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_addoprtinfo" class="btn2_letter3" style="left:805px; top:604px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_oprtinfo.rows == 1){
- grd_oprtinfo.addItem();
- }else{
- grd_oprtinfo.insertItem(1);
- }
-
- var sCurrentDate = getCurrentDate();
- var iRow = 1;
- grd_oprtinfo.cellStyle("background-image", + grd_oprtinfo.row, grd_oprtinfo.colRef("stu")) = "../../../com/commonweb/images/icon_i.gif"; //insert 상태값이미지(6->7로변경20091021-kys)
- model.setValue("/root/main/reclist/recinfo/oprtinfolist/oprtinfo[" + iRow + "]/status" , "i" ); // 상태값 설정 (insert)
- model.setValue("/root/main/reclist/recinfo/oprtinfolist/oprtinfo[" + iRow + "]/oprtdd" , sCurrentDate ); // 시술일자
- model.setValue("/root/main/reclist/recinfo/oprtinfolist/oprtinfo[" + iRow + "]/oprtrecdd" , sCurrentDate ); //기록일자
- model.setValue("/root/main/reclist/recinfo/oprtinfolist/oprtinfo[" + iRow + "]/oprtrecnm" , getUserName()); // 기록자
- model.setValue("/root/main/reclist/recinfo/oprtinfolist/oprtinfo[" + iRow + "]/pid" , model.getValue("/root/main/reclist/recinfolists/pid")); // 등록번호
- model.setValue("/root/main/reclist/recinfo/oprtinfolist/oprtinfo[" + iRow + "]/maintepatrgstdd", model.getValue("/root/main/reclist/recinfolists/maintepatrgstdd")); // 유지환자등록일자
-
- ]]>
- </script>
- </button>
- <button id="btn_deloprtinfo" class="btn2_letter3" style="left:861px; top:604px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_oprtinfo.rows < 2){
- return;
- }
-
- var iRow = grd_oprtinfo.row;
- if (iRow < 0 ) return;
- if (model.getValue("/root/main/reclist/recinfo/oprtinfolist/oprtinfo[" + iRow + "]/status") != "i") {
- model.setValue("/root/main/reclist/recinfo/oprtinfolist/oprtinfo[" + iRow + "]/status", "d" ); // 상태값 설정 (delete)
- grd_oprtinfo.rowstatus(iRow) = "4";
- grd_oprtinfo.cellStyle("background-image", grd_oprtinfo.row, grd_oprtinfo.colRef("stu") ) = "../../../com/commonweb/images/icon_d.gif"; //(6->7로변경20091021-kys)
- // fSaveHDPipeInfo(); // 혈액투석도관정보 저장
- // fDelPipeMasterInfo(); // 데이터 모두 삭제 되어 해당일시에 기록정보 없을 경우
- } else {
- grd_oprtinfo.deleteItem(iRow); // 시술과 중재 선택 행삭제
- }
- ]]>
- </script>
- </button>
- <caption id="caption2" class="tit_2" style="left:4px; top:468px; width:145px; height:13px; vertical-align:middle; ">동정맥루 관리</caption>
- <caption id="caption3" class="tit_2" style="left:4px; top:609px; width:145px; height:13px; vertical-align:middle; ">시술과 중재</caption>
- <datagrid id="grd_avfinfo" nodeset="/root/main/reclist/recinfo/avfinfolist/avfinfo" caption="부위^부위^종류^사용혈관^모양^모양^수술일^최초사용일^최종사용일^발적^멍^떨림^청진소견I^청진소견II^천자간격(cm)^AP(mmHg)^VP(mmHg)^바늘치수(G)^비고^기록자^기록일^^등록번호^유지환자등록일자^recdd^rectm^status^rownum^shape" colsep="^" colwidth="74, 69, 59, 145, 41, 20, 87, 86, 91, 43, 46, 46, 118, 115, 85, 79, 74, 88, 100, 0, 0, 28, 0, 0, 0, 0, 0" ellipsis="true" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:0px; top:488px; width:915px; height:114px; ">
- <col ref="partdirection" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0999list/M0133">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col editmode="input" ref="partflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0138list/M0138">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="kindflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0137list/M0137">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="useveslflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0139list/M0139">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="shapeval" style="text-align:center; "/>
- <col ref="shapebtn" type="inputbutton"/>
- <col ref="opdd" type="inputdate"/>
- <col ref="fstusedd" type="inputdate"/>
- <col ref="lastusedd" type="inputdate"/>
- <col ref="redness" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0628list/M0628">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="bruise" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0628list/M0628">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="thrill" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0628list/M0628">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="bruit1" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0758list/M0758">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="bruit2" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0759list/M0759">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="cd" type="input"/>
- <col ref="ap" type="input"/>
- <col ref="vp" type="input"/>
- <col ref="ndgage" type="input"/>
- <col ref="remark" type="input"/>
- <col ref="avfrecnm" type="input"/>
- <col ref="avfrecdd" type="inputdate"/>
- <col class="update_n" ref="stu"/>
- <col ref="pid"/>
- <col ref="maintepatrgstdd"/>
- <col ref="status"/>
- <col ref="rownum"/>
- <col ref="shapeimgedata" degnitemkind="IMG"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var iRow = grd_avfinfo.row;
-
- if(model.getValue("/root/main/reclist/recinfo/avfinfolist/avfinfo["+iRow+"]/status") == "") {
- model.makeValue("/root/main/reclist/recinfo/avfinfolist/avfinfo["+iRow+"]/status", "u"); // 상태값 설정 (update)
- grd_avfinfo.cellStyle("background-image", + grd_avfinfo.row, grd_avfinfo.colRef("stu")) = "../../../com/commonweb/images/icon_u.gif"; //방향컬럼추가로 인덱스수정10->11-20091016-kys
- }
- //fCellchgnged();
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
-
- if(grd_avfinfo.col == 5 ) { //"shapebtn"
- model.makeValue("/root/temp/SMMMR03600_modalif/openmode", "OneImge");
- if(grd_avfinfo.valueMatrix(grd_avfinfo.row,1)=="01"){ //방향컬럼순서변경으로 인덱스수정 0->1-20091021-kys
- model.makeValue("/root/temp/SMMMR03600_modalif/imgecd" , "0000996002");
- }else{
- model.makeValue("/root/temp/SMMMR03600_modalif/imgecd" , "0000460006"); //0000848002->0000460006 다리이미지변경-20091026-kys
- }
-
- model.makeValue("/root/temp/SMMMR03600_modalif/shape" , model.getValue("/root/main/reclist/recinfo/avfinfolist/avfinfo["+grd_avfinfo.row+"]/shapeimgedata"));
-
- modal("SMMMR03600", "", "", "", "", "/root/temp/SMMMR03600_modalif", "/root/temp/SMMMR03600_modalif");
-
- model.makeValue("/root/main/reclist/recinfo/avfinfolist/avfinfo["+grd_avfinfo.row+"]/shapeimgedata", model.getValue("/root/temp/SMMMR03600_modalif/shape"));
- if(model.getValue("/root/main/reclist/recinfo/avfinfolist/avfinfo["+grd_avfinfo.row+"]/shapeimgedata") != ""){
- model.makeValue("/root/main/reclist/recinfo/avfinfolist/avfinfo["+grd_avfinfo.row+"]/shapeval", "Y");
- }
- if(model.getValue("/root/main/reclist/recinfo/avfinfolist/avfinfo["+grd_avfinfo.row+"]/status") ==""){
- model.makeValue("/root/main/reclist/recinfo/avfinfolist/avfinfo["+grd_avfinfo.row+"]/status", "u");
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onentercell">
- <![CDATA[
- fCellchgnged(); //20091023추가-kys(기타 선택시 부위 input설정)
- ]]>
- </script>
- </datagrid>
- <line id="line2" class="line_1" style="x1:0px; y1:52px; x2:915px; y2:52px; "/>
- <caption id="caption7" class="tit_2" style="left:4px; top:35px; width:136px; height:13px; vertical-align:middle; ">혈액투석 도관관리</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:485px; x2:915px; y2:485px; "/>
- <line id="line4" class="line_1" style="x1:0px; y1:624px; x2:915px; y2:624px; "/>
- <button id="btn_tempsavehdpipeinfo" class="btn5_letter4" visibility="hidden" style="left:778px; top:0px; width:64px; height:19px; ">
- <caption>임시저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveHDPipeInfo("T"); // 혈액투석도관정보 저장
- ]]>
- </script>
- </button>
- <line id="line7" class="line_1" style="x1:0px; y1:21px; x2:915px; y2:21px; "/>
- <button id="btn_certsavehdpipeinfo" class="btn5_letter4" disabled="true" style="left:847px; top:0px; width:64px; height:19px; ">
- <caption>인증저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveHDPipeInfo("C"); // 혈액투석도관정보 인증저장
- // messageBox("구현준비중입니다.", "I");
- ]]>
- </script>
- </button>
- <select1 id="rdo_statusflag" ref="/root/main/condition/statusflag" class="radio_search" appearance="full" cols="2" overflow="visible" style="left:151px; top:34px; width:131px; height:15px; text-align:left; background-color:transparent; border-color:transparent; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>0</value>
- </item>
- <item>
- <label>삽입</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var statusflag = model.getValue("/root/main/condition/statusflag");
- if(statusflag == "0"){
- statusflag = "";
- btn_addhmdlspipeinfo.disabled = false;
- button1.disabled = false;
- btn_delhmdlspipeinfo.disabled = false;
- }else{
- btn_addhmdlspipeinfo.disabled = true;
- button1.disabled = true;
- btn_delhmdlspipeinfo.disabled = true;
- }
-
- // i u d 아이콘 초기화
- for(i=grd_hmdlspipeinfo.fixedRows ; i < grd_hmdlspipeinfo.rows ; i++){
- grd_hmdlspipeinfo.cellStyle("background-image", + i , grd_hmdlspipeinfo.colRef("stu")) = "../../../com/commonweb/images/icon_n.gif";
- }
- model.removenode("/root/send");
- model.makeNode ("/root/send");
- model.makeValue ("/root/send/pid" , model.getValue("/root/main/reclist/recinfolists/pid"));
- model.makeValue ("/root/send/maintepatrgstdd" , model.getValue("/root/main/reclist/recinfolists/maintepatrgstdd"));
- model.makeValue ("/root/send/statusflag" , statusflag)
- model.removeNodeset("/root/main/reclist/recinfo/hmdlspipeinfolist");
-
- submit("TRMND01304");
-
- for(i=grd_hmdlspipeinfo.fixedRows ; i < grd_hmdlspipeinfo.rows ; i++){
- grd_hmdlspipeinfo.isReadOnly(i, 4) = true;
- if(grd_hmdlspipeinfo.valueMatrix(i,4) == "2"){ // 상태 제거시 제거이유 활성화
- grd_hmdlspipeinfo.isReadOnly(i, 6) = false;
- }else{
- grd_hmdlspipeinfo.isReadOnly(i, 6) = true;
- }
- }
- ]]>
- </script>
- </select1>
- <button id="button1" class="btn2_letter4" style="left:731px; top:32px; width:64px; height:19px; ">
- <caption>제거추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
-
- var btdgseq = grd_hmdlspipeinfo.valueMatrix(grd_hmdlspipeinfo.row , grd_hmdlspipeinfo.colRef("btdgseq"));//model.getValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + grd_hmdlspipeinfo.row + "]/btdgseq") ;
- var statusflag = grd_hmdlspipeinfo.valueMatrix(grd_hmdlspipeinfo.row , grd_hmdlspipeinfo.colRef("statusflag"));
- //alert("btdgseq = " + btdgseq)
- //alert("statusflag = " + statusflag)
- if( ( btdgseq == "" ) || ( statusflag == "2") )
- {
- messageBox("제거추가를", "E001", "");
- return;
- }else{
- for( i=grd_hmdlspipeinfo.fixedRows ; i<= grd_hmdlspipeinfo.rows ; i++){
-
- //if( (model.getValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + i + "]/statusflag") == "2" ) &&
- // ( model.getValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + i + "]/btdgseq") == btdgseq)
- if( ( grd_hmdlspipeinfo.valueMatrix( i , grd_hmdlspipeinfo.colRef("statusflag")) == "2" ) &&
- ( grd_hmdlspipeinfo.valueMatrix( i , grd_hmdlspipeinfo.colRef("btdgseq")) == btdgseq) ) {
- messageBox("제거가 이미 있습니다.", "E");
- return;
- }
- }
- }
- partflag = grd_hmdlspipeinfo.valueMatrix(grd_hmdlspipeinfo.row,grd_hmdlspipeinfo.colRef("partflag"));
- kindflag1 = grd_hmdlspipeinfo.valueMatrix(grd_hmdlspipeinfo.row,grd_hmdlspipeinfo.colRef("kindflag1"));
- kindflag2 = grd_hmdlspipeinfo.valueMatrix(grd_hmdlspipeinfo.row,grd_hmdlspipeinfo.colRef("kindflag2")) ;
- btdgseq = grd_hmdlspipeinfo.valueMatrix(grd_hmdlspipeinfo.row,grd_hmdlspipeinfo.colRef("btdgseq"));
-
- var redness = grd_hmdlspipeinfo.valueMatrix(grd_hmdlspipeinfo.row,grd_hmdlspipeinfo.colRef("redness"));
- var bruise = grd_hmdlspipeinfo.valueMatrix(grd_hmdlspipeinfo.row,grd_hmdlspipeinfo.colRef("bruise"));
- var fixsuture = grd_hmdlspipeinfo.valueMatrix(grd_hmdlspipeinfo.row,grd_hmdlspipeinfo.colRef("fixsuture"));
- var hematoma = grd_hmdlspipeinfo.valueMatrix(grd_hmdlspipeinfo.row,grd_hmdlspipeinfo.colRef("hematoma"));
- var ap = grd_hmdlspipeinfo.valueMatrix(grd_hmdlspipeinfo.row,grd_hmdlspipeinfo.colRef("ap"));
- var vp = grd_hmdlspipeinfo.valueMatrix(grd_hmdlspipeinfo.row,grd_hmdlspipeinfo.colRef("vp"));
- var alh = grd_hmdlspipeinfo.valueMatrix(grd_hmdlspipeinfo.row,grd_hmdlspipeinfo.colRef("alh"));
- var vlh = grd_hmdlspipeinfo.valueMatrix(grd_hmdlspipeinfo.row,grd_hmdlspipeinfo.colRef("vlh"));
- var remark = grd_hmdlspipeinfo.valueMatrix(grd_hmdlspipeinfo.row,grd_hmdlspipeinfo.colRef("remark"));
- var bfr = grd_hmdlspipeinfo.valueMatrix(grd_hmdlspipeinfo.row,grd_hmdlspipeinfo.colRef("bfr"));
-
- grd_hmdlspipeinfo.insertItem(grd_hmdlspipeinfo.row ,"after");
- var sCurrentDate = getCurrentDate();
-
- var iRow = grd_hmdlspipeinfo.row - grd_hmdlspipeinfo.fixedRows + 1 ;
- //alert("iRow = " + iRow);
-
- grd_hmdlspipeinfo.cellStyle("background-image", + grd_hmdlspipeinfo.row, grd_hmdlspipeinfo.colRef("stu")) = "../../../com/commonweb/images/icon_i.gif"; //insert 상태값이미지
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/status" , "i" ); // 상태값 설정 (insert)
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/partflag" , partflag );
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/kindflag1" , kindflag1 );
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/kindflag2" , kindflag2 );
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/statusflag" , "2" );
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/btdgseq" , btdgseq );
-
- //20120330 by kya
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/redness" , redness );
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/bruise" , bruise );
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/fixsuture" , fixsuture );
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/hematoma" , hematoma );
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/ap" , ap );
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/vp" , vp );
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/alh" , alh );
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/vlh" , vlh );
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/remark" , remark);
-
- grd_hmdlspipeinfo.isReadOnly(grd_hmdlspipeinfo.row, grd_hmdlspipeinfo.colRef("statusflag")) = true; //statusflag
- grd_hmdlspipeinfo.isReadOnly(grd_hmdlspipeinfo.row, grd_hmdlspipeinfo.colRef("elmnersnflag")) = false; //elmnersnflag
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/srgopdd" , sCurrentDate ); // 수행일자
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/btdgdd" , sCurrentDate ); // 기록일자
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/btdgnm" , getUserName()); // 기록자
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/pid" , model.getValue("/root/main/reclist/recinfolists/pid")); // 등록번호
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/maintepatrgstdd", model.getValue("/root/main/reclist/recinfolists/maintepatrgstdd")); // 유지환자등록일자
- grd_hmdlspipeinfo.merge();
- ]]>
- </script>
- </button>
- <caption id="caption9" class="tit_2" style="left:0px; top:265px; width:118px; height:13px; vertical-align:middle; ">혈관내압측정비</caption>
- <line id="line8" class="line_1" style="x1:0px; y1:278px; x2:915px; y2:278px; "/>
- <datagrid id="grd_bvipinfo" nodeset="/root/main/reclist/recinfo/bvipinfolist/bvipinfo" autoresize="true" caption="상태^기록일시^기록일시^특이사항^등록번호^recid^seqno^itemflag" colsep="^" colwidth="0, 102, 65, 686, 0, 0, 0, 0, 26" rowheader="seq" rowsep="|" style="left:0px; top:283px; width:915px; height:175px; vertical-align:middle; ">
- <col ref="status"/>
- <col ref="recdd" type="inputdate" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="rectm" type="inputbutton" format="hh:nn" style="text-align:center; "/>
- <col ref="spcffact" type="input" style="text-align:left; "/>
- <col ref="pid"/>
- <col ref="recid"/>
- <col ref="seqno"/>
- <col ref="itemflag"/>
- <col class="update_n" ref="stu"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var iRow = grd_bvipinfo.row;
- if(model.getValue("/root/main/reclist/recinfo/bvipinfolist/bvipinfo["+iRow+"]/status") == "") {
- model.makeValue("/root/main/reclist/recinfo/bvipinfolist/bvipinfo["+iRow+"]/status", "u"); // 상태값 설정 (update)
- grd_bvipinfo.cellStyle("background-image", + grd_bvipinfo.row, grd_bvipinfo.colRef("stu")) = "../../../com/commonweb/images/icon_u.gif"; //방향컬럼추가로 인덱스수정10->11-20091016-kys
- }
-
- //fSetSpcfFactList(grd_bvipinfo); // 혈관내압측정비 특이사항 리스트 수정시 상태값 설정
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if (grd_bvipinfo.col == 3) {
- grd_bvipinfo.textmatrix((grd_bvipinfo.row), 3) = getCurrentTime().substr(0,4); // 기록시간 지정(현재시간)
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_addrowbvip" class="btn2_letter3" style="left:805px; top:258px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAddRowSpcfFact(grd_bvipinfo);
- ]]>
- </script>
- </button>
- <button id="btn_delrowbvip" class="btn2_letter3" style="left:861px; top:258px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_bvipinfo.rows < 2){
- return;
- }
-
- var iRow = grd_bvipinfo.row;
- if (iRow < 0 ) return;
-
- if (model.getValue("/root/main/reclist/recinfo/bvipinfolist/bvipinfo["+iRow+"]/status") != "i") {
- model.setValue("/root/main/reclist/recinfo/bvipinfolist/bvipinfo["+iRow+"]/status", "d"); // 상태값 설정 (delete)
- grd_bvipinfo.rowstatus(iRow) = "4";
- grd_bvipinfo.cellStyle("background-image",iRow, grd_bvipinfo.colRef("stu")) = "../../../com/commonweb/images/icon_d.gif"; //방향컬럼추가로 인해 10->11로 변경-20091016-kys
- //fSaveHDPipeInfo(); // 혈액투석도관정보 저장
- // fDelPipeMasterInfo(); // 데이터 모두 삭제 되어 해당일시에 기록정보 없을 경우
- } else {
- grd_bvipinfo.deleteItem(iRow); // 동정맥루 관리 선택 행삭제
- }
-
- ]]>
- </script>
- </button>
- <select1 id="rdo_bvip" ref="/root/main/condition/bvipvalue" class="radio_search" appearance="full" cols="2" overflow="visible" style="left:151px; top:260px; width:225px; height:15px; text-align:left; background-color:transparent; border-color:transparent; border-style:none; ">
- <choices>
- <item>
- <label>Access Flow(ml/min)</label>
- <value>Access Flow(ml/min) :</value>
- </item>
- <item>
- <label>SIAPR</label>
- <value>SIAPR :</value>
- </item>
- </choices>
- </select1>
- <button id="button2" class="btn2_letter4" style="left:795px; top:32px; width:64px; height:19px; ">
- <caption>유지추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
-
- var btdgseq = grd_hmdlspipeinfo.valueMatrix(grd_hmdlspipeinfo.row , grd_hmdlspipeinfo.colRef("btdgseq"));//model.getValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + grd_hmdlspipeinfo.row + "]/btdgseq") ;
- var statusflag = grd_hmdlspipeinfo.valueMatrix(grd_hmdlspipeinfo.row , grd_hmdlspipeinfo.colRef("statusflag"));
- //alert("btdgseq = " + btdgseq)
- //alert("statusflag = " + statusflag)
- if( ( btdgseq == "" ) || ( statusflag == "2") )
- {
- messageBox("유지추가를", "E001", "");
- return;
- }else{
- for( i=grd_hmdlspipeinfo.fixedRows ; i<= grd_hmdlspipeinfo.rows ; i++){
-
- //if( (model.getValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + i + "]/statusflag") == "2" ) &&
- // ( model.getValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + i + "]/btdgseq") == btdgseq)
- if( ( grd_hmdlspipeinfo.valueMatrix( i , grd_hmdlspipeinfo.colRef("statusflag")) == "2" ) &&
- ( grd_hmdlspipeinfo.valueMatrix( i , grd_hmdlspipeinfo.colRef("btdgseq")) == btdgseq) ) {
- messageBox("제거가 이미 있습니다.", "E");
- return;
- }
- }
- }
- partflag = grd_hmdlspipeinfo.valueMatrix(grd_hmdlspipeinfo.row,grd_hmdlspipeinfo.colRef("partflag")) ;
- kindflag1 = grd_hmdlspipeinfo.valueMatrix(grd_hmdlspipeinfo.row,grd_hmdlspipeinfo.colRef("kindflag1"));
- kindflag2 = grd_hmdlspipeinfo.valueMatrix(grd_hmdlspipeinfo.row,grd_hmdlspipeinfo.colRef("kindflag2")) ;
- btdgseq = grd_hmdlspipeinfo.valueMatrix(grd_hmdlspipeinfo.row,grd_hmdlspipeinfo.colRef("btdgseq"));
-
- var redness = grd_hmdlspipeinfo.valueMatrix(grd_hmdlspipeinfo.row,grd_hmdlspipeinfo.colRef("redness"));
- var bruise = grd_hmdlspipeinfo.valueMatrix(grd_hmdlspipeinfo.row,grd_hmdlspipeinfo.colRef("bruise"));
- var fixsuture = grd_hmdlspipeinfo.valueMatrix(grd_hmdlspipeinfo.row,grd_hmdlspipeinfo.colRef("fixsuture"));
- var hematoma = grd_hmdlspipeinfo.valueMatrix(grd_hmdlspipeinfo.row,grd_hmdlspipeinfo.colRef("hematoma"));
- var ap = grd_hmdlspipeinfo.valueMatrix(grd_hmdlspipeinfo.row,grd_hmdlspipeinfo.colRef("ap"));
- var vp = grd_hmdlspipeinfo.valueMatrix(grd_hmdlspipeinfo.row,grd_hmdlspipeinfo.colRef("vp"));
- var alh = grd_hmdlspipeinfo.valueMatrix(grd_hmdlspipeinfo.row,grd_hmdlspipeinfo.colRef("alh"));
- var vlh = grd_hmdlspipeinfo.valueMatrix(grd_hmdlspipeinfo.row,grd_hmdlspipeinfo.colRef("vlh"));
- var remark = grd_hmdlspipeinfo.valueMatrix(grd_hmdlspipeinfo.row,grd_hmdlspipeinfo.colRef("remark"));
- var bfr = grd_hmdlspipeinfo.valueMatrix(grd_hmdlspipeinfo.row,grd_hmdlspipeinfo.colRef("bfr"));
-
- grd_hmdlspipeinfo.insertItem(grd_hmdlspipeinfo.row ,"after");
- var sCurrentDate = getCurrentDate();
- var iRow = grd_hmdlspipeinfo.row - grd_hmdlspipeinfo.fixedRows + 1 ;
- //alert("iRow = " + iRow);
-
- grd_hmdlspipeinfo.cellStyle("background-image", + grd_hmdlspipeinfo.row, grd_hmdlspipeinfo.colRef("stu")) = "../../../com/commonweb/images/icon_i.gif"; //insert 상태값이미지
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/status" , "i" ); // 상태값 설정 (insert)
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/partflag" , partflag );
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/kindflag1" , kindflag1 );
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/kindflag2" , kindflag2 );
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/statusflag" , "3" );
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/btdgseq" , btdgseq );
-
- //20120330 by kya
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/redness" , redness );
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/bruise" , bruise );
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/fixsuture" , fixsuture );
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/hematoma" , hematoma );
-
-
- grd_hmdlspipeinfo.isReadOnly(grd_hmdlspipeinfo.row, grd_hmdlspipeinfo.colRef("statusflag")) = true; //statusflag
- grd_hmdlspipeinfo.isReadOnly(grd_hmdlspipeinfo.row, grd_hmdlspipeinfo.colRef("elmnersnflag")) = false; //elmnersnflag
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/srgopdd" , sCurrentDate ); // 수행일자
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/btdgdd" , sCurrentDate ); // 기록일자
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/btdgnm" , getUserName()); // 기록자
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/pid" , model.getValue("/root/main/reclist/recinfolists/pid")); // 등록번호
- model.setValue("/root/main/reclist/recinfo/hmdlspipeinfolist/hmdlspipeinfo[" + iRow + "]/maintepatrgstdd", model.getValue("/root/main/reclist/recinfolists/maintepatrgstdd")); // 유지환자등록일자
- grd_hmdlspipeinfo.merge();
- ]]>
- </script>
- </button>
- </group>
- <output id="opt_maintepatrgstdd" ref="/root/main/reclist/recinfolists/maintepatrgstdd" class="output_fix" visibility="hidden" style="left:450px; top:5px; width:75px; height:19px; "/>
- <output id="opt_pid" ref="/root/main/reclist/recinfolists/pid" class="output_fix" visibility="hidden" style="left:365px; top:5px; width:80px; height:19px; "/>
- <button id="button9" class="btn2_letter4" style="left:205px; top:415px; width:64px; height:19px; ">
- <caption>신규등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetNewRecInfo(); // 신규등록버튼 클릭 시
- ]]>
- </script>
- </button>
- <caption id="caption14" class="tit_2" style="left:284px; top:12px; width:76px; height:13px; vertical-align:middle; ">기록정보</caption>
- <output id="opt_cretfalg" ref="/root/main/chklist/chkinfo/cretfalg" class="output_fix" visibility="hidden" style="left:670px; top:35px; width:70px; height:19px; "/>
- <output id="opt_chkpid" ref="/root/main/chklist/chkinfo/pid" class="output_fix" visibility="hidden" style="left:585px; top:35px; width:70px; height:19px; "/>
- <button id="btn_srchccmlinfo" class="btn2_letter4" disabled="true" style="left:138px; top:415px; width:64px; height:19px; ">
- <caption>누적조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSrchCoduitrecList(GiRow); // 환자별 도관기록 리스트 조회
- fSrchHDPipeInfo("X"); // 혈액투석 도관기록 조회
- ]]>
- </script>
- </button>
- <datagrid id="grd_hdmatnpatinfo" nodeset="/root/main/hdmatnpatlist/hdmatnpatinfo" backcoloralternate="transparent" caption="등록번호^환자명^S/A^유지환자등록일자" colsep="^" colwidth="80, 85, 59, 0" focuscolor="transparent" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:135px; width:274px; height:605px; ">
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="sexage"/>
- <col ref="maintepatrgstdd"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if (grd_hdmatnpatinfo.row > 0) {
- GiRow = grd_hdmatnpatinfo.row;
-
- fSetHDPipeInfo(GiRow); // 혈액투석 유지환자리스트에서 환자 선택 시 도관기록 리스트 및 누적조회, 환자정보를 설정
-
- }
- ]]>
- </script>
- </datagrid>
- <output id="output1" ref="/root/main/reclist/recinfolists/cretno" class="output_fix" visibility="hidden" style="left:620px; top:5px; width:75px; height:19px; "/>
- <output id="output2" ref="/root/main/reclist/recinfolists/orddd" class="output_fix" visibility="hidden" style="left:535px; top:5px; width:80px; height:19px; "/>
- <output id="output3" ref="/root/main/reclist/recinfolists/orddeptcd" class="output_fix" visibility="hidden" style="left:790px; top:5px; width:75px; height:19px; "/>
- <output id="output4" ref="/root/main/reclist/recinfolists/histstat" class="output_fix" visibility="hidden" style="left:705px; top:5px; width:80px; height:19px; "/>
- <output id="output5" ref="/root/main/reclist/recinfolists/orddrid" class="output_fix" visibility="hidden" style="left:875px; top:5px; width:75px; height:19px; "/>
- <datagrid id="grd_coduitrecinfo" nodeset="/root/main/coduitreclist/coduitrecinfo" visibility="hidden" caption="기록일자^기록시간^기록자^pid^유지환자등록일자" colsep="^" colwidth="103, 58, 73, 0, 0" focuscolor="transparent" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:30px; top:215px; width:100px; height:100px; ">
- <col ref="recdd" format="yyyy-mm-dd"/>
- <col ref="rectm" format="hh:nn"/>
- <col ref="recnm"/>
- <col ref="pid"/>
- <col ref="maintepatrgstdd"/>
- </datagrid>
- </group>
- </xhtml:body>
- </xhtml:html>
|