OCXDI03A ;SLC/RJS,CLA - OCX PACKAGE DIAGNOSTIC ROUTINES ;SEP 7,1999 at 10:30
;;3.0;ORDER ENTRY/RESULTS REPORTING;**32**;Dec 17,1997
;; ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
;
S ;
;
D DOT^OCXDIAG
;
;
K REMOTE,LOCAL,OPCODE,REF
F LINE=1:1:500 S TEXT=$P($T(DATA+LINE),";",2,999) Q:TEXT I $L(TEXT) D Q:QUIT
.S ^TMP("OCXDIAG",$J,$O(^TMP("OCXDIAG",$J,"A"),-1)+1)=TEXT
;
G ^OCXDI03B
;
Q
;
DATA ;
;
;;R^"860.2:","860.22:1",6,"E"
;;D^Patient allergic to contrast medias: |CONTRAST MEDIA CODE TRANSLATION|
;;EOR^
;;KEY^860.2:^RECENT BARIUM STUDY
;;R^"860.2:",.01,"E"
;;D^RECENT BARIUM STUDY
;;R^"860.2:","860.21:1",.01,"E"
;;D^BARIUM
;;R^"860.2:","860.21:1",1,"E"
;;D^RECENT BARIUM STUDY ORDERED
;;R^"860.2:","860.22:1",.01,"E"
;;D^1
;;R^"860.2:","860.22:1",1,"E"
;;D^BARIUM
;;R^"860.2:","860.22:1",2,"E"
;;D^RECENT BARIUM STUDY
;;R^"860.2:","860.22:1",6,"E"
;;D^Recent Barium study: |RECENT BARIUM STUDY TEXT| [|RECENT BARIUM STUDY ORDER STATUS|]
;;EOR^
;;KEY^860.2:^CLOZAPINE
;;R^"860.2:",.01,"E"
;;D^CLOZAPINE
;;R^"860.2:","860.21:1",.01,"E"
;;D^WITH WBC
;;R^"860.2:","860.21:1",.02,"E"
;;D^SIMPLE DEFINITION
;;R^"860.2:","860.21:1",1,"E"
;;D^CLOZAPINE DRUG SELECTED WITH WBC
;;R^"860.2:","860.21:2",.01,"E"
;;D^WITHOUT WBC
;;R^"860.2:","860.21:2",.02,"E"
;;D^SIMPLE DEFINITION
;;R^"860.2:","860.21:2",1,"E"
;;D^CLOZAPINE DRUG SELECTED WITHOUT WBC
;;R^"860.2:","860.22:1",.01,"E"
;;D^1
;;R^"860.2:","860.22:1",1,"E"
;;D^WITH WBC
;;R^"860.2:","860.22:1",2,"E"
;;D^CLOZAPINE APPROPRIATENESS
;;R^"860.2:","860.22:1",6,"E"
;;D^Clozapine - Most recent WBC result - |RECENT WBC|
;;R^"860.2:","860.22:2",.01,"E"
;;D^2
;;R^"860.2:","860.22:2",1,"E"
;;D^WITHOUT WBC
;;R^"860.2:","860.22:2",2,"E"
;;D^CLOZAPINE APPROPRIATENESS
;;R^"860.2:","860.22:2",6,"E"
;;D^No WBC past seven days - pharmacy cannot fill clozapine order. Most recent WBC result: |RECENT WBC|
;;EOR^
;;KEY^860.2:^AMINOGLYCOSIDE ORDER
;;R^"860.2:",.01,"E"
;;D^AMINOGLYCOSIDE ORDER
;;R^"860.2:","860.21:1",.01,"E"
;;D^AGS ORDER
;;R^"860.2:","860.21:1",1,"E"
;;D^AMINOGLYCOSIDE ORDER SESSION
;;R^"860.2:","860.22:1",.01,"E"
;;D^1
;;R^"860.2:","860.22:1",1,"E"
;;D^AGS ORDER
;;R^"860.2:","860.22:1",2,"E"
;;D^AMINOGLYCOSIDE ORDERED
;;R^"860.2:","860.22:1",6,"E"
;;D^Aminoglycoside - est. CrCl: |CRCLV| (|FORMATTED RENAL LAB RESULTS|)
;;EOR^
;;KEY^860.2:^CT OR MRI PHYSICAL LIMIT CHECK
;;R^"860.2:",.01,"E"
;;D^CT OR MRI PHYSICAL LIMIT CHECK
;;R^"860.2:","860.21:1",.01,"E"
;;D^TOO BIG
;;R^"860.2:","860.21:1",1,"E"
;;D^PATIENT OVER CT OR MRI DEVICE LIMITATIONS
;;R^"860.2:","860.22:1",.01,"E"
;;D^1
;;R^"860.2:","860.22:1",1,"E"
;;D^TOO BIG
;;R^"860.2:","860.22:1",2,"E"
;;D^CT & MRI PHYSICAL LIMITATIONS
;;R^"860.2:","860.22:1",6,"E"
;;D^Patient may be |PATIENT TOO BIG FOR SCANNER TEXT| for the |PATIENT TOO BIG FOR SCANNER DEVICE|.
;;EOR^
;;KEY^860.2:^CREATININE CLEARANCE ESTIMATION
;;R^"860.2:",.01,"E"
;;D^CREATININE CLEARANCE ESTIMATION
;;R^"860.2:","860.21:1",.01,"E"
;;D^CREAT CLEAR
;;R^"860.2:","860.21:1",.02,"E"
;;D^SIMPLE DEFINITION
;;R^"860.2:","860.21:1",1,"E"
;;D^CREATININE CLEARANCE ESTIMATE
;;R^"860.2:","860.21:2",.01,"E"
;;D^CREATININE CLEARANCE DATE
;;R^"860.2:","860.21:2",.02,"E"
;;D^SIMPLE DEFINITION
;;R^"860.2:","860.21:2",1,"E"
;;D^CREATININE CLEARANCE DATE/TIME
;;R^"860.2:","860.21:3",.01,"E"
;;D^RENAL RESULTS
;;R^"860.2:","860.21:3",.02,"E"
;;D^SIMPLE DEFINITION
;;R^"860.2:","860.21:3",1,"E"
;;D^RENAL RESULTS
;;R^"860.2:","860.22:1",.01,"E"
;;D^1
;;R^"860.2:","860.22:1",1,"E"
;;D^IF CREAT CLEAR AND ( CREATININE CLEARANCE DATE OR RENAL RESULTS )
;;R^"860.2:","860.22:1",2,"E"
;;D^ESTIMATED CREATININE CLEARANCE
;;R^"860.2:","860.22:1",6,"E"
;;D^Est. CrCl: |CRCLV| (|FORMATTED RENAL LAB RESULTS|)
;;EOR^
;;KEY^860.2:^FOOD/DRUG INTERACTION
;;R^"860.2:",.01,"E"
;;D^FOOD/DRUG INTERACTION
;;R^"860.2:","860.21:1",.01,"E"
;;D^INPATIENT FOOD DRUG REACTION
;;R^"860.2:","860.21:1",1,"E"
;;D^INPATIENT FOOD-DRUG REACTION
;;R^"860.2:","860.22:1",.01,"E"
;;D^1
;;R^"860.2:","860.22:1",1,"E"
;;D^INPATIENT FOOD DRUG REACTION
;;R^"860.2:","860.22:1",3,"E"
;;D^FOOD/DRUG INTERACTION
;;R^"860.2:","860.22:1",5,"E"
;;D^|PHARMACY LOCAL ORDERABLE ITEM TEXT| ordered - adjust diet accordingly.
;;EOR^
;;KEY^860.2:^GLUCOPHAGE - CONTRAST MEDIA
;;R^"860.2:",.01,"E"
;;D^GLUCOPHAGE - CONTRAST MEDIA
;;R^"860.2:","860.21:1",.01,"E"
;;D^PROC USES NON-BARIUM MEDIA
;;R^"860.2:","860.21:1",.02,"E"
;;D^SIMPLE DEFINITION
;;R^"860.2:","860.21:1",1,"E"
;;D^RADIOLOGY PROCEDURE CONTAINS NON-BARIUM CONTRAST MEDIA
;;R^"860.2:","860.21:2",.01,"E"
;;D^PATIENT TAKING GLUCOPHAGE
;;R^"860.2:","860.21:2",.02,"E"
;;D^SIMPLE DEFINITION
;;R^"860.2:","860.21:2",1,"E"
;;D^PATIENT WITH GLUCOPHAGE MED
;;R^"860.2:","860.22:1",.01,"E"
;;D^1
;;R^"860.2:","860.22:1",1,"E"
;;D^IF PROC USES NON-BARIUM MEDIA AND PATIENT TAKING GLUCOPHAGE
;;R^"860.2:","860.22:1",2,"E"
;;D^GLUCOPHAGE-CONTRAST MEDIA
;;R^"860.2:","860.22:1",6,"E"
;1;
;
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HOCXDI03A 5233 printed Dec 13, 2024@02:24:23 Page 2
OCXDI03A ;SLC/RJS,CLA - OCX PACKAGE DIAGNOSTIC ROUTINES ;SEP 7,1999 at 10:30
+1 ;;3.0;ORDER ENTRY/RESULTS REPORTING;**32**;Dec 17,1997
+2 ;; ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
+3 ;
S ;
+1 ;
+2 DO DOT^OCXDIAG
+3 ;
+4 ;
+5 KILL REMOTE,LOCAL,OPCODE,REF
+6 FOR LINE=1:1:500
SET TEXT=$PIECE($TEXT(DATA+LINE),";",2,999)
if TEXT
QUIT
IF $LENGTH(TEXT)
Begin DoDot:1
+7 SET ^TMP("OCXDIAG",$JOB,$ORDER(^TMP("OCXDIAG",$JOB,"A"),-1)+1)=TEXT
End DoDot:1
if QUIT
QUIT
+8 ;
+9 GOTO ^OCXDI03B
+10 ;
+11 QUIT
+12 ;
DATA ;
+1 ;
+2 ;;R^"860.2:","860.22:1",6,"E"
+3 ;;D^Patient allergic to contrast medias: |CONTRAST MEDIA CODE TRANSLATION|
+4 ;;EOR^
+5 ;;KEY^860.2:^RECENT BARIUM STUDY
+6 ;;R^"860.2:",.01,"E"
+7 ;;D^RECENT BARIUM STUDY
+8 ;;R^"860.2:","860.21:1",.01,"E"
+9 ;;D^BARIUM
+10 ;;R^"860.2:","860.21:1",1,"E"
+11 ;;D^RECENT BARIUM STUDY ORDERED
+12 ;;R^"860.2:","860.22:1",.01,"E"
+13 ;;D^1
+14 ;;R^"860.2:","860.22:1",1,"E"
+15 ;;D^BARIUM
+16 ;;R^"860.2:","860.22:1",2,"E"
+17 ;;D^RECENT BARIUM STUDY
+18 ;;R^"860.2:","860.22:1",6,"E"
+19 ;;D^Recent Barium study: |RECENT BARIUM STUDY TEXT| [|RECENT BARIUM STUDY ORDER STATUS|]
+20 ;;EOR^
+21 ;;KEY^860.2:^CLOZAPINE
+22 ;;R^"860.2:",.01,"E"
+23 ;;D^CLOZAPINE
+24 ;;R^"860.2:","860.21:1",.01,"E"
+25 ;;D^WITH WBC
+26 ;;R^"860.2:","860.21:1",.02,"E"
+27 ;;D^SIMPLE DEFINITION
+28 ;;R^"860.2:","860.21:1",1,"E"
+29 ;;D^CLOZAPINE DRUG SELECTED WITH WBC
+30 ;;R^"860.2:","860.21:2",.01,"E"
+31 ;;D^WITHOUT WBC
+32 ;;R^"860.2:","860.21:2",.02,"E"
+33 ;;D^SIMPLE DEFINITION
+34 ;;R^"860.2:","860.21:2",1,"E"
+35 ;;D^CLOZAPINE DRUG SELECTED WITHOUT WBC
+36 ;;R^"860.2:","860.22:1",.01,"E"
+37 ;;D^1
+38 ;;R^"860.2:","860.22:1",1,"E"
+39 ;;D^WITH WBC
+40 ;;R^"860.2:","860.22:1",2,"E"
+41 ;;D^CLOZAPINE APPROPRIATENESS
+42 ;;R^"860.2:","860.22:1",6,"E"
+43 ;;D^Clozapine - Most recent WBC result - |RECENT WBC|
+44 ;;R^"860.2:","860.22:2",.01,"E"
+45 ;;D^2
+46 ;;R^"860.2:","860.22:2",1,"E"
+47 ;;D^WITHOUT WBC
+48 ;;R^"860.2:","860.22:2",2,"E"
+49 ;;D^CLOZAPINE APPROPRIATENESS
+50 ;;R^"860.2:","860.22:2",6,"E"
+51 ;;D^No WBC past seven days - pharmacy cannot fill clozapine order. Most recent WBC result: |RECENT WBC|
+52 ;;EOR^
+53 ;;KEY^860.2:^AMINOGLYCOSIDE ORDER
+54 ;;R^"860.2:",.01,"E"
+55 ;;D^AMINOGLYCOSIDE ORDER
+56 ;;R^"860.2:","860.21:1",.01,"E"
+57 ;;D^AGS ORDER
+58 ;;R^"860.2:","860.21:1",1,"E"
+59 ;;D^AMINOGLYCOSIDE ORDER SESSION
+60 ;;R^"860.2:","860.22:1",.01,"E"
+61 ;;D^1
+62 ;;R^"860.2:","860.22:1",1,"E"
+63 ;;D^AGS ORDER
+64 ;;R^"860.2:","860.22:1",2,"E"
+65 ;;D^AMINOGLYCOSIDE ORDERED
+66 ;;R^"860.2:","860.22:1",6,"E"
+67 ;;D^Aminoglycoside - est. CrCl: |CRCLV| (|FORMATTED RENAL LAB RESULTS|)
+68 ;;EOR^
+69 ;;KEY^860.2:^CT OR MRI PHYSICAL LIMIT CHECK
+70 ;;R^"860.2:",.01,"E"
+71 ;;D^CT OR MRI PHYSICAL LIMIT CHECK
+72 ;;R^"860.2:","860.21:1",.01,"E"
+73 ;;D^TOO BIG
+74 ;;R^"860.2:","860.21:1",1,"E"
+75 ;;D^PATIENT OVER CT OR MRI DEVICE LIMITATIONS
+76 ;;R^"860.2:","860.22:1",.01,"E"
+77 ;;D^1
+78 ;;R^"860.2:","860.22:1",1,"E"
+79 ;;D^TOO BIG
+80 ;;R^"860.2:","860.22:1",2,"E"
+81 ;;D^CT & MRI PHYSICAL LIMITATIONS
+82 ;;R^"860.2:","860.22:1",6,"E"
+83 ;;D^Patient may be |PATIENT TOO BIG FOR SCANNER TEXT| for the |PATIENT TOO BIG FOR SCANNER DEVICE|.
+84 ;;EOR^
+85 ;;KEY^860.2:^CREATININE CLEARANCE ESTIMATION
+86 ;;R^"860.2:",.01,"E"
+87 ;;D^CREATININE CLEARANCE ESTIMATION
+88 ;;R^"860.2:","860.21:1",.01,"E"
+89 ;;D^CREAT CLEAR
+90 ;;R^"860.2:","860.21:1",.02,"E"
+91 ;;D^SIMPLE DEFINITION
+92 ;;R^"860.2:","860.21:1",1,"E"
+93 ;;D^CREATININE CLEARANCE ESTIMATE
+94 ;;R^"860.2:","860.21:2",.01,"E"
+95 ;;D^CREATININE CLEARANCE DATE
+96 ;;R^"860.2:","860.21:2",.02,"E"
+97 ;;D^SIMPLE DEFINITION
+98 ;;R^"860.2:","860.21:2",1,"E"
+99 ;;D^CREATININE CLEARANCE DATE/TIME
+100 ;;R^"860.2:","860.21:3",.01,"E"
+101 ;;D^RENAL RESULTS
+102 ;;R^"860.2:","860.21:3",.02,"E"
+103 ;;D^SIMPLE DEFINITION
+104 ;;R^"860.2:","860.21:3",1,"E"
+105 ;;D^RENAL RESULTS
+106 ;;R^"860.2:","860.22:1",.01,"E"
+107 ;;D^1
+108 ;;R^"860.2:","860.22:1",1,"E"
+109 ;;D^IF CREAT CLEAR AND ( CREATININE CLEARANCE DATE OR RENAL RESULTS )
+110 ;;R^"860.2:","860.22:1",2,"E"
+111 ;;D^ESTIMATED CREATININE CLEARANCE
+112 ;;R^"860.2:","860.22:1",6,"E"
+113 ;;D^Est. CrCl: |CRCLV| (|FORMATTED RENAL LAB RESULTS|)
+114 ;;EOR^
+115 ;;KEY^860.2:^FOOD/DRUG INTERACTION
+116 ;;R^"860.2:",.01,"E"
+117 ;;D^FOOD/DRUG INTERACTION
+118 ;;R^"860.2:","860.21:1",.01,"E"
+119 ;;D^INPATIENT FOOD DRUG REACTION
+120 ;;R^"860.2:","860.21:1",1,"E"
+121 ;;D^INPATIENT FOOD-DRUG REACTION
+122 ;;R^"860.2:","860.22:1",.01,"E"
+123 ;;D^1
+124 ;;R^"860.2:","860.22:1",1,"E"
+125 ;;D^INPATIENT FOOD DRUG REACTION
+126 ;;R^"860.2:","860.22:1",3,"E"
+127 ;;D^FOOD/DRUG INTERACTION
+128 ;;R^"860.2:","860.22:1",5,"E"
+129 ;;D^|PHARMACY LOCAL ORDERABLE ITEM TEXT| ordered - adjust diet accordingly.
+130 ;;EOR^
+131 ;;KEY^860.2:^GLUCOPHAGE - CONTRAST MEDIA
+132 ;;R^"860.2:",.01,"E"
+133 ;;D^GLUCOPHAGE - CONTRAST MEDIA
+134 ;;R^"860.2:","860.21:1",.01,"E"
+135 ;;D^PROC USES NON-BARIUM MEDIA
+136 ;;R^"860.2:","860.21:1",.02,"E"
+137 ;;D^SIMPLE DEFINITION
+138 ;;R^"860.2:","860.21:1",1,"E"
+139 ;;D^RADIOLOGY PROCEDURE CONTAINS NON-BARIUM CONTRAST MEDIA
+140 ;;R^"860.2:","860.21:2",.01,"E"
+141 ;;D^PATIENT TAKING GLUCOPHAGE
+142 ;;R^"860.2:","860.21:2",.02,"E"
+143 ;;D^SIMPLE DEFINITION
+144 ;;R^"860.2:","860.21:2",1,"E"
+145 ;;D^PATIENT WITH GLUCOPHAGE MED
+146 ;;R^"860.2:","860.22:1",.01,"E"
+147 ;;D^1
+148 ;;R^"860.2:","860.22:1",1,"E"
+149 ;;D^IF PROC USES NON-BARIUM MEDIA AND PATIENT TAKING GLUCOPHAGE
+150 ;;R^"860.2:","860.22:1",2,"E"
+151 ;;D^GLUCOPHAGE-CONTRAST MEDIA
+152 ;;R^"860.2:","860.22:1",6,"E"
+153 ;1;
+154 ;