1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081 |
- <?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>CDSS 항생제</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <cond>
- <resnflagno>11</resnflagno>
- <lrgno/>
- <mdlno/>
- <smlno/>
- </cond>
- <antibiodetaillist>
- <info>
- <comcd/>
- <histseq/>
- <drugmthdspccd/>
- <prcpcd/>
- <prcpnm/>
- <prcpvol/>
- <prcpqty/>
- <prcptims/>
- <prcpdayno/>
- <drugmthdspccdnm/>
- </info>
- </antibiodetaillist>
- <prcp>
- </prcp>
- <antibiorecommlist/>
- <paramlist/>
- <paminfo/>
- <senddata/>
- <antibiotics>
- <antibioticslist>
- <anticlscd>20</anticlscd>
- <addyn/>
- <resncd/>
- <resnetc/>
- </antibioticslist>
- </antibiotics>
- <codedata>
- <popupmenu>
- <grid>
- <item>
- <name>삭제</name>
- <func>fDeleteRow</func>
- </item>
- </grid>
- </popupmenu>
- </codedata>
- <cdssdruglist/>
- </main>
- <drugcalc>
- <prcpvol/>
- <prcpqty/>
- <prcptims/>
- </drugcalc>
- <send>
- <cond1/>
- <cond2/>
- <cond3/>
- <cond4/>
- <cond5/>
- <cond6/>
- <cond99/>
- <reqdata/>
- <condition>
- <srchflag>S</srchflag>
- <srchnm/>
- </condition>
- <reqdata/>
- </send>
- <prcpsrch>
- <prcplist>
- </prcplist>
- </prcpsrch>
- <hidden>
- <icomment/>
- <smlcomment/>
- <addflag/>
- </hidden>
- <init>
- <M0342list/>
- <hardcode/>
- <hard/>
- </init>
- <prcpsrch/>
- <prcptemp/>
- <prcpdel/>
- <tmedmthd>
- <tmedmthdlist>
- <status/>
- <abbrnm/>
- <mthdcnts/>
- <mthdcd/>
- <basecnt/>
- <adminpath/>
- <mealflag/>
- <drdirecyn/>
- </tmedmthdlist>
- </tmedmthd>
- </root>
- </instance>
- <submission id="TRMMD01608" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/antibiorecommlist"/>
- <submission id="TRMMD01605" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/prcp"/>
- <submission id="submission1" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/antibiodetaillist"/>
- <submission id="TRMMO00100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/prcpsrch"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRMMD01607" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/cdssdruglist"/>
- <submission id="TRMMO01901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/tmedmthd"/>
- <submission id="TRMMB04103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/init/hard/hardcd" resultref="/root/init/hardcode"/>
- <submission id="TRMMD01702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/antibiorecommlist"/>
- <script type="javascript" ev:event="xforms-model-construct">
- <![CDATA[
- model.removeNodeset ( "/root/main/prcp/prcplist" );
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- reqHardCodeInfo("/root/init/hard","/root/init/hardcode","86");
- if(model.getValue("/root/init/hardcode/hardcd/hardcd")=="N"){
- button26.visible = false;
-
- }
- else if(model.getValue("/root/init/hardcode/hardcd/hardcd")=="Y"){
- button26.visible = true;
- }
- body.disabled = false;
- zbcfGetCodeList(new Array("M0342"),
- new Array("/root/init/M0342list"));
- button3.selected = true;
-
- if(getUserId() != "EMR"){ // 'EMR'로 로긴시에는 처방되도록 처리
- // 버튼 권한 처리 20080319 정연우 , 권한체크시 문제가 발생 공통팀 조치 후 풀 예정 20080819 임우성
- //if(checkAuth("R")) { // 읽기 권한이 있을때 로드시 데이터 세팅.
- // 2008.09.12 초기는 아무것도 선택되지 않도록 처리
- fSetData();
- //}
- /* 권한체크시 문제가 발생 공통팀 조치 후 풀 예정 20080819 임우성
- button1.disabled = !checkAuth("R"); // Prophylaxis
- button8.disabled = !checkAuth("R"); // Empirical
- button3.disabled = !checkAuth("R"); // Targeted therapy
- btn_srchanti.disabled= !checkAuth("R"); // 검색
- button26.disabled = !checkAuth("X"); // 항생제추가
- button2.disabled = !checkAuth("R"); // 항생제사용력
- */
- //if(opener.model.getValue ( "/root/usge" ) == "") { // 메뉴에서 항생제처방관리시스템 선택으로 팝업시 확인버튼 disable(처방에서 팝업시 /root/usge 값 "prcp")
- //button92.disabled = true;
- //}
- } else {
- // 2008.09.12 초기는 아무것도 선택되지 않도록 처리
- fSetData(); // 'EMR'로 로긴시에는 데이터 보이도록
- //if(opener.model.getValue ( "/root/usge" ) == "") { // 메뉴에서 항생제처방관리시스템 선택으로 팝업시 확인버튼 disable(처방에서 팝업시 /root/usge 값 "prcp")
- //button92.disabled = true;
- //}
- }
-
- ]]>
- </script>
- </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="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMO00100.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript">
- <![CDATA[
- function fInit(){
-
- if(button1.selected == true || button8.selected == true || button3.selected == true) {
- //if(button1.selected == true || button8.selected == true ) {
-
- //button26.visible = true;
- button26.disabled = false;
- //button26.refresh();
-
- }
- grp_comcd.visible = false;
-
- model.removeNodeset("/root/send/reqdata");
- model.removeNodeset("/root/main/antibiorecommlist");
- model.setValue("/root/hidden/icomment", "");
- txt_comment.refresh();
- model.setValue("/root/hidden/smlcomment", "");
- txt_smlcomment.refresh();
- model.removeNodeset("/root/main/antibiodetaillist");
- model.setFocus("input17");
- input17.disabled = false;
- model.setValue("/root/send/condition/srchflag","S");
- // model.removeNodeset("/root/main/prcp");
- // model.makeNode("/root/main/prcp");
- model.refresh();
- return;
- }
-
- function fDeleteRow() {
-
- var selectedRows = grd_prcplist.selectedRows;
- //selectedRows = grd_prcplist.row;
-
- //alert(selectedRows);
- //alert(grd_prcplist.row);
- var node = instance1.selectSingleNode("/root/main/prcp");
- var cnt=0;
- var prcpNode = "/root/main/prcp/prcplist";
-
- if (grd_prcplist.row<0){
- return;
- }
-
- for (i= selectedRows-1; i >= 0; i--){
- //삭제시 되살리기를 위해 버퍼에 저장한다.
- //alert("grd_prcplist.selectedrow(i) : "+grd_prcplist.selectedrow(i));
- fPrcpBuffer( ++cnt, grd_prcplist.selectedrow(i), "/root/prcpdel", prcpNode );
-
- // removeNode 이다.
- model.removeNode ( prcpNode + "[" + grd_prcplist.selectedrow(i) + "]" );
-
- }
-
- grd_prcplist.rebuild();
- }
-
- function fRecommendedList(resnFlag, smlNo, drugkind){
- var gridRow = ivw_prophylaxis.grd_smlno.selectedRow(0);
- model.removeNodeset("/root/send/reqdata");
- model.removeNodeset("/root/main/antibiodetaillist");
- model.setValue("/root/hidden/icomment", "");
- txt_comment.refresh();
- model.makeValue("/root/hidden/smlcomment", ivw_prophylaxis.model.getValue("/root/main/antibiosmlnolist/info["+ gridRow + "]/smlcomment"));
- txt_smlcomment.refresh();
- model.makeValue("/root/send/reqdata/smlno", smlNo);
- model.makeValue("/root/send/reqdata/resnflag", resnFlag);
- model.makeValue("/root/send/reqdata/drugkind", drugkind);
- submit("TRMMD01608");
- //2008.09.18 pymi
- grd_antibiorecommlist.allStyle("all", "background-color") = "#ffffff";
- //grd_antibiorecommlist.select(1,1) = true;
- // grd_antibiorecommlist.mergecol(0)=false;
- // grd_antibiorecommlist.mergecol(2)=false;
- grd_antibiorecommlist.mergeCellsFixedCols="bycol";
- //fDetailList(1);
- return;
- }
- function fDetailList(gridRow){
- //alert(gridRow);
- if(grd_antibiorecommlist.rows - grd_antibiorecommlist.fixedRows >= 1 ){
- model.makeValue("/root/hidden/icomment", model.getValue("/root/main/antibiorecommlist/info["+ gridRow + "]/icomment"));
-
- if( ivw_prophylaxis.model.getValue("/root/hidden/resnflagno") == "12" ){
-
- model.makeValue("/root/hidden/smlcomment", model.getValue("/root/main/antibiorecommlist/info["+ gridRow + "]/smlcomment"));
- txt_smlcomment.refresh();
- }
-
- model.refresh();
-
- }
- return;
- }
-
- //destRow 선택된 아이템에 copy할 행
- //srcRow 추천항생제그리드에서 선택한 행
- function fAntibioDetailCopy(srcRow, destRow){
- //var selCurRow = grd_prcplist.rows - grd_prcplist.fixedRows;
- //처방 검색 성공시 처리
- if( !isNull(model.getValue("/root/prcpsrch/prcplist/prcpcd" ))){
- if( destRow > 0 ){
- if( !isNull(model.getValue("/root/main/antibiorecommlist/info[" + srcRow + "]/prcpvol" ))){
- model.setValue("/root/main/prcp/prcplist[" + destRow + "]/prcpvol" , model.getValue("/root/main/antibiorecommlist/info[" + srcRow + "]/prcpvol" ));
- }
- if( !isNull(model.getValue("/root/main/antibiorecommlist/info[" + srcRow + "]/prcpqty" ))){
- model.setValue("/root/main/prcp/prcplist[" + destRow + "]/prcpqty" , model.getValue("/root/main/antibiorecommlist/info[" + srcRow + "]/prcpqty" ));
- }
- if( !isNull(model.getValue("/root/main/antibiorecommlist/info[" + srcRow + "]/prcptims" ))){
- model.setValue("/root/main/prcp/prcplist[" + destRow + "]/prcptims" , model.getValue("/root/main/antibiorecommlist/info[" + srcRow + "]/prcptims" ));
- }
- if( !isNull(model.getValue("/root/main/antibiorecommlist/info[" + srcRow + "]/prcpdayno" ))){
- model.setValue("/root/main/prcp/prcplist[" + destRow + "]/prcpdayno" , model.getValue("/root/main/antibiorecommlist/info[" + srcRow + "]/prcpdayno" ));
- }
- if( !isNull(model.getValue("/root/main/antibiorecommlist/info[" + srcRow + "]/drugmthdspccd" ))){
- model.setValue("/root/main/prcp/prcplist[" + destRow + "]/drugmthdspccd" , model.getValue("/root/main/antibiorecommlist/info[" + srcRow + "]/drugmthdspccd" ));
- model.setValue("/root/main/prcp/prcplist[" + destRow + "]/drugmthdspccdnm" , model.getValue("/root/main/antibiorecommlist/info[" + srcRow + "]/drugmthdspccdnm" ));
- }
-
- }
- }
- }
-
- function fAddPrcpList(prcpcd, srcRow){
- var prcpdd = "";
-
- if ( isPopup() && !isNull(opener.model.getValue ( "/root/init/prcpdd" ))) {
- prcpdd = opener.model.getValue ( "/root/init/prcpdd" );
- } else {
- prcpdd = getCurrentDate();
- }
-
- if(!isPopup()){
-
- fPrcpSrchCom ( prcpcd, prcpdd, "00", "TRMMO00100", "-", false, "getPrcpCdSrchInfo" );
-
- }else{
-
- fPrcpSrchCom ( prcpcd, prcpdd, opener.model.getValue ( "/root/paminfo/list/insukind"), "TRMMO00100", "-", false, "getPrcpCdSrchInfo" );
-
- }
-
- appendChildPrcp ( "/root/prcpsrch/prcplist" , "/root/main/prcp", "main", "I" );
-
- model.refresh();
-
- if( srcRow > 0 ){
- fAntibioDetailCopy(srcRow, grd_prcplist.rows- grd_prcplist.fixedRows);
- model.refresh();
- }
-
- }
-
- function fSetAntibioAdd(){
- model.removeNodeset("/root/main/paramlist");
- model.makeNode("/root/main/paramlist");
- var strCSV = getParameter("saveparam");
- setCSVToNode("/root/main/paramlist", strCSV, "info");
- //var rowBfr = grd_prcplist.rows- grd_prcplist.fixedRows;
-
- if( fSetRemAdd()){// 추가사항입력받는부분
-
- var node = instance1.selectNodes("/root/main/paramlist/info");
- for( rownum=1 ; rownum <= node.length ; rownum++ ){
-
- var prcpcd = model.getValue ( "/root/main/paramlist/info[" + rownum + "]/prcpcd" );
- var nodeListPrcp = instance1.selectNodes("/root/main/prcp/prcplist[prcpcd = '"+prcpcd+"']");
- if ( nodeListPrcp != null && nodeListPrcp.length > 0 ){
- continue;
- }
- //model.setValue("/root/hidden/addflag", "Y");
- fAddPrcpList(prcpcd, 0); //항생제추천에 있는항목이 아니므로 항생제추천 그리드의 항목copy가 불필요하므로 srcRow : 0
- //rowBfr = rowBfr + 1;
- if( !isNull(model.getValue("/root/prcpsrch/prcplist/prcpcd" ))){
- fMakeRemNode("Y");//추가사항 넘겨주는 노드생성
-
- }
-
- grd_prcplist.rebuild();
- }
- setParameter("saveparam", "");
- // 항생제 추가화면에서 계속 추가할수 있도록 modal유지
- body.disabled = true;
-
- return true;
-
- }else {
- return false;
-
- }
- }
-
- function fSetRemAdd(prcpcd){
- var saveFlagInfoNodeList = instance1.selectNodes( "/root/main/antibiotics/antibioticslist[addyn='Y']" );
- if( saveFlagInfoNodeList == null || saveFlagInfoNodeList.length <= 0 ){
- modal("SPMMD03100", "", "", "", "popup", "", "");
- //modal("SPMMD03100");
- if(getParameter("SPMMD01600_useyn") != "Y"){
- setParameter("SPMMD01600_useyn",""); //clear
- return false;
- }
- }
- setParameter("SPMMD01600_useyn",""); //clear
- return true;
- }
- /*
- 선택 항생제에 항생제사용여부저장을 위한 컬럼 생성
- /root/main/prcp/prcplist/tempcol8: antibiotics|~
- */
- function fMakeRemNode(pAddYn){
- var rowCur = grd_prcplist.rows - grd_prcplist.fixedRows;
- var lrgno = "";
- var mdlno = "";
- var smlno = "";
- var resncd = "";
- var resnetc = "";
- var antibioflag = "";
- var gridRow = 0;
- var lrgno = 0;
- var mdlno = 0;
- var smlno = "";
- var limdayno = "";
- // for( idx = 1 ; idx <= grd_prcplist.rows - grd_prcplist.fixedRows ; idx++ ){
- // }
- // model.makeValue("/root/main/antibiotics/antibioticslist/anticlscd", "20");//20: 항생제, 10: 추천항생제
- // model.makeValue("/root/main/antibiotics/antibioticslist/antibioflag", model.getValue("/root/main/cond/resnflagno"));//Prophylaxis:11, Targeted therapy:12, Empirical:13
- //항생제 추가를 통해 추가될경우 대중소분류가 존재하지 않는다. pAddYn = "Y" 항생제 추가버튼을 통해 추가
- //항생제 추가사유는 추가버튼을 통해 추가될경우에만 입력된다.
- if( pAddYn != "Y"){
- antibioflag = model.getValue("/root/main/cond/resnflagno");//antibioflag Prophylaxis:11, Targeted therapy:12, Empirical:13
-
- if ( antibioflag == "12"){
- lrgno = 0;
- mdlno = 0;
- gridRow = grd_antibiorecommlist.selectedRow(0);
- smlno = model.getValue("/root/main/antibiorecommlist/info[" + gridRow + "]/smlno");
- } else {
- gridRow = ivw_prophylaxis.grd_lrgno.selectedRow(0);
- lrgno = ivw_prophylaxis.model.getValue("/root/main/antibiolrgnolist/info[" + gridRow + "]/lrgno");
-
- gridRow = ivw_prophylaxis.grd_mdlno.selectedRow(0);
- mdlno = ivw_prophylaxis.model.getValue("/root/main/antibiomdlnolist/info[" + gridRow + "]/mdlno");
-
- gridRow = ivw_prophylaxis.grd_smlno.selectedRow(0);
- smlno = ivw_prophylaxis.model.getValue("/root/main/antibiosmlnolist/info[" + gridRow + "]/smlno");
-
- }
- resncd = "";
- resnetc = "";
-
-
- }else {
- lrgno = "";
- mdlno = "";
- smlno = "";
- resncd = model.getValue("/root/main/antibiotics/antibioticslist/resncd");
- resnetc = model.getValue("/root/main/antibiotics/antibioticslist/resnetc");
- antibioflag = "";
- }
-
- //선택된 항생제의 제한처방일수
- gridRow = grd_antibiorecommlist.selectedRow(0);
- limdayno = model.getValue("/root/main/antibiorecommlist/info[" + gridRow + "]/limdayno");
- if (limdayno == "") {
- limdayno = "3";
- }
- var strParam = "antibiotics|" +
- "20" + "|"+ //anticlscd 20: 항생제, 10: 추천항생제
- antibioflag + "|"+
- lrgno + "|"+
- mdlno + "|"+
- smlno + "|"+
- pAddYn + "|"+
- resncd + "|"+
- resnetc + "|"+
- limdayno + "|"+
- ""; //LimAprvNo
-
- //copyNodesetType("/root/antibiotics","/root/main/antibiotics","replace",opener.model,model);
- //삭제 후 원내보유항생제 더블클릭시 오류 수정 by 손주연 2007-12-27
- if( rowCur < 1 ) {
- rowCur = 1;
- }
- model.makeNode("/root/main/prcp/prcplist["+rowCur+"]/tempcol8");
- model.setValue("/root/main/prcp/prcplist["+rowCur+"]/tempcol8", strParam);
- }
-
- function fShowSearchList() {
- grp_comcd.visible= true;
- }
-
- function fSearchNo(){
- //grp_comcd.visible= false;
- var sCondPath = "/root/send/reqdata";
- var sSrchNm = model.getValue("/root/send/condition/srchnm");
-
- if( sSrchNm.length == "" ) {
- messageBox("검색어를","C001");
- return ;
- }
-
-
- model.makeNode(sCondPath + "/srchflag" );
- model.setValue(sCondPath + "/srchflag" , model.getValue("/root/send/condition/srchflag"));
-
- model.makeNode(sCondPath + "/resnflagno" );
-
- if(button1.selected == true){
- model.setValue(sCondPath+ "/resnflagno" , 11);
- } else if(button8.selected == true){
- model.setValue(sCondPath+ "/resnflagno" , 13);
- }
- model.makeNode(sCondPath + "/srchnm" );
- model.setValue(sCondPath+ "/srchnm" , sSrchNm);
-
- //model.copyNode("/root/send/reqdata", "/root/send/condition");
- submit("TRMMD01607");
- grp_comcd.visible= true;
- }
- function fSetData(){
- fInit();
-
- if(button1.selected == true){
- model.setValue("/root/main/cond/resnflagno", 11);
- model.setValue("/root/main/cond/lrgno", model.getValue("/root/main/cdssdruglist/cdssinfo[" + grd_cdssdruglist.row + "]/lrgno"));
- model.setValue("/root/main/cond/mdlno", model.getValue("/root/main/cdssdruglist/cdssinfo[" + grd_cdssdruglist.row + "]/mdlno"));
- model.setValue("/root/main/cond/smlno", model.getValue("/root/main/cdssdruglist/cdssinfo[" + grd_cdssdruglist.row + "]/smlno"));
-
- ivw_prophylaxis.src = "../../../emr/cpcdssweb/xrw/SPMMD01800_항생제Prophylaxis.xrw";
- button1.selected = true;
- } else if(button8.selected == true){
- model.setValue("/root/main/cond/resnflagno", 13);
- model.setValue("/root/main/cond/lrgno", model.getValue("/root/main/cdssdruglist/cdssinfo[" + grd_cdssdruglist.row + "]/lrgno"));
- model.setValue("/root/main/cond/mdlno", model.getValue("/root/main/cdssdruglist/cdssinfo[" + grd_cdssdruglist.row + "]/mdlno"));
- model.setValue("/root/main/cond/smlno", model.getValue("/root/main/cdssdruglist/cdssinfo[" + grd_cdssdruglist.row + "]/smlno"));
-
- ivw_prophylaxis.src = "../../../emr/cpcdssweb/xrw/SPMMD02000_항생제Empirical.xrw";
- button8.selected = true;
- } else if(button3.selected == true) {
- // grd_antibiorecommlist.colhidden(0) = false;
- model.setValue("/root/main/cond/resnflagno", 12);
- ivw_prophylaxis.src = "../../../emr/cpcdssweb/xrw/SPMMD01900_항생제Targeted therapy.xrw";
- }
-
- grp_comcd.visible= false;
- }
-
- function fSearchInit() {
- model.setValue("/root/main/cond/lrgno", "");
- model.setValue("/root/main/cond/mdlno", "");
- model.setValue("/root/main/cond/smlno", "");
-
- // 검색창 데이터 삭제
- model.removeNodeset("/root/main/cdssdruglist/cdssinfo" );
- model.setValue("/root/send/condition/srchnm", "");
- }
-
- function fDelUndo_antibio () {
-
- // 복사할 소스노드를 선택한다.
- var srcNodeList = model.instances(0).selectNodes("/root/prcpdel/prcplist");
- //복사하기 위해 대상노드를 선택한다.
- var destNode = model.instances(0).selectSingleNode("/root/main/prcp");
-
- if ( srcNodeList.length == 0 ) { // srcNodeList.length : 선택된 행의 갯수
- messageBox ( "되살릴 삭제 데이터가", "I004" );
- return;
- }
-
- for (i= srcNodeList.length; i >= 1; i--) {
- //대상노드로 복사한다.
- //model.duplicate ( "/root/main/prcp", "/root/prcpdel/prcplist[" + i + "]", "*[" + insRow + "]" );
- destNode.appendChild(srcNodeList.item(i-1).cloneNode(true));
- }
- model.recalculate();
- grd_prcplist.refresh();
- fPrcpColor();
- //되살리기 한번만 해달라는 장효은 선생님 요청
- model.removeNodeset ( "/root/prcpdel/prcplist" );
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1175px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:162px; height:14px; ">CDSS 항생제</caption>
- </group>
- <group id="grp_btn" style="left:0px; top:757px; width:1175px; height:27px; ">
- <button id="button92" class="btn4_letter2" style="left:1057px; top:3px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // var nodeList = instance1.selectNodes("/root/main/prcp/prcplist[prcpdelivefact='Y' and status = 'I']");
- //
- // if( grd_prcplist.rows- grd_prcplist.fixedRows > 0
- // && (no deList != null && nodeList.length > 0)){
- // if(fSetRemAdd()){// 추가사항입력받는부분 여기아니라 주석처리
- // fMakeRemNode("Y");//추가사항 넘겨주는 노드생성
- // for( idx = 1 ; idx <= grd_prcplist.rows- grd_prcplist.fixedRows ; idx++ ){
- // model.setValue("/root/main/prcp/prcplist["+idx+"]/prcpdelivefact", "");
- // }
- // }else {
- // return;
- // }
- // }else{
- // fMakeRemNode("");
- // }
-
- // 20080925 항생제 추가 후 그리드 editting을 위해 화면 정보 get by MoonSH
- setParameter( "SPMMD01600_flag", "Y" );
-
- if ( opener.model.getValue ( "/root/usge" ) == "prms" ) {
- var srcNodeList = model.instances(0).selectNodes("/root/main/prcp/prcplist");
- var destNode = opener.model.instances(0).selectSingleNode("/root/main/prcp");
- var cnt = 0;
- for ( i=0; i < srcNodeList.length; i++ ){
- cnt = i + 1;
- if ( model.getValue ( "/root/main/prcp/prcplist[" + cnt + "]/status") == "I" ) {
- destNode.appendChild(srcNodeList.item(i).cloneNode(true));
- }
- }
- } else {
- //opener. model.setValue( "/root/init/antibioticsyn", "Y" );
- addPrcp ( "child", "/root/main/prcp/prcplist", "/root/main/prcp", "Y", "status", "I", grd_prcplist, "N", "17");
- }
- var chkNodeList = model.instances(0).selectNodes("/root/main/prcp/prcplist");
- if(chkNodeList.length == 0) {
- messageBox("선택된 항생제가 ", "I004");
- }
- //opener.grd_prcplist.col = opener.grd_prcplist.colref("prcpnm");
- //opener.grd_prcplist.editCell();
- window.close();
- ]]>
- </script>
- </button>
- <button id="button4" class="btn4_letter2" style="left:1114px; top:3px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <button id="button26" class="btn3_letter5" disabled="true" visibility="hidden" style="left:110px; top:3px; width:92px; height:22px; ">
- <caption>항생제추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SPMMD02800");
- // fSetAntibioAdd();
-
- ]]>
- </script>
- </button>
- <button id="button2" class="btn3_letter6" style="left:4px; top:3px; width:104px; height:22px; ">
- <caption>항생제사용력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var strParam = "";
- 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");
-
- if(ioflag == "I" || ioflag == "E"){
- pid = model.getValue("/root/main/paminfo/list/pid");
- indd = model.getValue("/root/main/paminfo/list/indd");
- }else if(ioflag == "O"){
- pid = model.getValue("/root/main/paminfo/list/pid");
- indd = model.getValue("/root/main/paminfo/list/orddd");
- }else{
- var rtn = messageBox("상단의 정보와 ", "E004");
- return;
- }
- strParam = pid + "▩"+ //pid
- indd + "▩"+ //fromdd
- getCurrentDate() ;//todd
- }
- // strParam = "00046462" + "▩"+ //pid
- // "20060529" + "▩"+ //fromdd
- // getCurrentDate() ;//todd
- setParameter("SMMMO02400_cond", strParam);
- open("SPMMO02400");
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:15px; width:1175px; height:743px; ">
- <datagrid id="grd_antibiorecommlist" nodeset="/root/main/antibiorecommlist/info" autoresize="true" caption="Rank^코드^확장코드^추천 항생제^코드^원내보유 항생제^투여경로^caption1" colsep="^" colwidth="39, 68, 57, 110, 251, 234, 60, 15, 20, 12" extendlastcol="scroll" fixedcols="4" rowsep="|" mergeCellsFixedCols="bycol" style="left:360px; top:315px; width:810px; height:210px; ">
- <col ref="rank" visibility="hidden"/>
- <col ref="comcd" visibility="hidden"/>
- <col ref="comexcd" visibility="hidden"/>
- <col ref="comnm"/>
- <col ref="prcpcd"/>
- <col ref="prcpnm"/>
- <col disabled="true" ref="drugkind" type="combo" visibility="hidden">
- <choices>
- <itemset nodeset="/root/init/M0342list/M0342">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="histseq" visibility="hidden"/>
- <col ref="refseq" visibility="hidden"/>
- <col ref="icomment" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(grd_antibiorecommlist.col < 4) {
- return;
- }
- var srcRow = grd_antibiorecommlist.mouseRow;
- var lastRow = grd_antibiorecommlist.rows - grd_antibiorecommlist.fixedRows;
- if( srcRow > 0 && srcRow <= lastRow ){
-
- var prcpcd = model.getValue ( "/root/main/antibiorecommlist/info[" + srcRow + "]/prcpcd" );
-
- for ( var idx = 1; idx <= lastRow ; idx++ ){
- var destRow = grd_prcplist.findRow(prcpcd, idx, grd_prcplist.colRef("prcpcd"), false, true);
- }
- if ( destRow > 0 ){
- fAntibioDetailCopy(srcRow, destRow);
- model.refresh();
- return;
- }
- fAddPrcpList(prcpcd, srcRow);
- if( !isNull(model.getValue("/root/prcpsrch/prcplist/prcpcd" ))){
- fMakeRemNode("");
-
- }
- // rowBfr = grd_prcplist.rows - grd_prcplist.fixedRows;
- // model.makeValue("/root/main/prcp/prcplist["+(rowBfr )+"]/tempcol8", "");
- grd_prcplist.rebuild();
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- //코드입력이 완료되지 않았을 경우 원내보유 항생제 조회가 되지 않도록...2007-12-29 손주연 수정 시작
- if( grd_antibiorecommlist.row > 0 ) {
- if ( (grd_antibiorecommlist.rowstatus( grd_antibiorecommlist.row ) == 1 ) ||
- (grd_antibiorecommlist.rowstatus( grd_antibiorecommlist.row ) == 3 ) ){
- if( model.getValue(grd_antibiorecommlist.nodeset + "[" + grd_antibiorecommlist.row + "]/smlno" ) == "" ) {
- grd_antibiorecommlist.editCell();
- }
- return ;
- }
- }
- //.2007-12-29 손주연 수정 종료
-
- var curRow = grd_antibiorecommlist.mouseRow;
- var lastRow = grd_antibiorecommlist.rows - grd_antibiorecommlist.fixedRows;
-
- if( curRow > 0 && curRow <= lastRow ){
-
- if ( grd_antibiorecommlist.col == grd_antibiorecommlist.colref("prcpcd")
- || grd_antibiorecommlist.col == grd_antibiorecommlist.colref("prcpnm") ){
- fDetailList(grd_antibiorecommlist.row);
- }else if ( grd_antibiorecommlist.col == grd_antibiorecommlist.colref("rank")
- || grd_antibiorecommlist.col == grd_antibiorecommlist.colref("comnm")) {
- grd_antibiorecommlist.editCell();
- }
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption1" class="tit_2" style="left:366px; top:295px; width:350px; height:13px; ">Recommended Antibiotics and 원내보유항생제</caption>
- <caption id="caption2" class="tit_2" style="left:366px; top:60px; width:348px; height:13px; ">참고 정보</caption>
- <line id="line2" class="line_1" style="x1:360px; y1:75px; x2:1170px; y2:75px; "/>
- <line id="line5" class="line_1" style="x1:360px; y1:310px; x2:1170px; y2:310px; "/>
- <button id="button1" class="btn_sw" group="tab" style="left:0px; top:5px; width:89px; height:22px; ">
- <caption>Prophylaxis</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInit();
-
- // 탭 재선택시 조회 데이터 초기화
- fSearchInit();
-
- model.setValue("/root/main/cond/resnflagno", 11);
- ivw_prophylaxis.src = "../../../emr/cpcdssweb/xrw/SPMMD01800_항생제Prophylaxis.xrw";
- ]]>
- </script>
- </button>
- <button id="button3" class="btn_sw" group="tab" style="left:168px; top:5px; width:118px; height:22px; ">
- <caption>Targeted therapy</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- fInit();
- grd_antibiorecommlist.colhidden(0) = false;
- model.setValue("/root/main/cond/resnflagno", 12);
- ivw_prophylaxis.src = "../../../emr/cpcdssweb/xrw/SPMMD01900_항생제Targeted therapy.xrw";
-
- ]]>
- </script>
- </button>
- <button id="button8" class="btn_sw" group="tab" style="left:89px; top:5px; width:79px; height:22px; ">
- <caption>Empirical</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInit();
-
- // 탭 재선택시 조회 데이터 초기화
- fSearchInit();
-
- model.setValue("/root/main/cond/resnflagno", 13);
- ivw_prophylaxis.src = "../../../emr/cpcdssweb/xrw/SPMMD02000_항생제Empirical.xrw";
- ]]>
- </script>
- </button>
- <line id="line8" class="line_1" style="x1:711px; y1:550px; x2:1170px; y2:550px; "/>
- <datagrid id="grd_prcplist" nodeset="/root/main/prcp/prcplist" autoresize="true" caption="코드^선택항생제^총용량^총용량^수량^수량^횟수^일수^용법/검체^caption1" colsep="^" colwidth="100, 47, 45, 24, 43, 24, 39, 40, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:711px; top:555px; width:459px; height:185px; ">
- <col ref="prcpcd"/>
- <col ref="prcpnm" visibility="hidden" style="left:21px; top:23px; width:260px; height:23px; text-align:left; focus-rect:visible; "/>
- <col ref="prcpvol" type="input" format="#.#" maxlength="5.3" style="text-align:center; focus-rect:visible; "/>
- <col ref="prcpvolunitnm" type="output" style="text-align:center; focus-rect:visible; "/>
- <col ref="prcpqty" type="input" format="#.#" maxlength="5.3" style="text-align:center; focus-rect:visible; "/>
- <col ref="prcpqtyunitnm" style="text-align:center; focus-rect:visible; "/>
- <col ref="prcptims" type="input" format="#" style="text-align:center; focus-rect:visible; "/>
- <col ref="prcpdayno" type="input" format="#" style="text-align:center; focus-rect:visible; "/>
- <col ref="drugmthdspccdnm" type="output" style="focus-rect:visible; "/>
- <col ref="drugmthdspccd" visibility="hidden"/>
- <col ref="prcpvolunitflag" visibility="hidden"/>
- <col ref="prcpqtyunitflag" visibility="hidden"/>
- <col ref="prcpvolunitnm" visibility="hidden"/>
- <col ref="prcpqtyunitnm" visibility="hidden"/>
- <col ref="limdayno" visibility="hidden"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- var currow = grd_prcplist.row;
- if ( grd_prcplist.col == grd_prcplist.colref("prcpdayno")) {
- fGridfBatIpt( "prcpdayno" );
- } else if ( grd_prcplist.col == grd_prcplist.colref("prcptims")) {
- fGridfBatIpt( "prcptims" );
- fBaseMthd(currow);
- if(event.keyCode == "13") {
- grd_prcplist.col = grd_prcplist.colref("prcpdayno");
- model.setfocus( "grd_prcplist" );
- grd_prcplist.editCell();
- }
- } else if ( grd_prcplist.col == grd_prcplist.colref("prcpqty")) {
- DrugCalc ( "prcpqty" , grd_prcplist.row);
- fGridfBatIpt( "prcpqty" );
- if(event.keyCode == "13") {
- grd_prcplist.col = grd_prcplist.colref("prcptims");
- model.setfocus( "grd_prcplist" );
- grd_prcplist.editCell();
- }
- } else if ( grd_prcplist.col == grd_prcplist.colref("prcpvol") ) {
- DrugCalc ("prcpvol" , grd_prcplist.row);
- if(event.keyCode == "13") {
- grd_prcplist.col = grd_prcplist.colref("prcpqty");
- model.setfocus( "grd_prcplist" );
- grd_prcplist.editCell();
- }
- }
- ]]>
- </script>
- <!--script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( grd_prcplist.col == grd_prcplist.colref("prcpvol")) {
- DrugCalc ("prcpvol" , grd_prcplist.row);
- } else if ( grd_prcplist.col == grd_prcplist.colref("prcpqty")) {
- DrugCalc ( "prcpqty" , grd_prcplist.row);
- } else if ( grd_prcplist.col == grd_prcplist.colref("prcptims")) {
- if ( model.getValue ( prcpNode + "[" + grd_prcplist.row + "]/prcpclscd") == "A2" ) {
- fBaseMthd();
- }
- }
- ]]>
- </script-->
- <script type="javascript" ev:event="onstartedit">
- <![CDATA[
- if ( grd_prcplist.col == grd_prcplist.colref("prcpvol")) {
- bfDrugCalc ( "prcpvol", grd_prcplist.row );
- } else if ( grd_prcplist.col == grd_prcplist.colref("prcpqty")) {
- bfDrugCalc ( "prcpqty", grd_prcplist.row );
- }
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- // if( grd_prcplist.isCell(event.target) && grd_prcplist.row >= grd_prcplist.fixedRows ) {
- // addPrcp ( "child", "/root/main/prcp/prcplist", "/root/main/prcp", "N", "status", "I", grd_prcplist, "N", "00");
- // }
-
- var prcpclscd = model.getValue( "/root/main/prcp/prcplist[" + grd_prcplist.row + "]/prcpclscd");
- var status = model.getValue( "/root/main/prcp/prcplist[" + grd_prcplist.row + "]/status");
-
- if( grd_prcplist.isCell(event.target) && grd_prcplist.row >= grd_prcplist.fixedRows && grd_prcplist.row <= grd_prcplist.rows){
- if ( grd_prcplist.col == grd_prcplist.colref("drugmthdspccdnm") && status != "S" ) {
- if ( prcpclscd == "A2" || prcpclscd == "A4" || prcpclscd == "A6") {
- fPrcpModal ("SPMMO01900", 500, 200);
- } else if ( prcpclscd == "B2" || prcpclscd == "B4" || prcpclscd == "B6" ) {
- fGetSpc ();
- }
- } else if ( grd_prcplist.col == "15" && status != "S" ) {
- fPrcpdelivefact( "M" );
- } else if ( status != "S" ) {
- fPrcpDetl();
- }
- }
- // window.close();
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var ref = "/root/main/antibiodetaillist/info";
- var flag = true;
- var idx = 0;
- var curRow = grd_prcplist.mouseRow;
- var lastRow = grd_prcplist.rows - grd_prcplist.fixedRows;
- if( curRow > 0 && curRow <= lastRow ){
-
- if ( grd_prcplist.col == grd_prcplist.colref("prcpdayno")
- || grd_prcplist.col == grd_prcplist.colref("prcpvol")
- || grd_prcplist.col == grd_prcplist.colref("prcpqty")
- || grd_prcplist.col == grd_prcplist.colref("prcptims") ) {
- grd_prcplist.editCell();
- }
- //추가 사유입력은 항생제 버튼 클릭으로 인해 추가한경우에만 입력할수 있으므로
- //추천항생제에 있는 약품코드는 사유입력을 할수 없다.
- if( grd_prcplist.col == grd_prcplist.colref("tempcol8") ){
-
- var prcpcd = model.getValue ( "/root/main/prcp/prcplist["+ grd_prcplist.row +"]/prcpcd" );
-
- if( grd_antibiodetail.rows- grd_antibiodetail.fixedRows > 0 ){
-
- var node = instance1.selectSingleNode(ref + "[prcpcd = '" + prcpcd + "']/prcpnm");
-
- if( node != null && node.length > 0 ){
- flag = false;//추천항생제에서 선택된 항생제처방
- }
- }
-
- if( flag){
- grd_prcplist.colDisabled(grd_prcplist.col) = false;
- grd_prcplist.editCell();
- }else{
-
- grd_prcplist.colDisabled(grd_prcplist.col) = true;
- }
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if(event.button == 3){
- if(grd_prcplist.isCell(event.target) && grd_prcplist.mouseRow >= grd_prcplist.fixedrows){
- window.setPopupMenu(true, "/root/main/codedata/popupmenu/grid/item", "name", "func", false);
- }else{
- window.setPopupMenu(false);
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- window.setPopupMenu(false);
- ]]>
- </script>
- </datagrid>
- <caption id="caption5" class="tit_2" style="left:718px; top:535px; width:245px; height:13px; ">선택된 항생제</caption>
- <textarea id="txt_smlcomment" ref="/root/hidden/smlcomment" editable="false" style="left:360px; top:80px; width:815px; height:210px; "/>
- <!--iviewer id="ivw_prophylaxis" src="../../../emr/cpcdssweb/xrw/SPMMD01800_항생제Prophylaxis.xrw" style="left:0px; top:30px; width:355px; height:713px; "/-->
- <iviewer id="ivw_prophylaxis" style="left:0px; top:30px; width:355px; height:713px; "/>
- <caption id="caption4" class="tit_2" style="left:366px; top:535px; width:245px; height:13px; ">비고</caption>
- <textarea id="txt_comment" ref="/root/hidden/icomment" editable="false" style="left:360px; top:555px; width:348px; height:185px; "/>
- <line id="line1" class="line_1" style="x1:360px; y1:550px; x2:708px; y2:550px; "/>
- <button id="btn_undo" accesskey="ctrl+z" class="btn2_letter4" visibility="visible" style="left:1105px; top:530px; width:64px; height:19px; ">
- <caption>되살리기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelUndo_antibio(); // SMMMO00100.js fDelUndo() 수정해서 사용.(기존 fDelUndo는 데이터를 모두 삭제하였을때 되살리기 안됨)
- model.removeNodeset("/root/prcpdel/prcplist");
- model.refresh();
- ]]>
- </script>
- <!--hint>
- <![CDATA[단축키는 ctrl+z 입니다.]]>
- </hint-->
- </button>
- <button id="btn_prcpdel" accesskey="f2" class="btn2_letter2" visibility="visible" style="left:1060px; top:530px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( grd_prcplist.row < 1) return ;
- fDeleteRow();
- // deleteSelectedRows (grd_prcplist);//.deleteItem(grd_prcplist.row);
- //grd_prcplist.rebuild();
- ]]>
- </script>
- <!--hint>
- <![CDATA[단축키는 ctrl+z 입니다.]]>
- </hint-->
- </button>
- <button id="btn_srchanti" class="btn2_letter4" style="left:291px; top:7px; width:64px; height:19px; ">
- <caption>분류검색</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(button3.selected == true) {
- messageBox("Targeted therapy 는 검색기능이","I004");
- return;
- }
- fShowSearchList();
- ]]>
- </script>
- </button>
- <group id="grp_comcd" visibility="hidden" style="left:475px; top:245px; width:640px; height:235px; vertical-align:top; border-color:#c0c0c0; border-width:2px; ">
- <datagrid id="grd_cdssdruglist" nodeset="/root/main/cdssdruglist/cdssinfo" allowselection="true" autoresize="true" caption="대분류^중분류^소분류" colsep="^" colwidth="174, 181, 174" dataheight="23" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" selectionmode="byrow" style="left:7px; top:43px; width:623px; height:155px; ">
- <col ref="lrgnm"/>
- <col ref="mdlnm"/>
- <col ref="smlnm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if( grd_cdssdruglist.row < 1 ) return ;
- fSetData();
- ]]>
- </script>
- </datagrid>
- <button id="btn_comcfm" class="btn4_letter2" style="left:517px; top:200px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetData();
- ]]>
- </script>
- </button>
- <button id="btn_comclose" class="btn4_letter2" style="left:575px; top:200px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_comcd.visible = false;
- grd_antibiorecommlist.editCell();
- ]]>
- </script>
- </button>
- <caption id="caption15" class="search_name" style="left:5px; top:15px; width:115px; height:17px; ">분류(질병)명:</caption>
- <button id="button5" class="btn1_letter2" style="left:574px; top:15px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearchNo();
- ]]>
- </script>
- </button>
- <shape id="rectangle1" appearance="rectangle" style="left:2px; top:5px; width:633px; height:225px; color:transparent; border-color:#c0c0c0; "/>
- <select1 id="rdo_srchflag" ref="/root/send/condition/srchflag" visibility="hidden" appearance="full" cols="3" overflow="visible" style="left:135px; top:15px; width:15px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>분류(질병)명</label>
- <value>S</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setFocus("input17");
- input17.disabled = false;
- model.refresh();
- ]]>
- </script>
- </select1>
- <input id="input17" ref="/root/send/condition/srchnm" class="input_search" disabled="true" style="left:112px; top:15px; width:151px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("button5", "DOMActivate");
- ]]>
- </script>
- </input>
- </group>
- <caption id="caption3" visibility="visible" style="left:495px; top:5px; width:585px; height:60px; ">
- <![CDATA[ 1. 처방목적에 따라 예방적(prophylaxis), 경험적(empirical), 균 동정후 표적(targeted)치료 중 한가지 선택
- (균코드가 매칭(일부)될 시에는 Targeted therapy에 보여집니다.)
- 2. 질병 분류에 따라 대, 중, 소분류 선택 혹은 '분류검색' 버튼으로 확인
- 3. 원내보유 항생제 중 한가지 선택 후 확인]]>
- </caption>
- <caption id="caption7" class="hand" visibility="visible" style="left:366px; top:5px; width:155px; height:20px; ">항생제 처방순서</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|